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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fc5670bee8de38ef18129948187c2984649e5dae | 2,019 | py | Python | lstm_fcn.py | ShobhitLamba/LSTM-FCN | 196a999ed02496430464627fe75a9331173107a3 | [
"MIT"
] | 12 | 2018-01-30T08:41:37.000Z | 2022-03-28T13:32:00.000Z | lstm_fcn.py | ShobhitLamba/LSTM-FCN | 196a999ed02496430464627fe75a9331173107a3 | [
"MIT"
] | null | null | null | lstm_fcn.py | ShobhitLamba/LSTM-FCN | 196a999ed02496430464627fe75a9331173107a3 | [
"MIT"
] | 1 | 2019-01-22T07:54:44.000Z | 2019-01-22T07:54:44.000Z | # Implementation of LSTM + FCN block
# Author: Shobhit Lamba
# e-mail: slamba4@uic.edu
# Importing the libraries
from keras.models import Model
from keras.layers import Input, Dense, LSTM, concatenate, Activation
from keras.layers import Conv1D, BatchNormalization, GlobalAveragePooling1D, Permute, Dropout
from utils.... | 25.884615 | 93 | 0.644378 | 269 | 2,019 | 4.713755 | 0.245353 | 0.031546 | 0.080442 | 0.132492 | 0.723975 | 0.723975 | 0.723975 | 0.723975 | 0.723975 | 0.723975 | 0 | 0.033104 | 0.207033 | 2,019 | 78 | 94 | 25.884615 | 0.758901 | 0.062902 | 0 | 0.833333 | 0 | 0 | 0.064687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.083333 | 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 |
5d776ed983ad12fe7f437191b36b47d4f541b134 | 34 | py | Python | simplpy/pd_/__init__.py | frankhart2018/simplpy | a9e8781f9cc8ba9578d6ec786d58e349cba9c52a | [
"MIT"
] | 1 | 2021-02-15T11:36:47.000Z | 2021-02-15T11:36:47.000Z | simplpy/pd_/__init__.py | frankhart2018/simplpy | a9e8781f9cc8ba9578d6ec786d58e349cba9c52a | [
"MIT"
] | null | null | null | simplpy/pd_/__init__.py | frankhart2018/simplpy | a9e8781f9cc8ba9578d6ec786d58e349cba9c52a | [
"MIT"
] | null | null | null | from simplpy.pd_.pd_func import *
| 17 | 33 | 0.794118 | 6 | 34 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.833333 | 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 |
5d87d53a93f9b64c0b92b7992f085ef077c528c3 | 26 | py | Python | modules/pymol/opengl/glut/__init__.py | markdoerr/pymol-open-source | b891b59ffaea812600648aa131ea2dbecd59a199 | [
"CNRI-Python"
] | 2 | 2019-05-23T22:17:29.000Z | 2020-07-03T14:36:22.000Z | modules/pymol/opengl/glut/__init__.py | markdoerr/pymol-open-source | b891b59ffaea812600648aa131ea2dbecd59a199 | [
"CNRI-Python"
] | null | null | null | modules/pymol/opengl/glut/__init__.py | markdoerr/pymol-open-source | b891b59ffaea812600648aa131ea2dbecd59a199 | [
"CNRI-Python"
] | null | null | null | from OpenGL.GLUT import *
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5dc6531030ccabfd3d3f0e1db0f9c716754407b6 | 6,510 | py | Python | watchmen/pipeline/core/parameter/operator/not_equals.py | Insurance-Metrics-Measure-Advisory/watchman-data-connector | 8ecab0c5b28174f1611e51deba8d94a42f53d51d | [
"MIT"
] | 125 | 2021-03-13T07:39:46.000Z | 2022-02-28T03:14:17.000Z | pipeline/core/parameter/operator/not_equals.py | Indexical-Metrics-Measure-Advisory/watchmen-pipeline-engine | fb39695d2f7a1c5212a3871b04c4a8a9f03ee16e | [
"MIT"
] | null | null | null | pipeline/core/parameter/operator/not_equals.py | Indexical-Metrics-Measure-Advisory/watchmen-pipeline-engine | fb39695d2f7a1c5212a3871b04c4a8a9f03ee16e | [
"MIT"
] | 17 | 2021-03-13T07:31:58.000Z | 2021-05-20T09:38:02.000Z | import operator
from datetime import datetime, date
from decimal import Decimal
import arrow
def do_not_equals_with_value_type_check(left, right):
# None
if left is None and right is None:
return False
if left is None and isinstance(right, str):
if right == "":
return False
... | 57.610619 | 120 | 0.547773 | 759 | 6,510 | 4.690382 | 0.057971 | 0.151685 | 0.131461 | 0.10618 | 0.932022 | 0.88764 | 0.883708 | 0.854213 | 0.838483 | 0.800281 | 0 | 0.007416 | 0.337174 | 6,510 | 112 | 121 | 58.125 | 0.817613 | 0.008602 | 0 | 0.459184 | 0 | 0 | 0.184892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010204 | false | 0 | 0.040816 | 0 | 0.204082 | 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 |
f8db9feab937f6f360cb531f72c53db591f241e3 | 43 | py | Python | main.py | renogang1/glbanim | f3813cd574bdfbf48552e01df8a6269c9320a277 | [
"MIT"
] | null | null | null | main.py | renogang1/glbanim | f3813cd574bdfbf48552e01df8a6269c9320a277 | [
"MIT"
] | null | null | null | main.py | renogang1/glbanim | f3813cd574bdfbf48552e01df8a6269c9320a277 | [
"MIT"
] | null | null | null | import json
import os
import requests
| 8.6 | 16 | 0.744186 | 6 | 43 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255814 | 43 | 4 | 17 | 10.75 | 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 |
f8df27cd853f59317c2fad724a6790747bb13502 | 67 | py | Python | data/__init__.py | sourcepirate/data-style | e095e4298598b8bd6cc66acd5246d60c4fd35c5f | [
"BSD-2-Clause"
] | null | null | null | data/__init__.py | sourcepirate/data-style | e095e4298598b8bd6cc66acd5246d60c4fd35c5f | [
"BSD-2-Clause"
] | 1 | 2021-03-05T02:59:16.000Z | 2021-03-05T02:59:16.000Z | data/__init__.py | sourcepirate/data-style | e095e4298598b8bd6cc66acd5246d60c4fd35c5f | [
"BSD-2-Clause"
] | 1 | 2018-10-21T07:08:39.000Z | 2018-10-21T07:08:39.000Z | from .data import *
from .requests import *
from .fetcher import *
| 16.75 | 23 | 0.731343 | 9 | 67 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 3 | 24 | 22.333333 | 0.890909 | 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 |
5374d08f1ee2347036bd62693c5dd57f18bc604c | 4,891 | py | Python | pretrain_tree/tree.py | anonymous191116/S3ED | 250b3e39db7dfa9d2212795b6d9ea428acfa907b | [
"BSD-3-Clause"
] | null | null | null | pretrain_tree/tree.py | anonymous191116/S3ED | 250b3e39db7dfa9d2212795b6d9ea428acfa907b | [
"BSD-3-Clause"
] | null | null | null | pretrain_tree/tree.py | anonymous191116/S3ED | 250b3e39db7dfa9d2212795b6d9ea428acfa907b | [
"BSD-3-Clause"
] | null | null | null | import os
import torch
import torch.tensor
import torch.nn as nn
import torch.nn.functional as F
class VPtree(nn.Module):
def __init__(self,ENTITY_NUM,RELATION_NUM):
super(VPtree, self).__init__()
self.entity_num=ENTITY_NUM
self.relation_num = RELATION_NUM
self.entityconv... | 50.947917 | 100 | 0.626661 | 680 | 4,891 | 4.380882 | 0.126471 | 0.075193 | 0.056395 | 0.065794 | 0.808661 | 0.789527 | 0.774421 | 0.723397 | 0.723397 | 0.700235 | 0 | 0.094789 | 0.219178 | 4,891 | 96 | 101 | 50.947917 | 0.685258 | 0.530566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.128205 | 0 | 0.230769 | 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 |
53ab934635636f3867aaaacb7f45be9a6bbabdd7 | 1,179 | py | Python | tests/test_choices.py | benkrikler/valedictory | 36968f4da5bb5a6c4e85bd7f02fdc32db08e9579 | [
"MIT"
] | 1 | 2019-02-22T17:12:48.000Z | 2019-02-22T17:12:48.000Z | tests/test_choices.py | benkrikler/valedictory | 36968f4da5bb5a6c4e85bd7f02fdc32db08e9579 | [
"MIT"
] | 1 | 2019-02-22T16:40:36.000Z | 2019-02-22T16:40:36.000Z | tests/test_choices.py | benkrikler/valleydeight | 36968f4da5bb5a6c4e85bd7f02fdc32db08e9579 | [
"MIT"
] | null | null | null | import valleydeight as vd
import pytest
def test_choice_static():
choice_t = vd.Choice("one", 4, True)
assert choice_t("one") == "one"
assert choice_t(True) is True
assert choice_t(4) == 4
with pytest.raises(vd.ValidatorException):
choice_t(8)
with pytest.raises(vd.ValidatorException)... | 27.418605 | 54 | 0.653096 | 171 | 1,179 | 4.350877 | 0.181287 | 0.188172 | 0.157258 | 0.193548 | 0.711022 | 0.711022 | 0.711022 | 0.711022 | 0.711022 | 0.662634 | 0 | 0.032051 | 0.206107 | 1,179 | 42 | 55 | 28.071429 | 0.762821 | 0 | 0 | 0.575758 | 0 | 0 | 0.026293 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.090909 | false | 0 | 0.060606 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53aff671ba9f4ddfc8fdf405c231e72a41f03729 | 30,102 | py | Python | sympy/physics/control/control_plots.py | shilpiprd/sympy | 556e9c61b31d0d5f101cd56b43e843fbf3bcf121 | [
"BSD-3-Clause"
] | 8,323 | 2015-01-02T15:51:43.000Z | 2022-03-31T13:13:19.000Z | sympy/physics/control/control_plots.py | shilpiprd/sympy | 556e9c61b31d0d5f101cd56b43e843fbf3bcf121 | [
"BSD-3-Clause"
] | 15,102 | 2015-01-01T01:33:17.000Z | 2022-03-31T22:53:13.000Z | sympy/physics/control/control_plots.py | shilpiprd/sympy | 556e9c61b31d0d5f101cd56b43e843fbf3bcf121 | [
"BSD-3-Clause"
] | 4,490 | 2015-01-01T17:48:07.000Z | 2022-03-31T17:24:05.000Z | from sympy import I, log, apart, exp
from sympy.core.symbol import Dummy
from sympy.external import import_module
from sympy.functions import arg, Abs
from sympy.integrals.transforms import _fast_inverse_laplace
from sympy.physics.control.lti import SISOLinearTimeInvariant
from sympy.plotting.plot import LineOver1DRang... | 32.898361 | 112 | 0.653511 | 4,114 | 30,102 | 4.680603 | 0.092611 | 0.01506 | 0.019111 | 0.027472 | 0.803074 | 0.78173 | 0.763398 | 0.744339 | 0.720503 | 0.714375 | 0 | 0.041831 | 0.243173 | 30,102 | 914 | 113 | 32.934354 | 0.803397 | 0.633845 | 0 | 0.53913 | 0 | 0 | 0.141521 | 0.02071 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06087 | false | 0 | 0.052174 | 0 | 0.169565 | 0.004348 | 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 |
54d2b8c7202fa6cf60c7b0c8a6a5faa3b1105e55 | 121 | py | Python | litebatch/__init__.py | stepelu/litebatch | e58360460cb8dae85b271bb0ef41b925d96edf84 | [
"MIT"
] | null | null | null | litebatch/__init__.py | stepelu/litebatch | e58360460cb8dae85b271bb0ef41b925d96edf84 | [
"MIT"
] | null | null | null | litebatch/__init__.py | stepelu/litebatch | e58360460cb8dae85b271bb0ef41b925d96edf84 | [
"MIT"
] | null | null | null | from litebatch.serialization import encode, decode # noqa: F401
from litebatch.dataset import LiteDataset # noqa: F401
| 40.333333 | 64 | 0.801653 | 15 | 121 | 6.466667 | 0.666667 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0.140496 | 121 | 2 | 65 | 60.5 | 0.875 | 0.173554 | 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 |
54e23547810f1f34133a463558a353ebf306a99c | 2,128 | py | Python | tests/test_client.py | uc-cdis/dosclient | 7cd7b59af313deb0920f16fc894777fe82e2ce6f | [
"Apache-2.0"
] | null | null | null | tests/test_client.py | uc-cdis/dosclient | 7cd7b59af313deb0920f16fc894777fe82e2ce6f | [
"Apache-2.0"
] | 1 | 2018-07-24T18:55:56.000Z | 2018-07-31T17:44:12.000Z | tests/test_client.py | uc-cdis/dosclient | 7cd7b59af313deb0920f16fc894777fe82e2ce6f | [
"Apache-2.0"
] | null | null | null | import json
def test_import():
"""
Try to import the index package.
"""
import dosclient
def test_load1():
"""
Test loading a DOS Schema
"""
jsonstring = """
{"data_object": {"updated": "2018-05-26T133720.895752ZZ", "name": "NWD315403.recab.cram", "version": "2018-05-26T133720.8... | 78.814815 | 1,679 | 0.738722 | 237 | 2,128 | 6.565401 | 0.552743 | 0.046272 | 0.061697 | 0.077121 | 0.257069 | 0.158098 | 0.092545 | 0.092545 | 0.092545 | 0.092545 | 0 | 0.205656 | 0.085996 | 2,128 | 26 | 1,680 | 81.846154 | 0.594344 | 0.027256 | 0 | 0 | 0 | 0.076923 | 0.856793 | 0.620402 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.384615 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0727fb40203c07ef4f829eaa5643ef07115f5c85 | 48 | py | Python | flood/__init__.py | DandyDev/flood | db908d513aa8018a5fc6b7413fb6b4568dfbcf4f | [
"MIT"
] | 8 | 2015-03-13T23:03:18.000Z | 2020-07-02T16:36:29.000Z | flood/__init__.py | DandyDev/flood | db908d513aa8018a5fc6b7413fb6b4568dfbcf4f | [
"MIT"
] | 4 | 2016-07-31T19:45:31.000Z | 2019-10-23T00:46:10.000Z | flood/__init__.py | DandyDev/flood | db908d513aa8018a5fc6b7413fb6b4568dfbcf4f | [
"MIT"
] | 4 | 2015-06-30T23:05:22.000Z | 2016-12-03T12:18:06.000Z | from .api import PirateBayApi, KickAssTorrentApi | 48 | 48 | 0.875 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0734155d1d0137168375931e1ff646d776c80b26 | 2,164 | py | Python | epytope/Data/pssms/tepitopepan/mat/DRB1_1130_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_1130_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_1130_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | DRB1_1130_9 = {0: {'A': -999.0, 'E': -999.0, 'D': -999.0, 'G': -999.0, 'F': -0.004754, 'I': -0.99525, 'H': -999.0, 'K': -999.0, 'M': -0.99525, 'L': -0.99525, 'N': -999.0, 'Q': -999.0, 'P': -999.0, 'S': -999.0, 'R': -999.0, 'T': -999.0, 'W': -0.004754, 'V': -0.99525, 'Y': -0.004754}, 1: {'A': 0.0, 'E': 0.1, 'D': -1.3, '... | 2,164 | 2,164 | 0.392791 | 525 | 2,164 | 1.615238 | 0.201905 | 0.115566 | 0.028302 | 0.037736 | 0.226415 | 0.143868 | 0.143868 | 0.143868 | 0.134434 | 0.134434 | 0 | 0.371965 | 0.162662 | 2,164 | 1 | 2,164 | 2,164 | 0.096026 | 0 | 0 | 0 | 0 | 0 | 0.078984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0762a8e7ec849e13a8cd0a9a55d48c7a7d5fc925 | 1,407 | py | Python | test/authentication/test_social.py | rubelw/auth0_client | 51e68239babcf7c40e40491d1aaa3f8547a67f63 | [
"MIT"
] | 2 | 2020-10-08T21:42:56.000Z | 2021-03-21T08:17:52.000Z | test/authentication/test_social.py | rubelw/auth0_client | 51e68239babcf7c40e40491d1aaa3f8547a67f63 | [
"MIT"
] | null | null | null | test/authentication/test_social.py | rubelw/auth0_client | 51e68239babcf7c40e40491d1aaa3f8547a67f63 | [
"MIT"
] | null | null | null | import unittest
import mock
from auth0_client.v3.authentication.social import Social
class TestSocial(unittest.TestCase):
@mock.patch('auth0_client.v3.authentication.social.Social.post')
def test_login(self, mock_post):
s = Social('a.b.c')
s.login(client_id='cid', access_token='atk', connecti... | 31.977273 | 71 | 0.583511 | 160 | 1,407 | 4.9875 | 0.2875 | 0.082707 | 0.015038 | 0.085213 | 0.899749 | 0.858396 | 0.858396 | 0.858396 | 0.723058 | 0.723058 | 0 | 0.007678 | 0.259417 | 1,407 | 43 | 72 | 32.72093 | 0.758157 | 0 | 0 | 0.685714 | 0 | 0 | 0.28145 | 0.069652 | 0 | 0 | 0 | 0 | 0.171429 | 1 | 0.057143 | false | 0 | 0.085714 | 0 | 0.171429 | 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 |
0765c44eb7055389ec26f2d9ba7a93e86c206f32 | 29 | py | Python | bigzenodo/__init__.py | jakelever/bigzenodo | 3fa66408cd87d33d466692d588b205063735855b | [
"MIT"
] | null | null | null | bigzenodo/__init__.py | jakelever/bigzenodo | 3fa66408cd87d33d466692d588b205063735855b | [
"MIT"
] | null | null | null | bigzenodo/__init__.py | jakelever/bigzenodo | 3fa66408cd87d33d466692d588b205063735855b | [
"MIT"
] | null | null | null |
from .upload import upload
| 7.25 | 26 | 0.758621 | 4 | 29 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 3 | 27 | 9.666667 | 0.956522 | 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 |
076726a8afd3663823014743a86637de984481cb | 37 | py | Python | vector/__init__.py | AnastatiaDorval/vector | c1516414991493bdf0b90dce537faf697c75f511 | [
"MIT"
] | null | null | null | vector/__init__.py | AnastatiaDorval/vector | c1516414991493bdf0b90dce537faf697c75f511 | [
"MIT"
] | null | null | null | vector/__init__.py | AnastatiaDorval/vector | c1516414991493bdf0b90dce537faf697c75f511 | [
"MIT"
] | null | null | null | from vector.vectorclass import Vector | 37 | 37 | 0.891892 | 5 | 37 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.970588 | 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 |
4aef032d270eec4c7ec1c78954609b97dd69d7d4 | 127 | py | Python | airlock/__init__.py | torrange/airlock | a1aa55324b1ec4916cc825fa03b324d350de1051 | [
"MIT"
] | 4 | 2016-08-10T03:14:30.000Z | 2018-05-01T17:37:04.000Z | airlock/__init__.py | torrange/airlock | a1aa55324b1ec4916cc825fa03b324d350de1051 | [
"MIT"
] | 4 | 2015-03-31T15:44:50.000Z | 2018-08-14T00:31:03.000Z | airlock/__init__.py | torrange/airlock | a1aa55324b1ec4916cc825fa03b324d350de1051 | [
"MIT"
] | 5 | 2015-03-31T15:21:13.000Z | 2019-10-31T15:52:14.000Z | from .api import *
from .app import *
from .config import *
from .handlers import *
from .users import *
from .errors import *
| 18.142857 | 23 | 0.716535 | 18 | 127 | 5.055556 | 0.444444 | 0.549451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188976 | 127 | 6 | 24 | 21.166667 | 0.883495 | 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 |
4afbcd28339618f0c078d1e4e9b6edab901daf89 | 953 | py | Python | wldata/admin.py | jakariapervez/cmis6 | de279e5c586a77745ddd3d471599784606d50d15 | [
"MIT"
] | null | null | null | wldata/admin.py | jakariapervez/cmis6 | de279e5c586a77745ddd3d471599784606d50d15 | [
"MIT"
] | 7 | 2021-06-04T23:45:15.000Z | 2022-03-12T00:44:14.000Z | wldata_backup/admin.py | jakariapervez/cmis6 | de279e5c586a77745ddd3d471599784606d50d15 | [
"MIT"
] | null | null | null | from django.contrib import admin
from import_export.admin import ImportExportModelAdmin
from .models import SMS_info,DivisionNames,River,GaugeReader,GaugeLocation,GaugeReading,ReportedGauge,communicationList# Register your models here.
@admin.register(SMS_info)
class SMS_info_Admin(ImportExportModelAdmin):
pass
@ad... | 35.296296 | 147 | 0.84575 | 93 | 953 | 8.537634 | 0.247312 | 0.130982 | 0.312343 | 0.31738 | 0.549118 | 0.322418 | 0.322418 | 0 | 0 | 0 | 0 | 0 | 0.082896 | 953 | 27 | 148 | 35.296296 | 0.908467 | 0.027282 | 0 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.296296 | 0.407407 | 0 | 0.703704 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ab0dc294d9681bc6b5265cd9b1ca7921aab177f4 | 30 | py | Python | import file/forca.py | Gabriel-Fernandes1917/Alura-Python | 4c2dce25e75a74d50bf47b315c3effbcefb6731e | [
"MIT"
] | null | null | null | import file/forca.py | Gabriel-Fernandes1917/Alura-Python | 4c2dce25e75a74d50bf47b315c3effbcefb6731e | [
"MIT"
] | null | null | null | import file/forca.py | Gabriel-Fernandes1917/Alura-Python | 4c2dce25e75a74d50bf47b315c3effbcefb6731e | [
"MIT"
] | null | null | null | def play():
print("forca") | 15 | 18 | 0.566667 | 4 | 30 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 2 | 18 | 15 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ab2ae8f2b03109a679de452146f18e7217d271df | 116 | py | Python | polls/tests.py | esriis/djangoapp | e9e7efa1b0b98cb9f3d2a3b39b22d011c64af884 | [
"MIT"
] | null | null | null | polls/tests.py | esriis/djangoapp | e9e7efa1b0b98cb9f3d2a3b39b22d011c64af884 | [
"MIT"
] | null | null | null | polls/tests.py | esriis/djangoapp | e9e7efa1b0b98cb9f3d2a3b39b22d011c64af884 | [
"MIT"
] | null | null | null | import datetime
from django.test import TestCase
from django.utils import timezone
from django.urls import reverse
| 19.333333 | 33 | 0.844828 | 17 | 116 | 5.764706 | 0.588235 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12931 | 116 | 5 | 34 | 23.2 | 0.970297 | 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 |
ab3311f334bc0422ad7c802a7f81961f8ed1dc62 | 19,755 | py | Python | data.py | pranshu2hike/fewshot-egnn | dde036c9bd6a4af32a5db369f764c0b3a5038a77 | [
"MIT"
] | null | null | null | data.py | pranshu2hike/fewshot-egnn | dde036c9bd6a4af32a5db369f764c0b3a5038a77 | [
"MIT"
] | null | null | null | data.py | pranshu2hike/fewshot-egnn | dde036c9bd6a4af32a5db369f764c0b3a5038a77 | [
"MIT"
] | null | null | null | from __future__ import print_function
from torchtools import *
import torch.utils.data as data
import random
import os
import numpy as np
from PIL import Image as pil_image
import pickle
from itertools import islice
from torchvision import transforms
class MiniImagenetLoader(data.Dataset):
def __init__(self, root... | 43.322368 | 173 | 0.568059 | 2,469 | 19,755 | 4.302552 | 0.081004 | 0.012049 | 0.017886 | 0.016944 | 0.82632 | 0.803257 | 0.776993 | 0.762873 | 0.744234 | 0.724278 | 0 | 0.024957 | 0.324576 | 19,755 | 455 | 174 | 43.417582 | 0.771191 | 0.087067 | 0 | 0.650794 | 0 | 0 | 0.047699 | 0.030222 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038095 | false | 0 | 0.031746 | 0 | 0.101587 | 0.028571 | 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 |
ab3fc1449464ef1ca7c78ca010460f878cbac6a8 | 40 | py | Python | gnc/sub8_system_id/sub8_system_id/__init__.py | ericgorday/SubjuGator | f45ac790f06eb97efc0b0810a7b43d0a6e2facee | [
"MIT"
] | 27 | 2020-02-17T21:54:09.000Z | 2022-03-18T17:49:23.000Z | gnc/sub8_system_id/sub8_system_id/__init__.py | ericgorday/SubjuGator | f45ac790f06eb97efc0b0810a7b43d0a6e2facee | [
"MIT"
] | 325 | 2019-09-11T14:13:56.000Z | 2022-03-31T00:38:30.000Z | gnc/sub8_system_id/sub8_system_id/__init__.py | ericgorday/SubjuGator | f45ac790f06eb97efc0b0810a7b43d0a6e2facee | [
"MIT"
] | 24 | 2019-09-16T00:29:45.000Z | 2022-03-06T10:56:38.000Z | from dynamics import SubjuGatorDynamics
| 20 | 39 | 0.9 | 4 | 40 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 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 |
ab420aa96092320ddafae253a4cb5127ceb46d20 | 11,779 | py | Python | Tests/test_edgecase.py | Scuffed-Guard/TagScript | e0647fa6d2b830e1f875ff643793b420118512ff | [
"CC-BY-4.0"
] | 9 | 2021-03-12T19:52:15.000Z | 2022-01-23T11:50:32.000Z | Tests/test_edgecase.py | Scuffed-Guard/TagScript | e0647fa6d2b830e1f875ff643793b420118512ff | [
"CC-BY-4.0"
] | 7 | 2021-03-19T05:15:31.000Z | 2021-07-03T10:24:49.000Z | Tests/test_edgecase.py | Scuffed-Guard/TagScript | e0647fa6d2b830e1f875ff643793b420118512ff | [
"CC-BY-4.0"
] | 15 | 2021-03-08T01:17:01.000Z | 2022-03-21T09:47:42.000Z | import unittest
from TagScriptEngine import Interpreter, WorkloadExceededError, adapter, block, interface
class TestEdgeCases(unittest.TestCase):
def setUp(self):
self.blocks = [
block.MathBlock(),
block.RandomBlock(),
block.RangeBlock(),
block.AnyBlock(),
... | 73.61875 | 451 | 0.575176 | 2,226 | 11,779 | 3.160827 | 0.225966 | 0.214895 | 0.318505 | 0.419557 | 0.604036 | 0.462052 | 0.448124 | 0.441586 | 0.441586 | 0.235503 | 0 | 0.043714 | 0.168775 | 11,779 | 159 | 452 | 74.081761 | 0.647738 | 0.003481 | 0 | 0.226667 | 0 | 0.526667 | 0.885395 | 0.548057 | 0 | 0 | 0 | 0 | 0.013333 | 1 | 0.026667 | false | 0 | 0.013333 | 0 | 0.046667 | 0.006667 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab5535b9b69afa02fab345e81b718cab80df14de | 163 | py | Python | pytoolkit/evaluations/__init__.py | ak110/pytoolk | 8eef7e0add7bbc0ced1f1f1d82ed245388cc6684 | [
"MIT"
] | 26 | 2018-12-03T23:02:56.000Z | 2020-08-07T06:33:21.000Z | pytoolkit/evaluations/__init__.py | ak110/pytoolk | 8eef7e0add7bbc0ced1f1f1d82ed245388cc6684 | [
"MIT"
] | null | null | null | pytoolkit/evaluations/__init__.py | ak110/pytoolk | 8eef7e0add7bbc0ced1f1f1d82ed245388cc6684 | [
"MIT"
] | 5 | 2019-08-10T11:10:59.000Z | 2020-11-18T02:39:37.000Z | """結果の評価関連。"""
# pylint: skip-file
# flake8: noqa
from .classification import *
from .core import *
from .od import *
from .regression import *
from .ss import *
| 16.3 | 29 | 0.693252 | 21 | 163 | 5.380952 | 0.619048 | 0.353982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.171779 | 163 | 9 | 30 | 18.111111 | 0.82963 | 0.245399 | 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 |
db45c118389d5f6ba67d9ba67b6e03bebd0bad25 | 53,538 | py | Python | tests/test_creator.py | carlosp420/dataset-creator | d15e4a9b7a6bcf367fcd53c1532a812b8ed84bc9 | [
"BSD-2-Clause"
] | 1 | 2020-10-05T15:16:21.000Z | 2020-10-05T15:16:21.000Z | tests/test_creator.py | carlosp420/dataset-creator | d15e4a9b7a6bcf367fcd53c1532a812b8ed84bc9 | [
"BSD-2-Clause"
] | 9 | 2015-09-16T10:49:10.000Z | 2020-06-28T20:07:10.000Z | tests/test_creator.py | carlosp420/dataset-creator | d15e4a9b7a6bcf367fcd53c1532a812b8ed84bc9 | [
"BSD-2-Clause"
] | null | null | null | import unittest
from copy import copy
from .data import test_data
from dataset_creator.dataset import Dataset
from dataset_creator.creator import Creator
class TestCreator(unittest.TestCase):
def setUp(self):
self.maxDiff = None
self.test_data = copy(test_data)
def tearDown(self):
se... | 435.268293 | 1,311 | 0.440136 | 461 | 53,538 | 50.624729 | 0.249458 | 0.0021 | 0.011098 | 0.020096 | 0.040963 | 0.03805 | 0.03805 | 0.03805 | 0.032479 | 0.032479 | 0 | 0.007214 | 0.070436 | 53,538 | 122 | 1,312 | 438.836066 | 0.461732 | 0 | 0 | 0.091743 | 0 | 0 | 0.983376 | 0.894318 | 0 | 0 | 0 | 0 | 0.018349 | 1 | 0.036697 | false | 0 | 0.045872 | 0 | 0.091743 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db8b5dd2d0350f395d0608610f084d4388644ace | 175 | py | Python | test/src/Types/PyTuple/literal_PyTuple_0.py | milliburn/llvmPy | d6fa3002e823fae00cf33d9b2ea480604681376c | [
"MIT"
] | 1 | 2019-01-22T02:58:04.000Z | 2019-01-22T02:58:04.000Z | test/src/Types/PyTuple/literal_PyTuple_0.py | roberth-k/llvmPy | d6fa3002e823fae00cf33d9b2ea480604681376c | [
"MIT"
] | null | null | null | test/src/Types/PyTuple/literal_PyTuple_0.py | roberth-k/llvmPy | d6fa3002e823fae00cf33d9b2ea480604681376c | [
"MIT"
] | null | null | null | # RUN: test-ir.sh %s
# IR-DAG: @llvmPy_tuple0 = external constant %PyObj
# IR: define
# IR-SAME: @__body__
print(())
# IR: call %PyObj* @llvmPy_print(%PyObj* @llvmPy_tuple0)
| 21.875 | 56 | 0.68 | 26 | 175 | 4.307692 | 0.615385 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.142857 | 175 | 7 | 57 | 25 | 0.733333 | 0.874286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
db8e54bea4f038dffbb057225cc5d5a51a7a528f | 218 | py | Python | wdim/orm/__init__.py | chrisseto/Still | 3e4df26b824227472e5f487905779deafc76b4dd | [
"MIT"
] | null | null | null | wdim/orm/__init__.py | chrisseto/Still | 3e4df26b824227472e5f487905779deafc76b4dd | [
"MIT"
] | null | null | null | wdim/orm/__init__.py | chrisseto/Still | 3e4df26b824227472e5f487905779deafc76b4dd | [
"MIT"
] | null | null | null | from wdim.orm import sort
from wdim.orm import query
from wdim.orm import fields
from wdim.orm import exceptions
from wdim.orm.storable import Storable
__all__ = ('sort', 'query', 'fields', 'exceptions', 'Storable')
| 24.222222 | 63 | 0.761468 | 32 | 218 | 5.0625 | 0.3125 | 0.246914 | 0.339506 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133028 | 218 | 8 | 64 | 27.25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.151376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dbae89eb2bc91b4c8da2abd87518cf541ef65c9c | 152 | py | Python | app/products/serializers/__init__.py | phessabi/eshop | 6a5352753a0c27f9c3f0eda6eec696f49ef4a8eb | [
"Apache-2.0"
] | 1 | 2020-02-04T21:18:31.000Z | 2020-02-04T21:18:31.000Z | app/products/serializers/__init__.py | phessabi/eshop | 6a5352753a0c27f9c3f0eda6eec696f49ef4a8eb | [
"Apache-2.0"
] | 12 | 2020-01-01T11:46:33.000Z | 2022-03-12T00:10:01.000Z | app/products/serializers/__init__.py | phessabi/eshop | 6a5352753a0c27f9c3f0eda6eec696f49ef4a8eb | [
"Apache-2.0"
] | 1 | 2020-02-18T11:12:48.000Z | 2020-02-18T11:12:48.000Z | from .product import ProductSerializer
from .product import ImageSerializer
from .category import CategorySerializer
from .field import FieldSerializer
| 30.4 | 40 | 0.868421 | 16 | 152 | 8.25 | 0.5625 | 0.166667 | 0.257576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 152 | 4 | 41 | 38 | 0.970588 | 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 |
dbc7dc3298d3164462d136de5c3bfc40a2828cc3 | 1,445 | py | Python | returns/methods/__init__.py | seancrwhite/returns | 1350beb3ece388d1b7e3a2a529ddd7c984fe74ca | [
"BSD-2-Clause"
] | null | null | null | returns/methods/__init__.py | seancrwhite/returns | 1350beb3ece388d1b7e3a2a529ddd7c984fe74ca | [
"BSD-2-Clause"
] | null | null | null | returns/methods/__init__.py | seancrwhite/returns | 1350beb3ece388d1b7e3a2a529ddd7c984fe74ca | [
"BSD-2-Clause"
] | null | null | null | from returns.methods.alt import alt as alt
from returns.methods.apply import apply as apply
from returns.methods.bind import bind as bind
from returns.methods.bind_async import bind_async as bind_async
from returns.methods.bind_async_future import (
bind_async_future as bind_async_future,
)
from returns.methods.bin... | 49.827586 | 75 | 0.859516 | 233 | 1,445 | 5.077253 | 0.107296 | 0.204565 | 0.334742 | 0.241758 | 0.391378 | 0.311074 | 0.197802 | 0 | 0 | 0 | 0 | 0.006178 | 0.103806 | 1,445 | 28 | 76 | 51.607143 | 0.907336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.785714 | 0 | 0.785714 | 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 |
9158ec66be38a5f08da9564f1f0024a0dda183e4 | 35,984 | py | Python | scrapli/factory.py | dmfigol/scrapli | d1f8641a1e3f490dab6bae704f092255efe6655c | [
"MIT"
] | null | null | null | scrapli/factory.py | dmfigol/scrapli | d1f8641a1e3f490dab6bae704f092255efe6655c | [
"MIT"
] | null | null | null | scrapli/factory.py | dmfigol/scrapli | d1f8641a1e3f490dab6bae704f092255efe6655c | [
"MIT"
] | null | null | null | """scrapli.factory"""
import importlib
from copy import deepcopy
from io import BytesIO
from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union, cast
from scrapli.driver import AsyncGenericDriver, AsyncNetworkDriver, GenericDriver, NetworkDriver
from scrapli.driver.core import (
AsyncEOSDriver,
... | 44.811955 | 100 | 0.660905 | 4,198 | 35,984 | 5.471891 | 0.106479 | 0.021549 | 0.015672 | 0.009621 | 0.836664 | 0.810413 | 0.800444 | 0.791215 | 0.784859 | 0.779983 | 0 | 0.000729 | 0.275511 | 35,984 | 802 | 101 | 44.86783 | 0.880399 | 0.41096 | 0 | 0.571429 | 0 | 0 | 0.110064 | 0.010986 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025761 | false | 0.042155 | 0.030445 | 0 | 0.105386 | 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 |
91ba7a4f31e5ab1485d98a84d21f161910feff05 | 167 | py | Python | powerstation_graphs/admin.py | Red-Teapot/bbyaworld.com-django | 6eb8febd2cfa304a062ac924240cbdf060499cfc | [
"MIT"
] | 1 | 2020-01-11T18:04:15.000Z | 2020-01-11T18:04:15.000Z | powerstation_graphs/admin.py | Red-Teapot/bbyaworld.com-django | 6eb8febd2cfa304a062ac924240cbdf060499cfc | [
"MIT"
] | 2 | 2018-08-24T08:53:27.000Z | 2019-07-05T16:08:28.000Z | powerstation_graphs/admin.py | Red-Teapot/bbyaworld.com-django | 6eb8febd2cfa304a062ac924240cbdf060499cfc | [
"MIT"
] | 1 | 2018-11-22T16:19:52.000Z | 2018-11-22T16:19:52.000Z | from django.contrib import admin
from . import models
class MeasurementAdmin(admin.ModelAdmin):
pass
admin.site.register(models.Measurement, MeasurementAdmin)
| 16.7 | 57 | 0.802395 | 19 | 167 | 7.052632 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125749 | 167 | 9 | 58 | 18.555556 | 0.917808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
91cc123c66b012d9f434e5e76685db10993b23f2 | 3,752 | py | Python | src/Program/Python/Testing/compareFortranTest.py | smiths/swhs | a0d54b30b0c624c61ad3b3c2aa182b2dd193d51c | [
"BSD-2-Clause"
] | 2 | 2017-02-22T16:14:51.000Z | 2021-11-02T20:33:26.000Z | src/Program/Python/Testing/compareFortranTest.py | smiths/swhs | a0d54b30b0c624c61ad3b3c2aa182b2dd193d51c | [
"BSD-2-Clause"
] | 52 | 2016-05-31T15:09:18.000Z | 2018-10-29T20:50:31.000Z | src/Program/Python/Testing/compareFortranTest.py | smiths/swhs | a0d54b30b0c624c61ad3b3c2aa182b2dd193d51c | [
"BSD-2-Clause"
] | 3 | 2016-06-10T12:52:58.000Z | 2020-11-14T14:39:38.000Z | import sys
sys.path.insert(0, '.')
import unittest
import PCM_Error
class TestCompareFortran(unittest.TestCase):
def setUp(self):
self.delta = 0.002
def test_CF1(self):
errTw = PCM_Error.PCM_ErrorF('Testing/compareFortran/F01.out', 'P01.out', 'TWat')
errTp = PCM_Error.PCM_ErrorF('Te... | 58.625 | 96 | 0.693763 | 486 | 3,752 | 5.269547 | 0.117284 | 0.108942 | 0.077314 | 0.119485 | 0.898477 | 0.898477 | 0.898477 | 0.898477 | 0.887934 | 0.843811 | 0 | 0.031556 | 0.155384 | 3,752 | 64 | 97 | 58.625 | 0.776586 | 0 | 0 | 0.346154 | 0 | 0 | 0.263789 | 0.143885 | 0 | 0 | 0 | 0 | 0.346154 | 1 | 0.134615 | false | 0 | 0.057692 | 0 | 0.25 | 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 |
91db5f48528987ce57d37b4a89d251b2d706b1e5 | 37 | py | Python | src/iqapt/model/fid/__init__.py | winterYANGWT/IQAPT-Image_Quality_Assessment_Pytorch | 11711fea8b5376373706fcb5f1ec48e108483f08 | [
"MIT"
] | 1 | 2021-11-10T08:30:40.000Z | 2021-11-10T08:30:40.000Z | src/iqapt/model/fid/__init__.py | winterYANGWT/IQAPT-Image_Quality_Assessment_Pytorch | 11711fea8b5376373706fcb5f1ec48e108483f08 | [
"MIT"
] | null | null | null | src/iqapt/model/fid/__init__.py | winterYANGWT/IQAPT-Image_Quality_Assessment_Pytorch | 11711fea8b5376373706fcb5f1ec48e108483f08 | [
"MIT"
] | 1 | 2022-02-05T03:18:38.000Z | 2022-02-05T03:18:38.000Z | from .inceptionV3 import InceptionV3
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91e32eaaac2bf3c9c41f29909ad628429f6c68bb | 46 | py | Python | graphein/protein/features/nodes/__init__.py | jadechip/graphein | 2a69b9d1b39c48b7e3b2c806dafcf4c469d5ff21 | [
"MIT"
] | 342 | 2020-03-11T18:29:46.000Z | 2022-03-31T14:30:16.000Z | graphein/protein/features/nodes/__init__.py | jadechip/graphein | 2a69b9d1b39c48b7e3b2c806dafcf4c469d5ff21 | [
"MIT"
] | 126 | 2020-05-22T19:54:23.000Z | 2022-03-31T17:16:49.000Z | graphein/protein/features/nodes/__init__.py | jadechip/graphein | 2a69b9d1b39c48b7e3b2c806dafcf4c469d5ff21 | [
"MIT"
] | 51 | 2020-04-25T06:45:25.000Z | 2022-03-09T15:22:34.000Z | from .amino_acid import *
from .dssp import *
| 15.333333 | 25 | 0.73913 | 7 | 46 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 26 | 23 | 0.868421 | 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 |
37d37704f7a20b83e158fe5ebd29bac1285cae5f | 40,941 | py | Python | datashader/tests/test_dask.py | sjperkins/datashader | 26f03fa798b2cbd09def378e34d01fbd29996380 | [
"BSD-3-Clause"
] | null | null | null | datashader/tests/test_dask.py | sjperkins/datashader | 26f03fa798b2cbd09def378e34d01fbd29996380 | [
"BSD-3-Clause"
] | 3 | 2020-04-23T08:51:10.000Z | 2020-05-26T10:45:44.000Z | datashader/tests/test_dask.py | sjperkins/datashader | 26f03fa798b2cbd09def378e34d01fbd29996380 | [
"BSD-3-Clause"
] | 3 | 2020-01-07T14:48:46.000Z | 2020-01-09T13:56:02.000Z | from __future__ import division, absolute_import
import os
import dask.dataframe as dd
import numpy as np
import pandas as pd
import xarray as xr
from dask.context import config
from numpy import nan
import datashader as ds
import datashader.utils as du
import pytest
try:
import spatialpandas as sp
import... | 34.813776 | 126 | 0.493515 | 6,421 | 40,941 | 3.047033 | 0.049525 | 0.059903 | 0.065934 | 0.064401 | 0.803271 | 0.785944 | 0.759775 | 0.742039 | 0.72599 | 0.69839 | 0 | 0.087948 | 0.286803 | 40,941 | 1,175 | 127 | 34.843404 | 0.582109 | 0.037175 | 0 | 0.576123 | 0 | 0 | 0.061844 | 0.000534 | 0 | 0 | 0 | 0 | 0.089814 | 1 | 0.040526 | false | 0 | 0.023001 | 0 | 0.065717 | 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 |
37d3798becb51358fbe4991dec7774f6c6dd0059 | 36,851 | py | Python | experiments/transformer_data_utils_eval.py | diegoolano/biomedical_interpretable_entity_representations | 3c35f02ee8dd7ee0f2a23b0014e4b112beab6461 | [
"MIT"
] | 2 | 2021-09-24T08:54:33.000Z | 2021-11-15T05:15:52.000Z | experiments/transformer_data_utils_eval.py | diegoolano/biomedical_interpretable_entity_representations | 3c35f02ee8dd7ee0f2a23b0014e4b112beab6461 | [
"MIT"
] | null | null | null | experiments/transformer_data_utils_eval.py | diegoolano/biomedical_interpretable_entity_representations | 3c35f02ee8dd7ee0f2a23b0014e4b112beab6461 | [
"MIT"
] | 2 | 2021-07-05T20:19:01.000Z | 2021-08-01T01:01:41.000Z | import argparse
import glob
import json
import numpy as np
import torch
import string
from random import shuffle
from tqdm import tqdm
import transformer_constant
from models import TransformerModel
def to_torch(batch, device):
inputs_to_model = {k: v.to(device) for k, v in batch['inputs'].items()}
targets = batc... | 41.733862 | 159 | 0.659439 | 5,188 | 36,851 | 4.345412 | 0.053007 | 0.024219 | 0.04072 | 0.045644 | 0.823989 | 0.771292 | 0.753061 | 0.737358 | 0.73035 | 0.726224 | 0 | 0.025105 | 0.221758 | 36,851 | 882 | 160 | 41.781179 | 0.760975 | 0.068573 | 0 | 0.655807 | 0 | 0 | 0.088095 | 0.004176 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045326 | false | 0 | 0.014164 | 0.005666 | 0.092068 | 0.063739 | 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 |
532e7247551f4fa2073a164a71e6649f1f2304d2 | 975 | py | Python | tests/test_functions.py | jovsa/jTorch | c9ffb38ac14d01c01bd7bb493307868a3d150d88 | [
"MIT"
] | 1 | 2020-11-03T03:12:40.000Z | 2020-11-03T03:12:40.000Z | tests/test_functions.py | jovsa/jTorch | c9ffb38ac14d01c01bd7bb493307868a3d150d88 | [
"MIT"
] | 2 | 2021-06-08T06:37:01.000Z | 2021-08-30T06:50:31.000Z | tests/test_functions.py | jovsa/jTorch | c9ffb38ac14d01c01bd7bb493307868a3d150d88 | [
"MIT"
] | null | null | null | import jtorch
import pytest
from .strategies import assert_close
@pytest.mark.task3_1
def test_mm():
a = jtorch.rand((2, 3))
b = jtorch.rand((3, 4))
c = jtorch.matmul(a, b)
c2 = (a.view(2, 3, 1) * b.view(1, 3, 4)).sum(1).view(2, 4)
print(c)
print(c2)
for ind in c._tensor.indices():
... | 21.195652 | 71 | 0.554872 | 184 | 975 | 2.853261 | 0.173913 | 0.030476 | 0.104762 | 0.074286 | 0.834286 | 0.771429 | 0.712381 | 0.712381 | 0.712381 | 0.712381 | 0 | 0.086721 | 0.243077 | 975 | 45 | 72 | 21.666667 | 0.624661 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 1 | 0.090909 | false | 0 | 0.090909 | 0 | 0.181818 | 0.181818 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
534e8bafc01189b44b500dccf1a9ada234a8ecd6 | 5,841 | py | Python | tests/sdc/test_extract.py | dmitryashutov/aidbox-sdc | 5c1d7930b936c60079d49da2b31d52bb0623bd04 | [
"MIT"
] | null | null | null | tests/sdc/test_extract.py | dmitryashutov/aidbox-sdc | 5c1d7930b936c60079d49da2b31d52bb0623bd04 | [
"MIT"
] | null | null | null | tests/sdc/test_extract.py | dmitryashutov/aidbox-sdc | 5c1d7930b936c60079d49da2b31d52bb0623bd04 | [
"MIT"
] | null | null | null | from tests.utils import create_parameters
async def test_extract_without_context(sdk, safe_db):
m = sdk.client.resource(
"Mapping",
**{
"body": {
"resourceType": "Bundle",
"type": "transaction",
"entry": [
{
... | 27.041667 | 134 | 0.376134 | 373 | 5,841 | 5.831099 | 0.184987 | 0.049655 | 0.062529 | 0.026207 | 0.897011 | 0.897011 | 0.848276 | 0.848276 | 0.848276 | 0.848276 | 0 | 0.005242 | 0.477487 | 5,841 | 215 | 135 | 27.167442 | 0.707405 | 0 | 0 | 0.632979 | 0 | 0 | 0.232152 | 0.072248 | 0 | 0 | 0 | 0 | 0.058511 | 1 | 0 | false | 0 | 0.005319 | 0 | 0.005319 | 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 |
7297e25971798f2d52acbf762aafff864d869e7a | 1,775 | py | Python | plots.py | rodolphoescobar/aws-audit | 01de046158788340dbfa0c7a9ef8af85bce44ec4 | [
"Apache-2.0"
] | 24 | 2018-04-03T18:52:27.000Z | 2021-05-12T12:16:13.000Z | plots.py | rodolphoescobar/aws-audit | 01de046158788340dbfa0c7a9ef8af85bce44ec4 | [
"Apache-2.0"
] | 4 | 2018-04-05T18:47:25.000Z | 2018-11-26T22:56:57.000Z | plots.py | rodolphoescobar/aws-audit | 01de046158788340dbfa0c7a9ef8af85bce44ec4 | [
"Apache-2.0"
] | 8 | 2018-04-05T17:53:55.000Z | 2022-01-18T06:37:46.000Z | import matplotlib
matplotlib.use('Agg') # (ノಠ益ಠ)ノ彡┻━┻
import pandas as pd
import matplotlib.pyplot as plt
import re
import sys
def account_spend_plot(csvfile=None, outputfilename=None, outputfiletype="png"):
"""
creates a plot for account-based spends
args:
csvfile: full path to the CSV file
outputfil... | 29.098361 | 95 | 0.693521 | 243 | 1,775 | 5.037037 | 0.341564 | 0.026144 | 0.03268 | 0.042484 | 0.813725 | 0.813725 | 0.813725 | 0.756536 | 0.756536 | 0.756536 | 0 | 0.004101 | 0.175775 | 1,775 | 60 | 96 | 29.583333 | 0.830485 | 0.305352 | 0 | 0.533333 | 0 | 0 | 0.139966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.166667 | 0 | 0.3 | 0.066667 | 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 |
72b579420f5a46a6f94220ad445c56076dd6a5f2 | 9,535 | py | Python | app/main/generate_hitlist.py | charlestondance/FlaskDrugSensitivity | 3064934e5e9c8290a59658a44871acd111a65279 | [
"MIT"
] | null | null | null | app/main/generate_hitlist.py | charlestondance/FlaskDrugSensitivity | 3064934e5e9c8290a59658a44871acd111a65279 | [
"MIT"
] | null | null | null | app/main/generate_hitlist.py | charlestondance/FlaskDrugSensitivity | 3064934e5e9c8290a59658a44871acd111a65279 | [
"MIT"
] | 1 | 2018-03-16T17:22:56.000Z | 2018-03-16T17:22:56.000Z | __author__ = 'Dovod'
import csv
import random
def make_hitlist(hitlist, copies, name):
#print(hitlist)
#print(copies)
destination_wells_list = destination_wells()
LAST_DEST_ITERATOR = 289
intermediates = ["-I1", "-I2", "-I3", "-I4"]
conc_a = [25.0, 2.5, 25.0, 2.5, 25.0]
conc_b = [25.0, ... | 38.760163 | 253 | 0.5828 | 1,122 | 9,535 | 4.699643 | 0.158645 | 0.066755 | 0.095961 | 0.041722 | 0.79689 | 0.783994 | 0.750427 | 0.750427 | 0.742082 | 0.721221 | 0 | 0.050574 | 0.297011 | 9,535 | 245 | 254 | 38.918367 | 0.736088 | 0.160357 | 0 | 0.801418 | 0 | 0 | 0.071249 | 0.003776 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028369 | false | 0 | 0.014184 | 0 | 0.078014 | 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 |
72c1e6b994a2ca58a13c1e82dcb23ecb367f6c14 | 24 | py | Python | image_classification/models/__init__.py | AK391/UniFormer | 22c6b3b98b68236dda6a8fa7152a32af1af62a20 | [
"MIT"
] | 367 | 2022-01-14T03:32:25.000Z | 2022-03-31T04:48:20.000Z | image_classification/models/__init__.py | hadlang/UniFormer | e8024703bffb89cb7c7d09e0d774a0d2a9f96c25 | [
"MIT"
] | 27 | 2022-01-27T07:12:49.000Z | 2022-03-31T04:31:13.000Z | image_classification/models/__init__.py | hadlang/UniFormer | e8024703bffb89cb7c7d09e0d774a0d2a9f96c25 | [
"MIT"
] | 53 | 2022-01-18T11:21:43.000Z | 2022-03-31T06:42:41.000Z | from .uniformer import * | 24 | 24 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
72d370208103c55467b000115695f2036192bcd5 | 37,650 | py | Python | tests/test_train.py | theanht1/rasa | eb408bb2d216de3a1cd1f72799d7b80eceeb1fd2 | [
"Apache-2.0"
] | null | null | null | tests/test_train.py | theanht1/rasa | eb408bb2d216de3a1cd1f72799d7b80eceeb1fd2 | [
"Apache-2.0"
] | 21 | 2021-05-27T13:20:53.000Z | 2022-03-01T13:45:04.000Z | tests/test_train.py | theanht1/rasa | eb408bb2d216de3a1cd1f72799d7b80eceeb1fd2 | [
"Apache-2.0"
] | null | null | null | import logging
import secrets
import sys
import tempfile
import os
from pathlib import Path
from typing import Text, Dict, Any
from unittest.mock import Mock
import pytest
from _pytest.capture import CaptureFixture
from _pytest.logging import LogCaptureFixture
from _pytest.monkeypatch import MonkeyPatch
from rasa.cor... | 32.042553 | 88 | 0.694104 | 4,704 | 37,650 | 5.16858 | 0.06909 | 0.030519 | 0.032863 | 0.023074 | 0.808909 | 0.789824 | 0.767038 | 0.756056 | 0.742936 | 0.701723 | 0 | 0.004187 | 0.213307 | 37,650 | 1,174 | 89 | 32.069847 | 0.816638 | 0.036786 | 0 | 0.695983 | 0 | 0 | 0.087296 | 0.034251 | 0 | 0 | 0 | 0 | 0.079262 | 1 | 0.046688 | false | 0.002172 | 0.031488 | 0.004343 | 0.085776 | 0.010858 | 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 |
f4214bed2a13939979b11d25348ce5c254cc224f | 213 | py | Python | communicate/exceptions/lessons_exceptions.py | mmacheerpuppy/bark | 19855801ebd05bed950134f1f5f913a6498e90a8 | [
"MIT"
] | null | null | null | communicate/exceptions/lessons_exceptions.py | mmacheerpuppy/bark | 19855801ebd05bed950134f1f5f913a6498e90a8 | [
"MIT"
] | null | null | null | communicate/exceptions/lessons_exceptions.py | mmacheerpuppy/bark | 19855801ebd05bed950134f1f5f913a6498e90a8 | [
"MIT"
] | null | null | null | class LessonNotFoundException(Exception):
"""Should be called if a lesson cannot be found"""
pass
class NoLessonsExistException(Exception):
"""Should be called if a lesson does not exist"""
pass
| 23.666667 | 54 | 0.71831 | 26 | 213 | 5.884615 | 0.615385 | 0.196078 | 0.222222 | 0.300654 | 0.418301 | 0.418301 | 0.418301 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 213 | 8 | 55 | 26.625 | 0.894737 | 0.413146 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f42a301e9c04f3f325b905755c1f0095dda01e85 | 74 | py | Python | bgfx/__init__.py | wis/bgfx-python | ab3717240d7f77d8a68f0041055a363c7805416d | [
"BSD-2-Clause"
] | null | null | null | bgfx/__init__.py | wis/bgfx-python | ab3717240d7f77d8a68f0041055a363c7805416d | [
"BSD-2-Clause"
] | null | null | null | bgfx/__init__.py | wis/bgfx-python | ab3717240d7f77d8a68f0041055a363c7805416d | [
"BSD-2-Clause"
] | null | null | null | from .constants import *
from .utils import *
from bgfx.bgfx_lib import *
| 18.5 | 27 | 0.756757 | 11 | 74 | 5 | 0.545455 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 28 | 24.666667 | 0.887097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f43475de3e7c33aee01bfa652ca353f5fbb714ea | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/cachecontrol/_cmd.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/cachecontrol/_cmd.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/cachecontrol/_cmd.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/51/11/84/d0aac0f3b41e9021b74863dab6548f4f9ef57594c38cd6be6575f7a437 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f443dd44517e49e85aebbc4e4d9ae82ec6396951 | 190 | py | Python | gammapy/utils/distributions/__init__.py | gabemery/gammapy | 99e5c5d38e4920dddd7bca41fb1539ccda8bea2d | [
"BSD-3-Clause"
] | 3 | 2019-01-28T12:21:14.000Z | 2019-02-10T19:58:07.000Z | gammapy/utils/distributions/__init__.py | gabemery/gammapy | 99e5c5d38e4920dddd7bca41fb1539ccda8bea2d | [
"BSD-3-Clause"
] | 1 | 2020-10-29T19:55:46.000Z | 2020-10-29T19:55:46.000Z | gammapy/utils/distributions/__init__.py | gabemery/gammapy | 99e5c5d38e4920dddd7bca41fb1539ccda8bea2d | [
"BSD-3-Clause"
] | null | null | null | """Utility functions / classes for working with distributions
(e.g. probability density functions)
"""
from .general_random import *
from .general_random_array import *
from .utils import *
| 27.142857 | 61 | 0.778947 | 24 | 190 | 6.041667 | 0.708333 | 0.151724 | 0.234483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 190 | 6 | 62 | 31.666667 | 0.878788 | 0.5 | 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 |
f4505f7cb5d690156d24829ae1e95ba5a8aefa70 | 52 | py | Python | sixecho/__init__.py | Steap/SIXEcho | f64087a5d0c060de01c98777435f05697a34b2db | [
"Apache-2.0"
] | null | null | null | sixecho/__init__.py | Steap/SIXEcho | f64087a5d0c060de01c98777435f05697a34b2db | [
"Apache-2.0"
] | null | null | null | sixecho/__init__.py | Steap/SIXEcho | f64087a5d0c060de01c98777435f05697a34b2db | [
"Apache-2.0"
] | null | null | null | from .client import Client,tokenize,printProgressBar | 52 | 52 | 0.884615 | 6 | 52 | 7.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
f45a11bb01718a68dbc8a682422ac020270bd6c5 | 83 | py | Python | make-your-own-text-adventure-with-python/homework/doubler.py | learning-game-development/learning-python-game-development | 326b72eadab0bfb14f70f295b492f76d139dde33 | [
"Unlicense"
] | null | null | null | make-your-own-text-adventure-with-python/homework/doubler.py | learning-game-development/learning-python-game-development | 326b72eadab0bfb14f70f295b492f76d139dde33 | [
"Unlicense"
] | null | null | null | make-your-own-text-adventure-with-python/homework/doubler.py | learning-game-development/learning-python-game-development | 326b72eadab0bfb14f70f295b492f76d139dde33 | [
"Unlicense"
] | null | null | null | def double(value):
return value * 2
print(double(12345))
print(double(1.57))
| 11.857143 | 20 | 0.674699 | 13 | 83 | 4.307692 | 0.692308 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.168675 | 83 | 6 | 21 | 13.833333 | 0.681159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
f461b5fb7b09ad47cfe28956bb01668b684ee772 | 41,383 | py | Python | cinder/tests/unit/test_volume_utils.py | whitepages/cinder | bd70ce6f4dd58ba904a7c941700cdce54e5a705e | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/test_volume_utils.py | whitepages/cinder | bd70ce6f4dd58ba904a7c941700cdce54e5a705e | [
"Apache-2.0"
] | 1 | 2021-03-21T11:38:29.000Z | 2021-03-21T11:38:29.000Z | cinder/tests/unit/test_volume_utils.py | isabella232/cinder | bd70ce6f4dd58ba904a7c941700cdce54e5a705e | [
"Apache-2.0"
] | 1 | 2021-03-21T11:37:47.000Z | 2021-03-21T11:37:47.000Z | # Copyright 2011 OpenStack Foundation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... | 45.475824 | 79 | 0.58524 | 4,510 | 41,383 | 5.056763 | 0.079601 | 0.07862 | 0.053275 | 0.05709 | 0.806674 | 0.773919 | 0.746909 | 0.714593 | 0.702666 | 0.654915 | 0 | 0.023755 | 0.308267 | 41,383 | 909 | 80 | 45.525853 | 0.772934 | 0.025687 | 0 | 0.662864 | 0 | 0.001267 | 0.173662 | 0.074309 | 0 | 0 | 0 | 0 | 0.210393 | 1 | 0.062104 | false | 0.012674 | 0.017744 | 0 | 0.087452 | 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 |
f467d37e28634a6cb86ef3c0df5cb36f73eb02ff | 258,321 | py | Python | instances/passenger_demand/pas-20210422-1717-int1/12.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/12.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/12.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 18914
passenger_arriving = (
(3, 3, 4, 2, 5, 1, 3, 0, 1, 1, 1, 0, 0, 4, 3, 4, 1, 4, 2, 1, 2, 1, 1, 3, 0, 0), # 0
(5, 1, 4, 3, 4, 4, 1, 1, 4, 0, 0, 2, 0, 2, 2, 5, 4, 4, 3, 0, 1, 3, 0, 0, 0, 0), # 1
(11, 9, 6, 6, 3, 0, 5, 5, 2, 0, 2, 2, 0, 7, 2, 5, 3, 6, 4, 1, 3, 4, 2, 0, 1, 0),... | 276.279144 | 494 | 0.769574 | 32,987 | 258,321 | 6.026192 | 0.21748 | 0.358577 | 0.344089 | 0.651957 | 0.37641 | 0.36731 | 0.364764 | 0.36404 | 0.36404 | 0.36404 | 0 | 0.84982 | 0.095749 | 258,321 | 934 | 495 | 276.574946 | 0.001194 | 0.015527 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be56678eeb4d44180772839bad551edace16e840 | 19 | py | Python | srvpy/open/__init__.py | estennw/srvpy | 2c19002f71b36b764d8a363be2e03cd564bba8c0 | [
"MIT"
] | null | null | null | srvpy/open/__init__.py | estennw/srvpy | 2c19002f71b36b764d8a363be2e03cd564bba8c0 | [
"MIT"
] | null | null | null | srvpy/open/__init__.py | estennw/srvpy | 2c19002f71b36b764d8a363be2e03cd564bba8c0 | [
"MIT"
] | null | null | null | from .hjb import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 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 |
fe1f273fc4491db115039f514319465b754fe801 | 180 | py | Python | bipwrapper/model/poll.py | semudu/bip-api | 662f5a178e01441e3b4c33bd7e56145dbaa3897b | [
"MIT"
] | 1 | 2021-05-28T16:19:55.000Z | 2021-05-28T16:19:55.000Z | bipwrapper/model/poll.py | semudu/bip-api | 662f5a178e01441e3b4c33bd7e56145dbaa3897b | [
"MIT"
] | 3 | 2020-03-13T19:47:10.000Z | 2021-05-30T13:54:21.000Z | bipwrapper/model/poll.py | semudu/bip-api | 662f5a178e01441e3b4c33bd7e56145dbaa3897b | [
"MIT"
] | 1 | 2021-05-28T16:19:58.000Z | 2021-05-28T16:19:58.000Z | class Poll:
def __init__(self, poll_id, option_ids):
self.poll_id = poll_id
self.values = option_ids
def __repr__(self):
return str(self.__dict__)
| 22.5 | 44 | 0.638889 | 25 | 180 | 3.92 | 0.52 | 0.183673 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272222 | 180 | 7 | 45 | 25.714286 | 0.748092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
227f2116d1f99396958e9d7fe6b189375da9b28e | 117,740 | py | Python | Processor.py | mdorobek/authorship_analysis | 34221a56da229e5113b6d7bb2fb125cd50deb077 | [
"Unlicense"
] | null | null | null | Processor.py | mdorobek/authorship_analysis | 34221a56da229e5113b6d7bb2fb125cd50deb077 | [
"Unlicense"
] | null | null | null | Processor.py | mdorobek/authorship_analysis | 34221a56da229e5113b6d7bb2fb125cd50deb077 | [
"Unlicense"
] | null | null | null | import pandas as pd
import numpy as np
import copy
from sklearn.naive_bayes import GaussianNB
from sklearn.model_selection import cross_val_score, train_test_split, GridSearchCV
from sklearn.feature_selection import mutual_info_classif, SelectKBest
import matplotlib.pyplot as plt
from sklearn import svm
from sk... | 56.524244 | 125 | 0.630109 | 16,776 | 117,740 | 4.063245 | 0.0335 | 0.028724 | 0.014201 | 0.010709 | 0.843131 | 0.800954 | 0.773696 | 0.748434 | 0.726986 | 0.711773 | 0 | 0.020427 | 0.269467 | 117,740 | 2,082 | 126 | 56.551393 | 0.772034 | 0.150374 | 0 | 0.624735 | 0 | 0.009894 | 0.201794 | 0.105804 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030389 | false | 0 | 0.012721 | 0 | 0.067138 | 0.063604 | 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 |
22802238483274ca75df59e96403fd2abe04c36b | 2,820 | py | Python | remo/base/tests/test_backend.py | Mozilla-GitHub-Standards/6f6b18ac63685c6bf60fff95a3bbcc598378c77ceb14c7404172c570dd1e971d | 23ca8d46496b491fbdb2b8a72c91e75372932f23 | [
"BSD-3-Clause"
] | 27 | 2015-01-02T18:47:56.000Z | 2021-08-14T11:48:24.000Z | remo/base/tests/test_backend.py | Mozilla-GitHub-Standards/6f6b18ac63685c6bf60fff95a3bbcc598378c77ceb14c7404172c570dd1e971d | 23ca8d46496b491fbdb2b8a72c91e75372932f23 | [
"BSD-3-Clause"
] | 450 | 2015-01-02T12:29:50.000Z | 2020-10-27T21:41:38.000Z | remo/base/tests/test_backend.py | Mozilla-GitHub-Standards/6f6b18ac63685c6bf60fff95a3bbcc598378c77ceb14c7404172c570dd1e971d | 23ca8d46496b491fbdb2b8a72c91e75372932f23 | [
"BSD-3-Clause"
] | 81 | 2015-01-10T23:59:32.000Z | 2021-08-19T17:08:56.000Z | from django.contrib.auth.models import User
from django.test import override_settings
import mock
from nose.tools import eq_
from remo.base.backend import RemoAuthenticationBackend
from remo.base.tests import RemoTestCase
class RemoBackendTests(RemoTestCase):
"""Test ReMo backend."""
@override_settings(OID... | 35.696203 | 83 | 0.655319 | 318 | 2,820 | 5.54717 | 0.242138 | 0.117914 | 0.090703 | 0.049887 | 0.825397 | 0.825397 | 0.825397 | 0.825397 | 0.825397 | 0.825397 | 0 | 0.001831 | 0.225177 | 2,820 | 78 | 84 | 36.153846 | 0.805492 | 0.049645 | 0 | 0.688525 | 0 | 0 | 0.214125 | 0.050338 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0 | 0.098361 | 0 | 0.147541 | 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 |
22849eced6ba158ab19f8b4e6e3c4439e9e4f688 | 14,800 | py | Python | tests/test_types.py | AchilleAsh/clickhouse-sqlalchemy | eb6b5e81f4f9fb3a5987bc4ac0f58e41bc89dba3 | [
"MIT"
] | 1 | 2021-07-07T09:06:00.000Z | 2021-07-07T09:06:00.000Z | tests/test_types.py | AchilleAsh/clickhouse-sqlalchemy | eb6b5e81f4f9fb3a5987bc4ac0f58e41bc89dba3 | [
"MIT"
] | null | null | null | tests/test_types.py | AchilleAsh/clickhouse-sqlalchemy | eb6b5e81f4f9fb3a5987bc4ac0f58e41bc89dba3 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from datetime import datetime
from decimal import Decimal
from ipaddress import IPv4Address, IPv4Network, IPv6Address, IPv6Network
from sqlalchemy import Column, Numeric, and_
from sqlalchemy.sql.ddl import CreateTable
from clickhouse_sqlalchemy import types, engines, Table
fr... | 34.579439 | 78 | 0.546149 | 1,696 | 14,800 | 4.673349 | 0.089623 | 0.106737 | 0.059299 | 0.065228 | 0.797502 | 0.779712 | 0.757255 | 0.754857 | 0.738708 | 0.703129 | 0 | 0.062962 | 0.304595 | 14,800 | 427 | 79 | 34.660422 | 0.707151 | 0.029054 | 0 | 0.713846 | 0 | 0 | 0.078293 | 0.007613 | 0 | 0 | 0 | 0 | 0.104615 | 1 | 0.08 | false | 0 | 0.030769 | 0 | 0.16 | 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 |
228f28932da4ecc586aa17e83f4011f60095bf5e | 9,585 | py | Python | tests/metarl/test_functions.py | neurips2020submission11699/metarl | ae4825d21478fa1fd0aa6b116941ea40caa152a5 | [
"MIT"
] | 2 | 2021-02-07T12:14:52.000Z | 2021-07-29T08:07:22.000Z | tests/metarl/test_functions.py | neurips2020submission11699/metarl | ae4825d21478fa1fd0aa6b116941ea40caa152a5 | [
"MIT"
] | null | null | null | tests/metarl/test_functions.py | neurips2020submission11699/metarl | ae4825d21478fa1fd0aa6b116941ea40caa152a5 | [
"MIT"
] | null | null | null | """Test root level functions in metarl."""
import csv
import math
import tempfile
import akro
import dowel
from dowel import logger, tabular
import numpy as np
import pytest
import tensorflow as tf
import torch
from metarl import _Default, make_optimizer
from metarl import log_multitask_performance, log_performance, ... | 41.137339 | 79 | 0.608033 | 1,268 | 9,585 | 4.477918 | 0.132492 | 0.025361 | 0.030116 | 0.031701 | 0.863861 | 0.838499 | 0.825819 | 0.764706 | 0.729482 | 0.696372 | 0 | 0.111265 | 0.247992 | 9,585 | 232 | 80 | 41.314655 | 0.676471 | 0.068336 | 0 | 0.665025 | 0 | 0 | 0.079563 | 0.026334 | 0 | 0 | 0 | 0 | 0.187192 | 1 | 0.044335 | false | 0 | 0.068966 | 0 | 0.118227 | 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 |
22a7d46d3cba9fdec792d90f7815c1f4f54e6560 | 25 | py | Python | package1/__init__.py | Mikolaj1298/PythonPip | f6895925b9375298ca0fd7ff844cdfca79cce7e5 | [
"MIT"
] | null | null | null | package1/__init__.py | Mikolaj1298/PythonPip | f6895925b9375298ca0fd7ff844cdfca79cce7e5 | [
"MIT"
] | null | null | null | package1/__init__.py | Mikolaj1298/PythonPip | f6895925b9375298ca0fd7ff844cdfca79cce7e5 | [
"MIT"
] | null | null | null | from . import api_service | 25 | 25 | 0.84 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22d5df3ffdcc112bdfd7c6796ffc072566ceb7c6 | 79 | py | Python | py/python/suma.py | dacanizares/IntroCS-ES | 1324b59a3bed86559117b01ad85384d593394d4a | [
"MIT"
] | 2 | 2020-03-21T19:12:10.000Z | 2020-03-27T03:59:41.000Z | py/python/suma.py | dacanizares/IntroCS-ES | 1324b59a3bed86559117b01ad85384d593394d4a | [
"MIT"
] | 13 | 2020-03-20T01:27:57.000Z | 2020-08-08T18:20:29.000Z | py/python/suma.py | dacanizares/IntroCS-ES | 1324b59a3bed86559117b01ad85384d593394d4a | [
"MIT"
] | null | null | null | a = int(input('Digite un nro.'))
b = int(input('Digite un nro.'))
print(a + b)
| 19.75 | 32 | 0.594937 | 15 | 79 | 3.133333 | 0.533333 | 0.340426 | 0.595745 | 0.680851 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 3 | 33 | 26.333333 | 0.712121 | 0 | 0 | 0 | 0 | 0 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22ddae6439da8214103cca5433f7597f5268c649 | 199 | py | Python | mmcls/utils/__init__.py | HXZhong1997/mmclassification | 8144844007158b866abaab4e1111a80dd9703352 | [
"Apache-2.0"
] | 1 | 2022-02-09T07:31:08.000Z | 2022-02-09T07:31:08.000Z | mmcls/utils/__init__.py | HXZhong1997/mmclassification | 8144844007158b866abaab4e1111a80dd9703352 | [
"Apache-2.0"
] | 5 | 2022-03-02T02:58:56.000Z | 2022-03-23T05:51:53.000Z | mmcls/utils/__init__.py | HXZhong1997/mmclassification | 8144844007158b866abaab4e1111a80dd9703352 | [
"Apache-2.0"
] | 1 | 2022-01-04T03:19:50.000Z | 2022-01-04T03:19:50.000Z | # Copyright (c) OpenMMLab. All rights reserved.
from .collect_env import collect_env
from .logger import get_root_logger, load_json_log
__all__ = ['collect_env', 'get_root_logger', 'load_json_log']
| 33.166667 | 61 | 0.79397 | 30 | 199 | 4.766667 | 0.533333 | 0.20979 | 0.181818 | 0.237762 | 0.335664 | 0.335664 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110553 | 199 | 5 | 62 | 39.8 | 0.80791 | 0.226131 | 0 | 0 | 0 | 0 | 0.256579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22fac1a1be6ee2ff7d56933712350c81eb4de1c5 | 25 | py | Python | LibreriaFyF/LibFyF/database/cliente_db.py | FedeBrus64/TPI_2021_03 | d86ff822263080a8f8631829bde87d1421a866c4 | [
"MIT"
] | null | null | null | LibreriaFyF/LibFyF/database/cliente_db.py | FedeBrus64/TPI_2021_03 | d86ff822263080a8f8631829bde87d1421a866c4 | [
"MIT"
] | null | null | null | LibreriaFyF/LibFyF/database/cliente_db.py | FedeBrus64/TPI_2021_03 | d86ff822263080a8f8631829bde87d1421a866c4 | [
"MIT"
] | null | null | null | from typing import List
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 1 | 25 | 25 | 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 |
a3c89e81f1dd451d1d10936067e2f43f0edeb4c8 | 66 | py | Python | dockerfiles-v3/fab-cli/data/fabfile.py | jinsenglin/docker | c71bd3941c5f16f0328114f7aae06fd83c47b4a2 | [
"Apache-2.0"
] | null | null | null | dockerfiles-v3/fab-cli/data/fabfile.py | jinsenglin/docker | c71bd3941c5f16f0328114f7aae06fd83c47b4a2 | [
"Apache-2.0"
] | null | null | null | dockerfiles-v3/fab-cli/data/fabfile.py | jinsenglin/docker | c71bd3941c5f16f0328114f7aae06fd83c47b4a2 | [
"Apache-2.0"
] | null | null | null | from fabric.api import put, run
def hello():
run('hostname')
| 13.2 | 31 | 0.666667 | 10 | 66 | 4.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 66 | 4 | 32 | 16.5 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 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 |
a3f152893a31f2fbe832627e0720d15e487a2fdb | 140 | py | Python | devicely/helpers.py | jvm-lab/devicely | b569628a850fd9c54fbaa87835d316a3b882861c | [
"MIT"
] | null | null | null | devicely/helpers.py | jvm-lab/devicely | b569628a850fd9c54fbaa87835d316a3b882861c | [
"MIT"
] | null | null | null | devicely/helpers.py | jvm-lab/devicely | b569628a850fd9c54fbaa87835d316a3b882861c | [
"MIT"
] | null | null | null | """
Helper functions
"""
import os
def file_empty_or_not_existing(path):
return not os.path.isfile(path) or os.stat(path).st_size == 0 | 17.5 | 65 | 0.721429 | 24 | 140 | 4 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.142857 | 140 | 8 | 65 | 17.5 | 0.791667 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
43179bacba46ef104891d7b8bc34ece3e0f983d3 | 46 | py | Python | traj/test/test_parameterize_path.py | mahmoud-a-ali/trajectory_smoothing | f2f4f44751b41235184b29e669f3ee5ed3d93597 | [
"Apache-2.0"
] | 8 | 2020-03-04T07:49:44.000Z | 2021-09-08T08:32:40.000Z | traj/test/test_parameterize_path.py | mahmoud-a-ali/trajectory_smoothing | f2f4f44751b41235184b29e669f3ee5ed3d93597 | [
"Apache-2.0"
] | 21 | 2019-05-07T22:32:14.000Z | 2020-12-30T23:26:07.000Z | traj/test/test_parameterize_path.py | mahmoud-a-ali/trajectory_smoothing | f2f4f44751b41235184b29e669f3ee5ed3d93597 | [
"Apache-2.0"
] | 8 | 2019-04-24T23:44:09.000Z | 2021-09-07T08:16:57.000Z | import nose
import numpy as np
import traj
| 6.571429 | 18 | 0.76087 | 8 | 46 | 4.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23913 | 46 | 6 | 19 | 7.666667 | 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 |
4a63b08961270bf197624e1f628818d15e5643d9 | 246 | py | Python | 05/00/instance_attr/attrs.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | 05/00/instance_attr/attrs.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | 32 | 2017-09-01T00:52:17.000Z | 2017-10-01T00:30:02.000Z | 05/00/instance_attr/attrs.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | import datetime
print(datetime.datetime.now().hour)
print(datetime.datetime.now().minute)
print(datetime.datetime.now().second)
print(datetime.datetime.now().microsecond)
print(datetime.datetime.now().tzinfo)
print(datetime.datetime.now().fold)
| 27.333333 | 42 | 0.792683 | 32 | 246 | 6.09375 | 0.3125 | 0.4 | 0.646154 | 0.738462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 246 | 8 | 43 | 30.75 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0.857143 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4a88db0d6418b756e4497e05edfdd638a3492ad1 | 647 | py | Python | chibi/units/si.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | chibi/units/si.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | chibi/units/si.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | from .base import Unit
from .prefix import (
Yotta, Zetta, Exa, Peta, Tera, Giga, Mega, Kilo, Hecto,
Deca, Base, Centi, Mili, Micro, Nano, Pico, Femto, Atto,
Zepto, Yocto )
class Metre( Unit ):
name = 'metre'
symbol = 'm'
valid_prefix = (
Yotta, Zetta, Exa, Peta, Tera, Giga, Mega, Kilo... | 26.958333 | 60 | 0.582689 | 85 | 647 | 4.411765 | 0.376471 | 0.08 | 0.104 | 0.136 | 0.781333 | 0.781333 | 0.781333 | 0.781333 | 0.781333 | 0.781333 | 0 | 0 | 0.285935 | 647 | 23 | 61 | 28.130435 | 0.811688 | 0 | 0 | 0.421053 | 0 | 0 | 0.017002 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4aa4948dcd11a94cd2cef41e13635ac36c53bb04 | 68 | py | Python | vit/formatter/tags_list.py | kinifwyne/vit | e2cbafce922b1e09c4a66e7dc9592c51fe628e9d | [
"MIT"
] | 179 | 2020-07-28T08:21:51.000Z | 2022-03-30T21:39:37.000Z | vit/formatter/tags_list.py | kinifwyne/vit | e2cbafce922b1e09c4a66e7dc9592c51fe628e9d | [
"MIT"
] | 255 | 2017-02-01T11:49:12.000Z | 2020-07-26T22:31:25.000Z | vit/formatter/tags_list.py | kinifwyne/vit | e2cbafce922b1e09c4a66e7dc9592c51fe628e9d | [
"MIT"
] | 26 | 2017-01-17T20:31:13.000Z | 2020-06-17T13:09:01.000Z | from vit.formatter.tags import Tags
class TagsList(Tags):
pass
| 13.6 | 35 | 0.75 | 10 | 68 | 5.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 68 | 4 | 36 | 17 | 0.910714 | 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 |
4aadbe07a4dbe281a17946b01bba1e538dbf76a9 | 29 | py | Python | shopAssistant/yamlOperations/__init__.py | PWrW4/DPP_python_library_shopAssistant | e8c7a4d9757bc0bac09cb2aa9991beedee4c614a | [
"MIT"
] | null | null | null | shopAssistant/yamlOperations/__init__.py | PWrW4/DPP_python_library_shopAssistant | e8c7a4d9757bc0bac09cb2aa9991beedee4c614a | [
"MIT"
] | null | null | null | shopAssistant/yamlOperations/__init__.py | PWrW4/DPP_python_library_shopAssistant | e8c7a4d9757bc0bac09cb2aa9991beedee4c614a | [
"MIT"
] | null | null | null | from . import fileOperations
| 14.5 | 28 | 0.827586 | 3 | 29 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 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 |
4ac3a68c91f2ea35f61714f1f87d2570ac928138 | 33 | py | Python | spikesorters/klusta/__init__.py | manimoh/spikesorters | b5ea81a316f6caeacf5be587561804ef99807d76 | [
"MIT"
] | 116 | 2019-07-12T14:33:43.000Z | 2022-03-29T01:10:00.000Z | spikesorters/klusta/__init__.py | manimoh/spikesorters | b5ea81a316f6caeacf5be587561804ef99807d76 | [
"MIT"
] | 424 | 2019-07-15T13:29:34.000Z | 2022-03-30T13:30:45.000Z | spikesorters/klusta/__init__.py | manimoh/spikesorters | b5ea81a316f6caeacf5be587561804ef99807d76 | [
"MIT"
] | 60 | 2019-08-26T11:59:07.000Z | 2022-03-24T20:05:38.000Z | from .klusta import KlustaSorter
| 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 |
4351d7a402dc80fb06b462705083bcd28edfc8a1 | 18 | py | Python | contrib/tools/python/src/Lib/plat-mac/Carbon/TE.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | python/src/Lib/plat-mac/Carbon/TE.py | weiqiangzheng/sl4a | d3c17dca978cbeee545e12ea240a9dbf2a6999e9 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | python/src/Lib/plat-mac/Carbon/TE.py | weiqiangzheng/sl4a | d3c17dca978cbeee545e12ea240a9dbf2a6999e9 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | from _TE import *
| 9 | 17 | 0.722222 | 3 | 18 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.857143 | 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 |
436ccd7000fe98cb2098b2944552176dfb76c6c8 | 66 | py | Python | icevision/metrics/confusion_matrix/__init__.py | ai-fast-track/mantisshrimp | cc6d6a4a048f6ddda2782b6593dcd6b083a673e4 | [
"Apache-2.0"
] | 580 | 2020-09-10T06:29:57.000Z | 2022-03-29T19:34:54.000Z | icevision/metrics/confusion_matrix/__init__.py | ai-fast-track/mantisshrimp | cc6d6a4a048f6ddda2782b6593dcd6b083a673e4 | [
"Apache-2.0"
] | 691 | 2020-09-05T03:08:34.000Z | 2022-03-31T23:47:06.000Z | icevision/metrics/confusion_matrix/__init__.py | lgvaz/mantisshrimp2 | 743cb7df0dae7eb1331fc2bb66fc9ca09db496cd | [
"Apache-2.0"
] | 105 | 2020-09-09T10:41:35.000Z | 2022-03-25T17:16:49.000Z | from icevision.metrics.confusion_matrix.confusion_matrix import *
| 33 | 65 | 0.878788 | 8 | 66 | 7 | 0.75 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 66 | 1 | 66 | 66 | 0.903226 | 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 |
43cfa27c30a2006c4167683587eccb3f1c15631f | 58 | py | Python | utils/__init__.py | hiroki13/instance-based-ner | 7bd8a29dfb1e13de0775b5814e8f9b27ec490008 | [
"MIT"
] | 18 | 2020-05-03T21:47:45.000Z | 2022-03-15T07:59:45.000Z | utils/__init__.py | hiroki13/instance-based-ner | 7bd8a29dfb1e13de0775b5814e8f9b27ec490008 | [
"MIT"
] | 9 | 2020-07-19T16:33:26.000Z | 2022-02-09T23:54:08.000Z | utils/__init__.py | hiroki13/instance-based-ner | 7bd8a29dfb1e13de0775b5814e8f9b27ec490008 | [
"MIT"
] | 9 | 2020-07-07T09:34:58.000Z | 2022-01-25T05:38:12.000Z | from utils.logger import *
from utils.data_utils import *
| 19.333333 | 30 | 0.793103 | 9 | 58 | 5 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 31 | 29 | 0.9 | 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 |
600c54eff18c75e6115b1d5c87252c16d565ba4e | 45 | py | Python | sources/modules/metrics/__init__.py | w4k2/decision-templates | 1184b85707fabdeebf266ce468c04bb96262affb | [
"MIT"
] | null | null | null | sources/modules/metrics/__init__.py | w4k2/decision-templates | 1184b85707fabdeebf266ce468c04bb96262affb | [
"MIT"
] | null | null | null | sources/modules/metrics/__init__.py | w4k2/decision-templates | 1184b85707fabdeebf266ce468c04bb96262affb | [
"MIT"
] | null | null | null | from .metrics import confusion_matrix_scores
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 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 |
602e7fa6d1f2b2d0f075deae66533e1b5f1396ca | 4,709 | py | Python | ltm/models.py | buzzsurfr/lbm | 01799b966bc38ef109d14131c0100c794e6e74a2 | [
"MIT"
] | null | null | null | ltm/models.py | buzzsurfr/lbm | 01799b966bc38ef109d14131c0100c794e6e74a2 | [
"MIT"
] | 20 | 2016-05-09T11:22:20.000Z | 2016-06-16T14:53:44.000Z | ltm/models.py | buzzsurfr/lbm | 01799b966bc38ef109d14131c0100c794e6e74a2 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
import netaddr
from django.db import models
from system.models import DeviceGroup
from .structures import *
class Node(models.Model):
name = models.CharField(max_length=255)
path = models.CharField(max_length=255, default='/Common')
address = models.GenericIPAddressField()... | 35.946565 | 143 | 0.775111 | 624 | 4,709 | 5.608974 | 0.161859 | 0.102857 | 0.123429 | 0.164571 | 0.788571 | 0.765429 | 0.747714 | 0.747714 | 0.681143 | 0.681143 | 0 | 0.015388 | 0.116798 | 4,709 | 130 | 144 | 36.223077 | 0.82616 | 0.092589 | 0 | 0.6875 | 0 | 0 | 0.00871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1375 | false | 0 | 0.0625 | 0.1375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
60561f6f1a2b35876eeca8c6dafd13a6fa17c2d8 | 6,390 | py | Python | tests/test_generalized_overlap_coefficient.py | shaomingyang-lab/smart-match | 7e92412f7c6cb3ab7ce6b6a1f8e366b991ff31ce | [
"MIT"
] | null | null | null | tests/test_generalized_overlap_coefficient.py | shaomingyang-lab/smart-match | 7e92412f7c6cb3ab7ce6b6a1f8e366b991ff31ce | [
"MIT"
] | null | null | null | tests/test_generalized_overlap_coefficient.py | shaomingyang-lab/smart-match | 7e92412f7c6cb3ab7ce6b6a1f8e366b991ff31ce | [
"MIT"
] | null | null | null | import unittest
import smart_match
class TestGeneralizedOverlapCoefficient(unittest.TestCase):
def setUp(self):
smart_match.use('GOC')
def test_similarity(self):
self.assertEqual(smart_match.similarity('hello', 'hero'), 0.75)
self.assertAlmostEqual(smart_match.similarity('abcd', '... | 77.926829 | 177 | 0.720814 | 769 | 6,390 | 5.889467 | 0.144343 | 0.139104 | 0.310002 | 0.369618 | 0.913447 | 0.90616 | 0.779201 | 0.661073 | 0.486862 | 0.347759 | 0 | 0.04776 | 0.154617 | 6,390 | 81 | 178 | 78.888889 | 0.790633 | 0 | 0 | 0.2 | 0 | 0 | 0.294679 | 0 | 0 | 0 | 0 | 0 | 0.814286 | 1 | 0.042857 | false | 0 | 0.028571 | 0 | 0.085714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60a75d6f65b97e7dc8786828b1a6a4ebc9dfd802 | 3,097 | py | Python | tests/test_fft_correlator.py | jr7/pypiv | e43f33a905434f57cc7a7d448a63cdab10f4a8e6 | [
"BSD-3-Clause"
] | 7 | 2017-04-01T11:13:58.000Z | 2020-06-11T19:42:11.000Z | tests/test_fft_correlator.py | jruebsam/pypiv | e43f33a905434f57cc7a7d448a63cdab10f4a8e6 | [
"BSD-3-Clause"
] | 2 | 2019-11-18T17:42:11.000Z | 2019-11-26T14:55:41.000Z | tests/test_fft_correlator.py | jruebsam/pypiv | e43f33a905434f57cc7a7d448a63cdab10f4a8e6 | [
"BSD-3-Clause"
] | 2 | 2017-03-21T10:37:06.000Z | 2020-06-22T13:29:57.000Z | import pytest
import os
import numpy as np
from pypiv import FFTCorrelator
@pytest.fixture(scope='module')
def data():
script_path = os.path.dirname(os.path.realpath(__file__))
file_path = os.path.join(script_path, 'data/center_particle.npy')
window = np.load(file_path)
size = window.shape[0]
ff... | 34.797753 | 87 | 0.680659 | 522 | 3,097 | 3.787356 | 0.111111 | 0.109762 | 0.063733 | 0.078907 | 0.825999 | 0.819929 | 0.811836 | 0.793121 | 0.793121 | 0.793121 | 0 | 0.040465 | 0.194059 | 3,097 | 88 | 88 | 35.193182 | 0.751603 | 0.076203 | 0 | 0.657143 | 0 | 0 | 0.032224 | 0.008406 | 0 | 0 | 0 | 0 | 0.257143 | 1 | 0.157143 | false | 0 | 0.057143 | 0 | 0.228571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60bbd02ff9191edcdeeff96e866eedaea981b84e | 83 | py | Python | test/toolpath/nested/image/site_scons/site_tools/subdir1/Site_TestTool3/__init__.py | dholth/scons-pytar | ebe9c46120e8e64f0b3c81df43a7810280d3580d | [
"MIT"
] | null | null | null | test/toolpath/nested/image/site_scons/site_tools/subdir1/Site_TestTool3/__init__.py | dholth/scons-pytar | ebe9c46120e8e64f0b3c81df43a7810280d3580d | [
"MIT"
] | null | null | null | test/toolpath/nested/image/site_scons/site_tools/subdir1/Site_TestTool3/__init__.py | dholth/scons-pytar | ebe9c46120e8e64f0b3c81df43a7810280d3580d | [
"MIT"
] | null | null | null | def generate(env):
env['Site_TestTool3'] = 1
def exists(env):
return 1
| 16.6 | 30 | 0.614458 | 12 | 83 | 4.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0.253012 | 83 | 4 | 31 | 20.75 | 0.758065 | 0 | 0 | 0 | 1 | 0 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
60dedf2a78bbf9e354201a901de02d5ad3b08239 | 2,164 | py | Python | epytope/Data/pssms/tepitopepan/mat/DRB4_0104_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/tepitopepan/mat/DRB4_0104_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/tepitopepan/mat/DRB4_0104_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | DRB4_0104_9 = {0: {'A': -999.0, 'E': -999.0, 'D': -999.0, 'G': -999.0, 'F': -0.98558, 'I': -0.014418, 'H': -999.0, 'K': -999.0, 'M': -0.014418, 'L': -0.014418, 'N': -999.0, 'Q': -999.0, 'P': -999.0, 'S': -999.0, 'R': -999.0, 'T': -999.0, 'W': -0.98558, 'V': -0.014418, 'Y': -0.98558}, 1: {'A': 0.0, 'E': 0.1, 'D': -1.3, ... | 2,164 | 2,164 | 0.395102 | 525 | 2,164 | 1.624762 | 0.2 | 0.114889 | 0.028136 | 0.037515 | 0.225088 | 0.143025 | 0.143025 | 0.143025 | 0.133646 | 0.133646 | 0 | 0.374724 | 0.162662 | 2,164 | 1 | 2,164 | 2,164 | 0.096026 | 0 | 0 | 0 | 0 | 0 | 0.078984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
714d03b8e7c3c08862e13d4fb7daae9c0716da16 | 152 | py | Python | comicolorization/__init__.py | DwangoMediaVillage/Comicolorization | 98f323e78baceae0b1086f01ac51b5e8a7515abb | [
"MIT"
] | 122 | 2017-08-21T10:01:07.000Z | 2022-03-21T13:52:19.000Z | comicolorization/__init__.py | DwangoMediaVillage/Comicolorization | 98f323e78baceae0b1086f01ac51b5e8a7515abb | [
"MIT"
] | 7 | 2017-10-20T15:12:13.000Z | 2022-01-30T23:04:37.000Z | comicolorization/__init__.py | DwangoMediaVillage/Comicolorization | 98f323e78baceae0b1086f01ac51b5e8a7515abb | [
"MIT"
] | 26 | 2017-08-22T08:11:20.000Z | 2022-03-09T14:59:18.000Z | from . import models
from . import dataset
from . import extensions
from . import utility
from . import loss
from . import updater
from . import drawer
| 19 | 24 | 0.769737 | 21 | 152 | 5.571429 | 0.428571 | 0.598291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 152 | 7 | 25 | 21.714286 | 0.943548 | 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 |
7160b96a8721ae865f27797cb852709bda5a6b3e | 7,328 | py | Python | src/utils/regression/__init__.py | BystrickyK/SINDy | f5b887d230079ffd60eacfe0221b47d1c288342e | [
"MIT"
] | 1 | 2021-04-12T18:22:54.000Z | 2021-04-12T18:22:54.000Z | src/utils/regression/__init__.py | BystrickyK/SINDy | f5b887d230079ffd60eacfe0221b47d1c288342e | [
"MIT"
] | 9 | 2021-03-03T14:34:41.000Z | 2021-05-13T14:03:08.000Z | src/utils/regression/__init__.py | BystrickyK/SINDy | f5b887d230079ffd60eacfe0221b47d1c288342e | [
"MIT"
] | null | null | null | from sklearn.linear_model import Ridge
import time
import numpy as np
import warnings
import matplotlib.pyplot as plt
import warnings
from copy import copy
warnings.filterwarnings("ignore")
def sequentially_thresholded_least_squares(A, b, target_str=None,
lambda_=0.05... | 36.824121 | 112 | 0.590884 | 1,006 | 7,328 | 4.184891 | 0.171968 | 0.047506 | 0.013302 | 0.016627 | 0.8962 | 0.874347 | 0.850831 | 0.825891 | 0.825891 | 0.808314 | 0 | 0.016927 | 0.282478 | 7,328 | 198 | 113 | 37.010101 | 0.783758 | 0.34798 | 0 | 0.688679 | 0 | 0 | 0.055992 | 0.013998 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028302 | false | 0 | 0.066038 | 0 | 0.122642 | 0.075472 | 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 |
71838c29753571bf716bebf32f049387319f1e7b | 75 | py | Python | test/test_smoke.py | brysnik/Scarab | a941ffd738ec4b1d066c19b7f88e74e62e4cc64f | [
"MIT"
] | null | null | null | test/test_smoke.py | brysnik/Scarab | a941ffd738ec4b1d066c19b7f88e74e62e4cc64f | [
"MIT"
] | null | null | null | test/test_smoke.py | brysnik/Scarab | a941ffd738ec4b1d066c19b7f88e74e62e4cc64f | [
"MIT"
] | null | null | null | from scarab import scarab
def test_main():
assert scarab.main() == 0
| 12.5 | 29 | 0.68 | 11 | 75 | 4.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.213333 | 75 | 5 | 30 | 15 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
71d7265cc9d78380e5421ebae8a9cda0d5136b16 | 284 | py | Python | algorithms/drawing_book.py | codrelphi/hackerrank | 622ecbc55107ac6d247b0550911f060a57038b67 | [
"MIT"
] | null | null | null | algorithms/drawing_book.py | codrelphi/hackerrank | 622ecbc55107ac6d247b0550911f060a57038b67 | [
"MIT"
] | null | null | null | algorithms/drawing_book.py | codrelphi/hackerrank | 622ecbc55107ac6d247b0550911f060a57038b67 | [
"MIT"
] | null | null | null | #! /usr/bin/python3
# -*- coding: utf-8 -*-
#=================================================================================
# author: Chancerel Codjovi (aka codrelphi)
# date: 2020-01-12
# source:
#=================================================================================
| 35.5 | 82 | 0.264085 | 16 | 284 | 4.6875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038023 | 0.073944 | 284 | 7 | 83 | 40.571429 | 0.247148 | 0.950704 | 0 | null | 0 | null | 0 | 0 | null | 1 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e07ff2f76a9e0240213a0f1f7122d9e8248bd0fc | 53 | py | Python | question5.py | gusenov/test-tech-mail-ru-python2 | 70e37a3de447b6f7c4da5add75f65df1b51405fe | [
"MIT"
] | null | null | null | question5.py | gusenov/test-tech-mail-ru-python2 | 70e37a3de447b6f7c4da5add75f65df1b51405fe | [
"MIT"
] | null | null | null | question5.py | gusenov/test-tech-mail-ru-python2 | 70e37a3de447b6f7c4da5add75f65df1b51405fe | [
"MIT"
] | null | null | null | print {i:i*2 for i in range(3)} # {0: 0, 1: 2, 2: 4} | 53 | 53 | 0.490566 | 15 | 53 | 1.733333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.245283 | 53 | 1 | 53 | 53 | 0.45 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e09cd3fe4a382fdc854989bae828b9a276fc77c4 | 1,323 | py | Python | lino_book/projects/lydia/tests/dumps/18.12.0/contacts_company.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 3 | 2016-08-25T05:58:09.000Z | 2019-12-05T11:13:45.000Z | lino_book/projects/lydia/tests/dumps/18.12.0/contacts_company.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 18 | 2016-11-12T21:38:58.000Z | 2019-12-03T17:54:38.000Z | lino_book/projects/lydia/tests/dumps/18.12.0/contacts_company.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 9 | 2016-10-15T11:12:33.000Z | 2021-09-22T04:37:37.000Z | # -*- coding: UTF-8 -*-
logger.info("Loading 25 objects to table contacts_company...")
# fields: partner_ptr, type
loader.save(create_contacts_company(100,None))
loader.save(create_contacts_company(101,None))
loader.save(create_contacts_company(102,None))
loader.save(create_contacts_company(103,None))
loader.save(creat... | 42.677419 | 62 | 0.837491 | 195 | 1,323 | 5.405128 | 0.241026 | 0.370019 | 0.379507 | 0.56926 | 0.826376 | 0.796964 | 0 | 0 | 0 | 0 | 0 | 0.06089 | 0.031746 | 1,323 | 30 | 63 | 44.1 | 0.761905 | 0.035525 | 0 | 0 | 0 | 0 | 0.036921 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
e0d09e088b79d81ed7b80f13ed8d65f48cca8176 | 40 | py | Python | phipsair/coap/__init__.py | mfrister/aioairctrl | 2e0bb43b572b6cd78608cf072b137ad68044f154 | [
"MIT"
] | null | null | null | phipsair/coap/__init__.py | mfrister/aioairctrl | 2e0bb43b572b6cd78608cf072b137ad68044f154 | [
"MIT"
] | null | null | null | phipsair/coap/__init__.py | mfrister/aioairctrl | 2e0bb43b572b6cd78608cf072b137ad68044f154 | [
"MIT"
] | null | null | null | from phipsair.coap.client import Client
| 20 | 39 | 0.85 | 6 | 40 | 5.666667 | 0.833333 | 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 |
e0dc96e02743616209bdba359646a9e33b15d520 | 20 | py | Python | Python/Code/Python3-Base/pkg/module_a.py | hiloWang/notes | 64a637a86f734e4e80975f4aa93ab47e8d7e8b64 | [
"Apache-2.0"
] | 2 | 2020-10-08T13:22:08.000Z | 2021-07-28T14:45:41.000Z | Python/Python3-Base/pkg/module_a.py | flyfire/Programming-Notes-Code | 4b1bdd74c1ba0c007c504834e4508ec39f01cd94 | [
"Apache-2.0"
] | null | null | null | Python/Python3-Base/pkg/module_a.py | flyfire/Programming-Notes-Code | 4b1bdd74c1ba0c007c504834e4508ec39f01cd94 | [
"Apache-2.0"
] | 6 | 2020-08-20T07:19:17.000Z | 2022-03-02T08:16:21.000Z | ma_a = 12
ma_b = 13
| 6.666667 | 9 | 0.6 | 6 | 20 | 1.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.3 | 20 | 2 | 10 | 10 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0fcf233cc1c62f8f699d0ab76026a8287f5f216 | 180 | py | Python | color_config.py | c0dejump/CredzCheckr | cac325b50464cf2eb853540be3efdf993c903691 | [
"MIT"
] | null | null | null | color_config.py | c0dejump/CredzCheckr | cac325b50464cf2eb853540be3efdf993c903691 | [
"MIT"
] | null | null | null | color_config.py | c0dejump/CredzCheckr | cac325b50464cf2eb853540be3efdf993c903691 | [
"MIT"
] | 1 | 2021-11-28T18:01:33.000Z | 2021-11-28T18:01:33.000Z | found = "\033[32m|-- \033[0m"
action_found = "\033[32m└──── \033[0m"
not_found = "\033[33m|-- \033[0m"
action_not_found = "\033[33m└──── \033[0m"
INFO = "\033[34m|-- \033[0m"
| 30 | 43 | 0.561111 | 31 | 180 | 3.451613 | 0.322581 | 0.233645 | 0.205607 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 0.138889 | 180 | 5 | 44 | 36 | 0.335484 | 0 | 0 | 0 | 0 | 0 | 0.565714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46092588fd46a93465c64745044c772d4179d213 | 242 | py | Python | 0-python-tutorial/08-booleans08.py | luis2ra/py3-00-w3schools | 6bb851837f8ef9520491d13fa2c909047c9b18cf | [
"MIT"
] | null | null | null | 0-python-tutorial/08-booleans08.py | luis2ra/py3-00-w3schools | 6bb851837f8ef9520491d13fa2c909047c9b18cf | [
"MIT"
] | null | null | null | 0-python-tutorial/08-booleans08.py | luis2ra/py3-00-w3schools | 6bb851837f8ef9520491d13fa2c909047c9b18cf | [
"MIT"
] | null | null | null | # Demo Python Booleans - Functions can Return a Boolean
'''
Functions can Return a Boolean
You can create functions that returns a Boolean Value:
'''
# Print the answer of a function:
def myFunction() :
return True
print(myFunction())
| 16.133333 | 55 | 0.735537 | 34 | 242 | 5.235294 | 0.617647 | 0.134831 | 0.202247 | 0.213483 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190083 | 242 | 14 | 56 | 17.285714 | 0.908163 | 0.714876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1ca28709aaf5e26f2a7689bec2ec45d20790ebb1 | 42 | py | Python | transducer/__init__.py | xiongjun19/transducer | b517f1f60177b6be2e3928a11c02784de8977672 | [
"Apache-2.0"
] | null | null | null | transducer/__init__.py | xiongjun19/transducer | b517f1f60177b6be2e3928a11c02784de8977672 | [
"Apache-2.0"
] | null | null | null | transducer/__init__.py | xiongjun19/transducer | b517f1f60177b6be2e3928a11c02784de8977672 | [
"Apache-2.0"
] | null | null | null | from .torch_binding import TransducerLoss
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 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 |
1cac13f5b11f506d57c2536eb29a4d69a902bf2d | 17,042 | py | Python | variants/tests/test_submit_filter.py | snesic/varfish-server | 2e75c4eeda6b1fe0b1ea88ff3159a40fbceb8c8a | [
"MIT"
] | null | null | null | variants/tests/test_submit_filter.py | snesic/varfish-server | 2e75c4eeda6b1fe0b1ea88ff3159a40fbceb8c8a | [
"MIT"
] | null | null | null | variants/tests/test_submit_filter.py | snesic/varfish-server | 2e75c4eeda6b1fe0b1ea88ff3159a40fbceb8c8a | [
"MIT"
] | null | null | null | """Tests for the ``file_export`` module."""
import json
from unittest.mock import patch
from requests_mock import Mocker
from test_plus.test import TestCase
from variants.tests.factories import (
SmallVariantFactory,
FilterBgJobFactory,
ProjectCasesFilterBgJobFactory,
FormDataFactory,
CaseWithVa... | 43.035354 | 190 | 0.608966 | 1,810 | 17,042 | 5.529282 | 0.128177 | 0.07494 | 0.06235 | 0.013189 | 0.802858 | 0.791867 | 0.747702 | 0.716627 | 0.70024 | 0.70024 | 0 | 0.026217 | 0.265873 | 17,042 | 395 | 191 | 43.144304 | 0.773719 | 0.046708 | 0 | 0.638806 | 0 | 0.020896 | 0.134304 | 0.07227 | 0 | 0 | 0 | 0 | 0.149254 | 1 | 0.029851 | false | 0 | 0.032836 | 0.00597 | 0.074627 | 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 |
1cd21422decfbfcb32c594fc9b53e53a0222b44d | 1,941 | py | Python | L1Trigger/L1THGCal/python/customIdentification.py | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 1 | 2019-08-09T08:42:11.000Z | 2019-08-09T08:42:11.000Z | L1Trigger/L1THGCal/python/customIdentification.py | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1THGCal/python/customIdentification.py | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 1 | 2019-03-19T13:44:54.000Z | 2019-03-19T13:44:54.000Z | import FWCore.ParameterSet.Config as cms
from L1Trigger.L1THGCal.egammaIdentification import *
def custom_identification_drnn_cone(process,
working_points=tight_wp
):
if len(working_points)!=len(working_points_drnn_cone):
raise RuntimeError('HGC TPG ID: Number of working points ({0}) not c... | 49.769231 | 126 | 0.72849 | 237 | 1,941 | 5.738397 | 0.261603 | 0.191176 | 0.094118 | 0.055882 | 0.870588 | 0.870588 | 0.870588 | 0.870588 | 0.754412 | 0.754412 | 0 | 0.008957 | 0.194745 | 1,941 | 38 | 127 | 51.078947 | 0.861164 | 0 | 0 | 0.529412 | 0 | 0 | 0.160742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.176471 | 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 |
e80e452617c5596cc02777db9c7eb79b621d0d65 | 26 | py | Python | models/backbone/__init__.py | ly-zhu/Separating-Sounds-from-a-Single-Image | 15ffdc19729a5e9ce5b851704285d38f22b6939a | [
"MIT"
] | 3 | 2020-09-05T08:55:21.000Z | 2021-04-08T00:39:32.000Z | models/backbone/__init__.py | ly-zhu/Separating-Sounds-from-a-Single-Image | 15ffdc19729a5e9ce5b851704285d38f22b6939a | [
"MIT"
] | 1 | 2021-12-25T11:12:42.000Z | 2022-01-10T11:33:48.000Z | models/backbone/__init__.py | ly-zhu/Leveraging-Category-Information-for-Single-Frame-Visual-Sound-Source-Separation | 15ffdc19729a5e9ce5b851704285d38f22b6939a | [
"MIT"
] | 1 | 2022-03-17T06:23:56.000Z | 2022-03-17T06:23:56.000Z | from . import mobilenetv2
| 13 | 25 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8125ad60269478fb1517be624d3a5933a83eea2 | 4,502 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/sol/phys/Phys_Studio_SUN_OQPSK.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/sol/phys/Phys_Studio_SUN_OQPSK.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/sol/phys/Phys_Studio_SUN_OQPSK.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.calculator_model_framework.interfaces.iphy import IPhy
class Phys_Studio_SUN_OQPSK_Sol(IPhy):
# Owner: Casey Weltzin
# Jira Link: https://jira.silabs.com/browse/PGSOLVALTEST-62, 63, 64, 69
def PHY_IEEE802154_SUN_920MHz_OQPSK_100kcps_JP(self, model, phy_name=None):
phy = self._ma... | 49.472527 | 107 | 0.721901 | 616 | 4,502 | 4.974026 | 0.146104 | 0.081593 | 0.130548 | 0.034269 | 0.913185 | 0.913185 | 0.899804 | 0.887728 | 0.887728 | 0.887728 | 0 | 0.092855 | 0.201022 | 4,502 | 91 | 108 | 49.472527 | 0.758966 | 0.229676 | 0 | 0.547619 | 0 | 0 | 0.040965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.119048 | false | 0 | 0.02381 | 0 | 0.166667 | 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 |
e826f7916228347fcd5b4a0764102a19b7948e5c | 164 | py | Python | sc2reader/scripts/__init__.py | timgates42/sc2reader | d69feb4e0be597581040588193579d29e8241431 | [
"MIT"
] | 117 | 2016-09-11T16:42:05.000Z | 2022-03-27T22:07:34.000Z | sc2reader/scripts/__init__.py | timgates42/sc2reader | d69feb4e0be597581040588193579d29e8241431 | [
"MIT"
] | 120 | 2016-01-10T17:41:45.000Z | 2022-03-28T04:46:16.000Z | sc2reader/scripts/__init__.py | timgates42/sc2reader | d69feb4e0be597581040588193579d29e8241431 | [
"MIT"
] | 58 | 2016-02-03T18:06:26.000Z | 2021-09-07T03:08:50.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals, division
# import submodules
from sc2reader.scripts import utils
| 27.333333 | 82 | 0.792683 | 20 | 164 | 6.15 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.121951 | 164 | 5 | 83 | 32.8 | 0.840278 | 0.237805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
08fd083c1cff5b436a32669353d40450745de584 | 122 | py | Python | src/pytest_alembic/__init__.py | ZipFile/pytest-alembic | f0f761e6ae2cd7764582f8c6e4c15f3623512de9 | [
"MIT"
] | 47 | 2020-04-16T20:03:04.000Z | 2022-03-23T09:51:01.000Z | src/pytest_alembic/__init__.py | ZipFile/pytest-alembic | f0f761e6ae2cd7764582f8c6e4c15f3623512de9 | [
"MIT"
] | 30 | 2020-06-26T15:46:45.000Z | 2022-03-12T17:29:38.000Z | src/pytest_alembic/__init__.py | ZipFile/pytest-alembic | f0f761e6ae2cd7764582f8c6e4c15f3623512de9 | [
"MIT"
] | 8 | 2021-03-04T16:44:22.000Z | 2022-01-21T19:16:33.000Z | # flake8: noqa
from pytest_alembic.plugin.fixtures import create_alembic_fixture
from pytest_alembic.runner import runner
| 30.5 | 65 | 0.868852 | 17 | 122 | 6 | 0.647059 | 0.196078 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.090164 | 122 | 3 | 66 | 40.666667 | 0.90991 | 0.098361 | 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 |
1c1d7aa3129b32b738cc9e2dd70874f06712e2b8 | 69 | py | Python | client_controllers/___init___.py | rcpch/digital-growth-charts-flask-client | fb6eb81df2c4f52f4b3618da456f871cb1700c4d | [
"MIT"
] | 2 | 2020-08-01T15:31:04.000Z | 2021-01-20T15:43:37.000Z | client_controllers/___init___.py | rcpch/digital-growth-charts-flask-client | fb6eb81df2c4f52f4b3618da456f871cb1700c4d | [
"MIT"
] | 3 | 2020-08-25T18:25:42.000Z | 2020-10-11T14:53:49.000Z | client_controllers/___init___.py | rcpch/digital-growth-charts-flask-client | fb6eb81df2c4f52f4b3618da456f871cb1700c4d | [
"MIT"
] | null | null | null | from chunk_file import chunk_file
from save_as_csv import save_as_csv | 34.5 | 35 | 0.898551 | 14 | 69 | 4 | 0.5 | 0.321429 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 69 | 2 | 35 | 34.5 | 0.903226 | 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 |
1c7ae965de5b92d8895cf1addfe467a92a77ad57 | 45,981 | py | Python | cogs/commands/Administrator/config_cmd.py | ylPrayForDope/death-fun | d1350bfbb819fea982fd1f37b4a57f0c0af4fd4a | [
"MIT"
] | null | null | null | cogs/commands/Administrator/config_cmd.py | ylPrayForDope/death-fun | d1350bfbb819fea982fd1f37b4a57f0c0af4fd4a | [
"MIT"
] | null | null | null | cogs/commands/Administrator/config_cmd.py | ylPrayForDope/death-fun | d1350bfbb819fea982fd1f37b4a57f0c0af4fd4a | [
"MIT"
] | null | null | null | import datetime
import inspect
import os
import discord
from discord.ext import commands
from discord.ext.commands import MissingRequiredArgument
from cogs.core.config.config_autoroles import get_autorole_mentions_list
from cogs.core.config.config_botchannel import get_botchannel_obj_list
from cogs.core.config.config... | 43.875 | 191 | 0.593506 | 5,104 | 45,981 | 5.242163 | 0.071317 | 0.043654 | 0.035955 | 0.030423 | 0.819629 | 0.798213 | 0.766146 | 0.720063 | 0.704515 | 0.690275 | 0 | 0.001258 | 0.291251 | 45,981 | 1,047 | 192 | 43.916905 | 0.819326 | 0 | 0 | 0.589537 | 0 | 0.023139 | 0.246833 | 0.01341 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002012 | false | 0 | 0.018109 | 0 | 0.04829 | 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 |
1c8ab08e6d363f2eba06c303c5770a8710fb1d97 | 19,678 | py | Python | tests/optimal_path_test.py | NextCenturyCorporation/mcs-scene-generator | e0a6ee778359cadd2de682a5006581b7a6134431 | [
"Apache-2.0"
] | 4 | 2021-02-04T03:57:52.000Z | 2022-02-08T18:19:58.000Z | tests/optimal_path_test.py | NextCenturyCorporation/mcs-scene-generator | e0a6ee778359cadd2de682a5006581b7a6134431 | [
"Apache-2.0"
] | 68 | 2021-05-06T08:52:46.000Z | 2022-03-23T16:46:03.000Z | tests/optimal_path_test.py | NextCenturyCorporation/mcs-scene-generator | e0a6ee778359cadd2de682a5006581b7a6134431 | [
"Apache-2.0"
] | 1 | 2021-02-04T03:21:57.000Z | 2021-02-04T03:21:57.000Z | import numpy
import pytest
from numpy.testing import assert_array_almost_equal_nulp
from shapely.geometry import Point
from generator import geometry, optimal_path
def test_dilate_and_unify_object_bounds():
bounds = [
{'x': -1.0, 'z': -1.0},
{'x': -1.0, 'z': 1.0},
{'x': 1.0, 'z': 1.0},
... | 34.462347 | 79 | 0.553207 | 2,839 | 19,678 | 3.63156 | 0.049313 | 0.026576 | 0.114064 | 0.058196 | 0.930747 | 0.887876 | 0.865955 | 0.802619 | 0.785063 | 0.68807 | 0 | 0.09324 | 0.236965 | 19,678 | 570 | 80 | 34.522807 | 0.593407 | 0.015906 | 0 | 0.560784 | 0 | 0 | 0.079403 | 0 | 0 | 0 | 0 | 0 | 0.262745 | 1 | 0.043137 | false | 0 | 0.009804 | 0 | 0.052941 | 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 |
1c8ba6c66974f13cde4a15d23aa6ab82e7b10380 | 169 | py | Python | openproblems/tasks/dimensionality_reduction/datasets/__init__.py | scottgigante-immunai/openproblems | d093c1a2f21715d98e07ec760eff2c8f50c68373 | [
"MIT"
] | null | null | null | openproblems/tasks/dimensionality_reduction/datasets/__init__.py | scottgigante-immunai/openproblems | d093c1a2f21715d98e07ec760eff2c8f50c68373 | [
"MIT"
] | null | null | null | openproblems/tasks/dimensionality_reduction/datasets/__init__.py | scottgigante-immunai/openproblems | d093c1a2f21715d98e07ec760eff2c8f50c68373 | [
"MIT"
] | null | null | null | from .human_blood_nestorowa2016 import human_blood_nestorowa2016
from .mouse_blood_olssen_labelled import olsson_2016_mouse_blood
from .tenx_5k_pbmc import tenx_5k_pbmc
| 42.25 | 64 | 0.911243 | 26 | 169 | 5.384615 | 0.5 | 0.142857 | 0.328571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089172 | 0.071006 | 169 | 3 | 65 | 56.333333 | 0.802548 | 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 |
98f9bbe0a146de397f74851cd912f1203b703550 | 109 | py | Python | application/market/__init__.py | dericf/yardsale-manager-ap | c0c499c235bae2850a99527ef01ab20facee22d9 | [
"MIT"
] | null | null | null | application/market/__init__.py | dericf/yardsale-manager-ap | c0c499c235bae2850a99527ef01ab20facee22d9 | [
"MIT"
] | 1 | 2021-06-02T04:06:29.000Z | 2021-06-02T04:06:29.000Z | application/market/__init__.py | dericf/yardsale-manager-api | c0c499c235bae2850a99527ef01ab20facee22d9 | [
"MIT"
] | null | null | null | from flask import Blueprint
market_blueprint = Blueprint(__name__, 'market_blueprint')
from . import routes | 21.8 | 58 | 0.816514 | 13 | 109 | 6.384615 | 0.538462 | 0.361446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119266 | 109 | 5 | 59 | 21.8 | 0.864583 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
c737fa98363874a38f0c2292f1e064392e834bb7 | 3,903 | py | Python | tests/bibkey_formatter/test_formatters/test_title_formatter.py | astamminger/zotero-bibtize | bd518c85d5ea03f952903b721e0d66e8990bd185 | [
"MIT"
] | 2 | 2019-11-20T02:46:46.000Z | 2022-03-08T18:32:32.000Z | tests/bibkey_formatter/test_formatters/test_title_formatter.py | astamminger/zotero-bibtize | bd518c85d5ea03f952903b721e0d66e8990bd185 | [
"MIT"
] | 8 | 2019-11-20T15:31:37.000Z | 2020-05-05T09:07:05.000Z | tests/bibkey_formatter/test_formatters/test_title_formatter.py | astamminger/zotero-bibtize | bd518c85d5ea03f952903b721e0d66e8990bd185 | [
"MIT"
] | null | null | null | """
Test suite for BibKey formatting sequences.
Tests the generation of key contents based on the journal entry
"""
from zotero_bibtize.bibkey_formatter import KeyFormatter
#
# Test lower journal formatting
#
def test_no_journal_lower():
key_formatter = KeyFormatter({})
key_format = '[title:lower]'
asser... | 37.528846 | 78 | 0.718934 | 471 | 3,903 | 5.732484 | 0.163482 | 0.086667 | 0.067407 | 0.110741 | 0.81963 | 0.81963 | 0.70037 | 0.70037 | 0.670741 | 0.670741 | 0 | 0.000951 | 0.19216 | 3,903 | 103 | 79 | 37.893204 | 0.855376 | 0.22803 | 0 | 0.716667 | 0 | 0 | 0.253776 | 0.068479 | 0 | 0 | 0 | 0 | 0.216667 | 1 | 0.083333 | false | 0 | 0.016667 | 0 | 0.1 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.