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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5696c4229a4677607e33545e6a7ee18943977cbf | 3,003 | py | Python | summarize/tests/data/io/jsonl_reader_test.py | danieldeutsch/summarize | f36a86d58f381ff1f607f356dad3d6ef7b0e0224 | [
"Apache-2.0"
] | 15 | 2019-11-01T11:49:44.000Z | 2021-01-19T06:59:32.000Z | summarize/tests/data/io/jsonl_reader_test.py | CogComp/summary-cloze | b38e3e8c7755903477fd92a4cff27125cbf5553d | [
"Apache-2.0"
] | 2 | 2020-03-30T07:54:01.000Z | 2021-11-15T16:27:42.000Z | summarize/tests/data/io/jsonl_reader_test.py | CogComp/summary-cloze | b38e3e8c7755903477fd92a4cff27125cbf5553d | [
"Apache-2.0"
] | 3 | 2019-12-06T05:57:51.000Z | 2019-12-11T11:34:21.000Z | import bz2
import gzip
import json
import tempfile
import unittest
from summarize.data.io import JsonlReader
class TestJsonlReader(unittest.TestCase):
def setUp(self):
self.data = [
{'a': 4, 'b': 'testing'},
{'c': [1, 2, 3]}
]
def test_plain_file(self):
# Writ... | 33.741573 | 69 | 0.578422 | 384 | 3,003 | 4.419271 | 0.174479 | 0.070713 | 0.070713 | 0.041249 | 0.836771 | 0.836771 | 0.817325 | 0.817325 | 0.817325 | 0.817325 | 0 | 0.003927 | 0.321678 | 3,003 | 88 | 70 | 34.125 | 0.829161 | 0.121878 | 0 | 0.65625 | 0 | 0 | 0.022502 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 1 | 0.09375 | false | 0 | 0.09375 | 0 | 0.203125 | 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 |
569a9d7650fb953da537dfbe5cbf52d80351b1b1 | 229 | py | Python | defichain/node/modules/generating.py | eric-volz/defichainLibrary | 458a8155bd595bf0fdf026651d95a5fe78dafc9c | [
"MIT"
] | 1 | 2022-03-29T15:15:17.000Z | 2022-03-29T15:15:17.000Z | defichain/node/modules/generating.py | eric-volz/defichainPythonLibrary | b01dfddbb5e16d5b3dcda8e4014bcea8d2a1832b | [
"MIT"
] | null | null | null | defichain/node/modules/generating.py | eric-volz/defichainPythonLibrary | b01dfddbb5e16d5b3dcda8e4014bcea8d2a1832b | [
"MIT"
] | 1 | 2022-03-24T12:25:44.000Z | 2022-03-24T12:25:44.000Z | class Generating:
def __init__(self, node):
self._node = node
def generatetoaddress(self, nblocks, address, maxtries=1): # 01
return self._node._rpc.call("generatetoaddress", nblocks, address, maxtries)
| 32.714286 | 84 | 0.689956 | 26 | 229 | 5.807692 | 0.576923 | 0.15894 | 0.291391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.200873 | 229 | 6 | 85 | 38.166667 | 0.808743 | 0.008734 | 0 | 0 | 1 | 0 | 0.075556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
3b41054017abc4b348f6974610c321052c9e11a8 | 42 | py | Python | parameter.py | yzhao334/CS294-112-hw1 | 86c04c0dfce3758c5e9f0e1e92b15784b8e45515 | [
"MIT"
] | 3 | 2019-02-19T10:50:22.000Z | 2022-01-10T05:46:59.000Z | parameter.py | yzhao334/CS294-112-hw1 | 86c04c0dfce3758c5e9f0e1e92b15784b8e45515 | [
"MIT"
] | null | null | null | parameter.py | yzhao334/CS294-112-hw1 | 86c04c0dfce3758c5e9f0e1e92b15784b8e45515 | [
"MIT"
] | null | null | null | n_h1=100
n_h2=100
n_h3=100
batch_size=20
| 7 | 13 | 0.785714 | 12 | 42 | 2.416667 | 0.666667 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.378378 | 0.119048 | 42 | 5 | 14 | 8.4 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3b82918d58a4289adced56b28a3b2f4f324c9131 | 341 | py | Python | demos/grasp_fusion/grasp_fusion_lib/datasets/__init__.py | pazeshun/jsk_apc | 0ff42000ad5992f8a31e719a5360a39cf4fa1fde | [
"BSD-3-Clause"
] | null | null | null | demos/grasp_fusion/grasp_fusion_lib/datasets/__init__.py | pazeshun/jsk_apc | 0ff42000ad5992f8a31e719a5360a39cf4fa1fde | [
"BSD-3-Clause"
] | 2 | 2019-04-11T05:36:23.000Z | 2019-08-19T12:58:10.000Z | demos/grasp_fusion/grasp_fusion_lib/datasets/__init__.py | pazeshun/jsk_apc | 0ff42000ad5992f8a31e719a5360a39cf4fa1fde | [
"BSD-3-Clause"
] | null | null | null | # flake8: noqa
from . import apc
from . import voc
from .utils import view_dataset
from .utils import visualize_heatmap
from .utils import visualize_segmentation
from .utils import visualize_label
from .utils import view_class_seg_dataset
from .utils import visualize_instance_segmentation
from .utils import view_... | 20.058824 | 50 | 0.835777 | 48 | 341 | 5.6875 | 0.333333 | 0.230769 | 0.384615 | 0.351648 | 0.227106 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003378 | 0.131965 | 341 | 16 | 51 | 21.3125 | 0.918919 | 0.035191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8e87e878e0e35159f736e28a0520462e11acea3f | 31 | py | Python | neodroid/utilities/__init__.py | cnHeider/neo | 30c03bb142bbe25f6d7b61f22f66747076f08aa6 | [
"Apache-2.0"
] | null | null | null | neodroid/utilities/__init__.py | cnHeider/neo | 30c03bb142bbe25f6d7b61f22f66747076f08aa6 | [
"Apache-2.0"
] | null | null | null | neodroid/utilities/__init__.py | cnHeider/neo | 30c03bb142bbe25f6d7b61f22f66747076f08aa6 | [
"Apache-2.0"
] | 1 | 2018-09-27T14:31:20.000Z | 2018-09-27T14:31:20.000Z | from .debug import debug_print
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
8e8b6eff81fc326cce4f865ad5501538e5a0f6f9 | 127 | py | Python | tests/test_conv_rf.py | NeuroDataDesign/Savanna | 49b8b39f3f4b773b2dfb7a57e1dfbec80a484f3a | [
"Apache-2.0"
] | null | null | null | tests/test_conv_rf.py | NeuroDataDesign/Savanna | 49b8b39f3f4b773b2dfb7a57e1dfbec80a484f3a | [
"Apache-2.0"
] | 32 | 2019-09-17T18:27:10.000Z | 2019-10-29T19:29:39.000Z | tests/test_conv_rf.py | NeuroDataDesign/savanna | 49b8b39f3f4b773b2dfb7a57e1dfbec80a484f3a | [
"Apache-2.0"
] | null | null | null | import pytest
from savanna.inference.conv_rf import ConvRF
def test_empty():
"""
Placeholder
"""
assert True
| 12.7 | 44 | 0.669291 | 15 | 127 | 5.533333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244094 | 127 | 9 | 45 | 14.111111 | 0.864583 | 0.086614 | 0 | 0 | 0 | 0 | 0 | 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 |
d9831da560670654f2528f2a180e5d06fe7cc40c | 19,382 | py | Python | tensorflow_checkpoint_reader/pb/tensorflow/core/profiler/protobuf/op_profile_pb2.py | shawwn/tensorflow-checkpoint-reader | f0e65548411e3bd66a07e36bb1850907a05952d0 | [
"MIT"
] | 1 | 2021-12-02T15:06:09.000Z | 2021-12-02T15:06:09.000Z | tensorflow_checkpoint_reader/pb/tensorflow/core/profiler/protobuf/op_profile_pb2.py | shawwn/tensorflow-checkpoint-reader | f0e65548411e3bd66a07e36bb1850907a05952d0 | [
"MIT"
] | null | null | null | tensorflow_checkpoint_reader/pb/tensorflow/core/profiler/protobuf/op_profile_pb2.py | shawwn/tensorflow-checkpoint-reader | f0e65548411e3bd66a07e36bb1850907a05952d0 | [
"MIT"
] | null | null | null |
'Generated protocol buffer code.'
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.Fil... | 403.791667 | 2,925 | 0.832525 | 2,664 | 19,382 | 5.716216 | 0.08033 | 0.04518 | 0.068624 | 0.079787 | 0.776005 | 0.734437 | 0.700749 | 0.659312 | 0.603494 | 0.581298 | 0 | 0.03265 | 0.039212 | 19,382 | 47 | 2,926 | 412.382979 | 0.785093 | 0.001599 | 0 | 0 | 1 | 0.913043 | 0.196997 | 0.154636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
795803a71b1cfba9a511acb0dfb44e60a702e0a4 | 151 | py | Python | config.py | suger-luck/QQ-boot | 4fabd400ecde1cbdf3961af1b34cdeed7dbecfc4 | [
"MIT"
] | null | null | null | config.py | suger-luck/QQ-boot | 4fabd400ecde1cbdf3961af1b34cdeed7dbecfc4 | [
"MIT"
] | null | null | null | config.py | suger-luck/QQ-boot | 4fabd400ecde1cbdf3961af1b34cdeed7dbecfc4 | [
"MIT"
] | null | null | null | from nonebot.default_config import *
#写可以下达指令的人,如果不填写就是所有人,就是可以在聊天中触发的
# SUPERUSERS ={2031058091}
from nonebot.default_config import *
SUPERUSERS = {} | 25.166667 | 36 | 0.807947 | 16 | 151 | 7.5 | 0.625 | 0.183333 | 0.3 | 0.4 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 0.099338 | 151 | 6 | 37 | 25.166667 | 0.808824 | 0.377483 | 0 | 0.666667 | 0 | 0 | 0 | 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 |
8dad887350fbe68e781066c87db09036194222f1 | 18,330 | py | Python | hecuba_py/tests/withcassandra/storageobj_with_numpy_tests.py | cugni/hecuba | 5f4654d068dff0ef641d37d98bdac46e539fea48 | [
"Apache-2.0"
] | null | null | null | hecuba_py/tests/withcassandra/storageobj_with_numpy_tests.py | cugni/hecuba | 5f4654d068dff0ef641d37d98bdac46e539fea48 | [
"Apache-2.0"
] | null | null | null | hecuba_py/tests/withcassandra/storageobj_with_numpy_tests.py | cugni/hecuba | 5f4654d068dff0ef641d37d98bdac46e539fea48 | [
"Apache-2.0"
] | null | null | null | import unittest
import numpy as np
from hecuba import config, StorageObj
class TestStorageObjNumpy(StorageObj):
'''
@ClassField mynumpy numpy.ndarray
'''
pass
class TestStorageObjNumpyEtAl(StorageObj):
'''
@ClassField mynumpy numpy.ndarray
@ClassField name str
@ClassField... | 43.129412 | 314 | 0.632624 | 2,370 | 18,330 | 4.72616 | 0.083122 | 0.103651 | 0.037497 | 0.048746 | 0.842068 | 0.821891 | 0.795197 | 0.779216 | 0.746005 | 0.731095 | 0 | 0.070675 | 0.234261 | 18,330 | 424 | 315 | 43.231132 | 0.727344 | 0.044845 | 0 | 0.603825 | 0 | 0.002732 | 0.059802 | 0.018806 | 0 | 0 | 0 | 0 | 0.087432 | 1 | 0.084699 | false | 0.008197 | 0.010929 | 0 | 0.106557 | 0.008197 | 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 |
8dd66ab2bad6afddf54ddf539a8185933ab4e36e | 41 | py | Python | dbtea/clients/__init__.py | jmbrooks/dbtea | 9ccf0a9c64f3672fb495158caadeb08f28b80785 | [
"Apache-2.0"
] | 1 | 2021-12-17T02:26:15.000Z | 2021-12-17T02:26:15.000Z | dbtea/clients/__init__.py | jmbrooks/dbtea | 9ccf0a9c64f3672fb495158caadeb08f28b80785 | [
"Apache-2.0"
] | null | null | null | dbtea/clients/__init__.py | jmbrooks/dbtea | 9ccf0a9c64f3672fb495158caadeb08f28b80785 | [
"Apache-2.0"
] | null | null | null | from dbtea.clients.dbt import DbtProject
| 20.5 | 40 | 0.853659 | 6 | 41 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.945946 | 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 |
5c263d01e9362264d6005d0944cba3c7132c3ba7 | 96 | py | Python | venv/lib/python3.8/site-packages/jedi/inference/names.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/jedi/inference/names.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/jedi/inference/names.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/fd/fb/04/bcfb96179b813d3b3de4c8f0097d8351d519813f0a3d1482dd771c6114 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c3b1fb9f69e651f5c1160a0a60ae96cc0e5b39a | 112 | py | Python | database/common.py | bnbwebexpertise/linkr | 657bdd3b5c77b67702b9398da000e19d3f5bb875 | [
"MIT"
] | 124 | 2016-12-23T02:14:45.000Z | 2021-11-20T15:25:20.000Z | database/common.py | bnbwebexpertise/linkr | 657bdd3b5c77b67702b9398da000e19d3f5bb875 | [
"MIT"
] | 24 | 2017-05-29T10:15:15.000Z | 2019-05-23T13:30:58.000Z | database/common.py | bnbwebexpertise/linkr | 657bdd3b5c77b67702b9398da000e19d3f5bb875 | [
"MIT"
] | 19 | 2017-05-15T13:19:07.000Z | 2021-05-14T02:35:05.000Z | from linkr import db
def create_tables():
"""
Create all database tables.
"""
db.create_all()
| 12.444444 | 31 | 0.607143 | 14 | 112 | 4.714286 | 0.642857 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276786 | 112 | 8 | 32 | 14 | 0.814815 | 0.241071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
30fbc53da1ffa9014b8b13115ae108a765e87d79 | 32 | py | Python | src/zuthaka/backendapi/services/ClassHandlers/SilentTrinity/__init__.py | justinforbes/zuthaka | 26b4d37c6e280ff16858f37882752e9d15eac817 | [
"BSD-3-Clause"
] | 129 | 2021-08-05T21:10:35.000Z | 2022-03-08T06:38:50.000Z | src/zuthaka/backendapi/services/ClassHandlers/SilentTrinity/__init__.py | justinforbes/zuthaka | 26b4d37c6e280ff16858f37882752e9d15eac817 | [
"BSD-3-Clause"
] | 2 | 2021-08-20T06:11:16.000Z | 2021-09-08T03:25:09.000Z | src/zuthaka/backendapi/services/ClassHandlers/SilentTrinity/__init__.py | justinforbes/zuthaka | 26b4d37c6e280ff16858f37882752e9d15eac817 | [
"BSD-3-Clause"
] | 16 | 2021-08-06T01:01:20.000Z | 2022-02-02T14:19:17.000Z | from .silenttrinity_c2 import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.125 | 32 | 1 | 32 | 32 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a5057e948ebb9ad5a88edf9f1467ae73383254a0 | 373 | py | Python | scripts/donorchoose_functions/__init__.py | evanmiller29/DonorChoose | c94bb3284a2c865b03c3daa12300ed617257c689 | [
"Apache-2.0"
] | null | null | null | scripts/donorchoose_functions/__init__.py | evanmiller29/DonorChoose | c94bb3284a2c865b03c3daa12300ed617257c689 | [
"Apache-2.0"
] | null | null | null | scripts/donorchoose_functions/__init__.py | evanmiller29/DonorChoose | c94bb3284a2c865b03c3daa12300ed617257c689 | [
"Apache-2.0"
] | null | null | null | from scripts.donorchoose_functions.NLP_functions import extract_text_features, join_essays, remove_stops_punct_stemmer
from scripts.donorchoose_functions.price_functions import price_quantity_agg
from scripts.donorchoose_functions.timestamp_functions import extract_timestamp_features
from scripts.donorchoose_functions.... | 74.6 | 118 | 0.919571 | 44 | 373 | 7.409091 | 0.5 | 0.134969 | 0.269939 | 0.380368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050938 | 373 | 4 | 119 | 93.25 | 0.920904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cce38427a861dc05273dce6c8dc2a70b22b4749c | 7,309 | py | Python | tst/test/rdklibtest_test_test.py | corysaws/aws-config-rdklib | 4af1321f23e46cdf4479eb399d5f65758116b93e | [
"Apache-2.0"
] | 77 | 2020-03-02T07:50:08.000Z | 2022-02-15T11:40:53.000Z | tst/test/rdklibtest_test_test.py | corysaws/aws-config-rdklib | 4af1321f23e46cdf4479eb399d5f65758116b93e | [
"Apache-2.0"
] | 17 | 2020-03-03T00:47:09.000Z | 2022-01-29T06:14:48.000Z | tst/test/rdklibtest_test_test.py | corysaws/aws-config-rdklib | 4af1321f23e46cdf4479eb399d5f65758116b93e | [
"Apache-2.0"
] | 21 | 2020-03-02T06:16:22.000Z | 2022-03-17T21:16:06.000Z | import json
import unittest
from rdklib import Evaluation, ComplianceType
CODE = __import__('test')
class rdklibtestTest(unittest.TestCase):
def test_assert_successful_evaluation(self):
response = [Evaluation(ComplianceType.COMPLIANT, 'some-resource-id', 'some-resource-type', 'some-annotation')]
... | 49.721088 | 126 | 0.674511 | 732 | 7,309 | 6.539617 | 0.159836 | 0.040109 | 0.039064 | 0.056403 | 0.843326 | 0.806351 | 0.7723 | 0.75705 | 0.745979 | 0.646125 | 0 | 0.030978 | 0.213846 | 7,309 | 146 | 127 | 50.061644 | 0.802123 | 0.061568 | 0 | 0.535088 | 0 | 0.035088 | 0.315759 | 0.13568 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.035088 | false | 0 | 0.035088 | 0 | 0.078947 | 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 |
ccf19d06d571dd71453bfd9f346996445a3520c1 | 49 | py | Python | src/utils/models/__init__.py | tonybolanyo/wordplease | 5b065b84e91ebb92d0d2af3aab4cf754a3a3b51c | [
"MIT"
] | null | null | null | src/utils/models/__init__.py | tonybolanyo/wordplease | 5b065b84e91ebb92d0d2af3aab4cf754a3a3b51c | [
"MIT"
] | 3 | 2020-06-05T17:06:13.000Z | 2021-06-10T18:06:33.000Z | src/utils/models/__init__.py | tonybolanyo/wordplease | 5b065b84e91ebb92d0d2af3aab4cf754a3a3b51c | [
"MIT"
] | null | null | null | from .time_stamped_model import TimeStampedModel
| 24.5 | 48 | 0.897959 | 6 | 49 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 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 |
15d7f268e46ab09706ddc424dbeb0343d6248992 | 146 | py | Python | packages/grid/apps/worker/src/main/core/manager/__init__.py | exityan/PySyft | 35166c487a5be57f9ad28929ed88a8ba6bdd5aeb | [
"Apache-2.0"
] | 425 | 2019-09-22T06:14:53.000Z | 2022-03-30T02:17:34.000Z | packages/grid/apps/worker/src/main/core/manager/__init__.py | Metrix1010/PySyft | 6477f64b63dc285059c3766deab3993653cead2e | [
"Apache-2.0"
] | 352 | 2019-09-17T15:32:51.000Z | 2022-03-12T01:07:35.000Z | packages/grid/apps/worker/src/main/core/manager/__init__.py | Metrix1010/PySyft | 6477f64b63dc285059c3766deab3993653cead2e | [
"Apache-2.0"
] | 208 | 2019-09-18T18:32:10.000Z | 2022-03-24T01:10:11.000Z | # grid relative
from .environment_manager import EnvironmentManager
from .group_manager import GroupManager
from .user_manager import UserManager
| 29.2 | 51 | 0.869863 | 17 | 146 | 7.294118 | 0.647059 | 0.314516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10274 | 146 | 4 | 52 | 36.5 | 0.946565 | 0.089041 | 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 |
c64fe9a3b265813c803c94d451f5c2a842e73cf4 | 326 | py | Python | pmaf/internal/io/_metakit.py | mmtechslv/PhyloMAF | bab43dd4a4d2812951b1fdf4f1abb83edb79ea88 | [
"BSD-3-Clause"
] | 1 | 2021-07-02T06:24:17.000Z | 2021-07-02T06:24:17.000Z | pmaf/internal/io/_metakit.py | mmtechslv/PhyloMAF | bab43dd4a4d2812951b1fdf4f1abb83edb79ea88 | [
"BSD-3-Clause"
] | 1 | 2021-06-28T12:02:46.000Z | 2021-06-28T12:02:46.000Z | pmaf/internal/io/_metakit.py | mmtechslv/PhyloMAF | bab43dd4a4d2812951b1fdf4f1abb83edb79ea88 | [
"BSD-3-Clause"
] | null | null | null | from abc import ABC,abstractmethod
class FileIOBackboneMetabase(ABC):
""" """
@abstractmethod
def __init__(self, filepath, **kwargs):
pass
@property
@abstractmethod
def type(self):
""" """
pass
@property
@abstractmethod
def src(self):
""" """
... | 17.157895 | 43 | 0.552147 | 27 | 326 | 6.518519 | 0.555556 | 0.289773 | 0.295455 | 0.329545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325153 | 326 | 19 | 44 | 17.157895 | 0.8 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.230769 | 0.076923 | 0 | 0.384615 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c65793a0399e664878aff088051ebc5ff0c3b6bb | 149 | py | Python | model/RegularExpression.py | ramnasidharta/midena | d13d462a0d8449a50bd786ec655f46525f4b5b87 | [
"MIT"
] | null | null | null | model/RegularExpression.py | ramnasidharta/midena | d13d462a0d8449a50bd786ec655f46525f4b5b87 | [
"MIT"
] | 14 | 2019-04-08T15:20:33.000Z | 2019-06-22T22:44:37.000Z | model/RegularExpression.py | ramnasidharta/midena | d13d462a0d8449a50bd786ec655f46525f4b5b87 | [
"MIT"
] | null | null | null |
class RegularExpression():
def __init__(self, regexStr):
self.regexStr = regexStr
def __str__(self):
return self.regexStr
| 16.555556 | 33 | 0.651007 | 15 | 149 | 5.933333 | 0.533333 | 0.404494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261745 | 149 | 8 | 34 | 18.625 | 0.809091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d6667120b126f387fb871466f417e8538b6adbbd | 8,308 | py | Python | Shapes.py | Chris-Abboud/Tetris-AI | 8ab7164501ab1e99188ac139d5e0b3286fc8bd26 | [
"BSD-3-Clause"
] | null | null | null | Shapes.py | Chris-Abboud/Tetris-AI | 8ab7164501ab1e99188ac139d5e0b3286fc8bd26 | [
"BSD-3-Clause"
] | null | null | null | Shapes.py | Chris-Abboud/Tetris-AI | 8ab7164501ab1e99188ac139d5e0b3286fc8bd26 | [
"BSD-3-Clause"
] | null | null | null | class shapeCharacter:
rotationNumber = 1
def moveRight(self):
self.x1 = self.x1 + 1
self.x2 = self.x2 + 1
self.x3 = self.x3 + 1
self.x4 = self.x4 + 1
self.cordinates = [(self.y1,self.x1), (self.y2,self.x2), (self.y3,self.x3), (self.y4,self.x4)]
self.rotationCord... | 44.908108 | 126 | 0.579803 | 1,342 | 8,308 | 3.568554 | 0.030551 | 0.093965 | 0.098142 | 0.095218 | 0.946544 | 0.945709 | 0.89455 | 0.89455 | 0.89455 | 0.892462 | 0 | 0.100153 | 0.215214 | 8,308 | 185 | 127 | 44.908108 | 0.634356 | 0.000241 | 0 | 0.528986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0 | 0 | 0.195652 | 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 |
d69c781798d36a52aed958001f897bb19438b9e9 | 6,355 | py | Python | src/agent.py | ericmg97/sim_agents | 30034fc63d04b74929990c8f076b12f190c4918e | [
"MIT"
] | null | null | null | src/agent.py | ericmg97/sim_agents | 30034fc63d04b74929990c8f076b12f190c4918e | [
"MIT"
] | null | null | null | src/agent.py | ericmg97/sim_agents | 30034fc63d04b74929990c8f076b12f190c4918e | [
"MIT"
] | null | null | null | from utils import is_in
class Bot():
def __init__(self, row, col):
self.row = row
self.column = col
self.have_child = False
def move(self, env, childs, agent_type = "Smart"):
if agent_type == "Brute":
return self._move_brute(env, childs)
elif agent_type == "... | 34.351351 | 146 | 0.482455 | 801 | 6,355 | 3.699126 | 0.114856 | 0.054337 | 0.048262 | 0.057374 | 0.753966 | 0.753966 | 0.753966 | 0.753966 | 0.750591 | 0.736416 | 0 | 0.019189 | 0.417781 | 6,355 | 185 | 147 | 34.351351 | 0.781622 | 0.028954 | 0 | 0.761538 | 0 | 0 | 0.002432 | 0 | 0 | 0 | 0 | 0.005405 | 0 | 1 | 0.038462 | false | 0 | 0.007692 | 0 | 0.176923 | 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 |
d6c1f71a0f39fed9de12459fd9f2bf71aff5e0b3 | 150 | py | Python | derobertis_project_logo/logos/main.py | nickderobertis/derobertis-project-logo | 11fa791cc5a79be4c9b2907c2ff6aa946ea31306 | [
"MIT"
] | null | null | null | derobertis_project_logo/logos/main.py | nickderobertis/derobertis-project-logo | 11fa791cc5a79be4c9b2907c2ff6aa946ea31306 | [
"MIT"
] | 2 | 2021-12-20T00:10:09.000Z | 2021-12-20T00:10:11.000Z | derobertis_project_logo/logos/main.py | nickderobertis/derobertis-project-logo | 11fa791cc5a79be4c9b2907c2ff6aa946ea31306 | [
"MIT"
] | null | null | null | from derobertis_project_logo.logos.nd import ND
from derobertis_project_logo.logos.triangle import Triangle
LOGO_CLASSES = [
Triangle,
ND,
]
| 18.75 | 59 | 0.786667 | 20 | 150 | 5.65 | 0.45 | 0.247788 | 0.371681 | 0.442478 | 0.530973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153333 | 150 | 7 | 60 | 21.428571 | 0.889764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d6c41b277255ec463abfe6b2cca330f2f4824496 | 73 | py | Python | webserver/__init__.py | andyceo/pylibs | df2eec6f9903e27ab02a82688378207eedb1b419 | [
"MIT"
] | 1 | 2019-10-28T08:56:41.000Z | 2019-10-28T08:56:41.000Z | webserver/__init__.py | andyceo/pylibs | df2eec6f9903e27ab02a82688378207eedb1b419 | [
"MIT"
] | null | null | null | webserver/__init__.py | andyceo/pylibs | df2eec6f9903e27ab02a82688378207eedb1b419 | [
"MIT"
] | null | null | null | from .controller import *
from .router import *
from .webserver import *
| 18.25 | 25 | 0.753425 | 9 | 73 | 6.111111 | 0.555556 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 3 | 26 | 24.333333 | 0.901639 | 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 |
d6d6f74e656536486ed24b8621a4fbcc1e15b320 | 95 | py | Python | src/app/mod_vote/__init__.py | talsperre/Flask-Stackoverflow-App | f77501c00e7d5982c2216ff58cbca6857feb0af4 | [
"MIT"
] | 15 | 2018-07-20T08:38:42.000Z | 2021-12-06T08:25:47.000Z | src/app/mod_vote/__init__.py | talsperre/Flask-Stackoverflow-App | f77501c00e7d5982c2216ff58cbca6857feb0af4 | [
"MIT"
] | null | null | null | src/app/mod_vote/__init__.py | talsperre/Flask-Stackoverflow-App | f77501c00e7d5982c2216ff58cbca6857feb0af4 | [
"MIT"
] | 12 | 2018-03-02T02:36:20.000Z | 2022-02-12T16:08:52.000Z | #from flask import Blueprint
#mod_vote = Blueprint('mod_vote', __name__)
#from . import views | 19 | 43 | 0.757895 | 13 | 95 | 5.076923 | 0.615385 | 0.363636 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 5 | 44 | 19 | 0.804878 | 0.926316 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d6d768e9be276d23dd86463cb79de494a7429ab7 | 46 | py | Python | python/packaging/example_package/src/pyntsize/pyntsize.py | SnoopJeDi/playground | 73fab4a38ceeff3da23683e3dd1cb1b3a74cf4cf | [
"MIT"
] | null | null | null | python/packaging/example_package/src/pyntsize/pyntsize.py | SnoopJeDi/playground | 73fab4a38ceeff3da23683e3dd1cb1b3a74cf4cf | [
"MIT"
] | null | null | null | python/packaging/example_package/src/pyntsize/pyntsize.py | SnoopJeDi/playground | 73fab4a38ceeff3da23683e3dd1cb1b3a74cf4cf | [
"MIT"
] | null | null | null | def pyntprint():
print("O frabjous day!")
| 15.333333 | 28 | 0.630435 | 6 | 46 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 2 | 29 | 23 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0.326087 | 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 |
ba35cf841c952eb07c364df02ec9e9ada652108f | 476 | py | Python | items.py | xianc78/Platformer | 71b5a833d740ff9027271df551fff7005130f8b6 | [
"Unlicense"
] | null | null | null | items.py | xianc78/Platformer | 71b5a833d740ff9027271df551fff7005130f8b6 | [
"Unlicense"
] | null | null | null | items.py | xianc78/Platformer | 71b5a833d740ff9027271df551fff7005130f8b6 | [
"Unlicense"
] | null | null | null | import pygame
import constants
class Coin:
def __init__(self, x, y):
self.image = pygame.image.load("resources/graphics/coin.bmp")
self.image.set_colorkey(constants.BLACK)
self.rect = self.image.get_rect()
self.rect.x = x
self.rect.y = y
class ExtraLife:
def __init__(self, x, y):
self.image = pygame.i... | 26.444444 | 64 | 0.716387 | 76 | 476 | 4.328947 | 0.289474 | 0.164134 | 0.066869 | 0.072948 | 0.820669 | 0.820669 | 0.820669 | 0.820669 | 0.820669 | 0.820669 | 0 | 0 | 0.140756 | 476 | 18 | 65 | 26.444444 | 0.804401 | 0 | 0 | 0.625 | 0 | 0 | 0.115304 | 0.115304 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.375 | 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 |
ba893f554e3368ea0474a8ecc3db677d2ad4c27c | 23 | py | Python | model_server/imutils/__init__.py | tejasmhos/clomask | 49954f1c1aa8efa775fd8f509287de93c01f2ccc | [
"MIT"
] | 8 | 2019-03-22T19:48:33.000Z | 2019-08-31T06:38:58.000Z | model_server/imutils/__init__.py | tejasmhos/clomask | 49954f1c1aa8efa775fd8f509287de93c01f2ccc | [
"MIT"
] | 31 | 2018-10-25T09:33:13.000Z | 2021-08-25T15:29:08.000Z | model_server/imutils/__init__.py | tejasmhos/clomask | 49954f1c1aa8efa775fd8f509287de93c01f2ccc | [
"MIT"
] | 5 | 2018-11-02T19:52:47.000Z | 2020-04-15T04:27:37.000Z | from .imutils import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 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 |
ba913626ade6a23b3b46f4b82133795687a62851 | 332 | py | Python | tester/encoders/__init__.py | ultravideo/uvgVenctester | 73c4087efe5f654464f20c8861f0811cd62b6727 | [
"BSD-2-Clause"
] | 7 | 2021-06-16T14:53:14.000Z | 2022-02-24T11:42:39.000Z | tester/encoders/__init__.py | ultravideo/uvgVenctester | 73c4087efe5f654464f20c8861f0811cd62b6727 | [
"BSD-2-Clause"
] | null | null | null | tester/encoders/__init__.py | ultravideo/uvgVenctester | 73c4087efe5f654464f20c8861f0811cd62b6727 | [
"BSD-2-Clause"
] | null | null | null | from tester.encoders.base import DecoderBase, EncoderBase, QualityParam
from tester.encoders.kvazaar import Kvazaar, Uvg266
from tester.encoders.hm import Hm
from tester.encoders.vtm import Vtm
from tester.encoders.x265 import X265
from tester.encoders.vvenc import Vvenc, Vvencff
from tester.encoders.svt_vp9 import Svt... | 41.5 | 71 | 0.843373 | 48 | 332 | 5.8125 | 0.395833 | 0.250896 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040134 | 0.099398 | 332 | 7 | 72 | 47.428571 | 0.892977 | 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 | 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 |
baaf54bc2bfd0db233887ab6f691266ca258687b | 3,020 | py | Python | CryMOS/QVpp.py | michi7x7/pm-mos-model | 394d752b1165f5afd96520f1b6e2dbecc27fdc4b | [
"Apache-2.0"
] | 1 | 2021-11-26T08:40:40.000Z | 2021-11-26T08:40:40.000Z | CryMOS/QVpp.py | michi7x7/pm-mos-model | 394d752b1165f5afd96520f1b6e2dbecc27fdc4b | [
"Apache-2.0"
] | null | null | null | CryMOS/QVpp.py | michi7x7/pm-mos-model | 394d752b1165f5afd96520f1b6e2dbecc27fdc4b | [
"Apache-2.0"
] | 2 | 2021-12-06T21:56:27.000Z | 2021-12-08T09:58:24.000Z | """ C++ implementations of QV-models """
from .QV import BeckersQVpy, DiracQVpy, GildenblatQVpy
import numpy as np
__all__ = ['BeckersQVcpp', 'DiracQVcpp', 'GildenblatQVcpp']
class BeckersQVcpp(BeckersQVpy):
from .cpp import available as cpp_avail
def _get_solver(self):
if not self.cpp_avail:
... | 29.607843 | 109 | 0.60298 | 494 | 3,020 | 3.402834 | 0.157895 | 0.042832 | 0.02677 | 0.037478 | 0.759667 | 0.759667 | 0.759667 | 0.759667 | 0.759667 | 0.759667 | 0 | 0.00463 | 0.284768 | 3,020 | 101 | 110 | 29.90099 | 0.773611 | 0.039404 | 0 | 0.724638 | 0 | 0.043478 | 0.102742 | 0.072197 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0.115942 | 0.086957 | 0.463768 | 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 |
babbb88459d58cf26cddc9c0b32fb17f44249ed7 | 16,211 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_idrac_redfish_storage_controller.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_idrac_redfish_storage_controller.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_idrac_redfish_storage_controller.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Dell EMC OpenManage Ansible Modules
# Version 2.1.3
# Copyright (C) 2019-2020 Dell Inc. or its subsidiaries. All Rights Reserved.
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#
from __future__ import (absolute_import, division, print_functio... | 57.896429 | 120 | 0.633952 | 1,756 | 16,211 | 5.469818 | 0.123576 | 0.095575 | 0.132431 | 0.071005 | 0.839979 | 0.802811 | 0.776471 | 0.766059 | 0.736908 | 0.700885 | 0 | 0.008572 | 0.27321 | 16,211 | 279 | 121 | 58.103943 | 0.806654 | 0.014681 | 0 | 0.691358 | 0 | 0 | 0.181835 | 0.058941 | 0 | 0 | 0 | 0 | 0.098765 | 1 | 0.065844 | false | 0 | 0.045267 | 0 | 0.139918 | 0.004115 | 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 |
bade9bf9430d01a145b489f152480a976fbff2d4 | 15,436 | py | Python | !pythonPrograms/designLibrary_test.py | cameron303/TrussStructuralOptimization | ec0d066c7c39682883075a1cae59bfbf444078a7 | [
"Apache-2.0"
] | null | null | null | !pythonPrograms/designLibrary_test.py | cameron303/TrussStructuralOptimization | ec0d066c7c39682883075a1cae59bfbf444078a7 | [
"Apache-2.0"
] | null | null | null | !pythonPrograms/designLibrary_test.py | cameron303/TrussStructuralOptimization | ec0d066c7c39682883075a1cae59bfbf444078a7 | [
"Apache-2.0"
] | null | null | null | #design library
import STL_reader
def simple_truss1():
x = 1
z = 1
L1 = -1000
A = 1 / 10000 # convert sq.cm to sq.m
mat = 's' # input material code
# NODE LISTS
# coord | supports | loads |
# (x,y,z) |(0=fixed,1=free)| (x,y,z) |
n1 = [ [ 0, 0, 0], [0, 0, 0], [0, 0, 0] ]
n2 ... | 33.267241 | 94 | 0.539388 | 2,763 | 15,436 | 2.963084 | 0.089396 | 0.037621 | 0.032613 | 0.024429 | 0.834372 | 0.822401 | 0.815561 | 0.803957 | 0.780261 | 0.776597 | 0 | 0.123619 | 0.255312 | 15,436 | 463 | 95 | 33.339093 | 0.588604 | 0.29496 | 0 | 0.588785 | 0 | 0 | 0.022108 | 0.007304 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024922 | false | 0 | 0.006231 | 0 | 0.056075 | 0.012461 | 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 |
2414d98579c6727bc142bd36432f2ead0a86c52f | 49 | py | Python | devel/lib/python2.7/dist-packages/xarm_msgs/msg/__init__.py | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | devel/lib/python2.7/dist-packages/xarm_msgs/msg/__init__.py | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | devel/lib/python2.7/dist-packages/xarm_msgs/msg/__init__.py | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | from ._IOState import *
from ._RobotMsg import *
| 16.333333 | 24 | 0.755102 | 6 | 49 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 25 | 24.5 | 0.853659 | 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 |
032b433964941939d3028966046e539ca03b3669 | 6,681 | py | Python | tests/dwd/radar/test_index.py | panodata/python_dwd | a9ee1bdf21b8fc12f6b6b33628ca804e656f310d | [
"MIT"
] | null | null | null | tests/dwd/radar/test_index.py | panodata/python_dwd | a9ee1bdf21b8fc12f6b6b33628ca804e656f310d | [
"MIT"
] | null | null | null | tests/dwd/radar/test_index.py | panodata/python_dwd | a9ee1bdf21b8fc12f6b6b33628ca804e656f310d | [
"MIT"
] | 1 | 2022-03-21T14:28:45.000Z | 2022-03-21T14:28:45.000Z | import pytest
from pathlib import PurePath
from wetterdienst.dwd.radar.metadata import (
DWDRadarParameter,
DWDRadarDataFormat,
DWDRadarDataSubset,
DWDRadarResolution,
DWDRadarPeriod,
)
from wetterdienst.dwd.radar.sites import DWDRadarSite
from wetterdienst.dwd.radar.index import create_fileindex_ra... | 26.831325 | 105 | 0.686873 | 747 | 6,681 | 5.879518 | 0.123159 | 0.061475 | 0.07286 | 0.043716 | 0.84153 | 0.825592 | 0.81694 | 0.801913 | 0.794627 | 0.72541 | 0 | 0.005696 | 0.211645 | 6,681 | 248 | 106 | 26.939516 | 0.828175 | 0 | 0 | 0.505376 | 0 | 0 | 0.146385 | 0.123634 | 0 | 0 | 0 | 0 | 0.080645 | 1 | 0.080645 | false | 0 | 0.026882 | 0 | 0.107527 | 0.005376 | 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 |
3032ec9a5035df0ca56ae92c82c140e75d820411 | 93 | py | Python | legacy/rnns/benchmarks/lstm_variants/__init__.py | Chillee/benchmark | 91e1b2871327e44b9b7d24d173ca93720fb6565b | [
"BSD-3-Clause"
] | 1 | 2021-07-30T08:47:09.000Z | 2021-07-30T08:47:09.000Z | legacy/rnns/benchmarks/lstm_variants/__init__.py | Chillee/benchmark | 91e1b2871327e44b9b7d24d173ca93720fb6565b | [
"BSD-3-Clause"
] | 1 | 2021-04-17T11:24:26.000Z | 2021-04-17T11:28:49.000Z | legacy/rnns/benchmarks/lstm_variants/__init__.py | Chillee/benchmark | 91e1b2871327e44b9b7d24d173ca93720fb6565b | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
from .lstm import *
from .normalize import *
from .container import *
| 15.5 | 24 | 0.72043 | 13 | 93 | 5.153846 | 0.692308 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 25 | 18.6 | 0.858974 | 0.215054 | 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 |
06afd45ed505c784040c48855cb4e412adf097fd | 1,696 | py | Python | config.py | zhangshichenglife/amazon | 001964f8cecedfc10bb4979a8af98edd926987ab | [
"MIT"
] | 1 | 2020-08-02T19:48:55.000Z | 2020-08-02T19:48:55.000Z | config.py | zhangshichenglife/amazon | 001964f8cecedfc10bb4979a8af98edd926987ab | [
"MIT"
] | null | null | null | config.py | zhangshichenglife/amazon | 001964f8cecedfc10bb4979a8af98edd926987ab | [
"MIT"
] | 1 | 2020-10-21T14:55:43.000Z | 2020-10-21T14:55:43.000Z |
# mysql 数据库配置信息
HOST = ''
PORT = ''
USER = ''
PASSWORD = ''
DATABASE = ''
# 网页cookie信息
COOKIE = 's_fid=16EA47F34D0C27D1-3D49C0C1B807C69C; s_dslv=1588085362157; s_vn=1619487134855%26vn%3D2; s_nr=1592356504313-Repeat; regStatus=pre-register; x-wl-uid=1oFkJghyA05X3g0aAQ4KsIIeQQrGiyWDznKUVwLKDcTSdrE2BKMaYDs9LhL2UdTb2e07S... | 169.6 | 1,607 | 0.882075 | 160 | 1,696 | 9.225 | 0.85 | 0.018293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32768 | 0.026533 | 1,696 | 10 | 1,607 | 169.6 | 0.566323 | 0.014151 | 0 | 0 | 0 | 0.166667 | 0.956261 | 0.916717 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
236277bc216cc9bab9f4c4940e8a0c7376a15137 | 31 | py | Python | week1/installed_python.py | TheNovel/coursera-python-network-data | b33109955065a772a974f6fa33bbbf93a475a9bb | [
"MIT"
] | null | null | null | week1/installed_python.py | TheNovel/coursera-python-network-data | b33109955065a772a974f6fa33bbbf93a475a9bb | [
"MIT"
] | null | null | null | week1/installed_python.py | TheNovel/coursera-python-network-data | b33109955065a772a974f6fa33bbbf93a475a9bb | [
"MIT"
] | 1 | 2020-08-13T16:50:01.000Z | 2020-08-13T16:50:01.000Z | print('I install the Python!')
| 15.5 | 30 | 0.709677 | 5 | 31 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
88daafd111558597a3f824d0038b0f53651a5358 | 36 | py | Python | backend/pydashery/__init__.py | lietu/pydashery | b9a1a53b9d6c13fac76c40d9fc62d0422314e869 | [
"MIT"
] | 1 | 2019-07-12T07:46:42.000Z | 2019-07-12T07:46:42.000Z | backend/pydashery/__init__.py | lietu/pydashery | b9a1a53b9d6c13fac76c40d9fc62d0422314e869 | [
"MIT"
] | null | null | null | backend/pydashery/__init__.py | lietu/pydashery | b9a1a53b9d6c13fac76c40d9fc62d0422314e869 | [
"MIT"
] | null | null | null | from pydashery.widget import Widget
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
0007457549692d55e558450a0896af419e547413 | 99 | py | Python | cassiopeia/mixins/__init__.py | YosefLab/SingleCellLineageTracing | d9133fc80c8314e7935fde037dd86111cac47447 | [
"MIT"
] | 52 | 2019-05-14T02:06:24.000Z | 2022-03-27T05:22:56.000Z | cassiopeia/mixins/__init__.py | sbradford2/Cassiopeia | 010072b307f7eadbf10dc4af8b2165e48f1736a7 | [
"MIT"
] | 88 | 2019-06-07T15:07:45.000Z | 2022-03-22T14:40:03.000Z | cassiopeia/mixins/__init__.py | sbradford2/Cassiopeia | 010072b307f7eadbf10dc4af8b2165e48f1736a7 | [
"MIT"
] | 17 | 2019-05-17T00:46:16.000Z | 2022-03-25T00:39:18.000Z | from .errors import *
from .logging import logger
from .utilities import *
from .warnings import *
| 19.8 | 27 | 0.767677 | 13 | 99 | 5.846154 | 0.538462 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 4 | 28 | 24.75 | 0.915663 | 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 |
0010af6d9ef09c89d15bbf13eb0b1cea6d891016 | 147 | py | Python | apps/home/views.py | tufbel/wFocus | ee0f02053b8a5bc9c40dd862306fc5df1a063b9d | [
"Apache-2.0"
] | null | null | null | apps/home/views.py | tufbel/wFocus | ee0f02053b8a5bc9c40dd862306fc5df1a063b9d | [
"Apache-2.0"
] | 11 | 2020-06-06T01:51:51.000Z | 2022-02-10T14:31:21.000Z | apps/home/views.py | tufbel/wFocus | ee0f02053b8a5bc9c40dd862306fc5df1a063b9d | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render, redirect
from django.urls import reverse
def index(request):
return redirect(reverse('app_index:home'))
| 21 | 46 | 0.782313 | 20 | 147 | 5.7 | 0.7 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129252 | 147 | 6 | 47 | 24.5 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
003722ff5ddf9311c49db265271a7fb5527c6fc4 | 42 | py | Python | extract_emails/workers/__init__.py | dmitriiweb/extract-emails | 59d8c506914874094653885ac2f9ec60163ce8ff | [
"MIT"
] | 50 | 2017-08-14T03:44:38.000Z | 2022-03-24T16:07:38.000Z | extract_emails/workers/__init__.py | dmitriiweb/extract-emails | 59d8c506914874094653885ac2f9ec60163ce8ff | [
"MIT"
] | 19 | 2017-07-24T11:21:51.000Z | 2022-03-16T07:28:04.000Z | extract_emails/workers/__init__.py | dmitriiweb/extract-emails | 59d8c506914874094653885ac2f9ec60163ce8ff | [
"MIT"
] | 26 | 2017-07-24T10:32:18.000Z | 2022-03-21T19:04:41.000Z | from .default_worker import DefaultWorker
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0038ebfbb6c8218e5e384b42751d5238dd8f50d2 | 92 | py | Python | tasks/__init__.py | hitachi-rd-cv/influence-estimation-for-gans | 9c71c56cd0c549e7c24f1345303fe4544f4adbf7 | [
"MIT"
] | 1 | 2022-01-20T07:18:31.000Z | 2022-01-20T07:18:31.000Z | tasks/__init__.py | hitachi-rd-cv/influence-estimation-for-gans | 9c71c56cd0c549e7c24f1345303fe4544f4adbf7 | [
"MIT"
] | null | null | null | tasks/__init__.py | hitachi-rd-cv/influence-estimation-for-gans | 9c71c56cd0c549e7c24f1345303fe4544f4adbf7 | [
"MIT"
] | null | null | null | from .dataset import *
from .experiment import *
from .totaling import *
from .etc import *
| 18.4 | 25 | 0.73913 | 12 | 92 | 5.666667 | 0.5 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 4 | 26 | 23 | 0.894737 | 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 |
ccb002a574f76b8bb720df840be67f7c2cdd6677 | 25 | py | Python | oscaar/astrometry/__init__.py | breaks-software/OSCAAR | 254acfccbd907b89485b9d78cff2681892a40309 | [
"MIT"
] | 29 | 2015-02-01T13:06:27.000Z | 2022-02-19T08:47:51.000Z | oscaar/astrometry/__init__.py | breaks-software/OSCAAR | 254acfccbd907b89485b9d78cff2681892a40309 | [
"MIT"
] | 15 | 2015-04-21T19:55:11.000Z | 2021-03-28T16:44:16.000Z | oscaar/astrometry/__init__.py | breaks-software/OSCAAR | 254acfccbd907b89485b9d78cff2681892a40309 | [
"MIT"
] | 8 | 2015-01-24T23:52:51.000Z | 2021-03-28T16:07:08.000Z | from trackSmooth import * | 25 | 25 | 0.84 | 3 | 25 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aea93d2c28d367bb1e8810fdd67b340700e4e1eb | 9,687 | py | Python | app/tests/test_round_service.py | thomasemurphy/django-channels-react-multiplayer | 2d8bbf408442f73cba461beb2ef2b50a33d23cae | [
"MIT"
] | 57 | 2019-08-22T00:02:09.000Z | 2022-03-14T14:46:32.000Z | app/tests/test_round_service.py | aduranil/django-channels-react-hooks-multiplayer | 2d8bbf408442f73cba461beb2ef2b50a33d23cae | [
"MIT"
] | 1 | 2019-08-07T14:09:18.000Z | 2019-08-07T14:09:18.000Z | app/tests/test_round_service.py | aduranil/django-channels-react-hooks-multiplayer | 2d8bbf408442f73cba461beb2ef2b50a33d23cae | [
"MIT"
] | 11 | 2019-11-02T19:38:47.000Z | 2022-01-10T23:37:01.000Z | import pytest
from app.services.round_service import (
RoundTabulation,
LEAVE_COMMENT,
CALL_IPHONE,
DISLIKE,
GO_LIVE,
POST_SELFIE,
DONT_POST,
NO_MOVE,
DISLIKE_DM,
POST_SELFIE_PTS,
POST_SELFIE_DM,
GO_LIVE_DM,
NO_MOVE_DM,
)
from app.services import round_service, messa... | 42.30131 | 87 | 0.732735 | 1,614 | 9,687 | 4.114002 | 0.076208 | 0.024398 | 0.106024 | 0.114458 | 0.896235 | 0.891566 | 0.885542 | 0.872139 | 0.853012 | 0.828313 | 0 | 0.024124 | 0.157015 | 9,687 | 228 | 88 | 42.486842 | 0.789003 | 0.088056 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205556 | 1 | 0.088889 | false | 0 | 0.022222 | 0.005556 | 0.116667 | 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 |
aeb2da12b6996bb38060ccb8c0c44741f58efa0c | 34 | py | Python | test/scenario/multi-backend/fabfile/__init__.py | jsm84/ScalitySproxydSwift | 3dc536561716dc20f6140e20cfd10c766e5452fc | [
"Apache-2.0"
] | 4 | 2015-06-05T01:18:34.000Z | 2019-08-09T16:12:47.000Z | test/scenario/multi-backend/fabfile/__init__.py | jsm84/ScalitySproxydSwift | 3dc536561716dc20f6140e20cfd10c766e5452fc | [
"Apache-2.0"
] | 150 | 2015-01-05T09:22:55.000Z | 2019-09-13T13:44:24.000Z | test/scenario/multi-backend/fabfile/__init__.py | jsm84/ScalitySproxydSwift | 3dc536561716dc20f6140e20cfd10c766e5452fc | [
"Apache-2.0"
] | 5 | 2015-02-03T11:40:37.000Z | 2019-08-09T15:59:47.000Z |
import bootstrap
import validate
| 8.5 | 16 | 0.852941 | 4 | 34 | 7.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 3 | 17 | 11.333333 | 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 |
aedb6fa9979a4a6093a1f66723daa132a935c739 | 196 | py | Python | venv/Lib/site-packages/pybrain/rl/learners/directsearch/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | 4 | 2015-01-01T14:57:38.000Z | 2018-07-12T04:21:36.000Z | pybrain/rl/learners/directsearch/__init__.py | abhishekgahlot/pybrain | c54661f13857d5bcb0095ba2fb12f5a403a4a70f | [
"BSD-3-Clause"
] | null | null | null | pybrain/rl/learners/directsearch/__init__.py | abhishekgahlot/pybrain | c54661f13857d5bcb0095ba2fb12f5a403a4a70f | [
"BSD-3-Clause"
] | 2 | 2015-01-23T09:23:58.000Z | 2019-02-22T05:42:29.000Z | from rwr import RWR
from enac import ENAC
from reinforce import Reinforce
# TODO: also black-box optimizers -- but this leads to circular imports...
# from pybrain.optimization.__init__ import *
| 28 | 74 | 0.785714 | 28 | 196 | 5.357143 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 196 | 6 | 75 | 32.666667 | 0.903614 | 0.591837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9da0f2eb0821d20a43bcf58d0378c09b02f77515 | 12,400 | py | Python | django/spbu_dbms_project/web_app/parser.py | Betekhtin/SPBU-DBMS-Project | 6a712c7e8bc7ee4c2ee207c9ba6d9cbd29e92f7a | [
"MIT"
] | 3 | 2016-11-17T09:37:54.000Z | 2016-11-20T13:21:08.000Z | django/spbu_dbms_project/web_app/parser.py | Betekhtin/SPBU-DBMS-Project | 6a712c7e8bc7ee4c2ee207c9ba6d9cbd29e92f7a | [
"MIT"
] | null | null | null | django/spbu_dbms_project/web_app/parser.py | Betekhtin/SPBU-DBMS-Project | 6a712c7e8bc7ee4c2ee207c9ba6d9cbd29e92f7a | [
"MIT"
] | null | null | null | import lxml.html as html
import sqlite3
from sqlite3 import Error
from web_app import models
import datetime
def myopen_http(method, url, values):
if not url:
raise ValueError("cannot submit, no URL provided")
## FIXME: should test that it's not a relative URL or something
try:
from url... | 36.046512 | 196 | 0.540968 | 1,579 | 12,400 | 4.115896 | 0.124129 | 0.072627 | 0.08032 | 0.178489 | 0.793814 | 0.779043 | 0.759501 | 0.750577 | 0.74473 | 0.72365 | 0 | 0.033307 | 0.285726 | 12,400 | 344 | 197 | 36.046512 | 0.700463 | 0.045806 | 0 | 0.388514 | 0 | 0.003378 | 0.062484 | 0.017255 | 0 | 0 | 0 | 0.002907 | 0 | 1 | 0.033784 | false | 0 | 0.030405 | 0 | 0.067568 | 0.027027 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9dcc1b0afa07818c9bd852a3a425887305e2c58c | 71 | py | Python | user/serializers/__init__.py | sharif-42/Style-Icon | 26cd93cdd991588ce41f0032b033551f9f1a1bce | [
"MIT"
] | 1 | 2022-01-01T11:51:30.000Z | 2022-01-01T11:51:30.000Z | user/serializers/__init__.py | sharif-42/Style-Icon | 26cd93cdd991588ce41f0032b033551f9f1a1bce | [
"MIT"
] | null | null | null | user/serializers/__init__.py | sharif-42/Style-Icon | 26cd93cdd991588ce41f0032b033551f9f1a1bce | [
"MIT"
] | null | null | null | from .user_serializer import UserInputSerializer, UserOutputSerializer
| 35.5 | 70 | 0.901408 | 6 | 71 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 71 | 1 | 71 | 71 | 0.954545 | 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 |
9df86ee3393d5c023abbb546bd3269a01deab35f | 22 | py | Python | s2angs/__init__.py | marujore/Sentinel_Angle_Bands | 059e89e05f0953463e49329a0ebe4569bc502267 | [
"MIT"
] | 5 | 2020-05-07T11:57:18.000Z | 2021-07-02T11:52:03.000Z | s2angs/__init__.py | marujore/sentinel_angle_bands | 059e89e05f0953463e49329a0ebe4569bc502267 | [
"MIT"
] | 5 | 2021-08-11T16:23:07.000Z | 2021-09-24T18:57:14.000Z | s2angs/__init__.py | marujore/sentinel_angle_bands | 059e89e05f0953463e49329a0ebe4569bc502267 | [
"MIT"
] | 4 | 2020-07-02T14:25:18.000Z | 2021-08-02T14:56:45.000Z | from .s2_angs import * | 22 | 22 | 0.772727 | 4 | 22 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.136364 | 22 | 1 | 22 | 22 | 0.789474 | 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 |
d17afe6df37a447ad4db0091c188c87ff0650583 | 237 | py | Python | Codewars/7kyu/find-the-volume-of-a-cone/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/7kyu/find-the-volume-of-a-cone/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/7kyu/find-the-volume-of-a-cone/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.describe('Basic tests')
Test.assert_equals(volume(7, 3), 153)
Test.assert_equals(volume(56, 30), 98520)
Test.assert_equals(volume(0, 10), 0)
Test.assert_equals(volume(10, 0), 0)
Test.assert_equals(volume(0, 0), 0)
| 26.333333 | 41 | 0.721519 | 43 | 237 | 3.860465 | 0.395349 | 0.301205 | 0.481928 | 0.662651 | 0.421687 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130233 | 0.092827 | 237 | 8 | 42 | 29.625 | 0.64186 | 0.059072 | 0 | 0 | 0 | 0 | 0.049774 | 0 | 0 | 0 | 0 | 0 | 0.833333 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d1b8d9fea21b5b339670a34e84d5b283ffa0eff4 | 416 | py | Python | b-root/dec/b-root.py | Ajijul123aa/Reverse-Engineering | fad3f3eccadc9ca71620e07a8f3318c00334bcaa | [
"Apache-2.0"
] | 337 | 2020-08-15T12:22:14.000Z | 2022-03-29T06:05:15.000Z | b-root/dec/b-root.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 3 | 2020-11-12T14:30:48.000Z | 2021-05-18T16:56:22.000Z | b-root/dec/b-root.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 83 | 2020-08-15T00:22:58.000Z | 2022-03-31T08:40:23.000Z | # Deobfuscated BY HTR-TECH | Tahmid Rayat
# Github : https://github.com/htr-tech
# Instagram : https://www.instagram.com/tahmid.rayat
# Facebook : https://fb.com/tahmid.rayat.oficial
# Messenger : https://m.me/tahmid.rayat.oficial
import os,sys
os.system("cd /data/data/com.termux/files/home/ && pkg install wge... | 41.6 | 161 | 0.711538 | 65 | 416 | 4.553846 | 0.615385 | 0.148649 | 0.094595 | 0.114865 | 0.175676 | 0.175676 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117788 | 416 | 9 | 162 | 46.222222 | 0.80654 | 0.543269 | 0 | 0 | 0 | 0.5 | 0.808743 | 0.453552 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ae092b569f3914ad4278a12d9f1bc1f3fc7a0a9e | 137 | py | Python | office365/sharepoint/features/feature.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/features/feature.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/features/feature.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.sharepoint.base_entity import BaseEntity
class Feature(BaseEntity):
"""Represents an activated feature."""
pass
| 19.571429 | 55 | 0.759124 | 15 | 137 | 6.866667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 0.153285 | 137 | 6 | 56 | 22.833333 | 0.862069 | 0.233577 | 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 |
ae4317e4d7cc5c9f6543c2e496f1a05282881012 | 18 | py | Python | src/lib/__init__.py | joaofilipevaz/IASA-TP3 | 5e7e4390b325ebb2d196558d50d1e3f321ac0ba5 | [
"MIT"
] | null | null | null | src/lib/__init__.py | joaofilipevaz/IASA-TP3 | 5e7e4390b325ebb2d196558d50d1e3f321ac0ba5 | [
"MIT"
] | null | null | null | src/lib/__init__.py | joaofilipevaz/IASA-TP3 | 5e7e4390b325ebb2d196558d50d1e3f321ac0ba5 | [
"MIT"
] | null | null | null | from ecr import *
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ae5ac9b59ff27ce408e8b5776ba19c5313e9aac7 | 258,276 | py | Python | instances/passenger_demand/pas-20210422-1717-int1/36.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/36.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/36.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 18936
passenger_arriving = (
(6, 4, 3, 7, 5, 0, 4, 5, 1, 2, 1, 1, 0, 6, 4, 2, 3, 3, 2, 0, 1, 9, 1, 0, 0, 0), # 0
(9, 6, 4, 7, 4, 6, 0, 1, 1, 1, 1, 0, 0, 4, 7, 1, 1, 7, 2, 1, 3, 2, 2, 1, 0, 0), # 1
(7, 5, 6, 8, 4, 2, 2, 3, 3, 0, 1, 0, 0, 9, 5, 4, 1, 1, 4, 4, 0, 1, 2, 0, 0, 0), ... | 276.231016 | 494 | 0.769533 | 32,987 | 258,276 | 6.024828 | 0.216115 | 0.358658 | 0.344167 | 0.652105 | 0.376118 | 0.367961 | 0.365048 | 0.364193 | 0.364112 | 0.364112 | 0 | 0.849791 | 0.095766 | 258,276 | 934 | 495 | 276.526767 | 0.001195 | 0.01553 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ae8b2ba6d88ba8dda2185d89d7ff8c1ab6e8ba24 | 23 | py | Python | app.py | dshushin/knwldgbs | c48d4c5864e0fd4ded601f4ef63f586818d5da50 | [
"MIT"
] | null | null | null | app.py | dshushin/knwldgbs | c48d4c5864e0fd4ded601f4ef63f586818d5da50 | [
"MIT"
] | null | null | null | app.py | dshushin/knwldgbs | c48d4c5864e0fd4ded601f4ef63f586818d5da50 | [
"MIT"
] | null | null | null | from webapp import app
| 11.5 | 22 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 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 |
88239a31c70435ee71c85a1dcd64de7e75c9ad3f | 47 | py | Python | irctest/scram/__init__.py | FiskFan1999/ergochat_irctest | da005d7d2492bf31c4bdeb46108240766c69d0ad | [
"MIT"
] | 16 | 2015-12-20T16:24:54.000Z | 2021-06-03T18:00:03.000Z | irctest/scram/__init__.py | FiskFan1999/ergochat_irctest | da005d7d2492bf31c4bdeb46108240766c69d0ad | [
"MIT"
] | 66 | 2015-12-20T00:23:25.000Z | 2021-08-14T09:57:04.000Z | irctest/scram/__init__.py | FiskFan1999/ergochat_irctest | da005d7d2492bf31c4bdeb46108240766c69d0ad | [
"MIT"
] | 3 | 2021-12-04T21:18:41.000Z | 2022-03-22T01:42:36.000Z | from .scram import *
from .exceptions import *
| 15.666667 | 25 | 0.744681 | 6 | 47 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 26 | 23.5 | 0.897436 | 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 |
8835c2a8d2ac27eed7e0dd3d6cec55af21dbf98a | 66,461 | py | Python | S3ModelTools/tools/admin.py | twcook/S3ModelTools | e3dc7e4df401d2e1d7531ee38c75211cfb7a3573 | [
"Apache-2.0"
] | null | null | null | S3ModelTools/tools/admin.py | twcook/S3ModelTools | e3dc7e4df401d2e1d7531ee38c75211cfb7a3573 | [
"Apache-2.0"
] | null | null | null | S3ModelTools/tools/admin.py | twcook/S3ModelTools | e3dc7e4df401d2e1d7531ee38c75211cfb7a3573 | [
"Apache-2.0"
] | null | null | null | """
Django Admin definitions.
"""
from django.contrib import admin, messages
from django.utils.translation import gettext_lazy as _
from django.shortcuts import get_object_or_404
from tools.models import get_cuid
from tools.models import Attestation, Audit, Modeler, Predicate, PredObj, NS, Project, Participati... | 43.523903 | 216 | 0.552986 | 6,844 | 66,461 | 5.167592 | 0.060929 | 0.023185 | 0.030763 | 0.01623 | 0.793791 | 0.778155 | 0.774394 | 0.750869 | 0.74151 | 0.737609 | 0 | 0.004414 | 0.297799 | 66,461 | 1,526 | 217 | 43.552425 | 0.753412 | 0.012127 | 0 | 0.717629 | 0 | 0 | 0.219088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041342 | false | 0.00312 | 0.00546 | 0 | 0.230889 | 0.054602 | 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 |
ee029c238a7a19fb192b2396d7f68b850cd36c34 | 4,113 | py | Python | data/train/python/ee029c238a7a19fb192b2396d7f68b850cd36c34test_authorization.py | harshp8l/deep-learning-lang-detection | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/train/python/ee029c238a7a19fb192b2396d7f68b850cd36c34test_authorization.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/train/python/ee029c238a7a19fb192b2396d7f68b850cd36c34test_authorization.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | from gitexd.interfaces import IAuth
from gitexd.tests import formatRemote, AuthenticationTest
from gitexd.tests.plugins import default, repoAuthorization, refsAuthorization
from gitexd.tests.test_workflow import ApplicationTest
class RepositoryAuthorizationTests(AuthenticationTest):
def setUp(self):
ApplicationT... | 34.855932 | 119 | 0.758327 | 387 | 4,113 | 8.046512 | 0.204134 | 0.134875 | 0.05395 | 0.056198 | 0.802184 | 0.728003 | 0.728003 | 0.701349 | 0.669878 | 0.648362 | 0 | 0.001127 | 0.136883 | 4,113 | 118 | 120 | 34.855932 | 0.876056 | 0.012886 | 0 | 0.628205 | 0 | 0 | 0.051983 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.230769 | false | 0 | 0.051282 | 0 | 0.410256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ee26b6bb32a58f2539c5b4cea85450fb22778f24 | 32 | py | Python | cutmix/__init__.py | bottlenome/cutmix | d18c2bda47e7d1786819420edbb2c8e5ad43385f | [
"MIT"
] | 141 | 2019-07-23T12:56:59.000Z | 2022-03-31T02:42:34.000Z | cutmix/__init__.py | ildoonet/pytorch-cutmix | 1bc006b5f40c284a6bf4ef881906e2109a27ef6c | [
"MIT"
] | 6 | 2019-10-16T11:49:36.000Z | 2021-01-11T08:33:07.000Z | cutmix/__init__.py | ildoonet/pytorch-cutmix | 1bc006b5f40c284a6bf4ef881906e2109a27ef6c | [
"MIT"
] | 25 | 2019-09-15T08:48:41.000Z | 2022-01-22T23:20:25.000Z | from cutmix.cutmix import CutMix | 32 | 32 | 0.875 | 5 | 32 | 5.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee3a9fc188cffe0ce89445c07763957341523f7d | 21 | py | Python | simulator/simp_py/ustruct.py | kcfkwok2003/Simp_py | f75e66da01b45dc8688dda602f8b33d4258f0c31 | [
"MIT"
] | null | null | null | simulator/simp_py/ustruct.py | kcfkwok2003/Simp_py | f75e66da01b45dc8688dda602f8b33d4258f0c31 | [
"MIT"
] | null | null | null | simulator/simp_py/ustruct.py | kcfkwok2003/Simp_py | f75e66da01b45dc8688dda602f8b33d4258f0c31 | [
"MIT"
] | 1 | 2022-03-20T03:19:25.000Z | 2022-03-20T03:19:25.000Z | from struct import *
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee50bb191914f28e7ec0e37ab658edfaf50523c3 | 170 | py | Python | cride/users/views/__init__.py | mdark1001/crideApiRest | 228efec90d7f1ad8a6766b5a8085dd6bbf49fc8a | [
"MIT"
] | null | null | null | cride/users/views/__init__.py | mdark1001/crideApiRest | 228efec90d7f1ad8a6766b5a8085dd6bbf49fc8a | [
"MIT"
] | null | null | null | cride/users/views/__init__.py | mdark1001/crideApiRest | 228efec90d7f1ad8a6766b5a8085dd6bbf49fc8a | [
"MIT"
] | null | null | null | """
@author: Miguel Cabrera R. <miguel.cabrera@oohel.net>
@date: 13/04/21
@name: __init__.py
"""
from .user import UserLoginApiView, UserSignupApiView, UserVerifyApiView
| 24.285714 | 72 | 0.758824 | 21 | 170 | 5.952381 | 0.904762 | 0.208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.1 | 170 | 6 | 73 | 28.333333 | 0.777778 | 0.517647 | 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 |
ee66c71a151c78565dcaef811b8824058eaddca0 | 72 | py | Python | jacdac/hid_mouse/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/hid_mouse/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/hid_mouse/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import HidMouseClient # type: ignore
| 24 | 49 | 0.791667 | 8 | 72 | 7.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 72 | 2 | 50 | 36 | 0.919355 | 0.444444 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee8050059d1161ae6edf1116654b0d69941fab0c | 23,112 | py | Python | sdflexutils/tests/unit/ipa_hw_manager/test_hardware_manager.py | LaudateCorpus1/sdflexutils | b1e1cd8f1a15ca27cfe28adfc22060a1ded41641 | [
"Apache-2.0"
] | 2 | 2021-01-27T08:21:24.000Z | 2022-01-11T01:52:43.000Z | sdflexutils/tests/unit/ipa_hw_manager/test_hardware_manager.py | LaudateCorpus1/sdflexutils | b1e1cd8f1a15ca27cfe28adfc22060a1ded41641 | [
"Apache-2.0"
] | 3 | 2021-02-02T14:00:49.000Z | 2021-02-10T06:51:19.000Z | sdflexutils/tests/unit/ipa_hw_manager/test_hardware_manager.py | LaudateCorpus1/sdflexutils | b1e1cd8f1a15ca27cfe28adfc22060a1ded41641 | [
"Apache-2.0"
] | 1 | 2022-02-18T06:48:18.000Z | 2022-02-18T06:48:18.000Z | # Copyright 2015 Hewlett-Packard Development Company, L.P.
# Copyright 2019-2021 Hewlett Packard Enterprise Development LP
#
# 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.... | 44.964981 | 79 | 0.623572 | 2,401 | 23,112 | 5.62349 | 0.084132 | 0.061102 | 0.067768 | 0.061324 | 0.831136 | 0.813139 | 0.803066 | 0.78818 | 0.765961 | 0.747149 | 0 | 0.009106 | 0.282494 | 23,112 | 513 | 80 | 45.052632 | 0.805102 | 0.030071 | 0 | 0.691466 | 0 | 0 | 0.136116 | 0.011964 | 0 | 0 | 0 | 0 | 0.109409 | 1 | 0.07221 | false | 0 | 0.026258 | 0 | 0.100656 | 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 |
ee8527c08f53655c8bee587e6679c3f8aeb06228 | 78 | py | Python | src/dpmmlearn/__init__.py | ground0state/dpmmlearn | c602082586fba4e8b3163a694c9c32f44d6dd01c | [
"BSD-2-Clause",
"MIT"
] | null | null | null | src/dpmmlearn/__init__.py | ground0state/dpmmlearn | c602082586fba4e8b3163a694c9c32f44d6dd01c | [
"BSD-2-Clause",
"MIT"
] | null | null | null | src/dpmmlearn/__init__.py | ground0state/dpmmlearn | c602082586fba4e8b3163a694c9c32f44d6dd01c | [
"BSD-2-Clause",
"MIT"
] | null | null | null | from dpmmlearn.__version__ import __version__
from dpmmlearn.dpmm import DPMM
| 26 | 45 | 0.871795 | 10 | 78 | 6 | 0.5 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 46 | 39 | 0.857143 | 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 |
a008f0cd21bb61a297e5bef6d4e7ac3376be75bb | 141 | py | Python | configs/default/__init__.py | LuckyDC/generalizing-reid-improved | ec78ba033e2961ba3d1d19d86ecc18d5f6ac8e39 | [
"MIT"
] | 39 | 2020-08-14T02:17:08.000Z | 2022-03-28T08:28:42.000Z | configs/default/__init__.py | LuckyDC/generalizing-reid-improved | ec78ba033e2961ba3d1d19d86ecc18d5f6ac8e39 | [
"MIT"
] | 6 | 2021-06-25T06:46:03.000Z | 2022-03-25T06:47:12.000Z | configs/default/__init__.py | LuckyDC/generalizing-reid-improved | ec78ba033e2961ba3d1d19d86ecc18d5f6ac8e39 | [
"MIT"
] | 7 | 2020-09-07T11:47:08.000Z | 2022-02-05T06:25:07.000Z | from configs.default.dataset import dataset_cfg
from configs.default.strategy import strategy_cfg
__all__ = ["dataset_cfg", "strategy_cfg"]
| 28.2 | 49 | 0.822695 | 19 | 141 | 5.684211 | 0.421053 | 0.203704 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092199 | 141 | 4 | 50 | 35.25 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0.163121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4e56e98103c13455981492c078ca9aa88ff641d1 | 24 | py | Python | rriephtk/analysis/__init__.py | dfairbairn/rritk | bda3495f378879353c90978b643ba282a2ccd662 | [
"MIT"
] | 2 | 2021-01-15T05:55:05.000Z | 2022-02-06T16:28:31.000Z | rriephtk/analysis/__init__.py | dfairbairn/RRI-Conjunction-Script | bda3495f378879353c90978b643ba282a2ccd662 | [
"MIT"
] | null | null | null | rriephtk/analysis/__init__.py | dfairbairn/RRI-Conjunction-Script | bda3495f378879353c90978b643ba282a2ccd662 | [
"MIT"
] | 2 | 2018-05-06T20:31:29.000Z | 2019-03-17T19:51:34.000Z | from analysis import *
| 8 | 22 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 2 | 23 | 12 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ec2b54db13bddbdaedc3e2e62d2e5d5d70e5579 | 66 | py | Python | pingo/test/__init__.py | rbanffy/pingo | b448d5eecae17b82aafd708c2594dae6d4194d84 | [
"MIT"
] | 116 | 2015-05-06T17:49:22.000Z | 2021-11-16T12:59:35.000Z | pingo/test/__init__.py | pingo-io/pingo-py | 5d7081f99ff13973404dc6361560f30ce8f7009c | [
"MIT"
] | 49 | 2015-05-08T23:18:05.000Z | 2017-07-12T17:11:48.000Z | pingo/test/__init__.py | rbanffy/pingo | b448d5eecae17b82aafd708c2594dae6d4194d84 | [
"MIT"
] | 47 | 2015-05-04T07:42:04.000Z | 2021-08-04T20:49:54.000Z | import level0 # noqa
import level1 # noqa
import level2 # noqa
| 16.5 | 21 | 0.727273 | 9 | 66 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.227273 | 66 | 3 | 22 | 22 | 0.882353 | 0.212121 | 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 |
4ec9d6f67bca3e34cb2398a6813984325269d25c | 3,520 | py | Python | artemis/fileman/test_file_getter.py | peteroconnor-bc/artemis | ad2871fae7d986bf10580eec27aee5b7315adad5 | [
"BSD-2-Clause-FreeBSD"
] | 235 | 2016-08-26T14:18:51.000Z | 2022-03-13T10:54:39.000Z | artemis/fileman/test_file_getter.py | peteroconnor-bc/artemis | ad2871fae7d986bf10580eec27aee5b7315adad5 | [
"BSD-2-Clause-FreeBSD"
] | 112 | 2016-04-30T11:48:38.000Z | 2021-01-12T20:17:32.000Z | artemis/fileman/test_file_getter.py | peteroconnor-bc/artemis | ad2871fae7d986bf10580eec27aee5b7315adad5 | [
"BSD-2-Clause-FreeBSD"
] | 31 | 2016-11-05T19:09:19.000Z | 2021-09-13T07:35:40.000Z | from artemis.fileman.file_getter import get_file_in_archive, hold_file_root, get_file, get_file_path
from artemis.fileman.local_dir import get_artemis_data_path
import os
from six.moves import xrange
__author__ = 'peter'
def test_unpack_tar_gz():
with hold_file_root(get_artemis_data_path('file_getter_tests'), ... | 36.666667 | 150 | 0.659659 | 493 | 3,520 | 4.413793 | 0.174442 | 0.048254 | 0.051471 | 0.066176 | 0.806985 | 0.784467 | 0.754596 | 0.754596 | 0.754596 | 0.754596 | 0 | 0.018722 | 0.226136 | 3,520 | 95 | 151 | 37.052632 | 0.780103 | 0.034375 | 0 | 0.53125 | 0 | 0 | 0.275486 | 0.018562 | 0 | 0 | 0 | 0 | 0.15625 | 1 | 0.078125 | false | 0 | 0.0625 | 0 | 0.140625 | 0.03125 | 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 |
14ed41443c7271be2994651555fa435fe0d67759 | 6,348 | py | Python | cst_data/migrations/0002_auto_20210607_1900.py | iPelino/cst-research-api | f73e9d3d526aa37e756308a9cb262da3f319d7c0 | [
"MIT"
] | null | null | null | cst_data/migrations/0002_auto_20210607_1900.py | iPelino/cst-research-api | f73e9d3d526aa37e756308a9cb262da3f319d7c0 | [
"MIT"
] | null | null | null | cst_data/migrations/0002_auto_20210607_1900.py | iPelino/cst-research-api | f73e9d3d526aa37e756308a9cb262da3f319d7c0 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.3 on 2021-06-07 17:00
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('cst_data', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='a... | 50.784 | 156 | 0.655167 | 632 | 6,348 | 6.325949 | 0.147152 | 0.048024 | 0.08054 | 0.126563 | 0.818659 | 0.804402 | 0.8004 | 0.8004 | 0.8004 | 0.534267 | 0 | 0.006366 | 0.232829 | 6,348 | 124 | 157 | 51.193548 | 0.814579 | 0.007089 | 0 | 0.559322 | 1 | 0 | 0.271329 | 0.168367 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016949 | 0 | 0.042373 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 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 |
094bf48bb704e297ed68d97d1b49e55d2acf5de9 | 3,573 | py | Python | bad_seeds/tests/test_bad_seeds_02.py | NSLS-II/bad-seeds | f6499fd1933baabf7cb6321388d95dd69b4fc27b | [
"BSD-3-Clause"
] | null | null | null | bad_seeds/tests/test_bad_seeds_02.py | NSLS-II/bad-seeds | f6499fd1933baabf7cb6321388d95dd69b4fc27b | [
"BSD-3-Clause"
] | 1 | 2021-02-05T23:56:56.000Z | 2021-02-08T18:03:30.000Z | bad_seeds/tests/test_bad_seeds_02.py | NSLS-II/bad-seeds | f6499fd1933baabf7cb6321388d95dd69b4fc27b | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pytest
from tensorforce.environments import Environment
from bad_seeds.simple.bad_seeds_01 import BadSeeds01, count_measurements
def test_initialization():
bad_seeds_01_env = Environment.create(
environment=BadSeeds01, seed_count=10, bad_seed_count=3, max_episode_length=100
... | 33.707547 | 87 | 0.723202 | 540 | 3,573 | 4.398148 | 0.127778 | 0.035368 | 0.035368 | 0.035368 | 0.806737 | 0.766316 | 0.730947 | 0.717053 | 0.717053 | 0.687579 | 0 | 0.055059 | 0.186678 | 3,573 | 105 | 88 | 34.028571 | 0.762216 | 0 | 0 | 0.512195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304878 | 1 | 0.060976 | false | 0 | 0.04878 | 0 | 0.109756 | 0.04878 | 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 |
09591b0307d60540eac49ed35c5dc33b320bb11d | 43 | py | Python | village/routines/__init__.py | Kontari/VillageRevamp | bb89b54a6367dc76567fe5f996d47435610caab6 | [
"MIT"
] | null | null | null | village/routines/__init__.py | Kontari/VillageRevamp | bb89b54a6367dc76567fe5f996d47435610caab6 | [
"MIT"
] | null | null | null | village/routines/__init__.py | Kontari/VillageRevamp | bb89b54a6367dc76567fe5f996d47435610caab6 | [
"MIT"
] | null | null | null | from .jobs import *
from .routine import *
| 14.333333 | 22 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 23 | 21.5 | 0.885714 | 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 |
117662ee8847a98b89bf4bb724b11e4e13445a97 | 241 | py | Python | django/seelviz/teampage/views.py | NeuroDataDesign/seelviz-archive | cb9bcf7c0f32f0256f71be59dd7d7a9086d0f3b3 | [
"Apache-2.0"
] | null | null | null | django/seelviz/teampage/views.py | NeuroDataDesign/seelviz-archive | cb9bcf7c0f32f0256f71be59dd7d7a9086d0f3b3 | [
"Apache-2.0"
] | 2 | 2017-04-18T02:50:14.000Z | 2017-04-18T18:04:20.000Z | django/seelviz/teampage/views.py | NeuroDataDesign/seelviz-archive | cb9bcf7c0f32f0256f71be59dd7d7a9086d0f3b3 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
from django.http import HttpResponse
# Create your views here.
def index(request):
# return HttpResponse("<h2>Hello World</h2>")
return render(request, 'teampage/index.html')
| 24.1 | 46 | 0.763485 | 33 | 241 | 5.575758 | 0.606061 | 0.108696 | 0.163043 | 0.206522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.128631 | 241 | 9 | 47 | 26.777778 | 0.866667 | 0.377593 | 0 | 0 | 0 | 0 | 0.130137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
11780192b37b6a44623b3d5f7f9b41d4748ba6fc | 233 | py | Python | src/utilities/misc.py | qpmz234/Paragon | ffab802c98f0c9e75436e1ebef77a2903f084934 | [
"BSD-3-Clause"
] | null | null | null | src/utilities/misc.py | qpmz234/Paragon | ffab802c98f0c9e75436e1ebef77a2903f084934 | [
"BSD-3-Clause"
] | null | null | null | src/utilities/misc.py | qpmz234/Paragon | ffab802c98f0c9e75436e1ebef77a2903f084934 | [
"BSD-3-Clause"
] | null | null | null | import copy
class Sync:
def __init__(self, synced):
self.synced = copy.deepcopy(synced)
def __enter__(self):
return self.synced
def __exit__(self, type, value, traceback):
delattr(self, "synced")
| 23.3 | 47 | 0.643777 | 28 | 233 | 4.928571 | 0.571429 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248927 | 233 | 9 | 48 | 25.888889 | 0.788571 | 0 | 0 | 0 | 0 | 0 | 0.025751 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
11e806c971eef3797e9a18b067530e68e8759bf6 | 164 | py | Python | src/schemathesis/specs/graphql/nodes.py | stannum-l/schemathesis | 7ee7e19a91b4a154d9c1348c05d5b131a8f3251c | [
"MIT"
] | 563 | 2019-08-26T05:22:12.000Z | 2020-09-02T11:54:17.000Z | src/schemathesis/specs/graphql/nodes.py | stannum-l/schemathesis | 7ee7e19a91b4a154d9c1348c05d5b131a8f3251c | [
"MIT"
] | 651 | 2019-08-23T09:16:35.000Z | 2020-09-02T08:30:10.000Z | src/schemathesis/specs/graphql/nodes.py | stannum-l/schemathesis | 7ee7e19a91b4a154d9c1348c05d5b131a8f3251c | [
"MIT"
] | 43 | 2019-09-10T09:25:17.000Z | 2020-07-06T10:00:38.000Z | # pylint: disable=unused-import
# Re-export `hypothesis_graphql` helpers
from hypothesis_graphql.nodes import Boolean, Enum, Float, Int, List, Null, Object, String
| 41 | 90 | 0.792683 | 22 | 164 | 5.818182 | 0.863636 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 164 | 3 | 91 | 54.666667 | 0.876712 | 0.414634 | 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 |
eee1891553a532275a66dc92e4ec73cf9b1142df | 160 | py | Python | seahub/group/settings.py | MJochim/seahub | 66fcc6772511d43346a2980613576c5fdb4c4945 | [
"Apache-2.0"
] | 101 | 2021-05-16T06:00:03.000Z | 2021-12-01T02:02:29.000Z | seahub/group/settings.py | MJochim/seahub | 66fcc6772511d43346a2980613576c5fdb4c4945 | [
"Apache-2.0"
] | 6 | 2019-12-13T09:55:45.000Z | 2022-03-11T23:47:29.000Z | seahub/group/settings.py | MJochim/seahub | 66fcc6772511d43346a2980613576c5fdb4c4945 | [
"Apache-2.0"
] | 2 | 2021-10-19T05:22:40.000Z | 2022-01-12T03:55:34.000Z | # Copyright (c) 2012-2016 Seafile Ltd.
from django.conf import settings
GROUP_MEMBERS_DEFAULT_DISPLAY = getattr(settings, 'GROUP_MEMBERS_DEFAULT_DISPLAY', 10)
| 32 | 86 | 0.81875 | 22 | 160 | 5.681818 | 0.772727 | 0.208 | 0.32 | 0.432 | 0.544 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 0.1 | 160 | 4 | 87 | 40 | 0.798611 | 0.225 | 0 | 0 | 0 | 0 | 0.237705 | 0.237705 | 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 |
eee77db43b08f81d8e75e7bca0c9348fbaf20433 | 40 | py | Python | metacat/mql/__init__.py | ivmfnal/metacat | 9eeea5f5e7867395c7203b8a7789607d3bdbd903 | [
"BSD-3-Clause"
] | 1 | 2022-03-18T19:01:29.000Z | 2022-03-18T19:01:29.000Z | metacat/mql/__init__.py | ivmfnal/metacat | 9eeea5f5e7867395c7203b8a7789607d3bdbd903 | [
"BSD-3-Clause"
] | null | null | null | metacat/mql/__init__.py | ivmfnal/metacat | 9eeea5f5e7867395c7203b8a7789607d3bdbd903 | [
"BSD-3-Clause"
] | null | null | null | from .mql10 import parse_query, MQLQuery | 40 | 40 | 0.85 | 6 | 40 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.1 | 40 | 1 | 40 | 40 | 0.861111 | 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 |
e103071f4a8e8daf46c3a2d99d119f7d249f76fc | 4,007 | py | Python | util/math_util.py | glomerulus-lab/nonnegative_connectome | a52e417df85cb680e2abdb0459750697d8a67c10 | [
"MIT"
] | null | null | null | util/math_util.py | glomerulus-lab/nonnegative_connectome | a52e417df85cb680e2abdb0459750697d8a67c10 | [
"MIT"
] | null | null | null | util/math_util.py | glomerulus-lab/nonnegative_connectome | a52e417df85cb680e2abdb0459750697d8a67c10 | [
"MIT"
] | null | null | null | import numpy as np
from jax import jit
import jax.numpy as jnp
from jax.config import config
config.update("jax_enable_x64", True)
# ||YZ+WH||F^2
@jit
def factorized_sum_frobenius_sq_j_einsum(W, H, Y, Z):
#path = np.einsum_path("ij,kj,lk,li",H,H,W,W,optimize="optimal")
# trace1 = np.trace(H @ H.T @ W.T @ W)
... | 35.149123 | 97 | 0.60569 | 742 | 4,007 | 3.199461 | 0.118598 | 0.018534 | 0.050548 | 0.067397 | 0.818029 | 0.797388 | 0.787279 | 0.787279 | 0.768324 | 0.768324 | 0 | 0.023559 | 0.194909 | 4,007 | 113 | 98 | 35.460177 | 0.712337 | 0.625156 | 0 | 0.4 | 0 | 0 | 0.08078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171429 | false | 0 | 0.114286 | 0.057143 | 0.485714 | 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 |
e1088982a7f628f44489329e42899c182baef257 | 48 | py | Python | jsuarez/extra/embyr_deprecated/embyr/kivy3/loaders/__init__.py | jarbus/neural-mmo | 7ad02fab50f2781c0a71f7d2afd10c1503110736 | [
"MIT"
] | 1,450 | 2019-03-04T15:47:38.000Z | 2022-03-30T03:33:35.000Z | jsuarez/extra/embyr_deprecated/embyr/kivy3/loaders/__init__.py | jarbus/neural-mmo | 7ad02fab50f2781c0a71f7d2afd10c1503110736 | [
"MIT"
] | 34 | 2019-03-05T09:50:38.000Z | 2021-08-31T15:20:27.000Z | jsuarez/extra/embyr_deprecated/embyr/kivy3/loaders/__init__.py | LaudateCorpus1/neural-mmo | a9a7c34a1fb24fbf252e2958bdb869c213e580a3 | [
"MIT"
] | 164 | 2019-03-04T16:09:19.000Z | 2022-02-26T15:43:40.000Z |
from .objloader import OBJLoader, OBJMTLLoader
| 16 | 46 | 0.833333 | 5 | 48 | 8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 2 | 47 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0106fe35a00403ed9a41898065575d0bc6322bb8 | 2,685 | py | Python | mlapp/utils/exceptions/base_exceptions.py | kerenleibovich/mlapp | 0b8dfaba7a7070ab68cb29ff61dd1c7dd8076693 | [
"Apache-2.0"
] | 33 | 2021-02-26T10:41:09.000Z | 2021-11-07T12:35:32.000Z | mlapp/utils/exceptions/base_exceptions.py | kerenleibovich/mlapp | 0b8dfaba7a7070ab68cb29ff61dd1c7dd8076693 | [
"Apache-2.0"
] | 17 | 2021-03-04T15:37:21.000Z | 2021-04-06T12:00:13.000Z | mlapp/utils/exceptions/base_exceptions.py | kerenleibovich/mlapp | 0b8dfaba7a7070ab68cb29ff61dd1c7dd8076693 | [
"Apache-2.0"
] | 9 | 2021-03-03T20:02:41.000Z | 2021-10-05T13:03:56.000Z | """
Base Exception
MLApp Exception - inherit from Base Exception
"""
class MLAppBaseException(Exception):
def __init__(self, message):
self.message = message
class FrameworkException(MLAppBaseException):
def __init__(self, message=None):
if message is not None and isinstance(message, str):
... | 25.093458 | 113 | 0.67486 | 293 | 2,685 | 5.843003 | 0.163823 | 0.244159 | 0.083528 | 0.136682 | 0.762266 | 0.730724 | 0.718458 | 0.601636 | 0.485981 | 0.485981 | 0 | 0 | 0.21676 | 2,685 | 106 | 114 | 25.330189 | 0.814075 | 0.022346 | 0 | 0.578125 | 0 | 0 | 0.101261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.390625 | false | 0 | 0 | 0.1875 | 0.78125 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
011f1ff359acd5743b72eecf036a84b949fa22f6 | 39 | py | Python | functown/args/__init__.py | felixnext/python-functown | 71bfdf39116de0c7ff3acf1cd81a881efd865177 | [
"MIT"
] | null | null | null | functown/args/__init__.py | felixnext/python-functown | 71bfdf39116de0c7ff3acf1cd81a881efd865177 | [
"MIT"
] | null | null | null | functown/args/__init__.py | felixnext/python-functown | 71bfdf39116de0c7ff3acf1cd81a881efd865177 | [
"MIT"
] | null | null | null |
from .handler import RequestArgHandler | 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 2 | 38 | 19.5 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0153303411ed7eeb77200ba1c74ae62ea47efc32 | 4,386 | py | Python | tests/api/test_businesses.py | dated/python-client | ae966885b38cbdd25eadd27426c02cf9753cd42d | [
"MIT"
] | null | null | null | tests/api/test_businesses.py | dated/python-client | ae966885b38cbdd25eadd27426c02cf9753cd42d | [
"MIT"
] | null | null | null | tests/api/test_businesses.py | dated/python-client | ae966885b38cbdd25eadd27426c02cf9753cd42d | [
"MIT"
] | null | null | null | import json
import responses
from client import ArkClient
def test_all_calls_correct_url_with_default_params():
responses.add(
responses.GET,
'http://127.0.0.1:4002/businesses',
json={'success': True},
status=200
)
client = ArkClient('http://127.0.0.1:4002')
client.b... | 32.014599 | 96 | 0.657775 | 610 | 4,386 | 4.622951 | 0.083607 | 0.134043 | 0.068085 | 0.076596 | 0.957092 | 0.957092 | 0.95461 | 0.903191 | 0.886879 | 0.858156 | 0 | 0.102692 | 0.178523 | 4,386 | 136 | 97 | 32.25 | 0.679989 | 0 | 0 | 0.642202 | 0 | 0.009174 | 0.22435 | 0 | 0 | 0 | 0 | 0 | 0.247706 | 1 | 0.073395 | false | 0.027523 | 0.027523 | 0 | 0.100917 | 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 |
016cf307fee331b92bd6adcedbbab22250a2d8aa | 4,147 | py | Python | sl1m/rbprm/constants_and_tools.py | JasonChmn/sl1m | 87a4af495cc59568fb0f65df0f20d8d0d6c116cd | [
"BSD-2-Clause"
] | 7 | 2020-01-26T15:51:53.000Z | 2021-11-18T08:22:27.000Z | sl1m/rbprm/constants_and_tools.py | JasonChmn/sl1m | 87a4af495cc59568fb0f65df0f20d8d0d6c116cd | [
"BSD-2-Clause"
] | 8 | 2020-05-10T16:39:23.000Z | 2021-08-31T15:21:10.000Z | sl1m/rbprm/constants_and_tools.py | JasonChmn/sl1m | 87a4af495cc59568fb0f65df0f20d8d0d6c116cd | [
"BSD-2-Clause"
] | 10 | 2020-01-23T10:11:41.000Z | 2022-02-17T10:51:07.000Z | from sl1m.constants_and_tools import *
import os
if "INSTALL_HPP_DIR" in os.environ:
insdir = os.environ['INSTALL_HPP_DIR'] + '/share/'
elif "DEVEL_HPP_DIR" in os.environ:
insdir = os.environ['DEVEL_HPP_DIR'] + '/install/share/'
# load hrp2 constraints
__ineq_right_foot_hrp2 = None
__ineq_left_foot_hrp2 = N... | 40.262136 | 127 | 0.756209 | 609 | 4,147 | 4.56486 | 0.098522 | 0.063309 | 0.051439 | 0.061151 | 0.935971 | 0.911511 | 0.897122 | 0.870144 | 0.807914 | 0.73741 | 0 | 0.021518 | 0.170726 | 4,147 | 102 | 128 | 40.656863 | 0.786857 | 0.016639 | 0 | 0.560976 | 0 | 0 | 0.201817 | 0.182666 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.02439 | 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 |
019a041167e01b64afd7f2a2edb7b78ec7198936 | 33 | py | Python | falcon/media/validators/__init__.py | ravi-deepsource/falcon | 29a6cd35f1e3756dfba0f908725926c3cf2f2d52 | [
"Apache-2.0"
] | null | null | null | falcon/media/validators/__init__.py | ravi-deepsource/falcon | 29a6cd35f1e3756dfba0f908725926c3cf2f2d52 | [
"Apache-2.0"
] | null | null | null | falcon/media/validators/__init__.py | ravi-deepsource/falcon | 29a6cd35f1e3756dfba0f908725926c3cf2f2d52 | [
"Apache-2.0"
] | null | null | null | from . import jsonschema # NOQA
| 16.5 | 32 | 0.727273 | 4 | 33 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 1 | 33 | 33 | 0.923077 | 0.121212 | 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 |
6d7af84e03ebb95a6dbf6278827211f94abc4cce | 221 | py | Python | shoes/admin.py | Janell-Huyck/drf_shoestore | 521ed494be44bd6b0f93baec782ed7b2e6e21e41 | [
"MIT"
] | null | null | null | shoes/admin.py | Janell-Huyck/drf_shoestore | 521ed494be44bd6b0f93baec782ed7b2e6e21e41 | [
"MIT"
] | null | null | null | shoes/admin.py | Janell-Huyck/drf_shoestore | 521ed494be44bd6b0f93baec782ed7b2e6e21e41 | [
"MIT"
] | null | null | null | from django.contrib import admin
from shoes.models import Shoe, ShoeColor, ShoeType, Manufacturer
admin.site.register(Manufacturer)
admin.site.register(Shoe)
admin.site.register(ShoeColor)
admin.site.register(ShoeType)
| 24.555556 | 64 | 0.828054 | 29 | 221 | 6.310345 | 0.448276 | 0.196721 | 0.371585 | 0.31694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 221 | 8 | 65 | 27.625 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
6db26ecdd3ad09eb9d69c3d0a7e48e84285f342f | 30 | py | Python | pyQPanda/pyqpanda/Hamiltonian/test/__init__.py | QianJianhua1/QPanda-2 | a13c7b733031b1d0007dceaf1dae6ad447bb969c | [
"Apache-2.0"
] | 631 | 2019-01-21T01:33:38.000Z | 2022-03-31T07:33:04.000Z | pyQPanda/pyqpanda/Hamiltonian/test/__init__.py | yinxx/QPanda-2 | c70c4117a90978916b871424e204c5159f645642 | [
"Apache-2.0"
] | 24 | 2019-02-01T10:12:45.000Z | 2021-12-02T01:49:57.000Z | pyQPanda/pyqpanda/Hamiltonian/test/__init__.py | yinxx/QPanda-2 | c70c4117a90978916b871424e204c5159f645642 | [
"Apache-2.0"
] | 80 | 2019-01-21T03:04:20.000Z | 2022-03-29T15:38:45.000Z | from . import hamiltonian_test | 30 | 30 | 0.866667 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6dc9b3a3760ea51e1e1dcb8cf1a3f18d9b336888 | 224 | py | Python | tests/fixtures/configs.py | NickleDave/make-vis-search-stim-pygame | c7ee771e2735e3b4592aacd1560c10cb584d72cf | [
"BSD-3-Clause"
] | 4 | 2019-03-03T22:24:23.000Z | 2021-07-03T18:12:06.000Z | tests/fixtures/configs.py | NickleDave/make-vis-search-stim-pygame | c7ee771e2735e3b4592aacd1560c10cb584d72cf | [
"BSD-3-Clause"
] | 15 | 2018-12-02T02:47:34.000Z | 2021-07-05T17:17:46.000Z | tests/fixtures/configs.py | NickleDave/searchstims | c7ee771e2735e3b4592aacd1560c10cb584d72cf | [
"BSD-3-Clause"
] | null | null | null | import pytest
@pytest.fixture
def configs_root(data_for_tests_root):
return data_for_tests_root / 'configs'
@pytest.fixture
def two_v_five_config_path(configs_root):
return configs_root / 'test_2_v_5_config.ini'
| 18.666667 | 49 | 0.799107 | 36 | 224 | 4.5 | 0.527778 | 0.203704 | 0.197531 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.125 | 224 | 11 | 50 | 20.363636 | 0.816327 | 0 | 0 | 0.285714 | 0 | 0 | 0.125 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6ded7542c7e86386bac9c1b30d30ba9ef0d603d2 | 68 | py | Python | src/scripts/data/role.py | a2cps/python-vbr | 9d5d4480386d0530450d59157e0da6937320f928 | [
"BSD-3-Clause"
] | 1 | 2021-05-26T19:08:29.000Z | 2021-05-26T19:08:29.000Z | src/scripts/data/role.py | a2cps/python-vbr | 9d5d4480386d0530450d59157e0da6937320f928 | [
"BSD-3-Clause"
] | 7 | 2021-05-04T13:12:39.000Z | 2022-03-09T21:04:33.000Z | src/scripts/data/role.py | a2cps/python-vbr | 9d5d4480386d0530450d59157e0da6937320f928 | [
"BSD-3-Clause"
] | 2 | 2021-04-20T14:46:52.000Z | 2021-06-07T20:28:28.000Z | from .loader import TableData
class RoleData(TableData):
pass
| 11.333333 | 29 | 0.75 | 8 | 68 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 68 | 5 | 30 | 13.6 | 0.927273 | 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 |
6df322334317a39454d3a1d5ce30e492023cc95d | 434 | py | Python | opentmi_client/api/testcase/__init__.py | OpenTMI/opentmi-pyclient | 034c539d36fe13a2d6538ea421e4c01f00f5687d | [
"MIT"
] | null | null | null | opentmi_client/api/testcase/__init__.py | OpenTMI/opentmi-pyclient | 034c539d36fe13a2d6538ea421e4c01f00f5687d | [
"MIT"
] | 36 | 2018-06-18T10:03:58.000Z | 2022-03-30T00:16:31.000Z | opentmi_client/api/testcase/__init__.py | OpenTMI/opentmi-pyclient | 034c539d36fe13a2d6538ea421e4c01f00f5687d | [
"MIT"
] | 1 | 2019-04-17T08:49:24.000Z | 2019-04-17T08:49:24.000Z | """
Testcase module
"""
from opentmi_client.api.testcase.Testcase import Testcase
from opentmi_client.api.testcase.Execution import Execution
from opentmi_client.api.testcase.OtherInfo import OtherInfo
from opentmi_client.api.testcase.Status import Status
from opentmi_client.api.testcase.Skip import Skip
from opentmi_c... | 39.454545 | 65 | 0.864055 | 58 | 434 | 6.344828 | 0.224138 | 0.209239 | 0.32337 | 0.380435 | 0.532609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073733 | 434 | 10 | 66 | 43.4 | 0.915423 | 0.034562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
09743ea7f2b32f936e0b8cb68281be5606d85884 | 17 | py | Python | tests/src/trivia/assignUnarPlus.py | lindlind/python-interpreter | ffcb38627dc128dddb04e769d0bff6466365271a | [
"MIT"
] | null | null | null | tests/src/trivia/assignUnarPlus.py | lindlind/python-interpreter | ffcb38627dc128dddb04e769d0bff6466365271a | [
"MIT"
] | null | null | null | tests/src/trivia/assignUnarPlus.py | lindlind/python-interpreter | ffcb38627dc128dddb04e769d0bff6466365271a | [
"MIT"
] | null | null | null | a =+ 42
b=+12e-2
| 5.666667 | 8 | 0.470588 | 5 | 17 | 1.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 0.235294 | 17 | 2 | 9 | 8.5 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
098a38dc74f090a042a123d07afa8d207aff0750 | 26 | py | Python | dlex/datasets/image/mnist/__init__.py | dvtrung/dl-torch | b49e57d10d32bb223e2d7643f2579ccc32c63a9a | [
"MIT"
] | null | null | null | dlex/datasets/image/mnist/__init__.py | dvtrung/dl-torch | b49e57d10d32bb223e2d7643f2579ccc32c63a9a | [
"MIT"
] | null | null | null | dlex/datasets/image/mnist/__init__.py | dvtrung/dl-torch | b49e57d10d32bb223e2d7643f2579ccc32c63a9a | [
"MIT"
] | null | null | null | from .builder import MNIST | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
61e054af6c84599f1ee4d70d1f7a3b8c7a2c2d35 | 222 | py | Python | server/models/__init__.py | Justinyu1618/Coronalert | df7d66bec147ea1f47105102582bc25469e4bee2 | [
"MIT"
] | 2 | 2020-04-19T07:08:39.000Z | 2020-06-01T21:22:07.000Z | server/models/__init__.py | HackCameroon/Coronalert | df7d66bec147ea1f47105102582bc25469e4bee2 | [
"MIT"
] | 3 | 2020-10-13T01:06:56.000Z | 2022-02-27T01:51:31.000Z | server/models/__init__.py | HackCameroon/Coronalert | df7d66bec147ea1f47105102582bc25469e4bee2 | [
"MIT"
] | 1 | 2020-05-08T08:37:15.000Z | 2020-05-08T08:37:15.000Z | from server.models.user import User
from server.models.location import Location
from server.models.utils import user_location_table
from server.models.datapull import Datapull
# from server.models.source import Source | 44.4 | 51 | 0.837838 | 32 | 222 | 5.75 | 0.3125 | 0.271739 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112613 | 222 | 5 | 52 | 44.4 | 0.93401 | 0.175676 | 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 | 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 |
111824cf01448fc702f999544067dfea39e9c154 | 257 | py | Python | sensors.py | naraxus/Hydroponik | b2684def9c23a29e043abcd9324909dd55789e44 | [
"CC0-1.0"
] | null | null | null | sensors.py | naraxus/Hydroponik | b2684def9c23a29e043abcd9324909dd55789e44 | [
"CC0-1.0"
] | null | null | null | sensors.py | naraxus/Hydroponik | b2684def9c23a29e043abcd9324909dd55789e44 | [
"CC0-1.0"
] | null | null | null | class Sensors:
def __init__(self, **kwargs):
self.sensor_data_dictionary = kwargs
def update(self, **kwargs):
self.sensor_data_dictionary = kwargs
def get_value(self, key):
return (self.sensor_data_dictionary.get(key))
| 25.7 | 53 | 0.673152 | 32 | 257 | 5.0625 | 0.4375 | 0.185185 | 0.259259 | 0.444444 | 0.530864 | 0.530864 | 0.530864 | 0.530864 | 0 | 0 | 0 | 0 | 0.22179 | 257 | 9 | 54 | 28.555556 | 0.81 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
11212e97639fc5ec6ad7a7252c03a26fa9c00852 | 211 | py | Python | y2019/day1/code.py | dlemvigh/advent-of-code-python | 5219abf7a3ebd76425a3a1c94a0d29addc87d244 | [
"MIT"
] | null | null | null | y2019/day1/code.py | dlemvigh/advent-of-code-python | 5219abf7a3ebd76425a3a1c94a0d29addc87d244 | [
"MIT"
] | null | null | null | y2019/day1/code.py | dlemvigh/advent-of-code-python | 5219abf7a3ebd76425a3a1c94a0d29addc87d244 | [
"MIT"
] | null | null | null | def calc_fuel(mass: int):
return max(mass // 3 - 2, 0)
def calc_fuel_rec(mass: int):
fuel = calc_fuel(mass)
if fuel == 0:
return fuel
else:
return fuel + calc_fuel_rec(fuel)
| 21.1 | 41 | 0.582938 | 33 | 211 | 3.545455 | 0.393939 | 0.273504 | 0.188034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027211 | 0.303318 | 211 | 9 | 42 | 23.444444 | 0.768707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.625 | 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 |
1147b00fa07f5c77f4fa92c3bc6585601de64e6e | 24 | py | Python | obsman/python3-code/aukr/omal/sqlitedb/__init__.py | psykobug/obsman | db7f6e0dbbdbb6f5f8a4e8e6fdb10460d0c4fa23 | [
"MIT"
] | null | null | null | obsman/python3-code/aukr/omal/sqlitedb/__init__.py | psykobug/obsman | db7f6e0dbbdbb6f5f8a4e8e6fdb10460d0c4fa23 | [
"MIT"
] | 2 | 2021-01-29T18:25:55.000Z | 2021-09-02T11:27:13.000Z | obsman/python3-code/aukr/omal/sqlitedb/__init__.py | psykobug/obsman | db7f6e0dbbdbb6f5f8a4e8e6fdb10460d0c4fa23 | [
"MIT"
] | null | null | null | from .sqlitedb import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 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 |
fec3a7e77b816ea1e438ec42a4c7fc9d5afe93d9 | 354 | py | Python | l10n_cl_dte/models/__init__.py | ecolella/odoo_chile | 5b7210fcf1c410da9833a66975cc68f0318d05fc | [
"Apache-2.0"
] | null | null | null | l10n_cl_dte/models/__init__.py | ecolella/odoo_chile | 5b7210fcf1c410da9833a66975cc68f0318d05fc | [
"Apache-2.0"
] | null | null | null | l10n_cl_dte/models/__init__.py | ecolella/odoo_chile | 5b7210fcf1c410da9833a66975cc68f0318d05fc | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
##############################################################################
# For copyright and license notices, see __openerp__.py file in module root
# directory
##############################################################################
from . import invoice, partner, company, paym... | 44.25 | 79 | 0.403955 | 26 | 354 | 5.230769 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003155 | 0.10452 | 354 | 7 | 80 | 50.571429 | 0.425868 | 0.29661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fef64863b1eba0b0897a4dcd00653d232fcb0f9a | 168 | py | Python | backend/systems/admin.py | itimor/one-ops | f1111735de252012752dfabe11598e9690c89257 | [
"MIT"
] | 2 | 2020-09-25T05:52:55.000Z | 2021-01-14T07:06:17.000Z | backend/systems/admin.py | itimor/one-ops | f1111735de252012752dfabe11598e9690c89257 | [
"MIT"
] | 6 | 2021-03-19T10:20:05.000Z | 2021-09-22T19:30:21.000Z | backend/systems/admin.py | itimor/one-ops | f1111735de252012752dfabe11598e9690c89257 | [
"MIT"
] | 1 | 2022-02-24T01:37:06.000Z | 2022-02-24T01:37:06.000Z | from django.contrib import admin
from systems.models import *
admin.site.register(Menu)
admin.site.register(Role)
admin.site.register(Group)
admin.site.register(User)
| 21 | 32 | 0.809524 | 25 | 168 | 5.44 | 0.52 | 0.264706 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077381 | 168 | 7 | 33 | 24 | 0.877419 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
28ca7248e174beac26489a751422032ad0f4096c | 108 | py | Python | Sessions/S04/module1.py | paulbordea/session3 | a2edf697cbe9b9aa98383562416d4fdf1e19b482 | [
"MIT"
] | null | null | null | Sessions/S04/module1.py | paulbordea/session3 | a2edf697cbe9b9aa98383562416d4fdf1e19b482 | [
"MIT"
] | null | null | null | Sessions/S04/module1.py | paulbordea/session3 | a2edf697cbe9b9aa98383562416d4fdf1e19b482 | [
"MIT"
] | null | null | null | def f():
print('f executed from module 1')
if __name__ == '__main__':
print('We are in module 1')
| 15.428571 | 37 | 0.611111 | 17 | 108 | 3.411765 | 0.764706 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.240741 | 108 | 6 | 38 | 18 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0.462963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
28cd2377a8045dce79e4045b73e798b50440ce27 | 2,125 | py | Python | New folder/New folder/pyray-master/pyray/shapes/twod/functional.py | JVuns/Driver-Log-Recorder---Final-Project | efbb2f67aee2db98fc2310617e589e845fc6c27d | [
"MIT"
] | 715 | 2018-01-13T04:29:10.000Z | 2022-03-24T12:15:08.000Z | pyray/shapes/twod/functional.py | Warlockk/pyray | cce6a6289ef9f2b0f92000847a04178ec7287520 | [
"MIT"
] | 8 | 2018-01-14T07:48:41.000Z | 2020-07-14T09:56:27.000Z | pyray/shapes/twod/functional.py | Warlockk/pyray | cce6a6289ef9f2b0f92000847a04178ec7287520 | [
"MIT"
] | 111 | 2018-01-13T06:47:24.000Z | 2021-04-01T05:58:28.000Z | import numpy as np
def drawFunctionalXYGrid(draw, r, shift=np.array([1000.0, 1000.0, 0.0]),
scale=200.0, rgba=(0,255,0,120), fn=None, extent=10,
saperatingPlane=np.array([-1,-1,4]), rgba2=None):
'''
args:
saperatingPlane: Take the dot product of this plane with [x,y,1]. If <0, draw lig... | 36.016949 | 101 | 0.539294 | 342 | 2,125 | 3.339181 | 0.181287 | 0.067426 | 0.042032 | 0.06655 | 0.894046 | 0.867776 | 0.837128 | 0.837128 | 0.837128 | 0.837128 | 0 | 0.074934 | 0.290353 | 2,125 | 58 | 102 | 36.637931 | 0.682361 | 0.152 | 0 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0 | 0.026316 | 0 | 0.131579 | 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 |
e92bca3c56094cd1219d4a6d6b1131fb01668bea | 2,847 | py | Python | tests/test_decode.py | wyapx/Python-Silk-Module | 65619c79f78ac930073a8424ddb981b66d97ecde | [
"BSD-2-Clause"
] | 8 | 2021-09-03T05:38:13.000Z | 2022-03-06T13:22:26.000Z | tests/test_decode.py | wyapx/Python-Silk-Module | 65619c79f78ac930073a8424ddb981b66d97ecde | [
"BSD-2-Clause"
] | 4 | 2021-10-18T06:30:53.000Z | 2022-03-16T06:02:22.000Z | tests/test_decode.py | wyapx/Python-Silk-Module | 65619c79f78ac930073a8424ddb981b66d97ecde | [
"BSD-2-Clause"
] | 2 | 2021-10-18T04:27:02.000Z | 2022-03-14T07:38:36.000Z | import pytest
from io import BytesIO
from wave import Wave_read
from utils import local_file, get_loop
SILK_PATH = local_file("target.silk")
EXPECT_DATA = open(local_file("output.pcm"), "rb").read()[:30]
LOOP = get_loop()
def sync_decode(path: str, to_wav=False):
from pysilk import decode
with open(path, "... | 25.881818 | 88 | 0.638216 | 387 | 2,847 | 4.410853 | 0.126615 | 0.140598 | 0.079672 | 0.093732 | 0.864675 | 0.844757 | 0.844757 | 0.803749 | 0.715876 | 0.620387 | 0 | 0.008592 | 0.264138 | 2,847 | 109 | 89 | 26.119266 | 0.806205 | 0 | 0 | 0.465116 | 0 | 0 | 0.009484 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 1 | 0.116279 | false | 0 | 0.093023 | 0 | 0.267442 | 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 |
3a9444dbaa8d30f38452491be76efd7fd38fb27c | 69 | py | Python | tests/test_pybib.py | jgilchrist/pybib | 44bd9feba984ef08ad675b42affc038dd7c33809 | [
"BSD-3-Clause"
] | 33 | 2015-01-08T17:49:32.000Z | 2020-03-06T22:01:09.000Z | tests/test_pybib.py | jgilchrist/pybib | 44bd9feba984ef08ad675b42affc038dd7c33809 | [
"BSD-3-Clause"
] | 15 | 2015-02-14T22:53:56.000Z | 2021-03-01T18:53:30.000Z | tests/test_pybib.py | jgilchrist/pybib | 44bd9feba984ef08ad675b42affc038dd7c33809 | [
"BSD-3-Clause"
] | 3 | 2015-02-14T22:13:37.000Z | 2018-12-13T11:47:54.000Z | def test_can_import():
import pybib
assert pybib is not None
| 17.25 | 28 | 0.710145 | 11 | 69 | 4.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246377 | 69 | 3 | 29 | 23 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3aaf33c72067bf49b7e77864a5efbacafb24c760 | 2,284 | py | Python | Map.py | ddritzenhoff/Carbon_Attack | 248440f03e3bf64f2495c31524688b004dca3127 | [
"MIT"
] | null | null | null | Map.py | ddritzenhoff/Carbon_Attack | 248440f03e3bf64f2495c31524688b004dca3127 | [
"MIT"
] | null | null | null | Map.py | ddritzenhoff/Carbon_Attack | 248440f03e3bf64f2495c31524688b004dca3127 | [
"MIT"
] | null | null | null | from Helper import load_image
class Map:
def __init__(self):
self.FOOD = 0
self.BLOCK = 1
self.PACMAN = 2
self.Ghost1 = 5
self.Ghost2 = 6
self.Ghost3 = 4
# This variable determines the number of pixels for all of the images.
# This should be changed when the project is rescaled.
self.BLOCK_SIZE = ... | 45.68 | 74 | 0.424694 | 588 | 2,284 | 1.629252 | 0.095238 | 0.246347 | 0.281837 | 0.292276 | 0.496868 | 0.496868 | 0.496868 | 0.493737 | 0.477035 | 0.471816 | 0 | 0.327008 | 0.307793 | 2,284 | 49 | 75 | 46.612245 | 0.278937 | 0.052977 | 0 | 0.285714 | 0 | 0 | 0.031944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.02381 | 0.02381 | 0.166667 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.