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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
267737fd6c6e93eb06e6dcb39a2f12e49a06cbfc | 135 | py | Python | app/home/__init__.py | rubenlorenzo/Flask_Scaffold_Admin | e029e7d3ff9a9d2a8880b0c3fa230f2a6d2deea9 | [
"BSD-2-Clause",
"MIT"
] | 2 | 2017-12-20T17:25:22.000Z | 2018-06-01T13:17:15.000Z | app/home/__init__.py | rubenlorenzo/Flask_Scaffold_Admin | e029e7d3ff9a9d2a8880b0c3fa230f2a6d2deea9 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | app/home/__init__.py | rubenlorenzo/Flask_Scaffold_Admin | e029e7d3ff9a9d2a8880b0c3fa230f2a6d2deea9 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | from app import app
from flask import Blueprint
home = Blueprint('home', __name__, template_folder='./templates')
from . import views
| 22.5 | 65 | 0.77037 | 18 | 135 | 5.5 | 0.611111 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 5 | 66 | 27 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
cd2254e6baafdcb500b0275340b8998934c21105 | 13,135 | py | Python | sdk/python/pulumi_alicloud/log/store_index.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/log/store_index.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/log/store_index.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 43.065574 | 180 | 0.65177 | 1,465 | 13,135 | 5.636177 | 0.10785 | 0.091922 | 0.069032 | 0.027129 | 0.780429 | 0.746639 | 0.735376 | 0.7183 | 0.705946 | 0.678939 | 0 | 0.000101 | 0.244081 | 13,135 | 304 | 181 | 43.207237 | 0.831504 | 0.28367 | 0 | 0.632768 | 1 | 0 | 0.134743 | 0.058514 | 0 | 0 | 0 | 0 | 0 | 1 | 0.152542 | false | 0.00565 | 0.039548 | 0 | 0.282486 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cd31314cd5d6cbe526b2f6bb9861cd0357def718 | 67 | py | Python | my_lambdata/test_cell.py | MickeyLeewells2020/lambdata_Wells | fafc39aa1473287981b00f3085afd47da5ad1999 | [
"MIT"
] | null | null | null | my_lambdata/test_cell.py | MickeyLeewells2020/lambdata_Wells | fafc39aa1473287981b00f3085afd47da5ad1999 | [
"MIT"
] | null | null | null | my_lambdata/test_cell.py | MickeyLeewells2020/lambdata_Wells | fafc39aa1473287981b00f3085afd47da5ad1999 | [
"MIT"
] | null | null | null | from my_mod import data_string
print(data_string('aiudsgbpiug'))
| 13.4 | 33 | 0.80597 | 10 | 67 | 5.1 | 0.8 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 4 | 34 | 16.75 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
cd908f61c4f9968a73ae3c37840e90a8d92b3a23 | 12,631 | py | Python | Tools/auto_code/rpc/ver3/c/ver3_creat_structdata_file.py | renwei-release/dave | 773301edd3bee6e7526e0d5587ff8af9f01e288f | [
"MIT"
] | null | null | null | Tools/auto_code/rpc/ver3/c/ver3_creat_structdata_file.py | renwei-release/dave | 773301edd3bee6e7526e0d5587ff8af9f01e288f | [
"MIT"
] | null | null | null | Tools/auto_code/rpc/ver3/c/ver3_creat_structdata_file.py | renwei-release/dave | 773301edd3bee6e7526e0d5587ff8af9f01e288f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#/*
# * Copyright (c) 2022 Renwei
# *
# * This is a free software; you can redistribute it and/or modify
# * it under the terms of the MIT license. See LICENSE for details.
# */
from autocode_cfg import *
from autocode_tools import *
from find.find_other_struct_table import find_other_struct_tab... | 46.4375 | 139 | 0.625208 | 1,698 | 12,631 | 4.179034 | 0.079505 | 0.087937 | 0.124014 | 0.091319 | 0.854425 | 0.830045 | 0.808625 | 0.786077 | 0.755073 | 0.710964 | 0 | 0.005478 | 0.219618 | 12,631 | 272 | 140 | 46.4375 | 0.714416 | 0.020347 | 0 | 0.567686 | 0 | 0 | 0.235242 | 0.096798 | 0 | 0 | 0.000647 | 0 | 0 | 1 | 0.056769 | false | 0 | 0.0131 | 0 | 0.131004 | 0.004367 | 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 |
269ea6ce65c7084afb5ae839a721f626885ceadb | 89 | py | Python | bp_storage/__init__.py | BrainPlugAI/bp-storage | bb9ada7ea443c8f758b54557f42a0c10efee293b | [
"MIT"
] | 1 | 2019-08-31T12:22:01.000Z | 2019-08-31T12:22:01.000Z | bp_storage/__init__.py | BrainPlugAI/bp-storage | bb9ada7ea443c8f758b54557f42a0c10efee293b | [
"MIT"
] | null | null | null | bp_storage/__init__.py | BrainPlugAI/bp-storage | bb9ada7ea443c8f758b54557f42a0c10efee293b | [
"MIT"
] | null | null | null | from . import utils
from . import beard
from . import kitti
from . import classification
| 17.8 | 28 | 0.775281 | 12 | 89 | 5.75 | 0.5 | 0.57971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 4 | 29 | 22.25 | 0.945205 | 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 |
26e3af0f8e4aec06d4bb86ee38367bb26367f8e4 | 6,747 | py | Python | apis/v2/tests/test_business_update.py | tibetegya/WeConnect | 6a36b51876479adf99874d91dd0bc765f4839dd6 | [
"MIT"
] | 1 | 2018-04-07T05:29:52.000Z | 2018-04-07T05:29:52.000Z | apis/v2/tests/test_business_update.py | tibetegya/WeConnect | 6a36b51876479adf99874d91dd0bc765f4839dd6 | [
"MIT"
] | 3 | 2018-02-22T14:55:18.000Z | 2018-04-03T00:22:47.000Z | apis/v2/tests/test_business_update.py | tibetegya/WeConnect | 6a36b51876479adf99874d91dd0bc765f4839dd6 | [
"MIT"
] | 4 | 2018-02-27T19:56:23.000Z | 2018-03-24T12:46:56.000Z | import unittest
import flask
import json
from apis import app
from apis.v2.tests import ApiTestCase
from apis.v2.models.business import BusinessModel
class BusinessListTestCase(ApiTestCase):
""" Tests For the Businesses Endpoints """
def test_for_long_business_name_update_length(self):
"""tests tha... | 44.388158 | 110 | 0.596413 | 753 | 6,747 | 5.143426 | 0.131474 | 0.023496 | 0.043635 | 0.057062 | 0.815647 | 0.76788 | 0.750323 | 0.733282 | 0.733282 | 0.719339 | 0 | 0.015496 | 0.301764 | 6,747 | 152 | 111 | 44.388158 | 0.806623 | 0.133096 | 0 | 0.595506 | 0 | 0 | 0.087409 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 1 | 0.146067 | false | 0 | 0.067416 | 0 | 0.224719 | 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 |
26fbd47d483f1a64538a28b9fb8bfd0445195dfa | 39 | py | Python | projects/thesis/continuous/custom/structures/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | projects/thesis/continuous/custom/structures/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | projects/thesis/continuous/custom/structures/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | from .rotated_boxes import RotatedBoxes | 39 | 39 | 0.897436 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f80653aed75c28a494427f53d00ff090805ff6d6 | 31 | py | Python | time.py | Sunyingbin/PaddleOCR | 0ea228886e97dd7a68ff10b8c396e50905c4060d | [
"Apache-2.0"
] | null | null | null | time.py | Sunyingbin/PaddleOCR | 0ea228886e97dd7a68ff10b8c396e50905c4060d | [
"Apache-2.0"
] | null | null | null | time.py | Sunyingbin/PaddleOCR | 0ea228886e97dd7a68ff10b8c396e50905c4060d | [
"Apache-2.0"
] | 1 | 2021-07-20T01:29:17.000Z | 2021-07-20T01:29:17.000Z | import requests
import json
| 5.166667 | 15 | 0.774194 | 4 | 31 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 5 | 16 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ef5eb82717035a7369688c4e8c8f7213aadb3ac | 27,369 | py | Python | tf2/utils/Solvers.py | ISM-Weimar/DeepEnergyMethods | 3a51131e0827446bf5986d698aaac396c7fa5037 | [
"MIT"
] | 15 | 2019-09-11T01:35:03.000Z | 2022-03-25T03:17:59.000Z | tf2/utils/Solvers.py | ISM-Weimar/DeepEnergyMethods | 3a51131e0827446bf5986d698aaac396c7fa5037 | [
"MIT"
] | 2 | 2020-10-16T19:06:07.000Z | 2022-01-06T16:23:49.000Z | tf2/utils/Solvers.py | ISM-Weimar/DeepEnergyMethods | 3a51131e0827446bf5986d698aaac396c7fa5037 | [
"MIT"
] | 15 | 2019-09-11T01:35:05.000Z | 2022-02-18T21:18:55.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Sep 18 14:54:28 2020
@author: cosmin
"""
import tensorflow as tf
class Poisson2D_coll(tf.keras.Model):
def __init__(self, layers, train_op, num_epoch, print_epoch):
super(Poisson2D_coll, self).__init__()
self.model_layers = layers
... | 41.976994 | 101 | 0.563265 | 3,808 | 27,369 | 3.815651 | 0.052784 | 0.033035 | 0.033104 | 0.019821 | 0.82223 | 0.802753 | 0.774398 | 0.756504 | 0.727254 | 0.699931 | 0 | 0.021292 | 0.31532 | 27,369 | 652 | 102 | 41.976994 | 0.754096 | 0.044247 | 0 | 0.681905 | 0 | 0 | 0.012258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104762 | false | 0 | 0.001905 | 0.005714 | 0.2 | 0.053333 | 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 |
6effc662129023df83549f653c7fe314c9a8144e | 3,378 | py | Python | whatnext/time_logs.py | closedLoop/whatsnext | f7226c2e88e2fa32aa0137c5ffd187fc704abc67 | [
"Apache-2.0"
] | null | null | null | whatnext/time_logs.py | closedLoop/whatsnext | f7226c2e88e2fa32aa0137c5ffd187fc704abc67 | [
"Apache-2.0"
] | 3 | 2021-05-01T13:04:18.000Z | 2021-05-05T13:25:36.000Z | whatnext/time_logs.py | closedLoop/whatsnext | f7226c2e88e2fa32aa0137c5ffd187fc704abc67 | [
"Apache-2.0"
] | null | null | null | """CRUD operations on data_model.TimeLog
"""
import datetime
import logging
import networkx as nx
from .data_model import TimeLog
from .tasks import get_task_from_graph, update_task_in_graph
logger = logging.getLogger(__file__)
def create_timelog(graph: nx.DiGraph, task_id: int, note: str = None) -> nx.DiGraph:
... | 24.656934 | 87 | 0.630255 | 492 | 3,378 | 4.034553 | 0.103659 | 0.092695 | 0.139043 | 0.048363 | 0.841814 | 0.807053 | 0.778841 | 0.744081 | 0.706801 | 0.706801 | 0 | 0.001644 | 0.279751 | 3,378 | 136 | 88 | 24.838235 | 0.814221 | 0.047069 | 0 | 0.59375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052083 | false | 0 | 0.052083 | 0 | 0.197917 | 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 |
3e0ecd8e22065c7360fc0da62aace0e0db4dd463 | 836 | py | Python | running_modes/configurations/logging/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 183 | 2020-04-04T02:01:15.000Z | 2022-03-30T21:56:56.000Z | running_modes/configurations/logging/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 39 | 2020-04-05T15:19:56.000Z | 2022-03-09T12:58:21.000Z | running_modes/configurations/logging/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 70 | 2020-04-05T19:25:43.000Z | 2022-02-22T12:04:39.000Z | from running_modes.configurations.logging.base_log_config import BaseLoggerConfiguration
from running_modes.configurations.logging.create_model_log_configuration import CreateModelLoggerConfiguration
from running_modes.configurations.logging.curriculum_log_configuration import CurriculumLoggerConfiguration
from running... | 92.888889 | 113 | 0.933014 | 85 | 836 | 8.835294 | 0.341176 | 0.117177 | 0.170439 | 0.319574 | 0.394141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038278 | 836 | 8 | 114 | 104.5 | 0.93408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e1b5afd5b3ee33a9179f75f39e3fdd432ab2655 | 234 | py | Python | hml_equation_parser/__init__.py | OpenBapul/hmlEquationParser | 840d1a4aaf875dc89237e35b8b2ff1d0c36a0cda | [
"Apache-2.0"
] | 61 | 2016-12-20T07:46:46.000Z | 2022-02-27T13:52:12.000Z | hml_equation_parser/__init__.py | OpenBapul/hmlEquationParser | 840d1a4aaf875dc89237e35b8b2ff1d0c36a0cda | [
"Apache-2.0"
] | 5 | 2018-01-10T08:07:37.000Z | 2018-01-10T09:12:36.000Z | hml_equation_parser/__init__.py | OpenBapul/hmlEquationParser | 840d1a4aaf875dc89237e35b8b2ff1d0c36a0cda | [
"Apache-2.0"
] | 13 | 2016-12-30T14:31:59.000Z | 2021-07-16T05:06:15.000Z | from .hulkEqParser import hmlEquation2latex as eq2latex
from .hmlParser import parseHml as parseHmlSample
from .hmlParser import convertEquation as convertEquationSample
from .hmlParser import extract2HtmlStr as extract2HtmlStrSample
| 46.8 | 63 | 0.880342 | 24 | 234 | 8.583333 | 0.541667 | 0.18932 | 0.276699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.102564 | 234 | 4 | 64 | 58.5 | 0.961905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e41e87421266dad101886f985087417035946c92 | 158 | py | Python | tests/__init__.py | eliotayache/1D_RHD_python | 23e1fcbc755160af35d4446583f537d5470a185e | [
"BSD-2-Clause"
] | null | null | null | tests/__init__.py | eliotayache/1D_RHD_python | 23e1fcbc755160af35d4446583f537d5470a185e | [
"BSD-2-Clause"
] | null | null | null | tests/__init__.py | eliotayache/1D_RHD_python | 23e1fcbc755160af35d4446583f537d5470a185e | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author: Eliot Ayache
# @Date: 2020-02-27 16:40:04
# @Last Modified by: Eliot Ayache
# @Last Modified time: 2020-02-27 17:04:27
| 26.333333 | 42 | 0.632911 | 27 | 158 | 3.703704 | 0.666667 | 0.22 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224806 | 0.183544 | 158 | 5 | 43 | 31.6 | 0.550388 | 0.93038 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e46e1ef22022e04610c2f5dd976f3640841d24a9 | 42 | py | Python | cleanrl/models/deq/mon/__init__.py | NNHieu/cleanrl | 6869080f6ec53612734a9f592fc9872bb485f6d3 | [
"MIT"
] | null | null | null | cleanrl/models/deq/mon/__init__.py | NNHieu/cleanrl | 6869080f6ec53612734a9f592fc9872bb485f6d3 | [
"MIT"
] | null | null | null | cleanrl/models/deq/mon/__init__.py | NNHieu/cleanrl | 6869080f6ec53612734a9f592fc9872bb485f6d3 | [
"MIT"
] | null | null | null | from . import mon, splitting, utils, train | 42 | 42 | 0.761905 | 6 | 42 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 1 | 42 | 42 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e47376c4a50e1b886beb61d764ecef9b03a5c988 | 112,495 | py | Python | wallpapers.py | YOULOF2/Galactika | de1964ae0643590b614d7d8ee721d69926bb1075 | [
"MIT"
] | 1 | 2021-03-25T10:43:55.000Z | 2021-03-25T10:43:55.000Z | wallpapers.py | YOULOF2/Galactika | de1964ae0643590b614d7d8ee721d69926bb1075 | [
"MIT"
] | null | null | null | wallpapers.py | YOULOF2/Galactika | de1964ae0643590b614d7d8ee721d69926bb1075 | [
"MIT"
] | null | null | null | WALLPAPERS = [
{
"id": "E0AHdsENmDg",
"created_at": "2016-06-01T13:39:24-04:00",
"updated_at": "2021-03-16T13:00:41-04:00",
"promoted_at": "2016-06-01T13:39:24-04:00",
"width": 5005,
"height": 3417,
"color": "#0c2659",
"blur_hash": "LF7U[HofDg... | 61.776496 | 433 | 0.485524 | 10,401 | 112,495 | 5.191712 | 0.067782 | 0.08515 | 0.061927 | 0.071705 | 0.897517 | 0.888146 | 0.855405 | 0.804145 | 0.785774 | 0.780107 | 0 | 0.107512 | 0.377403 | 112,495 | 1,820 | 434 | 61.81044 | 0.663416 | 0 | 0 | 0.634518 | 0 | 0.104907 | 0.562069 | 0.03026 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
e48961baf6b735b55851791d151fcab48aa29cc4 | 4,478 | py | Python | test-framework/test-suites/integration/tests/remove/test_remove_storage_controller.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | 123 | 2015-05-12T23:36:45.000Z | 2017-07-05T23:26:57.000Z | test-framework/test-suites/integration/tests/remove/test_remove_storage_controller.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | 177 | 2015-06-05T19:17:47.000Z | 2017-07-07T17:57:24.000Z | test-framework/test-suites/integration/tests/remove/test_remove_storage_controller.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | 32 | 2015-06-07T02:25:03.000Z | 2017-06-23T07:35:35.000Z | import json
from textwrap import dedent
class TestRemoveStorageController:
def test_invalid_adapter(self, host):
result = host.run('stack remove storage controller slot=* adapter=test')
assert result.rc == 255
assert result.stderr == dedent('''\
error - "adapter" parameter must be an integer
{slot=intege... | 28.705128 | 83 | 0.65699 | 573 | 4,478 | 5.08726 | 0.13089 | 0.111149 | 0.075815 | 0.104974 | 0.93036 | 0.915609 | 0.910806 | 0.893654 | 0.826758 | 0.826758 | 0 | 0.020516 | 0.194506 | 4,478 | 155 | 84 | 28.890323 | 0.787635 | 0.036177 | 0 | 0.612403 | 0 | 0 | 0.454841 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 1 | 0.085271 | false | 0 | 0.015504 | 0 | 0.108527 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90048456228a73e40f59fab08c51b84e3307ade8 | 158 | py | Python | src/amuse/support/codes/lit.py | rknop/amuse | 85d5bdcc29cfc87dc69d91c264101fafd6658aec | [
"Apache-2.0"
] | 131 | 2015-06-04T09:06:57.000Z | 2022-02-01T12:11:29.000Z | src/amuse/support/codes/lit.py | rknop/amuse | 85d5bdcc29cfc87dc69d91c264101fafd6658aec | [
"Apache-2.0"
] | 690 | 2015-10-17T12:18:08.000Z | 2022-03-31T16:15:58.000Z | src/amuse/support/codes/lit.py | rieder/amuse | 3ac3b6b8f922643657279ddee5c8ab3fc0440d5e | [
"Apache-2.0"
] | 102 | 2015-01-22T10:00:29.000Z | 2022-02-09T13:29:43.000Z | import warnings
from amuse.support.literature import *
warnings.warn("amuse.support.codes.lit has moved to amuse.support.literature", DeprecationWarning)
| 19.75 | 98 | 0.810127 | 20 | 158 | 6.4 | 0.65 | 0.28125 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 158 | 7 | 99 | 22.571429 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0.391026 | 0.301282 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
902c2a922c94f6be97590a31c747cad9cdb4108e | 128,642 | py | Python | data/tests_api.py | Duke-GCB/bespin-api | cea5c20fb2ff592adabe6ebb7ca934939aa11a34 | [
"MIT"
] | null | null | null | data/tests_api.py | Duke-GCB/bespin-api | cea5c20fb2ff592adabe6ebb7ca934939aa11a34 | [
"MIT"
] | 137 | 2016-12-09T18:59:45.000Z | 2021-06-10T18:55:47.000Z | data/tests_api.py | Duke-GCB/bespin-api | cea5c20fb2ff592adabe6ebb7ca934939aa11a34 | [
"MIT"
] | 3 | 2017-11-14T16:05:58.000Z | 2018-12-28T18:07:43.000Z | from django.contrib.auth.models import User as django_user
from django.core.urlresolvers import reverse, NoReverseMatch
from django.test import override_settings
from unittest.mock import MagicMock, patch, Mock
from rest_framework import status
from rest_framework.test import APITestCase
from rest_framework import ISO_... | 51.048413 | 138 | 0.601747 | 13,882 | 128,642 | 5.344403 | 0.044662 | 0.082085 | 0.070682 | 0.067623 | 0.846046 | 0.819668 | 0.792455 | 0.774878 | 0.754135 | 0.734523 | 0 | 0.014929 | 0.288724 | 128,642 | 2,519 | 139 | 51.068678 | 0.795902 | 0.015151 | 0 | 0.671319 | 0 | 0.005853 | 0.104502 | 0.018427 | 0 | 0 | 0 | 0 | 0.192256 | 1 | 0.073841 | false | 0.004052 | 0.014858 | 0.00045 | 0.103107 | 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 |
90317e50ce7af167bf42a36081924f6444b7ebe5 | 3,996 | py | Python | tests/stories/test_stories.py | LifeLaboratory/rosbank_backend | b19aed99b7084c14f0827933b7f28d6e51de92bd | [
"MIT"
] | 2 | 2019-12-06T23:22:33.000Z | 2019-12-08T07:18:31.000Z | tests/stories/test_stories.py | LifeLaboratory/rosbank_backend | b19aed99b7084c14f0827933b7f28d6e51de92bd | [
"MIT"
] | 56 | 2019-12-06T17:54:07.000Z | 2019-12-08T04:55:24.000Z | tests/stories/test_stories.py | LifeLaboratory/rosbank_backend | b19aed99b7084c14f0827933b7f28d6e51de92bd | [
"MIT"
] | 1 | 2019-12-08T05:04:46.000Z | 2019-12-08T05:04:46.000Z | import unittest
import app.api.base.base_name as names
import requests as req
from app.config.config import HOST
class TestStories(unittest.TestCase):
"""
Тестирование взаимодействия с api сторис
"""
def test_stories(self):
d = {
names.ID_STORIES: 11,
names.ID_PROFILE: ... | 29.382353 | 87 | 0.540541 | 497 | 3,996 | 4.207243 | 0.138833 | 0.057389 | 0.080344 | 0.080344 | 0.86418 | 0.830225 | 0.800574 | 0.773792 | 0.773792 | 0.773792 | 0 | 0.040663 | 0.335335 | 3,996 | 135 | 88 | 29.6 | 0.746611 | 0.01001 | 0 | 0.617391 | 0 | 0 | 0.100254 | 0.018782 | 0 | 0 | 0 | 0 | 0.208696 | 1 | 0.104348 | false | 0 | 0.034783 | 0 | 0.147826 | 0.104348 | 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 |
9032fb782818639a82ee4b6c7010265a632324c5 | 28 | py | Python | 10/1 - Cubism.py | Surferlul/csc-python-solutions | bea99e5e1e344d17fb2cb29d8bcbc6b108e24cee | [
"MIT"
] | null | null | null | 10/1 - Cubism.py | Surferlul/csc-python-solutions | bea99e5e1e344d17fb2cb29d8bcbc6b108e24cee | [
"MIT"
] | null | null | null | 10/1 - Cubism.py | Surferlul/csc-python-solutions | bea99e5e1e344d17fb2cb29d8bcbc6b108e24cee | [
"MIT"
] | null | null | null | def cube(n):
return n**3
| 9.333333 | 14 | 0.571429 | 6 | 28 | 2.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.25 | 28 | 2 | 15 | 14 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9044c21ddf8c1fcc0ffe4a2c9937324531c0890a | 16,726 | py | Python | tests/test_fixtures.py | crashvb/pytest-docker-registry-fixtures | aab57393f8478982751da140e259eb4bf81869a7 | [
"Apache-2.0"
] | null | null | null | tests/test_fixtures.py | crashvb/pytest-docker-registry-fixtures | aab57393f8478982751da140e259eb4bf81869a7 | [
"Apache-2.0"
] | 1 | 2021-02-17T04:23:09.000Z | 2021-02-17T04:29:22.000Z | tests/test_fixtures.py | crashvb/pytest-docker-registry-fixtures | aab57393f8478982751da140e259eb4bf81869a7 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# pylint: disable=redefined-outer-name
"""pytest fixture tests."""
import logging
from base64 import b64decode
from pathlib import Path
from ssl import SSLContext
from typing import Dict, List
import pytest
import requests
from docker import DockerClient
from requests.exceptions import SSLEr... | 37.671171 | 118 | 0.725099 | 2,207 | 16,726 | 5.192116 | 0.083371 | 0.193036 | 0.061087 | 0.020944 | 0.88437 | 0.818571 | 0.759229 | 0.700759 | 0.686011 | 0.656515 | 0 | 0.010207 | 0.185818 | 16,726 | 443 | 119 | 37.756208 | 0.831253 | 0.136195 | 0 | 0.445902 | 0 | 0 | 0.116631 | 0.009375 | 0 | 0 | 0 | 0 | 0.304918 | 1 | 0.081967 | false | 0.081967 | 0.032787 | 0 | 0.121311 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
90476fae1049d9dbc3eb5cbe2479a3cfce18e887 | 12,942 | py | Python | femtolytics/tests/api/action.py | femtolytics/django-femtolytics | 13cbe24703853b9741409f4950ac08798c221f19 | [
"BSD-2-Clause"
] | 3 | 2020-09-20T12:47:15.000Z | 2020-10-25T01:26:26.000Z | femtolytics/tests/api/action.py | femtolytics/django-femtolytics | 13cbe24703853b9741409f4950ac08798c221f19 | [
"BSD-2-Clause"
] | null | null | null | femtolytics/tests/api/action.py | femtolytics/django-femtolytics | 13cbe24703853b9741409f4950ac08798c221f19 | [
"BSD-2-Clause"
] | null | null | null | import json
import uuid
from datetime import timedelta
from django.contrib.auth import get_user_model
from django.test import Client, TestCase
from django.urls import reverse
from django.utils import timezone
from femtolytics.models import App, Activity, Session, Visitor
User = get_user_model()
class ActionApiTestCa... | 34.420213 | 82 | 0.394298 | 959 | 12,942 | 5.175182 | 0.103233 | 0.047149 | 0.012089 | 0.070925 | 0.831151 | 0.810397 | 0.798912 | 0.783599 | 0.773726 | 0.763651 | 0 | 0.02158 | 0.484392 | 12,942 | 375 | 83 | 34.512 | 0.722164 | 0.004791 | 0 | 0.611429 | 0 | 0 | 0.144044 | 0.028964 | 0 | 0 | 0 | 0 | 0.057143 | 1 | 0.045714 | false | 0.002857 | 0.022857 | 0 | 0.071429 | 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 |
5f77cb1e319668af5f0b22bdf8029aa891e86f61 | 6,674 | py | Python | skforecast/ForecasterAutoregCustom/tests/test_get_feature_importances.py | JavierEscobarOrtiz/skforecast | a3af4a1dd4201c582f159d4e3a1734ed6d29b6c5 | [
"MIT"
] | 1 | 2021-12-01T09:21:21.000Z | 2021-12-01T09:21:21.000Z | skforecast/ForecasterAutoregCustom/tests/test_get_feature_importances.py | JavierEscobarOrtiz/skforecast | a3af4a1dd4201c582f159d4e3a1734ed6d29b6c5 | [
"MIT"
] | null | null | null | skforecast/ForecasterAutoregCustom/tests/test_get_feature_importances.py | JavierEscobarOrtiz/skforecast | a3af4a1dd4201c582f159d4e3a1734ed6d29b6c5 | [
"MIT"
] | null | null | null | # Unit test get_feature_importance ForecasterAutoregCustom
# ==============================================================================
from pytest import approx
import numpy as np
import pandas as pd
from skforecast.ForecasterAutoregCustom import ForecasterAutoregCustom
from sklearn.pipeline import make_pipeline
f... | 46.027586 | 116 | 0.615823 | 711 | 6,674 | 5.533052 | 0.150492 | 0.095323 | 0.096594 | 0.065074 | 0.801474 | 0.792069 | 0.792069 | 0.782664 | 0.778088 | 0.736909 | 0 | 0.043777 | 0.281241 | 6,674 | 145 | 117 | 46.027586 | 0.776319 | 0.201678 | 0 | 0.639175 | 0 | 0 | 0.107294 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 1 | 0.072165 | false | 0 | 0.268041 | 0 | 0.350515 | 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 |
5fd2e9cf2485d6d7466253376b68c5c626205f39 | 79 | py | Python | rofm/classes/util/__init__.py | PurelyApplied/roll_one_for_me | 1130d6bb29db4795f3ef84ea0540e94290b6e58d | [
"Apache-2.0"
] | 13 | 2016-05-10T22:11:46.000Z | 2019-02-15T03:44:01.000Z | rofm/classes/util/__init__.py | PurelyApplied/roll_one_for_me | 1130d6bb29db4795f3ef84ea0540e94290b6e58d | [
"Apache-2.0"
] | 6 | 2017-07-06T22:13:18.000Z | 2017-07-07T18:18:12.000Z | rofm/classes/util/__init__.py | PurelyApplied/roll_one_for_me | 1130d6bb29db4795f3ef84ea0540e94290b6e58d | [
"Apache-2.0"
] | 10 | 2016-02-10T20:23:51.000Z | 2022-03-25T14:06:05.000Z | from . import configuration
from . import decorators
from . import interactive
| 19.75 | 27 | 0.810127 | 9 | 79 | 7.111111 | 0.555556 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 3 | 28 | 26.333333 | 0.955224 | 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 |
396fb65c79e163d8e33ed944b8c8d5f0c5fcd9c3 | 5,568 | py | Python | ContinuousRegistration/Source/metrics.py | deaspo/SuperElastix | 4e917e974237342e0b761ab59cb11d3352e243fb | [
"Apache-2.0"
] | null | null | null | ContinuousRegistration/Source/metrics.py | deaspo/SuperElastix | 4e917e974237342e0b761ab59cb11d3352e243fb | [
"Apache-2.0"
] | null | null | null | ContinuousRegistration/Source/metrics.py | deaspo/SuperElastix | 4e917e974237342e0b761ab59cb11d3352e243fb | [
"Apache-2.0"
] | null | null | null | import numpy as np
import SimpleITK as sitk
from ContinuousRegistration.Source.util import warp_image, warp_point_set
from ContinuousRegistration.Source.util import logging
labelOverlapMeasurer = sitk.LabelOverlapMeasuresImageFilter()
labelOverlapMeasurer.SetGlobalDefaultCoordinateTolerance(1)
def tre(superelastix, p... | 54.588235 | 141 | 0.738326 | 797 | 5,568 | 4.754078 | 0.077792 | 0.085511 | 0.116126 | 0.145157 | 0.889153 | 0.864608 | 0.855899 | 0.804962 | 0.759039 | 0.698865 | 0 | 0.028517 | 0.149784 | 5,568 | 101 | 142 | 55.128713 | 0.771863 | 0 | 0 | 0.463415 | 0 | 0 | 0.112249 | 0.037716 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060976 | false | 0 | 0.04878 | 0 | 0.256098 | 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 |
39ce4c27504646326d6db46d71591af4d1efd84a | 147 | py | Python | scaelum/dataset/__init__.py | fedorados/SkyComputing | a626a62de9505db7397a2c5096010089dba1d0d5 | [
"Apache-2.0"
] | 53 | 2022-02-25T03:11:03.000Z | 2022-03-23T01:01:24.000Z | scaelum/dataset/__init__.py | fedorados/SkyComputing | a626a62de9505db7397a2c5096010089dba1d0d5 | [
"Apache-2.0"
] | 1 | 2022-02-28T16:53:01.000Z | 2022-02-28T16:53:01.000Z | scaelum/dataset/__init__.py | fedorados/SkyComputing | a626a62de9505db7397a2c5096010089dba1d0d5 | [
"Apache-2.0"
] | 15 | 2022-02-25T03:07:21.000Z | 2022-03-03T02:55:59.000Z | from .bert_dataset import GlueDataset
from .data_generator import BaseGenerator, DataloaderGenerator, RandomTensorGenerator
from .dataset import *
| 36.75 | 85 | 0.863946 | 15 | 147 | 8.333333 | 0.666667 | 0.208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 147 | 3 | 86 | 49 | 0.93985 | 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 |
39e2cd333fc2509226f0a873c6c7a853f3f3ff92 | 39 | py | Python | winter/data/__init__.py | DmitryKhursevich/winter | 9f3bf462f963059bab1f1bbb309ca57f8a43b46f | [
"MIT"
] | 9 | 2019-01-24T11:50:19.000Z | 2019-07-05T07:58:46.000Z | winter/data/__init__.py | mikhaillazko/winter | cd4f11aaf28d500aabb59cec369817bfdb5c2fc1 | [
"MIT"
] | 100 | 2019-01-29T08:11:38.000Z | 2020-04-03T12:00:42.000Z | winter/data/__init__.py | mikhaillazko/winter | cd4f11aaf28d500aabb59cec369817bfdb5c2fc1 | [
"MIT"
] | 8 | 2020-07-16T13:56:50.000Z | 2021-12-27T03:33:23.000Z | from .repository import CRUDRepository
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39f0c2e634d5a38a597a53d3667f378d65a5ba6f | 32 | py | Python | Basic Programs/Hello.py | PrajaktaSathe/HacktoberFest2020 | e84fc7a513afe3dd75c7c28db1866d7f5e6a8147 | [
"MIT"
] | null | null | null | Basic Programs/Hello.py | PrajaktaSathe/HacktoberFest2020 | e84fc7a513afe3dd75c7c28db1866d7f5e6a8147 | [
"MIT"
] | null | null | null | Basic Programs/Hello.py | PrajaktaSathe/HacktoberFest2020 | e84fc7a513afe3dd75c7c28db1866d7f5e6a8147 | [
"MIT"
] | null | null | null | print("Hello world I am Ayush")
| 16 | 31 | 0.71875 | 6 | 32 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
840817043ddd3b622ff772dd7eb2a5577f19b051 | 23 | py | Python | __main__.py | ronanbastos/pykidgui | 5a3890a5d4d395a3b3df2983d36471db45fcca04 | [
"MIT"
] | null | null | null | __main__.py | ronanbastos/pykidgui | 5a3890a5d4d395a3b3df2983d36471db45fcca04 | [
"MIT"
] | null | null | null | __main__.py | ronanbastos/pykidgui | 5a3890a5d4d395a3b3df2983d36471db45fcca04 | [
"MIT"
] | null | null | null | import pykidgui as pk
| 7.666667 | 21 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
84388a5a49ba2779bb5218e2ed4514590f4beaf1 | 149 | py | Python | storage_provider/__init__.py | keesvv/python-dependency-injection | 0aa038e11f4290b3f6b06fcb9b261a991b394060 | [
"CNRI-Python"
] | null | null | null | storage_provider/__init__.py | keesvv/python-dependency-injection | 0aa038e11f4290b3f6b06fcb9b261a991b394060 | [
"CNRI-Python"
] | null | null | null | storage_provider/__init__.py | keesvv/python-dependency-injection | 0aa038e11f4290b3f6b06fcb9b261a991b394060 | [
"CNRI-Python"
] | null | null | null | from .StorageProvider import StorageProvider
from .FSStorageProvider import FSStorageProvider
from .RedisStorageProvider import RedisStorageProvider
| 37.25 | 54 | 0.899329 | 12 | 149 | 11.166667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080537 | 149 | 3 | 55 | 49.666667 | 0.978102 | 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 |
8450f34a93dbb4696a2df5687b1a983160f2907c | 80 | py | Python | forecast/test.py | osantana-archive/forecast | f3dc9b6876fe5ef3f6bb485f6a5ddfc93c70161c | [
"MIT"
] | 1 | 2017-08-11T19:58:26.000Z | 2017-08-11T19:58:26.000Z | forecast/test.py | osantana-archive/forecast | f3dc9b6876fe5ef3f6bb485f6a5ddfc93c70161c | [
"MIT"
] | null | null | null | forecast/test.py | osantana-archive/forecast | f3dc9b6876fe5ef3f6bb485f6a5ddfc93c70161c | [
"MIT"
] | null | null | null | # coding: utf-8
import unittest
class TestCase(unittest.TestCase):
pass
| 8.888889 | 34 | 0.7125 | 10 | 80 | 5.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.2 | 80 | 8 | 35 | 10 | 0.875 | 0.1625 | 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 |
fff082fa2235579dde0283786e3beebcc2d11496 | 3,296 | py | Python | eoncloud_web/biz/network/serializer.py | eoncloud-dev/eoncloud_web | e671ee49cb8822edad3351d0e9feaf80c6bf5467 | [
"Apache-2.0"
] | 10 | 2015-06-17T11:15:53.000Z | 2021-08-19T22:04:25.000Z | eoncloud_web/biz/network/serializer.py | eoncloud-dev/eoncloud_web | e671ee49cb8822edad3351d0e9feaf80c6bf5467 | [
"Apache-2.0"
] | 25 | 2015-06-24T03:31:18.000Z | 2015-09-28T02:11:51.000Z | eoncloud_web/biz/network/serializer.py | eoncloud-dev/eoncloud_web | e671ee49cb8822edad3351d0e9feaf80c6bf5467 | [
"Apache-2.0"
] | 7 | 2015-06-17T10:44:33.000Z | 2018-03-01T15:30:29.000Z | #-*-coding-utf-8-*-
from django.contrib.auth.models import User
from rest_framework import serializers
from biz.idc.models import UserDataCenter
from biz.network.models import Network,Subnet,Router, RouterInterface
class NetworkSerializer(serializers.ModelSerializer):
user = serializers.PrimaryKeyRelatedField(q... | 43.946667 | 143 | 0.70449 | 362 | 3,296 | 6.29558 | 0.187845 | 0.068451 | 0.094778 | 0.11584 | 0.797718 | 0.797718 | 0.797718 | 0.781483 | 0.781483 | 0.781483 | 0 | 0.000374 | 0.18841 | 3,296 | 74 | 144 | 44.540541 | 0.851589 | 0.005461 | 0 | 0.555556 | 0 | 0 | 0.03845 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.074074 | 0 | 0.703704 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
fff63f44525e2512e48125b0bb7a7406da1f9196 | 94 | py | Python | avatar/vqa/dummy_model.py | potsdam-language-vision-2021/eyebot-1.0 | dd2f618a8357ef16c497d06b8b19ab38d628645a | [
"MIT"
] | null | null | null | avatar/vqa/dummy_model.py | potsdam-language-vision-2021/eyebot-1.0 | dd2f618a8357ef16c497d06b8b19ab38d628645a | [
"MIT"
] | null | null | null | avatar/vqa/dummy_model.py | potsdam-language-vision-2021/eyebot-1.0 | dd2f618a8357ef16c497d06b8b19ab38d628645a | [
"MIT"
] | null | null | null | class DummyVQA:
def generate_response(self, image, question):
return "I dont know" | 31.333333 | 49 | 0.691489 | 12 | 94 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223404 | 94 | 3 | 50 | 31.333333 | 0.876712 | 0 | 0 | 0 | 1 | 0 | 0.115789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4b8b776c0e39d122f0b9ef9cb035be9f6eb6a84b | 162 | py | Python | Server/src/test.py | heartcase/ECE4564F17T6 | 98a3c548c1787b74ed50004451a82635fb3e05fe | [
"MIT"
] | null | null | null | Server/src/test.py | heartcase/ECE4564F17T6 | 98a3c548c1787b74ed50004451a82635fb3e05fe | [
"MIT"
] | null | null | null | Server/src/test.py | heartcase/ECE4564F17T6 | 98a3c548c1787b74ed50004451a82635fb3e05fe | [
"MIT"
] | null | null | null | from package_factory import *
client.drop_database('ECE4564')
new_user()
new_user()
new_user()
new_user()
new_spot()
new_spot()
new_spot()
new_spot()
new_spot()
| 12.461538 | 31 | 0.759259 | 26 | 162 | 4.307692 | 0.423077 | 0.3125 | 0.357143 | 0.5 | 0.5625 | 0.5625 | 0.5625 | 0.3125 | 0 | 0 | 0 | 0.027211 | 0.092593 | 162 | 12 | 32 | 13.5 | 0.734694 | 0 | 0 | 0.818182 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4bb4f87ce1c59a5f83efeb83d7f2d3a6599cd2f2 | 28 | py | Python | nakamapy/__init__.py | JeromeK13/nakamapy | 80eb664f4059474b5de946f23d4450800ef0c861 | [
"Apache-2.0"
] | 2 | 2021-01-26T00:20:45.000Z | 2022-03-23T08:24:39.000Z | nakamapy/__init__.py | JeromeK13/nakamapy | 80eb664f4059474b5de946f23d4450800ef0c861 | [
"Apache-2.0"
] | null | null | null | nakamapy/__init__.py | JeromeK13/nakamapy | 80eb664f4059474b5de946f23d4450800ef0c861 | [
"Apache-2.0"
] | null | null | null | from ._nakama import Nakama
| 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29af8aaffc39c939356e11c0e36eab5b879a2b29 | 12,163 | py | Python | tests/unit/test_charm.py | canonical/prometheus-scrape-config-operator | 5e67830cdb2ce8d1cd466a1bb117de4287ce3ad9 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_charm.py | canonical/prometheus-scrape-config-operator | 5e67830cdb2ce8d1cd466a1bb117de4287ce3ad9 | [
"Apache-2.0"
] | 2 | 2021-12-08T14:36:04.000Z | 2022-01-31T19:54:42.000Z | tests/unit/test_charm.py | canonical/prometheus-scrape-config-k8s-operator | fc8eafae1d9cd3e7315e298d7e167ff4b2c8eb37 | [
"Apache-2.0"
] | 1 | 2021-09-16T10:27:55.000Z | 2021-09-16T10:27:55.000Z | # Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
#
# Learn more about testing at: https://juju.is/docs/sdk/testing
import json
import typing
import unittest
from ops.model import ActiveStatus, BlockedStatus, WaitingStatus
from ops.testing import Harness
from charm import PrometheusScrapeConf... | 35.460641 | 98 | 0.552742 | 1,200 | 12,163 | 5.345833 | 0.125 | 0.12689 | 0.063289 | 0.099454 | 0.850351 | 0.833827 | 0.804677 | 0.780982 | 0.775994 | 0.769135 | 0 | 0.015818 | 0.334704 | 12,163 | 342 | 99 | 35.564327 | 0.77694 | 0.078599 | 0 | 0.556777 | 0 | 0 | 0.169955 | 0.01722 | 0 | 0 | 0 | 0 | 0.054945 | 1 | 0.040293 | false | 0 | 0.021978 | 0 | 0.065934 | 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 |
29c25ad31c1d593f8baefd7f195598ca344d8a20 | 3,024 | py | Python | tests/test_client_contests.py | bmjjr/draftkings_client | 1e3d0362f0f1860a355482cf65bfa9f0b579ee2b | [
"MIT"
] | null | null | null | tests/test_client_contests.py | bmjjr/draftkings_client | 1e3d0362f0f1860a355482cf65bfa9f0b579ee2b | [
"MIT"
] | null | null | null | tests/test_client_contests.py | bmjjr/draftkings_client | 1e3d0362f0f1860a355482cf65bfa9f0b579ee2b | [
"MIT"
] | null | null | null | from unittest import TestCase
from draft_kings.data import Sport
from draft_kings import client
class TestClientContests(TestCase):
def test_nba_contests(self):
result = client.contests(Sport.NBA)
self.assertIsNotNone(result)
self.assertIsNotNone(result["contests"])
self.assertIsN... | 36 | 61 | 0.692791 | 303 | 3,024 | 6.782178 | 0.125413 | 0.360584 | 0.474453 | 0.151825 | 0.871046 | 0.871046 | 0.690998 | 0.620438 | 0.620438 | 0.620438 | 0 | 0 | 0.198413 | 3,024 | 84 | 62 | 36 | 0.847772 | 0 | 0 | 0.565217 | 0 | 0 | 0.060165 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 1 | 0.188406 | false | 0 | 0.043478 | 0 | 0.246377 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9b09ebee8a318f89e298b85c1f00aedc6ddd230 | 29,284 | py | Python | core/storage/question/gae_models_test.py | tianqi-wu/oppia | 8047cddf898cb3efd3ad218a5ee4300d9c07cbd7 | [
"Apache-2.0"
] | null | null | null | core/storage/question/gae_models_test.py | tianqi-wu/oppia | 8047cddf898cb3efd3ad218a5ee4300d9c07cbd7 | [
"Apache-2.0"
] | null | null | null | core/storage/question/gae_models_test.py | tianqi-wu/oppia | 8047cddf898cb3efd3ad218a5ee4300d9c07cbd7 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 The Oppia Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | 43.255539 | 121 | 0.663707 | 2,992 | 29,284 | 6.07988 | 0.087233 | 0.081579 | 0.160299 | 0.113133 | 0.838272 | 0.807872 | 0.792755 | 0.764994 | 0.720631 | 0.704359 | 0 | 0.022159 | 0.260279 | 29,284 | 676 | 122 | 43.319527 | 0.817607 | 0.049481 | 0 | 0.602058 | 0 | 0 | 0.067888 | 0 | 0 | 0 | 0 | 0 | 0.116638 | 1 | 0.056604 | false | 0 | 0.022298 | 0.003431 | 0.096055 | 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 |
8a0c09e9ea39dbb445bb4d501d7e36deb2e27ed5 | 24 | py | Python | examples/tuple/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/tuple/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/tuple/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | print(tuple([1, 2, 3]))
| 12 | 23 | 0.541667 | 5 | 24 | 2.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.125 | 24 | 1 | 24 | 24 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8a0c45e22d638d8496054f3a0c18466f4402361f | 104 | py | Python | lang/py/cookbook/v2/source/cb2_4_14_sol_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_4_14_sol_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_4_14_sol_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | from itertools import izip
def invert_dict_fast(d):
return dict(izip(d.itervalues(), d.iterkeys()))
| 26 | 51 | 0.740385 | 16 | 104 | 4.6875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 3 | 52 | 34.666667 | 0.824176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
8a8a6c9f3eda854292907bcd27045b3a6c7ba029 | 39,074 | py | Python | tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py | andravin/cupy | 833a38b5f797c9d44548847f17469117dc8856a4 | [
"MIT"
] | 1 | 2019-04-15T00:06:09.000Z | 2019-04-15T00:06:09.000Z | tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py | hephaex/cupy | 5cf50a93bbdebe825337ed7996c464e84b1495ba | [
"MIT"
] | 1 | 2019-08-05T09:36:13.000Z | 2019-08-06T12:03:01.000Z | tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py | hephaex/cupy | 5cf50a93bbdebe825337ed7996c464e84b1495ba | [
"MIT"
] | 1 | 2022-03-24T13:19:55.000Z | 2022-03-24T13:19:55.000Z | import unittest
import numpy
import pytest
try:
import scipy.sparse
scipy_available = True
except ImportError:
scipy_available = False
import cupy
from cupy import testing
from cupyx.scipy import sparse
def _make(xp, sp, dtype):
data = xp.array([0, 1, 2, 3], dtype)
indices = xp.array([0, 1, 3, 2... | 33.713546 | 79 | 0.616087 | 5,870 | 39,074 | 3.911925 | 0.045315 | 0.048077 | 0.094064 | 0.074729 | 0.845099 | 0.814223 | 0.794931 | 0.775247 | 0.753996 | 0.714018 | 0 | 0.021667 | 0.234606 | 39,074 | 1,158 | 80 | 33.74266 | 0.746146 | 0.012771 | 0 | 0.512009 | 0 | 0 | 0.024597 | 0 | 0 | 0 | 0 | 0.000864 | 0.112445 | 1 | 0.189956 | false | 0 | 0.008734 | 0.021834 | 0.317686 | 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 |
8a9b831c32d8fbba045772ad9dece254442d6b50 | 20,110 | py | Python | test/api/drawing/test_drawing_objects.py | aspose-words-cloud/aspose-words-cloud-python | 65c7b55fa4aac69b60d41e7f54aed231df285479 | [
"MIT"
] | 14 | 2018-07-15T17:01:52.000Z | 2018-11-29T06:15:33.000Z | test/api/drawing/test_drawing_objects.py | aspose-words-cloud/aspose-words-cloud-python | 65c7b55fa4aac69b60d41e7f54aed231df285479 | [
"MIT"
] | 1 | 2018-09-28T12:59:34.000Z | 2019-10-08T08:42:59.000Z | test/api/drawing/test_drawing_objects.py | aspose-words-cloud/aspose-words-cloud-python | 65c7b55fa4aac69b60d41e7f54aed231df285479 | [
"MIT"
] | 2 | 2020-12-21T07:59:17.000Z | 2022-02-16T21:41:25.000Z | # -----------------------------------------------------------------------------------
# <copyright company="Aspose" file="test_drawing_objects.py">
# Copyright (c) 2021 Aspose.Words for Cloud
# </copyright>
# <summary>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this softwar... | 49.777228 | 220 | 0.750472 | 2,407 | 20,110 | 5.956793 | 0.089323 | 0.073441 | 0.053564 | 0.029293 | 0.855001 | 0.840354 | 0.834565 | 0.822221 | 0.79237 | 0.789162 | 0 | 0.002759 | 0.152859 | 20,110 | 403 | 221 | 49.900744 | 0.838871 | 0.13098 | 0 | 0.591623 | 0 | 0 | 0.159655 | 0.121842 | 0 | 0 | 0 | 0 | 0.115183 | 1 | 0.125654 | false | 0 | 0.020942 | 0 | 0.151832 | 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 |
8aa7a8b585807284bb2d31773f584a26232876ad | 14,625 | py | Python | sdk/python/pulumi_kubernetes/authorization/v1beta1/_inputs.py | polivbr/pulumi-kubernetes | 36a5fb34240a38a60b52a5f4e55e66e248d9305f | [
"Apache-2.0"
] | 277 | 2018-06-18T14:57:09.000Z | 2022-03-29T04:05:06.000Z | sdk/python/pulumi_kubernetes/authorization/v1beta1/_inputs.py | polivbr/pulumi-kubernetes | 36a5fb34240a38a60b52a5f4e55e66e248d9305f | [
"Apache-2.0"
] | 1,447 | 2018-06-20T00:58:34.000Z | 2022-03-31T21:28:43.000Z | sdk/python/pulumi_kubernetes/authorization/v1beta1/_inputs.py | polivbr/pulumi-kubernetes | 36a5fb34240a38a60b52a5f4e55e66e248d9305f | [
"Apache-2.0"
] | 95 | 2018-06-30T03:30:05.000Z | 2022-03-29T04:05:09.000Z | # coding=utf-8
# *** WARNING: this file was generated by pulumigen. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
__all__ = [
'... | 42.268786 | 388 | 0.662564 | 1,661 | 14,625 | 5.724262 | 0.095123 | 0.102966 | 0.082457 | 0.083298 | 0.854754 | 0.793437 | 0.719079 | 0.702987 | 0.690366 | 0.643037 | 0 | 0.000089 | 0.230291 | 14,625 | 345 | 389 | 42.391304 | 0.844541 | 0.326974 | 0 | 0.550725 | 1 | 0 | 0.108252 | 0.065082 | 0 | 0 | 0 | 0 | 0 | 1 | 0.198068 | false | 0 | 0.024155 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8ab28f4a53e8a96eebe8905e96643a2619994bf5 | 75,825 | py | Python | cli/tests/pcluster/api/controllers/test_cluster_operations_controller.py | francesco-giordano/aws-parallelcluster | a81d0e84c46dc6f620a0cfef17dfe20176da35fb | [
"Apache-2.0"
] | 279 | 2015-01-02T12:03:58.000Z | 2018-11-05T07:58:55.000Z | cli/tests/pcluster/api/controllers/test_cluster_operations_controller.py | francesco-giordano/aws-parallelcluster | a81d0e84c46dc6f620a0cfef17dfe20176da35fb | [
"Apache-2.0"
] | 383 | 2015-01-04T18:52:06.000Z | 2018-11-12T16:23:44.000Z | cli/tests/pcluster/api/controllers/test_cluster_operations_controller.py | francesco-giordano/aws-parallelcluster | a81d0e84c46dc6f620a0cfef17dfe20176da35fb | [
"Apache-2.0"
] | 127 | 2015-01-25T23:51:28.000Z | 2018-11-04T04:50:29.000Z | # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
# with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/
# or in the "LICENSE.txt" file accompa... | 41.753855 | 120 | 0.509476 | 6,111 | 75,825 | 6.106529 | 0.077238 | 0.016078 | 0.011067 | 0.014069 | 0.826433 | 0.794732 | 0.771177 | 0.741083 | 0.705925 | 0.663692 | 0 | 0.017153 | 0.374138 | 75,825 | 1,815 | 121 | 41.77686 | 0.769197 | 0.008427 | 0 | 0.648824 | 0 | 0.008235 | 0.280017 | 0.067789 | 0 | 0 | 0 | 0 | 0.049412 | 1 | 0.019412 | false | 0 | 0.01 | 0 | 0.042941 | 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 |
76dfa52ba5f645a4e28f6c31acc9df25d9f847d2 | 25,921 | py | Python | graph_gen.py | NicChoo96/Graph_Unweighted_Hospitals | c88d6e2caca4e1fdab0549a041ac9856266847fb | [
"MIT"
] | null | null | null | graph_gen.py | NicChoo96/Graph_Unweighted_Hospitals | c88d6e2caca4e1fdab0549a041ac9856266847fb | [
"MIT"
] | null | null | null | graph_gen.py | NicChoo96/Graph_Unweighted_Hospitals | c88d6e2caca4e1fdab0549a041ac9856266847fb | [
"MIT"
] | 1 | 2021-05-22T09:06:56.000Z | 2021-05-22T09:06:56.000Z | # -*- coding: utf-8 -*-
"""Pyrgg graph generators module."""
import random
import datetime
from params import *
from functions import *
# random_system=random.SystemRandom()
random_system = random
def dimacs_init(
file,
file_name,
min_weight,
max_weight,
vertices,
edge... | 26.612936 | 79 | 0.558235 | 3,192 | 25,921 | 4.349624 | 0.052005 | 0.062806 | 0.029242 | 0.036301 | 0.841832 | 0.82289 | 0.813166 | 0.798257 | 0.776865 | 0.76671 | 0 | 0.002769 | 0.345164 | 25,921 | 973 | 80 | 26.640288 | 0.815188 | 0.379499 | 0 | 0.679702 | 0 | 0.001862 | 0.07218 | 0.009143 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03352 | false | 0 | 0.007449 | 0 | 0.065177 | 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 |
76eff1dace28d12e45bb70699178b72652d14407 | 90 | py | Python | twitter_scraping/__main__.py | belph/twitter-scraping | 5b7757a68247fdbefc2c2b08409a7b9146cfff26 | [
"Apache-2.0",
"MIT"
] | null | null | null | twitter_scraping/__main__.py | belph/twitter-scraping | 5b7757a68247fdbefc2c2b08409a7b9146cfff26 | [
"Apache-2.0",
"MIT"
] | null | null | null | twitter_scraping/__main__.py | belph/twitter-scraping | 5b7757a68247fdbefc2c2b08409a7b9146cfff26 | [
"Apache-2.0",
"MIT"
] | null | null | null | import sys
from twitter_scraping.cli import twitter_scraping
sys.exit(twitter_scraping())
| 22.5 | 49 | 0.855556 | 13 | 90 | 5.692308 | 0.538462 | 0.608108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 90 | 3 | 50 | 30 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
0a0254343f56e4137bb54e4720d7a4dcd89763ce | 2,792 | py | Python | tests/bootstrap4_link/test_plugins.py | jpVm5jYYRE1VIKL/djangocms-bootstrap4 | d36a369af54850eddaa0299e5ae33ee5e78cf2b1 | [
"BSD-3-Clause"
] | 59 | 2017-09-28T17:13:38.000Z | 2020-09-22T02:55:47.000Z | tests/bootstrap4_link/test_plugins.py | jpVm5jYYRE1VIKL/djangocms-bootstrap4 | d36a369af54850eddaa0299e5ae33ee5e78cf2b1 | [
"BSD-3-Clause"
] | 102 | 2017-10-20T09:37:52.000Z | 2020-09-23T06:37:47.000Z | tests/bootstrap4_link/test_plugins.py | jpVm5jYYRE1VIKL/djangocms-bootstrap4 | d36a369af54850eddaa0299e5ae33ee5e78cf2b1 | [
"BSD-3-Clause"
] | 40 | 2017-12-29T20:05:40.000Z | 2020-09-21T08:33:48.000Z | from cms.api import add_plugin
from cms.test_utils.testcases import CMSTestCase
from djangocms_bootstrap4.contrib.bootstrap4_link.cms_plugins import (
Bootstrap4LinkPlugin,
)
from ..fixtures import B4TestFixture
class B4LinkPluginTestCase(B4TestFixture, CMSTestCase):
def test_plugin(self):
plugin =... | 34.9 | 78 | 0.639685 | 294 | 2,792 | 5.857143 | 0.221088 | 0.055749 | 0.037747 | 0.046458 | 0.761324 | 0.761324 | 0.761324 | 0.761324 | 0.761324 | 0.761324 | 0 | 0.010664 | 0.261103 | 2,792 | 79 | 79 | 35.341772 | 0.824043 | 0.030444 | 0 | 0.703125 | 0 | 0 | 0.08731 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.015625 | false | 0 | 0.0625 | 0 | 0.09375 | 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 |
0a0d0f7787336b05f79a372c44750f4cfedd48ef | 5,738 | py | Python | tests/test_outer_staticmethod.py | mgorny/wrapt | 264c06fd3850bd0cda6917ca3e87417b573e023f | [
"BSD-2-Clause"
] | 1,579 | 2015-01-01T09:30:58.000Z | 2022-03-31T18:58:00.000Z | tests/test_outer_staticmethod.py | mgorny/wrapt | 264c06fd3850bd0cda6917ca3e87417b573e023f | [
"BSD-2-Clause"
] | 174 | 2015-02-18T05:13:54.000Z | 2022-03-30T22:09:07.000Z | tests/test_outer_staticmethod.py | mgorny/wrapt | 264c06fd3850bd0cda6917ca3e87417b573e023f | [
"BSD-2-Clause"
] | 264 | 2015-01-23T07:46:46.000Z | 2022-03-10T22:53:48.000Z | from __future__ import print_function
import unittest
import inspect
import imp
import wrapt
from compat import PY2, PY3, exec_
DECORATORS_CODE = """
import wrapt
@wrapt.decorator
def passthru_decorator(wrapped, instance, args, kwargs):
return wrapped(*args, **kwargs)
"""
decorators = imp.new_module('decorato... | 30.849462 | 73 | 0.657895 | 583 | 5,738 | 6.108062 | 0.156089 | 0.050548 | 0.067397 | 0.074136 | 0.85285 | 0.821118 | 0.799214 | 0.776748 | 0.776748 | 0.776748 | 0 | 0.002354 | 0.259672 | 5,738 | 185 | 74 | 31.016216 | 0.835923 | 0.211049 | 0 | 0.5 | 0 | 0 | 0.034475 | 0.006005 | 0 | 0 | 0 | 0 | 0.178571 | 1 | 0.196429 | false | 0.035714 | 0.0625 | 0.035714 | 0.392857 | 0.008929 | 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 |
0a2e6bd448824e3c9bdad1be000147720c11ab13 | 46 | py | Python | level2scraper/Publishers/__init__.py | cryptassic/level2Scraper | 209ee769439c04f8db6e9ca941b89b6a1922a037 | [
"MIT"
] | null | null | null | level2scraper/Publishers/__init__.py | cryptassic/level2Scraper | 209ee769439c04f8db6e9ca941b89b6a1922a037 | [
"MIT"
] | null | null | null | level2scraper/Publishers/__init__.py | cryptassic/level2Scraper | 209ee769439c04f8db6e9ca941b89b6a1922a037 | [
"MIT"
] | null | null | null | from .DataStreamer import BitmexStream, Stream | 46 | 46 | 0.869565 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 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 |
0a69445a391b95cff3dc84d2ed2ace145a3d0af8 | 20 | py | Python | chalicelib/apps/cron/__init__.py | arthuralvim/chalice-app-template | d26e51504176269bd7b636c2ad9345e876618685 | [
"MIT"
] | null | null | null | chalicelib/apps/cron/__init__.py | arthuralvim/chalice-app-template | d26e51504176269bd7b636c2ad9345e876618685 | [
"MIT"
] | null | null | null | chalicelib/apps/cron/__init__.py | arthuralvim/chalice-app-template | d26e51504176269bd7b636c2ad9345e876618685 | [
"MIT"
] | null | null | null | from .cron import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a547787b1e3e31fc1cc759053cf5881f52f9257 | 33 | py | Python | aulaintro.py | GMKA1/aulaslpoo2sem21 | 6f9bdc56b278fb9cbed69e2459cf1c911ba56df8 | [
"MIT"
] | null | null | null | aulaintro.py | GMKA1/aulaslpoo2sem21 | 6f9bdc56b278fb9cbed69e2459cf1c911ba56df8 | [
"MIT"
] | null | null | null | aulaintro.py | GMKA1/aulaslpoo2sem21 | 6f9bdc56b278fb9cbed69e2459cf1c911ba56df8 | [
"MIT"
] | null | null | null | print('Olá Fiec! Eu sou Otávio')
| 16.5 | 32 | 0.69697 | 6 | 33 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6a7adbd5547b064db9bc2ffa27dfeb62e1d2472d | 2,050 | py | Python | tests/es_versions/test_nodes.py | billboggs/elasticsearch-HQ | c0b5756e1ecb92eb1c22f3d6190b86d52557bd9c | [
"Apache-2.0"
] | 2,026 | 2018-01-04T04:46:51.000Z | 2022-03-31T12:36:47.000Z | tests/es_versions/test_nodes.py | billboggs/elasticsearch-HQ | c0b5756e1ecb92eb1c22f3d6190b86d52557bd9c | [
"Apache-2.0"
] | 322 | 2018-01-04T02:05:55.000Z | 2022-03-23T07:01:03.000Z | tests/es_versions/test_nodes.py | billboggs/elasticsearch-HQ | c0b5756e1ecb92eb1c22f3d6190b86d52557bd9c | [
"Apache-2.0"
] | 315 | 2018-01-04T02:42:51.000Z | 2022-03-31T12:36:49.000Z | __author__ = 'royrusso'
import jmespath
import pytest
@pytest.mark.es_versions
def test_get_node_stats(fixture):
response = fixture.app.get('/api/nodes/%s/_stats' % fixture.cluster_name)
assert 200 == response.status_code
res = fixture.get_response_data(response)
assert fixture.has_all_keys(fixture... | 37.272727 | 120 | 0.703415 | 300 | 2,050 | 4.56 | 0.13 | 0.039474 | 0.046784 | 0.092105 | 0.956871 | 0.950292 | 0.922515 | 0.922515 | 0.900585 | 0.874269 | 0 | 0.014673 | 0.13561 | 2,050 | 54 | 121 | 37.962963 | 0.757336 | 0.005854 | 0 | 0.611111 | 0 | 0 | 0.100688 | 0.022102 | 0 | 0 | 0 | 0 | 0.277778 | 1 | 0.111111 | false | 0 | 0.055556 | 0 | 0.166667 | 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 |
6a9064b8a6e4b360529ecc0a9641c14bd8eecf12 | 12,264 | py | Python | moztrap/model/core/migrations/0002_auto__del_unique_productversion_product_version.py | yifanjiang/moztrap | 2130c7101b7596b19a2697ab5f1c745e93e7c95b | [
"BSD-2-Clause"
] | 1 | 2015-02-10T15:09:42.000Z | 2015-02-10T15:09:42.000Z | moztrap/model/core/migrations/0002_auto__del_unique_productversion_product_version.py | yifanjiang/moztrap | 2130c7101b7596b19a2697ab5f1c745e93e7c95b | [
"BSD-2-Clause"
] | null | null | null | moztrap/model/core/migrations/0002_auto__del_unique_productversion_product_version.py | yifanjiang/moztrap | 2130c7101b7596b19a2697ab5f1c745e93e7c95b | [
"BSD-2-Clause"
] | null | null | null | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Removing unique constraint on 'ProductVersion', fields ['product', 'version']
db.delete_unique('core_pro... | 88.230216 | 187 | 0.566862 | 1,282 | 12,264 | 5.316693 | 0.102964 | 0.099765 | 0.172535 | 0.246479 | 0.797389 | 0.797389 | 0.768339 | 0.743398 | 0.687207 | 0.611796 | 0 | 0.026154 | 0.176941 | 12,264 | 138 | 188 | 88.869565 | 0.649098 | 0.01378 | 0 | 0.309524 | 0 | 0 | 0.614755 | 0.315524 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015873 | false | 0.007937 | 0.031746 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a9683c448bfec21687282d21292b2004c8d102b | 1,624 | py | Python | pandagg/mapping.py | leonardbinet/pandagg | 5a5619e2190503da841e32782a4e55b35727d656 | [
"MIT"
] | null | null | null | pandagg/mapping.py | leonardbinet/pandagg | 5a5619e2190503da841e32782a4e55b35727d656 | [
"MIT"
] | null | null | null | pandagg/mapping.py | leonardbinet/pandagg | 5a5619e2190503da841e32782a4e55b35727d656 | [
"MIT"
] | null | null | null | from pandagg.interactive.mapping import Mapping, IMapping
from pandagg.node.mapping.field_datatypes import (
Text,
Keyword,
Long,
Integer,
Short,
Byte,
Double,
HalfFloat,
ScaledFloat,
Date,
DateNanos,
Boolean,
Binary,
IntegerRange,
Float,
FloatRange,
L... | 15.17757 | 57 | 0.554187 | 120 | 1,624 | 7.45 | 0.491667 | 0.036913 | 0.033557 | 0.049217 | 0.834452 | 0.834452 | 0.834452 | 0.834452 | 0.834452 | 0.724832 | 0 | 0.001795 | 0.314039 | 1,624 | 106 | 58 | 15.320755 | 0.800718 | 0 | 0 | 0 | 0 | 0 | 0.238916 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.028571 | 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 |
6aa21b563130dcb7d6c33dd7d05d390a780e25df | 9,305 | py | Python | tests/decorator/test_exception_interception.py | lahsuk/sanic-cors | eed701baaaa45ca7b2a475547e7ff46c8f5e3f5b | [
"MIT"
] | 160 | 2017-01-06T01:23:27.000Z | 2022-03-07T08:49:08.000Z | tests/decorator/test_exception_interception.py | lahsuk/sanic-cors | eed701baaaa45ca7b2a475547e7ff46c8f5e3f5b | [
"MIT"
] | 54 | 2017-01-30T04:49:35.000Z | 2022-01-30T14:55:38.000Z | tests/decorator/test_exception_interception.py | ashleysommer/sanic-cors | 2d4f40b851c20fed624e4e6de6005526929210f9 | [
"MIT"
] | 31 | 2017-03-30T16:23:05.000Z | 2022-02-04T18:02:49.000Z | # -*- coding: utf-8 -*-
"""
test
~~~~
Sanic-CORS is a simple extension to Sanic allowing you to support cross
origin resource sharing (CORS) using a simple decorator.
:copyright: (c) 2020 by Ashley Sommer (based on flask-cors by Cory Dolphin).
:license: MIT, see LICENSE for more details.
"""
fr... | 37.979592 | 88 | 0.647716 | 1,193 | 9,305 | 4.801341 | 0.129925 | 0.045216 | 0.034567 | 0.056215 | 0.86889 | 0.862605 | 0.844797 | 0.822102 | 0.805691 | 0.77706 | 0 | 0.03467 | 0.268458 | 9,305 | 244 | 89 | 38.135246 | 0.806817 | 0.292531 | 0 | 0.539683 | 0 | 0 | 0.176059 | 0.099385 | 0 | 0 | 0 | 0 | 0.206349 | 1 | 0.174603 | false | 0 | 0.047619 | 0.007937 | 0.269841 | 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 |
6aa70b1bcbfa3365ece57ce2b3206c76e457110b | 97 | py | Python | src/flask_cli/blueprints/hello_world/__init__.py | DonalChilde/flask_cli | 036f772e957100caa6fbed99d40c6dde52aea7e3 | [
"MIT"
] | null | null | null | src/flask_cli/blueprints/hello_world/__init__.py | DonalChilde/flask_cli | 036f772e957100caa6fbed99d40c6dde52aea7e3 | [
"MIT"
] | null | null | null | src/flask_cli/blueprints/hello_world/__init__.py | DonalChilde/flask_cli | 036f772e957100caa6fbed99d40c6dde52aea7e3 | [
"MIT"
] | null | null | null | from flask_cli.blueprints.hello_world import views, bp_config
__all__ = ["views", "bp_config"]
| 19.4 | 61 | 0.773196 | 14 | 97 | 4.785714 | 0.785714 | 0.208955 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 97 | 4 | 62 | 24.25 | 0.77907 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
6ad191d39793cf9e7e641f01b0050a68bd86ba4c | 767 | py | Python | tests/svm_test.py | atikur/mythril | d0a3858400b727bdc5c927487e0dcc69ca1ef14d | [
"MIT"
] | 2 | 2018-04-13T00:07:28.000Z | 2022-02-15T23:18:14.000Z | tests/svm_test.py | vanessabridge/mythril | fb28d30f880057a735f0a932ad4c9bff4d50c2c3 | [
"MIT"
] | null | null | null | tests/svm_test.py | vanessabridge/mythril | fb28d30f880057a735f0a932ad4c9bff4d50c2c3 | [
"MIT"
] | 1 | 2020-10-11T21:49:05.000Z | 2020-10-11T21:49:05.000Z | import unittest
from mythril.analysis.symbolic import SymExecWrapper
from mythril.analysis.callgraph import generate_graph
from mythril.ether.ethcontract import ETHContract
class SVMTestCase(unittest.TestCase):
def runTest(self):
code = "0x60606040525b603c5b60006010603e565b905059368101604052366000823760... | 40.368421 | 281 | 0.830508 | 55 | 767 | 11.545455 | 0.636364 | 0.051969 | 0.059843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.35355 | 0.118644 | 767 | 18 | 282 | 42.611111 | 0.585799 | 0 | 0 | 0 | 1 | 0 | 0.46545 | 0.398957 | 0 | 0 | 0.409387 | 0 | 0.090909 | 1 | 0.090909 | false | 0 | 0.363636 | 0 | 0.545455 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ae991a495edccdce9b678c6d210e0c3631ba58a | 76 | py | Python | backend/people/serializers/__init__.py | hndoss/manos-bondadosas | 2d6eaee63ef3d90f26c7f4862b31f6635eb9dee3 | [
"Apache-2.0"
] | null | null | null | backend/people/serializers/__init__.py | hndoss/manos-bondadosas | 2d6eaee63ef3d90f26c7f4862b31f6635eb9dee3 | [
"Apache-2.0"
] | null | null | null | backend/people/serializers/__init__.py | hndoss/manos-bondadosas | 2d6eaee63ef3d90f26c7f4862b31f6635eb9dee3 | [
"Apache-2.0"
] | null | null | null | from .collaborator_serializer import *
from .beneficiary_serializer import * | 38 | 38 | 0.855263 | 8 | 76 | 7.875 | 0.625 | 0.507937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 76 | 2 | 39 | 38 | 0.913043 | 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 |
e403d34de36de4cad15e4204c5b5ae46d9f6542d | 40 | py | Python | src/evidently/utils/__init__.py | Tapot/evidently | ab9b91425d622566b663565508dd1c43e741f515 | [
"Apache-2.0"
] | null | null | null | src/evidently/utils/__init__.py | Tapot/evidently | ab9b91425d622566b663565508dd1c43e741f515 | [
"Apache-2.0"
] | null | null | null | src/evidently/utils/__init__.py | Tapot/evidently | ab9b91425d622566b663565508dd1c43e741f515 | [
"Apache-2.0"
] | null | null | null | from .numpy_encoder import NumpyEncoder
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c1c515705cab04efe9eac2f14a6550261ed876c | 51 | py | Python | goalgetter/blueprints/goals/__init__.py | shingtzewoo/goalgetter | 3bff4c6a02878706386a726bca747b941412fb9e | [
"MIT"
] | null | null | null | goalgetter/blueprints/goals/__init__.py | shingtzewoo/goalgetter | 3bff4c6a02878706386a726bca747b941412fb9e | [
"MIT"
] | null | null | null | goalgetter/blueprints/goals/__init__.py | shingtzewoo/goalgetter | 3bff4c6a02878706386a726bca747b941412fb9e | [
"MIT"
] | null | null | null | from goalgetter.blueprints.goals.views import goals | 51 | 51 | 0.882353 | 7 | 51 | 6.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 51 | 1 | 51 | 51 | 0.9375 | 0 | 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 |
7c2ce6ca7fd8271ca5cb85ebe43a0377590d5a29 | 16,776 | gyp | Python | ion/external/icu.gyp | RobLoach/ion | 9e659416fb04bb3d3a67df1e018d7c2ccab9d468 | [
"Apache-2.0"
] | null | null | null | ion/external/icu.gyp | RobLoach/ion | 9e659416fb04bb3d3a67df1e018d7c2ccab9d468 | [
"Apache-2.0"
] | null | null | null | ion/external/icu.gyp | RobLoach/ion | 9e659416fb04bb3d3a67df1e018d7c2ccab9d468 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 47.794872 | 113 | 0.62953 | 2,258 | 16,776 | 4.380425 | 0.154119 | 0.170458 | 0.255687 | 0.423112 | 0.797998 | 0.783541 | 0.350116 | 0.059549 | 0 | 0 | 0 | 0.005133 | 0.187053 | 16,776 | 350 | 114 | 47.931429 | 0.72012 | 0.05949 | 0 | 0.075075 | 0 | 0 | 0.746095 | 0.728762 | 0 | 0 | 0 | 0 | 0.003003 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7c32612f8a47134e837bb75c335a8cc335ba6531 | 120 | py | Python | python-cim/cim/__init__.py | pombredanne/flare-wmi | fdde184b7bf98e1043f8246e0c75a7a1316c48c9 | [
"Apache-2.0"
] | 390 | 2015-08-06T20:33:01.000Z | 2021-09-11T21:43:34.000Z | python-cim/cim/__init__.py | pombredanne/flare-wmi | fdde184b7bf98e1043f8246e0c75a7a1316c48c9 | [
"Apache-2.0"
] | 15 | 2015-08-11T18:02:10.000Z | 2019-08-11T10:16:49.000Z | python-cim/cim/__init__.py | pombredanne/flare-wmi | fdde184b7bf98e1043f8246e0c75a7a1316c48c9 | [
"Apache-2.0"
] | 106 | 2015-08-08T22:44:50.000Z | 2021-08-25T09:20:57.000Z |
from .cim import *
from . import common
from . import formatters
from . import mutablenamedtuple
from . import objects
| 17.142857 | 31 | 0.775 | 15 | 120 | 6.2 | 0.466667 | 0.430108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 120 | 6 | 32 | 20 | 0.939394 | 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 |
7c5ec0498906ff11d980dd799277bc1b976265e1 | 18,713 | py | Python | DeepNet/network/network.py | aqeelanwar/DRLwithTL_real | b61ecb7db3eac92f9f0f37e771c880a42bda98c3 | [
"MIT"
] | 45 | 2019-10-24T18:02:25.000Z | 2022-03-07T23:29:31.000Z | DeepNet/network/network.py | staticcli/DRLwithTL_real | 6aac018a6917e9e53b94e8098a1ad7d394661e0a | [
"MIT"
] | 22 | 2019-12-23T19:06:33.000Z | 2022-03-12T00:02:32.000Z | DeepNet/network/network.py | staticcli/DRLwithTL_real | 6aac018a6917e9e53b94e8098a1ad7d394661e0a | [
"MIT"
] | 11 | 2019-10-31T13:06:53.000Z | 2022-01-22T22:29:08.000Z | import tensorflow as tf
import numpy as np
from DeepNet.network.loss_functions import huber_loss
class AlexNetDuel(object):
def __init__(self, x, num_actions, train_type):
self.x = x
weights_path = 'DeepNet/models/imagenet.npy'
weights = np.load(open(weights_path, "rb"), encoding="latin1"... | 51.836565 | 163 | 0.638113 | 2,878 | 18,713 | 3.97255 | 0.058721 | 0.022041 | 0.067349 | 0.02624 | 0.88297 | 0.845622 | 0.79944 | 0.778886 | 0.773463 | 0.750022 | 0 | 0.065488 | 0.214183 | 18,713 | 361 | 164 | 51.836565 | 0.712003 | 0.013841 | 0 | 0.608209 | 0 | 0 | 0.055959 | 0.005694 | 0 | 0 | 0 | 0 | 0.059701 | 1 | 0.044776 | false | 0 | 0.011194 | 0 | 0.115672 | 0.052239 | 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 |
7c6771547a378b121c95c13da6400688d0ef5010 | 3,395 | py | Python | applications/Adversarial-Misspellings/defenses/scRNN/model.py | suryabulusu/neuspell | 82d1a098e841c0d66592a4780691d2a7e494c924 | [
"MIT"
] | 1 | 2021-05-21T09:39:50.000Z | 2021-05-21T09:39:50.000Z | applications/Adversarial-Misspellings/defenses/scRNN/model.py | michael-conrad/neuspell | f1d1a8b4efa7c6aa6e0564ea17db152905f4c7dc | [
"MIT"
] | null | null | null | applications/Adversarial-Misspellings/defenses/scRNN/model.py | michael-conrad/neuspell | f1d1a8b4efa7c6aa6e0564ea17db152905f4c7dc | [
"MIT"
] | null | null | null | import torch
from torch import nn
from torch.autograd import Variable
from allennlp.modules.elmo import Elmo
from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence
class ScRNN(nn.Module):
def __init__(self, char_vocab_size, hdim, output_dim):
super(ScRNN, self).__init__()
""" l... | 39.476744 | 106 | 0.67894 | 520 | 3,395 | 4.138462 | 0.196154 | 0.034851 | 0.055762 | 0.061338 | 0.764405 | 0.7421 | 0.7421 | 0.7421 | 0.731877 | 0.731877 | 0 | 0.035472 | 0.21944 | 3,395 | 85 | 107 | 39.941176 | 0.776604 | 0.152283 | 0 | 0.58 | 0 | 0 | 0.115942 | 0.099839 | 0 | 0 | 0 | 0.011765 | 0 | 1 | 0.12 | false | 0 | 0.1 | 0 | 0.34 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c89921e1e78d8ad4a9b2dfd36df3e0cb97a0454 | 217 | py | Python | tsne/tests/test_import.py | WiscEvan/tsne | 5d3c9f55cb8473934e2317a69dc3210975e38b24 | [
"Apache-2.0"
] | 404 | 2015-01-19T22:33:53.000Z | 2022-03-27T15:14:27.000Z | tsne/tests/test_import.py | WiscEvan/tsne | 5d3c9f55cb8473934e2317a69dc3210975e38b24 | [
"Apache-2.0"
] | 33 | 2015-02-02T21:58:29.000Z | 2021-04-26T02:25:03.000Z | tsne/tests/test_import.py | WiscEvan/tsne | 5d3c9f55cb8473934e2317a69dc3210975e38b24 | [
"Apache-2.0"
] | 119 | 2015-01-11T14:29:00.000Z | 2022-02-01T13:56:06.000Z | def test_import():
import tsne
assert tsne.__version__ is not None
assert tsne.__version__ != "0.0.0"
assert len(tsne.__version__) > 0
def test_import_bh_tsne():
from tsne import bh_sne # noqa
| 19.727273 | 39 | 0.686636 | 33 | 217 | 4 | 0.454545 | 0.25 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.225806 | 217 | 10 | 40 | 21.7 | 0.761905 | 0.018433 | 0 | 0 | 0 | 0 | 0.023697 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.285714 | true | 0 | 0.571429 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7c9ed6bbba76ac2b9cdc9db3b7792592f575c035 | 70 | py | Python | starter_code/api_keys.py | mokerlund/Python-API_Challenge | 443e12353f975f8752784999a7e6734c6aed0c97 | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | mokerlund/Python-API_Challenge | 443e12353f975f8752784999a7e6734c6aed0c97 | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | mokerlund/Python-API_Challenge | 443e12353f975f8752784999a7e6734c6aed0c97 | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
api_key = "0e2084cbf69e550051d5062e6f53363b"
| 23.333333 | 44 | 0.842857 | 6 | 70 | 9.666667 | 0.666667 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.365079 | 0.1 | 70 | 2 | 45 | 35 | 0.555556 | 0.314286 | 0 | 0 | 0 | 0 | 0.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7cccc1ccd9fa373265a0e1f3cdc8b349bd7c14f7 | 46 | py | Python | GT3/ReadInFIle/__init__.py | gt-frc/gt3 | 1b27d6ca68b182413be23efeb0282f4a9075212f | [
"MIT"
] | 2 | 2018-10-10T00:11:19.000Z | 2020-12-08T20:15:16.000Z | GT3/ReadInFIle/__init__.py | gt-frc/gt3 | 1b27d6ca68b182413be23efeb0282f4a9075212f | [
"MIT"
] | 25 | 2018-05-02T22:16:37.000Z | 2021-12-13T20:53:38.000Z | GT3/ReadInFIle/__init__.py | gt-frc/gt3 | 1b27d6ca68b182413be23efeb0282f4a9075212f | [
"MIT"
] | 4 | 2018-06-06T16:07:20.000Z | 2021-12-03T11:46:23.000Z | #!/usr/bin/python
from .read_in_file import * | 15.333333 | 27 | 0.73913 | 8 | 46 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 3 | 27 | 15.333333 | 0.780488 | 0.347826 | 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 |
7cf7dc872561c25391b9858a6eca47a400335c96 | 4,250 | py | Python | tests/functional/test_math.py | Inveracity/mockthink | 7eb942b5e98e3e152ec5ee249b48cae4657a8f5a | [
"MIT"
] | 1 | 2021-04-02T13:47:40.000Z | 2021-04-02T13:47:40.000Z | tests/functional/test_math.py | Inveracity/rethinkdb-mock | 7eb942b5e98e3e152ec5ee249b48cae4657a8f5a | [
"MIT"
] | 5 | 2021-01-19T13:39:27.000Z | 2021-09-28T13:03:06.000Z | tests/functional/test_math.py | Inveracity/rethinkdb-mock | 7eb942b5e98e3e152ec5ee249b48cae4657a8f5a | [
"MIT"
] | null | null | null | from rethinkdb import r
from tests.common import as_db_and_table
from tests.common import assertEqual
from tests.common import assertEqUnordered
from tests.functional.common import MockTest
class TestMath(MockTest):
@staticmethod
def get_data():
data = [
{
'id': 'pt-1',
... | 29.929577 | 92 | 0.516941 | 536 | 4,250 | 3.988806 | 0.143657 | 0.049111 | 0.074836 | 0.060804 | 0.813845 | 0.786249 | 0.772685 | 0.727783 | 0.719364 | 0.699719 | 0 | 0.035052 | 0.315294 | 4,250 | 141 | 93 | 30.141844 | 0.699656 | 0 | 0 | 0.491667 | 0 | 0 | 0.055765 | 0 | 0 | 0 | 0 | 0 | 0.225 | 1 | 0.15 | false | 0 | 0.041667 | 0 | 0.241667 | 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 |
7cfc6cee8077ff0096d9008e299af1824861d691 | 151 | py | Python | jobsSpider/jobsSpider/__init__.py | LJIJCJ/front_page | 84993e2dded2d14cb2411e9cfd60e2437baf9ad1 | [
"MIT"
] | null | null | null | jobsSpider/jobsSpider/__init__.py | LJIJCJ/front_page | 84993e2dded2d14cb2411e9cfd60e2437baf9ad1 | [
"MIT"
] | 4 | 2019-12-04T15:22:22.000Z | 2019-12-13T11:22:30.000Z | jobsSpider/jobsSpider/__init__.py | LJIJCJ/front_page | 84993e2dded2d14cb2411e9cfd60e2437baf9ad1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author: mardan
# @Date: 2019-12-03 00:54:01
# @Last Modified by: mardan
# @Last Modified time: 2019-12-03 00:59:52
| 25.166667 | 43 | 0.596026 | 25 | 151 | 3.6 | 0.72 | 0.133333 | 0.177778 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243697 | 0.211921 | 151 | 5 | 44 | 30.2 | 0.512605 | 0.89404 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b17e298e6fe50e199356577249474af0da4ce89 | 3,603 | py | Python | methcomp/tests/test_glucose.py | daneishdespot/methcomp | 767d85aa56a8fda372847585decca8879ec2ac98 | [
"MIT"
] | null | null | null | methcomp/tests/test_glucose.py | daneishdespot/methcomp | 767d85aa56a8fda372847585decca8879ec2ac98 | [
"MIT"
] | null | null | null | methcomp/tests/test_glucose.py | daneishdespot/methcomp | 767d85aa56a8fda372847585decca8879ec2ac98 | [
"MIT"
] | null | null | null | from methcomp import clarke, parkes, seg
import matplotlib.pyplot as plt
import pytest
reference = [4.6, 13.73, 16.09, 17.16, 18.69, 19.48, 19.56, 20.76, 26.82, 27.95]
test = [1.11, 2.04, 7.5, 7.87, 14.85, 15.76, 17.63, 21.08, 21.29, 29.6]
@pytest.mark.mpl_image_compare(tolerance=10)
def test_clarke_basic():
fig... | 27.503817 | 80 | 0.690258 | 587 | 3,603 | 4.074957 | 0.129472 | 0.07107 | 0.092391 | 0.127926 | 0.924749 | 0.924749 | 0.924749 | 0.908863 | 0.88587 | 0.876672 | 0 | 0.053577 | 0.165973 | 3,603 | 130 | 81 | 27.715385 | 0.742429 | 0 | 0 | 0.635417 | 0 | 0 | 0.022204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.177083 | false | 0 | 0.03125 | 0 | 0.385417 | 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 |
6b3250cb2e8263d19b02be046a82c581adcb0c8f | 24 | py | Python | app/admin/examples/eg002_create_active_clm_esign_user/__init__.py | davidgacc/docusign | e63167101656d0066d481844576ce687ea80eb91 | [
"MIT"
] | 21 | 2020-05-13T21:08:44.000Z | 2022-02-18T01:32:16.000Z | app/admin/examples/eg002_create_active_clm_esign_user/__init__.py | davidgacc/docusign | e63167101656d0066d481844576ce687ea80eb91 | [
"MIT"
] | 8 | 2020-11-23T09:28:04.000Z | 2022-02-02T12:04:08.000Z | app/admin/examples/eg002_create_active_clm_esign_user/__init__.py | davidgacc/docusign | e63167101656d0066d481844576ce687ea80eb91 | [
"MIT"
] | 26 | 2020-05-12T22:20:01.000Z | 2022-03-09T10:57:27.000Z | from .views import eg002 | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.125 | 24 | 1 | 24 | 24 | 0.809524 | 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 |
6b40388879d6b0bdde7442ffec692e437474b841 | 11,938 | py | Python | greykite/tests/common/features/test_adjust_anomalous_data.py | briancpark/greykite | 2f484978a7ed206ebd9356e02fc1fb881cd25205 | [
"BSD-2-Clause"
] | null | null | null | greykite/tests/common/features/test_adjust_anomalous_data.py | briancpark/greykite | 2f484978a7ed206ebd9356e02fc1fb881cd25205 | [
"BSD-2-Clause"
] | null | null | null | greykite/tests/common/features/test_adjust_anomalous_data.py | briancpark/greykite | 2f484978a7ed206ebd9356e02fc1fb881cd25205 | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
import modin.pandas as pd
import pytest
from greykite.common.constants import ADJUSTMENT_DELTA_COL
from greykite.common.constants import END_DATE_COL
from greykite.common.constants import METRIC_COL
from greykite.common.constants import START_DATE_COL
from greykite.common.constants import TIME_COL
f... | 35.424332 | 96 | 0.635701 | 1,709 | 11,938 | 4.061439 | 0.099473 | 0.096816 | 0.068146 | 0.06051 | 0.786342 | 0.771791 | 0.743985 | 0.732459 | 0.714883 | 0.702637 | 0 | 0.028318 | 0.263444 | 11,938 | 336 | 97 | 35.529762 | 0.76106 | 0.107221 | 0 | 0.812057 | 0 | 0 | 0.060213 | 0.001976 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007092 | false | 0 | 0.039007 | 0.003546 | 0.049645 | 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 |
8678fec03134cf6fb0d9d351525985bfd7c9d65b | 276 | py | Python | src/python-iterator-repeater/repeater.py | ivangeorgiev/gems | 823076051695029b4d699744dc76c959a8476230 | [
"CC0-1.0"
] | 10 | 2020-11-12T23:45:31.000Z | 2022-03-25T07:29:42.000Z | src/python-iterator-repeater/repeater.py | ivangeorgiev/gems | 823076051695029b4d699744dc76c959a8476230 | [
"CC0-1.0"
] | null | null | null | src/python-iterator-repeater/repeater.py | ivangeorgiev/gems | 823076051695029b4d699744dc76c959a8476230 | [
"CC0-1.0"
] | 7 | 2020-12-15T20:40:00.000Z | 2022-03-18T01:41:48.000Z |
class Repeater:
def __init__(self, value):
if callable(value):
self._value = value
else:
self._value = lambda: value
def __iter__(self):
return self
def __next__(self):
return self._value()
| 18.4 | 40 | 0.521739 | 28 | 276 | 4.607143 | 0.464286 | 0.27907 | 0.217054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.394928 | 276 | 14 | 41 | 19.714286 | 0.772455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.6 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
868ff9f11c6316d6f8a40d1f59a2b81083db46dc | 140 | py | Python | webserver/lswb/helloworld/helloworld/views.py | zeroam/build-your-own-x | e7932cd25145aa3c347511db6846b1242dbb30eb | [
"MIT"
] | null | null | null | webserver/lswb/helloworld/helloworld/views.py | zeroam/build-your-own-x | e7932cd25145aa3c347511db6846b1242dbb30eb | [
"MIT"
] | 5 | 2021-04-08T21:59:04.000Z | 2022-02-10T14:19:59.000Z | webserver/lswb/helloworld/helloworld/views.py | zeroam/build-your-own-x | e7932cd25145aa3c347511db6846b1242dbb30eb | [
"MIT"
] | null | null | null | from django.http import HttpResponse
def index(request):
return HttpResponse("Hello world from Django!\n", content_type="text/plain")
| 23.333333 | 80 | 0.764286 | 19 | 140 | 5.578947 | 0.842105 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 140 | 5 | 81 | 28 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 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 |
8110189966f3c75fd707940b3e76b04dcea0602f | 3,688 | py | Python | questions/migrations/0001_initial.py | stkrizh/otus-django-hasker | 9692b8060a789b0b66b4cf3591a78e32c8a10380 | [
"MIT"
] | null | null | null | questions/migrations/0001_initial.py | stkrizh/otus-django-hasker | 9692b8060a789b0b66b4cf3591a78e32c8a10380 | [
"MIT"
] | 10 | 2020-06-05T22:56:30.000Z | 2022-02-10T08:54:18.000Z | questions/migrations/0001_initial.py | stkrizh/otus-django-hasker | 9692b8060a789b0b66b4cf3591a78e32c8a10380 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.4 on 2019-08-25 12:17
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 46.683544 | 183 | 0.584056 | 358 | 3,688 | 5.849162 | 0.240223 | 0.034384 | 0.053486 | 0.08405 | 0.734957 | 0.727794 | 0.727794 | 0.727794 | 0.727794 | 0.727794 | 0 | 0.008194 | 0.271963 | 3,688 | 78 | 184 | 47.282051 | 0.771695 | 0.012202 | 0 | 0.577465 | 1 | 0 | 0.122768 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042254 | 0 | 0.098592 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
812f2ac84d4f16e3ad89fff9b21f30786ff64920 | 120 | py | Python | ioserve/end/__init__.py | ioflo/ioserve | 98986b82e9a16ac3a60b6cb76754005b44e3737f | [
"Apache-2.0"
] | null | null | null | ioserve/end/__init__.py | ioflo/ioserve | 98986b82e9a16ac3a60b6cb76754005b44e3737f | [
"Apache-2.0"
] | null | null | null | ioserve/end/__init__.py | ioflo/ioserve | 98986b82e9a16ac3a60b6cb76754005b44e3737f | [
"Apache-2.0"
] | null | null | null | """
end package
"""
from __future__ import absolute_import, division, print_function
from ioflo.aid.sixing import *
| 12 | 64 | 0.758333 | 15 | 120 | 5.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 120 | 9 | 65 | 13.333333 | 0.833333 | 0.091667 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
d4afaf01fd4ec3babfc0ed3b6936822b7cf99229 | 24,230 | py | Python | ckanext/datastore/tests/test_create.py | SpazioDati/ckan | 11e9bfb63a4c61111b79e94d82ad7f836996ba99 | [
"Apache-2.0"
] | 1 | 2016-02-23T03:46:17.000Z | 2016-02-23T03:46:17.000Z | ckanext/datastore/tests/test_create.py | SpazioDati/ckan | 11e9bfb63a4c61111b79e94d82ad7f836996ba99 | [
"Apache-2.0"
] | null | null | null | ckanext/datastore/tests/test_create.py | SpazioDati/ckan | 11e9bfb63a4c61111b79e94d82ad7f836996ba99 | [
"Apache-2.0"
] | null | null | null | import json
import nose
import sqlalchemy.orm as orm
import ckan.plugins as p
import ckan.lib.create_test_data as ctd
import ckan.model as model
import ckan.tests as tests
import ckanext.datastore.db as db
from ckanext.datastore.tests.helpers import rebuild_all_dbs
class TestDatastoreCreate(tests.WsgiAppCase):
... | 41.775862 | 120 | 0.52596 | 2,598 | 24,230 | 4.796767 | 0.096998 | 0.053763 | 0.026962 | 0.035949 | 0.81239 | 0.794495 | 0.770422 | 0.752528 | 0.741454 | 0.726689 | 0 | 0.013241 | 0.317416 | 24,230 | 580 | 121 | 41.775862 | 0.74025 | 0.032398 | 0 | 0.671488 | 0 | 0 | 0.205906 | 0.038305 | 0 | 0 | 0 | 0 | 0.105372 | 1 | 0.028926 | false | 0 | 0.020661 | 0 | 0.055785 | 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 |
be1f6ff3b5dce1890164c21905f0fce803363ed8 | 21,312 | py | Python | tests/unit/test_cli_utils.py | NCATS-Tangerine/kgx | 6e24040ee85f03ab8f61497536c30233b58bcaef | [
"BSD-3-Clause"
] | 28 | 2018-04-24T04:52:15.000Z | 2020-09-26T17:05:56.000Z | tests/unit/test_cli_utils.py | NCATS-Tangerine/kgx | 6e24040ee85f03ab8f61497536c30233b58bcaef | [
"BSD-3-Clause"
] | 136 | 2018-04-24T02:15:39.000Z | 2020-10-02T00:14:13.000Z | tests/unit/test_cli_utils.py | NCATS-Tangerine/kgx | 6e24040ee85f03ab8f61497536c30233b58bcaef | [
"BSD-3-Clause"
] | 19 | 2018-05-03T17:03:08.000Z | 2020-07-15T22:12:40.000Z | """
Test CLI Utils
"""
import json
import os
import pytest
from click.testing import CliRunner
from kgx.cli.cli_utils import validate, neo4j_upload, neo4j_download, transform, merge, get_output_file_types
from kgx.cli import cli, get_input_file_types, graph_summary, get_report_format_types
from tests import RESOURCE_D... | 27.78618 | 109 | 0.618337 | 2,528 | 21,312 | 4.984968 | 0.074763 | 0.042374 | 0.057134 | 0.064276 | 0.846056 | 0.810903 | 0.766466 | 0.749246 | 0.720759 | 0.690684 | 0 | 0.011981 | 0.259807 | 21,312 | 766 | 110 | 27.822454 | 0.786878 | 0.05762 | 0 | 0.630068 | 0 | 0 | 0.183837 | 0.047522 | 0 | 0 | 0 | 0 | 0.168919 | 1 | 0.055743 | false | 0.016892 | 0.013514 | 0 | 0.069257 | 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 |
0790dfa958154c0198b78c5f53b8ec875482c536 | 20 | py | Python | python/stg/__init__.py | runopti/s | 6e642a46de625cbd7a333c1c70fa7a9bee82f717 | [
"MIT"
] | 55 | 2020-08-06T22:31:53.000Z | 2022-03-21T03:21:10.000Z | python/stg/__init__.py | runopti/s | 6e642a46de625cbd7a333c1c70fa7a9bee82f717 | [
"MIT"
] | 1 | 2020-09-20T07:05:00.000Z | 2020-09-20T07:05:00.000Z | python/stg/__init__.py | runopti/s | 6e642a46de625cbd7a333c1c70fa7a9bee82f717 | [
"MIT"
] | 10 | 2020-07-10T23:21:14.000Z | 2022-01-28T20:35:45.000Z | from .stg import STG | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07c44dc72b0b71322e8f5835e232b3cf7ba7de0f | 2,940 | py | Python | modules/xia2/Test/regression/test_mad_example.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | null | null | null | modules/xia2/Test/regression/test_mad_example.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | null | null | null | modules/xia2/Test/regression/test_mad_example.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | 1 | 2020-02-04T15:39:06.000Z | 2020-02-04T15:39:06.000Z | from __future__ import absolute_import, division, print_function
import procrunner
import xia2.Test.regression
expected_data_files = [
"AUTOMATIC_DEFAULT_free.mtz",
"AUTOMATIC_DEFAULT_scaled_WAVE2.sca",
"AUTOMATIC_DEFAULT_scaled_unmerged_WAVE1.sca",
"AUTOMATIC_DEFAULT_scaled_unmerged_WAVE2.sca",
"... | 27.222222 | 75 | 0.65034 | 322 | 2,940 | 5.602484 | 0.180124 | 0.066519 | 0.094235 | 0.099778 | 0.890798 | 0.856984 | 0.813193 | 0.775499 | 0.775499 | 0.738914 | 0 | 0.017117 | 0.244898 | 2,940 | 107 | 76 | 27.476636 | 0.795496 | 0 | 0 | 0.677083 | 0 | 0 | 0.259864 | 0.17449 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.041667 | false | 0 | 0.03125 | 0 | 0.072917 | 0.010417 | 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 |
07edcab7ecc159acb9716dc2ccbd317ed67a6861 | 184 | py | Python | plfit/__init__.py | keflavich/plfit | a5f2f56f4a1f1a11b8e29b5033a6ebc23d1c078e | [
"MIT"
] | 67 | 2015-01-30T11:45:53.000Z | 2022-01-09T13:18:24.000Z | plfit/__init__.py | keflavich/plfit | a5f2f56f4a1f1a11b8e29b5033a6ebc23d1c078e | [
"MIT"
] | 7 | 2015-05-10T18:52:31.000Z | 2021-04-30T12:47:59.000Z | plfit/__init__.py | keflavich/plfit | a5f2f56f4a1f1a11b8e29b5033a6ebc23d1c078e | [
"MIT"
] | 25 | 2015-07-03T21:20:26.000Z | 2021-01-12T13:54:36.000Z | #from plfit import discrete_likelihood
from .plfit import plfit
from .plfit import test_fitter,pl_inv,plexp_inv,plexp_cdf, plexp_pdf, plfit_lsq
from .plfit_py import plfit as plfit_py
| 36.8 | 79 | 0.842391 | 32 | 184 | 4.5625 | 0.46875 | 0.246575 | 0.308219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 184 | 4 | 80 | 46 | 0.890244 | 0.201087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed0b651b30a11512cddf4202289c18bd0289b57a | 18,123 | py | Python | authentication-api/auth/proxy/tests/test_views.py | monterail/montelearn | 121f14ad5588a793c81efd2b880e247ed1b58fc5 | [
"MIT"
] | 17 | 2020-06-08T09:15:13.000Z | 2022-01-10T19:25:15.000Z | authentication-api/auth/proxy/tests/test_views.py | monterail/montelearn | 121f14ad5588a793c81efd2b880e247ed1b58fc5 | [
"MIT"
] | 41 | 2020-06-06T10:44:05.000Z | 2022-02-26T07:23:42.000Z | authentication-api/auth/proxy/tests/test_views.py | monterail/montelearn | 121f14ad5588a793c81efd2b880e247ed1b58fc5 | [
"MIT"
] | 6 | 2020-06-08T11:13:38.000Z | 2021-11-08T15:47:07.000Z | import pytest
import requests_mock
from django.conf import settings
from django.urls import reverse
from .helpers import (
CREATE_LESSON_DATA,
CREATE_TEST_DATA,
GRADE_DETAIL_RESPONSE,
GRADE_LIST_RESPONSE,
LESSON_API_DETAIL_RESPONSE,
LESSON_API_LIST_RESPONSE,
SUBJECT_DETAIL_RESPONSE,
SU... | 36.464789 | 100 | 0.70325 | 2,258 | 18,123 | 5.313552 | 0.050487 | 0.054009 | 0.069678 | 0.052509 | 0.945658 | 0.940157 | 0.932405 | 0.928571 | 0.917653 | 0.834806 | 0 | 0.031697 | 0.190531 | 18,123 | 496 | 101 | 36.538306 | 0.786162 | 0 | 0 | 0.604278 | 0 | 0 | 0.204767 | 0.090824 | 0 | 0 | 0 | 0 | 0.184492 | 1 | 0.093583 | false | 0 | 0.013369 | 0 | 0.106952 | 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 |
ed537af1341ce1f17d461e3b6416ef2f9d863171 | 26 | py | Python | test/test.py | pearsonk27/billpay | 2be4c34a5ba0bd8c29fcd15857207f5907f069d7 | [
"MIT"
] | null | null | null | test/test.py | pearsonk27/billpay | 2be4c34a5ba0bd8c29fcd15857207f5907f069d7 | [
"MIT"
] | null | null | null | test/test.py | pearsonk27/billpay | 2be4c34a5ba0bd8c29fcd15857207f5907f069d7 | [
"MIT"
] | null | null | null | import messaging.venmo
| 5.2 | 22 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 4 | 23 | 6.5 | 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 |
71f7c7b1a795087197435e035f0966c4816c6ef0 | 164 | py | Python | data/room_data_dto.py | hoduchieu01/TelepaSee-Backend | 6c863aeb70ca6b156ee65f19afe9ab16f07a9353 | [
"MIT"
] | 1 | 2021-08-20T05:43:20.000Z | 2021-08-20T05:43:20.000Z | data/room_data_dto.py | hoduchieu01/TelepaSee | 6c863aeb70ca6b156ee65f19afe9ab16f07a9353 | [
"MIT"
] | null | null | null | data/room_data_dto.py | hoduchieu01/TelepaSee | 6c863aeb70ca6b156ee65f19afe9ab16f07a9353 | [
"MIT"
] | 1 | 2020-10-11T06:05:00.000Z | 2020-10-11T06:05:00.000Z | from dataclasses import dataclass
from dataclasses_json import dataclass_json
@dataclass_json
@dataclass
class RoomDataDTO:
name: str
room: str
pass
| 13.666667 | 43 | 0.77439 | 20 | 164 | 6.2 | 0.55 | 0.241935 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 164 | 11 | 44 | 14.909091 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.25 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
9c2cab45975260538c30057739ee653e66f15428 | 41 | py | Python | SFIAGenerator/settings/__init__.py | willtrimz/SFIA-Generator | b05b12a12bcc239ca5dc80a5bb73008a27ff3614 | [
"Apache-2.0"
] | 2 | 2020-08-19T08:43:51.000Z | 2021-11-18T09:05:55.000Z | SFIAGenerator/settings/__init__.py | willtrimz/SFIA-Generator | b05b12a12bcc239ca5dc80a5bb73008a27ff3614 | [
"Apache-2.0"
] | 5 | 2020-06-06T14:15:30.000Z | 2021-09-22T18:47:36.000Z | SFIAGenerator/settings/__init__.py | willtrimz/SFIA-Generator | b05b12a12bcc239ca5dc80a5bb73008a27ff3614 | [
"Apache-2.0"
] | null | null | null | from SFIAGenerator.settings.dev import *
| 20.5 | 40 | 0.829268 | 5 | 41 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
9c35420259a46314cbab3c6001bac11c6b8f7f22 | 3,052 | py | Python | api/tests/test_app.py | SimplyfAISGX/ritm_interactive_segmentation | 7fe773b619a9136237274f5778216ddd665cacf5 | [
"MIT"
] | null | null | null | api/tests/test_app.py | SimplyfAISGX/ritm_interactive_segmentation | 7fe773b619a9136237274f5778216ddd665cacf5 | [
"MIT"
] | null | null | null | api/tests/test_app.py | SimplyfAISGX/ritm_interactive_segmentation | 7fe773b619a9136237274f5778216ddd665cacf5 | [
"MIT"
] | null | null | null | import json
import requests
def test_api_version():
response = requests.get("http://localhost:8001/hrnet/api/version")
assert response.status_code == 200
assert response.json() == {"status": True, "version": "1.0", "name": "HRNet"}
def test_app_with_image_url():
headers = {
'accept': 'applic... | 27.745455 | 110 | 0.528506 | 339 | 3,052 | 4.637168 | 0.247788 | 0.034351 | 0.034351 | 0.022901 | 0.848601 | 0.831425 | 0.816158 | 0.816158 | 0.816158 | 0.816158 | 0 | 0.048333 | 0.322084 | 3,052 | 110 | 111 | 27.745455 | 0.711455 | 0.109764 | 0 | 0.62069 | 0 | 0.011494 | 0.245297 | 0.057543 | 0 | 0 | 0 | 0 | 0.091954 | 1 | 0.045977 | false | 0 | 0.022989 | 0 | 0.068966 | 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 |
9c5cc8cb1fd80a266b524eb50cc7c62a83ac48f8 | 37 | py | Python | ABC074/A.py | shimomura314/AtcoderCodes | db1d62a7715f5f1b3c40eceff8d34f0f34839f41 | [
"MIT"
] | null | null | null | ABC074/A.py | shimomura314/AtcoderCodes | db1d62a7715f5f1b3c40eceff8d34f0f34839f41 | [
"MIT"
] | null | null | null | ABC074/A.py | shimomura314/AtcoderCodes | db1d62a7715f5f1b3c40eceff8d34f0f34839f41 | [
"MIT"
] | null | null | null | print(int(input())**2 - int(input())) | 37 | 37 | 0.594595 | 6 | 37 | 3.666667 | 0.666667 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.054054 | 37 | 1 | 37 | 37 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9c82cda65a38f02963150350d969afb0687104d8 | 69 | py | Python | lambdas/multiparameter/Multiparameter.py | thecomputerguy/full-speed-python | 6ef6e5006e5a89e67c430cb5320e088e8a3410b0 | [
"MIT"
] | null | null | null | lambdas/multiparameter/Multiparameter.py | thecomputerguy/full-speed-python | 6ef6e5006e5a89e67c430cb5320e088e8a3410b0 | [
"MIT"
] | null | null | null | lambdas/multiparameter/Multiparameter.py | thecomputerguy/full-speed-python | 6ef6e5006e5a89e67c430cb5320e088e8a3410b0 | [
"MIT"
] | null | null | null | sum_of_two_numbers = lambda x,y: x+y
print(sum_of_two_numbers(10,15)) | 34.5 | 36 | 0.797101 | 16 | 69 | 3.0625 | 0.625 | 0.204082 | 0.326531 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.072464 | 69 | 2 | 37 | 34.5 | 0.703125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
92f9fd823c8971366a8bd540bc616e0bab9a0ed1 | 430 | py | Python | exercises/test_A000.py | dataXcode/IPP | c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b | [
"MIT"
] | null | null | null | exercises/test_A000.py | dataXcode/IPP | c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b | [
"MIT"
] | null | null | null | exercises/test_A000.py | dataXcode/IPP | c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b | [
"MIT"
] | null | null | null | def test():
# Test
assert("'hello world'" in __solution__ or "'Hello World'" in __solution__ or "'Hello world'" in __solution__ or "'HELLO WORLD'" in __solution__
or '"hello world"' in __solution__ or '"Hello World"' in __solution__ or '"Hello world"' in __solution__ or '"HELLO WORLD"' in __solution_... | 61.428571 | 150 | 0.67907 | 57 | 430 | 4.491228 | 0.368421 | 0.3125 | 0.375 | 0.625 | 0.679688 | 0.679688 | 0.679688 | 0.679688 | 0.679688 | 0.679688 | 0 | 0 | 0.209302 | 430 | 6 | 151 | 71.666667 | 0.752941 | 0.009302 | 0 | 0 | 0 | 0 | 0.410377 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
131df13d96dd07bda88a5804aa4f9b1415a284d8 | 7 | py | Python | login.py | Smile-acquire/python_git | b27d6abdc65426d92718ca137762c57236a9998b | [
"Apache-2.0"
] | null | null | null | login.py | Smile-acquire/python_git | b27d6abdc65426d92718ca137762c57236a9998b | [
"Apache-2.0"
] | null | null | null | login.py | Smile-acquire/python_git | b27d6abdc65426d92718ca137762c57236a9998b | [
"Apache-2.0"
] | null | null | null | a = 20
| 3.5 | 6 | 0.428571 | 2 | 7 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.428571 | 7 | 1 | 7 | 7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13a92f2d645ee3a65060409c6c7b81f6d4f8edbd | 601 | py | Python | python3/tests/_resources/sample_project/package/main.py | marekzidek/vim-nayvy | b3699f978e449aa669dd9bd4b13ae7c2d07d76c4 | [
"MIT"
] | 68 | 2020-03-17T07:36:42.000Z | 2022-02-18T13:21:22.000Z | python3/tests/_resources/sample_project/package/main.py | marekzidek/vim-nayvy | b3699f978e449aa669dd9bd4b13ae7c2d07d76c4 | [
"MIT"
] | 2 | 2020-03-17T06:52:44.000Z | 2021-01-03T06:45:13.000Z | python3/tests/_resources/sample_project/package/main.py | marekzidek/vim-nayvy | b3699f978e449aa669dd9bd4b13ae7c2d07d76c4 | [
"MIT"
] | 5 | 2020-03-17T07:42:23.000Z | 2022-01-02T23:02:36.000Z |
def top_level_function1() -> None:
return
class TopLevelClass1:
def __init__(self) -> None:
return
def instance_method1(self) -> None:
return
@classmethod
def class_method1(cls) -> None:
return
def instance_method2(self) -> None:
return
def top_level_func... | 15.025 | 39 | 0.605657 | 64 | 601 | 5.40625 | 0.296875 | 0.289017 | 0.242775 | 0.242775 | 0.514451 | 0.375723 | 0.184971 | 0 | 0 | 0 | 0 | 0.023923 | 0.304493 | 601 | 39 | 40 | 15.410256 | 0.803828 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0 | 0.416667 | 0.916667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
13cdf9a3853f9198bc9f8dcad8b480f85eb50a8d | 144 | py | Python | offpolicy/algorithms/mvdn/algorithm/mVDNPolicy.py | Maxtoq/off-policy | e866f13a3d144a29552c38f104bcdfb411036138 | [
"MIT"
] | 76 | 2021-07-30T11:59:51.000Z | 2022-03-31T08:07:10.000Z | offpolicy/algorithms/mvdn/algorithm/mVDNPolicy.py | jc-bao/off-policy | 15c44f126e506b3f455c60dddd424d2290dddf8d | [
"MIT"
] | 6 | 2021-12-02T11:22:29.000Z | 2022-03-25T04:17:09.000Z | offpolicy/algorithms/mvdn/algorithm/mVDNPolicy.py | jc-bao/off-policy | 15c44f126e506b3f455c60dddd424d2290dddf8d | [
"MIT"
] | 20 | 2021-08-04T04:01:52.000Z | 2022-03-17T04:14:41.000Z | from offpolicy.algorithms.mqmix.algorithm.mQMixPolicy import M_QMixPolicy
class M_VDNPolicy(M_QMixPolicy):
"""See parent class."""
pass | 28.8 | 73 | 0.777778 | 18 | 144 | 6.055556 | 0.777778 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 144 | 5 | 74 | 28.8 | 0.865079 | 0.118056 | 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 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
13df7ff38abf80d463954008e8f70170b1918145 | 71,166 | py | Python | tests/test_rds/test_rds.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | tests/test_rds/test_rds.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 1 | 2022-03-07T07:39:03.000Z | 2022-03-07T07:39:03.000Z | tests/test_rds/test_rds.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | from botocore.exceptions import ClientError
import boto3
import pytest
import sure # noqa # pylint: disable=unused-import
from moto import mock_ec2, mock_kms, mock_rds
from moto.core import ACCOUNT_ID
@mock_rds
def test_create_database():
conn = boto3.client("rds", region_name="us-west-2")
database = conn.cr... | 35.230693 | 108 | 0.68239 | 7,950 | 71,166 | 5.905031 | 0.049057 | 0.037959 | 0.019086 | 0.037491 | 0.875109 | 0.8324 | 0.800107 | 0.765683 | 0.733092 | 0.69345 | 0 | 0.025428 | 0.173313 | 71,166 | 2,019 | 109 | 35.248143 | 0.772522 | 0.016469 | 0 | 0.664726 | 0 | 0.006985 | 0.217407 | 0.027255 | 0 | 0 | 0 | 0.000495 | 0 | 1 | 0.051222 | false | 0.019208 | 0.003492 | 0 | 0.054715 | 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 |
b92a2cbf07e4110c5aa51660bbadd38ccf0723eb | 45 | py | Python | minibot_server/testing/async.py | naerbnic/minibot | a212a0d4b8b30dcf847a3c73c517e2165d504a5a | [
"Apache-2.0"
] | null | null | null | minibot_server/testing/async.py | naerbnic/minibot | a212a0d4b8b30dcf847a3c73c517e2165d504a5a | [
"Apache-2.0"
] | null | null | null | minibot_server/testing/async.py | naerbnic/minibot | a212a0d4b8b30dcf847a3c73c517e2165d504a5a | [
"Apache-2.0"
] | null | null | null | from tornado.testing import AsyncHTTPTestCase | 45 | 45 | 0.911111 | 5 | 45 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.97619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b94f95e1da4109f63e7b2004e4166059b709db28 | 79 | py | Python | backend/drf_project/api/tests/___init___.py | JumboCode/ProjectShare | 41fe2d741b94a52371384853b0ad39f506ddfd95 | [
"MIT"
] | 2 | 2021-05-26T21:07:32.000Z | 2021-11-10T15:33:25.000Z | backend/drf_project/api/tests/___init___.py | JumboCode/ProjectShare | 41fe2d741b94a52371384853b0ad39f506ddfd95 | [
"MIT"
] | 38 | 2021-04-10T18:13:32.000Z | 2021-06-02T04:34:36.000Z | backend/drf_project/api/tests/___init___.py | JumboCode/ProjectShare | 41fe2d741b94a52371384853b0ad39f506ddfd95 | [
"MIT"
] | null | null | null | # from test_image_view import * # noqa
# from test_post_view import * # noqa
| 26.333333 | 39 | 0.721519 | 12 | 79 | 4.416667 | 0.583333 | 0.301887 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202532 | 79 | 2 | 40 | 39.5 | 0.84127 | 0.911392 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9538d8ca5de972b8ffb334bdfd0abed374ca18b | 37 | py | Python | poetry/console/commands/cache/__init__.py | nayyarv/poetry | 07e71abb32050514c2d2269709480c48fd7827b2 | [
"MIT"
] | 2 | 2019-06-19T15:07:58.000Z | 2019-11-24T14:08:55.000Z | poetry/console/commands/cache/__init__.py | djetelina/poetry | 1aa1ab2962bb8b6aed33c2308cf8352809d91685 | [
"MIT"
] | 1 | 2021-02-15T17:05:58.000Z | 2021-02-15T17:05:58.000Z | poetry/console/commands/cache/__init__.py | djetelina/poetry | 1aa1ab2962bb8b6aed33c2308cf8352809d91685 | [
"MIT"
] | 1 | 2019-06-19T15:08:05.000Z | 2019-06-19T15:08:05.000Z | from .clear import CacheClearCommand
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b953b7e65935680c388f1fb08db463cf21d31645 | 3,579 | py | Python | models/models.py | AndreaCossu/reproducible-continual-learning | 0badbec82f179c0673767072be4d3bc59c112352 | [
"MIT"
] | null | null | null | models/models.py | AndreaCossu/reproducible-continual-learning | 0badbec82f179c0673767072be4d3bc59c112352 | [
"MIT"
] | null | null | null | models/models.py | AndreaCossu/reproducible-continual-learning | 0badbec82f179c0673767072be4d3bc59c112352 | [
"MIT"
] | null | null | null | from avalanche.models import MultiHeadClassifier, MultiTaskModule
from torch import nn
class MultiHeadMLP(MultiTaskModule):
def __init__(self, input_size=28 * 28, hidden_size=256, hidden_layers=2,
drop_rate=0):
super().__init__()
self._input_size = input_size
layers = nn.... | 40.213483 | 112 | 0.508243 | 403 | 3,579 | 4.282878 | 0.176179 | 0.075319 | 0.067787 | 0.088644 | 0.809965 | 0.798957 | 0.798957 | 0.728273 | 0.728273 | 0.706837 | 0 | 0.035874 | 0.376921 | 3,579 | 88 | 113 | 40.670455 | 0.738117 | 0 | 0 | 0.69863 | 0 | 0 | 0.015367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082192 | false | 0 | 0.027397 | 0 | 0.191781 | 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 |
b9e204152a7684394e3348eaf15791b3b6864e7e | 284,580 | py | Python | core/domain/exp_domain_test.py | Mishrasubha/oppia | e2dd42805764298616ed7c143b78e6b9f25e7a85 | [
"Apache-2.0"
] | null | null | null | core/domain/exp_domain_test.py | Mishrasubha/oppia | e2dd42805764298616ed7c143b78e6b9f25e7a85 | [
"Apache-2.0"
] | null | null | null | core/domain/exp_domain_test.py | Mishrasubha/oppia | e2dd42805764298616ed7c143b78e6b9f25e7a85 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
#
# Copyright 2014 The Oppia Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requi... | 28.500751 | 135 | 0.601803 | 27,704 | 284,580 | 5.85605 | 0.02848 | 0.036687 | 0.019922 | 0.039424 | 0.908387 | 0.87848 | 0.83977 | 0.809438 | 0.791803 | 0.775925 | 0 | 0.007317 | 0.311357 | 284,580 | 9,984 | 136 | 28.503606 | 0.820527 | 0.021467 | 0 | 0.518742 | 0 | 0 | 0.181703 | 0.021616 | 0 | 0 | 0 | 0.0001 | 0.118914 | 1 | 0.065489 | false | 0.000431 | 0.008617 | 0.000431 | 0.102542 | 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 |
6a026ef037ee920a7e7ab67f8fd6dd21596ac8fb | 9,769 | py | Python | tests/test_fastqc_validation.py | Multiscale-Genomics/mg-process-fastq | 50c7115c0c1a6af48dc34f275e469d1b9eb02999 | [
"Apache-2.0"
] | 2 | 2017-07-31T11:45:46.000Z | 2017-08-09T09:32:35.000Z | tests/test_fastqc_validation.py | Multiscale-Genomics/mg-process-fastq | 50c7115c0c1a6af48dc34f275e469d1b9eb02999 | [
"Apache-2.0"
] | 28 | 2016-11-17T11:12:32.000Z | 2018-11-02T14:09:13.000Z | tests/test_fastqc_validation.py | Multiscale-Genomics/mg-process-fastq | 50c7115c0c1a6af48dc34f275e469d1b9eb02999 | [
"Apache-2.0"
] | 4 | 2017-02-12T17:47:21.000Z | 2018-05-29T08:16:27.000Z | """
.. See the NOTICE file distributed with this work for additional information
regarding copyright ownership.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.... | 26.986188 | 89 | 0.63722 | 1,206 | 9,769 | 4.956882 | 0.113599 | 0.073269 | 0.060221 | 0.072265 | 0.879558 | 0.879558 | 0.879558 | 0.879558 | 0.860154 | 0.838073 | 0 | 0.026632 | 0.223564 | 9,769 | 361 | 90 | 27.060942 | 0.761503 | 0.129901 | 0 | 0.642534 | 0 | 0 | 0.178537 | 0.08999 | 0 | 0 | 0 | 0 | 0.108597 | 1 | 0.054299 | false | 0 | 0.022624 | 0 | 0.076923 | 0.004525 | 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 |
6a0e59ff6cb87cefc33ba0a0f5928f3bf97e515d | 194 | py | Python | raphael/app/modules/setting/__init__.py | major1201/raphael | 18d7060834be7645b66144ba2a1638f3e1db2dd2 | [
"MIT"
] | null | null | null | raphael/app/modules/setting/__init__.py | major1201/raphael | 18d7060834be7645b66144ba2a1638f3e1db2dd2 | [
"MIT"
] | null | null | null | raphael/app/modules/setting/__init__.py | major1201/raphael | 18d7060834be7645b66144ba2a1638f3e1db2dd2 | [
"MIT"
] | null | null | null | # encoding: utf-8
from __future__ import division, absolute_import, with_statement, print_function
from flask import Blueprint
setting_bp = Blueprint('setting', __name__)
from . import views
| 21.555556 | 80 | 0.804124 | 25 | 194 | 5.76 | 0.72 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.128866 | 194 | 8 | 81 | 24.25 | 0.846154 | 0.07732 | 0 | 0 | 0 | 0 | 0.039548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.75 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.