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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6772f47be90751a8ab2cbacfba1c7b99baa2b64a | 102 | py | Python | caiman/models.py | Rockstreet/usman_min | c15145a444cbc913a1349b69dffc0b8a45e38dbb | [
"MIT"
] | null | null | null | caiman/models.py | Rockstreet/usman_min | c15145a444cbc913a1349b69dffc0b8a45e38dbb | [
"MIT"
] | null | null | null | caiman/models.py | Rockstreet/usman_min | c15145a444cbc913a1349b69dffc0b8a45e38dbb | [
"MIT"
] | null | null | null | from django.db import models
from django.utils.translation import ugettext_lazy as _, ugettext
| 10.2 | 65 | 0.784314 | 14 | 102 | 5.571429 | 0.714286 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 102 | 9 | 66 | 11.333333 | 0.928571 | 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 |
679841fb13e9e1b6f465dd6a052897627ff56964 | 40,992 | py | Python | datalabeling/google/cloud/datalabeling_v1beta1/proto/data_labeling_service_pb2_grpc.py | DaveCheez/google-cloud-python | fc03d4d41f13e9d13db7206438163b3a471fdabd | [
"Apache-2.0"
] | 2 | 2021-11-26T07:08:43.000Z | 2022-03-07T20:20:04.000Z | datalabeling/google/cloud/datalabeling_v1beta1/proto/data_labeling_service_pb2_grpc.py | DaveCheez/google-cloud-python | fc03d4d41f13e9d13db7206438163b3a471fdabd | [
"Apache-2.0"
] | 6 | 2019-05-27T22:05:58.000Z | 2019-08-05T16:46:16.000Z | datalabeling/google/cloud/datalabeling_v1beta1/proto/data_labeling_service_pb2_grpc.py | DaveCheez/google-cloud-python | fc03d4d41f13e9d13db7206438163b3a471fdabd | [
"Apache-2.0"
] | 1 | 2019-03-29T18:26:16.000Z | 2019-03-29T18:26:16.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from google.cloud.datalabeling_v1beta1.proto import (
annotation_spec_set_pb2 as google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_annotation__spec__set__pb2,
)
from google.cloud.datalabeling_v1beta1.proto import (
data_la... | 63.553488 | 169 | 0.782616 | 4,173 | 40,992 | 7.123173 | 0.064941 | 0.100353 | 0.054634 | 0.066341 | 0.82947 | 0.818066 | 0.813625 | 0.768646 | 0.684575 | 0.680875 | 0 | 0.013513 | 0.158714 | 40,992 | 644 | 170 | 63.652174 | 0.848431 | 0.069965 | 0 | 0.360078 | 1 | 0 | 0.12071 | 0.068671 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07045 | false | 0.003914 | 0.031311 | 0 | 0.105675 | 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 |
6798bb647c9031d2653050d76cd3f241dd42a5cd | 2,734 | py | Python | sdk/python/pulumi_azure_native/batch/__init__.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/batch/__init__.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/batch/__init__.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from .. import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .application import *
from .application_... | 43.396825 | 80 | 0.793343 | 330 | 2,734 | 6.160606 | 0.206061 | 0.141663 | 0.200689 | 0.27152 | 0.513527 | 0.513527 | 0.242007 | 0 | 0 | 0 | 0 | 0.244595 | 0.137162 | 2,734 | 62 | 81 | 44.096774 | 0.617211 | 0.084492 | 0 | 0 | 1 | 0 | 0.168269 | 0.168269 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.740741 | 0 | 0.740741 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
679e2250d3e4704bdc0cc067419d5a8f3eb454fa | 12,983 | py | Python | python-numpy-lists/numpylists.py | tosinayanda/python-starter-kit | 9faee168ff82e46b6ef8102ae72ea936fd099961 | [
"MIT"
] | null | null | null | python-numpy-lists/numpylists.py | tosinayanda/python-starter-kit | 9faee168ff82e46b6ef8102ae72ea936fd099961 | [
"MIT"
] | null | null | null | python-numpy-lists/numpylists.py | tosinayanda/python-starter-kit | 9faee168ff82e46b6ef8102ae72ea936fd099961 | [
"MIT"
] | null | null | null | #
import numpy as np
#create numpy arrays
#
#Generate array
height=np.round(np.random.normal(1.75,0.20,5000),2)
weight=np.round(np.random.normal(60.32,15,5000),2)
np_city=np.column_stack((height,weight))
print(np_city.shape)
cars=["Toyota","Chevrolet","Ford","Honda","Brabus"]
cars_np=np.array(cars)
weight=[20.12,2... | 177.849315 | 4,931 | 0.484942 | 2,401 | 12,983 | 2.61516 | 0.07122 | 0.110846 | 0.165313 | 0.219143 | 0.084727 | 0.062749 | 0.062749 | 0.062749 | 0.062749 | 0.062749 | 0 | 0.5123 | 0.173381 | 12,983 | 73 | 4,932 | 177.849315 | 0.072773 | 0.028037 | 0 | 0.073171 | 1 | 0 | 0.006347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02439 | 0 | 0.02439 | 0.170732 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67bfb2a09270657736e8e4b32cff8a3a6b09b92a | 141 | py | Python | src/tsp_c/__init__.py | kjudom/tsp-c | 2ed4ba83ac14443533e6167edf20a4199e871657 | [
"MIT"
] | null | null | null | src/tsp_c/__init__.py | kjudom/tsp-c | 2ed4ba83ac14443533e6167edf20a4199e871657 | [
"MIT"
] | null | null | null | src/tsp_c/__init__.py | kjudom/tsp-c | 2ed4ba83ac14443533e6167edf20a4199e871657 | [
"MIT"
] | null | null | null | from . import _tsp_c
from .tsp_c import solve_greedy
from .tsp_c import solve_SA
from .tsp_c import set_param_SA
from .tsp_c import solve_PSO | 28.2 | 31 | 0.829787 | 29 | 141 | 3.655172 | 0.344828 | 0.188679 | 0.301887 | 0.528302 | 0.707547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134752 | 141 | 5 | 32 | 28.2 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
67d3514f1ace46de9127a9a4a21e892c7ad712e0 | 29,708 | py | Python | MAIN_FIGURES.py | tortugar/Schott_etal_2022 | 5cccec4d59184397df39f0bae3544b9c8294ffe2 | [
"MIT"
] | null | null | null | MAIN_FIGURES.py | tortugar/Schott_etal_2022 | 5cccec4d59184397df39f0bae3544b9c8294ffe2 | [
"MIT"
] | null | null | null | MAIN_FIGURES.py | tortugar/Schott_etal_2022 | 5cccec4d59184397df39f0bae3544b9c8294ffe2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Oct 10 18:30:46 2021
@author: fearthekraken
"""
import AS
import pwaves
import sleepy
import pandas as pd
#%%
### FIGURE 1C - example EEGs for NREM, IS, and REM ###
ppath = '/home/fearthekraken/Documents/Data/photometry'
AS.plot_example(ppath, 'ha... | 60.752556 | 150 | 0.660832 | 4,499 | 29,708 | 4.230051 | 0.1018 | 0.014345 | 0.033945 | 0.025432 | 0.826073 | 0.793547 | 0.774211 | 0.750775 | 0.728863 | 0.699753 | 0 | 0.058142 | 0.145483 | 29,708 | 489 | 151 | 60.752556 | 0.691523 | 0.131783 | 0 | 0.665468 | 0 | 0.007194 | 0.193735 | 0.096376 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014388 | 0 | 0.014388 | 0.07554 | 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 |
67d3ce8adb8ddc67219cf049efed17f327e1aab1 | 42 | py | Python | bitmovin/services/filters/__init__.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 44 | 2016-12-12T17:37:23.000Z | 2021-03-03T09:48:48.000Z | bitmovin/services/filters/__init__.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 38 | 2017-01-09T14:45:45.000Z | 2022-02-27T18:04:33.000Z | bitmovin/services/filters/__init__.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 27 | 2017-02-02T22:49:31.000Z | 2019-11-21T07:04:57.000Z | from .filter_service import FilterService
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
67e4a6a4b62a36140c3ec2606810cde8cf6567ae | 8,164 | py | Python | src/lambda_router/routers.py | jpaidoussi/lambda-router | c7909e6667f2fc837f34f54ccffcc409e33cebb6 | [
"BSD-3-Clause"
] | null | null | null | src/lambda_router/routers.py | jpaidoussi/lambda-router | c7909e6667f2fc837f34f54ccffcc409e33cebb6 | [
"BSD-3-Clause"
] | null | null | null | src/lambda_router/routers.py | jpaidoussi/lambda-router | c7909e6667f2fc837f34f54ccffcc409e33cebb6 | [
"BSD-3-Clause"
] | 1 | 2021-03-05T06:50:26.000Z | 2021-03-05T06:50:26.000Z | import json
from typing import Any, Callable, Dict, Optional
import attr
from .interfaces import Event, Router
@attr.s(kw_only=True)
class SingleRoute(Router):
"""
Routes to a single defined route without any conditions.
:param route: The single defined route. Only set via ``add_route``.
"""
... | 32.268775 | 114 | 0.614037 | 1,063 | 8,164 | 4.647225 | 0.125118 | 0.036437 | 0.030769 | 0.025506 | 0.806478 | 0.77834 | 0.760121 | 0.74919 | 0.739069 | 0.739069 | 0 | 0 | 0.289196 | 8,164 | 252 | 115 | 32.396825 | 0.851284 | 0.312837 | 0 | 0.638095 | 0 | 0 | 0.103828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.038095 | 0.019048 | 0.428571 | 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 |
db3369b101ea183c503c1fa561b47c91b9100d56 | 36 | py | Python | deeptrack/extras/__init__.py | Margon01/DeepTrack-2.0_old | f4f4abc89ab1f63aeb4722f84dcfb93189c57ccf | [
"MIT"
] | 65 | 2020-04-29T01:06:01.000Z | 2022-03-28T12:44:02.000Z | deeptrack/extras/__init__.py | Margon01/DeepTrack-2.0_old | f4f4abc89ab1f63aeb4722f84dcfb93189c57ccf | [
"MIT"
] | 41 | 2020-04-20T16:09:07.000Z | 2022-03-29T15:40:08.000Z | deeptrack/extras/__init__.py | Margon01/DeepTrack-2.0_old | f4f4abc89ab1f63aeb4722f84dcfb93189c57ccf | [
"MIT"
] | 31 | 2020-04-27T18:04:06.000Z | 2022-03-18T17:24:50.000Z | from . import datasets, radialcenter | 36 | 36 | 0.833333 | 4 | 36 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1d6a7a8f00c138e84b26623fa12570b059d6d57 | 244 | py | Python | src/masonite/contracts/AuthContract.py | holic-cl/masonite | c5eab7db5f87e389fe83a1f0f20a005035ada9d9 | [
"MIT"
] | 95 | 2018-02-22T23:54:00.000Z | 2021-04-17T03:39:21.000Z | src/masonite/contracts/AuthContract.py | holic-cl/masonite | c5eab7db5f87e389fe83a1f0f20a005035ada9d9 | [
"MIT"
] | 840 | 2018-01-27T04:26:20.000Z | 2021-01-24T12:28:58.000Z | src/masonite/contracts/AuthContract.py | holic-cl/masonite | c5eab7db5f87e389fe83a1f0f20a005035ada9d9 | [
"MIT"
] | 100 | 2018-02-23T00:19:55.000Z | 2020-08-28T07:59:31.000Z | from abc import ABC as Contract, abstractmethod
class AuthContract(Contract):
@abstractmethod
def user(self):
pass
@abstractmethod
def save(self):
pass
@abstractmethod
def delete(self):
pass
| 14.352941 | 47 | 0.631148 | 25 | 244 | 6.16 | 0.56 | 0.331169 | 0.285714 | 0.324675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.303279 | 244 | 16 | 48 | 15.25 | 0.905882 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.090909 | 0 | 0.454545 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e1ff64213edb5548904c05273b193883e930a827 | 150 | py | Python | examples/simple_regex/routes/__init__.py | nekonoshiri/tiny-router | 3bb808bcc9f9eb368ee390179dfc5e9d48cf8600 | [
"MIT"
] | null | null | null | examples/simple_regex/routes/__init__.py | nekonoshiri/tiny-router | 3bb808bcc9f9eb368ee390179dfc5e9d48cf8600 | [
"MIT"
] | null | null | null | examples/simple_regex/routes/__init__.py | nekonoshiri/tiny-router | 3bb808bcc9f9eb368ee390179dfc5e9d48cf8600 | [
"MIT"
] | null | null | null | from ..router import Router
from . import create_user, get_user
router = Router()
router.include(get_user.router)
router.include(create_user.router)
| 21.428571 | 35 | 0.8 | 22 | 150 | 5.272727 | 0.318182 | 0.258621 | 0.224138 | 0.327586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 150 | 6 | 36 | 25 | 0.859259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c06b4470ee6ba272de73e528bcb01060567707f9 | 142 | py | Python | instanotifier/fetcher/scripts/fetcher.py | chaudbak/instanotifier | d29bc6bd9b7a003403886bfff1376b2c1925cc74 | [
"MIT"
] | null | null | null | instanotifier/fetcher/scripts/fetcher.py | chaudbak/instanotifier | d29bc6bd9b7a003403886bfff1376b2c1925cc74 | [
"MIT"
] | 6 | 2020-06-06T01:27:17.000Z | 2022-02-10T11:20:17.000Z | instanotifier/fetcher/scripts/fetcher.py | chaudbak/instanotifier | d29bc6bd9b7a003403886bfff1376b2c1925cc74 | [
"MIT"
] | null | null | null | from instanotifier.fetcher import tests
def run():
# is executed when ran with 'manage.py runscript tests'
tests.test_rss_fetcher()
| 20.285714 | 59 | 0.739437 | 20 | 142 | 5.15 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 142 | 6 | 60 | 23.666667 | 0.887931 | 0.373239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2200800f734e84798d40a112ef14379650a7d44d | 145 | py | Python | tests/test_import.py | GoodManWEN/typehints_checker | 36e2b2f27b4c392543972e8e466f8e48dfeff274 | [
"MIT"
] | null | null | null | tests/test_import.py | GoodManWEN/typehints_checker | 36e2b2f27b4c392543972e8e466f8e48dfeff274 | [
"MIT"
] | null | null | null | tests/test_import.py | GoodManWEN/typehints_checker | 36e2b2f27b4c392543972e8e466f8e48dfeff274 | [
"MIT"
] | null | null | null | import os , sys
sys.path.append(os.getcwd())
import pytest
from typehints_checker import *
@pytest.mark.asyncio
async def test_import():
... | 18.125 | 31 | 0.737931 | 21 | 145 | 5 | 0.714286 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 145 | 8 | 32 | 18.125 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 |
22135b653bd172de4f59e045357620ffd83da98a | 48 | py | Python | echolect/millstone/__init__.py | ryanvolz/echolect | ec2594925f34fdaea69b64e725fccb0c99665a55 | [
"BSD-3-Clause"
] | 1 | 2022-03-24T22:48:12.000Z | 2022-03-24T22:48:12.000Z | echolect/millstone/__init__.py | scivision/echolect | ec2594925f34fdaea69b64e725fccb0c99665a55 | [
"BSD-3-Clause"
] | 1 | 2015-03-25T20:41:24.000Z | 2015-03-25T20:41:24.000Z | echolect/millstone/__init__.py | scivision/echolect | ec2594925f34fdaea69b64e725fccb0c99665a55 | [
"BSD-3-Clause"
] | null | null | null | from .read_hdf5 import *
from .hdf5_api import * | 24 | 24 | 0.770833 | 8 | 48 | 4.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.145833 | 48 | 2 | 25 | 24 | 0.804878 | 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 |
2231aae6662593f94c1874f0078bab296c0ac96f | 2,104 | py | Python | SGE/src/configs/rng_seeds.py | dabingrosewood/MasterThesisProj | 7e40fa2395468a1bccef429362a61ed8515ecc11 | [
"MIT"
] | null | null | null | SGE/src/configs/rng_seeds.py | dabingrosewood/MasterThesisProj | 7e40fa2395468a1bccef429362a61ed8515ecc11 | [
"MIT"
] | null | null | null | SGE/src/configs/rng_seeds.py | dabingrosewood/MasterThesisProj | 7e40fa2395468a1bccef429362a61ed8515ecc11 | [
"MIT"
] | null | null | null | # CONFIG
seeds = [6598903756360202179, 2908409715321502665, 6126375328734039552, 1447957147463681860, 8611858271322161001, 1129180857020570158, 6362222119948958210, 7116573423379052515, 6183551438103583226, 4025455056998962241, 3253052445978017587, 8447055112402476503, 5958072666039141800, 704315598608973559, 127314171... | 701.333333 | 2,094 | 0.901616 | 102 | 2,104 | 18.598039 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.943 | 0.04943 | 2,104 | 2 | 2,095 | 1,052 | 0.0055 | 0.002852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
225438e5c2b8551e69ccb321df71b6704ae2b4d5 | 17 | py | Python | 2.py | modianor/git_project | 21d664bfa31d6f3e584ffc594514ea4342b6bc3f | [
"MIT"
] | null | null | null | 2.py | modianor/git_project | 21d664bfa31d6f3e584ffc594514ea4342b6bc3f | [
"MIT"
] | null | null | null | 2.py | modianor/git_project | 21d664bfa31d6f3e584ffc594514ea4342b6bc3f | [
"MIT"
] | null | null | null | A = 1
B = 2
C = 4 | 5.666667 | 5 | 0.352941 | 6 | 17 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.470588 | 17 | 3 | 6 | 5.666667 | 0.333333 | 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 |
2255fb2ff207d881f927e1b321a4dc62c8ca610a | 17 | py | Python | src/ixu/commands/server/__init__.py | luanguimaraesla/ixu | f213bdf27fc7336a76110cf3f89e30ae1d5a64fb | [
"Apache-2.0"
] | 2 | 2021-05-14T17:14:09.000Z | 2021-06-13T21:35:04.000Z | src/ixu/commands/server/__init__.py | luanguimaraesla/ixu | f213bdf27fc7336a76110cf3f89e30ae1d5a64fb | [
"Apache-2.0"
] | null | null | null | src/ixu/commands/server/__init__.py | luanguimaraesla/ixu | f213bdf27fc7336a76110cf3f89e30ae1d5a64fb | [
"Apache-2.0"
] | null | null | null | from . import up
| 8.5 | 16 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 17 | 1 | 17 | 17 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97fe866f84f325af30eccf7ed7f76920a2b9b84a | 186 | py | Python | incapsula/__init__.py | zanachka/incapsula-cracker-py3 | be1738d0e649e91de75583b694372bc04547fa85 | [
"Unlicense"
] | null | null | null | incapsula/__init__.py | zanachka/incapsula-cracker-py3 | be1738d0e649e91de75583b694372bc04547fa85 | [
"Unlicense"
] | null | null | null | incapsula/__init__.py | zanachka/incapsula-cracker-py3 | be1738d0e649e91de75583b694372bc04547fa85 | [
"Unlicense"
] | null | null | null | from .errors import IncapBlocked, MaxRetriesExceeded, RecaptchaBlocked
from .parsers import ResourceParser, WebsiteResourceParser, IframeResourceParser
from .session import IncapSession
| 46.5 | 80 | 0.876344 | 16 | 186 | 10.1875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 186 | 3 | 81 | 62 | 0.958824 | 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 |
3f01198a019097c1976dc940001aed540d4f3634 | 713 | py | Python | old/dea/aws/__init__.py | robbibt/odc-tools | e2df2c9ef65dbd5652d97cd88617989b4b724814 | [
"Apache-2.0"
] | null | null | null | old/dea/aws/__init__.py | robbibt/odc-tools | e2df2c9ef65dbd5652d97cd88617989b4b724814 | [
"Apache-2.0"
] | null | null | null | old/dea/aws/__init__.py | robbibt/odc-tools | e2df2c9ef65dbd5652d97cd88617989b4b724814 | [
"Apache-2.0"
] | null | null | null | from odc.aws import (
ec2_metadata,
ec2_current_region,
botocore_default_region,
auto_find_region,
make_s3_client,
s3_url_parse,
s3_fmt_range,
s3_ls,
s3_ls_dir,
s3_find,
get_boto_session,
get_creds_with_retry,
s3_fetch,
)
from odc.aws._find import (
s3_file_info,... | 16.97619 | 30 | 0.647966 | 96 | 713 | 4.197917 | 0.354167 | 0.039702 | 0.049628 | 0.104218 | 0.903226 | 0.903226 | 0.903226 | 0.739454 | 0.739454 | 0.739454 | 0 | 0.037313 | 0.248247 | 713 | 41 | 31 | 17.390244 | 0.714552 | 0 | 0 | 0 | 0 | 0 | 0.293128 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f02d35a7926f58cae17ffac0f474623fde43a2e | 37,840 | py | Python | pybind/slxos/v17r_2_00/mpls_state/rsvp/igp_sync/link/lsp/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/mpls_state/rsvp/igp_sync/link/lsp/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/mpls_state/rsvp/igp_sync/link/lsp/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 66.737213 | 754 | 0.742072 | 5,297 | 37,840 | 5.031527 | 0.039834 | 0.044274 | 0.05463 | 0.035119 | 0.905561 | 0.869916 | 0.847629 | 0.840687 | 0.820351 | 0.815549 | 0 | 0.008447 | 0.130233 | 37,840 | 566 | 755 | 66.855124 | 0.801349 | 0.181554 | 0 | 0.507886 | 0 | 0.037855 | 0.365698 | 0.19831 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123028 | false | 0 | 0.028391 | 0 | 0.26183 | 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 |
3f15b4889cdf171226bf2916a6b9994712b58560 | 56,576 | py | Python | tests/learning/test_prediction_error_delta_function.py | mihaic/psyneulink | 3d2fc3117c82bccc92fc585add330b0f9b35c830 | [
"Apache-2.0"
] | null | null | null | tests/learning/test_prediction_error_delta_function.py | mihaic/psyneulink | 3d2fc3117c82bccc92fc585add330b0f9b35c830 | [
"Apache-2.0"
] | null | null | null | tests/learning/test_prediction_error_delta_function.py | mihaic/psyneulink | 3d2fc3117c82bccc92fc585add330b0f9b35c830 | [
"Apache-2.0"
] | null | null | null | import numpy as np
from psyneulink import PredictionErrorDeltaFunction
np.set_printoptions(suppress=True)
def test_prediction_error_delta_first_run():
learning_rate = 0.3
stimulus_onset = 41
sample = np.zeros(60)
sample[stimulus_onset:] = 1
reward_onset = 54
target = np.zeros(60)
targe... | 72.255428 | 80 | 0.352128 | 7,468 | 56,576 | 2.663765 | 0.108731 | 0.572262 | 0.849193 | 1.119992 | 0.292967 | 0.292967 | 0.292967 | 0.292967 | 0.292967 | 0.292967 | 0 | 0.694022 | 0.513893 | 56,576 | 783 | 81 | 72.255428 | 0.029307 | 0.000689 | 0 | 0.406494 | 0 | 0 | 0.000761 | 0 | 0 | 0 | 0 | 0 | 0.001299 | 1 | 0.001299 | false | 0 | 0.002597 | 0 | 0.003896 | 0.003896 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f1d2166206051864985cc1f8d2162c4a056737f | 13,796 | py | Python | flask_demo/main.py | yzj2019/database_learning | a9260799f96010674bb4077180ee45a51481e832 | [
"MIT"
] | null | null | null | flask_demo/main.py | yzj2019/database_learning | a9260799f96010674bb4077180ee45a51481e832 | [
"MIT"
] | null | null | null | flask_demo/main.py | yzj2019/database_learning | a9260799f96010674bb4077180ee45a51481e832 | [
"MIT"
] | null | null | null | # coding=utf-8
import functools
from flask import Flask, session
from flask import redirect
from flask import request, make_response
from flask import render_template
from flask import url_for
from flask_bootstrap import Bootstrap
# 数据库处理
from db import *
# json
import json
# 生成一个app
app = Flask(__name... | 34.318408 | 101 | 0.508771 | 1,424 | 13,796 | 4.872191 | 0.116573 | 0.051888 | 0.054771 | 0.039349 | 0.75382 | 0.733641 | 0.733641 | 0.717642 | 0.705967 | 0.697463 | 0 | 0.004628 | 0.342201 | 13,796 | 402 | 102 | 34.318408 | 0.75989 | 0.06183 | 0 | 0.706271 | 0 | 0 | 0.135356 | 0.003362 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042904 | false | 0.039604 | 0.029703 | 0.009901 | 0.211221 | 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 |
3f3831fca3eb8519b2004ca6b866229be692631e | 91 | py | Python | rh_pathfinding/src/rh_pathfinding/engine/geometry/obstacle/lineFinder/__init__.py | RhinohawkUAV/rh_ros | e13077060bdfcc231adee9731ebfddadcd8d6b4a | [
"MIT"
] | 4 | 2020-05-13T19:34:27.000Z | 2021-09-20T09:01:10.000Z | rh_pathfinding/src/rh_pathfinding/engine/geometry/obstacle/lineFinder/__init__.py | RhinohawkUAV/rh_ros | e13077060bdfcc231adee9731ebfddadcd8d6b4a | [
"MIT"
] | null | null | null | rh_pathfinding/src/rh_pathfinding/engine/geometry/obstacle/lineFinder/__init__.py | RhinohawkUAV/rh_ros | e13077060bdfcc231adee9731ebfddadcd8d6b4a | [
"MIT"
] | 2 | 2019-09-14T14:45:09.000Z | 2020-11-22T01:46:59.000Z | from linePathSegment import LinePathSegment
from lineSegmentFinder import LineSegmentFinder | 45.5 | 47 | 0.923077 | 8 | 91 | 10.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 91 | 2 | 47 | 45.5 | 1 | 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 |
450a8b0c8c6133dd03a986ca11b5d16bc7850c24 | 9,945 | py | Python | test_fast_ndimage.py | grlee77/skimage_accel_demos | 96606ca27c8c622733958c01620bc55e616319db | [
"BSD-3-Clause"
] | null | null | null | test_fast_ndimage.py | grlee77/skimage_accel_demos | 96606ca27c8c622733958c01620bc55e616319db | [
"BSD-3-Clause"
] | null | null | null | test_fast_ndimage.py | grlee77/skimage_accel_demos | 96606ca27c8c622733958c01620bc55e616319db | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from numpy.testing import assert_allclose, run_module_suite
from fast_ndimage import (
median_filter, sobel, convolve, correlate, gaussian_filter,
gaussian_filter1d, uniform_filter, uniform_filter1d)
def test_median_filter():
rtol = atol = 1e-7
shape = (63, 64)
rstate = np.rando... | 44.2 | 173 | 0.627954 | 1,275 | 9,945 | 4.762353 | 0.079216 | 0.056324 | 0.062582 | 0.081357 | 0.908267 | 0.898057 | 0.876318 | 0.857543 | 0.847991 | 0.811594 | 0 | 0.041738 | 0.2363 | 9,945 | 224 | 174 | 44.397321 | 0.757735 | 0.140774 | 0 | 0.682635 | 0 | 0 | 0.06272 | 0 | 0 | 0 | 0 | 0.004464 | 0.11976 | 1 | 0.047904 | false | 0 | 0.017964 | 0 | 0.065868 | 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 |
451f9b7ff4174b43f88b83397cc76cc631f10347 | 148 | py | Python | app/captcha/handlers/verify.py | huioo/tornadoWeb | 001efbae9815b30d8a0c0b4ba8819cc711b99dc4 | [
"Apache-2.0"
] | null | null | null | app/captcha/handlers/verify.py | huioo/tornadoWeb | 001efbae9815b30d8a0c0b4ba8819cc711b99dc4 | [
"Apache-2.0"
] | null | null | null | app/captcha/handlers/verify.py | huioo/tornadoWeb | 001efbae9815b30d8a0c0b4ba8819cc711b99dc4 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import tornado.web
class Handler(tornado.web.RequestHandler):
def initialize(self):
pass | 18.5 | 42 | 0.662162 | 19 | 148 | 5.157895 | 0.894737 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.182432 | 148 | 8 | 43 | 18.5 | 0.801653 | 0.283784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
18bcc995a7294c17a7102d9ddff9a88a24d958f1 | 27 | py | Python | itsnp/__init__.py | CaffeineDuck/itsnp-discord-bot | 73d8fddc282c0fbc3cdaef81eef3efa9dccacfd8 | [
"MIT"
] | null | null | null | itsnp/__init__.py | CaffeineDuck/itsnp-discord-bot | 73d8fddc282c0fbc3cdaef81eef3efa9dccacfd8 | [
"MIT"
] | null | null | null | itsnp/__init__.py | CaffeineDuck/itsnp-discord-bot | 73d8fddc282c0fbc3cdaef81eef3efa9dccacfd8 | [
"MIT"
] | null | null | null | from .bot import ItsnpBot
| 13.5 | 26 | 0.777778 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18d163664110bd63d5393ef2d5efd9b345f52613 | 38 | py | Python | researchutils/task/__init__.py | yuishihara/researchutils | bb3ec467386d43a1e2282ec6d024216ce4dae841 | [
"MIT"
] | 1 | 2018-09-06T00:54:49.000Z | 2018-09-06T00:54:49.000Z | researchutils/task/__init__.py | yuishihara/researchutils | bb3ec467386d43a1e2282ec6d024216ce4dae841 | [
"MIT"
] | 28 | 2018-08-25T03:54:30.000Z | 2018-10-14T12:09:47.000Z | researchutils/task/__init__.py | yuishihara/researchutils | bb3ec467386d43a1e2282ec6d024216ce4dae841 | [
"MIT"
] | null | null | null | from researchutils.task import plotter | 38 | 38 | 0.894737 | 5 | 38 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e17db1fd4e96affffe66942426ac284e73e8b345 | 10,463 | py | Python | tests/base/test_endpoints_authentication.py | rapydo/http-api | ef0a299173195145303069534d45d446ea4da93a | [
"MIT"
] | 8 | 2018-07-04T09:54:46.000Z | 2022-03-17T08:21:06.000Z | tests/base/test_endpoints_authentication.py | rapydo/http-api | ef0a299173195145303069534d45d446ea4da93a | [
"MIT"
] | 19 | 2018-04-18T07:24:55.000Z | 2022-03-04T01:03:15.000Z | tests/base/test_endpoints_authentication.py | rapydo/http-api | ef0a299173195145303069534d45d446ea4da93a | [
"MIT"
] | 7 | 2018-07-03T12:17:50.000Z | 2021-05-05T04:33:32.000Z | from restapi.connectors import Connector
from restapi.env import Env
from restapi.services.authentication import BaseAuthentication, Role
from restapi.tests import API_URI, BaseTests, FlaskClient
from restapi.utilities.logs import log
class TestApp(BaseTests):
def test_no_auth(self, client: FlaskClient) -> None:
... | 35.228956 | 88 | 0.60346 | 1,189 | 10,463 | 5.158957 | 0.105971 | 0.032279 | 0.052168 | 0.057385 | 0.862406 | 0.843006 | 0.841539 | 0.825888 | 0.7791 | 0.684056 | 0 | 0.017253 | 0.29093 | 10,463 | 296 | 89 | 35.347973 | 0.809543 | 0.062793 | 0 | 0.666667 | 0 | 0 | 0.192339 | 0.11716 | 0 | 0 | 0 | 0 | 0.342342 | 1 | 0.031532 | false | 0.004505 | 0.022523 | 0 | 0.085586 | 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 |
bedcd44ac29b275e927dc09d0e22f32d04f7138a | 59 | py | Python | pyds/heap/__init__.py | nitinkatyal1314/data-structures | 2e7f5b99a6b09cea48f729682d9431b72afbfd7a | [
"MIT"
] | 6 | 2021-04-06T18:14:59.000Z | 2021-07-18T03:26:03.000Z | pyds/heap/__init__.py | nitinkatyal1314/data-structures | 2e7f5b99a6b09cea48f729682d9431b72afbfd7a | [
"MIT"
] | null | null | null | pyds/heap/__init__.py | nitinkatyal1314/data-structures | 2e7f5b99a6b09cea48f729682d9431b72afbfd7a | [
"MIT"
] | null | null | null | from .api import HeapAPI as Heap
from .api import HeapType
| 19.666667 | 32 | 0.79661 | 10 | 59 | 4.7 | 0.7 | 0.297872 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 59 | 2 | 33 | 29.5 | 0.959184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
beee49868a956aa3196803cdf539676b921996ae | 11,496 | py | Python | senlin-7.0.0/senlin/tests/unit/api/middleware/test_version_negotiation.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | null | null | null | senlin-7.0.0/senlin/tests/unit/api/middleware/test_version_negotiation.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | 5 | 2019-08-14T06:46:03.000Z | 2021-12-13T20:01:25.000Z | senlin-7.0.0/senlin/tests/unit/api/middleware/test_version_negotiation.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | 2 | 2020-03-15T01:24:15.000Z | 2020-07-22T20:34:26.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed unde... | 40.336842 | 79 | 0.673626 | 1,357 | 11,496 | 5.482682 | 0.134856 | 0.022581 | 0.025538 | 0.084274 | 0.811559 | 0.785349 | 0.763844 | 0.731317 | 0.710887 | 0.66707 | 0 | 0.008547 | 0.216336 | 11,496 | 284 | 80 | 40.478873 | 0.817294 | 0.045668 | 0 | 0.63285 | 0 | 0 | 0.112602 | 0.039055 | 0 | 0 | 0 | 0 | 0.202899 | 1 | 0.091787 | false | 0 | 0.038647 | 0 | 0.135266 | 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 |
bef5aaf1ff9723ae8680002976dbc5ebda4fccc9 | 37 | py | Python | pp/web/base/tests/test_forjenkins.py | oisinmulvihill/pp-web-base | 0be51b1d98c4923e1f4ccbfaea59ae662a8c5cdc | [
"BSD-3-Clause"
] | null | null | null | pp/web/base/tests/test_forjenkins.py | oisinmulvihill/pp-web-base | 0be51b1d98c4923e1f4ccbfaea59ae662a8c5cdc | [
"BSD-3-Clause"
] | null | null | null | pp/web/base/tests/test_forjenkins.py | oisinmulvihill/pp-web-base | 0be51b1d98c4923e1f4ccbfaea59ae662a8c5cdc | [
"BSD-3-Clause"
] | null | null | null |
def test_nonop():
assert 1 == 1
| 9.25 | 17 | 0.567568 | 6 | 37 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.297297 | 37 | 3 | 18 | 12.333333 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
83363c0ef913ccccece0efe1dc580e5eb1715e0d | 239 | py | Python | veinmind-backdoor/register.py | Jqqzzz/veinmind-tools | d7d35880efb4f5f5ad4c3f4685f5d0f4ec8e404f | [
"MIT"
] | 364 | 2022-02-09T07:05:00.000Z | 2022-03-31T15:12:52.000Z | veinmind-backdoor/register.py | lionkgxu/veinmind-tools | 415aae9da5f0e31275ecdf61a2cef088c766d381 | [
"MIT"
] | 9 | 2022-03-03T01:02:15.000Z | 2022-03-28T03:24:30.000Z | veinmind-backdoor/register.py | lionkgxu/veinmind-tools | 415aae9da5f0e31275ecdf61a2cef088c766d381 | [
"MIT"
] | 62 | 2022-02-10T09:54:15.000Z | 2022-03-31T09:43:00.000Z | class register:
plugin_dict = {}
plugin_name = []
@classmethod
def register(cls, plugin_name):
def wrapper(plugin):
cls.plugin_dict[plugin_name] = plugin
return plugin
return wrapper | 23.9 | 49 | 0.598326 | 25 | 239 | 5.52 | 0.4 | 0.217391 | 0.231884 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322176 | 239 | 10 | 50 | 23.9 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.777778 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
83399c09776772609094ffc2ac08102d789dfc9b | 21,383 | py | Python | cave/com.raytheon.viz.gfe/python/autotest/RoutineLevel4_1_TestScript.py | srcarter3/awips2 | 37f31f5e88516b9fd576eaa49d43bfb762e1d174 | [
"Apache-2.0"
] | null | null | null | cave/com.raytheon.viz.gfe/python/autotest/RoutineLevel4_1_TestScript.py | srcarter3/awips2 | 37f31f5e88516b9fd576eaa49d43bfb762e1d174 | [
"Apache-2.0"
] | null | null | null | cave/com.raytheon.viz.gfe/python/autotest/RoutineLevel4_1_TestScript.py | srcarter3/awips2 | 37f31f5e88516b9fd576eaa49d43bfb762e1d174 | [
"Apache-2.0"
] | 1 | 2021-10-30T00:03:05.000Z | 2021-10-30T00:03:05.000Z | # #
# This software was developed and / or modified by Raytheon Company,
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
#
# U.S. EXPORT CONTROLLED TECHNICAL DATA
# This software product contains export-restricted data whose
# export/transfer/disclosure is restricted by U.S. law. Dissemination
# to ... | 41.520388 | 189 | 0.533087 | 2,356 | 21,383 | 4.793294 | 0.11927 | 0.028779 | 0.034712 | 0.05499 | 0.831843 | 0.820066 | 0.7703 | 0.736385 | 0.72452 | 0.720181 | 0 | 0.055798 | 0.240658 | 21,383 | 514 | 190 | 41.601167 | 0.639712 | 0.060328 | 0 | 0.603982 | 0 | 0.022124 | 0.540561 | 0.051686 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002212 | false | 0 | 0.004425 | 0 | 0.00885 | 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 |
8369920fc0165d90314e66e5b7970c7cffdf56d6 | 106 | py | Python | spark_application/transformations/__init__.py | ketanvatsalya/pyspark_project_template | 72f6cc843ce04cbbf15eaf49c2435b7f31366194 | [
"MIT"
] | null | null | null | spark_application/transformations/__init__.py | ketanvatsalya/pyspark_project_template | 72f6cc843ce04cbbf15eaf49c2435b7f31366194 | [
"MIT"
] | null | null | null | spark_application/transformations/__init__.py | ketanvatsalya/pyspark_project_template | 72f6cc843ce04cbbf15eaf49c2435b7f31366194 | [
"MIT"
] | null | null | null | """
Package to hold the Transformation Classes
"""
from . import base
from . import spend_per_department
| 15.142857 | 42 | 0.764151 | 14 | 106 | 5.642857 | 0.857143 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 106 | 6 | 43 | 17.666667 | 0.88764 | 0.396226 | 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 |
55e27b739ace5413321cb8d38b36117252a799e4 | 2,564 | py | Python | flow/sequential.py | altosaar/hierarchical-variational-models-physics | 611d91e0281664d7d5ba1679bec7adfb3aac41e2 | [
"MIT"
] | 14 | 2020-05-10T20:44:49.000Z | 2022-01-12T23:06:24.000Z | flow/sequential.py | altosaar/hierarchical-variational-models-physics | 611d91e0281664d7d5ba1679bec7adfb3aac41e2 | [
"MIT"
] | null | null | null | flow/sequential.py | altosaar/hierarchical-variational-models-physics | 611d91e0281664d7d5ba1679bec7adfb3aac41e2 | [
"MIT"
] | null | null | null | import torch
from torch import nn
class FlowSequential(nn.Sequential):
"""Forward pass with log determinant of the Jacobian."""
def forward(self, input, context=None):
total_log_prob = torch.zeros(input.size(0), device=input.device)
for block in self._modules.values():
input, log_prob = block(input,... | 35.123288 | 74 | 0.710608 | 354 | 2,564 | 4.977401 | 0.166667 | 0.119183 | 0.122588 | 0.064699 | 0.820091 | 0.81101 | 0.803065 | 0.764472 | 0.739501 | 0.739501 | 0 | 0.006635 | 0.177067 | 2,564 | 72 | 75 | 35.611111 | 0.828436 | 0.071373 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12963 | false | 0 | 0.037037 | 0 | 0.351852 | 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 |
55f43053f0d67231d40b9280a1fec18d43d92658 | 169 | py | Python | src/rlib/debug.py | SOM-st/PySOM | 65ef72f44252439b724a7429408dac7f8d1b1d98 | [
"MIT"
] | 22 | 2015-10-29T05:11:06.000Z | 2022-03-01T11:18:45.000Z | src/rlib/debug.py | smarr/PySOM | 65ef72f44252439b724a7429408dac7f8d1b1d98 | [
"MIT"
] | 16 | 2021-03-07T22:09:33.000Z | 2021-08-24T12:36:15.000Z | src/rlib/debug.py | SOM-st/PySOM | 65ef72f44252439b724a7429408dac7f8d1b1d98 | [
"MIT"
] | 5 | 2015-01-02T03:51:29.000Z | 2020-10-02T07:05:46.000Z | try:
from rpython.rlib.debug import make_sure_not_resized # pylint: disable=W
except ImportError:
"NOT_RPYTHON"
def make_sure_not_resized(_):
pass
| 21.125 | 77 | 0.715976 | 23 | 169 | 4.913043 | 0.73913 | 0.141593 | 0.19469 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213018 | 169 | 7 | 78 | 24.142857 | 0.849624 | 0.100592 | 0 | 0 | 0 | 0 | 0.073333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
36011f50763e2763762534e112d2a7cea6f3af2e | 65 | py | Python | experiments/archived/20210203/bag_model/models/__init__.py | fxnnxc/text_summarization | b8c8a5f491bc44622203602941c1514b2e006fe3 | [
"Apache-2.0"
] | 5 | 2020-10-14T02:30:44.000Z | 2021-05-06T12:48:28.000Z | experiments/archived/20210119/bag_model/models/__init__.py | fxnnxc/text_summarization | b8c8a5f491bc44622203602941c1514b2e006fe3 | [
"Apache-2.0"
] | 2 | 2020-12-19T05:59:31.000Z | 2020-12-22T11:05:31.000Z | experiments/archived/20210203/bag_model/models/__init__.py | fxnnxc/text_summarization | b8c8a5f491bc44622203602941c1514b2e006fe3 | [
"Apache-2.0"
] | null | null | null | from .hub_interface import * # noqa
from .model import * # noqa | 32.5 | 36 | 0.707692 | 9 | 65 | 5 | 0.666667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 65 | 2 | 37 | 32.5 | 0.865385 | 0.138462 | 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 |
369f3934be836b3619a596d326601ac157eae3f4 | 2,344 | py | Python | eternalghost.py | awareseven/eternalghosttest | 989dafac06b72af21e1cd7103c92ec6b399e5133 | [
"MIT"
] | 2 | 2020-03-15T11:39:18.000Z | 2021-12-05T20:38:48.000Z | eternalghost.py | awareseven/eternalghosttest | 989dafac06b72af21e1cd7103c92ec6b399e5133 | [
"MIT"
] | null | null | null | eternalghost.py | awareseven/eternalghosttest | 989dafac06b72af21e1cd7103c92ec6b399e5133 | [
"MIT"
] | 2 | 2020-03-18T20:21:37.000Z | 2020-10-13T09:19:14.000Z | import socket
import struct
import sys
banner = """
_ _ _ _
| | | | | | | |
___| |_ ___ _ __ _ __ __ _| | __ _| |__ ___ ___| |_
/ _ \ __/ _ \ '__| '_ \ / _` | |/ _` | '_ \ / _ \/ __| __|
| __/ || __/ | | | | | (... | 45.076923 | 761 | 0.593857 | 362 | 2,344 | 3.593923 | 0.267956 | 0.641045 | 0.857802 | 1.014604 | 0.447348 | 0.435819 | 0.435819 | 0.435819 | 0.40123 | 0.380477 | 0 | 0.228509 | 0.21587 | 2,344 | 52 | 762 | 45.076923 | 0.479325 | 0.074659 | 0 | 0.083333 | 0 | 0.166667 | 0.742593 | 0.347685 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.194444 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36c9545921e82accc771994b4028870845e16cb0 | 19,349 | py | Python | tests/test_cli.py | jameswilkerson/elex | 27733e3c473fef48676f8bdd56247bee49ad32ea | [
"Apache-2.0"
] | 183 | 2015-11-25T15:13:47.000Z | 2022-01-07T23:02:36.000Z | tests/test_cli.py | jameswilkerson/elex | 27733e3c473fef48676f8bdd56247bee49ad32ea | [
"Apache-2.0"
] | 198 | 2015-11-24T16:48:48.000Z | 2020-10-26T10:38:56.000Z | tests/test_cli.py | jameswilkerson/elex | 27733e3c473fef48676f8bdd56247bee49ad32ea | [
"Apache-2.0"
] | 65 | 2015-12-03T21:29:38.000Z | 2021-08-10T20:03:49.000Z | import csv
import sys
import json
import tests
try:
from cStringIO import StringIO
except ImportError:
from io import StringIO
from six import with_metaclass
from elex.cli.app import ElexApp
from collections import OrderedDict
DATA_FILE = 'tests/data/20151103_national.json'
DATA_ELECTION_DATE = '2015-11-03'
DE... | 33.826923 | 80 | 0.567213 | 2,008 | 19,349 | 5.190737 | 0.092629 | 0.067543 | 0.043749 | 0.06927 | 0.909047 | 0.901564 | 0.893217 | 0.892449 | 0.875756 | 0.873357 | 0 | 0.017043 | 0.329836 | 19,349 | 571 | 81 | 33.886165 | 0.786766 | 0.060985 | 0 | 0.687646 | 0 | 0 | 0.105222 | 0.022604 | 0 | 0 | 0 | 0 | 0.09324 | 1 | 0.125874 | false | 0 | 0.02331 | 0 | 0.195804 | 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 |
36eb37aac32d06e68b8f0f03ae15c8cd3b04fb1f | 49 | py | Python | trees/dasgupta/__init__.py | islamazhar/trees | 502565c5bf02503c7bece09cddd93f9368da02c3 | [
"MIT"
] | null | null | null | trees/dasgupta/__init__.py | islamazhar/trees | 502565c5bf02503c7bece09cddd93f9368da02c3 | [
"MIT"
] | null | null | null | trees/dasgupta/__init__.py | islamazhar/trees | 502565c5bf02503c7bece09cddd93f9368da02c3 | [
"MIT"
] | null | null | null | from trees.dasgupta.costtree import DasguptaTree
| 24.5 | 48 | 0.877551 | 6 | 49 | 7.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.955556 | 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 |
7fe7fde051fa8a3d76d968e9a6574579dd014181 | 152 | py | Python | exercises/01_Primeiros Passos/exe_08.py | MariaTrindade/CursoPython | 2c60dd670747db08011d9dd33e3bbfd5795b06e8 | [
"Apache-2.0"
] | 1 | 2021-05-11T18:30:17.000Z | 2021-05-11T18:30:17.000Z | exercises/01_Primeiros Passos/exe_08.py | MariaTrindade/CursoPython | 2c60dd670747db08011d9dd33e3bbfd5795b06e8 | [
"Apache-2.0"
] | null | null | null | exercises/01_Primeiros Passos/exe_08.py | MariaTrindade/CursoPython | 2c60dd670747db08011d9dd33e3bbfd5795b06e8 | [
"Apache-2.0"
] | null | null | null | """
Faça um Programa que peça a temperatura em graus Fahrenheit, transforme e mostre
a temperatura em graus Celsius.
C = (5 * (F-32) / 9)
"""
| 9.5 | 80 | 0.651316 | 23 | 152 | 4.304348 | 0.826087 | 0.242424 | 0.282828 | 0.383838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.243421 | 152 | 15 | 81 | 10.133333 | 0.826087 | 0.881579 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7fec3044100d2f06c27146cd462ed08cea1a54d2 | 201 | py | Python | utils/compilers/ConnectionCompiler/token.py | pranaOS-bot/pranaOS-1 | ddb8086d103d004f84744641624e74fc7ec0984e | [
"BSD-2-Clause"
] | 5 | 2021-10-06T13:47:26.000Z | 2022-03-24T10:42:06.000Z | utils/compilers/ConnectionCompiler/token.py | evilbat831/brutalOS | 85920a6a95d564320a245a2e48ffc7cdf64ede84 | [
"BSD-2-Clause"
] | null | null | null | utils/compilers/ConnectionCompiler/token.py | evilbat831/brutalOS | 85920a6a95d564320a245a2e48ffc7cdf64ede84 | [
"BSD-2-Clause"
] | 1 | 2021-10-18T12:48:16.000Z | 2021-10-18T12:48:16.000Z |
class Token:
def __init__(self, type=None, value=None):
self.type = type
self.value = value
def __str__(self):
return "Token({0}, {1})".format(self.type, self.value) | 20.1 | 62 | 0.587065 | 27 | 201 | 4.074074 | 0.481481 | 0.218182 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.263682 | 201 | 10 | 62 | 20.1 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 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 |
3d0113714f49189583df2b472f9f7bb1b7d3193b | 117 | py | Python | aficionado/defaults.py | SamuelHornsey/aficionado | 27654028ede3d719b091dd61f5c8d252f631a316 | [
"MIT"
] | 1 | 2019-11-27T21:58:10.000Z | 2019-11-27T21:58:10.000Z | aficionado/defaults.py | SamuelHornsey/aficionado | 27654028ede3d719b091dd61f5c8d252f631a316 | [
"MIT"
] | null | null | null | aficionado/defaults.py | SamuelHornsey/aficionado | 27654028ede3d719b091dd61f5c8d252f631a316 | [
"MIT"
] | null | null | null | def not_found_handler():
return '404. Path not found'
def internal_error_handler():
return '500. Internal error' | 23.4 | 30 | 0.752137 | 17 | 117 | 4.941176 | 0.588235 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0.145299 | 117 | 5 | 31 | 23.4 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0.322034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3d06f699f338062bc96644c815234c6952e6bcf8 | 1,136 | py | Python | libary/yml_wrapper.py | NekoFanatic/kaiji | 7ae8e12d4e821e7d28d78034e1ec044ed75f9536 | [
"MIT"
] | null | null | null | libary/yml_wrapper.py | NekoFanatic/kaiji | 7ae8e12d4e821e7d28d78034e1ec044ed75f9536 | [
"MIT"
] | null | null | null | libary/yml_wrapper.py | NekoFanatic/kaiji | 7ae8e12d4e821e7d28d78034e1ec044ed75f9536 | [
"MIT"
] | null | null | null | from typing import Union
import yaml
class ConfigReader:
def __init__(self):
with open("config.yml", "r") as f:
data = yaml.safe_load(f)
self.data = data
def __getattr__(self, __name: str):
s = __name.split("_")
data = self.data
try:
for i in s... | 23.183673 | 52 | 0.49912 | 136 | 1,136 | 3.955882 | 0.308824 | 0.074349 | 0.072491 | 0.094796 | 0.791822 | 0.72119 | 0.72119 | 0.72119 | 0.72119 | 0.72119 | 0 | 0 | 0.399648 | 1,136 | 48 | 53 | 23.666667 | 0.788856 | 0 | 0 | 0.794872 | 0 | 0 | 0.065141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128205 | false | 0 | 0.051282 | 0 | 0.307692 | 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 |
3d224cb8121fbd91cf794debf39fda90674c7943 | 82 | py | Python | technews/__init__.py | WisChang005/technews_watcher | 454ef30bab7731c629f0e3b577ce340c48a6cbe7 | [
"MIT"
] | 1 | 2019-03-31T15:34:10.000Z | 2019-03-31T15:34:10.000Z | technews/__init__.py | WisChang005/technews_watcher | 454ef30bab7731c629f0e3b577ce340c48a6cbe7 | [
"MIT"
] | null | null | null | technews/__init__.py | WisChang005/technews_watcher | 454ef30bab7731c629f0e3b577ce340c48a6cbe7 | [
"MIT"
] | null | null | null | from .technews_helper import TechNews
from .mail_helper import EmailContentHelper
| 27.333333 | 43 | 0.878049 | 10 | 82 | 7 | 0.6 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 82 | 2 | 44 | 41 | 0.945946 | 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 |
3d25c2e6e29e6e78df3ddd62294d2447deebe52c | 28 | py | Python | aoc_tools/__init__.py | dannyboywoop/AOC_Tools | b47374ae465c5772d7b4c09f40eb6e69d68cc144 | [
"MIT"
] | null | null | null | aoc_tools/__init__.py | dannyboywoop/AOC_Tools | b47374ae465c5772d7b4c09f40eb6e69d68cc144 | [
"MIT"
] | null | null | null | aoc_tools/__init__.py | dannyboywoop/AOC_Tools | b47374ae465c5772d7b4c09f40eb6e69d68cc144 | [
"MIT"
] | null | null | null | from ._advent_timer import * | 28 | 28 | 0.821429 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.84 | 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 |
3d2ce2c966a31e97ee5b7a66b2aeabb6f1778574 | 35 | py | Python | arcpyext/mapping/_cim/__init__.py | PeterReyne/arcpyext | 9307115da8f0b6a30e2ca741fb6a7d09e54fd0f3 | [
"BSD-3-Clause"
] | 11 | 2015-05-01T04:08:30.000Z | 2019-09-21T05:00:58.000Z | arcpyext/mapping/_cim/__init__.py | PeterReyne/arcpyext | 9307115da8f0b6a30e2ca741fb6a7d09e54fd0f3 | [
"BSD-3-Clause"
] | 14 | 2015-06-23T02:46:44.000Z | 2019-10-11T00:46:11.000Z | arcpyext/mapping/_cim/__init__.py | PeterReyne/arcpyext | 9307115da8f0b6a30e2ca741fb6a7d09e54fd0f3 | [
"BSD-3-Clause"
] | 9 | 2015-02-27T05:25:42.000Z | 2020-01-19T05:43:14.000Z | from .pro_project import ProProject | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d30c11f1ede17efd698bce52b1da5e9569d559a | 456 | py | Python | reinforcement_learning/rl_deepracer_robomaker_coach_gazebo/src/markov/tests/conftest.py | jpmarques19/tensorflwo-test | 0ff8b06e0415075c7269820d080284a42595bb2e | [
"Apache-2.0"
] | 5 | 2019-01-19T23:53:35.000Z | 2022-01-29T14:04:31.000Z | reinforcement_learning/rl_deepracer_robomaker_coach_gazebo/src/markov/tests/conftest.py | jpmarques19/tensorflwo-test | 0ff8b06e0415075c7269820d080284a42595bb2e | [
"Apache-2.0"
] | 4 | 2020-09-26T01:30:01.000Z | 2022-02-10T02:20:35.000Z | reinforcement_learning/rl_deepracer_robomaker_coach_gazebo/src/markov/tests/conftest.py | jpmarques19/tensorflwo-test | 0ff8b06e0415075c7269820d080284a42595bb2e | [
"Apache-2.0"
] | 7 | 2020-03-04T22:23:51.000Z | 2021-07-13T14:05:46.000Z | import pytest
from markov.tests import test_constant
@pytest.fixture
def aws_region():
return test_constant.AWS_REGION
@pytest.fixture
def model_metadata_s3_key():
return test_constant.MODEL_METADATA_S3_KEY
@pytest.fixture
def reward_function_s3_source():
return test_constant.REWARD_FUNCTION_S3_SOURCE
@... | 19.826087 | 50 | 0.809211 | 66 | 456 | 5.227273 | 0.318182 | 0.208696 | 0.231884 | 0.104348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.122807 | 456 | 22 | 51 | 20.727273 | 0.8425 | 0 | 0 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | true | 0 | 0.117647 | 0.294118 | 0.705882 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3d524c3bd35810437426c4644ee0f769511b58ea | 152 | py | Python | bindings/python/examples/05b_get_output.py | GoldenPedro/iota.rs | 71464f96b8e29d9fbed34a6ff77e757a112fedd4 | [
"Apache-2.0"
] | 256 | 2017-06-27T02:37:21.000Z | 2022-03-28T07:51:48.000Z | bindings/python/examples/05b_get_output.py | GoldenPedro/iota.rs | 71464f96b8e29d9fbed34a6ff77e757a112fedd4 | [
"Apache-2.0"
] | 379 | 2017-06-25T05:49:14.000Z | 2022-03-29T18:57:11.000Z | bindings/python/examples/05b_get_output.py | GoldenPedro/iota.rs | 71464f96b8e29d9fbed34a6ff77e757a112fedd4 | [
"Apache-2.0"
] | 113 | 2017-06-25T14:07:05.000Z | 2022-03-30T09:10:12.000Z | import iota_client
client = iota_client.Client()
print(
client.get_output("a22cba0667c922cbb1f8bdcaf970b2a881ccd6e88e2fcce50374de2aac7c37720000")
) | 25.333333 | 93 | 0.848684 | 12 | 152 | 10.5 | 0.583333 | 0.15873 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264286 | 0.078947 | 152 | 6 | 94 | 25.333333 | 0.635714 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d56d13a865c0fd22d417834c65ef6529f433ba4 | 104 | py | Python | Python/jump-to-python/Exponential.py | leeheefull/blog-source | 5f8370de5b0f62801fffc9e5f0f0bcb98dc2e6d1 | [
"MIT"
] | null | null | null | Python/jump-to-python/Exponential.py | leeheefull/blog-source | 5f8370de5b0f62801fffc9e5f0f0bcb98dc2e6d1 | [
"MIT"
] | null | null | null | Python/jump-to-python/Exponential.py | leeheefull/blog-source | 5f8370de5b0f62801fffc9e5f0f0bcb98dc2e6d1 | [
"MIT"
] | null | null | null | # 지수부 표현
a = 1e9
print(a) # 1000000000.0
a = 7.525e2
print(a) # 752.5
a = 3954e-3
print(a) # 3.954
| 10.4 | 24 | 0.576923 | 22 | 104 | 2.727273 | 0.636364 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.397436 | 0.25 | 104 | 9 | 25 | 11.555556 | 0.371795 | 0.298077 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 6 |
3d582b494cb98544a7b8b83f15184b7f8c7c6d2b | 43 | py | Python | python/parse_ddl/tests/ddl_examples/test_vs.py | jared-ong/data-projects | 21ceccacb8e408ca45fe95c1c4d311f48e8f7708 | [
"MIT"
] | null | null | null | python/parse_ddl/tests/ddl_examples/test_vs.py | jared-ong/data-projects | 21ceccacb8e408ca45fe95c1c4d311f48e8f7708 | [
"MIT"
] | null | null | null | python/parse_ddl/tests/ddl_examples/test_vs.py | jared-ong/data-projects | 21ceccacb8e408ca45fe95c1c4d311f48e8f7708 | [
"MIT"
] | null | null | null | import json
import re
print("Hello world") | 10.75 | 20 | 0.767442 | 7 | 43 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 4 | 20 | 10.75 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
180f8229eeb538cba11111f51d0cfaabcfe979dc | 14,002 | py | Python | test.py | gmberton/deep-visual-geo-localization-benchmark | 7ac395411b7eeff99da66675dedc5372839e5632 | [
"MIT"
] | 1 | 2022-03-25T06:48:16.000Z | 2022-03-25T06:48:16.000Z | test.py | gmberton/deep-visual-geo-localization-benchmark | 7ac395411b7eeff99da66675dedc5372839e5632 | [
"MIT"
] | null | null | null | test.py | gmberton/deep-visual-geo-localization-benchmark | 7ac395411b7eeff99da66675dedc5372839e5632 | [
"MIT"
] | null | null | null |
import faiss
import torch
import logging
import numpy as np
from tqdm import tqdm
from torch.utils.data import DataLoader
from torch.utils.data.dataset import Subset
def test_efficient_ram_usage(args, eval_ds, model, test_method="hard_resize"):
"""This function gives the same output as test(), but uses much less... | 54.909804 | 121 | 0.644337 | 1,845 | 14,002 | 4.700813 | 0.137669 | 0.03459 | 0.031477 | 0.038741 | 0.798801 | 0.784388 | 0.770552 | 0.746224 | 0.724893 | 0.716361 | 0 | 0.018448 | 0.252821 | 14,002 | 255 | 122 | 54.909804 | 0.810552 | 0.17676 | 0 | 0.701087 | 0 | 0 | 0.065567 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 1 | 0.016304 | false | 0 | 0.038043 | 0 | 0.070652 | 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 |
18173f17dd015c09e3b1cfc44c736b20bfea7170 | 126 | py | Python | ppa-mirror/config.py | elprup/ppa-mirror | 29e8a5027bbb698fcb36a250484b08ea945f65cf | [
"MIT"
] | null | null | null | ppa-mirror/config.py | elprup/ppa-mirror | 29e8a5027bbb698fcb36a250484b08ea945f65cf | [
"MIT"
] | null | null | null | ppa-mirror/config.py | elprup/ppa-mirror | 29e8a5027bbb698fcb36a250484b08ea945f65cf | [
"MIT"
] | 1 | 2021-03-04T13:43:34.000Z | 2021-03-04T13:43:34.000Z | cache_root = '/home/ubuntu/ppa-mirror/cache/'
mirror_root = '/home/ubuntu/ppa-mirror/repo'
http_proxy = "188.112.194.222:8080" | 42 | 45 | 0.746032 | 21 | 126 | 4.333333 | 0.666667 | 0.175824 | 0.307692 | 0.373626 | 0.505495 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 0.063492 | 126 | 3 | 46 | 42 | 0.635593 | 0 | 0 | 0 | 0 | 0 | 0.614173 | 0.456693 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18444ea5a0cd3e04e2706a71502de539bb9fa0dc | 1,709 | py | Python | python/tests/test_tree_intersection.py | Yonatan1P/data-structures-and-algorithms | ddd647d52a3182ca01032bfdb72f94ea22a0e76b | [
"MIT"
] | 1 | 2020-12-16T22:38:12.000Z | 2020-12-16T22:38:12.000Z | python/tests/test_tree_intersection.py | Yonatan1P/data-structures-and-algorithms | ddd647d52a3182ca01032bfdb72f94ea22a0e76b | [
"MIT"
] | 1 | 2020-11-14T05:37:48.000Z | 2020-11-14T05:37:48.000Z | python/tests/test_tree_intersection.py | Yonatan1P/data-structures-and-algorithms | ddd647d52a3182ca01032bfdb72f94ea22a0e76b | [
"MIT"
] | null | null | null | from challenges.tree_intersection.tree_intersection import find_intersection
from challenges.tree.tree import BinarySearchTree
def test_find_intersection():
tree1 = BinarySearchTree()
tree1.add(1)
tree1.add(2)
tree1.add(3)
tree1.add(4)
tree1.add(5)
tree1.add(6)
tree1.add(7)
tree1.ad... | 21.632911 | 76 | 0.627853 | 240 | 1,709 | 4.395833 | 0.133333 | 0.181991 | 0.099526 | 0.10237 | 0.798104 | 0.730806 | 0.730806 | 0.730806 | 0.730806 | 0.730806 | 0 | 0.098386 | 0.238736 | 1,709 | 78 | 77 | 21.910256 | 0.712529 | 0 | 0 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.054054 | false | 0 | 0.027027 | 0 | 0.081081 | 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 |
a101053cd887c912399a70d0a235e2cfdc45a962 | 34 | py | Python | evaluation/__init__.py | Luxios22/Dual_Norm | b404a03b15fc05749e0c648d9e46ffe70f6b2a80 | [
"MIT"
] | null | null | null | evaluation/__init__.py | Luxios22/Dual_Norm | b404a03b15fc05749e0c648d9e46ffe70f6b2a80 | [
"MIT"
] | null | null | null | evaluation/__init__.py | Luxios22/Dual_Norm | b404a03b15fc05749e0c648d9e46ffe70f6b2a80 | [
"MIT"
] | null | null | null | from .evaluation import evaluation | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 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 |
a10d6496b80a4c774fdd41dcbb4c0a5e756986a0 | 317 | py | Python | torch_geometric_temporal/signal/__init__.py | tforgaard/pytorch_geometric_temporal | d3a6a55119cb8cc38cb6d941ba8f74879d02c4b8 | [
"MIT"
] | 1,410 | 2020-06-27T03:36:19.000Z | 2022-03-31T23:29:22.000Z | torch_geometric_temporal/signal/__init__.py | tforgaard/pytorch_geometric_temporal | d3a6a55119cb8cc38cb6d941ba8f74879d02c4b8 | [
"MIT"
] | 124 | 2020-07-07T16:11:09.000Z | 2022-03-31T07:21:53.000Z | torch_geometric_temporal/signal/__init__.py | tforgaard/pytorch_geometric_temporal | d3a6a55119cb8cc38cb6d941ba8f74879d02c4b8 | [
"MIT"
] | 230 | 2020-07-27T11:13:52.000Z | 2022-03-31T14:31:29.000Z | from .dynamic_graph_temporal_signal import *
from .dynamic_graph_temporal_signal_batch import *
from .static_graph_temporal_signal import *
from .static_graph_temporal_signal_batch import *
from .dynamic_graph_static_signal import *
from .dynamic_graph_static_signal_batch import *
from .train_test_split import *
| 28.818182 | 50 | 0.858044 | 44 | 317 | 5.659091 | 0.25 | 0.240964 | 0.257028 | 0.26506 | 0.859438 | 0.670683 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097792 | 317 | 10 | 51 | 31.7 | 0.870629 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a133fa0afcdcf42b74dd45b66f95e50ddbf7734f | 41 | py | Python | actfw_core/v4l2/__init__.py | Idein/actfw-core | 44c979bbe5d32d068eed20b7d565a6de2fb9acd3 | [
"MIT"
] | 2 | 2021-03-15T11:44:37.000Z | 2021-05-12T09:58:35.000Z | actfw_core/v4l2/__init__.py | Idein/actfw-core | 44c979bbe5d32d068eed20b7d565a6de2fb9acd3 | [
"MIT"
] | 28 | 2020-12-24T02:53:37.000Z | 2022-03-14T09:02:28.000Z | actfw_core/v4l2/__init__.py | Idein/actfw-core | 44c979bbe5d32d068eed20b7d565a6de2fb9acd3 | [
"MIT"
] | null | null | null | from . import types, video # noqa: F401
| 20.5 | 40 | 0.682927 | 6 | 41 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.219512 | 41 | 1 | 41 | 41 | 0.78125 | 0.243902 | 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 |
a1360dd0640d6fe332d03889c6a40e96f3ddedfb | 3,227 | py | Python | vet_care/scripts/generate_from_history.py | neerajvkn/vet_care | 14914b22e7a83265d736f9f9dc5186271ae62d66 | [
"MIT"
] | 2 | 2020-11-23T11:14:32.000Z | 2021-02-03T06:40:33.000Z | vet_care/scripts/generate_from_history.py | neerajvkn/vet_care | 14914b22e7a83265d736f9f9dc5186271ae62d66 | [
"MIT"
] | null | null | null | vet_care/scripts/generate_from_history.py | neerajvkn/vet_care | 14914b22e7a83265d736f9f9dc5186271ae62d66 | [
"MIT"
] | 7 | 2019-11-16T14:36:33.000Z | 2021-08-25T07:54:51.000Z | import csv
import datetime
import frappe
# bench execute vet_care.scripts.generate_from_history.execute --args "['./data/important_data.csv']"
def execute(filename):
patient_activities = []
not_created = []
with open(filename, 'r') as csvfile:
reader = csv.DictReader(csvfile)
for row in re... | 37.964706 | 119 | 0.634645 | 350 | 3,227 | 5.597143 | 0.24 | 0.121491 | 0.061256 | 0.033691 | 0.748851 | 0.748851 | 0.748851 | 0.730985 | 0.730985 | 0.704441 | 0 | 0.005907 | 0.265572 | 3,227 | 84 | 120 | 38.416667 | 0.820675 | 0.067245 | 0 | 0.638889 | 1 | 0 | 0.075254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069444 | false | 0 | 0.041667 | 0.013889 | 0.180556 | 0.055556 | 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 |
a17ec4639df7fdbb530566bb66941b664210b137 | 96 | py | Python | bhinneka/utils.py | kangfend/scrapy-bhinneka | a4a6e4ae5295e8bf83b213c1dace9c7de70f128c | [
"MIT"
] | 1 | 2016-10-04T10:10:05.000Z | 2016-10-04T10:10:05.000Z | bhinneka/utils.py | kangfend/scrapy-bhinneka | a4a6e4ae5295e8bf83b213c1dace9c7de70f128c | [
"MIT"
] | null | null | null | bhinneka/utils.py | kangfend/scrapy-bhinneka | a4a6e4ae5295e8bf83b213c1dace9c7de70f128c | [
"MIT"
] | null | null | null | from bhinneka.settings import BASE_URL
def get_absolute_url(path):
return BASE_URL + path
| 16 | 38 | 0.78125 | 15 | 96 | 4.733333 | 0.733333 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 5 | 39 | 19.2 | 0.8875 | 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 |
a19de4fc6f1c20cd12d2dfef53eca7293ca3f561 | 38 | py | Python | scooby/plugins/processtime/__init__.py | zetaab/django-scooby-profiler | c4e63b5751a7aec2b01df3b46368c6ad40ec51e3 | [
"MIT"
] | 9 | 2018-09-20T16:45:40.000Z | 2021-08-08T07:04:55.000Z | scooby/plugins/processtime/__init__.py | zetaab/django-scooby-profiler | c4e63b5751a7aec2b01df3b46368c6ad40ec51e3 | [
"MIT"
] | 7 | 2018-09-14T10:34:37.000Z | 2019-04-20T06:54:29.000Z | scooby/plugins/processtime/__init__.py | zetaab/django-scooby-profiler | c4e63b5751a7aec2b01df3b46368c6ad40ec51e3 | [
"MIT"
] | 3 | 2018-09-14T10:39:51.000Z | 2019-06-26T09:32:13.000Z | from .plugin import ProcessTimePlugin
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a1b746b6ceeb8b3c1f65c79e0b5184f641adb774 | 58 | py | Python | a.20.7.py | AmanMishra148/python-repo | 5b07fe19f2058fc2c909b96ae173f4346ac8d3da | [
"bzip2-1.0.6"
] | null | null | null | a.20.7.py | AmanMishra148/python-repo | 5b07fe19f2058fc2c909b96ae173f4346ac8d3da | [
"bzip2-1.0.6"
] | 1 | 2021-10-18T09:59:45.000Z | 2021-10-18T09:59:45.000Z | a.20.7.py | AmanMishra148/python-repo | 5b07fe19f2058fc2c909b96ae173f4346ac8d3da | [
"bzip2-1.0.6"
] | 4 | 2021-10-18T09:40:54.000Z | 2021-10-19T14:14:28.000Z | def si(p,r,t):
n= (p+r+t)//3
return n
| 8.285714 | 17 | 0.344828 | 12 | 58 | 1.666667 | 0.666667 | 0.2 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.448276 | 58 | 6 | 18 | 9.666667 | 0.59375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b805e135095833b9aacb9e146ceaa3844c6781fb | 670 | py | Python | setup.py | comradepopo/p4rmyknife | e34a12a86cc090e3add25dc5baa7f6629586a4c6 | [
"Apache-2.0"
] | null | null | null | setup.py | comradepopo/p4rmyknife | e34a12a86cc090e3add25dc5baa7f6629586a4c6 | [
"Apache-2.0"
] | 1 | 2019-10-18T23:10:11.000Z | 2019-10-18T23:10:11.000Z | setup.py | comradepopo/p4rmyknife | e34a12a86cc090e3add25dc5baa7f6629586a4c6 | [
"Apache-2.0"
] | null | null | null | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
'description': 'P4rmyKnife - The Swiss Army Knife for P4',
'author': 'Assembla, Inc.',
'url': 'https://assembla.com/'
'author_email': 'louis@assembla.com',
'version': '0.1',
'install_requires': [],
... | 25.769231 | 62 | 0.626866 | 73 | 670 | 5.69863 | 0.452055 | 0.105769 | 0.115385 | 0.139423 | 0.745192 | 0.745192 | 0.745192 | 0.745192 | 0.745192 | 0.745192 | 0 | 0.022346 | 0.198507 | 670 | 25 | 63 | 26.8 | 0.752328 | 0 | 0 | 0 | 0 | 0 | 0.456716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.130435 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
62c3efcf40a53a46324b9e3f1578e57e7300a9cb | 21 | py | Python | lib/utils/__init__.py | jwyang/C3Net.pytorch | 70026fc80c5427484268c428a9dcd4cde2e8197f | [
"MIT"
] | 43 | 2019-12-13T06:13:40.000Z | 2021-07-25T06:29:17.000Z | lib/utils/__init__.py | jwyang/C3Net.pytorch | 70026fc80c5427484268c428a9dcd4cde2e8197f | [
"MIT"
] | 2 | 2020-12-05T14:24:17.000Z | 2020-12-24T09:47:10.000Z | lib/utils/__init__.py | jwyang/C3Net.pytorch | 70026fc80c5427484268c428a9dcd4cde2e8197f | [
"MIT"
] | 4 | 2019-12-16T20:25:20.000Z | 2020-06-23T08:45:17.000Z | from .verbo import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62e085ec76ed466edc7957012e2209ee7eb9a47a | 131 | py | Python | pair-ranking-cnn/utils.py | shinoyuki222/torch-light | 4799805d9bcae82a9f12a574dcf9fdd838c92ee9 | [
"MIT"
] | 310 | 2018-11-02T10:12:33.000Z | 2022-03-30T02:59:51.000Z | pair-ranking-cnn/utils.py | shinoyuki222/torch-light | 4799805d9bcae82a9f12a574dcf9fdd838c92ee9 | [
"MIT"
] | 14 | 2018-11-08T10:09:46.000Z | 2021-07-30T08:54:33.000Z | pair-ranking-cnn/utils.py | shinoyuki222/torch-light | 4799805d9bcae82a9f12a574dcf9fdd838c92ee9 | [
"MIT"
] | 152 | 2018-11-02T13:00:49.000Z | 2022-03-28T12:45:08.000Z | import const
def corpora2idx(sents, ind2idx):
return [[ind2idx[w] if w in ind2idx else const.UNK for w in s] for s in sents]
| 21.833333 | 82 | 0.709924 | 24 | 131 | 3.875 | 0.583333 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.206107 | 131 | 5 | 83 | 26.2 | 0.855769 | 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 |
1a03179c783f6a71443f0dfefb1dcdf8bf7a653b | 40 | py | Python | samplePythonfiles/cc.py | fazilsha/python-automation | 80ce94642a94276d3b970ae390a5d1464ad2f2b8 | [
"MIT"
] | null | null | null | samplePythonfiles/cc.py | fazilsha/python-automation | 80ce94642a94276d3b970ae390a5d1464ad2f2b8 | [
"MIT"
] | null | null | null | samplePythonfiles/cc.py | fazilsha/python-automation | 80ce94642a94276d3b970ae390a5d1464ad2f2b8 | [
"MIT"
] | null | null | null | print("File dd.py sucessfully executed") | 40 | 40 | 0.8 | 6 | 40 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.756098 | 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 |
a7f7aa50e11186fe4bb67eb3b4c81147ea13ad7a | 29 | py | Python | app.py | 00MB/lottocoin | ebf27f5a02169d948e8633b1dc5d5ad37ee1bb4a | [
"MIT"
] | 2 | 2021-02-10T01:40:36.000Z | 2021-02-10T01:41:22.000Z | app.py | 00MB/lottocoin | ebf27f5a02169d948e8633b1dc5d5ad37ee1bb4a | [
"MIT"
] | null | null | null | app.py | 00MB/lottocoin | ebf27f5a02169d948e8633b1dc5d5ad37ee1bb4a | [
"MIT"
] | null | null | null | from lottocoin import app
| 5.8 | 25 | 0.758621 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 4 | 26 | 7.25 | 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 |
3d8aee839cc7a45416c287f7da1460240d9b1dd8 | 28 | py | Python | inlinec/__init__.py | ssize-t/inlinec | 20eca6bf8556a77906ba5f420f09006d6daf4355 | [
"Apache-2.0"
] | 22 | 2020-10-10T18:25:04.000Z | 2021-11-09T18:56:34.000Z | inlinec/__init__.py | ssize-t/inlinec | 20eca6bf8556a77906ba5f420f09006d6daf4355 | [
"Apache-2.0"
] | 1 | 2020-11-10T03:50:05.000Z | 2020-11-10T03:50:05.000Z | inlinec/__init__.py | ssize-t/inlinec | 20eca6bf8556a77906ba5f420f09006d6daf4355 | [
"Apache-2.0"
] | 2 | 2020-10-10T16:09:42.000Z | 2021-03-10T16:43:11.000Z | from .inlinec import inlinec | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3dc364b351e4b86533cd7ac27b461f7ca088a0a9 | 2,126 | py | Python | tests/test_runner/test_discover_runner.py | tomleo/django | ebfb71c64a786620947c9d598fd1ebae2958acff | [
"BSD-3-Clause"
] | 1 | 2015-09-09T08:48:03.000Z | 2015-09-09T08:48:03.000Z | tests/test_runner/test_discover_runner.py | tomleo/django | ebfb71c64a786620947c9d598fd1ebae2958acff | [
"BSD-3-Clause"
] | null | null | null | tests/test_runner/test_discover_runner.py | tomleo/django | ebfb71c64a786620947c9d598fd1ebae2958acff | [
"BSD-3-Clause"
] | 1 | 2020-04-12T19:00:12.000Z | 2020-04-12T19:00:12.000Z | from django.test import TestCase
from django.test.runner import DiscoverRunner
class DiscoverRunnerTest(TestCase):
def test_dotted_test_module(self):
count = DiscoverRunner().build_suite(
["test_discovery_sample.tests_sample"],
).countTestCases()
self.assertEqual(count, 3)
... | 30.811594 | 83 | 0.676388 | 212 | 2,126 | 6.443396 | 0.165094 | 0.04612 | 0.151537 | 0.151537 | 0.871157 | 0.830161 | 0.830161 | 0.830161 | 0.807467 | 0.67716 | 0 | 0.007855 | 0.221543 | 2,126 | 68 | 84 | 31.264706 | 0.817523 | 0 | 0 | 0.479167 | 0 | 0 | 0.203669 | 0.198965 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.1875 | false | 0 | 0.041667 | 0 | 0.25 | 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 |
3dca6b4523ea884f293c6a6b346cc8182bedf764 | 28 | py | Python | tunga/preprocessing/__init__.py | tahtaciburak/tunga | e71a4fa393d692779ab6d674673c5674d7287dac | [
"MIT"
] | 5 | 2020-07-31T19:26:46.000Z | 2020-10-23T11:49:06.000Z | tunga/preprocessing/__init__.py | tunga-ml/tunga | 823fd762054fd513300025cbb1fc799f7e3cf6b1 | [
"MIT"
] | null | null | null | tunga/preprocessing/__init__.py | tunga-ml/tunga | 823fd762054fd513300025cbb1fc799f7e3cf6b1 | [
"MIT"
] | 1 | 2021-09-10T08:24:13.000Z | 2021-09-10T08:24:13.000Z | from .normalization import * | 28 | 28 | 0.821429 | 3 | 28 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 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 |
9a8b2c9a4fe128befea072dd96f7b456a616ecd8 | 15,178 | py | Python | YOLO/Stronger-yolo-pytorch/port2tf/yolov3.py | ForrestPi/ObjectDetection | 54e0821e73f67be5360c36f01229a123c34ab3b3 | [
"MIT"
] | 12 | 2020-03-25T01:24:22.000Z | 2021-09-18T06:40:16.000Z | YOLO/Stronger-yolo-pytorch/port2tf/yolov3.py | ForrestPi/ObjectDetection | 54e0821e73f67be5360c36f01229a123c34ab3b3 | [
"MIT"
] | 1 | 2020-04-22T07:52:36.000Z | 2020-04-22T07:52:36.000Z | YOLO/Stronger-yolo-pytorch/port2tf/yolov3.py | ForrestPi/ObjectDetection | 54e0821e73f67be5360c36f01229a123c34ab3b3 | [
"MIT"
] | 4 | 2020-03-25T01:24:26.000Z | 2020-09-20T11:29:09.000Z | # coding:utf-8
import numpy as np
import tensorflow as tf
from layers import *
from MobilenetV2 import MobilenetV2,MobilenetV2_dynamic
class YOLOV3(object):
def __init__(self, training,numcls=20):
self.__training = training
self.__num_classes = numcls
self.__strides=[8,16,32]
def build... | 80.306878 | 158 | 0.566346 | 1,640 | 15,178 | 4.928659 | 0.102439 | 0.06124 | 0.077199 | 0.048497 | 0.866263 | 0.849066 | 0.832117 | 0.819127 | 0.810343 | 0.810343 | 0 | 0.047602 | 0.258137 | 15,178 | 188 | 159 | 80.734043 | 0.670249 | 0.183555 | 0 | 0.529412 | 0 | 0 | 0.061263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022059 | false | 0 | 0.029412 | 0 | 0.073529 | 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 |
9ad73e40610067893659f1466d9493e1d1fdb576 | 49 | py | Python | ledger/checkout/models.py | jawaidm/ledger | 7094f3320d6a409a2a0080e70fa7c2b9dba4a715 | [
"Apache-2.0"
] | 59 | 2015-08-29T10:51:34.000Z | 2021-11-03T10:00:25.000Z | ledger/checkout/models.py | jawaidm/ledger | 7094f3320d6a409a2a0080e70fa7c2b9dba4a715 | [
"Apache-2.0"
] | 162 | 2018-02-16T05:13:03.000Z | 2021-05-14T02:47:37.000Z | ledger/checkout/models.py | jawaidm/ledger | 7094f3320d6a409a2a0080e70fa7c2b9dba4a715 | [
"Apache-2.0"
] | 22 | 2015-08-10T10:46:18.000Z | 2020-04-04T07:11:55.000Z | from oscar.apps.checkout.models import * # noqa
| 24.5 | 48 | 0.755102 | 7 | 49 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 0.880952 | 0.081633 | 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 |
9af29a94a64ce15c2f18ac01d5658596e67aa248 | 48 | py | Python | dachar/utils/__init__.py | roocs/dachar | 687b6acb535f634791d13a435cded5f97cae8e76 | [
"BSD-3-Clause"
] | 2 | 2020-05-01T11:17:06.000Z | 2020-11-23T10:37:24.000Z | dachar/utils/__init__.py | roocs/dachar | 687b6acb535f634791d13a435cded5f97cae8e76 | [
"BSD-3-Clause"
] | 69 | 2020-03-26T15:39:26.000Z | 2022-01-14T14:34:39.000Z | dachar/utils/__init__.py | roocs/dachar | 687b6acb535f634791d13a435cded5f97cae8e76 | [
"BSD-3-Clause"
] | null | null | null | from .common import *
from .json_store import *
| 16 | 25 | 0.75 | 7 | 48 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 26 | 24 | 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 |
b118f2f3e6c0e9617cb2cf673e9a7f3e68d6f9ce | 53 | py | Python | basicts/archs/DGCRN_arch/__init__.py | zezhishao/GuanCang_BasicTS | bbf82b9d08e82db78d4e9e9b11f43a676b54ad7c | [
"Apache-2.0"
] | 3 | 2022-02-22T12:50:08.000Z | 2022-03-13T03:38:46.000Z | basicts/archs/DGCRN_arch/__init__.py | zezhishao/GuanCang_BasicTS | bbf82b9d08e82db78d4e9e9b11f43a676b54ad7c | [
"Apache-2.0"
] | null | null | null | basicts/archs/DGCRN_arch/__init__.py | zezhishao/GuanCang_BasicTS | bbf82b9d08e82db78d4e9e9b11f43a676b54ad7c | [
"Apache-2.0"
] | null | null | null | from basicts.archs.DGCRN_arch.DGCRN_arch import DGCRN | 53 | 53 | 0.886792 | 9 | 53 | 5 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 53 | 1 | 53 | 53 | 0.9 | 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 |
b1716479f1c26f49cf955c116938436d2e898588 | 21 | py | Python | fastagram/tags/models/__init__.py | dobestan/fastagram | 8c57401512d7621890a4f160d4b27c6e0d3ab326 | [
"MIT"
] | 1 | 2016-03-27T10:36:01.000Z | 2016-03-27T10:36:01.000Z | fastagram/tags/models/__init__.py | dobestan/django-101-fastagram | 8c57401512d7621890a4f160d4b27c6e0d3ab326 | [
"MIT"
] | 3 | 2016-03-25T05:32:39.000Z | 2016-03-28T04:59:17.000Z | fastagram/tags/models/__init__.py | dobestan/django-101-fastagram | 8c57401512d7621890a4f160d4b27c6e0d3ab326 | [
"MIT"
] | 1 | 2016-03-28T16:35:36.000Z | 2016-03-28T16:35:36.000Z | from .tag import Tag
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b179ff426e1a26e74d3b6cc6592435b4bf9294c3 | 224 | py | Python | face_api/admin.py | glen-s-abraham/face-detection-api | ce671a9750065c0fc82d0dd668299738f1c07508 | [
"MIT"
] | null | null | null | face_api/admin.py | glen-s-abraham/face-detection-api | ce671a9750065c0fc82d0dd668299738f1c07508 | [
"MIT"
] | null | null | null | face_api/admin.py | glen-s-abraham/face-detection-api | ce671a9750065c0fc82d0dd668299738f1c07508 | [
"MIT"
] | null | null | null | from django.contrib import admin
from face_api.models import KnowledgeDatabase
from face_api.models import ImageUploads
# Register your models here.
admin.site.register(KnowledgeDatabase)
admin.site.register(ImageUploads)
| 24.888889 | 45 | 0.848214 | 29 | 224 | 6.482759 | 0.482759 | 0.085106 | 0.117021 | 0.180851 | 0.244681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 224 | 8 | 46 | 28 | 0.926108 | 0.116071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b189f5ce6dc38c0cbcc1102caf8a791a932e5870 | 12,747 | py | Python | tests/asgi/test_configuration.py | mrmilu/ariadne | cba577bd4befd16e0ec22701a5ac68f719661a9a | [
"BSD-3-Clause"
] | 1 | 2020-05-28T01:48:58.000Z | 2020-05-28T01:48:58.000Z | tests/asgi/test_configuration.py | mrmilu/ariadne | cba577bd4befd16e0ec22701a5ac68f719661a9a | [
"BSD-3-Clause"
] | null | null | null | tests/asgi/test_configuration.py | mrmilu/ariadne | cba577bd4befd16e0ec22701a5ac68f719661a9a | [
"BSD-3-Clause"
] | null | null | null | # pylint: disable=not-context-manager
from unittest.mock import ANY, Mock
from starlette.testclient import TestClient
from ariadne.asgi import (
GQL_CONNECTION_ACK,
GQL_CONNECTION_INIT,
GQL_DATA,
GQL_ERROR,
GQL_START,
GraphQL,
)
from ariadne.types import Extension
def test_custom_context_val... | 36.524355 | 87 | 0.672394 | 1,500 | 12,747 | 5.372 | 0.079333 | 0.052122 | 0.055597 | 0.040084 | 0.889551 | 0.871432 | 0.865724 | 0.840035 | 0.797717 | 0.764954 | 0 | 0.000974 | 0.194556 | 12,747 | 348 | 88 | 36.62931 | 0.783871 | 0.002746 | 0 | 0.633094 | 0 | 0 | 0.112746 | 0.006924 | 0 | 0 | 0 | 0 | 0.165468 | 1 | 0.115108 | false | 0.039568 | 0.014388 | 0.007194 | 0.158273 | 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 |
b18b42a0184f3b3519a30ad5c379fbaef6c9cbc7 | 14,426 | py | Python | tests/unit/test_door.py | buxx/rolling | ef1268fe6ddabe768a125c3ce8b37e0b9cbad4a5 | [
"MIT"
] | 14 | 2019-11-16T18:51:51.000Z | 2022-01-15T17:50:34.000Z | tests/unit/test_door.py | buxx/rolling | ef1268fe6ddabe768a125c3ce8b37e0b9cbad4a5 | [
"MIT"
] | 148 | 2018-12-10T09:07:45.000Z | 2022-03-08T10:51:04.000Z | tests/unit/test_door.py | buxx/rolling | ef1268fe6ddabe768a125c3ce8b37e0b9cbad4a5 | [
"MIT"
] | 1 | 2020-08-05T14:25:48.000Z | 2020-08-05T14:25:48.000Z | from aiohttp.test_utils import TestClient
import pytest
import typing
import unittest.mock
from rolling.kernel import Kernel
from rolling.model.character import CharacterModel
from rolling.model.character import MINIMUM_BEFORE_EXHAUSTED
from rolling.server.document.affinity import AffinityDirectionType
from rolling.se... | 32.272931 | 93 | 0.643768 | 1,746 | 14,426 | 4.947881 | 0.087629 | 0.036926 | 0.031832 | 0.036115 | 0.835398 | 0.821391 | 0.778447 | 0.774858 | 0.769765 | 0.75819 | 0 | 0.00491 | 0.28005 | 14,426 | 446 | 94 | 32.345291 | 0.826882 | 0.018439 | 0 | 0.633053 | 0 | 0 | 0.037097 | 0.03108 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.02521 | false | 0 | 0.044818 | 0 | 0.07563 | 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 |
b8e0455d33253902aeabce67886870561b85812f | 2,685 | py | Python | quantumcat/gates/custom_gates/cirq/__init__.py | Artificial-Brain/quantumcat | eff99cac7674b3a1b7e1f752e7ebed2b960f85b3 | [
"Apache-2.0"
] | 20 | 2021-05-10T07:04:41.000Z | 2021-12-13T17:12:05.000Z | quantumcat/gates/custom_gates/cirq/__init__.py | Artificial-Brain/quantumcat | eff99cac7674b3a1b7e1f752e7ebed2b960f85b3 | [
"Apache-2.0"
] | 2 | 2021-04-26T05:34:52.000Z | 2021-05-16T13:46:22.000Z | quantumcat/gates/custom_gates/cirq/__init__.py | Artificial-Brain/quantumcat | eff99cac7674b3a1b7e1f752e7ebed2b960f85b3 | [
"Apache-2.0"
] | 17 | 2021-04-02T18:09:33.000Z | 2022-02-10T16:38:57.000Z | # (C) Copyright Artificial Brain 2021.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 55.9375 | 75 | 0.84581 | 421 | 2,685 | 5.23753 | 0.325416 | 0.209524 | 0.284354 | 0.37415 | 0.508844 | 0.508844 | 0 | 0 | 0 | 0 | 0 | 0.010643 | 0.09013 | 2,685 | 47 | 76 | 57.12766 | 0.891936 | 0.211173 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
770aad7e1ff56e67c95983849d2bf6bbbc1649fe | 284 | py | Python | slackwebhook/__init__.py | FoundryGroup/Slack-Webhook | 1a71f68eec876684ffaa7ba936bbc099f55dfb81 | [
"MIT"
] | null | null | null | slackwebhook/__init__.py | FoundryGroup/Slack-Webhook | 1a71f68eec876684ffaa7ba936bbc099f55dfb81 | [
"MIT"
] | null | null | null | slackwebhook/__init__.py | FoundryGroup/Slack-Webhook | 1a71f68eec876684ffaa7ba936bbc099f55dfb81 | [
"MIT"
] | null | null | null | ################################################################################
# Python package __init__.py file.
#
# Author: Carl Cortright
# Date: 12/20/2016
#
################################################################################
from slackwebhook import slackwebhook
| 28.4 | 80 | 0.323944 | 16 | 284 | 5.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030418 | 0.073944 | 284 | 9 | 81 | 31.555556 | 0.304183 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
770c52f41e079a4cb403bba6dcadc3852fc8a850 | 231 | py | Python | job_scheduler/cache/__init__.py | konkolorado/job-scheduler | e76b24d0592d9d1f62b5a1525b6a152b9983b2fa | [
"MIT"
] | null | null | null | job_scheduler/cache/__init__.py | konkolorado/job-scheduler | e76b24d0592d9d1f62b5a1525b6a152b9983b2fa | [
"MIT"
] | null | null | null | job_scheduler/cache/__init__.py | konkolorado/job-scheduler | e76b24d0592d9d1f62b5a1525b6a152b9983b2fa | [
"MIT"
] | 1 | 2021-08-09T15:28:49.000Z | 2021-08-09T15:28:49.000Z | from job_scheduler.cache.base import ScheduleCache
from job_scheduler.cache.fake import FakeScheduleCache
from job_scheduler.cache.redis import RedisScheduleCache
all = ["ScheduleCache", "RedisScheduleCache", "FakeScheduleCache"]
| 38.5 | 66 | 0.848485 | 25 | 231 | 7.72 | 0.48 | 0.108808 | 0.248705 | 0.326425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 231 | 5 | 67 | 46.2 | 0.906103 | 0 | 0 | 0 | 0 | 0 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7722bc9189fc79c029275036a7e49a54482e4d8c | 38 | py | Python | pkg/agents/team4/trainingAgent/findBestConfigs.py | SOMAS2021/SOMAS2021 | acaa13e3d663d3f59589f3b26860db643b3bf29e | [
"MIT"
] | 13 | 2021-12-02T09:28:47.000Z | 2022-01-14T18:39:51.000Z | pkg/agents/team4/trainingAgent/findBestConfigs.py | SOMAS2021/SOMAS2021 | acaa13e3d663d3f59589f3b26860db643b3bf29e | [
"MIT"
] | 190 | 2021-11-19T15:37:44.000Z | 2022-01-17T00:23:13.000Z | pkg/agents/team4/trainingAgent/findBestConfigs.py | SOMAS2021/SOMAS2021 | acaa13e3d663d3f59589f3b26860db643b3bf29e | [
"MIT"
] | 4 | 2021-11-22T18:21:53.000Z | 2021-12-22T13:55:42.000Z | # TODO: autmatate finding best agents
| 19 | 37 | 0.789474 | 5 | 38 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 1 | 38 | 38 | 0.9375 | 0.921053 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
773a351110e170920b1633be885fbe44c1c4b850 | 4,127 | py | Python | examples/sudoku/sudoku_cores.py | SRI-CSL/yices2_python_bindings | ff48993b6f620605afce12741f9afede94238627 | [
"MIT"
] | 8 | 2018-09-19T00:42:45.000Z | 2022-03-25T12:22:01.000Z | examples/sudoku/sudoku_cores.py | SRI-CSL/yices2_python_bindings | ff48993b6f620605afce12741f9afede94238627 | [
"MIT"
] | 4 | 2020-06-05T21:44:14.000Z | 2021-12-06T17:24:31.000Z | examples/sudoku/sudoku_cores.py | SRI-CSL/yices2_python_bindings | ff48993b6f620605afce12741f9afede94238627 | [
"MIT"
] | 3 | 2020-07-10T18:15:01.000Z | 2020-12-16T09:50:02.000Z | #!/usr/bin/env python
"""Using unsat cores to give hints."""
from SudokuLib import Puzzle
from Solver import Solver
from yices.Yices import Yices
from yices.Census import Census
puzzle_blank = [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0],
#
[ 0, 0... | 24.565476 | 119 | 0.414587 | 863 | 4,127 | 1.954809 | 0.127462 | 0.403082 | 0.412567 | 0.403082 | 0.367516 | 0.339656 | 0.272081 | 0.19917 | 0.161826 | 0.112033 | 0 | 0.246777 | 0.342137 | 4,127 | 167 | 120 | 24.712575 | 0.374586 | 0.136661 | 0 | 0.095652 | 0 | 0 | 0.028596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017391 | false | 0 | 0.034783 | 0 | 0.052174 | 0.043478 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91f204cefc1e11f78d143865718a0720e6b49302 | 135 | py | Python | libs/yowsup/yowsup/yowsup/layers/axolotl/__init__.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 22 | 2017-07-14T20:01:17.000Z | 2022-03-08T14:22:39.000Z | libs/yowsup/yowsup/yowsup/layers/axolotl/__init__.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 6 | 2017-07-14T21:03:50.000Z | 2021-06-10T19:08:32.000Z | libs/yowsup/yowsup/yowsup/layers/axolotl/__init__.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 13 | 2017-07-14T20:13:14.000Z | 2020-11-12T08:06:05.000Z | from .layer_send import AxolotlSendLayer
from .layer_control import AxolotlControlLayer
from .layer_receive import AxolotlReceivelayer
| 33.75 | 46 | 0.888889 | 15 | 135 | 7.8 | 0.6 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 135 | 3 | 47 | 45 | 0.95122 | 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 |
62148220d3b68cf5b490d8e272125fd66f2e326e | 12,455 | py | Python | src/metarl/envs/multi_env_wrapper.py | icml2020submission6857/metarl | 9b66cefa2b6bcb6a38096d629ce8853b47c7171d | [
"MIT"
] | 2 | 2020-03-15T14:35:15.000Z | 2021-02-15T16:38:00.000Z | src/metarl/envs/multi_env_wrapper.py | icml2020submission6857/metarl | 9b66cefa2b6bcb6a38096d629ce8853b47c7171d | [
"MIT"
] | null | null | null | src/metarl/envs/multi_env_wrapper.py | icml2020submission6857/metarl | 9b66cefa2b6bcb6a38096d629ce8853b47c7171d | [
"MIT"
] | 1 | 2020-02-24T03:04:23.000Z | 2020-02-24T03:04:23.000Z | """A wrapper env that handles multiple tasks from different envs.
Useful while training multi-task reinforcement learning algorithms.
It provides observations augmented with one-hot representation of tasks.
"""
import random
import akro
import gym
import numpy as np
def round_robin_strategy(num_tasks, last_task=No... | 29.305882 | 111 | 0.607226 | 1,529 | 12,455 | 4.71223 | 0.103336 | 0.09771 | 0.033033 | 0.039556 | 0.981679 | 0.97821 | 0.971686 | 0.971686 | 0.971686 | 0.971686 | 0 | 0.001709 | 0.295464 | 12,455 | 424 | 112 | 29.375 | 0.819373 | 0.640787 | 0 | 0.129412 | 0 | 0 | 0.014504 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 1 | 0.164706 | false | 0 | 0.047059 | 0 | 0.364706 | 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 |
627f3994b2ade29fca362ec30f86cac34a2baa81 | 152 | py | Python | resolver/mindeps/__init__.py | Shivansh-007/python-resolver | c44e93e0715d6d7a736db17122e6a606267329b2 | [
"MIT"
] | null | null | null | resolver/mindeps/__init__.py | Shivansh-007/python-resolver | c44e93e0715d6d7a736db17122e6a606267329b2 | [
"MIT"
] | null | null | null | resolver/mindeps/__init__.py | Shivansh-007/python-resolver | c44e93e0715d6d7a736db17122e6a606267329b2 | [
"MIT"
] | null | null | null | # SPDX-License-Identifier: MIT
from resolver.mindeps.__main__ import entrypoint, get_min_deps # noqa: F401
__all__ = ('entrypoint', 'get_min_deps')
| 21.714286 | 76 | 0.763158 | 20 | 152 | 5.2 | 0.8 | 0.25 | 0.307692 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022556 | 0.125 | 152 | 6 | 77 | 25.333333 | 0.759399 | 0.256579 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6577dab5ac11bbb023397905f08425826f206066 | 176 | py | Python | backend/university/admin.py | andriyandrushko0/univowl | da613316021f7b41b133b5b6e360cc6b9db60504 | [
"MIT"
] | null | null | null | backend/university/admin.py | andriyandrushko0/univowl | da613316021f7b41b133b5b6e360cc6b9db60504 | [
"MIT"
] | null | null | null | backend/university/admin.py | andriyandrushko0/univowl | da613316021f7b41b133b5b6e360cc6b9db60504 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(University)
admin.site.register(Faculty)
admin.site.register(Subject)
admin.site.register(Teacher)
| 19.555556 | 32 | 0.8125 | 24 | 176 | 5.958333 | 0.5 | 0.251748 | 0.475524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 176 | 8 | 33 | 22 | 0.882716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
659182ecb712f24f0371757649f6618c51a53b68 | 193 | py | Python | Server/prediction/admin.py | mohanj098/Item-Price-Forecasting | 14fc787ad4d9dcc6af03b43fa5e866cd254a99f5 | [
"MIT"
] | null | null | null | Server/prediction/admin.py | mohanj098/Item-Price-Forecasting | 14fc787ad4d9dcc6af03b43fa5e866cd254a99f5 | [
"MIT"
] | 2 | 2021-03-15T15:53:22.000Z | 2021-05-03T09:32:34.000Z | Server/prediction/admin.py | mohanj098/Item-Price-Forecasting | 14fc787ad4d9dcc6af03b43fa5e866cd254a99f5 | [
"MIT"
] | 1 | 2021-05-04T15:35:06.000Z | 2021-05-04T15:35:06.000Z | from django.contrib import admin
from prediction.models import product
from prediction.models import price
# Register your models here.
admin.site.register(product)
admin.site.register(price)
| 24.125 | 37 | 0.829016 | 27 | 193 | 5.925926 | 0.481481 | 0.175 | 0.25 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103627 | 193 | 7 | 38 | 27.571429 | 0.924855 | 0.134715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
65cdd034fed36877b4031f60332f1c40cdb5f6a5 | 2,224 | py | Python | tools/python-mock-server/python-mock-server.py | msmagnanijr/jboss-kie-modules | 1ab85aa12e70db810a4d607fb6aaa85a19bb8607 | [
"Apache-2.0"
] | 8 | 2018-07-20T02:32:39.000Z | 2022-03-27T10:52:55.000Z | tools/python-mock-server/python-mock-server.py | msmagnanijr/jboss-kie-modules | 1ab85aa12e70db810a4d607fb6aaa85a19bb8607 | [
"Apache-2.0"
] | 167 | 2017-12-19T14:33:35.000Z | 2022-03-22T11:47:20.000Z | tools/python-mock-server/python-mock-server.py | msmagnanijr/jboss-kie-modules | 1ab85aa12e70db810a4d607fb6aaa85a19bb8607 | [
"Apache-2.0"
] | 52 | 2017-12-18T13:55:24.000Z | 2022-02-09T14:07:14.000Z | #!/usr/bin/python3
import os
import sys
from http.server import HTTPServer, BaseHTTPRequestHandler
class MyHandler(BaseHTTPRequestHandler):
def do_GET(self):
# do not change paths
if self.path == '/apis/apps.openshift.io/v1/namespaces/testNamespace/deploymentconfigs?labelSelector=services.server... | 37.694915 | 179 | 0.642536 | 279 | 2,224 | 5.043011 | 0.315412 | 0.056859 | 0.079602 | 0.094527 | 0.800284 | 0.767591 | 0.767591 | 0.767591 | 0.767591 | 0.743426 | 0 | 0.028522 | 0.227518 | 2,224 | 58 | 180 | 38.344828 | 0.790454 | 0.08723 | 0 | 0.512821 | 0 | 0.076923 | 0.300544 | 0.226396 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0 | 0.076923 | 0 | 0.205128 | 0.025641 | 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 |
02a84eeec97777f61185766e05077d7532adafbc | 232 | py | Python | pyramda/logic/any_pass.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 124 | 2015-07-30T21:34:25.000Z | 2022-02-19T08:45:50.000Z | pyramda/logic/any_pass.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 37 | 2015-08-31T23:02:20.000Z | 2022-02-04T04:45:28.000Z | pyramda/logic/any_pass.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 20 | 2015-08-04T18:59:09.000Z | 2021-12-13T08:08:59.000Z | from pyramda.function.curry import curry
from pyramda.function.always import always
from pyramda.iterable.reduce import reduce
from .either import either
@curry
def any_pass(ps, v):
return reduce(either, always(False), ps)(v)
| 23.2 | 47 | 0.784483 | 35 | 232 | 5.171429 | 0.457143 | 0.18232 | 0.209945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12931 | 232 | 9 | 48 | 25.777778 | 0.89604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.571429 | 0.142857 | 0.857143 | 0 | 0 | 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 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 6 |
f323bb4c6d1d42af8adea82f66966d109724eba9 | 29,495 | py | Python | api/fileupload.py | subhendu01/Audio-FIle-Server | 6c7f9a093e41f0750a0a8c4c1f0e48608215c8a6 | [
"MIT"
] | 5 | 2021-05-12T18:18:49.000Z | 2022-01-06T12:35:35.000Z | api/fileupload.py | subhendu01/Audio-FIle-Server | 6c7f9a093e41f0750a0a8c4c1f0e48608215c8a6 | [
"MIT"
] | null | null | null | api/fileupload.py | subhendu01/Audio-FIle-Server | 6c7f9a093e41f0750a0a8c4c1f0e48608215c8a6 | [
"MIT"
] | null | null | null | import datetime, os, base64
from flask import Flask, jsonify, request, Blueprint
from dbstore import dbconf
import json
from bson import json_util
# process kill
# lsof -i tcp:3000
file_upload = Blueprint('uploadAPI', __name__)
app = Flask(__name__)
def song_upload(val):
try:
# content = request.get_j... | 45.376923 | 137 | 0.398644 | 2,113 | 29,495 | 5.404165 | 0.072409 | 0.069884 | 0.032752 | 0.056047 | 0.807164 | 0.776513 | 0.707417 | 0.693318 | 0.684648 | 0.622646 | 0 | 0.021991 | 0.508188 | 29,495 | 649 | 138 | 45.446841 | 0.765201 | 0.016443 | 0 | 0.716194 | 0 | 0 | 0.187317 | 0.029914 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011686 | false | 0 | 0.008347 | 0 | 0.043406 | 0.015025 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b8ada7f96a8a91b1795a09283b5bb56adf3d888d | 2,373 | py | Python | tests/_geom/test_path_control_x_interface.py | ynsnf/apysc | b10ffaf76ec6beb187477d0a744fca00e3efc3fb | [
"MIT"
] | 16 | 2021-04-16T02:01:29.000Z | 2022-01-01T08:53:49.000Z | tests/_geom/test_path_control_x_interface.py | ynsnf/apysc | b10ffaf76ec6beb187477d0a744fca00e3efc3fb | [
"MIT"
] | 613 | 2021-03-24T03:37:38.000Z | 2022-03-26T10:58:37.000Z | tests/_geom/test_path_control_x_interface.py | simon-ritchie/apyscript | c319f8ab2f1f5f7fad8d2a8b4fc06e7195476279 | [
"MIT"
] | 2 | 2021-06-20T07:32:58.000Z | 2021-12-26T08:22:11.000Z | from random import randint
from retrying import retry
import apysc as ap
from apysc._geom.path_control_x_interface import PathControlXInterface
class TestPathControlXInterface:
@retry(stop_max_attempt_number=15, wait_fixed=randint(10, 3000))
def test_control_x(self) -> None:
interface: ... | 43.944444 | 78 | 0.728614 | 283 | 2,373 | 5.681979 | 0.190813 | 0.099502 | 0.126866 | 0.056592 | 0.847637 | 0.825249 | 0.804104 | 0.77301 | 0.77301 | 0.758706 | 0 | 0.03283 | 0.191319 | 2,373 | 53 | 79 | 44.773585 | 0.805107 | 0 | 0 | 0.642857 | 0 | 0 | 0.003879 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.119048 | false | 0 | 0.095238 | 0 | 0.238095 | 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 |
a2595f5495569bfb18a30651ccf4bc3e61dec9b6 | 35 | py | Python | analysis/Leo/scripts/__init__.py | data301-2020-winter2/course-project-group_1039 | 26d661a543ce9dcea61f579f9edbcde88543e7c3 | [
"MIT"
] | 1 | 2021-02-09T02:13:23.000Z | 2021-02-09T02:13:23.000Z | analysis/Leo/scripts/__init__.py | data301-2020-winter2/course-project-group_1039 | 26d661a543ce9dcea61f579f9edbcde88543e7c3 | [
"MIT"
] | 31 | 2021-02-02T17:03:39.000Z | 2021-04-13T03:22:16.000Z | analysis/Leo/scripts/__init__.py | data301-2020-winter2/course-project-group_1039 | 26d661a543ce9dcea61f579f9edbcde88543e7c3 | [
"MIT"
] | 1 | 2021-03-14T05:56:16.000Z | 2021-03-14T05:56:16.000Z | import scripts.project_functions
| 8.75 | 32 | 0.857143 | 4 | 35 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 3 | 33 | 11.666667 | 0.935484 | 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 |
a265970c825b69a6bcc7be605b442dbeced8128f | 9,491 | py | Python | app/jobHistory/migrations/0003_auto_20190804_1403.py | stephengtuggy/job-history | 5c4931ff7b594494a687da0253262c7fc46f8b13 | [
"MIT"
] | 2 | 2020-01-18T00:39:35.000Z | 2020-01-18T02:03:26.000Z | app/jobHistory/migrations/0003_auto_20190804_1403.py | stephengtuggy/job-history | 5c4931ff7b594494a687da0253262c7fc46f8b13 | [
"MIT"
] | 18 | 2020-08-07T23:22:37.000Z | 2021-06-10T18:38:42.000Z | app/jobHistory/migrations/0003_auto_20190804_1403.py | stephengtuggy/job-history | 5c4931ff7b594494a687da0253262c7fc46f8b13 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.4 on 2019-08-04 21:03
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('jobHistory', '0002_auto_20190106_0202'),
]
operations = [
migrations.AlterField(
model_name='em... | 40.387234 | 132 | 0.603624 | 912 | 9,491 | 6.080044 | 0.105263 | 0.158702 | 0.198377 | 0.230117 | 0.871776 | 0.858251 | 0.769702 | 0.482597 | 0.398918 | 0.354914 | 0 | 0.016338 | 0.284164 | 9,491 | 234 | 133 | 40.559829 | 0.799823 | 0.004741 | 0 | 0.596491 | 1 | 0 | 0.19568 | 0.034519 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008772 | 0 | 0.02193 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 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 |
a2c1f4bdfbf091de32f73f29f4fe1cc1d9bf86e8 | 2,081 | py | Python | 01 Dimensionality Reduction/Tutorial 03 - Unsupervised nonlinear embedding/isomap/dijkstra.py | KateYeon/Business-Anlaytics | 454c1cb1b88499e94eeb5e8a7a32309afb7165e5 | [
"MIT"
] | null | null | null | 01 Dimensionality Reduction/Tutorial 03 - Unsupervised nonlinear embedding/isomap/dijkstra.py | KateYeon/Business-Anlaytics | 454c1cb1b88499e94eeb5e8a7a32309afb7165e5 | [
"MIT"
] | null | null | null | 01 Dimensionality Reduction/Tutorial 03 - Unsupervised nonlinear embedding/isomap/dijkstra.py | KateYeon/Business-Anlaytics | 454c1cb1b88499e94eeb5e8a7a32309afb7165e5 | [
"MIT"
] | null | null | null | class Graph(object):
"""
A simple undirected, weighted graph
"""
def __init__(self):
self.nodes = set()
self.edges = {}
self.distances = {}
def add_node(self, value):
self.nodes.add(value)
def add_edge(self, from_node, to_node, distance):
... | 26.341772 | 60 | 0.537242 | 254 | 2,081 | 4.192913 | 0.169291 | 0.131455 | 0.037559 | 0.052582 | 0.777465 | 0.756808 | 0.756808 | 0.756808 | 0.719249 | 0.719249 | 0 | 0.002317 | 0.377703 | 2,081 | 78 | 61 | 26.679487 | 0.820077 | 0.016819 | 0 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.166667 | 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 |
a2d7927bd74ff2bc70037658a7110cb4dffa918c | 43 | py | Python | rcds/project/__init__.py | jordanbertasso/rcds | d3d655a59a350042d65476793db84e761de04829 | [
"BSD-3-Clause"
] | 5 | 2020-07-13T12:40:02.000Z | 2021-08-21T11:18:28.000Z | rcds/project/__init__.py | jordanbertasso/rcds | d3d655a59a350042d65476793db84e761de04829 | [
"BSD-3-Clause"
] | 144 | 2020-07-06T11:26:49.000Z | 2022-02-01T14:33:28.000Z | rcds/project/__init__.py | jordanbertasso/rcds | d3d655a59a350042d65476793db84e761de04829 | [
"BSD-3-Clause"
] | 7 | 2020-07-22T12:38:32.000Z | 2021-12-21T14:27:54.000Z | from .project import Project # noqa: F401
| 21.5 | 42 | 0.744186 | 6 | 43 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.186047 | 43 | 1 | 43 | 43 | 0.828571 | 0.232558 | 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 |
a2ff595beb35cc3bf63e8eee3f852f028caee135 | 55,499 | py | Python | pipelines/head-pose-pipeline/training/models.py | tonouchi510/kfp-project | 67b78ae53cc3de594b8254999a4f553a8d5cec27 | [
"MIT"
] | null | null | null | pipelines/head-pose-pipeline/training/models.py | tonouchi510/kfp-project | 67b78ae53cc3de594b8254999a4f553a8d5cec27 | [
"MIT"
] | null | null | null | pipelines/head-pose-pipeline/training/models.py | tonouchi510/kfp-project | 67b78ae53cc3de594b8254999a4f553a8d5cec27 | [
"MIT"
] | null | null | null | import sys
import logging
import numpy as np
import tensorflow as tf
from tensorflow.keras import backend as K
from capsulelayers import CapsuleLayer
from capsulelayers import MatMulLayer
from loupe_keras import NetVLAD
sys.setrecursionlimit(2**20)
np.random.seed(2**10)
# Custom layers
# Note - Usage of Lambda layer... | 40.658608 | 131 | 0.568479 | 7,361 | 55,499 | 3.977585 | 0.038038 | 0.077462 | 0.138085 | 0.035657 | 0.857645 | 0.817207 | 0.779979 | 0.746883 | 0.723932 | 0.706923 | 0 | 0.036721 | 0.25514 | 55,499 | 1,364 | 132 | 40.688416 | 0.671545 | 0.083065 | 0 | 0.579792 | 0 | 0 | 0.027921 | 0.001181 | 0 | 0 | 0 | 0.000733 | 0 | 1 | 0.062323 | false | 0 | 0.007554 | 0.00661 | 0.1322 | 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 |
ac1d0576b9d96127b532e1ac5e9548932d7f9611 | 39 | py | Python | pwas/__init__.py | cgreencode/pwas | e65901e115491ad9661832c7b622b01b1e81c934 | [
"MIT"
] | 19 | 2020-06-22T02:39:25.000Z | 2022-02-21T14:37:33.000Z | pwas/__init__.py | cgreencode/pwas | e65901e115491ad9661832c7b622b01b1e81c934 | [
"MIT"
] | 5 | 2020-09-28T11:26:01.000Z | 2021-05-06T15:34:16.000Z | pwas/__init__.py | cgreencode/pwas | e65901e115491ad9661832c7b622b01b1e81c934 | [
"MIT"
] | 4 | 2020-06-25T18:19:58.000Z | 2022-01-29T04:02:20.000Z | from .genotype import GenotypingManager | 39 | 39 | 0.897436 | 4 | 39 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac3fd84e905bc1166a7d4dcb6bd2d1a33b2c8e12 | 148 | py | Python | textutils/pages/views.py | sohanur-shanto/Django-Play-With-Text | e81177c22e409a584daebd8a826e2aaee14fb59c | [
"BSD-3-Clause-Attribution"
] | 2 | 2021-04-09T12:54:26.000Z | 2021-04-10T07:36:22.000Z | textutils/pages/views.py | sohanur-shanto/Django-Play-With-Text | e81177c22e409a584daebd8a826e2aaee14fb59c | [
"BSD-3-Clause-Attribution"
] | null | null | null | textutils/pages/views.py | sohanur-shanto/Django-Play-With-Text | e81177c22e409a584daebd8a826e2aaee14fb59c | [
"BSD-3-Clause-Attribution"
] | null | null | null | from django.http import HttpResponse
from django.shortcuts import render
def funwithmath(request):
return render (request, 'funwithmath.html') | 24.666667 | 47 | 0.797297 | 18 | 148 | 6.555556 | 0.666667 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 148 | 6 | 47 | 24.666667 | 0.914729 | 0 | 0 | 0 | 0 | 0 | 0.107383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3bc5e3ab47f6373dad23233f3b3391f39ba91b96 | 10,341 | py | Python | tests/api/test_predict.py | mldock/mldock | 314b733e4f0102321727f8b145fc276486ecad85 | [
"Apache-2.0"
] | 2 | 2021-07-12T13:51:21.000Z | 2021-07-19T08:40:02.000Z | tests/api/test_predict.py | mldock/mldock | 314b733e4f0102321727f8b145fc276486ecad85 | [
"Apache-2.0"
] | 41 | 2021-06-28T11:05:20.000Z | 2022-03-13T13:48:50.000Z | tests/api/test_predict.py | mldock/mldock | 314b733e4f0102321727f8b145fc276486ecad85 | [
"Apache-2.0"
] | 1 | 2021-07-17T19:07:06.000Z | 2021-07-17T19:07:06.000Z | """Test Predict API calls"""
import io
from PIL import Image
from dataclasses import dataclass
import tempfile
from pathlib import Path
import pytest
from mock import patch
from mldock.api.predict import send_image_jpeg, send_csv, send_json, handle_prediction
import responses
import requests
@pytest.fixture
def image... | 35.782007 | 86 | 0.579634 | 1,010 | 10,341 | 5.667327 | 0.128713 | 0.061146 | 0.056604 | 0.047519 | 0.87037 | 0.857617 | 0.856219 | 0.828616 | 0.819881 | 0.77935 | 0 | 0.009142 | 0.322986 | 10,341 | 288 | 87 | 35.90625 | 0.808456 | 0.008413 | 0 | 0.668122 | 0 | 0 | 0.218998 | 0.060215 | 0 | 0 | 0 | 0 | 0.043668 | 1 | 0.052402 | false | 0 | 0.043668 | 0.004367 | 0.131004 | 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 |
3bd9caeeddf847dd9546e4e833234ce3cce7f394 | 28 | py | Python | patton_server/service/__init__.py | directionless/patton-server | da39cb8b09029dbcf4edd5c78abb150dc53e8ebe | [
"Apache-2.0"
] | null | null | null | patton_server/service/__init__.py | directionless/patton-server | da39cb8b09029dbcf4edd5c78abb150dc53e8ebe | [
"Apache-2.0"
] | null | null | null | patton_server/service/__init__.py | directionless/patton-server | da39cb8b09029dbcf4edd5c78abb150dc53e8ebe | [
"Apache-2.0"
] | null | null | null | from .make_web_app import *
| 14 | 27 | 0.785714 | 5 | 28 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.