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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e7b35b10fd121d0b29cd1d39fc4c75e4f568a1f4 | 25 | py | Python | chapter2_ws/devel/lib/python3/dist-packages/mastering_ros_demo_pkg/srv/__init__.py | Rajat-Arora/ros_packt_book | a715485ea6e36d298bc6f6f306af0595d89e1174 | [
"MIT"
] | null | null | null | chapter2_ws/devel/lib/python3/dist-packages/mastering_ros_demo_pkg/srv/__init__.py | Rajat-Arora/ros_packt_book | a715485ea6e36d298bc6f6f306af0595d89e1174 | [
"MIT"
] | null | null | null | chapter2_ws/devel/lib/python3/dist-packages/mastering_ros_demo_pkg/srv/__init__.py | Rajat-Arora/ros_packt_book | a715485ea6e36d298bc6f6f306af0595d89e1174 | [
"MIT"
] | null | null | null | from ._demo_srv import *
| 12.5 | 24 | 0.76 | 4 | 25 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.809524 | 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 |
e7bf5114270c4c1ba3fa4db47d240b4427db5d56 | 31 | py | Python | is_ipfs/__init__.py | Barabazs/py-is_ipfs | c8ac622879b2223e298d9cc4a59ae7da89eb0479 | [
"MIT"
] | 1 | 2022-03-09T14:23:44.000Z | 2022-03-09T14:23:44.000Z | is_ipfs/__init__.py | Barabazs/py-is_ipfs | c8ac622879b2223e298d9cc4a59ae7da89eb0479 | [
"MIT"
] | null | null | null | is_ipfs/__init__.py | Barabazs/py-is_ipfs | c8ac622879b2223e298d9cc4a59ae7da89eb0479 | [
"MIT"
] | null | null | null | from .is_ipfs import Validator
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 1 | 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 | 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 |
99b7f2669bc39124ccbb858ced46317dfc7b5280 | 7,789 | py | Python | packages/dinesti/python/_grab.py | USEPA/Water-Security-Toolkit | 6b6b68e0e1b3dcc8023b453ab48a64f7fd740feb | [
"BSD-3-Clause"
] | 3 | 2019-06-10T18:04:14.000Z | 2020-12-05T18:11:40.000Z | packages/dinesti/python/_grab.py | USEPA/Water-Security-Toolkit | 6b6b68e0e1b3dcc8023b453ab48a64f7fd740feb | [
"BSD-3-Clause"
] | null | null | null | packages/dinesti/python/_grab.py | USEPA/Water-Security-Toolkit | 6b6b68e0e1b3dcc8023b453ab48a64f7fd740feb | [
"BSD-3-Clause"
] | 2 | 2020-09-24T19:04:14.000Z | 2020-12-05T18:11:43.000Z | # Copyright (2013) Sandia Corporation. Under the terms of Contract
# DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government
# retains certain rights in this software.
#
# This software is released under the FreeBSD license as described
# in License.txt
import time
import string
import subprocess
import os
im... | 7,789 | 7,789 | 0.705867 | 999 | 7,789 | 5.374374 | 0.269269 | 0.087167 | 0.116223 | 0.01788 | 0.196685 | 0.172658 | 0.122369 | 0.070404 | 0.056994 | 0.048054 | 0 | 0.00646 | 0.145462 | 7,789 | 1 | 7,789 | 7,789 | 0.80018 | 0.993966 | 0 | 0.117021 | 0 | 0 | 0.177388 | 0.021644 | 0 | 0 | 0 | 1 | 0 | 0 | null | null | 0 | 0.047872 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
99cfce15f277b305b1d6cfb0628ad6ec4ccc88f5 | 16,919 | py | Python | pybind/slxos/v17r_2_00/qos_mpls/map_apply/apply_traffic_class_exp_map_name/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/qos_mpls/map_apply/apply_traffic_class_exp_map_name/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/qos_mpls/map_apply/apply_traffic_class_exp_map_name/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 74.20614 | 665 | 0.729594 | 2,602 | 16,919 | 4.49731 | 0.071868 | 0.035891 | 0.032473 | 0.053581 | 0.843275 | 0.803367 | 0.780636 | 0.770723 | 0.760554 | 0.749103 | 0 | 0.010823 | 0.126249 | 16,919 | 227 | 666 | 74.53304 | 0.780762 | 0.137242 | 0 | 0.422819 | 0 | 0.04698 | 0.41266 | 0.196012 | 0 | 0 | 0 | 0 | 0 | 1 | 0.100671 | false | 0 | 0.053691 | 0 | 0.288591 | 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 |
99ef4c4300edcee0f21908e1a69183d6ec7a6f37 | 44 | py | Python | seq2seq/seq2seq/loss/__init__.py | qbetterk/user-simulator | 77caca30ff67b9112b1fe5e65e191c6b5e25532c | [
"Apache-2.0"
] | 20 | 2019-11-08T02:28:28.000Z | 2022-02-07T09:20:21.000Z | seq2seq/seq2seq/loss/__init__.py | qbetterk/user-simulator | 77caca30ff67b9112b1fe5e65e191c6b5e25532c | [
"Apache-2.0"
] | 21 | 2019-11-08T02:27:40.000Z | 2022-03-12T00:02:54.000Z | seq2seq/seq2seq/loss/__init__.py | qbetterk/user-simulator | 77caca30ff67b9112b1fe5e65e191c6b5e25532c | [
"Apache-2.0"
] | 8 | 2020-02-10T07:28:37.000Z | 2021-09-23T09:42:14.000Z | from .loss import Loss, NLLLoss, Perplexity
| 22 | 43 | 0.795455 | 6 | 44 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
416bf5d355c191581abaaf5baae4b6d02f53cd4e | 4,338 | py | Python | src/tools/files.py | cowboysmall/rosalind | 021e4392a8fc946b97bbf86bbb8227b28bb5e462 | [
"MIT"
] | null | null | null | src/tools/files.py | cowboysmall/rosalind | 021e4392a8fc946b97bbf86bbb8227b28bb5e462 | [
"MIT"
] | null | null | null | src/tools/files.py | cowboysmall/rosalind | 021e4392a8fc946b97bbf86bbb8227b28bb5e462 | [
"MIT"
] | null | null | null |
def write_lines(file_path, lines):
with open(file_path, 'w') as file:
for line in lines:
file.write(line + '\n')
def read_line(file_path):
with open(file_path) as file:
return file.readline().strip()
def read_lines(file_path):
lines = []
with open(file_path) as file:
... | 22.59375 | 68 | 0.542416 | 562 | 4,338 | 4.049822 | 0.074733 | 0.119508 | 0.089631 | 0.119508 | 0.880492 | 0.84007 | 0.84007 | 0.808875 | 0.777241 | 0.708699 | 0 | 0.003511 | 0.343476 | 4,338 | 191 | 69 | 22.712042 | 0.795646 | 0 | 0 | 0.6875 | 0 | 0 | 0.000692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.132813 | false | 0 | 0 | 0 | 0.257813 | 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 |
41801ea050275d49201c9b87f491278b3faaa4f9 | 23 | py | Python | mGdi32/__init__.py | SkyLined/mWindowsSDK | 931cc9d30316893662a3dc4e200dabe97122d216 | [
"CC-BY-4.0"
] | 2 | 2019-08-01T15:08:25.000Z | 2021-01-30T07:29:34.000Z | mGdi32/__init__.py | SkyLined/mWindowsSDK | 931cc9d30316893662a3dc4e200dabe97122d216 | [
"CC-BY-4.0"
] | null | null | null | mGdi32/__init__.py | SkyLined/mWindowsSDK | 931cc9d30316893662a3dc4e200dabe97122d216 | [
"CC-BY-4.0"
] | null | null | null | from .mGdi32 import *;
| 11.5 | 22 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.173913 | 23 | 1 | 23 | 23 | 0.736842 | 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 |
68c9514528013da4b21120807688c8993cf15c6d | 28 | py | Python | __init__.py | AbhiK002/Matrix | 2d83f08877dccba9e4c710bd5fb65f613848d63f | [
"MIT"
] | 2 | 2022-02-11T04:39:21.000Z | 2022-02-12T15:50:35.000Z | __init__.py | AbhiK002/Matrix | 2d83f08877dccba9e4c710bd5fb65f613848d63f | [
"MIT"
] | null | null | null | __init__.py | AbhiK002/Matrix | 2d83f08877dccba9e4c710bd5fb65f613848d63f | [
"MIT"
] | null | null | null | from .matrix import Matrix
| 9.333333 | 26 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 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 |
68d9429f6da9f4047b22ecae607eeab851aaf188 | 253,493 | py | Python | glasses/__init__.py | tonyfast/metallic-glasses | 7ce019d0c8406e990836b88b9661839c3f1928cf | [
"BSD-3-Clause"
] | null | null | null | glasses/__init__.py | tonyfast/metallic-glasses | 7ce019d0c8406e990836b88b9661839c3f1928cf | [
"BSD-3-Clause"
] | null | null | null | glasses/__init__.py | tonyfast/metallic-glasses | 7ce019d0c8406e990836b88b9661839c3f1928cf | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
# In[325]:
__version__ = "0.0.1"
__all__ = []
# In[8]:
from time import sleep
# In[22]:
get_ipython().magic('ls /Users/tfast/Desktop/SLAC_MG_0716/')
# In[23]:
get_ipython().magic('ls /Users/tfast/Desktop/SLAC_MG_0716/Sample1/')
# In[14]:
get_ipython().magic(
'cat /Users/tfast/Desktop/... | 823.029221 | 239,848 | 0.962326 | 8,194 | 253,493 | 29.75958 | 0.908103 | 0.00041 | 0.000627 | 0.000775 | 0.004429 | 0.003678 | 0.003018 | 0.002661 | 0.001993 | 0.001649 | 0 | 0.1506 | 0.003089 | 253,493 | 307 | 239,849 | 825.710098 | 0.814341 | 0.003511 | 0 | 0.065934 | 0 | 0.021978 | 0.987337 | 0.985979 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.098901 | 0 | 0.098901 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68ef832af775f775cdb4bb4048470a320e163217 | 10,396 | py | Python | module/cek_tanda_tangan_bap.py | riandakarizal/ITeung | 2d3fc7e4974c9a9b67ff61f2a77a528988b55820 | [
"MIT"
] | null | null | null | module/cek_tanda_tangan_bap.py | riandakarizal/ITeung | 2d3fc7e4974c9a9b67ff61f2a77a528988b55820 | [
"MIT"
] | 37 | 2020-03-22T23:21:14.000Z | 2020-09-16T15:07:06.000Z | module/cek_tanda_tangan_bap.py | riandakarizal/ITeung | 2d3fc7e4974c9a9b67ff61f2a77a528988b55820 | [
"MIT"
] | 1 | 2020-09-08T11:31:30.000Z | 2020-09-08T11:31:30.000Z | from module import kelas
from lib import numbers, wa, reply, message
import subprocess, config, os
def getMateriFromJadwalID(jadwalid):
db = kelas.dbConnectSiap()
sql = f"select MP from simak_trn_presensi_dosen WHERE `JadwalID` = {jadwalid} ORDER BY Pertemuan ASC"
with db:
cur = db.cursor()
... | 35.60274 | 212 | 0.653905 | 1,184 | 10,396 | 5.657095 | 0.123311 | 0.040311 | 0.045685 | 0.069872 | 0.797104 | 0.787847 | 0.767543 | 0.752314 | 0.740072 | 0.740072 | 0 | 0.010833 | 0.227491 | 10,396 | 292 | 213 | 35.60274 | 0.823185 | 0 | 0 | 0.750973 | 0 | 0.038911 | 0.289795 | 0.129941 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07393 | false | 0 | 0.011673 | 0 | 0.198444 | 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 |
68f9926a1a6cee5c7b3808e4d3e51e60201ff9cc | 122 | py | Python | pycantonese/tests/__init__.py | chaaklau/pycantonese | 94694fea2f3c3405d3b6bb6d504a56bb05a6496c | [
"MIT"
] | 124 | 2019-08-12T13:10:43.000Z | 2022-03-24T18:35:58.000Z | pycantonese/tests/__init__.py | chaaklau/pycantonese | 94694fea2f3c3405d3b6bb6d504a56bb05a6496c | [
"MIT"
] | 13 | 2019-09-03T17:08:49.000Z | 2021-12-28T21:37:17.000Z | pycantonese/tests/__init__.py | chaaklau/pycantonese | 94694fea2f3c3405d3b6bb6d504a56bb05a6496c | [
"MIT"
] | 15 | 2019-08-09T04:03:01.000Z | 2022-03-17T10:18:21.000Z | import os
_THIS_DIR = os.path.dirname(os.path.realpath(__file__))
REPO_DIR = os.path.dirname(os.path.dirname(_THIS_DIR))
| 24.4 | 55 | 0.778689 | 21 | 122 | 4.095238 | 0.428571 | 0.27907 | 0.453488 | 0.372093 | 0.511628 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07377 | 122 | 4 | 56 | 30.5 | 0.761062 | 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 |
ec431f839118040109012d9dbffe4ec8364d62fb | 3,700 | py | Python | bglcapi/bgapi/sm/cmd.py | edgebr/python-bgapi | 0aeb525edf605e892b20f5c3fb11269cce0c5bdf | [
"MIT"
] | null | null | null | bglcapi/bgapi/sm/cmd.py | edgebr/python-bgapi | 0aeb525edf605e892b20f5c3fb11269cce0c5bdf | [
"MIT"
] | null | null | null | bglcapi/bgapi/sm/cmd.py | edgebr/python-bgapi | 0aeb525edf605e892b20f5c3fb11269cce0c5bdf | [
"MIT"
] | null | null | null | from struct import pack
from bglcapi.base_command import command
from bglcapi.types import (MessageType, MessageClass)
def bonding_confirm(connection, confirm):
MSG_TYPE = MessageType.COMMAND_RESPONSE.value
MSG_CLASS = MessageClass.SM.value
MSG_ID = 0x0e
payload = pack('<BB', connection, confirm)
... | 29.6 | 65 | 0.73027 | 510 | 3,700 | 5.017647 | 0.139216 | 0.082063 | 0.10551 | 0.146542 | 0.798359 | 0.778038 | 0.778038 | 0.778038 | 0.778038 | 0.762407 | 0 | 0.013465 | 0.177027 | 3,700 | 124 | 66 | 29.83871 | 0.826929 | 0 | 0 | 0.55914 | 0 | 0 | 0.007838 | 0 | 0 | 0 | 0.016216 | 0 | 0 | 1 | 0.16129 | false | 0.053763 | 0.032258 | 0 | 0.354839 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6b637d51ee53d130d2f22a3cc30f1efdedb53487 | 445 | py | Python | douyinspider/structures/__init__.py | MisterZhouZhou/pythonThreeSpider | 0e120350402f690158c89b7431f243cb462ae12f | [
"Apache-2.0"
] | 3 | 2019-11-05T01:00:05.000Z | 2021-03-16T03:56:46.000Z | douyinspider/structures/__init__.py | bingwin/pythonThreeSpider | 0e120350402f690158c89b7431f243cb462ae12f | [
"Apache-2.0"
] | null | null | null | douyinspider/structures/__init__.py | bingwin/pythonThreeSpider | 0e120350402f690158c89b7431f243cb462ae12f | [
"Apache-2.0"
] | 1 | 2020-05-16T12:45:36.000Z | 2020-05-16T12:45:36.000Z | from douyinspider.structures.hot import *
from douyinspider.structures.base import Base
from douyinspider.structures.music import Music
from douyinspider.structures.user import User
from douyinspider.structures.video import Video
from douyinspider.structures.address import Address
from douyinspider.structures.topic imp... | 44.5 | 68 | 0.876404 | 54 | 445 | 7.203704 | 0.259259 | 0.37018 | 0.601542 | 0.159383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080899 | 445 | 9 | 69 | 49.444444 | 0.9511 | 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 |
6b7d62abec208b5d28e43bdb68af22c4c8b92da6 | 43,769 | py | Python | test/augmentation/test_augmentation_3d.py | prcaaf/kornia | a3eca7400e6da89b313549bbae751ff23a0e7bc5 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-12-13T16:13:08.000Z | 2020-12-13T16:13:08.000Z | test/augmentation/test_augmentation_3d.py | ZhiyuanChen/kornia | 87a0ead264ce5fc97997071acb9fe2286d6c425c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/augmentation/test_augmentation_3d.py | ZhiyuanChen/kornia | 87a0ead264ce5fc97997071acb9fe2286d6c425c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from typing import Union, Tuple
import pytest
import torch
import torch.nn as nn
from torch.testing import assert_allclose
from torch.autograd import gradcheck
import kornia
import kornia.testing as utils # test utils
from kornia.constants import pi
from kornia.augmentation import (
RandomDepthicalFlip3D,
R... | 43.378593 | 112 | 0.448125 | 5,403 | 43,769 | 3.559504 | 0.069036 | 0.050437 | 0.054285 | 0.049085 | 0.835847 | 0.806 | 0.789621 | 0.767887 | 0.74662 | 0.712666 | 0 | 0.144954 | 0.393018 | 43,769 | 1,008 | 113 | 43.421627 | 0.578951 | 0.045626 | 0 | 0.648408 | 0 | 0.008917 | 0.028655 | 0.00738 | 0 | 0 | 0 | 0.000992 | 0.122293 | 1 | 0.063694 | false | 0 | 0.012739 | 0.005096 | 0.09172 | 0.007643 | 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 |
6bbdd01acf71fc3e4336063b1dbd03093b010571 | 6,037 | py | Python | baselines/ppo2/defaults.py | jinala/RLbaselines | 3594c1edae49e1bb997057912cfb9b07531d41f4 | [
"MIT"
] | null | null | null | baselines/ppo2/defaults.py | jinala/RLbaselines | 3594c1edae49e1bb997057912cfb9b07531d41f4 | [
"MIT"
] | null | null | null | baselines/ppo2/defaults.py | jinala/RLbaselines | 3594c1edae49e1bb997057912cfb9b07531d41f4 | [
"MIT"
] | 1 | 2021-04-27T17:21:28.000Z | 2021-04-27T17:21:28.000Z | import random
import numpy as np
def unif_range(a, b):
return random.random() * (b - a) + a
def rand_elem(xs):
return xs[random.randrange(len(xs))]
def rand_int_linspace(start, stop, num = 50):
return rand_elem([int(x) for x in np.linspace(start, stop, num)])
def mujoco():
return dict(
nst... | 27.193694 | 90 | 0.525427 | 891 | 6,037 | 3.428732 | 0.106622 | 0.060229 | 0.10802 | 0.0491 | 0.839935 | 0.809493 | 0.809493 | 0.793781 | 0.793781 | 0.793781 | 0 | 0.145982 | 0.32599 | 6,037 | 222 | 91 | 27.193694 | 0.604817 | 0.120258 | 0 | 0.611111 | 0 | 0 | 0.009997 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12037 | false | 0 | 0.018519 | 0.055556 | 0.259259 | 0.064815 | 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 |
d40859cfcfbe9d41075f18e967f903d43551b1c9 | 43 | py | Python | tests/distributed/test_dir_structures/src5/executors/utils/data.py | vishalbelsare/jina | ae72cc5ce1f7e7f4c662e72e96ea21dddc28bf43 | [
"Apache-2.0"
] | 3 | 2021-12-06T08:10:02.000Z | 2021-12-06T14:50:11.000Z | tests/distributed/test_dir_structures/src5/executors/utils/data.py | vishalbelsare/jina | ae72cc5ce1f7e7f4c662e72e96ea21dddc28bf43 | [
"Apache-2.0"
] | 2 | 2021-12-17T15:22:12.000Z | 2021-12-18T07:19:06.000Z | tests/distributed/test_dir_structures/src5/executors/utils/data.py | vishalbelsare/jina | ae72cc5ce1f7e7f4c662e72e96ea21dddc28bf43 | [
"Apache-2.0"
] | 1 | 2022-02-03T08:30:53.000Z | 2022-02-03T08:30:53.000Z | def dataops():
print('doing data ops')
| 14.333333 | 27 | 0.627907 | 6 | 43 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 43 | 2 | 28 | 21.5 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d40c0bad03a56999b23c54f3b491a32e5393de51 | 196 | py | Python | aggregationtools/__init__.py | alexandria-julius/plttools | 0feb298e5f0d52c73b926bd127f32339bda4a62e | [
"MIT"
] | null | null | null | aggregationtools/__init__.py | alexandria-julius/plttools | 0feb298e5f0d52c73b926bd127f32339bda4a62e | [
"MIT"
] | null | null | null | aggregationtools/__init__.py | alexandria-julius/plttools | 0feb298e5f0d52c73b926bd127f32339bda4a62e | [
"MIT"
] | 2 | 2021-11-15T14:20:52.000Z | 2022-01-07T06:27:48.000Z | """ PLT tools module imports to create a better module interface """
from aggregationtools.ep_curve import EPCurve, EPType
from aggregationtools.plt import PLT
from aggregationtools.elt import ELT | 49 | 68 | 0.826531 | 27 | 196 | 5.962963 | 0.62963 | 0.372671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 196 | 4 | 69 | 49 | 0.936047 | 0.306122 | 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 |
d443a92b3d66d3399c8c6a3006c5303d8c1121f2 | 2,512 | py | Python | test/test_loader.py | miguelgf/flask-pypendency | 44f1ab9ab65a4cc5951ba3ce9e3cf332ea44a23d | [
"MIT"
] | 4 | 2020-03-30T07:40:26.000Z | 2020-05-24T12:30:07.000Z | test/test_loader.py | miguelgf/flask-pypendency | 44f1ab9ab65a4cc5951ba3ce9e3cf332ea44a23d | [
"MIT"
] | null | null | null | test/test_loader.py | miguelgf/flask-pypendency | 44f1ab9ab65a4cc5951ba3ce9e3cf332ea44a23d | [
"MIT"
] | null | null | null | import os
from unittest import TestCase
from unittest.mock import patch, call
from flask import Flask
from flask_pypendency import Pypendency
class TestLoader(TestCase):
def setUp(self) -> None:
self.test_folder = os.path.dirname(os.path.abspath(__file__))
@patch("flask_pypendency.YamlLoader")
... | 35.885714 | 98 | 0.693869 | 293 | 2,512 | 5.556314 | 0.194539 | 0.07371 | 0.085995 | 0.082924 | 0.827396 | 0.813882 | 0.813882 | 0.813882 | 0.785012 | 0.785012 | 0 | 0.005988 | 0.202229 | 2,512 | 69 | 99 | 36.405797 | 0.806387 | 0.041003 | 0 | 0.693878 | 0 | 0 | 0.342651 | 0.337992 | 0 | 0 | 0 | 0 | 0.122449 | 1 | 0.081633 | false | 0 | 0.102041 | 0 | 0.204082 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e096b561d4731bab44bbf1d9a49e8a4523798e5 | 3,027 | py | Python | tests/policies/discrete_random/test_discrete_random_policy.py | AGI-Labs/continual_rl | bcf17d879e8a983340be233ff8f740c424d0f303 | [
"MIT"
] | 19 | 2021-07-27T05:20:09.000Z | 2022-02-27T07:12:05.000Z | tests/policies/discrete_random/test_discrete_random_policy.py | AGI-Labs/continual_rl | bcf17d879e8a983340be233ff8f740c424d0f303 | [
"MIT"
] | 2 | 2021-11-05T07:36:50.000Z | 2022-03-11T00:21:50.000Z | tests/policies/discrete_random/test_discrete_random_policy.py | AGI-Labs/continual_rl | bcf17d879e8a983340be233ff8f740c424d0f303 | [
"MIT"
] | 3 | 2021-10-20T06:04:35.000Z | 2022-03-06T22:59:36.000Z | import os
from pathlib import Path
from continual_rl.experiments.experiment import Experiment
from continual_rl.experiments.tasks.image_task import ImageTask
from continual_rl.policies.discrete_random.discrete_random_policy_config import DiscreteRandomPolicyConfig
from continual_rl.policies.discrete_random.discrete_ran... | 44.514706 | 108 | 0.693426 | 366 | 3,027 | 5.483607 | 0.284153 | 0.071749 | 0.029895 | 0.035874 | 0.849028 | 0.834081 | 0.834081 | 0.834081 | 0.834081 | 0.77728 | 0 | 0.008186 | 0.233234 | 3,027 | 67 | 109 | 45.179104 | 0.856527 | 0.185993 | 0 | 0.615385 | 0 | 0 | 0.076505 | 0.028846 | 0 | 0 | 0 | 0 | 0.051282 | 1 | 0.051282 | false | 0 | 0.153846 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e3ad4d7cf10b8564049ab45fe9d5fd486d4fd14 | 150 | py | Python | my_utils/send_mail.py | Yookyiss/segmentfault | 8fb7890c8b650ac34541a8fb14c3cd9bef98d120 | [
"MIT"
] | null | null | null | my_utils/send_mail.py | Yookyiss/segmentfault | 8fb7890c8b650ac34541a8fb14c3cd9bef98d120 | [
"MIT"
] | 12 | 2020-02-12T01:14:42.000Z | 2022-03-11T23:54:43.000Z | my_utils/send_mail.py | Yookyiss/segmentfault | 8fb7890c8b650ac34541a8fb14c3cd9bef98d120 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
# @Time : 2019/7/30 9:00 PM
# @Author : __wutonghe__
from django.core.mail import send_mail
def send_email():
pass
| 13.636364 | 38 | 0.626667 | 23 | 150 | 3.826087 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094017 | 0.22 | 150 | 10 | 39 | 15 | 0.65812 | 0.486667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cf0dd9eac4b7a622418f1535040a8fa0ae6f0b9d | 50,168 | py | Python | experiment_extra.py | Shihab-Shahriar/500-miles | 49fc9c6d037521f454da4bc02cccd62117c0ac5f | [
"MIT"
] | null | null | null | experiment_extra.py | Shihab-Shahriar/500-miles | 49fc9c6d037521f454da4bc02cccd62117c0ac5f | [
"MIT"
] | null | null | null | experiment_extra.py | Shihab-Shahriar/500-miles | 49fc9c6d037521f454da4bc02cccd62117c0ac5f | [
"MIT"
] | 1 | 2018-10-03T21:17:27.000Z | 2018-10-03T21:17:27.000Z | from __future__ import division, print_function
import pickle
import pdb
import os
import time
from sklearn.cross_validation import StratifiedKFold
from sklearn import svm
from sklearn import metrics
import gensim
import random
from learners import SK_SVM,SK_KNN,SK_LDA
from tuner import DE_Tune_ML
from model import Pap... | 38.296183 | 131 | 0.62514 | 6,349 | 50,168 | 4.77335 | 0.074815 | 0.013859 | 0.015838 | 0.017818 | 0.771167 | 0.754207 | 0.750808 | 0.742163 | 0.738138 | 0.725896 | 0 | 0.030163 | 0.212287 | 50,168 | 1,310 | 132 | 38.296183 | 0.736728 | 0.131917 | 0 | 0.777126 | 0 | 0 | 0.096464 | 0.030205 | 0 | 0 | 0 | 0 | 0.001955 | 1 | 0.028348 | false | 0 | 0.032258 | 0 | 0.071359 | 0.135875 | 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 |
cf3ffee88a76c631b85e7a5469a248333708be1a | 34 | py | Python | src/superfit/mainwindow/__init__.py | awacha/superfit | a95d346c4b38f61173c7434eb7389e2cf1ccae9c | [
"BSD-3-Clause"
] | null | null | null | src/superfit/mainwindow/__init__.py | awacha/superfit | a95d346c4b38f61173c7434eb7389e2cf1ccae9c | [
"BSD-3-Clause"
] | null | null | null | src/superfit/mainwindow/__init__.py | awacha/superfit | a95d346c4b38f61173c7434eb7389e2cf1ccae9c | [
"BSD-3-Clause"
] | null | null | null | from .mainwindow import MainWindow | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 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 |
cf44da1421ffcad816c602ccc4edb40367643818 | 199 | py | Python | prof_school/__init__.py | mohamedmelsayed/erp-school | 6da9bc4c4634e3b362be18f55300aacf147c32a3 | [
"MIT"
] | null | null | null | prof_school/__init__.py | mohamedmelsayed/erp-school | 6da9bc4c4634e3b362be18f55300aacf147c32a3 | [
"MIT"
] | null | null | null | prof_school/__init__.py | mohamedmelsayed/erp-school | 6da9bc4c4634e3b362be18f55300aacf147c32a3 | [
"MIT"
] | null | null | null | from .models import stage
from .models import level
from .models import class_name
from .models import student
from .models import parent
from .models import study_year
from .models import enrollment | 28.428571 | 30 | 0.829146 | 30 | 199 | 5.433333 | 0.4 | 0.429448 | 0.687117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135678 | 199 | 7 | 31 | 28.428571 | 0.947674 | 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 |
cf68743af20103a597b92c1707121c418cb28844 | 34 | py | Python | myscript.py | kRituraj/learnGIt | dad92da290d1aab0713d99af722e86140507e9ab | [
"MIT"
] | null | null | null | myscript.py | kRituraj/learnGIt | dad92da290d1aab0713d99af722e86140507e9ab | [
"MIT"
] | null | null | null | myscript.py | kRituraj/learnGIt | dad92da290d1aab0713d99af722e86140507e9ab | [
"MIT"
] | null | null | null | print("My name is Rituraj Khare")
| 17 | 33 | 0.735294 | 6 | 34 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 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 |
cf7897f04a99a685cf752ce25bde96a1bd963ec7 | 183 | py | Python | dist/micropy-cli/frozen/uasyncio/funcs.py | kevindawson/Pico-Stub | 6f9112779d4d81f821a3af273a450b9329ccdbab | [
"Apache-2.0"
] | 19 | 2021-01-25T23:56:09.000Z | 2022-02-21T13:55:16.000Z | dist/micropy-cli/frozen/uasyncio/funcs.py | kevindawson/Pico-Stub | 6f9112779d4d81f821a3af273a450b9329ccdbab | [
"Apache-2.0"
] | 18 | 2021-02-06T09:03:09.000Z | 2021-10-04T16:36:35.000Z | dist/micropy-cli/frozen/uasyncio/funcs.py | kevindawson/Pico-Stub | 6f9112779d4d81f821a3af273a450b9329ccdbab | [
"Apache-2.0"
] | 6 | 2021-01-26T08:41:47.000Z | 2021-04-27T11:33:33.000Z | from typing import Any
def wait_for_ms(aw: Any, timeout: int) -> Any: ...
# 0: return wait_for(aw,timeout,core.sleep_ms)
# ? 0: return wait_for(aw, timeout, core.sleep_ms)
| 30.5 | 54 | 0.672131 | 31 | 183 | 3.774194 | 0.483871 | 0.179487 | 0.188034 | 0.239316 | 0.581197 | 0.581197 | 0.581197 | 0.581197 | 0.581197 | 0 | 0 | 0.013423 | 0.185792 | 183 | 5 | 55 | 36.6 | 0.771812 | 0.508197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8d46c16be9da8396527eb259a0965644da2d48d | 37 | py | Python | veintitres/__init__.py | joelalejandro/veintitres-python | 18fa7aa66688cce3f2c42ebc96ddb780bcd6d4bf | [
"MIT"
] | null | null | null | veintitres/__init__.py | joelalejandro/veintitres-python | 18fa7aa66688cce3f2c42ebc96ddb780bcd6d4bf | [
"MIT"
] | null | null | null | veintitres/__init__.py | joelalejandro/veintitres-python | 18fa7aa66688cce3f2c42ebc96ddb780bcd6d4bf | [
"MIT"
] | null | null | null | from .client import VeintitresClient
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
d8e1c9d0e3a88657f33d1a06132b17c2fdbfdca9 | 40 | py | Python | cs-224n/assn2/utils/__init__.py | PranjalGupta2199/nlp-dl | 7e2290c82602cb2ff863f2513c54dfb0412affd0 | [
"MIT"
] | null | null | null | cs-224n/assn2/utils/__init__.py | PranjalGupta2199/nlp-dl | 7e2290c82602cb2ff863f2513c54dfb0412affd0 | [
"MIT"
] | null | null | null | cs-224n/assn2/utils/__init__.py | PranjalGupta2199/nlp-dl | 7e2290c82602cb2ff863f2513c54dfb0412affd0 | [
"MIT"
] | null | null | null | from . import gradcheck, treebank, utils | 40 | 40 | 0.8 | 5 | 40 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.914286 | 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 |
d8fbe81e9f1a510748c80f8dc8a1b42b637b2f92 | 207 | py | Python | kartverket_tide_api/exceptions/__init__.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | kartverket_tide_api/exceptions/__init__.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | kartverket_tide_api/exceptions/__init__.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | from .apierrorexception import NoTideDataErrorException, UnknownApiErrorException,\
ApiErrorException, InvalidStationTypeErrorException
from .cannotfindelementexception import CannotFindElementException
| 51.75 | 83 | 0.898551 | 11 | 207 | 16.909091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 207 | 3 | 84 | 69 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
2b1231e92f21f35984d0911fe8b686f6f0ee27b3 | 4,272 | py | Python | python/tests/wind_settings_test.py | anth-dj/geog5003m_project | 51caa4255a04cc7043dde9ff94e654c41fc1620c | [
"MIT"
] | null | null | null | python/tests/wind_settings_test.py | anth-dj/geog5003m_project | 51caa4255a04cc7043dde9ff94e654c41fc1620c | [
"MIT"
] | null | null | null | python/tests/wind_settings_test.py | anth-dj/geog5003m_project | 51caa4255a04cc7043dde9ff94e654c41fc1620c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Wind Settings unit tests
@author: Anthony Jarrett
"""
import unittest
from python.src.simulation import particleframework
class WindSettingsTestCase(unittest.TestCase):
def test_init(self):
# Initialize parameters
north_percentage = 5
... | 27.037975 | 75 | 0.617041 | 393 | 4,272 | 6.430025 | 0.157761 | 0.10922 | 0.075979 | 0.080332 | 0.815196 | 0.755837 | 0.755837 | 0.755837 | 0.722596 | 0.722596 | 0 | 0.016445 | 0.330993 | 4,272 | 157 | 76 | 27.210191 | 0.86774 | 0.122659 | 0 | 0.673267 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 1 | 0.069307 | false | 0 | 0.019802 | 0 | 0.09901 | 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 |
2b4a876ac0b876943151201b66e9e6e75e65f68a | 4,953 | py | Python | tests/features/test_decryption.py | ratschlab/tools-project-archives | a42ef1d3d60b24ff39ce5aa73a8fb332b4f25056 | [
"MIT"
] | 1 | 2021-12-02T15:13:47.000Z | 2021-12-02T15:13:47.000Z | tests/features/test_decryption.py | ratschlab/tools-project-archives | a42ef1d3d60b24ff39ce5aa73a8fb332b4f25056 | [
"MIT"
] | null | null | null | tests/features/test_decryption.py | ratschlab/tools-project-archives | a42ef1d3d60b24ff39ce5aa73a8fb332b4f25056 | [
"MIT"
] | null | null | null | import os
import shutil
import re
import pytest
from archiver.extract import decrypt_existing_archive
from archiver.helpers import get_absolute_path_string
from .archiving_helpers import assert_successful_archive_creation, assert_successful_action_to_destination, add_prefix_to_list_elements, compare_listing_files, val... | 43.447368 | 236 | 0.816475 | 652 | 4,953 | 5.722393 | 0.119632 | 0.144465 | 0.091128 | 0.050121 | 0.862503 | 0.826856 | 0.826856 | 0.80461 | 0.764942 | 0.747789 | 0 | 0.000908 | 0.11064 | 4,953 | 113 | 237 | 43.831858 | 0.846084 | 0 | 0 | 0.6125 | 0 | 0 | 0.082374 | 0.023622 | 0 | 0 | 0 | 0 | 0.1375 | 1 | 0.125 | false | 0 | 0.1 | 0 | 0.225 | 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 |
992d31ef563a84f77f44d14348541fc61f975cc8 | 11,799 | py | Python | tests/test_extractors/body/test_form_fields_extractor.py | dantownsend/xpresso | a4c4dbe96972a6f0339f30d7d794932f70510eea | [
"MIT"
] | 4 | 2022-02-07T05:12:51.000Z | 2022-02-28T12:34:57.000Z | tests/test_extractors/body/test_form_fields_extractor.py | dantownsend/xpresso | a4c4dbe96972a6f0339f30d7d794932f70510eea | [
"MIT"
] | 2 | 2022-01-25T02:05:02.000Z | 2022-01-25T02:38:59.000Z | tests/test_extractors/body/test_form_fields_extractor.py | dantownsend/xpresso | a4c4dbe96972a6f0339f30d7d794932f70510eea | [
"MIT"
] | null | null | null | import sys
import typing
from dataclasses import dataclass
if sys.version_info < (3, 9):
from typing_extensions import Annotated
else:
from typing import Annotated
from pydantic import BaseModel
from starlette.responses import Response
from starlette.testclient import TestClient
from xpresso import App, Form... | 30.567358 | 87 | 0.625053 | 1,335 | 11,799 | 5.41573 | 0.08764 | 0.047303 | 0.029046 | 0.040664 | 0.892946 | 0.889903 | 0.873167 | 0.873167 | 0.86556 | 0.839419 | 0 | 0.014111 | 0.231206 | 11,799 | 385 | 88 | 30.646753 | 0.782935 | 0.011696 | 0 | 0.685921 | 0 | 0 | 0.056023 | 0.002831 | 0 | 0 | 0 | 0 | 0.151625 | 1 | 0.072202 | false | 0 | 0.032491 | 0 | 0.32491 | 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 |
993dcfa2a570da9e634a847c20c71d05390a7639 | 260,269 | py | Python | instances/passenger_demand/pas-20210422-1717-int18e/37.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-int18e/37.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-int18e/37.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 34483
passenger_arriving = (
(6, 8, 12, 6, 7, 5, 6, 1, 4, 0, 1, 2, 0, 14, 9, 4, 3, 9, 4, 3, 1, 7, 3, 5, 0, 0), # 0
(6, 15, 6, 15, 7, 6, 2, 5, 3, 0, 1, 3, 0, 8, 8, 5, 7, 6, 6, 7, 5, 4, 2, 2, 1, 0), # 1
(10, 7, 9, 8, 8, 6, 5, 8, 3, 4, 0, 2, 0, 7, 17, 3, 9, 10, 7, 2, 2, 3, 7, 0, ... | 278.362567 | 490 | 0.771298 | 32,987 | 260,269 | 6.085246 | 0.235062 | 0.355097 | 0.340749 | 0.645631 | 0.366161 | 0.361105 | 0.360646 | 0.360577 | 0.360577 | 0.360577 | 0 | 0.851062 | 0.095032 | 260,269 | 934 | 491 | 278.6606 | 0.001185 | 0.015411 | 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 |
9941155b73b50825f4c22e8bd60744aecb14e706 | 38 | py | Python | savecode/threeyears/idownserver/dnsreq/__init__.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 2 | 2019-05-19T11:54:26.000Z | 2019-05-19T12:03:49.000Z | savecode/threeyears/idownserver/dnsreq/__init__.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 1 | 2020-11-27T07:55:15.000Z | 2020-11-27T07:55:15.000Z | savecode/threeyears/idownserver/dnsreq/__init__.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 2 | 2021-09-06T18:06:12.000Z | 2021-12-31T07:44:43.000Z | from .dnsreqdealer import DnsReqDealer | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9969702168eaa2a803a9b22907df963ef3cbab6f | 143 | py | Python | mail_alias_manager/api/v1_api/__init__.py | stuvusIT/mail_alias_manager | 260b6d1da4db03079afee159c23c3f83f4e75937 | [
"MIT"
] | null | null | null | mail_alias_manager/api/v1_api/__init__.py | stuvusIT/mail_alias_manager | 260b6d1da4db03079afee159c23c3f83f4e75937 | [
"MIT"
] | null | null | null | mail_alias_manager/api/v1_api/__init__.py | stuvusIT/mail_alias_manager | 260b6d1da4db03079afee159c23c3f83f4e75937 | [
"MIT"
] | null | null | null | """Module containing the v1 API."""
from .root import API_V1 # noqa
from . import recipient_alias # noqa
from . import sender_alias # noqa
| 23.833333 | 37 | 0.72028 | 21 | 143 | 4.761905 | 0.571429 | 0.16 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.188811 | 143 | 5 | 38 | 28.6 | 0.844828 | 0.314685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9984268e196c7b6f74d5fc4959e1fab66773f0d3 | 1,471 | py | Python | chempy/properties/tests/test_water_viscosity_korson_1969.py | bertiewooster/chempy | 115adc1d570aa1631baff4374f3128ce23fa7776 | [
"BSD-2-Clause"
] | 340 | 2015-10-30T03:41:05.000Z | 2022-03-31T05:01:17.000Z | chempy/properties/tests/test_water_viscosity_korson_1969.py | bertiewooster/chempy | 115adc1d570aa1631baff4374f3128ce23fa7776 | [
"BSD-2-Clause"
] | 80 | 2015-11-03T13:31:23.000Z | 2022-03-31T16:46:19.000Z | chempy/properties/tests/test_water_viscosity_korson_1969.py | bertiewooster/chempy | 115adc1d570aa1631baff4374f3128ce23fa7776 | [
"BSD-2-Clause"
] | 75 | 2016-06-06T19:55:48.000Z | 2022-03-19T23:39:13.000Z | import warnings
from ..water_viscosity_korson_1969 import water_viscosity
def test_water_viscosity():
warnings.filterwarnings("error") # Table II (p. 38):
assert abs(water_viscosity(273.15 + 0) - 1.7916) < 5e-4
assert abs(water_viscosity(273.15 + 5) - 1.5192) < 5e-4
assert abs(water_viscosity(273.15 ... | 50.724138 | 61 | 0.656016 | 254 | 1,471 | 3.692913 | 0.26378 | 0.358209 | 0.313433 | 0.514925 | 0.688699 | 0.688699 | 0.658849 | 0.627932 | 0 | 0 | 0 | 0.250629 | 0.188987 | 1,471 | 28 | 62 | 52.535714 | 0.535624 | 0.011557 | 0 | 0 | 0 | 0 | 0.003444 | 0 | 0 | 0 | 0 | 0 | 0.807692 | 1 | 0.038462 | true | 0 | 0.076923 | 0 | 0.115385 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 |
41e2290afea8242f9b3ad627b8896fc8296f5d30 | 110 | py | Python | basis/cli/commands/logout.py | kvh/basis | 8d109ff5ccf2c30b1a11406827d2c1620691ad95 | [
"BSD-3-Clause"
] | 11 | 2020-05-29T20:56:48.000Z | 2021-09-22T15:44:42.000Z | basis/cli/commands/logout.py | kvh/basis | 8d109ff5ccf2c30b1a11406827d2c1620691ad95 | [
"BSD-3-Clause"
] | null | null | null | basis/cli/commands/logout.py | kvh/basis | 8d109ff5ccf2c30b1a11406827d2c1620691ad95 | [
"BSD-3-Clause"
] | null | null | null | from basis.cli.services import auth
def logout():
"""Log out of your Basis account"""
auth.logout()
| 15.714286 | 39 | 0.663636 | 16 | 110 | 4.5625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209091 | 110 | 6 | 40 | 18.333333 | 0.83908 | 0.263636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5146d58c84bb7104d16ee9a9d1a76b8231e89082 | 224 | py | Python | nyaggle/experiment/__init__.py | harupy/nyaggle | 132a93079e364d60b5598de77ab636a603ec06a4 | [
"MIT"
] | null | null | null | nyaggle/experiment/__init__.py | harupy/nyaggle | 132a93079e364d60b5598de77ab636a603ec06a4 | [
"MIT"
] | null | null | null | nyaggle/experiment/__init__.py | harupy/nyaggle | 132a93079e364d60b5598de77ab636a603ec06a4 | [
"MIT"
] | null | null | null | from nyaggle.experiment.experiment import Experiment, add_leaderboard_score
from nyaggle.experiment.averaging import average_results
from nyaggle.experiment.run import autoprep_gbdt, run_experiment, find_best_lgbm_parameter
| 56 | 90 | 0.892857 | 29 | 224 | 6.62069 | 0.586207 | 0.171875 | 0.328125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066964 | 224 | 3 | 91 | 74.666667 | 0.91866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
515d5f82ce87af195121b8847cb3e553f85bb1c4 | 194 | py | Python | src/Lexer/run.py | PetukhovVictor/compiler2 | 0bf87393ce9ecdd421393165fc14cb7f03f5e3b8 | [
"MIT"
] | 3 | 2017-09-08T21:35:31.000Z | 2019-04-24T11:48:59.000Z | src/Lexer/run.py | PetukhovVictor/compiler2 | 0bf87393ce9ecdd421393165fc14cb7f03f5e3b8 | [
"MIT"
] | 1 | 2018-11-19T15:34:00.000Z | 2018-11-19T15:35:52.000Z | src/Lexer/run.py | PetukhovVictor/compiler2 | 0bf87393ce9ecdd421393165fc14cb7f03f5e3b8 | [
"MIT"
] | 4 | 2017-03-13T06:16:48.000Z | 2019-04-24T11:49:00.000Z | from .rules import token_expressions
from .lex import lex
def run(code):
""" Wrapper to run the Lexer (with the token expressions listed here). """
return lex(code, token_expressions)
| 24.25 | 78 | 0.726804 | 28 | 194 | 4.964286 | 0.607143 | 0.345324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 194 | 7 | 79 | 27.714286 | 0.879747 | 0.340206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5acf6a6ed2a18dd015b90e514e7a54da35d4ea24 | 34,367 | py | Python | agoora-profiler-service/quality_inspection/tests/quality_inspector_test.py | spoud/agoora-agents | 918602d428b6cd9918d1ade682fa54e85a9a2df3 | [
"MIT"
] | 8 | 2021-03-25T13:49:31.000Z | 2021-08-19T04:09:14.000Z | agoora-profiler-service/quality_inspection/tests/quality_inspector_test.py | spoud/agoora-agents | 918602d428b6cd9918d1ade682fa54e85a9a2df3 | [
"MIT"
] | 18 | 2021-03-31T11:38:45.000Z | 2022-02-16T05:00:09.000Z | agoora-profiler-service/quality_inspection/tests/quality_inspector_test.py | spoud/agoora-agents | 918602d428b6cd9918d1ade682fa54e85a9a2df3 | [
"MIT"
] | null | null | null | import unittest
from quality_inspection.quality_inspector import QualityInspector
from quality_inspection.schema_definition import SchemaDefinition
from quality_inspection.tests.data_loader import DataLoader
class QualityInspectorTest(unittest.TestCase):
def setUp(self) -> None:
self.inspector = QualityI... | 35.724532 | 118 | 0.575407 | 3,185 | 34,367 | 5.929042 | 0.070016 | 0.052902 | 0.049778 | 0.055073 | 0.869572 | 0.830544 | 0.785798 | 0.753548 | 0.731148 | 0.702764 | 0 | 0.020126 | 0.314691 | 34,367 | 961 | 119 | 35.761707 | 0.781675 | 0.034015 | 0 | 0.553292 | 0 | 0 | 0.249864 | 0.012557 | 0 | 0 | 0 | 0 | 0.141066 | 1 | 0.073668 | false | 0 | 0.00627 | 0 | 0.081505 | 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 |
5ae07991afc23cb7d9a2fd6ee5c2c60cb7e50a1b | 2,560 | py | Python | unit_tests/test_extract_initial_rules.py | fensta/bracid2019 | ad9bf0b4e44c19f66c1597e857ef6cf70f56a646 | [
"MIT"
] | null | null | null | unit_tests/test_extract_initial_rules.py | fensta/bracid2019 | ad9bf0b4e44c19f66c1597e857ef6cf70f56a646 | [
"MIT"
] | null | null | null | unit_tests/test_extract_initial_rules.py | fensta/bracid2019 | ad9bf0b4e44c19f66c1597e857ef6cf70f56a646 | [
"MIT"
] | null | null | null | from unittest import TestCase
import pandas as pd
from scripts.utils import extract_initial_rules
class TestExtractInitialRules(TestCase):
"""Tests test_extract_initial_rules() from utils"""
def test_extract_initial_rules_numeric(self):
"""Test that rules are extracted correctly with a single numer... | 49.230769 | 115 | 0.551563 | 357 | 2,560 | 3.817927 | 0.142857 | 0.020543 | 0.030814 | 0.046955 | 0.80044 | 0.757887 | 0.740279 | 0.737344 | 0.737344 | 0.644901 | 0 | 0.031314 | 0.239063 | 2,560 | 51 | 116 | 50.196078 | 0.668378 | 0.137891 | 0 | 0.411765 | 0 | 0 | 0.057809 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.117647 | false | 0 | 0.088235 | 0 | 0.235294 | 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 |
5aea87607e71c1fa54637d37748174be3086f680 | 174 | py | Python | core.py | guillaumevincent/keepass-less | 03e041b2b49595b421a7b6ca8a0a4e7ae51d7fdc | [
"MIT"
] | 1 | 2015-12-01T21:47:34.000Z | 2015-12-01T21:47:34.000Z | core.py | guillaumevincent/keepass-less | 03e041b2b49595b421a7b6ca8a0a4e7ae51d7fdc | [
"MIT"
] | null | null | null | core.py | guillaumevincent/keepass-less | 03e041b2b49595b421a7b6ca8a0a4e7ae51d7fdc | [
"MIT"
] | null | null | null | def split_entry(entry):
entries = entry.split(':')
if len(entries) == 3:
return entries[0], entries[1], int(entries[2])
return entries[0], entries[1], 10
| 29 | 54 | 0.609195 | 25 | 174 | 4.2 | 0.52 | 0.247619 | 0.266667 | 0.4 | 0.419048 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058394 | 0.212644 | 174 | 5 | 55 | 34.8 | 0.708029 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5af6d73e24f9be5da73ff272a9a33f09624bf320 | 125 | py | Python | daraja_api/clients/b2c_api_client.py | jakhax/python_daraja_api | 7584679d0c5eaa2beafbfa221254e6370f40f12d | [
"MIT"
] | 4 | 2019-10-30T09:19:58.000Z | 2020-04-18T12:32:09.000Z | daraja_api/clients/b2c_api_client.py | jakhax/python_daraja_api | 7584679d0c5eaa2beafbfa221254e6370f40f12d | [
"MIT"
] | 2 | 2019-10-31T20:39:57.000Z | 2019-10-31T20:41:32.000Z | daraja_api/clients/b2c_api_client.py | jakhax/python_daraja_api | 7584679d0c5eaa2beafbfa221254e6370f40f12d | [
"MIT"
] | 3 | 2020-04-17T23:03:25.000Z | 2021-05-14T08:26:07.000Z | from daraja_api.clients.abstract_api_client import AbstractApiClient
class AbstractB2CApiClient(AbstractApiClient):
pass | 31.25 | 68 | 0.872 | 13 | 125 | 8.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.088 | 125 | 4 | 69 | 31.25 | 0.921053 | 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 |
51e93219bcf0932e974ca77a974c31a6703b7426 | 159 | py | Python | api/app/api/mutations/types/TokenData.py | VidroX/recommdo | fe518158b1a63225816054fb129f680e1d0c7d9c | [
"MIT"
] | null | null | null | api/app/api/mutations/types/TokenData.py | VidroX/recommdo | fe518158b1a63225816054fb129f680e1d0c7d9c | [
"MIT"
] | null | null | null | api/app/api/mutations/types/TokenData.py | VidroX/recommdo | fe518158b1a63225816054fb129f680e1d0c7d9c | [
"MIT"
] | null | null | null | import graphene
class TokenData(graphene.ObjectType):
access_token = graphene.String(required=False)
refresh_token = graphene.String(required=False)
| 22.714286 | 51 | 0.786164 | 18 | 159 | 6.833333 | 0.611111 | 0.211382 | 0.308943 | 0.439024 | 0.520325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125786 | 159 | 6 | 52 | 26.5 | 0.884892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
cf9d43beea070a2999be037ff5c098b3a4dc9ef5 | 1,173 | py | Python | 18-04-18-REST APIs with Flask and Python/Section 6 - Simplifying storage with Flask-SQLAlchemy/1_Improving code structure/models/user.py | maraboinavamshi/courses | 48f255ffb1903ba20865c2b91b488758d5cb1a09 | [
"Apache-2.0"
] | 15 | 2017-09-19T08:09:01.000Z | 2019-04-29T00:37:51.000Z | 18-04-18-REST APIs with Flask and Python/Section 6 - Simplifying storage with Flask-SQLAlchemy/1_Improving code structure/models/user.py | chitrita/Courses-1 | 7713267ee5c92e488086588ac41490c44b4f7350 | [
"Apache-2.0"
] | null | null | null | 18-04-18-REST APIs with Flask and Python/Section 6 - Simplifying storage with Flask-SQLAlchemy/1_Improving code structure/models/user.py | chitrita/Courses-1 | 7713267ee5c92e488086588ac41490c44b4f7350 | [
"Apache-2.0"
] | 17 | 2018-02-27T03:15:54.000Z | 2019-04-24T09:26:46.000Z | import sqlite3
class UserModel:
def __init__(self, _id, username, password):
self.id = _id
self.username = username
self.password = password
@classmethod
def find_by_username(cls, username):
connection = sqlite3.connect('data.db')
cursor = connection.cursor()
query = "SELECT * FROM users WHERE userna... | 23.938776 | 60 | 0.680307 | 169 | 1,173 | 4.662722 | 0.325444 | 0.035533 | 0.045685 | 0.050761 | 0.758883 | 0.758883 | 0.758883 | 0.758883 | 0.758883 | 0.758883 | 0 | 0.003279 | 0.219949 | 1,173 | 49 | 61 | 23.938776 | 0.857924 | 0.266837 | 0 | 0.625 | 0 | 0 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0.0625 | 0.03125 | 0 | 0.21875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cfdb1d30cc9bd9520aaaaae8ec7fdec44f23d872 | 38 | py | Python | HashableDict/__init__.py | IFcoltransG/HashableDict | d638176db7439e835e777241073433f496cabfcb | [
"Unlicense"
] | null | null | null | HashableDict/__init__.py | IFcoltransG/HashableDict | d638176db7439e835e777241073433f496cabfcb | [
"Unlicense"
] | null | null | null | HashableDict/__init__.py | IFcoltransG/HashableDict | d638176db7439e835e777241073433f496cabfcb | [
"Unlicense"
] | null | null | null | from HashableDict import HashableDict
| 19 | 37 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
cfdb6aea4b5d0ec5643271d0d007024ceb0871a2 | 7,187 | py | Python | tests/emulator/test_line_handler.py | pp81381/nicett6 | addace8fbd5350105bf4fb27d1b485bb9cf20236 | [
"MIT"
] | null | null | null | tests/emulator/test_line_handler.py | pp81381/nicett6 | addace8fbd5350105bf4fb27d1b485bb9cf20236 | [
"MIT"
] | 1 | 2021-06-06T20:43:09.000Z | 2021-06-06T20:43:09.000Z | tests/emulator/test_line_handler.py | pp81381/nicett6 | addace8fbd5350105bf4fb27d1b485bb9cf20236 | [
"MIT"
] | null | null | null | import asyncio
from nicett6.emulator.cover_emulator import TT6CoverEmulator
from nicett6.emulator.line_handler import (
LineHandler,
CMD_STOP,
CMD_MOVE_DOWN,
CMD_MOVE_UP,
)
from nicett6.ttbus_device import TTBusDeviceAddress
from unittest import IsolatedAsyncioTestCase
from unittest.mock import AsyncMoc... | 39.489011 | 88 | 0.685265 | 927 | 7,187 | 5.007551 | 0.140237 | 0.072813 | 0.054933 | 0.067859 | 0.821198 | 0.769496 | 0.727273 | 0.722749 | 0.711116 | 0.666523 | 0 | 0.024182 | 0.234729 | 7,187 | 182 | 89 | 39.489011 | 0.819818 | 0.031446 | 0 | 0.535032 | 0 | 0 | 0.051828 | 0 | 0 | 0 | 0.004607 | 0 | 0.159236 | 1 | 0 | false | 0 | 0.038217 | 0 | 0.057325 | 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 |
5c7679f7f5b438170113cc7075f9558e13ac35ef | 33 | py | Python | reporting/__init__.py | 4ESoftware/TempRent | 822268c787bdd2be6e6c446db8417da24dbb2ec5 | [
"MIT"
] | null | null | null | reporting/__init__.py | 4ESoftware/TempRent | 822268c787bdd2be6e6c446db8417da24dbb2ec5 | [
"MIT"
] | null | null | null | reporting/__init__.py | 4ESoftware/TempRent | 822268c787bdd2be6e6c446db8417da24dbb2ec5 | [
"MIT"
] | null | null | null | from .rep_utils import RepEngine
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
5c9febd4c5cf40ff34bafdd56f8c84d210e5451c | 56 | py | Python | easy_differ/__init__.py | FurkanOzkaya/easy_differ | 9c81a53447536df006045ea35f264225367c4b61 | [
"MIT"
] | 1 | 2020-09-26T21:46:48.000Z | 2020-09-26T21:46:48.000Z | easy_differ/__init__.py | FurkanOzkaya/easy_differ | 9c81a53447536df006045ea35f264225367c4b61 | [
"MIT"
] | null | null | null | easy_differ/__init__.py | FurkanOzkaya/easy_differ | 9c81a53447536df006045ea35f264225367c4b61 | [
"MIT"
] | null | null | null | from easy_differ.easy_differ import list_diff, text_diff | 56 | 56 | 0.892857 | 10 | 56 | 4.6 | 0.7 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5ce52894ee777c761bbe80312dc0afb967f4d975 | 141 | py | Python | homie/models/__init__.py | timpur/homie-discovery-python | f157e3843cae7b1ad3e4fd810b340c35c34473eb | [
"MIT"
] | null | null | null | homie/models/__init__.py | timpur/homie-discovery-python | f157e3843cae7b1ad3e4fd810b340c35c34473eb | [
"MIT"
] | null | null | null | homie/models/__init__.py | timpur/homie-discovery-python | f157e3843cae7b1ad3e4fd810b340c35c34473eb | [
"MIT"
] | null | null | null | """Homie Models module"""
from .homie_device import HomieDevice
from .homie_node import HomieNode
from .homie_property import HomieProperty
| 23.5 | 41 | 0.822695 | 18 | 141 | 6.277778 | 0.611111 | 0.238938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113475 | 141 | 5 | 42 | 28.2 | 0.904 | 0.134752 | 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 |
7a3acfc511ddee7da218b4ddb4970a9394b9e44a | 5,946 | py | Python | venv/lib/python3.7/site-packages/rqdatac/services/orm/financial_indicator_sql.py | CatTiger/vnpy | 7901a0fb80a5b44d6fc752bd4b2b64ec62c8f84b | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/rqdatac/services/orm/financial_indicator_sql.py | CatTiger/vnpy | 7901a0fb80a5b44d6fc752bd4b2b64ec62c8f84b | [
"MIT"
] | 1 | 2020-04-21T02:42:32.000Z | 2020-04-21T02:42:32.000Z | venv/lib/python3.7/site-packages/rqdatac/services/orm/financial_indicator_sql.py | CatTiger/vnpy | 7901a0fb80a5b44d6fc752bd4b2b64ec62c8f84b | [
"MIT"
] | null | null | null | # coding: utf-8
from sqlalchemy import Numeric, Column
from .fundamental_base_sql import FundamentalBase
class AnaStkFinIdx(FundamentalBase):
earnings_per_share = Column(Numeric(18, 4))
fully_diluted_earnings_per_share = Column(Numeric(18, 4))
diluted_earnings_per_share = Column(Numeric(18, 4))
adjust... | 50.389831 | 71 | 0.736798 | 881 | 5,946 | 4.614075 | 0.111237 | 0.351784 | 0.383764 | 0.409348 | 0.868143 | 0.793604 | 0.550308 | 0.308241 | 0.178352 | 0.023616 | 0 | 0.065756 | 0.150858 | 5,946 | 117 | 72 | 50.820513 | 0.739354 | 0.002186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017699 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7a3e3c0c5a227d2ab34cab782fab2492bb8ae99d | 35,990 | py | Python | teospy/iceliq4.py | jarethholt/teospy | 3bb23e67bbb765c0842aa8d4a73c1d55ea395d2f | [
"MIT"
] | null | null | null | teospy/iceliq4.py | jarethholt/teospy | 3bb23e67bbb765c0842aa8d4a73c1d55ea395d2f | [
"MIT"
] | null | null | null | teospy/iceliq4.py | jarethholt/teospy | 3bb23e67bbb765c0842aa8d4a73c1d55ea395d2f | [
"MIT"
] | null | null | null | """Ice-liquid water equilibrium functions.
This module provides thermodynamic properties of ice and liquid water in
equilibrium, e.g. the enthalpy of melting.
:Examples:
>>> pressure(temp=270.)
39313338.8825
>>> densityliq(temp=270.)
1019.05568894
>>> enthalpymelt(temp=270.)
325166.686739
>>> entropymelt(temp=270.)
... | 39.549451 | 80 | 0.676077 | 5,225 | 35,990 | 4.605933 | 0.057799 | 0.022688 | 0.035652 | 0.045375 | 0.858223 | 0.822571 | 0.799717 | 0.78077 | 0.777154 | 0.769675 | 0 | 0.031991 | 0.23915 | 35,990 | 909 | 81 | 39.592959 | 0.846876 | 0.703362 | 0 | 0.437811 | 0 | 0 | 0.029086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084577 | false | 0 | 0.034826 | 0 | 0.208955 | 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 |
7a43eae4859f7e4a0ab17cb3b690aad1f9bb0c07 | 7,430 | py | Python | fpga/fourteensegmentdisplay.py | renzenicolai/nmigen-experiments | c6048ad9cbb29d5b478538ef04997a00c0e5dd1b | [
"Unlicense"
] | null | null | null | fpga/fourteensegmentdisplay.py | renzenicolai/nmigen-experiments | c6048ad9cbb29d5b478538ef04997a00c0e5dd1b | [
"Unlicense"
] | null | null | null | fpga/fourteensegmentdisplay.py | renzenicolai/nmigen-experiments | c6048ad9cbb29d5b478538ef04997a00c0e5dd1b | [
"Unlicense"
] | null | null | null | from nmigen import *
from nmigen.build import Platform, ResourceError
from nmigen.back.pysim import Simulator, Delay, Settle
# Small helper classes to simulate the structure of the platform device
class _OutputSimulator():
def __init__(self, signal):
self.signal = signal
self.eq = self.signal.eq
class _SegmentSi... | 40.162162 | 92 | 0.490983 | 1,903 | 7,430 | 1.890173 | 0.137677 | 0.35196 | 0.353628 | 0.302474 | 0.442591 | 0.4134 | 0.406172 | 0.397554 | 0.389491 | 0.361412 | 0 | 0.277635 | 0.212248 | 7,430 | 184 | 93 | 40.380435 | 0.336921 | 0.199462 | 0 | 0.163522 | 0 | 0 | 0.008579 | 0 | 0 | 0 | 0.001373 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.018868 | 0 | 0.08805 | 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 |
7aa2ecacc1b4edd27824ab28d2f199ab480f960d | 141 | py | Python | thirvusoft/thirvusoft/doctype/ts_payroll/test_ts_payroll.py | SaraneshThirvu/Script_Report | 5af8f4d3dc32ead2b124f10c55040d49a21ebb5d | [
"MIT"
] | null | null | null | thirvusoft/thirvusoft/doctype/ts_payroll/test_ts_payroll.py | SaraneshThirvu/Script_Report | 5af8f4d3dc32ead2b124f10c55040d49a21ebb5d | [
"MIT"
] | null | null | null | thirvusoft/thirvusoft/doctype/ts_payroll/test_ts_payroll.py | SaraneshThirvu/Script_Report | 5af8f4d3dc32ead2b124f10c55040d49a21ebb5d | [
"MIT"
] | null | null | null | # Copyright (c) 2021, TS and Contributors
# See license.txt
# import frappe
import unittest
class TestTS_Payroll(unittest.TestCase):
pass
| 15.666667 | 41 | 0.77305 | 19 | 141 | 5.684211 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.148936 | 141 | 8 | 42 | 17.625 | 0.866667 | 0.489362 | 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 |
8ff1fc7f5b6a1164af4260cd817188ff96c48ecb | 103 | py | Python | bitmovin_api_sdk/encoding/configurations/video/vp9/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/configurations/video/vp9/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/configurations/video/vp9/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.configurations.video.vp9.customdata.customdata_api import CustomdataApi
| 51.5 | 102 | 0.902913 | 13 | 103 | 6.923077 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.038835 | 103 | 1 | 103 | 103 | 0.89899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
56f59a848cb0e6dafae0001284fd9453da3b89e8 | 27 | py | Python | code/cyclegan/__init__.py | karl-joan/text2art-gan | 86370667f9a62bab95968abe1990dcaa4760b333 | [
"MIT"
] | 5 | 2021-10-30T13:40:41.000Z | 2022-03-20T04:48:45.000Z | code/cyclegan/__init__.py | karl-joan/text2art-gan | 86370667f9a62bab95968abe1990dcaa4760b333 | [
"MIT"
] | null | null | null | code/cyclegan/__init__.py | karl-joan/text2art-gan | 86370667f9a62bab95968abe1990dcaa4760b333 | [
"MIT"
] | 2 | 2021-09-06T03:45:04.000Z | 2022-03-13T03:23:49.000Z | from .main import cyclegan
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 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 |
56fe5a7bf702f7326f225c4e486c0a157601c27e | 39,967 | py | Python | test/intelliflow/core/signal_processing/routing_runtime_constructs/test_route.py | amzn/rheoceros | 5e8f79d97f8b21d693d3c869b0df70de3d5fd068 | [
"Apache-2.0",
"MIT-0"
] | 4 | 2022-03-24T04:39:02.000Z | 2022-03-31T16:41:50.000Z | test/intelliflow/core/signal_processing/routing_runtime_constructs/test_route.py | amzn/rheoceros | 5e8f79d97f8b21d693d3c869b0df70de3d5fd068 | [
"Apache-2.0",
"MIT-0"
] | null | null | null | test/intelliflow/core/signal_processing/routing_runtime_constructs/test_route.py | amzn/rheoceros | 5e8f79d97f8b21d693d3c869b0df70de3d5fd068 | [
"Apache-2.0",
"MIT-0"
] | null | null | null | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import time
from test.intelliflow.core.signal_processing.dimension_constructs.test_dimension_spec import TestDimensionSpec
from test.intelliflow.core.signal_processing.routing_runtime_constructs impor... | 44.358491 | 138 | 0.636525 | 4,486 | 39,967 | 5.326349 | 0.076906 | 0.031807 | 0.037666 | 0.045702 | 0.861137 | 0.8282 | 0.813342 | 0.788315 | 0.774881 | 0.756508 | 0 | 0.017156 | 0.286837 | 39,967 | 900 | 139 | 44.407778 | 0.821142 | 0.129582 | 0 | 0.669944 | 0 | 0 | 0.020388 | 0.004383 | 0 | 0 | 0 | 0.001111 | 0.154494 | 1 | 0.032303 | false | 0.001404 | 0.046348 | 0.001404 | 0.087079 | 0.002809 | 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 |
711dc29809114966ffd1a3a12882c04b3dd3d23a | 49 | py | Python | feedback/views/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 13 | 2015-11-29T12:19:12.000Z | 2021-02-21T15:42:11.000Z | feedback/views/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 23 | 2015-04-29T19:43:34.000Z | 2021-02-10T05:50:17.000Z | feedback/views/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 11 | 2015-09-20T18:59:00.000Z | 2020-02-07T08:47:34.000Z | from .feedback_view import feedback_view # noqa
| 24.5 | 48 | 0.816327 | 7 | 49 | 5.428571 | 0.714286 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 0.904762 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8570b07b4e9af91f0c08ffa94177023db3ec5f6a | 81 | py | Python | nbgrader/exchange/abc/fetch_feedback.py | omelnikov/nbgrader | 66984e5732c98bd15733c027601a62fca6a46222 | [
"BSD-3-Clause"
] | 1,116 | 2015-01-20T19:22:24.000Z | 2022-03-31T22:05:10.000Z | nbgrader/exchange/abc/fetch_feedback.py | jld23/nbgrader | 07a38cd8ed12ab33870bdd42f0bf35aa1252b0db | [
"BSD-3-Clause"
] | 1,166 | 2015-01-08T21:50:31.000Z | 2022-03-31T05:15:01.000Z | nbgrader/exchange/abc/fetch_feedback.py | jld23/nbgrader | 07a38cd8ed12ab33870bdd42f0bf35aa1252b0db | [
"BSD-3-Clause"
] | 337 | 2015-02-06T01:28:00.000Z | 2022-03-29T06:52:38.000Z | from .exchange import Exchange
class ExchangeFetchFeedback(Exchange):
pass
| 13.5 | 38 | 0.790123 | 8 | 81 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 5 | 39 | 16.2 | 0.941176 | 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 |
85b9df7e5df2c3700d38f73b5d3eb34cddac9dcb | 31 | py | Python | schoolInfo/school/schedule/__init__.py | sunrabbit123/school-info_python | e2fbe928d6f024c6ec2f86b109833595dbdbb294 | [
"MIT"
] | null | null | null | schoolInfo/school/schedule/__init__.py | sunrabbit123/school-info_python | e2fbe928d6f024c6ec2f86b109833595dbdbb294 | [
"MIT"
] | 1 | 2021-05-09T12:51:37.000Z | 2021-05-17T14:36:23.000Z | schoolInfo/school/schedule/__init__.py | sunrabbit123/school-info_python | e2fbe928d6f024c6ec2f86b109833595dbdbb294 | [
"MIT"
] | null | null | null | from .schedule import schedule
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
a42e9d2a1e7a9cf3db47e508fb6f4bf89cb81693 | 5,486 | py | Python | strategies/go_to_incarnam.py | ProjectBlackFalcon/BlackFalconCore | 23af1829224738c06092e3e513a0bf2753b4c35f | [
"MIT"
] | 8 | 2019-05-26T19:44:28.000Z | 2021-01-31T14:53:17.000Z | strategies/go_to_incarnam.py | ProjectBlackFalcon/BlackFalconCore | 23af1829224738c06092e3e513a0bf2753b4c35f | [
"MIT"
] | 8 | 2019-07-17T21:19:47.000Z | 2019-09-28T12:52:39.000Z | strategies/go_to_incarnam.py | ProjectBlackFalcon/BlackFalconCore | 23af1829224738c06092e3e513a0bf2753b4c35f | [
"MIT"
] | null | null | null | import json
import time
from tools import logger as log
import strategies
def go_to_incarnam(**kwargs):
"""
A strategy to go from Astrub to Incarnam trough the portal
:param kwargs: strategy, listener, and orders_queue
:return: the input strategy with a report
"""
strategy = kwargs['strategy... | 34.503145 | 111 | 0.595151 | 644 | 5,486 | 4.948758 | 0.167702 | 0.077502 | 0.048008 | 0.03577 | 0.787888 | 0.777534 | 0.766865 | 0.766865 | 0.742391 | 0.729212 | 0 | 0.013476 | 0.283084 | 5,486 | 158 | 112 | 34.721519 | 0.796847 | 0.03755 | 0 | 0.70229 | 0 | 0 | 0.21279 | 0.004568 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007634 | false | 0 | 0.030534 | 0 | 0.083969 | 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 |
a42f7f668f38670d489c9bdb6a6b76503b566b68 | 26 | py | Python | get_decks_ids/__init__.py | sarajaksa/anki-addons | 01e4cedca0cca1df11202c52c473a8c35eb5f0b8 | [
"Unlicense"
] | 3 | 2017-03-05T21:53:06.000Z | 2019-03-13T09:50:19.000Z | get_decks_ids/__init__.py | sarajaksa/anki-addons | 01e4cedca0cca1df11202c52c473a8c35eb5f0b8 | [
"Unlicense"
] | 3 | 2017-03-04T16:24:15.000Z | 2018-11-14T15:20:49.000Z | get_decks_ids/__init__.py | sarajaksa/anki-addons | 01e4cedca0cca1df11202c52c473a8c35eb5f0b8 | [
"Unlicense"
] | 1 | 2019-05-12T10:46:25.000Z | 2019-05-12T10:46:25.000Z | from . import get_deck_id
| 13 | 25 | 0.807692 | 5 | 26 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a44fcaf72af452eb78dae46d1d49a2249dd7f3c4 | 143 | py | Python | week1/2.py | kamorozov/coursera_python | 706bc1bc46839f8b3debdf293240ad5ce20c9775 | [
"Unlicense"
] | 2 | 2019-05-17T13:42:02.000Z | 2019-05-18T04:00:35.000Z | week1/2.py | kamorozov/coursera_python | 706bc1bc46839f8b3debdf293240ad5ce20c9775 | [
"Unlicense"
] | null | null | null | week1/2.py | kamorozov/coursera_python | 706bc1bc46839f8b3debdf293240ad5ce20c9775 | [
"Unlicense"
] | 2 | 2019-10-03T09:07:44.000Z | 2019-12-28T19:17:20.000Z | n = int(input())
print(' _~_ ' * n)
print(' (o o) ' * n)
print(' / V \ ' * n)
print('/( _ )\ ' * n)
print(' ^^ ^^ ' * n)
| 20.428571 | 24 | 0.314685 | 16 | 143 | 2.625 | 0.375 | 0.571429 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 143 | 6 | 25 | 23.833333 | 0.477273 | 0 | 0 | 0 | 0 | 0 | 0.364964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.833333 | 1 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f13146176d51f8cb1731e866ee6731f529600270 | 97 | py | Python | setup.py | souravdatta/words | 1d4d8e5f192b24b2c734d839fe3eaa540256e2ed | [
"MIT"
] | null | null | null | setup.py | souravdatta/words | 1d4d8e5f192b24b2c734d839fe3eaa540256e2ed | [
"MIT"
] | null | null | null | setup.py | souravdatta/words | 1d4d8e5f192b24b2c734d839fe3eaa540256e2ed | [
"MIT"
] | null | null | null | # Py2Exe setup file
from distutils.core import setup
import py2exe
setup(console=['words.py'])
| 13.857143 | 32 | 0.762887 | 14 | 97 | 5.285714 | 0.714286 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.134021 | 97 | 6 | 33 | 16.166667 | 0.857143 | 0.175258 | 0 | 0 | 0 | 0 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f13ba3b7c19b139da995ed439ad5c64bd1341cb8 | 3,020 | py | Python | TestSlice6.py | TecnicoSSof/Software-Security | 9c31f5f59a1d1c21c2c9876d09bbbd9823d96357 | [
"Apache-2.0"
] | null | null | null | TestSlice6.py | TecnicoSSof/Software-Security | 9c31f5f59a1d1c21c2c9876d09bbbd9823d96357 | [
"Apache-2.0"
] | null | null | null | TestSlice6.py | TecnicoSSof/Software-Security | 9c31f5f59a1d1c21c2c9876d09bbbd9823d96357 | [
"Apache-2.0"
] | null | null | null | import os
import unittest
from searcher.Vulnerability import Vulnerability
from searcher.Searcher import Searcher
import json
from static_analyzer import file_get_contents
class TestSlice6(unittest.TestCase):
def test_rules(self):
parsed_snippet = json.loads(file_get_contents(os.getcwd() + "/tests/slice... | 50.333333 | 100 | 0.700993 | 357 | 3,020 | 5.717087 | 0.131653 | 0.058795 | 0.095541 | 0.139637 | 0.841744 | 0.841744 | 0.841744 | 0.841744 | 0.746203 | 0.746203 | 0 | 0.012668 | 0.163576 | 3,020 | 59 | 101 | 51.186441 | 0.795329 | 0 | 0 | 0.510204 | 0 | 0 | 0.175166 | 0.139404 | 0 | 0 | 0 | 0 | 0.102041 | 1 | 0.102041 | false | 0 | 0.122449 | 0 | 0.244898 | 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 |
f14b4723145eab9e4983e1e31682b70ef51514f9 | 38,348 | py | Python | tests/test_worldpop.py | mcarans/hdxscraper-worldpop | dcfd73df5af2fffb927a6ad39129f744a6f5debb | [
"MIT"
] | 1 | 2017-09-02T15:07:43.000Z | 2017-09-02T15:07:43.000Z | tests/test_worldpop.py | mcarans/hdxscraper-worldpop | dcfd73df5af2fffb927a6ad39129f744a6f5debb | [
"MIT"
] | 1 | 2021-09-21T15:44:59.000Z | 2021-09-22T22:47:42.000Z | tests/test_worldpop.py | mcarans/hdxscraper-worldpop | dcfd73df5af2fffb927a6ad39129f744a6f5debb | [
"MIT"
] | null | null | null | #!/usr/bin/python
"""
Unit tests for worldpop.
"""
from os.path import join
import pytest
from hdx.data.vocabulary import Vocabulary
from hdx.hdx_configuration import Configuration
from hdx.hdx_locations import Locations
from hdx.location.country import Country
from worldpop import (
generate_datasets_and_showca... | 45.81601 | 183 | 0.541541 | 3,858 | 38,348 | 5.250648 | 0.075687 | 0.046157 | 0.040776 | 0.042208 | 0.881177 | 0.871254 | 0.859555 | 0.841734 | 0.795577 | 0.769067 | 0 | 0.078749 | 0.311229 | 38,348 | 836 | 184 | 45.870813 | 0.688184 | 0.001069 | 0 | 0.544895 | 0 | 0.03936 | 0.541125 | 0.112982 | 0 | 0 | 0 | 0 | 0.0123 | 1 | 0.00984 | false | 0 | 0.00861 | 0.00123 | 0.04551 | 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 |
f18bd24ea799cc66f95a6e5ba34ff5211de2b387 | 30 | py | Python | time_execution/__init__.py | snelis/py-timeexecution | f08bf6b9c5307a50b3ee1190f79bf74dc920f8da | [
"Apache-2.0"
] | null | null | null | time_execution/__init__.py | snelis/py-timeexecution | f08bf6b9c5307a50b3ee1190f79bf74dc920f8da | [
"Apache-2.0"
] | null | null | null | time_execution/__init__.py | snelis/py-timeexecution | f08bf6b9c5307a50b3ee1190f79bf74dc920f8da | [
"Apache-2.0"
] | null | null | null | from .time_execution import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
74ce8c8a200f28440567b9bb992acb489cd7d1a9 | 107 | py | Python | office365/sharepoint/utilities/wopi_web_app_properties.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/utilities/wopi_web_app_properties.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/utilities/wopi_web_app_properties.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.runtime.client_value import ClientValue
class WopiWebAppProperties(ClientValue):
pass
| 17.833333 | 54 | 0.831776 | 11 | 107 | 8 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.121495 | 107 | 5 | 55 | 21.4 | 0.904255 | 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 |
74dbc6e6353172f4c10b84fea774baef4a531397 | 95 | py | Python | src/sementeira/iii_controllers/pesquisar_pessoa.py | torraodocerrado/sementeira | 962d15bef63a73493b8cf29a22b656f19aa161ff | [
"Apache-2.0"
] | 2 | 2021-02-25T23:52:40.000Z | 2021-02-25T23:52:42.000Z | src/sementeira/iii_controllers/pesquisar_pessoa.py | torraodocerrado/sementeira | 962d15bef63a73493b8cf29a22b656f19aa161ff | [
"Apache-2.0"
] | null | null | null | src/sementeira/iii_controllers/pesquisar_pessoa.py | torraodocerrado/sementeira | 962d15bef63a73493b8cf29a22b656f19aa161ff | [
"Apache-2.0"
] | null | null | null | from .abstract_query import AbstractQuery
class PesquisarPessoa(AbstractQuery):
pass
| 15.833333 | 41 | 0.778947 | 9 | 95 | 8.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178947 | 95 | 5 | 42 | 19 | 0.935897 | 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 |
2d1d61b3fcb8f382f84576e100b3996770495f89 | 25 | py | Python | env/Lib/site-packages/win32/mapi/__init__.py | Daniel-Key/HearStone-Python | 981584d2b9502319393bd92b48f0ec8d906b4d44 | [
"MIT"
] | null | null | null | env/Lib/site-packages/win32/mapi/__init__.py | Daniel-Key/HearStone-Python | 981584d2b9502319393bd92b48f0ec8d906b4d44 | [
"MIT"
] | 1 | 2020-10-27T14:44:08.000Z | 2020-10-27T14:44:08.000Z | env/Lib/site-packages/win32/mapi/__init__.py | Daniel-Key/HearStone-Python | 981584d2b9502319393bd92b48f0ec8d906b4d44 | [
"MIT"
] | null | null | null | from win32._mapi import * | 25 | 25 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.12 | 25 | 1 | 25 | 25 | 0.772727 | 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 |
2d2e9702d8917bd50d220179a5ae3d2d3a0df138 | 71 | py | Python | common/__init__.py | wupengyue/AdminLTE | 7a15c85a2a9ceb22f1b9c67437113df9aebf77bf | [
"MIT"
] | null | null | null | common/__init__.py | wupengyue/AdminLTE | 7a15c85a2a9ceb22f1b9c67437113df9aebf77bf | [
"MIT"
] | null | null | null | common/__init__.py | wupengyue/AdminLTE | 7a15c85a2a9ceb22f1b9c67437113df9aebf77bf | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Date : 2017-07-18 20:12:08
# @Author :
| 14.2 | 32 | 0.478873 | 11 | 71 | 3.090909 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283019 | 0.253521 | 71 | 4 | 33 | 17.75 | 0.358491 | 0.887324 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
742448e3aae25772c6b6399b5c670e3dc3e6f144 | 33 | py | Python | deployment/__init__.py | maxfrei750/CarbonBlackSegmentation | ff5aeaf03a9c60c1a0396f1d2b6d5a3347808a30 | [
"MIT"
] | null | null | null | deployment/__init__.py | maxfrei750/CarbonBlackSegmentation | ff5aeaf03a9c60c1a0396f1d2b6d5a3347808a30 | [
"MIT"
] | null | null | null | deployment/__init__.py | maxfrei750/CarbonBlackSegmentation | ff5aeaf03a9c60c1a0396f1d2b6d5a3347808a30 | [
"MIT"
] | null | null | null | from .segmenter import Segmenter
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
74414156113f70aed599e59e489aec7e8aaa778e | 43,200 | py | Python | sdh/metrics/org/api.py | SmartDeveloperHub/sdh-org-metrics | 78a50501a04ce7c9d8bd55d4688d66c9f6e36766 | [
"Apache-2.0"
] | null | null | null | sdh/metrics/org/api.py | SmartDeveloperHub/sdh-org-metrics | 78a50501a04ce7c9d8bd55d4688d66c9f6e36766 | [
"Apache-2.0"
] | null | null | null | sdh/metrics/org/api.py | SmartDeveloperHub/sdh-org-metrics | 78a50501a04ce7c9d8bd55d4688d66c9f6e36766 | [
"Apache-2.0"
] | null | null | null | """
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
This file is part of the Smart Developer Hub Project:
http://www.smartdeveloperhub.org
Center for Open Middleware
http://www.centeropenmiddleware.com/
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=... | 42.60355 | 116 | 0.673472 | 5,765 | 43,200 | 4.869905 | 0.041977 | 0.049047 | 0.033411 | 0.051719 | 0.900089 | 0.84545 | 0.800534 | 0.757222 | 0.702369 | 0.647373 | 0 | 0.001075 | 0.181944 | 43,200 | 1,013 | 117 | 42.645607 | 0.79335 | 0.025787 | 0 | 0.546753 | 0 | 0 | 0.181676 | 0.046322 | 0 | 0 | 0 | 0 | 0 | 1 | 0.120779 | false | 0 | 0.005195 | 0.014286 | 0.271429 | 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 |
746248a9a6ff0d428ab94f820ef076b18b48282a | 123 | py | Python | iot_api/user_api/websocket/alerts.py | dolfandringa/rolaguard_backend | d4df7b55fc001aa6e0499edcfa94bf1b1c63b084 | [
"Apache-2.0"
] | null | null | null | iot_api/user_api/websocket/alerts.py | dolfandringa/rolaguard_backend | d4df7b55fc001aa6e0499edcfa94bf1b1c63b084 | [
"Apache-2.0"
] | 7 | 2020-05-05T20:10:59.000Z | 2021-05-26T17:59:24.000Z | iot_api/user_api/websocket/alerts.py | dolfandringa/rolaguard_backend | d4df7b55fc001aa6e0499edcfa94bf1b1c63b084 | [
"Apache-2.0"
] | 1 | 2021-01-28T05:54:11.000Z | 2021-01-28T05:54:11.000Z | from iot_api import socketio
def emit_alert_event(event, recipient):
socketio.emit('new_alert', event, room=recipient) | 30.75 | 53 | 0.788618 | 18 | 123 | 5.166667 | 0.666667 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 123 | 4 | 53 | 30.75 | 0.853211 | 0 | 0 | 0 | 0 | 0 | 0.072581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7481800efb51f4d1a5766aebafa35170462e666c | 38 | py | Python | autox/autox_ts/metrics/__init__.py | OneToolsCollection/4paradigm-AutoX | f8e838021354de17f5bb9bc44e9d68d12dda6427 | [
"Apache-2.0"
] | null | null | null | autox/autox_ts/metrics/__init__.py | OneToolsCollection/4paradigm-AutoX | f8e838021354de17f5bb9bc44e9d68d12dda6427 | [
"Apache-2.0"
] | null | null | null | autox/autox_ts/metrics/__init__.py | OneToolsCollection/4paradigm-AutoX | f8e838021354de17f5bb9bc44e9d68d12dda6427 | [
"Apache-2.0"
] | null | null | null | from .metrics import _get_score_metric | 38 | 38 | 0.894737 | 6 | 38 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 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 |
77823bcef33f848f86c9133fcce12df4adef4d86 | 27 | py | Python | __init__.py | GRV96/hm_duration | 89de54a114cab42862dbe6b6dd5b2180adf2ee0d | [
"MIT"
] | null | null | null | __init__.py | GRV96/hm_duration | 89de54a114cab42862dbe6b6dd5b2180adf2ee0d | [
"MIT"
] | null | null | null | __init__.py | GRV96/hm_duration | 89de54a114cab42862dbe6b6dd5b2180adf2ee0d | [
"MIT"
] | null | null | null | from .hm_duration import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 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 |
77ea483e2f5d12c57ce4e04b7312ab2402473ea4 | 47 | py | Python | input.py | rooch001/RaspberryPi-DTU | baea2ad7a2eb8bdc45b56d6bde5d5bd3e3c30cfd | [
"MIT"
] | null | null | null | input.py | rooch001/RaspberryPi-DTU | baea2ad7a2eb8bdc45b56d6bde5d5bd3e3c30cfd | [
"MIT"
] | null | null | null | input.py | rooch001/RaspberryPi-DTU | baea2ad7a2eb8bdc45b56d6bde5d5bd3e3c30cfd | [
"MIT"
] | null | null | null | import os
import shutil
print(os.listdir('/')) | 11.75 | 22 | 0.723404 | 7 | 47 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 4 | 22 | 11.75 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
77ff924bd9452e672bd6d921994120546cb53305 | 102 | py | Python | custom_components/matts_gadgets_ceiling_fan/const.py | mattyway/matts_gadgets_ceiling_fan | f7b353fb9752f87569ec1925d08804a83e6715cf | [
"MIT"
] | null | null | null | custom_components/matts_gadgets_ceiling_fan/const.py | mattyway/matts_gadgets_ceiling_fan | f7b353fb9752f87569ec1925d08804a83e6715cf | [
"MIT"
] | null | null | null | custom_components/matts_gadgets_ceiling_fan/const.py | mattyway/matts_gadgets_ceiling_fan | f7b353fb9752f87569ec1925d08804a83e6715cf | [
"MIT"
] | null | null | null | """Constants for the Matt's Gadgets Ceiling Fan integration."""
DOMAIN = "matts_gadgets_ceiling_fan"
| 25.5 | 63 | 0.77451 | 14 | 102 | 5.428571 | 0.785714 | 0.368421 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 3 | 64 | 34 | 0.844444 | 0.558824 | 0 | 0 | 0 | 0 | 0.641026 | 0.641026 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ad29cf27964c995c953363ee94f815f643e4137 | 44 | py | Python | sdk/exception/exceed_limit_exception.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | 1 | 2021-04-03T05:11:29.000Z | 2021-04-03T05:11:29.000Z | sdk/exception/exceed_limit_exception.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | null | null | null | sdk/exception/exceed_limit_exception.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | null | null | null |
class ExceedLimitException(Exception):pass
| 14.666667 | 42 | 0.863636 | 4 | 44 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 2 | 43 | 22 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
7af9ce8ba99ab0024b0d79ef7600bd2202d6b9e4 | 41 | py | Python | packages/plugins/model-define/tensorflow-cycle-gan-model-define/CycleGAN/image_loader/__init__.py | CandyQiu/pipcook | 12d482d6dcfb828bf80fcf908aee2c8ba5e9bd8a | [
"Apache-2.0"
] | 2 | 2020-04-21T05:49:02.000Z | 2021-03-01T15:14:29.000Z | packages/plugins/model-define/tensorflow-cycle-gan-model-define/CycleGAN/image_loader/__init__.py | CandyQiu/pipcook | 12d482d6dcfb828bf80fcf908aee2c8ba5e9bd8a | [
"Apache-2.0"
] | null | null | null | packages/plugins/model-define/tensorflow-cycle-gan-model-define/CycleGAN/image_loader/__init__.py | CandyQiu/pipcook | 12d482d6dcfb828bf80fcf908aee2c8ba5e9bd8a | [
"Apache-2.0"
] | null | null | null | from .image_loader import ImageGenerator
| 20.5 | 40 | 0.878049 | 5 | 41 | 7 | 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 |
bb17d26fa2cfe52fac2399248342acf911c767f1 | 125 | py | Python | rl_helper/__init__.py | yiwc/rl_helper | 3cb0c088b40dabd3fa17af6e53f7c9563c7ef8b8 | [
"MIT"
] | null | null | null | rl_helper/__init__.py | yiwc/rl_helper | 3cb0c088b40dabd3fa17af6e53f7c9563c7ef8b8 | [
"MIT"
] | null | null | null | rl_helper/__init__.py | yiwc/rl_helper | 3cb0c088b40dabd3fa17af6e53f7c9563c7ef8b8 | [
"MIT"
] | null | null | null | from rl_helper.envhelper import envhelper,VDisplay
from rl_helper.fps import fps
from rl_helper.exps import ExperimentManager | 41.666667 | 50 | 0.88 | 19 | 125 | 5.631579 | 0.473684 | 0.168224 | 0.336449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088 | 125 | 3 | 51 | 41.666667 | 0.938596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb1fea629f2a9e4489bdbe2cada201c3a470df90 | 38 | py | Python | pyqt_helper/__init__.py | morefigs/pyqt-ui-helper | 0f80f8483f57fc58a1c58fb2832094c7931b9fa6 | [
"MIT"
] | 2 | 2019-07-08T22:57:00.000Z | 2022-01-07T10:36:53.000Z | pyqt_helper/__init__.py | morefigs/pyqt-ui-helper | 0f80f8483f57fc58a1c58fb2832094c7931b9fa6 | [
"MIT"
] | 20 | 2021-05-03T18:02:23.000Z | 2022-03-12T12:01:04.000Z | pyqt_helper/__init__.py | morefigs/pyqt-ui-helper | 0f80f8483f57fc58a1c58fb2832094c7931b9fa6 | [
"MIT"
] | null | null | null | from .pyqt_helper import process_file
| 19 | 37 | 0.868421 | 6 | 38 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 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 |
bb2e7d5f7c0ebcba291fff0eb900b78cfa2b84c9 | 24,753 | py | Python | tests/integration/test_krkgw_page.py | konrad-kocik/nicelka | a174fce9b8c6d4414312120e89e10bb1e10629df | [
"MIT"
] | null | null | null | tests/integration/test_krkgw_page.py | konrad-kocik/nicelka | a174fce9b8c6d4414312120e89e10bb1e10629df | [
"MIT"
] | null | null | null | tests/integration/test_krkgw_page.py | konrad-kocik/nicelka | a174fce9b8c6d4414312120e89e10bb1e10629df | [
"MIT"
] | null | null | null | from pytest import fixture
from tests.integration.utilities.utilities import get_io_dir_paths, create_dir, remove_dir, run_krkgw_searcher, assert_report_file_content_equals
test_suite = 'krkgw_page'
test_cases = ['no_result',
'no_result_twice',
'single_result',
'single_resul... | 48.251462 | 145 | 0.531653 | 2,759 | 24,753 | 4.499094 | 0.093875 | 0.020624 | 0.036736 | 0.085717 | 0.873359 | 0.838315 | 0.828245 | 0.809555 | 0.795859 | 0.781036 | 0 | 0.038731 | 0.238557 | 24,753 | 512 | 146 | 48.345703 | 0.619801 | 0.009211 | 0 | 0.625 | 0 | 0 | 0.45365 | 0.136536 | 0 | 0 | 0 | 0 | 0.043182 | 1 | 0.047727 | false | 0 | 0.004545 | 0 | 0.052273 | 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 |
bb3bccac3c361186a4bcf66d697926d46ae834d7 | 20,129 | py | Python | vim/plugins/vim-orgmode/tests/test_plugin_navigator.py | Raymond-yn/dotfiles | b1745ff62f4285785877a2c04d93ce8fa2775964 | [
"MIT"
] | 11 | 2018-11-16T02:30:33.000Z | 2018-11-27T14:57:55.000Z | vim/plugins/vim-orgmode/tests/test_plugin_navigator.py | Raymond-yn/dotfiles | b1745ff62f4285785877a2c04d93ce8fa2775964 | [
"MIT"
] | null | null | null | vim/plugins/vim-orgmode/tests/test_plugin_navigator.py | Raymond-yn/dotfiles | b1745ff62f4285785877a2c04d93ce8fa2775964 | [
"MIT"
] | 1 | 2019-01-22T06:51:51.000Z | 2019-01-22T06:51:51.000Z | # -*- coding: utf-8 -*-
import unittest
import sys
sys.path.append(u'../ftplugin')
import vim
from orgmode._vim import ORGMODE
from orgmode.py3compat.encode_compatibility import *
START = True
END = False
def set_visual_selection(visualmode, line_start, line_end, col_start=1,
col_end=1, cursor_pos=START):... | 31.749211 | 93 | 0.696657 | 2,960 | 20,129 | 4.630405 | 0.058446 | 0.113819 | 0.056034 | 0.099518 | 0.900482 | 0.882971 | 0.872246 | 0.866117 | 0.844302 | 0.815117 | 0 | 0.031468 | 0.130111 | 20,129 | 633 | 94 | 31.799368 | 0.751285 | 0.093199 | 0 | 0.68661 | 0 | 0 | 0.123464 | 0.00681 | 0 | 0 | 0 | 0.00158 | 0.384615 | 1 | 0.034188 | false | 0 | 0.014245 | 0.002849 | 0.054131 | 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 |
bb46960a624b1fcc9ef41fe1b43cb6eb44c59062 | 14,165 | py | Python | src/bos_consensus/blockchain/test_blockchain.py | LuffyEMonkey/isaac-consensus-protocol | 806d967d56ef8862a477b2515c7854af289c10a0 | [
"Apache-2.0"
] | 1 | 2018-04-10T11:00:59.000Z | 2018-04-10T11:00:59.000Z | src/bos_consensus/blockchain/test_blockchain.py | LuffyEMonkey/isaac-consensus-protocol | 806d967d56ef8862a477b2515c7854af289c10a0 | [
"Apache-2.0"
] | null | null | null | src/bos_consensus/blockchain/test_blockchain.py | LuffyEMonkey/isaac-consensus-protocol | 806d967d56ef8862a477b2515c7854af289c10a0 | [
"Apache-2.0"
] | null | null | null | from ..common import Ballot, BallotVotingResult, Message, node_factory
from ..network import Endpoint
from ..blockchain import Blockchain
from ..consensus import get_fba_module
from ..consensus.fba.isaac import IsaacState
from .util import StubTransport
IsaacConsensus = get_fba_module('isaac').IsaacConsensus
def bl... | 35.32419 | 108 | 0.710131 | 1,880 | 14,165 | 4.948936 | 0.039362 | 0.080825 | 0.110275 | 0.085125 | 0.89166 | 0.822979 | 0.806535 | 0.730546 | 0.72356 | 0.707868 | 0 | 0.051588 | 0.202188 | 14,165 | 400 | 109 | 35.4125 | 0.771702 | 0.003177 | 0 | 0.601286 | 0 | 0 | 0.051569 | 0 | 0 | 0 | 0 | 0 | 0.07074 | 1 | 0.019293 | false | 0 | 0.019293 | 0 | 0.041801 | 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 |
2484b713073294f833a7aedb426225a3f08b5595 | 299 | py | Python | __init__.py | d-we/binja-golang-symbol-restore | 251cc45cab66512fd404eaf69ec6e018684aa5d4 | [
"MIT"
] | 9 | 2020-06-15T09:14:18.000Z | 2021-12-30T19:39:33.000Z | __init__.py | d-we/binja-golang-symbol-restore | 251cc45cab66512fd404eaf69ec6e018684aa5d4 | [
"MIT"
] | 3 | 2020-06-10T03:29:26.000Z | 2021-02-08T19:25:51.000Z | __init__.py | d-we/binja-golang-symbol-restore | 251cc45cab66512fd404eaf69ec6e018684aa5d4 | [
"MIT"
] | 3 | 2020-08-15T16:01:14.000Z | 2020-10-14T21:48:32.000Z | import binaryninja
from .golang_symbol_restore import restore_golang_symbols
binaryninja.plugin.PluginCommand.register("Restore Golang Symbols",
"Fill region with breakpoint instructions.",
restore_golang_symbols)
| 42.714286 | 86 | 0.622074 | 25 | 299 | 7.2 | 0.6 | 0.216667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.334448 | 299 | 6 | 87 | 49.833333 | 0.904523 | 0 | 0 | 0 | 0 | 0 | 0.210702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
703a9b063f761ade9c2123a1def345dd3a9fc462 | 138 | py | Python | pyplex/gl/__init__.py | pyplex/pyplex | 66e19acb3efd1a8a69d28022edcb0b6ad5cb6b11 | [
"MIT"
] | 5 | 2018-01-17T09:08:38.000Z | 2020-09-20T20:38:51.000Z | pyplex/gl/__init__.py | pyplex/pyplex | 66e19acb3efd1a8a69d28022edcb0b6ad5cb6b11 | [
"MIT"
] | null | null | null | pyplex/gl/__init__.py | pyplex/pyplex | 66e19acb3efd1a8a69d28022edcb0b6ad5cb6b11 | [
"MIT"
] | null | null | null | from .gl import GL20, GL21, GL30, GL31, GL32, GL33, GL40, GL41, GL42, GL43, GL44, GL45, GL_ANY
from .enum import *
from .constant import * | 46 | 94 | 0.710145 | 23 | 138 | 4.217391 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208696 | 0.166667 | 138 | 3 | 95 | 46 | 0.634783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
703aacd66e46deed1090e868e263e907aa004b9c | 78 | py | Python | metaL/core/__init__.py | ponyatov/metaLmin | 6634b67465ea448c4a763d7c035b851579378ffd | [
"MIT"
] | null | null | null | metaL/core/__init__.py | ponyatov/metaLmin | 6634b67465ea448c4a763d7c035b851579378ffd | [
"MIT"
] | null | null | null | metaL/core/__init__.py | ponyatov/metaLmin | 6634b67465ea448c4a763d7c035b851579378ffd | [
"MIT"
] | null | null | null | from .object import *
from .ns import *
from .io import *
from .time import *
| 15.6 | 21 | 0.692308 | 12 | 78 | 4.5 | 0.5 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 78 | 4 | 22 | 19.5 | 0.870968 | 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 |
563e1dc93625ecb24de9882d6fb7672e51e4500d | 9,664 | py | Python | Projects/ABM_DA/bussim/A03_calibration.py | RobertClay/DUST-RC | 09f7ec9d8d093021d068dff8a7a48c15ea318b86 | [
"MIT"
] | 15 | 2018-11-21T14:57:24.000Z | 2022-03-04T15:42:09.000Z | Projects/ABM_DA/bussim/A03_calibration.py | RobertClay/DUST-RC | 09f7ec9d8d093021d068dff8a7a48c15ea318b86 | [
"MIT"
] | 125 | 2019-11-06T13:03:35.000Z | 2022-03-07T13:38:33.000Z | Projects/ABM_DA/bussim/A03_calibration.py | RobertClay/DUST-RC | 09f7ec9d8d093021d068dff8a7a48c15ea318b86 | [
"MIT"
] | 6 | 2018-11-20T15:56:49.000Z | 2021-10-08T10:21:06.000Z | # -*- coding: utf-8 -*-
"""
This code evaluates the outputs from calibrated BusSim
@author: geomlk
"""
import numpy as np
import matplotlib.pyplot as plt
import pickle
import os
os.chdir("/Users/minhkieu/Documents/Github/dust/Projects/ABM_DA/bussim/")
'''
Step 1: Load calibration results
'''
def load_calibrated_param... | 45.158879 | 119 | 0.627276 | 1,244 | 9,664 | 4.71865 | 0.141479 | 0.048722 | 0.02862 | 0.025894 | 0.851448 | 0.807836 | 0.776831 | 0.765758 | 0.725724 | 0.679557 | 0 | 0.035256 | 0.233961 | 9,664 | 214 | 120 | 45.158879 | 0.757666 | 0.06012 | 0 | 0.670732 | 0 | 0 | 0.118463 | 0.059686 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042683 | false | 0.006098 | 0.04878 | 0.006098 | 0.134146 | 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 |
56708965d6fec056a956b940dd9b227f3d8fbfd4 | 8,820 | py | Python | dist_train/workers/baseline.py | victorcampos7/edl | ffdf23d4e102ca7d69a1408bafa267b0c7d8bfa0 | [
"MIT"
] | 30 | 2020-02-16T15:52:59.000Z | 2022-03-22T10:54:54.000Z | dist_train/workers/baseline.py | imatge-upc/edl | ffdf23d4e102ca7d69a1408bafa267b0c7d8bfa0 | [
"MIT"
] | null | null | null | dist_train/workers/baseline.py | imatge-upc/edl | ffdf23d4e102ca7d69a1408bafa267b0c7d8bfa0 | [
"MIT"
] | 7 | 2020-02-16T15:53:05.000Z | 2022-01-18T03:41:03.000Z | # Copyright (c) 2019, salesforce.com, inc.
# All rights reserved.
# SPDX-License-Identifier: MIT
# For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
import os
import json
import time
import torch
import numpy as np
from dist_train.utils.shared_optim import SharedAdam a... | 37.372881 | 113 | 0.625057 | 1,191 | 8,820 | 4.373636 | 0.164568 | 0.0622 | 0.096756 | 0.032252 | 0.760799 | 0.739105 | 0.722404 | 0.722404 | 0.722404 | 0.722404 | 0 | 0.006525 | 0.252834 | 8,820 | 236 | 114 | 37.372881 | 0.783915 | 0.096485 | 0 | 0.742331 | 0 | 0.01227 | 0.045403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092025 | false | 0 | 0.042945 | 0 | 0.196319 | 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 |
8e673db362c569f9ad4cae086dd2478daf171db2 | 13,601 | py | Python | figures.py | maria-kuruvilla/temp_collective_new | c45b72cee7c17072507eb67790d1699f5684098a | [
"MIT"
] | null | null | null | figures.py | maria-kuruvilla/temp_collective_new | c45b72cee7c17072507eb67790d1699f5684098a | [
"MIT"
] | null | null | null | figures.py | maria-kuruvilla/temp_collective_new | c45b72cee7c17072507eb67790d1699f5684098a | [
"MIT"
] | null | null | null | """
Code to plot average nearest neighbor distance between fish in a school as a function of group size - one line per water temperature.
"""
# imports
import sys, os
import numpy as np
import matplotlib.pyplot as plt
import pickle
from matplotlib import cm
import argparse
#argparse
def boolean_string(s):
# thi... | 35.792105 | 160 | 0.710462 | 2,404 | 13,601 | 3.849002 | 0.121048 | 0.060521 | 0.092727 | 0.105371 | 0.818653 | 0.794661 | 0.758133 | 0.72852 | 0.690587 | 0.668972 | 0 | 0.038361 | 0.131755 | 13,601 | 379 | 161 | 35.886544 | 0.745194 | 0.063378 | 0 | 0.286996 | 0 | 0 | 0.503086 | 0.097643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004484 | false | 0.143498 | 0.026906 | 0 | 0.035874 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8eed562bb3ffb90d5a64ae9eed83f174c8c31c52 | 11,116 | py | Python | util/modules_asym.py | Isaac-Li-cn/certify_robustness | f904dc923afc6354e406c57a1c923d13fc39d315 | [
"BSD-3-Clause"
] | null | null | null | util/modules_asym.py | Isaac-Li-cn/certify_robustness | f904dc923afc6354e406c57a1c923d13fc39d315 | [
"BSD-3-Clause"
] | null | null | null | util/modules_asym.py | Isaac-Li-cn/certify_robustness | f904dc923afc6354e406c57a1c923d13fc39d315 | [
"BSD-3-Clause"
] | null | null | null | """
这个文件修改自原文件,修改内容包括:
1. 删除quadratic algorithm的使用,因为还没想好该怎么用
2. 从原来的单扰动改为多扰动
"""
'''
>>> This file creates modules that can do forward, backward pass as well as bound propagation
'''
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.nn.parameter import Parameter
from abc import ABCMeta, ab... | 35.066246 | 154 | 0.609662 | 1,650 | 11,116 | 3.830909 | 0.10303 | 0.030059 | 0.021516 | 0.032273 | 0.743237 | 0.722038 | 0.712071 | 0.706217 | 0.685335 | 0.637716 | 0 | 0.028543 | 0.27195 | 11,116 | 316 | 155 | 35.177215 | 0.752502 | 0.496402 | 0 | 0.421687 | 0 | 0 | 0.02284 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 1 | 0.216867 | false | 0 | 0.096386 | 0.060241 | 0.506024 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d907a43938650d8d6f9175971c2ee412f0e1b223 | 1,430 | py | Python | Problems/primetest.py | NielsonJ/Project-Euler | d54dce5461825c440a094310c3567b88c6f9a150 | [
"MIT"
] | null | null | null | Problems/primetest.py | NielsonJ/Project-Euler | d54dce5461825c440a094310c3567b88c6f9a150 | [
"MIT"
] | 1 | 2020-03-11T08:06:25.000Z | 2020-03-11T08:06:34.000Z | Problems/primetest.py | NielsonJ/Project-Euler | d54dce5461825c440a094310c3567b88c6f9a150 | [
"MIT"
] | null | null | null | from libs.primelib import Prime
import cProfile
import time
# Test variable's
primeindex = 100000
primecheck = 1000000000000
def main():
prime = Prime()
print('test 1:')
start = time.clock()
value = prime.getByIndex(primeindex)
end = time.clock()
print('value: ' + str(value))
print('time:... | 21.666667 | 43 | 0.58042 | 166 | 1,430 | 4.951807 | 0.204819 | 0.131387 | 0.10219 | 0.138686 | 0.781022 | 0.781022 | 0.781022 | 0.781022 | 0.781022 | 0.781022 | 0 | 0.028972 | 0.251748 | 1,430 | 65 | 44 | 22 | 0.739252 | 0.01049 | 0 | 0.679245 | 0 | 0 | 0.090587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018868 | false | 0 | 0.056604 | 0 | 0.075472 | 0.45283 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d9863370e480b53bf264ca69904724291538c799 | 105 | py | Python | application/configuration/views.py | pernaess/ctrlpnl | e0636f3b19d4a5ec5e96120526f238888271391d | [
"MIT"
] | 34 | 2020-01-27T15:07:25.000Z | 2021-09-25T17:07:37.000Z | application/configuration/views.py | pernaess/ctrlpnl | e0636f3b19d4a5ec5e96120526f238888271391d | [
"MIT"
] | 26 | 2020-01-29T12:24:42.000Z | 2022-03-12T00:16:44.000Z | application/configuration/views.py | pernaess/ctrlpnl | e0636f3b19d4a5ec5e96120526f238888271391d | [
"MIT"
] | 7 | 2020-01-27T11:42:11.000Z | 2021-04-05T04:42:22.000Z | from django.shortcuts import redirect
def login_redirect(request):
return redirect('/account/login') | 26.25 | 37 | 0.790476 | 13 | 105 | 6.307692 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 105 | 4 | 38 | 26.25 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7940074a7371928505748d90b9c862ee5b2d225e | 82 | py | Python | haystack/nodes/question_generator/__init__.py | mapapa/haystack | 79fdda8a7cf393d774803608a4874f2a6e63cf6f | [
"Apache-2.0"
] | 7 | 2022-01-22T18:58:54.000Z | 2022-03-18T17:06:35.000Z | haystack/nodes/question_generator/__init__.py | mapapa/haystack | 79fdda8a7cf393d774803608a4874f2a6e63cf6f | [
"Apache-2.0"
] | 17 | 2021-12-08T18:00:58.000Z | 2021-12-28T14:03:27.000Z | haystack/nodes/question_generator/__init__.py | mapapa/haystack | 79fdda8a7cf393d774803608a4874f2a6e63cf6f | [
"Apache-2.0"
] | 1 | 2022-01-05T15:24:36.000Z | 2022-01-05T15:24:36.000Z | from haystack.nodes.question_generator.question_generator import QuestionGenerator | 82 | 82 | 0.926829 | 9 | 82 | 8.222222 | 0.777778 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 82 | 1 | 82 | 82 | 0.936709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79dc47eea0d2277e80b8015449551a4eef9526a7 | 235 | py | Python | terrafirma/calendar/apps.py | AlexandraAlter/django-terrafirma | afce5946f173aded2b4bfea78cf1b1034ec32272 | [
"MIT"
] | null | null | null | terrafirma/calendar/apps.py | AlexandraAlter/django-terrafirma | afce5946f173aded2b4bfea78cf1b1034ec32272 | [
"MIT"
] | null | null | null | terrafirma/calendar/apps.py | AlexandraAlter/django-terrafirma | afce5946f173aded2b4bfea78cf1b1034ec32272 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class CalendarConfig(AppConfig):
name = 'terrafirma.calendar'
label = 'terrafirma_calendar'
verbose_name = _('Terrafirma Calendar')
| 26.111111 | 54 | 0.770213 | 26 | 235 | 6.769231 | 0.653846 | 0.306818 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153191 | 235 | 8 | 55 | 29.375 | 0.884422 | 0 | 0 | 0 | 0 | 0 | 0.242553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8de1d142174d05fb9706941c985835cf92bd890c | 242 | py | Python | allauth/account/admin.py | k1000/django-allauth | e67b05fde5635f19850de73558987573c085826f | [
"MIT"
] | 1 | 2015-11-05T15:17:10.000Z | 2015-11-05T15:17:10.000Z | allauth/account/admin.py | k1000/django-allauth | e67b05fde5635f19850de73558987573c085826f | [
"MIT"
] | null | null | null | allauth/account/admin.py | k1000/django-allauth | e67b05fde5635f19850de73558987573c085826f | [
"MIT"
] | null | null | null | from django.contrib import admin
# from models import PasswordReset
#
# class PasswordResetAdmin(admin.ModelAdmin):
# list_display = ["user", "temp_key", "timestamp", "reset"]
#
# admin.site.register(PasswordReset, PasswordResetAdmin)
| 26.888889 | 63 | 0.747934 | 25 | 242 | 7.16 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128099 | 242 | 8 | 64 | 30.25 | 0.848341 | 0.805785 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8df73822b76b3e31a9ba5cf5bb546df14eb33a80 | 38 | py | Python | pipeline/__init__.py | tom-010/python-pipeline | 6be08206b96d56b0c206f12384548e52f5075be6 | [
"Apache-2.0"
] | null | null | null | pipeline/__init__.py | tom-010/python-pipeline | 6be08206b96d56b0c206f12384548e52f5075be6 | [
"Apache-2.0"
] | null | null | null | pipeline/__init__.py | tom-010/python-pipeline | 6be08206b96d56b0c206f12384548e52f5075be6 | [
"Apache-2.0"
] | null | null | null | from pipeline.pipeline import pipeline | 38 | 38 | 0.894737 | 5 | 38 | 6.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
30d54fa27b6407cf613e47ef65f685b9f45ab6fc | 37 | py | Python | src/RGT/userProfile/__init__.py | danrg/RGT-tool | 115ba9a93686595699b3e182958921b3d60382b3 | [
"MIT"
] | 7 | 2015-02-09T12:12:04.000Z | 2019-03-31T08:23:36.000Z | src/RGT/userProfile/__init__.py | danrg/RGT-tool | 115ba9a93686595699b3e182958921b3d60382b3 | [
"MIT"
] | 3 | 2015-07-05T20:49:14.000Z | 2017-07-03T19:45:18.000Z | src/RGT/userProfile/__init__.py | danrg/RGT-tool | 115ba9a93686595699b3e182958921b3d60382b3 | [
"MIT"
] | 1 | 2021-03-23T14:01:22.000Z | 2021-03-23T14:01:22.000Z | from views import displayUserProfile
| 18.5 | 36 | 0.891892 | 4 | 37 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 |
30dd9689a3bf67ed453ecd720684aa2b2390bfa6 | 4,680 | py | Python | authors/apps/articles/tests/test_like_comments.py | andela/ah-codeofduty | ab749037dbb08712a2e47848e31a1ccb14de1165 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/articles/tests/test_like_comments.py | andela/ah-codeofduty | ab749037dbb08712a2e47848e31a1ccb14de1165 | [
"BSD-3-Clause"
] | 41 | 2018-10-23T08:45:43.000Z | 2022-03-11T23:34:18.000Z | authors/apps/articles/tests/test_like_comments.py | andela/ah-codeofduty | ab749037dbb08712a2e47848e31a1ccb14de1165 | [
"BSD-3-Clause"
] | 3 | 2020-05-01T16:21:13.000Z | 2021-05-11T08:25:11.000Z | from .base import BaseTest
from authors.apps.articles.models import Article
from rest_framework.views import status
import json
class CommentsLikeDislikeTestCase(BaseTest):
"""test class for liking and disliking comments """
def create_article(self, token, article):
""" Method to create an article"""... | 47.272727 | 103 | 0.640385 | 546 | 4,680 | 5.283883 | 0.130037 | 0.059272 | 0.099133 | 0.117158 | 0.835009 | 0.8 | 0.8 | 0.793761 | 0.767071 | 0.753899 | 0 | 0.015544 | 0.257692 | 4,680 | 98 | 104 | 47.755102 | 0.814911 | 0.082051 | 0 | 0.651515 | 0 | 0 | 0.079529 | 0.049882 | 0 | 0 | 0 | 0 | 0.212121 | 1 | 0.106061 | false | 0 | 0.060606 | 0 | 0.212121 | 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 |
30f3cfcf7af0bb5923bab6a38ac6e979bd553f2b | 275 | py | Python | sphinxcontrib/__init__.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 130 | 2015-07-28T03:41:21.000Z | 2022-03-16T03:07:41.000Z | sphinxcontrib/__init__.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 147 | 2017-08-13T04:31:27.000Z | 2022-03-07T11:22:23.000Z | sphinxcontrib/__init__.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 72 | 2015-07-29T02:35:56.000Z | 2022-02-26T14:31:15.000Z | # This empty file makes the sphinxcontrib namespace package work.
# It is the only file included in the 'sphinxcontrib' conda package.
# Conda packages which use the sphinxcontrib namespace do not include
# this file, but depend on the 'sphinxcontrib' conda package instead.
| 55 | 69 | 0.796364 | 40 | 275 | 5.475 | 0.625 | 0.292237 | 0.228311 | 0.255708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 275 | 4 | 70 | 68.75 | 0.948052 | 0.967273 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.