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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a1c856b268aeebc7840d2380fb74682b65d2fd67 | 56 | py | Python | anthill/tools/services/login/__init__.py | 0x55AAh/anthill_gaming | 475af798bd08d85fc0fbfce9d2ba710f73252c15 | [
"MIT"
] | 1 | 2018-11-30T21:56:14.000Z | 2018-11-30T21:56:14.000Z | anthill/tools/services/login/__init__.py | 0x55AAh/anthill_gaming | 475af798bd08d85fc0fbfce9d2ba710f73252c15 | [
"MIT"
] | null | null | null | anthill/tools/services/login/__init__.py | 0x55AAh/anthill_gaming | 475af798bd08d85fc0fbfce9d2ba710f73252c15 | [
"MIT"
] | null | null | null | from .. import Service
class Login(Service):
pass
| 9.333333 | 22 | 0.678571 | 7 | 56 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 56 | 5 | 23 | 11.2 | 0.883721 | 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 |
a1eb1222a9f1fc4889daec4ed5f0c967dba529c8 | 22 | py | Python | pyBASS/__init__.py | lanl/pyBASS | 968077b53ca4d9a39884b6d3ea52b6a57d8576fa | [
"BSD-3-Clause"
] | 8 | 2021-09-06T08:47:12.000Z | 2022-03-21T19:44:12.000Z | pyBASS/__init__.py | lanl/pyBASS | 968077b53ca4d9a39884b6d3ea52b6a57d8576fa | [
"BSD-3-Clause"
] | 2 | 2021-12-13T18:55:40.000Z | 2021-12-21T18:14:26.000Z | pyBASS/__init__.py | lanl/pyBASS | 968077b53ca4d9a39884b6d3ea52b6a57d8576fa | [
"BSD-3-Clause"
] | 2 | 2021-05-05T22:28:24.000Z | 2021-12-16T00:23:43.000Z | from .pyBASS import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62bf1dfe40fa9f5e0b3d5f7def61407170bcc958 | 21 | py | Python | nodebox/sound/__init__.py | mcjocobe/drawExploration | 2c50526ef14dea5bc3802b7fda08871919d62ac4 | [
"BSD-3-Clause"
] | 76 | 2015-01-21T11:21:08.000Z | 2022-02-04T13:33:19.000Z | nodebox/sound/__init__.py | mcjocobe/drawExploration | 2c50526ef14dea5bc3802b7fda08871919d62ac4 | [
"BSD-3-Clause"
] | 8 | 2015-11-12T07:42:58.000Z | 2020-06-09T10:01:15.000Z | nodebox/sound/__init__.py | mcjocobe/drawExploration | 2c50526ef14dea5bc3802b7fda08871919d62ac4 | [
"BSD-3-Clause"
] | 23 | 2015-01-12T12:07:40.000Z | 2020-04-13T16:32:15.000Z | from process import * | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 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 |
62e76a49aec3490b3224380b500745ab42d7710d | 3,355 | py | Python | test.py | imapex/CHROnIC_Bus | 3d5ce51f9ee84aad5d0aeba3759595c4f62d5cb4 | [
"MIT"
] | null | null | null | test.py | imapex/CHROnIC_Bus | 3d5ce51f9ee84aad5d0aeba3759595c4f62d5cb4 | [
"MIT"
] | null | null | null | test.py | imapex/CHROnIC_Bus | 3d5ce51f9ee84aad5d0aeba3759595c4f62d5cb4 | [
"MIT"
] | 2 | 2016-11-04T16:43:40.000Z | 2017-02-15T16:10:05.000Z | #!/usr/bin/python
import app
import unittest
ct = 'application/json'
class FlaskTestCase(unittest.TestCase):
def setUp(self):
app.app.config['TESTING'] = True
self.app = app.app.test_client()
def test_top_level_http_response(self):
resp = self.app.get('/')
self.assertEqual(r... | 36.467391 | 78 | 0.628614 | 448 | 3,355 | 4.564732 | 0.138393 | 0.102689 | 0.123716 | 0.101711 | 0.831785 | 0.822983 | 0.811736 | 0.794621 | 0.762836 | 0.746699 | 0 | 0.041808 | 0.208644 | 3,355 | 91 | 79 | 36.868132 | 0.728437 | 0.004769 | 0 | 0.597222 | 0 | 0 | 0.218095 | 0.125824 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.194444 | false | 0.013889 | 0.027778 | 0 | 0.236111 | 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 |
1a01172863bd096733f3e1119e0ba8749cf6e1d1 | 96 | py | Python | terrascript/nomad/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/nomad/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/nomad/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/nomad/__init__.py
import terrascript
class nomad(terrascript.Provider):
pass | 16 | 34 | 0.791667 | 11 | 96 | 6.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 6 | 35 | 16 | 0.857143 | 0.302083 | 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 |
1a07dce1706cb6d3fdf95f03a4c1e171f0054831 | 47 | py | Python | mountaintools/cairio/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | mountaintools/cairio/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | mountaintools/cairio/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | from .cairioclient import CairioClient, client
| 23.5 | 46 | 0.851064 | 5 | 47 | 8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1a13e8fd55e243ec52ce954ab31689f8a93fbcd5 | 4,925 | py | Python | neukrill_net/model_combination.py | Neuroglycerin/neukrill-net-tools | 133c68403128e6fcea6d6c8c8326b45443ef7f4e | [
"MIT"
] | null | null | null | neukrill_net/model_combination.py | Neuroglycerin/neukrill-net-tools | 133c68403128e6fcea6d6c8c8326b45443ef7f4e | [
"MIT"
] | null | null | null | neukrill_net/model_combination.py | Neuroglycerin/neukrill-net-tools | 133c68403128e6fcea6d6c8c8326b45443ef7f4e | [
"MIT"
] | null | null | null | """
Creates a theano based gradient descent optimiser for finding good choices of
weights to combine model predictions.
"""
import theano as th
import theano.tensor as tt
import numpy as np
def compile_model_combination_weight_optimiser(lr_adjuster = lambda h, t: h):
model_weights = tt.vector('w') # indexed over ... | 43.201754 | 87 | 0.665787 | 693 | 4,925 | 4.516595 | 0.206349 | 0.061342 | 0.04345 | 0.042173 | 0.821725 | 0.808946 | 0.782109 | 0.720447 | 0.720447 | 0.697764 | 0 | 0.009043 | 0.236548 | 4,925 | 113 | 88 | 43.584071 | 0.823404 | 0.230457 | 0 | 0.564103 | 0 | 0 | 0.044493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.038462 | 0 | 0.089744 | 0.051282 | 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 |
a7fc3dfdb7f781593a5c59dce1595b7f8099347d | 6,201 | py | Python | basic_code/load.py | Soapy-Salted-Fish-King/Emotion-FAN | 5a48f9290f48d713397761db9d72efa9220b5ef3 | [
"MIT"
] | 275 | 2019-09-11T10:22:06.000Z | 2022-03-29T07:14:31.000Z | basic_code/load.py | DebinMeng19-OpenSourceLibrary/Emotion-FAN | 874e871999a2002cd5dd9dffff2c4400c2e1805b | [
"MIT"
] | 34 | 2019-09-11T11:32:32.000Z | 2022-03-18T09:32:42.000Z | basic_code/load.py | DebinMeng19-OpenSourceLibrary/Emotion-FAN | 874e871999a2002cd5dd9dffff2c4400c2e1805b | [
"MIT"
] | 69 | 2019-09-18T19:00:17.000Z | 2022-03-08T11:43:49.000Z | from __future__ import print_function
import torch
print(torch.__version__)
import torch.utils.data
import torchvision.transforms as transforms
from basic_code import data_generator
cate2label = {'CK+':{0: 'Happy', 1: 'Angry', 2: 'Disgust', 3: 'Fear', 4: 'Sad', 5: 'Contempt', 6: 'Surprise',
'Angry... | 45.262774 | 153 | 0.587325 | 624 | 6,201 | 5.543269 | 0.160256 | 0.036427 | 0.040474 | 0.083261 | 0.832032 | 0.810639 | 0.810639 | 0.80717 | 0.80717 | 0.80717 | 0 | 0.016228 | 0.314304 | 6,201 | 136 | 154 | 45.595588 | 0.797272 | 0 | 0 | 0.630631 | 0 | 0 | 0.041606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045045 | false | 0.009009 | 0.045045 | 0 | 0.135135 | 0.018018 | 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 |
c505ec7a70aebc306a64376c725499551ec1f125 | 181 | py | Python | lab5_moduly/5.1.py | Damian9449/Python | dc9091e15356733821bbb6a768b7d5e428640340 | [
"MIT"
] | 1 | 2017-11-15T13:03:40.000Z | 2017-11-15T13:03:40.000Z | lab5_moduly/5.1.py | Damian9449/Python | dc9091e15356733821bbb6a768b7d5e428640340 | [
"MIT"
] | null | null | null | lab5_moduly/5.1.py | Damian9449/Python | dc9091e15356733821bbb6a768b7d5e428640340 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import rekurencja
import rekurencja as rek
from rekurencja import factorial
from rekurencja import fibonacci as fib
print(rekurencja.factorial(6))
print(fib(5))
| 18.1 | 39 | 0.80663 | 26 | 181 | 5.615385 | 0.538462 | 0.328767 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.116022 | 181 | 9 | 40 | 20.111111 | 0.9 | 0.088398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
c52f2cb5665c9225cc331c7afdccbd81e9901d35 | 35 | py | Python | Package/V0.0.0-beta/Scripts/monte_carlo.py | Password-Classified/Stock-Search | 517787e29de9e531e2b01ba94ee3d8a2a8928dca | [
"Unlicense"
] | 3 | 2021-11-07T20:16:54.000Z | 2022-01-24T07:47:52.000Z | Source/Scripts/monte_carlo.py | Password-Classified/Stock-Search | 517787e29de9e531e2b01ba94ee3d8a2a8928dca | [
"Unlicense"
] | null | null | null | Source/Scripts/monte_carlo.py | Password-Classified/Stock-Search | 517787e29de9e531e2b01ba94ee3d8a2a8928dca | [
"Unlicense"
] | null | null | null | from Scripts.data import get_data
| 11.666667 | 33 | 0.828571 | 6 | 35 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 34 | 17.5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c540768269f664fa57d294335d673cda2ec78edd | 98 | py | Python | tests/test_hello_world.py | sluger/myserverplugin | c66ca1cddb5ce2f530be8d0ada89a95eebb25df9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_hello_world.py | sluger/myserverplugin | c66ca1cddb5ce2f530be8d0ada89a95eebb25df9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_hello_world.py | sluger/myserverplugin | c66ca1cddb5ce2f530be8d0ada89a95eebb25df9 | [
"BSD-3-Clause"
] | null | null | null | from myserverplugin import hello_world
def test_hello_world():
assert hello_world is not None
| 16.333333 | 38 | 0.816327 | 15 | 98 | 5.066667 | 0.733333 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 39 | 19.6 | 0.915663 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c565e1279b56c770b906f3704f486f912be143b1 | 34 | py | Python | wordle/helpers.py | AntonGomes/wordle | 2e20aa84f3430d31d291e91421a6f503185d6295 | [
"MIT"
] | null | null | null | wordle/helpers.py | AntonGomes/wordle | 2e20aa84f3430d31d291e91421a6f503185d6295 | [
"MIT"
] | null | null | null | wordle/helpers.py | AntonGomes/wordle | 2e20aa84f3430d31d291e91421a6f503185d6295 | [
"MIT"
] | null | null | null | def isValid(word):
return True
| 11.333333 | 18 | 0.705882 | 5 | 34 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 2 | 19 | 17 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3dd979614c8418a0018c01535c3b6e4ddbd28cb5 | 38 | bzl | Python | tools/build_defs/apple/fb_apple_test.bzl | CrshOverride/react-native | 260c5a393fe2708f3d12c722b6d189ec3057743a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | tools/build_defs/apple/fb_apple_test.bzl | CrshOverride/react-native | 260c5a393fe2708f3d12c722b6d189ec3057743a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | tools/build_defs/apple/fb_apple_test.bzl | CrshOverride/react-native | 260c5a393fe2708f3d12c722b6d189ec3057743a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | def fb_apple_test(**kwargs):
pass
| 12.666667 | 28 | 0.684211 | 6 | 38 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 2 | 29 | 19 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9a847810c47a6b47e57b717e340b9e3dc96828a0 | 44 | py | Python | tests/__init__.py | roansong/osu-replay-parser | 70a206622b51bb8443d423f6da671bb005cb32f7 | [
"MIT"
] | 1 | 2019-12-08T07:22:56.000Z | 2019-12-08T07:22:56.000Z | tests/__init__.py | roansong/osu-replay-parser | 70a206622b51bb8443d423f6da671bb005cb32f7 | [
"MIT"
] | null | null | null | tests/__init__.py | roansong/osu-replay-parser | 70a206622b51bb8443d423f6da671bb005cb32f7 | [
"MIT"
] | null | null | null | from .replay_test import TestStandardReplay
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9a9359e91dbdb03cb73b915309f8efefc068c5f6 | 2,472 | py | Python | src/genie/libs/parser/junos/tests/Ping/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/junos/tests/Ping/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/junos/tests/Ping/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"ping": {
"address": "2001:db8:223c:2c16::2",
"data-bytes": 56,
"result": [
{
"bytes": 16,
"from": "2001:db8:223c:2c16::2",
"hlim": 64,
"icmp-seq": 0,
"time": "973.514",
... | 27.164835 | 48 | 0.264159 | 201 | 2,472 | 3.243781 | 0.283582 | 0.128834 | 0.202454 | 0.276074 | 0.638037 | 0.613497 | 0.613497 | 0.613497 | 0.613497 | 0.613497 | 0 | 0.242647 | 0.559871 | 2,472 | 90 | 49 | 27.466667 | 0.356618 | 0 | 0 | 0.333333 | 0 | 0 | 0.270227 | 0.101942 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b149686145c5f7eb3e955e98e7348ccbcc245399 | 1,453 | py | Python | storage_engine/base.py | JackInTaiwan/ViDB | d658fd4f6a1ad2d7d36bb270fde2a373d3cc965d | [
"MIT"
] | 2 | 2021-05-29T06:57:24.000Z | 2021-06-15T09:13:38.000Z | storage_engine/base.py | JackInTaiwan/ViDB | d658fd4f6a1ad2d7d36bb270fde2a373d3cc965d | [
"MIT"
] | null | null | null | storage_engine/base.py | JackInTaiwan/ViDB | d658fd4f6a1ad2d7d36bb270fde2a373d3cc965d | [
"MIT"
] | null | null | null | import abc
import json
class BaseStorageEngine(metaclass=abc.ABCMeta):
@abc.abstractmethod
def init_storage(self):
return NotImplemented
@abc.abstractmethod
def create_one(self, image:str, thumbnail:str, features, metadata:json):
return NotImplemented
@abc.abstractmethod
d... | 21.367647 | 84 | 0.689608 | 159 | 1,453 | 6.201258 | 0.27044 | 0.224138 | 0.263692 | 0.450304 | 0.647059 | 0.606491 | 0.251521 | 0.251521 | 0.135903 | 0.135903 | 0 | 0 | 0.23744 | 1,453 | 68 | 85 | 21.367647 | 0.889892 | 0.044735 | 0 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.309524 | false | 0 | 0.047619 | 0.309524 | 0.690476 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
492b33a242fdfb68a060e0d0491ea9065ba2fe0a | 4,858 | py | Python | livestyled/schemas/fields.py | andrelopez/python-sdk | 3c83d4698ecf6b5b59003d20cb26644e0dd77f61 | [
"MIT"
] | null | null | null | livestyled/schemas/fields.py | andrelopez/python-sdk | 3c83d4698ecf6b5b59003d20cb26644e0dd77f61 | [
"MIT"
] | null | null | null | livestyled/schemas/fields.py | andrelopez/python-sdk | 3c83d4698ecf6b5b59003d20cb26644e0dd77f61 | [
"MIT"
] | null | null | null | from marshmallow import class_registry, fields
from marshmallow.base import SchemaABC
class RelatedResourceLinkField(fields.Field):
def __init__(
self,
schema=None,
many=False,
microservice_aware=False,
**kwargs
):
self._schema_arg = schema
... | 38.251969 | 113 | 0.53767 | 503 | 4,858 | 4.908549 | 0.135189 | 0.198461 | 0.105306 | 0.089105 | 0.793034 | 0.782503 | 0.779263 | 0.767517 | 0.767517 | 0.767517 | 0 | 0.00317 | 0.350556 | 4,858 | 126 | 114 | 38.555556 | 0.779398 | 0 | 0 | 0.789474 | 0 | 0 | 0.038699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070175 | false | 0.017544 | 0.017544 | 0 | 0.27193 | 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 |
493ff6a4ece23b1832f3e7baa3d75f2ce1895cf2 | 26 | py | Python | make_var/__init__.py | karnigen/make_var | 536be7107099830facaa0835bed2331778fc9e94 | [
"MIT"
] | null | null | null | make_var/__init__.py | karnigen/make_var | 536be7107099830facaa0835bed2331778fc9e94 | [
"MIT"
] | null | null | null | make_var/__init__.py | karnigen/make_var | 536be7107099830facaa0835bed2331778fc9e94 | [
"MIT"
] | 1 | 2022-02-01T12:57:57.000Z | 2022-02-01T12:57:57.000Z |
from .make_var import *
| 6.5 | 23 | 0.692308 | 4 | 26 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 26 | 3 | 24 | 8.666667 | 0.85 | 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 |
494b81a2fa9658b2822d06afd8dfb953051081e9 | 21 | py | Python | tact-random/__init__.py | tactlabs/tactrandom | ff52d19eefe7c10ed17442e845f78397c8149517 | [
"MIT"
] | 2 | 2019-03-21T07:14:19.000Z | 2020-06-23T12:53:15.000Z | Lib/site-packages/numjy/random/__init__.py | Yaqiang/jythonlab | d031d85e5bd5f19943c6a410c56ceb734c533534 | [
"CNRI-Jython",
"Apache-2.0"
] | null | null | null | Lib/site-packages/numjy/random/__init__.py | Yaqiang/jythonlab | d031d85e5bd5f19943c6a410c56ceb734c533534 | [
"CNRI-Jython",
"Apache-2.0"
] | null | null | null | from .random import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49917025b5391af044654bc61bf168869c1ed2e5 | 926 | py | Python | core/admin.py | hackforthesea/hackforthesea.tech | 33b7522c13d87b26a39e9dfbdcad4067b44cda06 | [
"BSD-3-Clause"
] | 1 | 2018-09-17T04:35:06.000Z | 2018-09-17T04:35:06.000Z | core/admin.py | hackforthesea/hackforthesea.tech | 33b7522c13d87b26a39e9dfbdcad4067b44cda06 | [
"BSD-3-Clause"
] | 5 | 2021-04-08T18:28:06.000Z | 2022-02-10T08:24:03.000Z | core/admin.py | hackforthesea/hackforthesea.tech | 33b7522c13d87b26a39e9dfbdcad4067b44cda06 | [
"BSD-3-Clause"
] | 1 | 2018-09-17T04:35:08.000Z | 2018-09-17T04:35:08.000Z | from django.contrib import admin
# from .models import Sponsor, CommunityPartner, Location, Team, Participant, \
# Submission, FrequentlyAskedQuestion
# class SponsorAdmin(admin.ModelAdmin):
# pass
# class CommunityPartnerAdmin(admin.ModelAdmin):
# pass
# class LocationAdmin(admin.ModelAdmin):
# ... | 22.585366 | 79 | 0.774298 | 85 | 926 | 8.435294 | 0.294118 | 0.146444 | 0.185495 | 0.200837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12311 | 926 | 41 | 80 | 22.585366 | 0.883005 | 0.896328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4993f6406a9a73a3ef0b60cd7b6145884beaf326 | 16,925 | py | Python | koko/lib/dottext.py | TheBeachLab/kokopelli | 529b8149a951363d2a027946464ea0bb22346428 | [
"MIT"
] | null | null | null | koko/lib/dottext.py | TheBeachLab/kokopelli | 529b8149a951363d2a027946464ea0bb22346428 | [
"MIT"
] | 1 | 2018-11-23T11:52:41.000Z | 2018-11-23T11:52:41.000Z | koko/lib/dottext.py | TheBeachLab/kokopelli | 529b8149a951363d2a027946464ea0bb22346428 | [
"MIT"
] | null | null | null | # koko.lib.dottext.py
# Simple dot matrix math-string based font.
# Modified by Francisco Sanchez
# original code by Matt Keeter
# matt.keeter@cba.mit.edu
# kokompe.cba.mit.edu
################################################################################
from koko.lib.shapes2d import *
def text(text... | 25.643939 | 85 | 0.58257 | 3,585 | 16,925 | 2.71046 | 0.041004 | 0.036843 | 0.189873 | 0.113615 | 0.845837 | 0.748997 | 0.655346 | 0.528558 | 0.474118 | 0.430174 | 0 | 0.228326 | 0.181507 | 16,925 | 659 | 86 | 25.682853 | 0.473111 | 0.010281 | 0 | 0.359504 | 0 | 0 | 0.008462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.004132 | 0.002066 | null | null | 0.002066 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
49a2c5e5f75f28db4ece07e1c76aa61e3215e183 | 34 | py | Python | examples/math.lgamma/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.lgamma/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.lgamma/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | import math
print(math.lgamma(2))
| 11.333333 | 21 | 0.764706 | 6 | 34 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.088235 | 34 | 2 | 22 | 17 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
772929c5030d8fc7d1b696f173eb6effdadd4ba5 | 60 | py | Python | emlearn/tools/__init__.py | Brax94/emlearn | cc5fd962f5af601c02dfe0ec9203d1b30e6b3aef | [
"MIT"
] | 161 | 2019-03-12T16:07:20.000Z | 2022-03-31T06:24:38.000Z | emlearn/tools/__init__.py | Brax94/emlearn | cc5fd962f5af601c02dfe0ec9203d1b30e6b3aef | [
"MIT"
] | 35 | 2019-05-14T11:34:04.000Z | 2022-02-04T20:09:34.000Z | emlearn/tools/__init__.py | Brax94/emlearn | cc5fd962f5af601c02dfe0ec9203d1b30e6b3aef | [
"MIT"
] | 27 | 2019-03-11T01:09:27.000Z | 2021-12-27T22:56:04.000Z |
from . import mel_filterbank
from . import window_function
| 15 | 29 | 0.816667 | 8 | 60 | 5.875 | 0.75 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 60 | 3 | 30 | 20 | 0.921569 | 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 |
65b7e06b740affffb8bbe74670c4341e8a0bae11 | 46 | py | Python | federated_aggregations/__init__.py | tf-encrypted/federated-aggregations | b4ab7a15c2719d4119db7d9d609f8c06d9df8958 | [
"Apache-2.0"
] | 16 | 2020-08-07T05:40:09.000Z | 2022-01-08T20:32:07.000Z | federated_aggregations/__init__.py | tf-encrypted/federated-aggregations | b4ab7a15c2719d4119db7d9d609f8c06d9df8958 | [
"Apache-2.0"
] | 1 | 2020-10-14T00:18:39.000Z | 2020-10-19T14:13:03.000Z | federated_aggregations/__init__.py | tf-encrypted/federated-aggregations | b4ab7a15c2719d4119db7d9d609f8c06d9df8958 | [
"Apache-2.0"
] | 2 | 2020-09-08T10:16:28.000Z | 2021-01-14T12:33:01.000Z | from . import channels
from . import paillier
| 15.333333 | 22 | 0.782609 | 6 | 46 | 6 | 0.666667 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
028f7931e2bad42389a82de6259959a1fa81c700 | 132 | py | Python | python/testData/inspections/PyAbstractClassInspection/quickFix/AddABCToSuperclasses/main_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyAbstractClassInspection/quickFix/AddABCToSuperclasses/main_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyAbstractClassInspection/quickFix/AddABCToSuperclasses/main_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from abc import ABC
from PyAbstractClassInspection.quickFix.AddABCToSuperclasses.main_import import A1
class A2(A1, ABC):
pass | 22 | 82 | 0.818182 | 17 | 132 | 6.294118 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026087 | 0.128788 | 132 | 6 | 83 | 22 | 0.904348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
02eaab6bf16c2c54a15d969b86eae1a7ce5c0db3 | 12,444 | py | Python | ppr-api/src/ppr_api/models/search_utils.py | jordiwes/ppr | 5e0cdf75036198b87a0f46a732c0e784e5f32259 | [
"Apache-2.0"
] | 4 | 2020-01-21T21:46:42.000Z | 2021-02-24T18:30:24.000Z | ppr-api/src/ppr_api/models/search_utils.py | jordiwes/ppr | 5e0cdf75036198b87a0f46a732c0e784e5f32259 | [
"Apache-2.0"
] | 1,313 | 2019-10-18T22:48:16.000Z | 2022-03-30T17:42:47.000Z | ppr-api/src/ppr_api/models/search_utils.py | jordiwes/ppr | 5e0cdf75036198b87a0f46a732c0e784e5f32259 | [
"Apache-2.0"
] | 201 | 2019-10-18T21:34:41.000Z | 2022-03-31T20:07:42.000Z | # Copyright © 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 48.609375 | 118 | 0.696078 | 1,858 | 12,444 | 4.419268 | 0.116254 | 0.016441 | 0.037998 | 0.043844 | 0.783583 | 0.772744 | 0.752892 | 0.724029 | 0.691755 | 0.671295 | 0 | 0.01218 | 0.208293 | 12,444 | 255 | 119 | 48.8 | 0.821153 | 0.135808 | 0 | 0.715686 | 0 | 0.053922 | 0.854478 | 0.188526 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f301ed1f95018bbf5d43822d3c38f6118815c6fc | 33 | py | Python | tmr_description/src/urdf_modification/__init__.py | kentsai0319/tmr_ros1_dev | 2953f3317d2fdac8b1fc79ffbe661d3b978eb658 | [
"BSD-3-Clause"
] | null | null | null | tmr_description/src/urdf_modification/__init__.py | kentsai0319/tmr_ros1_dev | 2953f3317d2fdac8b1fc79ffbe661d3b978eb658 | [
"BSD-3-Clause"
] | null | null | null | tmr_description/src/urdf_modification/__init__.py | kentsai0319/tmr_ros1_dev | 2953f3317d2fdac8b1fc79ffbe661d3b978eb658 | [
"BSD-3-Clause"
] | null | null | null | from .urdf_modification import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 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 |
b87e84ea190a77d711f5373bbf7836621e8c7a01 | 195 | py | Python | data_sets/synthetic_review_prediction/article_0/__init__.py | Octavian-ai/graph-node-categorizer | 80fb2606ff2eebd0273cfaf756578330b6a87bb0 | [
"MIT"
] | 1 | 2017-12-15T19:36:12.000Z | 2017-12-15T19:36:12.000Z | data_sets/synthetic_review_prediction/article_0/__init__.py | Octavian-ai/basic-graph-connection | 80fb2606ff2eebd0273cfaf756578330b6a87bb0 | [
"MIT"
] | null | null | null | data_sets/synthetic_review_prediction/article_0/__init__.py | Octavian-ai/basic-graph-connection | 80fb2606ff2eebd0273cfaf756578330b6a87bb0 | [
"MIT"
] | null | null | null | from .configure import DATASET_NAME, create_data_set_properties
from .generate import run as _run
def run(client):
print(DATASET_NAME)
return _run(client, create_data_set_properties())
| 24.375 | 63 | 0.794872 | 28 | 195 | 5.178571 | 0.571429 | 0.151724 | 0.17931 | 0.317241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 195 | 7 | 64 | 27.857143 | 0.863095 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b89868403fb5e4ba6860e43dae51747244f03277 | 94 | py | Python | refgenieserver/__init__.py | databio/refgenies | 2f554de08566da6faaf6a78e06dfcb80bb609219 | [
"BSD-2-Clause"
] | 5 | 2019-07-12T16:44:58.000Z | 2020-02-03T06:04:03.000Z | refgenieserver/__init__.py | databio/refgenieserver | 2f554de08566da6faaf6a78e06dfcb80bb609219 | [
"BSD-2-Clause"
] | 53 | 2019-05-24T16:43:17.000Z | 2020-06-18T14:35:51.000Z | refgenieserver/__init__.py | databio/refgenie_server | 2f554de08566da6faaf6a78e06dfcb80bb609219 | [
"BSD-2-Clause"
] | 1 | 2019-05-29T19:47:20.000Z | 2019-05-29T19:47:20.000Z | from .const import *
from .helpers import *
from .main import *
from .server_builder import *
| 18.8 | 29 | 0.744681 | 13 | 94 | 5.307692 | 0.538462 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 94 | 4 | 30 | 23.5 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b2233a032e807f3e832c02081f15d61e8b2bfdc1 | 44 | py | Python | code/Python/hello_world_my.py | souvickroy02/Hello-World | a25bea68b2a22e68c3dffb5824e36f3fce33a8d3 | [
"MIT"
] | 63 | 2019-09-30T16:16:19.000Z | 2021-06-17T17:23:06.000Z | code/Python/hello_world_my.py | souvickroy02/Hello-World | a25bea68b2a22e68c3dffb5824e36f3fce33a8d3 | [
"MIT"
] | 242 | 2019-09-30T14:07:06.000Z | 2020-10-01T13:52:13.000Z | code/Python/hello_world_my.py | souvickroy02/Hello-World | a25bea68b2a22e68c3dffb5824e36f3fce33a8d3 | [
"MIT"
] | 743 | 2019-09-30T13:58:42.000Z | 2021-12-29T21:58:28.000Z | print("Hello World") # prints "Hello World"
| 22 | 43 | 0.704545 | 6 | 44 | 5.166667 | 0.666667 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 0.815789 | 0.454545 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b24c8eb72b047dfa1f0b814f732d1c9488a4e77b | 8,920 | py | Python | ProyectoMN/app/main.py | hakuruklis/Proyecto-Metodos-Numericos | 1e67dcfd64f62bce9f898637635fa17e3a831dcb | [
"MIT"
] | null | null | null | ProyectoMN/app/main.py | hakuruklis/Proyecto-Metodos-Numericos | 1e67dcfd64f62bce9f898637635fa17e3a831dcb | [
"MIT"
] | null | null | null | ProyectoMN/app/main.py | hakuruklis/Proyecto-Metodos-Numericos | 1e67dcfd64f62bce9f898637635fa17e3a831dcb | [
"MIT"
] | null | null | null | from flask import Flask
from flask import render_template
from flask import request
from flask import make_response
from flask import session
app = Flask(__name__)
app.secret_key = 'F12Zr47j\3yX R~X@H!jmM]Lwf/,?KT'
@app.route('/')
def index():
return render_template('index.html')
@app.route('/iniciarTest', meth... | 41.105991 | 220 | 0.576121 | 1,105 | 8,920 | 4.609955 | 0.082353 | 0.112289 | 0.141343 | 0.103651 | 0.857676 | 0.818414 | 0.818414 | 0.758736 | 0.752061 | 0.746565 | 0 | 0.107643 | 0.224103 | 8,920 | 216 | 221 | 41.296296 | 0.628377 | 0 | 0 | 0.637306 | 0 | 0 | 0.094731 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051813 | false | 0 | 0.025907 | 0.010363 | 0.129534 | 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 |
b2605a24626625fb91ca87d59aaf6bd768870172 | 137 | py | Python | fastccd_support_ioc/utils/setClocksBiasOn.py | lbl-camera/fastccd_support_ioc | 80b3820744e9aec7923af6adec0a66a0c51b2c21 | [
"BSD-3-Clause"
] | null | null | null | fastccd_support_ioc/utils/setClocksBiasOn.py | lbl-camera/fastccd_support_ioc | 80b3820744e9aec7923af6adec0a66a0c51b2c21 | [
"BSD-3-Clause"
] | 1 | 2020-08-07T22:22:25.000Z | 2020-08-07T22:22:25.000Z | fastccd_support_ioc/utils/setClocksBiasOn.py | lbl-camera/fastccd_support_ioc | 80b3820744e9aec7923af6adec0a66a0c51b2c21 | [
"BSD-3-Clause"
] | 1 | 2021-02-08T22:06:05.000Z | 2021-02-08T22:06:05.000Z | from fastccd_support_ioc.utils import cin_functions
cin_functions.WriteReg("8204", "0001", 1)
cin_functions.WriteReg("8205", "0009", 1)
| 27.4 | 51 | 0.781022 | 20 | 137 | 5.1 | 0.7 | 0.352941 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.080292 | 137 | 4 | 52 | 34.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.116788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b2967f09846ea808f68f13f98ee805a19a109e19 | 46 | py | Python | tests/test_get_general_info.py | cemsinano/pykap | b49b2c53d40aa27b68186fb8b595dd41f3c5a21b | [
"MIT"
] | 2 | 2021-06-09T06:25:23.000Z | 2022-02-14T06:42:54.000Z | tests/test_get_general_info.py | cemsinano/pykap | b49b2c53d40aa27b68186fb8b595dd41f3c5a21b | [
"MIT"
] | null | null | null | tests/test_get_general_info.py | cemsinano/pykap | b49b2c53d40aa27b68186fb8b595dd41f3c5a21b | [
"MIT"
] | null | null | null | def test_get_general_info():
assert False
| 15.333333 | 28 | 0.76087 | 7 | 46 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 29 | 23 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2a2ee690d6b7d667d9f8b1689af65175a4897b6 | 20 | py | Python | pddb/lib/__init__.py | genwch/pddb | d1f5ff9bfc29f1e9e4f3b6f53304b56224256f15 | [
"MIT"
] | null | null | null | pddb/lib/__init__.py | genwch/pddb | d1f5ff9bfc29f1e9e4f3b6f53304b56224256f15 | [
"MIT"
] | null | null | null | pddb/lib/__init__.py | genwch/pddb | d1f5ff9bfc29f1e9e4f3b6f53304b56224256f15 | [
"MIT"
] | null | null | null | from .pddb import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b2aa405f204e7c276030998aa3215886f32f9963 | 24,382 | py | Python | wolf/flows/couplings/coupling.py | andrecianflone/wolf | 826bbedc58d4d29871110349356868066a3108e6 | [
"Apache-2.0"
] | 75 | 2020-03-31T22:21:04.000Z | 2022-03-20T10:58:17.000Z | wolf/flows/couplings/coupling.py | andrecianflone/wolf | 826bbedc58d4d29871110349356868066a3108e6 | [
"Apache-2.0"
] | 3 | 2021-02-03T07:07:14.000Z | 2022-03-08T20:58:43.000Z | wolf/flows/couplings/coupling.py | andrecianflone/wolf | 826bbedc58d4d29871110349356868066a3108e6 | [
"Apache-2.0"
] | 10 | 2020-04-27T05:31:44.000Z | 2021-11-21T14:11:16.000Z | __author__ = 'max'
from overrides import overrides
from typing import Tuple, Dict
import torch
from wolf.flows.couplings.blocks import NICEConvBlock, MCFBlock, NICEMLPBlock
from wolf.flows.couplings.blocks import LocalLinearCondNet, GlobalLinearCondNet, GlobalAttnCondNet
from wolf.flows.flow import Flow
from wolf.flo... | 38.763116 | 141 | 0.558896 | 3,125 | 24,382 | 4.22496 | 0.06016 | 0.049155 | 0.014542 | 0.018178 | 0.821934 | 0.770734 | 0.74574 | 0.732637 | 0.702568 | 0.673256 | 0 | 0.01539 | 0.323107 | 24,382 | 628 | 142 | 38.824841 | 0.784598 | 0.104544 | 0 | 0.663677 | 0 | 0 | 0.045075 | 0 | 0 | 0 | 0 | 0.001592 | 0.033632 | 1 | 0.080717 | false | 0 | 0.015695 | 0.013453 | 0.192825 | 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 |
a23490ff97b503e6685840388a20a84039860bb5 | 125 | py | Python | spiral/data/__init__.py | acdaniells/spiral | d78344007969d7c991216901b4a9d3ad7d768587 | [
"BSD-3-Clause"
] | null | null | null | spiral/data/__init__.py | acdaniells/spiral | d78344007969d7c991216901b4a9d3ad7d768587 | [
"BSD-3-Clause"
] | 1 | 2020-04-01T18:39:48.000Z | 2020-04-01T18:39:48.000Z | spiral/data/__init__.py | acdaniells/spiral | d78344007969d7c991216901b4a9d3ad7d768587 | [
"BSD-3-Clause"
] | 1 | 2020-04-01T18:36:44.000Z | 2020-04-01T18:36:44.000Z | """
Spiral data subpackage.
"""
from ._core import list_datasets, load_dataset
__all__ = ["list_datasets", "load_dataset"]
| 15.625 | 46 | 0.736 | 15 | 125 | 5.533333 | 0.733333 | 0.289157 | 0.385542 | 0.554217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128 | 125 | 7 | 47 | 17.857143 | 0.761468 | 0.184 | 0 | 0 | 0 | 0 | 0.265957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a240b5e9c363c1a88ea8bcf17217f918a1857e5d | 34 | py | Python | modules/geopy/geocoders/__init__.py | flavour/lacity | fd1f1cccdcea64d07143b29d4f88996e3af35c4b | [
"MIT"
] | 1 | 2016-01-01T12:22:48.000Z | 2016-01-01T12:22:48.000Z | modules/geopy/geocoders/__init__.py | andygimma/eden | 716d5e11ec0030493b582fa67d6f1c35de0af50d | [
"MIT"
] | null | null | null | modules/geopy/geocoders/__init__.py | andygimma/eden | 716d5e11ec0030493b582fa67d6f1c35de0af50d | [
"MIT"
] | 1 | 2020-04-29T13:58:31.000Z | 2020-04-29T13:58:31.000Z | from geopy.geocoders_old import *
| 17 | 33 | 0.823529 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.9 | 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 |
a255bb6e17c2034b50e2fced42c41c41dc3184e4 | 30,204 | py | Python | postprocessing/pyplotgen/config/VariableGroupNondimMoments.py | larson-group/clubb_release | b4d671e3e238dbe00752c0dead6a0d4f9897350a | [
"Intel",
"Unlicense",
"NetCDF"
] | null | null | null | postprocessing/pyplotgen/config/VariableGroupNondimMoments.py | larson-group/clubb_release | b4d671e3e238dbe00752c0dead6a0d4f9897350a | [
"Intel",
"Unlicense",
"NetCDF"
] | null | null | null | postprocessing/pyplotgen/config/VariableGroupNondimMoments.py | larson-group/clubb_release | b4d671e3e238dbe00752c0dead6a0d4f9897350a | [
"Intel",
"Unlicense",
"NetCDF"
] | 1 | 2022-01-28T22:22:04.000Z | 2022-01-28T22:22:04.000Z | """
"""
import numpy as np
from netCDF4 import Dataset
from src.Panel import Panel
from src.VariableGroup import VariableGroup
class VariableGroupNondimMoments(VariableGroup):
"""
This class contains information for plotting normalized moments,
such as correlations or kurtosis.
"""
def __init... | 44.157895 | 133 | 0.595881 | 3,459 | 30,204 | 5.07719 | 0.043654 | 0.060756 | 0.131192 | 0.134837 | 0.89688 | 0.846771 | 0.833447 | 0.794272 | 0.777816 | 0.777702 | 0 | 0.016837 | 0.311747 | 30,204 | 683 | 134 | 44.222548 | 0.827978 | 0.306648 | 0 | 0.63747 | 0 | 0 | 0.09518 | 0.005974 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051095 | false | 0 | 0.009732 | 0 | 0.111922 | 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 |
a25dd159a122d0bd52fb9c0dbd27643c2721f9b9 | 180 | py | Python | test/test_nabla_version.py | AlbanAndrieu/nabla-hooks | 44ffbb834ebcce59b9e1c23f3789a00cbb12ac6f | [
"Apache-2.0"
] | null | null | null | test/test_nabla_version.py | AlbanAndrieu/nabla-hooks | 44ffbb834ebcce59b9e1c23f3789a00cbb12ac6f | [
"Apache-2.0"
] | 5 | 2021-04-07T20:43:26.000Z | 2022-03-01T08:42:41.000Z | test/test_nabla_version.py | AlbanAndrieu/nabla-hooks | 44ffbb834ebcce59b9e1c23f3789a00cbb12ac6f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import re
from hooks import __version__
def test_version():
# assert __version__ == '1.0.2'
assert re.match(r'^v1.0.2.+$', __version__) # nosec
| 18 | 56 | 0.627778 | 26 | 180 | 3.846154 | 0.692308 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048276 | 0.194444 | 180 | 9 | 57 | 20 | 0.641379 | 0.316667 | 0 | 0 | 0 | 0 | 0.084034 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a270d21d3dc61380b695da03858471846f869cd7 | 29 | py | Python | src/__init__.py | goodarzilab/ciberatac | 58c150813cfdf1cea160b9b2c464c382cb0f7395 | [
"BSD-3-Clause"
] | 3 | 2022-02-25T19:24:52.000Z | 2022-03-22T16:48:07.000Z | src/__init__.py | goodarzilab/ciberatac | 58c150813cfdf1cea160b9b2c464c382cb0f7395 | [
"BSD-3-Clause"
] | null | null | null | src/__init__.py | goodarzilab/ciberatac | 58c150813cfdf1cea160b9b2c464c382cb0f7395 | [
"BSD-3-Clause"
] | null | null | null | import ciberatac
import mave
| 9.666667 | 16 | 0.862069 | 4 | 29 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 2 | 17 | 14.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a296e9f4f9437379d0bce6ee891c6e014eddae96 | 46,008 | py | Python | Part2_Probabilistic_Models/w2_unittest.py | picsag/NLP | 7fe8ec5cf9636fbbe1d5dd077455f4db62800ec9 | [
"MIT"
] | null | null | null | Part2_Probabilistic_Models/w2_unittest.py | picsag/NLP | 7fe8ec5cf9636fbbe1d5dd077455f4db62800ec9 | [
"MIT"
] | null | null | null | Part2_Probabilistic_Models/w2_unittest.py | picsag/NLP | 7fe8ec5cf9636fbbe1d5dd077455f4db62800ec9 | [
"MIT"
] | null | null | null | from utils_pos import get_word_tag, preprocess
import pandas as pd
from collections import defaultdict
import math
import numpy as np
import pickle
def test_create_dictionaries(target, training_corpus, vocab):
successful_cases = 0
failed_cases = []
test_cases = [
{
"name": "default_cas... | 34.723019 | 180 | 0.364937 | 3,686 | 46,008 | 4.403147 | 0.10662 | 0.093531 | 0.04732 | 0.05915 | 0.803697 | 0.787307 | 0.7191 | 0.707332 | 0.688848 | 0.6809 | 0 | 0.176473 | 0.522366 | 46,008 | 1,324 | 181 | 34.749245 | 0.562093 | 0.011215 | 0 | 0.564165 | 0 | 0.026634 | 0.168646 | 0.053254 | 0 | 0 | 0 | 0 | 0.027441 | 1 | 0.006457 | false | 0.012914 | 0.004843 | 0 | 0.011299 | 0.046812 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 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 |
a2d9fdd419fa036f52175d9e3415841d8f5f5c1f | 4,055 | py | Python | tests/features/meta/tests/test_aggregators.py | kevinbazira/revscoring | 625f8b8048eb3c0c1c872ed9c15687c56f125747 | [
"MIT"
] | 49 | 2015-07-15T14:53:06.000Z | 2018-08-20T15:00:31.000Z | tests/features/meta/tests/test_aggregators.py | kevinbazira/revscoring | 625f8b8048eb3c0c1c872ed9c15687c56f125747 | [
"MIT"
] | 224 | 2015-06-14T23:22:43.000Z | 2018-08-08T22:52:46.000Z | tests/features/meta/tests/test_aggregators.py | kevinbazira/revscoring | 625f8b8048eb3c0c1c872ed9c15687c56f125747 | [
"MIT"
] | 36 | 2015-07-03T03:25:01.000Z | 2018-05-25T10:21:08.000Z | import pickle
from revscoring.datasources import Datasource
from revscoring.dependencies import solve
from revscoring.features.meta import aggregators
def test_sum():
my_list = Datasource("my_list")
my_sum = aggregators.sum(my_list)
cache = {my_list: [1, 2, 3, 4]}
assert solve(my_sum, cache=cache) ==... | 31.192308 | 68 | 0.614303 | 637 | 4,055 | 3.711146 | 0.072214 | 0.142132 | 0.125635 | 0.068528 | 0.906514 | 0.889594 | 0.859137 | 0.825296 | 0.825296 | 0.798646 | 0 | 0.027488 | 0.219482 | 4,055 | 129 | 69 | 31.434109 | 0.719431 | 0 | 0 | 0.663366 | 0 | 0 | 0.033539 | 0.018002 | 0 | 0 | 0 | 0 | 0.376238 | 1 | 0.089109 | false | 0 | 0.039604 | 0 | 0.128713 | 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 |
a2f587a4e8ce39c071b8b287c0d083d8bb6c6391 | 36,729 | py | Python | pyke/krb_compiler/krbparser_tables.py | jhidding/pyke | 0fbf34612a7648b5b096de4a6749325e205dfc2a | [
"MIT"
] | null | null | null | pyke/krb_compiler/krbparser_tables.py | jhidding/pyke | 0fbf34612a7648b5b096de4a6749325e205dfc2a | [
"MIT"
] | null | null | null | pyke/krb_compiler/krbparser_tables.py | jhidding/pyke | 0fbf34612a7648b5b096de4a6749325e205dfc2a | [
"MIT"
] | null | null | null |
# /home/bruce/python/workareas/pyke-hg/r1_working/pyke/krb_compiler/krbparser_tables.py
# This file is automatically generated. Do not edit.
_tabversion = '3.2'
_lr_method = 'LALR'
_lr_signature = '`\xa3O\x17\xd6C\xd4E2\xb5\xf60wIM\xd9'
_lr_action_items = {'TAKING_TOK':([142,161,187,216,],[-66,188,-66,240,]),'L... | 243.238411 | 12,017 | 0.721283 | 7,265 | 36,729 | 3.478458 | 0.07075 | 0.043449 | 0.072415 | 0.115864 | 0.672827 | 0.64849 | 0.620553 | 0.596375 | 0.58023 | 0.569032 | 0 | 0.274274 | 0.026981 | 36,729 | 150 | 12,018 | 244.86 | 0.432845 | 0.003703 | 0 | 0.014184 | 1 | 0.858156 | 0.506928 | 0.273743 | 0 | 0 | 0 | 0 | 0.070922 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c14a4972373d6e64a2114e6bc1e20049e46ea58 | 652 | py | Python | src/spaceone/monitoring/info/__init__.py | jean1042/monitoring | 0585a1ea52ec13285eaca81cc5b19fa3f7a1fba4 | [
"Apache-2.0"
] | 5 | 2020-06-04T23:01:30.000Z | 2020-09-09T08:58:51.000Z | src/spaceone/monitoring/info/__init__.py | jean1042/monitoring | 0585a1ea52ec13285eaca81cc5b19fa3f7a1fba4 | [
"Apache-2.0"
] | 8 | 2021-11-12T08:13:00.000Z | 2022-03-28T11:13:12.000Z | src/spaceone/monitoring/info/__init__.py | jean1042/monitoring | 0585a1ea52ec13285eaca81cc5b19fa3f7a1fba4 | [
"Apache-2.0"
] | 7 | 2020-06-10T01:56:35.000Z | 2021-12-02T05:36:21.000Z | from spaceone.monitoring.info.common_info import *
from spaceone.monitoring.info.data_source_info import *
from spaceone.monitoring.info.metric_info import *
from spaceone.monitoring.info.log_info import *
from spaceone.monitoring.info.project_alert_config_info import *
from spaceone.monitoring.info.escalation_policy_i... | 50.153846 | 64 | 0.852761 | 90 | 652 | 5.977778 | 0.233333 | 0.267658 | 0.490706 | 0.579926 | 0.754647 | 0.754647 | 0.152416 | 0 | 0 | 0 | 0 | 0 | 0.07362 | 652 | 12 | 65 | 54.333333 | 0.890728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
0c1a0fecf34dace52dc6da81e3a24b419c9e73d5 | 105 | py | Python | inclusive_django_range_fields/drf/__init__.py | Hipo/inclusive-django-range-fields | f40d915fc8bfbfda5cba59fcabb1831fae486fd4 | [
"MIT"
] | 16 | 2019-12-19T13:35:54.000Z | 2021-08-16T20:59:45.000Z | inclusive_django_range_fields/drf/__init__.py | Hipo/inclusive-django-range-fields | f40d915fc8bfbfda5cba59fcabb1831fae486fd4 | [
"MIT"
] | 1 | 2020-02-07T11:39:38.000Z | 2020-02-07T11:39:38.000Z | inclusive_django_range_fields/drf/__init__.py | Hipo/inclusive-django-range-fields | f40d915fc8bfbfda5cba59fcabb1831fae486fd4 | [
"MIT"
] | null | null | null | from inclusive_django_range_fields.drf.fields import InclusiveIntegerRangeField, InclusiveDateRangeField
| 52.5 | 104 | 0.92381 | 10 | 105 | 9.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 105 | 1 | 105 | 105 | 0.94 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0c3f5db4183a8fb4a833799f5fc1535a3848610e | 5,128 | py | Python | tests/rules/test_IAMRolesOverprivilegedRule.py | lpmi-13/cfripper | 36bfdc45855112496977806e1a93d98d010399ed | [
"Apache-2.0"
] | 360 | 2018-08-08T12:34:58.000Z | 2022-03-25T17:01:41.000Z | tests/rules/test_IAMRolesOverprivilegedRule.py | lpmi-13/cfripper | 36bfdc45855112496977806e1a93d98d010399ed | [
"Apache-2.0"
] | 40 | 2018-11-26T07:08:15.000Z | 2022-03-02T09:10:45.000Z | tests/rules/test_IAMRolesOverprivilegedRule.py | lpmi-13/cfripper | 36bfdc45855112496977806e1a93d98d010399ed | [
"Apache-2.0"
] | 51 | 2018-11-09T11:46:32.000Z | 2022-03-28T08:47:28.000Z | import pytest
from pycfmodel.model.cf_model import CFModel
from cfripper.model.enums import RuleGranularity, RuleMode, RuleRisk
from cfripper.model.result import Failure
from cfripper.rules.iam_roles import IAMRolesOverprivilegedRule
from tests.utils import compare_lists_of_failures, get_cfmodel_from
@pytest.fixture... | 34.648649 | 133 | 0.713534 | 544 | 5,128 | 6.356618 | 0.147059 | 0.069983 | 0.092539 | 0.099769 | 0.836032 | 0.812319 | 0.799884 | 0.768074 | 0.759399 | 0.689705 | 0 | 0.000742 | 0.211388 | 5,128 | 147 | 134 | 34.884354 | 0.854352 | 0 | 0 | 0.584071 | 0 | 0 | 0.185062 | 0.132995 | 0 | 0 | 0 | 0 | 0.123894 | 1 | 0.115044 | false | 0 | 0.053097 | 0.053097 | 0.221239 | 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 |
a749a396f15188ef345b4ae7c53017b6004c5e71 | 52,457 | py | Python | tensorflow/contrib/bayesflow/python/ops/layers_dense_variational_impl.py | harunpehlivan/tensorflow | 376e2cfdab31f4da251ea2e50992a9bf97fd171b | [
"Apache-2.0"
] | 22 | 2018-01-13T14:52:47.000Z | 2018-07-05T01:00:28.000Z | tensorflow/contrib/bayesflow/python/ops/layers_dense_variational_impl.py | hamzabekkouri/tensorflow | d87a9fbbc5f49ec5ae8eb52c62628f0b1a0bf67f | [
"Apache-2.0"
] | null | null | null | tensorflow/contrib/bayesflow/python/ops/layers_dense_variational_impl.py | hamzabekkouri/tensorflow | d87a9fbbc5f49ec5ae8eb52c62628f0b1a0bf67f | [
"Apache-2.0"
] | 3 | 2018-01-20T06:47:34.000Z | 2018-05-07T19:14:34.000Z | # Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 45.734089 | 116 | 0.737251 | 6,730 | 52,457 | 5.54948 | 0.054829 | 0.042171 | 0.030952 | 0.031488 | 0.901253 | 0.880342 | 0.858145 | 0.849256 | 0.838867 | 0.831852 | 0 | 0.002104 | 0.184646 | 52,457 | 1,146 | 117 | 45.773997 | 0.871104 | 0.628972 | 0 | 0.595745 | 0 | 0 | 0.035899 | 0.015754 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040189 | false | 0 | 0.040189 | 0 | 0.122931 | 0.002364 | 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 |
a75472f4b186ce4433399e3535634ff879b1b81c | 58 | py | Python | dsb2015/models/__init__.py | rmunoz12/dsb2015 | 5f277658ecd49a1fd751c897367715811fa81668 | [
"MIT"
] | null | null | null | dsb2015/models/__init__.py | rmunoz12/dsb2015 | 5f277658ecd49a1fd751c897367715811fa81668 | [
"MIT"
] | null | null | null | dsb2015/models/__init__.py | rmunoz12/dsb2015 | 5f277658ecd49a1fd751c897367715811fa81668 | [
"MIT"
] | null | null | null | from .alexnet import get_alexnet
from .vgg import get_vgg
| 19.333333 | 32 | 0.827586 | 10 | 58 | 4.6 | 0.5 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 33 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a773118785193ba98c5f10f1dd015dc36d732948 | 169 | py | Python | ProgressReport2/Testing.py | TainedeBlaze/EEE3097S-Project | 93772557d9a795cb8411657d08d9a44f640ba1ee | [
"MIT"
] | null | null | null | ProgressReport2/Testing.py | TainedeBlaze/EEE3097S-Project | 93772557d9a795cb8411657d08d9a44f640ba1ee | [
"MIT"
] | null | null | null | ProgressReport2/Testing.py | TainedeBlaze/EEE3097S-Project | 93772557d9a795cb8411657d08d9a44f640ba1ee | [
"MIT"
] | null | null | null | import glob
import os
#os.system('python3 SendData.py ' + "IMU-data-2021-10-25-20:38:19.csv" )
os.system('python3 RecieveData.py' + " encrypted_fileofIMU.txt") | 28.166667 | 73 | 0.692308 | 26 | 169 | 4.461538 | 0.769231 | 0.137931 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110345 | 0.142012 | 169 | 6 | 74 | 28.166667 | 0.689655 | 0.420118 | 0 | 0 | 0 | 0 | 0.494624 | 0.247312 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7a600f9a55e01c7109c32fa9272219902c3de44 | 113 | py | Python | tests/basetest.py | NerdPraise/UKUFU-TASK | 3f3018a1d50706fa23fdacd13f644669c10406f0 | [
"MIT"
] | null | null | null | tests/basetest.py | NerdPraise/UKUFU-TASK | 3f3018a1d50706fa23fdacd13f644669c10406f0 | [
"MIT"
] | null | null | null | tests/basetest.py | NerdPraise/UKUFU-TASK | 3f3018a1d50706fa23fdacd13f644669c10406f0 | [
"MIT"
] | null | null | null | from rest_framework.test import APITestCase
# Create your tests here.
class BaseTestCase(APITestCase):
pass
| 18.833333 | 43 | 0.79646 | 14 | 113 | 6.357143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150442 | 113 | 5 | 44 | 22.6 | 0.927083 | 0.20354 | 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 |
ac2c63dca724299b8cea31fb72410cb5561b6f1e | 194 | py | Python | day-11/package_demo/package1/pathprint.py | JohnLockwood/100-days-of-python | 352b3b0861e1e1228b54079e39c1d0a83ef9af6c | [
"Apache-2.0"
] | null | null | null | day-11/package_demo/package1/pathprint.py | JohnLockwood/100-days-of-python | 352b3b0861e1e1228b54079e39c1d0a83ef9af6c | [
"Apache-2.0"
] | null | null | null | day-11/package_demo/package1/pathprint.py | JohnLockwood/100-days-of-python | 352b3b0861e1e1228b54079e39c1d0a83ef9af6c | [
"Apache-2.0"
] | null | null | null | """Demo module to show python search path"""
import sys
import pprint
def print_path():
"""Pretty print the system path"""
print("Printing the search path:")
pprint.pprint(sys.path) | 24.25 | 44 | 0.695876 | 28 | 194 | 4.785714 | 0.571429 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180412 | 194 | 8 | 45 | 24.25 | 0.842767 | 0.345361 | 0 | 0 | 0 | 0 | 0.213675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0.8 | 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 |
3bc2aa086fed44b5e36a5921fabb9eeb08aa65ae | 81 | py | Python | mitreattack/__init__.py | wetkind/mitreattack-python | f2406cac6b8d104d280712fccf9c50637ae05fbb | [
"Apache-2.0"
] | 137 | 2021-04-06T17:40:20.000Z | 2022-03-30T18:27:44.000Z | mitreattack/__init__.py | wetkind/mitreattack-python | f2406cac6b8d104d280712fccf9c50637ae05fbb | [
"Apache-2.0"
] | 33 | 2021-04-07T13:41:39.000Z | 2022-03-25T14:37:40.000Z | mitreattack/__init__.py | wetkind/mitreattack-python | f2406cac6b8d104d280712fccf9c50637ae05fbb | [
"Apache-2.0"
] | 29 | 2021-04-06T21:14:40.000Z | 2022-03-31T15:26:27.000Z | from .attackToExcel import *
from .navlayers import *
from .collections import *
| 20.25 | 28 | 0.777778 | 9 | 81 | 7 | 0.555556 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 29 | 27 | 0.913043 | 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 |
ce3f6d2c4d9cecf42f273ac3ac1ebe1a697d9983 | 167 | py | Python | xgp/tests/test_regressor.py | MaxHalford/xgp-python | f93059f46dedd8712578a2bd0f45e5f9f18a2c63 | [
"BSD-3-Clause"
] | 7 | 2018-05-24T07:57:56.000Z | 2021-11-16T17:34:26.000Z | xgp/tests/test_regressor.py | MaxHalford/xgp-python | f93059f46dedd8712578a2bd0f45e5f9f18a2c63 | [
"BSD-3-Clause"
] | 2 | 2018-06-01T17:02:35.000Z | 2020-03-15T07:09:53.000Z | xgp/tests/test_regressor.py | MaxHalford/xgp-python | f93059f46dedd8712578a2bd0f45e5f9f18a2c63 | [
"BSD-3-Clause"
] | 1 | 2021-11-16T17:34:27.000Z | 2021-11-16T17:34:27.000Z | from sklearn.utils.estimator_checks import check_estimator
import xgp
def test_regressor_check_estimator():
return
return check_estimator(xgp.XGPRegressor)
| 18.555556 | 58 | 0.820359 | 21 | 167 | 6.238095 | 0.619048 | 0.320611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131737 | 167 | 8 | 59 | 20.875 | 0.903448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.8 | 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 |
ce445002912c2b7e95efb447384b2ade20749c71 | 38,400 | py | Python | textadapter/tests/test_TextAdapter.py | ContinuumIO/TextAdapter | 53138c2277cdfcf32e127251313d4f77f81050aa | [
"BSD-3-Clause"
] | 22 | 2016-11-09T12:20:04.000Z | 2021-02-07T03:07:58.000Z | textadapter/tests/test_TextAdapter.py | blaze/TextAdapter | 53138c2277cdfcf32e127251313d4f77f81050aa | [
"BSD-3-Clause"
] | 3 | 2016-11-01T03:43:03.000Z | 2017-02-27T20:19:05.000Z | textadapter/tests/test_TextAdapter.py | ContinuumIO/TextAdapter | 53138c2277cdfcf32e127251313d4f77f81050aa | [
"BSD-3-Clause"
] | 9 | 2017-01-31T21:28:57.000Z | 2021-12-15T04:22:53.000Z | #!/usr/bin/python
import sys
import textadapter
import unittest
from .generate import (generate_dataset, IntIter,
MissingValuesIter, FixedWidthIter)
import numpy as np
from numpy.testing import assert_array_equal
import gzip
import os
import io
from six import StringIO
class TestTextAdapter(uni... | 45.229682 | 167 | 0.572865 | 5,412 | 38,400 | 3.947709 | 0.06966 | 0.073391 | 0.093517 | 0.083969 | 0.801498 | 0.782588 | 0.74037 | 0.71561 | 0.690475 | 0.675029 | 0 | 0.066767 | 0.239036 | 38,400 | 848 | 168 | 45.283019 | 0.664385 | 0.054271 | 0 | 0.564189 | 1 | 0.016892 | 0.087573 | 0.014969 | 0 | 0 | 0 | 0.001179 | 0.244932 | 1 | 0.054054 | false | 0.003378 | 0.016892 | 0.003378 | 0.086149 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02241afd4e395cfa694093e2c540b15b145886cb | 6,634 | py | Python | tests/test_polyloxpgen.py | hoefer-lab/polyloxpgen | 4edd2c9f5197da5963c7b863c415ade57e9df77b | [
"MIT"
] | null | null | null | tests/test_polyloxpgen.py | hoefer-lab/polyloxpgen | 4edd2c9f5197da5963c7b863c415ade57e9df77b | [
"MIT"
] | null | null | null | tests/test_polyloxpgen.py | hoefer-lab/polyloxpgen | 4edd2c9f5197da5963c7b863c415ade57e9df77b | [
"MIT"
] | null | null | null |
### this requires pip install pytest
### if installed, run >>> pytest within the /tests or /polyloxpgen (package) directory
import polyloxpgen.merge
import polyloxpgen.pgen
import numpy as np
import pandas as pd
import os
import time
def test_single_sample_output_bc1020_ld2017():
floc = os.path.join(os.path.dirn... | 49.879699 | 118 | 0.666265 | 989 | 6,634 | 4.239636 | 0.115268 | 0.064393 | 0.085857 | 0.110184 | 0.88457 | 0.855235 | 0.814214 | 0.790842 | 0.76103 | 0.735989 | 0 | 0.054671 | 0.194905 | 6,634 | 132 | 119 | 50.257576 | 0.730388 | 0.126771 | 0 | 0.345679 | 0 | 0 | 0.149722 | 0.054129 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.037037 | false | 0 | 0.074074 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02324eb2023ae43c54f682a4a2f604864324c111 | 81,093 | py | Python | src/sniffmypacketsv2/transforms/common/protocols/ssh.py | SneakersInc/sniffmypacketsv2 | 55d8ff70eedb4dd948351425c25a1e904ea6d50e | [
"Apache-2.0"
] | 11 | 2015-01-01T19:44:04.000Z | 2020-03-26T07:30:26.000Z | src/sniffmypacketsv2/transforms/common/protocols/ssh.py | SneakersInc/sniffmypacketsv2 | 55d8ff70eedb4dd948351425c25a1e904ea6d50e | [
"Apache-2.0"
] | 8 | 2015-01-01T22:45:59.000Z | 2015-12-12T10:37:50.000Z | src/sniffmypacketsv2/transforms/common/protocols/ssh.py | SneakersInc/sniffmypacketsv2 | 55d8ff70eedb4dd948351425c25a1e904ea6d50e | [
"Apache-2.0"
] | 3 | 2017-06-04T05:18:24.000Z | 2020-03-26T07:30:27.000Z | import binascii
import base64
from scapy.layers.inet import *
import dissector
preprocess_sessions = []
sessions = []
def is_created_stream_session(Src, Dst, SPort, DPort):
"""
this method is used for purpose of tcp stream reassemble,
for checking if this is a new session of not.
@param Src: sourc... | 52.318065 | 79 | 0.538308 | 8,463 | 81,093 | 4.784001 | 0.043247 | 0.087312 | 0.08457 | 0.039124 | 0.851113 | 0.809544 | 0.770494 | 0.723911 | 0.702102 | 0.676341 | 0 | 0.034843 | 0.378874 | 81,093 | 1,549 | 80 | 52.35184 | 0.768965 | 0.051484 | 0 | 0.549211 | 0 | 0 | 0.059819 | 0.037685 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015026 | false | 0.019534 | 0.003005 | 0 | 0.049587 | 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 |
0233c3488fd9dccd4d51d85f3b620c8d634b6e50 | 124 | py | Python | src/texttest/repo_checks/test_gocdrepos.py | pagero/gocd-pipeline-builder | 6db292757f15583438c2afe5b8303398629ef585 | [
"MIT"
] | 12 | 2016-01-21T21:37:17.000Z | 2021-08-13T20:24:37.000Z | src/texttest/repo_checks/test_gocdrepos.py | pagero/gocd-pipeline-builder | 6db292757f15583438c2afe5b8303398629ef585 | [
"MIT"
] | 1 | 2017-03-14T13:02:28.000Z | 2017-03-14T13:02:28.000Z | src/texttest/repo_checks/test_gocdrepos.py | pagero/gocd-pipeline-builder | 6db292757f15583438c2afe5b8303398629ef585 | [
"MIT"
] | 5 | 2015-09-23T09:17:22.000Z | 2019-10-07T12:32:18.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from gocdpb import gocdpb
import sys
gocdpb.repos(sys.argv)
| 17.714286 | 38 | 0.758065 | 18 | 124 | 4.944444 | 0.611111 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.137097 | 124 | 6 | 39 | 20.666667 | 0.82243 | 0.169355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
026f2ed903657bbd43cd041ed295e1916f2af061 | 115 | py | Python | app/util/__init__.py | TIHLDE/Lepton | 60ec0793381f1c1b222f305586e8c2d4345fb566 | [
"MIT"
] | 7 | 2021-03-04T18:49:12.000Z | 2021-03-08T18:25:51.000Z | app/util/__init__.py | TIHLDE/Lepton | 60ec0793381f1c1b222f305586e8c2d4345fb566 | [
"MIT"
] | 251 | 2021-03-04T19:19:14.000Z | 2022-03-31T14:47:53.000Z | app/util/__init__.py | tihlde/Lepton | 5cab3522c421b76373a5c25f49267cfaef7b826a | [
"MIT"
] | 3 | 2021-10-05T19:03:04.000Z | 2022-02-25T13:32:09.000Z | from app.util.enum_utils import EnumUtils
from app.util.utils import now, yesterday, disable_for_loaddata, week_nr
| 38.333333 | 72 | 0.843478 | 19 | 115 | 4.894737 | 0.736842 | 0.150538 | 0.236559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095652 | 115 | 2 | 73 | 57.5 | 0.894231 | 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 |
027d009ac98880f7d298de5af5c096ca8e670643 | 45 | py | Python | stonkclonk/__init__.py | MLH-Fellowship/kk-r1-orientation | d4f5f32c36a0d40a339798b7403c2be7f6e1cc93 | [
"MIT"
] | 1 | 2021-09-08T11:59:25.000Z | 2021-09-08T11:59:25.000Z | stonkclonk/__init__.py | MLH-Fellowship/stonk-clonk | d4f5f32c36a0d40a339798b7403c2be7f6e1cc93 | [
"MIT"
] | 3 | 2021-02-07T18:35:38.000Z | 2021-02-08T19:21:34.000Z | stonkclonk/__init__.py | MLH-Fellowship/stonk-clonk | d4f5f32c36a0d40a339798b7403c2be7f6e1cc93 | [
"MIT"
] | null | null | null | from stonkclonk.stonkclonk import StonkClonk
| 22.5 | 44 | 0.888889 | 5 | 45 | 8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 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 |
0283a82a2d5783d4ec978eccfd98572cda4e2201 | 406 | py | Python | cedar/cedar_settings.py | stewardshiptools/stewardshiptools | ee5d27e7b0d5d4947f34ad02bdf63a06ad0a5c3e | [
"MIT"
] | null | null | null | cedar/cedar_settings.py | stewardshiptools/stewardshiptools | ee5d27e7b0d5d4947f34ad02bdf63a06ad0a5c3e | [
"MIT"
] | 11 | 2020-03-24T15:29:46.000Z | 2022-03-11T23:14:48.000Z | cedar/cedar_settings.py | stewardshiptools/stewardshiptools | ee5d27e7b0d5d4947f34ad02bdf63a06ad0a5c3e | [
"MIT"
] | null | null | null | from cedar_settings.default_settings import default_settings
from django.contrib.staticfiles.templatetags.staticfiles import static
default_settings['cedar__default_support_url'] = ('text', 'http://www.cedarbox.ca/support/')
default_settings['cedar__default_splash_page_background_img'] = ('text', static('css/cedar8_... | 40.6 | 109 | 0.817734 | 50 | 406 | 6.22 | 0.56 | 0.241158 | 0.192926 | 0.26045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010471 | 0.059113 | 406 | 9 | 110 | 45.111111 | 0.803665 | 0 | 0 | 0 | 0 | 0 | 0.406404 | 0.302956 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ce4ad5c39f175d199e98d62a509e2bbdb108efa2 | 16,495 | py | Python | ee/api/test/test_property_definition.py | ld-rale/posthog | 0fa5b18b2e940cf5cdbe8afc733eb7e3cd4ae810 | [
"MIT"
] | null | null | null | ee/api/test/test_property_definition.py | ld-rale/posthog | 0fa5b18b2e940cf5cdbe8afc733eb7e3cd4ae810 | [
"MIT"
] | null | null | null | ee/api/test/test_property_definition.py | ld-rale/posthog | 0fa5b18b2e940cf5cdbe8afc733eb7e3cd4ae810 | [
"MIT"
] | null | null | null | import urllib.parse
from typing import cast
import pytest
from django.db.utils import IntegrityError
from django.utils import timezone
from rest_framework import status
from ee.models.license import License, LicenseManager
from ee.models.property_definition import EnterprisePropertyDefinition
from posthog.models impo... | 57.274306 | 151 | 0.693362 | 1,941 | 16,495 | 5.704276 | 0.093251 | 0.102962 | 0.130871 | 0.06828 | 0.831828 | 0.814487 | 0.787392 | 0.750903 | 0.72715 | 0.706286 | 0 | 0.01754 | 0.16702 | 16,495 | 287 | 152 | 57.473868 | 0.788282 | 0.027281 | 0 | 0.516529 | 0 | 0.028926 | 0.215048 | 0.10899 | 0 | 0 | 0 | 0 | 0.338843 | 1 | 0.053719 | false | 0 | 0.049587 | 0 | 0.107438 | 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 |
ce7f099ef37b6fb26a3014bad92553275b1aedbb | 117 | py | Python | tests/test_poly.py | appeltel/smath2018b | 713ab0c14e86e2b028efb7f29156216226cb9aa2 | [
"MIT"
] | null | null | null | tests/test_poly.py | appeltel/smath2018b | 713ab0c14e86e2b028efb7f29156216226cb9aa2 | [
"MIT"
] | null | null | null | tests/test_poly.py | appeltel/smath2018b | 713ab0c14e86e2b028efb7f29156216226cb9aa2 | [
"MIT"
] | null | null | null | """
Tests for the poly module
"""
from smath2018b.poly import square
def test_square():
assert square(4) == 16
| 13 | 34 | 0.683761 | 17 | 117 | 4.647059 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074468 | 0.196581 | 117 | 8 | 35 | 14.625 | 0.765957 | 0.213675 | 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 |
ced0c9214adf612de961eeb0c70c0f1144ab432d | 578 | py | Python | ds2/disjointsets/__init__.py | aslisabanci/datastructures | f7952801245bc8d386a03d92a38121f558bdacca | [
"MIT"
] | 159 | 2017-10-02T22:03:14.000Z | 2022-03-10T23:02:22.000Z | ds2/disjointsets/__init__.py | aslisabanci/datastructures | f7952801245bc8d386a03d92a38121f558bdacca | [
"MIT"
] | 9 | 2019-02-04T14:55:09.000Z | 2021-06-05T13:30:28.000Z | ds2/disjointsets/__init__.py | aslisabanci/datastructures | f7952801245bc8d386a03d92a38121f558bdacca | [
"MIT"
] | 49 | 2017-09-29T17:51:16.000Z | 2022-03-10T23:12:17.000Z | from ds2.disjointsets.disjointsets import ( DisjointSetsMapping,
DisjointSetsLabels,
DisjointSetsForest,
DisjointSetsPathCompression,
DisjointSe... | 57.8 | 72 | 0.349481 | 13 | 578 | 15.538462 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004695 | 0.631488 | 578 | 9 | 73 | 64.222222 | 0.943662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
0c66c2b32fed219c563c0f8fe8737923cc3c43fe | 78 | py | Python | tests/integration/testdata/buildcmd/Provided/main.py | renanmontebelo/aws-sam-cli | b5cfc46aa9726b5cd006df8ecc08d1b4eedeb9ea | [
"BSD-2-Clause",
"Apache-2.0"
] | 2,959 | 2018-05-08T21:48:56.000Z | 2020-08-24T14:35:39.000Z | tests/integration/testdata/buildcmd/Provided/main.py | renanmontebelo/aws-sam-cli | b5cfc46aa9726b5cd006df8ecc08d1b4eedeb9ea | [
"BSD-2-Clause",
"Apache-2.0"
] | 1,469 | 2018-05-08T22:44:28.000Z | 2020-08-24T20:19:24.000Z | tests/integration/testdata/buildcmd/Provided/main.py | renanmontebelo/aws-sam-cli | b5cfc46aa9726b5cd006df8ecc08d1b4eedeb9ea | [
"BSD-2-Clause",
"Apache-2.0"
] | 642 | 2018-05-08T22:09:19.000Z | 2020-08-17T09:04:37.000Z | import requests
def handler(event, context):
return requests.__version__
| 15.6 | 31 | 0.782051 | 9 | 78 | 6.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 4 | 32 | 19.5 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0c854d40c9b64db59e0fdb632d28f7965488f92e | 113 | py | Python | unclassifiers/config.py | infralight/terraform-unclassifier | edb81b86f1c53eb1a3aaf37ca59d054e2145e1e7 | [
"Apache-2.0"
] | 5 | 2021-01-11T10:04:32.000Z | 2021-06-07T11:19:51.000Z | unclassifiers/config.py | infralight/terraform-unclassifier | edb81b86f1c53eb1a3aaf37ca59d054e2145e1e7 | [
"Apache-2.0"
] | 1 | 2021-01-07T15:40:08.000Z | 2021-01-07T15:40:08.000Z | unclassifiers/config.py | infralight/terraform-unclassifier | edb81b86f1c53eb1a3aaf37ca59d054e2145e1e7 | [
"Apache-2.0"
] | 1 | 2021-01-07T14:38:41.000Z | 2021-01-07T14:38:41.000Z | class Config:
def __init__(self, classified_types: [str]):
self.classified_types = classified_types
| 22.6 | 48 | 0.716814 | 13 | 113 | 5.692308 | 0.615385 | 0.608108 | 0.513514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19469 | 113 | 4 | 49 | 28.25 | 0.813187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
0c907939bf6b0f83e1b6efdbc468290650d64ec6 | 143 | py | Python | Exercicios/Ex_013.py | jotmar/PythonEx | bf026518ae5479d5c99ff7a4e95fc383dec22d36 | [
"MIT"
] | null | null | null | Exercicios/Ex_013.py | jotmar/PythonEx | bf026518ae5479d5c99ff7a4e95fc383dec22d36 | [
"MIT"
] | null | null | null | Exercicios/Ex_013.py | jotmar/PythonEx | bf026518ae5479d5c99ff7a4e95fc383dec22d36 | [
"MIT"
] | null | null | null | sal = float(input('Qual é o salário do funcionário? R$'))
print(f'Após o aumento de 15%, ele passou a receber R${sal + (sal * 15 / 100):.2f}')
| 47.666667 | 84 | 0.65035 | 27 | 143 | 3.444444 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.174825 | 143 | 2 | 85 | 71.5 | 0.720339 | 0 | 0 | 0 | 0 | 0.5 | 0.762238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
0cc42358712e980c748b580d44a00c9466fd741c | 98 | py | Python | src/reinforcement/__init__.py | helenapoleri/reinforcement-filesystem | 3fb839c07563384adba4abdd0fec61ebf76a2530 | [
"BSD-2-Clause"
] | null | null | null | src/reinforcement/__init__.py | helenapoleri/reinforcement-filesystem | 3fb839c07563384adba4abdd0fec61ebf76a2530 | [
"BSD-2-Clause"
] | null | null | null | src/reinforcement/__init__.py | helenapoleri/reinforcement-filesystem | 3fb839c07563384adba4abdd0fec61ebf76a2530 | [
"BSD-2-Clause"
] | null | null | null | from .agent import *
from .reinforcement import *
from .environment import *
from .config import * | 24.5 | 28 | 0.765306 | 12 | 98 | 6.25 | 0.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 4 | 29 | 24.5 | 0.903614 | 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 |
4900f7d7885cbe751f57d2b1cf8aabc4fd41374c | 145 | py | Python | pbj/electrostatics/pb_formulation/__init__.py | kstylesc/PBJ | 0a4440b684c1d028341762a275fb3d51956b8301 | [
"MIT"
] | null | null | null | pbj/electrostatics/pb_formulation/__init__.py | kstylesc/PBJ | 0a4440b684c1d028341762a275fb3d51956b8301 | [
"MIT"
] | null | null | null | pbj/electrostatics/pb_formulation/__init__.py | kstylesc/PBJ | 0a4440b684c1d028341762a275fb3d51956b8301 | [
"MIT"
] | null | null | null | import pbj.electrostatics.pb_formulation.formulations as formulations
import pbj.electrostatics.pb_formulation.preconditioning as preconditioning | 72.5 | 75 | 0.910345 | 16 | 145 | 8.125 | 0.5 | 0.138462 | 0.353846 | 0.384615 | 0.553846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048276 | 145 | 2 | 75 | 72.5 | 0.942029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0b5880aa74802cffbdb7fb9d7350bd21f6e55f4c | 10,886 | py | Python | okr/migrations/0031_auto_20201207_1204.py | wdr-data/wdr-okr | 71c9e6e8d3521b1bb67d30310a93584389de2127 | [
"MIT"
] | 2 | 2021-07-28T08:46:13.000Z | 2022-01-19T17:05:48.000Z | okr/migrations/0031_auto_20201207_1204.py | wdr-data/wdr-okr | 71c9e6e8d3521b1bb67d30310a93584389de2127 | [
"MIT"
] | 3 | 2020-11-10T23:34:17.000Z | 2021-03-31T16:19:21.000Z | okr/migrations/0031_auto_20201207_1204.py | wdr-data/wdr-okr | 71c9e6e8d3521b1bb67d30310a93584389de2127 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.3 on 2020-12-07 11:04
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("okr", "0030_auto_20201126_1641"),
]
operations = [
migrations.AlterField(
model_name="insta",
... | 34.66879 | 88 | 0.497703 | 848 | 10,886 | 6.214623 | 0.159198 | 0.125237 | 0.156546 | 0.181594 | 0.810626 | 0.798861 | 0.713283 | 0.583491 | 0.550854 | 0.526186 | 0 | 0.010769 | 0.39436 | 10,886 | 313 | 89 | 34.779553 | 0.788564 | 0.004134 | 0 | 0.807818 | 1 | 0 | 0.208875 | 0.018913 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006515 | 0 | 0.016287 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b59aeb914ac6cabaf5352fbc88af4f8ce6a230e | 3,583 | py | Python | data_loader.py | RohitGandikota/Satellite-Images-to-thematic-maps-using-Generative-Adversarial-Networks. | 39f67614bb6b5a9e52fb286901b0b5832468b486 | [
"MIT"
] | null | null | null | data_loader.py | RohitGandikota/Satellite-Images-to-thematic-maps-using-Generative-Adversarial-Networks. | 39f67614bb6b5a9e52fb286901b0b5832468b486 | [
"MIT"
] | null | null | null | data_loader.py | RohitGandikota/Satellite-Images-to-thematic-maps-using-Generative-Adversarial-Networks. | 39f67614bb6b5a9e52fb286901b0b5832468b486 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Sep 9 13:27:16 2019
@author: Rohit Gandikota and Radha Krishna
"""
import os
import numpy as np
from osgeo import gdal
#datagen = ImageDataGenerator()
#TASK TO DO.
#THERE ARE TWO IMAGES TO LOAD HERE. 1 IS THE MAIN SAT IMAGE AND THE OTHER IS THE WATER IMAGE.
def... | 38.526882 | 94 | 0.623779 | 523 | 3,583 | 4.015296 | 0.202677 | 0.071429 | 0.034286 | 0.048571 | 0.759048 | 0.759048 | 0.759048 | 0.759048 | 0.759048 | 0.759048 | 0 | 0.039503 | 0.236952 | 3,583 | 93 | 95 | 38.526882 | 0.728603 | 0.161596 | 0 | 0.819672 | 0 | 0 | 0.147994 | 0.136238 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0 | 0.04918 | 0 | 0.098361 | 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 |
0bb5b3ab31f02a54ad08292ec334e5898681ede8 | 246 | py | Python | jms_estimator/__init__.py | jameshtwose/learning_CICD | ef91c547683f76af57196f7bc548ee9562b79563 | [
"BSD-3-Clause"
] | null | null | null | jms_estimator/__init__.py | jameshtwose/learning_CICD | ef91c547683f76af57196f7bc548ee9562b79563 | [
"BSD-3-Clause"
] | null | null | null | jms_estimator/__init__.py | jameshtwose/learning_CICD | ef91c547683f76af57196f7bc548ee9562b79563 | [
"BSD-3-Clause"
] | null | null | null | from .jms_estimator import JmsEstimator
from .jms_estimator import JmsClassifier
from .jms_estimator import JmsTransformer
from .version import __version__
__all__ = ['JmsEstimator', 'JmsClassifier', 'JmsTransformer',
'__version__']
| 27.333333 | 61 | 0.784553 | 24 | 246 | 7.416667 | 0.375 | 0.117978 | 0.269663 | 0.370787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142276 | 246 | 8 | 62 | 30.75 | 0.843602 | 0 | 0 | 0 | 0 | 0 | 0.203252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0bc1f75fc4d25aa7a124dd98160c743cc6e66f22 | 23 | py | Python | textar/__init__.py | sreecodeslayer/textar | 9d61b5d8b78b5f736d5795ec09da55ad7ba730de | [
"MIT"
] | 1 | 2019-11-27T20:18:05.000Z | 2019-11-27T20:18:05.000Z | textar/__init__.py | sreecodeslayer/textar | 9d61b5d8b78b5f736d5795ec09da55ad7ba730de | [
"MIT"
] | null | null | null | textar/__init__.py | sreecodeslayer/textar | 9d61b5d8b78b5f736d5795ec09da55ad7ba730de | [
"MIT"
] | null | null | null | from .api import Textar | 23 | 23 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e7e89feda6cbc92ffffa1533a134f3b2479d6cf0 | 233 | py | Python | baekjoon/10171.py | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | baekjoon/10171.py | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | baekjoon/10171.py | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | """
10171 : 고양이
URL : https://www.acmicpc.net/problem/10171
Input :
Output :
\ /\
) ( ')
( / )
\(__)|
"""
print("\\ /\\")
print(" ) ( ')")
print("( / )")
print(" \\(__)|")
| 14.5625 | 47 | 0.32618 | 15 | 233 | 4.8 | 0.733333 | 0.416667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.399142 | 233 | 15 | 48 | 15.533333 | 0.442857 | 0.519313 | 0 | 0 | 0 | 0 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e7f6db0654aef633d36ddd147a5e0e1ebdd54991 | 15,411 | py | Python | tests/test_filter_abund.py | Dmarch28/khmer | 86ce40a6619fc6f6e9c4ce18ce1e89de93ba2f83 | [
"CNRI-Python"
] | null | null | null | tests/test_filter_abund.py | Dmarch28/khmer | 86ce40a6619fc6f6e9c4ce18ce1e89de93ba2f83 | [
"CNRI-Python"
] | 4 | 2021-03-19T08:45:22.000Z | 2022-02-18T21:25:42.000Z | tests/test_filter_abund.py | Dmarch28/khmer | 86ce40a6619fc6f6e9c4ce18ce1e89de93ba2f83 | [
"CNRI-Python"
] | 1 | 2021-03-16T12:01:37.000Z | 2021-03-16T12:01:37.000Z | # This file is part of khmer, https://github.com/dib-lab/khmer/, and is
# Copyright (C) 2016, The Regents of the University of California.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of s... | 32.929487 | 79 | 0.671468 | 2,231 | 15,411 | 4.501121 | 0.137606 | 0.050388 | 0.045808 | 0.054969 | 0.779924 | 0.751842 | 0.728042 | 0.720972 | 0.708624 | 0.698566 | 0 | 0.017856 | 0.200506 | 15,411 | 467 | 80 | 33 | 0.797176 | 0.181364 | 0 | 0.740876 | 0 | 0 | 0.164756 | 0.056458 | 0 | 0 | 0 | 0 | 0.229927 | 1 | 0.076642 | false | 0 | 0.018248 | 0 | 0.094891 | 0.014599 | 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 |
f001e8486ccf82d8397e6988168e509306e2626b | 1,063 | py | Python | tests/test_cli.py | developmentseed/python-seed | 5a5ef1f89199595e5c4b5b1fc33c5ce0e7eb4e3d | [
"MIT"
] | 16 | 2018-03-04T18:34:52.000Z | 2021-11-03T17:36:18.000Z | tests/test_cli.py | developmentseed/python-seed | 5a5ef1f89199595e5c4b5b1fc33c5ce0e7eb4e3d | [
"MIT"
] | 9 | 2017-12-18T15:12:07.000Z | 2020-10-01T17:05:36.000Z | tests/test_cli.py | developmentseed/python-seed | 5a5ef1f89199595e5c4b5b1fc33c5ce0e7eb4e3d | [
"MIT"
] | 6 | 2019-03-07T19:49:54.000Z | 2022-01-20T17:57:04.000Z | """tests python_seed.cli."""
import os
from click.testing import CliRunner
from python_seed.scripts.cli import pyseed
def test_create():
"""Test the create function"""
runner = CliRunner()
with runner.isolated_filesystem():
result = runner.invoke(pyseed, ["create", "myfunction"])
assert... | 35.433333 | 82 | 0.644403 | 129 | 1,063 | 5.255814 | 0.348837 | 0.053097 | 0.070796 | 0.129794 | 0.778761 | 0.769912 | 0.752212 | 0.752212 | 0.752212 | 0.610619 | 0 | 0.004762 | 0.209784 | 1,063 | 29 | 83 | 36.655172 | 0.802381 | 0.044214 | 0 | 0.47619 | 0 | 0 | 0.220896 | 0.113433 | 0 | 0 | 0 | 0 | 0.47619 | 1 | 0.047619 | false | 0 | 0.142857 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f02109817c82deefd1b9b024cb3ce8d43803ffc3 | 22,033 | py | Python | ironic_staging_drivers/tests/unit/intel_nm/test_vendor.py | NaohiroTamura/ironic-staging-drivers | cf29fd0515760eb2ecb3855359d5acc395168a9e | [
"Apache-2.0"
] | null | null | null | ironic_staging_drivers/tests/unit/intel_nm/test_vendor.py | NaohiroTamura/ironic-staging-drivers | cf29fd0515760eb2ecb3855359d5acc395168a9e | [
"Apache-2.0"
] | null | null | null | ironic_staging_drivers/tests/unit/intel_nm/test_vendor.py | NaohiroTamura/ironic-staging-drivers | cf29fd0515760eb2ecb3855359d5acc395168a9e | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | 51.12065 | 79 | 0.596741 | 2,466 | 22,033 | 5.018654 | 0.091646 | 0.031028 | 0.042421 | 0.053733 | 0.826842 | 0.810359 | 0.799612 | 0.777796 | 0.757595 | 0.745071 | 0 | 0.006936 | 0.306404 | 22,033 | 430 | 80 | 51.239535 | 0.802905 | 0.025371 | 0 | 0.654054 | 0 | 0 | 0.096523 | 0.008436 | 0 | 0 | 0.005966 | 0 | 0.17027 | 1 | 0.083784 | false | 0.005405 | 0.032432 | 0 | 0.118919 | 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 |
f0522e65d11970fa2cb606c1448581ffd3d8825e | 111 | py | Python | LEVEL1/가운데글자가져오기/solution.py | seunghwanly/CODING-TEST | a820da950c163d399594770199aa2e782d1fbbde | [
"MIT"
] | null | null | null | LEVEL1/가운데글자가져오기/solution.py | seunghwanly/CODING-TEST | a820da950c163d399594770199aa2e782d1fbbde | [
"MIT"
] | null | null | null | LEVEL1/가운데글자가져오기/solution.py | seunghwanly/CODING-TEST | a820da950c163d399594770199aa2e782d1fbbde | [
"MIT"
] | null | null | null | def solution(s):
if len(s) % 2 != 0: return s[len(s) // 2]
else: return s[len(s) // 2:len(s) // 2 + 2]
| 27.75 | 47 | 0.486486 | 23 | 111 | 2.347826 | 0.391304 | 0.296296 | 0.37037 | 0.407407 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.261261 | 111 | 3 | 48 | 37 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f0748bde1df9dfd51e53e54624473476ad1fcb7c | 198 | py | Python | Codewars/8kyu/object-oriented-piracy/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/object-oriented-piracy/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/object-oriented-piracy/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 2.7.6
class Ship:
def __init__(self, draft, crew):
self.draft = draft
self.crew = crew
def is_worth_it(self):
return (self.draft - self.crew * 1.5) > 20
| 19.8 | 50 | 0.570707 | 30 | 198 | 3.566667 | 0.6 | 0.252336 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050725 | 0.30303 | 198 | 9 | 51 | 22 | 0.724638 | 0.070707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b2ea1344648a8fd31c351aeb5a944417fa666670 | 45 | py | Python | app/tgbot/handlers/admin/user/__init__.py | AnViSe/cost_confirmation_bot | f8eaa39c3df742bef0fc79b8b7ce0231f1b18749 | [
"MIT"
] | 13 | 2021-12-27T19:46:19.000Z | 2022-03-19T07:55:25.000Z | app/tgbot/handlers/admin/user/__init__.py | AnViSe/cost_confirmation_bot | f8eaa39c3df742bef0fc79b8b7ce0231f1b18749 | [
"MIT"
] | null | null | null | app/tgbot/handlers/admin/user/__init__.py | AnViSe/cost_confirmation_bot | f8eaa39c3df742bef0fc79b8b7ce0231f1b18749 | [
"MIT"
] | 1 | 2022-02-07T10:48:18.000Z | 2022-02-07T10:48:18.000Z | from .setup import register_user_db_handlers
| 22.5 | 44 | 0.888889 | 7 | 45 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.902439 | 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 |
6521c799635d0ce23e77f8047c619295f8220f62 | 219 | py | Python | auto_ria_client/search.py | DSAdv/auto-ria-python | 8cfbb0b475dce8e7871236c4f9c1cbf4a937383a | [
"Apache-2.0"
] | 2 | 2021-06-15T09:17:26.000Z | 2022-01-05T20:15:11.000Z | auto_ria_client/search.py | DSAdv/auto-ria-python | 8cfbb0b475dce8e7871236c4f9c1cbf4a937383a | [
"Apache-2.0"
] | null | null | null | auto_ria_client/search.py | DSAdv/auto-ria-python | 8cfbb0b475dce8e7871236c4f9c1cbf4a937383a | [
"Apache-2.0"
] | null | null | null |
class Search:
def __init__(self):
pass
def execute(self):
pass
def __repr__(self):
pass
def __str__(self):
pass
class QueryBuilder:
pass
class Query:
pass
| 9.954545 | 23 | 0.547945 | 24 | 219 | 4.5 | 0.458333 | 0.296296 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.383562 | 219 | 21 | 24 | 10.428571 | 0.8 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.461538 | 0 | 0 | 0.538462 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
e8f5d13370c88501c5930a64f508cc704785b5dc | 6,981 | py | Python | hpcframework_unittest.py | Azure/hpcpack-mesos | 871d48b0ab187c227edfe12b3dfaca7e6ad0dd59 | [
"MIT"
] | 4 | 2019-04-26T03:03:13.000Z | 2020-06-01T14:26:09.000Z | hpcframework_unittest.py | Azure/hpcpack-mesos | 871d48b0ab187c227edfe12b3dfaca7e6ad0dd59 | [
"MIT"
] | 2 | 2018-09-05T01:47:59.000Z | 2018-09-05T01:49:20.000Z | hpcframework_unittest.py | Azure/hpcpack-mesos | 871d48b0ab187c227edfe12b3dfaca7e6ad0dd59 | [
"MIT"
] | 4 | 2018-09-05T01:35:40.000Z | 2021-01-10T10:47:12.000Z | import json
import unittest
from mesoshttp.offers import Offer
from mock import patch, MagicMock, call
import hpcframework
def create_mock_mesos_offer_aux(cpus, max_cores, is_windows, hostname):
json_offer = '''
{{
"hostname": "{}",
"attributes": [
'''.format(hostname)
if (is_windows... | 43.360248 | 120 | 0.683713 | 819 | 6,981 | 5.420024 | 0.114774 | 0.054517 | 0.070962 | 0.072088 | 0.852444 | 0.828565 | 0.815274 | 0.806263 | 0.795675 | 0.795675 | 0 | 0.019022 | 0.209282 | 6,981 | 160 | 121 | 43.63125 | 0.785145 | 0 | 0 | 0.587413 | 0 | 0 | 0.26701 | 0.160722 | 0 | 0 | 0 | 0 | 0.097902 | 1 | 0.06993 | false | 0 | 0.034965 | 0.006993 | 0.125874 | 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 |
33303b16e74d1aec44ae5a537aa51d8158fadf63 | 104 | py | Python | pydynamo_brain/pydynamo_brain/ui/actions/__init__.py | ubcbraincircuits/pyDynamo | 006eb6edb5e54670574dbfdf7d249e9037f01ffc | [
"MIT"
] | 4 | 2021-12-16T22:32:47.000Z | 2022-01-03T05:42:12.000Z | pydynamo_brain/pydynamo_brain/ui/actions/__init__.py | padster/pyDynamo | 006eb6edb5e54670574dbfdf7d249e9037f01ffc | [
"MIT"
] | 1 | 2021-11-15T18:14:20.000Z | 2021-11-15T18:14:36.000Z | pydynamo_brain/pydynamo_brain/ui/actions/__init__.py | padster/pyDynamo | 006eb6edb5e54670574dbfdf7d249e9037f01ffc | [
"MIT"
] | 1 | 2022-01-21T23:03:24.000Z | 2022-01-21T23:03:24.000Z | from .fullStateActions import FullStateActions
from .dendriteCanvasActions import DendriteCanvasActions
| 34.666667 | 56 | 0.903846 | 8 | 104 | 11.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 104 | 2 | 57 | 52 | 0.979167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
333aab4e17029bab7fda872889f1a7117add2c69 | 326 | py | Python | plugins/mcafee_epo/komand_mcafee_epo/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/mcafee_epo/komand_mcafee_epo/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/mcafee_epo/komand_mcafee_epo/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .add_permission_set_to_user.action import AddPermissionSetToUser
from .clear_tags.action import ClearTags
from .get_policies.action import GetPolicies
from .run_wake_up.action import RunWakeUp
from .search_agents.action import SearchAgents
from .tag_system.action import TagS... | 40.75 | 69 | 0.855828 | 47 | 326 | 5.723404 | 0.680851 | 0.267658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101227 | 326 | 7 | 70 | 46.571429 | 0.918089 | 0.113497 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
334e78d2ac8d951d0d117796a849e5e49f787bdd | 87 | py | Python | tributary/lazy/calculations/__init__.py | vishalbelsare/tributary | ab1a75eea50e92cbff2aa1b3d4e576cb25bc20e3 | [
"Apache-2.0"
] | 1 | 2022-03-23T10:50:42.000Z | 2022-03-23T10:50:42.000Z | tributary/lazy/calculations/__init__.py | vishalbelsare/tributary | ab1a75eea50e92cbff2aa1b3d4e576cb25bc20e3 | [
"Apache-2.0"
] | null | null | null | tributary/lazy/calculations/__init__.py | vishalbelsare/tributary | ab1a75eea50e92cbff2aa1b3d4e576cb25bc20e3 | [
"Apache-2.0"
] | null | null | null | from .finance import *
from .ops import *
from .rolling import *
from .basket import *
| 17.4 | 22 | 0.724138 | 12 | 87 | 5.25 | 0.5 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 87 | 4 | 23 | 21.75 | 0.887324 | 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 |
335e45555ad860b91cab1d9b0f14a0fa4cc15cdf | 7,159 | py | Python | tests/RejectPipeline.py | lbausch/filebeat-exim4 | fb58f3f438cb2689a0750be78cd52cc6412b4c47 | [
"MIT"
] | null | null | null | tests/RejectPipeline.py | lbausch/filebeat-exim4 | fb58f3f438cb2689a0750be78cd52cc6412b4c47 | [
"MIT"
] | null | null | null | tests/RejectPipeline.py | lbausch/filebeat-exim4 | fb58f3f438cb2689a0750be78cd52cc6412b4c47 | [
"MIT"
] | null | null | null | import unittest
import BaseTestCase
class RejectPipeline(BaseTestCase.BaseTestCase):
pipeline_file = '../module/exim4/reject/ingest/pipeline.json'
def test_pipeline(self):
message = 'foo'
response = self.request(message)
source = self.source(response)
self.assertSourceEquals... | 45.310127 | 320 | 0.576337 | 870 | 7,159 | 4.658621 | 0.133333 | 0.106588 | 0.106588 | 0.071058 | 0.888231 | 0.888231 | 0.888231 | 0.888231 | 0.87244 | 0.865285 | 0 | 0.127329 | 0.272664 | 7,159 | 157 | 321 | 45.598726 | 0.651047 | 0 | 0 | 0.653543 | 0 | 0.110236 | 0.529124 | 0.152535 | 0 | 0 | 0 | 0 | 0.062992 | 1 | 0.062992 | false | 0 | 0.015748 | 0 | 0.094488 | 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 |
336aba3f24409a56531a841bffd0111c287954bc | 455 | py | Python | autotf/tuner/fmin/__init__.py | DAIM-ML/autotf | 3f82d858f49c27d5ecb624cee555fb8fd47bf067 | [
"BSD-3-Clause"
] | 8 | 2018-03-07T06:58:16.000Z | 2019-01-30T07:49:44.000Z | autotf/tuner/fmin/__init__.py | DAIM-ML/autotf | 3f82d858f49c27d5ecb624cee555fb8fd47bf067 | [
"BSD-3-Clause"
] | null | null | null | autotf/tuner/fmin/__init__.py | DAIM-ML/autotf | 3f82d858f49c27d5ecb624cee555fb8fd47bf067 | [
"BSD-3-Clause"
] | 1 | 2018-03-31T09:06:12.000Z | 2018-03-31T09:06:12.000Z | try:
from .bayesian_optimization import bayesian_optimization
except ImportError:
pass
try:
from .random_search import random_search
except ImportError:
pass
try:
from .fabolas import fabolas
except ImportError:
pass
try:
from .mtbo import mtbo
except ImportError:
pass
try:
from .boh... | 17.5 | 60 | 0.747253 | 54 | 455 | 6.185185 | 0.259259 | 0.125749 | 0.377246 | 0.359281 | 0.419162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213187 | 455 | 25 | 61 | 18.2 | 0.932961 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
682859dba7a14a9673205c231589735f18f17cb0 | 5,431 | py | Python | icepickle/pipeline.py | koaning/icepickle | f6692e334ceebe8390d8b4960a56eb661236edd3 | [
"MIT"
] | 8 | 2022-02-14T20:20:30.000Z | 2022-03-08T10:03:13.000Z | icepickle/pipeline.py | koaning/icepickle | f6692e334ceebe8390d8b4960a56eb661236edd3 | [
"MIT"
] | 1 | 2022-02-20T08:40:42.000Z | 2022-02-20T15:02:58.000Z | icepickle/pipeline.py | koaning/icepickle | f6692e334ceebe8390d8b4960a56eb661236edd3 | [
"MIT"
] | null | null | null | from sklearn.pipeline import Pipeline, FeatureUnion, _name_estimators
class PartialFeatureUnion(FeatureUnion):
"""
A `PartialFeatureUnion` is a `FeatureUnion` but able to `.partial_fit`.
Arguments:
transformer_list: a list of transformers to apply and concatenate
Example:
```python
... | 27.155 | 94 | 0.592709 | 652 | 5,431 | 4.855828 | 0.162577 | 0.010107 | 0.020215 | 0.022742 | 0.830385 | 0.788692 | 0.772584 | 0.769425 | 0.759949 | 0.759949 | 0 | 0.017359 | 0.299945 | 5,431 | 199 | 95 | 27.291457 | 0.81536 | 0.622353 | 0 | 0.666667 | 0 | 0 | 0.122382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.030303 | 0 | 0.333333 | 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 |
6875f266eae6972c56d9b5125cb882d8d4d04e2d | 129 | py | Python | idfy_sdk/services/merchantsign/__init__.py | idfy-io/idfy-sdk-python | 0f7ced0cf0df080b1c73e2451bf02a23710b5bf1 | [
"Apache-2.0"
] | null | null | null | idfy_sdk/services/merchantsign/__init__.py | idfy-io/idfy-sdk-python | 0f7ced0cf0df080b1c73e2451bf02a23710b5bf1 | [
"Apache-2.0"
] | null | null | null | idfy_sdk/services/merchantsign/__init__.py | idfy-io/idfy-sdk-python | 0f7ced0cf0df080b1c73e2451bf02a23710b5bf1 | [
"Apache-2.0"
] | null | null | null | from idfy_sdk.services.merchantsign.merchant_sign_service import MerchantSignService
import idfy_sdk.services.merchantsign.models | 64.5 | 84 | 0.914729 | 16 | 129 | 7.125 | 0.6875 | 0.122807 | 0.263158 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03876 | 129 | 2 | 85 | 64.5 | 0.919355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
68826a5840025710d5af93a3fce5ecd5222c3806 | 46,764 | py | Python | tests/modules/voting/test_voting.py | rlin0/donut | 5672df8e853b4b775d7d50665128b255cd695ec2 | [
"MIT"
] | null | null | null | tests/modules/voting/test_voting.py | rlin0/donut | 5672df8e853b4b775d7d50665128b255cd695ec2 | [
"MIT"
] | null | null | null | tests/modules/voting/test_voting.py | rlin0/donut | 5672df8e853b4b775d7d50665128b255cd695ec2 | [
"MIT"
] | null | null | null | """
Tests donut/modules/voting
"""
from datetime import date, datetime, timedelta
import json
import re
import flask
import pytest
from donut.testing.fixtures import client
from donut import app
from donut.modules.groups.helpers import get_group_list_data
from donut.modules.voting import helpers, routes, ranked_pairs
... | 34.410596 | 535 | 0.55006 | 5,391 | 46,764 | 4.601373 | 0.059544 | 0.056599 | 0.035032 | 0.05414 | 0.82093 | 0.790051 | 0.770177 | 0.751189 | 0.725994 | 0.683262 | 0 | 0.026242 | 0.305727 | 46,764 | 1,358 | 536 | 34.435935 | 0.737795 | 0.020422 | 0 | 0.679811 | 0 | 0.002366 | 0.254043 | 0.047946 | 0 | 0 | 0 | 0 | 0.162461 | 1 | 0.021293 | false | 0 | 0.007098 | 0 | 0.02918 | 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 |
688cc9797d54552b61af4197f1cbf7caed2fdb2f | 9,217 | py | Python | tests/test_lfw_format.py | IRDonch/datumaro | d029e67549b7359c887bd15039997bd8bbae7c0c | [
"MIT"
] | null | null | null | tests/test_lfw_format.py | IRDonch/datumaro | d029e67549b7359c887bd15039997bd8bbae7c0c | [
"MIT"
] | null | null | null | tests/test_lfw_format.py | IRDonch/datumaro | d029e67549b7359c887bd15039997bd8bbae7c0c | [
"MIT"
] | null | null | null | from unittest import TestCase
import os.path as osp
import numpy as np
from datumaro.components.annotation import Label, Points
from datumaro.components.dataset import Dataset
from datumaro.components.extractor import DatasetItem
from datumaro.plugins.lfw_format import LfwConverter, LfwImporter
from datumaro.util.ima... | 38.404167 | 80 | 0.5364 | 964 | 9,217 | 4.893154 | 0.107884 | 0.060632 | 0.04664 | 0.05088 | 0.795633 | 0.787365 | 0.781429 | 0.771465 | 0.769345 | 0.723553 | 0 | 0.051673 | 0.338613 | 9,217 | 239 | 81 | 38.564854 | 0.722113 | 0 | 0 | 0.717703 | 0 | 0 | 0.090593 | 0 | 0 | 0 | 0 | 0 | 0.004785 | 1 | 0.043062 | false | 0 | 0.100478 | 0 | 0.15311 | 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 |
d7a5e5b05587f4827d617bcfc980e6852b32b7e8 | 4,606 | py | Python | src/main.py | MrSpadala/2PL-tester | 8911660ad874a485d62cd3ae7cbeb3f7bf1bf96a | [
"MIT"
] | null | null | null | src/main.py | MrSpadala/2PL-tester | 8911660ad874a485d62cd3ae7cbeb3f7bf1bf96a | [
"MIT"
] | null | null | null | src/main.py | MrSpadala/2PL-tester | 8911660ad874a485d62cd3ae7cbeb3f7bf1bf96a | [
"MIT"
] | 1 | 2022-02-07T11:39:08.000Z | 2022-02-07T11:39:08.000Z |
from flask import Flask
from flask import request
from check2PL import solve2PL
from checkConflict import solveConflict
from checkTimestamps import solveTimestamps
from utils import parse_schedule
app = Flask(__name__)
index_cached = open('../static/index.html', 'r').read()
@app.route("/2PL", methods=['GET', 'PO... | 31.547945 | 106 | 0.627008 | 570 | 4,606 | 4.947368 | 0.184211 | 0.084397 | 0.066312 | 0.088652 | 0.815603 | 0.801418 | 0.760993 | 0.760993 | 0.72695 | 0.72695 | 0 | 0.012232 | 0.219062 | 4,606 | 145 | 107 | 31.765517 | 0.771754 | 0.096613 | 0 | 0.635417 | 0 | 0 | 0.260796 | 0.013028 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.072917 | 0.010417 | 0.197917 | 0.020833 | 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 |
d7b24c8ca7adbb62fe2013b2416aa2a35ca6ffbb | 48 | py | Python | src/opendatablend/__init__.py | sscaress/opendatablend-py | 976b514cfa0b9c7d41f4edc1a1c118c8c5a4fd6d | [
"MIT"
] | null | null | null | src/opendatablend/__init__.py | sscaress/opendatablend-py | 976b514cfa0b9c7d41f4edc1a1c118c8c5a4fd6d | [
"MIT"
] | null | null | null | src/opendatablend/__init__.py | sscaress/opendatablend-py | 976b514cfa0b9c7d41f4edc1a1c118c8c5a4fd6d | [
"MIT"
] | null | null | null | from opendatablend.opendatablend import get_data | 48 | 48 | 0.916667 | 6 | 48 | 7.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.955556 | 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 |
0bf6e96cb5f32b5632ec9ac01e9f0991a95a8aa5 | 1,193 | py | Python | py_modular/utils/processing.py | fredyeah/streamer | 079b8cb5d6002df50f13aa184ece7a4a3b357da4 | [
"MIT"
] | 5 | 2021-05-20T00:59:41.000Z | 2021-12-05T18:25:57.000Z | py_modular/utils/processing.py | fredyeah/streamer | 079b8cb5d6002df50f13aa184ece7a4a3b357da4 | [
"MIT"
] | null | null | null | py_modular/utils/processing.py | fredyeah/streamer | 079b8cb5d6002df50f13aa184ece7a4a3b357da4 | [
"MIT"
] | 1 | 2021-05-30T12:43:02.000Z | 2021-05-30T12:43:02.000Z | from math import floor, asin, sin, pi
def window_grains_sin(grains=[]):
"""Util used to window an array of audio with half a sine wave
:param grains: An array of audio buffers that contain audio data to be windowed
:type grains: array(array)
:returns: An array of the same shape as the input, but windo... | 37.28125 | 83 | 0.642079 | 177 | 1,193 | 4.271186 | 0.305085 | 0.055556 | 0.071429 | 0.074074 | 0.857143 | 0.812169 | 0.812169 | 0.812169 | 0.812169 | 0.812169 | 0 | 0.002252 | 0.255658 | 1,193 | 31 | 84 | 38.483871 | 0.849099 | 0.426655 | 0 | 0.666667 | 0 | 0 | 0.050713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.333333 | 0.133333 | 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 |
042977f0af674cf3ca4f28fd9e848d23764fa207 | 67 | py | Python | pyece/core/property/__init__.py | rilshok/pyece | eaa78f175a922b99fd0bf5157ba129bf495203e3 | [
"MIT"
] | null | null | null | pyece/core/property/__init__.py | rilshok/pyece | eaa78f175a922b99fd0bf5157ba129bf495203e3 | [
"MIT"
] | null | null | null | pyece/core/property/__init__.py | rilshok/pyece | eaa78f175a922b99fd0bf5157ba129bf495203e3 | [
"MIT"
] | null | null | null | from .base import *
from .point import *
from .pointcloud import *
| 16.75 | 25 | 0.731343 | 9 | 67 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 3 | 26 | 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 |
045a16856d919e5772728374d499ad5d309eb0c0 | 285 | py | Python | src/errors.py | hyper-neutrino/bots-reforged | cbb4d34f2e40d460301077c8d58d3619e71f4406 | [
"MIT"
] | null | null | null | src/errors.py | hyper-neutrino/bots-reforged | cbb4d34f2e40d460301077c8d58d3619e71f4406 | [
"MIT"
] | null | null | null | src/errors.py | hyper-neutrino/bots-reforged | cbb4d34f2e40d460301077c8d58d3619e71f4406 | [
"MIT"
] | null | null | null | class BotError(RuntimeError):
def __init__(self, message = "An unexpected error occurred with the bot!"):
self.message = message
class DataError(RuntimeError):
def __init__(self, message = "An unexpected error occurred when accessing/saving data!"):
self.message = message | 40.714286 | 91 | 0.750877 | 35 | 285 | 5.885714 | 0.542857 | 0.213592 | 0.184466 | 0.223301 | 0.533981 | 0.533981 | 0.533981 | 0.533981 | 0.533981 | 0 | 0 | 0 | 0.154386 | 285 | 7 | 92 | 40.714286 | 0.854772 | 0 | 0 | 0.333333 | 0 | 0 | 0.342657 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
f0bb6a461d2617c7c17a08e8e18ef1f4c1de29f2 | 18,422 | py | Python | main/ensemble.py | ejklektov/dcase20-task3-seld | dd32cb5b23d48f10526f89e4ef1baf09947d6cc5 | [
"MIT"
] | null | null | null | main/ensemble.py | ejklektov/dcase20-task3-seld | dd32cb5b23d48f10526f89e4ef1baf09947d6cc5 | [
"MIT"
] | null | null | null | main/ensemble.py | ejklektov/dcase20-task3-seld | dd32cb5b23d48f10526f89e4ef1baf09947d6cc5 | [
"MIT"
] | null | null | null | import argparse
import os
import pdb
import shutil
from timeit import default_timer as timer
import numpy as np
import pandas as pd
from tqdm import tqdm
from evaluation import write_submission
def iters_ensemble(args):
'''
Ensemble on different iterations and generate ensembled files in fusioned folder
... | 52.634286 | 158 | 0.635924 | 2,209 | 18,422 | 4.992757 | 0.076053 | 0.049506 | 0.065464 | 0.041346 | 0.879681 | 0.861638 | 0.84985 | 0.843685 | 0.836613 | 0.812585 | 0 | 0.006491 | 0.239008 | 18,422 | 350 | 159 | 52.634286 | 0.780227 | 0.059114 | 0 | 0.579365 | 0 | 0 | 0.157513 | 0.008467 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015873 | false | 0 | 0.035714 | 0 | 0.051587 | 0.059524 | 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 |
9bcefccb6280a6ff7ccc5701be21245777cc634c | 19,469 | py | Python | owlery_client/api/sparql_api.py | rpgoldman/owlery-client | bd02ee7c071b720604870d76da42a7b1e988332b | [
"Apache-2.0"
] | null | null | null | owlery_client/api/sparql_api.py | rpgoldman/owlery-client | bd02ee7c071b720604870d76da42a7b1e988332b | [
"Apache-2.0"
] | null | null | null | owlery_client/api/sparql_api.py | rpgoldman/owlery-client | bd02ee7c071b720604870d76da42a7b1e988332b | [
"Apache-2.0"
] | null | null | null | """
Owlery API
Owlery provides a web API for an [OWL API](http://owlapi.sourceforge.net)-based reasoner containing a configurable set of ontologies (a \"knowledgebase\"). # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: balhoff@renci.org
Generated by: https://openapi-generator.te... | 35.657509 | 219 | 0.453644 | 1,734 | 19,469 | 4.868512 | 0.121684 | 0.029851 | 0.024639 | 0.025586 | 0.910448 | 0.900971 | 0.900971 | 0.900971 | 0.882729 | 0.872779 | 0 | 0.004116 | 0.463403 | 19,469 | 545 | 220 | 35.722936 | 0.803963 | 0.354975 | 0 | 0.698061 | 0 | 0 | 0.198899 | 0.039266 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01385 | false | 0 | 0.01108 | 0 | 0.038781 | 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 |
502350f581d3924fb70e62c90af4ec84d86da448 | 13,809 | py | Python | tests/test_script.py | szypkiwonsz/Cryptocurrency-Script | e9ec7803fd78c49a598bfb3c89c800c347d5eb34 | [
"MIT"
] | null | null | null | tests/test_script.py | szypkiwonsz/Cryptocurrency-Script | e9ec7803fd78c49a598bfb3c89c800c347d5eb34 | [
"MIT"
] | null | null | null | tests/test_script.py | szypkiwonsz/Cryptocurrency-Script | e9ec7803fd78c49a598bfb3c89c800c347d5eb34 | [
"MIT"
] | 1 | 2021-09-29T18:34:11.000Z | 2021-09-29T18:34:11.000Z | from datetime import datetime
from unittest.mock import patch, mock_open
import pytest
from click.testing import CliRunner
from dateutil.relativedelta import relativedelta
from httmock import HTTMock, all_requests
from script import average_price_by_month, consecutive_increase, export
from tests.conftest import api_c... | 47.782007 | 119 | 0.634079 | 1,736 | 13,809 | 4.735023 | 0.061636 | 0.051946 | 0.090024 | 0.099027 | 0.941241 | 0.941241 | 0.928467 | 0.920803 | 0.91618 | 0.905961 | 0 | 0.052436 | 0.240423 | 13,809 | 288 | 120 | 47.947917 | 0.731242 | 0 | 0 | 0.615063 | 0 | 0 | 0.211167 | 0.128032 | 0 | 0 | 0 | 0 | 0.221757 | 1 | 0.158996 | false | 0 | 0.033473 | 0.004184 | 0.209205 | 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 |
504f922e0d685b4f28e9ff1bb793159169019aa2 | 43 | py | Python | ex_package/ex_package.py | kungfupanda92/python-sample-package | 3d2d086514a66e0b46f5fd40f5b835f3679936b4 | [
"MIT"
] | null | null | null | ex_package/ex_package.py | kungfupanda92/python-sample-package | 3d2d086514a66e0b46f5fd40f5b835f3679936b4 | [
"MIT"
] | null | null | null | ex_package/ex_package.py | kungfupanda92/python-sample-package | 3d2d086514a66e0b46f5fd40f5b835f3679936b4 | [
"MIT"
] | null | null | null | def hello_print():
print("hello baby")
| 14.333333 | 23 | 0.651163 | 6 | 43 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 24 | 21.5 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
505fc8437fc0c3c250458093521a57f2e9a45d55 | 21,479 | py | Python | service/normalizer.py | chdigiorno/georef-ar-api | 951d8804e286b95de5dc63b6a04d792052c1b553 | [
"MIT"
] | 1 | 2020-04-29T03:43:05.000Z | 2020-04-29T03:43:05.000Z | service/normalizer.py | chdigiorno/georef-ar-api | 951d8804e286b95de5dc63b6a04d792052c1b553 | [
"MIT"
] | null | null | null | service/normalizer.py | chdigiorno/georef-ar-api | 951d8804e286b95de5dc63b6a04d792052c1b553 | [
"MIT"
] | null | null | null | """Módulo 'normalizer' de georef-ar-api
Contiene funciones que manejan la lógica de procesamiento
de los recursos que expone la API.
"""
import logging
from flask import current_app
from service import data, params, formatter, address, location, utils
from service import names as N
from service.query_result import Qu... | 31.962798 | 79 | 0.655058 | 2,630 | 21,479 | 5.221673 | 0.092776 | 0.034079 | 0.016894 | 0.031676 | 0.848176 | 0.824656 | 0.796403 | 0.767567 | 0.742882 | 0.728828 | 0 | 0.004032 | 0.272592 | 21,479 | 671 | 80 | 32.010432 | 0.874936 | 0.409377 | 0 | 0.623693 | 0 | 0 | 0.051532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073171 | false | 0 | 0.017422 | 0 | 0.219512 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.