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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5aed88f1f13721ba968b60dc90195f77f82e19b1 | 15,216 | py | Python | tests/test_frame.py | balabit-deps/balabit-os-7-python-lz4 | fab61fdaef68eabee9426c0dd0af41cd59fd9314 | [
"BSD-3-Clause"
] | null | null | null | tests/test_frame.py | balabit-deps/balabit-os-7-python-lz4 | fab61fdaef68eabee9426c0dd0af41cd59fd9314 | [
"BSD-3-Clause"
] | null | null | null | tests/test_frame.py | balabit-deps/balabit-os-7-python-lz4 | fab61fdaef68eabee9426c0dd0af41cd59fd9314 | [
"BSD-3-Clause"
] | null | null | null | import lz4.frame as lz4frame
import unittest
import os
import sys
import struct
from multiprocessing.pool import ThreadPool
class TestLZ4Frame(unittest.TestCase):
def test_create_and_free_compression_context(self):
context = lz4frame.create_compression_context()
self.assertNotEqual(context, None)
... | 47.108359 | 229 | 0.694926 | 1,439 | 15,216 | 7.114663 | 0.131341 | 0.062415 | 0.101582 | 0.062512 | 0.821156 | 0.769975 | 0.746533 | 0.732858 | 0.721137 | 0.707658 | 0 | 0.154523 | 0.230613 | 15,216 | 322 | 230 | 47.254658 | 0.719997 | 0.033715 | 0 | 0.65942 | 0 | 0 | 0.12597 | 0.105066 | 0 | 0 | 0.000272 | 0 | 0.112319 | 1 | 0.09058 | false | 0 | 0.021739 | 0.003623 | 0.126812 | 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 |
51c5f65fe44db859f27887a8ebd26e73c388159f | 28 | py | Python | measure/__init__.py | Nemu627/str-measure | 544857008b36a51f5023b38b42ded39a95137dda | [
"MIT"
] | null | null | null | measure/__init__.py | Nemu627/str-measure | 544857008b36a51f5023b38b42ded39a95137dda | [
"MIT"
] | null | null | null | measure/__init__.py | Nemu627/str-measure | 544857008b36a51f5023b38b42ded39a95137dda | [
"MIT"
] | null | null | null | from .main import get_length | 28 | 28 | 0.857143 | 5 | 28 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cfafe7045a90f48b9d0206f84ca6aa7a7760522b | 20,751 | py | Python | pybind/slxos/v16r_1_00b/sub_interface_statistics_state/bridge_domain_statistics/lif_statistics/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/sub_interface_statistics_state/bridge_domain_statistics/lif_statistics/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/sub_interface_statistics_state/bridge_domain_statistics/lif_statistics/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 63.072948 | 454 | 0.741555 | 2,809 | 20,751 | 5.196867 | 0.06764 | 0.042472 | 0.04987 | 0.046239 | 0.843814 | 0.8184 | 0.803535 | 0.782025 | 0.772161 | 0.767913 | 0 | 0.02818 | 0.134692 | 20,751 | 328 | 455 | 63.265244 | 0.784807 | 0.19016 | 0 | 0.447917 | 0 | 0.03125 | 0.341293 | 0.199721 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109375 | false | 0 | 0.041667 | 0 | 0.270833 | 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 |
cfbb19c13f6ff1c4bfe2a7d2a90ec5e1098e96b6 | 321 | py | Python | test/example_flake8-quotes.py | shakiyam/flake8-docker | bfc63ce0e0e4f856504bc9e7fb2bc73ccf94e53b | [
"MIT"
] | null | null | null | test/example_flake8-quotes.py | shakiyam/flake8-docker | bfc63ce0e0e4f856504bc9e7fb2bc73ccf94e53b | [
"MIT"
] | null | null | null | test/example_flake8-quotes.py | shakiyam/flake8-docker | bfc63ce0e0e4f856504bc9e7fb2bc73ccf94e53b | [
"MIT"
] | null | null | null | "Remove bad quotes from docstring" # Q002
print("Remove bad quotes") # Q000
print('Change outer quotes to avoid \'escaping\' inner quotes') # Q003
# Q000 Remove bad quotes
# Q001 Remove bad quotes from multiline string
# Q002 Remove bad quotes from docstring
# Q003 Change outer quotes to avoid escaping inner quotes... | 35.666667 | 71 | 0.760125 | 47 | 321 | 5.191489 | 0.382979 | 0.184426 | 0.307377 | 0.233607 | 0.581967 | 0.352459 | 0.352459 | 0.352459 | 0 | 0 | 0 | 0.079245 | 0.174455 | 321 | 8 | 72 | 40.125 | 0.841509 | 0.654206 | 0 | 0 | 0 | 0 | 0.671533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
321637aaae7e7e2db19d2ac61a7756566645c81f | 93 | py | Python | tests/test_exception.py | sakost/kutana | 7695902803f17e1ce6109b5f9a8a7c24126d322f | [
"MIT"
] | 69 | 2018-10-05T21:42:51.000Z | 2022-03-16T17:22:21.000Z | tests/test_exception.py | sakost/kutana | 7695902803f17e1ce6109b5f9a8a7c24126d322f | [
"MIT"
] | 41 | 2018-10-20T09:18:43.000Z | 2021-11-22T12:19:44.000Z | tests/test_exception.py | sakost/kutana | 7695902803f17e1ce6109b5f9a8a7c24126d322f | [
"MIT"
] | 26 | 2018-10-20T09:13:42.000Z | 2021-12-24T17:01:02.000Z | from kutana import RequestException
def test_exception():
RequestException({}, "", {})
| 15.5 | 35 | 0.698925 | 8 | 93 | 8 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 36 | 18.6 | 0.820513 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3219e924b0bf97c2bf1f19d0f9799a18f6c85a24 | 7,883 | py | Python | tests/test_optimizer.py | kitasubmarine/scopt | 0da1f2fa3076e408e65e803eaaed0b8716f20b56 | [
"MIT"
] | 4 | 2021-06-10T10:03:08.000Z | 2022-03-18T13:11:25.000Z | tests/test_optimizer.py | kitasubmarine/scopt | 0da1f2fa3076e408e65e803eaaed0b8716f20b56 | [
"MIT"
] | null | null | null | tests/test_optimizer.py | kitasubmarine/scopt | 0da1f2fa3076e408e65e803eaaed0b8716f20b56 | [
"MIT"
] | 1 | 2022-03-30T04:55:14.000Z | 2022-03-30T04:55:14.000Z | import pytest
from scopt.instances import Instance
from scopt.optimizer import (
ClientModeOptimizer,
ClusterModeOptimizer,
SparkConfOptimizer,
)
class TestClusterModeOptimizer:
def test_properties(self) -> None:
optimizer = ClusterModeOptimizer(Instance(32, 248), 10)
assert optimizer... | 38.453659 | 79 | 0.631739 | 784 | 7,883 | 6.160714 | 0.104592 | 0.195652 | 0.119048 | 0.077019 | 0.855487 | 0.819876 | 0.809317 | 0.790062 | 0.763768 | 0.713872 | 0 | 0.04682 | 0.273881 | 7,883 | 204 | 80 | 38.642157 | 0.796995 | 0 | 0 | 0.631868 | 0 | 0 | 0.109984 | 0.066345 | 0 | 0 | 0 | 0 | 0.368132 | 1 | 0.071429 | false | 0 | 0.016484 | 0 | 0.104396 | 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 |
5c68dae68cf71241782c67243b48a98c9c4deb81 | 106 | py | Python | dqn/history.py | zjjott/curiosity | d6aa8ef2503e7e21e26f53e964667288337d4ed1 | [
"MIT"
] | null | null | null | dqn/history.py | zjjott/curiosity | d6aa8ef2503e7e21e26f53e964667288337d4ed1 | [
"MIT"
] | null | null | null | dqn/history.py | zjjott/curiosity | d6aa8ef2503e7e21e26f53e964667288337d4ed1 | [
"MIT"
] | null | null | null | # coding=utf-8
from __future__ import unicode_literals, absolute_import
class History(object):
pass
| 15.142857 | 56 | 0.783019 | 14 | 106 | 5.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.150943 | 106 | 6 | 57 | 17.666667 | 0.844444 | 0.113208 | 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 |
5c79ddb20fa4116515c69fec257436afcbe11f22 | 19,739 | py | Python | test_autoarray/structures/grids/test_decorators.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | test_autoarray/structures/grids/test_decorators.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | test_autoarray/structures/grids/test_decorators.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | import os
import numpy as np
import pytest
import autoarray as aa
from autoarray.mock.mock import (
MockGridLikeIteratorObj,
MockGrid1DLikeObj,
MockGrid2DLikeObj,
ndarray_1d_from_grid,
ndarray_2d_from_grid,
)
class TestGrid1DToStructure:
def test__grid_1d_in__output_values_proj... | 37.243396 | 96 | 0.581691 | 2,865 | 19,739 | 3.686562 | 0.039442 | 0.050559 | 0.064192 | 0.072714 | 0.939595 | 0.919902 | 0.919144 | 0.905984 | 0.888847 | 0.844348 | 0 | 0.077357 | 0.290086 | 19,739 | 529 | 97 | 37.3138 | 0.676372 | 0 | 0 | 0.633508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198953 | 1 | 0.036649 | false | 0 | 0.013089 | 0 | 0.054974 | 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 |
5c9bf83d0fc0b818e626ef55214126248344952c | 17,870 | py | Python | seizure detection code/Stacked Autoencoders for Seizure Detection/tests/plot_eeg.py | aimo84/epilepsy-system | de3b26039f76ce2ceac9a74a6bc179b8f7bddb1e | [
"BSD-3-Clause"
] | 13 | 2016-12-14T07:33:21.000Z | 2022-02-05T13:05:22.000Z | seizure detection code/Stacked Autoencoders for Seizure Detection/tests/plot_eeg.py | aimo84/epilepsy-system | de3b26039f76ce2ceac9a74a6bc179b8f7bddb1e | [
"BSD-3-Clause"
] | null | null | null | seizure detection code/Stacked Autoencoders for Seizure Detection/tests/plot_eeg.py | aimo84/epilepsy-system | de3b26039f76ce2ceac9a74a6bc179b8f7bddb1e | [
"BSD-3-Clause"
] | 6 | 2016-10-11T05:42:29.000Z | 2022-03-25T08:19:06.000Z | import math
import os
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from matplotlib.collections import LineCollection
from scipy.io import loadmat
from scipy.signal import butter, filtfilt
from sklearn import preprocessing
from pylearn2ext.epilepsiae import EpilepsiaeDatasetExtractor
def ge... | 38.183761 | 127 | 0.616452 | 2,364 | 17,870 | 4.405245 | 0.109983 | 0.047052 | 0.013828 | 0.01642 | 0.789034 | 0.778759 | 0.768965 | 0.754273 | 0.745919 | 0.743326 | 0 | 0.02508 | 0.265921 | 17,870 | 468 | 128 | 38.183761 | 0.768791 | 0.182093 | 0 | 0.774086 | 0 | 0 | 0.02976 | 0.003858 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019934 | false | 0.003322 | 0.033223 | 0 | 0.056478 | 0.009967 | 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 |
7a8ca82e1dcb15a11978694c953adf3695976891 | 216 | py | Python | snm/specialities/admin.py | sparesnmechs/sparesnmechs | 44a7178fcfd0c89004d9f31734405c8d0fd5cd97 | [
"MIT"
] | null | null | null | snm/specialities/admin.py | sparesnmechs/sparesnmechs | 44a7178fcfd0c89004d9f31734405c8d0fd5cd97 | [
"MIT"
] | 9 | 2021-02-27T13:13:38.000Z | 2021-06-04T11:57:12.000Z | snm/specialities/admin.py | sparesnmechs/sparesnmechs | 44a7178fcfd0c89004d9f31734405c8d0fd5cd97 | [
"MIT"
] | null | null | null | """Speciality app admin."""
from django.contrib import admin
import snm.specialities.models as models
admin.site.register(models.Speciality)
admin.site.register(models.CarMake)
admin.site.register(models.CarModel)
| 24 | 40 | 0.810185 | 29 | 216 | 6.034483 | 0.517241 | 0.154286 | 0.291429 | 0.394286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 216 | 8 | 41 | 27 | 0.875 | 0.097222 | 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 |
7a8f1ebf4cb632549b5ceff05da77eba42ab75bf | 709 | py | Python | updated_Wx_viwer/DDL_creater_projectfrm_home.py | WamdamProject/DDL_generator | 5e15e5d545f6c6a9905dcf60d8ed936f7de7699e | [
"BSD-3-Clause"
] | null | null | null | updated_Wx_viwer/DDL_creater_projectfrm_home.py | WamdamProject/DDL_generator | 5e15e5d545f6c6a9905dcf60d8ed936f7de7699e | [
"BSD-3-Clause"
] | null | null | null | updated_Wx_viwer/DDL_creater_projectfrm_home.py | WamdamProject/DDL_generator | 5e15e5d545f6c6a9905dcf60d8ed936f7de7699e | [
"BSD-3-Clause"
] | null | null | null | """Subclass of frm_home, which is generated by wxFormBuilder."""
import wx
import ddl
# Implementing frm_home
class DDL_creater_projectfrm_home( ddl.frm_home ):
def __init__( self, parent ):
ddl.frm_home.__init__( self, parent )
# Handlers for frm_home events.
def filePicker_xmlfileOnFileChanged( self, event )... | 24.448276 | 64 | 0.77574 | 79 | 709 | 6.658228 | 0.43038 | 0.06654 | 0.098859 | 0.1673 | 0.106464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156559 | 709 | 28 | 65 | 25.321429 | 0.879599 | 0.414669 | 0 | 0.307692 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.384615 | false | 0.307692 | 0.153846 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
7a9e226ad430772f4aabe89431298b7bf1144288 | 98 | py | Python | modules/globals.py | alexp25/proiect-intersectie | 010c4639be037a2bbf7d9cfa0881d735a426f6d3 | [
"MIT"
] | null | null | null | modules/globals.py | alexp25/proiect-intersectie | 010c4639be037a2bbf7d9cfa0881d735a426f6d3 | [
"MIT"
] | null | null | null | modules/globals.py | alexp25/proiect-intersectie | 010c4639be037a2bbf7d9cfa0881d735a426f6d3 | [
"MIT"
] | null | null | null | import traceback
def print_exception(msg):
print(msg + " - " + traceback.format_exc())
| 16.333333 | 48 | 0.642857 | 11 | 98 | 5.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 98 | 5 | 49 | 19.6 | 0.802632 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.666667 | 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 | 0 | 1 | 1 | 0 | 6 |
7aba97f70d548047e42940707abcf6eeac2a27bb | 126 | py | Python | datacatalog/linkedstores/file/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | null | null | null | datacatalog/linkedstores/file/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 2 | 2019-07-25T15:39:04.000Z | 2019-10-21T15:31:46.000Z | datacatalog/linkedstores/file/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 1 | 2019-10-15T14:33:44.000Z | 2019-10-15T14:33:44.000Z | from .store import FileRecord, FileDocument, FileStore, StoreInterface, DEFAULT_LINK_FIELDS
from .store import infer_filetype
| 42 | 91 | 0.857143 | 15 | 126 | 7 | 0.8 | 0.171429 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 126 | 2 | 92 | 63 | 0.921053 | 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 |
8f888f2406cab1a0a498f407b0ad2a2661e4b007 | 39 | py | Python | main.py | JirayuL/ske14 | 922686033afbb462169cbd38c76925add5cc4b7e | [
"Unlicense"
] | null | null | null | main.py | JirayuL/ske14 | 922686033afbb462169cbd38c76925add5cc4b7e | [
"Unlicense"
] | 11 | 2019-10-01T09:27:20.000Z | 2020-10-14T17:53:12.000Z | main.py | JirayuL/ske14 | 922686033afbb462169cbd38c76925add5cc4b7e | [
"Unlicense"
] | 9 | 2019-10-01T08:48:08.000Z | 2020-10-27T01:54:41.000Z | import ske14
print('Hello from ske14')
| 13 | 25 | 0.769231 | 6 | 39 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.128205 | 39 | 2 | 26 | 19.5 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
8f9a22bbb8b7a0e93348b34a8dac0281d0f174bc | 6,467 | py | Python | onener/transformer/auto_model.py | sansan-inc/OneNER | 4e13ff7a1a990dcbf3c7b7fb1945aacdfa30abe3 | [
"Apache-2.0"
] | 2 | 2021-10-11T05:30:44.000Z | 2021-12-16T07:46:28.000Z | onener/transformer/auto_model.py | sansan-inc/OneNER | 4e13ff7a1a990dcbf3c7b7fb1945aacdfa30abe3 | [
"Apache-2.0"
] | null | null | null | onener/transformer/auto_model.py | sansan-inc/OneNER | 4e13ff7a1a990dcbf3c7b7fb1945aacdfa30abe3 | [
"Apache-2.0"
] | null | null | null | from collections import OrderedDict
from transformers import BertConfig
from transformers import AutoConfig, PretrainedConfig
from .models.baseline_ner import BertBaselineForNer
from .models.mlp_ner import BertMlpForNer
from .models.crf_ner import BertCrfForNer
MODEL_LIST = [
"AutoModelForBaselineNer",
"Auto... | 37.818713 | 108 | 0.598423 | 627 | 6,467 | 5.783094 | 0.111643 | 0.054606 | 0.062879 | 0.069498 | 0.871484 | 0.85273 | 0.85273 | 0.85273 | 0.85273 | 0.85273 | 0 | 0 | 0.323179 | 6,467 | 170 | 109 | 38.041176 | 0.828421 | 0 | 0 | 0.692308 | 0 | 0 | 0.208134 | 0.079635 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062937 | false | 0 | 0.041958 | 0 | 0.167832 | 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 |
8fba509e6e497f7cce90fabdae3d7d3e35ad3797 | 12,319 | py | Python | QGL/BasicSequences/CR.py | ty-zhao/QGL | b3d642d1fe7e109ca2085436fc1ecadbd1671b74 | [
"Apache-2.0"
] | 33 | 2016-01-29T20:25:08.000Z | 2021-11-17T11:41:26.000Z | QGL/BasicSequences/CR.py | ty-zhao/QGL | b3d642d1fe7e109ca2085436fc1ecadbd1671b74 | [
"Apache-2.0"
] | 261 | 2016-01-22T02:35:16.000Z | 2021-07-01T17:06:46.000Z | QGL/BasicSequences/CR.py | ty-zhao/QGL | b3d642d1fe7e109ca2085436fc1ecadbd1671b74 | [
"Apache-2.0"
] | 9 | 2016-01-22T20:17:42.000Z | 2020-12-24T00:36:03.000Z | from ..PulsePrimitives import *
from ..Compiler import compile_to_hardware
from ..ChannelLibraries import EdgeFactory
from ..PulseSequencePlotter import plot_pulse_files
from .helpers import create_cal_seqs, delay_descriptor, cal_descriptor
import numpy as np
from itertools import product
from typing import Iterable, U... | 35.707246 | 137 | 0.619612 | 1,463 | 12,319 | 5.155844 | 0.121668 | 0.028636 | 0.041363 | 0.031818 | 0.865968 | 0.853507 | 0.824208 | 0.815458 | 0.815193 | 0.7558 | 0 | 0.017346 | 0.274616 | 12,319 | 344 | 138 | 35.811047 | 0.826768 | 0.40539 | 0 | 0.689189 | 0 | 0 | 0.018632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033784 | false | 0 | 0.054054 | 0 | 0.121622 | 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 |
8fddf4534d8e0bcb0f6d3c7c47a4ee513825156d | 192 | py | Python | nmigen_boards/extensions/__init__.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 11 | 2021-12-10T12:23:29.000Z | 2022-03-13T08:40:20.000Z | nmigen_boards/extensions/__init__.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 12 | 2021-12-11T18:51:29.000Z | 2022-03-12T05:08:52.000Z | nmigen_boards/extensions/__init__.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 7 | 2021-12-12T07:20:21.000Z | 2022-03-06T06:20:55.000Z | from amaranth_boards.extensions import *
import warnings
warnings.warn("instead of nmigen_boards.extensions, use amaranth_boards.extensions",
DeprecationWarning, stacklevel=2)
| 27.428571 | 84 | 0.78125 | 21 | 192 | 7 | 0.666667 | 0.326531 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0.151042 | 192 | 6 | 85 | 32 | 0.895706 | 0 | 0 | 0 | 0 | 0 | 0.348958 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
8fe4efb170d0a9968f7fbf9b9b3b793b7164cc48 | 26 | py | Python | mailgun/utils.py | haoruiqian/mailgun-py | 304fdb1d7816c16a46a1fc57e8eca56fc35f4a78 | [
"MIT"
] | null | null | null | mailgun/utils.py | haoruiqian/mailgun-py | 304fdb1d7816c16a46a1fc57e8eca56fc35f4a78 | [
"MIT"
] | null | null | null | mailgun/utils.py | haoruiqian/mailgun-py | 304fdb1d7816c16a46a1fc57e8eca56fc35f4a78 | [
"MIT"
] | null | null | null |
from settings import *
| 5.2 | 22 | 0.692308 | 3 | 26 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 26 | 4 | 23 | 6.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8fe8906ec541fd07f0129323f455f6c44281afb2 | 12,141 | py | Python | main.py | wkd3475/hpa-simulator | 829a62af07744b21ce98440827a2e3bc78a2cdc5 | [
"MIT"
] | 1 | 2021-09-09T08:10:48.000Z | 2021-09-09T08:10:48.000Z | main.py | wkd3475/hpa-simulator | 829a62af07744b21ce98440827a2e3bc78a2cdc5 | [
"MIT"
] | null | null | null | main.py | wkd3475/hpa-simulator | 829a62af07744b21ce98440827a2e3bc78a2cdc5 | [
"MIT"
] | null | null | null | from simulator.simulator import *
from autoscaler import *
import csv
import datetime
import math
import sys
import matplotlib.pyplot as plt
from PyQt5.QtWidgets import (QApplication, QWidget, QGridLayout, QLabel, QLineEdit, QTextEdit, QPushButton)
def application_profile(num_of_pods):
return 66.5 + 52.2/num_of_po... | 26.508734 | 107 | 0.572193 | 1,640 | 12,141 | 3.986585 | 0.115854 | 0.049556 | 0.033802 | 0.020649 | 0.78189 | 0.763383 | 0.753747 | 0.736617 | 0.710615 | 0.693178 | 0 | 0.02087 | 0.305411 | 12,141 | 457 | 108 | 26.56674 | 0.754417 | 0.055267 | 0 | 0.722543 | 0 | 0 | 0.08182 | 0.019385 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028902 | false | 0 | 0.023121 | 0.00289 | 0.075145 | 0.049133 | 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 |
8ff359a442c87a941ac2563752f33b49edc657fe | 33 | py | Python | pyrism/IntegralEquations/__init__.py | 2AUK/pyrism | 7067fa7a261adc2faabcffbcb2d40d395e42a3c8 | [
"MIT"
] | 4 | 2020-10-26T14:32:08.000Z | 2021-03-26T01:23:37.000Z | pyrism/IntegralEquations/__init__.py | 2AUK/pyrism | 7067fa7a261adc2faabcffbcb2d40d395e42a3c8 | [
"MIT"
] | 1 | 2021-09-17T18:21:19.000Z | 2021-11-22T00:01:46.000Z | pyrism/IntegralEquations/__init__.py | 2AUK/pyrism | 7067fa7a261adc2faabcffbcb2d40d395e42a3c8 | [
"MIT"
] | 1 | 2022-03-08T12:00:35.000Z | 2022-03-08T12:00:35.000Z | from .IE import IntegralEquation
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8907beeec89dc956ff0c0cd329aced9bf26e7c0f | 197 | py | Python | pulotu/util.py | blurks/pulotu | 621460f3d4dbe05367ed4814b95d192df348cb72 | [
"Apache-2.0"
] | null | null | null | pulotu/util.py | blurks/pulotu | 621460f3d4dbe05367ed4814b95d192df348cb72 | [
"Apache-2.0"
] | 1 | 2021-11-19T16:50:11.000Z | 2021-11-19T16:55:17.000Z | pulotu/util.py | blurks/pulotu | 621460f3d4dbe05367ed4814b95d192df348cb72 | [
"Apache-2.0"
] | 1 | 2021-11-22T13:28:14.000Z | 2021-11-22T13:28:14.000Z | from clld.db.meta import DBSession
from clld.db.models import common
def dataset_detail_html(request=None, context=None, **kw):
return {"ncultures": DBSession.query(common.Language).count()}
| 28.142857 | 66 | 0.766497 | 28 | 197 | 5.321429 | 0.75 | 0.107383 | 0.134228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106599 | 197 | 6 | 67 | 32.833333 | 0.846591 | 0 | 0 | 0 | 0 | 0 | 0.045685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
64df23503affc7a357f8b899bc0cee054d8f5647 | 83 | py | Python | skypond/games/__init__.py | upkoi/skypond | 5e366a18f2c5c85ce7b092d69b28c8f8aaad8718 | [
"MIT"
] | null | null | null | skypond/games/__init__.py | upkoi/skypond | 5e366a18f2c5c85ce7b092d69b28c8f8aaad8718 | [
"MIT"
] | null | null | null | skypond/games/__init__.py | upkoi/skypond | 5e366a18f2c5c85ce7b092d69b28c8f8aaad8718 | [
"MIT"
] | 2 | 2019-06-13T18:08:01.000Z | 2019-06-17T02:42:19.000Z | from __future__ import absolute_import
from . import base
from . import four_keys
| 16.6 | 38 | 0.819277 | 12 | 83 | 5.166667 | 0.583333 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 4 | 39 | 20.75 | 0.885714 | 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 |
8f243ae16dde3d3157e70cc28baaed239e45d5fc | 41 | py | Python | molecules/pubchem/__init__.py | VanessaDo/cloudml-samples | ae6cd718e583944beef9d8a90db12091ac399432 | [
"Apache-2.0"
] | 3 | 2019-03-29T08:06:35.000Z | 2019-04-12T13:19:18.000Z | molecules/pubchem/__init__.py | VanessaDo/cloudml-samples | ae6cd718e583944beef9d8a90db12091ac399432 | [
"Apache-2.0"
] | 31 | 2021-03-18T23:40:24.000Z | 2022-03-11T23:45:14.000Z | molecules/pubchem/__init__.py | VanessaDo/cloudml-samples | ae6cd718e583944beef9d8a90db12091ac399432 | [
"Apache-2.0"
] | 2 | 2019-10-12T19:21:06.000Z | 2019-10-13T17:38:30.000Z | from pipeline import *
from sdf import *
| 13.666667 | 22 | 0.756098 | 6 | 41 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 23 | 20.5 | 0.939394 | 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 |
8f54eb899b67cc089fb8ad37146879f2139b4f16 | 372,847 | py | Python | A_Grupa.py | numerical-cognition/numerical-cognition-experiment | 80e1b54c4c2e54fcdafd0ea9c656839050d5eda5 | [
"MIT"
] | null | null | null | A_Grupa.py | numerical-cognition/numerical-cognition-experiment | 80e1b54c4c2e54fcdafd0ea9c656839050d5eda5 | [
"MIT"
] | null | null | null | A_Grupa.py | numerical-cognition/numerical-cognition-experiment | 80e1b54c4c2e54fcdafd0ea9c656839050d5eda5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division
from psychopy import locale_setup
from psychopy import prefs
from psychopy import sound, gui, visual, core, data, event, logging, clock
from psychopy.constants import (NOT_STARTED, STARTED, PLAYING, PAUSED,
... | 48.02254 | 448 | 0.648794 | 47,695 | 372,847 | 4.918105 | 0.021218 | 0.022168 | 0.00729 | 0.011664 | 0.905716 | 0.875811 | 0.836185 | 0.775132 | 0.693762 | 0.637433 | 0 | 0.039969 | 0.256486 | 372,847 | 7,763 | 449 | 48.028726 | 0.806184 | 0.240603 | 0 | 0.523548 | 0 | 0.001948 | 0.07539 | 0.005241 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.005135 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
56e09e17fe62f69d7147e65d53b6853b08861307 | 13,135 | py | Python | python/xpath-helper/xpath_helper/filter.py | jrebecchi/xpath-helper | 6fddd89d5edb42360f1379b28513c7477a9a0ada | [
"MIT"
] | 14 | 2021-11-12T17:08:35.000Z | 2022-03-09T15:13:23.000Z | python/xpath-helper/xpath_helper/filter.py | jrebecchi/xpath-helper | 6fddd89d5edb42360f1379b28513c7477a9a0ada | [
"MIT"
] | 1 | 2022-03-09T15:19:11.000Z | 2022-03-12T06:55:28.000Z | python/xpath-helper/xpath_helper/filter.py | jrebecchi/xpath-helper | 6fddd89d5edb42360f1379b28513c7477a9a0ada | [
"MIT"
] | null | null | null | import functools
from typing import List, Optional
"""
The following Filter classes provide a simple, chainable and decomposable api
to create XPath filter expression
"""
"""
Shortcut to design any attribute name
"""
ANY_ATTRIBUTE = "*"
"""
XPath Filter containing a valid expression.
"""
class ValidExpressionFilt... | 36.085165 | 134 | 0.623068 | 1,378 | 13,135 | 5.883164 | 0.104499 | 0.02763 | 0.084125 | 0.082891 | 0.790675 | 0.763538 | 0.744912 | 0.715678 | 0.698409 | 0.668188 | 0 | 0.000631 | 0.276285 | 13,135 | 363 | 135 | 36.184573 | 0.852199 | 0.479711 | 0 | 0.14433 | 0 | 0 | 0.04062 | 0.007755 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28866 | false | 0 | 0.020619 | 0 | 0.618557 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
853486a66909509d3692f35cf9cff1a45ee2f926 | 66 | py | Python | litex/gen/sim/__init__.py | osterwood/litex | db20cb172dc982c5879aa8080ec7aa18de181cc5 | [
"ADSL"
] | 1,501 | 2016-04-19T18:16:21.000Z | 2022-03-31T17:46:31.000Z | litex/gen/sim/__init__.py | osterwood/litex | db20cb172dc982c5879aa8080ec7aa18de181cc5 | [
"ADSL"
] | 1,135 | 2016-04-19T05:49:14.000Z | 2022-03-31T15:21:19.000Z | litex/gen/sim/__init__.py | osterwood/litex | db20cb172dc982c5879aa8080ec7aa18de181cc5 | [
"ADSL"
] | 357 | 2016-04-19T05:00:24.000Z | 2022-03-31T11:28:32.000Z | from litex.gen.sim.core import Simulator, run_simulation, passive
| 33 | 65 | 0.833333 | 10 | 66 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 66 | 1 | 66 | 66 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
85b446244564d0f41c5bd7fab859a984cff08dfa | 21,075 | py | Python | joint_training/tools/hybrid_data_loader.py | hustvl/BoxCaseg | 3a74e06ee471170d1cd8fde516e6baf4052a2861 | [
"MIT"
] | 16 | 2021-03-21T05:57:38.000Z | 2022-03-30T03:29:13.000Z | joint_training/tools/hybrid_data_loader.py | hustvl/BoxCaseg | 3a74e06ee471170d1cd8fde516e6baf4052a2861 | [
"MIT"
] | null | null | null | joint_training/tools/hybrid_data_loader.py | hustvl/BoxCaseg | 3a74e06ee471170d1cd8fde516e6baf4052a2861 | [
"MIT"
] | 2 | 2021-05-05T12:44:38.000Z | 2022-02-19T11:55:23.000Z | import glob
import torch
from skimage import io, transform, color
import numpy as np
import random
import math
import matplotlib.pyplot as plt
from torch.utils.data import Dataset, DataLoader
from torchvision import transforms, utils
from PIL import Image
import json
import os
import pdb
import random
# =============... | 37.234982 | 116 | 0.544247 | 2,816 | 21,075 | 3.822798 | 0.072088 | 0.034278 | 0.018393 | 0.01765 | 0.816256 | 0.787924 | 0.74575 | 0.735253 | 0.720204 | 0.697353 | 0 | 0.041819 | 0.31013 | 21,075 | 565 | 117 | 37.300885 | 0.698604 | 0.096512 | 0 | 0.662269 | 0 | 0 | 0.032663 | 0 | 0 | 0 | 0 | 0 | 0.021108 | 1 | 0.068602 | false | 0.002639 | 0.036939 | 0.015831 | 0.184697 | 0.013193 | 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 |
a42e25ce8cd00b8f3f836dc7700316f5afbf6f96 | 176 | py | Python | worker/utils.py | ByK95/discount_code | 76b7babfbccaa211d842f7b0f5c55e88e7c355cb | [
"MIT"
] | null | null | null | worker/utils.py | ByK95/discount_code | 76b7babfbccaa211d842f7b0f5c55e88e7c355cb | [
"MIT"
] | null | null | null | worker/utils.py | ByK95/discount_code | 76b7babfbccaa211d842f7b0f5c55e88e7c355cb | [
"MIT"
] | null | null | null | from secrets import choice
import string
def generate_code(length):
return "".join(
[choice(string.ascii_uppercase + string.digits) for _ in range(length)]
)
| 19.555556 | 79 | 0.698864 | 22 | 176 | 5.454545 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 176 | 8 | 80 | 22 | 0.857143 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a42e2c0542de3256d46cc491cf8cf691bfe195cd | 140 | py | Python | learning-material/snippets/base/var_string.py | RatsWar/aprende-python | 2ae708fc6cdfc2eac918ef510a4b9d9a2ef8b3ad | [
"MIT"
] | 2 | 2018-07-20T07:34:06.000Z | 2019-06-11T08:58:32.000Z | learning-material/snippets/base/var_string.py | RatsWar/aprende-python | 2ae708fc6cdfc2eac918ef510a4b9d9a2ef8b3ad | [
"MIT"
] | 1 | 2019-06-16T20:55:53.000Z | 2019-06-16T20:55:53.000Z | learning-material/snippets/base/var_string.py | RatsWar/aprende-python | 2ae708fc6cdfc2eac918ef510a4b9d9a2ef8b3ad | [
"MIT"
] | 3 | 2019-06-11T07:22:39.000Z | 2021-09-26T19:50:26.000Z | myString1 = 'Hola'
myString2 = "Hola"
print("Cadena con notación 1: ")
print(myString1)
print("Cadena con notación 2: ")
print(myString2)
| 15.555556 | 32 | 0.714286 | 18 | 140 | 5.555556 | 0.5 | 0.22 | 0.28 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.142857 | 140 | 8 | 33 | 17.5 | 0.783333 | 0 | 0 | 0 | 0 | 0 | 0.385714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a441ed30bb045652b9e42b168b0409ce4a8078fb | 39 | py | Python | haversine/__init__.py | adamchainz/haversine | 3782e1264dfc3566c9d3670006168d903d396585 | [
"MIT"
] | 1 | 2019-11-22T12:13:12.000Z | 2019-11-22T12:13:12.000Z | haversine/__init__.py | MarkusShepherd/haversine | 3782e1264dfc3566c9d3670006168d903d396585 | [
"MIT"
] | null | null | null | haversine/__init__.py | MarkusShepherd/haversine | 3782e1264dfc3566c9d3670006168d903d396585 | [
"MIT"
] | null | null | null | from .haversine import Unit, haversine
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 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 |
f110684b165f525df5d847b72c708bbeea2b8b1d | 30 | py | Python | examples/tasks.py | corpseware/reliabilly | e8d310d43478407e2cf8b45cc746362124140385 | [
"MIT"
] | 1 | 2018-11-24T02:07:37.000Z | 2018-11-24T02:07:37.000Z | examples/tasks.py | corpseware/reliabilly | e8d310d43478407e2cf8b45cc746362124140385 | [
"MIT"
] | 1 | 2019-01-23T07:12:30.000Z | 2019-01-23T07:12:30.000Z | examples/tasks.py | corpseware/reliabilly | e8d310d43478407e2cf8b45cc746362124140385 | [
"MIT"
] | 1 | 2019-01-16T05:30:49.000Z | 2019-01-16T05:30:49.000Z | from reliabilly.tasks import * | 30 | 30 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f152fc888de6ea0cc62853a81c1c431b8d17a5f2 | 36 | py | Python | src/satextractor/monitor/__init__.py | oxfordeo/sat-extractor | 1d6841751e8b2ce65a02f5d3d608f181a31ab917 | [
"BSD-2-Clause"
] | 29 | 2021-11-02T16:07:04.000Z | 2022-03-14T00:16:27.000Z | src/satextractor/monitor/__init__.py | oxfordeo/sat-extractor | 1d6841751e8b2ce65a02f5d3d608f181a31ab917 | [
"BSD-2-Clause"
] | 16 | 2021-11-01T16:23:01.000Z | 2022-03-24T11:44:13.000Z | src/satextractor/monitor/__init__.py | oxfordeo/sat-extractor | 1d6841751e8b2ce65a02f5d3d608f181a31ab917 | [
"BSD-2-Clause"
] | 6 | 2021-11-09T01:10:30.000Z | 2022-03-14T18:04:32.000Z | from .gcp_monitor import GCPMonitor
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 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 |
74c305dcec59d228cd01e76638d8c6eaf40cb536 | 71 | py | Python | ghibli/api/routes/films/__init__.py | chris-verclytte/ghibli-back | 149314ab31705590051516940d38d0c84a10c8ed | [
"Apache-2.0"
] | null | null | null | ghibli/api/routes/films/__init__.py | chris-verclytte/ghibli-back | 149314ab31705590051516940d38d0c84a10c8ed | [
"Apache-2.0"
] | 2 | 2020-08-13T12:16:27.000Z | 2020-08-13T13:21:21.000Z | ghibli/api/routes/films/__init__.py | chris-verclytte/ghibli-back | 149314ab31705590051516940d38d0c84a10c8ed | [
"Apache-2.0"
] | null | null | null | """Ghibli films module"""
from .register_routes import register_routes
| 23.666667 | 44 | 0.802817 | 9 | 71 | 6.111111 | 0.777778 | 0.509091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 2 | 45 | 35.5 | 0.859375 | 0.267606 | 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 |
74fdc3bb0a35cfc1e1e3b188713fba4c944e94d4 | 338 | py | Python | kcwidrp/tests/test_bokeh_plotting.py | MNBrod/KCWI_DRP | 9331a545879f647ed83ceb9c7d925770b254a8eb | [
"BSD-3-Clause"
] | 5 | 2020-04-09T20:05:52.000Z | 2021-08-04T18:04:28.000Z | kcwidrp/tests/test_bokeh_plotting.py | MNBrod/KCWI_DRP | 9331a545879f647ed83ceb9c7d925770b254a8eb | [
"BSD-3-Clause"
] | 80 | 2020-03-19T00:35:27.000Z | 2022-03-07T20:08:23.000Z | kcwidrp/tests/test_bokeh_plotting.py | MNBrod/KCWI_DRP | 9331a545879f647ed83ceb9c7d925770b254a8eb | [
"BSD-3-Clause"
] | 9 | 2021-01-22T02:00:32.000Z | 2022-02-08T19:43:16.000Z | import multiprocessing
from kcwidrp.core.bokeh_plotting import check_running_process
import time
def test_check_running_process():
# check that a python process is running
assert check_running_process('python') is True
# check that a non-running process is not running
assert check_running_process('ab... | 24.142857 | 61 | 0.786982 | 48 | 338 | 5.333333 | 0.479167 | 0.273438 | 0.296875 | 0.195313 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16568 | 338 | 13 | 62 | 26 | 0.907801 | 0.254438 | 0 | 0 | 0 | 0 | 0.048583 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 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 |
2d095e839629e00a7e10fc61172162349add2076 | 1,573 | py | Python | src/injecta/config/YamlConfigReaderTest.py | DataSentics/injecta | 090eeac6c76c43d40be71df678222a07b0a3c783 | [
"MIT"
] | 3 | 2021-09-27T12:55:00.000Z | 2022-01-31T19:13:23.000Z | src/injecta/config/YamlConfigReaderTest.py | DataSentics/injecta | 090eeac6c76c43d40be71df678222a07b0a3c783 | [
"MIT"
] | null | null | null | src/injecta/config/YamlConfigReaderTest.py | DataSentics/injecta | 090eeac6c76c43d40be71df678222a07b0a3c783 | [
"MIT"
] | 1 | 2021-03-04T09:12:05.000Z | 2021-03-04T09:12:05.000Z | import unittest
from injecta.config.YamlConfigReader import YamlConfigReader
from injecta.lib_root import get_lib_root
class YamlConfigReaderTest(unittest.TestCase):
def setUp(self):
self.__yaml_config_reader = YamlConfigReader()
def test_basic(self):
config = self.__yaml_config_reader.read(g... | 41.394737 | 123 | 0.704387 | 171 | 1,573 | 6.222222 | 0.25731 | 0.183271 | 0.118421 | 0.097744 | 0.712406 | 0.712406 | 0.712406 | 0.712406 | 0.712406 | 0.712406 | 0 | 0.029658 | 0.164018 | 1,573 | 37 | 124 | 42.513514 | 0.779468 | 0 | 0 | 0.482759 | 0 | 0 | 0.216783 | 0.064209 | 0 | 0 | 0 | 0 | 0.517241 | 1 | 0.103448 | false | 0 | 0.172414 | 0 | 0.310345 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2d0e850460d6130046130737f6e07742664f133a | 40 | py | Python | plainhtml/__init__.py | snapADDY/plainhtml | 7578474adf55462f27e203f6000dc03d548cb46c | [
"MIT"
] | null | null | null | plainhtml/__init__.py | snapADDY/plainhtml | 7578474adf55462f27e203f6000dc03d548cb46c | [
"MIT"
] | null | null | null | plainhtml/__init__.py | snapADDY/plainhtml | 7578474adf55462f27e203f6000dc03d548cb46c | [
"MIT"
] | null | null | null | from plainhtml.core import extract_text
| 20 | 39 | 0.875 | 6 | 40 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 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 |
2d0ed7f470ade8150d22ca578a5d96a3f7dd0719 | 2,385 | py | Python | gigalixir/config.py | oleks/gigalixir-cli | d1b1c303e24be548ddc895165e34652c378f4347 | [
"MIT"
] | 52 | 2017-11-15T09:05:36.000Z | 2021-11-29T07:58:47.000Z | gigalixir/config.py | oleks/gigalixir-cli | d1b1c303e24be548ddc895165e34652c378f4347 | [
"MIT"
] | 76 | 2017-08-17T16:58:48.000Z | 2022-03-11T11:01:15.000Z | gigalixir/config.py | oleks/gigalixir-cli | d1b1c303e24be548ddc895165e34652c378f4347 | [
"MIT"
] | 50 | 2017-06-21T19:51:56.000Z | 2022-01-19T01:58:19.000Z | import requests
from . import auth
import urllib
import json
import click
from . import presenter
from six.moves.urllib.parse import quote
def get(host, app_name):
r = requests.get('%s/api/apps/%s/configs' % (host, quote(app_name.encode('utf-8'))), headers = {
'Content-Type': 'application/json',
})
... | 30.974026 | 110 | 0.584486 | 313 | 2,385 | 4.351438 | 0.166134 | 0.061674 | 0.066079 | 0.095448 | 0.776065 | 0.776065 | 0.776065 | 0.776065 | 0.754772 | 0.754772 | 0 | 0.019741 | 0.256604 | 2,385 | 76 | 111 | 31.381579 | 0.748449 | 0 | 0 | 0.746479 | 0 | 0 | 0.13501 | 0.048218 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070423 | false | 0 | 0.098592 | 0 | 0.169014 | 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 |
2d36e8f2324c37d5f4ab2087ca071322bf450df8 | 33 | py | Python | src/uix/separator/__init__.py | Eastern-Skill7173/SharedSnippets | 399c9d61a938788e229bc6e6f6dcd38bf5ad9c0e | [
"MIT"
] | 1 | 2022-03-18T20:29:40.000Z | 2022-03-18T20:29:40.000Z | src/uix/separator/__init__.py | Eastern-Skill7173/SharedSnippets | 399c9d61a938788e229bc6e6f6dcd38bf5ad9c0e | [
"MIT"
] | null | null | null | src/uix/separator/__init__.py | Eastern-Skill7173/SharedSnippets | 399c9d61a938788e229bc6e6f6dcd38bf5ad9c0e | [
"MIT"
] | null | null | null | from .separator import Separator
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7461935deffa6cb4e695a6ad64264104723d430d | 97 | py | Python | Common/IO/DirInfo/IDirInfo.py | enriqueescobar-askida/Kinito.Finance | 5308748b64829ac798a858161f9b4a9e5829db44 | [
"MIT"
] | 2 | 2020-03-04T11:18:38.000Z | 2020-05-10T15:36:42.000Z | Common/IO/DirInfo/IDirInfo.py | enriqueescobar-askida/Kinito.Finance | 5308748b64829ac798a858161f9b4a9e5829db44 | [
"MIT"
] | 6 | 2020-03-30T16:42:47.000Z | 2021-12-13T20:37:21.000Z | Common/IO/DirInfo/IDirInfo.py | enriqueescobar-askida/Kinito.Finance | 5308748b64829ac798a858161f9b4a9e5829db44 | [
"MIT"
] | 1 | 2020-04-14T11:26:16.000Z | 2020-04-14T11:26:16.000Z | from Common.Objects.Interfaceable import Interfaceable
class IDirInfo(Interfaceable):
pass
| 16.166667 | 54 | 0.814433 | 10 | 97 | 7.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 97 | 5 | 55 | 19.4 | 0.940476 | 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 |
746a04c6bee849e218d4492971dbebbc209ee977 | 959 | py | Python | S2l/Thesis_Ch3/Study/plotter_test_eval_metric_for_diff_teps_Exp1.py | leopauly/Observation-Learning-Simulations | 462c04a87c45aae51537b8ea5b44646afa31d3a5 | [
"MIT"
] | null | null | null | S2l/Thesis_Ch3/Study/plotter_test_eval_metric_for_diff_teps_Exp1.py | leopauly/Observation-Learning-Simulations | 462c04a87c45aae51537b8ea5b44646afa31d3a5 | [
"MIT"
] | null | null | null | S2l/Thesis_Ch3/Study/plotter_test_eval_metric_for_diff_teps_Exp1.py | leopauly/Observation-Learning-Simulations | 462c04a87c45aae51537b8ea5b44646afa31d3a5 | [
"MIT"
] | null | null | null | #### For plotting from reawrd values stored in files
import numpy as np
import matplotlib.pyplot as plt
import sys
y = np.loadtxt('./Exp1/test_eval_metric_per_step_Study.Exp1.60ps.txt', unpack=True)
y_new=[y_ for y_ in y if y_!=0]
x=range(len(y_new))
print(x,y_new)
plt.figure(1)
plt.plot(x,y_new)
plt.title('Eval me... | 22.833333 | 85 | 0.734098 | 191 | 959 | 3.486911 | 0.246073 | 0.072072 | 0.117117 | 0.153153 | 0.792793 | 0.792793 | 0.792793 | 0.792793 | 0.792793 | 0.792793 | 0 | 0.024306 | 0.099062 | 959 | 41 | 86 | 23.390244 | 0.746528 | 0.049009 | 0 | 0.75 | 0 | 0 | 0.313466 | 0.1766 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.09375 | 0 | 0.09375 | 0.09375 | 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 |
74751e064343736ee9ea895bf0703c2e6dce51bd | 9,892 | py | Python | rdfframes/test_queries/test_join_tow_graphs.py | qcri/RDFframe | 2a50105479051c134cc5eddc9e20d55b755ef765 | [
"MIT"
] | 13 | 2019-07-06T00:10:11.000Z | 2022-02-20T02:14:16.000Z | rdfframes/test_queries/test_join_tow_graphs.py | qcri/RDFrame | 2a50105479051c134cc5eddc9e20d55b755ef765 | [
"MIT"
] | 1 | 2019-05-20T08:51:42.000Z | 2019-05-20T08:51:42.000Z | rdfframes/test_queries/test_join_tow_graphs.py | qcri/RDFframe | 2a50105479051c134cc5eddc9e20d55b755ef765 | [
"MIT"
] | 3 | 2020-04-17T10:50:37.000Z | 2022-03-23T01:30:16.000Z | from time import time
from rdfframes.knowledge_graph import KnowledgeGraph
from rdfframes.client.http_client import HttpClientDataFormat, HttpClient
from rdfframes.client.sparql_endpoint_client import SPARQLEndpointClient
from rdfframes.utils.constants import JoinType
__author__ = "Ghadeer"
endpoint = 'http://10.161... | 35.328571 | 126 | 0.639304 | 1,189 | 9,892 | 5.191758 | 0.126997 | 0.027215 | 0.045359 | 0.055079 | 0.804795 | 0.794427 | 0.789243 | 0.789243 | 0.780172 | 0.77515 | 0 | 0.03558 | 0.195916 | 9,892 | 279 | 127 | 35.455197 | 0.740508 | 0.018298 | 0 | 0.347826 | 0 | 0 | 0.302794 | 0.025331 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057971 | false | 0 | 0.072464 | 0 | 0.130435 | 0.072464 | 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 |
74a06f0df8222f0a9c79ff3d7cd890a523045956 | 38 | py | Python | src/gtfs_router/raptor/__init__.py | wsp-sag/gtfs-router | ce7f9e0c469d83aa2eeca289affca94b12254f2d | [
"MIT"
] | 2 | 2021-08-18T22:13:46.000Z | 2021-09-03T23:59:23.000Z | src/gtfs_router/raptor/__init__.py | wsp-sag/gtfs-router | ce7f9e0c469d83aa2eeca289affca94b12254f2d | [
"MIT"
] | null | null | null | src/gtfs_router/raptor/__init__.py | wsp-sag/gtfs-router | ce7f9e0c469d83aa2eeca289affca94b12254f2d | [
"MIT"
] | 2 | 2021-10-20T10:15:56.000Z | 2021-12-24T01:43:01.000Z | from .raptor import raptor_assignment
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
7783d24d22acacf5e350cfabfc3ffe427a768c5b | 40,881 | py | Python | delicatessen/estimating_equations/survival.py | pzivich/Deli | 761aa51c6949334b59fffb185be4266177454b6c | [
"MIT"
] | null | null | null | delicatessen/estimating_equations/survival.py | pzivich/Deli | 761aa51c6949334b59fffb185be4266177454b6c | [
"MIT"
] | null | null | null | delicatessen/estimating_equations/survival.py | pzivich/Deli | 761aa51c6949334b59fffb185be4266177454b6c | [
"MIT"
] | null | null | null | import numpy as np
#################################################################
# Survival Estimating Equations
def ee_exponential_model(theta, t, delta):
r"""Default stacked estimating equation for a one-parameter exponential survival model. Let :math:`T_i` indicate the
time of the event and :math:`C_... | 46.7746 | 120 | 0.612974 | 5,527 | 40,881 | 4.470599 | 0.08178 | 0.003561 | 0.012384 | 0.00777 | 0.841232 | 0.815573 | 0.808855 | 0.802744 | 0.788053 | 0.779756 | 0 | 0.012994 | 0.265796 | 40,881 | 873 | 121 | 46.828179 | 0.810228 | 0.798342 | 0 | 0.539823 | 0 | 0 | 0.084164 | 0 | 0 | 0 | 0 | 0.001145 | 0 | 1 | 0.070796 | false | 0 | 0.00885 | 0 | 0.168142 | 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 |
779030616413339b7a01ccde7a09be4767592052 | 2,199 | py | Python | cogs/messages.py | nihaals/DabbitPrimeBot | a7c0e906a9065e3de7665a5f050c43e2cc11259d | [
"MIT"
] | null | null | null | cogs/messages.py | nihaals/DabbitPrimeBot | a7c0e906a9065e3de7665a5f050c43e2cc11259d | [
"MIT"
] | null | null | null | cogs/messages.py | nihaals/DabbitPrimeBot | a7c0e906a9065e3de7665a5f050c43e2cc11259d | [
"MIT"
] | 1 | 2019-12-19T04:14:22.000Z | 2019-12-19T04:14:22.000Z | from discord.ext import commands
import discord
class Messages():
def __init__(self, bot):
self.bot = bot
@commands.command(aliases=["recents", "last"], no_pm=True)
async def recent(self, ctx, user: discord.Member = None, channel: discord.TextChannel = None):
"""Quotes a user's most recent... | 39.981818 | 98 | 0.582992 | 255 | 2,199 | 4.964706 | 0.266667 | 0.07109 | 0.053712 | 0.088468 | 0.728278 | 0.703002 | 0.703002 | 0.703002 | 0.703002 | 0.703002 | 0 | 0.004019 | 0.321055 | 2,199 | 55 | 99 | 39.981818 | 0.843938 | 0 | 0 | 0.734694 | 0 | 0 | 0.020614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.040816 | 0 | 0.183673 | 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 |
bb38e852b0f84cca940780bdafe71e6d9bab8034 | 4,127 | py | Python | tests/test_interpreter.py | martinbagic/aegis-exercise | 2bef0828dea456f2f66c9288daf095e4dceca40c | [
"MIT"
] | 1 | 2020-03-01T18:47:09.000Z | 2020-03-01T18:47:09.000Z | tests/test_interpreter.py | valenzano-lab/aegis | 30685d44b90f5d3c35a7a2b5d2202809eca59f2a | [
"MIT"
] | null | null | null | tests/test_interpreter.py | valenzano-lab/aegis | 30685d44b90f5d3c35a7a2b5d2202809eca59f2a | [
"MIT"
] | 3 | 2020-03-03T11:59:00.000Z | 2021-07-18T10:14:47.000Z | import pytest
import numpy as np
from aegis.modules.interpreter import Interpreter
e = Interpreter.exp_base
be = Interpreter.binary_exp_base
@pytest.mark.parametrize(
"BITS_PER_LOCUS,loci,expected",
[
# 1 individual 3 loci
(4, [[[0, 0, 0, 0], [0, 0, 0, 1], [0, 0, 1, 0]]], [[0, 1 / 15, 2 / 15... | 31.992248 | 85 | 0.419918 | 637 | 4,127 | 2.646782 | 0.076923 | 0.105575 | 0.092527 | 0.075919 | 0.811388 | 0.746738 | 0.710558 | 0.701068 | 0.677343 | 0.635824 | 0 | 0.155714 | 0.321541 | 4,127 | 128 | 86 | 32.242188 | 0.446429 | 0.076084 | 0 | 0.326733 | 0 | 0 | 0.036871 | 0.036871 | 0 | 0 | 0 | 0 | 0.049505 | 1 | 0.049505 | false | 0 | 0.029703 | 0 | 0.079208 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 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 |
bb5620273bb480a16509560dd4dbdc90bd70bb3b | 14,908 | py | Python | explore/circadian-efficacy/src/calculate_edge_circa_score.py | dhimmel/hetmech | 4c7dc77054a02d7da4c30c2a9b0eca391cf5b6b5 | [
"BSD-3-Clause"
] | 10 | 2017-08-20T17:12:57.000Z | 2019-03-26T21:42:28.000Z | explore/circadian-efficacy/src/calculate_edge_circa_score.py | greenelab/hetmech | ca460f70a247ef456c930c7e64df24f59dc2b338 | [
"BSD-3-Clause"
] | 121 | 2017-03-16T19:20:31.000Z | 2021-01-21T16:15:55.000Z | explore/circadian-efficacy/src/calculate_edge_circa_score.py | dhimmel/hetmech | 4c7dc77054a02d7da4c30c2a9b0eca391cf5b6b5 | [
"BSD-3-Clause"
] | 7 | 2017-03-27T23:02:11.000Z | 2019-03-27T15:47:52.000Z | # created by Yun Hao @GreeneLab2019
#!/usr/bin/env python
import numpy as np
import pandas as pd
import requests
## This function calculates the edge circadian score of a drug-disease pair without returning the score details of each path. It is faster, and requires less memory
def calculate_edge_circa_score(query_dru... | 43.847059 | 201 | 0.689361 | 2,246 | 14,908 | 4.32057 | 0.089047 | 0.029678 | 0.029472 | 0.013603 | 0.863561 | 0.843982 | 0.809151 | 0.79864 | 0.766488 | 0.766488 | 0 | 0.008353 | 0.196941 | 14,908 | 339 | 202 | 43.976401 | 0.802205 | 0.225852 | 0 | 0.69869 | 0 | 0 | 0.185711 | 0.008006 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008734 | false | 0 | 0.021834 | 0 | 0.039301 | 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 |
701cc2d5e3b618fb1973006806e81f9cff46f2bf | 17,713 | py | Python | drf_auth/tests/api_views_tests.py | TheArtling/django-drf-auth | 732183fae6cb129a1bf5c0c619fbd76e366ab392 | [
"MIT"
] | null | null | null | drf_auth/tests/api_views_tests.py | TheArtling/django-drf-auth | 732183fae6cb129a1bf5c0c619fbd76e366ab392 | [
"MIT"
] | null | null | null | drf_auth/tests/api_views_tests.py | TheArtling/django-drf-auth | 732183fae6cb129a1bf5c0c619fbd76e366ab392 | [
"MIT"
] | null | null | null | """Tests for the API views of the drf_auth app."""
import json
from django.contrib.auth.models import AnonymousUser
from django.test import TestCase
from mixer.backend.django import mixer
from mock import MagicMock, patch
from rest_framework.test import APIRequestFactory, force_authenticate
from .. import api_views
... | 46.859788 | 79 | 0.653362 | 2,280 | 17,713 | 4.791667 | 0.098684 | 0.041739 | 0.053822 | 0.063799 | 0.806773 | 0.787185 | 0.774462 | 0.763478 | 0.74984 | 0.745812 | 0 | 0.017641 | 0.23192 | 17,713 | 377 | 80 | 46.984085 | 0.785373 | 0.01513 | 0 | 0.692537 | 0 | 0 | 0.244092 | 0.069059 | 0 | 0 | 0 | 0 | 0.092537 | 1 | 0.053731 | false | 0.014925 | 0.026866 | 0 | 0.104478 | 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 |
7055fbe2f61f8dfee63144daa54b7f3756278dcc | 120 | py | Python | mlapp/utils/exceptions/user_exceptions.py | kerenleibovich/mlapp | 0b8dfaba7a7070ab68cb29ff61dd1c7dd8076693 | [
"Apache-2.0"
] | 33 | 2021-02-26T10:41:09.000Z | 2021-11-07T12:35:32.000Z | mlapp/utils/exceptions/user_exceptions.py | kerenleibovich/mlapp | 0b8dfaba7a7070ab68cb29ff61dd1c7dd8076693 | [
"Apache-2.0"
] | 17 | 2021-03-04T15:37:21.000Z | 2021-04-06T12:00:13.000Z | mlapp/utils/exceptions/user_exceptions.py | kerenleibovich/mlapp | 0b8dfaba7a7070ab68cb29ff61dd1c7dd8076693 | [
"Apache-2.0"
] | 9 | 2021-03-03T20:02:41.000Z | 2021-10-05T13:03:56.000Z | from mlapp.utils.exceptions.base_exceptions import UserException
class MissingModelException(UserException):
pass
| 20 | 64 | 0.841667 | 12 | 120 | 8.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 120 | 5 | 65 | 24 | 0.934579 | 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 |
7057a598a58b00c3ad76d5d7d188ad7613941f17 | 41 | py | Python | fastai2/tabular/all.py | bearpelican/fastai2 | 445fa28e42b8d6205adc135527c22883fcfbef41 | [
"Apache-2.0"
] | null | null | null | fastai2/tabular/all.py | bearpelican/fastai2 | 445fa28e42b8d6205adc135527c22883fcfbef41 | [
"Apache-2.0"
] | null | null | null | fastai2/tabular/all.py | bearpelican/fastai2 | 445fa28e42b8d6205adc135527c22883fcfbef41 | [
"Apache-2.0"
] | 1 | 2020-08-20T14:20:47.000Z | 2020-08-20T14:20:47.000Z | from .core import *
from .model import *
| 13.666667 | 20 | 0.707317 | 6 | 41 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 21 | 20.5 | 0.878788 | 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 |
56174dbb21b162781312d07324fb7e0ab1d66bc3 | 21 | py | Python | Lib/site-packages/pyocr/__init__.py | adzhou/Python27 | a7113b69d54a04cc780143241c2f1fe81939ad3a | [
"bzip2-1.0.6"
] | 1 | 2017-08-07T14:52:02.000Z | 2017-08-07T14:52:02.000Z | Lib/site-packages/pyocr/__init__.py | adzhou/Python27 | a7113b69d54a04cc780143241c2f1fe81939ad3a | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/pyocr/__init__.py | adzhou/Python27 | a7113b69d54a04cc780143241c2f1fe81939ad3a | [
"bzip2-1.0.6"
] | null | null | null | from .pyocr import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5621941731ba57d157251b2307d12c8ff2cc7864 | 22,570 | py | Python | test/test_components_repository_repository.py | dmyers87/skelebot | 954552fc5f465eb2a887f5c96a27f11ad423cd71 | [
"MIT"
] | null | null | null | test/test_components_repository_repository.py | dmyers87/skelebot | 954552fc5f465eb2a887f5c96a27f11ad423cd71 | [
"MIT"
] | null | null | null | test/test_components_repository_repository.py | dmyers87/skelebot | 954552fc5f465eb2a887f5c96a27f11ad423cd71 | [
"MIT"
] | null | null | null | from unittest import TestCase, main, mock
from schema import SchemaError
import copy
import argparse
import skelebot as sb
class TestRepository(TestCase):
artifcatory = None
s3 = None
s3_subfolder = None
artifactoryDict = {
"url": "test",
"repo": "test",
"path": "path"
}
... | 46.155419 | 150 | 0.67922 | 2,858 | 22,570 | 5.176697 | 0.06648 | 0.005948 | 0.031362 | 0.011828 | 0.898479 | 0.861034 | 0.829605 | 0.789997 | 0.775194 | 0.750186 | 0 | 0.0243 | 0.183163 | 22,570 | 488 | 151 | 46.25 | 0.778206 | 0 | 0 | 0.611979 | 0 | 0.005208 | 0.184626 | 0.052548 | 0 | 0 | 0 | 0 | 0.127604 | 1 | 0.083333 | false | 0 | 0.013021 | 0 | 0.114583 | 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 |
5629347eea0cb1770d3e713c2564df784c268a73 | 121 | py | Python | Programming I Python/Chapter 6/functions but separated/midrange.py | eebr99/Python-Projects | 016f72b3f13793cb73c333c6eaab313eddfae9e7 | [
"MIT"
] | null | null | null | Programming I Python/Chapter 6/functions but separated/midrange.py | eebr99/Python-Projects | 016f72b3f13793cb73c333c6eaab313eddfae9e7 | [
"MIT"
] | null | null | null | Programming I Python/Chapter 6/functions but separated/midrange.py | eebr99/Python-Projects | 016f72b3f13793cb73c333c6eaab313eddfae9e7 | [
"MIT"
] | null | null | null | #this program calculates the midrange
def midrange(Max, Min):
midrange = (Max + Min) / 2
return midrange
| 17.285714 | 38 | 0.644628 | 15 | 121 | 5.2 | 0.666667 | 0.282051 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.272727 | 121 | 6 | 39 | 20.166667 | 0.875 | 0.297521 | 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 | 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 | 1 | 0 | 0 | 6 |
5647557819f10d5a7948b5d49bbabcf9ca1fcbc6 | 105 | py | Python | models/__init__.py | PINTO0309/multi-mono-sf | 563d65f34624c9281571e8b8b6f1f25599a94a34 | [
"Apache-2.0"
] | 69 | 2021-05-06T01:31:54.000Z | 2022-03-30T02:52:53.000Z | models/__init__.py | PINTO0309/multi-mono-sf | 563d65f34624c9281571e8b8b6f1f25599a94a34 | [
"Apache-2.0"
] | 7 | 2021-05-11T06:39:44.000Z | 2022-02-28T10:13:53.000Z | models/__init__.py | PINTO0309/multi-mono-sf | 563d65f34624c9281571e8b8b6f1f25599a94a34 | [
"Apache-2.0"
] | 11 | 2021-05-09T13:34:46.000Z | 2021-11-24T09:33:49.000Z | from . import model_monosceneflow
MonoSceneFlow_Multi = model_monosceneflow.MonoSceneFlow_Multi
| 11.666667 | 64 | 0.819048 | 10 | 105 | 8.2 | 0.5 | 0.439024 | 0.756098 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152381 | 105 | 8 | 65 | 13.125 | 0.921348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8e6b78011f1026b62968951fd19d01c52385b665 | 121,771 | py | Python | tests/test_run.py | SalishSeaCast/SalishSeaCmd | 71b3eb92752fbecc5f3bbd7cd95eb50a934f4f85 | [
"Apache-2.0"
] | 1 | 2020-06-23T16:08:33.000Z | 2020-06-23T16:08:33.000Z | tests/test_run.py | SalishSeaCast/SalishSeaCmd | 71b3eb92752fbecc5f3bbd7cd95eb50a934f4f85 | [
"Apache-2.0"
] | 6 | 2021-02-10T02:00:17.000Z | 2022-03-11T22:46:08.000Z | tests/test_run.py | SalishSeaCast/SalishSeaCmd | 71b3eb92752fbecc5f3bbd7cd95eb50a934f4f85 | [
"Apache-2.0"
] | null | null | null | # Copyright 2013-2021 The Salish Sea MEOPAR Contributors
# and The University of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/... | 34.505809 | 130 | 0.468264 | 12,293 | 121,771 | 4.429675 | 0.041731 | 0.032137 | 0.031678 | 0.018364 | 0.87898 | 0.854923 | 0.843997 | 0.82589 | 0.814669 | 0.796232 | 0 | 0.044829 | 0.418375 | 121,771 | 3,528 | 131 | 34.51559 | 0.724024 | 0.013271 | 0 | 0.638768 | 0 | 0.011709 | 0.228231 | 0.046397 | 0 | 0 | 0 | 0 | 0.042931 | 1 | 0.029488 | false | 0 | 0.006071 | 0 | 0.043799 | 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 |
8e78cd3e65c8759db595476abcad4e4cfa3d613a | 13,811 | py | Python | baseline/src/parallel_wavegan/datasets/audio_world_dataset.py | SolomidHero/vcc20_baseline_cyclevae | 983f4852cefc525013b2168429934a5c46d45484 | [
"MIT"
] | 131 | 2020-03-11T11:04:30.000Z | 2022-02-10T12:45:39.000Z | baseline/src/parallel_wavegan/datasets/audio_world_dataset.py | SolomidHero/vcc20_baseline_cyclevae | 983f4852cefc525013b2168429934a5c46d45484 | [
"MIT"
] | 9 | 2020-05-27T22:01:17.000Z | 2022-03-08T13:05:23.000Z | baseline/src/parallel_wavegan/datasets/audio_world_dataset.py | SolomidHero/vcc20_baseline_cyclevae | 983f4852cefc525013b2168429934a5c46d45484 | [
"MIT"
] | 18 | 2020-03-15T15:31:15.000Z | 2021-06-16T02:56:36.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Wu Yi-Chiao (Nagoya University)
# Modified from a ParallelWaveGAN repo by Tomoki Hayashi (Nagoya University)
# (https://github.com/kan-bayashi/ParallelWaveGAN)
# MIT License (https://opensource.org/licenses/MIT)
"""Dataset modules."""
import logging
from multiprocessing imp... | 38.363889 | 106 | 0.591268 | 1,755 | 13,811 | 4.464387 | 0.105983 | 0.052329 | 0.016847 | 0.01404 | 0.813146 | 0.788385 | 0.740268 | 0.715763 | 0.693427 | 0.65769 | 0 | 0.007761 | 0.318949 | 13,811 | 359 | 107 | 38.470752 | 0.825218 | 0.301716 | 0 | 0.734043 | 0 | 0 | 0.06872 | 0 | 0 | 0 | 0 | 0 | 0.037234 | 1 | 0.053191 | false | 0 | 0.042553 | 0 | 0.180851 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8e8af7eff15ebd9f6b013ee914575257aa3bdd81 | 20 | py | Python | OtherLanguages/Python/lerc/__init__.py | zakjan/lerc | 3f523fee2b5764f2029e035c41a2325b6360a29d | [
"Apache-2.0"
] | 157 | 2015-12-17T22:21:39.000Z | 2021-12-18T09:01:30.000Z | OtherLanguages/Python/lerc/__init__.py | zakjan/lerc | 3f523fee2b5764f2029e035c41a2325b6360a29d | [
"Apache-2.0"
] | 71 | 2015-12-18T02:29:05.000Z | 2022-03-12T01:24:39.000Z | OtherLanguages/Python/lerc/__init__.py | zakjan/lerc | 3f523fee2b5764f2029e035c41a2325b6360a29d | [
"Apache-2.0"
] | 55 | 2015-12-18T00:54:07.000Z | 2021-12-28T19:52:26.000Z | from ._lerc import * | 20 | 20 | 0.75 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.823529 | 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 |
d912cb94d284b1c8139d0c5ce4904050a6506fef | 39 | py | Python | phylogeny/__init__.py | mroctavious/Phylogeny | 014461b5ec6323f42cf1c913f6a9bdba42e3bc05 | [
"MIT"
] | 2 | 2020-01-17T17:19:15.000Z | 2021-04-18T22:27:59.000Z | phylogeny/__init__.py | mroctavious/Phylogeny | 014461b5ec6323f42cf1c913f6a9bdba42e3bc05 | [
"MIT"
] | null | null | null | phylogeny/__init__.py | mroctavious/Phylogeny | 014461b5ec6323f42cf1c913f6a9bdba42e3bc05 | [
"MIT"
] | 2 | 2018-08-30T20:57:37.000Z | 2020-09-09T06:29:02.000Z | from .core import DistanceMatrix, Tree
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 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 |
d928a9c10ed3f105090d8a898e1e8488d0ba1f0c | 39 | py | Python | bartpy/linops/__init__.py | pehses/bartpy | 83ba894707f8aae2edc156bd9c31ac478a4bd966 | [
"BSD-3-Clause"
] | 4 | 2021-08-15T12:57:49.000Z | 2022-02-17T03:38:49.000Z | bartpy/linops/__init__.py | mrirecon/bartpy | 4043e28d4a98ad6d518d8aacce687b50df34789a | [
"BSD-3-Clause"
] | 2 | 2021-12-15T16:15:53.000Z | 2022-03-20T17:18:04.000Z | bartpy/linops/__init__.py | mrirecon/bartpy | 4043e28d4a98ad6d518d8aacce687b50df34789a | [
"BSD-3-Clause"
] | 5 | 2021-07-12T11:15:10.000Z | 2022-03-20T16:36:43.000Z | from .linop import *
from .ops import * | 19.5 | 20 | 0.717949 | 6 | 39 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 2 | 21 | 19.5 | 0.875 | 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 |
d944e4c63df526e56966754d61580df7a7c23c2a | 118 | py | Python | vox_parser/__init__.py | insidemirage/schematic-tools | b0dbe02a0bc13c354c40d67f32d38c6753add4c0 | [
"MIT"
] | null | null | null | vox_parser/__init__.py | insidemirage/schematic-tools | b0dbe02a0bc13c354c40d67f32d38c6753add4c0 | [
"MIT"
] | null | null | null | vox_parser/__init__.py | insidemirage/schematic-tools | b0dbe02a0bc13c354c40d67f32d38c6753add4c0 | [
"MIT"
] | null | null | null | from .parser import VoxelParser
from .parser_exceptions import *
from .default_palette import *
from .models import *
| 23.6 | 32 | 0.805085 | 15 | 118 | 6.2 | 0.533333 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 4 | 33 | 29.5 | 0.911765 | 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 |
794df136f39b9e2cfa450f252b3c4e9dff9be930 | 1,139 | py | Python | scripts/fp_quan/run_fixedp_quan.py | deep-fry/mayo | 7211a11fdb9bb0a036d496a3eba16c96db122f89 | [
"MIT"
] | 110 | 2018-06-07T17:52:29.000Z | 2022-03-28T08:04:02.000Z | scripts/fp_quan/run_fixedp_quan.py | kypomon/mayo | 7211a11fdb9bb0a036d496a3eba16c96db122f89 | [
"MIT"
] | 6 | 2019-10-17T12:00:29.000Z | 2021-10-21T13:41:22.000Z | scripts/fp_quan/run_fixedp_quan.py | kypomon/mayo | 7211a11fdb9bb0a036d496a3eba16c96db122f89 | [
"MIT"
] | 22 | 2018-07-05T01:30:49.000Z | 2021-10-19T06:15:40.000Z | import yaml
import os
import subprocess
mayo_dir = "../../"
gpus = [0, 1]
model='mobilenet_v1'
cmd_formatter = './my datasets/imagenet.yaml models/override/{}.yaml models/override/quantize/fixed_incremental.yaml trainers/cifarnet.yaml system.checkpoint.load=pretrained train.learning_rate._initial=0.01 train.learning_r... | 81.357143 | 442 | 0.808604 | 176 | 1,139 | 5.034091 | 0.352273 | 0.073363 | 0.095937 | 0.05079 | 0.727991 | 0.706546 | 0.706546 | 0.706546 | 0.625282 | 0.625282 | 0 | 0.026977 | 0.05619 | 1,139 | 14 | 443 | 81.357143 | 0.797209 | 0 | 0 | 0 | 0 | 0.166667 | 0.707895 | 0.54386 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
799a23fcf4235f59dc063becf77f8a0c4c92ce7c | 163,536 | py | Python | odoo_hubspot/models/importtohubspot.py | sagar-organiztion/custom_repo2 | 30687143b3b6a7820305075d15fd15fbd61141d1 | [
"Apache-2.0"
] | null | null | null | odoo_hubspot/models/importtohubspot.py | sagar-organiztion/custom_repo2 | 30687143b3b6a7820305075d15fd15fbd61141d1 | [
"Apache-2.0"
] | null | null | null | odoo_hubspot/models/importtohubspot.py | sagar-organiztion/custom_repo2 | 30687143b3b6a7820305075d15fd15fbd61141d1 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import logging
import re
from odoo.exceptions import ValidationError
from odoo import _, api, fields, models, modules, SUPERUSER_ID, tools
from datetime import datetime
import datetime
import requests
import json
import urllib
import html2text
import urllib.request
import os
import base64
_logg... | 67.437526 | 144 | 0.417162 | 13,029 | 163,536 | 4.983805 | 0.046281 | 0.036545 | 0.03154 | 0.024717 | 0.893261 | 0.881803 | 0.865725 | 0.855284 | 0.840946 | 0.831829 | 0 | 0.004552 | 0.469413 | 163,536 | 2,424 | 145 | 67.465347 | 0.743794 | 0.315062 | 0 | 0.6773 | 0 | 0.033383 | 0.182413 | 0.038908 | 0 | 0 | 0 | 0.000413 | 0 | 1 | 0.01632 | false | 0.011128 | 0.017062 | 0 | 0.048961 | 0.005193 | 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 |
79ad9c7db0036734cd151b5f3bbaa199fc17709d | 403 | py | Python | __init__.py | ChristopherHoffman/3d-print-log-cura-plugin | 1b7bccdcbdce7ae6c11ac92e0f8f8ab20d9f82ee | [
"MIT"
] | 5 | 2021-02-12T12:55:46.000Z | 2022-01-28T09:00:52.000Z | __init__.py | ChristopherHoffman/3d-print-log-cura-plugin | 1b7bccdcbdce7ae6c11ac92e0f8f8ab20d9f82ee | [
"MIT"
] | 2 | 2021-05-14T11:56:42.000Z | 2022-03-07T12:04:14.000Z | __init__.py | ChristopherHoffman/3d-print-log-cura-plugin | 1b7bccdcbdce7ae6c11ac92e0f8f8ab20d9f82ee | [
"MIT"
] | 1 | 2022-01-28T09:01:04.000Z | 2022-01-28T09:01:04.000Z | from . import PrintLogUploader
from . import PrintLogSettingDefinitionsModel
from PyQt5.QtQml import qmlRegisterType
def getMetaData():
return {}
def register(app):
qmlRegisterType(PrintLogSettingDefinitionsModel.PrintLogSettingDefinitionsModel,
"PrintLogUploader", 1, 0, "PrintLogSettin... | 25.1875 | 84 | 0.766749 | 28 | 403 | 11.035714 | 0.535714 | 0.064725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.158809 | 403 | 15 | 85 | 26.866667 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0.138958 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.777778 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
79c71be83b25746a962ff76818e062128c61ee38 | 24 | py | Python | pmbrl/envs/__init__.py | paul-kinghorn/rl-inference | 007dba5836b79417aaa0aa6216492745aa9e1bb3 | [
"MIT"
] | 20 | 2020-04-16T18:13:39.000Z | 2022-02-25T01:20:39.000Z | pmbrl/envs/__init__.py | paul-kinghorn/rl-inference | 007dba5836b79417aaa0aa6216492745aa9e1bb3 | [
"MIT"
] | null | null | null | pmbrl/envs/__init__.py | paul-kinghorn/rl-inference | 007dba5836b79417aaa0aa6216492745aa9e1bb3 | [
"MIT"
] | 8 | 2020-04-23T05:39:46.000Z | 2021-08-29T20:21:44.000Z |
from .env import GymEnv | 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 2 | 23 | 12 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79cd7d6d1cca4c08bfbde8c6ede81f42fb6d81a8 | 28 | py | Python | ImmoKaa/__init__.py | gandreassi/ImmoKaa | 904115e5a6f91ca78b41aebdaf4ffe3934a4c318 | [
"MIT"
] | 1 | 2021-06-08T09:12:00.000Z | 2021-06-08T09:12:00.000Z | ImmoKaa/__init__.py | gandreassi/ImmoKaa | 904115e5a6f91ca78b41aebdaf4ffe3934a4c318 | [
"MIT"
] | null | null | null | ImmoKaa/__init__.py | gandreassi/ImmoKaa | 904115e5a6f91ca78b41aebdaf4ffe3934a4c318 | [
"MIT"
] | null | null | null | from .scraper import scraper | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 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 |
8dae379ae3e08e4c4b53c218c782f0b7044a8599 | 13,444 | py | Python | accera/python/samples/MatrixMultiplication.py | lisaong/Accera | 56967249356ab2fefd80baebf5ac259e958a7dbd | [
"MIT"
] | null | null | null | accera/python/samples/MatrixMultiplication.py | lisaong/Accera | 56967249356ab2fefd80baebf5ac259e958a7dbd | [
"MIT"
] | null | null | null | accera/python/samples/MatrixMultiplication.py | lisaong/Accera | 56967249356ab2fefd80baebf5ac259e958a7dbd | [
"MIT"
] | null | null | null | ####################################################################################################
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See LICENSE in the project root for license information.
####################################################################... | 34.560411 | 104 | 0.64698 | 1,964 | 13,444 | 4.14053 | 0.106925 | 0.033448 | 0.021028 | 0.035047 | 0.771889 | 0.737826 | 0.717659 | 0.704009 | 0.700074 | 0.700074 | 0 | 0.017709 | 0.23557 | 13,444 | 388 | 105 | 34.649485 | 0.773572 | 0.105995 | 0 | 0.711744 | 0 | 0 | 0.02804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046263 | false | 0 | 0.007117 | 0 | 0.113879 | 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 |
8db2fa16564d76415ef446a113902b5c0f2d8432 | 107 | py | Python | tests/test_torrent_name_analyzer.py | opacam/torrent-name-analyzer | 3d6a8c05577925c4d8017a8151f725d9752771d7 | [
"MIT"
] | 1 | 2020-07-08T14:01:36.000Z | 2020-07-08T14:01:36.000Z | tests/test_torrent_name_analyzer.py | opacam/torrent-name-analyzer | 3d6a8c05577925c4d8017a8151f725d9752771d7 | [
"MIT"
] | null | null | null | tests/test_torrent_name_analyzer.py | opacam/torrent-name-analyzer | 3d6a8c05577925c4d8017a8151f725d9752771d7 | [
"MIT"
] | null | null | null | from torrent_name_analyzer import __version__
def test_version():
assert __version__ == '2020.05.19'
| 17.833333 | 45 | 0.766355 | 14 | 107 | 5.071429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0.149533 | 107 | 5 | 46 | 21.4 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8df0420ac4a10736c52818b382ddd67078e77d76 | 28 | py | Python | NSI/__init__.py | yzerlaut/Waking_State_Index | 728fcbd5ab2047db591223d3231fdea2427a7fb4 | [
"MIT"
] | null | null | null | NSI/__init__.py | yzerlaut/Waking_State_Index | 728fcbd5ab2047db591223d3231fdea2427a7fb4 | [
"MIT"
] | null | null | null | NSI/__init__.py | yzerlaut/Waking_State_Index | 728fcbd5ab2047db591223d3231fdea2427a7fb4 | [
"MIT"
] | null | null | null | from . import IO, functions
| 14 | 27 | 0.75 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8df6fc301eaaa225fd92b3186a943f0efd34d18b | 45 | py | Python | examples/pytorch/swin/Swin-Transformer-Quantization/__init__.py | hieuhoang/FasterTransformer | 440695ccac874574b1d2e1121788e8fa674b4381 | [
"Apache-2.0"
] | null | null | null | examples/pytorch/swin/Swin-Transformer-Quantization/__init__.py | hieuhoang/FasterTransformer | 440695ccac874574b1d2e1121788e8fa674b4381 | [
"Apache-2.0"
] | null | null | null | examples/pytorch/swin/Swin-Transformer-Quantization/__init__.py | hieuhoang/FasterTransformer | 440695ccac874574b1d2e1121788e8fa674b4381 | [
"Apache-2.0"
] | null | null | null | from SwinTransformer.config import get_config | 45 | 45 | 0.911111 | 6 | 45 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 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 |
309a4d3cf7a8cc63708a4089d74722e77fb3e56e | 179 | py | Python | src/HABApp/openhab/definitions/rest/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 44 | 2018-12-13T08:46:44.000Z | 2022-03-07T03:23:21.000Z | src/HABApp/openhab/definitions/rest/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 156 | 2019-03-02T20:53:31.000Z | 2022-03-23T13:13:58.000Z | src/HABApp/openhab/definitions/rest/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 18 | 2019-03-08T07:13:21.000Z | 2022-03-22T19:52:31.000Z | from .items import OpenhabItemDefinition
from .things import OpenhabThingChannelDefinition, OpenhabThingDefinition
from .links import ItemChannelLinkDefinition, LinkNotFoundError
| 44.75 | 73 | 0.893855 | 14 | 179 | 11.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078212 | 179 | 3 | 74 | 59.666667 | 0.969697 | 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 |
30b069c5d004b2f2416ddca2f6a21dcedd12ba9d | 127 | py | Python | AutoSummarization/controllers/summary.py | PaulChenAU/AutomaticSummarizationBck | fa7fc5474615720d2beab934471ee4cc1cdf9bbe | [
"MIT"
] | null | null | null | AutoSummarization/controllers/summary.py | PaulChenAU/AutomaticSummarizationBck | fa7fc5474615720d2beab934471ee4cc1cdf9bbe | [
"MIT"
] | null | null | null | AutoSummarization/controllers/summary.py | PaulChenAU/AutomaticSummarizationBck | fa7fc5474615720d2beab934471ee4cc1cdf9bbe | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
# __author__=''
from AutoSummarization.models.entities import Summary
def get_summary(data):
pass
| 15.875 | 53 | 0.708661 | 15 | 127 | 5.666667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.149606 | 127 | 7 | 54 | 18.142857 | 0.777778 | 0.267717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
eb8393aac21f8eb8abdfa2a679b5f0ee808a2031 | 120 | py | Python | glue/external/echo/__init__.py | HPLegion/glue | 1843787ccb4de852dfe103ff58473da13faccf5f | [
"BSD-3-Clause"
] | 550 | 2015-01-08T13:51:06.000Z | 2022-03-31T11:54:47.000Z | glue/external/echo/__init__.py | HPLegion/glue | 1843787ccb4de852dfe103ff58473da13faccf5f | [
"BSD-3-Clause"
] | 1,362 | 2015-01-03T19:15:52.000Z | 2022-03-30T13:23:11.000Z | glue/external/echo/__init__.py | HPLegion/glue | 1843787ccb4de852dfe103ff58473da13faccf5f | [
"BSD-3-Clause"
] | 142 | 2015-01-08T13:08:00.000Z | 2022-03-18T13:25:57.000Z | import warnings
from echo import *
warnings.warn('glue.external.echo is deprecated, import from echo directly instead')
| 30 | 84 | 0.808333 | 17 | 120 | 5.705882 | 0.647059 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 120 | 3 | 85 | 40 | 0.915094 | 0 | 0 | 0 | 0 | 0 | 0.558333 | 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 |
ebcc9e73b97eeed6e8ede716ba46c2e01d44eb47 | 87 | py | Python | honeybot/hbotapi/generate.py | hailenwashere/honeybot | 95a6cd54283db1dcd4b33b9d281a7f6e1056ec09 | [
"MIT"
] | 60 | 2019-06-04T13:57:38.000Z | 2021-10-19T10:17:56.000Z | honeybot/hbotapi/generate.py | hailenwashere/honeybot | 95a6cd54283db1dcd4b33b9d281a7f6e1056ec09 | [
"MIT"
] | 70 | 2019-06-04T13:59:53.000Z | 2021-10-05T10:14:16.000Z | honeybot/hbotapi/generate.py | hailenwashere/honeybot | 95a6cd54283db1dcd4b33b9d281a7f6e1056ec09 | [
"MIT"
] | 95 | 2019-06-04T15:13:42.000Z | 2021-08-09T17:15:35.000Z | import os
import importlib.util
def gen_pluginsinfo():
print("to be redone ...")
| 12.428571 | 29 | 0.689655 | 12 | 87 | 4.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 87 | 6 | 30 | 14.5 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ebda66a678d969099c74f20c31cda1a9461596d3 | 61 | py | Python | example.py | natemara/aloft.py | be1e9a785aa0932bd7c761714977e70d2409181c | [
"MIT"
] | 3 | 2017-05-26T20:17:12.000Z | 2018-06-29T04:04:12.000Z | example.py | natemara/aloft.py | be1e9a785aa0932bd7c761714977e70d2409181c | [
"MIT"
] | null | null | null | example.py | natemara/aloft.py | be1e9a785aa0932bd7c761714977e70d2409181c | [
"MIT"
] | 2 | 2020-04-19T17:32:49.000Z | 2021-02-15T16:38:34.000Z | from aloft.api import winds_aloft
print(winds_aloft('den'))
| 15.25 | 33 | 0.786885 | 10 | 61 | 4.6 | 0.7 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 61 | 3 | 34 | 20.333333 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 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 |
ccef1345df6e027806e7225e19ab2f312324189b | 7,268 | py | Python | tests/test_smt_outcome.py | vwegmayr/entrack | ba3cb68121b8a56faf765d97baaff98bb574dc6b | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2020-03-05T15:21:42.000Z | 2020-03-05T15:21:42.000Z | tests/test_smt_outcome.py | vwegmayr/entrack | ba3cb68121b8a56faf765d97baaff98bb574dc6b | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2020-11-02T10:02:50.000Z | 2020-11-02T10:02:50.000Z | tests/test_smt_outcome.py | vwegmayr/entrack | ba3cb68121b8a56faf765d97baaff98bb574dc6b | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | import unittest
import os
import json
from modules.hooks import write_smt_txt, write_smt_num
class Test_SMT_Text_Outcome(unittest.TestCase):
@classmethod
def setUpClass(self):
self.outcome_path = "tests/sumatra_outcome.json"
def tearDown(self):
if os.path.exists(self.outcome_path):
... | 41.531429 | 84 | 0.61186 | 876 | 7,268 | 4.813927 | 0.083333 | 0.109557 | 0.113825 | 0.123785 | 0.875504 | 0.846099 | 0.820251 | 0.785392 | 0.779464 | 0.779464 | 0 | 0.013797 | 0.252064 | 7,268 | 175 | 85 | 41.531429 | 0.761957 | 0 | 0 | 0.664234 | 0 | 0 | 0.143486 | 0.007154 | 0 | 0 | 0 | 0 | 0.262774 | 1 | 0.145985 | false | 0 | 0.029197 | 0 | 0.189781 | 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 |
15d790e574a30d0df2fdc6ca650b919051c1e2c0 | 38 | py | Python | p1/analyzer/__init__.py | gbuenoandrade/MC855-2S2017-GROUP4 | 6023d08140b2faee56c67731244ac4352b8c2ed7 | [
"MIT"
] | null | null | null | p1/analyzer/__init__.py | gbuenoandrade/MC855-2S2017-GROUP4 | 6023d08140b2faee56c67731244ac4352b8c2ed7 | [
"MIT"
] | null | null | null | p1/analyzer/__init__.py | gbuenoandrade/MC855-2S2017-GROUP4 | 6023d08140b2faee56c67731244ac4352b8c2ed7 | [
"MIT"
] | null | null | null | from analyzer.analyzer import Analyzer | 38 | 38 | 0.894737 | 5 | 38 | 6.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 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 |
c60a4a0163c41220efef8d3b5f0257a086837c0d | 288 | py | Python | misago/core/threadstore.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | 1 | 2017-07-25T03:04:36.000Z | 2017-07-25T03:04:36.000Z | misago/core/threadstore.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | null | null | null | misago/core/threadstore.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | null | null | null | from threading import local
_thread_local = local()
def get(key, default=None):
return _thread_local.__dict__.get(key, default)
def set(key, value):
_thread_local.__dict__[key] = value
return _thread_local.__dict__[key]
def clear():
_thread_local.__dict__.clear()
| 16 | 51 | 0.725694 | 39 | 288 | 4.692308 | 0.384615 | 0.300546 | 0.327869 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 288 | 17 | 52 | 16.941176 | 0.7625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 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 |
c611839dc06ebd27d45f57f265f058175e51d76e | 194 | py | Python | freenit/project/project/models/role.py | mekanix/freenit-backend | edacd70490c763ea5ed787b2e57f0ba4fba0d56b | [
"BSD-2-Clause"
] | null | null | null | freenit/project/project/models/role.py | mekanix/freenit-backend | edacd70490c763ea5ed787b2e57f0ba4fba0d56b | [
"BSD-2-Clause"
] | null | null | null | freenit/project/project/models/role.py | mekanix/freenit-backend | edacd70490c763ea5ed787b2e57f0ba4fba0d56b | [
"BSD-2-Clause"
] | 1 | 2019-11-18T16:15:43.000Z | 2019-11-18T16:15:43.000Z | from freenit.models.TYPE.role import Role as BaseRole
from freenit.models.TYPE.role import UserRoles as BaseUserRoles
class Role(BaseRole):
pass
class UserRoles(BaseUserRoles):
pass
| 17.636364 | 63 | 0.783505 | 26 | 194 | 5.846154 | 0.461538 | 0.144737 | 0.223684 | 0.276316 | 0.407895 | 0.407895 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 194 | 10 | 64 | 19.4 | 0.926829 | 0 | 0 | 0.333333 | 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 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
d68deaccf931c7714f62428c712df4bda603c425 | 341 | py | Python | pystibmivb/__init__.py | helldog136/pystibmivb | 1e8bea727b1d324a154cbf79849f6ea5bce68b61 | [
"CC-BY-4.0"
] | 3 | 2020-05-28T07:18:54.000Z | 2021-03-03T17:14:23.000Z | pystibmivb/__init__.py | helldog136/pystibmivb | 1e8bea727b1d324a154cbf79849f6ea5bce68b61 | [
"CC-BY-4.0"
] | 11 | 2020-05-28T11:45:04.000Z | 2020-06-17T06:14:20.000Z | pystibmivb/__init__.py | helldog136/pystibmivb | 1e8bea727b1d324a154cbf79849f6ea5bce68b61 | [
"CC-BY-4.0"
] | 1 | 2020-06-02T21:10:27.000Z | 2020-06-02T21:10:27.000Z | """Initialize the package."""
from pystibmivb.client import AbstractSTIBAPIClient, STIBAPIClient, STIBAPIAuthClient
from pystibmivb.service import STIBService, InvalidLineFilterException, NoScheduleFromAPIException, STIBStop
from pystibmivb.service import ShapefileService, InvalidStopNameException
from .domain import *... | 48.714286 | 108 | 0.856305 | 29 | 341 | 10.068966 | 0.655172 | 0.143836 | 0.143836 | 0.184932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082111 | 341 | 7 | 109 | 48.714286 | 0.932907 | 0.067449 | 0 | 0 | 0 | 0 | 0.031949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6c185383c3c6221f67a12d0c2acd96e516f47ae | 75 | py | Python | TransForm_Kit/Quantization/models/__init__.py | Abraham-Xu/TF2 | a5bc18acb7743dc5b6e85cfbefa8b88c3785ce78 | [
"Apache-2.0"
] | 144 | 2019-08-28T01:10:20.000Z | 2022-03-23T08:47:57.000Z | TransForm_Kit/Quantization/models/__init__.py | Abraham-Xu/TF2 | a5bc18acb7743dc5b6e85cfbefa8b88c3785ce78 | [
"Apache-2.0"
] | 19 | 2019-09-10T01:46:34.000Z | 2021-12-02T09:05:14.000Z | TransForm_Kit/Quantization/debug/models/__init__.py | TF2-Engine/TF2 | 1a3ce4c63675a30156bfcf3a1b9682154ef13183 | [
"Apache-2.0"
] | 63 | 2019-08-28T08:28:50.000Z | 2022-01-19T01:44:30.000Z | from .GoogLeNet import *
from .SSD import *
from .SSD.SSD import build_ssd
| 18.75 | 30 | 0.76 | 12 | 75 | 4.666667 | 0.416667 | 0.357143 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 31 | 25 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d6e5e146e3e6a681720a72d8fc7371bdc1eb0b10 | 2,597 | py | Python | homie/mocks/mqtt.py | fermuch/microhomie | f318a94b149e95195ae206f016bbfe37b5b8cbe2 | [
"MIT"
] | null | null | null | homie/mocks/mqtt.py | fermuch/microhomie | f318a94b149e95195ae206f016bbfe37b5b8cbe2 | [
"MIT"
] | null | null | null | homie/mocks/mqtt.py | fermuch/microhomie | f318a94b149e95195ae206f016bbfe37b5b8cbe2 | [
"MIT"
] | null | null | null | import sys
import network
# only native python (not esp32-loba) can reach this code.
# Micropython doesn't have typing module.
if sys.implementation.name not in ('micropython'):
from typing import Optional, Callable, Tuple
class Mqtt:
def __init__(
self,
name: str,
server: str,
user: Optional[str] ... | 31.670732 | 86 | 0.627647 | 346 | 2,597 | 4.630058 | 0.228324 | 0.061174 | 0.134831 | 0.157303 | 0.734707 | 0.734707 | 0.72784 | 0.709114 | 0.709114 | 0.709114 | 0 | 0.016823 | 0.221794 | 2,597 | 82 | 87 | 31.670732 | 0.775854 | 0.036966 | 0 | 0.685714 | 0 | 0 | 0.016407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128571 | false | 0.157143 | 0.042857 | 0 | 0.185714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ba502984813c49ecee586b44a1a5e8fcbf9ab0aa | 157 | py | Python | deep_patient_cohorts/__init__.py | Semantic-Health/deep-patient-cohorts | e0f49bd5434bd22a81c09272e727b59e09154a22 | [
"MIT"
] | 2 | 2021-03-31T04:54:01.000Z | 2021-09-30T22:00:13.000Z | deep_patient_cohorts/__init__.py | Semantic-Health/deep-patient-cohorts | e0f49bd5434bd22a81c09272e727b59e09154a22 | [
"MIT"
] | 64 | 2020-09-08T21:56:28.000Z | 2022-03-24T23:11:39.000Z | deep_patient_cohorts/__init__.py | Semantic-Health/deep-patient-cohorts | e0f49bd5434bd22a81c09272e727b59e09154a22 | [
"MIT"
] | 3 | 2020-09-12T01:23:46.000Z | 2022-03-03T06:05:35.000Z | __version__ = "0.1.0"
from deep_patient_cohorts.common.utils import ABSTAIN, NEGATIVE, POSITIVE
from deep_patient_cohorts.noisy_labeler import NoisyLabeler
| 31.4 | 73 | 0.847134 | 22 | 157 | 5.636364 | 0.727273 | 0.129032 | 0.241935 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020979 | 0.089172 | 157 | 4 | 74 | 39.25 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.031847 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba6edd8ea759fb19ebd54a1583d820f17250064a | 54,018 | py | Python | stage/test_gcp_stages.py | anubandhan/datacollector-tests | 301c024c66d68353735256b262b681dd05ba16cc | [
"Apache-2.0"
] | null | null | null | stage/test_gcp_stages.py | anubandhan/datacollector-tests | 301c024c66d68353735256b262b681dd05ba16cc | [
"Apache-2.0"
] | 1 | 2019-04-24T11:06:38.000Z | 2019-04-24T11:06:38.000Z | stage/test_gcp_stages.py | anubandhan/datacollector-tests | 301c024c66d68353735256b262b681dd05ba16cc | [
"Apache-2.0"
] | 2 | 2019-05-24T06:34:37.000Z | 2020-03-30T11:48:18.000Z | # Copyright 2017 StreamSets Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | 47.218531 | 120 | 0.656485 | 6,720 | 54,018 | 5.020833 | 0.085714 | 0.036011 | 0.016894 | 0.025341 | 0.799585 | 0.779105 | 0.764938 | 0.739301 | 0.721014 | 0.692916 | 0 | 0.054396 | 0.244474 | 54,018 | 1,143 | 121 | 47.259843 | 0.772322 | 0.126995 | 0 | 0.703356 | 0 | 0.002685 | 0.173744 | 0.026397 | 0 | 0 | 0 | 0 | 0.038926 | 1 | 0.022819 | false | 0 | 0.016107 | 0 | 0.038926 | 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 |
ba87876163435c85897e9d07e7e9b23378b2f5a4 | 21 | py | Python | dis_snek/api/__init__.py | Astrea49/dis_snek | c899a6f1caa3c2a45323dbe50ed8ed62676be9d6 | [
"MIT"
] | 64 | 2021-10-12T15:31:36.000Z | 2022-03-29T18:25:47.000Z | dis_snek/api/__init__.py | Astrea49/dis_snek | c899a6f1caa3c2a45323dbe50ed8ed62676be9d6 | [
"MIT"
] | 166 | 2021-10-10T16:27:52.000Z | 2022-03-30T09:04:54.000Z | dis_snek/api/__init__.py | Astrea49/dis_snek | c899a6f1caa3c2a45323dbe50ed8ed62676be9d6 | [
"MIT"
] | 34 | 2021-10-10T13:26:41.000Z | 2022-03-23T13:59:35.000Z | from . import events
| 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 |
24549b3d3ffc311983a1822b07809161570fbc24 | 70 | py | Python | starter_code/api_keys.py | ArazOha/Python-API_Challenge | 9ffbfefad0dbd7f33fb6e5e40ce73cccb90d4812 | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | ArazOha/Python-API_Challenge | 9ffbfefad0dbd7f33fb6e5e40ce73cccb90d4812 | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | ArazOha/Python-API_Challenge | 9ffbfefad0dbd7f33fb6e5e40ce73cccb90d4812 | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
api_key = "190be5452c571dbedf41d9fed281cedd"
| 23.333333 | 44 | 0.842857 | 6 | 70 | 9.666667 | 0.666667 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253968 | 0.1 | 70 | 2 | 45 | 35 | 0.666667 | 0.314286 | 0 | 0 | 0 | 0 | 0.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
79ec0c9d8de75acf36b2582edf48ad2295fe174e | 42 | py | Python | TransE/config/__init__.py | sorokine/NeuralTripleTranslation | 9a58a8981ac6ca196668a88e46515951f1a7e5de | [
"Apache-2.0"
] | 47 | 2018-07-06T01:00:37.000Z | 2021-12-05T08:05:35.000Z | TransE/config/__init__.py | sorokine/NeuralTripleTranslation | 9a58a8981ac6ca196668a88e46515951f1a7e5de | [
"Apache-2.0"
] | 6 | 2018-10-29T09:35:58.000Z | 2022-01-02T14:06:59.000Z | TransE/config/__init__.py | sorokine/NeuralTripleTranslation | 9a58a8981ac6ca196668a88e46515951f1a7e5de | [
"Apache-2.0"
] | 14 | 2018-07-08T06:13:08.000Z | 2021-06-18T06:21:56.000Z | from . import Config
from Config import *
| 14 | 20 | 0.761905 | 6 | 42 | 5.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 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 |
79f611629f79b04e2e3d542927541938931bc174 | 17,373 | py | Python | data/data_loader_dad.py | AdamLohSg/GTA | bf6a745a6e28e365466e76360a15ca10ce61e009 | [
"Apache-2.0"
] | null | null | null | data/data_loader_dad.py | AdamLohSg/GTA | bf6a745a6e28e365466e76360a15ca10ce61e009 | [
"Apache-2.0"
] | null | null | null | data/data_loader_dad.py | AdamLohSg/GTA | bf6a745a6e28e365466e76360a15ca10ce61e009 | [
"Apache-2.0"
] | null | null | null | import os
import pickle
import numpy as np
import pandas as pd
import torch
from torch.utils.data import Dataset, DataLoader
from sklearn.preprocessing import StandardScaler, MinMaxScaler
from utils.timefeatures import time_features
import warnings
warnings.filterwarnings('ignore')
class Dataset_ETT_hour(Dataset)... | 36.19375 | 127 | 0.553042 | 2,338 | 17,373 | 3.845595 | 0.085971 | 0.049049 | 0.02002 | 0.034034 | 0.786342 | 0.751752 | 0.734067 | 0.720721 | 0.702814 | 0.696919 | 0 | 0.023069 | 0.326311 | 17,373 | 480 | 128 | 36.19375 | 0.74513 | 0.046682 | 0 | 0.737127 | 0 | 0 | 0.056054 | 0.010787 | 0 | 0 | 0 | 0 | 0.01355 | 1 | 0.051491 | false | 0 | 0.02439 | 0.01355 | 0.130081 | 0.00813 | 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 |
79fe4f082f325c68521a966c8a350bc04bf4e1e5 | 31 | py | Python | uwuizer/__init__.py | Philinphiladelphia/uwu | 531843b8663d3342ccaf0089bfe8734d95fdecb9 | [
"MIT"
] | null | null | null | uwuizer/__init__.py | Philinphiladelphia/uwu | 531843b8663d3342ccaf0089bfe8734d95fdecb9 | [
"MIT"
] | null | null | null | uwuizer/__init__.py | Philinphiladelphia/uwu | 531843b8663d3342ccaf0089bfe8734d95fdecb9 | [
"MIT"
] | null | null | null | from uwuizer.main import owoize | 31 | 31 | 0.870968 | 5 | 31 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
031430379692b96bcdeec4f4add4efc73c7e2bf7 | 42 | py | Python | boltzmann/training/__init__.py | maccallumlab/BoltzmannGenerator | f6aba2e3602891c2acae92a894716ab9da7fb654 | [
"MIT"
] | 9 | 2019-10-02T03:37:49.000Z | 2021-04-23T09:18:36.000Z | boltzmann/training/__init__.py | maccallumlab/BoltzmannGenerator | f6aba2e3602891c2acae92a894716ab9da7fb654 | [
"MIT"
] | null | null | null | boltzmann/training/__init__.py | maccallumlab/BoltzmannGenerator | f6aba2e3602891c2acae92a894716ab9da7fb654 | [
"MIT"
] | 4 | 2019-10-23T16:30:54.000Z | 2020-07-24T20:03:10.000Z | from .particlefilter import ParticleFilter | 42 | 42 | 0.904762 | 4 | 42 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
036a6a17f0787f59c458c6996bc9952cca02a1d4 | 79 | py | Python | solvers/common/less_than_op.py | andrinmeier/solvers | 01c5ba29d6c880a9c22cb897ad0e7e006ab1816b | [
"MIT"
] | null | null | null | solvers/common/less_than_op.py | andrinmeier/solvers | 01c5ba29d6c880a9c22cb897ad0e7e006ab1816b | [
"MIT"
] | 1 | 2022-03-31T14:10:33.000Z | 2022-03-31T20:11:51.000Z | solvers/common/less_than_op.py | andrinmeier/solvers | 01c5ba29d6c880a9c22cb897ad0e7e006ab1816b | [
"MIT"
] | null | null | null | class LessThanOp:
def eval(self, left, right):
return left < right
| 19.75 | 32 | 0.632911 | 10 | 79 | 5 | 0.8 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278481 | 79 | 3 | 33 | 26.333333 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
300ffc340a9c97848bc0a4be9147dbbc896c25e5 | 89 | py | Python | convnet3d/callbacks/__init__.py | yecharlie/convnet3d | 0b2771eec149b196ef59b58d09eef71c9b201d40 | [
"MIT"
] | 6 | 2020-03-12T10:28:41.000Z | 2021-11-18T16:17:20.000Z | convnet3d/callbacks/__init__.py | yecharlie/convnet3d | 0b2771eec149b196ef59b58d09eef71c9b201d40 | [
"MIT"
] | null | null | null | convnet3d/callbacks/__init__.py | yecharlie/convnet3d | 0b2771eec149b196ef59b58d09eef71c9b201d40 | [
"MIT"
] | 1 | 2019-08-01T02:50:05.000Z | 2019-08-01T02:50:05.000Z | from .common import RedirectModel # noqa: F401
from .eval import Evaluate # noqa: F401
| 29.666667 | 47 | 0.752809 | 12 | 89 | 5.583333 | 0.666667 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 0.179775 | 89 | 2 | 48 | 44.5 | 0.835616 | 0.235955 | 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 |
302d136695065c5b9afe54219caa8c711d4af846 | 36 | py | Python | Taekwon/Python/baseGrammar/codeup024.py | sonnysorry/codingtest | 478e0168e3209eb97b6b16910027bf12ccc3ccd0 | [
"MIT"
] | 2 | 2021-09-27T19:10:36.000Z | 2021-11-09T05:40:39.000Z | Taekwon/Python/baseGrammar/codeup024.py | sonnysorry/codingtest | 478e0168e3209eb97b6b16910027bf12ccc3ccd0 | [
"MIT"
] | 1 | 2021-11-15T14:56:54.000Z | 2021-11-15T14:56:54.000Z | Taekwon/Python/baseGrammar/codeup024.py | sonnysorry/codingtest | 478e0168e3209eb97b6b16910027bf12ccc3ccd0 | [
"MIT"
] | null | null | null | a, b = input().split()
print(a + b)
| 12 | 22 | 0.527778 | 7 | 36 | 2.714286 | 0.714286 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 36 | 2 | 23 | 18 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3044e88d8599bf8ef7c9cdfc731d3d1efab25e63 | 158 | py | Python | fasttext/__init__.py | Chenweihua405/fastText.py | 2e21e38ca1ebcbb658e884c68206ed6f2182a666 | [
"BSD-3-Clause"
] | 101 | 2016-08-08T07:18:57.000Z | 2021-11-02T05:55:15.000Z | fasttext/__init__.py | Chenweihua405/fastText.py | 2e21e38ca1ebcbb658e884c68206ed6f2182a666 | [
"BSD-3-Clause"
] | 1 | 2016-08-11T19:14:23.000Z | 2016-08-11T21:41:14.000Z | fasttext/__init__.py | Chenweihua405/fastText.py | 2e21e38ca1ebcbb658e884c68206ed6f2182a666 | [
"BSD-3-Clause"
] | 13 | 2016-08-10T21:55:28.000Z | 2021-11-09T10:37:54.000Z | from .fasttext import skipgram
from .fasttext import cbow
from .fasttext import load_model
from .fasttext import supervised
import os
__VERSION__ = '0.8.3'
| 17.555556 | 32 | 0.797468 | 23 | 158 | 5.26087 | 0.565217 | 0.396694 | 0.595041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.14557 | 158 | 8 | 33 | 19.75 | 0.874074 | 0 | 0 | 0 | 0 | 0 | 0.031646 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
06232d7881b6ee0569e27c4c274ee8bcfe5a6ffa | 39 | py | Python | visitor/tests/__init__.py | realmbit/django-visitor | c93fab7ff109eaa1b4d4de5371b02c549b5226fe | [
"BSD-3-Clause"
] | null | null | null | visitor/tests/__init__.py | realmbit/django-visitor | c93fab7ff109eaa1b4d4de5371b02c549b5226fe | [
"BSD-3-Clause"
] | null | null | null | visitor/tests/__init__.py | realmbit/django-visitor | c93fab7ff109eaa1b4d4de5371b02c549b5226fe | [
"BSD-3-Clause"
] | 1 | 2018-08-16T06:46:45.000Z | 2018-08-16T06:46:45.000Z | from visitor.tests.test_models import * | 39 | 39 | 0.846154 | 6 | 39 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0626af8510b67b8c2c74799e778b33f02bd1c85d | 23 | py | Python | python/sketch/__init__.py | kodingkoning/sketch | 2126d5adf850e9a956e80aecf49071bcb9f050f9 | [
"MIT"
] | 1 | 2020-10-30T14:58:29.000Z | 2020-10-30T14:58:29.000Z | python/sketch/__init__.py | kodingkoning/sketch | 2126d5adf850e9a956e80aecf49071bcb9f050f9 | [
"MIT"
] | null | null | null | python/sketch/__init__.py | kodingkoning/sketch | 2126d5adf850e9a956e80aecf49071bcb9f050f9 | [
"MIT"
] | null | null | null | import hll
import bbmh
| 7.666667 | 11 | 0.826087 | 4 | 23 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 2 | 12 | 11.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
06751051fa67a471016b96503025f50b84e9ec88 | 2,001 | py | Python | tests/test_unit_transport_database.py | IBM/python-itoolk | 36054a7ebdd8f5556c548d4c315e00e3c8d04904 | [
"MIT"
] | 11 | 2019-01-09T12:31:04.000Z | 2021-08-29T05:26:35.000Z | tests/test_unit_transport_database.py | IBM/python-itoolk | 36054a7ebdd8f5556c548d4c315e00e3c8d04904 | [
"MIT"
] | 50 | 2018-12-21T18:52:25.000Z | 2021-05-25T13:38:15.000Z | tests/test_unit_transport_database.py | IBM/python-itoolk | 36054a7ebdd8f5556c548d4c315e00e3c8d04904 | [
"MIT"
] | 9 | 2018-12-25T00:02:19.000Z | 2022-02-22T00:58:13.000Z | import pytest
from itoolkit import iToolKit, TransportClosedException
from itoolkit.transport import DatabaseTransport
def test_database_transport_callproc(database_callproc):
transport = DatabaseTransport(database_callproc)
tk = iToolKit()
out = transport.call(tk)
assert isinstance(out, (bytes, str)... | 27.040541 | 70 | 0.743628 | 230 | 2,001 | 6.165217 | 0.147826 | 0.116361 | 0.090268 | 0.084626 | 0.77292 | 0.744711 | 0.724965 | 0.724965 | 0.724965 | 0.724965 | 0 | 0.004776 | 0.162919 | 2,001 | 73 | 71 | 27.410959 | 0.841791 | 0 | 0 | 0.708333 | 0 | 0 | 0.011994 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.104167 | false | 0 | 0.0625 | 0 | 0.166667 | 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 |
06b17bc26e52c98ea0e7595ef65bcc2ffbffbadb | 32,965 | py | Python | apps/fifth_edition/tests/test_combat_info_view_get.py | tylerfrenchx13/django-dnd | b0c78c51aebeed4195fd91a3e55c313c645f9c3b | [
"MIT"
] | 4 | 2019-01-30T03:39:06.000Z | 2022-02-22T08:11:53.000Z | apps/fifth_edition/tests/test_combat_info_view_get.py | tylerfrenchx13/django-dnd | b0c78c51aebeed4195fd91a3e55c313c645f9c3b | [
"MIT"
] | 13 | 2019-05-10T04:22:14.000Z | 2020-04-06T02:54:32.000Z | apps/fifth_edition/tests/test_combat_info_view_get.py | tylerfrenchx13/django-dnd | b0c78c51aebeed4195fd91a3e55c313c645f9c3b | [
"MIT"
] | 3 | 2019-02-06T19:26:43.000Z | 2021-03-18T23:48:41.000Z | from apps.fifth_edition.models import CombatInfo
from django.test import TestCase
from rest_framework.test import APIClient
from random import randint
class TestCombatInfoViewGET(TestCase):
"""
Test class to verify functionality of the CombatInfoViewGET API view.
"""
def setUp(self):
"""
... | 33.603466 | 108 | 0.656484 | 4,040 | 32,965 | 5.082921 | 0.031436 | 0.053567 | 0.034819 | 0.045532 | 0.950329 | 0.944534 | 0.929584 | 0.922523 | 0.922523 | 0.918773 | 0 | 0.01486 | 0.246747 | 32,965 | 981 | 109 | 33.603466 | 0.81213 | 0.208464 | 0 | 0.55335 | 0 | 0 | 0.127433 | 0.084584 | 0 | 0 | 0 | 0 | 0.297767 | 1 | 0.141439 | false | 0.002481 | 0.009926 | 0 | 0.153846 | 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 |
ebf4c9bbac6bd2176a1c90d28a654b8c736ef75d | 43,621 | py | Python | functionTerms/hydrogenBondTerms.py | XingchengLin/openawsem | a9f155d72e359b76d350e6d4c2ee476410ebe4c6 | [
"MIT"
] | 15 | 2019-11-01T21:43:43.000Z | 2022-01-05T15:53:15.000Z | functionTerms/hydrogenBondTerms.py | XingchengLin/openawsem | a9f155d72e359b76d350e6d4c2ee476410ebe4c6 | [
"MIT"
] | 10 | 2019-02-06T17:07:45.000Z | 2021-10-19T02:20:41.000Z | functionTerms/hydrogenBondTerms.py | XingchengLin/openawsem | a9f155d72e359b76d350e6d4c2ee476410ebe4c6 | [
"MIT"
] | 8 | 2018-12-30T18:01:47.000Z | 2021-05-27T21:07:17.000Z | from simtk.openmm.app import *
from simtk.openmm import *
from simtk.unit import *
import numpy as np
se_map_1_letter = {'A': 0, 'P': 1, 'K': 2, 'N': 3, 'R': 4,
'F': 5, 'D': 6, 'Q': 7, 'E': 8, 'G': 9,
'I': 10, 'H': 11, 'L': 12, 'C': 13, 'M': 14,
'S': 15,... | 42.640274 | 394 | 0.586048 | 7,517 | 43,621 | 3.182254 | 0.048557 | 0.006271 | 0.016095 | 0.013795 | 0.86585 | 0.836754 | 0.807491 | 0.788429 | 0.771958 | 0.735337 | 0 | 0.065908 | 0.244859 | 43,621 | 1,022 | 395 | 42.681996 | 0.660291 | 0.331927 | 0 | 0.571713 | 0 | 0.045817 | 0.090388 | 0.068101 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049801 | false | 0.001992 | 0.007968 | 0.001992 | 0.125498 | 0.023904 | 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 |
231bbb886d5c4ee6267c7ef6df918799ab2d4fe2 | 38,217 | py | Python | qcfoptions/bsoptions.py | austingriffith94/qcfoptions | 163bd16af0bbbb84dc20f25fb95680431c1dfe2c | [
"MIT"
] | null | null | null | qcfoptions/bsoptions.py | austingriffith94/qcfoptions | 163bd16af0bbbb84dc20f25fb95680431c1dfe2c | [
"MIT"
] | 1 | 2020-05-17T13:45:02.000Z | 2020-05-17T13:45:02.000Z | qcfoptions/bsoptions.py | austingriffith94/qcfoptions | 163bd16af0bbbb84dc20f25fb95680431c1dfe2c | [
"MIT"
] | 1 | 2020-04-28T15:26:11.000Z | 2020-04-28T15:26:11.000Z | '''
Austin Griffith
bsoptions.py
Provides an analytical solution to options via the Black Scholes methodology.
'''
import numpy as np
from scipy.stats import norm
class EuroOptions:
'''
The Black Scholes value of a European Call / Put option
Payoffs are of the form :
C = max... | 37.541257 | 146 | 0.552712 | 5,373 | 38,217 | 3.905081 | 0.068118 | 0.021924 | 0.039462 | 0.03646 | 0.814126 | 0.786531 | 0.753265 | 0.736012 | 0.714279 | 0.692641 | 0 | 0.019966 | 0.351283 | 38,217 | 1,018 | 147 | 37.541257 | 0.826355 | 0.526101 | 0 | 0.449511 | 0 | 0 | 0.004755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153094 | false | 0 | 0.006515 | 0 | 0.169381 | 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 |
88ba8f9efb62a36756ea40ec7449e94a8d5e0020 | 155 | py | Python | utils/dummy_adapter.py | Atihinen/serial2sqlite | df8bbe422453d9c84d9f8cde1c424baa53d778c7 | [
"MIT"
] | null | null | null | utils/dummy_adapter.py | Atihinen/serial2sqlite | df8bbe422453d9c84d9f8cde1c424baa53d778c7 | [
"MIT"
] | null | null | null | utils/dummy_adapter.py | Atihinen/serial2sqlite | df8bbe422453d9c84d9f8cde1c424baa53d778c7 | [
"MIT"
] | null | null | null | from random import randint
class DummyAdapter(object):
def __init__(self, *args):
pass
def read_int(self):
return randint(0, 100) | 19.375 | 30 | 0.651613 | 20 | 155 | 4.8 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.258065 | 155 | 8 | 31 | 19.375 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 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 |
00178b738cd8a48248caefce2afbf3b61b27cc96 | 1,539 | py | Python | src/ethereum_test/decorators.py | lightclient/test-filler | f8b8e38c62a7682c9e08ee83cecf71d2b10fc5fc | [
"MIT"
] | null | null | null | src/ethereum_test/decorators.py | lightclient/test-filler | f8b8e38c62a7682c9e08ee83cecf71d2b10fc5fc | [
"MIT"
] | 1 | 2021-11-27T06:07:47.000Z | 2021-11-27T06:07:47.000Z | src/ethereum_test/decorators.py | lightclient/test-filler | f8b8e38c62a7682c9e08ee83cecf71d2b10fc5fc | [
"MIT"
] | null | null | null | """
Decorators for expanding filler definitions.
"""
from typing import Any, Callable, Mapping, cast
from .fill import fill_state_test
from .fork import forks_from
from .state_test import StateTest
from .types import Fixture
def test_from(
fork: str,
) -> Callable[
[Callable[[], StateTest]], Callable[[str], ... | 24.046875 | 78 | 0.608187 | 174 | 1,539 | 5.201149 | 0.247126 | 0.066298 | 0.112707 | 0.123757 | 0.744751 | 0.744751 | 0.744751 | 0.744751 | 0.744751 | 0.744751 | 0 | 0 | 0.263158 | 1,539 | 63 | 79 | 24.428571 | 0.79806 | 0.139701 | 0 | 0.717949 | 0 | 0 | 0.020344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.128205 | 0.051282 | 0.435897 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.