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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f2093838afccdef79f17e1292ffc08b9b7562263 | 10,128 | py | Python | app.py | Rippiie/sample-flask | 03b0aa1a1cd46ef8facc627e2adc1dae845e848c | [
"MIT"
] | null | null | null | app.py | Rippiie/sample-flask | 03b0aa1a1cd46ef8facc627e2adc1dae845e848c | [
"MIT"
] | null | null | null | app.py | Rippiie/sample-flask | 03b0aa1a1cd46ef8facc627e2adc1dae845e848c | [
"MIT"
] | null | null | null | # # from flask import Flask
# # from flask import render_template
# # app = Flask(__name__)
# # @app.route("/")
# # def hello_world():
# # return render_template("index.html")
# from flask import Flask, request, abort
# from urllib.parse import parse_qs
# import requests
# import json
# import time
# from flask... | 35.044983 | 467 | 0.659558 | 1,103 | 10,128 | 5.940163 | 0.25476 | 0.020147 | 0.021062 | 0.024725 | 0.924298 | 0.921245 | 0.913309 | 0.913309 | 0.913309 | 0.913309 | 0 | 0.095238 | 0.207938 | 10,128 | 288 | 468 | 35.166667 | 0.721516 | 0.544826 | 0 | 0.164835 | 0 | 0.021978 | 0.350606 | 0.244729 | 0 | 0 | 0 | 0 | 0 | 1 | 0.10989 | false | 0 | 0.076923 | 0.032967 | 0.263736 | 0.032967 | 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 |
f20b79ce411eb1e2a3d9e4c93a3ce3edd504c0b1 | 105 | py | Python | structpie/__init__.py | vishalbelsare/struct-pie | 39fce3fb593dfac22b554c4f964e8351ac97e24b | [
"MIT"
] | 3 | 2020-10-21T13:28:15.000Z | 2021-08-20T10:55:30.000Z | structpie/__init__.py | vishalbelsare/struct-pie | 39fce3fb593dfac22b554c4f964e8351ac97e24b | [
"MIT"
] | null | null | null | structpie/__init__.py | vishalbelsare/struct-pie | 39fce3fb593dfac22b554c4f964e8351ac97e24b | [
"MIT"
] | 1 | 2021-08-20T10:55:32.000Z | 2021-08-20T10:55:32.000Z | from pystack import *
from cpq import *
from pybstree import *
from pyhash import *
from hashbst import * | 21 | 22 | 0.771429 | 15 | 105 | 5.4 | 0.466667 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180952 | 105 | 5 | 23 | 21 | 0.94186 | 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 |
f20e754bbceec9a88ff7f9f2e114c5d8c3e6352c | 48 | py | Python | enthought/traits/ui/wx/helper.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/ui/wx/helper.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/ui/wx/helper.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traitsui.wx.helper import *
| 16 | 32 | 0.770833 | 7 | 48 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 33 | 24 | 0.902439 | 0.25 | 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 |
f218f2f34736d8adfc553552835a0099b4888f4f | 11,095 | py | Python | tests/test_data.py | hugovk/liac-arff | 0123107cb4fee6b652289190ebd87b09d13735c2 | [
"MIT"
] | 1 | 2021-05-04T18:01:51.000Z | 2021-05-04T18:01:51.000Z | tests/test_data.py | ArlindKadra/liac-arff | 8fbd53d951b9fc0ae10d53be661186767ddea988 | [
"MIT"
] | null | null | null | tests/test_data.py | ArlindKadra/liac-arff | 8fbd53d951b9fc0ae10d53be661186767ddea988 | [
"MIT"
] | null | null | null | import types
import unittest
import arff
if arff.PY2:
import mock
else:
import unittest.mock as mock
class ConversorStub(object):
def __init__(self, r_value):
self.r_value = r_value
def __call__(self, value):
return self.r_value(value)
class COOStub(object):
def __init__(self, ... | 36.617162 | 80 | 0.520865 | 1,209 | 11,095 | 4.715467 | 0.097601 | 0.097351 | 0.055253 | 0.046308 | 0.889668 | 0.88581 | 0.854061 | 0.847395 | 0.824768 | 0.791966 | 0 | 0.035714 | 0.30347 | 11,095 | 302 | 81 | 36.738411 | 0.701993 | 0.067598 | 0 | 0.68018 | 0 | 0 | 0.080268 | 0 | 0 | 0 | 0 | 0 | 0.225225 | 1 | 0.112613 | false | 0 | 0.022523 | 0.004505 | 0.162162 | 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 |
1ef04aedf24a51649dd2e21dc2b3285b52b504b0 | 631 | py | Python | tests/analysis/test_analysis__good_estimate.py | kamilazdybal/PCAfold | 251ca0dc8c8f98976266b94147504247ddd09bd2 | [
"MIT"
] | 1 | 2022-02-01T08:57:18.000Z | 2022-02-01T08:57:18.000Z | tests/analysis/test_analysis__good_estimate.py | kamilazdybal/PCAfold | 251ca0dc8c8f98976266b94147504247ddd09bd2 | [
"MIT"
] | null | null | null | tests/analysis/test_analysis__good_estimate.py | kamilazdybal/PCAfold | 251ca0dc8c8f98976266b94147504247ddd09bd2 | [
"MIT"
] | 1 | 2022-03-13T13:19:56.000Z | 2022-03-13T13:19:56.000Z | import unittest
import numpy as np
from PCAfold import preprocess
from PCAfold import reduction
from PCAfold import analysis
class Analysis(unittest.TestCase):
def test_analysis__good_estimate__allowed_calls(self):
pass
# ------------------------------------------------------------------------------
... | 24.269231 | 80 | 0.475436 | 49 | 631 | 5.693878 | 0.44898 | 0.11828 | 0.182796 | 0.204301 | 0.433692 | 0.336918 | 0.336918 | 0.336918 | 0.336918 | 0 | 0 | 0 | 0.128368 | 631 | 25 | 81 | 25.24 | 0.507273 | 0.37401 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.416667 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1efa59c784229dca080797e29864efd4c404ef0c | 6,049 | py | Python | hbcvt/h2b.py | hanaleee/hangul-braille-converter | e916fe0c3d4124860aa56f24fb8e5554df01ac45 | [
"MIT"
] | 19 | 2018-05-06T02:16:11.000Z | 2021-12-15T12:30:03.000Z | hbcvt/h2b.py | hyonzin/hangul-braille-converter | e916fe0c3d4124860aa56f24fb8e5554df01ac45 | [
"MIT"
] | null | null | null | hbcvt/h2b.py | hyonzin/hangul-braille-converter | e916fe0c3d4124860aa56f24fb8e5554df01ac45 | [
"MIT"
] | 6 | 2018-10-05T05:38:49.000Z | 2021-10-04T03:37:38.000Z | import hgtk
MATCH_H2B_CHO = {
u'ㄱ': [[0,0,0,1,0,0]],
u'ㄴ': [[1,0,0,1,0,0]],
u'ㄷ': [[0,1,0,1,0,0]],
u'ㄹ': [[0,0,0,0,1,0]],
u'ㅁ': [[1,0,0,0,1,0]],
u'ㅂ': [[0,0,0,1,1,0]],
u'ㅅ': [[0,0,0,0,0,1]],
u'ㅇ': [[1,1,0,1,1,0]],
u'ㅈ': [[0,0,0,1,0,1]],
u'ㅊ': [[0,0,0,0,1,1]],
u'ㅋ': [[1,1,0,1... | 30.705584 | 76 | 0.39709 | 1,576 | 6,049 | 1.499365 | 0.08566 | 0.309776 | 0.256454 | 0.196361 | 0.6843 | 0.589928 | 0.488785 | 0.360135 | 0.308506 | 0.280576 | 0 | 0.249113 | 0.208299 | 6,049 | 196 | 77 | 30.862245 | 0.24431 | 0.075715 | 0 | 0.023952 | 0 | 0 | 0.024403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011976 | false | 0 | 0.005988 | 0 | 0.02994 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1eff27cdd45a7c3061a0627c2f5ce947a00d748c | 54 | py | Python | tests/test_import.py | catalystneuro/mease-lab-to-nwb | 5da0994e90996f0e597f4e150aff192a6994a5e1 | [
"MIT"
] | 3 | 2020-12-10T08:38:10.000Z | 2021-04-30T15:59:01.000Z | tests/test_import.py | catalystneuro/mease-lab-to-nwb | 5da0994e90996f0e597f4e150aff192a6994a5e1 | [
"MIT"
] | 31 | 2020-12-06T21:48:00.000Z | 2021-11-29T17:11:24.000Z | tests/test_import.py | catalystneuro/mease-lab-to-nwb | 5da0994e90996f0e597f4e150aff192a6994a5e1 | [
"MIT"
] | 2 | 2021-02-01T18:03:15.000Z | 2021-05-18T12:32:42.000Z | import mease_lab_to_nwb
def test_import():
return | 13.5 | 23 | 0.777778 | 9 | 54 | 4.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 54 | 4 | 24 | 13.5 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 0.333333 | 1.333333 | 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 | 1 | 0 | 0 | 0 | 6 |
4808a32a864d874f1918487f0408b890614fb12b | 30 | py | Python | pdpy11/compiler/__init__.py | lvd2/PDPy11 | ef4c7124541e92496062fb69fcffaee51b251d70 | [
"MIT"
] | 32 | 2018-09-25T07:05:09.000Z | 2022-03-11T14:36:08.000Z | pyclosure/__init__.py | Spiderpig86/PyClosure | 5a154a6049575a205781877151a285f781aeb225 | [
"MIT"
] | null | null | null | pyclosure/__init__.py | Spiderpig86/PyClosure | 5a154a6049575a205781877151a285f781aeb225 | [
"MIT"
] | 5 | 2018-09-19T07:50:27.000Z | 2022-03-25T03:03:09.000Z | from .compiler import Compiler | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
480dddb334ec144a6fe0a1012c1f9c6bd705d16f | 88 | py | Python | csdl/std/arcoth.py | LSDOlab/csdl | 04c2c5764f6ca9b865ec87ecfeaf6f22ecacc5a3 | [
"MIT"
] | null | null | null | csdl/std/arcoth.py | LSDOlab/csdl | 04c2c5764f6ca9b865ec87ecfeaf6f22ecacc5a3 | [
"MIT"
] | null | null | null | csdl/std/arcoth.py | LSDOlab/csdl | 04c2c5764f6ca9b865ec87ecfeaf6f22ecacc5a3 | [
"MIT"
] | 1 | 2021-10-04T19:40:32.000Z | 2021-10-04T19:40:32.000Z | from csdl.std.log import log
def arcoth(x):
return 1 / 2 * log((x + 1) / (x - 1))
| 14.666667 | 41 | 0.545455 | 17 | 88 | 2.823529 | 0.647059 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.272727 | 88 | 5 | 42 | 17.6 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
485e487d6e667131d1cfea98b49fac0f1882457b | 5,943 | py | Python | tests/test_create_postgres_sequences.py | waveaccounting/django-sharding | f400a6a5f93c96843107feaf6e981567440785ab | [
"BSD-3-Clause"
] | 212 | 2015-10-12T10:33:05.000Z | 2022-03-19T17:34:18.000Z | tests/test_create_postgres_sequences.py | waveaccounting/django-sharding | f400a6a5f93c96843107feaf6e981567440785ab | [
"BSD-3-Clause"
] | 86 | 2015-10-13T13:08:54.000Z | 2021-08-17T16:30:30.000Z | tests/test_create_postgres_sequences.py | waveaccounting/django-sharding | f400a6a5f93c96843107feaf6e981567440785ab | [
"BSD-3-Clause"
] | 53 | 2015-10-14T13:53:45.000Z | 2021-12-01T05:53:54.000Z | from django.core.management import call_command
from django.test import TestCase
from mock import call, patch
mock_create_sequence_path = 'django_sharding_library.management.commands.create_postgres_sequences.create_postgres_global_sequence'
mock_create_func_path = 'django_sharding_library.management.commands.create_... | 42.755396 | 131 | 0.660946 | 722 | 5,943 | 4.918283 | 0.087258 | 0.090115 | 0.071248 | 0.090679 | 0.90031 | 0.893833 | 0.876936 | 0.867925 | 0.847367 | 0.828781 | 0 | 0.017821 | 0.25408 | 5,943 | 138 | 132 | 43.065217 | 0.783217 | 0 | 0 | 0.403509 | 0 | 0 | 0.231533 | 0.08346 | 0 | 0 | 0 | 0 | 0.131579 | 1 | 0.04386 | false | 0 | 0.026316 | 0 | 0.087719 | 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 |
6f9b5a9453975dd1a9bd3f0d4d73b486047fb976 | 57 | py | Python | tests/utils/__init__.py | asaf-kali/generic-iterative-stemmer | 2d2e031ecab71cf04e6756e8062cb1c72feb6d14 | [
"MIT"
] | null | null | null | tests/utils/__init__.py | asaf-kali/generic-iterative-stemmer | 2d2e031ecab71cf04e6756e8062cb1c72feb6d14 | [
"MIT"
] | 13 | 2021-12-22T06:56:30.000Z | 2022-01-30T20:39:40.000Z | tests/utils/__init__.py | asaf-kali/generic-iterative-stemmer | 2d2e031ecab71cf04e6756e8062cb1c72feb6d14 | [
"MIT"
] | null | null | null | from .data import * # noqa
from .hooks import * # noqa
| 19 | 28 | 0.649123 | 8 | 57 | 4.625 | 0.625 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245614 | 57 | 2 | 29 | 28.5 | 0.860465 | 0.157895 | 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 |
6fc0591ecbaf1b764285dd26599fcfc869d75510 | 50,983 | py | Python | app/logic/gitrepo/tests/tests_controller_GitController.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | 10 | 2017-01-13T06:28:04.000Z | 2020-11-18T13:00:26.000Z | app/logic/gitrepo/tests/tests_controller_GitController.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | null | null | null | app/logic/gitrepo/tests/tests_controller_GitController.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | 2 | 2018-03-29T14:10:53.000Z | 2019-11-20T08:21:57.000Z | """ Git Controller tests """
from django.test import TestCase
from django.utils import timezone
from app.logic.gitrepo.models.GitParentModel import GitParentEntry
from app.logic.gitrepo.models.GitCommitModel import GitCommitEntry
from app.logic.gitrepo.models.GitBranchModel import GitBranchEntry
from app.logic.gitrepo... | 60.694048 | 242 | 0.734304 | 6,532 | 50,983 | 5.444734 | 0.028781 | 0.088373 | 0.142978 | 0.111345 | 0.891944 | 0.875186 | 0.865992 | 0.856938 | 0.84018 | 0.828736 | 0 | 0.079286 | 0.160367 | 50,983 | 839 | 243 | 60.766389 | 0.751536 | 0.015554 | 0 | 0.580756 | 0 | 0 | 0.054537 | 0.031141 | 0 | 0 | 0 | 0 | 0.230241 | 1 | 0.037801 | false | 0.001718 | 0.022337 | 0 | 0.065292 | 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 |
b51094e62f29ac3ba02523a2613c9eea83a7a5e0 | 7,612 | py | Python | mealpy/swarm_based/JA.py | rishavpramanik/mealpy | d4a4d5810f15837764e4ee61517350fef3dc92b3 | [
"MIT"
] | null | null | null | mealpy/swarm_based/JA.py | rishavpramanik/mealpy | d4a4d5810f15837764e4ee61517350fef3dc92b3 | [
"MIT"
] | null | null | null | mealpy/swarm_based/JA.py | rishavpramanik/mealpy | d4a4d5810f15837764e4ee61517350fef3dc92b3 | [
"MIT"
] | null | null | null | # !/usr/bin/env python
# Created by "Thieu" at 16:30, 16/11/2020 ----------%
# Email: nguyenthieu2102@gmail.com %
# Github: https://github.com/thieu1995 %
# --------------------------------------------------%
import numpy as np
from mealpy.optimizer import Optimizer
class BaseJA(Optimiz... | 36.596154 | 135 | 0.583027 | 976 | 7,612 | 4.380123 | 0.215164 | 0.036023 | 0.031579 | 0.030877 | 0.813333 | 0.792047 | 0.786199 | 0.786199 | 0.784795 | 0.77848 | 0 | 0.045292 | 0.263269 | 7,612 | 207 | 136 | 36.772947 | 0.717011 | 0.513269 | 0 | 0.62 | 0 | 0 | 0.004247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0 | 0.04 | 0 | 0.22 | 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 |
82ef1513e6bd64ce81c6915d798f257807d69d6a | 4,247 | py | Python | l2tl/svhn_data/__init__.py | egonrian/google-research | 8177adbe9ca0d7e5a9463b54581fe6dd27be0974 | [
"Apache-2.0"
] | 3 | 2021-01-18T04:46:49.000Z | 2021-03-05T09:21:40.000Z | l2tl/svhn_data/__init__.py | Alfaxad/google-research | 2c0043ecd507e75e2df9973a3015daf9253e1467 | [
"Apache-2.0"
] | 25 | 2020-07-25T08:53:09.000Z | 2022-03-12T00:43:02.000Z | l2tl/svhn_data/__init__.py | Alfaxad/google-research | 2c0043ecd507e75e2df9973a3015daf9253e1467 | [
"Apache-2.0"
] | 4 | 2021-02-08T10:25:45.000Z | 2021-04-17T14:46:26.000Z | # coding=utf-8
# Copyright 2020 The Google Research Authors.
#
# 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 applicab... | 47.188889 | 74 | 0.877796 | 531 | 4,247 | 6.883239 | 0.27307 | 0.275787 | 0.433379 | 0.531874 | 0.653899 | 0.021888 | 0 | 0 | 0 | 0 | 0 | 0.017927 | 0.093713 | 4,247 | 89 | 75 | 47.719101 | 0.931671 | 0.142689 | 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 |
d22eabe57b0a7ef2b732f091a26e2c392a364f7c | 16,290 | py | Python | pybind/slxos/v17r_2_00/routing_system/router/router_bgp/address_family/vpnv4/vpnv4_unicast/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/routing_system/router/router_bgp/address_family/vpnv4/vpnv4_unicast/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/routing_system/router/router_bgp/address_family/vpnv4/vpnv4_unicast/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 70.826087 | 503 | 0.758686 | 2,271 | 16,290 | 5.111405 | 0.081902 | 0.039628 | 0.043418 | 0.062543 | 0.843298 | 0.795227 | 0.742764 | 0.730531 | 0.728377 | 0.71244 | 0 | 0.005171 | 0.121486 | 16,290 | 229 | 504 | 71.135371 | 0.805953 | 0.167956 | 0 | 0.413333 | 0 | 0.026667 | 0.324519 | 0.172972 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.066667 | 0 | 0.293333 | 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 |
d24006a43f931e84f30496d70fa9f9c6cfe7aa5d | 1,372 | py | Python | coingecko/coingecko.py | kkristof200/py_coingecko | ea289fc738c1b5c077a1ebcb422319527a2545ff | [
"MIT"
] | null | null | null | coingecko/coingecko.py | kkristof200/py_coingecko | ea289fc738c1b5c077a1ebcb422319527a2545ff | [
"MIT"
] | null | null | null | coingecko/coingecko.py | kkristof200/py_coingecko | ea289fc738c1b5c077a1ebcb422319527a2545ff | [
"MIT"
] | null | null | null | # --------------------------------------------------------------- Imports ---------------------------------------------------------------- #
# System
# Pip
# Local
# ---------------------------------------------------------------------------------------------------------------------------------------- #
# ---... | 28.583333 | 140 | 0.097668 | 21 | 1,372 | 6.190476 | 0.666667 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096939 | 1,372 | 48 | 141 | 28.583333 | 0.104923 | 0.887026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d243375c2e1970a2a7573e1b5e93fb5568dc49bd | 18,367 | py | Python | dataset/dataset_fuse.py | villawang/TEAM-Net | eb19d52d81a1de79e99b08a3c0cde6ed3570dfa1 | [
"MIT"
] | 2 | 2021-10-19T04:17:29.000Z | 2022-03-30T03:48:22.000Z | dataset/dataset_fuse.py | villawang/TEAM-Net | eb19d52d81a1de79e99b08a3c0cde6ed3570dfa1 | [
"MIT"
] | 1 | 2022-03-30T02:59:10.000Z | 2022-03-30T02:59:10.000Z | dataset/dataset_fuse.py | villawang/TEAM-Net | eb19d52d81a1de79e99b08a3c0cde6ed3570dfa1 | [
"MIT"
] | null | null | null | """
Definition of PyTorch "Dataset" that iterates through compressed videos
and return compressed representations (I-frames, motion vectors,
or residuals) for training or testing.
"""
import os
import os.path
import random
import numpy as np
import torch
import torch.utils.data as data
from coviar import get_num_fr... | 37.637295 | 107 | 0.575652 | 2,392 | 18,367 | 4.107441 | 0.074833 | 0.063206 | 0.067481 | 0.03257 | 0.792061 | 0.76743 | 0.761323 | 0.75369 | 0.75369 | 0.735471 | 0 | 0.026314 | 0.313061 | 18,367 | 487 | 108 | 37.714579 | 0.752398 | 0.040072 | 0 | 0.74124 | 0 | 0 | 0.040895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051213 | false | 0 | 0.037736 | 0.008086 | 0.126685 | 0.045822 | 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 |
d270edd482329de5f01487a2e45ec6b1f6d187fe | 7,531 | py | Python | apps/program/models.py | arghyam/PDA-WEB | df6194e7ab02ad858b33c939855866157818a8f6 | [
"MIT"
] | null | null | null | apps/program/models.py | arghyam/PDA-WEB | df6194e7ab02ad858b33c939855866157818a8f6 | [
"MIT"
] | 8 | 2020-06-06T01:56:10.000Z | 2022-01-13T02:45:09.000Z | apps/program/models.py | arghyam/PDA-WEB | df6194e7ab02ad858b33c939855866157818a8f6 | [
"MIT"
] | 5 | 2020-06-10T04:52:19.000Z | 2022-02-02T04:57:23.000Z | from django.db import models
from apps.entity.models import Entity
class Program(models.Model):
name = models.CharField(max_length=260)
deleted = models.BooleanField(default=False)
active = models.BooleanField(default=True)
description = models.TextField()
start_date = models.DateField(null=True)... | 32.743478 | 113 | 0.661134 | 913 | 7,531 | 5.258489 | 0.102957 | 0.059988 | 0.082483 | 0.109977 | 0.827328 | 0.779004 | 0.760675 | 0.728807 | 0.728807 | 0.705895 | 0 | 0.013023 | 0.235294 | 7,531 | 229 | 114 | 32.886463 | 0.820629 | 0 | 0 | 0.666667 | 0 | 0 | 0.029478 | 0.005843 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087432 | false | 0 | 0.010929 | 0.032787 | 0.639344 | 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 |
962e16e48e45dfd71408c8d078c6386b87ee3d2f | 71 | py | Python | execmode/__init__.py | mlabbe/execmode | f6d85604b7eb0e340985f1731609daf2d293626d | [
"MIT"
] | 1 | 2016-08-26T06:37:01.000Z | 2016-08-26T06:37:01.000Z | execmode/__init__.py | mlabbe/execmode | f6d85604b7eb0e340985f1731609daf2d293626d | [
"MIT"
] | null | null | null | execmode/__init__.py | mlabbe/execmode | f6d85604b7eb0e340985f1731609daf2d293626d | [
"MIT"
] | null | null | null | import execmode.state
import execmode.logging
import execmode.instance
| 17.75 | 24 | 0.873239 | 9 | 71 | 6.888889 | 0.555556 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 71 | 3 | 25 | 23.666667 | 0.953846 | 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 |
965a4232677ea507b344038641ebbe1b2580a706 | 8,036 | py | Python | testbyxcj/testeventlet.py | AlsikeE/Ez | 2f84ac1896a5b6d8f467c14d3618274bdcfd2cad | [
"Apache-2.0"
] | null | null | null | testbyxcj/testeventlet.py | AlsikeE/Ez | 2f84ac1896a5b6d8f467c14d3618274bdcfd2cad | [
"Apache-2.0"
] | null | null | null | testbyxcj/testeventlet.py | AlsikeE/Ez | 2f84ac1896a5b6d8f467c14d3618274bdcfd2cad | [
"Apache-2.0"
] | 1 | 2021-05-08T02:23:00.000Z | 2021-05-08T02:23:00.000Z | from eventlet import wsgi
import eventlet
from ryu.lib import hub
from ryu.base import app_manager
from ryu.ofproto import ofproto_v1_3
from ryu.lib.packet import packet
from ryu.lib.packet import ethernet, ipv4, udp
from ryu.lib.packet import ether_types
from ryu.controller.handler import CONFIG_DISPATCHER, MAIN_DIS... | 38.634615 | 98 | 0.538701 | 774 | 8,036 | 5.431525 | 0.173127 | 0.062797 | 0.086584 | 0.044957 | 0.804472 | 0.763083 | 0.763083 | 0.743578 | 0.743578 | 0.736679 | 0 | 0.009526 | 0.346814 | 8,036 | 207 | 99 | 38.821256 | 0.791389 | 0.494276 | 0 | 0.24 | 0 | 0 | 0.037655 | 0.011372 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.16 | 0 | 0.266667 | 0.093333 | 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 |
965e7801453a29d2977129042d025227c076701f | 5,660 | py | Python | functions26/units/UnitClass.py | vasilisniaouris/functions26 | afc26e9ee3cbabcb0b67a751ff6bf70bc8bf4d3d | [
"MIT"
] | null | null | null | functions26/units/UnitClass.py | vasilisniaouris/functions26 | afc26e9ee3cbabcb0b67a751ff6bf70bc8bf4d3d | [
"MIT"
] | null | null | null | functions26/units/UnitClass.py | vasilisniaouris/functions26 | afc26e9ee3cbabcb0b67a751ff6bf70bc8bf4d3d | [
"MIT"
] | null | null | null | # 2020-09-13
# This code was made for use in the Fu lab
# by Vasilis Niaouris
from ..units import unit_families
class UnitClass(float):
def __new__(cls, value, original_unit=None):
try:
if value is None:
return None
else:
return float.__new__(cls, v... | 40.141844 | 113 | 0.603004 | 644 | 5,660 | 5.029503 | 0.118012 | 0.125965 | 0.079037 | 0.051868 | 0.803952 | 0.803952 | 0.787898 | 0.787898 | 0.787898 | 0.787898 | 0 | 0.002066 | 0.315724 | 5,660 | 140 | 114 | 40.428571 | 0.834237 | 0.05742 | 0 | 0.566038 | 0 | 0 | 0.062018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103774 | false | 0 | 0.009434 | 0.009434 | 0.292453 | 0.009434 | 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 |
967a3db8a2ca26578d5bbaf4239d1d23f71a45f8 | 21 | py | Python | lstchain/calib/__init__.py | thomasgas/cta-lstchain | 59dbc58f7dd7fb35aebce22489082ac885fac18b | [
"BSD-3-Clause"
] | 1 | 2022-02-03T22:10:00.000Z | 2022-02-03T22:10:00.000Z | lstchain/calib/__init__.py | thomasgas/cta-lstchain | 59dbc58f7dd7fb35aebce22489082ac885fac18b | [
"BSD-3-Clause"
] | null | null | null | lstchain/calib/__init__.py | thomasgas/cta-lstchain | 59dbc58f7dd7fb35aebce22489082ac885fac18b | [
"BSD-3-Clause"
] | 3 | 2021-06-25T14:20:17.000Z | 2021-06-25T16:01:33.000Z | from .camera 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 |
96a156c96b61d6823c9f1bfed7a57313c8540db0 | 27 | py | Python | pyspacemouse/__init__.py | JakubAndrysek/pySpaceMouse | 11d4fe091fcf7abcfb192f427233929012676dc5 | [
"MIT"
] | 4 | 2021-06-12T13:49:56.000Z | 2022-03-04T00:45:31.000Z | pyspacemouse/__init__.py | JakubAndrysek/pyspacemouse | 11d4fe091fcf7abcfb192f427233929012676dc5 | [
"MIT"
] | null | null | null | pyspacemouse/__init__.py | JakubAndrysek/pyspacemouse | 11d4fe091fcf7abcfb192f427233929012676dc5 | [
"MIT"
] | null | null | null | from .pyspacemouse import * | 27 | 27 | 0.814815 | 3 | 27 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73ca1975a2dad92e1abb3b7ec56e1575bc27495d | 43 | py | Python | feasibgs/__init__.py | changhoonhahn/feasiBGS | b5f535f12cf64babc9e25bcec75edd45d8668f74 | [
"MIT"
] | 1 | 2021-02-24T15:02:34.000Z | 2021-02-24T15:02:34.000Z | feasibgs/__init__.py | changhoonhahn/feasiBGS | b5f535f12cf64babc9e25bcec75edd45d8668f74 | [
"MIT"
] | 7 | 2020-10-23T16:02:01.000Z | 2020-11-04T18:53:20.000Z | feasibgs/__init__.py | changhoonhahn/feasiBGS | b5f535f12cf64babc9e25bcec75edd45d8668f74 | [
"MIT"
] | 1 | 2020-11-12T00:19:41.000Z | 2020-11-12T00:19:41.000Z | from . import util as UT
#UT.check_env()
| 10.75 | 24 | 0.674419 | 8 | 43 | 3.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 43 | 3 | 25 | 14.333333 | 0.823529 | 0.325581 | 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 |
73ceab9e7e82c59ed89977f0c59049b63467ffd4 | 33 | py | Python | exercises/sum-of-multiples/sum_of_multiples.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 1 | 2021-05-15T19:59:04.000Z | 2021-05-15T19:59:04.000Z | exercises/sum-of-multiples/sum_of_multiples.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | null | null | null | exercises/sum-of-multiples/sum_of_multiples.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 2 | 2018-03-03T08:32:12.000Z | 2019-08-22T11:55:53.000Z | def sum_of_multiples():
pass
| 11 | 23 | 0.69697 | 5 | 33 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 2 | 24 | 16.5 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fb51415e073e306d1bdc1b0edd5e7ffab3974b4a | 10,932 | py | Python | tests/cupy_tests/padding_tests/test_pad.py | svlandeg/cupy | 484e007d5bf58a0445af2f6e7aa3fdfe0fcc2363 | [
"MIT"
] | null | null | null | tests/cupy_tests/padding_tests/test_pad.py | svlandeg/cupy | 484e007d5bf58a0445af2f6e7aa3fdfe0fcc2363 | [
"MIT"
] | null | null | null | tests/cupy_tests/padding_tests/test_pad.py | svlandeg/cupy | 484e007d5bf58a0445af2f6e7aa3fdfe0fcc2363 | [
"MIT"
] | null | null | null | import unittest
import warnings
import numpy
from cupy import testing
@testing.parameterize(
*testing.product({
'array': [numpy.arange(6).reshape([2, 3])],
'pad_width': [1, [1, 2], [[1, 2], [3, 4]]],
# mode 'mean' is non-exact, so it is tested in a separate class
'mode': ['consta... | 36.684564 | 78 | 0.562294 | 1,447 | 10,932 | 4.116793 | 0.08915 | 0.091321 | 0.064966 | 0.05204 | 0.828941 | 0.80141 | 0.773712 | 0.762129 | 0.75021 | 0.725197 | 0 | 0.043834 | 0.240395 | 10,932 | 297 | 79 | 36.808081 | 0.673531 | 0.072265 | 0 | 0.609442 | 0 | 0 | 0.1724 | 0 | 0 | 0 | 0 | 0.003367 | 0 | 1 | 0.060086 | false | 0 | 0.017167 | 0.012876 | 0.2103 | 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 |
fb54d4a02c4d444d706227c9c2581139f9a9afa7 | 246 | py | Python | 10.py | eliascmaciiel/infosatc-lp-avaliativo-01 | d326e66a932ab17e6e5eadcc4d516923d2521ddf | [
"MIT"
] | null | null | null | 10.py | eliascmaciiel/infosatc-lp-avaliativo-01 | d326e66a932ab17e6e5eadcc4d516923d2521ddf | [
"MIT"
] | null | null | null | 10.py | eliascmaciiel/infosatc-lp-avaliativo-01 | d326e66a932ab17e6e5eadcc4d516923d2521ddf | [
"MIT"
] | 1 | 2021-09-09T19:52:11.000Z | 2021-09-09T19:52:11.000Z | print("Olá, seja muito bem vindo, peço que você digite uma velocidade em km/h e lhe iremos apresentar em m/s")
km = float(input("Digite uma velocidade em km/h: "))
metros = km / 3.6
print ("A velocidade convertida em m/s é: {}".format(metros)) | 35.142857 | 110 | 0.703252 | 45 | 246 | 3.844444 | 0.666667 | 0.104046 | 0.219653 | 0.242775 | 0.277457 | 0.277457 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.170732 | 246 | 7 | 111 | 35.142857 | 0.838235 | 0 | 0 | 0 | 0 | 0.25 | 0.680162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fb6d12980b2dd8bbed3c610214a1f48a204a985a | 6,590 | py | Python | tests/unit/more/debian/security/test_iptables.py | timgates42/provy | ca3d5e96a2210daf3c1fd4b96e047efff152db14 | [
"MIT"
] | 15 | 2015-01-28T15:49:28.000Z | 2021-09-02T18:49:46.000Z | tests/unit/more/debian/security/test_iptables.py | timgates42/provy | ca3d5e96a2210daf3c1fd4b96e047efff152db14 | [
"MIT"
] | null | null | null | tests/unit/more/debian/security/test_iptables.py | timgates42/provy | ca3d5e96a2210daf3c1fd4b96e047efff152db14 | [
"MIT"
] | 3 | 2016-12-05T07:08:11.000Z | 2021-12-26T04:31:05.000Z | from mock import call
from nose.tools import istest
from provy.more.debian import AptitudeRole, IPTablesRole
from tests.unit.tools.helpers import ProvyTestCase
class IPTablesRoleTest(ProvyTestCase):
def setUp(self):
super(IPTablesRoleTest, self).setUp()
self.role = IPTablesRole(prov=None, context... | 37.873563 | 138 | 0.67997 | 872 | 6,590 | 4.895642 | 0.144495 | 0.044975 | 0.061841 | 0.083626 | 0.815882 | 0.801359 | 0.771844 | 0.752401 | 0.71375 | 0.70438 | 0 | 0.002724 | 0.220182 | 6,590 | 173 | 139 | 38.092486 | 0.827982 | 0 | 0 | 0.41129 | 0 | 0 | 0.143399 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 1 | 0.185484 | false | 0 | 0.032258 | 0 | 0.225806 | 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 |
fb731693c6842fa4c9d6c0e68e34d49435b36046 | 45 | py | Python | become_yukarin/config/__init__.py | nameless-writer/become-yukarin | 90143c848ce87c04060b61c199a34fc1053f607f | [
"MIT"
] | 562 | 2017-12-12T04:29:47.000Z | 2022-03-19T03:59:16.000Z | become_yukarin/config/__init__.py | ababa893/become-yukarin | 7fe29af7a15dddcf8220733472cb985019aa1e87 | [
"MIT"
] | 64 | 2018-03-10T17:26:29.000Z | 2021-01-29T22:15:10.000Z | become_yukarin/config/__init__.py | ababa893/become-yukarin | 7fe29af7a15dddcf8220733472cb985019aa1e87 | [
"MIT"
] | 101 | 2018-02-12T03:03:09.000Z | 2022-01-28T15:28:59.000Z | from . import config
from . import sr_config
| 15 | 23 | 0.777778 | 7 | 45 | 4.857143 | 0.571429 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 24 | 22.5 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fb75457425ade7c5f700faeb1068f0f364761576 | 96 | py | Python | venv/lib/python3.8/site-packages/future/moves/html/__init__.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/moves/html/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/moves/html/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/05/25/05/487c577f6906bc7a33967ac1d679fa6cf13aa783e93770f003f67981ea | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fbc699b010635d69fb6f35e4bec198f726a1cdc3 | 1,011 | py | Python | api/barriers/migrations/0071_auto_20200709_0835.py | uktrade/market-access-api | 850a59880f8f62263784bcd9c6b3362e447dbc7a | [
"MIT"
] | null | null | null | api/barriers/migrations/0071_auto_20200709_0835.py | uktrade/market-access-api | 850a59880f8f62263784bcd9c6b3362e447dbc7a | [
"MIT"
] | 51 | 2018-05-31T12:16:31.000Z | 2022-03-08T09:36:48.000Z | api/barriers/migrations/0071_auto_20200709_0835.py | uktrade/market-access-api | 850a59880f8f62263784bcd9c6b3362e447dbc7a | [
"MIT"
] | 2 | 2019-12-24T09:47:42.000Z | 2021-02-09T09:36:51.000Z | # Generated by Django 2.2.12 on 2020-07-09 08:35
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("barriers", "0070_auto_20200706_1456"),
]
operations = [
migrations.AddField(
model_name="historicalpublicbarrier",
... | 29.735294 | 62 | 0.612265 | 101 | 1,011 | 5.90099 | 0.415842 | 0.120805 | 0.154362 | 0.181208 | 0.744966 | 0.744966 | 0.744966 | 0.622483 | 0.622483 | 0.622483 | 0 | 0.06069 | 0.282888 | 1,011 | 33 | 63 | 30.636364 | 0.761379 | 0.0455 | 0 | 0.740741 | 1 | 0 | 0.2108 | 0.175493 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fbd27db26d87b4f4c5a794fec44a22a9a2347428 | 19,870 | py | Python | benchmarks/test_distances.py | damonge/CCL | 04cb83885ccd5f343b48cd8151bebd5779518ca6 | [
"BSD-3-Clause"
] | null | null | null | benchmarks/test_distances.py | damonge/CCL | 04cb83885ccd5f343b48cd8151bebd5779518ca6 | [
"BSD-3-Clause"
] | 1 | 2020-07-28T12:22:35.000Z | 2020-07-28T12:22:35.000Z | benchmarks/test_distances.py | damonge/CCL | 04cb83885ccd5f343b48cd8151bebd5779518ca6 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from numpy.testing import assert_allclose
import numpy.testing
import pyccl as ccl
import pytest
# Set tolerances
DISTANCES_TOLERANCE = 1e-4
# The distance tolerance is 1e-3 for distances with massive neutrinos
# This is because we compare to astropy which uses a fitting function
# instead of the fu... | 29.524517 | 78 | 0.646855 | 3,241 | 19,870 | 3.692687 | 0.06788 | 0.0376 | 0.011698 | 0.036765 | 0.849098 | 0.820772 | 0.755097 | 0.738219 | 0.732787 | 0.72861 | 0 | 0.039422 | 0.230196 | 19,870 | 672 | 79 | 29.568452 | 0.743005 | 0.240513 | 0 | 0.588235 | 0 | 0 | 0.069385 | 0.028341 | 0 | 0 | 0 | 0 | 0.061381 | 1 | 0.112532 | false | 0 | 0.012788 | 0 | 0.15601 | 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 |
839d2bf8a332c94095814ad80fc4e00ae0d982d2 | 115 | py | Python | cvopt_study/search_setting/__init__.py | lucasiscovici/cvopt | b74dcdc07a66456c1a52dc4a13df20f2d5fe7071 | [
"BSD-2-Clause"
] | 16 | 2017-11-05T04:51:41.000Z | 2021-06-29T08:30:39.000Z | cvopt_study/search_setting/__init__.py | lucasiscovici/cvopt | b74dcdc07a66456c1a52dc4a13df20f2d5fe7071 | [
"BSD-2-Clause"
] | 3 | 2018-08-16T17:49:39.000Z | 2020-01-04T03:31:57.000Z | cvopt_study/search_setting/__init__.py | lucasiscovici/cvopt | b74dcdc07a66456c1a52dc4a13df20f2d5fe7071 | [
"BSD-2-Clause"
] | 8 | 2017-11-28T05:28:53.000Z | 2020-04-09T07:27:55.000Z | # coding: utf-8
from ._base import search_category, search_numeric
__all__ = ("search_category", "search_numeric") | 28.75 | 50 | 0.782609 | 15 | 115 | 5.4 | 0.666667 | 0.345679 | 0.493827 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.104348 | 115 | 4 | 51 | 28.75 | 0.776699 | 0.113043 | 0 | 0 | 0 | 0 | 0.287129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
839f8bf509f94ac0337dc688e56d09150744fe49 | 47 | py | Python | two_thinning/average_based/RL/DQN/__init__.py | varikakasandor/dissertation-balls-into-bins | fba69dd5ffd0b4984795c9a5ec119bf8c6f47d9e | [
"Apache-2.0"
] | null | null | null | two_thinning/average_based/RL/DQN/__init__.py | varikakasandor/dissertation-balls-into-bins | fba69dd5ffd0b4984795c9a5ec119bf8c6f47d9e | [
"Apache-2.0"
] | null | null | null | two_thinning/average_based/RL/DQN/__init__.py | varikakasandor/dissertation-balls-into-bins | fba69dd5ffd0b4984795c9a5ec119bf8c6f47d9e | [
"Apache-2.0"
] | null | null | null | from two_thinning.average_based.RL.DQN import * | 47 | 47 | 0.851064 | 8 | 47 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83b3b83fa36ea626876e5a82c842b9f836a81661 | 4,745 | py | Python | comic_site/comic/views.py | ExCorde314/comic_site | 31e4bb0f3dd1f25eb497d8374de301a07f74c805 | [
"MIT"
] | 1 | 2018-01-25T21:36:09.000Z | 2018-01-25T21:36:09.000Z | comic_site/comic/views.py | ExCorde314/comic_site | 31e4bb0f3dd1f25eb497d8374de301a07f74c805 | [
"MIT"
] | null | null | null | comic_site/comic/views.py | ExCorde314/comic_site | 31e4bb0f3dd1f25eb497d8374de301a07f74c805 | [
"MIT"
] | null | null | null | from django.shortcuts import render, get_object_or_404, redirect
from .models import Comic
from .forms import AddComic, ChangeComic, DeleteComic
from django.http import Http404
# The home page
def index(request):
# Gets whether or not the user is logged in
user_logged_in = request.user.is_authenticated... | 29.290123 | 93 | 0.604636 | 559 | 4,745 | 4.957066 | 0.139535 | 0.040419 | 0.051967 | 0.060628 | 0.797185 | 0.788885 | 0.773006 | 0.757849 | 0.757849 | 0.74594 | 0 | 0.007242 | 0.301581 | 4,745 | 162 | 94 | 29.290123 | 0.828908 | 0.119494 | 0 | 0.71028 | 0 | 0 | 0.11878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046729 | false | 0 | 0.037383 | 0 | 0.186916 | 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 |
83f56aff3397ea5f7e556c82e8cf6d51dca81d6c | 77 | py | Python | iot/common_functions/__init__.py | sankaet/IOT-DB | a554f49b9c25ae1a9a91b6a2564489b999da03bd | [
"MIT"
] | 1 | 2016-10-26T23:10:57.000Z | 2016-10-26T23:10:57.000Z | iot/common_functions/__init__.py | sankaet/IOT-DB | a554f49b9c25ae1a9a91b6a2564489b999da03bd | [
"MIT"
] | null | null | null | iot/common_functions/__init__.py | sankaet/IOT-DB | a554f49b9c25ae1a9a91b6a2564489b999da03bd | [
"MIT"
] | null | null | null | from all_imports import *
from auth_client import *
from fix_payload import * | 25.666667 | 25 | 0.818182 | 12 | 77 | 5 | 0.666667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 77 | 3 | 26 | 25.666667 | 0.909091 | 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 |
f7a9cd2c54882a02f9c6be7387896a893a657409 | 44 | py | Python | examples/flask/api/__init__.py | d3ck-org/pyd3ckservice | 2ded045e8aa1b5c23c2b320673e5f1d64cb409bd | [
"MIT"
] | null | null | null | examples/flask/api/__init__.py | d3ck-org/pyd3ckservice | 2ded045e8aa1b5c23c2b320673e5f1d64cb409bd | [
"MIT"
] | null | null | null | examples/flask/api/__init__.py | d3ck-org/pyd3ckservice | 2ded045e8aa1b5c23c2b320673e5f1d64cb409bd | [
"MIT"
] | null | null | null | #pylint: disable=W0401
from .bike import *
| 11 | 22 | 0.727273 | 6 | 44 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0.159091 | 44 | 3 | 23 | 14.666667 | 0.756757 | 0.477273 | 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 |
791929ae39a46d1ba700244f92a954a98aa38cf6 | 74,798 | py | Python | pybind/slxos/v17r_2_00/openflow_state/flow_id/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/openflow_state/flow_id/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/openflow_state/flow_id/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 70.298872 | 812 | 0.747012 | 10,055 | 74,798 | 5.279861 | 0.02178 | 0.041817 | 0.054851 | 0.035262 | 0.908776 | 0.883742 | 0.871047 | 0.865396 | 0.855036 | 0.847426 | 0 | 0.013037 | 0.12626 | 74,798 | 1,063 | 813 | 70.365005 | 0.799293 | 0.173989 | 0 | 0.518453 | 0 | 0.043937 | 0.386721 | 0.228345 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137083 | false | 0 | 0.015817 | 0 | 0.260105 | 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 |
792aa45a8a3b566c40ea789bc3690602cb914809 | 56 | py | Python | ramda/clone.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 1 | 2018-08-05T04:41:14.000Z | 2018-08-05T04:41:14.000Z | ramda/clone.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 3 | 2018-06-12T18:42:05.000Z | 2018-07-23T11:50:25.000Z | ramda/clone.py | slavaGanzin/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | null | null | null | import copy
def clone(v):
return copy.deepcopy(v)
| 9.333333 | 27 | 0.678571 | 9 | 56 | 4.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 56 | 5 | 28 | 11.2 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f7073bf97ad59c09fc7b7b6c346d0721bbb11e86 | 65 | py | Python | ufdl-speech-app/src/ufdl/speech_app/models/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | ufdl-speech-app/src/ufdl/speech_app/models/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | 85 | 2020-07-24T00:04:28.000Z | 2022-02-10T10:35:15.000Z | ufdl-speech-app/src/ufdl/speech_app/models/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | from ._SpeechDataset import SpeechDataset, SpeechDatasetQuerySet
| 32.5 | 64 | 0.892308 | 5 | 65 | 11.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 65 | 1 | 65 | 65 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f72189c34849c418bee945e1e54df7340ce233c9 | 435 | py | Python | virtual/lib/python3.8/site-packages/wtforms/fields/__init__.py | Esther-Anyona/mylearner | d49d1c4c8dbeb93cc384f2037c48236be5dc89e1 | [
"MIT"
] | 3 | 2022-01-04T18:26:21.000Z | 2022-02-02T00:10:50.000Z | venv/lib/python3.10/site-packages/wtforms/fields/__init__.py | superiorkid/rbac | 40f45849687075bc46a52985af22eab6cf83cbda | [
"MIT"
] | 1 | 2021-12-30T10:36:57.000Z | 2021-12-30T10:36:57.000Z | venv/lib/python3.10/site-packages/wtforms/fields/__init__.py | superiorkid/rbac | 40f45849687075bc46a52985af22eab6cf83cbda | [
"MIT"
] | 2 | 2022-02-12T15:33:59.000Z | 2022-02-14T15:36:31.000Z | from wtforms.fields.choices import *
from wtforms.fields.choices import SelectFieldBase
from wtforms.fields.core import Field
from wtforms.fields.core import Flags
from wtforms.fields.core import Label
from wtforms.fields.datetime import *
from wtforms.fields.form import *
from wtforms.fields.list import *
from wtforms... | 36.25 | 53 | 0.832184 | 63 | 435 | 5.698413 | 0.301587 | 0.337047 | 0.473538 | 0.320334 | 0.392758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105747 | 435 | 11 | 54 | 39.545455 | 0.922879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 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 |
f73b14f39ab08ab4d7861586f6d0ef7f537d17f9 | 85 | py | Python | pydip/player/__init__.py | leo26k/pydip | dd849ed8c74d87eae6a509bc6357bc7ffd296426 | [
"MIT"
] | 13 | 2018-04-04T02:48:59.000Z | 2020-09-13T09:38:24.000Z | pydip/player/__init__.py | leo26k/pydip | dd849ed8c74d87eae6a509bc6357bc7ffd296426 | [
"MIT"
] | 6 | 2018-06-24T19:52:37.000Z | 2021-02-11T20:13:58.000Z | pydip/player/__init__.py | leo26k/pydip | dd849ed8c74d87eae6a509bc6357bc7ffd296426 | [
"MIT"
] | 5 | 2018-02-28T21:03:46.000Z | 2022-03-25T15:58:27.000Z | from pydip.player.player import Player
from pydip.player.unit import UnitTypes, Unit
| 28.333333 | 45 | 0.835294 | 13 | 85 | 5.461538 | 0.461538 | 0.253521 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 85 | 2 | 46 | 42.5 | 0.934211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f75bf304578990a7e31998e7a38e64b93e4d5fef | 614 | py | Python | graphgallery/nn/metrics/pytorch/metric.py | TobiasSchmidtDE/GraphGallery | e627e4f454e0ce3813171305a524f5190a6e6f45 | [
"MIT"
] | 300 | 2020-08-09T04:27:41.000Z | 2022-03-30T07:43:41.000Z | graphgallery/nn/metrics/pytorch/metric.py | TobiasSchmidtDE/GraphGallery | e627e4f454e0ce3813171305a524f5190a6e6f45 | [
"MIT"
] | 5 | 2020-11-05T06:16:50.000Z | 2021-12-11T05:05:22.000Z | graphgallery/nn/metrics/pytorch/metric.py | TobiasSchmidtDE/GraphGallery | e627e4f454e0ce3813171305a524f5190a6e6f45 | [
"MIT"
] | 51 | 2020-09-23T15:37:12.000Z | 2022-03-05T01:28:56.000Z | import torch
from torch import nn
class Metric(nn.Module):
def __init__(self, name=None, **kwargs):
super().__init__()
self.name = name
self.reset_states()
def forward(self, *args, **kwargs):
raise NotImplementedError
def update_state(self):
raise ... | 21.172414 | 45 | 0.592834 | 65 | 614 | 5.384615 | 0.415385 | 0.274286 | 0.308571 | 0.265714 | 0.205714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.319218 | 614 | 28 | 46 | 21.928571 | 0.837321 | 0 | 0 | 0.210526 | 0 | 0 | 0.027304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.368421 | false | 0 | 0.105263 | 0.105263 | 0.631579 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f7640af3624195396280197e750aa68688d3ded8 | 35 | py | Python | vnpy/gateway/ctp/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 323 | 2015-11-21T14:45:29.000Z | 2022-03-16T08:54:37.000Z | vnpy/gateway/ctp/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 15 | 2021-04-28T03:07:30.000Z | 2022-03-24T00:05:41.000Z | vnpy/gateway/ctp/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 148 | 2016-09-26T03:25:39.000Z | 2022-02-06T14:43:48.000Z | from .ctp_gateway import CtpGateway | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 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 |
e38f5feb1b7cb202382138bde9a8031693d585fb | 31 | py | Python | python/ql/test/experimental/dataflow/import-star/test3.py | angie1148/codeql | ab3cad749cabe762437d2eb0aab554acea6ce84d | [
"MIT"
] | 643 | 2018-08-03T11:16:54.000Z | 2020-04-27T23:10:55.000Z | python/ql/test/experimental/dataflow/import-star/test3.py | angie1148/codeql | ab3cad749cabe762437d2eb0aab554acea6ce84d | [
"MIT"
] | 1,880 | 2018-08-03T11:28:32.000Z | 2020-04-28T13:18:51.000Z | python/ql/test/experimental/dataflow/import-star/test3.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 218 | 2018-08-03T11:16:58.000Z | 2020-04-24T02:24:00.000Z | from one import foo
print(foo)
| 10.333333 | 19 | 0.774194 | 6 | 31 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 20 | 15.5 | 0.923077 | 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 |
e38f89658c00722f473700a5fd87242195a73c1c | 10,220 | py | Python | code/D01_post_process_pred_seq.py | xtguo95/Permission_Denied | 08af677e54c436169a49c034bb0ec77388208dc9 | [
"MIT"
] | 3 | 2021-12-14T07:39:54.000Z | 2022-01-11T18:44:04.000Z | code/D01_post_process_pred_seq.py | xtguo95/Permission_Denied | 08af677e54c436169a49c034bb0ec77388208dc9 | [
"MIT"
] | null | null | null | code/D01_post_process_pred_seq.py | xtguo95/Permission_Denied | 08af677e54c436169a49c034bb0ec77388208dc9 | [
"MIT"
] | 1 | 2021-09-04T06:08:35.000Z | 2021-09-04T06:08:35.000Z | import pandas as pd
import json
import numpy as np
import copy
import pickle
def post_process_with_service_time(data_path, raw_seq):
if raw_seq:
with open(data_path + "model_apply_outputs/model_apply_output/mean_dist/opt_complete_seq_tour.json") as f:
complete_seq_dict = json.load(... | 41.885246 | 147 | 0.618102 | 1,419 | 10,220 | 4.023256 | 0.104299 | 0.041689 | 0.037835 | 0.042039 | 0.822035 | 0.791732 | 0.743563 | 0.734805 | 0.715537 | 0.645822 | 0 | 0.014092 | 0.250098 | 10,220 | 244 | 148 | 41.885246 | 0.730819 | 0.167319 | 0 | 0.598485 | 0 | 0 | 0.243923 | 0.118969 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.037879 | 0 | 0.060606 | 0.007576 | 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 |
e3aa04c27452af2f5e80537105c080fb95d1ae5d | 4,726 | py | Python | tests/integration/test_create_session.py | isabella232/callisto | 182b9c3a56d13fbb3f8f199a984b4c4be6c17e9f | [
"MIT"
] | 84 | 2020-02-18T14:58:35.000Z | 2022-03-04T22:34:46.000Z | tests/integration/test_create_session.py | wrike/callisto | 182b9c3a56d13fbb3f8f199a984b4c4be6c17e9f | [
"MIT"
] | 6 | 2020-07-13T19:31:07.000Z | 2022-03-30T15:35:23.000Z | tests/integration/test_create_session.py | isabella232/callisto | 182b9c3a56d13fbb3f8f199a984b4c4be6c17e9f | [
"MIT"
] | 9 | 2021-03-08T10:17:29.000Z | 2022-03-04T12:21:53.000Z | from __future__ import annotations
from asyncio import CancelledError
from unittest import mock
import pytest
from aiohttp import web
from kubernetes_asyncio.client.rest import ApiException
from callisto.libs.domains import consts
from callisto.libs.exceptions import WebDriverException
@pytest.mark.asyncio
async d... | 51.369565 | 115 | 0.729158 | 614 | 4,726 | 5.218241 | 0.125407 | 0.067416 | 0.11985 | 0.142322 | 0.851748 | 0.846442 | 0.828027 | 0.828027 | 0.828027 | 0.813983 | 0 | 0.008485 | 0.177105 | 4,726 | 91 | 116 | 51.934066 | 0.815377 | 0 | 0 | 0.661765 | 0 | 0 | 0.043165 | 0 | 0 | 0 | 0 | 0 | 0.220588 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 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 |
e3c76308b0c36acebb7a7680a0e0b6163e147bc3 | 32 | py | Python | distgen/__init__.py | rsintheta/distgen | 5ee7c48a6261f65b3d1658bb66511b9ef1cd02cd | [
"Apache-2.0"
] | 72 | 2021-10-20T01:17:54.000Z | 2022-02-22T07:40:35.000Z | distgen/__init__.py | rsintheta/distgen | 5ee7c48a6261f65b3d1658bb66511b9ef1cd02cd | [
"Apache-2.0"
] | 7 | 2021-10-21T21:44:00.000Z | 2022-03-17T18:24:42.000Z | distgen/__init__.py | rsintheta/distgen | 5ee7c48a6261f65b3d1658bb66511b9ef1cd02cd | [
"Apache-2.0"
] | 16 | 2021-10-20T02:07:46.000Z | 2022-03-16T08:18:37.000Z | from .generator import Generator | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54019f3fe386a76ff4fb6fc85b484ffd840edb14 | 94 | py | Python | seqhighway/__init__.py | webermarcolivier/seqhighway | 30369cf19f955d963542eaedd7d8b3699dc714c0 | [
"MIT"
] | 3 | 2019-11-25T17:52:31.000Z | 2021-12-30T14:53:04.000Z | seqhighway/__init__.py | webermarcolivier/seqhighway | 30369cf19f955d963542eaedd7d8b3699dc714c0 | [
"MIT"
] | null | null | null | seqhighway/__init__.py | webermarcolivier/seqhighway | 30369cf19f955d963542eaedd7d8b3699dc714c0 | [
"MIT"
] | null | null | null | __all__ = ['seqhighway']
from .seqhighway import TrackHighway
from .seqhighway import CONFIG
| 18.8 | 36 | 0.797872 | 10 | 94 | 7.1 | 0.6 | 0.394366 | 0.56338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 94 | 4 | 37 | 23.5 | 0.865854 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
583f0da2c9b967ecae664e8516dfa1bbb09e0b8b | 31 | py | Python | src/TFE/__init__.py | SamirMoustafa/Time-Series-Classification | 1ac6c26f3de948de2bdc58d623b435900806e74c | [
"MIT"
] | 4 | 2020-04-07T15:47:51.000Z | 2020-10-24T06:22:30.000Z | src/TFE/__init__.py | hieutv85/TDA4TS_CLF | 55f60ee0927c74f8e200a71626633820b08b91d4 | [
"MIT"
] | null | null | null | src/TFE/__init__.py | hieutv85/TDA4TS_CLF | 55f60ee0927c74f8e200a71626633820b08b91d4 | [
"MIT"
] | 4 | 2020-04-08T13:09:40.000Z | 2022-03-21T08:49:07.000Z | from .common_routines import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 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 |
584bd0b0c58554c31dd19e5d4bed33eb966550da | 32 | py | Python | oss/tests/source/test.py | adevinta/vulcan-cicd | a5f3d01927c927468429912ea50b11113195e741 | [
"MIT"
] | null | null | null | oss/tests/source/test.py | adevinta/vulcan-cicd | a5f3d01927c927468429912ea50b11113195e741 | [
"MIT"
] | null | null | null | oss/tests/source/test.py | adevinta/vulcan-cicd | a5f3d01927c927468429912ea50b11113195e741 | [
"MIT"
] | null | null | null | import os
print("Hello world")
| 8 | 20 | 0.71875 | 5 | 32 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 3 | 21 | 10.666667 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.34375 | 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 |
5878c953372349a721ac3644b4a29dca4fc9305d | 2,842 | py | Python | workspace/app/tests/test_routes/test_jobs.py | r14r/FastAPI_App_Jobboard | a5ed77f51d94e45d4b3f3869a10fa0359aaad2f4 | [
"MIT"
] | null | null | null | workspace/app/tests/test_routes/test_jobs.py | r14r/FastAPI_App_Jobboard | a5ed77f51d94e45d4b3f3869a10fa0359aaad2f4 | [
"MIT"
] | null | null | null | workspace/app/tests/test_routes/test_jobs.py | r14r/FastAPI_App_Jobboard | a5ed77f51d94e45d4b3f3869a10fa0359aaad2f4 | [
"MIT"
] | null | null | null | import json
from fastapi import status
def test_create_job(client, normal_user_token_headers):
data = {
"title": "SDE super",
"company": "doogle",
"company_url": "www.doogle.com",
"location": "USA,NY",
"description": "python",
"date_posted": "2022-03-20",
}
... | 29.915789 | 85 | 0.608023 | 337 | 2,842 | 4.934718 | 0.169139 | 0.072159 | 0.108238 | 0.158749 | 0.806975 | 0.806975 | 0.801563 | 0.801563 | 0.709561 | 0.709561 | 0 | 0.026508 | 0.23012 | 2,842 | 94 | 86 | 30.234043 | 0.733547 | 0 | 0 | 0.62963 | 0 | 0 | 0.276566 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 1 | 0.061728 | false | 0 | 0.024691 | 0 | 0.08642 | 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 |
5883d46e15a93aac3cf2179beee8826226cc8d2e | 59,774 | py | Python | src/tests/presale/test_order_change.py | thegcat/pretix | 451d3fce0575d85a0ea93fd64aa0631feaced967 | [
"Apache-2.0"
] | null | null | null | src/tests/presale/test_order_change.py | thegcat/pretix | 451d3fce0575d85a0ea93fd64aa0631feaced967 | [
"Apache-2.0"
] | 17 | 2021-12-30T14:24:59.000Z | 2022-02-24T14:07:47.000Z | src/tests/presale/test_order_change.py | thegcat/pretix | 451d3fce0575d85a0ea93fd64aa0631feaced967 | [
"Apache-2.0"
] | null | null | null | #
# This file is part of pretix (Community Edition).
#
# Copyright (C) 2014-2020 Raphael Michel and contributors
# Copyright (C) 2020-2021 rami.io GmbH and contributors
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General
# Public License as published by ... | 44.244264 | 143 | 0.595794 | 7,351 | 59,774 | 4.713372 | 0.059992 | 0.07429 | 0.018789 | 0.021473 | 0.851968 | 0.834536 | 0.821923 | 0.802384 | 0.784403 | 0.773349 | 0 | 0.014374 | 0.266738 | 59,774 | 1,350 | 144 | 44.277037 | 0.776112 | 0.036253 | 0 | 0.684437 | 0 | 0.016337 | 0.146813 | 0.103405 | 0 | 0 | 0 | 0.000741 | 0.158212 | 1 | 0.038693 | false | 0 | 0.008598 | 0 | 0.050731 | 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 |
54316ad846391be11481ea64fa90060cf50bc322 | 135 | py | Python | Module-12-Modules-Packages/testpackages.py | CodingGearsCourses/PythonProgrammingFundamentals | 40e562e143802d997e1f0129bc8b52d5d0931728 | [
"MIT"
] | 1 | 2021-12-23T07:52:08.000Z | 2021-12-23T07:52:08.000Z | Module-12-Modules-Packages/testpackages.py | CodingGearsCourses/PythonProgrammingFundamentals | 40e562e143802d997e1f0129bc8b52d5d0931728 | [
"MIT"
] | null | null | null | Module-12-Modules-Packages/testpackages.py | CodingGearsCourses/PythonProgrammingFundamentals | 40e562e143802d997e1f0129bc8b52d5d0931728 | [
"MIT"
] | null | null | null | import mypkg.subpkg2.mymod21 as mod21
import mypkg.subpkg2.mymod22 as mod22
print("----")
mod21.hello()
print("----")
mod22.hello()
| 13.5 | 37 | 0.696296 | 18 | 135 | 5.222222 | 0.555556 | 0.234043 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 0.111111 | 135 | 9 | 38 | 15 | 0.666667 | 0 | 0 | 0.333333 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5448ec86aced977a526fb1e387a2b5799f18e5fc | 184 | py | Python | det3d/ops/nms/__init__.py | PatrickChoDev/CSA-3D | 34aa87194d653a93f16834d485738255f55112f0 | [
"Apache-2.0"
] | 1,318 | 2019-09-13T06:57:32.000Z | 2022-03-31T07:01:21.000Z | det3d/ops/nms/__init__.py | PatrickChoDev/CSA-3D | 34aa87194d653a93f16834d485738255f55112f0 | [
"Apache-2.0"
] | 142 | 2019-09-26T04:25:57.000Z | 2022-03-29T17:21:03.000Z | det3d/ops/nms/__init__.py | PatrickChoDev/CSA-3D | 34aa87194d653a93f16834d485738255f55112f0 | [
"Apache-2.0"
] | 309 | 2019-09-21T09:21:38.000Z | 2022-03-31T02:06:56.000Z | from det3d.ops.nms.nms_cpu import nms_jit, soft_nms_jit
from det3d.ops.nms.nms_gpu import nms_gpu, rotate_iou_gpu, rotate_nms_gpu
from det3d.ops.nms.nms_gpu import rotate_iou_gpu_eval
| 46 | 73 | 0.853261 | 38 | 184 | 3.763158 | 0.315789 | 0.167832 | 0.251748 | 0.314685 | 0.503497 | 0.377622 | 0.377622 | 0 | 0 | 0 | 0 | 0.017751 | 0.081522 | 184 | 3 | 74 | 61.333333 | 0.828402 | 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 |
54622e734f1b3bdfdcc0c59a75c7f5c271ad074c | 5,746 | py | Python | tests/test_trifinger_env.py | nicoguertler/leibnizgym | 2c1cb14fbfece09644445d58fe7ac28c41611e5f | [
"BSD-3-Clause"
] | 27 | 2021-07-12T20:58:05.000Z | 2022-03-19T20:29:08.000Z | tests/test_trifinger_env.py | nicoguertler/leibnizgym | 2c1cb14fbfece09644445d58fe7ac28c41611e5f | [
"BSD-3-Clause"
] | 3 | 2021-11-16T15:28:27.000Z | 2022-02-28T21:34:39.000Z | tests/test_trifinger_env.py | nicoguertler/leibnizgym | 2c1cb14fbfece09644445d58fe7ac28c41611e5f | [
"BSD-3-Clause"
] | 5 | 2021-07-09T21:19:12.000Z | 2022-03-14T13:36:42.000Z | #!/usr/bin/env python3
# leibnizgym
from leibnizgym.utils import *
from leibnizgym.envs import TrifingerEnv
# python
import torch
import unittest
class TestTrifingerEnv(unittest.TestCase):
"""Test the Trifinger gym environment."""
"""
Reset environment tests
"""
def test_default_reset(self):
... | 30.402116 | 105 | 0.480334 | 531 | 5,746 | 4.992467 | 0.193974 | 0.05281 | 0.030177 | 0.050924 | 0.849868 | 0.849868 | 0.849868 | 0.849868 | 0.84006 | 0.84006 | 0 | 0.017602 | 0.426558 | 5,746 | 188 | 106 | 30.56383 | 0.78695 | 0.170902 | 0 | 0.691667 | 0 | 0 | 0.134947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.033333 | 0 | 0.083333 | 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 |
547034b0a6f99c389a0d530c9e848d57c073f469 | 2,850 | py | Python | Python_Scripts/Code_Injector.py | AYIDouble/Python-Scripts | 9c0864ec14bfb00bfd1d5382c3c092f7638a5e3b | [
"MIT"
] | 15 | 2018-09-12T09:58:57.000Z | 2022-03-28T23:48:12.000Z | Python_Scripts/Code_Injector.py | AYIDouble/Python-Scripts | 9c0864ec14bfb00bfd1d5382c3c092f7638a5e3b | [
"MIT"
] | 4 | 2018-10-03T11:45:05.000Z | 2019-01-03T18:15:52.000Z | Python_Scripts/Code_Injector.py | AYIDouble/Python-Scripts | 9c0864ec14bfb00bfd1d5382c3c092f7638a5e3b | [
"MIT"
] | 2 | 2020-05-08T14:27:59.000Z | 2021-11-01T10:28:26.000Z | # Good Example of a simple Code Injector
# Developed by -> Andrea Fortuna / https://github.com/andreafortuna
import sys
from ctypes import *
from win32com.client import GetObject
if len(sys.argv) < 2:
print "Python code injector: ./" + sys.argv[0] + " <process to inject>"
sys.exit(0)
proc = sys.argv[1]
WMI =... | 43.846154 | 112 | 0.707018 | 549 | 2,850 | 3.641166 | 0.355191 | 0.021011 | 0.016008 | 0.018009 | 0.078039 | 0.048024 | 0.048024 | 0.048024 | 0.048024 | 0.048024 | 0 | 0.241156 | 0.077544 | 2,850 | 65 | 113 | 43.846154 | 0.519209 | 0.036491 | 0 | 0.076923 | 0 | 0.519231 | 0.646866 | 0.56414 | 0 | 1 | 0.008017 | 0 | 0 | 0 | null | null | 0 | 0.057692 | null | null | 0.096154 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b73a207a67d7b572aa85e1e2a8be87ac7ba3bd63 | 4,560 | py | Python | simulator/firing_models/analysis.py | truher/FRC2022 | fb8a39d0212e8460669feb282f8b9977f17fdd93 | [
"MIT"
] | null | null | null | simulator/firing_models/analysis.py | truher/FRC2022 | fb8a39d0212e8460669feb282f8b9977f17fdd93 | [
"MIT"
] | null | null | null | simulator/firing_models/analysis.py | truher/FRC2022 | fb8a39d0212e8460669feb282f8b9977f17fdd93 | [
"MIT"
] | null | null | null | from typing import Any, List
import matplotlib.pyplot as plt # type:ignore
import numpy as np
import pandas as pd # type:ignore
def plot_overlay2(bff: Any, series: str, lim: float, measure: str) -> None:
# multiplot, range precision x gun precision
urp = pd.unique(bff['rp'])
ugp = pd.unique(bff['gp'])
... | 40.353982 | 87 | 0.558553 | 686 | 4,560 | 3.631195 | 0.138484 | 0.056202 | 0.035327 | 0.040947 | 0.892413 | 0.868326 | 0.839422 | 0.806102 | 0.712967 | 0.638298 | 0 | 0.023318 | 0.266447 | 4,560 | 112 | 88 | 40.714286 | 0.721375 | 0.215351 | 0 | 0.616279 | 0 | 0 | 0.093952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05814 | false | 0 | 0.046512 | 0 | 0.104651 | 0.023256 | 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 |
3f75633bea8b0a3694f169fa8ad53ec39d8ad946 | 57 | py | Python | meissner/filters/urlencode.py | Arinerron/meissner | 860a1a4f656592bb3d25178278d3a60015b0a03a | [
"BSD-3-Clause"
] | 5 | 2020-04-04T21:32:49.000Z | 2021-05-03T17:07:02.000Z | meissner/filters/urlencode.py | e3e0261f/meissner | 860a1a4f656592bb3d25178278d3a60015b0a03a | [
"BSD-3-Clause"
] | 1 | 2021-01-02T20:10:45.000Z | 2021-01-02T20:10:45.000Z | meissner/filters/urlencode.py | e3e0261f/meissner | 860a1a4f656592bb3d25178278d3a60015b0a03a | [
"BSD-3-Clause"
] | 2 | 2020-04-25T06:37:57.000Z | 2021-05-03T17:07:03.000Z | from . import Filter
class URLEncoder(Filter):
pass
| 11.4 | 25 | 0.719298 | 7 | 57 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 57 | 4 | 26 | 14.25 | 0.911111 | 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 |
3fb27ade61361ca1ab2a2bac7e446fd0d146e747 | 27 | py | Python | tests/__init__.py | DNA-and-Natural-Algorithms-Group/nuskell | 45493408fd5efe378b52c14ee886a39e07fe00b5 | [
"MIT"
] | 5 | 2018-08-17T09:17:36.000Z | 2021-12-04T10:32:55.000Z | tests/__init__.py | DNA-and-Natural-Algorithms-Group/nuskell | 45493408fd5efe378b52c14ee886a39e07fe00b5 | [
"MIT"
] | null | null | null | tests/__init__.py | DNA-and-Natural-Algorithms-Group/nuskell | 45493408fd5efe378b52c14ee886a39e07fe00b5 | [
"MIT"
] | 1 | 2017-08-21T03:32:54.000Z | 2017-08-21T03:32:54.000Z | from .dsdcompiler import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
3fe267b133dbc05b5bfdc041a259da7c7d48a4ac | 4,097 | py | Python | src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/action.py | GuopengLin/autorest.az | 4a27f5bb94f28f41f3b4e279396709d9f12d71c9 | [
"MIT"
] | null | null | null | src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/action.py | GuopengLin/autorest.az | 4a27f5bb94f28f41f3b4e279396709d9f12d71c9 | [
"MIT"
] | null | null | null | src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/action.py | GuopengLin/autorest.az | 4a27f5bb94f28f41f3b4e279396709d9f12d71c9 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | 38.28972 | 83 | 0.53649 | 450 | 4,097 | 4.768889 | 0.251111 | 0.013048 | 0.033551 | 0.044734 | 0.723206 | 0.710158 | 0.710158 | 0.710158 | 0.710158 | 0.710158 | 0 | 0.006018 | 0.310471 | 4,097 | 106 | 84 | 38.650943 | 0.753628 | 0.135709 | 0 | 0.755814 | 0 | 0 | 0.151403 | 0.014176 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069767 | false | 0 | 0.034884 | 0 | 0.174419 | 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 |
3feb4c77caaff0515dc098f23c167ee8efda346c | 21 | py | Python | src/apter/__init__.py | ulygit/apter | 999f2551e22af469dd8d2f6ccfdd28fbde2af589 | [
"MIT"
] | null | null | null | src/apter/__init__.py | ulygit/apter | 999f2551e22af469dd8d2f6ccfdd28fbde2af589 | [
"MIT"
] | null | null | null | src/apter/__init__.py | ulygit/apter | 999f2551e22af469dd8d2f6ccfdd28fbde2af589 | [
"MIT"
] | null | null | null | from .apter import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ffec957488fa7d4fbda350a4750cd6628ee35aa | 175 | py | Python | Instanssi/common/responses.py | jpot/Instanssi.org | 5b0e3d57e002a9e8f5bb32973d43884fbdbd6a7d | [
"MIT"
] | 6 | 2015-04-03T12:15:02.000Z | 2019-05-29T07:56:11.000Z | Instanssi/common/responses.py | jpot/Instanssi.org | 5b0e3d57e002a9e8f5bb32973d43884fbdbd6a7d | [
"MIT"
] | 52 | 2015-03-04T21:15:48.000Z | 2022-03-21T20:16:24.000Z | Instanssi/common/responses.py | jpot/Instanssi.org | 5b0e3d57e002a9e8f5bb32973d43884fbdbd6a7d | [
"MIT"
] | 6 | 2017-09-26T00:52:51.000Z | 2020-02-17T17:24:21.000Z | # -*- coding: utf-8 -*-
from django.http import HttpResponse
import json
def JSONResponse(data):
return HttpResponse(json.dumps(data), content_type='application/json')
| 19.444444 | 74 | 0.737143 | 22 | 175 | 5.818182 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.131429 | 175 | 8 | 75 | 21.875 | 0.835526 | 0.12 | 0 | 0 | 0 | 0 | 0.105263 | 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 |
b207f29f3f824b6a1911529469af21c8e1685657 | 124 | py | Python | app/tumika/__init__.py | muhiza/digital.cooperative | f57a749e10796b6e00920b21809ab56b9274d944 | [
"Unlicense"
] | null | null | null | app/tumika/__init__.py | muhiza/digital.cooperative | f57a749e10796b6e00920b21809ab56b9274d944 | [
"Unlicense"
] | null | null | null | app/tumika/__init__.py | muhiza/digital.cooperative | f57a749e10796b6e00920b21809ab56b9274d944 | [
"Unlicense"
] | null | null | null | from flask import Flask, Blueprint
tumika = Blueprint("tumika", __name__, template_folder="templates")
from . import views | 24.8 | 67 | 0.782258 | 15 | 124 | 6.133333 | 0.666667 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 5 | 68 | 24.8 | 0.844037 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
b79ca3015595def81feeb1ef5e21a02b269d779d | 13,435 | py | Python | src/test_results.py | charleskawczynski/SCAMPy | b43c8a639b6b3e185ac667cb64359de9029bc3af | [
"Apache-2.0"
] | 1 | 2019-04-09T21:29:53.000Z | 2019-04-09T21:29:53.000Z | src/test_results.py | charleskawczynski/SCAMPy | b43c8a639b6b3e185ac667cb64359de9029bc3af | [
"Apache-2.0"
] | null | null | null | src/test_results.py | charleskawczynski/SCAMPy | b43c8a639b6b3e185ac667cb64359de9029bc3af | [
"Apache-2.0"
] | null | null | null | import argparse
import sys
import main
import copy
import numpy as np
import subprocess
import json
# Visual confirmation:
# python
# import main
# import matplotlib.pyplot as plt
# sol = main.run('Bomex')
# plt.plot(sol.ud_Area, sol.z) # Figure 4a in Tan et al.
# plt.plot(sol.ud_W, sol.z) # Figure 4b in Tan et al.
#... | 119.955357 | 1,880 | 0.563975 | 2,126 | 13,435 | 3.493885 | 0.203198 | 0.064351 | 0.090872 | 0.113624 | 0.656031 | 0.639203 | 0.63476 | 0.620086 | 0.620086 | 0.617663 | 0 | 0.532149 | 0.262598 | 13,435 | 111 | 1,881 | 121.036036 | 0.217624 | 0.330927 | 0 | 0.056338 | 0 | 0 | 0.043284 | 0.006136 | 0 | 0 | 0 | 0 | 0.028169 | 1 | 0.056338 | false | 0.183099 | 0.098592 | 0 | 0.197183 | 0.211268 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b7a47ddf16acfc1a7b660fca3017188a0cba141b | 125 | py | Python | widgy/models/__init__.py | IndiumTechnology/django-widgy | 3cb5ea0a38b22f7430fe4cfcd12530739d396d70 | [
"Apache-2.0"
] | 168 | 2015-01-04T17:22:45.000Z | 2022-01-28T09:53:35.000Z | widgy/models/__init__.py | IndiumTechnology/django-widgy | 3cb5ea0a38b22f7430fe4cfcd12530739d396d70 | [
"Apache-2.0"
] | 82 | 2015-01-09T18:14:32.000Z | 2020-10-08T18:13:07.000Z | widgy/models/__init__.py | IndiumTechnology/django-widgy | 3cb5ea0a38b22f7430fe4cfcd12530739d396d70 | [
"Apache-2.0"
] | 61 | 2015-01-09T17:16:51.000Z | 2021-07-03T08:52:27.000Z | from widgy.models.base import Node, Content, UnknownWidget
from widgy.models.versioning import VersionTracker, VersionCommit
| 41.666667 | 65 | 0.856 | 15 | 125 | 7.133333 | 0.733333 | 0.168224 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088 | 125 | 2 | 66 | 62.5 | 0.938596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b7d3d5703db37bb19d8d51fc37e641a9fd2fb00d | 133 | py | Python | legacy/dx/simulator/simulator_diagnoser/__init__.py | GaloisInc/adapt | 2ccff778d3e77505899266572f8f7caacb5b630f | [
"BSD-3-Clause"
] | 2 | 2020-04-09T13:04:25.000Z | 2021-09-24T14:17:26.000Z | legacy/dx/simulator/simulator_diagnoser/__init__.py | GaloisInc/adapt | 2ccff778d3e77505899266572f8f7caacb5b630f | [
"BSD-3-Clause"
] | null | null | null | legacy/dx/simulator/simulator_diagnoser/__init__.py | GaloisInc/adapt | 2ccff778d3e77505899266572f8f7caacb5b630f | [
"BSD-3-Clause"
] | 3 | 2019-09-20T20:49:54.000Z | 2021-09-02T17:33:47.000Z | from .generation import *
from .graph import *
from .io import *
from .matcher import *
from .diagnosis import *
from .util import *
| 19 | 25 | 0.729323 | 18 | 133 | 5.388889 | 0.444444 | 0.515464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180451 | 133 | 6 | 26 | 22.166667 | 0.889908 | 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 |
4d14c4afe7b98c61b53eea7b2494b5e5117e9620 | 44 | py | Python | demo/devel/lib/python3/dist-packages/srv_cli/srv/__init__.py | shouxieai/Robotics_Basics | 4dd960394d5aba134744dd6c41579ac180f1a1b9 | [
"MIT"
] | null | null | null | demo/devel/lib/python3/dist-packages/srv_cli/srv/__init__.py | shouxieai/Robotics_Basics | 4dd960394d5aba134744dd6c41579ac180f1a1b9 | [
"MIT"
] | null | null | null | demo/devel/lib/python3/dist-packages/srv_cli/srv/__init__.py | shouxieai/Robotics_Basics | 4dd960394d5aba134744dd6c41579ac180f1a1b9 | [
"MIT"
] | null | null | null | from ._AddInts import *
from ._Ops import *
| 14.666667 | 23 | 0.727273 | 6 | 44 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 24 | 22 | 0.833333 | 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 |
4d49d69bc2dae91a1182ebad224cc62f137022f5 | 70 | py | Python | Python/Games/81_Python_Programs/00_HelloWorld.py | rlong2/Code | feb6c097159bf822122a73e0131ad928780bcfcd | [
"BSD-3-Clause"
] | null | null | null | Python/Games/81_Python_Programs/00_HelloWorld.py | rlong2/Code | feb6c097159bf822122a73e0131ad928780bcfcd | [
"BSD-3-Clause"
] | null | null | null | Python/Games/81_Python_Programs/00_HelloWorld.py | rlong2/Code | feb6c097159bf822122a73e0131ad928780bcfcd | [
"BSD-3-Clause"
] | null | null | null | # 0. Hello World
print("Hello World!")
print("Time for some Python")
| 14 | 29 | 0.685714 | 11 | 70 | 4.363636 | 0.727273 | 0.416667 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.157143 | 70 | 4 | 30 | 17.5 | 0.79661 | 0.2 | 0 | 0 | 0 | 0 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4d8090d5713d5fa9d5a8742764bd001f96abbade | 223 | py | Python | system_tests/internals/story.py | McCreaP/lss | 8e334fb794f110d01f02af3fa4b02a7d635b490d | [
"BSD-2-Clause"
] | null | null | null | system_tests/internals/story.py | McCreaP/lss | 8e334fb794f110d01f02af3fa4b02a7d635b490d | [
"BSD-2-Clause"
] | null | null | null | system_tests/internals/story.py | McCreaP/lss | 8e334fb794f110d01f02af3fa4b02a7d635b490d | [
"BSD-2-Clause"
] | null | null | null | class Story:
def __init__(self, raw_story):
self.__raw_history = raw_story
def get_raw(self, key):
return self.__raw_history[key]
def get_items(self):
return self.__raw_history.items()
| 22.3 | 41 | 0.659193 | 31 | 223 | 4.193548 | 0.354839 | 0.215385 | 0.323077 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246637 | 223 | 9 | 42 | 24.777778 | 0.77381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
4dbc8b1013d0566ff9d39b896d17257634a6fa71 | 246 | py | Python | dogProject/account/urls.py | cs-fullstack-2019-spring/django-models-cw-bettyjware11 | 1cdd033b598a640a932db5aece91e3f8d2770d85 | [
"Apache-2.0"
] | null | null | null | dogProject/account/urls.py | cs-fullstack-2019-spring/django-models-cw-bettyjware11 | 1cdd033b598a640a932db5aece91e3f8d2770d85 | [
"Apache-2.0"
] | null | null | null | dogProject/account/urls.py | cs-fullstack-2019-spring/django-models-cw-bettyjware11 | 1cdd033b598a640a932db5aece91e3f8d2770d85 | [
"Apache-2.0"
] | null | null | null | # from django.urls import path
#
# from . import views
#
# urlpatterns = [
# path('account1', views.account, name='account1'),
# path('account2', views.account, name='account2'),
# path('account3', views.account, name='account3'),
# ] | 27.333333 | 55 | 0.642276 | 27 | 246 | 5.851852 | 0.444444 | 0.227848 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029268 | 0.166667 | 246 | 9 | 56 | 27.333333 | 0.741463 | 0.926829 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4de6ccf40c67cbf488932aacb9831382f911e6f7 | 46 | py | Python | exampleapps/__init__.py | MineRobber9000/gpgi | fb9559c8e74baea962b257a6082f7a34282041d3 | [
"MIT"
] | null | null | null | exampleapps/__init__.py | MineRobber9000/gpgi | fb9559c8e74baea962b257a6082f7a34282041d3 | [
"MIT"
] | null | null | null | exampleapps/__init__.py | MineRobber9000/gpgi | fb9559c8e74baea962b257a6082f7a34282041d3 | [
"MIT"
] | null | null | null | from exampleapps.helloworld import helloworld
| 23 | 45 | 0.891304 | 5 | 46 | 8.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.97619 | 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 |
12bef640b639e822d3be5b4a0f37292a06cf8e7c | 46 | py | Python | transformer_pytorch/model/attention/__init__.py | walkacross/transformer-pytorch | 6aa06889f6d10fceb5587b47aba15e65fa305074 | [
"Apache-2.0"
] | 1 | 2022-01-05T08:59:30.000Z | 2022-01-05T08:59:30.000Z | transformer_pytorch/model/attention/__init__.py | walkacross/transformer-pytorch | 6aa06889f6d10fceb5587b47aba15e65fa305074 | [
"Apache-2.0"
] | null | null | null | transformer_pytorch/model/attention/__init__.py | walkacross/transformer-pytorch | 6aa06889f6d10fceb5587b47aba15e65fa305074 | [
"Apache-2.0"
] | null | null | null | from .multi_head import MultiHeadedAttention
| 15.333333 | 44 | 0.869565 | 5 | 46 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 2 | 45 | 23 | 0.95122 | 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 |
12c6e5c0733a1b6a1c7760506bd2217933ee29df | 7,839 | py | Python | prodsim/interruptions.py | amoghskulkarni/lib-prodsim | b75f8d2fdda2f1254908098c36870e32767e5e02 | [
"MIT"
] | null | null | null | prodsim/interruptions.py | amoghskulkarni/lib-prodsim | b75f8d2fdda2f1254908098c36870e32767e5e02 | [
"MIT"
] | null | null | null | prodsim/interruptions.py | amoghskulkarni/lib-prodsim | b75f8d2fdda2f1254908098c36870e32767e5e02 | [
"MIT"
] | null | null | null |
# Generic imports
import random
# SimPy related imports
from simpy import Event
class UnscheduledMaintenance:
def __init__(self, unsched_id, proc, params):
self.name = params['name']
self.id = unsched_id
self.duration_mean = params['duration_mean']
self.duration_stddev = params['... | 45.842105 | 113 | 0.564613 | 890 | 7,839 | 4.814607 | 0.137079 | 0.036873 | 0.038506 | 0.029872 | 0.805368 | 0.777596 | 0.76056 | 0.714119 | 0.706418 | 0.687515 | 0 | 0.003087 | 0.338819 | 7,839 | 170 | 114 | 46.111765 | 0.823654 | 0.134456 | 0 | 0.663551 | 0 | 0.074766 | 0.145226 | 0.079201 | 0 | 0 | 0 | 0.005882 | 0 | 1 | 0.065421 | false | 0 | 0.018692 | 0 | 0.158879 | 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 |
12de286527aabfdc72a194300e96aed61ce945d2 | 11,923 | py | Python | openstack/tests/unit/cloud/test_qos_dscp_marking_rule.py | MaxBab/openstacksdk | 164231a0d76d9b49417e1ff4ddc9a280dc8a6535 | [
"Apache-2.0"
] | null | null | null | openstack/tests/unit/cloud/test_qos_dscp_marking_rule.py | MaxBab/openstacksdk | 164231a0d76d9b49417e1ff4ddc9a280dc8a6535 | [
"Apache-2.0"
] | null | null | null | openstack/tests/unit/cloud/test_qos_dscp_marking_rule.py | MaxBab/openstacksdk | 164231a0d76d9b49417e1ff4ddc9a280dc8a6535 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 OVH SAS
# 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 applicable law or agreed ... | 40.972509 | 74 | 0.526965 | 1,230 | 11,923 | 4.84065 | 0.13252 | 0.057272 | 0.052066 | 0.072892 | 0.787706 | 0.777628 | 0.776957 | 0.754619 | 0.754619 | 0.754619 | 0 | 0.020567 | 0.343454 | 11,923 | 290 | 75 | 41.113793 | 0.740036 | 0.047052 | 0 | 0.710938 | 0 | 0 | 0.149731 | 0.011721 | 0 | 0 | 0 | 0 | 0.078125 | 1 | 0.039063 | false | 0 | 0.011719 | 0 | 0.089844 | 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 |
427602baa39136278549b3843b55e9268d4eda77 | 4,100 | py | Python | tests/unit/test_connection.py | timgates42/pyeqs | 2e385c0a5d113af0e20be4d9393add2aabdd9565 | [
"MIT"
] | null | null | null | tests/unit/test_connection.py | timgates42/pyeqs | 2e385c0a5d113af0e20be4d9393add2aabdd9565 | [
"MIT"
] | null | null | null | tests/unit/test_connection.py | timgates42/pyeqs | 2e385c0a5d113af0e20be4d9393add2aabdd9565 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import httpretty
import json
import sure
from pyeqs import QuerySet, Filter
from pyeqs.dsl import Term, Sort, ScriptScore
from tests.helpers import homogeneous
@httpretty.activate
def test_create_queryset_with_host_string():
"""
Create a querys... | 24.848485 | 78 | 0.469268 | 399 | 4,100 | 4.649123 | 0.20802 | 0.021563 | 0.048518 | 0.045822 | 0.87062 | 0.87062 | 0.858221 | 0.858221 | 0.783827 | 0.732075 | 0 | 0.041107 | 0.400732 | 4,100 | 164 | 79 | 25 | 0.713879 | 0.102439 | 0 | 0.666667 | 0 | 0 | 0.161513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0 | 0.058333 | 0 | 0.083333 | 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 |
427a149f1444cb00d979a69469dcaaefa6d5beef | 160 | py | Python | app/main/__init__.py | ningwenyan/Flask_Todo_Demo | 77cca93287ae6b84d1324873fd0813ba74816c44 | [
"MIT"
] | 2 | 2021-01-02T10:01:09.000Z | 2021-06-15T08:08:26.000Z | app/main/__init__.py | ningwenyan/Flask_Todo_Demo | 77cca93287ae6b84d1324873fd0813ba74816c44 | [
"MIT"
] | null | null | null | app/main/__init__.py | ningwenyan/Flask_Todo_Demo | 77cca93287ae6b84d1324873fd0813ba74816c44 | [
"MIT"
] | 1 | 2021-05-03T15:06:21.000Z | 2021-05-03T15:06:21.000Z | #!/usr/bin/env python
# coding=utf-8
from flask import Blueprint
main_bp = Blueprint('main',__name__, url_prefix='/')
from . import views
from . import forms | 17.777778 | 52 | 0.73125 | 24 | 160 | 4.625 | 0.75 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.1375 | 160 | 9 | 53 | 17.777778 | 0.797101 | 0.20625 | 0 | 0 | 0 | 0 | 0.039683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
42af58be737a749344b8606552e00fc03030a9c5 | 18,136 | py | Python | tests/test_affine_transform.py | KohYoungResearchAmerica/MONAI | eca3f19182b9fcee0be7123728a9826cd382d152 | [
"Apache-2.0"
] | 3 | 2020-07-02T18:39:36.000Z | 2021-06-16T09:35:53.000Z | tests/test_affine_transform.py | KohYoungResearchAmerica/MONAI | eca3f19182b9fcee0be7123728a9826cd382d152 | [
"Apache-2.0"
] | 28 | 2020-06-26T12:47:52.000Z | 2020-09-08T00:33:42.000Z | tests/test_affine_transform.py | KohYoungResearchAmerica/MONAI | eca3f19182b9fcee0be7123728a9826cd382d152 | [
"Apache-2.0"
] | 1 | 2021-01-19T19:35:00.000Z | 2021-01-19T19:35:00.000Z | # Copyright 2020 - 2021 MONAI Consortium
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in wri... | 49.416894 | 119 | 0.544221 | 2,724 | 18,136 | 3.548458 | 0.08884 | 0.060832 | 0.060521 | 0.046348 | 0.868094 | 0.851438 | 0.840679 | 0.831782 | 0.802607 | 0.780261 | 0 | 0.14747 | 0.262296 | 18,136 | 366 | 120 | 49.551913 | 0.575006 | 0.038432 | 0 | 0.552381 | 0 | 0 | 0.017163 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 1 | 0.047619 | false | 0 | 0.019048 | 0 | 0.07619 | 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 |
35f7476894cd5e50a43db53bce2a29efced536cd | 11,797 | py | Python | operations/cell_ops.py | lmb-freiburg/autodispnet | b57b96d5c8958584fe3f4d629032e0e0e9686553 | [
"Apache-2.0"
] | 16 | 2019-12-29T10:45:06.000Z | 2021-09-23T09:30:59.000Z | operations/cell_ops.py | lmb-freiburg/autodispnet | b57b96d5c8958584fe3f4d629032e0e0e9686553 | [
"Apache-2.0"
] | 2 | 2020-02-27T07:01:46.000Z | 2020-07-16T07:23:42.000Z | operations/cell_ops.py | lmb-freiburg/autodispnet | b57b96d5c8958584fe3f4d629032e0e0e9686553 | [
"Apache-2.0"
] | 1 | 2021-08-11T14:52:07.000Z | 2021-08-11T14:52:07.000Z | import tensorflow as tf
import netdef_slim as nd
from lmbspecialops import leaky_relu
k_initializer = tf.contrib.layers.variance_scaling_initializer(factor=2, mode='FAN_IN', uniform=False)
ENCODER_OPS = {
'none' : lambda C, stride, affine, trainable: ZeroE(stride),
'max_pool_3x3' : lambda C, stride, affi... | 48.950207 | 154 | 0.566246 | 1,241 | 11,797 | 5.197421 | 0.121676 | 0.118605 | 0.056434 | 0.082481 | 0.817054 | 0.789922 | 0.774264 | 0.759845 | 0.755969 | 0.703876 | 0 | 0.016279 | 0.333475 | 11,797 | 240 | 155 | 49.154167 | 0.804019 | 0.020683 | 0 | 0.609137 | 0 | 0 | 0.050612 | 0 | 0 | 0 | 0 | 0 | 0.005076 | 1 | 0.096447 | false | 0 | 0.015228 | 0.030457 | 0.228426 | 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 |
c402817d711f208864111b73281637ae575176a2 | 1,418 | py | Python | opti_models/models/backbones/torchvision_models/resnets.py | IlyaDobrynin/opti_models | 342b87e782650e8803196c52eee2b0d21f1d9576 | [
"MIT"
] | 62 | 2020-09-07T10:30:09.000Z | 2021-12-21T21:27:54.000Z | opti_models/models/backbones/torchvision_models/resnets.py | IlyaDobrynin/opti_models | 342b87e782650e8803196c52eee2b0d21f1d9576 | [
"MIT"
] | null | null | null | opti_models/models/backbones/torchvision_models/resnets.py | IlyaDobrynin/opti_models | 342b87e782650e8803196c52eee2b0d21f1d9576 | [
"MIT"
] | 2 | 2020-11-06T14:31:30.000Z | 2021-09-26T12:16:10.000Z | import torchvision.models as models
__all__ = ['resnet18', 'resnet34', 'resnet50', 'resnet101', 'resnet152']
def resnet18(pretrained: bool, progress: bool = True, requires_grad: bool = True):
model = models.resnet18(pretrained=pretrained, progress=progress)
for params in model.parameters():
params.r... | 35.45 | 90 | 0.726375 | 165 | 1,418 | 6.127273 | 0.139394 | 0.178042 | 0.07913 | 0.118694 | 0.824926 | 0.824926 | 0.824926 | 0.824926 | 0.824926 | 0.778437 | 0 | 0.030848 | 0.17701 | 1,418 | 39 | 91 | 36.358974 | 0.835476 | 0 | 0 | 0.555556 | 0 | 0 | 0.029619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.185185 | false | 0 | 0.037037 | 0 | 0.407407 | 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 |
c41ed0900330bfc084d8f47208cab00375c979e3 | 5,001 | py | Python | workflows/functional_inference/antibiotic_resistance/antibiotic_res.py | dahak-metagenomics/dahak- | 30dc9dbedb8dcc34a47633584a764cc82a260365 | [
"BSD-3-Clause"
] | 21 | 2017-07-20T12:41:51.000Z | 2021-09-05T04:03:29.000Z | workflows/functional_inference/antibiotic_resistance/antibiotic_res.py | dahak-metagenomics/dahak- | 30dc9dbedb8dcc34a47633584a764cc82a260365 | [
"BSD-3-Clause"
] | 98 | 2017-06-16T17:19:50.000Z | 2018-08-09T01:43:41.000Z | workflows/functional_inference/antibiotic_resistance/antibiotic_res.py | dahak-metagenomics/dahak- | 30dc9dbedb8dcc34a47633584a764cc82a260365 | [
"BSD-3-Clause"
] | 9 | 2017-06-19T14:02:46.000Z | 2018-06-02T13:56:06.000Z | from __future__ import print_function
from clustergrammer_widget import *
#from antibiotic_res import *
from ipywidgets import interact, interactive, fixed, interact_manual
import matplotlib as mpl
import matplotlib.pyplot as plt
import pandas as pd
import glob
import qgrid
import numpy as np
def concat_abricate_file... | 31.853503 | 78 | 0.70206 | 672 | 5,001 | 4.989583 | 0.193452 | 0.06263 | 0.016105 | 0.042947 | 0.869669 | 0.857143 | 0.841634 | 0.841634 | 0.834775 | 0.82374 | 0 | 0.005198 | 0.192162 | 5,001 | 156 | 79 | 32.057692 | 0.824752 | 0.087982 | 0 | 0.608696 | 0 | 0 | 0.049296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104348 | false | 0 | 0.095652 | 0 | 0.304348 | 0.008696 | 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 |
c44c1853913cdec8a0dc33a1541ff922038efdcb | 8,114 | py | Python | ROMS/pmacc/tools/post_tools/rompy/tags/rompy-0.1/test.py | subond/tools | 05b93e6c78eab65ef6587e684303b12c686a3480 | [
"MIT"
] | null | null | null | ROMS/pmacc/tools/post_tools/rompy/tags/rompy-0.1/test.py | subond/tools | 05b93e6c78eab65ef6587e684303b12c686a3480 | [
"MIT"
] | null | null | null | ROMS/pmacc/tools/post_tools/rompy/tags/rompy-0.1/test.py | subond/tools | 05b93e6c78eab65ef6587e684303b12c686a3480 | [
"MIT"
] | 1 | 2021-12-04T15:41:53.000Z | 2021-12-04T15:41:53.000Z | #!/usr/bin/env python
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
from matplotlib.figure import Figure
from rompy import rompy, plot_utils, utils
map1 = False
map2 = False
map3 = False
map4 = False
map5 = False
map6 = False
map7 = Fa... | 38.822967 | 261 | 0.703229 | 1,428 | 8,114 | 3.857843 | 0.132353 | 0.007261 | 0.049011 | 0.062625 | 0.813578 | 0.808495 | 0.808495 | 0.80668 | 0.800145 | 0.783808 | 0 | 0.052438 | 0.097486 | 8,114 | 208 | 262 | 39.009615 | 0.69985 | 0.134336 | 0 | 0.434109 | 0 | 0 | 0.189774 | 0.073761 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03876 | 0 | 0.03876 | 0.116279 | 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 |
67620a8549f2ce8c7df58ab8614fc4c7de01de4c | 38 | py | Python | rest_helpers/tests/test_validators.py | WillFr/restlax | ec47617d915094137077f641427976f04acd8d47 | [
"Apache-2.0"
] | 1 | 2019-07-03T16:29:05.000Z | 2019-07-03T16:29:05.000Z | rest_helpers/tests/test_validators.py | WillFr/restlax | ec47617d915094137077f641427976f04acd8d47 | [
"Apache-2.0"
] | null | null | null | rest_helpers/tests/test_validators.py | WillFr/restlax | ec47617d915094137077f641427976f04acd8d47 | [
"Apache-2.0"
] | null | null | null | from rest_helpers import validators
| 9.5 | 35 | 0.842105 | 5 | 38 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 3 | 36 | 12.666667 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6766361b171fba2b0cc41122ff6b5ed278eaf45a | 10,838 | py | Python | tests/test_progress_tracker.py | NickG123/ProgressTracker | 7acc241cfda8987fb04c94efbbc71e6d1036737d | [
"MIT"
] | null | null | null | tests/test_progress_tracker.py | NickG123/ProgressTracker | 7acc241cfda8987fb04c94efbbc71e6d1036737d | [
"MIT"
] | null | null | null | tests/test_progress_tracker.py | NickG123/ProgressTracker | 7acc241cfda8987fb04c94efbbc71e6d1036737d | [
"MIT"
] | null | null | null | import time
import unittest
from collections import Counter
from progress_tracker import track_progress
class CustomFormatStrings(unittest.TestCase):
def custom_callback(self, message):
int(message)
def test_custom_bounded(self):
# [5,10...100]
NUMBER_OF_ITERATIONS = 101
res... | 43.701613 | 209 | 0.670419 | 1,362 | 10,838 | 5.002937 | 0.098385 | 0.066921 | 0.150572 | 0.079249 | 0.845759 | 0.803933 | 0.797916 | 0.786909 | 0.77693 | 0.768418 | 0 | 0.026766 | 0.23473 | 10,838 | 247 | 210 | 43.878543 | 0.794791 | 0.027957 | 0 | 0.604651 | 0 | 0 | 0.023574 | 0 | 0 | 0 | 0 | 0 | 0.238372 | 1 | 0.19186 | false | 0 | 0.023256 | 0.017442 | 0.261628 | 0.034884 | 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 |
67a2226b635ee87e5efab9b83e6a54c2d10a4af0 | 28 | py | Python | qmcpy/discrete_distribution/lattice/__init__.py | jungtaekkim/QMCSoftware | 4518d26b06ef737797d5e522cb61d9f7b516d74e | [
"Apache-2.0"
] | 1 | 2021-08-18T08:14:32.000Z | 2021-08-18T08:14:32.000Z | qmcpy/discrete_distribution/lattice/__init__.py | jungtaekkim/QMCSoftware | 4518d26b06ef737797d5e522cb61d9f7b516d74e | [
"Apache-2.0"
] | null | null | null | qmcpy/discrete_distribution/lattice/__init__.py | jungtaekkim/QMCSoftware | 4518d26b06ef737797d5e522cb61d9f7b516d74e | [
"Apache-2.0"
] | null | null | null | from .lattice import Lattice | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 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 |
67d8fd6417795c7af409ab4afa774eb401a1a158 | 9,672 | py | Python | menpo3d/morphablemodel/algorithm/derivatives.py | nontas/menpo3d | f29324b12a147f5b716ae5c3048d2c6b7a298752 | [
"BSD-3-Clause"
] | 3 | 2021-10-03T19:49:04.000Z | 2022-02-11T10:48:05.000Z | menpo3d/morphablemodel/algorithm/derivatives.py | nontas/menpo3d | f29324b12a147f5b716ae5c3048d2c6b7a298752 | [
"BSD-3-Clause"
] | null | null | null | menpo3d/morphablemodel/algorithm/derivatives.py | nontas/menpo3d | f29324b12a147f5b716ae5c3048d2c6b7a298752 | [
"BSD-3-Clause"
] | 1 | 2021-12-21T01:13:24.000Z | 2021-12-21T01:13:24.000Z | import numpy as np
from menpo3d.camera import PerspectiveCamera, OrthographicCamera
def d_perspective_camera_d_shape_parameters(shape_pc_uv, warped_uv, camera):
"""
Calculates the derivative of the perspective projection with respect to the
shape parameters.
Parameters
----------
shape_pc_uv... | 33.010239 | 80 | 0.598015 | 1,280 | 9,672 | 4.277344 | 0.094531 | 0.051142 | 0.009863 | 0.035068 | 0.909954 | 0.870137 | 0.839635 | 0.839635 | 0.829224 | 0.822648 | 0 | 0.028576 | 0.294458 | 9,672 | 292 | 81 | 33.123288 | 0.77374 | 0.35153 | 0 | 0.697674 | 0 | 0 | 0.016935 | 0 | 0 | 0 | 0 | 0 | 0.031008 | 1 | 0.046512 | false | 0 | 0.015504 | 0 | 0.108527 | 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 |
67edc7ef9b4a7500c20b869c1add62950a915a7e | 31 | py | Python | tests.py | reliefs/instabotai-1 | f6e99cfdc467bb13885ff1cda9cfae7f2fbac54a | [
"Apache-2.0"
] | null | null | null | tests.py | reliefs/instabotai-1 | f6e99cfdc467bb13885ff1cda9cfae7f2fbac54a | [
"Apache-2.0"
] | null | null | null | tests.py | reliefs/instabotai-1 | f6e99cfdc467bb13885ff1cda9cfae7f2fbac54a | [
"Apache-2.0"
] | null | null | null | import instabot
print("test")
| 7.75 | 15 | 0.741935 | 4 | 31 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 3 | 16 | 10.333333 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 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 |
67ef458453a2dbc472b6b792723af6c1c27ee2a5 | 98 | py | Python | alarm_clock_min.py | FoxProklya/Step-Python | 67514509655e552fc5adcc7963b971ef6f0bb46a | [
"MIT"
] | null | null | null | alarm_clock_min.py | FoxProklya/Step-Python | 67514509655e552fc5adcc7963b971ef6f0bb46a | [
"MIT"
] | null | null | null | alarm_clock_min.py | FoxProklya/Step-Python | 67514509655e552fc5adcc7963b971ef6f0bb46a | [
"MIT"
] | null | null | null | X = int(input())
H = int(input())
M = int(input())
print(X//60+H+(X%60+M)//60)
print((X%60+M)%60)
| 16.333333 | 27 | 0.540816 | 22 | 98 | 2.409091 | 0.318182 | 0.45283 | 0.301887 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 0.112245 | 98 | 5 | 28 | 19.6 | 0.494253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c02aade7a26e026c90401803d160bfe111508a65 | 7,521 | py | Python | tests/unit/test_callbacks.py | crflynn/celery-slack | c9d877f6c83457d27bea76a072abab22086bd7cd | [
"MIT"
] | 18 | 2017-12-28T15:10:25.000Z | 2021-09-18T17:33:16.000Z | tests/unit/test_callbacks.py | crflynn/celery-slack | c9d877f6c83457d27bea76a072abab22086bd7cd | [
"MIT"
] | 28 | 2018-06-07T02:05:58.000Z | 2021-06-02T00:37:56.000Z | tests/unit/test_callbacks.py | crflynn/celery-slack | c9d877f6c83457d27bea76a072abab22086bd7cd | [
"MIT"
] | 8 | 2018-06-13T04:00:27.000Z | 2020-04-25T15:51:55.000Z | """Test the callback functions and wrappers."""
from celery_slack.callbacks import slack_task_prerun
from celery_slack.callbacks import slack_task_failure
from celery_slack.callbacks import slack_task_success
from celery_slack.callbacks import slack_celery_startup
from celery_slack.callbacks import slack_celery_shutdow... | 30.573171 | 117 | 0.713735 | 962 | 7,521 | 5.231809 | 0.10395 | 0.121597 | 0.104312 | 0.067554 | 0.853964 | 0.838864 | 0.788198 | 0.706537 | 0.685078 | 0.639976 | 0 | 0.001985 | 0.196251 | 7,521 | 245 | 118 | 30.697959 | 0.830604 | 0.072464 | 0 | 0.776596 | 0 | 0 | 0.081518 | 0.041552 | 0 | 0 | 0 | 0 | 0.06383 | 1 | 0.085106 | false | 0.026596 | 0.053191 | 0 | 0.148936 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
c04beec3a3252caaad8b59a2228e7ace60e07491 | 3,148 | py | Python | hydrobr/save.py | wallissoncarvalho/hydrobr | 0374d6352a2d361486d41c6713059ddc4bdd30db | [
"BSD-3-Clause"
] | 17 | 2020-07-02T23:28:24.000Z | 2021-03-10T12:25:01.000Z | hydrobr/save.py | LucasAgro/hydrobr | f84cf02998ab3db693d925e4c6f89b274595b117 | [
"BSD-3-Clause"
] | 8 | 2020-07-07T14:12:45.000Z | 2020-07-07T20:03:11.000Z | hydrobr/save.py | LucasAgro/hydrobr | f84cf02998ab3db693d925e4c6f89b274595b117 | [
"BSD-3-Clause"
] | 4 | 2021-04-29T15:39:19.000Z | 2021-10-29T18:30:50.000Z | import os
import pandas as pd
import locale
class SaveAs:
@staticmethod
def asc_daily_prec(data, path_save):
"""
Save each column of the precipitation stations DataFrame into a ".txt" file in the ASCII standard.
Parameters
----------
data : pandas DataFrame
... | 36.604651 | 106 | 0.527001 | 410 | 3,148 | 3.946341 | 0.258537 | 0.069221 | 0.029666 | 0.039555 | 0.837454 | 0.817058 | 0.817058 | 0.817058 | 0.765142 | 0.733004 | 0 | 0.018156 | 0.335133 | 3,148 | 85 | 107 | 37.035294 | 0.754897 | 0.210928 | 0 | 0.641509 | 0 | 0 | 0.043742 | 0.029883 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.056604 | 0 | 0.113208 | 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 |
c05aab7a138aae77ac4199cad7e930564b149061 | 112 | py | Python | bigserene_sdk/__init__.py | BigSerene/bigserene-sdk | aa98178a2845f21820581fe5cae277b6c28c0a3e | [
"MIT"
] | null | null | null | bigserene_sdk/__init__.py | BigSerene/bigserene-sdk | aa98178a2845f21820581fe5cae277b6c28c0a3e | [
"MIT"
] | 2 | 2020-05-20T23:09:38.000Z | 2020-05-25T16:57:11.000Z | bigserene_sdk/__init__.py | BigSerene/bigserene-sdk | aa98178a2845f21820581fe5cae277b6c28c0a3e | [
"MIT"
] | null | null | null | from .config import Config # noqa
from .client import BigsereneClient
from .reports.client import ReportClient
| 28 | 40 | 0.821429 | 14 | 112 | 6.571429 | 0.571429 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 112 | 3 | 41 | 37.333333 | 0.948454 | 0.035714 | 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 |
fbe86d43ee4108e6c920e54e2ddc18660a56836a | 160 | py | Python | main.py | mdAhmetKemal/L3dfiletoMhd | 55b42bf13d5c27fb3b2e990b4e48f1619d8653ae | [
"MIT"
] | 1 | 2022-03-30T06:18:01.000Z | 2022-03-30T06:18:01.000Z | main.py | mdAhmetKemal/L3dfiletoMhd | 55b42bf13d5c27fb3b2e990b4e48f1619d8653ae | [
"MIT"
] | null | null | null | main.py | mdAhmetKemal/L3dfiletoMhd | 55b42bf13d5c27fb3b2e990b4e48f1619d8653ae | [
"MIT"
] | null | null | null | from fileSpesification_DataFinder import *
##--- write this a file name on l3d folder
fileSpesification_DataFinder('2011084916_20151202_125829_0000.l3d')
| 40 | 68 | 0.80625 | 19 | 160 | 6.526316 | 0.842105 | 0.435484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.125 | 160 | 3 | 69 | 53.333333 | 0.671429 | 0.25625 | 0 | 0 | 0 | 0 | 0.309735 | 0.309735 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2247d31fbc33b2da8d90963e88ea236650b836e4 | 3,415 | py | Python | Multi-task AE/model/Multitask_AE.py | ZiyHe/SLF_Estimate | 9ff2ed6d7de2ca63455e31db0adf0b8daf68606a | [
"MIT"
] | null | null | null | Multi-task AE/model/Multitask_AE.py | ZiyHe/SLF_Estimate | 9ff2ed6d7de2ca63455e31db0adf0b8daf68606a | [
"MIT"
] | null | null | null | Multi-task AE/model/Multitask_AE.py | ZiyHe/SLF_Estimate | 9ff2ed6d7de2ca63455e31db0adf0b8daf68606a | [
"MIT"
] | null | null | null | # This File is for concatenating encoder and decoder
from torch import nn
from model.Encoder import Encoder_AE, Encoder_GVAE, Encoder_LVAE, Encoder_GMVAE, Encoder_LMVAE
from model.Decoder import Decoder
# Multi-task AE
class MAE(nn.Module):
def __init__(self, M, P, K):
super(MAE, self).__init__... | 37.944444 | 95 | 0.607613 | 514 | 3,415 | 3.865759 | 0.142023 | 0.015098 | 0.045294 | 0.105687 | 0.831404 | 0.831404 | 0.831404 | 0.831404 | 0.805737 | 0.737796 | 0 | 0.002057 | 0.288141 | 3,415 | 90 | 96 | 37.944444 | 0.815302 | 0.2 | 0 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147059 | false | 0 | 0.044118 | 0 | 0.338235 | 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 |
2276057a8aaf39346b6b23c592a2607fec56812c | 134 | py | Python | ARC_A/ARC020_A.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | ARC_A/ARC020_A.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | ARC_A/ARC020_A.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | a, b = map(int, input().split())
if abs(a) == abs(b):
print('Draw')
elif abs(a) > abs(b):
print('Bug')
else:
print('Ant')
| 16.75 | 32 | 0.514925 | 23 | 134 | 3 | 0.608696 | 0.115942 | 0.202899 | 0.231884 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216418 | 134 | 7 | 33 | 19.142857 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
97d58fe01a9d66974c600d029934131e9720363b | 213 | py | Python | stable_baselines/poher/__init__.py | kevslinger/stable-baselines | 4bf9f3c1db49f462f5fb35df967d836d92a3dbcd | [
"MIT"
] | null | null | null | stable_baselines/poher/__init__.py | kevslinger/stable-baselines | 4bf9f3c1db49f462f5fb35df967d836d92a3dbcd | [
"MIT"
] | null | null | null | stable_baselines/poher/__init__.py | kevslinger/stable-baselines | 4bf9f3c1db49f462f5fb35df967d836d92a3dbcd | [
"MIT"
] | null | null | null | from stable_baselines.poher.poher import POHER
from stable_baselines.poher.replay_buffer import GoalSelectionStrategy, HindsightExperienceReplayWrapper
from stable_baselines.poher.utils import POHERGoalEnvWrapper
| 53.25 | 104 | 0.906103 | 23 | 213 | 8.217391 | 0.478261 | 0.15873 | 0.301587 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061033 | 213 | 3 | 105 | 71 | 0.945 | 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 |
97e4793951709c899676f9e66b96f6dde4dcd6c2 | 30,668 | py | Python | extract_feture.py | MLGroups/UIPD | 5a14bc283550daf65b797c7bcc19778d4c0202a3 | [
"MIT"
] | null | null | null | extract_feture.py | MLGroups/UIPD | 5a14bc283550daf65b797c7bcc19778d4c0202a3 | [
"MIT"
] | null | null | null | extract_feture.py | MLGroups/UIPD | 5a14bc283550daf65b797c7bcc19778d4c0202a3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time :2018/4/18 上午10:26
# @Author :李二狗
# @Site :
# @File :extract_feture.py
# @Software :PyCharm
import pandas as pd
import numpy as np
import datetime
import sys
import time
import xgboost as xgb
FEATURE_EXTRACTION_SLOT = 10
from add_feture import *
LabelDay = datetime.dateti... | 61.955556 | 181 | 0.7036 | 4,311 | 30,668 | 4.714219 | 0.056135 | 0.042513 | 0.084732 | 0.072037 | 0.851794 | 0.832948 | 0.810707 | 0.774 | 0.749889 | 0.734537 | 0 | 0.032651 | 0.149146 | 30,668 | 495 | 182 | 61.955556 | 0.746187 | 0.129418 | 0 | 0.436813 | 0 | 0 | 0.059135 | 0.000982 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0 | 0.019231 | 0 | 0.057692 | 0.005495 | 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 |
3f4c3764232aabd4d3db8c1b7b123ba486d03718 | 85,335 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_l2_eth_infra_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_l2_eth_infra_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_l2_eth_infra_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 55.23301 | 293 | 0.544325 | 8,411 | 85,335 | 5.287481 | 0.033528 | 0.086524 | 0.108156 | 0.099296 | 0.929688 | 0.918625 | 0.89949 | 0.884379 | 0.865446 | 0.831673 | 0 | 0.02357 | 0.304459 | 85,335 | 1,544 | 294 | 55.268782 | 0.725714 | 0 | 0 | 0.603968 | 0 | 0.014695 | 0.503923 | 0.39967 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005878 | 0 | 0.005878 | 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 |
58cd2aef825afa8f54741921a31e25e1945351f8 | 101 | py | Python | runtime/binding/python/py/__init__.py | eschmidbauer/wenet | f0bbf6af16fa92d26a7f68ac21e0354a7500a025 | [
"Apache-2.0"
] | null | null | null | runtime/binding/python/py/__init__.py | eschmidbauer/wenet | f0bbf6af16fa92d26a7f68ac21e0354a7500a025 | [
"Apache-2.0"
] | null | null | null | runtime/binding/python/py/__init__.py | eschmidbauer/wenet | f0bbf6af16fa92d26a7f68ac21e0354a7500a025 | [
"Apache-2.0"
] | 1 | 2022-02-08T07:39:13.000Z | 2022-02-08T07:39:13.000Z | from .decoder import Decoder # noqa
from _wenet import wenet_set_log_level as set_log_level # noqa
| 33.666667 | 63 | 0.811881 | 17 | 101 | 4.470588 | 0.529412 | 0.157895 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 2 | 64 | 50.5 | 0.894118 | 0.089109 | 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 |
4517e79b8ff27e62fb129e31351fa477fc9d9615 | 33 | py | Python | twilio_plugin/__init__.py | jeffcasavant/MaubotTwilio | 7702dec67bd6f24f5166d6a3c0f81b0bafdd1dd1 | [
"MIT"
] | 3 | 2020-06-13T18:52:16.000Z | 2020-07-04T17:36:01.000Z | twilio_plugin/__init__.py | jeffcasavant/MaubotTwilio | 7702dec67bd6f24f5166d6a3c0f81b0bafdd1dd1 | [
"MIT"
] | 3 | 2020-06-26T17:20:07.000Z | 2021-09-08T03:17:37.000Z | twilio_plugin/__init__.py | jeffcasavant/MaubotTwilio | 7702dec67bd6f24f5166d6a3c0f81b0bafdd1dd1 | [
"MIT"
] | null | null | null | from .plugin import TwilioPlugin
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
451f371ce94d2c4d2d6b77554519af7d2b1e83c8 | 2,793 | py | Python | research/route_diversity/figures_using_templates.py | jweckstr/journey-diversity-scripts | 7b754c5f47a77ee1d630a0b26d8ec5cf6be202ae | [
"MIT"
] | null | null | null | research/route_diversity/figures_using_templates.py | jweckstr/journey-diversity-scripts | 7b754c5f47a77ee1d630a0b26d8ec5cf6be202ae | [
"MIT"
] | null | null | null | research/route_diversity/figures_using_templates.py | jweckstr/journey-diversity-scripts | 7b754c5f47a77ee1d630a0b26d8ec5cf6be202ae | [
"MIT"
] | null | null | null | import os
import svglue
import cairosvg
from research.route_diversity.diversity_settings import CITIES
map_fname = os.path.join("/home/clepe/scratch/diversity_data/maps", "{feed_name}_routes{format}")
distribution_fname = os.path.join("/home/clepe/scratch/diversity_data/maps/distributions",
... | 42.318182 | 165 | 0.701396 | 421 | 2,793 | 4.543943 | 0.266033 | 0.042342 | 0.075274 | 0.117616 | 0.821746 | 0.798223 | 0.798223 | 0.764767 | 0.764767 | 0.669106 | 0 | 0.000875 | 0.181883 | 2,793 | 65 | 166 | 42.969231 | 0.836324 | 0.195131 | 0 | 0 | 0 | 0 | 0.285338 | 0.23705 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.235294 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.