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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dafa64755c8e65ff991d372e0b97c1d6292b1a81 | 88 | py | Python | act_police_archiver/__main__.py | king-millez/act-police-archiver | dab3c731e3b1618103f62fcdc732e2384f2cd3fd | [
"MIT"
] | null | null | null | act_police_archiver/__main__.py | king-millez/act-police-archiver | dab3c731e3b1618103f62fcdc732e2384f2cd3fd | [
"MIT"
] | null | null | null | act_police_archiver/__main__.py | king-millez/act-police-archiver | dab3c731e3b1618103f62fcdc732e2384f2cd3fd | [
"MIT"
] | null | null | null | if __name__ == '__main__':
import act_police_archiver
act_police_archiver.main() | 29.333333 | 30 | 0.75 | 11 | 88 | 4.909091 | 0.636364 | 0.333333 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 3 | 31 | 29.333333 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
9723ada9ec77caedafb8a824f822d813cf3abecb | 154 | py | Python | mysite/scrapy/admin.py | prnake/search_engine_demo | 57122052f63bbd054e0ca84d3c6832e6ecb00ec8 | [
"MIT"
] | 3 | 2020-08-08T04:44:29.000Z | 2020-09-10T07:38:11.000Z | mysite/scrapy/admin.py | prnake/search_engine_demo | 57122052f63bbd054e0ca84d3c6832e6ecb00ec8 | [
"MIT"
] | null | null | null | mysite/scrapy/admin.py | prnake/search_engine_demo | 57122052f63bbd054e0ca84d3c6832e6ecb00ec8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
# Register your models here.
admin.site.register(models.Post)
admin.site.register(models.Teacher)
| 19.25 | 35 | 0.798701 | 22 | 154 | 5.590909 | 0.545455 | 0.146341 | 0.276423 | 0.373984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11039 | 154 | 7 | 36 | 22 | 0.89781 | 0.168831 | 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 |
97247ef41a77c8b7f49c4e0e8c07009b1b929f3c | 207 | py | Python | App/views/view_market.py | No1group/AXF-Flask | c58ee850a783e5d2271351e8ed8c28bbb367ee32 | [
"Apache-2.0"
] | null | null | null | App/views/view_market.py | No1group/AXF-Flask | c58ee850a783e5d2271351e8ed8c28bbb367ee32 | [
"Apache-2.0"
] | null | null | null | App/views/view_market.py | No1group/AXF-Flask | c58ee850a783e5d2271351e8ed8c28bbb367ee32 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
marketbp = Blueprint("marketbp", __name__)
def init_marketbp(app):
app.register_blueprint(blueprint=marketbp)
@marketbp.route('/market/')
def index():
return 'xuehui' | 17.25 | 46 | 0.73913 | 24 | 207 | 6.125 | 0.625 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135266 | 207 | 12 | 47 | 17.25 | 0.821229 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 0.428571 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 6 |
97368f4b775af18e9393cec2b3e3d60861b57bf7 | 3,259 | py | Python | twitter_api/views/correlation_analysis.py | VadymBezpalko/c.a.t.s. | 57f420047dddc9244097bbcbeb3b5786d61f7591 | [
"MIT"
] | null | null | null | twitter_api/views/correlation_analysis.py | VadymBezpalko/c.a.t.s. | 57f420047dddc9244097bbcbeb3b5786d61f7591 | [
"MIT"
] | null | null | null | twitter_api/views/correlation_analysis.py | VadymBezpalko/c.a.t.s. | 57f420047dddc9244097bbcbeb3b5786d61f7591 | [
"MIT"
] | null | null | null | from rest_framework.decorators import api_view
from stock_data.models import StockData
from twitter_api.models import TwitterData
from django.http import JsonResponse
import numpy
import common.util as util
@api_view(['POST'])
def get_pearson_correlation(request):
twitter_query = TwitterData.objects(
sear... | 37.45977 | 108 | 0.705738 | 405 | 3,259 | 5.4 | 0.214815 | 0.070416 | 0.060357 | 0.032922 | 0.791952 | 0.791952 | 0.791952 | 0.722451 | 0.722451 | 0.722451 | 0 | 0.001897 | 0.191163 | 3,259 | 86 | 109 | 37.895349 | 0.827769 | 0.10985 | 0 | 0.730159 | 0 | 0 | 0.066021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031746 | false | 0 | 0.095238 | 0 | 0.15873 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9738b92092c248c3a3d7e0ed5be06d1aa7b2379d | 151 | py | Python | tests/scope/call02.py | ktok07b6/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 83 | 2015-11-30T09:59:13.000Z | 2021-08-03T09:12:28.000Z | tests/scope/call02.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 4 | 2017-02-10T01:43:11.000Z | 2020-07-14T03:52:25.000Z | tests/scope/call02.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 11 | 2016-11-18T14:39:15.000Z | 2021-02-23T10:05:20.000Z | from polyphony import testbench
def f():
return 0
def call02():
return f()
@testbench
def test():
assert 0 == call02()
test()
| 10.066667 | 31 | 0.582781 | 19 | 151 | 4.631579 | 0.578947 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.298013 | 151 | 14 | 32 | 10.785714 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.333333 | true | 0 | 0.111111 | 0.222222 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
974f31082fbbbb64658dfce666975044ed3fb09f | 18 | py | Python | src/example/crud/__init__.py | timhughes/example-fastapi-sqlachemy-pytest | 0e95544c2fa8418bf17653089a7667d61a8b8b5b | [
"MIT"
] | 29 | 2020-04-14T14:00:02.000Z | 2022-03-11T11:04:44.000Z | src/example/crud/__init__.py | sourabhsinha396/example-fastapi-sqlachemy-pytest | 27c109ddb1dcea077cd960d35de50647765f0a62 | [
"MIT"
] | 1 | 2020-08-12T16:56:03.000Z | 2020-08-12T16:56:03.000Z | src/example/crud/__init__.py | timhughes/example-fastapi-sqlachemy-pytest | 0e95544c2fa8418bf17653089a7667d61a8b8b5b | [
"MIT"
] | 10 | 2020-04-25T20:40:47.000Z | 2022-01-26T02:55:20.000Z | from . import item | 18 | 18 | 0.777778 | 3 | 18 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97508afb9d9dbe03f2b35b0885e8c26a89dbe636 | 180 | py | Python | data_wizard/sources/rest.py | ahoazure/khro-data_wizard | 4925113ffeea54057a062fc8a0cdab7c23a8e18a | [
"MIT"
] | 2 | 2020-12-24T09:54:25.000Z | 2020-12-24T09:54:28.000Z | data_wizard/sources/rest.py | ahoazure/khro-data_wizard | 4925113ffeea54057a062fc8a0cdab7c23a8e18a | [
"MIT"
] | null | null | null | data_wizard/sources/rest.py | ahoazure/khro-data_wizard | 4925113ffeea54057a062fc8a0cdab7c23a8e18a | [
"MIT"
] | null | null | null | from wq.db import rest
from .models import FileSource, URLSource
rest.router.register_model(FileSource, fields="__all__")
rest.router.register_model(URLSource, fields="__all__")
| 25.714286 | 56 | 0.811111 | 24 | 180 | 5.666667 | 0.541667 | 0.147059 | 0.264706 | 0.338235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 180 | 6 | 57 | 30 | 0.824242 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 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 |
97546180b6d6f67533a4fa23ffc4338a3e4fa3d3 | 203 | py | Python | av_bakery/av_bakery/doctype/avb_customer/avb_customer.py | yuvabedev/AV-Bakery-APP | 2a58a6283f9e3c11fa91706b82594a6f4d9cef94 | [
"MIT"
] | null | null | null | av_bakery/av_bakery/doctype/avb_customer/avb_customer.py | yuvabedev/AV-Bakery-APP | 2a58a6283f9e3c11fa91706b82594a6f4d9cef94 | [
"MIT"
] | null | null | null | av_bakery/av_bakery/doctype/avb_customer/avb_customer.py | yuvabedev/AV-Bakery-APP | 2a58a6283f9e3c11fa91706b82594a6f4d9cef94 | [
"MIT"
] | null | null | null | # Copyright (c) 2022, mariya@yuvabe.com and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class AVBCustomer(Document):
pass
| 22.555556 | 56 | 0.793103 | 27 | 203 | 5.962963 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.133005 | 203 | 8 | 57 | 25.375 | 0.892045 | 0.571429 | 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 |
977775dc490df204de00ed40717b17cdc9e9f970 | 7,843 | py | Python | mtc/run_approaches.py | MIC-DKFZ/n2c2-challenge-2019 | 3f6303eceb54f660ed83a2df78e6787177f392a3 | [
"Apache-2.0"
] | 1 | 2020-07-23T14:19:21.000Z | 2020-07-23T14:19:21.000Z | mtc/run_approaches.py | MIC-DKFZ/n2c2-challenge-2019 | 3f6303eceb54f660ed83a2df78e6787177f392a3 | [
"Apache-2.0"
] | null | null | null | mtc/run_approaches.py | MIC-DKFZ/n2c2-challenge-2019 | 3f6303eceb54f660ed83a2df78e6787177f392a3 | [
"Apache-2.0"
] | 1 | 2021-09-30T17:32:56.000Z | 2021-09-30T17:32:56.000Z | import os
import shutil
import subprocess
from pathlib import Path
from mtc.challenge_pipelines.example_run_step1 import example_run_step1
from mtc.challenge_pipelines.preprocess_data import generate_preprocessed_data
from mtc.copied_from_bert.evaluate_bert_test import evaluate_bert_test
from mtc.copied_from_bert.run ... | 39.611111 | 239 | 0.691062 | 960 | 7,843 | 5.320833 | 0.135417 | 0.129209 | 0.059514 | 0.055991 | 0.812255 | 0.737275 | 0.727486 | 0.704385 | 0.680893 | 0.680893 | 0 | 0.010009 | 0.1465 | 7,843 | 197 | 240 | 39.812183 | 0.753062 | 0.132347 | 0 | 0.557692 | 1 | 0 | 0.247009 | 0.084384 | 0 | 0 | 0 | 0 | 0.038462 | 1 | 0.028846 | false | 0 | 0.115385 | 0 | 0.144231 | 0.009615 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
8ae29a994a5f4bf77b0a9d11924044e5d50401f5 | 32 | py | Python | lagury/client/algorithms/test_algorithm/__init__.py | K-Mike/lagury | 3237790dc48624a5202a17ef6dc8dbd05e82c149 | [
"MIT"
] | null | null | null | lagury/client/algorithms/test_algorithm/__init__.py | K-Mike/lagury | 3237790dc48624a5202a17ef6dc8dbd05e82c149 | [
"MIT"
] | null | null | null | lagury/client/algorithms/test_algorithm/__init__.py | K-Mike/lagury | 3237790dc48624a5202a17ef6dc8dbd05e82c149 | [
"MIT"
] | null | null | null | from .main import SomeAlgorithm
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c11da4215a19cb13ca08b93a9ac58534791dacea | 131 | py | Python | yatube/new_design/views.py | MigAru/Yatube_ | 2b9c082693d7da1841394a54d8b0eb4258d29410 | [
"BSD-3-Clause"
] | 1 | 2021-02-28T14:22:01.000Z | 2021-02-28T14:22:01.000Z | yatube/new_design/views.py | MigAru/Yatube_ | 2b9c082693d7da1841394a54d8b0eb4258d29410 | [
"BSD-3-Clause"
] | null | null | null | yatube/new_design/views.py | MigAru/Yatube_ | 2b9c082693d7da1841394a54d8b0eb4258d29410 | [
"BSD-3-Clause"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index_new(request):
return render(request,'index_new.html') | 21.833333 | 43 | 0.770992 | 19 | 131 | 5.210526 | 0.789474 | 0.161616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137405 | 131 | 6 | 43 | 21.833333 | 0.876106 | 0.175573 | 0 | 0 | 0 | 0 | 0.130841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c156dc95a192c1b7d7b56b9a06be8fafbca19d48 | 154 | py | Python | test/example/test_strings.py | igordcard/devops | f40f0c89b2e01e65303b4ffa48c48ae7bd97cbab | [
"Apache-2.0"
] | null | null | null | test/example/test_strings.py | igordcard/devops | f40f0c89b2e01e65303b4ffa48c48ae7bd97cbab | [
"Apache-2.0"
] | null | null | null | test/example/test_strings.py | igordcard/devops | f40f0c89b2e01e65303b4ffa48c48ae7bd97cbab | [
"Apache-2.0"
] | null | null | null |
def test_host(so_host):
assert so_host == '127.0.0.1'
def test_port(so_host, so_port):
assert so_host == '127.0.0.1'
assert so_port == 80
| 15.4 | 33 | 0.636364 | 30 | 154 | 3 | 0.333333 | 0.266667 | 0.266667 | 0.333333 | 0.4 | 0.4 | 0.4 | 0 | 0 | 0 | 0 | 0.115702 | 0.214286 | 154 | 9 | 34 | 17.111111 | 0.628099 | 0 | 0 | 0.4 | 0 | 0 | 0.118421 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.4 | false | 0 | 0 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c1df67ab200f39a59075161926a140860f8da009 | 136 | py | Python | lib/__init__.py | BUAA-WJR/SO-ET | c9357b99f07f7f52dfb4a5bae7e4694fba845198 | [
"MIT"
] | 3 | 2021-09-07T12:11:04.000Z | 2021-12-02T12:42:03.000Z | lib/__init__.py | BUAA-WJR/SO-ET | c9357b99f07f7f52dfb4a5bae7e4694fba845198 | [
"MIT"
] | null | null | null | lib/__init__.py | BUAA-WJR/SO-ET | c9357b99f07f7f52dfb4a5bae7e4694fba845198 | [
"MIT"
] | 3 | 2021-11-02T07:22:17.000Z | 2021-12-28T07:28:55.000Z | #!/usr/bin/env python
# encoding: utf-8
# author: ryan_wu
# email: imitator_wu@outlook.com
# date: 2021-08-17 10:13:03
import os
| 17 | 34 | 0.676471 | 24 | 136 | 3.75 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 0.176471 | 136 | 7 | 35 | 19.428571 | 0.669643 | 0.845588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c1effb0a8f318d718e3215ede559a1a532323dd0 | 5,776 | py | Python | tests/actor/test_command_expose.py | sdss/archon | c28080d145072dc80dedff111d6d589a7fd195ff | [
"BSD-3-Clause"
] | null | null | null | tests/actor/test_command_expose.py | sdss/archon | c28080d145072dc80dedff111d6d589a7fd195ff | [
"BSD-3-Clause"
] | 34 | 2021-01-27T04:10:49.000Z | 2022-03-10T17:35:55.000Z | tests/actor/test_command_expose.py | sdss/archon | c28080d145072dc80dedff111d6d589a7fd195ff | [
"BSD-3-Clause"
] | 2 | 2021-03-26T08:58:20.000Z | 2021-05-12T05:34:09.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# @Author: José Sánchez-Gallego (gallegoj@uw.edu)
# @Date: 2021-09-06
# @Filename: test_command_expose.py
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)
import os
from typing import Any
import pytest
from astropy.io import fits
from archon.... | 25.785714 | 83 | 0.736323 | 778 | 5,776 | 5.269923 | 0.140103 | 0.08878 | 0.105366 | 0.131707 | 0.833415 | 0.809756 | 0.807317 | 0.784146 | 0.777561 | 0.777561 | 0 | 0.019375 | 0.168975 | 5,776 | 223 | 84 | 25.901345 | 0.834792 | 0.041724 | 0 | 0.625 | 0 | 0 | 0.108216 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 1 | 0 | false | 0 | 0.05 | 0 | 0.066667 | 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 |
c1fac9cff5d573e8137a6291ca0a6416816bbcef | 280 | py | Python | libica/openapi/libtes/api/__init__.py | umccr-illumina/libica | 916d27eea499f29bee590268b84208effb0cc576 | [
"MIT"
] | null | null | null | libica/openapi/libtes/api/__init__.py | umccr-illumina/libica | 916d27eea499f29bee590268b84208effb0cc576 | [
"MIT"
] | 4 | 2021-11-15T10:47:51.000Z | 2022-02-22T04:43:20.000Z | libica/openapi/libtes/api/__init__.py | umccr-illumina/libica | 916d27eea499f29bee590268b84208effb0cc576 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from libica.openapi.libtes.api.task_runs_api import TaskRunsApi
from libica.openapi.libtes.api.task_versions_api import TaskVersionsApi
from libica.openapi.libtes.api.tasks_api import TasksApi
| 31.111111 | 71 | 0.85 | 41 | 280 | 5.560976 | 0.487805 | 0.131579 | 0.223684 | 0.302632 | 0.377193 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0.003953 | 0.096429 | 280 | 8 | 72 | 35 | 0.897233 | 0.146429 | 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 |
de0555b64b60694f421b1f5dafa38bca43365d69 | 147 | py | Python | bd/admin.py | bwackwat/bookish-dollop | ef22c0d59baf4267d1d6f812e0057a957b45cc67 | [
"MIT"
] | null | null | null | bd/admin.py | bwackwat/bookish-dollop | ef22c0d59baf4267d1d6f812e0057a957b45cc67 | [
"MIT"
] | null | null | null | bd/admin.py | bwackwat/bookish-dollop | ef22c0d59baf4267d1d6f812e0057a957b45cc67 | [
"MIT"
] | null | null | null | from django.contrib import admin
from bd.models import *
admin.site.register(Blog)
admin.site.register(Post)
admin.site.register(Comment)
| 18.375 | 33 | 0.761905 | 21 | 147 | 5.333333 | 0.571429 | 0.241071 | 0.455357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136054 | 147 | 7 | 34 | 21 | 0.88189 | 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 |
de06a7884f66425562ba7bf418bbe52596f3a2c1 | 24 | py | Python | venv/Lib/site-packages/thumbnail/__init__.py | Vishwas-bit/Ecommerce-Recommender-System | edf1ab1a6116720b7fb2038de18b494cdc7f08fb | [
"BSD-3-Clause"
] | 5 | 2021-06-30T13:15:33.000Z | 2022-03-01T22:00:02.000Z | venv/Lib/site-packages/thumbnail/__init__.py | Vishwas-bit/Ecommerce-Recommender-System | edf1ab1a6116720b7fb2038de18b494cdc7f08fb | [
"BSD-3-Clause"
] | 1 | 2021-04-21T15:38:55.000Z | 2021-04-21T15:38:55.000Z | venv/Lib/site-packages/thumbnail/__init__.py | Vishwas-bit/Ecommerce-Recommender-System | edf1ab1a6116720b7fb2038de18b494cdc7f08fb | [
"BSD-3-Clause"
] | 4 | 2021-09-06T04:43:49.000Z | 2022-03-11T21:18:14.000Z | from .thumbnail import * | 24 | 24 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a9e47211e4dd74786b7f5cdb7bdee7cfc17de639 | 14,623 | py | Python | deep500/frameworks/reference/custom_operators/python/conv_op_common.py | khoaideptrai/deep500 | 0953038f64bc73c8d41d01796e07d3a23ca97822 | [
"BSD-3-Clause"
] | 90 | 2019-01-02T22:49:08.000Z | 2022-02-17T21:11:38.000Z | deep500/frameworks/reference/custom_operators/python/conv_op_common.py | khoaideptrai/deep500 | 0953038f64bc73c8d41d01796e07d3a23ca97822 | [
"BSD-3-Clause"
] | 4 | 2019-02-14T16:19:06.000Z | 2022-01-11T17:54:42.000Z | deep500/frameworks/reference/custom_operators/python/conv_op_common.py | khoaideptrai/deep500 | 0953038f64bc73c8d41d01796e07d3a23ca97822 | [
"BSD-3-Clause"
] | 24 | 2019-01-09T18:09:44.000Z | 2022-01-10T13:04:42.000Z | import numpy as np
def get_pad_shape(auto_pad, # type: Text
input_spatial_shape, # type: Sequence[int]
kernel_spatial_shape, # type: Sequence[int]
dilations_spatial,
strides_spatial, # type: Sequence[int]
output_spatial_shape... | 50.598616 | 131 | 0.480818 | 1,671 | 14,623 | 3.874925 | 0.060443 | 0.065328 | 0.069498 | 0.036757 | 0.873514 | 0.851892 | 0.81807 | 0.777452 | 0.754749 | 0.73807 | 0 | 0.018386 | 0.434658 | 14,623 | 288 | 132 | 50.774306 | 0.764848 | 0.043425 | 0 | 0.643725 | 0 | 0 | 0.003582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024292 | false | 0.004049 | 0.004049 | 0 | 0.052632 | 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 |
e7485f557848fdd272e0e3806baf069c478252db | 21 | py | Python | flask_boilerplate/admin/views/__init__.py | wellls/flask_boilerplate | eb6dd62f330ccea7931f147d64bf6b5909a7536c | [
"MIT"
] | null | null | null | flask_boilerplate/admin/views/__init__.py | wellls/flask_boilerplate | eb6dd62f330ccea7931f147d64bf6b5909a7536c | [
"MIT"
] | null | null | null | flask_boilerplate/admin/views/__init__.py | wellls/flask_boilerplate | eb6dd62f330ccea7931f147d64bf6b5909a7536c | [
"MIT"
] | null | null | null | from . import index
| 7 | 19 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 2 | 20 | 10.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e78249db4aa3bd855b92b8a967376bb39e613b42 | 101 | py | Python | digsby/src/tests/mock/mock.py | ifwe/digsby | f5fe00244744aa131e07f09348d10563f3d8fa99 | [
"Python-2.0"
] | 35 | 2015-08-15T14:32:38.000Z | 2021-12-09T16:21:26.000Z | digsby/src/tests/mock/mock.py | niterain/digsby | 16a62c7df1018a49eaa8151c0f8b881c7e252949 | [
"Python-2.0"
] | 4 | 2015-09-12T10:42:57.000Z | 2017-02-27T04:05:51.000Z | digsby/src/tests/mock/mock.py | niterain/digsby | 16a62c7df1018a49eaa8151c0f8b881c7e252949 | [
"Python-2.0"
] | 15 | 2015-07-10T23:58:07.000Z | 2022-01-23T22:16:33.000Z | from util import Storage
class MockProtocol(Storage):
pass
class MockContact(Storage):
pass | 14.428571 | 28 | 0.752475 | 12 | 101 | 6.333333 | 0.666667 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188119 | 101 | 7 | 29 | 14.428571 | 0.926829 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
e78649c0825d2ec683066c3f6615090230616e20 | 13,493 | py | Python | test/test_synonym_extractor.py | praekelt/feersum-nlu-api-wrappers | 6580e2bab2c8a764fe868a505330b3fee6029074 | [
"BSD-3-Clause"
] | 9 | 2017-10-10T12:24:23.000Z | 2021-08-18T14:07:51.000Z | test/test_synonym_extractor.py | praekelt/feersum-nlu-api-wrappers | 6580e2bab2c8a764fe868a505330b3fee6029074 | [
"BSD-3-Clause"
] | 1 | 2020-12-06T11:03:25.000Z | 2021-04-14T05:21:23.000Z | test/test_synonym_extractor.py | praekelt/feersum-nlu-api-wrappers | 6580e2bab2c8a764fe868a505330b3fee6029074 | [
"BSD-3-Clause"
] | 2 | 2019-02-12T08:26:06.000Z | 2022-02-01T09:39:47.000Z | """ Example: Shows how to create, train and use a synonym entity extractor. """
import urllib3
import unittest
import feersum_nlu
from feersum_nlu.rest import ApiException
from test import feersumnlu_host, feersum_nlu_auth_token
import uuid
class TestSynonymExtractor(unittest.TestCase):
def setU... | 51.304183 | 126 | 0.56948 | 1,322 | 13,493 | 5.515885 | 0.130862 | 0.171969 | 0.138782 | 0.082282 | 0.764811 | 0.75672 | 0.734366 | 0.734366 | 0.706253 | 0.706253 | 0 | 0.004816 | 0.353665 | 13,493 | 262 | 127 | 51.5 | 0.831327 | 0.030979 | 0 | 0.635468 | 0 | 0 | 0.188233 | 0 | 0 | 0 | 0 | 0 | 0.029557 | 1 | 0.014778 | false | 0.009852 | 0.029557 | 0 | 0.049261 | 0.472906 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e79a4cad1f0b06092f2a18ca8a89c732617810a8 | 74,617 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_tty_server_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_tty_server_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_tty_server_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... | 52.17972 | 250 | 0.546631 | 6,646 | 74,617 | 5.888203 | 0.035059 | 0.092403 | 0.115504 | 0.114277 | 0.941814 | 0.935911 | 0.925459 | 0.902256 | 0.846421 | 0.808346 | 0 | 0.012748 | 0.317729 | 74,617 | 1,429 | 251 | 52.216235 | 0.755937 | 0 | 0 | 0.620581 | 0 | 0.003142 | 0.475587 | 0.377966 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006284 | 0 | 0.006284 | 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 |
e7a39a0da06b49910c850cf1da5496a44063420e | 42,081 | py | Python | entmoot/learning/distance_based_std.py | cornelius-braun/entmoot | 47a3c2ffd799dd05a0f5d896e665f17d77688e39 | [
"BSD-3-Clause"
] | null | null | null | entmoot/learning/distance_based_std.py | cornelius-braun/entmoot | 47a3c2ffd799dd05a0f5d896e665f17d77688e39 | [
"BSD-3-Clause"
] | null | null | null | entmoot/learning/distance_based_std.py | cornelius-braun/entmoot | 47a3c2ffd799dd05a0f5d896e665f17d77688e39 | [
"BSD-3-Clause"
] | null | null | null | from sklearn.preprocessing import StandardScaler
from abc import ABC, abstractmethod
from entmoot.space import Space
from typing import Optional
import numpy as np
class DistanceMetric(ABC):
"""Computes distances and defines the optimization model for both
exploration and penalty.
Parameters
------... | 33.477327 | 102 | 0.571422 | 5,259 | 42,081 | 4.331812 | 0.071496 | 0.022914 | 0.007023 | 0.011984 | 0.823932 | 0.796936 | 0.781616 | 0.757078 | 0.741232 | 0.734603 | 0 | 0.002869 | 0.345738 | 42,081 | 1,257 | 103 | 33.477327 | 0.824568 | 0.37164 | 0 | 0.575592 | 0 | 0 | 0.019338 | 0.002364 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092896 | false | 0.018215 | 0.027322 | 0.007286 | 0.1949 | 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 |
e7a85925a34372cdd171cf6e8431c91111a67057 | 24 | py | Python | python/testData/inspections/unusedImport/multipleSubmodules/pkg1/pkg2/pkg3/m6.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/unusedImport/multipleSubmodules/pkg1/pkg2/pkg3/m6.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/unusedImport/multipleSubmodules/pkg1/pkg2/pkg3/m6.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def get_foo():
pass
| 8 | 14 | 0.583333 | 4 | 24 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 24 | 2 | 15 | 12 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
99c9dfd9e7d1c96147f0ab285178bb62a5feea7c | 59 | py | Python | gym_air_hockey/envs/__init__.py | mdecourse/gym-air-hockey | 6a352e0d689dc9d0703cc3f4111c0fd4999ecd7f | [
"MIT"
] | 3 | 2018-03-28T10:38:04.000Z | 2019-09-02T12:10:40.000Z | gym_air_hockey/envs/__init__.py | mdecourse/gym-air-hockey | 6a352e0d689dc9d0703cc3f4111c0fd4999ecd7f | [
"MIT"
] | null | null | null | gym_air_hockey/envs/__init__.py | mdecourse/gym-air-hockey | 6a352e0d689dc9d0703cc3f4111c0fd4999ecd7f | [
"MIT"
] | 2 | 2020-02-25T03:55:33.000Z | 2020-03-15T11:28:21.000Z | from gym_air_hockey.envs.air_hockey_env import AirHockeyEnv | 59 | 59 | 0.915254 | 10 | 59 | 5 | 0.8 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 59 | 1 | 59 | 59 | 0.892857 | 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 |
99feacfb908d390c1c33f534f7a93b8c7031fe11 | 149 | py | Python | gammapy/background/on_off.py | joleroi/gammapy | c4e0c4bd74c79d30e0837559d18b7a1a269f70d9 | [
"BSD-3-Clause"
] | null | null | null | gammapy/background/on_off.py | joleroi/gammapy | c4e0c4bd74c79d30e0837559d18b7a1a269f70d9 | [
"BSD-3-Clause"
] | null | null | null | gammapy/background/on_off.py | joleroi/gammapy | c4e0c4bd74c79d30e0837559d18b7a1a269f70d9 | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""On-off background estimation.
"""
from __future__ import print_function, division
| 29.8 | 63 | 0.778523 | 21 | 149 | 5.285714 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.134228 | 149 | 4 | 64 | 37.25 | 0.852713 | 0.61745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
417c3eeee0ad32cae431ed43b40275810f9a262b | 21,829 | py | Python | tests/evolver_test.py | NDHall/pyvovlExtension | 521c7cbd340c6f90e4b6d9d1a1da1282020c9225 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2017-01-10T20:33:55.000Z | 2021-04-09T20:38:40.000Z | tests/evolver_test.py | NDHall/pyvovlExtension | 521c7cbd340c6f90e4b6d9d1a1da1282020c9225 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tests/evolver_test.py | NDHall/pyvovlExtension | 521c7cbd340c6f90e4b6d9d1a1da1282020c9225 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2019-01-22T08:09:47.000Z | 2019-01-22T08:09:47.000Z | #! /usr/bin/env python
##############################################################################
## pyvolve: Python platform for simulating evolutionary sequences.
##
## Written by Stephanie J. Spielman (stephanie.spielman@gmail.com)
#############################################################################... | 39.402527 | 382 | 0.597004 | 2,717 | 21,829 | 4.711446 | 0.102319 | 0.036091 | 0.027342 | 0.026717 | 0.841106 | 0.805953 | 0.78033 | 0.760644 | 0.731427 | 0.723225 | 0 | 0.035279 | 0.270237 | 21,829 | 554 | 383 | 39.402527 | 0.768299 | 0.181318 | 0 | 0.567901 | 0 | 0.053498 | 0.252716 | 0.050761 | 0 | 0 | 0 | 0 | 0.160494 | 1 | 0.127572 | false | 0 | 0.012346 | 0 | 0.164609 | 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 |
41b323cf691eff3f8e3c779141a92e3a779cc0e6 | 84 | py | Python | negative.py | pkpatricia/python34 | 5ee4f864444b8835f8ee6cf416bc9fd1d969595b | [
"bzip2-1.0.6"
] | null | null | null | negative.py | pkpatricia/python34 | 5ee4f864444b8835f8ee6cf416bc9fd1d969595b | [
"bzip2-1.0.6"
] | null | null | null | negative.py | pkpatricia/python34 | 5ee4f864444b8835f8ee6cf416bc9fd1d969595b | [
"bzip2-1.0.6"
] | null | null | null | if a < 0:
print('a has to be positive')
else:
print('b has to be positive')
| 16.8 | 33 | 0.595238 | 16 | 84 | 3.125 | 0.625 | 0.2 | 0.28 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.27381 | 84 | 4 | 34 | 21 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
41cebd207641e9fd99ed4acf590d5287d6431d54 | 35 | py | Python | test/test_health.py | basvandriel/strawberry-apollo-apq | 15fabd726b64c372010dfc55d725a4879bf2e7d9 | [
"MIT"
] | 3 | 2022-03-03T21:25:16.000Z | 2022-03-19T12:36:22.000Z | test/test_health.py | basvandriel/strawberry-apollo-apq | 15fabd726b64c372010dfc55d725a4879bf2e7d9 | [
"MIT"
] | null | null | null | test/test_health.py | basvandriel/strawberry-apollo-apq | 15fabd726b64c372010dfc55d725a4879bf2e7d9 | [
"MIT"
] | null | null | null | def test_health():
assert True
| 11.666667 | 18 | 0.685714 | 5 | 35 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 35 | 2 | 19 | 17.5 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68e70d4bd083ecf49fafb244b68f6242a30af180 | 101 | py | Python | manifests/unix.py | hodlwave/f469-disco | f83f3fe096d02f76452eb48ba8a955d098591531 | [
"MIT"
] | 24 | 2019-10-22T14:31:10.000Z | 2021-11-26T10:22:21.000Z | manifests/unix.py | stepansnigirev/f469-disco | 38f3451d385d210c840867d65a4d561d5c6dcd40 | [
"MIT"
] | 12 | 2020-01-10T20:39:42.000Z | 2021-01-14T04:55:38.000Z | manifests/unix.py | stepansnigirev/f469-disco | 38f3451d385d210c840867d65a4d561d5c6dcd40 | [
"MIT"
] | 17 | 2019-11-03T14:34:41.000Z | 2022-03-07T07:10:38.000Z | freeze('../usermods/udisplay_f469/display_unixport')
freeze('../libs/common')
freeze('../libs/unix')
| 25.25 | 52 | 0.722772 | 12 | 101 | 5.916667 | 0.75 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030612 | 0.029703 | 101 | 3 | 53 | 33.666667 | 0.693878 | 0 | 0 | 0 | 0 | 0 | 0.673267 | 0.415842 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ec4ab610617a6593e4bd32fb8f401d5db7e7de30 | 30 | py | Python | referee/specs/__init__.py | hawkrives/cuddly-doodle | 7680991070a2266c9efc60b7fef85770d50c283e | [
"MIT"
] | null | null | null | referee/specs/__init__.py | hawkrives/cuddly-doodle | 7680991070a2266c9efc60b7fef85770d50c283e | [
"MIT"
] | null | null | null | referee/specs/__init__.py | hawkrives/cuddly-doodle | 7680991070a2266c9efc60b7fef85770d50c283e | [
"MIT"
] | null | null | null | from .check import check_spec
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 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 |
6b778d72be2efb55f0e2b46e69dac77c5d9ef1b8 | 23,547 | py | Python | Autoencoder_net_3D.py | RawthiL/Segm_Net_3D | 178cbabd1d05441118b618db6681e66891f33a75 | [
"MIT"
] | 2 | 2018-03-16T13:55:17.000Z | 2020-05-18T07:40:47.000Z | Autoencoder_net_3D.py | RawthiL/Segm_Net_3D | 178cbabd1d05441118b618db6681e66891f33a75 | [
"MIT"
] | null | null | null | Autoencoder_net_3D.py | RawthiL/Segm_Net_3D | 178cbabd1d05441118b618db6681e66891f33a75 | [
"MIT"
] | 4 | 2018-03-30T12:23:15.000Z | 2020-05-15T02:56:24.000Z | #!/usr/bin/python
# -*- coding: iso-8859-15 -*-
# External
import tensorflow as tf
import numpy as np
from collections import OrderedDict
# Internal
import Segm_net_3D as segm3D
#-----------------------------------------------------------------------------#
#--------------- 3D Autoencoder Network Levels ----------... | 51.18913 | 149 | 0.405444 | 1,957 | 23,547 | 4.562085 | 0.095554 | 0.02957 | 0.034946 | 0.069892 | 0.801635 | 0.763665 | 0.731967 | 0.699261 | 0.664091 | 0.626904 | 0 | 0.012818 | 0.519599 | 23,547 | 460 | 150 | 51.18913 | 0.776432 | 0.127532 | 0 | 0.765244 | 0 | 0 | 0.009334 | 0.001173 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015244 | false | 0 | 0.012195 | 0 | 0.051829 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6bc23dd93596565f2d03b6234501bb2c9d80cf79 | 50 | py | Python | wehoop/__init__.py | saiemgilani/wehoop-py | 57960b832307fc6dbdf8201c90bbf9fe5805c530 | [
"MIT"
] | 1 | 2021-06-27T00:47:50.000Z | 2021-06-27T00:47:50.000Z | wehoop/__init__.py | saiemgilani/wehoop-py | 57960b832307fc6dbdf8201c90bbf9fe5805c530 | [
"MIT"
] | null | null | null | wehoop/__init__.py | saiemgilani/wehoop-py | 57960b832307fc6dbdf8201c90bbf9fe5805c530 | [
"MIT"
] | null | null | null | from wehoop.wbb import *
from wehoop.wnba import * | 25 | 25 | 0.78 | 8 | 50 | 4.875 | 0.625 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 25 | 25 | 0.906977 | 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 |
6bc66e1561599f2cb40b35f7678833777537bfef | 132 | py | Python | __init__.py | Robinson04/mdscript | 7a89a4453f0266a5ed318eceebc12b401e419ff4 | [
"MIT"
] | null | null | null | __init__.py | Robinson04/mdscript | 7a89a4453f0266a5ed318eceebc12b401e419ff4 | [
"MIT"
] | 1 | 2021-07-27T21:03:40.000Z | 2021-07-27T21:03:40.000Z | __init__.py | Robinson04/mdscript | 7a89a4453f0266a5ed318eceebc12b401e419ff4 | [
"MIT"
] | null | null | null | from mdscript.runner import Runner
from mdscript.config import MDScriptConfig
from mdscript.base_transformer import BaseTransformer
| 33 | 53 | 0.886364 | 16 | 132 | 7.25 | 0.5625 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 132 | 3 | 54 | 44 | 0.966667 | 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 |
6bc9584418fad424e19f5bea7cc746141561a163 | 22,863 | py | Python | openapi_client/api/sources_api.py | chargio/using-koku-api-test | 2f41fd83ab730705352b116b7a6e05ae3d9a8ebd | [
"MIT"
] | 1 | 2020-03-18T11:32:09.000Z | 2020-03-18T11:32:09.000Z | openapi_client/api/sources_api.py | chargio/using-koku-api-test | 2f41fd83ab730705352b116b7a6e05ae3d9a8ebd | [
"MIT"
] | null | null | null | openapi_client/api/sources_api.py | chargio/using-koku-api-test | 2f41fd83ab730705352b116b7a6e05ae3d9a8ebd | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Cost Management
The API for Project Koku and OpenShift cost management. You can find out more about Project Koku at [https://github.com/project-koku/](https://github.com/project-koku/). # noqa: E501
The version of the OpenAPI document: 1.0.2
Generated by: https://openapi-generato... | 44.30814 | 187 | 0.592529 | 2,617 | 22,863 | 4.929308 | 0.07757 | 0.045891 | 0.071628 | 0.027907 | 0.916434 | 0.901008 | 0.895039 | 0.892558 | 0.86969 | 0.865659 | 0 | 0.015466 | 0.33259 | 22,863 | 515 | 188 | 44.394175 | 0.829936 | 0.43297 | 0 | 0.662651 | 0 | 0.012048 | 0.183459 | 0.028749 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036145 | false | 0 | 0.02008 | 0 | 0.092369 | 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 |
6be097c5e734083ecd4bcd6ced132656051c27eb | 1,035 | py | Python | undine/client/core.py | Sungup/Undine | 8b130b86bab8ae2a1662191d3352ea11987429da | [
"MIT"
] | 1 | 2018-01-01T07:50:04.000Z | 2018-01-01T07:50:04.000Z | undine/client/core.py | Sungup/Undine | 8b130b86bab8ae2a1662191d3352ea11987429da | [
"MIT"
] | null | null | null | undine/client/core.py | Sungup/Undine | 8b130b86bab8ae2a1662191d3352ea11987429da | [
"MIT"
] | null | null | null | import abc
class Connector(abc.ABC):
@abc.abstractmethod
def rpc_call(self, ip, command, *args, **kwargs): pass
@abc.abstractmethod
def mission_list(self, list_all=False): pass
@abc.abstractmethod
def mission_info(self, **kwargs): pass
@abc.abstractmethod
def task_list(self, **kwarg... | 21.122449 | 58 | 0.677295 | 131 | 1,035 | 5.229008 | 0.244275 | 0.372263 | 0.437956 | 0.490511 | 0.712409 | 0.440876 | 0.251095 | 0.140146 | 0.140146 | 0 | 0 | 0 | 0.210628 | 1,035 | 48 | 59 | 21.5625 | 0.838433 | 0 | 0 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.46875 | false | 0.46875 | 0.03125 | 0 | 0.53125 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
6be5d80236bf2198fcb10e612578b6d4186f3545 | 349 | py | Python | deepsplines/ds_modules/__init__.py | joaquimcampos/deepsplines | d9a11e9a8e66bb65e8099de68ba3739d3c81de67 | [
"MIT"
] | 10 | 2021-01-24T15:16:13.000Z | 2022-02-28T12:35:00.000Z | deepsplines/ds_modules/__init__.py | joaquimcampos/deepsplines | d9a11e9a8e66bb65e8099de68ba3739d3c81de67 | [
"MIT"
] | null | null | null | deepsplines/ds_modules/__init__.py | joaquimcampos/deepsplines | d9a11e9a8e66bb65e8099de68ba3739d3c81de67 | [
"MIT"
] | 2 | 2020-10-23T20:55:08.000Z | 2021-05-21T07:04:34.000Z | from deepsplines.ds_modules.basemodel import BaseModel
from deepsplines.ds_modules.deepBspline import DeepBSpline
from deepsplines.ds_modules.deepBspline_explicit_linear import (
DeepBSplineExplicitLinear)
from deepsplines.ds_modules.deepReLUspline import DeepReLUSpline
__all__ = ["DeepBSpline", "DeepBSplineExplic... | 43.625 | 72 | 0.862464 | 34 | 349 | 8.558824 | 0.352941 | 0.206186 | 0.233677 | 0.329897 | 0.24055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077364 | 349 | 7 | 73 | 49.857143 | 0.903727 | 0 | 0 | 0 | 0 | 0 | 0.143266 | 0.071633 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6bf6ed42cb3d6db0e31e557f3fa102f84d2c34da | 7,795 | py | Python | src/compas_fab/backends/interfaces/client.py | yck011522/compas_fab | db7c8e54184dbbad9be5a818cf7ff814c95cf162 | [
"MIT"
] | 64 | 2019-08-07T07:19:06.000Z | 2022-03-22T16:48:23.000Z | src/compas_fab/backends/interfaces/client.py | yck011522/compas_fab | db7c8e54184dbbad9be5a818cf7ff814c95cf162 | [
"MIT"
] | 228 | 2019-07-08T07:55:30.000Z | 2022-03-25T16:39:17.000Z | src/compas_fab/backends/interfaces/client.py | yck011522/compas_fab | db7c8e54184dbbad9be5a818cf7ff814c95cf162 | [
"MIT"
] | 18 | 2019-08-04T16:42:37.000Z | 2022-01-12T18:36:06.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
def forward_docstring(backend_feature):
def dec(obj):
obj.__doc__ = backend_feature.__dict__[obj.__name__].__doc__
return obj
return dec
class ClientInterface(object):
"""Interfac... | 34.799107 | 85 | 0.572162 | 770 | 7,795 | 5.632468 | 0.114286 | 0.096841 | 0.090385 | 0.086465 | 0.832603 | 0.788333 | 0.760895 | 0.697948 | 0.682499 | 0.682499 | 0 | 0 | 0.23823 | 7,795 | 223 | 86 | 34.955157 | 0.730381 | 0.464913 | 0 | 0.559322 | 0 | 0 | 0.136762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.440678 | false | 0 | 0.050847 | 0 | 0.745763 | 0.016949 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d46a809689f40dd424b18362bb6f4a7b2932112b | 23 | py | Python | __init__.py | zehanort/openclio | 8c84eb2ebc90f27bf5569b00b32d3e21b268d69f | [
"MIT"
] | 1 | 2021-06-17T00:47:18.000Z | 2021-06-17T00:47:18.000Z | __init__.py | zehanort/openclio | 8c84eb2ebc90f27bf5569b00b32d3e21b268d69f | [
"MIT"
] | null | null | null | __init__.py | zehanort/openclio | 8c84eb2ebc90f27bf5569b00b32d3e21b268d69f | [
"MIT"
] | null | null | null | from openclio import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 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 |
2e15207c5d20bc3de97dd50b775969354bd447a5 | 92 | py | Python | eridanusstd/util.py | mithrandi/eridanus | 11c80c7024548ce7c41800b077d3d0a738a04875 | [
"MIT"
] | null | null | null | eridanusstd/util.py | mithrandi/eridanus | 11c80c7024548ce7c41800b077d3d0a738a04875 | [
"MIT"
] | 5 | 2021-03-18T20:19:01.000Z | 2022-03-11T23:14:44.000Z | eridanusstd/util.py | mithrandi/eridanus | 11c80c7024548ce7c41800b077d3d0a738a04875 | [
"MIT"
] | 1 | 2018-01-10T15:15:15.000Z | 2018-01-10T15:15:15.000Z | import html5lib
def parseHTML(data):
return html5lib.parse(data, treebuilder='lxml')
| 13.142857 | 51 | 0.73913 | 11 | 92 | 6.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.152174 | 92 | 6 | 52 | 15.333333 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2e3a029423791b435724b883a08f8493af0f64e3 | 170 | py | Python | tests/__init__.py | emartech/ems-dataflow-testframework | c70b0768573e9c4af98173bb0b444dee442de53a | [
"MIT"
] | null | null | null | tests/__init__.py | emartech/ems-dataflow-testframework | c70b0768573e9c4af98173bb0b444dee442de53a | [
"MIT"
] | null | null | null | tests/__init__.py | emartech/ems-dataflow-testframework | c70b0768573e9c4af98173bb0b444dee442de53a | [
"MIT"
] | 1 | 2022-02-17T19:56:44.000Z | 2022-02-17T19:56:44.000Z | from os import path
TEST_RESOURCES = full_path = path.abspath("tests/resources")
def resource(resource_name: str):
return path.join(TEST_RESOURCES, resource_name)
| 21.25 | 60 | 0.776471 | 24 | 170 | 5.291667 | 0.625 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 170 | 7 | 61 | 24.285714 | 0.858108 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 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 |
2e46879f59ec894bf0aaaf127f61d0a7f2ab8a5e | 1,726 | py | Python | src/my_py.py | techemstudios/alexa | eb0871f6101541d4b55217061b11e7ca775db4a8 | [
"MIT"
] | 3 | 2017-05-06T19:41:10.000Z | 2017-12-11T17:53:34.000Z | src/my_py.py | techemstudios/alexa | eb0871f6101541d4b55217061b11e7ca775db4a8 | [
"MIT"
] | null | null | null | src/my_py.py | techemstudios/alexa | eb0871f6101541d4b55217061b11e7ca775db4a8 | [
"MIT"
] | 9 | 2017-05-06T19:01:05.000Z | 2020-03-05T18:22:51.000Z | """
Simple Python template file allowing users to define intent resposnes (convention is lowercase
intent name from your intentsSchema and Utterances) as a function; leaving all the lambda skill
service details to the alexa_py.py file.
Intents implemented here for example:
About
Contact
Upcoming
Intents support... | 32.566038 | 180 | 0.699884 | 265 | 1,726 | 4.554717 | 0.54717 | 0.054681 | 0.029826 | 0.03314 | 0.038111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010057 | 0.193511 | 1,726 | 52 | 181 | 33.192308 | 0.85704 | 0.414253 | 0 | 0 | 0 | 0.384615 | 0.78926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | true | 0 | 0.076923 | 0.307692 | 1 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cf6600bdbe635ee40f100d8eb08524dbd3378feb | 5,531 | py | Python | modelexp/models/sas/_sphereCSSCoupledBimodal.py | DomiDre/modelexp | 1ec25f71e739dac27716f9a8637fa6ab067499b9 | [
"MIT"
] | null | null | null | modelexp/models/sas/_sphereCSSCoupledBimodal.py | DomiDre/modelexp | 1ec25f71e739dac27716f9a8637fa6ab067499b9 | [
"MIT"
] | null | null | null | modelexp/models/sas/_sphereCSSCoupledBimodal.py | DomiDre/modelexp | 1ec25f71e739dac27716f9a8637fa6ab067499b9 | [
"MIT"
] | null | null | null | from modelexp.models.sas import SAXSModel
from fortSAS import sphere_css_coupled
import numpy as np
class SphereCSSCoupledBimodal(SAXSModel):
def initParameters(self):
self.params.add('particleSize1', 100)
self.params.add('particleSize2', 70)
self.params.add('dShell1', 20)
self.params.add('dShell2', ... | 33.11976 | 103 | 0.61544 | 580 | 5,531 | 5.827586 | 0.139655 | 0.363905 | 0.088462 | 0.033136 | 0.744379 | 0.715976 | 0.715976 | 0.715976 | 0.715976 | 0.715976 | 0 | 0.034483 | 0.213524 | 5,531 | 166 | 104 | 33.319277 | 0.742529 | 0 | 0 | 0.653846 | 0 | 0 | 0.228169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.019231 | 0 | 0.051282 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cf6e60b53197cef05af46333bb8ed52427d09ad6 | 207 | py | Python | flask_restapi/__init__.py | JonarsLi/flask-restapi | 16142ac1f6b7112dad8fdac649cb7fd8ce771e0c | [
"MIT"
] | null | null | null | flask_restapi/__init__.py | JonarsLi/flask-restapi | 16142ac1f6b7112dad8fdac649cb7fd8ce771e0c | [
"MIT"
] | null | null | null | flask_restapi/__init__.py | JonarsLi/flask-restapi | 16142ac1f6b7112dad8fdac649cb7fd8ce771e0c | [
"MIT"
] | null | null | null | from .core import Api # noqa: F401
from .exceptions import ApiException # noqa: F401
from .spec.models import TagModel # noqa: F401
from .types import FileStorageType, RequestParametersType # noqa: F401
| 41.4 | 71 | 0.772947 | 26 | 207 | 6.153846 | 0.538462 | 0.2 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.15942 | 207 | 4 | 72 | 51.75 | 0.850575 | 0.207729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d88f3ab321eb96a6837250047737e69ff8436fc7 | 5,910 | py | Python | layer/computing/test/affine_module.py | hslee1539/NN | 8b60a858c1137785ef684dd548b008bcc46b8d6d | [
"MIT"
] | null | null | null | layer/computing/test/affine_module.py | hslee1539/NN | 8b60a858c1137785ef684dd548b008bcc46b8d6d | [
"MIT"
] | null | null | null | layer/computing/test/affine_module.py | hslee1539/NN | 8b60a858c1137785ef684dd548b008bcc46b8d6d | [
"MIT"
] | null | null | null | import sys
sys.path.append(__file__.replace("NN\\layer\\computing\\test\\affine_module.py", ""))
import tensor
import NN
import random
import time
rd = random.randint
def test_alg(data_shape, w_shape):
x = tensor.create_gauss(data_shape)
w = tensor.create_gauss(w_shape)
b = tensor.create_gauss([w_shape[-1]... | 34.360465 | 107 | 0.653299 | 911 | 5,910 | 4.093304 | 0.093304 | 0.054438 | 0.12443 | 0.100295 | 0.821936 | 0.772593 | 0.751408 | 0.71011 | 0.71011 | 0.682489 | 0 | 0.035411 | 0.20203 | 5,910 | 171 | 108 | 34.561404 | 0.755301 | 0.039425 | 0 | 0.589744 | 0 | 0 | 0.017276 | 0.008001 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.042735 | 0 | 0.068376 | 0.102564 | 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 |
d8aa6b042a828e85be8158b603632a6fc1ab734e | 38 | py | Python | pyinterpolate/misc/__init__.py | NarayanAdithya/pyinterpolate | 3a8166ad0ca884f29be1afe789eff4ccfc891f71 | [
"BSD-3-Clause"
] | 61 | 2018-08-15T17:16:12.000Z | 2021-09-06T09:25:49.000Z | pyinterpolate/misc/__init__.py | NarayanAdithya/pyinterpolate | 3a8166ad0ca884f29be1afe789eff4ccfc891f71 | [
"BSD-3-Clause"
] | 70 | 2018-06-16T19:12:49.000Z | 2021-09-16T16:28:48.000Z | pyinterpolate/misc/__init__.py | NarayanAdithya/pyinterpolate | 3a8166ad0ca884f29be1afe789eff4ccfc891f71 | [
"BSD-3-Clause"
] | 7 | 2019-10-16T05:48:12.000Z | 2021-07-06T14:09:29.000Z | from .compare import KrigingComparison | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b2233b01841b1521acd4dc2c23000a6317bc6bb | 667 | py | Python | tests/app/test_data_loader.py | marcosnr/search-cli-app | 3c296c7d98fe6040d3f4ae84148d813656eb5862 | [
"Apache-2.0"
] | null | null | null | tests/app/test_data_loader.py | marcosnr/search-cli-app | 3c296c7d98fe6040d3f4ae84148d813656eb5862 | [
"Apache-2.0"
] | 1 | 2020-03-27T05:10:26.000Z | 2020-03-27T05:10:26.000Z | tests/app/test_data_loader.py | marcosnr/search-cli-app | 3c296c7d98fe6040d3f4ae84148d813656eb5862 | [
"Apache-2.0"
] | null | null | null | import os
import pytest
from data_loader import DataLoader
def test_load_org_file():
current_dir = os.path.dirname(os.path.realpath(__file__))
test_file = os.path.join(current_dir, 'resources', 'test_orgs.json')
assert DataLoader._load_file(test_file)
def test_load_user_file():
current_dir = os.path.dirname(o... | 35.105263 | 73 | 0.781109 | 102 | 667 | 4.686275 | 0.254902 | 0.112971 | 0.150628 | 0.100418 | 0.811715 | 0.811715 | 0.811715 | 0.736402 | 0.736402 | 0.736402 | 0 | 0 | 0.097451 | 667 | 18 | 74 | 37.055556 | 0.79402 | 0 | 0 | 0.4 | 0 | 0 | 0.109445 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 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 |
9989dbb3b0b4dfacbe5a5a5a377afd0a1a2a56ce | 21,684 | py | Python | pyquil/_parser/gen3/QuilLexer.py | jclapis/pyquil | 7123caffdb3bce6e79937f0e2598a5da8ecb2809 | [
"Apache-2.0"
] | null | null | null | pyquil/_parser/gen3/QuilLexer.py | jclapis/pyquil | 7123caffdb3bce6e79937f0e2598a5da8ecb2809 | [
"Apache-2.0"
] | null | null | null | pyquil/_parser/gen3/QuilLexer.py | jclapis/pyquil | 7123caffdb3bce6e79937f0e2598a5da8ecb2809 | [
"Apache-2.0"
] | null | null | null | # Generated from Quil.g4 by ANTLR 4.7.1
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\2J")
buf.write("\u0211\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6... | 58.447439 | 103 | 0.554234 | 4,790 | 21,684 | 2.50501 | 0.160334 | 0.139345 | 0.073506 | 0.074673 | 0.329194 | 0.217351 | 0.155013 | 0.133261 | 0.128427 | 0.124427 | 0 | 0.331378 | 0.158873 | 21,684 | 370 | 104 | 58.605405 | 0.326498 | 0.001706 | 0 | 0.005666 | 1 | 0.396601 | 0.613131 | 0.553435 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005666 | false | 0 | 0.011331 | 0 | 0.249292 | 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 |
515df630b969efd6a1c5d23fab9863893ae41a29 | 131 | py | Python | news/admin.py | caseboy01/xabin | 916b2b2634c660fa81064d1f218d19c3267c2efc | [
"Apache-2.0"
] | null | null | null | news/admin.py | caseboy01/xabin | 916b2b2634c660fa81064d1f218d19c3267c2efc | [
"Apache-2.0"
] | null | null | null | news/admin.py | caseboy01/xabin | 916b2b2634c660fa81064d1f218d19c3267c2efc | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Article)
admin.site.register(models.Reporter)
| 14.555556 | 36 | 0.801527 | 18 | 131 | 5.833333 | 0.555556 | 0.171429 | 0.32381 | 0.438095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10687 | 131 | 8 | 37 | 16.375 | 0.897436 | 0 | 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 |
5ae102e46737140ccf1f8b95082be7881ef9808e | 175 | py | Python | cms/urls.py | DBonbon/pythoneatstail | 3f9e8ddd07f891653c82aa396a96709914113f3a | [
"MIT"
] | 4 | 2021-06-18T10:26:24.000Z | 2021-11-06T03:50:04.000Z | cms/urls.py | DBonbon/pythoneatstail | 3f9e8ddd07f891653c82aa396a96709914113f3a | [
"MIT"
] | 10 | 2020-06-03T01:48:21.000Z | 2021-09-22T19:02:14.000Z | cms/urls.py | DBonbon/pythoneatstail | 3f9e8ddd07f891653c82aa396a96709914113f3a | [
"MIT"
] | 2 | 2020-12-06T08:49:36.000Z | 2021-02-28T23:19:20.000Z | from django.urls import path
from .views import set_language_from_url
urlpatterns = [
path('<str:language_code>/', set_language_from_url, name='set_language_from_url'),
] | 29.166667 | 86 | 0.782857 | 26 | 175 | 4.884615 | 0.5 | 0.259843 | 0.354331 | 0.425197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108571 | 175 | 6 | 87 | 29.166667 | 0.814103 | 0 | 0 | 0 | 0 | 0 | 0.232955 | 0.119318 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
5af8cd2beb0922541c6c0dfc71de06410c3caf71 | 74 | py | Python | libs/uix/baseclasses/lucky.py | mkbeh/CRyptoLab | 424c938c16c9264e99eff71e4c1a27ca65314d42 | [
"MIT"
] | null | null | null | libs/uix/baseclasses/lucky.py | mkbeh/CRyptoLab | 424c938c16c9264e99eff71e4c1a27ca65314d42 | [
"MIT"
] | 1 | 2021-06-01T22:30:24.000Z | 2021-06-01T22:30:24.000Z | libs/uix/baseclasses/lucky.py | mkbeh/CRyptoLab | 424c938c16c9264e99eff71e4c1a27ca65314d42 | [
"MIT"
] | 1 | 2021-05-11T23:06:20.000Z | 2021-05-11T23:06:20.000Z | from kivy.uix.screenmanager import Screen
class Lucky(Screen):
pass
| 12.333333 | 41 | 0.756757 | 10 | 74 | 5.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 5 | 42 | 14.8 | 0.918033 | 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 |
51c75f5c05ea2fbf60bc61d1313ef94fbc84126c | 97 | py | Python | mw_url_shortener/database/__init__.py | mawillcockson/mw_url_shortener | 312cc958dceaeaeecc5bfcf1a958b8cb092a3568 | [
"MIT"
] | null | null | null | mw_url_shortener/database/__init__.py | mawillcockson/mw_url_shortener | 312cc958dceaeaeecc5bfcf1a958b8cb092a3568 | [
"MIT"
] | null | null | null | mw_url_shortener/database/__init__.py | mawillcockson/mw_url_shortener | 312cc958dceaeaeecc5bfcf1a958b8cb092a3568 | [
"MIT"
] | null | null | null | print(f"imported mw_url_shortener.database.__init__ as {__name__}")
from .entities import get_db
| 32.333333 | 67 | 0.824742 | 15 | 97 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 2 | 68 | 48.5 | 0.775281 | 0 | 0 | 0 | 0 | 0 | 0.587629 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
51d057122c0b2eb61fca611f6c67c4b4f03f2232 | 39 | py | Python | experiments/__init__.py | prijatelj/handwriting_recognition_with_novelty | 327d98774b0e04a9934d0687b55d4fefaff732b0 | [
"MIT"
] | 5 | 2021-05-20T04:52:48.000Z | 2022-03-11T00:21:57.000Z | experiments/__init__.py | prijatelj/handwriting_recognition_with_novelty | 327d98774b0e04a9934d0687b55d4fefaff732b0 | [
"MIT"
] | null | null | null | experiments/__init__.py | prijatelj/handwriting_recognition_with_novelty | 327d98774b0e04a9934d0687b55d4fefaff732b0 | [
"MIT"
] | null | null | null | from experiments import research, data
| 19.5 | 38 | 0.846154 | 5 | 39 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.970588 | 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 |
51e350712eeb18cb48cbe703031977a3a171fc61 | 161 | py | Python | test/integration/testutil.py | ikn/pyepgdb | fa4f1ea5b5677d59bdeb1bcdb69fc5ef2091e835 | [
"BSD-3-Clause"
] | null | null | null | test/integration/testutil.py | ikn/pyepgdb | fa4f1ea5b5677d59bdeb1bcdb69fc5ef2091e835 | [
"BSD-3-Clause"
] | null | null | null | test/integration/testutil.py | ikn/pyepgdb | fa4f1ea5b5677d59bdeb1bcdb69fc5ef2091e835 | [
"BSD-3-Clause"
] | null | null | null | import os
def get_resource_path (filename):
return os.path.join(os.path.dirname(os.path.dirname(__file__)),
'resources', filename)
| 23 | 67 | 0.639752 | 20 | 161 | 4.85 | 0.6 | 0.185567 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242236 | 161 | 6 | 68 | 26.833333 | 0.795082 | 0 | 0 | 0 | 0 | 0 | 0.055901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a4007f266fe9b912192693e6006f45d0171fae81 | 44,068 | py | Python | LW-BlockCiphersPython/LED_64/LED_64_64.py | rzpbcodes/LightWeightBlockCiphers | c70047862381132eba603da7d91d8594170c3d04 | [
"MIT"
] | 4 | 2019-10-18T01:09:49.000Z | 2022-03-13T07:45:09.000Z | LW-BlockCiphersPython/LED_64/LED_64_64.py | rzpbcodes/LightWeightBlockCiphers | c70047862381132eba603da7d91d8594170c3d04 | [
"MIT"
] | null | null | null | LW-BlockCiphersPython/LED_64/LED_64_64.py | rzpbcodes/LightWeightBlockCiphers | c70047862381132eba603da7d91d8594170c3d04 | [
"MIT"
] | null | null | null | class LED_64_64:
keySize = 64
T0 = [0x00BB00DD00AA0055, 0x00BA00D100AE0057, 0x00BC00DF00A5005B, 0x00B500D900A7005A, 0x00B100DC00A40052, 0x00B000D000A00050, 0x00B700D200AF005E, 0x00B900D600A20051, 0x00B600DE00AB005C, 0x00BF00D800A9005D, 0x00BD00D300A10059, 0x00B300D700AC0056, 0x00B800DA00A60053, 0x00BE00D400AD... | 564.974359 | 5,130 | 0.880798 | 2,350 | 44,068 | 16.51617 | 0.91234 | 0.003246 | 0.001984 | 0.0017 | 0.003942 | 0.001855 | 0.001134 | 0.000773 | 0 | 0 | 0 | 0.718095 | 0.065603 | 44,068 | 78 | 5,131 | 564.974359 | 0.224494 | 0 | 0 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0.85852 | 0 | 0 | 1 | 0.134328 | false | 0 | 0 | 0.029851 | 0.432836 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cfbc8d74c3231bdc1f5744995fe432ee651ceee9 | 26 | py | Python | views/__init__.py | plusmail/django-pyqt | 83fe70ff176e481567d9deb00721cdd439d8bc27 | [
"MIT"
] | 3 | 2019-10-22T20:00:18.000Z | 2020-01-21T09:04:47.000Z | views/__init__.py | plusmail/django-pyqt | 83fe70ff176e481567d9deb00721cdd439d8bc27 | [
"MIT"
] | null | null | null | views/__init__.py | plusmail/django-pyqt | 83fe70ff176e481567d9deb00721cdd439d8bc27 | [
"MIT"
] | 1 | 2020-12-21T06:22:38.000Z | 2020-12-21T06:22:38.000Z | from . import mainWindow
| 8.666667 | 24 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 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 |
cfe51f0af39dcb5a5165adc76a938d63f91a58b7 | 79 | py | Python | katas/beta/simple_beads_count.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/beta/simple_beads_count.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/beta/simple_beads_count.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def count_red_beads(n_blue):
return (n_blue - 1) * 2 if n_blue >= 2 else 0
| 26.333333 | 49 | 0.658228 | 17 | 79 | 2.764706 | 0.705882 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.227848 | 79 | 2 | 50 | 39.5 | 0.704918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cff982c2c34ecc5153d6b5b2a99d18c369542521 | 177 | py | Python | amqpstorm/management/base.py | ZygusPatryk/amqpstorm | 0f3ad84a529f12769d34638a88c38f3055cb05cd | [
"MIT"
] | 193 | 2016-08-02T22:04:35.000Z | 2022-03-09T20:45:41.000Z | amqpstorm/management/base.py | ZygusPatryk/amqpstorm | 0f3ad84a529f12769d34638a88c38f3055cb05cd | [
"MIT"
] | 533 | 2016-08-23T20:48:23.000Z | 2022-03-28T15:55:13.000Z | amqpstorm/management/base.py | ZygusPatryk/amqpstorm | 0f3ad84a529f12769d34638a88c38f3055cb05cd | [
"MIT"
] | 38 | 2016-04-20T20:21:13.000Z | 2022-03-23T05:31:58.000Z | class ManagementHandler(object):
"""Management Api Operations Handler (e.g. Queue, Exchange)"""
def __init__(self, http_client):
self.http_client = http_client
| 29.5 | 66 | 0.706215 | 21 | 177 | 5.619048 | 0.761905 | 0.254237 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180791 | 177 | 5 | 67 | 35.4 | 0.813793 | 0.316384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3204bc3a2bae3be412694f6525e419b15195ae25 | 7,125 | py | Python | pirates/leveleditor/worldData/shipNavyMerchant3.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/shipNavyMerchant3.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/shipNavyMerchant3.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.shipNavyMerchant3
from pandac.PandaModules import Point3, VBase3, Vec4
objectStruct = {'Objects': {'118904... | 1,187.5 | 6,840 | 0.647579 | 980 | 7,125 | 4.706122 | 0.187755 | 0.03686 | 0.037077 | 0.036427 | 0.41804 | 0.396791 | 0.376409 | 0.376409 | 0.373157 | 0.364701 | 0 | 0.270655 | 0.082667 | 7,125 | 6 | 6,840 | 1,187.5 | 0.434976 | 0.031298 | 0 | 0 | 0 | 0 | 0.593505 | 0.163236 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5c98994732fa74ded2795e24c986a0884d023fdd | 7,332 | py | Python | survey/tests/views/test_survey_detail.py | TheWITProject/MentorApp | 2f08b87a7cde6d180e16d6f37d0b8019b8361638 | [
"MIT"
] | null | null | null | survey/tests/views/test_survey_detail.py | TheWITProject/MentorApp | 2f08b87a7cde6d180e16d6f37d0b8019b8361638 | [
"MIT"
] | 65 | 2020-02-04T22:31:07.000Z | 2022-01-13T02:39:19.000Z | survey/tests/views/test_survey_detail.py | TheWITProject/MentorApp | 2f08b87a7cde6d180e16d6f37d0b8019b8361638 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import logging
from django.conf import settings
from django.urls.base import reverse
from survey.models import Answer, Response
from survey.tests import BaseTest
LOGGER = logging.getLogger(__name__)
class TestSurveyDetail(BaseTest):
def test_survey_result(self):
""" We need log... | 46.405063 | 112 | 0.659984 | 920 | 7,332 | 5.043478 | 0.144565 | 0.087284 | 0.090086 | 0.084267 | 0.825431 | 0.815948 | 0.800431 | 0.780388 | 0.765302 | 0.751078 | 0 | 0.025235 | 0.216312 | 7,332 | 157 | 113 | 46.700637 | 0.782283 | 0.129433 | 0 | 0.523364 | 0 | 0 | 0.107384 | 0 | 0 | 0 | 0 | 0 | 0.299065 | 1 | 0.102804 | false | 0 | 0.046729 | 0 | 0.158879 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c9b3fedcef6a0b89fb8c8994d1b1373d823f616 | 7,879 | py | Python | src/genie/libs/parser/junos/tests/ShowChassisEnvironmentFpc/cli/equal/golden_output_1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/junos/tests/ShowChassisEnvironmentFpc/cli/equal/golden_output_1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/junos/tests/ShowChassisEnvironmentFpc/cli/equal/golden_output_1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"environment-component-information": {
"environment-component-item": [
{
"name": "FPC 0",
"power-information": {
"power-title": {
"power-type": "Power"
}
},
... | 39.00495 | 70 | 0.253839 | 391 | 7,879 | 5.112532 | 0.15601 | 0.135068 | 0.117059 | 0.18009 | 0.862431 | 0.806403 | 0.718359 | 0.678339 | 0.614307 | 0.614307 | 0 | 0.059178 | 0.641833 | 7,879 | 202 | 71 | 39.004951 | 0.649185 | 0 | 0 | 0.39604 | 0 | 0 | 0.281091 | 0.007487 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 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 |
5cddbd93099cd177ea2fee4d429abcbbd0c336d3 | 1,788 | py | Python | sac_wgrad/plot_states.py | swami1995/SimuRLacra | 795e6ea45fbb722242ddb0c0ea5c62432826411e | [
"DOC",
"Zlib",
"BSD-3-Clause"
] | null | null | null | sac_wgrad/plot_states.py | swami1995/SimuRLacra | 795e6ea45fbb722242ddb0c0ea5c62432826411e | [
"DOC",
"Zlib",
"BSD-3-Clause"
] | null | null | null | sac_wgrad/plot_states.py | swami1995/SimuRLacra | 795e6ea45fbb722242ddb0c0ea5c62432826411e | [
"DOC",
"Zlib",
"BSD-3-Clause"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
import ipdb
# T = 401
# dt = 0.05
# states = np.load('checkpoints/states_AcrobotEnv-v2_tanheval_init_dt005_on_policy_.npy')
# plt.plot(np.arange(T)*dt, states.reshape(-1, 1, 4)[:,0,0], label='th1')
# plt.plot(np.arange(T)*dt, states.reshape(-1, 1, 4)[:,0,1], label='th2... | 42.571429 | 99 | 0.703579 | 317 | 1,788 | 3.794953 | 0.182965 | 0.069825 | 0.089776 | 0.149626 | 0.910224 | 0.881962 | 0.848712 | 0.803824 | 0.771405 | 0.683292 | 0 | 0.084848 | 0.077181 | 1,788 | 41 | 100 | 43.609756 | 0.644242 | 0.662192 | 0 | 0 | 0 | 0 | 0.210708 | 0.186529 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.230769 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f9281c1348e94c8b8cf30c14fde6a726d4eedec | 80,406 | py | Python | tests/test_sequence_classifier.py | bond005/sequence_classifier | 98e86794fabd9b09778096d397fdf68975fab936 | [
"Apache-2.0"
] | 1 | 2019-05-28T17:40:37.000Z | 2019-05-28T17:40:37.000Z | tests/test_sequence_classifier.py | bond005/sequence_classifier | 98e86794fabd9b09778096d397fdf68975fab936 | [
"Apache-2.0"
] | 5 | 2020-01-28T22:45:29.000Z | 2022-02-10T00:25:55.000Z | tests/test_sequence_classifier.py | bond005/sequence_classifier | 98e86794fabd9b09778096d397fdf68975fab936 | [
"Apache-2.0"
] | null | null | null | import codecs
import gc
import os
import pickle
import random
import re
import requests
import sys
import tempfile
from typing import Dict, Tuple
import unittest
import zipfile
from nltk.tokenize.nist import NISTTokenizer
import numpy as np
from sklearn.datasets import fetch_20newsgroups
from sklearn.exceptions import... | 55.529006 | 120 | 0.630662 | 11,024 | 80,406 | 4.34443 | 0.038643 | 0.018708 | 0.023385 | 0.02777 | 0.893032 | 0.86971 | 0.838223 | 0.809993 | 0.786816 | 0.769006 | 0 | 0.04457 | 0.248265 | 80,406 | 1,447 | 121 | 55.567381 | 0.747783 | 0.001878 | 0 | 0.555391 | 0 | 0.027326 | 0.061841 | 0.001309 | 0 | 0 | 0 | 0 | 0.242984 | 1 | 0.064254 | false | 0 | 0.014033 | 0 | 0.082718 | 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 |
64e4d9c95b3b1f615e4176a2f1f83ff57f6dadbc | 246 | py | Python | src/proxy/proxyObservers.py | youssefaz94/leshy | e4edd4941a3b1ef24bb81588fc9c0859fe2f2a2b | [
"MIT"
] | null | null | null | src/proxy/proxyObservers.py | youssefaz94/leshy | e4edd4941a3b1ef24bb81588fc9c0859fe2f2a2b | [
"MIT"
] | null | null | null | src/proxy/proxyObservers.py | youssefaz94/leshy | e4edd4941a3b1ef24bb81588fc9c0859fe2f2a2b | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class Observer(ABC):
@abstractmethod
def update(self):
pass
def preProcess(self):
pass
def postProcess(self):
pass
def scrapp(self):
pass | 15.375 | 35 | 0.556911 | 25 | 246 | 5.48 | 0.52 | 0.233577 | 0.240876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.373984 | 246 | 16 | 36 | 15.375 | 0.88961 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.363636 | 0.090909 | 0 | 0.545455 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8f012329cb7fff6abbb64aaaa40f137c28668079 | 216 | py | Python | shisell/__init__.py | Soluto/shisell-python | a6bb7e06b3b025b7e0de21f5b970c9d59d3c56c3 | [
"MIT"
] | 2 | 2018-09-27T06:57:33.000Z | 2021-12-16T13:08:31.000Z | shisell/__init__.py | Soluto/shisell-python | a6bb7e06b3b025b7e0de21f5b970c9d59d3c56c3 | [
"MIT"
] | null | null | null | shisell/__init__.py | Soluto/shisell-python | a6bb7e06b3b025b7e0de21f5b970c9d59d3c56c3 | [
"MIT"
] | null | null | null | from .analytics_context import AnalyticsContext
from .analytics_dispatcher import AnalyticsDispatcher
from .analytics_event_model import AnalyticsEventModel
from .create_root_dispatcher import create_root_dispatcher
| 43.2 | 58 | 0.907407 | 24 | 216 | 7.833333 | 0.5 | 0.207447 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 216 | 4 | 59 | 54 | 0.94 | 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 |
8f0c567fde19b6e68177fa23dbf1efcaa3160bad | 125 | py | Python | packages/auto-nlp-deployment/src/common/exception/__init__.py | fhswf/tagflip-autonlp | f94abb35ed06198567e5d9cbb7abb7e112149d6c | [
"MIT"
] | 4 | 2021-10-05T17:34:02.000Z | 2022-03-23T07:33:19.000Z | packages/auto-nlp-deployment/src/common/exception/__init__.py | fhswf/tagflip-autonlp | f94abb35ed06198567e5d9cbb7abb7e112149d6c | [
"MIT"
] | 11 | 2022-03-01T14:37:52.000Z | 2022-03-31T05:11:23.000Z | packages/auto-nlp-deployment/src/common/exception/__init__.py | fhswf/tagflip-autonlp | f94abb35ed06198567e5d9cbb7abb7e112149d6c | [
"MIT"
] | 1 | 2022-01-29T13:32:22.000Z | 2022-01-29T13:32:22.000Z | from .ssh_forbidden_exception import SSHForbiddenException
from .not_serializable_exception import NotSerializableException
| 31.25 | 64 | 0.912 | 12 | 125 | 9.166667 | 0.75 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072 | 125 | 3 | 65 | 41.666667 | 0.948276 | 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 |
8f424d06311a9fb8f6859e1870f00762d7c6b758 | 82 | py | Python | NoteBooks/Curso de Python/Python/Data_Managment/API/Youtube/config.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | 1 | 2021-02-26T13:12:22.000Z | 2021-02-26T13:12:22.000Z | NoteBooks/Curso de Python/Python/Data_Managment/API/Youtube/config.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null | NoteBooks/Curso de Python/Python/Data_Managment/API/Youtube/config.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null |
import os
os.environ['YOUTUBE_API'] ="AIzaSyDsH6F6We9TIQzxpprcUnJRuyUEBVPhwEc" | 13.666667 | 68 | 0.817073 | 7 | 82 | 9.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.085366 | 82 | 6 | 68 | 13.666667 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.609756 | 0.47561 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
710bd765b03a224e7bdfa8b9ca2f163bf435d930 | 19,526 | py | Python | tests/test_zfs.py | svalouch/python-simplezfs | cc3ea0b3029f9494590a291ac2746712cbf5bea0 | [
"BSD-3-Clause"
] | 1 | 2021-04-16T07:40:49.000Z | 2021-04-16T07:40:49.000Z | tests/test_zfs.py | svalouch/python-simplezfs | cc3ea0b3029f9494590a291ac2746712cbf5bea0 | [
"BSD-3-Clause"
] | null | null | null | tests/test_zfs.py | svalouch/python-simplezfs | cc3ea0b3029f9494590a291ac2746712cbf5bea0 | [
"BSD-3-Clause"
] | null | null | null |
'''
Tests the main ZFS class, non-destructive version.
'''
from unittest.mock import patch
import pytest # type: ignore
from simplezfs.exceptions import ValidationError
from simplezfs.pe_helper import PEHelperBase
from simplezfs.types import Dataset, DatasetType
from simplezfs.zfs import ZFS, get_zfs
from simplezfs... | 42.081897 | 119 | 0.620147 | 2,246 | 19,526 | 5.16919 | 0.077916 | 0.0559 | 0.034884 | 0.04186 | 0.817227 | 0.783118 | 0.753144 | 0.710508 | 0.651335 | 0.605082 | 0 | 0.003257 | 0.260883 | 19,526 | 463 | 120 | 42.172786 | 0.801206 | 0.047117 | 0 | 0.608434 | 0 | 0 | 0.122214 | 0 | 0 | 0 | 0 | 0 | 0.322289 | 1 | 0.210843 | false | 0 | 0.024096 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
711fb36585a1dc8fc7ef65e266140140c5a3136a | 179 | py | Python | eruditio/shared_apps/django_wizard/admin.py | genghisu/eruditio | 5f8f3b682ac28fd3f464e7a993c3988c1a49eb02 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | eruditio/shared_apps/django_wizard/admin.py | genghisu/eruditio | 5f8f3b682ac28fd3f464e7a993c3988c1a49eb02 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | eruditio/shared_apps/django_wizard/admin.py | genghisu/eruditio | 5f8f3b682ac28fd3f464e7a993c3988c1a49eb02 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | import models
from django.contrib import admin
admin.site.register(models.ConfigOption)
admin.site.register(models.DefinedConfigOption)
admin.site.register(models.ConfigFixture)
| 25.571429 | 47 | 0.854749 | 22 | 179 | 6.954545 | 0.5 | 0.176471 | 0.333333 | 0.45098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055866 | 179 | 6 | 48 | 29.833333 | 0.905325 | 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 | 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 |
71271dfe228be2926c5f6c8ac61332b8bd7a0364 | 125 | py | Python | molecool/io/__init__.py | jamesmkrieger/MoleCool | 52f3d7c2c95a868f166a3e83293c08c2cf75797e | [
"BSD-3-Clause"
] | null | null | null | molecool/io/__init__.py | jamesmkrieger/MoleCool | 52f3d7c2c95a868f166a3e83293c08c2cf75797e | [
"BSD-3-Clause"
] | null | null | null | molecool/io/__init__.py | jamesmkrieger/MoleCool | 52f3d7c2c95a868f166a3e83293c08c2cf75797e | [
"BSD-3-Clause"
] | null | null | null | """
io
subpackage of molecool package for I/O operations
"""
from .xyz import open_xyz, write_xyz
from .pdb import open_pdb | 17.857143 | 49 | 0.76 | 21 | 125 | 4.380952 | 0.714286 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 125 | 7 | 50 | 17.857143 | 0.87619 | 0.424 | 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 |
713522191fd683964e708653a757af6404c499a6 | 75 | py | Python | neptune/internal/client_library/exceptions/__init__.py | jiji-online/neptune-cli | 50cf680a80d141497f9331ab7cdaee49fcb90b0c | [
"Apache-2.0"
] | null | null | null | neptune/internal/client_library/exceptions/__init__.py | jiji-online/neptune-cli | 50cf680a80d141497f9331ab7cdaee49fcb90b0c | [
"Apache-2.0"
] | null | null | null | neptune/internal/client_library/exceptions/__init__.py | jiji-online/neptune-cli | 50cf680a80d141497f9331ab7cdaee49fcb90b0c | [
"Apache-2.0"
] | null | null | null | from .duplicated_name_exceptions import *
from .action_exceptions import *
| 25 | 41 | 0.84 | 9 | 75 | 6.666667 | 0.666667 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 42 | 37.5 | 0.895522 | 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 |
71424f5f1359d75b3cabdbaeaed015f893ad0897 | 71 | py | Python | src/models/ssd/__init__.py | PranavEranki/SSD-Algorithm | 778c8be06ad75c6dfbe98660fb32ef4cacb7ce4a | [
"MIT"
] | null | null | null | src/models/ssd/__init__.py | PranavEranki/SSD-Algorithm | 778c8be06ad75c6dfbe98660fb32ef4cacb7ce4a | [
"MIT"
] | null | null | null | src/models/ssd/__init__.py | PranavEranki/SSD-Algorithm | 778c8be06ad75c6dfbe98660fb32ef4cacb7ce4a | [
"MIT"
] | 1 | 2020-02-23T00:40:08.000Z | 2020-02-23T00:40:08.000Z |
from .ssd_vgg_300 import SSDVGG300
from .ssd_vgg_512 import SSDVGG512
| 17.75 | 34 | 0.84507 | 12 | 71 | 4.666667 | 0.666667 | 0.25 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 0.126761 | 71 | 3 | 35 | 23.666667 | 0.709677 | 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 |
853fe6c5ccf8ed94e9e2a13fe9992680c135d2b2 | 4,116 | py | Python | tests/asset_data/test_assetDataRequest/test_request_initialization.py | alv2017/Python---YahooFinanceDataLoader | 407076c6262d2935b5331aceaaa02d5a9146183d | [
"MIT"
] | null | null | null | tests/asset_data/test_assetDataRequest/test_request_initialization.py | alv2017/Python---YahooFinanceDataLoader | 407076c6262d2935b5331aceaaa02d5a9146183d | [
"MIT"
] | null | null | null | tests/asset_data/test_assetDataRequest/test_request_initialization.py | alv2017/Python---YahooFinanceDataLoader | 407076c6262d2935b5331aceaaa02d5a9146183d | [
"MIT"
] | null | null | null | import unittest
from YahooFinanceDataLoader.asset_data.assetDataRequest import AssetDataRequest
class TestClass_AssetDataRequest_Initialization(unittest.TestCase):
def setUp(self):
self.start_date = {
"date":"2018-01-01",
"ts": 1514764800
}
self.end_date = {
... | 43.787234 | 96 | 0.617104 | 448 | 4,116 | 5.5 | 0.162946 | 0.058442 | 0.087662 | 0.041396 | 0.827922 | 0.813718 | 0.798295 | 0.798295 | 0.743912 | 0.743912 | 0 | 0.019912 | 0.280126 | 4,116 | 94 | 97 | 43.787234 | 0.811677 | 0.108844 | 0 | 0.647059 | 0 | 0 | 0.133021 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 1 | 0.088235 | false | 0 | 0.029412 | 0 | 0.132353 | 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 |
8547d1234cd6c0d6c598cb055b9d4bba28fce35a | 173,781 | py | Python | dff_deeplab/symbols/resnet_v1_101_flownet_deeplab.py | SamvitJ/Accel | d1d7bb1867ca0d1d8d7a6ae9c87734a1483b9e15 | [
"MIT"
] | 54 | 2019-06-10T19:52:41.000Z | 2021-10-10T21:13:51.000Z | dff_deeplab/symbols/resnet_v1_101_flownet_deeplab.py | karlcao/Accel | d1d7bb1867ca0d1d8d7a6ae9c87734a1483b9e15 | [
"MIT"
] | 6 | 2019-07-18T06:27:19.000Z | 2021-03-08T19:14:03.000Z | dff_deeplab/symbols/resnet_v1_101_flownet_deeplab.py | karlcao/Accel | d1d7bb1867ca0d1d8d7a6ae9c87734a1483b9e15 | [
"MIT"
] | 15 | 2019-06-18T13:30:48.000Z | 2022-03-19T02:19:36.000Z | # --------------------------------------------------------
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------
import cPickle
import mxnet as mx
from utils.symbol import Symbol
from operator_py.prop... | 96.011602 | 179 | 0.6493 | 22,115 | 173,781 | 4.822021 | 0.017997 | 0.071644 | 0.049625 | 0.062332 | 0.937696 | 0.930063 | 0.904144 | 0.882051 | 0.879031 | 0.87709 | 0 | 0.095455 | 0.232712 | 173,781 | 1,810 | 180 | 96.011602 | 0.704297 | 0.007222 | 0 | 0.488479 | 0 | 0 | 0.09032 | 0.014203 | 0 | 0 | 0 | 0 | 0.000576 | 1 | 0.005184 | false | 0 | 0.004608 | 0 | 0.015553 | 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 |
855e1ff9f7328aaf5b7862e7029af6f85ba8c21c | 8,615 | py | Python | nenupy/astro/__init__.py | lucilecoutouly/nenupy | 8bfcab9558087f0696080d750293d9b8edc30665 | [
"MIT"
] | 4 | 2018-10-02T16:32:32.000Z | 2022-03-08T10:55:36.000Z | nenupy/astro/__init__.py | lucilecoutouly/nenupy | 8bfcab9558087f0696080d750293d9b8edc30665 | [
"MIT"
] | 54 | 2018-10-16T14:48:29.000Z | 2022-02-24T11:02:59.000Z | nenupy/astro/__init__.py | lucilecoutouly/nenupy | 8bfcab9558087f0696080d750293d9b8edc30665 | [
"MIT"
] | 2 | 2020-10-12T14:29:17.000Z | 2021-11-24T13:11:16.000Z | #! /usr/bin/python3
# -*- coding: utf-8 -*-
"""
.. table:: Summary of :mod:`nenupy.astro` classes and functions
:widths: auto
+--------------------------------------+------------------------------------------------+------------------------------------------------------+
| Class ... | 124.855072 | 153 | 0.217063 | 327 | 8,615 | 5.681957 | 0.336391 | 0.159849 | 0.113025 | 0.1507 | 0.474166 | 0.285253 | 0.054898 | 0.054898 | 0 | 0 | 0 | 0.000341 | 0.319095 | 8,615 | 68 | 154 | 126.691176 | 0.3164 | 0.965641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
858d1171df31c37b5eb9cd60dd904fbb3c2922dc | 37 | py | Python | oreopy/models/__init__.py | maclinchy/oreopy | b6d644951895d7e74c7d064fd6e4903387e02d4c | [
"MIT"
] | null | null | null | oreopy/models/__init__.py | maclinchy/oreopy | b6d644951895d7e74c7d064fd6e4903387e02d4c | [
"MIT"
] | null | null | null | oreopy/models/__init__.py | maclinchy/oreopy | b6d644951895d7e74c7d064fd6e4903387e02d4c | [
"MIT"
] | null | null | null | from oreopy.models.base import Model
| 18.5 | 36 | 0.837838 | 6 | 37 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
859379a63e7faf3e5eb678070699c63da25d5b72 | 26,791 | py | Python | ovxlib/tools/add_op.py | phytec-mirrors/nn-imx | 58525bf968e8d90004f6d782ad37cea28991a439 | [
"MIT"
] | null | null | null | ovxlib/tools/add_op.py | phytec-mirrors/nn-imx | 58525bf968e8d90004f6d782ad37cea28991a439 | [
"MIT"
] | null | null | null | ovxlib/tools/add_op.py | phytec-mirrors/nn-imx | 58525bf968e8d90004f6d782ad37cea28991a439 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""Add a embedded operation into ovxlib"""
from __future__ import absolute_import
from __future__ import print_function
import os
import fnmatch
import sys
from argparse import ArgumentParser
'''
/****************************************************************************
*
* Copyright (c)... | 44.876047 | 112 | 0.570789 | 3,539 | 26,791 | 4.006782 | 0.071772 | 0.045839 | 0.030606 | 0.026093 | 0.837024 | 0.821298 | 0.798378 | 0.774048 | 0.754795 | 0.735966 | 0 | 0.006745 | 0.286104 | 26,791 | 596 | 113 | 44.951342 | 0.734654 | 0.045015 | 0 | 0.586 | 0 | 0 | 0.232832 | 0.132563 | 0 | 0 | 0.000206 | 0 | 0 | 1 | 0.06 | false | 0.002 | 0.012 | 0.008 | 0.128 | 0.008 | 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 |
85c4abf3e1be35c2e55753727023dedf41e2721f | 303 | py | Python | school_app/__init__.py | mohamedmelsayed/erp-school | 6da9bc4c4634e3b362be18f55300aacf147c32a3 | [
"MIT"
] | null | null | null | school_app/__init__.py | mohamedmelsayed/erp-school | 6da9bc4c4634e3b362be18f55300aacf147c32a3 | [
"MIT"
] | null | null | null | school_app/__init__.py | mohamedmelsayed/erp-school | 6da9bc4c4634e3b362be18f55300aacf147c32a3 | [
"MIT"
] | null | null | null | from .models import stage
from .models import level
from .models import class_name
from .models import student_copy
# from .models import parent
from .models import study_year
from .models import enrollment
from .models import fees_element
from .models import fees_terms
from .models import student_fees | 30.3 | 32 | 0.831683 | 46 | 303 | 5.347826 | 0.347826 | 0.406504 | 0.650407 | 0.186992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132013 | 303 | 10 | 33 | 30.3 | 0.935361 | 0.085809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4985aef4e2f8f19acc42b7c99a9bd5785bc5c42 | 1,395 | py | Python | mundo-2/ex059.py | RaoniSilvestre/Exercicios-Python | d840a9471dc0ddf805ead0c63f9be5de0fb375af | [
"MIT"
] | 2 | 2021-05-06T20:36:36.000Z | 2022-02-17T13:50:07.000Z | mundo-2/ex059.py | RaoniSilvestre/Exercicios-Python | d840a9471dc0ddf805ead0c63f9be5de0fb375af | [
"MIT"
] | null | null | null | mundo-2/ex059.py | RaoniSilvestre/Exercicios-Python | d840a9471dc0ddf805ead0c63f9be5de0fb375af | [
"MIT"
] | 1 | 2021-05-26T02:24:04.000Z | 2021-05-26T02:24:04.000Z | #menu de soma multiplicação maior novos numeros sair do programa
E = 0
while E != 5:
L = []
N1 = float(input('Digite um número: '))
N2 = float(input('Digite outro: '))
print('[1] Soma\n[2] Multiplicação\n[3] Maior\n[4] Novos números\n[5] Sair do programa')
E = int(input('O que você quer fazer com es... | 34.02439 | 96 | 0.49319 | 208 | 1,395 | 3.307692 | 0.245192 | 0.05814 | 0.078488 | 0.05814 | 0.755814 | 0.755814 | 0.755814 | 0.755814 | 0.755814 | 0.755814 | 0 | 0.043764 | 0.344803 | 1,395 | 40 | 97 | 34.875 | 0.708972 | 0.045161 | 0 | 0.842105 | 0 | 0.052632 | 0.353383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.289474 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f10aa00d6ae4ea0e6505fba25fa3261271f87fd7 | 2,298 | py | Python | epytope/Data/pssms/smm/mat/B_57_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/B_57_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/B_57_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_57_01_9 = {0: {'A': -0.064, 'C': 0.095, 'E': 0.525, 'D': 0.544, 'G': 0.073, 'F': 0.227, 'I': -0.435, 'H': -0.249, 'K': -0.588, 'M': -0.479, 'L': -0.109, 'N': 0.364, 'Q': 0.26, 'P': 0.293, 'S': 0.038, 'R': -0.437, 'T': -0.139, 'W': 0.083, 'V': -0.057, 'Y': 0.054}, 1: {'A': -0.895, 'C': -0.127, 'E': 0.585, 'D': 0.437, ... | 2,298 | 2,298 | 0.394691 | 557 | 2,298 | 1.62298 | 0.32675 | 0.019912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.374026 | 0.162315 | 2,298 | 1 | 2,298 | 2,298 | 0.095584 | 0 | 0 | 0 | 0 | 0 | 0.0796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f1350df18eaf05e858d0d23c91a063699362ee1b | 113 | py | Python | 8_kyu/Miles_per_gallon_to_kilometers_per_liter.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 8_kyu/Miles_per_gallon_to_kilometers_per_liter.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 8_kyu/Miles_per_gallon_to_kilometers_per_liter.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | # Factor from MPG to KPL
MPG2KPL = 1.609344 / 4.54609188
def converter(mpg):
return round(mpg * MPG2KPL, 2) | 22.6 | 34 | 0.690265 | 18 | 113 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211111 | 0.20354 | 113 | 5 | 34 | 22.6 | 0.655556 | 0.19469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f13ecca826773a850bfe209b77f059829075f056 | 34 | py | Python | test/test1.py | Awdesh/fun-with-Tornado | 2ea4743ed8ee8b9ef6ce4c45e813e6449365dca5 | [
"MIT"
] | null | null | null | test/test1.py | Awdesh/fun-with-Tornado | 2ea4743ed8ee8b9ef6ce4c45e813e6449365dca5 | [
"MIT"
] | null | null | null | test/test1.py | Awdesh/fun-with-Tornado | 2ea4743ed8ee8b9ef6ce4c45e813e6449365dca5 | [
"MIT"
] | null | null | null | def test():
assert 'b' == 'b'
| 11.333333 | 21 | 0.441176 | 5 | 34 | 3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 34 | 2 | 22 | 17 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
74d9b4926ffa855fa698963893f93562ba59f249 | 2,038 | py | Python | uil/rest_client/collections/options.py | UiL-OTS-labs/django-shared-core | 702ca346f1be861108ec70ceed2ed3b99623f0a3 | [
"Apache-2.0"
] | null | null | null | uil/rest_client/collections/options.py | UiL-OTS-labs/django-shared-core | 702ca346f1be861108ec70ceed2ed3b99623f0a3 | [
"Apache-2.0"
] | 13 | 2019-06-25T13:23:30.000Z | 2022-02-10T07:00:39.000Z | uil/rest_client/collections/options.py | UiL-OTS-labs/django-shared-core | 702ca346f1be861108ec70ceed2ed3b99623f0a3 | [
"Apache-2.0"
] | null | null | null | from django.core.exceptions import ImproperlyConfigured
from ..operations import Operations
class ResourceCollectionOptions:
def __init__(self, meta, app_label):
self.meta = meta
self.collection = None
self.resource = None
self.path = None
self.path_variables = []
... | 29.536232 | 77 | 0.59421 | 222 | 2,038 | 5.103604 | 0.234234 | 0.056487 | 0.079435 | 0.026478 | 0.795234 | 0.795234 | 0.795234 | 0.795234 | 0.795234 | 0.795234 | 0 | 0 | 0.325319 | 2,038 | 68 | 78 | 29.970588 | 0.824 | 0 | 0 | 0.807692 | 0 | 0 | 0.040726 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.076923 | 0.038462 | 0.269231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
74f2de056d5345acc10279aaeed43615f382ad82 | 176 | py | Python | quoridor/__main__.py | joshmal9999/Quoridor-Online | d0a4c85dd1dacacdb734e6a6ea6b1b830e0bb13c | [
"MIT"
] | 2 | 2020-05-17T12:47:09.000Z | 2021-08-07T00:10:41.000Z | quoridor/__main__.py | joshmal9999/Quoridor-Online | d0a4c85dd1dacacdb734e6a6ea6b1b830e0bb13c | [
"MIT"
] | null | null | null | quoridor/__main__.py | joshmal9999/Quoridor-Online | d0a4c85dd1dacacdb734e6a6ea6b1b830e0bb13c | [
"MIT"
] | 1 | 2021-11-16T08:47:43.000Z | 2021-11-16T08:47:43.000Z | """
Quoridor Online
Quentin Deschamps, 2020
"""
print("Welcome to Quoridor Online! By Quentin Deschamps")
print("Documentation: https://github.com/Quentin18/Quoridor-Online")
| 22 | 68 | 0.767045 | 21 | 176 | 6.428571 | 0.666667 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.096591 | 176 | 7 | 69 | 25.142857 | 0.811321 | 0.221591 | 0 | 0 | 0 | 0 | 0.829457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
74f8ca8ee70dc05f39ed5cb22e27f4d1aeb069cd | 6,753 | py | Python | tests/test_boolean_canalization.py | xuan-w/CANA | 30cbb1f21560ebd480b26c2b0c716e906573b046 | [
"MIT"
] | null | null | null | tests/test_boolean_canalization.py | xuan-w/CANA | 30cbb1f21560ebd480b26c2b0c716e906573b046 | [
"MIT"
] | null | null | null | tests/test_boolean_canalization.py | xuan-w/CANA | 30cbb1f21560ebd480b26c2b0c716e906573b046 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Tests for ``boolean_canalization.py``
# These tests were hand calculated by Luis M. Rocha and implemented by Rion B. Correia.
# Checks were made with the online tool: http://www.mathematik.uni-marburg.de/~thormae/lectures/ti1/code/qmc/
#
from cana.canalization.boolean_canalization import *
... | 41.685185 | 110 | 0.647712 | 1,107 | 6,753 | 3.769648 | 0.089431 | 0.11862 | 0.080518 | 0.087227 | 0.84232 | 0.829379 | 0.790798 | 0.759406 | 0.751737 | 0.751737 | 0 | 0.085043 | 0.148527 | 6,753 | 161 | 111 | 41.944099 | 0.640696 | 0.119354 | 0 | 0.532609 | 0 | 0 | 0.226732 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 1 | 0.076087 | false | 0 | 0.01087 | 0 | 0.086957 | 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 |
742a238f5066991f5f74a006156ea2a0b3ac6754 | 5,313 | py | Python | dask_patternsearch/tests/test_search.py | eriknw/dask-patternsearch | fc3b5cf792c889688f723d181fbcd2b5419e15da | [
"BSD-3-Clause"
] | 19 | 2017-04-05T13:27:30.000Z | 2020-07-24T17:31:36.000Z | dask_patternsearch/tests/test_search.py | eriknw/dask-patternsearch | fc3b5cf792c889688f723d181fbcd2b5419e15da | [
"BSD-3-Clause"
] | 14 | 2017-04-03T19:26:36.000Z | 2017-04-24T15:22:52.000Z | dask_patternsearch/tests/test_search.py | eriknw/dask-patternsearch | fc3b5cf792c889688f723d181fbcd2b5419e15da | [
"BSD-3-Clause"
] | 2 | 2018-12-17T10:34:10.000Z | 2020-02-05T00:17:12.000Z | from __future__ import absolute_import, division, print_function
import numpy as np
import time
from numpy.core.umath_tests import inner1d
from distributed import Client
from distributed.utils_test import cluster, loop
from dask_patternsearch import search
def sphere(x):
"""Minimum at 0"""
return x.dot(x)
... | 42.166667 | 103 | 0.580839 | 668 | 5,313 | 4.555389 | 0.124252 | 0.057838 | 0.089385 | 0.120933 | 0.854091 | 0.854091 | 0.840946 | 0.840946 | 0.83766 | 0.83766 | 0 | 0.028078 | 0.302842 | 5,313 | 125 | 104 | 42.504 | 0.793467 | 0.01054 | 0 | 0.673913 | 0 | 0 | 0.002672 | 0 | 0 | 0 | 0 | 0 | 0.369565 | 1 | 0.065217 | false | 0 | 0.076087 | 0 | 0.173913 | 0.01087 | 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 |
74532966cdb38360e5f28b6063ee1e17cd927118 | 24 | py | Python | src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/test/python/scripts/res_test_red_module_classes/mod_outer/__init__.py | alex729/RED | 128bf203cf035892c02805aabd0c915f96006bb0 | [
"Apache-2.0"
] | 375 | 2015-11-02T19:15:30.000Z | 2022-03-19T03:32:10.000Z | src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/test/python/scripts/res_test_red_module_classes/mod_outer/__init__.py | alex729/RED | 128bf203cf035892c02805aabd0c915f96006bb0 | [
"Apache-2.0"
] | 433 | 2015-11-03T13:24:40.000Z | 2022-03-30T11:20:14.000Z | src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/test/python/scripts/res_test_red_module_classes/mod_outer/__init__.py | alex729/RED | 128bf203cf035892c02805aabd0c915f96006bb0 | [
"Apache-2.0"
] | 133 | 2016-05-02T02:20:06.000Z | 2022-01-06T06:01:28.000Z | from .mod_inner import * | 24 | 24 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.857143 | 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 |
7472f952a8dd858d53fe42eb9efeb59294bb6c31 | 58 | py | Python | client/chat/__init__.py | rrsilaya/spaceteam | eca853d82f14d1d5f5f892977dfb35d20da40d0b | [
"MIT"
] | null | null | null | client/chat/__init__.py | rrsilaya/spaceteam | eca853d82f14d1d5f5f892977dfb35d20da40d0b | [
"MIT"
] | null | null | null | client/chat/__init__.py | rrsilaya/spaceteam | eca853d82f14d1d5f5f892977dfb35d20da40d0b | [
"MIT"
] | null | null | null | from chat.screen import Screen
from chat.main import Chat
| 19.333333 | 30 | 0.827586 | 10 | 58 | 4.8 | 0.5 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 31 | 29 | 0.96 | 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 |
777b1b87e186d793a787281e3eb9b72822617c50 | 166 | py | Python | sandbox/settings/tests.py | MikeVL/crispy-forms-foundation | 41188f6958440f1dc0b02acd27b9a8fcfab5080c | [
"MIT"
] | 59 | 2015-01-15T09:26:31.000Z | 2022-01-26T15:04:50.000Z | sandbox/settings/tests.py | MikeVL/crispy-forms-foundation | 41188f6958440f1dc0b02acd27b9a8fcfab5080c | [
"MIT"
] | 26 | 2015-02-22T14:54:36.000Z | 2021-12-29T21:23:14.000Z | sandbox/settings/tests.py | MikeVL/crispy-forms-foundation | 41188f6958440f1dc0b02acd27b9a8fcfab5080c | [
"MIT"
] | 37 | 2015-02-11T17:32:34.000Z | 2022-01-21T22:20:31.000Z | """
Django settings for tests
"""
from sandbox.settings.base import *
#
# Default crispy_forms_foundation settings
#
from crispy_forms_foundation.settings import *
| 15.090909 | 46 | 0.783133 | 20 | 166 | 6.3 | 0.6 | 0.174603 | 0.333333 | 0.460317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 166 | 10 | 47 | 16.6 | 0.875 | 0.403614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
77a7281c5a1b53ce2b1a2683373902dffe143a3f | 261 | py | Python | server/tests/timestamps_test.py | thehassantahir/httparchive.org | 307a27408941bec2d33b80614be31306d395e40d | [
"Apache-2.0"
] | 2 | 2017-10-24T18:07:15.000Z | 2018-01-04T13:22:45.000Z | server/tests/timestamps_test.py | thehassantahir/httparchive.org | 307a27408941bec2d33b80614be31306d395e40d | [
"Apache-2.0"
] | 28 | 2017-05-31T18:08:52.000Z | 2018-03-27T17:43:40.000Z | server/tests/timestamps_test.py | thehassantahir/httparchive.org | 307a27408941bec2d33b80614be31306d395e40d | [
"Apache-2.0"
] | 3 | 2017-04-20T18:19:13.000Z | 2018-03-01T17:58:49.000Z | from server.timestamps import get_versioned_filename
def test_versioned_file():
assert get_versioned_filename("/static/js/main.js").startswith("/static/js/main.js?v=")
def test_unversioned_file():
assert get_versioned_filename("random") == "random"
| 26.1 | 91 | 0.770115 | 35 | 261 | 5.457143 | 0.514286 | 0.188482 | 0.314136 | 0.230366 | 0.314136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099617 | 261 | 9 | 92 | 29 | 0.812766 | 0 | 0 | 0 | 0 | 0 | 0.195402 | 0.08046 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
77be13aed77eb0e3d923f2c3006ec88d81b2d6cd | 91 | py | Python | services/__init__.py | HackTrain/rtp-backend | 43ea037c894b9500573950ec44f9b3be2d1370b6 | [
"Apache-2.0"
] | null | null | null | services/__init__.py | HackTrain/rtp-backend | 43ea037c894b9500573950ec44f9b3be2d1370b6 | [
"Apache-2.0"
] | null | null | null | services/__init__.py | HackTrain/rtp-backend | 43ea037c894b9500573950ec44f9b3be2d1370b6 | [
"Apache-2.0"
] | null | null | null | from .ServiceEnums import *
from .DelayClaimRequestService import DelayClaimRequestService
| 30.333333 | 62 | 0.879121 | 7 | 91 | 11.428571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 63 | 45.5 | 0.963855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77ea463e77caede9004f0b59858e31a7cea3220f | 2,431 | py | Python | tests/test_payment_gateways.py | lotrekagency/pywoo | 84034c053a4873246394203ae819190e8402c057 | [
"MIT"
] | 5 | 2019-09-11T15:39:57.000Z | 2022-01-21T14:23:51.000Z | tests/test_payment_gateways.py | lotrekagency/pywoo | 84034c053a4873246394203ae819190e8402c057 | [
"MIT"
] | 2 | 2019-10-11T15:34:28.000Z | 2019-10-15T15:38:23.000Z | tests/test_payment_gateways.py | lotrekagency/pywoo | 84034c053a4873246394203ae819190e8402c057 | [
"MIT"
] | 1 | 2021-06-17T17:27:02.000Z | 2021-06-17T17:27:02.000Z | import unittest
from unittest.mock import Mock, patch
from pywoo import Api
from pywoo.models.payment_gateways import PaymentGateway
from .tools import mock_request
class TestPaymentGateways(unittest.TestCase):
@patch('pywoo.pywoo.requests.api.request', side_effect=mock_request)
def test_api_get(self, func... | 36.833333 | 72 | 0.679556 | 315 | 2,431 | 5.034921 | 0.142857 | 0.052963 | 0.065574 | 0.136192 | 0.844893 | 0.844893 | 0.844893 | 0.844893 | 0.820303 | 0.820303 | 0 | 0 | 0.193336 | 2,431 | 65 | 73 | 37.4 | 0.808771 | 0 | 0 | 0.590909 | 0 | 0 | 0.193495 | 0.079045 | 0 | 0 | 0 | 0 | 0.227273 | 1 | 0.136364 | false | 0 | 0.113636 | 0 | 0.272727 | 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 |
bb4d0f9a711ee52112041864f851aa641f94ba8c | 48 | py | Python | extsum/__init__.py | streof/extsum | 45949a6a6aff65ceaf2a4bdc70f5b4d9660fca5f | [
"MIT"
] | null | null | null | extsum/__init__.py | streof/extsum | 45949a6a6aff65ceaf2a4bdc70f5b4d9660fca5f | [
"MIT"
] | null | null | null | extsum/__init__.py | streof/extsum | 45949a6a6aff65ceaf2a4bdc70f5b4d9660fca5f | [
"MIT"
] | null | null | null | from .load import Load
from .parse import Parse
| 16 | 24 | 0.791667 | 8 | 48 | 4.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 25 | 24 | 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 |
24872f1bfd03a2c4617d04aba4808f8a0c9c67bb | 124 | py | Python | 0x0A-python-inheritance/2-is_same_class.py | calypsobronte/holbertonschool-higher_level_programming | c39c060d8473976fa475d22fffba5cb4329c9965 | [
"MIT"
] | null | null | null | 0x0A-python-inheritance/2-is_same_class.py | calypsobronte/holbertonschool-higher_level_programming | c39c060d8473976fa475d22fffba5cb4329c9965 | [
"MIT"
] | null | null | null | 0x0A-python-inheritance/2-is_same_class.py | calypsobronte/holbertonschool-higher_level_programming | c39c060d8473976fa475d22fffba5cb4329c9965 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
def is_same_class(obj, a_class):
""" type(obj) == a_class (True) """
return type(obj) is a_class
| 24.8 | 39 | 0.637097 | 21 | 124 | 3.52381 | 0.571429 | 0.243243 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.177419 | 124 | 4 | 40 | 31 | 0.715686 | 0.370968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
24a005c62d01379eba0e9b4b6883aea7e7f8f1be | 26,821 | py | Python | app/tests/crud/test_cryptobot.py | germainlefebvre4/cryptobot-api | 6b8f10554bbb50ac669c8f8a87414c9292fc9d7b | [
"MIT"
] | null | null | null | app/tests/crud/test_cryptobot.py | germainlefebvre4/cryptobot-api | 6b8f10554bbb50ac669c8f8a87414c9292fc9d7b | [
"MIT"
] | 8 | 2021-09-28T12:55:38.000Z | 2022-01-05T22:45:20.000Z | app/tests/crud/test_cryptobot.py | germainlefebvre4/cryptobot-api | 6b8f10554bbb50ac669c8f8a87414c9292fc9d7b | [
"MIT"
] | null | null | null | from datetime import date, datetime
from dateutil.relativedelta import relativedelta
import random
import json
from sqlalchemy.orm import Session
from app import crud
from app.schemas.cryptobot import CryptobotCreate, CryptobotUpdate
from app.schemas.binance_account import BinanceAccount
from app.schemas.telegram imp... | 58.054113 | 133 | 0.828679 | 2,709 | 26,821 | 7.734958 | 0.037283 | 0.280424 | 0.070345 | 0.080176 | 0.883889 | 0.871958 | 0.83626 | 0.826811 | 0.655961 | 0.643696 | 0 | 0.004649 | 0.125797 | 26,821 | 461 | 134 | 58.180043 | 0.889026 | 0 | 0 | 0.652482 | 0 | 0 | 0.006152 | 0 | 0 | 0 | 0 | 0 | 0.27896 | 1 | 0.01182 | false | 0 | 0.030733 | 0 | 0.042553 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
24d708c80d020c5052ad15e73af0289f17e9e555 | 219 | py | Python | billtracker/data/__all_models.py | vyahello/billtracker | 5138b68cdfd39368b37445d8ef9c2a7cda67fd91 | [
"MIT"
] | 2 | 2020-03-14T16:53:45.000Z | 2020-04-21T12:07:39.000Z | billtracker/data/__all_models.py | vyahello/billtracker | 5138b68cdfd39368b37445d8ef9c2a7cda67fd91 | [
"MIT"
] | 3 | 2020-03-22T12:45:08.000Z | 2020-04-21T11:45:09.000Z | billtracker/data/__all_models.py | vyahello/billtracker | 5138b68cdfd39368b37445d8ef9c2a7cda67fd91 | [
"MIT"
] | null | null | null | """Module contains a list of all data models."""
# noinspection PyUnresolvedReferences
from billtracker.data.models.bill import Bill
# noinspection PyUnresolvedReferences
from billtracker.data.models.users import User
| 31.285714 | 48 | 0.826484 | 26 | 219 | 6.961538 | 0.615385 | 0.165746 | 0.41989 | 0.541436 | 0.651934 | 0.651934 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105023 | 219 | 6 | 49 | 36.5 | 0.923469 | 0.525114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
24e80c4b7475821ab48da3f1784f4839139cd2bc | 1,576 | py | Python | Project_Euler/008/Solution.py | amitagarwalaa57/OneDayOneAlgo | 9336fc751ee9b0b84c3e4a1e8383cb14b178c936 | [
"MIT"
] | 32 | 2020-05-23T07:40:31.000Z | 2021-02-02T18:14:30.000Z | Project_Euler/008/Solution.py | amitagarwalaa57/OneDayOneAlgo | 9336fc751ee9b0b84c3e4a1e8383cb14b178c936 | [
"MIT"
] | 45 | 2020-05-22T10:30:51.000Z | 2020-12-28T08:17:13.000Z | Project_Euler/008/Solution.py | amitagarwalaa57/OneDayOneAlgo | 9336fc751ee9b0b84c3e4a1e8383cb14b178c936 | [
"MIT"
] | 31 | 2020-05-22T10:18:16.000Z | 2020-10-23T07:52:35.000Z | import time
#To check the time taken by our code to arrive at the solution
start = time.time()
#Convert the num to string to break the number into substrings of thirteen numbers.
str_num="""73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
858615607891129494954595... | 36.651163 | 93 | 0.874365 | 120 | 1,576 | 11.433333 | 0.558333 | 0.01312 | 0.017493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.692995 | 0.076142 | 1,576 | 42 | 94 | 37.52381 | 0.249313 | 0.090736 | 0 | 0 | 0 | 0 | 0.762238 | 0.699301 | 0 | 1 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.030303 | 0 | 0.090909 | 0.060606 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
24ee5d77f88e5fc226e9f8920cbca2a4147409a5 | 135 | py | Python | KayakMask/KayakMask/views.py | AnnaWang0/Kayak_for_Masks | 145727145dce8609fd93b1571f80f8c738ea093d | [
"BSD-2-Clause"
] | 1 | 2021-11-17T16:34:09.000Z | 2021-11-17T16:34:09.000Z | KayakMask/KayakMask/views.py | AnnaWang0/Kayak_for_Masks | 145727145dce8609fd93b1571f80f8c738ea093d | [
"BSD-2-Clause"
] | null | null | null | KayakMask/KayakMask/views.py | AnnaWang0/Kayak_for_Masks | 145727145dce8609fd93b1571f80f8c738ea093d | [
"BSD-2-Clause"
] | 4 | 2021-11-08T21:59:20.000Z | 2022-02-04T15:47:52.000Z | from django.http import HttpResponse
def view(request):
return HttpResponse("Hello world ! ")
# class levelOneShopping(object):
| 19.285714 | 41 | 0.748148 | 15 | 135 | 6.733333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 135 | 6 | 42 | 22.5 | 0.885965 | 0.22963 | 0 | 0 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
24f71609ad08b60842f41acc90da7bf5b4e75c15 | 44 | py | Python | ssm/lds/__init__.py | lindermanlab/ssm-jax-refactor | 879243a5b649daeacea3467fab09b5a405cb4ff9 | [
"MIT"
] | 19 | 2021-12-02T08:40:57.000Z | 2022-03-08T15:23:37.000Z | ssm/lds/__init__.py | lindermanlab/ssm-jax-refactor | 879243a5b649daeacea3467fab09b5a405cb4ff9 | [
"MIT"
] | 17 | 2021-11-20T00:21:58.000Z | 2022-02-25T11:05:53.000Z | ssm/lds/__init__.py | lindermanlab/ssm-jax-refactor | 879243a5b649daeacea3467fab09b5a405cb4ff9 | [
"MIT"
] | 1 | 2022-03-02T05:55:16.000Z | 2022-03-02T05:55:16.000Z | from .models import GaussianLDS, PoissonLDS
| 22 | 43 | 0.840909 | 5 | 44 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
7001a053f36253a82797772a235c15d171e4bc0b | 24 | py | Python | uuid_cbr/__init__.py | Okeydj/cbr-uuid-python | f600dce0b93baaf1ca185060efb3e44f8a713296 | [
"MIT"
] | null | null | null | uuid_cbr/__init__.py | Okeydj/cbr-uuid-python | f600dce0b93baaf1ca185060efb3e44f8a713296 | [
"MIT"
] | null | null | null | uuid_cbr/__init__.py | Okeydj/cbr-uuid-python | f600dce0b93baaf1ca185060efb3e44f8a713296 | [
"MIT"
] | null | null | null | from .uuid_cbr import *
| 12 | 23 | 0.75 | 4 | 24 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.85 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.