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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11253f9e8c933e308984a766e8dda8785aed7c20 | 993 | py | Python | test_add_number.py | PIETRO-ing/automated_test | e2c4295516400d3fadd4549b048a27a462fdef63 | [
"MIT"
] | null | null | null | test_add_number.py | PIETRO-ing/automated_test | e2c4295516400d3fadd4549b048a27a462fdef63 | [
"MIT"
] | null | null | null | test_add_number.py | PIETRO-ing/automated_test | e2c4295516400d3fadd4549b048a27a462fdef63 | [
"MIT"
] | null | null | null | import add_number
def test_conv_ls():
assert add_number.conv_ls(987) == [9,8,7]
assert add_number.conv_ls(0), [0]
def test_conv_nmbr():
assert add_number.conv_nmbr([9,8,7]) == 987
def test_delete_neg():
assert add_number.delete_neg(-987,5) == [5,9,8,7]
assert add_number.delete_neg(-12354,... | 31.03125 | 61 | 0.660624 | 171 | 993 | 3.625731 | 0.204678 | 0.26129 | 0.41129 | 0.296774 | 0.604839 | 0.396774 | 0.254839 | 0.254839 | 0.254839 | 0.254839 | 0 | 0.159613 | 0.16717 | 993 | 31 | 62 | 32.032258 | 0.590085 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.73913 | 1 | 0.217391 | true | 0 | 0.043478 | 0 | 0.26087 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
113bd26ea0903502161d6993e93fa1a7873f6589 | 7,217 | py | Python | simulations/old/player_model/create_micro_experiment_files.py | hawkrobe/fish | 2000e46c397f7c95bba8ecb0c6afd26013929ff8 | [
"MIT"
] | 1 | 2015-12-11T16:51:08.000Z | 2015-12-11T16:51:08.000Z | simulations/old/player_model/create_micro_experiment_files.py | hawkrobe/fish | 2000e46c397f7c95bba8ecb0c6afd26013929ff8 | [
"MIT"
] | 3 | 2020-02-11T21:36:11.000Z | 2020-11-01T21:25:17.000Z | simulations/old/player_model/create_micro_experiment_files.py | hawkrobe/couzin_replication | ff491639954f0652d6b4b2a318477bb54c38fadf | [
"MIT"
] | null | null | null |
import os
import numpy as np
import pandas as pd
import config
from rectangular_world import RectangularWorld
n_players = 5
out_dir = '../../experiments/'
try:
os.makedirs(out_dir)
except:
pass
world = RectangularWorld(None, config.GAME_LENGTH)
length = int(world.game_length)
def make_experiment(experime... | 37.201031 | 94 | 0.563531 | 1,038 | 7,217 | 3.812139 | 0.073218 | 0.173364 | 0.094516 | 0.14607 | 0.86328 | 0.816528 | 0.815517 | 0.805914 | 0.805914 | 0.779631 | 0 | 0.089174 | 0.244839 | 7,217 | 193 | 95 | 37.393782 | 0.636881 | 0.677705 | 0 | 0.139535 | 0 | 0 | 0.071719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0.023256 | 0.116279 | 0 | 0.139535 | 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 |
114ee8e6b7274d5fbe9a34ef4d3616c369119150 | 42 | py | Python | mgeconvert/backend/ir_to_onnx/__init__.py | Zhiy-Zhang/mgeconvert | 55550c3f065697919b355455e0070b96398bbe19 | [
"Apache-2.0"
] | 42 | 2020-12-19T04:16:11.000Z | 2022-03-31T02:40:20.000Z | mgeconvert/backend/ir_to_onnx/__init__.py | Zhiy-Zhang/mgeconvert | 55550c3f065697919b355455e0070b96398bbe19 | [
"Apache-2.0"
] | 37 | 2021-01-04T11:05:38.000Z | 2022-03-22T08:48:14.000Z | mgeconvert/backend/ir_to_onnx/__init__.py | Zhiy-Zhang/mgeconvert | 55550c3f065697919b355455e0070b96398bbe19 | [
"Apache-2.0"
] | 9 | 2021-01-04T12:17:11.000Z | 2022-01-18T09:50:50.000Z | from .onnx_converter import OnnxConverter
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fed70e9f4b98e4367e9704a63da414c6f2ac9d73 | 211 | py | Python | conch/analysis/__init__.py | mmcauliffe/Conch | 7668612d7a610d0f5ae3332f990e71b26c5e8b34 | [
"MIT"
] | 33 | 2015-06-10T19:36:54.000Z | 2017-09-18T23:57:46.000Z | conch/analysis/__init__.py | mmcauliffe/Conch | 7668612d7a610d0f5ae3332f990e71b26c5e8b34 | [
"MIT"
] | 5 | 2015-03-22T07:05:21.000Z | 2017-08-16T03:48:19.000Z | conch/analysis/__init__.py | mmcauliffe/Conch | 7668612d7a610d0f5ae3332f990e71b26c5e8b34 | [
"MIT"
] | 10 | 2015-04-29T05:51:51.000Z | 2017-07-12T18:52:18.000Z |
from .pitch import ReaperPitchTrackFunction, PraatPitchTrackFunction, PitchTrackFunction
from .mfcc import PraatMfccFunction, MfccFunction
from .formants import PraatFormantTrackFunction, FormantTrackFunction | 35.166667 | 88 | 0.881517 | 16 | 211 | 11.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085308 | 211 | 6 | 89 | 35.166667 | 0.963731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fee60049ba61cf282804c3bc3250a12b7df2793c | 39,718 | py | Python | BTC_Alpha_0503_input_list.py | chenhq/Data-Mining-on-BTC-Trading-Statistics | f221e72a0551c77b3ab2dcb6c4448d0c743b54cc | [
"MIT"
] | 8 | 2020-08-04T06:28:52.000Z | 2022-03-07T08:02:59.000Z | BTC_Alpha_0503_input_list.py | zie225/Data-Mining-on-BTC-Trading-Statistics | f221e72a0551c77b3ab2dcb6c4448d0c743b54cc | [
"MIT"
] | null | null | null | BTC_Alpha_0503_input_list.py | zie225/Data-Mining-on-BTC-Trading-Statistics | f221e72a0551c77b3ab2dcb6c4448d0c743b54cc | [
"MIT"
] | 4 | 2020-08-04T06:28:42.000Z | 2022-01-20T00:35:56.000Z |
# coding: utf-8
# 我觉得变量太多的alpha factor我暂时搁置,以及我觉得rank函数比较奇怪,因为range太大了,是否需要设置一个窗口呢?
#
#
# ## Dropped Index:
# - Alpha30(要用到fama三因子)
# - Alpha75(要用到BENCHMARKINDEX)
# - Alpha143(要用到SELF函数)
# - Alpha149(要用到BENCHMARKINDEX)
# - Alpha181(要用到BENCHMARKINDEX)
# - Alpha182(要用到BENCHMARKINDEX)
### 对于:?较为复杂的表达式,我都先用一些中间变量存储中间... | 46.892562 | 361 | 0.653935 | 6,562 | 39,718 | 3.772935 | 0.059585 | 0.369012 | 0.173035 | 0.10744 | 0.810001 | 0.729461 | 0.659544 | 0.622425 | 0.57339 | 0.531909 | 0 | 0.052682 | 0.134977 | 39,718 | 846 | 362 | 46.947991 | 0.667928 | 0.04109 | 0 | 0.124535 | 0 | 0 | 0.000269 | 0 | 0 | 0 | 0 | 0 | 0.001859 | 1 | 0.35316 | false | 0 | 0.007435 | 0.336431 | 0.713755 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3a464fdcdd14c68d6dfa36a41a88c3c9f484dd45 | 171 | py | Python | python/shekels/server/__init__.py | theNewFlesh/shekels | dbfe308df454390c07f54158abf32ce23561c145 | [
"MIT"
] | 1 | 2021-12-27T17:23:32.000Z | 2021-12-27T17:23:32.000Z | python/shekels/server/__init__.py | theNewFlesh/shekels | dbfe308df454390c07f54158abf32ce23561c145 | [
"MIT"
] | null | null | null | python/shekels/server/__init__.py | theNewFlesh/shekels | dbfe308df454390c07f54158abf32ce23561c145 | [
"MIT"
] | null | null | null | import shekels.server.api
import shekels.server.app
import shekels.server.components
import shekels.server.event_listener
import shekels.server.server_tools # noqa: F401
| 28.5 | 48 | 0.847953 | 24 | 171 | 5.958333 | 0.458333 | 0.454545 | 0.664336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.081871 | 171 | 5 | 49 | 34.2 | 0.89172 | 0.05848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
28b2877f0c69b5c8f1ece02e5ea90b6946df0407 | 102 | py | Python | pyseries/metrics/tests/__init__.py | flaviovdf/pyseries | 59c8a321790d2398d71305710b7d322ce2d8eaaf | [
"BSD-3-Clause"
] | 7 | 2015-04-12T00:27:39.000Z | 2018-08-10T13:17:48.000Z | pyseries/metrics/tests/__init__.py | flaviovdf/pyseries | 59c8a321790d2398d71305710b7d322ce2d8eaaf | [
"BSD-3-Clause"
] | null | null | null | pyseries/metrics/tests/__init__.py | flaviovdf/pyseries | 59c8a321790d2398d71305710b7d322ce2d8eaaf | [
"BSD-3-Clause"
] | 4 | 2015-04-15T03:14:30.000Z | 2018-11-09T22:06:32.000Z | # -*- coding: utf8
from __future__ import division, print_function
'''Tests for the metrics module'''
| 25.5 | 47 | 0.745098 | 13 | 102 | 5.461538 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.137255 | 102 | 3 | 48 | 34 | 0.795455 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
e93a57f3dcbd5b0ce492cb218c9595429caf454a | 209 | py | Python | compiler/extensions/python/runtime/src/zserio/exception.py | dkBrazz/zserio | 29dd8145b7d851fac682d3afe991185ea2eac318 | [
"BSD-3-Clause"
] | 86 | 2018-09-06T09:30:53.000Z | 2022-03-27T01:12:36.000Z | compiler/extensions/python/runtime/src/zserio/exception.py | dkBrazz/zserio | 29dd8145b7d851fac682d3afe991185ea2eac318 | [
"BSD-3-Clause"
] | 362 | 2018-09-04T20:21:24.000Z | 2022-03-30T15:14:38.000Z | compiler/extensions/python/runtime/src/zserio/exception.py | dkBrazz/zserio | 29dd8145b7d851fac682d3afe991185ea2eac318 | [
"BSD-3-Clause"
] | 20 | 2018-09-10T15:59:02.000Z | 2021-12-01T15:38:22.000Z | """
The module implements exceptions for Zserio python runtime library.
"""
class PythonRuntimeException(Exception):
"""
Exception thrown in case of an error in Zserio python runtime library.
"""
| 23.222222 | 74 | 0.727273 | 24 | 209 | 6.333333 | 0.75 | 0.157895 | 0.25 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191388 | 209 | 8 | 75 | 26.125 | 0.899408 | 0.660287 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e942b5a79e94ed63dbf87b2ce293941e08a477e1 | 6,071 | py | Python | tests/testBridge.py | 1696012928/RoomAI | 37be09590489ab5f7c85083173e83ea31c40b76c | [
"MIT"
] | 1 | 2018-03-02T00:49:31.000Z | 2018-03-02T00:49:31.000Z | tests/testBridge.py | 1696012928/RoomAI | 37be09590489ab5f7c85083173e83ea31c40b76c | [
"MIT"
] | null | null | null | tests/testBridge.py | 1696012928/RoomAI | 37be09590489ab5f7c85083173e83ea31c40b76c | [
"MIT"
] | null | null | null | #!/bin/python
import unittest
import roomai.bridge
import roomai
import roomai.common
from functools import cmp_to_key
class BridgeTester(unittest.TestCase):
def testInit(self):
env = roomai.bridge.BridgeEnv()
env.init()
def testForward(self):
env = roomai.bridge.BridgeEnv()
in... | 44.639706 | 110 | 0.674353 | 746 | 6,071 | 5.27748 | 0.142091 | 0.117348 | 0.073152 | 0.100584 | 0.847092 | 0.809754 | 0.803404 | 0.785624 | 0.742443 | 0.706121 | 0 | 0.015227 | 0.210344 | 6,071 | 135 | 111 | 44.97037 | 0.806008 | 0.068522 | 0 | 0.660194 | 0 | 0 | 0.041074 | 0 | 0 | 0 | 0 | 0 | 0.194175 | 1 | 0.048544 | false | 0.029126 | 0.058252 | 0 | 0.116505 | 0.067961 | 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 |
3abd51ee19262e6d5fe302883f26d00368192548 | 207 | py | Python | exercise_3.py | LazyCoder48/python_exercises | 7612d1f1afd378291a577b7e995ca433e10aa15f | [
"MIT"
] | null | null | null | exercise_3.py | LazyCoder48/python_exercises | 7612d1f1afd378291a577b7e995ca433e10aa15f | [
"MIT"
] | 1 | 2020-05-27T09:51:45.000Z | 2020-05-27T10:59:27.000Z | exercise_3.py | LazyCoder48/python_exercises | 7612d1f1afd378291a577b7e995ca433e10aa15f | [
"MIT"
] | null | null | null | '''
Write a Python program to display the current date and time.
Sample Output :
Current date and time :
2014-07-05 14:34:14
'''
import datetime
print(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
| 20.7 | 60 | 0.700483 | 36 | 207 | 4.027778 | 0.777778 | 0.151724 | 0.193103 | 0.248276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078212 | 0.135266 | 207 | 9 | 61 | 23 | 0.731844 | 0.57971 | 0 | 0 | 0 | 0 | 0.21519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c93af25c8f28e0d714f45e74a7d5a5ebf33d7f6b | 115 | py | Python | conventor/conventor.py | Jerryyang2001/math-clear | 76de0bd86a7761d86fa35162f1b8cb342a1836fb | [
"MIT"
] | null | null | null | conventor/conventor.py | Jerryyang2001/math-clear | 76de0bd86a7761d86fa35162f1b8cb342a1836fb | [
"MIT"
] | null | null | null | conventor/conventor.py | Jerryyang2001/math-clear | 76de0bd86a7761d86fa35162f1b8cb342a1836fb | [
"MIT"
] | null | null | null | import string
from typing import Dict, List
def convent(document: List[string], config: Dict) -> string:
pass | 19.166667 | 60 | 0.730435 | 16 | 115 | 5.25 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 115 | 6 | 61 | 19.166667 | 0.884211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c9554ebcc3a5ccc60688985b0b6e21f628ba85c2 | 7,324 | py | Python | patch_tracking/tests/issue_test.py | openeuler-mirror/patch-tracking | 6217cbabdcc85d71eaeecce3bf85380258ed2053 | [
"MulanPSL-1.0"
] | null | null | null | patch_tracking/tests/issue_test.py | openeuler-mirror/patch-tracking | 6217cbabdcc85d71eaeecce3bf85380258ed2053 | [
"MulanPSL-1.0"
] | null | null | null | patch_tracking/tests/issue_test.py | openeuler-mirror/patch-tracking | 6217cbabdcc85d71eaeecce3bf85380258ed2053 | [
"MulanPSL-1.0"
] | null | null | null | # pylint: disable=R0801
'''
Automated testing of the Issue interface, GET requests
'''
import unittest
import json
from patch_tracking.app import app
from patch_tracking.api.business import create_issue
from patch_tracking.database import reset_db
from patch_tracking.api.constant import ResponseCode
class TestIssue(u... | 38.145833 | 109 | 0.597624 | 879 | 7,324 | 4.831627 | 0.101251 | 0.088533 | 0.096539 | 0.095597 | 0.830939 | 0.830939 | 0.813045 | 0.813045 | 0.761243 | 0.727808 | 0 | 0.000763 | 0.284134 | 7,324 | 191 | 110 | 38.34555 | 0.80927 | 0.06663 | 0 | 0.652174 | 0 | 0 | 0.2321 | 0.014715 | 0 | 0 | 0 | 0 | 0.356522 | 1 | 0.06087 | false | 0 | 0.052174 | 0 | 0.121739 | 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 |
c95a4c9b39901ff3b497b38f3bd354cc410393f1 | 8,370 | py | Python | tests/test_codec.py | xkortex/ulid | 96bdb1daad7ce96f6db8c91ac0410b66d2e1c4c1 | [
"Apache-2.0"
] | 303 | 2017-06-15T14:41:41.000Z | 2022-03-28T11:46:50.000Z | tests/test_codec.py | xkortex/ulid | 96bdb1daad7ce96f6db8c91ac0410b66d2e1c4c1 | [
"Apache-2.0"
] | 387 | 2017-06-16T14:47:31.000Z | 2022-03-24T05:55:44.000Z | tests/test_codec.py | xkortex/ulid | 96bdb1daad7ce96f6db8c91ac0410b66d2e1c4c1 | [
"Apache-2.0"
] | 21 | 2017-06-16T20:00:33.000Z | 2022-03-23T04:14:04.000Z | """
test_codec
~~~~~~~~~~
Tests for the :mod:`~ulid.codec` module.
"""
import datetime
import time
import pytest
from ulid import base32, codec, ulid
UNSUPPORTED_TIMESTAMP_TYPE_EXC_REGEX = (r'Expected datetime, int, float, str, memoryview, Timestamp'
r', ULID, byt... | 37.2 | 118 | 0.73644 | 1,085 | 8,370 | 5.470046 | 0.087558 | 0.063016 | 0.060657 | 0.051559 | 0.874473 | 0.798484 | 0.733277 | 0.705981 | 0.705981 | 0.684414 | 0 | 0.009989 | 0.162724 | 8,370 | 224 | 119 | 37.366071 | 0.836901 | 0.348746 | 0 | 0.392157 | 0 | 0 | 0.047657 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 1 | 0.186275 | false | 0 | 0.039216 | 0 | 0.245098 | 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 |
6e57c4db4eed8db69cb069238e220bb9edaa4c09 | 55 | py | Python | videokf/__init__.py | averdones/video-kf | 65a81a0b5352e3ad4d7f394f32772e911de4abbc | [
"MIT"
] | 6 | 2021-01-24T13:38:41.000Z | 2022-03-03T09:46:36.000Z | videokf/__init__.py | averdones/video-kf | 65a81a0b5352e3ad4d7f394f32772e911de4abbc | [
"MIT"
] | 1 | 2020-12-29T11:39:47.000Z | 2021-01-06T18:25:07.000Z | videokf/__init__.py | averdones/video-kf | 65a81a0b5352e3ad4d7f394f32772e911de4abbc | [
"MIT"
] | null | null | null | from videokf.extract_keyframes import extract_keyframes | 55 | 55 | 0.927273 | 7 | 55 | 7 | 0.714286 | 0.653061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 55 | 1 | 55 | 55 | 0.942308 | 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 |
6e580a92265c13697bec98e4a7efb59bae4585b4 | 222 | py | Python | backend/common/databases/messages/end_tournament_message.py | MuChin708/Tosurnament | 13e493a5ac3f7b0af94d7f509d3711b9fa6e94c1 | [
"MIT"
] | null | null | null | backend/common/databases/messages/end_tournament_message.py | MuChin708/Tosurnament | 13e493a5ac3f7b0af94d7f509d3711b9fa6e94c1 | [
"MIT"
] | null | null | null | backend/common/databases/messages/end_tournament_message.py | MuChin708/Tosurnament | 13e493a5ac3f7b0af94d7f509d3711b9fa6e94c1 | [
"MIT"
] | null | null | null | """End tournament message table"""
from .base_message import BaseAuthorLockMessage
class EndTournamentMessage(BaseAuthorLockMessage):
"""End tournament message class"""
__tablename__ = "end_tournament_message"
| 22.2 | 50 | 0.783784 | 20 | 222 | 8.35 | 0.55 | 0.233533 | 0.359281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130631 | 222 | 9 | 51 | 24.666667 | 0.865285 | 0.256757 | 0 | 0 | 0 | 0 | 0.142857 | 0.142857 | 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 |
6e8ea3cba04832322cacf6320599aa6f6f39270f | 22 | py | Python | selfbot/__init__.py | TibebeJS/tg-selfbot | ad36399597b7277768649d6645d57611a2928259 | [
"MIT"
] | 1 | 2021-03-05T12:03:53.000Z | 2021-03-05T12:03:53.000Z | selfbot/__init__.py | TibebeJS/tg-selfbot | ad36399597b7277768649d6645d57611a2928259 | [
"MIT"
] | null | null | null | selfbot/__init__.py | TibebeJS/tg-selfbot | ad36399597b7277768649d6645d57611a2928259 | [
"MIT"
] | 1 | 2021-01-14T18:03:11.000Z | 2021-01-14T18:03:11.000Z | from .selfbot import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6eba6e6449b9e3125ffff4cd16b950b53aaf2387 | 149 | py | Python | tests/context.py | vinod-iref/awfleet | 5cf86eea025e69b74d5aa3793d74f73284292fc3 | [
"MIT"
] | null | null | null | tests/context.py | vinod-iref/awfleet | 5cf86eea025e69b74d5aa3793d74f73284292fc3 | [
"MIT"
] | null | null | null | tests/context.py | vinod-iref/awfleet | 5cf86eea025e69b74d5aa3793d74f73284292fc3 | [
"MIT"
] | null | null | null | import os
import sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from lib import Demand
from lib import Spot | 21.285714 | 82 | 0.744966 | 26 | 149 | 4.115385 | 0.538462 | 0.168224 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.107383 | 149 | 7 | 83 | 21.285714 | 0.796992 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ed3866635e440a9035c5f28f1703f7ff6f61684 | 76 | py | Python | plenum/test/input_validation/test_message_base.py | steptan/indy-plenum | 488bf63c82753a74a92ac6952da784825ffd4a3d | [
"Apache-2.0"
] | null | null | null | plenum/test/input_validation/test_message_base.py | steptan/indy-plenum | 488bf63c82753a74a92ac6952da784825ffd4a3d | [
"Apache-2.0"
] | null | null | null | plenum/test/input_validation/test_message_base.py | steptan/indy-plenum | 488bf63c82753a74a92ac6952da784825ffd4a3d | [
"Apache-2.0"
] | 1 | 2020-01-24T09:36:13.000Z | 2020-01-24T09:36:13.000Z | def test_correct_message():
pass
def test_incorrect_field():
pass
| 10.857143 | 27 | 0.710526 | 10 | 76 | 5 | 0.7 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 76 | 6 | 28 | 12.666667 | 0.833333 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6ee5e84ad46e024f3ca4eaeb6d14f0b48e5fd110 | 3,362 | py | Python | deep_qa/training/losses.py | richarajpal/deep_qa | d918335a1bed71b9cfccf1d5743321cee9c61952 | [
"Apache-2.0"
] | 459 | 2017-02-08T13:40:17.000Z | 2021-12-12T12:57:48.000Z | deep_qa/training/losses.py | richarajpal/deep_qa | d918335a1bed71b9cfccf1d5743321cee9c61952 | [
"Apache-2.0"
] | 176 | 2017-01-26T01:19:41.000Z | 2018-04-22T19:16:01.000Z | deep_qa/training/losses.py | richarajpal/deep_qa | d918335a1bed71b9cfccf1d5743321cee9c61952 | [
"Apache-2.0"
] | 154 | 2017-01-26T01:00:30.000Z | 2021-02-05T10:44:42.000Z | from keras import backend as K
from ..tensors.backend import VERY_NEGATIVE_NUMBER, VERY_LARGE_NUMBER
def ranking_loss(y_pred, y_true):
"""
Using this loss trains the model to give scores to all correct elements in y_true that are
higher than all scores it gives to incorrect elements in y_true.
For ex... | 58.982456 | 99 | 0.713266 | 567 | 3,362 | 4.109347 | 0.222222 | 0.038627 | 0.056652 | 0.064378 | 0.839485 | 0.812017 | 0.812017 | 0.812017 | 0.812017 | 0.812017 | 0 | 0.016009 | 0.201071 | 3,362 | 56 | 100 | 60.035714 | 0.851452 | 0.695419 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.428571 | 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 |
42ce8c171d12e2b73a1f4ffd5e7ffd73d86c7cd2 | 157 | py | Python | src/sentry/analytics/events/__init__.py | AlexWayfer/sentry | ef935cda2b2e960bd602fda590540882d1b0712d | [
"BSD-3-Clause"
] | 4 | 2019-05-27T13:55:07.000Z | 2021-03-30T07:05:09.000Z | src/sentry/analytics/events/__init__.py | AlexWayfer/sentry | ef935cda2b2e960bd602fda590540882d1b0712d | [
"BSD-3-Clause"
] | 196 | 2019-06-10T08:34:10.000Z | 2022-02-22T01:26:13.000Z | src/sentry/analytics/events/__init__.py | AlexWayfer/sentry | ef935cda2b2e960bd602fda590540882d1b0712d | [
"BSD-3-Clause"
] | 2 | 2021-01-26T09:53:39.000Z | 2022-03-22T09:01:47.000Z | from __future__ import absolute_import, print_function
from sentry.utils.imports import import_submodules
import_submodules(globals(), __name__, __path__)
| 26.166667 | 54 | 0.853503 | 19 | 157 | 6.210526 | 0.684211 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089172 | 157 | 5 | 55 | 31.4 | 0.825175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 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 |
42cfbf5bec38b2dcc6e91d58015699dd4942776d | 170 | py | Python | pitch.py | hktxt/CBI | abbaf84333dce80fa60449a9fce53bc4ed544deb | [
"MIT"
] | null | null | null | pitch.py | hktxt/CBI | abbaf84333dce80fa60449a9fce53bc4ed544deb | [
"MIT"
] | null | null | null | pitch.py | hktxt/CBI | abbaf84333dce80fa60449a9fce53bc4ed544deb | [
"MIT"
] | null | null | null | import pitch
p = pitch.find_pitch(r'"D:\project\Cornell-Birdcall-Identification\data\birdsong-recognition\train_audio_resampled\aldfly\XC2628.wav"')
print('pitch =', p) | 34 | 135 | 0.794118 | 24 | 170 | 5.5 | 0.833333 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024845 | 0.052941 | 170 | 5 | 136 | 34 | 0.795031 | 0 | 0 | 0 | 0 | 0.333333 | 0.684211 | 0.643275 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
42f696134c0b3c54d1ddac4ee131a7ee80ac1d99 | 27 | py | Python | sentence_transformers/datasets/sampler/__init__.py | dd-dos/sentence-transformers | 8f9c36b788e15141f723d80fea67ed16785cd18e | [
"Apache-2.0"
] | 31 | 2021-04-06T16:20:30.000Z | 2022-02-16T08:29:24.000Z | sentence_transformers/datasets/sampler/__init__.py | dd-dos/sentence-transformers | 8f9c36b788e15141f723d80fea67ed16785cd18e | [
"Apache-2.0"
] | 5 | 2021-07-02T04:37:04.000Z | 2021-07-21T00:02:58.000Z | sentence_transformers/datasets/sampler/__init__.py | dd-dos/sentence-transformers | 8f9c36b788e15141f723d80fea67ed16785cd18e | [
"Apache-2.0"
] | 5 | 2021-07-04T06:02:02.000Z | 2021-07-21T08:32:10.000Z | from .LabelSampler import * | 27 | 27 | 0.814815 | 3 | 27 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 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 |
6e17affa818028a097949b5eba199028194d33d0 | 26 | py | Python | plotly/graph_objs/layout/xaxis/rangeslider/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 12 | 2020-04-18T18:10:22.000Z | 2021-12-06T10:11:15.000Z | plotly/graph_objs/layout/xaxis/rangeslider/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | plotly/graph_objs/layout/xaxis/rangeslider/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 6 | 2020-04-18T23:07:08.000Z | 2021-11-18T07:53:06.000Z | from ._yaxis import YAxis
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e20a5edc4f076f29f6331d7ea718a042ca4aab6 | 1,422 | py | Python | python/problem-008.py | mbuhot/mbuhot-euler-solutions | 30066543cfd2d84976beb0605839750b64f4b8ef | [
"MIT"
] | 1 | 2015-12-18T13:25:41.000Z | 2015-12-18T13:25:41.000Z | python/problem-008.py | mbuhot/mbuhot-euler-solutions | 30066543cfd2d84976beb0605839750b64f4b8ef | [
"MIT"
] | null | null | null | python/problem-008.py | mbuhot/mbuhot-euler-solutions | 30066543cfd2d84976beb0605839750b64f4b8ef | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
# Largest product in a series
# Problem 8
# Find the greatest product of five consecutive digits in the 1000-digit number.
digits = """
73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
85861560789112949495459501737958331952853208805511
12540... | 37.421053 | 80 | 0.890295 | 84 | 1,422 | 15.071429 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.764172 | 0.06962 | 1,422 | 37 | 81 | 38.432432 | 0.192744 | 0.09775 | 0 | 0 | 0 | 0 | 0.808444 | 0.781861 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2817b8606d44ef90bd6355767649a377eaa5000a | 18,448 | py | Python | src/baseline.py | ZihengZZH/bipolar-disorder | deef966d65014175d6cb8f35320b2b33bfadfd13 | [
"MIT"
] | 17 | 2019-08-07T11:21:01.000Z | 2022-03-01T00:57:09.000Z | src/baseline.py | ZihengZZH/bipolar-disorder | deef966d65014175d6cb8f35320b2b33bfadfd13 | [
"MIT"
] | 5 | 2020-01-28T22:56:27.000Z | 2022-02-10T00:15:53.000Z | src/baseline.py | ZihengZZH/bipolar-disorder | deef966d65014175d6cb8f35320b2b33bfadfd13 | [
"MIT"
] | 5 | 2019-11-22T07:10:32.000Z | 2022-03-25T08:20:48.000Z | import os
import json
import numpy as np
import scipy.sparse as sp
from src.model.linear_svm import LinearSVM
from src.model.random_forest import RandomForest
from src.metric.uar import get_UAR, get_post_probability, get_late_fusion_UAR
from src.utils.io import load_proc_baseline_feature, save_UAR_results
from src.uti... | 50.404372 | 147 | 0.624458 | 2,682 | 18,448 | 3.973154 | 0.054437 | 0.048423 | 0.080236 | 0.040541 | 0.823667 | 0.806963 | 0.790353 | 0.774869 | 0.714152 | 0.706832 | 0 | 0.001101 | 0.261654 | 18,448 | 366 | 148 | 50.404372 | 0.78122 | 0.102667 | 0 | 0.620155 | 0 | 0 | 0.08893 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 1 | 0.034884 | false | 0 | 0.046512 | 0 | 0.085271 | 0.073643 | 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 |
28527ea7a40d384462fec700b58f5014bdfe9a25 | 135 | py | Python | arraytool/src/misc/__init__.py | markuskreitzer/arraytool | e8d50a4a062dae4d9551daf75c808d2733b6563c | [
"CNRI-Python"
] | 1 | 2021-07-26T14:14:58.000Z | 2021-07-26T14:14:58.000Z | arraytool/src/misc/__init__.py | elec3647/arraytool | e8d50a4a062dae4d9551daf75c808d2733b6563c | [
"CNRI-Python"
] | null | null | null | arraytool/src/misc/__init__.py | elec3647/arraytool | e8d50a4a062dae4d9551daf75c808d2733b6563c | [
"CNRI-Python"
] | 1 | 2022-03-27T01:32:47.000Z | 2022-03-27T01:32:47.000Z | # Author: Srinivasa Rao Zinka (srinivas . zinka [at] gmail . com)
# Copyright (c) 2014 Srinivasa Rao Zinka
# License: New BSD License.
| 33.75 | 65 | 0.718519 | 19 | 135 | 5.105263 | 0.736842 | 0.247423 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.177778 | 135 | 3 | 66 | 45 | 0.837838 | 0.948148 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
95b5f4ef00b10b855ec304c3b3bd2ab5448ef815 | 31 | py | Python | tests/test_functional.py | TheAustinator/peep-dis | c278c364a1e09c1eeb3a6f686ad6c303036904e6 | [
"MIT"
] | 8 | 2019-04-11T21:14:39.000Z | 2020-10-26T22:17:27.000Z | tests/test_functional.py | alvinjamur/peep-dis | c278c364a1e09c1eeb3a6f686ad6c303036904e6 | [
"MIT"
] | 2 | 2019-04-16T23:26:01.000Z | 2019-05-08T02:47:48.000Z | tests/test_functional.py | alvinjamur/peep-dis | c278c364a1e09c1eeb3a6f686ad6c303036904e6 | [
"MIT"
] | 1 | 2019-10-16T01:51:51.000Z | 2019-10-16T01:51:51.000Z | from peepdis.core import peep
| 10.333333 | 29 | 0.806452 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 30 | 15.5 | 0.961538 | 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 |
2529b144514c39938507a138ddaa5225bdd64c32 | 77,404 | py | Python | exceptions/intro_objects.py | hugmyndakassi/hvmi | fa49a34ba32b327c462224db1cf58d96a076a224 | [
"Apache-2.0"
] | 677 | 2020-07-30T13:59:36.000Z | 2022-03-24T11:02:00.000Z | exceptions/intro_objects.py | hugmyndakassi/hvmi | fa49a34ba32b327c462224db1cf58d96a076a224 | [
"Apache-2.0"
] | 38 | 2020-08-11T13:59:36.000Z | 2022-02-17T15:03:48.000Z | exceptions/intro_objects.py | fengjixuchui/hvmi | 72488e8432d26547876a052d24ea44c3e18279a7 | [
"Apache-2.0"
] | 55 | 2020-07-30T14:11:03.000Z | 2022-03-09T05:40:44.000Z | #
# Copyright (c) 2020 Bitdefender
# SPDX-License-Identifier: Apache-2.0
#
import struct
import re
from abc import ABCMeta, abstractmethod
import excfg
import crc32
# Note: We cannot use os.path here since it's os specific and we must be able to run
# this both on windows & linux
DEFAULT_FLAGS = {
"SignatureFlag... | 33.551799 | 181 | 0.56488 | 9,079 | 77,404 | 4.708999 | 0.055623 | 0.068533 | 0.035787 | 0.014245 | 0.807359 | 0.781629 | 0.761444 | 0.743082 | 0.726288 | 0.700419 | 0 | 0.014441 | 0.317425 | 77,404 | 2,306 | 182 | 33.566349 | 0.794753 | 0.200778 | 0 | 0.671365 | 0 | 0.005935 | 0.131812 | 0.001623 | 0 | 0 | 0.001234 | 0 | 0 | 1 | 0.088279 | false | 0.002226 | 0.008902 | 0.010386 | 0.192137 | 0.003709 | 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 |
2545505f7c90154483d1da4b42ffe51b4f247ee4 | 16,783 | py | Python | psono/restapi/tests/mfa_yubikey_otp.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 48 | 2018-04-19T15:50:58.000Z | 2022-01-23T15:58:11.000Z | psono/restapi/tests/mfa_yubikey_otp.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 9 | 2018-09-13T14:56:18.000Z | 2020-01-17T16:44:33.000Z | psono/restapi/tests/mfa_yubikey_otp.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 11 | 2019-09-20T11:53:47.000Z | 2021-07-18T22:41:31.000Z | from django.urls import reverse
from django.conf import settings
from django.contrib.auth.hashers import make_password
from django.utils import timezone
from datetime import timedelta
from rest_framework import status
from restapi import models
from ..utils import encrypt_with_db_secret
from .base import APITestCaseE... | 35.557203 | 132 | 0.686886 | 2,009 | 16,783 | 5.42011 | 0.106023 | 0.079897 | 0.036 | 0.028928 | 0.826522 | 0.799522 | 0.779135 | 0.746717 | 0.727799 | 0.71136 | 0 | 0.019025 | 0.220163 | 16,783 | 471 | 133 | 35.632696 | 0.812958 | 0.091342 | 0 | 0.621818 | 0 | 0 | 0.108008 | 0.057825 | 0 | 0 | 0 | 0 | 0.098182 | 1 | 0.076364 | false | 0.010909 | 0.069091 | 0 | 0.16 | 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 |
6c0c384abf8d7e530cd981b75453eb2f097df849 | 31 | py | Python | simple_learning/optim/__init__.py | JA-Bar/simple-learning | c59ce4231a4ca6d4c0359eeff85ca43c85e0348f | [
"MIT"
] | null | null | null | simple_learning/optim/__init__.py | JA-Bar/simple-learning | c59ce4231a4ca6d4c0359eeff85ca43c85e0348f | [
"MIT"
] | null | null | null | simple_learning/optim/__init__.py | JA-Bar/simple-learning | c59ce4231a4ca6d4c0359eeff85ca43c85e0348f | [
"MIT"
] | null | null | null | from .all_optimizers import *
| 10.333333 | 29 | 0.774194 | 4 | 31 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 30 | 15.5 | 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 |
6c4fa5ac60c0d3e4f76a97b31f6dfcc596de89b4 | 42,360 | py | Python | tests/test_api_import.py | Pauliceia/ws | 8966cfd80299f22468afe9a2a1156740bf237270 | [
"MIT"
] | null | null | null | tests/test_api_import.py | Pauliceia/ws | 8966cfd80299f22468afe9a2a1156740bf237270 | [
"MIT"
] | 2 | 2021-02-08T20:26:34.000Z | 2021-04-30T20:43:28.000Z | tests/test_api_import.py | Pauliceia/ws | 8966cfd80299f22468afe9a2a1156740bf237270 | [
"MIT"
] | 1 | 2018-10-29T14:55:06.000Z | 2018-10-29T14:55:06.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from os import path as os_path
from random import randint
from unittest import TestCase
from util.tester import UtilTester
from util.common import FILES_PATH
os_path_sep_join = os_path.sep.join
class TestAPIImport(TestCase):
def setUp(self):
# create a t... | 53.283019 | 130 | 0.55118 | 4,740 | 42,360 | 4.538608 | 0.061814 | 0.082927 | 0.054386 | 0.033189 | 0.912518 | 0.898294 | 0.892995 | 0.877795 | 0.872589 | 0.866871 | 0 | 0.011555 | 0.258404 | 42,360 | 794 | 131 | 53.350126 | 0.673267 | 0.172923 | 0 | 0.628665 | 0 | 0 | 0.089972 | 0.044748 | 0 | 0 | 0 | 0 | 0 | 1 | 0.127036 | false | 0 | 0.263844 | 0 | 0.400651 | 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 |
6c76448bd7d818bf59678b74ffab1b4c596086a1 | 20 | py | Python | tests/sample-import/foo/foo_d.py | schettino72/import-deps | f1238c67219293f5d05c434b78d968c68498d4eb | [
"MIT"
] | 9 | 2018-07-24T00:40:23.000Z | 2021-08-29T23:46:54.000Z | tests/sample-import/foo/foo_d.py | schettino72/import-deps | f1238c67219293f5d05c434b78d968c68498d4eb | [
"MIT"
] | null | null | null | tests/sample-import/foo/foo_d.py | schettino72/import-deps | f1238c67219293f5d05c434b78d968c68498d4eb | [
"MIT"
] | 1 | 2019-04-27T12:15:52.000Z | 2019-04-27T12:15:52.000Z | from . import foo_c
| 10 | 19 | 0.75 | 4 | 20 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6c76f4d83c3f39168c4bafb8e26f193c755c8c8a | 39 | py | Python | vulnapp/uploader/models/__init__.py | Fufuhu/VulnAppSample | d6a9ab667b2b5628a649d57cd97b1979bdd986f8 | [
"Apache-2.0"
] | 1 | 2021-09-06T07:07:47.000Z | 2021-09-06T07:07:47.000Z | vulnapp/uploader/models/__init__.py | Fufuhu/VulnAppSample | d6a9ab667b2b5628a649d57cd97b1979bdd986f8 | [
"Apache-2.0"
] | null | null | null | vulnapp/uploader/models/__init__.py | Fufuhu/VulnAppSample | d6a9ab667b2b5628a649d57cd97b1979bdd986f8 | [
"Apache-2.0"
] | null | null | null | from .uploaded_file import UploadedFile | 39 | 39 | 0.897436 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
665e3853351cda0ad5f62e40841e7a462d1c926d | 173 | py | Python | codeforces/educational_92/a.py | leetcode-notes/daily-algorithms-practice | 2a03499ed0b403d79f6c8451c9a839991b23e188 | [
"Unlicense"
] | null | null | null | codeforces/educational_92/a.py | leetcode-notes/daily-algorithms-practice | 2a03499ed0b403d79f6c8451c9a839991b23e188 | [
"Unlicense"
] | null | null | null | codeforces/educational_92/a.py | leetcode-notes/daily-algorithms-practice | 2a03499ed0b403d79f6c8451c9a839991b23e188 | [
"Unlicense"
] | null | null | null | def gcd(a, b):
if min(a, b) == 0:
return max(a, b)
a_1 = max(a, b) % min(a, b)
return gcd(a_1, min(a, b))
def lcm(a, b):
return (a * b) // gcd(a, b) | 21.625 | 31 | 0.450867 | 38 | 173 | 2 | 0.289474 | 0.236842 | 0.197368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.323699 | 173 | 8 | 32 | 21.625 | 0.623932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
667c3e725b29158738dca0cc5fee22a3bef5df5b | 228 | py | Python | test_data/files/binary_downloader_tests.py | aleksul/pytest-motor | 20dd246fce777f0e21d1d03244e494e818a3dd52 | [
"MIT"
] | 4 | 2021-07-10T15:21:01.000Z | 2021-07-17T12:11:06.000Z | test_data/files/binary_downloader_tests.py | aleksul/pytest-motor | 20dd246fce777f0e21d1d03244e494e818a3dd52 | [
"MIT"
] | 47 | 2021-07-12T13:59:19.000Z | 2022-01-31T20:49:03.000Z | test_data/files/binary_downloader_tests.py | aleksul/pytest-motor | 20dd246fce777f0e21d1d03244e494e818a3dd52 | [
"MIT"
] | 4 | 2021-07-13T19:38:47.000Z | 2021-07-17T13:14:46.000Z | """A test file with a multiple tests for mongodb binary downloader."""
from pathlib import Path
def test_binary_downloads(mongod_binary: Path) -> None:
"""Tests if mongod_binary exists"""
assert mongod_binary.exists()
| 28.5 | 70 | 0.745614 | 32 | 228 | 5.15625 | 0.65625 | 0.218182 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 228 | 7 | 71 | 32.571429 | 0.859375 | 0.412281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
66af9d30a977d482ec8d3c486f8d15ca0af8ea81 | 154 | py | Python | lsld2/__init__.py | Xiaoy01/lsld2 | b8079ad92cb186b899a83b5e00618b4d715592db | [
"MIT"
] | null | null | null | lsld2/__init__.py | Xiaoy01/lsld2 | b8079ad92cb186b899a83b5e00618b4d715592db | [
"MIT"
] | null | null | null | lsld2/__init__.py | Xiaoy01/lsld2 | b8079ad92cb186b899a83b5e00618b4d715592db | [
"MIT"
] | null | null | null | # from fit import FitCLI, fit, fit_sat
# from . import fit # works weirdly
from .fit import FitCLI, fit, fit_sat
__all__ = ["FitCLI", "fit", "fit_sat"]
| 25.666667 | 38 | 0.688312 | 24 | 154 | 4.125 | 0.333333 | 0.272727 | 0.363636 | 0.454545 | 0.565657 | 0.565657 | 0.565657 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 154 | 5 | 39 | 30.8 | 0.785714 | 0.454545 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
66bb46bb315f47405eb4413d6fef71a68d455bb7 | 44 | py | Python | ifree/__init__.py | linzhenyuyuchen/ifree | 87b3cee58d3c87bd148170d77f9f360820e29489 | [
"MIT"
] | 3 | 2021-07-23T05:58:31.000Z | 2021-12-30T13:18:07.000Z | ifree/__init__.py | linzhenyuyuchen/ifree | 87b3cee58d3c87bd148170d77f9f360820e29489 | [
"MIT"
] | 1 | 2021-07-23T06:24:26.000Z | 2021-07-23T06:25:15.000Z | ifree/__init__.py | linzhenyuyuchen/ifree | 87b3cee58d3c87bd148170d77f9f360820e29489 | [
"MIT"
] | null | null | null | import ifree.processing
import ifree.dicom
| 11 | 23 | 0.840909 | 6 | 44 | 6.166667 | 0.666667 | 0.594595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 3 | 24 | 14.666667 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
66be3a08e48fb62d5154dd3aa0c96b6659a63e65 | 142 | py | Python | my_test.py | Athenian-CT-Fall2020/100-years-maleich | 217c19d79cdc6b8bc14419ba6a7d418fccbc82a5 | [
"Apache-2.0"
] | null | null | null | my_test.py | Athenian-CT-Fall2020/100-years-maleich | 217c19d79cdc6b8bc14419ba6a7d418fccbc82a5 | [
"Apache-2.0"
] | null | null | null | my_test.py | Athenian-CT-Fall2020/100-years-maleich | 217c19d79cdc6b8bc14419ba6a7d418fccbc82a5 | [
"Apache-2.0"
] | null | null | null | from my_code import year_100
def test_inc():
assert 2105 == year_100(15)
assert 2120 == year_100(0)
assert 2095 == year_100(25)
| 17.75 | 31 | 0.669014 | 24 | 142 | 3.708333 | 0.666667 | 0.314607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263636 | 0.225352 | 142 | 7 | 32 | 20.285714 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66d6146a7dd97b6065e045596d05dcd72e2ee829 | 130 | py | Python | mmdet/ops/psroi_pool/__init__.py | qinr/MRDet | 44b608ec6007db204dcb6b82eff9e356fc7b56d0 | [
"Apache-2.0"
] | 8 | 2021-05-25T10:49:00.000Z | 2021-11-28T04:01:02.000Z | mmdet/ops/psroi_pool/__init__.py | qinr/MRDet | 44b608ec6007db204dcb6b82eff9e356fc7b56d0 | [
"Apache-2.0"
] | null | null | null | mmdet/ops/psroi_pool/__init__.py | qinr/MRDet | 44b608ec6007db204dcb6b82eff9e356fc7b56d0 | [
"Apache-2.0"
] | 2 | 2021-07-22T12:53:37.000Z | 2021-12-17T12:53:51.000Z | from .functions.psroi_pool import psroi_pool
from .modules.psroi_pool import PSRoIPool
__all__ = ['psroi_pool', 'PSRoIPool']
| 26 | 45 | 0.776923 | 17 | 130 | 5.470588 | 0.470588 | 0.387097 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130769 | 130 | 4 | 46 | 32.5 | 0.823009 | 0 | 0 | 0 | 0 | 0 | 0.150794 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd71ce8054c06a085ebf6892e3bb54fed7947d76 | 7,948 | py | Python | tests/test_caps_text.py | memfault/pyprctl | 3795c7b1d2e2af88079a972f676217bc518f19a8 | [
"MIT"
] | 3 | 2021-04-21T10:25:35.000Z | 2021-12-25T08:28:13.000Z | tests/test_caps_text.py | memfault/pyprctl | 3795c7b1d2e2af88079a972f676217bc518f19a8 | [
"MIT"
] | 1 | 2021-06-10T22:18:57.000Z | 2021-06-10T22:18:57.000Z | tests/test_caps_text.py | memfault/pyprctl | 3795c7b1d2e2af88079a972f676217bc518f19a8 | [
"MIT"
] | 1 | 2021-06-09T11:55:03.000Z | 2021-06-09T11:55:03.000Z | import pytest
import pyprctl
ALL_CAPS_SET = set(pyprctl.Cap)
def test_capstate_to_text() -> None:
assert str(pyprctl.CapState()) == "="
assert str(pyprctl.CapState(effective={pyprctl.Cap.CHOWN})) == "cap_chown=e"
assert str(pyprctl.CapState(effective=ALL_CAPS_SET - {pyprctl.Cap.CHOWN})) == "=e cap_cho... | 31.919679 | 100 | 0.618143 | 901 | 7,948 | 5.285239 | 0.067703 | 0.072239 | 0.054599 | 0.096598 | 0.897312 | 0.880302 | 0.815834 | 0.792734 | 0.776564 | 0.776564 | 0 | 0.00017 | 0.258807 | 7,948 | 248 | 101 | 32.048387 | 0.808182 | 0.002013 | 0 | 0.438424 | 0 | 0 | 0.11652 | 0 | 0 | 0 | 0 | 0 | 0.152709 | 1 | 0.029557 | false | 0 | 0.009852 | 0 | 0.039409 | 0.019704 | 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 |
dd872efe1ef10a613409539e20d6cbc90bffc2c8 | 156 | py | Python | app.py | suricats/surirobot-api-services | b23b440649a759d638cbc8644acc4aeb7f118674 | [
"MIT"
] | null | null | null | app.py | suricats/surirobot-api-services | b23b440649a759d638cbc8644acc4aeb7f118674 | [
"MIT"
] | 1 | 2019-05-22T16:17:59.000Z | 2019-09-05T13:09:03.000Z | app.py | suricats/surirobot-api-services | b23b440649a759d638cbc8644acc4aeb7f118674 | [
"MIT"
] | 1 | 2019-07-02T09:40:28.000Z | 2019-07-02T09:40:28.000Z | #!/usr/bin/env python3
from dotenv import load_dotenv, find_dotenv
# Load .env
load_dotenv(find_dotenv())
from api.server import app
app.run(debug=False)
| 17.333333 | 43 | 0.775641 | 26 | 156 | 4.5 | 0.576923 | 0.17094 | 0.239316 | 0.34188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.115385 | 156 | 8 | 44 | 19.5 | 0.84058 | 0.198718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dd8bd99685a77c6182b96f88559fc22419d13986 | 6,827 | py | Python | src/chaos_service/main.py | glimsil/chaos-service | 0f4f9fa3e1202ae869a1915e38a1607b2c34f626 | [
"BSD-2-Clause"
] | null | null | null | src/chaos_service/main.py | glimsil/chaos-service | 0f4f9fa3e1202ae869a1915e38a1607b2c34f626 | [
"BSD-2-Clause"
] | null | null | null | src/chaos_service/main.py | glimsil/chaos-service | 0f4f9fa3e1202ae869a1915e38a1607b2c34f626 | [
"BSD-2-Clause"
] | null | null | null | import click
from flask import Flask
from chaos_service.api import api, config
from chaos_service.config.config_storage import ConfigStorage
@click.group()
@click.version_option("0.0.1")
def cli():
"""
First version of chaos service.
"""
@cli.command()
@click.option('--start-at-request', help='Start re... | 72.62766 | 242 | 0.767541 | 1,081 | 6,827 | 4.679001 | 0.087882 | 0.093318 | 0.124555 | 0.082641 | 0.899565 | 0.883353 | 0.874259 | 0.874259 | 0.874259 | 0.874259 | 0 | 0.04196 | 0.127289 | 6,827 | 94 | 243 | 72.62766 | 0.806982 | 0.070895 | 0 | 0.611111 | 0 | 0.194444 | 0.491975 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.055556 | 0 | 0.166667 | 0.097222 | 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 |
b088c406c08be7e77a5c636e5778fdee364997d3 | 135 | py | Python | model/GAT_model.py | kw-lee/pytorch-DCRNN | 49fbf64705360f2d2586a94fb1bde1b2f9599a70 | [
"MIT"
] | null | null | null | model/GAT_model.py | kw-lee/pytorch-DCRNN | 49fbf64705360f2d2586a94fb1bde1b2f9599a70 | [
"MIT"
] | null | null | null | model/GAT_model.py | kw-lee/pytorch-DCRNN | 49fbf64705360f2d2586a94fb1bde1b2f9599a70 | [
"MIT"
] | null | null | null | import torch
import numpy as np
import torch.nn as nn
import torch.nn.functional as F
import math
from matplotlib import pyplot as plt
| 19.285714 | 36 | 0.814815 | 25 | 135 | 4.4 | 0.52 | 0.3 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162963 | 135 | 6 | 37 | 22.5 | 0.973451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b08f085d366e1878731d18d4f8e0b96ebe4a57d9 | 275 | py | Python | src/models/stochastic/bbb/utils_bbb.py | tjiagoM/quantised-bayesian-nets | c6ff1db376c366633afa2845b7527cc144ffd3b2 | [
"BSD-3-Clause"
] | 13 | 2021-02-23T09:48:10.000Z | 2021-12-30T18:04:30.000Z | src/models/stochastic/bbb/utils_bbb.py | tjiagoM/quantised-bayesian-nets | c6ff1db376c366633afa2845b7527cc144ffd3b2 | [
"BSD-3-Clause"
] | 1 | 2021-06-15T16:24:36.000Z | 2021-06-15T16:24:36.000Z | src/models/stochastic/bbb/utils_bbb.py | tjiagoM/quantised-bayesian-nets | c6ff1db376c366633afa2845b7527cc144ffd3b2 | [
"BSD-3-Clause"
] | 1 | 2021-06-15T14:53:20.000Z | 2021-06-15T14:53:20.000Z | import torch
def kl_divergence(mu, sigma, mu_prior, sigma_prior):
kl = 0.5 * (2 * torch.log(sigma_prior / sigma) - 1 + (sigma / sigma_prior).pow(2) + ((mu_prior - mu) / sigma_prior).pow(2)).sum()
return kl
def softplusinv(x):
return torch.log(torch.exp(x)-1.) | 34.375 | 134 | 0.647273 | 46 | 275 | 3.717391 | 0.413043 | 0.233918 | 0.152047 | 0.163743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030973 | 0.178182 | 275 | 8 | 135 | 34.375 | 0.725664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b097b951548a3dad50a25e24982520e9614949b0 | 126 | py | Python | benchmarks/python/tests/ewise.multiply.py | kgryte/micro-benchmarks-numeric-computing | 9efc5d18d36b7437e5a7c9d41eb8e41a798617b8 | [
"MIT"
] | 1 | 2015-11-28T16:50:04.000Z | 2015-11-28T16:50:04.000Z | benchmarks/python/tests/ewise.multiply.py | kgryte/micro-benchmarks-numeric-computing | 9efc5d18d36b7437e5a7c9d41eb8e41a798617b8 | [
"MIT"
] | null | null | null | benchmarks/python/tests/ewise.multiply.py | kgryte/micro-benchmarks-numeric-computing | 9efc5d18d36b7437e5a7c9d41eb8e41a798617b8 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# coding: utf-8
import numpy as np
def test():
"""Performs element-wise multiplication."""
pass
| 11.454545 | 47 | 0.642857 | 17 | 126 | 4.764706 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.206349 | 126 | 10 | 48 | 12.6 | 0.8 | 0.539683 | 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 |
9fedd6b5a21086dbe8af9d7e03cfceeb854380c5 | 34 | py | Python | govapi/__init__.py | SiraArduino/govapi | f0307b2ab50d466624574f87eebed8a750deb481 | [
"MIT"
] | 1 | 2021-09-27T00:28:25.000Z | 2021-09-27T00:28:25.000Z | govapi/__init__.py | SiraArduino/govapi | f0307b2ab50d466624574f87eebed8a750deb481 | [
"MIT"
] | 2 | 2021-09-07T15:55:16.000Z | 2021-09-29T07:12:27.000Z | govapi/__init__.py | SiraArduino/govapi | f0307b2ab50d466624574f87eebed8a750deb481 | [
"MIT"
] | 1 | 2021-09-29T06:40:35.000Z | 2021-09-29T06:40:35.000Z | from govapi.govapi import GovAPI
| 17 | 33 | 0.823529 | 5 | 34 | 5.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 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 |
9ff498d718f83f7c748d1016f96054bc674bcbd5 | 176 | py | Python | awkwardql/interface.py | lgray/AwkwardQL | 53802afa248740893512d01b8b7365a2e3a34367 | [
"BSD-3-Clause"
] | 1 | 2019-12-28T21:11:22.000Z | 2019-12-28T21:11:22.000Z | awkwardql/interface.py | lgray/AwkwardQL | 53802afa248740893512d01b8b7365a2e3a34367 | [
"BSD-3-Clause"
] | 3 | 2020-01-08T07:01:57.000Z | 2020-01-08T15:54:48.000Z | awkwardql/interface.py | lgray/AwkwardQL | 53802afa248740893512d01b8b7365a2e3a34367 | [
"BSD-3-Clause"
] | 1 | 2020-01-08T06:50:13.000Z | 2020-01-08T06:50:13.000Z | from . import interpreter
def query(func):
def wrapped(dataset, verbose=False):
return interpreter.run(func.__doc__, dataset, verbose=verbose)
return wrapped
| 22 | 70 | 0.721591 | 21 | 176 | 5.857143 | 0.619048 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 176 | 7 | 71 | 25.142857 | 0.86014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b00d9a355471699c16e8e13923ea7c0796a916e7 | 4,950 | py | Python | .c9/metadata/environment/line_bitcoin.py | Grawor/cloud9 | a7106f124c2c9386cef66983839164db6881a2a5 | [
"MIT"
] | null | null | null | .c9/metadata/environment/line_bitcoin.py | Grawor/cloud9 | a7106f124c2c9386cef66983839164db6881a2a5 | [
"MIT"
] | 2 | 2020-06-05T19:36:02.000Z | 2021-03-31T19:03:15.000Z | .c9/metadata/environment/line_bitcoin.py | Grawor/auto_bot | a7106f124c2c9386cef66983839164db6881a2a5 | [
"MIT"
] | null | null | null | {"filter":false,"title":"line_bitcoin.py","tooltip":"/line_bitcoin.py","undoManager":{"mark":19,"position":19,"stack":[[{"start":{"row":23,"column":22},"end":{"row":23,"column":33},"action":"insert","lines":["os.environ["],"id":1}],[{"start":{"row":23,"column":45},"end":{"row":23,"column":46},"action":"insert","lines":... | 4,950 | 4,950 | 0.566263 | 712 | 4,950 | 3.922753 | 0.130618 | 0.09488 | 0.208736 | 0.154672 | 0.622986 | 0.547798 | 0.433942 | 0.425707 | 0.359828 | 0.269961 | 0 | 0.087475 | 0 | 4,950 | 1 | 4,950 | 4,950 | 0.476768 | 0 | 0 | 0 | 0 | 0 | 0.477479 | 0.023632 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c6636eaa2f7a2fce7182628bb8300e511d9298fe | 217 | py | Python | hypothesis/util/data/numpy/__init__.py | boyali/hypothesis-sre | f44d25eb281d49663d49d134ee73ad542849714b | [
"BSD-3-Clause"
] | 45 | 2019-02-13T14:16:35.000Z | 2022-02-23T21:30:02.000Z | hypothesis/util/data/numpy/__init__.py | boyali/hypothesis-sre | f44d25eb281d49663d49d134ee73ad542849714b | [
"BSD-3-Clause"
] | 1 | 2020-01-13T08:29:50.000Z | 2020-01-22T10:28:02.000Z | hypothesis/util/data/numpy/__init__.py | boyali/hypothesis-sre | f44d25eb281d49663d49d134ee73ad542849714b | [
"BSD-3-Clause"
] | 8 | 2019-04-23T14:25:08.000Z | 2021-07-28T15:05:31.000Z | from .storage import InMemoryStorage
from .storage import PersistentStorage
from .simulation_dataset import SimulationDataset
from .util import compute_final_shape
from .util import merge
from .dataset import Dataset
| 31 | 49 | 0.861751 | 27 | 217 | 6.814815 | 0.481481 | 0.119565 | 0.184783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110599 | 217 | 6 | 50 | 36.166667 | 0.953368 | 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 |
c666daffd43ef9c3bc1095b037b46089eb1d680c | 39 | py | Python | uncluster/cluster_massloss/__init__.py | adrn/uncluster | 0e487f7cc17426bbd03ff1f02000bc3437075ab3 | [
"MIT"
] | null | null | null | uncluster/cluster_massloss/__init__.py | adrn/uncluster | 0e487f7cc17426bbd03ff1f02000bc3437075ab3 | [
"MIT"
] | 1 | 2017-01-23T14:54:41.000Z | 2017-01-23T14:54:41.000Z | uncluster/cluster_massloss/__init__.py | adrn/uncluster | 0e487f7cc17426bbd03ff1f02000bc3437075ab3 | [
"MIT"
] | null | null | null | from .core import solve_mass_evolution
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 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 |
c6a591b2def0395c93fcf55d039ee081e5f9b406 | 33 | py | Python | farm_management/animals/permissions/__init__.py | alexanders0/farm-management | 53ed821bbbed312848cf331f8f961ef16c59fb99 | [
"MIT"
] | 1 | 2021-07-11T23:26:10.000Z | 2021-07-11T23:26:10.000Z | farm_management/animals/permissions/__init__.py | alexanders0/farm-management | 53ed821bbbed312848cf331f8f961ef16c59fb99 | [
"MIT"
] | 1 | 2021-07-13T02:09:37.000Z | 2021-07-17T09:30:15.000Z | farm_management/animals/permissions/__init__.py | alexanders0/farm-management | 53ed821bbbed312848cf331f8f961ef16c59fb99 | [
"MIT"
] | null | null | null | from .animals import IsLandOwner
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c6c938b1ee0b1d9f8942af40f6539d38b5459eca | 19,112 | py | Python | pytests/tuqquery/tuq_window_clause.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | 14 | 2015-02-06T02:47:57.000Z | 2020-03-14T15:06:05.000Z | pytests/tuqquery/tuq_window_clause.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | 3 | 2019-02-27T19:29:11.000Z | 2021-06-02T02:14:27.000Z | pytests/tuqquery/tuq_window_clause.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | 108 | 2015-03-26T08:58:49.000Z | 2022-03-21T05:21:39.000Z | from remote.remote_util import RemoteMachineShellConnection
from .tuq import QueryTests
import time
from deepdiff import DeepDiff
from membase.api.exception import CBQError
class QueryWindowClauseTests(QueryTests):
def setUp(self):
super(QueryWindowClauseTests, self).setUp()
self.log.info("=======... | 54.605714 | 265 | 0.601612 | 2,243 | 19,112 | 4.945609 | 0.0749 | 0.032182 | 0.041648 | 0.033805 | 0.861084 | 0.845037 | 0.805823 | 0.779951 | 0.771478 | 0.742721 | 0 | 0.008333 | 0.284219 | 19,112 | 349 | 266 | 54.762178 | 0.802558 | 0.00157 | 0 | 0.609231 | 0 | 0.030769 | 0.214256 | 0.015514 | 0 | 0 | 0 | 0 | 0.055385 | 1 | 0.058462 | false | 0 | 0.015385 | 0 | 0.076923 | 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 |
c6cbd8436b384ec3d158da183103663cb14287f0 | 72 | py | Python | deepchem/models/jax_models/__init__.py | medjebbar/deepchem | d636878164abb0562e3f5a9f2f187d3b5a5a097b | [
"MIT"
] | 1 | 2021-05-27T13:14:48.000Z | 2021-05-27T13:14:48.000Z | deepchem/models/jax_models/__init__.py | medjebbar/deepchem | d636878164abb0562e3f5a9f2f187d3b5a5a097b | [
"MIT"
] | null | null | null | deepchem/models/jax_models/__init__.py | medjebbar/deepchem | d636878164abb0562e3f5a9f2f187d3b5a5a097b | [
"MIT"
] | 1 | 2021-09-07T06:48:35.000Z | 2021-09-07T06:48:35.000Z | # flake8:noqa
from deepchem.models.jax_models.jax_model import JaxModel
| 24 | 57 | 0.847222 | 11 | 72 | 5.363636 | 0.818182 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.083333 | 72 | 2 | 58 | 36 | 0.878788 | 0.152778 | 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 |
c6f1ad51008a97a4ead3fdcfa20b665a1daa48ba | 97 | py | Python | ifttt_sim/__init__.py | UT-MPC/ConflictDetection | f960a349e32ff861932fbc331daf6cd40369617f | [
"BSD-3-Clause"
] | null | null | null | ifttt_sim/__init__.py | UT-MPC/ConflictDetection | f960a349e32ff861932fbc331daf6cd40369617f | [
"BSD-3-Clause"
] | null | null | null | ifttt_sim/__init__.py | UT-MPC/ConflictDetection | f960a349e32ff861932fbc331daf6cd40369617f | [
"BSD-3-Clause"
] | null | null | null | from .Applet import *
from .Trigger import *
from .Action import *
from .ContextInterval import * | 24.25 | 30 | 0.762887 | 12 | 97 | 6.166667 | 0.5 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 4 | 30 | 24.25 | 0.902439 | 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 |
05a1bb56b3e981f9e800f99e0670a3dde2417874 | 50 | py | Python | lesson1/sys.py | rnavarych/python_lessons | 259630e43fce84247f80d4e163e7d7c90d104112 | [
"MIT"
] | null | null | null | lesson1/sys.py | rnavarych/python_lessons | 259630e43fce84247f80d4e163e7d7c90d104112 | [
"MIT"
] | null | null | null | lesson1/sys.py | rnavarych/python_lessons | 259630e43fce84247f80d4e163e7d7c90d104112 | [
"MIT"
] | null | null | null | import sys
print(sys.platform)
print(sys.version) | 12.5 | 19 | 0.8 | 8 | 50 | 5 | 0.625 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 4 | 20 | 12.5 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
af0c75da8009bb928daef94d9d40029357b8611b | 6,522 | py | Python | lighthouse/tests/test_lighthouse.py | chrroberts-pure/integrations-extras | d2ff09d5cdc50ad1d2a826ea5404cddca0198afa | [
"BSD-3-Clause"
] | null | null | null | lighthouse/tests/test_lighthouse.py | chrroberts-pure/integrations-extras | d2ff09d5cdc50ad1d2a826ea5404cddca0198afa | [
"BSD-3-Clause"
] | null | null | null | lighthouse/tests/test_lighthouse.py | chrroberts-pure/integrations-extras | d2ff09d5cdc50ad1d2a826ea5404cddca0198afa | [
"BSD-3-Clause"
] | null | null | null | import os
import pytest
from mock import MagicMock
from datadog_checks.base.errors import CheckException
from datadog_checks.lighthouse import LighthouseCheck
HERE = os.path.dirname(os.path.abspath(__file__))
def mock_get_lighthouse_report(cmd, lgr, re=False):
if "https" not in cmd[1]:
return "", "erro... | 53.02439 | 96 | 0.766789 | 838 | 6,522 | 5.720764 | 0.181384 | 0.143513 | 0.192741 | 0.227785 | 0.801627 | 0.785148 | 0.735503 | 0.632874 | 0.428869 | 0.391322 | 0 | 0.021713 | 0.110242 | 6,522 | 122 | 97 | 53.459016 | 0.804412 | 0.034499 | 0 | 0.23913 | 0 | 0 | 0.234144 | 0.183437 | 0 | 0 | 0 | 0 | 0.467391 | 1 | 0.065217 | false | 0 | 0.054348 | 0 | 0.152174 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
af309b4b340361420525be544e964ea428f9fb64 | 42 | py | Python | libs/detection/__init__.py | tamnguyenvan/mobilenetv3-face-gender | b8a6587a06f06f0fc01c5b8627d4a76361176608 | [
"Apache-2.0"
] | null | null | null | libs/detection/__init__.py | tamnguyenvan/mobilenetv3-face-gender | b8a6587a06f06f0fc01c5b8627d4a76361176608 | [
"Apache-2.0"
] | null | null | null | libs/detection/__init__.py | tamnguyenvan/mobilenetv3-face-gender | b8a6587a06f06f0fc01c5b8627d4a76361176608 | [
"Apache-2.0"
] | null | null | null | from .ssd import *
from .ssdlite import *
| 14 | 22 | 0.714286 | 6 | 42 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 23 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
af3611ccf6c7a2fcef996e1ac3dce81ddb3c52cf | 26 | py | Python | extraction/models/__init__.py | nutalk/Gabor-Filter | f1ffb6efbda66645e704160d49ea5b32afb5f70b | [
"Apache-2.0"
] | null | null | null | extraction/models/__init__.py | nutalk/Gabor-Filter | f1ffb6efbda66645e704160d49ea5b32afb5f70b | [
"Apache-2.0"
] | null | null | null | extraction/models/__init__.py | nutalk/Gabor-Filter | f1ffb6efbda66645e704160d49ea5b32afb5f70b | [
"Apache-2.0"
] | null | null | null | from .fcn32s import FCN32
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
af7215aa7ec35176b8d27add9f0093b8e4667312 | 38 | py | Python | sequential_inference/envs/robosuite_envs/wipe/__init__.py | cvoelcker/sequential_inference | acdc23aa8fdbfc76ded771e82a4abcdd081a3280 | [
"MIT"
] | null | null | null | sequential_inference/envs/robosuite_envs/wipe/__init__.py | cvoelcker/sequential_inference | acdc23aa8fdbfc76ded771e82a4abcdd081a3280 | [
"MIT"
] | null | null | null | sequential_inference/envs/robosuite_envs/wipe/__init__.py | cvoelcker/sequential_inference | acdc23aa8fdbfc76ded771e82a4abcdd081a3280 | [
"MIT"
] | null | null | null | from .wipe_located import WipeLocated
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afaabf96859e9621a4cf9f1e9db0d85461936e7a | 16 | py | Python | python/testData/psi/EmptySuperclassList.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/psi/EmptySuperclassList.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/psi/EmptySuperclassList.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A(): pass
| 8 | 15 | 0.625 | 3 | 16 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 1 | 16 | 16 | 0.769231 | 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 |
bb5e1517281a77730d997e30a32ec3170c9d93c2 | 9,878 | py | Python | build_arrays.py | lauziere/exacthgm | 55d4d7808856b1945c9c9aed3493ae66166aea11 | [
"MIT"
] | null | null | null | build_arrays.py | lauziere/exacthgm | 55d4d7808856b1945c9c9aed3493ae66166aea11 | [
"MIT"
] | null | null | null | build_arrays.py | lauziere/exacthgm | 55d4d7808856b1945c9c9aed3493ae66166aea11 | [
"MIT"
] | null | null | null |
import numpy as np
import pandas as pd
import os
from features import *
from util import *
# Handle datasets
def merge_data(key_list, array_list):
all_keys = np.array([kl[i] for kl in key_list for i in range(len(kl))])
all_keys_idxs = np.argsort(all_keys)
all_keys_sorted = np.sort(all_k... | 43.707965 | 175 | 0.728791 | 1,503 | 9,878 | 4.360612 | 0.107784 | 0.071407 | 0.053403 | 0.081172 | 0.840555 | 0.831858 | 0.81477 | 0.810497 | 0.810497 | 0.810497 | 0 | 0.012888 | 0.175238 | 9,878 | 226 | 176 | 43.707965 | 0.79158 | 0.067726 | 0 | 0.524823 | 0 | 0 | 0.06875 | 0.035156 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014184 | false | 0 | 0.035461 | 0 | 0.06383 | 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 |
bb6eef236881bdd27b233cbe887ce5a57611e5c4 | 337 | py | Python | foolbox/models/__init__.py | SamplingAndEnsemblingSolvers/foolbox | 788ea92b314cd974b39047000ed692a48c7e5bf1 | [
"MIT"
] | 2,292 | 2017-06-14T23:20:34.000Z | 2022-03-30T01:53:35.000Z | foolbox/models/__init__.py | SamplingAndEnsemblingSolvers/foolbox | 788ea92b314cd974b39047000ed692a48c7e5bf1 | [
"MIT"
] | 630 | 2017-06-15T06:34:51.000Z | 2022-03-30T05:11:05.000Z | foolbox/models/__init__.py | SamplingAndEnsemblingSolvers/foolbox | 788ea92b314cd974b39047000ed692a48c7e5bf1 | [
"MIT"
] | 482 | 2017-06-14T13:43:05.000Z | 2022-03-29T11:10:41.000Z | from .base import Model # noqa: F401
from .base import TransformBoundsWrapper # noqa: F401
from .pytorch import PyTorchModel # noqa: F401
from .tensorflow import TensorFlowModel # noqa: F401
from .jax import JAXModel # noqa: F401
from .numpy import NumPyModel # noqa: F401
from .wrappers import ThresholdingWrapp... | 33.7 | 55 | 0.765579 | 42 | 337 | 6.142857 | 0.404762 | 0.217054 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 0.172107 | 337 | 9 | 56 | 37.444444 | 0.849462 | 0.225519 | 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 |
bb7c350c45a92171535266e3af65010af472ba57 | 39 | py | Python | lib/appointments/__init__.py | jayrav13/presidency | f18721d5df9af161cc01f503b6657d9b06fea0e9 | [
"MIT"
] | 14 | 2016-11-05T03:43:26.000Z | 2021-03-25T14:55:19.000Z | lib/appointments/__init__.py | jayrav13/presidency | f18721d5df9af161cc01f503b6657d9b06fea0e9 | [
"MIT"
] | 5 | 2017-01-30T21:39:34.000Z | 2021-06-10T19:30:57.000Z | lib/appointments/__init__.py | jayrav13/presidency | f18721d5df9af161cc01f503b6657d9b06fea0e9 | [
"MIT"
] | 2 | 2016-11-22T08:36:07.000Z | 2017-01-28T16:36:29.000Z | from .appointments import Appointments
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 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 |
bbb1a3f2c8c24b4eb466044601cbc0d6de034fce | 77 | py | Python | code/example code/introducing-python-master/1st_edition/net/fab1.py | ChouHsuan-Cheng/Learning_Python_Base | 857873466463e6b20f24b1e8946c837c318f2536 | [
"CNRI-Python"
] | null | null | null | code/example code/introducing-python-master/1st_edition/net/fab1.py | ChouHsuan-Cheng/Learning_Python_Base | 857873466463e6b20f24b1e8946c837c318f2536 | [
"CNRI-Python"
] | null | null | null | code/example code/introducing-python-master/1st_edition/net/fab1.py | ChouHsuan-Cheng/Learning_Python_Base | 857873466463e6b20f24b1e8946c837c318f2536 | [
"CNRI-Python"
] | null | null | null | def iso():
from datetime import date
print(date.today().isoformat())
| 19.25 | 35 | 0.662338 | 10 | 77 | 5.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194805 | 77 | 3 | 36 | 25.666667 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 |
a5253bd4c755f89a862a37ce5cc078a7242f8fad | 235 | py | Python | src/op_utils/__init__.py | rakshify/pyWM | 6eecb0a420fe348e999e01316ce2c1f2d7c8fc7f | [
"MIT"
] | null | null | null | src/op_utils/__init__.py | rakshify/pyWM | 6eecb0a420fe348e999e01316ce2c1f2d7c8fc7f | [
"MIT"
] | null | null | null | src/op_utils/__init__.py | rakshify/pyWM | 6eecb0a420fe348e999e01316ce2c1f2d7c8fc7f | [
"MIT"
] | null | null | null | from src.op_utils.basic_utils import method_map
from src.op_utils.compound_utils import method_map as compound_map
from src.op_utils.file_utils import method_map as file_map
method_map.update(compound_map)
method_map.update(file_map)
| 33.571429 | 66 | 0.868085 | 43 | 235 | 4.395349 | 0.27907 | 0.238095 | 0.142857 | 0.222222 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080851 | 235 | 6 | 67 | 39.166667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c1a4f51228e2641a7d4e2e43c746c685d389412 | 116 | py | Python | WeatherPy/api_keys.py | BluecellChen/python-api-challenge | 2f4f13ab30605e79f99da006ec540354e6af6690 | [
"ADSL"
] | null | null | null | WeatherPy/api_keys.py | BluecellChen/python-api-challenge | 2f4f13ab30605e79f99da006ec540354e6af6690 | [
"ADSL"
] | null | null | null | WeatherPy/api_keys.py | BluecellChen/python-api-challenge | 2f4f13ab30605e79f99da006ec540354e6af6690 | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
api_key = "eb1466db7ae3a93e6f626541f5ba5d90"
#api_key = "0bd030fc740da7bfa74a2132d1baafb2"
| 29 | 45 | 0.844828 | 9 | 116 | 10.666667 | 0.555556 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330189 | 0.086207 | 116 | 3 | 46 | 38.666667 | 0.575472 | 0.568966 | 0 | 0 | 0 | 0 | 0.680851 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3c211ceb642dbcbe125688d2caa88e8dd561c34a | 35 | py | Python | python/testData/inspections/ChainedComparison1_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/ChainedComparison1_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/ChainedComparison1_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | if e < a <= b < c <= d:
print "q" | 17.5 | 23 | 0.371429 | 8 | 35 | 1.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.371429 | 35 | 2 | 24 | 17.5 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3c397b7bdebd7b55187a79abe11759bae981545d | 91 | py | Python | src/rbx2/rbx2_utils/src/rbx2_utils/srv/__init__.py | fujy/ROS-Project | b5e3b43c5eb5d3c1d984648f0f61710eea3a1bb8 | [
"MIT"
] | 9 | 2017-08-22T13:07:13.000Z | 2021-07-13T10:02:29.000Z | src/rbx2/rbx2_utils/src/rbx2_utils/srv/__init__.py | vcdanda/ROS-Turtlebot2 | f24356486f55933d52e25a81715f1571aace0224 | [
"MIT"
] | 1 | 2017-12-14T06:46:58.000Z | 2017-12-14T06:46:58.000Z | src/rbx2/rbx2_utils/src/rbx2_utils/srv/__init__.py | vcdanda/ROS-Turtlebot2 | f24356486f55933d52e25a81715f1571aace0224 | [
"MIT"
] | 5 | 2018-02-07T14:09:28.000Z | 2021-01-08T20:41:52.000Z | from ._OldLaunchProcess import *
from ._KillProcess import *
from ._LaunchProcess import *
| 22.75 | 32 | 0.802198 | 9 | 91 | 7.777778 | 0.555556 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 3 | 33 | 30.333333 | 0.886076 | 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 |
3c93cce5a9be4056963eb3578ff51c1da96a4031 | 209 | py | Python | mikuai/__init__.py | Sebidev/MikuAi | 8e84280a38ac45ca9ec18b2e972e29cecfba3337 | [
"BSD-3-Clause"
] | null | null | null | mikuai/__init__.py | Sebidev/MikuAi | 8e84280a38ac45ca9ec18b2e972e29cecfba3337 | [
"BSD-3-Clause"
] | null | null | null | mikuai/__init__.py | Sebidev/MikuAi | 8e84280a38ac45ca9ec18b2e972e29cecfba3337 | [
"BSD-3-Clause"
] | null | null | null | # __init__.py
from mikuai.dialog import *
from mikuai.model import *
from mikuai.nltk_utils import *
from mikuai.train import *
from mikuai.transmit import *
from mikuai.tts import *
from mikuai.test import * | 23.222222 | 31 | 0.779904 | 31 | 209 | 5.096774 | 0.419355 | 0.443038 | 0.607595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143541 | 209 | 9 | 32 | 23.222222 | 0.882682 | 0.052632 | 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 |
b1ed71e13055ae214eb81e8886d2c34328d541ea | 902 | py | Python | tests/integration_tests/test_deployment.py | jbushman/deployment-client | c0ae1762e8a098b3c1d9211a1810b2f0c0cb7bfa | [
"Apache-2.0"
] | null | null | null | tests/integration_tests/test_deployment.py | jbushman/deployment-client | c0ae1762e8a098b3c1d9211a1810b2f0c0cb7bfa | [
"Apache-2.0"
] | null | null | null | tests/integration_tests/test_deployment.py | jbushman/deployment-client | c0ae1762e8a098b3c1d9211a1810b2f0c0cb7bfa | [
"Apache-2.0"
] | null | null | null | import requests
def test_post_rollout(base_url):
data = {
"deployment_id": 1,
"versionlock": [
"eig-hp-core_lib-20200527-1.5299e2c.el7.noarch",
"eig-hp-hp_common-20200527-1.bfc6a82.el7.noarch",
"eig-hp-hp_web-20200929-1.e3729c0.el7.noarch",
],
}
... | 29.096774 | 63 | 0.607539 | 114 | 902 | 4.631579 | 0.324561 | 0.056818 | 0.090909 | 0.106061 | 0.848485 | 0.848485 | 0.757576 | 0.757576 | 0.757576 | 0.757576 | 0 | 0.140533 | 0.250554 | 902 | 30 | 64 | 30.066667 | 0.640533 | 0 | 0 | 0.692308 | 0 | 0 | 0.385809 | 0.297118 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.076923 | false | 0 | 0.038462 | 0 | 0.115385 | 0.076923 | 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 |
b1f2d589eb0e1dfa765f4d38622e339879bc9dad | 184 | py | Python | coursera/python_programming_basics/1_week_01.py | anklav24/Python-Education | 49ebcfabda1376390ee71e1fe321a51e33831f9e | [
"Apache-2.0"
] | null | null | null | coursera/python_programming_basics/1_week_01.py | anklav24/Python-Education | 49ebcfabda1376390ee71e1fe321a51e33831f9e | [
"Apache-2.0"
] | null | null | null | coursera/python_programming_basics/1_week_01.py | anklav24/Python-Education | 49ebcfabda1376390ee71e1fe321a51e33831f9e | [
"Apache-2.0"
] | null | null | null | print('Hello, world.')
print('Hello, Python!')
print(2 + 3)
print('2' * 3)
print(f'2 + 3 = {2 + 3}')
print('1', '2', '3', sep=' + ', end=' ')
print('=', 1 + 2 + 3, end='')
print('!')
| 18.4 | 40 | 0.461957 | 30 | 184 | 2.833333 | 0.333333 | 0.141176 | 0.247059 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 0.184783 | 184 | 9 | 41 | 20.444444 | 0.473333 | 0 | 0 | 0 | 0 | 0 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5900d22d07d046187ccd5ec08b259d619bfc97c8 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/core/tests/test_mem_overlap.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/core/tests/test_mem_overlap.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/core/tests/test_mem_overlap.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/fe/8b/1c/1334ca44556857d625f975f5f8d16ee1ae93857fdf08465af744784cab | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3cc66bb1651cdfa73664674b4b37f47c867cef59 | 48 | py | Python | pacote/outroModulo.py | Mopanc/Angry-birds | 76a0f22954ac248fc598978fa3d8373844aefe97 | [
"MIT"
] | 1 | 2021-04-25T23:17:45.000Z | 2021-04-25T23:17:45.000Z | pacote/outroModulo.py | Mopanc/pythonbirds-simples | 76a0f22954ac248fc598978fa3d8373844aefe97 | [
"MIT"
] | null | null | null | pacote/outroModulo.py | Mopanc/pythonbirds-simples | 76a0f22954ac248fc598978fa3d8373844aefe97 | [
"MIT"
] | null | null | null | from modulo import soma as s
print(s(7, 8))
| 6.857143 | 28 | 0.645833 | 10 | 48 | 3.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.25 | 48 | 6 | 29 | 8 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
59d2117558f3955c20079bca1baa811d7a4ed19c | 187 | py | Python | brd_mod/main.py | benrdavison/brd_mod | d496c5faece564f3758c25ed99a8240cde0ccf81 | [
"MIT"
] | null | null | null | brd_mod/main.py | benrdavison/brd_mod | d496c5faece564f3758c25ed99a8240cde0ccf81 | [
"MIT"
] | null | null | null | brd_mod/main.py | benrdavison/brd_mod | d496c5faece564f3758c25ed99a8240cde0ccf81 | [
"MIT"
] | null | null | null | import pandas as pd
import sys
import os
from brd_mod.brdstats import *
from brd_mod.brdgeo import *
from brd_mod.brdecon import *
if __name__ == "__main__":
print("test") | 15.583333 | 31 | 0.705882 | 28 | 187 | 4.321429 | 0.607143 | 0.173554 | 0.247934 | 0.264463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213904 | 187 | 12 | 32 | 15.583333 | 0.823129 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.125 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab8213d99a8dc4b4addf13b3f60074b1e7fb2f88 | 2,117 | py | Python | utils/visualization.py | jonatanbarkan/CausalInference | c58af08811206cc25c7bbc156ef533161ecd3184 | [
"Apache-2.0"
] | null | null | null | utils/visualization.py | jonatanbarkan/CausalInference | c58af08811206cc25c7bbc156ef533161ecd3184 | [
"Apache-2.0"
] | 4 | 2021-06-02T00:56:17.000Z | 2022-01-13T02:08:21.000Z | utils/visualization.py | jonatanbarkan/CausalInference | c58af08811206cc25c7bbc156ef533161ecd3184 | [
"Apache-2.0"
] | null | null | null | import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd
import os
sns.set_style("whitegrid")
def make_separate_plots(logged_values, plot_path: str, model_name: str):
file_path = os.path.join(plot_path, f'{model_name}_accuracy')
fig, ax = plt.subplots(dpi=300)
plot_titles = list(logged_v... | 42.34 | 113 | 0.679735 | 341 | 2,117 | 3.953079 | 0.237537 | 0.093472 | 0.040801 | 0.041543 | 0.81454 | 0.800445 | 0.800445 | 0.800445 | 0.800445 | 0.800445 | 0 | 0.016213 | 0.184223 | 2,117 | 49 | 114 | 43.204082 | 0.764331 | 0.091639 | 0 | 0.307692 | 0 | 0 | 0.088113 | 0.063608 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.102564 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
abb180241ed1d75edbab3cb2d63e3f967b6cb146 | 61 | py | Python | server/webserver/views/resources/__init__.py | htl-anichstrasse/HTLCatcher | de973e9298cb6d8f042792aae99f4cdc7382c0d4 | [
"MIT"
] | 5 | 2019-12-04T09:55:43.000Z | 2020-10-10T19:01:13.000Z | server/webserver/views/resources/__init__.py | bemoty/HTLCatcher | de973e9298cb6d8f042792aae99f4cdc7382c0d4 | [
"MIT"
] | 12 | 2019-11-27T07:15:28.000Z | 2021-07-12T21:17:55.000Z | server/webserver/views/resources/__init__.py | htl-anichstrasse/htl-catcher | de973e9298cb6d8f042792aae99f4cdc7382c0d4 | [
"MIT"
] | null | null | null | from .add import *
from .remove import *
from .fetch import * | 20.333333 | 21 | 0.721311 | 9 | 61 | 4.888889 | 0.555556 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 61 | 3 | 22 | 20.333333 | 0.88 | 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 |
abb8784b30c9310588f63e607def7b09df28ce08 | 50 | py | Python | structures/generation/__init__.py | EladSharony/Mechanics | 078f97bea84114fc1db6fe9700b92b96b18a0d5e | [
"MIT"
] | 24 | 2021-02-23T13:53:14.000Z | 2022-03-29T16:40:56.000Z | structures/generation/__init__.py | EladSharony/Mechanics | 078f97bea84114fc1db6fe9700b92b96b18a0d5e | [
"MIT"
] | 2 | 2021-04-23T12:30:32.000Z | 2022-03-31T10:51:12.000Z | structures/generation/__init__.py | EladSharony/Mechanics | 078f97bea84114fc1db6fe9700b92b96b18a0d5e | [
"MIT"
] | 12 | 2021-04-11T20:44:03.000Z | 2022-03-30T19:23:58.000Z | from .gen_warren import generate_warren_structure
| 25 | 49 | 0.9 | 7 | 50 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.913043 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
abd53381acc5acdf1b8252db3d75451d62416886 | 35 | py | Python | data/__init__.py | phasorhand/PyTorchText | dcadcba44af0c3731b82d9db1c77f2968d4feac0 | [
"MIT"
] | 1,136 | 2017-08-16T08:49:04.000Z | 2022-03-25T09:49:41.000Z | data/__init__.py | LydonL/PyTorchText | dcadcba44af0c3731b82d9db1c77f2968d4feac0 | [
"MIT"
] | 13 | 2017-08-29T10:13:03.000Z | 2019-12-19T05:37:17.000Z | data/__init__.py | LydonL/PyTorchText | dcadcba44af0c3731b82d9db1c77f2968d4feac0 | [
"MIT"
] | 383 | 2017-08-16T08:45:55.000Z | 2022-03-30T06:34:09.000Z | from .fold_dataset import FoldData | 35 | 35 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
f9fde9f01f671f4c1eff239deb358bbd14f24b50 | 88 | py | Python | app/auth/__init__.py | Sundaybrian/crystal-pitches | 283bca14397c1ab3599fce1e236eaa3f9933e009 | [
"MIT"
] | null | null | null | app/auth/__init__.py | Sundaybrian/crystal-pitches | 283bca14397c1ab3599fce1e236eaa3f9933e009 | [
"MIT"
] | null | null | null | app/auth/__init__.py | Sundaybrian/crystal-pitches | 283bca14397c1ab3599fce1e236eaa3f9933e009 | [
"MIT"
] | null | null | null | from flask import Blueprint
auth=Blueprint('auth',__name__)
from . import views,forms | 14.666667 | 31 | 0.784091 | 12 | 88 | 5.416667 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 6 | 32 | 14.666667 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
e6284da10457188f974e741a92076e0fc79a15aa | 61 | py | Python | src/Python3/41078/classfy02.py | umyuu/Sample | 66e8cd725b682db4c9bf93fb80786eea8cbad19d | [
"MIT"
] | null | null | null | src/Python3/41078/classfy02.py | umyuu/Sample | 66e8cd725b682db4c9bf93fb80786eea8cbad19d | [
"MIT"
] | null | null | null | src/Python3/41078/classfy02.py | umyuu/Sample | 66e8cd725b682db4c9bf93fb80786eea8cbad19d | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*
def input_data2():
return None
| 8.714286 | 22 | 0.557377 | 8 | 61 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.262295 | 61 | 6 | 23 | 10.166667 | 0.688889 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
05184d71c4340feab34b844ba7fbeabf7acaf1bd | 28 | py | Python | registry/token/__init__.py | brianhlin/open-science-pool-registry | 7d06e8a893720fe91c7f1cbcbe780106b35effeb | [
"Apache-2.0"
] | null | null | null | registry/token/__init__.py | brianhlin/open-science-pool-registry | 7d06e8a893720fe91c7f1cbcbe780106b35effeb | [
"Apache-2.0"
] | 46 | 2020-05-11T14:20:41.000Z | 2020-09-18T18:15:17.000Z | registry/token/__init__.py | brianhlin/open-science-pool-registry | 7d06e8a893720fe91c7f1cbcbe780106b35effeb | [
"Apache-2.0"
] | 5 | 2020-11-17T16:41:48.000Z | 2022-01-08T16:21:09.000Z | from .views import token_bp
| 14 | 27 | 0.821429 | 5 | 28 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 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 |
05205692cd9db29041cd2e4b6fc303ef292e2554 | 634,564 | py | Python | run_demo.py | leotmc/simcse | e0b62fcef5dadeeef55aef3b640ab219860c201b | [
"MIT"
] | null | null | null | run_demo.py | leotmc/simcse | e0b62fcef5dadeeef55aef3b640ab219860c201b | [
"MIT"
] | null | null | null | run_demo.py | leotmc/simcse | e0b62fcef5dadeeef55aef3b640ab219860c201b | [
"MIT"
] | null | null | null | # # # # run with pytorch
# # # import torch
# # # from scipy.spatial.distance import cosine
# # # from transformers import AutoModel, AutoTokenizer
# # #
# # # # Import our models. The package will take care of downloading the models automatically
# # # tokenizer = AutoTokenizer.from_pretrained("result/unsup-simc... | 1,888.583333 | 92,682 | 0.739519 | 93,695 | 634,564 | 5.005902 | 0.495427 | 0.000269 | 0.000377 | 0.000469 | 0.009061 | 0.008255 | 0.007769 | 0.007594 | 0.00701 | 0.006215 | 0 | 0.788015 | 0.077023 | 634,564 | 335 | 92,683 | 1,894.220896 | 0.012799 | 0.995079 | 0 | 0.108108 | 0 | 0.027027 | 0.138792 | 0.136469 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0.108108 | 0.189189 | 0 | 0.297297 | 0.054054 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0521fd9d2a6ae533551f5fbef36ccbff6d43da00 | 89 | py | Python | Solutions/gigasecond.py | matthijskrul/PythonExercism | 7f0fbd340cf32f7bb88b0c32287729968720ee1c | [
"MIT"
] | null | null | null | Solutions/gigasecond.py | matthijskrul/PythonExercism | 7f0fbd340cf32f7bb88b0c32287729968720ee1c | [
"MIT"
] | null | null | null | Solutions/gigasecond.py | matthijskrul/PythonExercism | 7f0fbd340cf32f7bb88b0c32287729968720ee1c | [
"MIT"
] | null | null | null | import datetime
def add(moment):
return moment + datetime.timedelta(seconds=10**9)
| 14.833333 | 53 | 0.730337 | 12 | 89 | 5.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.157303 | 89 | 5 | 54 | 17.8 | 0.826667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
05334f73aaef1bfb6da9535d7fb43ac60e10c219 | 87 | py | Python | sokoapp/contests/tests/test_app/models.py | Mercy-Nekesa/sokoapp | 6c7bc4c1278b7223226124a49fc33c5b8b6b617a | [
"MIT"
] | 1 | 2019-04-01T05:52:37.000Z | 2019-04-01T05:52:37.000Z | sokoapp/contests/tests/test_app/models.py | Mercy-Nekesa/sokoapp | 6c7bc4c1278b7223226124a49fc33c5b8b6b617a | [
"MIT"
] | 1 | 2015-03-11T16:18:12.000Z | 2015-03-11T16:18:12.000Z | sokoapp/contests/tests/test_app/models.py | Mercy-Nekesa/sokoapp | 6c7bc4c1278b7223226124a49fc33c5b8b6b617a | [
"MIT"
] | null | null | null | from referee.models import TimePeriodBase
class TimePeriod(TimePeriodBase):
pass
| 14.5 | 41 | 0.804598 | 9 | 87 | 7.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 5 | 42 | 17.4 | 0.945946 | 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 |
0579eee2c917b4f2d31a3f3e1666ecb279aece4a | 2,835 | py | Python | cases/migrations/0003_visualcases_visualcountry_visualdeaths_visualrecovered.py | testyourcodenow/core | 05865b02ff7e60ffd3b30652161b3523046b9696 | [
"MIT"
] | 1 | 2020-05-10T06:40:58.000Z | 2020-05-10T06:40:58.000Z | cases/migrations/0003_visualcases_visualcountry_visualdeaths_visualrecovered.py | testyourcodenow/core | 05865b02ff7e60ffd3b30652161b3523046b9696 | [
"MIT"
] | 25 | 2020-05-03T08:10:38.000Z | 2021-09-22T18:59:29.000Z | cases/migrations/0003_visualcases_visualcountry_visualdeaths_visualrecovered.py | testyourcodenow/core | 05865b02ff7e60ffd3b30652161b3523046b9696 | [
"MIT"
] | 10 | 2020-05-03T08:25:56.000Z | 2020-06-03T06:49:34.000Z | # Generated by Django 3.0.6 on 2020-05-27 14:05
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('cases', '0002_auto_20200506_2202'),
]
operations = [
migrations.CreateModel(
name='VisualCountr... | 41.086957 | 121 | 0.549206 | 257 | 2,835 | 5.906615 | 0.252918 | 0.100132 | 0.121212 | 0.137022 | 0.77141 | 0.77141 | 0.77141 | 0.77141 | 0.77141 | 0.77141 | 0 | 0.017312 | 0.307231 | 2,835 | 68 | 122 | 41.691176 | 0.755601 | 0.015873 | 0 | 0.66129 | 1 | 0 | 0.12769 | 0.00825 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.080645 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e984bfa5007be7c3d48abef446cdd58f820f9469 | 72 | py | Python | test.py | masspvn/git_test | c01d7aa3d2c81095691e9007d5715c4a16d132dc | [
"MIT"
] | null | null | null | test.py | masspvn/git_test | c01d7aa3d2c81095691e9007d5715c4a16d132dc | [
"MIT"
] | null | null | null | test.py | masspvn/git_test | c01d7aa3d2c81095691e9007d5715c4a16d132dc | [
"MIT"
] | 1 | 2018-05-27T13:47:13.000Z | 2018-05-27T13:47:13.000Z | # This is a test function
def test_original():
print("Test original")
| 18 | 25 | 0.722222 | 11 | 72 | 4.636364 | 0.727273 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 26 | 24 | 0.85 | 0.319444 | 0 | 0 | 0 | 0 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
758a87f8fa1a92d7624e1a7300b0c35f54aff9a1 | 42 | py | Python | tornado/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 130 | 2015-07-28T03:41:21.000Z | 2022-03-16T03:07:41.000Z | tornado/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 119 | 2015-08-01T00:54:06.000Z | 2021-01-05T13:00:46.000Z | tornado/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 72 | 2015-07-29T02:35:56.000Z | 2022-02-26T14:31:15.000Z | from tornado.httpserver import HTTPServer
| 21 | 41 | 0.880952 | 5 | 42 | 7.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.973684 | 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 |
75db45555eb68147173cb80f8c0908dfedb23120 | 47 | py | Python | analytics/__init__.py | mesarcik/DL4DI | 7bb85c31daff9aab06318879520070ddffa5f439 | [
"Apache-2.0"
] | 1 | 2021-02-17T04:27:49.000Z | 2021-02-17T04:27:49.000Z | analytics/__init__.py | laofei177/DL4DI | 744b9f24bd0b9d02e15362e508eb46ec455be9b7 | [
"Apache-2.0"
] | null | null | null | analytics/__init__.py | laofei177/DL4DI | 744b9f24bd0b9d02e15362e508eb46ec455be9b7 | [
"Apache-2.0"
] | 2 | 2020-09-07T00:46:44.000Z | 2020-12-31T15:08:56.000Z | # INIT FILE
from .svm import get_svm_analytics
| 15.666667 | 34 | 0.808511 | 8 | 47 | 4.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 35 | 23.5 | 0.9 | 0.191489 | 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 |
75e7d350275bd2a5c9d13b2f086e16943db283c7 | 34 | py | Python | pinger/db/__init__.py | aatrubilin/pinger | bef10e09c266889fcdda2a79ddbd9fb944bdaeda | [
"MIT"
] | 5 | 2020-05-29T09:15:07.000Z | 2020-05-29T11:41:40.000Z | pinger/db/__init__.py | aatrubilin/pinger | bef10e09c266889fcdda2a79ddbd9fb944bdaeda | [
"MIT"
] | null | null | null | pinger/db/__init__.py | aatrubilin/pinger | bef10e09c266889fcdda2a79ddbd9fb944bdaeda | [
"MIT"
] | 2 | 2020-09-20T15:30:37.000Z | 2021-03-22T07:08:22.000Z | from .base import init_db, get_db
| 17 | 33 | 0.794118 | 7 | 34 | 3.571429 | 0.857143 | 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 | 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 |
75e8c9563e32d47b2391987d92673903d9f8504b | 254 | py | Python | Connection.py | tantonas/pythonServer | ef41367a69af35dfaf9b2e1d98ffe1f3142de441 | [
"MIT"
] | null | null | null | Connection.py | tantonas/pythonServer | ef41367a69af35dfaf9b2e1d98ffe1f3142de441 | [
"MIT"
] | null | null | null | Connection.py | tantonas/pythonServer | ef41367a69af35dfaf9b2e1d98ffe1f3142de441 | [
"MIT"
] | null | null | null | class Connection:
def __init__(self, unique,ip, hostname):
self.ip = ip
self.hostname = hostname
self.unique = unique
def __str__(self):
return str({"ip":self.ip, "hostname": self.hostname, "unique": self.unique}) | 31.75 | 84 | 0.61811 | 31 | 254 | 4.806452 | 0.322581 | 0.201342 | 0.187919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248032 | 254 | 8 | 84 | 31.75 | 0.780105 | 0 | 0 | 0 | 0 | 0 | 0.062745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ddb0c0878ae3dd0fcbabcea09329562afd4fe037 | 250 | py | Python | src/logChunk/installDependencies.py | saledouble/gitcproc | 009d614fa1a56dc75acb0277ecc98ea27e91750b | [
"BSD-3-Clause"
] | null | null | null | src/logChunk/installDependencies.py | saledouble/gitcproc | 009d614fa1a56dc75acb0277ecc98ea27e91750b | [
"BSD-3-Clause"
] | 3 | 2020-11-12T14:42:22.000Z | 2021-01-13T22:30:23.000Z | src/logChunk/installDependencies.py | saledouble/gitcproc | 009d614fa1a56dc75acb0277ecc98ea27e91750b | [
"BSD-3-Clause"
] | 2 | 2020-11-11T22:27:28.000Z | 2021-01-13T21:07:14.000Z | import os
os.system("pip3 install GitPython")
os.system("pip3 install PyYAML")
os.system("pip3 install nltk")
os.system("python3 -m nltk.downloader stopwords")
os.system("python3 -m nltk.downloader wordnet")
os.system("pip3 install psycopg2-binary")
| 31.25 | 49 | 0.772 | 37 | 250 | 5.216216 | 0.405405 | 0.248705 | 0.248705 | 0.393782 | 0.310881 | 0.310881 | 0 | 0 | 0 | 0 | 0 | 0.030702 | 0.088 | 250 | 7 | 50 | 35.714286 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.624 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb1ecdec580811d1ec9bd2a0618b77e7246e2b98 | 105 | py | Python | ch6/5 interact dropdown.py | PacktPublishing/Learning-Jupyter | 734ef16ade5f9874e5187e483746524a675bf915 | [
"MIT"
] | 11 | 2017-02-02T08:47:32.000Z | 2021-09-15T18:04:01.000Z | ch6/5 interact dropdown.py | PacktPublishing/Learning-Jupyter | 734ef16ade5f9874e5187e483746524a675bf915 | [
"MIT"
] | 2 | 2016-12-02T04:43:11.000Z | 2016-12-02T04:43:57.000Z | ch6/5 interact dropdown.py | PacktPublishing/Learning-Jupyter | 734ef16ade5f9874e5187e483746524a675bf915 | [
"MIT"
] | 8 | 2016-12-02T04:39:10.000Z | 2018-04-01T22:58:19.000Z | from ipywidgets import interact
def myfunction(x):
return x
interact(myfunction, x=('red','green'));
| 21 | 40 | 0.72381 | 14 | 105 | 5.428571 | 0.714286 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 105 | 4 | 41 | 26.25 | 0.835165 | 0 | 0 | 0 | 0 | 0 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
34960fa4a26339626ed99e310585a80818e70ef2 | 118 | py | Python | test/io/test_colvars.py | jakublala/starpolymers | 0ea17eed27bf5846674a93afd143257c74be5e7b | [
"MIT"
] | 6 | 2018-06-21T14:13:39.000Z | 2022-03-24T18:28:40.000Z | test/io/test_colvars.py | jakublala/starpolymers | 0ea17eed27bf5846674a93afd143257c74be5e7b | [
"MIT"
] | 10 | 2020-05-13T23:37:43.000Z | 2022-03-21T12:19:55.000Z | test/io/test_colvars.py | jakublala/starpolymers | 0ea17eed27bf5846674a93afd143257c74be5e7b | [
"MIT"
] | 3 | 2020-07-23T17:15:42.000Z | 2022-03-21T19:43:05.000Z | import starpolymers.io.colvars as colvars
def test_create():
return
if __name__ == '__main__':
test_create() | 16.857143 | 41 | 0.720339 | 15 | 118 | 5 | 0.8 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177966 | 118 | 7 | 42 | 16.857143 | 0.773196 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.6 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
9b2f33d1dab5ca798fd6b5457fc2978d2741e3b1 | 34 | py | Python | pyblazing/apiv2/__init__.py | paulhendricks/pyBlazing | 792d286054ec4ae8a0546d57ef758a60812d24c3 | [
"Apache-2.0"
] | 1 | 2019-08-13T17:14:53.000Z | 2019-08-13T17:14:53.000Z | pyblazing/apiv2/__init__.py | zhw1058/pyBlazing | c0d38d4886c4f3639123fef9dd6ba758739796c7 | [
"Apache-2.0"
] | null | null | null | pyblazing/apiv2/__init__.py | zhw1058/pyBlazing | c0d38d4886c4f3639123fef9dd6ba758739796c7 | [
"Apache-2.0"
] | 1 | 2019-08-13T17:14:44.000Z | 2019-08-13T17:14:44.000Z | from .context import make_context
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9b3711a4fb939f0a50c722b198735ce956fa3703 | 21 | py | Python | example_project/some_modules/third_modules/a190.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a190.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a190.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A190:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9bc061242e89e288381c8f51decfe64c0b75c99e | 42 | py | Python | foundation/backend/controller/__init__.py | tbone255/foundation | ca76fdd9b5345fead2d200f829eb67ba77bc865e | [
"MIT"
] | null | null | null | foundation/backend/controller/__init__.py | tbone255/foundation | ca76fdd9b5345fead2d200f829eb67ba77bc865e | [
"MIT"
] | null | null | null | foundation/backend/controller/__init__.py | tbone255/foundation | ca76fdd9b5345fead2d200f829eb67ba77bc865e | [
"MIT"
] | null | null | null | from .base import *
from .mixins import *
| 14 | 21 | 0.714286 | 6 | 42 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 22 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd04296d1b05a985d19e1b4136854d50622d799b | 25 | py | Python | app/gws/gis/ows/formats/__init__.py | ewie/gbd-websuite | 6f2814c7bb64d11cb5a0deec712df751718fb3e1 | [
"Apache-2.0"
] | 3 | 2020-07-24T10:10:18.000Z | 2022-03-16T10:22:04.000Z | app/gws/gis/ows/formats/__init__.py | ewie/gbd-websuite | 6f2814c7bb64d11cb5a0deec712df751718fb3e1 | [
"Apache-2.0"
] | 28 | 2020-03-03T17:35:58.000Z | 2021-07-12T12:05:47.000Z | app/gws/gis/ows/formats/__init__.py | ewie/gbd-websuite | 6f2814c7bb64d11cb5a0deec712df751718fb3e1 | [
"Apache-2.0"
] | 1 | 2021-02-22T14:32:10.000Z | 2021-02-22T14:32:10.000Z | from .reader import read
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd1d5c75a3a62125e830256fc8e3446e8bba7601 | 22 | py | Python | SPGPylibs/PHItools/cmilos/__init__.py | vivivum/SPGPylibs | 29b3ecd4de522fe98dd423928a861d9bc75f2c18 | [
"MIT"
] | 3 | 2021-04-22T10:10:49.000Z | 2021-10-19T09:11:34.000Z | SPGPylibs/PHItools/cmilos/__init__.py | vivivum/SPGPylibs | 29b3ecd4de522fe98dd423928a861d9bc75f2c18 | [
"MIT"
] | null | null | null | SPGPylibs/PHItools/cmilos/__init__.py | vivivum/SPGPylibs | 29b3ecd4de522fe98dd423928a861d9bc75f2c18 | [
"MIT"
] | 3 | 2021-04-22T10:15:58.000Z | 2022-03-11T18:48:47.000Z | from .pymilos import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd28de1a9ce8108223d8442cfcbfe4e99046b99e | 2,795 | py | Python | tests/test_fn.py | shigeyukioba/matchernet | 5aec7abd3b157846ca406e3c5103e3a1bebc711e | [
"Apache-2.0"
] | 1 | 2020-02-26T13:34:23.000Z | 2020-02-26T13:34:23.000Z | tests/test_fn.py | shigeyukioba/matchernet | 5aec7abd3b157846ca406e3c5103e3a1bebc711e | [
"Apache-2.0"
] | 39 | 2019-11-28T07:48:48.000Z | 2020-05-23T14:13:38.000Z | tests/test_fn.py | shigeyukioba/matchernet | 5aec7abd3b157846ca406e3c5103e3a1bebc711e | [
"Apache-2.0"
] | 1 | 2020-05-22T05:11:14.000Z | 2020-05-22T05:11:14.000Z | import unittest
import numpy as np
from matchernet.fn import LinearFn, LinearFnXU
class TestLinearFn(unittest.TestCase):
def setUp(self):
self.x = np.array([10, 20, 30], dtype=np.float32)
self.test_A_patterns = [
np.array([[1, 2, 3], [4, 5, 6]], dtype=np.float32),
np.array... | 37.266667 | 90 | 0.557424 | 408 | 2,795 | 3.639706 | 0.151961 | 0.056566 | 0.113131 | 0.080135 | 0.835017 | 0.82963 | 0.802694 | 0.783838 | 0.783838 | 0.783838 | 0 | 0.046891 | 0.298032 | 2,795 | 74 | 91 | 37.77027 | 0.70999 | 0 | 0 | 0.532258 | 0 | 0 | 0.002862 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 1 | 0.112903 | false | 0 | 0.048387 | 0 | 0.193548 | 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 |
fd29f602fa879061823bb996d136f3494cdcded3 | 164 | py | Python | src/pyprerender/__init__.py | thingiesmm/pyprerender | b990e2916977fe7281b97d505e3c3e7b7777fa96 | [
"MIT"
] | 3 | 2020-07-28T17:19:09.000Z | 2020-09-11T01:56:42.000Z | src/pyprerender/__init__.py | thingiesmm/pyprerender | b990e2916977fe7281b97d505e3c3e7b7777fa96 | [
"MIT"
] | null | null | null | src/pyprerender/__init__.py | thingiesmm/pyprerender | b990e2916977fe7281b97d505e3c3e7b7777fa96 | [
"MIT"
] | null | null | null | from pyprerender.Chrome import Chrome
from pyprerender.BaseEventHandler import BaseEventHandler
from pyprerender.ParseHTMLEventHandler import ParseHTMLEventHandler
| 41 | 67 | 0.908537 | 15 | 164 | 9.933333 | 0.4 | 0.302013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 164 | 3 | 68 | 54.666667 | 0.980263 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.