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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7c00477dc7e7837ce3b711b512c7d10506df1145 | 150 | py | Python | iotbx/command_line/cns.reflection_reader.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | iotbx/command_line/cns.reflection_reader.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | iotbx/command_line/cns.reflection_reader.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | from __future__ import division
from iotbx.cns import reflection_reader
import sys
if (__name__ == "__main__"):
reflection_reader.run(sys.argv[1:])
| 25 | 39 | 0.786667 | 21 | 150 | 4.952381 | 0.714286 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.113333 | 150 | 5 | 40 | 30 | 0.774436 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9fd95bc11fcc14881605794fea880897652e5c25 | 24,130 | py | Python | utils.py | sashkarivkind/imagewalker | 999e1ae78cfe1512e1be894d9e7891a7d0c41233 | [
"Apache-2.0"
] | 2 | 2021-04-28T13:33:45.000Z | 2021-11-09T14:31:09.000Z | utils.py | sashkarivkind/imagewalker | 999e1ae78cfe1512e1be894d9e7891a7d0c41233 | [
"Apache-2.0"
] | null | null | null | utils.py | sashkarivkind/imagewalker | 999e1ae78cfe1512e1be894d9e7891a7d0c41233 | [
"Apache-2.0"
] | 1 | 2021-03-07T13:25:59.000Z | 2021-03-07T13:25:59.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Some order to the code - the utils!
"""
from __future__ import division, print_function, absolute_import
import numpy as np
import cv2
import misc
from RL_networks import Stand_alone_net
import pickle
import pandas as pd
from sklearn.metrics import confusion_matrix
i... | 36.560606 | 143 | 0.588479 | 3,132 | 24,130 | 4.396552 | 0.115581 | 0.036747 | 0.016993 | 0.036601 | 0.8252 | 0.808061 | 0.789252 | 0.776035 | 0.766449 | 0.764779 | 0 | 0.037349 | 0.277663 | 24,130 | 659 | 144 | 36.616085 | 0.752668 | 0.170037 | 0 | 0.696262 | 0 | 0 | 0.011649 | 0.00606 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056075 | false | 0 | 0.053738 | 0.009346 | 0.179907 | 0.021028 | 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 |
9ffc7960fa8c41e34a822f7059dfa13cab433c8c | 49 | py | Python | enthought/traits/ui/qt4/helper.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/ui/qt4/helper.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/ui/qt4/helper.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traitsui.qt4.helper import *
| 16.333333 | 33 | 0.77551 | 7 | 49 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.142857 | 49 | 2 | 34 | 24.5 | 0.880952 | 0.244898 | 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 |
b032b18e26aa26ebb72ca78f990f5fdb930ad2cc | 75,520 | py | Python | src/tests/illumidesk/factory.py | Abhi94N/illumidesk | 4cf07e3bd278931ac404f7482e92a4ec35827aa9 | [
"MIT"
] | null | null | null | src/tests/illumidesk/factory.py | Abhi94N/illumidesk | 4cf07e3bd278931ac404f7482e92a4ec35827aa9 | [
"MIT"
] | null | null | null | src/tests/illumidesk/factory.py | Abhi94N/illumidesk | 4cf07e3bd278931ac404f7482e92a4ec35827aa9 | [
"MIT"
] | null | null | null | import secrets
import time
from io import StringIO
import json
from oauthlib.oauth1.rfc5849 import signature
from tornado.web import RequestHandler
from tornado.httpclient import HTTPResponse
from tornado.httputil import HTTPHeaders
from typing import Dict
from typing import List
from illumidesk.authenticators.util... | 211.540616 | 4,011 | 0.933739 | 1,518 | 75,520 | 46.222661 | 0.283267 | 0.003763 | 0.004789 | 0.005088 | 0.141493 | 0.137146 | 0.134282 | 0.012428 | 0.008751 | 0.005501 | 0 | 0.131838 | 0.040016 | 75,520 | 356 | 4,012 | 212.134831 | 0.835995 | 0.005363 | 0 | 0.176471 | 0 | 0.003922 | 0.908959 | 0.863818 | 0 | 1 | 0 | 0 | 0 | 1 | 0.027451 | false | 0 | 0.043137 | 0 | 0.101961 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c6849d0f8f0c3622dc1b0beb78f4fcca5661fae9 | 323 | py | Python | notes/design/low-level/case-studies/auction-system/auction/commands/CommandCloseAuction.py | Anmol-Singh-Jaggi/interview-notes | 65af75e2b5725894fa5e13bb5cd9ecf152a0d652 | [
"MIT"
] | 6 | 2020-07-05T05:15:19.000Z | 2021-01-24T20:17:14.000Z | notes/design/low-level/case-studies/auction-system/auction/commands/CommandCloseAuction.py | Anmol-Singh-Jaggi/interview-notes | 65af75e2b5725894fa5e13bb5cd9ecf152a0d652 | [
"MIT"
] | null | null | null | notes/design/low-level/case-studies/auction-system/auction/commands/CommandCloseAuction.py | Anmol-Singh-Jaggi/interview-notes | 65af75e2b5725894fa5e13bb5cd9ecf152a0d652 | [
"MIT"
] | 2 | 2020-09-14T06:46:37.000Z | 2021-06-15T09:17:21.000Z | from commands.AbstractCommand import AbstractCommand
class CommandCloseAuction(AbstractCommand):
def __init__(self, auction_system, auction_id):
self.auction_system = auction_system
self.auction_id = auction_id
def execute(self):
return self.auction_system.close_auction(self.auction_i... | 29.363636 | 65 | 0.764706 | 37 | 323 | 6.324324 | 0.405405 | 0.235043 | 0.217949 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170279 | 323 | 10 | 66 | 32.3 | 0.873134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c69783beae6e3063110e71745c9fe5f7a76d3b85 | 14,692 | py | Python | src/apis/apis_sequence.py | yanzhaochang/PSATools-Python | 7524d7eeed26db9fba93c0ea03a7c8c0bfee7410 | [
"Apache-2.0"
] | 2 | 2021-03-29T10:36:57.000Z | 2021-04-01T06:54:10.000Z | src/apis/apis_sequence.py | yanzhaochang/PSATools-Python | 7524d7eeed26db9fba93c0ea03a7c8c0bfee7410 | [
"Apache-2.0"
] | null | null | null | src/apis/apis_sequence.py | yanzhaochang/PSATools-Python | 7524d7eeed26db9fba93c0ea03a7c8c0bfee7410 | [
"Apache-2.0"
] | 1 | 2021-04-01T06:54:24.000Z | 2021-04-01T06:54:24.000Z | import sys
sys.path.append('..')
from database import LoadSqData, ShuntSqData, GenSqData, LineSqData, TransSqData, BusSqData
def add_device_sequence_model(device_index, device):
'''
Add a device sequence model in database.
Args:
(1) device_index, int or tuple, device index.
(2)... | 31.869848 | 102 | 0.617887 | 1,867 | 14,692 | 4.665238 | 0.044456 | 0.071527 | 0.046613 | 0.059931 | 0.919518 | 0.886338 | 0.829851 | 0.787945 | 0.718025 | 0.61814 | 0 | 0.005302 | 0.29397 | 14,692 | 460 | 103 | 31.93913 | 0.834378 | 0.238361 | 0 | 0.653846 | 0 | 0 | 0.108687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089744 | false | 0.008547 | 0.008547 | 0 | 0.290598 | 0.111111 | 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 |
c6a94c79dad2aeb810a3d5138e76bbe1f72303bd | 103 | py | Python | terrascript/scaleway/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/scaleway/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/scaleway/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/scaleway/__init__.py
import terrascript
class scaleway(terrascript.Provider):
pass
| 14.714286 | 37 | 0.796117 | 11 | 103 | 7.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 103 | 6 | 38 | 17.166667 | 0.866667 | 0.31068 | 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 |
05d4fc4542875d005881d23ae16d94ad60571178 | 6,816 | py | Python | examples/experiments/plot.py | asahi417/relbert | cb718e40fb452e88ccae1c271ccdea25013791b1 | [
"MIT"
] | 17 | 2021-09-10T14:49:41.000Z | 2022-01-26T13:18:02.000Z | examples/experiments/plot.py | asahi417/relbert | cb718e40fb452e88ccae1c271ccdea25013791b1 | [
"MIT"
] | 2 | 2021-11-14T07:47:36.000Z | 2021-11-22T17:34:06.000Z | examples/experiments/plot.py | asahi417/relbert | cb718e40fb452e88ccae1c271ccdea25013791b1 | [
"MIT"
] | 1 | 2021-12-14T01:35:05.000Z | 2021-12-14T01:35:05.000Z | """ Plot figure 3 """
import os
from itertools import chain
import pandas as pd
import seaborn as sns
from matplotlib import pylab as plt
# get the best config in terms of loss realization
df = pd.read_csv('examples/experiments/output/eval/accuracy.analogy.csv', index_col=0)
df_vanilla = df[df.template_type == df.temp... | 44.25974 | 121 | 0.63395 | 1,006 | 6,816 | 4.138171 | 0.149105 | 0.03363 | 0.038434 | 0.019217 | 0.813836 | 0.804228 | 0.792698 | 0.792698 | 0.762431 | 0.762431 | 0 | 0.011836 | 0.15713 | 6,816 | 153 | 122 | 44.54902 | 0.712794 | 0.05223 | 0 | 0.646154 | 0 | 0 | 0.209382 | 0.034246 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038462 | 0 | 0.038462 | 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 |
05fa8bf2ccd1f76f624c65465d890ed4876e11dd | 47 | py | Python | vnpy/gateway/binancef/__init__.py | garywangiam02/vnpy | fbb168bf977d95ae874e92a3655c6c893db16a1f | [
"MIT"
] | null | null | null | vnpy/gateway/binancef/__init__.py | garywangiam02/vnpy | fbb168bf977d95ae874e92a3655c6c893db16a1f | [
"MIT"
] | null | null | null | vnpy/gateway/binancef/__init__.py | garywangiam02/vnpy | fbb168bf977d95ae874e92a3655c6c893db16a1f | [
"MIT"
] | null | null | null | from .binancef_gateway import BinancefGateway
| 23.5 | 46 | 0.87234 | 5 | 47 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
af1056f531ed791f63a29588a767ddf60b3399a9 | 245 | py | Python | src/rxn_network/entries/__init__.py | GENESIS-EFRC/reaction-network | 1482ac1b6b550a5bc9961e9210e33c86c07f64cf | [
"BSD-3-Clause-LBNL"
] | 29 | 2020-08-04T07:07:04.000Z | 2022-02-22T22:09:20.000Z | src/rxn_network/entries/__init__.py | GENESIS-EFRC/reaction-network | 1482ac1b6b550a5bc9961e9210e33c86c07f64cf | [
"BSD-3-Clause-LBNL"
] | 70 | 2021-02-22T07:01:40.000Z | 2022-03-31T20:11:56.000Z | src/rxn_network/entries/__init__.py | GENESIS-EFRC/reaction-network | 1482ac1b6b550a5bc9961e9210e33c86c07f64cf | [
"BSD-3-Clause-LBNL"
] | 3 | 2021-04-20T09:29:39.000Z | 2022-02-02T17:43:52.000Z | """
Entry and entry set classes used in reaction enumeration / networks
"""
from rxn_network.entries.gibbs import GibbsComputedEntry
from rxn_network.entries.nist import NISTReferenceEntry
from rxn_network.entries.entry_set import GibbsEntrySet
| 35 | 67 | 0.844898 | 32 | 245 | 6.34375 | 0.59375 | 0.103448 | 0.206897 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 245 | 6 | 68 | 40.833333 | 0.922727 | 0.273469 | 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 |
af50a86be4e5c73f991204afe77e107197e43d98 | 1,141 | py | Python | tests/util/timer_test.py | mostafaelhoushi/CompilerGym | cf11c58333d263b3ebc5ece2110a429e9af499c1 | [
"MIT"
] | 3 | 2021-02-25T17:51:27.000Z | 2021-05-23T10:33:28.000Z | tests/util/timer_test.py | mostafaelhoushi/CompilerGym | cf11c58333d263b3ebc5ece2110a429e9af499c1 | [
"MIT"
] | null | null | null | tests/util/timer_test.py | mostafaelhoushi/CompilerGym | cf11c58333d263b3ebc5ece2110a429e9af499c1 | [
"MIT"
] | null | null | null | # Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
"""Unit tests for //compiler_gym/util:timer."""
from compiler_gym.util import timer
from tests.test_main import main
def test_humanize_durati... | 30.026316 | 65 | 0.729185 | 165 | 1,141 | 4.812121 | 0.424242 | 0.322418 | 0.263224 | 0.374055 | 0.375315 | 0.078086 | 0 | 0 | 0 | 0 | 0 | 0.100307 | 0.143734 | 1,141 | 37 | 66 | 30.837838 | 0.712385 | 0.184926 | 0 | 0 | 0 | 0 | 0.084691 | 0 | 0 | 0 | 0 | 0 | 0.55 | 1 | 0.25 | true | 0 | 0.1 | 0 | 0.35 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
af943d7ed4b42acc6abb36983eb2d02de7649280 | 224 | py | Python | pdfconduit/modify/canvas/__init__.py | mrstephenneal/pdfwatermarker | 55934803efd91b6b456985be7df93c03d24747c7 | [
"Apache-2.0"
] | 9 | 2018-08-28T14:08:19.000Z | 2019-08-22T07:33:14.000Z | pdfconduit/modify/canvas/__init__.py | mrstephenneal/pdfwatermarker | 55934803efd91b6b456985be7df93c03d24747c7 | [
"Apache-2.0"
] | 15 | 2018-08-28T14:08:17.000Z | 2019-07-08T01:29:34.000Z | pdfconduit/modify/canvas/__init__.py | mrstephenneal/pdfwatermarker | 55934803efd91b6b456985be7df93c03d24747c7 | [
"Apache-2.0"
] | 1 | 2020-08-10T00:14:43.000Z | 2020-08-10T00:14:43.000Z | from pdfconduit.modify.canvas.constructor import CanvasConstructor
from pdfconduit.modify.canvas.objects import CanvasImg, CanvasStr, CanvasObjects
__all__ = ['CanvasConstructor', 'CanvasImg', 'CanvasStr', 'CanvasObjects']
| 44.8 | 80 | 0.825893 | 21 | 224 | 8.619048 | 0.571429 | 0.154696 | 0.220994 | 0.287293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075893 | 224 | 4 | 81 | 56 | 0.874396 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afa231c08e99654a4247f30fd7b5fbb649b312ff | 117 | py | Python | src/__init__.py | coeusite/abura | 5b37eff85986c39b56e647c37b91fe0c03950c0c | [
"MIT"
] | null | null | null | src/__init__.py | coeusite/abura | 5b37eff85986c39b56e647c37b91fe0c03950c0c | [
"MIT"
] | null | null | null | src/__init__.py | coeusite/abura | 5b37eff85986c39b56e647c37b91fe0c03950c0c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .function import *
from .abura import *
from .constant import *
| 16.714286 | 23 | 0.65812 | 16 | 117 | 4.8125 | 0.75 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.17094 | 117 | 6 | 24 | 19.5 | 0.773196 | 0.367521 | 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 |
afc694f5703ed1baea9151e1b58b1bd01cbab1b3 | 290 | py | Python | layers/__init__.py | charlesxu-aicoder/Recommendation-model | 9f5af6cc4c3382f2c0667b2d51836e2ae7ae6404 | [
"MIT"
] | null | null | null | layers/__init__.py | charlesxu-aicoder/Recommendation-model | 9f5af6cc4c3382f2c0667b2d51836e2ae7ae6404 | [
"MIT"
] | null | null | null | layers/__init__.py | charlesxu-aicoder/Recommendation-model | 9f5af6cc4c3382f2c0667b2d51836e2ae7ae6404 | [
"MIT"
] | null | null | null |
import numpy as np
import tensorflow as tf
from tensorflow.keras.regularizers import l2
from tensorflow.keras.layers import Layer, Dense, LayerNormalization, Dropout, Embedding, Conv1D, BatchNormalization
from tensorflow.keras.losses import Loss
from tensorflow.keras import Model,layers
| 32.222222 | 116 | 0.841379 | 38 | 290 | 6.421053 | 0.552632 | 0.229508 | 0.311475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.110345 | 290 | 8 | 117 | 36.25 | 0.937985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb78222159f67146ec667f1543cb6fd858192f05 | 47 | py | Python | examples/phobos/tests/test_std_mathspecial.py | kinke/autowrap | 2f042df3f292aa39b1da0b9607fbe3424f56ff4a | [
"BSD-3-Clause"
] | 47 | 2019-07-16T10:38:07.000Z | 2022-03-30T16:34:24.000Z | examples/phobos/tests/test_std_mathspecial.py | kinke/autowrap | 2f042df3f292aa39b1da0b9607fbe3424f56ff4a | [
"BSD-3-Clause"
] | 199 | 2019-06-17T23:24:40.000Z | 2021-06-16T16:41:36.000Z | examples/phobos/tests/test_std_mathspecial.py | kinke/autowrap | 2f042df3f292aa39b1da0b9607fbe3424f56ff4a | [
"BSD-3-Clause"
] | 7 | 2019-09-13T18:03:49.000Z | 2022-01-17T03:53:00.000Z | def test_import():
import std_mathspecial
| 11.75 | 26 | 0.744681 | 6 | 47 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 3 | 27 | 15.666667 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.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 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bbc7abfdcb117e43f6375f402ea44b07e26b23a8 | 202 | py | Python | globus_cli/safeio/check_pty.py | glentner/globus-cli | a6542d6824cc123f60088bf2602cd7a0fdb0e64e | [
"Apache-2.0"
] | null | null | null | globus_cli/safeio/check_pty.py | glentner/globus-cli | a6542d6824cc123f60088bf2602cd7a0fdb0e64e | [
"Apache-2.0"
] | null | null | null | globus_cli/safeio/check_pty.py | glentner/globus-cli | a6542d6824cc123f60088bf2602cd7a0fdb0e64e | [
"Apache-2.0"
] | null | null | null | import os
import sys
def out_is_terminal():
return sys.stdout.isatty()
def err_is_terminal():
return sys.stderr.isatty()
def term_is_interactive():
return os.getenv("PS1") is not None
| 13.466667 | 39 | 0.707921 | 31 | 202 | 4.419355 | 0.580645 | 0.145985 | 0.233577 | 0.277372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.183168 | 202 | 14 | 40 | 14.428571 | 0.824242 | 0 | 0 | 0 | 0 | 0 | 0.014851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | true | 0 | 0.25 | 0.375 | 1 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bbe21f69c2b2adf2338f8b4b9bcd50631cce3a2c | 1,021 | py | Python | python/anyascii/_data/_130.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_130.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_130.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b='A1 A2 A3 A4 A5 A5a A6 A6a A6b A7 A8 A9 A10 A11 mSa A13 A14 A14a xr A16 Xrd A17a A18 A19 A20 sr A22 A23 A24 A25 A26 A27 A28 A29 A30 A31 A32 A32a mniw A34 A35 A36 A37 qiz A39 A40 A40a A41 A42 A42a A43 A43a A44 A45 A45a A46 iry A48 A49 Sps Spsi A52 A53 A54 A55 A56 A57 A58 A59 A60 A61 A62 A63 A64 A65 A66 A67 A68 A69 A70... | 1,021 | 1,021 | 0.747307 | 257 | 1,021 | 2.968872 | 0.996109 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.489556 | 0.249755 | 1,021 | 1 | 1,021 | 1,021 | 0.506527 | 0 | 0 | 0 | 0 | 1 | 0.995108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bbec92c94e4694181afcd32cd22e23b1b65ef136 | 23,625 | py | Python | pyprophet/export.py | shubham1637/pyprophet | 4befd9ba3fcca2cc4e411dd3760cb1695045b09a | [
"BSD-3-Clause"
] | 22 | 2016-09-26T14:19:25.000Z | 2021-10-05T08:35:45.000Z | pyprophet/export.py | shubham1637/pyprophet | 4befd9ba3fcca2cc4e411dd3760cb1695045b09a | [
"BSD-3-Clause"
] | 58 | 2016-07-19T18:09:30.000Z | 2022-03-24T16:26:08.000Z | pyprophet/export.py | shubham1637/pyprophet | 4befd9ba3fcca2cc4e411dd3760cb1695045b09a | [
"BSD-3-Clause"
] | 21 | 2016-07-12T06:07:21.000Z | 2022-03-22T22:00:47.000Z | import pandas as pd
import numpy as np
import sqlite3
import click
import os
from .data_handling import check_sqlite_table
from .report import plot_scores
def export_tsv(infile, outfile, format, outcsv, transition_quantification, max_transition_pep, ipf, ipf_max_peptidoform_pep, max_rs_peakgroup_qvalue, peptide, max... | 45 | 624 | 0.738497 | 3,453 | 23,625 | 4.72227 | 0.052708 | 0.048019 | 0.048632 | 0.059855 | 0.810928 | 0.762235 | 0.7255 | 0.705936 | 0.665277 | 0.665277 | 0 | 0.006981 | 0.181503 | 23,625 | 524 | 625 | 45.085878 | 0.836272 | 0.016677 | 0 | 0.668803 | 0 | 0.00641 | 0.734419 | 0.206099 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004274 | false | 0 | 0.014957 | 0 | 0.019231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bbfee6e450361f0ec8ff2fdb67a337b0a14054fa | 328 | py | Python | arrays/tests/test_pascals_triangle_ii.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | arrays/tests/test_pascals_triangle_ii.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | arrays/tests/test_pascals_triangle_ii.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | 3 | 2020-10-07T20:24:45.000Z | 2020-12-16T04:53:19.000Z | from arrays.pascals_triangle_ii import pascals_triangle_ii
def test_pascals_triangle_ii():
assert pascals_triangle_ii(0) == [1]
assert pascals_triangle_ii(1) == [1, 1]
assert pascals_triangle_ii(2) == [1, 2, 1]
assert pascals_triangle_ii(3) == [1, 3, 3, 1]
assert pascals_triangle_ii(4) == [1, 4, 6... | 32.8 | 58 | 0.689024 | 54 | 328 | 3.87037 | 0.277778 | 0.574163 | 0.650718 | 0.550239 | 0.45933 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.176829 | 328 | 9 | 59 | 36.444444 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a556bf6bcb35b4b3451b49997bef4c8a10d9995b | 150 | py | Python | crabageprediction/venv/Lib/site-packages/numpy/typing/tests/data/pass/warnings_and_errors.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 20,453 | 2015-01-02T09:00:47.000Z | 2022-03-31T23:35:56.000Z | crabageprediction/venv/Lib/site-packages/numpy/typing/tests/data/pass/warnings_and_errors.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 14,862 | 2015-01-01T01:28:34.000Z | 2022-03-31T23:48:52.000Z | crabageprediction/venv/Lib/site-packages/numpy/typing/tests/data/pass/warnings_and_errors.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 9,362 | 2015-01-01T15:49:43.000Z | 2022-03-31T21:26:51.000Z | import numpy as np
np.AxisError("test")
np.AxisError(1, ndim=2)
np.AxisError(1, ndim=2, msg_prefix="error")
np.AxisError(1, ndim=2, msg_prefix=None)
| 21.428571 | 43 | 0.733333 | 28 | 150 | 3.857143 | 0.464286 | 0.407407 | 0.333333 | 0.444444 | 0.638889 | 0.481481 | 0.481481 | 0 | 0 | 0 | 0 | 0.044118 | 0.093333 | 150 | 6 | 44 | 25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a5802760d104022d3f2450fd5eb39a7ab38a3121 | 49 | py | Python | torchlib/datasets/__init__.py | CarlosPena00/pytorch-unet | 8365bace23e4b04b9c5b75cd6720807ea8cac5ab | [
"MIT"
] | null | null | null | torchlib/datasets/__init__.py | CarlosPena00/pytorch-unet | 8365bace23e4b04b9c5b75cd6720807ea8cac5ab | [
"MIT"
] | null | null | null | torchlib/datasets/__init__.py | CarlosPena00/pytorch-unet | 8365bace23e4b04b9c5b75cd6720807ea8cac5ab | [
"MIT"
] | null | null | null |
from .dsxbdata import *
from .imageutl import *
| 12.25 | 23 | 0.734694 | 6 | 49 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 3 | 24 | 16.333333 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a5bfc48fb79ab638161e3b4272f24b2ae29c3484 | 271 | py | Python | cryptos/abstract.py | divkakwani/cryptos | f40181eaf78b1860683b1b17e85971783248c540 | [
"MIT"
] | null | null | null | cryptos/abstract.py | divkakwani/cryptos | f40181eaf78b1860683b1b17e85971783248c540 | [
"MIT"
] | null | null | null | cryptos/abstract.py | divkakwani/cryptos | f40181eaf78b1860683b1b17e85971783248c540 | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
class AbstractEncryptor:
__metaclass__ = ABCMeta
@abstractmethod
def encrypt(message):
pass
class AbstractDecryptor:
__metaclass__ = ABCMeta
@abstractmethod
def decrypt(message):
pass
| 14.263158 | 39 | 0.693727 | 23 | 271 | 7.826087 | 0.608696 | 0.35 | 0.333333 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258303 | 271 | 18 | 40 | 15.055556 | 0.895522 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0.181818 | 0.090909 | 0 | 0.636364 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
3c5dbae870fe7b3436b00838f6291aa3a2edb17b | 148 | py | Python | tricolor/__init__.py | nathanrooy/tricolor-map-legend | 3111e8af8ae8516f48ea496d252a95e68c9e71f6 | [
"MIT"
] | 1 | 2020-11-23T13:40:50.000Z | 2020-11-23T13:40:50.000Z | tricolor/__init__.py | nathanrooy/tricolor-map-legend | 3111e8af8ae8516f48ea496d252a95e68c9e71f6 | [
"MIT"
] | null | null | null | tricolor/__init__.py | nathanrooy/tricolor-map-legend | 3111e8af8ae8516f48ea496d252a95e68c9e71f6 | [
"MIT"
] | 2 | 2018-03-06T11:27:00.000Z | 2018-06-13T20:35:17.000Z | from .tricolor import calc_dist
from .tricolor import clamp
from .tricolor import interpolate_color
from .tricolor import svg_color_triangle as tri
| 29.6 | 47 | 0.851351 | 22 | 148 | 5.545455 | 0.545455 | 0.393443 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 148 | 4 | 48 | 37 | 0.938462 | 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 |
3c77a11911113f9367b8e38c73379954a6fec474 | 23 | py | Python | awscfncli2/cli/commands/stack/__init__.py | alytle/awscfncli | 62075846804adf00ab726895f97f931dbd581927 | [
"MIT"
] | 60 | 2017-01-16T09:52:36.000Z | 2021-09-07T23:27:01.000Z | awscfncli2/cli/commands/stack/__init__.py | alytle/awscfncli | 62075846804adf00ab726895f97f931dbd581927 | [
"MIT"
] | 103 | 2017-08-22T17:01:31.000Z | 2021-09-02T15:32:34.000Z | awscfncli2/cli/commands/stack/__init__.py | alytle/awscfncli | 62075846804adf00ab726895f97f931dbd581927 | [
"MIT"
] | 16 | 2017-08-22T16:24:11.000Z | 2021-06-30T11:45:51.000Z | from .stack import cli
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c88c10b256a36986d34e9681e117bb69ad34928 | 151 | py | Python | mvtk/__init__.py | FINRAOS/model-validation-toolkit | 57bf478712649e08635b2a6952c5b60ecf189ca5 | [
"Apache-2.0"
] | 27 | 2021-12-13T20:07:30.000Z | 2022-03-25T20:14:10.000Z | mvtk/__init__.py | FINRAOS/model-validation-toolkit | 57bf478712649e08635b2a6952c5b60ecf189ca5 | [
"Apache-2.0"
] | null | null | null | mvtk/__init__.py | FINRAOS/model-validation-toolkit | 57bf478712649e08635b2a6952c5b60ecf189ca5 | [
"Apache-2.0"
] | 2 | 2021-12-10T12:42:05.000Z | 2022-03-21T03:44:08.000Z | from . import metrics
from . import supervisor
from . import credibility
from . import interprenet
from mvtk.version import __version__ as __version__
| 25.166667 | 51 | 0.821192 | 19 | 151 | 6.105263 | 0.473684 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145695 | 151 | 5 | 52 | 30.2 | 0.899225 | 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 |
b1c906b31689153ae995af7cde2f93c2e5efd622 | 157 | py | Python | timeseries_generator/external_factors/__init__.py | exe0cdc/timeseries-generator | c053675e347086e2a5a0eb2aca1bc7093e25b43e | [
"Apache-2.0"
] | 46 | 2021-08-10T09:18:42.000Z | 2022-03-23T18:56:43.000Z | timeseries_generator/external_factors/__init__.py | exe0cdc/timeseries-generator | c053675e347086e2a5a0eb2aca1bc7093e25b43e | [
"Apache-2.0"
] | 2 | 2021-10-05T16:17:21.000Z | 2021-10-05T19:59:27.000Z | timeseries_generator/external_factors/__init__.py | exe0cdc/timeseries-generator | c053675e347086e2a5a0eb2aca1bc7093e25b43e | [
"Apache-2.0"
] | 12 | 2021-07-21T04:18:30.000Z | 2022-02-17T19:57:19.000Z | from .country_gdp_factor import CountryGdpFactor
from .eu_industry_product_factor import EUIndustryProductFactor
from .external_factor import ExternalFactor
| 39.25 | 63 | 0.904459 | 18 | 157 | 7.555556 | 0.666667 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076433 | 157 | 3 | 64 | 52.333333 | 0.937931 | 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 |
b1e92f734e84b7e0278f8e7940ef3baf137c159e | 101 | py | Python | ppocr/utils/loggers/__init__.py | chccc1994/PaddleOCR | 03e768b26ff769a8af1adfec062c472fe54bb640 | [
"Apache-2.0"
] | null | null | null | ppocr/utils/loggers/__init__.py | chccc1994/PaddleOCR | 03e768b26ff769a8af1adfec062c472fe54bb640 | [
"Apache-2.0"
] | null | null | null | ppocr/utils/loggers/__init__.py | chccc1994/PaddleOCR | 03e768b26ff769a8af1adfec062c472fe54bb640 | [
"Apache-2.0"
] | null | null | null | from .vdl_logger import VDLLogger
from .wandb_logger import WandbLogger
from .loggers import Loggers
| 25.25 | 37 | 0.851485 | 14 | 101 | 6 | 0.571429 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 3 | 38 | 33.666667 | 0.94382 | 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 |
59220b34eced4effda0f2505ef8402bdc994a7de | 113 | py | Python | env_var.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 5 | 2020-08-26T20:12:00.000Z | 2020-12-11T16:39:22.000Z | env_var.py | RaenonX/Jelly-Bot | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 234 | 2019-12-14T03:45:19.000Z | 2020-08-26T18:55:19.000Z | env_var.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 2 | 2019-10-23T15:21:15.000Z | 2020-05-22T09:35:55.000Z | import os
__all__ = ("is_testing",)
def is_testing() -> bool:
return bool(int(os.environ.get("TEST", 0)))
| 14.125 | 47 | 0.637168 | 17 | 113 | 3.882353 | 0.764706 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.168142 | 113 | 7 | 48 | 16.142857 | 0.691489 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
593686547847d9c9b0b5585fb073f42eac949177 | 64,755 | py | Python | coop_cms/tests/test_navigation.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 3 | 2016-01-29T10:55:09.000Z | 2022-03-08T16:02:12.000Z | coop_cms/tests/test_navigation.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 11 | 2015-03-07T17:30:24.000Z | 2016-07-13T09:40:43.000Z | coop_cms/tests/test_navigation.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 5 | 2018-08-30T09:03:22.000Z | 2019-09-10T13:01:56.000Z | # -*- coding: utf-8 -*-
from django.conf import settings
from django.contrib.auth.models import User, Permission
from django.contrib.contenttypes.models import ContentType
from django.contrib.sites.models import Site
from django.template import Template, Context
from django.test import override_settings
from django.ur... | 42.295885 | 120 | 0.634515 | 8,305 | 64,755 | 4.756773 | 0.039494 | 0.061891 | 0.028857 | 0.034629 | 0.895203 | 0.870725 | 0.852171 | 0.836223 | 0.817036 | 0.796026 | 0 | 0.016015 | 0.221821 | 64,755 | 1,530 | 121 | 42.323529 | 0.767955 | 0.014501 | 0 | 0.634664 | 0 | 0 | 0.132351 | 0.026754 | 0 | 0 | 0 | 0 | 0.215803 | 1 | 0.068819 | false | 0.002549 | 0.011045 | 0 | 0.085811 | 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 |
5948cd84eb715b2f3d9b6a4841b82dff99f1328c | 149 | py | Python | scrapli_community/huawei/smartax/__init__.py | humbertogaliza/scrapli_community | b68a9dc8c6e89f28ac48291bc4196bb53b1e6e1e | [
"MIT"
] | null | null | null | scrapli_community/huawei/smartax/__init__.py | humbertogaliza/scrapli_community | b68a9dc8c6e89f28ac48291bc4196bb53b1e6e1e | [
"MIT"
] | null | null | null | scrapli_community/huawei/smartax/__init__.py | humbertogaliza/scrapli_community | b68a9dc8c6e89f28ac48291bc4196bb53b1e6e1e | [
"MIT"
] | null | null | null | """scrapli_community.huawei.smartax"""
from scrapli_community.huawei.smartax.huawei_smartax import SCRAPLI_PLATFORM
__all__ = ("SCRAPLI_PLATFORM",)
| 29.8 | 76 | 0.825503 | 17 | 149 | 6.705882 | 0.470588 | 0.342105 | 0.385965 | 0.508772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060403 | 149 | 4 | 77 | 37.25 | 0.814286 | 0.214765 | 0 | 0 | 0 | 0 | 0.144144 | 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 |
3cf2e462a6f1025a6d736d179ad108de27b93cd9 | 34,066 | py | Python | tests/unit/fixtures/stack_events.py | 3mcloud/aws-auth0-custom-resource | b61ce458de3ac95e1a5d2be4957bdcf87a4c3a26 | [
"BSD-3-Clause"
] | 1 | 2022-02-13T08:46:58.000Z | 2022-02-13T08:46:58.000Z | tests/unit/fixtures/stack_events.py | 3mcloud/aws-auth0-custom-resource | b61ce458de3ac95e1a5d2be4957bdcf87a4c3a26 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/fixtures/stack_events.py | 3mcloud/aws-auth0-custom-resource | b61ce458de3ac95e1a5d2be4957bdcf87a4c3a26 | [
"BSD-3-Clause"
] | null | null | null | """
Holds lists of different types of events
"""
# pylint: disable=line-too-long
def get(ids = False):
"""holds different stack events"""
cases = [{
"name": "new_stack_create_failed",
"success": False,
"StackEvents": [
{
"StackId": "arn:aws:cloudformation:us-... | 72.946467 | 337 | 0.603417 | 3,250 | 34,066 | 6.271385 | 0.076 | 0.021588 | 0.048572 | 0.091748 | 0.953243 | 0.950839 | 0.929398 | 0.92199 | 0.90943 | 0.908449 | 0 | 0.147393 | 0.229848 | 34,066 | 466 | 338 | 73.103004 | 0.629479 | 0.002935 | 0 | 0.61087 | 0 | 0.132609 | 0.530086 | 0.296704 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002174 | false | 0 | 0 | 0 | 0.006522 | 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 |
3cf8ad31e6a78d2d1c9581b2d7a7ecfc189c446f | 89 | py | Python | halotools/mock_observables/velocity_decomposition/__init__.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 83 | 2015-01-15T14:54:16.000Z | 2021-12-09T11:28:02.000Z | halotools/mock_observables/velocity_decomposition/__init__.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 579 | 2015-01-14T15:57:37.000Z | 2022-01-13T18:58:44.000Z | halotools/mock_observables/velocity_decomposition/__init__.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 70 | 2015-01-14T15:15:58.000Z | 2021-12-22T18:18:31.000Z | from .radial_velocity_decomposition import radial_distance, radial_distance_and_velocity
| 44.5 | 88 | 0.921348 | 11 | 89 | 6.909091 | 0.636364 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 89 | 1 | 89 | 89 | 0.904762 | 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 |
ab78c743c5e73004d53a24f038b7c3bbd6eba920 | 37 | py | Python | watchdogs/mail/services/__init__.py | watchdogoblivion/watchdogs-offsec | 66212988a83b97e54caabcf3ec1ea48e76dafedc | [
"MIT"
] | null | null | null | watchdogs/mail/services/__init__.py | watchdogoblivion/watchdogs-offsec | 66212988a83b97e54caabcf3ec1ea48e76dafedc | [
"MIT"
] | 10 | 2021-08-19T17:48:20.000Z | 2021-09-15T03:40:40.000Z | watchdogs/mail/services/__init__.py | watchdogoblivion/offsec-python | 66212988a83b97e54caabcf3ec1ea48e76dafedc | [
"MIT"
] | null | null | null | from .SMTPService import SMTPService
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab8781a90b969e6548203a4a07e1e15940152022 | 1,801 | py | Python | AG_fft_tools/shift.py | hessammehr/agpy | a9436f8e5b9210ef8a86d03d0fd94f2d4e6212db | [
"MIT"
] | 16 | 2015-05-08T11:14:26.000Z | 2021-11-19T19:05:16.000Z | AG_fft_tools/shift.py | hessammehr/agpy | a9436f8e5b9210ef8a86d03d0fd94f2d4e6212db | [
"MIT"
] | 3 | 2016-05-12T16:27:14.000Z | 2020-12-27T01:14:24.000Z | AG_fft_tools/shift.py | hessammehr/agpy | a9436f8e5b9210ef8a86d03d0fd94f2d4e6212db | [
"MIT"
] | 19 | 2015-03-30T22:34:14.000Z | 2020-11-25T23:29:53.000Z | import fast_ffts
import numpy as np
def shift(data, deltax, deltay, phase=0, nthreads=1, use_numpy_fft=False,
return_abs=False, return_real=True):
"""
FFT-based sub-pixel image shift
http://www.mathworks.com/matlabcentral/fileexchange/18401-efficient-subpixel-image-registration-by-cross-correlation... | 35.313725 | 170 | 0.676846 | 290 | 1,801 | 4.089655 | 0.248276 | 0.040472 | 0.055649 | 0.040472 | 0.881113 | 0.881113 | 0.881113 | 0.856661 | 0.856661 | 0.856661 | 0 | 0.02027 | 0.178234 | 1,801 | 50 | 171 | 36.02 | 0.781081 | 0.250416 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.3125 | 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 |
ab90441d65ea5acdb5568f6ec6b93e08b7c3e322 | 321 | py | Python | qonduit/visualization/state.py | adgt/qondu | 9b4b05766f1ac98e8325ad9a53eb6b2573f587d1 | [
"Apache-2.0"
] | 9 | 2021-02-13T03:06:09.000Z | 2021-12-30T22:05:43.000Z | qonduit/visualization/state.py | adgt/qondu | 9b4b05766f1ac98e8325ad9a53eb6b2573f587d1 | [
"Apache-2.0"
] | 2 | 2021-02-11T23:45:38.000Z | 2021-12-13T00:06:01.000Z | qonduit/visualization/state.py | adgt/qondu | 9b4b05766f1ac98e8325ad9a53eb6b2573f587d1 | [
"Apache-2.0"
] | 2 | 2021-02-17T11:45:40.000Z | 2022-03-10T16:14:52.000Z | from qonduit._backend import *
@qiskit
@default
def plot_bloch_multivector(state):
pass
@qiskit
@default
def plot_state_city(state):
pass
@qiskit
@default
def plot_state_hinton(state):
pass
@qiskit
@default
def plot_state_paulivec(state):
pass
@qiskit
@default
def plot_state_qsphere(state):
pas... | 12.346154 | 34 | 0.750779 | 44 | 321 | 5.227273 | 0.363636 | 0.282609 | 0.347826 | 0.434783 | 0.591304 | 0.591304 | 0.591304 | 0 | 0 | 0 | 0 | 0 | 0.165109 | 321 | 26 | 35 | 12.346154 | 0.858209 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0.238095 | 0.047619 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
abf989f1c0dc6a52e0f1f6807bccc656e0e04fe3 | 162 | py | Python | app/forum/forum/admin.py | ledroopy/naxos-forum | 27c125819a84fd9fb8fd685a8f4be88d07f74fc0 | [
"Apache-2.0"
] | 2 | 2016-10-24T16:16:11.000Z | 2018-06-16T12:33:29.000Z | app/forum/forum/admin.py | ledroopy/naxos-forum | 27c125819a84fd9fb8fd685a8f4be88d07f74fc0 | [
"Apache-2.0"
] | 19 | 2016-09-05T14:24:27.000Z | 2021-01-25T18:32:07.000Z | app/forum/forum/admin.py | ledroopy/naxos-forum | 27c125819a84fd9fb8fd685a8f4be88d07f74fc0 | [
"Apache-2.0"
] | 8 | 2017-07-24T17:41:21.000Z | 2017-07-26T18:00:17.000Z | from django.contrib import admin
from .models import Category, Thread, Post
admin.site.register(Category)
admin.site.register(Thread)
admin.site.register(Post)
| 20.25 | 42 | 0.808642 | 23 | 162 | 5.695652 | 0.478261 | 0.206107 | 0.389313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 162 | 7 | 43 | 23.142857 | 0.891156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e604d95f92d147fa78c5859628e440bc9e8541ae | 134 | py | Python | modeltest/testapp/models.py | DaehunGwak/study-django | b355cd76ac86068b13fcc7a362e35d98692d5816 | [
"MIT"
] | null | null | null | modeltest/testapp/models.py | DaehunGwak/study-django | b355cd76ac86068b13fcc7a362e35d98692d5816 | [
"MIT"
] | 25 | 2020-03-19T08:56:48.000Z | 2022-03-12T00:22:38.000Z | modeltest/testapp/models.py | DaehunGwak/study-django | b355cd76ac86068b13fcc7a362e35d98692d5816 | [
"MIT"
] | null | null | null | from django.db import models
from testapp.model_abstracts import DummyAbstractTable
class DummyTable(DummyAbstractTable):
pass
| 16.75 | 54 | 0.828358 | 15 | 134 | 7.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 134 | 7 | 55 | 19.142857 | 0.948276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e6078d70f2f81b5fc130cea0c6a1a28620789aaa | 39 | py | Python | appengine_config.py | xnwang22/stock-risk-management | d2ff78f5d1cb66745090f560e6dda2ba6631b5bc | [
"Apache-2.0"
] | null | null | null | appengine_config.py | xnwang22/stock-risk-management | d2ff78f5d1cb66745090f560e6dda2ba6631b5bc | [
"Apache-2.0"
] | null | null | null | appengine_config.py | xnwang22/stock-risk-management | d2ff78f5d1cb66745090f560e6dda2ba6631b5bc | [
"Apache-2.0"
] | null | null | null | from google.appengine.ext import vendor | 39 | 39 | 0.871795 | 6 | 39 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e63a37f5123043a6585f7225a3e237f3b86e22c5 | 2,866 | py | Python | idl2py/jd/month_cnv.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/jd/month_cnv.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/jd/month_cnv.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | """
By Dr Jie Zheng -Q, NAOC
v1 2019-04-27
"""
import numpy as np
from..util import *
def month_cnv():
pass
#function month_cnv, MonthInput, Up=Up, Low=Low, Short=Short
#;\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
#;+
#; NAME:
#; MONTH_CNV
#; PURPOSE:
#... | 34.53012 | 83 | 0.550593 | 355 | 2,866 | 4.416901 | 0.43662 | 0.030612 | 0.015306 | 0.019133 | 0.128827 | 0.112245 | 0.077806 | 0.077806 | 0.077806 | 0.057398 | 0 | 0.020763 | 0.27739 | 2,866 | 82 | 84 | 34.95122 | 0.736359 | 0.876483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e6595d87011cc68ca88861dd06e5c2ea8291cbd8 | 54 | py | Python | src/python/services/base_app/__init__.py | rockmind/LoveAndMarriage | 2877d6af626eff2a3134a05ab7f03c52f14fde5c | [
"Apache-2.0"
] | null | null | null | src/python/services/base_app/__init__.py | rockmind/LoveAndMarriage | 2877d6af626eff2a3134a05ab7f03c52f14fde5c | [
"Apache-2.0"
] | 1 | 2021-12-18T16:07:39.000Z | 2021-12-18T16:07:39.000Z | src/python/services/base_app/__init__.py | rockmind/LoveAndMarriage | 2877d6af626eff2a3134a05ab7f03c52f14fde5c | [
"Apache-2.0"
] | null | null | null | from .base_app import get_base_app, get_base_rpc_app
| 18 | 52 | 0.851852 | 11 | 54 | 3.636364 | 0.545455 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 54 | 2 | 53 | 27 | 0.833333 | 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 |
053247c842e8cce397302f914b99622527c98657 | 97 | py | Python | testmaster/dummyprograms/good_night.py | S-P-A-N-N-E-R-S/Testmaster | e0804b30a6f77c136eca890e692ea54195a31bb9 | [
"BSD-3-Clause"
] | null | null | null | testmaster/dummyprograms/good_night.py | S-P-A-N-N-E-R-S/Testmaster | e0804b30a6f77c136eca890e692ea54195a31bb9 | [
"BSD-3-Clause"
] | null | null | null | testmaster/dummyprograms/good_night.py | S-P-A-N-N-E-R-S/Testmaster | e0804b30a6f77c136eca890e692ea54195a31bb9 | [
"BSD-3-Clause"
] | null | null | null | import time
import sys
time.sleep(int(sys.argv[1]))
print("I slept for", sys.argv[1], "seconds.") | 24.25 | 45 | 0.701031 | 18 | 97 | 3.777778 | 0.666667 | 0.205882 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.092784 | 97 | 4 | 45 | 24.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.193878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 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 |
054e3487b04fd9f445acebf6a0c0a6aae5d2b15e | 145 | py | Python | code/__main__.py | aidanwinters/hw1 | c8ed10695ef21e1d7a316f0961f38a46bec8a4af | [
"Apache-2.0"
] | null | null | null | code/__main__.py | aidanwinters/hw1 | c8ed10695ef21e1d7a316f0961f38a46bec8a4af | [
"Apache-2.0"
] | null | null | null | code/__main__.py | aidanwinters/hw1 | c8ed10695ef21e1d7a316f0961f38a46bec8a4af | [
"Apache-2.0"
] | null | null | null | # this file is only called when the package is called from the command
# line
from .run import run_stuff, time_algos
# run_stuff()
time_algos()
| 20.714286 | 70 | 0.765517 | 25 | 145 | 4.28 | 0.64 | 0.149533 | 0.224299 | 0.317757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 145 | 6 | 71 | 24.166667 | 0.891667 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
05563df9b8c2ddb168aa6852ceff456c8b0b8ca0 | 132 | py | Python | pi_assistant/plugins/hue_smart_lights/hue_smart_lights_config.py | cbartram/pi-assistant | 94a4fd7cc9f89bee355bef04e2e8a76b341df613 | [
"MIT"
] | null | null | null | pi_assistant/plugins/hue_smart_lights/hue_smart_lights_config.py | cbartram/pi-assistant | 94a4fd7cc9f89bee355bef04e2e8a76b341df613 | [
"MIT"
] | null | null | null | pi_assistant/plugins/hue_smart_lights/hue_smart_lights_config.py | cbartram/pi-assistant | 94a4fd7cc9f89bee355bef04e2e8a76b341df613 | [
"MIT"
] | null | null | null | from pi_assistant.plugins.plugin_configuration import PluginConfiguration
class HueSmartLightsConfig(PluginConfiguration):
pass | 33 | 73 | 0.878788 | 12 | 132 | 9.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 132 | 4 | 74 | 33 | 0.942149 | 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 |
5529a8f69e209e17d8ffd3ed3c8fcec570dd3051 | 41,874 | py | Python | q_agent/Agent.py | IngeborgvanKeulen/IMLMAS | bffcdc87945da0d010386e1d78f9e873815bba86 | [
"Apache-2.0"
] | null | null | null | q_agent/Agent.py | IngeborgvanKeulen/IMLMAS | bffcdc87945da0d010386e1d78f9e873815bba86 | [
"Apache-2.0"
] | null | null | null | q_agent/Agent.py | IngeborgvanKeulen/IMLMAS | bffcdc87945da0d010386e1d78f9e873815bba86 | [
"Apache-2.0"
] | null | null | null | import logging
import os
import random
from typing import Dict, List, Tuple
import numpy as np
import pandas as pd
import tensorflow as tf
from sklearn import svm
from sklearn.exceptions import NotFittedError
from tensorflow import keras
from tensorflow.keras.layers import Dense
from tqdm import tqdm
from q_agent.Env... | 46.269613 | 119 | 0.5539 | 4,993 | 41,874 | 4.538754 | 0.079912 | 0.017298 | 0.010149 | 0.009002 | 0.855485 | 0.833951 | 0.806019 | 0.795914 | 0.775307 | 0.762686 | 0 | 0.009638 | 0.358218 | 41,874 | 904 | 120 | 46.320796 | 0.833631 | 0.256675 | 0 | 0.668639 | 0 | 0 | 0.043599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04142 | false | 0 | 0.025641 | 0 | 0.100592 | 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 |
555f71d8cc2cfdca3b264df75d5bfe1fdbcc7c88 | 8,388 | py | Python | OpenSeesAPI/Helpers/SolutionAlgorithms.py | alok230460/Open | ccd7c43c82c13bc87e6c208302f7448060b856ba | [
"MIT",
"Unlicense"
] | 41 | 2015-09-08T09:41:13.000Z | 2022-03-26T08:40:02.000Z | OpenSeesAPI/Helpers/SolutionAlgorithms.py | alok230460/Open | ccd7c43c82c13bc87e6c208302f7448060b856ba | [
"MIT",
"Unlicense"
] | 4 | 2015-09-11T17:20:46.000Z | 2016-05-02T20:42:58.000Z | OpenSeesAPI/Helpers/SolutionAlgorithms.py | alok230460/Open | ccd7c43c82c13bc87e6c208302f7448060b856ba | [
"MIT",
"Unlicense"
] | 31 | 2015-09-11T17:01:36.000Z | 2021-11-08T17:48:27.000Z | """
This helper is used to create the following OpenSees TCL Commands:
This command is used to build a Solution Method object that determines how the program executes the step evaluation and
handles non-convergence (i.e. ok not 0)
"""
__author__ = 'Stephens/Thonstad, Modified by Marafi'
import OpenSeesAPI
def BasicT... | 61.226277 | 134 | 0.697783 | 1,093 | 8,388 | 5.351327 | 0.126258 | 0.191486 | 0.341939 | 0.382971 | 0.808343 | 0.808343 | 0.765772 | 0.69482 | 0.641306 | 0.625577 | 0 | 0.015425 | 0.134359 | 8,388 | 137 | 135 | 61.226277 | 0.790112 | 0.151407 | 0 | 0.436782 | 0 | 0 | 0.23088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057471 | false | 0 | 0.011494 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5578cd4af657aa39d5897a57121ec2a7f91ba9f9 | 43 | py | Python | botx/dependencies/__init__.py | ExpressApp/pybotx | 97c8b1ce5d45a05567ed01d545cb43174a2dcbb9 | [
"MIT"
] | 13 | 2021-01-21T12:43:10.000Z | 2022-03-23T11:11:59.000Z | botx/dependencies/__init__.py | ExpressApp/pybotx | 97c8b1ce5d45a05567ed01d545cb43174a2dcbb9 | [
"MIT"
] | 259 | 2020-02-26T08:51:03.000Z | 2022-03-23T11:08:36.000Z | botx/dependencies/__init__.py | ExpressApp/pybotx | 97c8b1ce5d45a05567ed01d545cb43174a2dcbb9 | [
"MIT"
] | 5 | 2019-12-02T16:19:22.000Z | 2021-11-22T20:33:34.000Z | """Dependency injection implementation."""
| 21.5 | 42 | 0.767442 | 3 | 43 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.825 | 0.837209 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9c8f93ae928f35396962e77ff6992e3c2e4bd0e | 99 | py | Python | utils/test.py | Taufiq06/nrt-scripts | 039381992f6041b4fc93411ef2f2311b28dd1818 | [
"MIT"
] | 6 | 2018-07-11T15:10:46.000Z | 2021-08-30T12:50:22.000Z | utils/test.py | kristinelister/nrt-scripts | 92141da9b327c3c024ecc81914392876d341dcc8 | [
"MIT"
] | 36 | 2017-05-08T14:09:59.000Z | 2021-12-01T04:19:49.000Z | utils/test.py | kristinelister/nrt-scripts | 92141da9b327c3c024ecc81914392876d341dcc8 | [
"MIT"
] | 5 | 2017-12-21T20:22:13.000Z | 2020-03-09T18:25:48.000Z | import cartoUploads
#print(cartoUploads.getTables(<>,'8ab811877d79ed8238945c1c2524313daf4d6625')) | 33 | 78 | 0.848485 | 6 | 99 | 14 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305263 | 0.040404 | 99 | 3 | 78 | 33 | 0.578947 | 0.767677 | 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 | 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 |
75b27852a88c4fb129587478133fcebcc5572516 | 39 | py | Python | mfr/extensions/md/__init__.py | yacchin1205/RDM-modular-file-renderer | 5bd18175a681d21e7be7fe0238132335a1cd8ded | [
"Apache-2.0"
] | 36 | 2015-08-31T20:24:22.000Z | 2021-12-17T17:02:44.000Z | mfr/extensions/md/__init__.py | yacchin1205/RDM-modular-file-renderer | 5bd18175a681d21e7be7fe0238132335a1cd8ded | [
"Apache-2.0"
] | 190 | 2015-01-02T06:22:01.000Z | 2022-01-19T11:27:03.000Z | mfr/extensions/md/__init__.py | yacchin1205/RDM-modular-file-renderer | 5bd18175a681d21e7be7fe0238132335a1cd8ded | [
"Apache-2.0"
] | 47 | 2015-01-27T15:45:22.000Z | 2021-01-27T22:43:03.000Z | from .render import MdRenderer # noqa
| 19.5 | 38 | 0.769231 | 5 | 39 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 1 | 39 | 39 | 0.9375 | 0.102564 | 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 |
75c2d351f2318c5c65c33cb65a1bf74150c0e0bd | 16,596 | py | Python | tests/test_fluidmechanics.py | liu-bin-fluid/PySPOD | 55e0d6cde555c7d2c26c30ff8b4bb1aea76755ea | [
"MIT"
] | null | null | null | tests/test_fluidmechanics.py | liu-bin-fluid/PySPOD | 55e0d6cde555c7d2c26c30ff8b4bb1aea76755ea | [
"MIT"
] | null | null | null | tests/test_fluidmechanics.py | liu-bin-fluid/PySPOD | 55e0d6cde555c7d2c26c30ff8b4bb1aea76755ea | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''
This file is subject to the terms and conditions defined in
file 'LICENSE.txt', which is part of this source code package.
Written by Dr. Gianmarco Mengaldo, May 2020.
'''
# python libraries
import os
import sys
import h5py
import shutil
import numpy as np
from p... | 40.876847 | 97 | 0.697879 | 2,628 | 16,596 | 4.195205 | 0.091705 | 0.080635 | 0.124717 | 0.114286 | 0.83356 | 0.823129 | 0.802902 | 0.778413 | 0.778413 | 0.772154 | 0 | 0.170522 | 0.145577 | 16,596 | 405 | 98 | 40.977778 | 0.606982 | 0.112075 | 0 | 0.684211 | 0 | 0 | 0.040622 | 0.001576 | 0 | 0 | 0 | 0 | 0.18797 | 1 | 0.030075 | false | 0 | 0.037594 | 0 | 0.067669 | 0.030075 | 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 |
75dc63982f8b417117894d3f6e3c9a8cdfa474b5 | 841 | py | Python | tests/fixtures/temp_dirs.py | agaveplatform/agavepy | c2b39fdf60648f7025234f7aa175af873ef0ff75 | [
"BSD-3-Clause"
] | 16 | 2015-07-24T16:54:23.000Z | 2020-10-18T23:10:37.000Z | tests/fixtures/temp_dirs.py | agaveplatform/agavepy | c2b39fdf60648f7025234f7aa175af873ef0ff75 | [
"BSD-3-Clause"
] | 77 | 2015-06-11T22:08:10.000Z | 2020-09-09T19:25:27.000Z | tests/fixtures/temp_dirs.py | agaveplatform/agavepy | c2b39fdf60648f7025234f7aa175af873ef0ff75 | [
"BSD-3-Clause"
] | 24 | 2015-11-05T20:32:48.000Z | 2022-01-26T22:05:53.000Z | import os
import pytest
from tempfile import mkdtemp
__all__ = ['temp_dir', 'temp_cache', 'temp_cache_b', 'temp_cache_empty']
@pytest.fixture(scope='session')
def temp_dir():
"""Alternative to pytest's temporary directory function
"""
return mkdtemp(prefix='tapispy-', suffix='-tests')
@pytest.fixture(s... | 24.735294 | 72 | 0.703924 | 103 | 841 | 5.572816 | 0.271845 | 0.094077 | 0.125436 | 0.174216 | 0.818815 | 0.818815 | 0.763066 | 0.569686 | 0.569686 | 0.569686 | 0 | 0 | 0.146254 | 841 | 33 | 73 | 25.484848 | 0.799443 | 0.268728 | 0 | 0.25 | 0 | 0 | 0.227504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1875 | 0 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
75e0879304d5b790a76dc520c8833d0f8e08b3d9 | 758 | py | Python | shfl/federated_aggregator/__init__.py | SSSuperTIan/Sherpa.ai-Federated-Learning-Framework | a30d73a018526f1033ee0ec57489c4c6e2f15b0a | [
"Apache-2.0"
] | 1 | 2021-03-18T07:31:36.000Z | 2021-03-18T07:31:36.000Z | shfl/federated_aggregator/__init__.py | SSSuperTIan/Sherpa.ai-Federated-Learning-Framework | a30d73a018526f1033ee0ec57489c4c6e2f15b0a | [
"Apache-2.0"
] | null | null | null | shfl/federated_aggregator/__init__.py | SSSuperTIan/Sherpa.ai-Federated-Learning-Framework | a30d73a018526f1033ee0ec57489c4c6e2f15b0a | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from shfl.federated_aggregator.federated_aggregator import FederatedAggregator
from shfl.federated_aggregator.fedavg_aggregator import FedAvgAggregator
from shfl.federated_aggregator.weighted_fedavg_aggregator ... | 58.307692 | 89 | 0.919525 | 84 | 758 | 7.869048 | 0.297619 | 0.287443 | 0.205749 | 0.326778 | 0.236006 | 0.236006 | 0.236006 | 0.236006 | 0 | 0 | 0 | 0 | 0.059367 | 758 | 12 | 90 | 63.166667 | 0.927069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.090909 | 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 |
f940ff30571c5d6f0c39f478d0bf2a8240aba05f | 2,429 | py | Python | test/programytest/rdf/test_loading.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | null | null | null | test/programytest/rdf/test_loading.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | null | null | null | test/programytest/rdf/test_loading.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | 4 | 2019-04-01T15:42:23.000Z | 2020-11-05T08:14:27.000Z | import unittest
import os
import os.path
from programy.rdf.collection import RDFCollection
from programy.storage.stores.file.config import FileStorageConfiguration
from programy.storage.stores.file.engine import FileStorageEngine
from programy.storage.stores.file.config import FileStoreConfiguration
from programy.stor... | 36.253731 | 128 | 0.722108 | 247 | 2,429 | 6.894737 | 0.198381 | 0.076336 | 0.126835 | 0.142689 | 0.801527 | 0.784498 | 0.784498 | 0.736348 | 0.701116 | 0.701116 | 0 | 0.005459 | 0.170441 | 2,429 | 66 | 129 | 36.80303 | 0.839702 | 0 | 0 | 0.674419 | 0 | 0 | 0.084843 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 1 | 0.046512 | false | 0 | 0.186047 | 0 | 0.255814 | 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 |
f9508506c31fef0002dd87cf4658ffa0291eecf1 | 112 | py | Python | stDrosophila/obtain_dataset/__init__.py | chen-zhan/stDrosophila-release-1 | 1b128eb81ff4d076f7271abb1298639be6d08310 | [
"BSD-3-Clause"
] | null | null | null | stDrosophila/obtain_dataset/__init__.py | chen-zhan/stDrosophila-release-1 | 1b128eb81ff4d076f7271abb1298639be6d08310 | [
"BSD-3-Clause"
] | null | null | null | stDrosophila/obtain_dataset/__init__.py | chen-zhan/stDrosophila-release-1 | 1b128eb81ff4d076f7271abb1298639be6d08310 | [
"BSD-3-Clause"
] | 1 | 2022-03-24T07:29:01.000Z | 2022-03-24T07:29:01.000Z | from .from_flymine import fm_BDGP, fm_gene2GO
from .from_flybase import *
from .from_flyaltas2 import flyatlas2
| 28 | 45 | 0.839286 | 17 | 112 | 5.235294 | 0.529412 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.116071 | 112 | 3 | 46 | 37.333333 | 0.868687 | 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 |
f9e21e83d1469167d35de22c6511f6c09c260727 | 27 | py | Python | models/backbones/__init__.py | brjathu/PHALP | 0502c0aa515292bc70e358fe3b3ec65e63215327 | [
"MIT"
] | 45 | 2022-02-23T04:32:22.000Z | 2022-03-31T15:02:39.000Z | models/backbones/__init__.py | brjathu/PHALP | 0502c0aa515292bc70e358fe3b3ec65e63215327 | [
"MIT"
] | 5 | 2022-02-23T15:08:29.000Z | 2022-03-24T19:54:55.000Z | models/backbones/__init__.py | brjathu/PHALP | 0502c0aa515292bc70e358fe3b3ec65e63215327 | [
"MIT"
] | 2 | 2022-02-26T13:01:19.000Z | 2022-03-24T04:53:29.000Z | from .resnet import resnet
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ddd1828ae6eba40e52a6cc9603d32437e469d871 | 43,171 | py | Python | yardstick/tests/unit/network_services/traffic_profile/test_ixia_rfc2544.py | upfront710/yardstick | 2c3898f2ca061962cedbfc7435f78b59aa39b097 | [
"Apache-2.0"
] | 28 | 2017-02-07T07:46:42.000Z | 2021-06-30T08:11:06.000Z | yardstick/tests/unit/network_services/traffic_profile/test_ixia_rfc2544.py | upfront710/yardstick | 2c3898f2ca061962cedbfc7435f78b59aa39b097 | [
"Apache-2.0"
] | 6 | 2018-01-18T08:00:54.000Z | 2019-04-11T04:51:41.000Z | yardstick/tests/unit/network_services/traffic_profile/test_ixia_rfc2544.py | upfront710/yardstick | 2c3898f2ca061962cedbfc7435f78b59aa39b097 | [
"Apache-2.0"
] | 46 | 2016-12-13T10:05:47.000Z | 2021-02-18T07:33:06.000Z | # Copyright (c) 2016-2019 Intel Corporation
#
# 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... | 42.118049 | 94 | 0.482755 | 4,077 | 43,171 | 4.846456 | 0.084376 | 0.024293 | 0.027329 | 0.024293 | 0.822562 | 0.774736 | 0.753884 | 0.716838 | 0.713649 | 0.69872 | 0 | 0.1238 | 0.394339 | 43,171 | 1,024 | 95 | 42.15918 | 0.631889 | 0.015543 | 0 | 0.694915 | 0 | 0 | 0.182811 | 0.018738 | 0 | 0 | 0 | 0 | 0.098517 | 1 | 0.034958 | false | 0 | 0.006356 | 0 | 0.04661 | 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 |
34fb8e957edc279c5538e2ac3180bee57bc37268 | 32 | py | Python | nqs/optimizer.py | stubbi/netket | 7391466077a4694e8f12c649730a81bf634f695e | [
"Apache-2.0"
] | 1 | 2019-11-28T10:26:04.000Z | 2019-11-28T10:26:04.000Z | nqs/optimizer.py | stubbi/nqs | 7391466077a4694e8f12c649730a81bf634f695e | [
"Apache-2.0"
] | null | null | null | nqs/optimizer.py | stubbi/nqs | 7391466077a4694e8f12c649730a81bf634f695e | [
"Apache-2.0"
] | null | null | null | from ._C_nqs.optimizer import *
| 16 | 31 | 0.78125 | 5 | 32 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.821429 | 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 |
34ff15d5c550e059141bd9756de49b40a9f23cb2 | 10,406 | py | Python | sportSquads/tests/test_forms.py | EdoardoLuciani/sportSquads | 00de8a4b0856e97a220f6d7ff0a8f50f4f471a44 | [
"MIT"
] | null | null | null | sportSquads/tests/test_forms.py | EdoardoLuciani/sportSquads | 00de8a4b0856e97a220f6d7ff0a8f50f4f471a44 | [
"MIT"
] | null | null | null | sportSquads/tests/test_forms.py | EdoardoLuciani/sportSquads | 00de8a4b0856e97a220f6d7ff0a8f50f4f471a44 | [
"MIT"
] | null | null | null | import os
from django.conf import settings
from django.test import TestCase
from sportSquads.models import *
from django.core.files import File
from sportSquads.forms import *
TEST_FILES_DIR = os.path.join(os.path.dirname(__file__), 'test_files')
class SportFormTests(TestCase):
def test_form_valid_no_image(self... | 45.640351 | 125 | 0.651451 | 1,205 | 10,406 | 5.379253 | 0.094606 | 0.071274 | 0.030546 | 0.032397 | 0.811478 | 0.763499 | 0.736038 | 0.735421 | 0.698087 | 0.634372 | 0 | 0.006047 | 0.221315 | 10,406 | 227 | 126 | 45.84141 | 0.793903 | 0 | 0 | 0.522876 | 0 | 0 | 0.151932 | 0 | 0 | 0 | 0 | 0 | 0.183007 | 1 | 0.143791 | false | 0.084967 | 0.039216 | 0 | 0.228758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
550c6cfc09833580efa37a01fa534c2c81e61385 | 75 | py | Python | models/optimizer/__init__.py | jay-z007/neumann-optimizer | c931631346a1097d198983684d7c68d91ae82d39 | [
"MIT"
] | 10 | 2018-10-25T04:37:30.000Z | 2019-03-08T15:05:27.000Z | models/optimizer/__init__.py | jay-z007/neumann-optimizer | c931631346a1097d198983684d7c68d91ae82d39 | [
"MIT"
] | null | null | null | models/optimizer/__init__.py | jay-z007/neumann-optimizer | c931631346a1097d198983684d7c68d91ae82d39 | [
"MIT"
] | 3 | 2018-05-07T19:08:57.000Z | 2019-09-04T06:22:11.000Z | from optimizer.neumann import Neumann
from optimizer.stochastic import SGD
| 25 | 37 | 0.866667 | 10 | 75 | 6.5 | 0.6 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 38 | 37.5 | 0.970149 | 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 |
9b2b0dd92a0a714379b04739a500d48f79e923f0 | 3,972 | py | Python | datetimedelta/tests/test_extended_date_time.py | shreyasp/datetimedelta | 99075c05b685e305952ed1283568f1efa3d6bccb | [
"MIT"
] | null | null | null | datetimedelta/tests/test_extended_date_time.py | shreyasp/datetimedelta | 99075c05b685e305952ed1283568f1efa3d6bccb | [
"MIT"
] | null | null | null | datetimedelta/tests/test_extended_date_time.py | shreyasp/datetimedelta | 99075c05b685e305952ed1283568f1efa3d6bccb | [
"MIT"
] | null | null | null | from unittest import TestCase
from datetimedelta.extended_date_time import ExtendedDateTime
from datetime import datetime
from dateutil.relativedelta import relativedelta
class TestExtendedDateTime(TestCase):
# Check whether instance is of type Date time
def test_instance_type(self):
extend_date_time... | 35.464286 | 90 | 0.697382 | 478 | 3,972 | 5.543933 | 0.131799 | 0.066415 | 0.057358 | 0.066415 | 0.815094 | 0.801509 | 0.751698 | 0.737358 | 0.737358 | 0.737358 | 0 | 0.006163 | 0.223817 | 3,972 | 112 | 91 | 35.464286 | 0.85339 | 0.09139 | 0 | 0.539474 | 0 | 0 | 0.034971 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 1 | 0.144737 | false | 0 | 0.052632 | 0 | 0.210526 | 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 |
9b6a4cc24af1a43e76c7d8d66098468e3e109030 | 615 | py | Python | gaia-sdk-python/gaia_sdk/http/response/FileListing.py | leftshiftone/gaia-sdk | 7e0d1ce054fada8ae154da70b71e8a90347c9f97 | [
"MIT"
] | null | null | null | gaia-sdk-python/gaia_sdk/http/response/FileListing.py | leftshiftone/gaia-sdk | 7e0d1ce054fada8ae154da70b71e8a90347c9f97 | [
"MIT"
] | 10 | 2019-11-14T07:55:47.000Z | 2022-02-26T19:36:45.000Z | gaia-sdk-python/gaia_sdk/http/response/FileListing.py | leftshiftone/gaia-sdk | 7e0d1ce054fada8ae154da70b71e8a90347c9f97 | [
"MIT"
] | 2 | 2020-05-12T11:09:53.000Z | 2020-12-25T14:03:04.000Z | class FileListing:
dictionary: dict
def __init__(self, dictionary: dict):
self.dictionary = dictionary
def __eq__(self, other):
return self.dictionary == other.dictionary
def __repr__(self):
return {'dictionary': self.dictionary}
@property
def tenant(self):
re... | 21.964286 | 50 | 0.642276 | 66 | 615 | 5.772727 | 0.318182 | 0.293963 | 0.262467 | 0.251969 | 0.283465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.250407 | 615 | 27 | 51 | 22.777778 | 0.826464 | 0 | 0 | 0.2 | 0 | 0 | 0.065041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0 | 0 | 0.3 | 0.75 | 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 |
9ba741dc4eda4f77faa35bb40368cc5be8ab3fc4 | 52 | py | Python | dd/db/__init__.py | octo-technology/ddapi | 08b56016bf59a02c42d79a117a8de1e23e5b4f90 | [
"Apache-2.0"
] | 4 | 2019-06-09T13:15:37.000Z | 2020-12-22T08:37:36.000Z | dd/db/__init__.py | octo-technology/ddapi | 08b56016bf59a02c42d79a117a8de1e23e5b4f90 | [
"Apache-2.0"
] | null | null | null | dd/db/__init__.py | octo-technology/ddapi | 08b56016bf59a02c42d79a117a8de1e23e5b4f90 | [
"Apache-2.0"
] | null | null | null | from .db_arrow import DBArrow
from .db_sql import DB | 26 | 29 | 0.826923 | 10 | 52 | 4.1 | 0.6 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 2 | 30 | 26 | 0.911111 | 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 |
fd5123d8fc30a88567ef8485158735728244e4e2 | 7,040 | py | Python | membership/tests/tests_membership_log_api.py | 810Teams/clubs-and-events-backend | cf429f43251ad7e77c0d9bc9fe91bb030ca8bae8 | [
"MIT"
] | 1 | 2021-06-25T17:16:13.000Z | 2021-06-25T17:16:13.000Z | membership/tests/tests_membership_log_api.py | 810Teams/clubs-and-events-backend | cf429f43251ad7e77c0d9bc9fe91bb030ca8bae8 | [
"MIT"
] | null | null | null | membership/tests/tests_membership_log_api.py | 810Teams/clubs-and-events-backend | cf429f43251ad7e77c0d9bc9fe91bb030ca8bae8 | [
"MIT"
] | null | null | null | '''
Membership Application's Membership Log API Test
membership/tests/tests_membership_log_api.py
@author Teerapat Kraisrisirikul (810Teams)
'''
from django.contrib.auth import get_user_model
from rest_framework import status
from rest_framework.test import APITestCase
from community.models import Club
fr... | 46.013072 | 119 | 0.690483 | 931 | 7,040 | 5.079484 | 0.136412 | 0.040601 | 0.060478 | 0.083739 | 0.842038 | 0.755974 | 0.710933 | 0.703954 | 0.660605 | 0.655107 | 0 | 0.037759 | 0.176136 | 7,040 | 152 | 120 | 46.315789 | 0.775517 | 0.068466 | 0 | 0.480392 | 0 | 0 | 0.098024 | 0.053257 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.088235 | false | 0.098039 | 0.058824 | 0 | 0.156863 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fd513a5e0baa0f93d0faaed4f6eafcfad0165b1f | 59 | py | Python | app/test/__init__.py | sgr-smile2015/microService | 9c70ed9b4b8e8b84a49ed89fc876ab0de33c14e0 | [
"MIT"
] | 1 | 2019-06-28T02:05:40.000Z | 2019-06-28T02:05:40.000Z | app/test/__init__.py | sgr-smile2015/microService | 9c70ed9b4b8e8b84a49ed89fc876ab0de33c14e0 | [
"MIT"
] | null | null | null | app/test/__init__.py | sgr-smile2015/microService | 9c70ed9b4b8e8b84a49ed89fc876ab0de33c14e0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# CreateTime: 2019-06-27 20:38:09
| 14.75 | 33 | 0.576271 | 10 | 59 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306122 | 0.169492 | 59 | 3 | 34 | 19.666667 | 0.387755 | 0.898305 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd59a4b23951a250178dff412f1d424f346bcd60 | 38 | py | Python | app_routes/signup/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | app_routes/signup/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | app_routes/signup/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | from .signup_route import SignupRoute
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5bd69d85ac08093438347c70a98c761b2f6703a | 103 | py | Python | fabric/tasks.py | suzuki-shunsuke/docker-app-example | 6b41e0a0dcf0ebe1df22d6cbfc4c77916160f8f5 | [
"MIT"
] | 1 | 2022-02-09T06:36:12.000Z | 2022-02-09T06:36:12.000Z | fabric/tasks.py | suzuki-shunsuke/docker-app-example | 6b41e0a0dcf0ebe1df22d6cbfc4c77916160f8f5 | [
"MIT"
] | null | null | null | fabric/tasks.py | suzuki-shunsuke/docker-app-example | 6b41e0a0dcf0ebe1df22d6cbfc4c77916160f8f5 | [
"MIT"
] | null | null | null | from __future__ import with_statement
from fabric.api import local
def deploy():
local("whoami")
| 14.714286 | 37 | 0.757282 | 14 | 103 | 5.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165049 | 103 | 6 | 38 | 17.166667 | 0.848837 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5c1babb6f87b38236e30c0d0e8c80f705848269 | 27,705 | py | Python | easydo/Algorithm/M1809/getData.py | jiper/easydo | d08862e4ba237d9f55e7b73d436f718f576e8b83 | [
"Apache-2.0"
] | 2 | 2018-11-21T07:10:26.000Z | 2019-11-14T07:34:28.000Z | easydo/Algorithm/M1809/getData.py | jiper/easydo | d08862e4ba237d9f55e7b73d436f718f576e8b83 | [
"Apache-2.0"
] | 1 | 2021-06-01T23:04:23.000Z | 2021-06-01T23:04:23.000Z | easydo/Algorithm/M1809/getData.py | jiper/easydo | d08862e4ba237d9f55e7b73d436f718f576e8b83 | [
"Apache-2.0"
] | 3 | 2018-11-21T13:11:46.000Z | 2019-01-12T03:01:07.000Z | # -*- coding: utf-8 -*-
'''
文档说明
list 对照表
0 总资产
1 净资产
2 资产负债比
3 流动资产
4 一年内到期的长期负债
5 应收账款
6 预收账款
7 存货
8 营业收入
9 营业成本
10 营业税金及附加
11 财务费用
12 营业外收入
13 净利润
14 除非净利润
15 每股收益
16 经营净额
17 投资净额
18 筹资净额
19 汇率影响
20 现金净增加额
21 期末现金余额
22 流动比率
23 资产周转率
24 存货周转率
25 总市值/净资
26 市盈率
27 市净率
28 名义净资... | 33.500605 | 150 | 0.504927 | 2,980 | 27,705 | 4.612416 | 0.130537 | 0.022699 | 0.029684 | 0.036013 | 0.802692 | 0.792725 | 0.777519 | 0.768207 | 0.721935 | 0.721935 | 0 | 0.05208 | 0.365855 | 27,705 | 826 | 151 | 33.541162 | 0.730264 | 0.367659 | 0 | 0.487528 | 0 | 0 | 0.04021 | 0.003188 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013605 | false | 0.011338 | 0.027211 | 0 | 0.063492 | 0.043084 | 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 |
b5f3f100eea308bc12f11ff9ebcdd6f74f7765d2 | 6,348 | py | Python | backend.py | ShivaniSarah/Restaurant-Management-System-DBMS- | bd0e1c3c70e960f99039f9969dd1223f16b16dde | [
"Apache-2.0"
] | 2 | 2019-08-31T09:49:24.000Z | 2019-10-12T06:53:55.000Z | backend.py | ShivaniSarah/Restaurant-Management-System-DBMS- | bd0e1c3c70e960f99039f9969dd1223f16b16dde | [
"Apache-2.0"
] | null | null | null | backend.py | ShivaniSarah/Restaurant-Management-System-DBMS- | bd0e1c3c70e960f99039f9969dd1223f16b16dde | [
"Apache-2.0"
] | null | null | null | import psycopg2
def viewrecipe1(day,meal):
conn=psycopg2.connect("dbname='restaurant' user='postgres' password ='postgres123' host='localhost' port='5432'")
cur=conn.cursor()
cur.execute("SELECT DISTINCT name,cooking_time from recipe WHERE name=(SELECT name from recipecatalog rc,schedule s WHERE rc.... | 37.122807 | 280 | 0.683522 | 791 | 6,348 | 5.475348 | 0.116308 | 0.047102 | 0.074579 | 0.09813 | 0.770492 | 0.760794 | 0.745094 | 0.737243 | 0.660356 | 0.660356 | 0 | 0.036725 | 0.159263 | 6,348 | 171 | 281 | 37.122807 | 0.77478 | 0 | 0 | 0.728682 | 0 | 0.046512 | 0.493092 | 0.024088 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131783 | false | 0.131783 | 0.007752 | 0 | 0.294574 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1f99dab6a419df2fcf0c15242ed585bff270dfb3 | 768 | py | Python | tests/_OLD_test_datastore_CSV.py | mlanser/sciLab-datastoreMod | 046da583f472605d740c11a2681546400d876d12 | [
"MIT"
] | null | null | null | tests/_OLD_test_datastore_CSV.py | mlanser/sciLab-datastoreMod | 046da583f472605d740c11a2681546400d876d12 | [
"MIT"
] | 29 | 2021-12-22T21:38:47.000Z | 2022-03-30T21:34:50.000Z | tests/_OLD_test_datastore_CSV.py | mlanser/scilab-datastoremod | 046da583f472605d740c11a2681546400d876d12 | [
"MIT"
] | null | null | null | import os
import pytest
from libs.datastoreMod.src.datastore_CSV import Datastore
# =========================================================
# G L O B A L S & P Y T E S T F I X T U R E S
# =========================================================
@pytest.fixture()
def valid_data_file():
return 'testda... | 32 | 63 | 0.434896 | 94 | 768 | 3.5 | 0.648936 | 0.018237 | 0.018237 | 0.024316 | 0.030395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205729 | 768 | 23 | 64 | 33.391304 | 0.539344 | 0.640625 | 0 | 0 | 0 | 0 | 0.090226 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 1 | 0.222222 | false | 0.111111 | 0.333333 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 6 |
9514ec13d901ae17fffeb61eff8baff76a413514 | 20,029 | py | Python | src/COOL_LEX.py | Liset97/cool-compiler-2020 | fc866919708ed5f666176e240d7feb3a89321000 | [
"MIT"
] | null | null | null | src/COOL_LEX.py | Liset97/cool-compiler-2020 | fc866919708ed5f666176e240d7feb3a89321000 | [
"MIT"
] | null | null | null | src/COOL_LEX.py | Liset97/cool-compiler-2020 | fc866919708ed5f666176e240d7feb3a89321000 | [
"MIT"
] | null | null | null | # Generated from COOL_LEX.g4 by ANTLR 4.7.2
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\29")
buf.write("\u01e0\b\1\b\1\b\1\b\1\4\2\t\2\4\3\t\3\4\4\t\... | 59.610119 | 103 | 0.569774 | 4,421 | 20,029 | 2.560054 | 0.166252 | 0.117159 | 0.077399 | 0.085881 | 0.247924 | 0.185899 | 0.118661 | 0.107263 | 0.105937 | 0.09772 | 0 | 0.329264 | 0.153428 | 20,029 | 335 | 104 | 59.78806 | 0.338228 | 0.002047 | 0 | 0.018987 | 1 | 0.610759 | 0.615392 | 0.558247 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006329 | false | 0 | 0.012658 | 0 | 0.234177 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9526cd6e0e9d370882a15c696701ac17a1b4c8da | 322 | py | Python | cumulusci/tasks/bulkdata/__init__.py | bethbrains/CumulusCI | 933d305f1a0b580aaaded9254611fbc0141f4bed | [
"BSD-3-Clause"
] | null | null | null | cumulusci/tasks/bulkdata/__init__.py | bethbrains/CumulusCI | 933d305f1a0b580aaaded9254611fbc0141f4bed | [
"BSD-3-Clause"
] | null | null | null | cumulusci/tasks/bulkdata/__init__.py | bethbrains/CumulusCI | 933d305f1a0b580aaaded9254611fbc0141f4bed | [
"BSD-3-Clause"
] | null | null | null | from cumulusci.tasks.bulkdata.delete import DeleteData # noqa: F401
from cumulusci.tasks.bulkdata.extract import ExtractData
from cumulusci.tasks.bulkdata.generate import GenerateMapping # noqa: F401
from cumulusci.tasks.bulkdata.load import LoadData # noqa: F401
# For backwards-compatibility
QueryData = ExtractDat... | 40.25 | 75 | 0.826087 | 39 | 322 | 6.820513 | 0.487179 | 0.195489 | 0.270677 | 0.390977 | 0.255639 | 0.255639 | 0 | 0 | 0 | 0 | 0 | 0.031359 | 0.108696 | 322 | 7 | 76 | 46 | 0.89547 | 0.186335 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f59b951f83f608934057dacb1c0cbb26e0a09d8 | 22,717 | py | Python | training/tests.py | samul-1/sai_training | 34d459a0e1e0b71bcfe8b37e46d47ab3ea600d9f | [
"MIT"
] | 2 | 2021-11-16T16:48:48.000Z | 2022-02-20T18:40:16.000Z | training/tests.py | samul-1/sai_training | 34d459a0e1e0b71bcfe8b37e46d47ab3ea600d9f | [
"MIT"
] | null | null | null | training/tests.py | samul-1/sai_training | 34d459a0e1e0b71bcfe8b37e46d47ab3ea600d9f | [
"MIT"
] | 1 | 2021-11-17T09:44:19.000Z | 2021-11-17T09:44:19.000Z | from django.core.exceptions import ValidationError
from django.test import TestCase
from users.models import User
from training.models import (
AbstractItem,
Choice,
Course,
Question,
Topic,
TrainingSession,
TrainingTemplate,
TrainingTemplateRule,
)
def user_data_set_up(obj):
obj.... | 36.05873 | 86 | 0.63349 | 2,341 | 22,717 | 5.953866 | 0.087142 | 0.12283 | 0.052447 | 0.052231 | 0.868561 | 0.828024 | 0.794806 | 0.787057 | 0.751471 | 0.731525 | 0 | 0.033764 | 0.280319 | 22,717 | 629 | 87 | 36.116057 | 0.818766 | 0.043668 | 0 | 0.609174 | 0 | 0 | 0.017004 | 0.001152 | 0 | 0 | 0 | 0 | 0.216514 | 1 | 0.027523 | false | 0 | 0.011009 | 0 | 0.045872 | 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 |
85db30c6075c4e99f39f4f9abd45e3fda5fb87d4 | 51,227 | py | Python | gui.py | Mitsunee/video-dl | b500edea61d536ffc12e0fb4e5ef728f43dd73e2 | [
"MIT"
] | null | null | null | gui.py | Mitsunee/video-dl | b500edea61d536ffc12e0fb4e5ef728f43dd73e2 | [
"MIT"
] | null | null | null | gui.py | Mitsunee/video-dl | b500edea61d536ffc12e0fb4e5ef728f43dd73e2 | [
"MIT"
] | null | null | null | import logging
import re
import traceback
from sys import platform
from typing import Dict, List
import GPUtil
import PySimpleGUI as Sg
from ytdlp_handler import *
def _get_encoders_list() -> List[str]:
encoders_list = list()
gpus = GPUtil.getGPUs()
for gpu in gpus:
gpu_name = gpu.name
i... | 256.135 | 43,209 | 0.904894 | 2,372 | 51,227 | 19.491147 | 0.678752 | 0.004759 | 0.003461 | 0.001557 | 0.034715 | 0.027967 | 0.021543 | 0.018515 | 0.014081 | 0.010901 | 0 | 0.135837 | 0.041892 | 51,227 | 199 | 43,210 | 257.422111 | 0.806137 | 0.008043 | 0 | 0.126506 | 0 | 0.006024 | 0.866217 | 0.851986 | 0 | 1 | 0 | 0 | 0 | 1 | 0.042169 | false | 0 | 0.054217 | 0 | 0.126506 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
85f7784898dce74cdb1a62484cb46f69a4710a05 | 48 | py | Python | npf/__init__.py | philippeitis/Neural-Process-Family | 892d0439614804ee671d66464fcb7d46ab43629b | [
"MIT"
] | 1 | 2021-12-19T14:11:16.000Z | 2021-12-19T14:11:16.000Z | npf/__init__.py | philippeitis/Neural-Process-Family | 892d0439614804ee671d66464fcb7d46ab43629b | [
"MIT"
] | null | null | null | npf/__init__.py | philippeitis/Neural-Process-Family | 892d0439614804ee671d66464fcb7d46ab43629b | [
"MIT"
] | null | null | null | from .losses import *
from .neuralproc import *
| 16 | 25 | 0.75 | 6 | 48 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 26 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c81649f834cef6690f46bc82b6c406978c5d2f16 | 49 | py | Python | Zavrsni/ctest.py | fvidak00/Zavrsni | e1d895138e0acd539f639f28226699792f93b91c | [
"MIT"
] | null | null | null | Zavrsni/ctest.py | fvidak00/Zavrsni | e1d895138e0acd539f639f28226699792f93b91c | [
"MIT"
] | null | null | null | Zavrsni/ctest.py | fvidak00/Zavrsni | e1d895138e0acd539f639f28226699792f93b91c | [
"MIT"
] | null | null | null | import primes
primes.primes_less_than(100000000) | 24.5 | 34 | 0.877551 | 7 | 49 | 5.857143 | 0.714286 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 0.061224 | 49 | 2 | 34 | 24.5 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
c83c06339b39f75676a56d65eb63a3c1f7e2cb02 | 47 | py | Python | pybotic/utils/__init__.py | robo-bootcamp/pyBot | f29fb8df3897ee4c2b641d3eb29b331f66d7d8bf | [
"MIT"
] | 1 | 2020-07-30T00:51:40.000Z | 2020-07-30T00:51:40.000Z | pybotic/utils/__init__.py | robo-bootcamp/pyBot | f29fb8df3897ee4c2b641d3eb29b331f66d7d8bf | [
"MIT"
] | 14 | 2020-06-13T01:52:42.000Z | 2020-06-18T11:15:50.000Z | pybotic/utils/__init__.py | robo-bootcamp/pyBotic | f29fb8df3897ee4c2b641d3eb29b331f66d7d8bf | [
"MIT"
] | null | null | null | from .world_utils import load_3d_map_from_file
| 23.5 | 46 | 0.893617 | 9 | 47 | 4.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.085106 | 47 | 1 | 47 | 47 | 0.837209 | 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 |
c84108ec869f60c18acc9b877460413893ca1a4c | 63 | py | Python | server_beta_app/managers/__init__.py | dalmarcogd/test_django_elasticsearch | 9c97857a7f225a87554637fcae405e8c1a03d0f7 | [
"Apache-2.0"
] | null | null | null | server_beta_app/managers/__init__.py | dalmarcogd/test_django_elasticsearch | 9c97857a7f225a87554637fcae405e8c1a03d0f7 | [
"Apache-2.0"
] | 13 | 2020-06-05T18:26:43.000Z | 2021-06-10T20:36:13.000Z | backend/server_beta/server_beta_app/managers/__init__.py | dalmarcogd/challenge_ms | 761f0a588b4c309cf6e226d306df3609c1179b4c | [
"MIT"
] | 1 | 2019-04-07T23:42:22.000Z | 2019-04-07T23:42:22.000Z | from .base import *
from .user import *
from .customer import * | 21 | 23 | 0.730159 | 9 | 63 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 3 | 23 | 21 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c85d0282533f2a9ad2d81127f7514c19356436a4 | 49 | py | Python | main.py | pambrose/CPX-Test | 7447ad7dddccbb00ddc96e4b2d1c2e6509dfbd11 | [
"MIT"
] | null | null | null | main.py | pambrose/CPX-Test | 7447ad7dddccbb00ddc96e4b2d1c2e6509dfbd11 | [
"MIT"
] | null | null | null | main.py | pambrose/CPX-Test | 7447ad7dddccbb00ddc96e4b2d1c2e6509dfbd11 | [
"MIT"
] | null | null | null |
def forever2():
pass
forever(forever2) | 8.166667 | 17 | 0.612245 | 5 | 49 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.285714 | 49 | 6 | 17 | 8.166667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.333333 | 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 |
c06db57bedf244a408252264dfa5d6ae6cddc1af | 209 | py | Python | code/10/module_namespace.py | Hyundoo-Jin/Gachon_CS50_Python_KMOOC | 2f6856a2f4601727224498d3df9a32a49856c482 | [
"MIT"
] | 2 | 2022-01-18T09:27:42.000Z | 2022-03-29T14:59:00.000Z | code/10/module_namespace.py | Hyundoo-Jin/Gachon_CS50_Python_KMOOC | 2f6856a2f4601727224498d3df9a32a49856c482 | [
"MIT"
] | null | null | null | code/10/module_namespace.py | Hyundoo-Jin/Gachon_CS50_Python_KMOOC | 2f6856a2f4601727224498d3df9a32a49856c482 | [
"MIT"
] | 1 | 2020-08-06T05:43:09.000Z | 2020-08-06T05:43:09.000Z | # import fah_converter as fah
# print(fah.covert_c_to_f(41.6))
# from fah_converter import covert_c_to_f
# print(covert_c_to_f(41.6))
from fah_converter import *
print(covert_c_to_f(41.6))
print(test_value)
| 20.9 | 41 | 0.784689 | 42 | 209 | 3.52381 | 0.333333 | 0.189189 | 0.243243 | 0.27027 | 0.628378 | 0.628378 | 0.628378 | 0.472973 | 0.472973 | 0.472973 | 0 | 0.048128 | 0.105263 | 209 | 9 | 42 | 23.222222 | 0.743316 | 0.598086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c0aa546c5dfa184af2123515f60bf8b6522a06ce | 1,218 | py | Python | care/facility/migrations/0149_auto_20200802_2156.py | gigincg/care | 07be6a7982b5c46a854e3435a52662f32800c8ae | [
"MIT"
] | 189 | 2020-03-17T17:18:58.000Z | 2022-02-22T09:49:45.000Z | care/facility/migrations/0149_auto_20200802_2156.py | gigincg/care | 07be6a7982b5c46a854e3435a52662f32800c8ae | [
"MIT"
] | 598 | 2020-03-19T21:22:09.000Z | 2022-03-30T05:08:37.000Z | care/facility/migrations/0149_auto_20200802_2156.py | gigincg/care | 07be6a7982b5c46a854e3435a52662f32800c8ae | [
"MIT"
] | 159 | 2020-03-19T18:45:56.000Z | 2022-03-17T13:23:12.000Z | # Generated by Django 2.2.11 on 2020-08-02 16:26
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('facility', '0148_populate_unencrypted_patients'),
]
operations = [
migrations.RenameField(
model_name='historicalpatientregistration',
... | 27.681818 | 59 | 0.576355 | 104 | 1,218 | 6.451923 | 0.326923 | 0.187779 | 0.232489 | 0.268256 | 0.766021 | 0.766021 | 0.766021 | 0.678092 | 0.461997 | 0.345753 | 0 | 0.024301 | 0.324302 | 1,218 | 43 | 60 | 28.325581 | 0.791009 | 0.037767 | 0 | 0.810811 | 1 | 0 | 0.25812 | 0.103419 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 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 |
c0e983cc02a2df9fdb335dcb868845f5fda5f7b6 | 40 | py | Python | pygrapher/__init__.py | 610yilingliu/excel-like-python-curve-fitter | 5a55ea3479296ff9dcf258ec55ec40f450b2606b | [
"MIT"
] | null | null | null | pygrapher/__init__.py | 610yilingliu/excel-like-python-curve-fitter | 5a55ea3479296ff9dcf258ec55ec40f450b2606b | [
"MIT"
] | null | null | null | pygrapher/__init__.py | 610yilingliu/excel-like-python-curve-fitter | 5a55ea3479296ff9dcf258ec55ec40f450b2606b | [
"MIT"
] | null | null | null | from pygrapher import equations, grapher | 40 | 40 | 0.875 | 5 | 40 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.972222 | 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 |
c0f88fb70043cb7c9d8e2ac033a7aeda81a150e0 | 171,417 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_dwdm_ui_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_dwdm_ui_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_dwdm_ui_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... | 48.684181 | 245 | 0.484736 | 15,643 | 171,417 | 5.107972 | 0.029918 | 0.094013 | 0.117516 | 0.13351 | 0.903259 | 0.892396 | 0.879856 | 0.849607 | 0.818657 | 0.742441 | 0 | 0.035212 | 0.367945 | 171,417 | 3,520 | 246 | 48.698011 | 0.702284 | 0 | 0 | 0.606749 | 0 | 0.000649 | 0.393746 | 0.268688 | 0 | 0 | 0 | 0 | 0.019468 | 1 | 0 | false | 0 | 0.002596 | 0 | 0.002596 | 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 |
8d0dfdfa5d8040bab1fc811c858e03051507e62b | 48 | py | Python | CIFAR/networks/nets.py | FPNAS/ResLT | 1610b6b455cecd720c37d1da5208111b25baa257 | [
"MIT"
] | 13 | 2021-01-26T08:17:26.000Z | 2021-07-07T08:26:53.000Z | CIFAR/networks/nets.py | FPNAS/ResLT | 1610b6b455cecd720c37d1da5208111b25baa257 | [
"MIT"
] | 4 | 2021-01-28T15:21:55.000Z | 2021-07-16T13:56:57.000Z | CIFAR/networks/nets.py | FPNAS/ResLT | 1610b6b455cecd720c37d1da5208111b25baa257 | [
"MIT"
] | 1 | 2022-01-01T03:17:57.000Z | 2022-01-01T03:17:57.000Z | from networks.resnet_cifar import ResLTResNet32
| 24 | 47 | 0.895833 | 6 | 48 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.083333 | 48 | 1 | 48 | 48 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
23fcb8552842af5175fecff63c98f50a3d8dfa55 | 193,973 | py | Python | tests.py | meyersbs/developer-apologies | ccb3c45555f917da9010af71fc287958cb2d9026 | [
"MIT"
] | null | null | null | tests.py | meyersbs/developer-apologies | ccb3c45555f917da9010af71fc287958cb2d9026 | [
"MIT"
] | null | null | null | tests.py | meyersbs/developer-apologies | ccb3c45555f917da9010af71fc287958cb2d9026 | [
"MIT"
] | 1 | 2021-08-24T17:59:01.000Z | 2021-08-24T17:59:01.000Z | #!/usr/bin/env python3
#### PYTHON IMPORTS ################################################################################
import csv
import filecmp
import h5py
import os
import shutil
import unittest
from collections import OrderedDict
from pathlib import Path
import unittest.mock as mock
#### PACKAGE IMPORTS ###... | 64.250745 | 163 | 0.569327 | 20,462 | 193,973 | 5.321718 | 0.068615 | 0.077691 | 0.120724 | 0.144656 | 0.823221 | 0.798444 | 0.786423 | 0.773438 | 0.759709 | 0.743161 | 0 | 0.098759 | 0.265578 | 193,973 | 3,018 | 164 | 64.272034 | 0.665628 | 0.028994 | 0 | 0.532128 | 0 | 0.135821 | 0.53617 | 0.019091 | 0 | 0 | 0 | 0 | 0.051943 | 1 | 0.014236 | false | 0.005771 | 0.007695 | 0 | 0.026164 | 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 |
9b0c85d78608edcffe6a231c65b305255b64206d | 9,645 | py | Python | vlbi_errors/1038.py | akutkin/SACA | 2d9b759e2de91734f7f7b61b8810ffbd73443d9a | [
"MIT"
] | null | null | null | vlbi_errors/1038.py | akutkin/SACA | 2d9b759e2de91734f7f7b61b8810ffbd73443d9a | [
"MIT"
] | 1 | 2019-10-16T20:36:19.000Z | 2020-03-24T19:28:01.000Z | vlbi_errors/1038.py | ipashchenko/ve | b866b6d9465310d4cd5bb4d2e92595d918b681d0 | [
"MIT"
] | null | null | null | import emcee
import triangle
import scipy as sp
import numpy as np
from from_fits import create_uvdata_from_fits_file
from components import CGComponent
from model import Model, CCModel
from stats import LnPost
if __name__ == '__main__':
uv_fname = '1633+382.l22.2010_05_21.uvf'
map_fname = '1633+382.l22.2010_... | 38.426295 | 76 | 0.588284 | 1,512 | 9,645 | 3.640873 | 0.099206 | 0.038147 | 0.076294 | 0.108992 | 0.861762 | 0.834332 | 0.818165 | 0.764941 | 0.718619 | 0.695005 | 0 | 0.099272 | 0.231312 | 9,645 | 250 | 77 | 38.58 | 0.643243 | 0.068429 | 0 | 0.64532 | 0 | 0 | 0.018653 | 0.00659 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039409 | 0 | 0.039409 | 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 |
f1bc98d33f7b692fbcf364043a9733ded5637f8c | 6,774 | py | Python | harmonic_functions.py | sandybradley/qHarmonicTrader | f67218c5b80c447cbf0a4177523f375f1e30e83e | [
"MIT"
] | 6 | 2020-04-04T14:20:03.000Z | 2022-03-27T04:30:38.000Z | harmonic_functions.py | sandybradley/pyHarmonicTrader | f67218c5b80c447cbf0a4177523f375f1e30e83e | [
"MIT"
] | 2 | 2020-03-31T12:28:48.000Z | 2020-05-17T13:52:30.000Z | harmonic_functions.py | sandybradley/pyHarmonicTrader | f67218c5b80c447cbf0a4177523f375f1e30e83e | [
"MIT"
] | 2 | 2020-02-24T16:14:05.000Z | 2020-07-30T10:33:14.000Z | import pandas as pd
import numpy as np
from scipy.signal import argrelextrema
def peak_detect(price,order=7):
max_idx = list(argrelextrema(price,np.greater,order=order)[0])
min_idx = list(argrelextrema(price,np.less,order=order)[0])
idx = max_idx + min_idx + [len(price)-1]
idx.sort()
c... | 35.28125 | 128 | 0.559345 | 1,177 | 6,774 | 3.061172 | 0.06712 | 0.135998 | 0.094921 | 0.031085 | 0.873994 | 0.8529 | 0.8529 | 0.848737 | 0.848737 | 0.840411 | 0 | 0.074035 | 0.296132 | 6,774 | 192 | 129 | 35.28125 | 0.681628 | 0.023029 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.021277 | 0 | 0.156028 | 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 |
f1ea8ef204c3f26a2688092158b88878e5101b84 | 49 | py | Python | musicgen/common/sampling/__init__.py | dritchie/magenta | 11931fd2e7acb97b035c02e08be8533ffb5167b1 | [
"Apache-2.0"
] | 1 | 2021-05-11T10:54:01.000Z | 2021-05-11T10:54:01.000Z | musicgen/common/sampling/__init__.py | dritchie/magenta | 11931fd2e7acb97b035c02e08be8533ffb5167b1 | [
"Apache-2.0"
] | null | null | null | musicgen/common/sampling/__init__.py | dritchie/magenta | 11931fd2e7acb97b035c02e08be8533ffb5167b1 | [
"Apache-2.0"
] | 1 | 2017-02-13T04:33:13.000Z | 2017-02-13T04:33:13.000Z | from common.sampling.forward import ForwardSample | 49 | 49 | 0.897959 | 6 | 49 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1faac9848aebc37d4226d42c8d729a1d96f33e6 | 126 | py | Python | teste.py | EderBevacqua/aula-testeAutomatico | 5121b0e7dab4c8d87d2520587c05e69571e79aaf | [
"Apache-2.0"
] | null | null | null | teste.py | EderBevacqua/aula-testeAutomatico | 5121b0e7dab4c8d87d2520587c05e69571e79aaf | [
"Apache-2.0"
] | null | null | null | teste.py | EderBevacqua/aula-testeAutomatico | 5121b0e7dab4c8d87d2520587c05e69571e79aaf | [
"Apache-2.0"
] | null | null | null | from main import soma, mult
import pytest
def test_soma():
assert soma(2,4)==6
def test_mult():
assert mult(2,4)==8 | 14 | 27 | 0.666667 | 23 | 126 | 3.565217 | 0.565217 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 0.198413 | 126 | 9 | 28 | 14 | 0.752475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7b2006406f1596bcab651732a6fcf4421e25493b | 230 | py | Python | t2i/__init__.py | siddtheshah/text2illustrate | 69ad0bf2b05c199626bda716f1af72064c28ef41 | [
"Apache-2.0"
] | null | null | null | t2i/__init__.py | siddtheshah/text2illustrate | 69ad0bf2b05c199626bda716f1af72064c28ef41 | [
"Apache-2.0"
] | null | null | null | t2i/__init__.py | siddtheshah/text2illustrate | 69ad0bf2b05c199626bda716f1af72064c28ef41 | [
"Apache-2.0"
] | null | null | null | from t2i.animate import *
from t2i.assetBook import *
from t2i.endpointResolver import *
from t2i.entity import *
from t2i.highlightBoxNLP import *
from t2i.script import *
from t2i.sketchify import *
from t2i.visualizer import *
| 25.555556 | 34 | 0.791304 | 32 | 230 | 5.6875 | 0.34375 | 0.307692 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0.13913 | 230 | 8 | 35 | 28.75 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7b4c7825c7cc058e90d906d752c82b040f210f97 | 128 | py | Python | sympy/physics/control/__init__.py | bigfooted/sympy | 1fb2490fa2fa9b476da450f02a25b03c1dc07cf0 | [
"BSD-3-Clause"
] | 603 | 2020-12-23T13:49:32.000Z | 2022-03-31T23:38:03.000Z | sympy/physics/control/__init__.py | bigfooted/sympy | 1fb2490fa2fa9b476da450f02a25b03c1dc07cf0 | [
"BSD-3-Clause"
] | 387 | 2020-12-15T14:54:04.000Z | 2022-03-31T07:00:21.000Z | sympy/physics/control/__init__.py | bigfooted/sympy | 1fb2490fa2fa9b476da450f02a25b03c1dc07cf0 | [
"BSD-3-Clause"
] | 35 | 2021-03-26T03:12:04.000Z | 2022-03-23T10:15:10.000Z | from .lti import TransferFunction, Series, Parallel, Feedback
__all__ = ['TransferFunction', 'Series', 'Parallel', 'Feedback']
| 32 | 64 | 0.75 | 12 | 128 | 7.666667 | 0.666667 | 0.478261 | 0.652174 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 128 | 3 | 65 | 42.666667 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 0.296875 | 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 |
7b6eff07718c298c103acd7e0289b818042a1c32 | 44 | py | Python | src/demo/demo_coco_1/demo.py | weijinqian0/feature_eda | cf2167eeac726fb33ce2ae5c7051412815601b8b | [
"Apache-2.0"
] | 6 | 2020-12-09T11:06:49.000Z | 2021-09-13T08:00:55.000Z | src/demo/demo_coco_1/demo.py | weijinqian0/feature_eda | cf2167eeac726fb33ce2ae5c7051412815601b8b | [
"Apache-2.0"
] | null | null | null | src/demo/demo_coco_1/demo.py | weijinqian0/feature_eda | cf2167eeac726fb33ce2ae5c7051412815601b8b | [
"Apache-2.0"
] | 3 | 2020-11-15T15:23:39.000Z | 2021-07-17T08:06:46.000Z | import pandas as pd
"""
以实际项目,使用coco框架
"""
| 7.333333 | 19 | 0.659091 | 6 | 44 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 5 | 20 | 8.8 | 0.805556 | 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 |
c8c7c6df6f75ffefe47a6e7c405b25b069718573 | 85 | py | Python | delimag/__init__.py | lrado1/delimag | 1dc00552d920bdcd261144f3943f805a9dad198d | [
"MIT"
] | null | null | null | delimag/__init__.py | lrado1/delimag | 1dc00552d920bdcd261144f3943f805a9dad198d | [
"MIT"
] | null | null | null | delimag/__init__.py | lrado1/delimag | 1dc00552d920bdcd261144f3943f805a9dad198d | [
"MIT"
] | null | null | null | from .delimag1d import Delimag1d
from .delimag2d import Delimag2d
import pandas as pd | 28.333333 | 32 | 0.847059 | 12 | 85 | 6 | 0.583333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.129412 | 85 | 3 | 33 | 28.333333 | 0.918919 | 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 |
c8f011e268d2eb9cd3af313acba576636e2fe5c2 | 21 | py | Python | hue/logic/packages/colour/__init__.py | dnnsmnstrr/workflows | 104b370292060b7011120e7decb3db26275ae7f5 | [
"Unlicense"
] | 4 | 2020-08-12T21:56:07.000Z | 2021-06-01T09:11:12.000Z | hue/logic/packages/colour/__init__.py | dnnsmnstrr/workflows | 104b370292060b7011120e7decb3db26275ae7f5 | [
"Unlicense"
] | null | null | null | hue/logic/packages/colour/__init__.py | dnnsmnstrr/workflows | 104b370292060b7011120e7decb3db26275ae7f5 | [
"Unlicense"
] | 1 | 2021-12-06T02:40:43.000Z | 2021-12-06T02:40:43.000Z | from colour import *
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8f1d77e3283ee589e3647a7a5fdeba94818fe3b | 1,533 | py | Python | lupa/tests/test_logging.py | MinisterioPublicoRJ/api-cadg | a8998c4c234a65192f1dca8ea9a17a1d4a496556 | [
"MIT"
] | 6 | 2020-02-11T18:45:58.000Z | 2020-05-26T12:37:28.000Z | lupa/tests/test_logging.py | MinisterioPublicoRJ/api-cadg | a8998c4c234a65192f1dca8ea9a17a1d4a496556 | [
"MIT"
] | 120 | 2019-07-01T14:45:32.000Z | 2022-01-25T19:10:16.000Z | lupa/tests/test_logging.py | MinisterioPublicoRJ/apimpmapas | 196ad25a4922448b8ae7a66012a2843c7b7194ad | [
"MIT"
] | null | null | null | from unittest import TestCase, mock
from lupa.logging import Log
class Logging(TestCase):
@mock.patch('lupa.logging.stdout')
@mock.patch('lupa.logging.OutputWrapper')
def test_success_message(self, _output_wrapper, _stdout):
_wrapper_mock = mock.MagicMock()
_output_wrapper.return_value = ... | 31.9375 | 61 | 0.652968 | 171 | 1,533 | 5.450292 | 0.222222 | 0.125536 | 0.083691 | 0.128755 | 0.802575 | 0.802575 | 0.802575 | 0.802575 | 0.708155 | 0.708155 | 0 | 0.010239 | 0.235486 | 1,533 | 47 | 62 | 32.617021 | 0.784983 | 0 | 0 | 0.589744 | 0 | 0 | 0.139596 | 0.079583 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.076923 | false | 0 | 0.051282 | 0 | 0.153846 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7408cb61ebf56cf32a319374c11b4b175111b1fb | 901 | py | Python | medicamento.py | SaulMen/prueba2 | 068ded33d450affa1ae1df9682af175af8e381a3 | [
"Apache-2.0"
] | null | null | null | medicamento.py | SaulMen/prueba2 | 068ded33d450affa1ae1df9682af175af8e381a3 | [
"Apache-2.0"
] | null | null | null | medicamento.py | SaulMen/prueba2 | 068ded33d450affa1ae1df9682af175af8e381a3 | [
"Apache-2.0"
] | null | null | null | class medicamento:
def __init__(self, id, nombre, precio, descripcion, cantidad, rol):
self.id = id
self.nombre = nombre
self.precio = precio
self.descripcion = descripcion
self.cantidad = cantidad
self.rol = rol
def actualizar_datos(self, id, nombre, preci... | 30.033333 | 137 | 0.562708 | 97 | 901 | 5.134021 | 0.175258 | 0.072289 | 0.096386 | 0.072289 | 0.839357 | 0.839357 | 0.839357 | 0.839357 | 0.839357 | 0.839357 | 0 | 0 | 0.321865 | 901 | 29 | 138 | 31.068966 | 0.815057 | 0 | 0 | 0.48 | 0 | 0.04 | 0.159822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0 | 0 | 0.08 | 0.28 | 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 |
cd9edf48596c347b7d88399ea357b5b70fa005e9 | 19 | py | Python | models/__init__.py | Darshan-20310597/RumiGANs | a70d18b7f6f03570f9dae6d3b88f746eb71136d9 | [
"MIT"
] | 26 | 2020-10-31T06:00:22.000Z | 2022-02-13T19:30:49.000Z | models/__init__.py | Darshan-20310597/RumiGANs | a70d18b7f6f03570f9dae6d3b88f746eb71136d9 | [
"MIT"
] | 3 | 2021-03-01T05:43:03.000Z | 2021-07-10T13:08:18.000Z | models/__init__.py | DarthSid95/RumiGANs | 9f7876e89caa0d39bd563947ab9c41f4e3745021 | [
"MIT"
] | 5 | 2021-04-12T10:59:20.000Z | 2021-06-04T08:52:51.000Z | from .GANs import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cdec57e1601a05e400ffa7ea207683edc9b81164 | 697 | py | Python | generate_data.py | cititude/pipeline | a6689bdad32eff2eeab6894db4b6c627f809ec96 | [
"MIT"
] | 1 | 2020-10-07T05:46:14.000Z | 2020-10-07T05:46:14.000Z | generate_data.py | cititude/pipeline | a6689bdad32eff2eeab6894db4b6c627f809ec96 | [
"MIT"
] | null | null | null | generate_data.py | cititude/pipeline | a6689bdad32eff2eeab6894db4b6c627f809ec96 | [
"MIT"
] | null | null | null | import numpy as np
ub = 2 ** 31 - 1;
with open("data.txt","w") as f:
for i in range(128):
x = np.random.randint(0, ub)
x=hex(x)[2:].zfill(8)
print(x[0:2],x[2:4],x[4:6],x[6:8],file=f)
s= "00 00 00 3f\n" + \
"00 00 00 06\n" + \
"00 00 00 5b\n" + \
"00 00 ... | 29.041667 | 50 | 0.377331 | 132 | 697 | 1.992424 | 0.371212 | 0.486692 | 0.365019 | 0.39924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.342569 | 0.430416 | 697 | 24 | 51 | 29.041667 | 0.319899 | 0 | 0 | 0 | 0 | 0 | 0.321481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0.083333 | 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 |
cdf7cb2f7b9c090018e73ec8f19554c8702545d7 | 17,700 | py | Python | spark_fhir_schemas/stu3/complex_types/endpoint.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | 2 | 2020-10-31T23:25:01.000Z | 2021-06-09T14:12:42.000Z | spark_fhir_schemas/stu3/complex_types/endpoint.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/stu3/complex_types/endpoint.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import StructType, StructField, StringType, ArrayType, DataType
# This file is auto-generated by generate_schema so do not edit manually
# noinspection PyPep8Naming
class EndpointSchema:
"""
The technical details of an endpoint that can be used ... | 50.716332 | 102 | 0.569209 | 1,757 | 17,700 | 5.565168 | 0.171315 | 0.055226 | 0.035283 | 0.04909 | 0.78155 | 0.763653 | 0.763653 | 0.730517 | 0.730517 | 0.721927 | 0 | 0.002851 | 0.385593 | 17,700 | 348 | 103 | 50.862069 | 0.896276 | 0.357797 | 0 | 0.570776 | 1 | 0 | 0.032098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004566 | false | 0 | 0.054795 | 0 | 0.073059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a81ad111a1040f46cf8e77a3dcfba46fd2571290 | 23 | py | Python | hcareport/__init__.py | david4096/hca-report | ee1a0e9851d4b8d79f3276871bea77df140a5570 | [
"Apache-2.0"
] | null | null | null | hcareport/__init__.py | david4096/hca-report | ee1a0e9851d4b8d79f3276871bea77df140a5570 | [
"Apache-2.0"
] | null | null | null | hcareport/__init__.py | david4096/hca-report | ee1a0e9851d4b8d79f3276871bea77df140a5570 | [
"Apache-2.0"
] | null | null | null | from hcareport import * | 23 | 23 | 0.826087 | 3 | 23 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a8306bfb96879e56d632bb250d3bac064d8c4ef0 | 30 | py | Python | Print.py | sinansh10/Hacktoberfest | 23edfc388945614a0d262c2c5f36c8117ff5cf2a | [
"MIT"
] | 1 | 2020-10-03T03:17:03.000Z | 2020-10-03T03:17:03.000Z | Print.py | abhijith-das/Hacktoberfest | 4772b3c6d917f97d875dfef9fc06b9ac500381ec | [
"MIT"
] | 1 | 2020-10-13T06:01:45.000Z | 2020-10-13T06:01:45.000Z | Print.py | abhijith-das/Hacktoberfest | 4772b3c6d917f97d875dfef9fc06b9ac500381ec | [
"MIT"
] | 1 | 2020-10-13T10:41:27.000Z | 2020-10-13T10:41:27.000Z | print("Happy Hacktoberfest.")
| 15 | 29 | 0.766667 | 3 | 30 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 30 | 1 | 30 | 30 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a835e6b4e1f316fadef7861242b35516c61ac4e4 | 173 | py | Python | swappayoutubeexamplesite/swappashowcaseapp/models.py | DeviNoles/swappa | 50d2ef2bccca3030e2f39cd991a163919d8a4e23 | [
"MIT"
] | 1 | 2020-03-24T06:36:51.000Z | 2020-03-24T06:36:51.000Z | swappayoutubeexamplesite/swappashowcaseapp/models.py | DeviNoles/swappa | 50d2ef2bccca3030e2f39cd991a163919d8a4e23 | [
"MIT"
] | 5 | 2021-04-08T19:52:25.000Z | 2021-09-22T18:47:32.000Z | swappayoutubeexamplesite/swappashowcaseapp/models.py | DeviNoles/swappa | 50d2ef2bccca3030e2f39cd991a163919d8a4e23 | [
"MIT"
] | 1 | 2021-10-31T15:16:31.000Z | 2021-10-31T15:16:31.000Z | from django.db import models
# Create your models here.
class Phone(models.Model):
title = models.CharField(max_length=250)
city = models.CharField(max_length=500)
| 24.714286 | 44 | 0.751445 | 25 | 173 | 5.12 | 0.72 | 0.234375 | 0.28125 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.150289 | 173 | 6 | 45 | 28.833333 | 0.829932 | 0.138728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.