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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eeb92568acbeb085fdd7abb46fd384c3584021b6 | 110 | py | Python | contests/aizu/itp1/1d.py | conao3/coder | 2cdb610fec013da88a3470d460108e8a9b462445 | [
"CC0-1.0"
] | null | null | null | contests/aizu/itp1/1d.py | conao3/coder | 2cdb610fec013da88a3470d460108e8a9b462445 | [
"CC0-1.0"
] | null | null | null | contests/aizu/itp1/1d.py | conao3/coder | 2cdb610fec013da88a3470d460108e8a9b462445 | [
"CC0-1.0"
] | null | null | null | S = int(input())
s = S % 60
S = S // 60
m = S % 60
S = S // 60
h = S
print(':'.join(map(str, [h, m, s])))
| 9.166667 | 36 | 0.409091 | 24 | 110 | 1.875 | 0.416667 | 0.266667 | 0.266667 | 0.222222 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.309091 | 110 | 11 | 37 | 10 | 0.486842 | 0 | 0 | 0.285714 | 0 | 0 | 0.009091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eedbcd017382ab06e7a203a5c6bf5b288d0c424d | 3,367 | py | Python | Audit_MLE_functions.py | LeonardMK/Microeconometrics | 66fcfca32e97f777504f90420cf297b14525f7e5 | [
"MIT"
] | null | null | null | Audit_MLE_functions.py | LeonardMK/Microeconometrics | 66fcfca32e97f777504f90420cf297b14525f7e5 | [
"MIT"
] | null | null | null | Audit_MLE_functions.py | LeonardMK/Microeconometrics | 66fcfca32e97f777504f90420cf297b14525f7e5 | [
"MIT"
] | null | null | null |
# coding: utf-8
# In[1]:
import pandas as pd
import scipy as sp
import numpy as np
# In[198]:
# Implementation of objective function 1
def objfun1(theta, tstar, Ts, months, years, ds):
logps = np.repeat(0, len(Ts))
logps = logps.astype("double")
for i in range(len(Ts)):
T ... | 25.315789 | 131 | 0.468072 | 492 | 3,367 | 3.138211 | 0.150407 | 0.11658 | 0.132124 | 0.071244 | 0.859456 | 0.859456 | 0.851684 | 0.846503 | 0.837435 | 0.829663 | 0 | 0.049383 | 0.374517 | 3,367 | 132 | 132 | 25.507576 | 0.683761 | 0.054054 | 0 | 0.644068 | 0 | 0 | 0.009458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101695 | false | 0 | 0.050847 | 0 | 0.254237 | 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 |
eee181aaca84ee63e5adc9b9fd3510519fad6ce5 | 797 | py | Python | lib/webtest/__init__.py | zenlambda/aeta | 3781ac916be069a1d01eaa8b2a42375b689a82fe | [
"Apache-2.0"
] | 1 | 2015-07-22T15:58:06.000Z | 2015-07-22T15:58:06.000Z | lib/webtest/__init__.py | agostodev/agar | 66b7937a35ae93717d5e9683c7dc7c80c4bcc5d6 | [
"MIT"
] | 1 | 2016-04-19T13:03:17.000Z | 2016-04-19T13:03:17.000Z | lib/webtest/__init__.py | agostodev/agar | 66b7937a35ae93717d5e9683c7dc7c80c4bcc5d6 | [
"MIT"
] | null | null | null | # (c) 2005 Ian Bicking and contributors; written for Paste
# (http://pythonpaste.org)
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license.php
"""
Routines for testing WSGI applications.
Most interesting is app
"""
from webtest.app import TestApp
from webtest.app import TestRequest
from ... | 26.566667 | 58 | 0.811794 | 119 | 797 | 5.436975 | 0.428571 | 0.289026 | 0.302937 | 0.432767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005764 | 0.129235 | 797 | 29 | 59 | 27.482759 | 0.926513 | 0.288582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e10b21743a763af52fcc098588293bb65b2d49bf | 2,283 | py | Python | tests/test_mqtt.py | madron/mqttassistant | a6e40612b74e60585fd612785da1f2ba81f11881 | [
"MIT"
] | null | null | null | tests/test_mqtt.py | madron/mqttassistant | a6e40612b74e60585fd612785da1f2ba81f11881 | [
"MIT"
] | null | null | null | tests/test_mqtt.py | madron/mqttassistant | a6e40612b74e60585fd612785da1f2ba81f11881 | [
"MIT"
] | 2 | 2022-02-04T15:29:37.000Z | 2022-02-05T16:56:33.000Z | import unittest
from mqttassistant.dispatch import Signal
from mqttassistant.mqtt import Mqtt
from .test import Callback
class MqttTest(unittest.IsolatedAsyncioTestCase):
async def test_topic_signal_connect(self):
signal = Signal()
mqtt = Mqtt(topic_signal=signal)
with self.assertLogs('Mqt... | 47.5625 | 89 | 0.629435 | 233 | 2,283 | 6.085837 | 0.188841 | 0.100846 | 0.098731 | 0.084626 | 0.801834 | 0.769394 | 0.769394 | 0.769394 | 0.711566 | 0.59591 | 0 | 0 | 0.251862 | 2,283 | 47 | 90 | 48.574468 | 0.830211 | 0.051248 | 0 | 0.780488 | 0 | 0 | 0.216466 | 0.076781 | 0 | 0 | 0 | 0 | 0.292683 | 1 | 0 | false | 0 | 0.097561 | 0 | 0.121951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
01489eba904532dd22ea3beae51ddac2e5c5413e | 47 | py | Python | src/mean.py | bdavies3/Calculator | ea524e141e19d8e6894b55d9ee72f07c3005f914 | [
"MIT"
] | null | null | null | src/mean.py | bdavies3/Calculator | ea524e141e19d8e6894b55d9ee72f07c3005f914 | [
"MIT"
] | null | null | null | src/mean.py | bdavies3/Calculator | ea524e141e19d8e6894b55d9ee72f07c3005f914 | [
"MIT"
] | null | null | null | def mean(data):
mean = data
return mean | 15.666667 | 15 | 0.617021 | 7 | 47 | 4.142857 | 0.571429 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297872 | 47 | 3 | 16 | 15.666667 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
01723e88074d0db7e53e189ef8810f4e3ac05a87 | 20 | py | Python | models/gcn/__init__.py | NIRVANALAN/Centroid_GCN | e93ec415d769cc3b1bbf737056097e8cbe65ded5 | [
"MIT"
] | 3 | 2020-11-12T07:00:20.000Z | 2021-07-12T02:56:41.000Z | models/gcn/__init__.py | NIRVANALAN/Centroid_GCN | e93ec415d769cc3b1bbf737056097e8cbe65ded5 | [
"MIT"
] | null | null | null | models/gcn/__init__.py | NIRVANALAN/Centroid_GCN | e93ec415d769cc3b1bbf737056097e8cbe65ded5 | [
"MIT"
] | null | null | null | from .gcn import GCN | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 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 |
0179a8e536fec66e7140011357ec2be8bce19d97 | 173 | py | Python | dz/models/__init__.py | ivandeex/dz | 15a010f99f9cf3e6b2f9bcba6eb52bed2dfc13a9 | [
"MIT"
] | 2 | 2016-09-15T20:38:12.000Z | 2016-11-01T05:40:13.000Z | dz/models/__init__.py | ivandeex/dz | 15a010f99f9cf3e6b2f9bcba6eb52bed2dfc13a9 | [
"MIT"
] | null | null | null | dz/models/__init__.py | ivandeex/dz | 15a010f99f9cf3e6b2f9bcba6eb52bed2dfc13a9 | [
"MIT"
] | null | null | null | from .crawl import Crawl # NOQA
from .schedule import Schedule # NOQA
from .news import News, NewsText # NOQA
from .tip import Tip # NOQA
from .user import User # NOQA
| 28.833333 | 40 | 0.728324 | 26 | 173 | 4.846154 | 0.346154 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208092 | 173 | 5 | 41 | 34.6 | 0.919708 | 0.138728 | 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 |
6dfead19e62f25c67a3eeb477bb2cc736f2a1d1a | 180 | py | Python | routes/index.py | theevann/notebook-progress-tracker | 0fb82f64d3b5157a88aef3e1a2b392ad1b426cff | [
"Apache-2.0"
] | 3 | 2020-08-12T01:52:48.000Z | 2021-02-24T15:03:32.000Z | routes/index.py | theevann/notebook-progress-tracker | 0fb82f64d3b5157a88aef3e1a2b392ad1b426cff | [
"Apache-2.0"
] | null | null | null | routes/index.py | theevann/notebook-progress-tracker | 0fb82f64d3b5157a88aef3e1a2b392ad1b426cff | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint, render_template
index_bp = Blueprint('index', __name__)
@index_bp.route('/', methods=["GET"])
def index():
return render_template("index.html")
| 20 | 44 | 0.722222 | 23 | 180 | 5.304348 | 0.652174 | 0.229508 | 0.311475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 180 | 8 | 45 | 22.5 | 0.772152 | 0 | 0 | 0 | 0 | 0 | 0.105556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
098dddba8b55fd89e9998bff0d4bcdb29b2c55e9 | 185 | py | Python | pcachefs/__init__.py | pcram-techcyte/pcachefs | bc7fd93b41beb59b44d5e946ccd755c7f64ff059 | [
"Apache-2.0"
] | 38 | 2016-07-21T18:10:03.000Z | 2022-02-11T20:37:44.000Z | pcachefs/__init__.py | pcram-techcyte/pcachefs | bc7fd93b41beb59b44d5e946ccd755c7f64ff059 | [
"Apache-2.0"
] | 4 | 2015-09-22T14:07:10.000Z | 2018-10-13T17:53:39.000Z | pcachefs/__init__.py | ibizaman/pcachefs | dce69058037db3f336c475bb39abb2d526efb759 | [
"Apache-2.0"
] | 10 | 2016-02-01T02:50:44.000Z | 2020-07-22T17:45:14.000Z | """
pcachefs package.
"""
from pcachefs import main
from pcachefs import FuseStat
from pcachefs import PersistentCacheFs
from pcachefs import Cacher
from pcachefs import UnderlyingFs
| 16.818182 | 38 | 0.821622 | 22 | 185 | 6.909091 | 0.409091 | 0.394737 | 0.592105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140541 | 185 | 10 | 39 | 18.5 | 0.955975 | 0.091892 | 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 | 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 |
09afdb7e45de2d3f0c4c531667b9378dbb5a83cf | 241 | py | Python | telegram_bot_api/schemas/VenueSchema.py | IsVir/telegram-bot-api | 927e96452ad0c62ebae71304f13e5d34121b2ca9 | [
"MIT"
] | null | null | null | telegram_bot_api/schemas/VenueSchema.py | IsVir/telegram-bot-api | 927e96452ad0c62ebae71304f13e5d34121b2ca9 | [
"MIT"
] | null | null | null | telegram_bot_api/schemas/VenueSchema.py | IsVir/telegram-bot-api | 927e96452ad0c62ebae71304f13e5d34121b2ca9 | [
"MIT"
] | null | null | null | from marshmallow import Schema, fields
class VenueSchema(Schema):
location = fields.Nested('LocationSchema', required=True)
title = fields.Str(required=True)
address = fields.Str(required=True)
foursquare_id = fields.Str()
| 26.777778 | 61 | 0.73444 | 28 | 241 | 6.285714 | 0.607143 | 0.204545 | 0.193182 | 0.238636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157676 | 241 | 8 | 62 | 30.125 | 0.866995 | 0 | 0 | 0 | 0 | 0 | 0.058091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
09cd5395b877dc546d43958f529d9a908a8f4af8 | 2,166 | py | Python | epytope/Data/pssms/tepitopepan/mat/DRB1_0473_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_0473_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_0473_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | DRB1_0473_9 = {0: {'A': -999.0, 'E': -999.0, 'D': -999.0, 'G': -999.0, 'F': -0.98558, 'I': -0.014418, 'H': -999.0, 'K': -999.0, 'M': -0.014418, 'L': -0.014418, 'N': -999.0, 'Q': -999.0, 'P': -999.0, 'S': -999.0, 'R': -999.0, 'T': -999.0, 'W': -0.98558, 'V': -0.014418, 'Y': -0.98558}, 1: {'A': 0.0, 'E': 0.1, 'D': -1.3, ... | 2,166 | 2,166 | 0.395199 | 525 | 2,166 | 1.626667 | 0.201905 | 0.114754 | 0.028103 | 0.037471 | 0.21897 | 0.142857 | 0.142857 | 0.142857 | 0.133489 | 0.133489 | 0 | 0.374862 | 0.162512 | 2,166 | 1 | 2,166 | 2,166 | 0.095921 | 0 | 0 | 0 | 0 | 0 | 0.078911 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
09dfeddf63b649c8b2d03e46ebb6a5a2e80e21a0 | 241 | py | Python | weather/admin.py | dhruvil410/Django-Weather-Web-App | 3f70bdb94d9aa7f387c04ab70b0ed8d07f15ec95 | [
"MIT"
] | 1 | 2021-01-04T17:10:00.000Z | 2021-01-04T17:10:00.000Z | weather/admin.py | dhruvil410/Django-Weather-Web-App | 3f70bdb94d9aa7f387c04ab70b0ed8d07f15ec95 | [
"MIT"
] | null | null | null | weather/admin.py | dhruvil410/Django-Weather-Web-App | 3f70bdb94d9aa7f387c04ab70b0ed8d07f15ec95 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import city,country,hourly_forecast_log,daily_forecast_log
admin.site.register(city)
admin.site.register(country)
admin.site.register(hourly_forecast_log)
admin.site.register(daily_forecast_log) | 34.428571 | 71 | 0.863071 | 36 | 241 | 5.555556 | 0.388889 | 0.22 | 0.34 | 0.2 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049793 | 241 | 7 | 72 | 34.428571 | 0.873362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
61ffae73c56e26af033b0652bf777f29712fc545 | 45 | py | Python | standard-lib-date.py | jepster/python_basics_learning_scripts | 863170e86c5a375b4f1455b4c87c2d6a9727a7f8 | [
"MIT"
] | null | null | null | standard-lib-date.py | jepster/python_basics_learning_scripts | 863170e86c5a375b4f1455b4c87c2d6a9727a7f8 | [
"MIT"
] | null | null | null | standard-lib-date.py | jepster/python_basics_learning_scripts | 863170e86c5a375b4f1455b4c87c2d6a9727a7f8 | [
"MIT"
] | null | null | null | import datetime
print(datetime.date.today()) | 15 | 28 | 0.8 | 6 | 45 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 3 | 28 | 15 | 0.857143 | 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 |
11107a1247bc1206dabcad5fc80a2fa23917c7fa | 109 | py | Python | webplane/__main__.py | joaompinto/webplane | 87c4132421ac249a4945dbc5fe43b3b904cd3286 | [
"MIT"
] | null | null | null | webplane/__main__.py | joaompinto/webplane | 87c4132421ac249a4945dbc5fe43b3b904cd3286 | [
"MIT"
] | null | null | null | webplane/__main__.py | joaompinto/webplane | 87c4132421ac249a4945dbc5fe43b3b904cd3286 | [
"MIT"
] | 1 | 2020-04-20T11:27:52.000Z | 2020-04-20T11:27:52.000Z | import appframe
from webplane.version import version
appframe.main(__name__, __file__, "webplane", version) | 21.8 | 54 | 0.816514 | 13 | 109 | 6.230769 | 0.615385 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100917 | 109 | 5 | 54 | 21.8 | 0.826531 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1165614e9890302ddfed04edde7bf1c4a239ea28 | 17,517 | py | Python | project_automation/commands/utils.py | Guigui14460/project-automation | 98f9b73be2000b0ecb07b1cca758693c29032947 | [
"Apache-2.0"
] | null | null | null | project_automation/commands/utils.py | Guigui14460/project-automation | 98f9b73be2000b0ecb07b1cca758693c29032947 | [
"Apache-2.0"
] | 2 | 2021-01-17T16:04:03.000Z | 2021-08-13T13:00:49.000Z | project_automation/commands/utils.py | Guigui14460/project-automation | 98f9b73be2000b0ecb07b1cca758693c29032947 | [
"Apache-2.0"
] | null | null | null | import sys
from typing import NoReturn
from project_automation.settings import SHELL_COLORS
from project_automation.utils import execute_command, execute_command2
class WindowsInstallationPackage:
"""
Windows package installer shortcut.
It allows users to install or give information to install packages/p... | 51.369501 | 245 | 0.618199 | 2,060 | 17,517 | 5.085922 | 0.081068 | 0.040947 | 0.02663 | 0.038179 | 0.853775 | 0.837263 | 0.820655 | 0.812828 | 0.773218 | 0.73418 | 0 | 0.004128 | 0.308557 | 17,517 | 340 | 246 | 51.520588 | 0.860882 | 0.296398 | 0 | 0.544041 | 0 | 0.046632 | 0.264724 | 0.110504 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031088 | false | 0 | 0.020725 | 0 | 0.067358 | 0.139896 | 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 |
fec1732d41fe7ee5aa2278ade22770c88bc3b627 | 179 | py | Python | devel/apps/ik/utils/compressor.py | riscoscloverleaf/chatcube | a7184ef76108f90a74a88d3183a3d21c1249a0f5 | [
"MIT"
] | null | null | null | devel/apps/ik/utils/compressor.py | riscoscloverleaf/chatcube | a7184ef76108f90a74a88d3183a3d21c1249a0f5 | [
"MIT"
] | null | null | null | devel/apps/ik/utils/compressor.py | riscoscloverleaf/chatcube | a7184ef76108f90a74a88d3183a3d21c1249a0f5 | [
"MIT"
] | null | null | null | from django.conf import settings
from django.utils.encoding import force_text
def ik_cachekey(key):
return 'ik_compressor.{}.{}'.format(settings.APP_VERSION, force_text(key)) | 35.8 | 78 | 0.787709 | 26 | 179 | 5.230769 | 0.692308 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094972 | 179 | 5 | 78 | 35.8 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0.105556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
28a65f14057afd2bf756df084ded171a7d945b24 | 1,387 | py | Python | crypto/Fermat/solve.py | Enigmatrix/hats-ctf-2019 | 0dc1b9a5a4583c81b5f1b7bce0cbb9bd0fd2b192 | [
"MIT"
] | 5 | 2019-10-04T07:20:37.000Z | 2021-06-15T21:34:07.000Z | crypto/Fermat/solve.py | Enigmatrix/hats-ctf-2019 | 0dc1b9a5a4583c81b5f1b7bce0cbb9bd0fd2b192 | [
"MIT"
] | null | null | null | crypto/Fermat/solve.py | Enigmatrix/hats-ctf-2019 | 0dc1b9a5a4583c81b5f1b7bce0cbb9bd0fd2b192 | [
"MIT"
] | null | null | null | from pwn import *
from gmpy2 import lcm,iroot,invert
def fermat(n, verbose=True):
a = iroot(n,2)[0]+1
b = a*a - n
while not iroot(b,2)[1]:
a = a + 1
b = a*a - n
b = iroot(b,2)[0]
p = a + b
q = a - b
return p, q
n = 0x6216bfea994a31f3a352e8f162b1b6896025ba91188a458daa0aa758d... | 63.045455 | 517 | 0.868061 | 78 | 1,387 | 15.435897 | 0.410256 | 0.004983 | 0.004983 | 0.006645 | 0.008306 | 0 | 0 | 0 | 0 | 0 | 0 | 0.529827 | 0.081471 | 1,387 | 21 | 518 | 66.047619 | 0.415228 | 0 | 0 | 0.111111 | 0 | 0 | 0.002163 | 0 | 0 | 1 | 0.739005 | 0 | 0 | 0 | null | null | 0 | 0.111111 | null | null | 0.055556 | 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 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
28bb4287d7247950608efa0619ae7ba536b107e1 | 321 | py | Python | pykotor/resource/formats/gff/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | 1 | 2022-02-21T15:17:28.000Z | 2022-02-21T15:17:28.000Z | pykotor/resource/formats/gff/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | 1 | 2022-03-12T16:06:23.000Z | 2022-03-12T16:06:23.000Z | pykotor/resource/formats/gff/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | null | null | null | from pykotor.resource.formats.gff.data import GFF, GFFList, GFFStruct, GFFFieldType, GFFContent
from pykotor.resource.formats.gff.io_binary import GFFBinaryReader, GFFBinaryWriter
from pykotor.resource.formats.gff.io_xml import GFFXMLReader, GFFXMLWriter
from pykotor.resource.formats.gff.auto import write_gff, load_gff... | 64.2 | 95 | 0.856698 | 43 | 321 | 6.302326 | 0.488372 | 0.162362 | 0.280443 | 0.383764 | 0.442804 | 0.228782 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071651 | 321 | 4 | 96 | 80.25 | 0.909396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e90efc63f66bcf28c22b43a597645366f740e53f | 6,085 | py | Python | datasets/tods_datasets.py | 1326899446/tods | 2bf27fab2d8bab80ec222beb8f615800d77a01a4 | [
"Apache-2.0"
] | 544 | 2020-09-21T06:02:33.000Z | 2022-03-27T07:16:32.000Z | datasets/tods_datasets.py | 1326899446/tods | 2bf27fab2d8bab80ec222beb8f615800d77a01a4 | [
"Apache-2.0"
] | 35 | 2020-09-21T06:33:13.000Z | 2022-03-11T14:20:21.000Z | datasets/tods_datasets.py | 1326899446/tods | 2bf27fab2d8bab80ec222beb8f615800d77a01a4 | [
"Apache-2.0"
] | 86 | 2020-09-21T16:44:33.000Z | 2022-03-11T18:20:22.000Z | import os
import pandas as pd
from tods_dataset_base import TODS_dataset
from shutil import copyfile
class kpi_dataset(TODS_dataset):
resources = [
# ("http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz", "f68b3c2dcbeaaa9fbdd348bbdeb94873"),
# ("https://github.com/datamllab/tods/blob/mast... | 52.008547 | 216 | 0.721446 | 814 | 6,085 | 5.179361 | 0.133907 | 0.029886 | 0.04981 | 0.069734 | 0.959203 | 0.959203 | 0.959203 | 0.927182 | 0.927182 | 0.893264 | 0 | 0.007947 | 0.152177 | 6,085 | 116 | 217 | 52.456897 | 0.809265 | 0.308299 | 0 | 0.676056 | 0 | 0.028169 | 0.226816 | 0.022467 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042254 | false | 0 | 0.056338 | 0 | 0.352113 | 0.084507 | 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 |
3a604e6df47b1fb935e39664cfc80c3ca61f5a30 | 130 | py | Python | app/helpers.py | Icoqu/SecretShare | 1b0c25c3cc64803157499d2c62870254d32b3022 | [
"MIT"
] | null | null | null | app/helpers.py | Icoqu/SecretShare | 1b0c25c3cc64803157499d2c62870254d32b3022 | [
"MIT"
] | 206 | 2020-05-23T18:44:20.000Z | 2022-03-31T19:11:25.000Z | app/helpers.py | Icoqu/SecretShare | 1b0c25c3cc64803157499d2c62870254d32b3022 | [
"MIT"
] | null | null | null | from flask import flash as flask_flash
def flash(message: str, category: str = 'info'): flask_flash(message, category=category)
| 26 | 88 | 0.769231 | 19 | 130 | 5.157895 | 0.526316 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130769 | 130 | 4 | 89 | 32.5 | 0.867257 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3aa561e3fd33810511e8c86e5a2fe06a7acd7fda | 37,832 | py | Python | instances/passenger_demand/pas-20210421-2109-int8e-1/67.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int8e-1/67.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int8e-1/67.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 1910
passenger_arriving = (
(2, 5, 3, 4, 1, 0, 8, 3, 2, 5, 0, 0), # 0
(2, 3, 9, 2, 2, 0, 3, 7, 5, 0, 2, 0), # 1
(1, 3, 3, 3, 0, 0, 4, 3, 4, 0, 0, 0), # 2
(4, 5, 2, 3, 0, 0, 4, 3, 6, 1, 2, 0), # 3
(2, 3, 3, 6, 1, 0, 4, 3, 3, 3, 2, 0), # 4
(1, 8, 1, 4, 1, 0, 2, 4, 6, 3, 2,... | 112.931343 | 216 | 0.728695 | 5,147 | 37,832 | 5.353993 | 0.210025 | 0.313532 | 0.248213 | 0.470298 | 0.333128 | 0.329354 | 0.328918 | 0.328918 | 0.328338 | 0.328338 | 0 | 0.818717 | 0.119317 | 37,832 | 334 | 217 | 113.269461 | 0.008374 | 0.03201 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aae8d279b0569ba27edd589cbd62b86ac1b99c6a | 72 | py | Python | manual/models/__init__.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 5 | 2021-01-14T03:34:42.000Z | 2022-03-07T15:34:18.000Z | manual/models/__init__.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 551 | 2020-10-19T00:02:38.000Z | 2022-03-30T02:18:22.000Z | manual/models/__init__.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | null | null | null | from .deployment_models import *
from .manual_migration_models import *
| 24 | 38 | 0.833333 | 9 | 72 | 6.333333 | 0.666667 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 39 | 36 | 0.890625 | 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 |
aaf946043f8671de972d1b04ac1434fe19d0c6a9 | 2,229 | py | Python | stripstream/pddl/logic/formulas.py | nishadg246/stripstream-ivan-nishad | 9a275ae5836ee289cd09cbe6bc0ff6fd4a381135 | [
"MIT"
] | null | null | null | stripstream/pddl/logic/formulas.py | nishadg246/stripstream-ivan-nishad | 9a275ae5836ee289cd09cbe6bc0ff6fd4a381135 | [
"MIT"
] | null | null | null | stripstream/pddl/logic/formulas.py | nishadg246/stripstream-ivan-nishad | 9a275ae5836ee289cd09cbe6bc0ff6fd4a381135 | [
"MIT"
] | null | null | null | from stripstream.utils import flatten
# TODO - check if the quantified variables are used in children
class Formula(object):
def is_valid_condition(self):
return isinstance(self, Condition) and all(f.is_valid_condition() for f in self.get_formulas())
def is_valid_effect(self):
return isinstance(self, Effe... | 42.865385 | 118 | 0.73127 | 264 | 2,229 | 6.060606 | 0.30303 | 0.285 | 0.219375 | 0.1575 | 0.386875 | 0.289375 | 0.233125 | 0.03375 | 0 | 0 | 0 | 0 | 0.138179 | 2,229 | 52 | 119 | 42.865385 | 0.8329 | 0.184388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0 | 1 | 0.7 | false | 0 | 0.033333 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c94639c740e8273b2153f837694ba43282f14e13 | 47 | py | Python | selective_search/__init__.py | wahid18benz/selective_search | e928ecbb8e6f64adca3fb00d9b283c4720fb227b | [
"MIT"
] | 34 | 2019-10-06T18:47:22.000Z | 2022-03-24T19:22:53.000Z | selective_search/__init__.py | wahid18benz/selective_search | e928ecbb8e6f64adca3fb00d9b283c4720fb227b | [
"MIT"
] | 5 | 2020-05-10T06:55:49.000Z | 2022-02-09T02:15:50.000Z | selective_search/__init__.py | wahid18benz/selective_search | e928ecbb8e6f64adca3fb00d9b283c4720fb227b | [
"MIT"
] | 15 | 2020-02-03T06:05:15.000Z | 2022-02-08T11:14:07.000Z | from .core import selective_search, box_filter
| 23.5 | 46 | 0.851064 | 7 | 47 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c98608844e164b723d652d3e9e4f29a259d37dbe | 90 | py | Python | py_greet/version.py | templ-project/python-app | 7a5f21df4774f4787963dfa0c9dc491a4cc9473c | [
"MIT"
] | null | null | null | py_greet/version.py | templ-project/python-app | 7a5f21df4774f4787963dfa0c9dc491a4cc9473c | [
"MIT"
] | 11 | 2019-08-13T06:03:43.000Z | 2020-07-05T18:08:13.000Z | py_greet/version.py | templ-project/python-app | 7a5f21df4774f4787963dfa0c9dc491a4cc9473c | [
"MIT"
] | null | null | null | """version handler"""
def get_static_version():
"""Static Version"""
return '0.0.1'
| 12.857143 | 25 | 0.633333 | 12 | 90 | 4.583333 | 0.666667 | 0.472727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.155556 | 90 | 6 | 26 | 15 | 0.684211 | 0.333333 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a309f2fc37f4601f4d6248321db2f5008d45d10e | 66 | py | Python | py_tdlib/constructors/test_call_empty.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/test_call_empty.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/test_call_empty.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Method
class testCallEmpty(Method):
pass
| 11 | 28 | 0.772727 | 8 | 66 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 66 | 5 | 29 | 13.2 | 0.910714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a3297a2335da9046f6a3b59d54204d2e520eb6fe | 3,517 | py | Python | pushno/schemas/pushoverschema.py | keans/pushno | 4ddab55121234e0e29321e3b31ed570496274091 | [
"MIT"
] | 1 | 2021-07-16T06:30:29.000Z | 2021-07-16T06:30:29.000Z | pushno/schemas/pushoverschema.py | keans/pushno | 4ddab55121234e0e29321e3b31ed570496274091 | [
"MIT"
] | 1 | 2021-05-03T15:04:18.000Z | 2021-05-03T16:55:51.000Z | pushno/schemas/pushoverschema.py | keans/pushno | 4ddab55121234e0e29321e3b31ed570496274091 | [
"MIT"
] | null | null | null | from pushno.consts.pushoverconsts import LOWEST_PRIORITY, LOW_PRIORITY, \
NORMAL_PRIORITY, HIGH_PRIORIRY, EMERGENCY_PRIORITY, \
PUSHOVER_SOUND, BIKE_SOUND, BUGLE_SOUND, \
CASHREGISTER_SOUND, CLASSICAL_SOUND, COSMIC_SOUND, \
FALLING_SOUND, GAMELAN_SOUND, INCOMING_SOUND, \
INTERMISSION_SOUND, MAGIC_SO... | 26.443609 | 73 | 0.499005 | 326 | 3,517 | 5.193252 | 0.236196 | 0.076787 | 0.138216 | 0.108683 | 0.904903 | 0.898996 | 0.879504 | 0.808033 | 0.808033 | 0.777318 | 0 | 0.027438 | 0.326415 | 3,517 | 132 | 74 | 26.643939 | 0.68721 | 0.048052 | 0 | 0.586777 | 0 | 0.008264 | 0.230838 | 0.023353 | 0 | 0 | 0 | 0.007576 | 0 | 1 | 0 | false | 0 | 0.008264 | 0 | 0.008264 | 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 |
a336763ba0e434aa7ca66539c19b8e4f7e1faca9 | 137 | py | Python | numereval/__init__.py | parmarsuraj99/numereval | 77fedbb4d985a0ae63f5c7b7510ca3e5ae1daff1 | [
"MIT"
] | 24 | 2020-12-25T19:17:29.000Z | 2021-09-11T23:32:40.000Z | numereval/__init__.py | marianotir/numereval | 77fedbb4d985a0ae63f5c7b7510ca3e5ae1daff1 | [
"MIT"
] | 2 | 2021-01-21T03:19:52.000Z | 2021-04-15T05:41:16.000Z | numereval/__init__.py | marianotir/numereval | 77fedbb4d985a0ae63f5c7b7510ca3e5ae1daff1 | [
"MIT"
] | 3 | 2020-12-23T19:41:34.000Z | 2021-08-12T18:46:17.000Z | from numereval.numereval import evaluate, diagnostics
from numereval.signalseval import run_analytics
from numereval.scores import score
| 34.25 | 53 | 0.875912 | 17 | 137 | 7 | 0.588235 | 0.327731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094891 | 137 | 3 | 54 | 45.666667 | 0.959677 | 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 |
a338776b727dfce65deee7128d5ba86f94631b39 | 254 | py | Python | bitmovin_api_sdk/encoding/inputs/gcs/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/inputs/gcs/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/inputs/gcs/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.inputs.gcs.gcs_api import GcsApi
from bitmovin_api_sdk.encoding.inputs.gcs.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.inputs.gcs.gcs_input_list_query_params import GcsInputListQueryParams
| 63.5 | 100 | 0.901575 | 37 | 254 | 5.864865 | 0.432432 | 0.165899 | 0.207373 | 0.248848 | 0.511521 | 0.511521 | 0.511521 | 0.35023 | 0 | 0 | 0 | 0 | 0.047244 | 254 | 3 | 101 | 84.666667 | 0.896694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a34c958e5a5af5e1a6b00dc0ae85835c198ca885 | 126 | py | Python | qmctorch/wavefunction/jastrows/distance/__init__.py | NLESC-JCER/QMCTorch | c56472cd3e9cc59f2e01a880e674b7270d2cdc2b | [
"Apache-2.0"
] | 16 | 2020-06-26T17:43:38.000Z | 2022-03-03T14:16:02.000Z | qmctorch/wavefunction/jastrows/distance/__init__.py | NLESC-JCER/QMCTorch | c56472cd3e9cc59f2e01a880e674b7270d2cdc2b | [
"Apache-2.0"
] | 57 | 2020-05-01T07:13:49.000Z | 2021-07-13T19:51:55.000Z | qmctorch/wavefunction/jastrows/distance/__init__.py | NLESC-JCER/QMCTorch | c56472cd3e9cc59f2e01a880e674b7270d2cdc2b | [
"Apache-2.0"
] | 3 | 2020-07-30T09:56:04.000Z | 2021-08-12T02:55:45.000Z | from .electron_electron_distance import ElectronElectronDistance
from .electron_nuclei_distance import ElectronNucleiDistance
| 42 | 64 | 0.920635 | 12 | 126 | 9.333333 | 0.583333 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 126 | 2 | 65 | 63 | 0.949153 | 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 |
a37ac93458b58071dd71f131efd1ea470c8d1573 | 43 | py | Python | torchOnVideo/datasets/SPMCS/super_resolution/__init__.py | torchOnVideo/torchOnVideo | aa07d5661f772eca027ecc6b79e14bd68a515aa1 | [
"MIT"
] | 2 | 2021-03-19T08:05:06.000Z | 2021-05-22T21:54:10.000Z | torchOnVideo/datasets/SPMCS/super_resolution/__init__.py | torchOnVideo/torchOnVideo | aa07d5661f772eca027ecc6b79e14bd68a515aa1 | [
"MIT"
] | null | null | null | torchOnVideo/datasets/SPMCS/super_resolution/__init__.py | torchOnVideo/torchOnVideo | aa07d5661f772eca027ecc6b79e14bd68a515aa1 | [
"MIT"
] | null | null | null | from .test_iseebetter import TestISeeBetter | 43 | 43 | 0.906977 | 5 | 43 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e7aa8ee8e1965202f2c932d3b768ecf8bb76e53 | 41 | py | Python | urwid_combobox/__init__.py | rbistolfi/urwid-combobox | a85d6e8ec92d0ef9e22829b612f0b0dc30e2c23c | [
"MIT"
] | 3 | 2016-02-25T22:46:18.000Z | 2020-09-23T11:41:20.000Z | urwid_combobox/__init__.py | rbistolfi/urwid-combobox | a85d6e8ec92d0ef9e22829b612f0b0dc30e2c23c | [
"MIT"
] | null | null | null | urwid_combobox/__init__.py | rbistolfi/urwid-combobox | a85d6e8ec92d0ef9e22829b612f0b0dc30e2c23c | [
"MIT"
] | null | null | null | # coding: utf8
from .combobox import *
| 8.2 | 23 | 0.682927 | 5 | 41 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.219512 | 41 | 4 | 24 | 10.25 | 0.84375 | 0.292683 | 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 |
6ec971acd7c02cd6357b800de201b526a148df6b | 161 | py | Python | jiminy/envs/vnc_core_env/__init__.py | sibeshkar/jiminy | 7754f86fb0f246e7d039ea0cbfd9950fcae4adfb | [
"MIT"
] | 3 | 2020-03-16T13:50:40.000Z | 2021-06-09T05:26:13.000Z | jiminy/envs/vnc_core_env/__init__.py | sibeshkar/jiminy | 7754f86fb0f246e7d039ea0cbfd9950fcae4adfb | [
"MIT"
] | null | null | null | jiminy/envs/vnc_core_env/__init__.py | sibeshkar/jiminy | 7754f86fb0f246e7d039ea0cbfd9950fcae4adfb | [
"MIT"
] | null | null | null | from jiminy.envs.vnc_core_env.vnc_core_env import GymCoreEnv, GymCoreSyncEnv
from jiminy.envs.vnc_core_env.translator import AtariTranslator, CartPoleTranslator
| 53.666667 | 83 | 0.888199 | 22 | 161 | 6.227273 | 0.545455 | 0.153285 | 0.218978 | 0.248175 | 0.350365 | 0.350365 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062112 | 161 | 2 | 84 | 80.5 | 0.907285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6ede1b52f76e23eab248f6ec30cf185642db01ed | 110 | py | Python | bitmovin_api_sdk/encoding/encodings/muxings/webm/drm/cenc/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/muxings/webm/drm/cenc/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/muxings/webm/drm/cenc/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.muxings.webm.drm.cenc.customdata.customdata_api import CustomdataApi
| 55 | 109 | 0.890909 | 15 | 110 | 6.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 110 | 1 | 110 | 110 | 0.896226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
42d6d03bc3644a52236824b73de0b5990c4de445 | 15,690 | py | Python | launchdarkly_api/models/__init__.py | launchdarkly/api-client-python | b72bd94fb65ac57bd95df5767aebcdaff50e5cb6 | [
"Apache-2.0"
] | 6 | 2020-02-06T20:17:25.000Z | 2021-12-28T20:13:34.000Z | launchdarkly_api/models/__init__.py | launchdarkly/api-client-python | b72bd94fb65ac57bd95df5767aebcdaff50e5cb6 | [
"Apache-2.0"
] | 7 | 2019-02-18T21:51:47.000Z | 2021-09-03T17:49:33.000Z | launchdarkly_api/models/__init__.py | launchdarkly/api-client-python | b72bd94fb65ac57bd95df5767aebcdaff50e5cb6 | [
"Apache-2.0"
] | 6 | 2019-08-02T16:10:31.000Z | 2021-05-23T17:47:03.000Z | # flake8: noqa
# import all models into this package
# if you have many models here with many references from one model to another this may
# raise a RecursionError
# to avoid this, import only the models that you directly need like:
# from from launchdarkly_api.model.pet import Pet
# or import this package, but befor... | 70.675676 | 126 | 0.914149 | 1,931 | 15,690 | 7.111341 | 0.205075 | 0.245849 | 0.291946 | 0.368774 | 0.421133 | 0.194728 | 0.096271 | 0.014565 | 0.006845 | 0 | 0 | 0.000068 | 0.057808 | 15,690 | 221 | 127 | 70.995475 | 0.928837 | 0.022753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e2b3fc7095935c7e6a5f4b2d065f3d1018fe9ef | 254 | py | Python | wagtail_draftail_snippet/utils.py | TMFRook/wagtail-draftail-snippet | 1d8d76655b8d544e75884e168f1193b1bfaf02e2 | [
"BSD-3-Clause"
] | 15 | 2020-01-17T20:38:53.000Z | 2022-03-08T10:02:09.000Z | wagtail_draftail_snippet/utils.py | TMFRook/wagtail-draftail-snippet | 1d8d76655b8d544e75884e168f1193b1bfaf02e2 | [
"BSD-3-Clause"
] | 11 | 2020-02-13T14:02:19.000Z | 2022-03-08T10:51:09.000Z | wagtail_draftail_snippet/utils.py | TMFRook/wagtail-draftail-snippet | 1d8d76655b8d544e75884e168f1193b1bfaf02e2 | [
"BSD-3-Clause"
] | 5 | 2020-03-03T14:09:15.000Z | 2021-12-13T22:56:53.000Z |
def get_snippet_link_frontend_template(app_name, model_name):
return "%s/%s_snippet_link.html" % (app_name, model_name)
def get_snippet_embed_frontend_template(app_name, model_name):
return "%s/%s_snippet_embed.html" % (app_name, model_name)
| 28.222222 | 62 | 0.779528 | 40 | 254 | 4.45 | 0.325 | 0.157303 | 0.269663 | 0.359551 | 0.752809 | 0.52809 | 0.52809 | 0.52809 | 0.52809 | 0.52809 | 0 | 0 | 0.110236 | 254 | 8 | 63 | 31.75 | 0.787611 | 0 | 0 | 0 | 0 | 0 | 0.186508 | 0.186508 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6e4af99e3bd03ffb38916b63875360a0695892d9 | 57 | py | Python | examples/expr_as_instr.py | naim1992/grep_mister_python | 17e4aefc10d221c2b566c01f775b6d77106b84ef | [
"PSF-2.0"
] | 26 | 2018-09-09T17:09:56.000Z | 2021-10-01T12:51:15.000Z | examples/expr_as_instr.py | naim1992/grep_mister_python | 17e4aefc10d221c2b566c01f775b6d77106b84ef | [
"PSF-2.0"
] | 85 | 2018-02-14T10:28:19.000Z | 2021-12-16T17:38:47.000Z | examples/expr_as_instr.py | naim1992/grep_mister_python | 17e4aefc10d221c2b566c01f775b6d77106b84ef | [
"PSF-2.0"
] | 26 | 2018-02-08T11:17:51.000Z | 2021-12-16T17:43:19.000Z |
def f():
""" -> int """
42 + 2
return 42
| 6.333333 | 18 | 0.315789 | 7 | 57 | 2.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.473684 | 57 | 8 | 19 | 7.125 | 0.433333 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
284436f09e7cbda6df391de2a9940776fbd19ba2 | 35 | py | Python | python/packages/isce3/math/__init__.py | isce3-testing/isce3-circleci-poc | ec1dfb6019bcdc7afb7beee7be0fa0ce3f3b87b3 | [
"Apache-2.0"
] | null | null | null | python/packages/isce3/math/__init__.py | isce3-testing/isce3-circleci-poc | ec1dfb6019bcdc7afb7beee7be0fa0ce3f3b87b3 | [
"Apache-2.0"
] | 1 | 2021-12-23T00:00:31.000Z | 2021-12-23T00:00:31.000Z | python/packages/isce3/math/__init__.py | isce3-testing/isce3-circleci-poc | ec1dfb6019bcdc7afb7beee7be0fa0ce3f3b87b3 | [
"Apache-2.0"
] | 1 | 2021-12-02T21:10:11.000Z | 2021-12-02T21:10:11.000Z | from isce3.ext.isce3.math import *
| 17.5 | 34 | 0.771429 | 6 | 35 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.114286 | 35 | 1 | 35 | 35 | 0.806452 | 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 |
2847c7436e0bf87f9f8337019a0fe2f7c39a9f16 | 120 | py | Python | cs_131b/3_week/example_code/sys.py | kimberleejohnson/python-study | 5dc08007a1bc18c91e32879a0e9d5cad1bd1cdd3 | [
"MIT"
] | null | null | null | cs_131b/3_week/example_code/sys.py | kimberleejohnson/python-study | 5dc08007a1bc18c91e32879a0e9d5cad1bd1cdd3 | [
"MIT"
] | null | null | null | cs_131b/3_week/example_code/sys.py | kimberleejohnson/python-study | 5dc08007a1bc18c91e32879a0e9d5cad1bd1cdd3 | [
"MIT"
] | null | null | null | # Program demonstrates how sys works
import sys
print("These",len(sys.argv),"arguments were passed:",''.join(sys.argv)) | 40 | 71 | 0.741667 | 18 | 120 | 4.944444 | 0.777778 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091667 | 120 | 3 | 71 | 40 | 0.816514 | 0.283333 | 0 | 0 | 0 | 0 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 6 |
2869a7fd9f03e57acb60657e91805ecc6083a771 | 179 | py | Python | backend/app/controllers/index.py | DankanTsar/memesmerkatuan | 4654f1164930d2ee0241a3beeae5a1d28daa2e1e | [
"BSD-3-Clause"
] | null | null | null | backend/app/controllers/index.py | DankanTsar/memesmerkatuan | 4654f1164930d2ee0241a3beeae5a1d28daa2e1e | [
"BSD-3-Clause"
] | null | null | null | backend/app/controllers/index.py | DankanTsar/memesmerkatuan | 4654f1164930d2ee0241a3beeae5a1d28daa2e1e | [
"BSD-3-Clause"
] | null | null | null | from .. import app
from flask import render_template
from ..misc.cur_user import cur_user
@app.route("/")
def index():
return render_template("index.html", user=cur_user())
| 19.888889 | 57 | 0.731844 | 27 | 179 | 4.666667 | 0.518519 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134078 | 179 | 8 | 58 | 22.375 | 0.812903 | 0 | 0 | 0 | 0 | 0 | 0.061453 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2892dec2cc4a57477ac4fa46253cb7eb5b5f07e7 | 149 | py | Python | lib/game/events.py | vyahello/racing-game | cf042ba8040327a1ae0c26bd8bcf8d0d9987e7dd | [
"Apache-2.0"
] | null | null | null | lib/game/events.py | vyahello/racing-game | cf042ba8040327a1ae0c26bd8bcf8d0d9987e7dd | [
"Apache-2.0"
] | null | null | null | lib/game/events.py | vyahello/racing-game | cf042ba8040327a1ae0c26bd8bcf8d0d9987e7dd | [
"Apache-2.0"
] | null | null | null | from typing import List
from pygame.event import get, Event
def events() -> List[Event]:
"""Returns a list of game events."""
return get()
| 18.625 | 40 | 0.671141 | 22 | 149 | 4.545455 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208054 | 149 | 7 | 41 | 21.285714 | 0.847458 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
95a4f048e0f36fc47b3bfdc0f837d5131f2452ca | 29,769 | py | Python | tests/%test_prov.py | KWR-Water/hgc | cf6f92c28e3f787a653c3e7f4b58ccc33fe36cbf | [
"MIT"
] | 2 | 2019-10-22T13:07:53.000Z | 2020-09-25T10:30:25.000Z | tests/%test_prov.py | KWR-Water/hgc | cf6f92c28e3f787a653c3e7f4b58ccc33fe36cbf | [
"MIT"
] | 4 | 2019-10-22T10:51:46.000Z | 2021-02-03T09:58:48.000Z | tests/%test_prov.py | KWR-Water/hgc | cf6f92c28e3f787a653c3e7f4b58ccc33fe36cbf | [
"MIT"
] | 1 | 2019-10-18T08:29:54.000Z | 2019-10-18T08:29:54.000Z | # -*- coding: utf-8 -*-
"""
Reading data for WB, PRO,
for kennisimpulse project
to read data from province, water companies, and any other sources
Created on Sun Jul 26 21:55:57 2020
@author: Xin Tian
"""
import pytest
import numpy as np
import pandas as pd
from pathlib import Path
import pickle as pckl
from hgc imp... | 54.125455 | 171 | 0.661729 | 3,925 | 29,769 | 4.784459 | 0.06242 | 0.038341 | 0.06257 | 0.095106 | 0.931786 | 0.927206 | 0.912349 | 0.901326 | 0.89025 | 0.888386 | 0 | 0.033063 | 0.193288 | 29,769 | 550 | 172 | 54.125455 | 0.748824 | 0.179549 | 0 | 0.651765 | 0 | 0.023529 | 0.276928 | 0.109316 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028235 | false | 0 | 0.047059 | 0 | 0.075294 | 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 |
95ee08951d69d572d4fa270be9994a3fa06ccbb3 | 2,107 | py | Python | test/test_twitter_worker.py | ambalytics/amba-analysis-worker-discussion | a218dd562cc73eb2d4c2ad76b3855865fe86b284 | [
"MIT"
] | null | null | null | test/test_twitter_worker.py | ambalytics/amba-analysis-worker-discussion | a218dd562cc73eb2d4c2ad76b3855865fe86b284 | [
"MIT"
] | null | null | null | test/test_twitter_worker.py | ambalytics/amba-analysis-worker-discussion | a218dd562cc73eb2d4c2ad76b3855865fe86b284 | [
"MIT"
] | null | null | null | from src import twitter_worker
import unittest
class TestTwitterWorker(unittest.TestCase):
def test_normalize_sentiment_value(self):
self.assertEqual(twitter_worker.TwitterWorker.normalize_sentiment_value(1), 10)
self.assertEqual(twitter_worker.TwitterWorker.normalize_sentiment_value(0.5), 9)
... | 49 | 89 | 0.758424 | 264 | 2,107 | 5.75 | 0.193182 | 0.205534 | 0.333333 | 0.424242 | 0.814888 | 0.811594 | 0.530303 | 0.527009 | 0.515152 | 0.30303 | 0 | 0.046129 | 0.135738 | 2,107 | 42 | 90 | 50.166667 | 0.787479 | 0 | 0 | 0 | 0 | 0 | 0.018035 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 1 | 0.151515 | false | 0 | 0.060606 | 0 | 0.242424 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
95fef8420ffb0a292835194c90582fa5b4f50499 | 1,191 | py | Python | src/support/tests/strip_vlan_enable/test_bcastF_mcastT_ucastF.py | Paulche/vfd | aff17c97d7ef35fb1f4bda5a4f6ab2f2266bdacc | [
"Apache-2.0"
] | 71 | 2016-04-14T20:21:48.000Z | 2021-11-27T20:01:28.000Z | src/support/tests/strip_vlan_enable/test_bcastF_mcastT_ucastF.py | Paulche/vfd | aff17c97d7ef35fb1f4bda5a4f6ab2f2266bdacc | [
"Apache-2.0"
] | 62 | 2016-06-03T18:04:32.000Z | 2018-09-07T21:13:27.000Z | src/support/tests/strip_vlan_enable/test_bcastF_mcastT_ucastF.py | Paulche/vfd | aff17c97d7ef35fb1f4bda5a4f6ab2f2266bdacc | [
"Apache-2.0"
] | 35 | 2016-04-14T17:12:46.000Z | 2021-10-13T03:34:11.000Z | from tests import packet
import tests.helper_functions as hf
import pytest
@pytest.mark.valid_vlan_bcastF_mcastT_ucastF
def test_bcast_valid_vlan(vf2_valid_vlan):
hf.read_sample_data('TARGET_VF2')
pkt = hf.build_packet(dmac=hf.config['bcast_mac'], valid_vlan=int(vf2_valid_vlan))
inst = packet.sniff_packets... | 39.7 | 122 | 0.70529 | 178 | 1,191 | 4.455056 | 0.308989 | 0.068096 | 0.065574 | 0.055486 | 0.81715 | 0.81715 | 0.81715 | 0.7314 | 0.7314 | 0.7314 | 0 | 0.019822 | 0.152813 | 1,191 | 29 | 123 | 41.068966 | 0.766105 | 0 | 0 | 0.666667 | 0 | 0 | 0.099076 | 0 | 0 | 0 | 0.010076 | 0 | 0.074074 | 1 | 0.074074 | false | 0 | 0.111111 | 0 | 0.185185 | 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 |
25050e6f271f7228184afbf60d40b921b1fe2322 | 123 | py | Python | setup/fusion/scripts/Comp/avalon/creator.py | bumpybox/core | 5a24640484f19e48dc12682dae979adc6d41dc0b | [
"MIT"
] | 168 | 2017-06-23T15:50:43.000Z | 2022-02-27T10:48:45.000Z | setup/fusion/scripts/Comp/avalon/creator.py | bumpybox/core | 5a24640484f19e48dc12682dae979adc6d41dc0b | [
"MIT"
] | 366 | 2017-06-22T08:38:45.000Z | 2021-06-19T07:29:06.000Z | setup/fusion/scripts/Comp/avalon/creator.py | bumpybox/core | 5a24640484f19e48dc12682dae979adc6d41dc0b | [
"MIT"
] | 42 | 2017-06-23T15:27:26.000Z | 2021-09-29T17:28:18.000Z | import avalon.api
import avalon.fusion
import avalon.tools.creator as tool
avalon.api.install(avalon.fusion)
tool.show()
| 15.375 | 35 | 0.804878 | 19 | 123 | 5.210526 | 0.526316 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 123 | 7 | 36 | 17.571429 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
252f880b1cf16c4df9600bce4b0ea35a518f2e68 | 34 | py | Python | playground/numba_play/__init__.py | drkostas/DSE512-playground | 1e47ae2878cc9f3f00fdbd81626189657d642061 | [
"MIT"
] | null | null | null | playground/numba_play/__init__.py | drkostas/DSE512-playground | 1e47ae2878cc9f3f00fdbd81626189657d642061 | [
"MIT"
] | 17 | 2021-02-15T01:43:46.000Z | 2021-05-04T02:32:32.000Z | playground/numba_play/__init__.py | drkostas/DSE512-playground | 1e47ae2878cc9f3f00fdbd81626189657d642061 | [
"MIT"
] | null | null | null | from .numba_play import NumbaPlay
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 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 |
255cfbf94bcc360e89067bb6d86a507159532ea5 | 47 | py | Python | gcdetection/__init__.py | Justin900429/GC-Detection | 3869cad8a36dc67380d5b3509e6d7fab2980f367 | [
"MIT"
] | 4 | 2021-02-20T09:49:52.000Z | 2021-02-24T06:56:54.000Z | gcdetection/__init__.py | Justin900429/object_detection | 3869cad8a36dc67380d5b3509e6d7fab2980f367 | [
"MIT"
] | null | null | null | gcdetection/__init__.py | Justin900429/object_detection | 3869cad8a36dc67380d5b3509e6d7fab2980f367 | [
"MIT"
] | 1 | 2021-02-20T13:51:03.000Z | 2021-02-20T13:51:03.000Z | from .gc_detection import Detection, Interface
| 23.5 | 46 | 0.851064 | 6 | 47 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c2bf9584cd6b32f60c0bc38e5fe0fe7d3eade5f7 | 43,195 | py | Python | foxlink/graphs.py | lamsoa729/FoXlink | 3c061b02968cdab1def752d5c145a6df4615504b | [
"BSD-3-Clause"
] | null | null | null | foxlink/graphs.py | lamsoa729/FoXlink | 3c061b02968cdab1def752d5c145a6df4615504b | [
"BSD-3-Clause"
] | null | null | null | foxlink/graphs.py | lamsoa729/FoXlink | 3c061b02968cdab1def752d5c145a6df4615504b | [
"BSD-3-Clause"
] | 2 | 2019-06-18T16:48:03.000Z | 2019-06-20T23:50:02.000Z | #!/usr/bin/env python
"""@package docstring
File: graphs.py
Author: Adam Lamson
Email: adam.lamson@colorado.edu
Description: File containing modular graphing functions for Fokker-Planck data.
"""
import numpy as np
import matplotlib as mpl
from matplotlib.lines import Line2D
from matplotlib.patches import (Circle, Re... | 40.406922 | 86 | 0.555342 | 6,586 | 43,195 | 3.420437 | 0.064683 | 0.065877 | 0.033205 | 0.039064 | 0.794247 | 0.765837 | 0.740045 | 0.717228 | 0.705065 | 0.690682 | 0 | 0.033253 | 0.293344 | 43,195 | 1,068 | 87 | 40.444757 | 0.704757 | 0.201829 | 0 | 0.6 | 0 | 0 | 0.092702 | 0.009315 | 0 | 0 | 0 | 0.021536 | 0 | 1 | 0.032353 | false | 0 | 0.005882 | 0 | 0.066176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c2c7d434e033a6804caefa0f02cdcf1508ad3291 | 149 | py | Python | server/Location/admin.py | adamA113/servize | 89933c3864d997188ec79ad690b37f51bca54aa3 | [
"MIT"
] | null | null | null | server/Location/admin.py | adamA113/servize | 89933c3864d997188ec79ad690b37f51bca54aa3 | [
"MIT"
] | null | null | null | server/Location/admin.py | adamA113/servize | 89933c3864d997188ec79ad690b37f51bca54aa3 | [
"MIT"
] | 2 | 2020-12-26T09:50:17.000Z | 2020-12-26T09:52:45.000Z | from django.contrib import admin
from Location.models import City
# Register your models here.
admin.site.register(City)
# admin.site.register(Area) | 24.833333 | 32 | 0.805369 | 22 | 149 | 5.454545 | 0.590909 | 0.15 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107383 | 149 | 6 | 33 | 24.833333 | 0.902256 | 0.348993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6c15db0a3d84fb945ac8100bc99b080aae3a50ac | 32,337 | py | Python | azure-iot-sdk-python/provisioning_service_client/tests/client_ut.py | wadooddaoud/Gast_Iot_Sensor_Development | 3d923cc0632e380da7f0e960d74df934735b8fea | [
"MIT"
] | null | null | null | azure-iot-sdk-python/provisioning_service_client/tests/client_ut.py | wadooddaoud/Gast_Iot_Sensor_Development | 3d923cc0632e380da7f0e960d74df934735b8fea | [
"MIT"
] | null | null | null | azure-iot-sdk-python/provisioning_service_client/tests/client_ut.py | wadooddaoud/Gast_Iot_Sensor_Development | 3d923cc0632e380da7f0e960d74df934735b8fea | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for
# full license information.
import copy
import unittest
from six import add_move, MovedModule
add_move(MovedModule('mock', 'mock', 'unittest.mock'))
from six.moves import mock
from msrest.pipelin... | 52.838235 | 171 | 0.753378 | 3,905 | 32,337 | 5.919078 | 0.063252 | 0.028814 | 0.041533 | 0.028554 | 0.838929 | 0.827723 | 0.824998 | 0.811283 | 0.793632 | 0.785931 | 0 | 0.003147 | 0.154807 | 32,337 | 611 | 172 | 52.924714 | 0.84256 | 0.007855 | 0 | 0.652695 | 0 | 0.007984 | 0.088137 | 0.060109 | 0 | 0 | 0 | 0 | 0.275449 | 1 | 0.123753 | false | 0.003992 | 0.025948 | 0 | 0.175649 | 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 |
6c1aa6ecf7cbb11aac2896042941b073a0b4f92d | 6,901 | py | Python | metrics/dine_ndt_metrics.py | DorTsur/dine_ndt | 3a07064b1d37da12c36e679a9b1de6a32ae42689 | [
"MIT"
] | 1 | 2022-03-29T03:09:52.000Z | 2022-03-29T03:09:52.000Z | metrics/dine_ndt_metrics.py | DorTsur/dine_ndt | 3a07064b1d37da12c36e679a9b1de6a32ae42689 | [
"MIT"
] | null | null | null | metrics/dine_ndt_metrics.py | DorTsur/dine_ndt | 3a07064b1d37da12c36e679a9b1de6a32ae42689 | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.keras import backend as K
import logging
import numpy as np
import math
logger = logging.getLogger("logger")
class DINE_NDT_Metrics(tf.keras.metrics.Metric):
def __init__(self, writer, name='', **kwargs):
super(DINE_NDT_Metrics, self).__init__(name=name, **kwargs)
... | 45.701987 | 125 | 0.655847 | 1,088 | 6,901 | 3.858456 | 0.087316 | 0.040019 | 0.113387 | 0.064793 | 0.912577 | 0.882325 | 0.857551 | 0.845641 | 0.826108 | 0.758695 | 0 | 0.007618 | 0.20113 | 6,901 | 151 | 126 | 45.701987 | 0.753855 | 0.028981 | 0 | 0.66087 | 0 | 0 | 0.051539 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165217 | false | 0 | 0.043478 | 0.017391 | 0.313043 | 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 |
6c27de781049f910986e16c5a5723a30f969a4b2 | 33 | py | Python | backend/api/db/schemas/users.py | skluthe/Yacht | d9ba4185c318e128d2fc6ceb7c0111927f571dbd | [
"MIT"
] | null | null | null | backend/api/db/schemas/users.py | skluthe/Yacht | d9ba4185c318e128d2fc6ceb7c0111927f571dbd | [
"MIT"
] | null | null | null | backend/api/db/schemas/users.py | skluthe/Yacht | d9ba4185c318e128d2fc6ceb7c0111927f571dbd | [
"MIT"
] | null | null | null | from fastapi_users import models
| 16.5 | 32 | 0.878788 | 5 | 33 | 5.6 | 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 |
6c368b661be57c9485e7c28e223830033ce3223d | 6,526 | py | Python | RasPi_Dev/ros_ws/devel/lib/python2.7/dist-packages/opencv_apps/cfg/FaceRecognitionConfig.py | QianheYu/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | 1 | 2022-03-11T03:31:15.000Z | 2022-03-11T03:31:15.000Z | RasPi_Dev/ros_ws/devel/lib/python2.7/dist-packages/opencv_apps/cfg/FaceRecognitionConfig.py | bravetree/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | null | null | null | RasPi_Dev/ros_ws/devel/lib/python2.7/dist-packages/opencv_apps/cfg/FaceRecognitionConfig.py | bravetree/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | null | null | null | ## *********************************************************
##
## File autogenerated for the opencv_apps package
## by the dynamic_reconfigure package.
## Please do not edit.
##
## ********************************************************/
from dynamic_reconfigure.encoding import extract_params
inf = float('inf')
co... | 163.15 | 5,555 | 0.665952 | 825 | 6,526 | 5.141818 | 0.166061 | 0.067893 | 0.042904 | 0.066007 | 0.711457 | 0.674682 | 0.657001 | 0.649458 | 0.632013 | 0.604668 | 0 | 0.024932 | 0.096537 | 6,526 | 39 | 5,556 | 167.333333 | 0.694539 | 0.060374 | 0 | 0 | 1 | 0.789474 | 0.683522 | 0.257241 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
665fa45057e1b19d20422413670b61257951e59e | 70 | py | Python | chalicelib/util/__init__.py | la-mar/ecs-cluster-management | 334ca02c7a4d86aa77f2a5bccd4fd48db8620c87 | [
"MIT"
] | null | null | null | chalicelib/util/__init__.py | la-mar/ecs-cluster-management | 334ca02c7a4d86aa77f2a5bccd4fd48db8620c87 | [
"MIT"
] | null | null | null | chalicelib/util/__init__.py | la-mar/ecs-cluster-management | 334ca02c7a4d86aa77f2a5bccd4fd48db8620c87 | [
"MIT"
] | null | null | null | # flake8: noqa
from util.botoutil import *
from util.dt import utcnow
| 17.5 | 27 | 0.771429 | 11 | 70 | 4.909091 | 0.727273 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.157143 | 70 | 3 | 28 | 23.333333 | 0.898305 | 0.171429 | 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 |
66755202fbb6508a1318a40efea2f6ad9766b361 | 7,341 | py | Python | tests/api_resources/test_customer.py | bhch/async-stripe | 75d934a8bb242f664e7be30812c12335cf885287 | [
"MIT",
"BSD-3-Clause"
] | 8 | 2021-05-29T08:57:58.000Z | 2022-02-19T07:09:25.000Z | tests/api_resources/test_customer.py | bhch/async-stripe | 75d934a8bb242f664e7be30812c12335cf885287 | [
"MIT",
"BSD-3-Clause"
] | 5 | 2021-05-31T10:18:36.000Z | 2022-01-25T11:39:03.000Z | tests/api_resources/test_customer.py | bhch/async-stripe | 75d934a8bb242f664e7be30812c12335cf885287 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-05-29T13:27:10.000Z | 2021-05-29T13:27:10.000Z | from __future__ import absolute_import, division, print_function
import stripe
import pytest
pytestmark = pytest.mark.asyncio
TEST_RESOURCE_ID = "cus_123"
TEST_SUB_ID = "sub_123"
TEST_SOURCE_ID = "ba_123"
TEST_TAX_ID_ID = "txi_123"
TEST_TRANSACTION_ID = "cbtxn_123"
class TestCustomer(object):
async def test_... | 37.454082 | 85 | 0.675521 | 866 | 7,341 | 5.387991 | 0.106236 | 0.108444 | 0.132019 | 0.128161 | 0.865409 | 0.837977 | 0.8024 | 0.736391 | 0.704029 | 0.61916 | 0 | 0.009015 | 0.229397 | 7,341 | 195 | 86 | 37.646154 | 0.815803 | 0 | 0 | 0.432099 | 0 | 0 | 0.101757 | 0.062526 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0 | false | 0 | 0.018519 | 0 | 0.049383 | 0.006173 | 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 |
66aac9943e9c3c111b39568b5e50475b96174662 | 42 | py | Python | hearthstone-deck-classifier/Classifiers/__init__.py | viktorstaikov/hearthstone-deck-classifier | 78fa6641cfa4b081b61ea04125c296f5e40eb733 | [
"MIT"
] | null | null | null | hearthstone-deck-classifier/Classifiers/__init__.py | viktorstaikov/hearthstone-deck-classifier | 78fa6641cfa4b081b61ea04125c296f5e40eb733 | [
"MIT"
] | null | null | null | hearthstone-deck-classifier/Classifiers/__init__.py | viktorstaikov/hearthstone-deck-classifier | 78fa6641cfa4b081b61ea04125c296f5e40eb733 | [
"MIT"
] | null | null | null | from NaiveBayes import *
from kNN import * | 21 | 24 | 0.785714 | 6 | 42 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 25 | 21 | 0.942857 | 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 |
66d128e379932eb656f30d362a21ae7a3ce3a9f2 | 24 | py | Python | kalliope/neurons/sleep/__init__.py | G10DRAS/kalliope | 4c6586bd4c5ff0ca2b51cbf02f042d9ed0c9742d | [
"MIT"
] | null | null | null | kalliope/neurons/sleep/__init__.py | G10DRAS/kalliope | 4c6586bd4c5ff0ca2b51cbf02f042d9ed0c9742d | [
"MIT"
] | null | null | null | kalliope/neurons/sleep/__init__.py | G10DRAS/kalliope | 4c6586bd4c5ff0ca2b51cbf02f042d9ed0c9742d | [
"MIT"
] | null | null | null | from sleep import Sleep
| 12 | 23 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd3676639f63d3ec0393084c48bc46011423b12d | 14,650 | py | Python | tests/test_api_objects.py | cyberjacob/pymonzo | 056fd74f559cac28ddfa60597d8604a5ab1033ea | [
"MIT"
] | null | null | null | tests/test_api_objects.py | cyberjacob/pymonzo | 056fd74f559cac28ddfa60597d8604a5ab1033ea | [
"MIT"
] | null | null | null | tests/test_api_objects.py | cyberjacob/pymonzo | 056fd74f559cac28ddfa60597d8604a5ab1033ea | [
"MIT"
] | 1 | 2021-12-22T09:58:10.000Z | 2021-12-22T09:58:10.000Z | # -*- coding: utf-8 -*-
"""
Test 'pymonzo.api_objects' file
"""
from __future__ import unicode_literals
from datetime import datetime
import pytest
from dateutil.parser import parse as parse_date
from pymonzo import api_objects, MonzoAPI
from pymonzo.api_objects import MonzoAccount, MonzoPot
from pymonzo.utils impor... | 34.069767 | 89 | 0.651263 | 1,634 | 14,650 | 5.55814 | 0.097307 | 0.051531 | 0.034354 | 0.030059 | 0.800044 | 0.788373 | 0.783418 | 0.762497 | 0.762497 | 0.742788 | 0 | 0.003717 | 0.247031 | 14,650 | 429 | 90 | 34.149184 | 0.819599 | 0.134608 | 0 | 0.634328 | 0 | 0 | 0.066532 | 0.016229 | 0 | 0 | 0 | 0 | 0.182836 | 1 | 0.141791 | false | 0 | 0.026119 | 0 | 0.261194 | 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 |
dd4c7f81606f7a7524c654b5d977498faf26cc9a | 271 | py | Python | aestudos/bestudos/views.py | DirceuAlmei/repositorio | aae7fd4a6841b0fd4b7ac05dc13d5a426ca35899 | [
"MIT"
] | null | null | null | aestudos/bestudos/views.py | DirceuAlmei/repositorio | aae7fd4a6841b0fd4b7ac05dc13d5a426ca35899 | [
"MIT"
] | null | null | null | aestudos/bestudos/views.py | DirceuAlmei/repositorio | aae7fd4a6841b0fd4b7ac05dc13d5a426ca35899 | [
"MIT"
] | null | null | null | from urllib import request
from django.shortcuts import render
from .import views
# Create your views here.
def EstudosView(request):
return render(request, 'bestudos/estudos.html')
def ProjetoView(request):
return render(request, 'bestudos/projetocordel.html')
| 27.1 | 57 | 0.782288 | 34 | 271 | 6.235294 | 0.558824 | 0.122642 | 0.179245 | 0.245283 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129151 | 271 | 9 | 58 | 30.111111 | 0.898305 | 0.084871 | 0 | 0 | 0 | 0 | 0.195122 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.428571 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
06d5eae9b8c563878e8b0c13b29c421da900c307 | 17,752 | py | Python | pedidos/tests.py | tiagocordeiro/zumaq-partners | ba2c5d4257438ec062ef034096cd203efe58ef4a | [
"MIT"
] | 1 | 2019-02-13T11:01:25.000Z | 2019-02-13T11:01:25.000Z | pedidos/tests.py | tiagocordeiro/zumaq-partners | ba2c5d4257438ec062ef034096cd203efe58ef4a | [
"MIT"
] | 619 | 2018-11-26T06:11:05.000Z | 2022-03-31T22:56:13.000Z | pedidos/tests.py | tiagocordeiro/zumaq-partners | ba2c5d4257438ec062ef034096cd203efe58ef4a | [
"MIT"
] | 1 | 2020-03-12T16:34:13.000Z | 2020-03-12T16:34:13.000Z | import base64 # for decoding base64 image
from io import BytesIO
from django.contrib.auth.models import User, Group
from django.contrib.messages.storage.fallback import FallbackStorage
from django.core.files.uploadedfile import InMemoryUploadedFile
from django.test import TestCase, RequestFactory, Client
from django.... | 41.769412 | 114 | 0.667192 | 2,041 | 17,752 | 5.5561 | 0.097011 | 0.087302 | 0.066667 | 0.07672 | 0.819665 | 0.796825 | 0.768254 | 0.75194 | 0.732187 | 0.720899 | 0 | 0.016233 | 0.229608 | 17,752 | 424 | 115 | 41.867925 | 0.812299 | 0.032954 | 0 | 0.669935 | 0 | 0 | 0.076056 | 0.041883 | 0 | 0 | 0 | 0 | 0.245098 | 1 | 0.094771 | false | 0.009804 | 0.039216 | 0 | 0.137255 | 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 |
06f191fa713641dbb2fb2a3266208c851846c21a | 22,882 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/es/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/es/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/es/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Dict
from botocore.paginate import Paginator
class DescribeReservedElasticsearchInstanceOfferings(Paginator):
def paginate(self, ReservedElasticsearchInstanceOfferingId: str = None, PaginationConfig: Dict = None) -> Dict:
"""
Creates an iterator that will paginate through respon... | 59.900524 | 1,110 | 0.58924 | 2,014 | 22,882 | 6.67577 | 0.16137 | 0.033916 | 0.034511 | 0.0119 | 0.703012 | 0.67765 | 0.659874 | 0.646634 | 0.631462 | 0.619338 | 0 | 0.020267 | 0.312123 | 22,882 | 381 | 1,111 | 60.057743 | 0.833926 | 0.836378 | 0 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.294118 | 0.117647 | 0 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
662232304288b85cfea8157445920bb2f850f851 | 51,750 | py | Python | meta-iotqa/lib/oeqa/runtime/programming/nodejs/rest_apis.py | kraj/intel-iot-refkit | 04cd5afec0c41deeb5e1a48b43a0a31e708295c1 | [
"MIT"
] | 36 | 2017-02-20T04:04:28.000Z | 2022-02-17T05:36:33.000Z | meta-iotqa/lib/oeqa/runtime/programming/nodejs/rest_apis.py | kraj/intel-iot-refkit | 04cd5afec0c41deeb5e1a48b43a0a31e708295c1 | [
"MIT"
] | 284 | 2017-02-06T08:51:52.000Z | 2021-11-03T16:52:16.000Z | meta-iotqa/lib/oeqa/runtime/programming/nodejs/rest_apis.py | kraj/intel-iot-refkit | 04cd5afec0c41deeb5e1a48b43a0a31e708295c1 | [
"MIT"
] | 65 | 2017-02-03T12:36:16.000Z | 2021-02-18T11:00:46.000Z | # -*- coding:utf8 -*-
__author__ = 'qiuzhong'
__version__ = '0.0.1'
import os
import subprocess
import sys
import shutil
from oeqa.oetest import oeRuntimeTest
class RESTAPITest(oeRuntimeTest):
'''
The test case checks whether the REST APIs works well.
@class RESTAPITest
'''
rest_api = 'restapis... | 34.316976 | 136 | 0.551053 | 6,162 | 51,750 | 4.292275 | 0.048199 | 0.059284 | 0.047639 | 0.071988 | 0.862717 | 0.840372 | 0.791561 | 0.76967 | 0.746758 | 0.716133 | 0 | 0.007316 | 0.344986 | 51,750 | 1,507 | 137 | 34.339748 | 0.772959 | 0.225353 | 0 | 0.531852 | 0 | 0.087407 | 0.177241 | 0.097838 | 0 | 0 | 0 | 0 | 0.162963 | 1 | 0.087407 | false | 0 | 0.007407 | 0 | 0.108148 | 0.005926 | 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 |
663cd4f70386d36e29140296a6f49c250263225c | 6,572 | py | Python | tests/test_validator.py | sulembutproton/pythonbible | 7b8c90e1b25bfdc028da3e5a43aaa6287005a0b1 | [
"MIT"
] | 11 | 2021-03-29T17:29:57.000Z | 2022-02-19T20:55:43.000Z | tests/test_validator.py | sulembutproton/pythonbible | 7b8c90e1b25bfdc028da3e5a43aaa6287005a0b1 | [
"MIT"
] | 18 | 2021-03-24T21:50:54.000Z | 2022-03-15T01:10:14.000Z | tests/test_validator.py | sulembutproton/pythonbible | 7b8c90e1b25bfdc028da3e5a43aaa6287005a0b1 | [
"MIT"
] | 4 | 2021-05-19T01:19:24.000Z | 2022-03-26T00:48:56.000Z | import pythonbible as bible
def test_is_valid_verse_id(verse_id: int) -> None:
# Given a valid verse id
# When we test to see if it is valid
# Then the result is True
assert bible.is_valid_verse_id(verse_id)
def test_is_valid_verse_id_null() -> None:
# Given a null verse id
# When we test to... | 33.530612 | 87 | 0.718503 | 1,053 | 6,572 | 4.316239 | 0.050332 | 0.110891 | 0.047525 | 0.073927 | 0.90209 | 0.842904 | 0.769197 | 0.758416 | 0.645325 | 0.629703 | 0 | 0.000194 | 0.216677 | 6,572 | 195 | 88 | 33.702564 | 0.882673 | 0.373098 | 0 | 0.243243 | 0 | 0 | 0.002965 | 0 | 0 | 0 | 0 | 0 | 0.324324 | 1 | 0.324324 | false | 0 | 0.013514 | 0 | 0.337838 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b0744ddc008bd70b5987eb4c2a8e1e51aa32f9f4 | 21 | py | Python | src/__init__.py | mmaysami/json-schema-validator | 647e31b492aa057042186093139cc98eb46b7407 | [
"MIT"
] | null | null | null | src/__init__.py | mmaysami/json-schema-validator | 647e31b492aa057042186093139cc98eb46b7407 | [
"MIT"
] | null | null | null | src/__init__.py | mmaysami/json-schema-validator | 647e31b492aa057042186093139cc98eb46b7407 | [
"MIT"
] | null | null | null | from .schema import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9fdec235b04f6e6b8b7f0df1e681482887b7a3d5 | 185 | py | Python | tests/test_app/admin.py | petar-bibulic/django-base | bf4fd8464ef7699ebfebd8ffe2df1b9eaed18f24 | [
"MIT"
] | null | null | null | tests/test_app/admin.py | petar-bibulic/django-base | bf4fd8464ef7699ebfebd8ffe2df1b9eaed18f24 | [
"MIT"
] | 4 | 2021-10-06T09:58:26.000Z | 2021-12-07T13:41:29.000Z | tests/test_app/admin.py | petar-bibulic/django-base | bf4fd8464ef7699ebfebd8ffe2df1b9eaed18f24 | [
"MIT"
] | 2 | 2021-11-24T17:02:55.000Z | 2021-12-01T10:21:18.000Z | from django.contrib import admin
from django_base.admin import BaseModelAdmin
from .models import TestModel
@admin.register(TestModel)
class TestModelAdmin(BaseModelAdmin):
pass
| 18.5 | 44 | 0.821622 | 22 | 185 | 6.863636 | 0.590909 | 0.13245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124324 | 185 | 9 | 45 | 20.555556 | 0.932099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 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 |
b057d6d319ba5752456a6c81dbf6e9a85c7df24f | 32 | py | Python | th_rss/lib/feedsservice/__init__.py | Leopere/django-th | 86c999d16bcf30b6224206e5b40824309834ac8c | [
"BSD-3-Clause"
] | 1,069 | 2015-01-07T01:55:57.000Z | 2022-02-17T10:50:57.000Z | th_rss/lib/feedsservice/__init__.py | barrygolden/django-th | 86c999d16bcf30b6224206e5b40824309834ac8c | [
"BSD-3-Clause"
] | 207 | 2015-01-06T21:41:17.000Z | 2018-02-20T14:10:15.000Z | th_rss/lib/feedsservice/__init__.py | barrygolden/django-th | 86c999d16bcf30b6224206e5b40824309834ac8c | [
"BSD-3-Clause"
] | 117 | 2015-01-04T16:21:13.000Z | 2022-02-22T06:18:49.000Z | from .feedsservice import Feeds
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
c69451b3d9a9342f3e8e4f6412d5b7db038c1d2c | 165 | py | Python | Courts-Of-Chaos/courts_of_chaos/views.py | milos85vasic/Courts-of-Chaos | e164ce4e0de8bbba280d089ad3945fc552cf1b1c | [
"Apache-2.0"
] | 3 | 2018-01-05T15:43:33.000Z | 2019-12-13T08:52:34.000Z | Courts-Of-Chaos/courts_of_chaos/views.py | milos85vasic/Courts-of-Chaos | e164ce4e0de8bbba280d089ad3945fc552cf1b1c | [
"Apache-2.0"
] | null | null | null | Courts-Of-Chaos/courts_of_chaos/views.py | milos85vasic/Courts-of-Chaos | e164ce4e0de8bbba280d089ad3945fc552cf1b1c | [
"Apache-2.0"
] | null | null | null | from pyramid.i18n import TranslationStringFactory
_ = TranslationStringFactory('Courts-Of-Chaos')
def my_view(request):
return {'project': 'Courts-Of-Chaos'}
| 20.625 | 49 | 0.763636 | 18 | 165 | 6.888889 | 0.777778 | 0.129032 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.115152 | 165 | 7 | 50 | 23.571429 | 0.835616 | 0 | 0 | 0 | 0 | 0 | 0.224242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c694e99d2717d5410ecbb70db5f6d69294d22aa0 | 11,606 | py | Python | tripleo_ansible/tests/modules/test_tripleo_get_dpdk_nics_numa_info.py | beagles/tripleo-ansible | 7faddd87cffc8903a9cdedc7a6454cdf44aeed67 | [
"Apache-2.0"
] | 22 | 2018-08-29T12:33:15.000Z | 2022-03-30T00:17:25.000Z | tripleo_ansible/tests/modules/test_tripleo_get_dpdk_nics_numa_info.py | beagles/tripleo-ansible | 7faddd87cffc8903a9cdedc7a6454cdf44aeed67 | [
"Apache-2.0"
] | 1 | 2020-02-07T20:54:34.000Z | 2020-02-07T20:54:34.000Z | tripleo_ansible/tests/modules/test_tripleo_get_dpdk_nics_numa_info.py | beagles/tripleo-ansible | 7faddd87cffc8903a9cdedc7a6454cdf44aeed67 | [
"Apache-2.0"
] | 19 | 2019-07-16T04:42:00.000Z | 2022-03-30T00:17:29.000Z | # Copyright 2020 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | 42.826568 | 100 | 0.390918 | 890 | 11,606 | 4.847191 | 0.173034 | 0.064905 | 0.05007 | 0.060269 | 0.792304 | 0.755911 | 0.755911 | 0.755911 | 0.722531 | 0.722531 | 0 | 0.055728 | 0.472773 | 11,606 | 270 | 101 | 42.985185 | 0.649289 | 0.057212 | 0 | 0.771552 | 0 | 0 | 0.228966 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 1 | 0.025862 | false | 0 | 0.025862 | 0 | 0.056034 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c69bd6190be103c511def589c3c433a93b01f94a | 5,289 | py | Python | mongotriggers/mongotriggers.py | drorasaf/mongodb-triggers | 937d590d91fb83d414ece7e20594dd610783ed4c | [
"BSD-3-Clause"
] | 6 | 2018-03-24T09:53:49.000Z | 2021-01-28T14:16:23.000Z | mongotriggers/mongotriggers.py | drorasaf/mongodb-triggers | 937d590d91fb83d414ece7e20594dd610783ed4c | [
"BSD-3-Clause"
] | null | null | null | mongotriggers/mongotriggers.py | drorasaf/mongodb-triggers | 937d590d91fb83d414ece7e20594dd610783ed4c | [
"BSD-3-Clause"
] | 1 | 2021-01-28T14:14:18.000Z | 2021-01-28T14:14:18.000Z | from .mongodtriggers import MongodTrigger
import threading
"""Class for manipulating notifications from MongoDB """
class MongoTrigger(object):
def __init__(self, conn, since=None):
"""Creates MongoTriggers instance
The object uses a defered context to provide notification on a
differen... | 44.445378 | 82 | 0.686519 | 675 | 5,289 | 5.225185 | 0.161481 | 0.047633 | 0.056705 | 0.058974 | 0.738588 | 0.738588 | 0.738588 | 0.738588 | 0.722711 | 0.716189 | 0 | 0.000251 | 0.247684 | 5,289 | 118 | 83 | 44.822034 | 0.886152 | 0.483834 | 0 | 0.4 | 0 | 0 | 0.017403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.314286 | false | 0 | 0.057143 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c6e3ec7a6c4eb3542622e80d4bfe9f0139a32b5c | 95 | py | Python | myenv/lib/python3.9/site-packages/japanize_matplotlib/__init__.py | Yuki-max/earthquake | 3992d9967bd2ba3c803236f30a884796c71e3c0f | [
"MIT"
] | 145 | 2018-10-10T06:34:33.000Z | 2022-03-29T04:01:04.000Z | japanize_matplotlib/__init__.py | vaaaaanquish/japanize-matplotlib | 6d8f8ab4c927633be6b2257d09288afaa1cc7132 | [
"MIT"
] | 16 | 2018-11-02T03:59:02.000Z | 2021-12-04T04:42:40.000Z | japanize_matplotlib/__init__.py | vaaaaanquish/japanize-matplotlib | 6d8f8ab4c927633be6b2257d09288afaa1cc7132 | [
"MIT"
] | 14 | 2018-11-13T13:20:34.000Z | 2022-03-29T02:57:17.000Z | from japanize_matplotlib.japanize_matplotlib import japanize, get_font_path, get_font_ttf_path
| 47.5 | 94 | 0.905263 | 14 | 95 | 5.642857 | 0.571429 | 0.455696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063158 | 95 | 1 | 95 | 95 | 0.88764 | 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 |
05c2e2f2b08d5f7a315043c532b482b54f3caab2 | 60 | py | Python | jsonpath_pyrs/__init__.py | niap0r/jsonpath-pyrs | aa0e57cbf1bc1e6b0185ddc2dfddaef5124b8083 | [
"MIT"
] | null | null | null | jsonpath_pyrs/__init__.py | niap0r/jsonpath-pyrs | aa0e57cbf1bc1e6b0185ddc2dfddaef5124b8083 | [
"MIT"
] | null | null | null | jsonpath_pyrs/__init__.py | niap0r/jsonpath-pyrs | aa0e57cbf1bc1e6b0185ddc2dfddaef5124b8083 | [
"MIT"
] | null | null | null | from ._jsonpath_pyrs import read_json_file, read_json_string | 60 | 60 | 0.9 | 10 | 60 | 4.8 | 0.8 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 60 | 1 | 60 | 60 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
af0ab902bee81de85f60bdc25ac37ad2a262eda1 | 37 | py | Python | web/transiq/local/__init__.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | web/transiq/local/__init__.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | 14 | 2020-06-05T23:06:45.000Z | 2022-03-12T00:00:18.000Z | web/transiq/local/__init__.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | from transiq.settings.local import *
| 18.5 | 36 | 0.810811 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
af291fe2ec6f01ba61e4c44429431cc88ddf1e0d | 167 | py | Python | problem_1.py | vineeths96/SVM-and-Neural-Networks | 84d734542d4f7fc718c49a8d63db07b0597ccbc7 | [
"MIT"
] | 2 | 2020-12-07T09:51:40.000Z | 2021-05-03T18:29:23.000Z | problem_1.py | vineeths96/SVM-and-Neural-Networks | 84d734542d4f7fc718c49a8d63db07b0597ccbc7 | [
"MIT"
] | null | null | null | problem_1.py | vineeths96/SVM-and-Neural-Networks | 84d734542d4f7fc718c49a8d63db07b0597ccbc7 | [
"MIT"
] | 4 | 2021-02-22T16:36:50.000Z | 2021-09-14T12:50:36.000Z | from problem_1.problem_1_SVM import problem_1_SVM
from problem_1.problem_1_DNN import problem_1_DNN
# Problem 1 SVM
problem_1_SVM()
# Problem 1 DNN
problem_1_DNN()
| 16.7 | 49 | 0.826347 | 32 | 167 | 3.875 | 0.1875 | 0.645161 | 0.354839 | 0.306452 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 0.125749 | 167 | 9 | 50 | 18.555556 | 0.780822 | 0.161677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
af3455914781e1a618025ce4d4b6fcc9af5fa406 | 10,748 | py | Python | docs/website_examples/t-fixed_point.py | joannadiong/zEpid | 7377ed06156d074aa2b571be520e8e004a564353 | [
"MIT"
] | 101 | 2018-12-17T20:32:20.000Z | 2022-03-29T08:51:46.000Z | docs/website_examples/t-fixed_point.py | joannadiong/zEpid | 7377ed06156d074aa2b571be520e8e004a564353 | [
"MIT"
] | 124 | 2018-12-13T22:30:41.000Z | 2022-02-10T00:24:25.000Z | docs/website_examples/t-fixed_point.py | joannadiong/zEpid | 7377ed06156d074aa2b571be520e8e004a564353 | [
"MIT"
] | 26 | 2019-02-07T17:45:15.000Z | 2022-01-03T00:39:34.000Z | import warnings
import numpy as np
import pandas as pd
import statsmodels.api as sm
from zepid import load_sample_data, spline
#######################################################################################################################
# Binary Outcome
#####################################################... | 36.557823 | 119 | 0.614254 | 1,372 | 10,748 | 4.632653 | 0.115889 | 0.025488 | 0.038232 | 0.050975 | 0.840623 | 0.782096 | 0.767778 | 0.729232 | 0.716331 | 0.695563 | 0 | 0.048792 | 0.180033 | 10,748 | 293 | 120 | 36.682594 | 0.672416 | 0.045311 | 0 | 0.65 | 0 | 0 | 0.231688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.075 | 0 | 0.075 | 0.16 | 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 |
af78c8936ad74afa66c8f292ab57b24cbcee6ff1 | 39,056 | py | Python | digical/lib/schedule_test.py | nfearnley/digical | ff1af0f9dcb5dfdd2bdee2e653dc765affcf3b59 | [
"MIT"
] | null | null | null | digical/lib/schedule_test.py | nfearnley/digical | ff1af0f9dcb5dfdd2bdee2e653dc765affcf3b59 | [
"MIT"
] | null | null | null | digical/lib/schedule_test.py | nfearnley/digical | ff1af0f9dcb5dfdd2bdee2e653dc765affcf3b59 | [
"MIT"
] | null | null | null | import pytest
from digical import Time, TimeRange, Schedule
from digical.lib.schedule import timerange_isdisjoint, timerange_isadjacent, timerange_issubset, timerange_ispropersubset, timerange_issuperset, timerange_ispropersuperset, timerange_union, timerange_intersection, timerange_difference, timerange_symmetric_dif... | 38.478818 | 266 | 0.671369 | 4,659 | 39,056 | 5.442799 | 0.022537 | 0.205063 | 0.095867 | 0.118424 | 0.920617 | 0.906696 | 0.877553 | 0.859374 | 0.69414 | 0.674974 | 0 | 0.101083 | 0.191213 | 39,056 | 1,014 | 267 | 38.516765 | 0.701691 | 0.044782 | 0 | 0.673302 | 0 | 0.002342 | 0.006291 | 0.001416 | 0 | 0 | 0 | 0 | 0.257611 | 1 | 0.055035 | false | 0 | 0.003513 | 0 | 0.058548 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
af8bb2c0ea455cfa20d40823c574b7efa39e63c2 | 112 | py | Python | socialnetworks/github/__init__.py | gGonz/django-socialnetworks | 3f6c577efafd6ed5eb8b5cb60d9ee6a36920581d | [
"Apache-2.0"
] | 5 | 2015-06-18T03:30:28.000Z | 2017-11-04T21:34:20.000Z | socialnetworks/github/__init__.py | gGonz/django-socialnetworks | 3f6c577efafd6ed5eb8b5cb60d9ee6a36920581d | [
"Apache-2.0"
] | 2 | 2015-04-25T00:06:19.000Z | 2015-04-30T22:42:40.000Z | socialnetworks/github/__init__.py | gGonz/django-socialnetworks | 3f6c577efafd6ed5eb8b5cb60d9ee6a36920581d | [
"Apache-2.0"
] | 4 | 2015-06-11T18:28:04.000Z | 2016-09-07T15:08:09.000Z | from .clients import GitHubClient
from .decorators import fetch_github_data
from .utils import read_github_data
| 28 | 41 | 0.866071 | 16 | 112 | 5.8125 | 0.625 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 112 | 3 | 42 | 37.333333 | 0.93 | 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 |
af9909a68c095ec0b20a759915d73475a05ed1b4 | 3,568 | py | Python | tests/test_time_series_spliter.py | Plozano94/skforecast | 71b83a45ecde757fb24be58adf9c88d8066a4582 | [
"MIT"
] | null | null | null | tests/test_time_series_spliter.py | Plozano94/skforecast | 71b83a45ecde757fb24be58adf9c88d8066a4582 | [
"MIT"
] | null | null | null | tests/test_time_series_spliter.py | Plozano94/skforecast | 71b83a45ecde757fb24be58adf9c88d8066a4582 | [
"MIT"
] | null | null | null | import sys
sys.path.insert(1, '/home/ximo/Documents/GitHub/skforecast')
import pytest
from pytest import approx
import numpy as np
from skforecast.model_selection import time_series_spliter
# Test test_time_series_spliter
#-------------------------------------------------------------------------------
def test_time_s... | 33.345794 | 115 | 0.616031 | 447 | 3,568 | 4.501119 | 0.136465 | 0.089463 | 0.152087 | 0.119284 | 0.835984 | 0.818091 | 0.804672 | 0.804672 | 0.804672 | 0.776839 | 0 | 0.041053 | 0.276345 | 3,568 | 107 | 116 | 33.345794 | 0.738187 | 0.030269 | 0 | 0.611765 | 0 | 0 | 0.010989 | 0.010989 | 0 | 0 | 0 | 0 | 0.070588 | 1 | 0.094118 | false | 0 | 0.058824 | 0 | 0.152941 | 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 |
bb6557235669c3523337525e34cae046812f8d52 | 135 | py | Python | odin/handlers/data_handler/price_handler/__init__.py | gsamarakoon/Odin | e2e9d638c68947d24f1260d35a3527dd84c2523f | [
"MIT"
] | 103 | 2017-01-14T19:38:14.000Z | 2022-03-10T12:52:09.000Z | odin/handlers/data_handler/price_handler/__init__.py | gsamarakoon/Odin | e2e9d638c68947d24f1260d35a3527dd84c2523f | [
"MIT"
] | 6 | 2017-01-19T01:38:53.000Z | 2020-03-09T19:03:18.000Z | odin/handlers/data_handler/price_handler/__init__.py | JamesBrofos/Odin | e2e9d638c68947d24f1260d35a3527dd84c2523f | [
"MIT"
] | 33 | 2017-02-05T21:51:17.000Z | 2021-12-22T20:38:30.000Z | from .database_price_handler import DatabasePriceHandler
from .interactive_brokers_price_handler import InteractiveBrokersPriceHandler
| 45 | 77 | 0.925926 | 13 | 135 | 9.230769 | 0.692308 | 0.2 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059259 | 135 | 2 | 78 | 67.5 | 0.944882 | 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 |
bbf00786dce003d4f415fd635aa8a87b7c5bfa26 | 228 | py | Python | rand_param_envs/gym/wrappers/__init__.py | erinaldi/MetaRL | 6dfb8d2e63a1802ca7ef9c28f6ab1a758d07f871 | [
"MIT"
] | 24 | 2021-03-24T07:14:52.000Z | 2022-03-17T08:15:44.000Z | rand_param_envs/gym/wrappers/__init__.py | erinaldi/MetaRL | 6dfb8d2e63a1802ca7ef9c28f6ab1a758d07f871 | [
"MIT"
] | 12 | 2021-02-02T22:53:59.000Z | 2022-03-12T00:41:30.000Z | rand_param_envs/gym/wrappers/__init__.py | erinaldi/MetaRL | 6dfb8d2e63a1802ca7ef9c28f6ab1a758d07f871 | [
"MIT"
] | 6 | 2021-04-12T18:49:47.000Z | 2021-09-07T05:33:22.000Z | from rand_param_envs.gym import error
from rand_param_envs.gym.wrappers.frame_skipping import SkipWrapper
from rand_param_envs.gym.wrappers.monitoring import Monitor
from rand_param_envs.gym.wrappers.time_limit import TimeLimit
| 45.6 | 67 | 0.885965 | 36 | 228 | 5.333333 | 0.444444 | 0.166667 | 0.270833 | 0.354167 | 0.541667 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 228 | 4 | 68 | 57 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a537cf33a054ba5c421897c65798e0a6d5297fae | 23 | py | Python | PoisDenoiser/netwroks/__init__.py | AndreiDavydov/Poisson_Denoiser | a0b8f3dce8282b8e50d44cacb7bdc4fc6d4abc22 | [
"MIT"
] | 4 | 2019-12-24T10:54:40.000Z | 2021-12-27T14:07:06.000Z | PoisDenoiser/networks/__init__.py | AndreiDavydov/Poisson_Denoiser | a0b8f3dce8282b8e50d44cacb7bdc4fc6d4abc22 | [
"MIT"
] | null | null | null | PoisDenoiser/networks/__init__.py | AndreiDavydov/Poisson_Denoiser | a0b8f3dce8282b8e50d44cacb7bdc4fc6d4abc22 | [
"MIT"
] | 1 | 2020-09-28T06:04:12.000Z | 2020-09-28T06:04:12.000Z | from . import PoisNet
| 7.666667 | 21 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 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 |
a56d1442fa6c49c95a0e83b08dac106d466cf535 | 48 | py | Python | virl/cli/views/console/__init__.py | gve-vse-tim/virlutils | 64687229ea8763509aca54b63144b61037e5228f | [
"MIT"
] | 12 | 2018-03-27T14:02:22.000Z | 2018-06-07T16:19:38.000Z | virl/cli/views/console/__init__.py | gve-vse-tim/virlutils | 64687229ea8763509aca54b63144b61037e5228f | [
"MIT"
] | 29 | 2017-12-14T16:38:12.000Z | 2018-08-19T18:41:06.000Z | virl/cli/views/console/__init__.py | gve-vse-tim/virlutils | 64687229ea8763509aca54b63144b61037e5228f | [
"MIT"
] | 7 | 2018-03-02T15:42:22.000Z | 2020-04-20T11:25:32.000Z | from .console_views import console_table # noqa
| 24 | 47 | 0.833333 | 7 | 48 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 1 | 48 | 48 | 0.904762 | 0.083333 | 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 |
a5add39acdbf8184e956b77c8ede59f84f4f49f0 | 98 | py | Python | openprocurement/auctions/core/plugins/contracting/v2/interfaces.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 2 | 2016-09-15T20:17:43.000Z | 2017-01-08T03:32:43.000Z | openprocurement/auctions/core/plugins/contracting/v2/interfaces.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 183 | 2017-12-21T11:04:37.000Z | 2019-03-27T08:14:34.000Z | openprocurement/auctions/core/plugins/contracting/v2/interfaces.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 12 | 2016-09-05T12:07:48.000Z | 2019-02-26T09:24:17.000Z | # -*- coding: utf-8
from zope.interface import Interface
class IContractV2(Interface):
pass
| 14 | 36 | 0.72449 | 12 | 98 | 5.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.173469 | 98 | 6 | 37 | 16.333333 | 0.851852 | 0.173469 | 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 |
a5b1e5bee020cfdb5240c47d0edcd47bc482b286 | 30,920 | py | Python | zun/tests/unit/compute/test_compute_manager.py | cooldharma06/zun_glance_tag | 555399275afdff748888036a2fca47bbf347956b | [
"Apache-2.0"
] | null | null | null | zun/tests/unit/compute/test_compute_manager.py | cooldharma06/zun_glance_tag | 555399275afdff748888036a2fca47bbf347956b | [
"Apache-2.0"
] | null | null | null | zun/tests/unit/compute/test_compute_manager.py | cooldharma06/zun_glance_tag | 555399275afdff748888036a2fca47bbf347956b | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 IBM Corp.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 51.362126 | 79 | 0.643467 | 3,401 | 30,920 | 5.547486 | 0.062041 | 0.089786 | 0.069168 | 0.045317 | 0.854084 | 0.8376 | 0.82048 | 0.796417 | 0.762336 | 0.727673 | 0 | 0.002831 | 0.257471 | 30,920 | 601 | 80 | 51.447587 | 0.818938 | 0.018564 | 0 | 0.612053 | 0 | 0 | 0.080847 | 0.014244 | 0 | 0 | 0 | 0 | 0.169492 | 1 | 0.092279 | false | 0 | 0.024482 | 0.001883 | 0.122411 | 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 |
3c47da12113992dfa492449abb111d351442a1e0 | 26 | py | Python | madoka/__init__.py | moskomule/madoka | ff8ae073dd3b2fa288e16a7ecd7496560246c57a | [
"MIT"
] | 2 | 2020-03-29T18:12:30.000Z | 2021-10-02T08:00:01.000Z | madoka/__init__.py | moskomule/madoka | ff8ae073dd3b2fa288e16a7ecd7496560246c57a | [
"MIT"
] | null | null | null | madoka/__init__.py | moskomule/madoka | ff8ae073dd3b2fa288e16a7ecd7496560246c57a | [
"MIT"
] | null | null | null | from .figure import Figure | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c5e6d2098071e995425b8213a6ecf7057e8a40e | 146 | py | Python | torchcule/atari/__init__.py | cg31/cule | 6cd8e06059c3c3a193a4b2e0821dc1b9daeb726c | [
"BSD-3-Clause"
] | 208 | 2019-05-25T21:35:35.000Z | 2022-03-28T17:33:13.000Z | torchcule/atari/__init__.py | cg31/cule | 6cd8e06059c3c3a193a4b2e0821dc1b9daeb726c | [
"BSD-3-Clause"
] | 30 | 2019-07-27T08:23:54.000Z | 2022-03-24T18:17:36.000Z | torchcule/atari/__init__.py | cg31/cule | 6cd8e06059c3c3a193a4b2e0821dc1b9daeb726c | [
"BSD-3-Clause"
] | 27 | 2019-07-27T05:42:23.000Z | 2022-03-05T03:08:52.000Z | from torchcule.atari.env import Env
from torchcule.atari.rom import Rom
from torchcule.atari.state import State
__all__ = ['Env', 'Rom', 'State']
| 29.2 | 39 | 0.767123 | 22 | 146 | 4.909091 | 0.363636 | 0.361111 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116438 | 146 | 4 | 40 | 36.5 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
b1b2436e02496377f1bd9f79b0642c8584b6b19a | 2,873 | py | Python | etl/parsers/etw/Microsoft_Windows_Mobile_Broadband_Experience_Api.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_Mobile_Broadband_Experience_Api.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_Mobile_Broadband_Experience_Api.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-Mobile-Broadband-Experience-Api
GUID : 2e2bbb16-0c36-4b9b-a567-40924a199fd5
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp... | 30.892473 | 123 | 0.714584 | 346 | 2,873 | 5.702312 | 0.176301 | 0.089204 | 0.122656 | 0.172833 | 0.850482 | 0.850482 | 0.809934 | 0.809934 | 0.809934 | 0.521034 | 0 | 0.153525 | 0.16568 | 2,873 | 92 | 124 | 31.228261 | 0.669587 | 0.040376 | 0 | 0.484848 | 0 | 0 | 0.190684 | 0.131004 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1f1b31667b9d521c8a5d3bed6c9ca8c80fff174 | 41 | py | Python | tests/dkt/__init__.py | bigdata-ustc/XKT | b3ac07541b92001b62d7cff4e8fe7e5a69c5c93c | [
"MIT"
] | 17 | 2019-09-11T12:00:05.000Z | 2022-03-30T04:41:05.000Z | tests/gkt/__init__.py | bigdata-ustc/XKT | b3ac07541b92001b62d7cff4e8fe7e5a69c5c93c | [
"MIT"
] | 1 | 2021-10-24T01:13:33.000Z | 2021-10-24T02:03:26.000Z | tests/dkt/__init__.py | bigdata-ustc/XKT | b3ac07541b92001b62d7cff4e8fe7e5a69c5c93c | [
"MIT"
] | 6 | 2019-09-13T07:50:07.000Z | 2022-03-12T00:22:11.000Z | # coding: utf-8
# 2021/8/24 @ tongshiwei
| 13.666667 | 24 | 0.658537 | 7 | 41 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.170732 | 41 | 2 | 25 | 20.5 | 0.558824 | 0.878049 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
5907220e4040dc6b5426bc0278e3c3fa6d692847 | 27 | py | Python | shap/actions/__init__.py | zduey/shap | 1bb8203f2d43f7552396a5f26167a258cbdc505c | [
"MIT"
] | 16,097 | 2016-12-01T20:01:26.000Z | 2022-03-31T20:27:40.000Z | shap/actions/__init__.py | zduey/shap | 1bb8203f2d43f7552396a5f26167a258cbdc505c | [
"MIT"
] | 2,217 | 2017-09-18T20:06:45.000Z | 2022-03-31T21:00:25.000Z | shap/actions/__init__.py | zduey/shap | 1bb8203f2d43f7552396a5f26167a258cbdc505c | [
"MIT"
] | 2,634 | 2017-06-29T21:30:46.000Z | 2022-03-30T07:30:36.000Z | from ._action import Action | 27 | 27 | 0.851852 | 4 | 27 | 5.5 | 0.75 | 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 |
3cc9ca70ead93369810abdc52257b9a5bd29fa0e | 256 | py | Python | files/catkin_ws/devel/lib/python2.7/dist-packages/gazebo_msgs/msg/__init__.py | Filipe-Douglas-Slam/slam_lidar_kinect | 4ac2c9555f939ba3bc3e97314eb611bdd9df5f27 | [
"MIT"
] | null | null | null | files/catkin_ws/devel/lib/python2.7/dist-packages/gazebo_msgs/msg/__init__.py | Filipe-Douglas-Slam/slam_lidar_kinect | 4ac2c9555f939ba3bc3e97314eb611bdd9df5f27 | [
"MIT"
] | 1 | 2021-07-08T10:26:06.000Z | 2021-07-08T10:31:11.000Z | files/catkin_ws/devel/lib/python2.7/dist-packages/gazebo_msgs/msg/__init__.py | Filipe-Douglas-Slam/slam_lidar_kinect | 4ac2c9555f939ba3bc3e97314eb611bdd9df5f27 | [
"MIT"
] | null | null | null | from ._ContactState import *
from ._ContactsState import *
from ._LinkState import *
from ._LinkStates import *
from ._ModelState import *
from ._ModelStates import *
from ._ODEJointProperties import *
from ._ODEPhysics import *
from ._WorldState import *
| 25.6 | 34 | 0.789063 | 27 | 256 | 7.148148 | 0.407407 | 0.414508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 256 | 9 | 35 | 28.444444 | 0.877273 | 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 |
a736b6d19a2771c626c550644f3dc1c413a0b8b9 | 86 | py | Python | tests/artist/conftest.py | cjolowicz/muckr-service | 014017ab92bd1d2034cd398f2e98a6fdaf30f164 | [
"MIT"
] | null | null | null | tests/artist/conftest.py | cjolowicz/muckr-service | 014017ab92bd1d2034cd398f2e98a6fdaf30f164 | [
"MIT"
] | 12 | 2018-12-21T22:13:33.000Z | 2019-08-03T20:03:19.000Z | tests/artist/conftest.py | cjolowicz/muckr-service | 014017ab92bd1d2034cd398f2e98a6fdaf30f164 | [
"MIT"
] | null | null | null | from tests.artist.fixtures import * # noqa
from tests.user.fixtures import * # noqa
| 28.666667 | 43 | 0.744186 | 12 | 86 | 5.333333 | 0.583333 | 0.28125 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 2 | 44 | 43 | 0.888889 | 0.104651 | 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 |
595b66bed474955f4f90cfd6f97ae2ee880bbaba | 156 | py | Python | cloud_scanner_generic/config/__init__.py | Microsoft/cloud-scanner-generic | ef3cc01d64fd1857245049ce4ec23f1856eee46f | [
"MIT"
] | 4 | 2019-06-22T14:33:43.000Z | 2021-04-20T16:18:28.000Z | cloud_scanner_generic/config/__init__.py | microsoft/cloud-scanner-generic | ef3cc01d64fd1857245049ce4ec23f1856eee46f | [
"MIT"
] | null | null | null | cloud_scanner_generic/config/__init__.py | microsoft/cloud-scanner-generic | ef3cc01d64fd1857245049ce4ec23f1856eee46f | [
"MIT"
] | 5 | 2019-11-03T22:54:49.000Z | 2020-08-05T14:39:06.000Z | from cloud_scanner_generic.config.elastic_search_config import (
ElasticSearchConfig)
from cloud_scanner_generic.config.mysql_config import MySqlConfig
| 39 | 65 | 0.878205 | 19 | 156 | 6.842105 | 0.578947 | 0.138462 | 0.246154 | 0.353846 | 0.446154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 156 | 3 | 66 | 52 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
596b317006c77ad94ee852be44845c5e7d939a6b | 45 | py | Python | src/add_on_class/__init__.py | BehzadShayegh/abstract-object-decorator | 7228cba994ed203e647e8d74977e0c8670b9513e | [
"MIT"
] | 1 | 2022-02-10T07:24:22.000Z | 2022-02-10T07:24:22.000Z | src/add_on_class/__init__.py | BehzadShayegh/add-on-class | 7228cba994ed203e647e8d74977e0c8670b9513e | [
"MIT"
] | null | null | null | src/add_on_class/__init__.py | BehzadShayegh/add-on-class | 7228cba994ed203e647e8d74977e0c8670b9513e | [
"MIT"
] | null | null | null | from .add_on_class import AOC,covering_around | 45 | 45 | 0.888889 | 8 | 45 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.880952 | 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 |
59a3e48a1d8f54bf174bf37e15d215f62651bcee | 235 | py | Python | qupy/framing/__init__.py | marcinbor85/qupy | 219563523c975d1d5ae2aa47bbd02862c906ab43 | [
"MIT"
] | null | null | null | qupy/framing/__init__.py | marcinbor85/qupy | 219563523c975d1d5ae2aa47bbd02862c906ab43 | [
"MIT"
] | null | null | null | qupy/framing/__init__.py | marcinbor85/qupy | 219563523c975d1d5ae2aa47bbd02862c906ab43 | [
"MIT"
] | null | null | null | class AbstractFraming:
def encode_frame(self, bytes_buf):
raise NotImplementedError()
def decode_frame(self, byte):
raise NotImplementedError()
def reset(self):
raise NotImplementedError()
| 23.5 | 38 | 0.659574 | 22 | 235 | 6.909091 | 0.590909 | 0.473684 | 0.355263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26383 | 235 | 9 | 39 | 26.111111 | 0.878613 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ab83d11c6b110189d666b58f844d955438309bdc | 41 | py | Python | terraform_compliance/__init__.py | karthikeayan/terraform-compliance | 55223a65fd5987062f6a9bfae4c71f6c99c19d7c | [
"MIT"
] | 1 | 2021-05-30T16:56:49.000Z | 2021-05-30T16:56:49.000Z | terraform_compliance/__init__.py | karthikeayan/terraform-compliance | 55223a65fd5987062f6a9bfae4c71f6c99c19d7c | [
"MIT"
] | null | null | null | terraform_compliance/__init__.py | karthikeayan/terraform-compliance | 55223a65fd5987062f6a9bfae4c71f6c99c19d7c | [
"MIT"
] | 2 | 2019-06-05T04:05:31.000Z | 2021-05-30T16:58:16.000Z | from terraform_validate import Validator
| 20.5 | 40 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 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 |
e65e3fff15e9772972881b581c7ec3a5beb25810 | 27 | py | Python | Pacote Dowload/pythonProject/aula019ex091.py | J297-hub/exercicios-de-python | cde355f9aeb43abce7890cd9879646bfe768190e | [
"MIT"
] | null | null | null | Pacote Dowload/pythonProject/aula019ex091.py | J297-hub/exercicios-de-python | cde355f9aeb43abce7890cd9879646bfe768190e | [
"MIT"
] | null | null | null | Pacote Dowload/pythonProject/aula019ex091.py | J297-hub/exercicios-de-python | cde355f9aeb43abce7890cd9879646bfe768190e | [
"MIT"
] | null | null | null | from random import randint
| 13.5 | 26 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
051712176a5298dd9e26bd8bfec23f267aeaa23c | 8,647 | py | Python | tests/test_api.py | hadtrindade/controle-contas | 237135a004e14c964819993741d4e0792803626a | [
"MIT"
] | null | null | null | tests/test_api.py | hadtrindade/controle-contas | 237135a004e14c964819993741d4e0792803626a | [
"MIT"
] | 27 | 2021-10-04T02:44:47.000Z | 2021-11-17T02:15:30.000Z | tests/test_api.py | hadtrindade/controle-contas | 237135a004e14c964819993741d4e0792803626a | [
"MIT"
] | null | null | null | from flask import url_for
def test_para_inserir_usuários_deve_retornar_status_code_201(client, token):
data = {
"username": "teste",
"first_name": "teste",
"last_name": "teste",
"email": "teste@test.com",
"password": "1234",
"admin": "true",
}
response = cli... | 26.606154 | 78 | 0.61212 | 1,068 | 8,647 | 4.667603 | 0.087079 | 0.072217 | 0.054162 | 0.140822 | 0.869408 | 0.833902 | 0.802808 | 0.775326 | 0.720361 | 0.682046 | 0 | 0.037508 | 0.253845 | 8,647 | 324 | 79 | 26.688272 | 0.735121 | 0 | 0 | 0.54902 | 0 | 0 | 0.170001 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.117647 | false | 0.023529 | 0.003922 | 0 | 0.121569 | 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 |
0579a7833d7d24076eb1b98de96521e2dc59e9ba | 35 | py | Python | np_ml/affinity_propagation/__init__.py | wwwy-binary/NP_ML | a51b2f3cd753e4a8b5a67bec343c3e75b3fe52d8 | [
"MIT"
] | 237 | 2018-03-17T08:50:18.000Z | 2022-02-24T12:57:46.000Z | np_ml/affinity_propagation/__init__.py | leizhang258/NP_ML | 472008b2a0b6949bab82f037bf6010b2241c8398 | [
"MIT"
] | 2 | 2019-01-28T03:30:31.000Z | 2021-03-03T01:47:38.000Z | np_ml/affinity_propagation/__init__.py | leizhang258/NP_ML | 472008b2a0b6949bab82f037bf6010b2241c8398 | [
"MIT"
] | 79 | 2018-03-21T12:22:09.000Z | 2021-12-17T02:39:09.000Z | from .affinity_propagation import * | 35 | 35 | 0.857143 | 4 | 35 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.90625 | 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 |
058d0158af80b8e3443072e6d52b95cad1bb299a | 48 | py | Python | h5Nastran/h5Nastran/h5/nastran/input/coordinate_system/__init__.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 293 | 2015-03-22T20:22:01.000Z | 2022-03-14T20:28:24.000Z | h5Nastran/h5Nastran/h5/nastran/input/coordinate_system/__init__.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 512 | 2015-03-14T18:39:27.000Z | 2022-03-31T16:15:43.000Z | h5Nastran/h5Nastran/h5/nastran/input/coordinate_system/__init__.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 136 | 2015-03-19T03:26:06.000Z | 2022-03-25T22:14:54.000Z | from .coordinate_system import CoordinateSystem
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
558aad199e9eda65d9da415011e376d80903c5ab | 29 | py | Python | src/affnist/__init__.py | cinjon/ml-capsules-inverted-attention-routing | 978b0f58eba1007bcef0b6cb045f3d2040f76a31 | [
"AML"
] | null | null | null | src/affnist/__init__.py | cinjon/ml-capsules-inverted-attention-routing | 978b0f58eba1007bcef0b6cb045f3d2040f76a31 | [
"AML"
] | null | null | null | src/affnist/__init__.py | cinjon/ml-capsules-inverted-attention-routing | 978b0f58eba1007bcef0b6cb045f3d2040f76a31 | [
"AML"
] | null | null | null | from .dataset import AffNist
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e949029201defcc33b7ba07b9221597aa874eb2c | 13,747 | py | Python | deps/liblmdb/test/test_intintdb.py | ncloudioj/hustle | 890793b996d5ba0660f4f16dd71c88abc86ae5b5 | [
"MIT"
] | 88 | 2015-01-07T16:57:29.000Z | 2021-05-31T15:11:45.000Z | deps/liblmdb/test/test_intintdb.py | ncloudioj/hustle | 890793b996d5ba0660f4f16dd71c88abc86ae5b5 | [
"MIT"
] | 3 | 2015-08-17T09:42:20.000Z | 2018-01-12T18:31:12.000Z | deps/liblmdb/test/test_intintdb.py | ncloudioj/hustle | 890793b996d5ba0660f4f16dd71c88abc86ae5b5 | [
"MIT"
] | 10 | 2015-04-05T14:41:32.000Z | 2018-12-02T20:46:57.000Z | # -*- coding: utf-8 -*-
import mdb
from unittest import TestCase
class TestDB(TestCase):
def setUp(self):
import os
import errno
self.path = './testdbmii'
try:
os.makedirs(self.path)
except OSError as e:
if e.errno == errno.EEXIST and os.path.isdir(... | 40.432353 | 105 | 0.472321 | 1,883 | 13,747 | 3.332979 | 0.067446 | 0.060229 | 0.061185 | 0.14659 | 0.85325 | 0.818196 | 0.795411 | 0.770236 | 0.748566 | 0.748407 | 0 | 0.078118 | 0.372372 | 13,747 | 339 | 106 | 40.551622 | 0.649281 | 0.007493 | 0 | 0.690852 | 0 | 0 | 0.007992 | 0 | 0 | 0 | 0 | 0 | 0.195584 | 1 | 0.050473 | false | 0.003155 | 0.015773 | 0 | 0.069401 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.