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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ed146cb9576e4840d4982d0ac23df8efd7434226 | 15,422 | py | Python | tests/test_sort.py | thermokarst-forks/emperor | a93f029548c421cb0ba365b4294f7a5a6b0209ce | [
"Apache-2.0"
] | null | null | null | tests/test_sort.py | thermokarst-forks/emperor | a93f029548c421cb0ba365b4294f7a5a6b0209ce | [
"Apache-2.0"
] | null | null | null | tests/test_sort.py | thermokarst-forks/emperor | a93f029548c421cb0ba365b4294f7a5a6b0209ce | [
"Apache-2.0"
] | 1 | 2019-06-18T05:00:20.000Z | 2019-06-18T05:00:20.000Z | # ----------------------------------------------------------------------------
# Copyright (c) 2013--, emperor development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE.md, distributed with this software.
# ------------------------------------------------... | 56.284672 | 79 | 0.673 | 1,976 | 15,422 | 4.888664 | 0.144737 | 0.128364 | 0.158799 | 0.271429 | 0.774431 | 0.744203 | 0.724845 | 0.689855 | 0.660973 | 0.638199 | 0 | 0.202208 | 0.206977 | 15,422 | 273 | 80 | 56.490842 | 0.587653 | 0.051939 | 0 | 0.594017 | 0 | 0 | 0.487908 | 0.467356 | 0 | 0 | 0 | 0 | 0.038462 | 1 | 0.012821 | false | 0 | 0.021368 | 0 | 0.038462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 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 |
ed3af5da863c0b4b6e780e8aef25e1f7baa4cda7 | 33 | py | Python | qemu/tests/image-fuzzer/qcow2/__init__.py | hyunjoy/scripts | 01114d3627730d695b5ebe61093c719744432ffa | [
"Apache-2.0"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | qemu/tests/image-fuzzer/qcow2/__init__.py | hyunjoy/scripts | 01114d3627730d695b5ebe61093c719744432ffa | [
"Apache-2.0"
] | 1 | 2022-03-29T02:30:28.000Z | 2022-03-30T03:40:46.000Z | qemu/tests/image-fuzzer/qcow2/__init__.py | hyunjoy/scripts | 01114d3627730d695b5ebe61093c719744432ffa | [
"Apache-2.0"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | from .layout import create_image
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
ed5de5f29f2101b654d02dea2610e6183f8c5fde | 34,536 | py | Python | silver/tests/api/test_invoice.py | overcastsoftware/silver | f0da52c8e848ec01229d9479171c325eaff79d35 | [
"Apache-2.0"
] | null | null | null | silver/tests/api/test_invoice.py | overcastsoftware/silver | f0da52c8e848ec01229d9479171c325eaff79d35 | [
"Apache-2.0"
] | null | null | null | silver/tests/api/test_invoice.py | overcastsoftware/silver | f0da52c8e848ec01229d9479171c325eaff79d35 | [
"Apache-2.0"
] | 1 | 2018-12-27T05:05:01.000Z | 2018-12-27T05:05:01.000Z | # Copyright (c) 2015 Presslabs SRL
#
# 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 writ... | 42.323529 | 97 | 0.589211 | 3,594 | 34,536 | 5.476906 | 0.082916 | 0.027433 | 0.034546 | 0.048771 | 0.807763 | 0.789169 | 0.764225 | 0.761329 | 0.742126 | 0.712406 | 0 | 0.013834 | 0.294649 | 34,536 | 815 | 98 | 42.37546 | 0.794212 | 0.018908 | 0 | 0.67218 | 0 | 0 | 0.147666 | 0.004341 | 0 | 0 | 0 | 0.001227 | 0.129323 | 1 | 0.049624 | false | 0 | 0.025564 | 0 | 0.076692 | 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 |
71f0cc4d08ae8c76bb191e5a6df6c8145bb794d4 | 56,810 | py | Python | pybind/nos/v7_1_0/brocade_lldp_ext_rpc/get_lldp_neighbor_detail/output/lldp_neighbor_detail/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/brocade_lldp_ext_rpc/get_lldp_neighbor_detail/output/lldp_neighbor_detail/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/brocade_lldp_ext_rpc/get_lldp_neighbor_detail/output/lldp_neighbor_detail/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null |
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... | 78.035714 | 851 | 0.747967 | 8,184 | 56,810 | 4.909091 | 0.026515 | 0.044629 | 0.0568 | 0.032358 | 0.927842 | 0.904221 | 0.884035 | 0.872088 | 0.843439 | 0.822033 | 0 | 0.025089 | 0.111758 | 56,810 | 727 | 852 | 78.143054 | 0.771091 | 0.21454 | 0 | 0.515152 | 0 | 0.070707 | 0.400237 | 0.268491 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128788 | false | 0 | 0.020202 | 0 | 0.257576 | 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 |
71fc2298c528676a226161b29f42fcbc7fc32da7 | 7,421 | py | Python | api/tests.py | dzionek/goals-rewards | 59981edefa770fcecb9f10c8153d732905ad0bed | [
"MIT"
] | 1 | 2020-02-09T16:32:27.000Z | 2020-02-09T16:32:27.000Z | api/tests.py | dzionek/goals-rewards | 59981edefa770fcecb9f10c8153d732905ad0bed | [
"MIT"
] | 1 | 2020-08-15T11:28:44.000Z | 2020-08-15T11:28:44.000Z | api/tests.py | dzionek/goals-rewards | 59981edefa770fcecb9f10c8153d732905ad0bed | [
"MIT"
] | null | null | null | import pytest
import json
from django.contrib.auth.models import User
from django.test import Client
from system.models import Goal, DirectReward, PointReward
from tests.helpers import (check_view_set_admin_restricted,
check_view_set_user_restricted)
@pytest.mark.django_db
class TestRout... | 37.291457 | 79 | 0.609352 | 818 | 7,421 | 5.282396 | 0.086797 | 0.161074 | 0.104143 | 0.0972 | 0.874566 | 0.843323 | 0.803749 | 0.794723 | 0.794723 | 0.771118 | 0 | 0.013876 | 0.291066 | 7,421 | 198 | 80 | 37.479798 | 0.807451 | 0.006468 | 0 | 0.615385 | 0 | 0 | 0.091921 | 0.006925 | 0 | 0 | 0 | 0 | 0.269231 | 1 | 0.044872 | false | 0 | 0.038462 | 0 | 0.089744 | 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 |
9c054727da5e298e0e3dfb31d0a0a50fc000b2aa | 9,257 | py | Python | dnlp/classifier/rnn_model.py | zhaoshiyu/DNLP | 01071d356714f816a0b47827e13932e741619952 | [
"Apache-2.0"
] | null | null | null | dnlp/classifier/rnn_model.py | zhaoshiyu/DNLP | 01071d356714f816a0b47827e13932e741619952 | [
"Apache-2.0"
] | null | null | null | dnlp/classifier/rnn_model.py | zhaoshiyu/DNLP | 01071d356714f816a0b47827e13932e741619952 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import math
import numpy as np
import tensorflow as tf
from tensorflow.contrib import rnn
class RNNModel():
def __init__(self, args):
self.args = args
if self.args.model == 'RNN':
cell_fn = rnn.BasicRNNCell
elif self.args.model == 'GRU':
cel... | 49.239362 | 164 | 0.625797 | 1,284 | 9,257 | 4.30296 | 0.120717 | 0.088326 | 0.04 | 0.052308 | 0.871131 | 0.858281 | 0.85086 | 0.833846 | 0.812127 | 0.791312 | 0 | 0.009737 | 0.245544 | 9,257 | 187 | 165 | 49.502674 | 0.781357 | 0.037917 | 0 | 0.697368 | 0 | 0 | 0.028334 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.026316 | 0 | 0.171053 | 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 |
9c160e36b80535cbc69b9c9c9b3e66275e16a3a6 | 1,795 | py | Python | weasyl/test/useralias/test_select.py | greysteil/wzl-test | 0f863b9e7c58e5861437618bd590126ca323140c | [
"Apache-2.0"
] | 1 | 2019-02-15T04:21:48.000Z | 2019-02-15T04:21:48.000Z | weasyl/test/useralias/test_select.py | kfkitsune/wzl-test | 27297ccb42e24d652a29aa82f5a667c7d9a6d8de | [
"Apache-2.0"
] | 254 | 2017-12-23T19:36:43.000Z | 2020-04-14T21:46:13.000Z | weasyl/test/useralias/test_select.py | greysteil/wzl-test | 0f863b9e7c58e5861437618bd590126ca323140c | [
"Apache-2.0"
] | 1 | 2017-12-23T18:42:16.000Z | 2017-12-23T18:42:16.000Z | from __future__ import absolute_import
import pytest
from weasyl.test import db_utils
from weasyl import useralias
from weasyl import define as d
test_alias = "test_alias"
@pytest.mark.usefixtures('db')
def test_selecting_alias_succeeds_if_premium_parameter_is_set_to_true():
# This is the default case
use... | 39.021739 | 113 | 0.777159 | 278 | 1,795 | 4.665468 | 0.226619 | 0.046261 | 0.074017 | 0.070933 | 0.875096 | 0.875096 | 0.875096 | 0.836546 | 0.836546 | 0.832691 | 0 | 0 | 0.135376 | 1,795 | 45 | 114 | 39.888889 | 0.835696 | 0.163788 | 0 | 0.5 | 0 | 0 | 0.082943 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.178571 | 0 | 0.321429 | 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 |
9c21e9ea2acd7c8774f71fe1f3559cac59d61b9f | 109 | py | Python | kv_config.py | SteveClement/kaniwani-runner | bff98439fa2d9b6a3bac7f306e6c997be9dd9101 | [
"Unlicense"
] | null | null | null | kv_config.py | SteveClement/kaniwani-runner | bff98439fa2d9b6a3bac7f306e6c997be9dd9101 | [
"Unlicense"
] | null | null | null | kv_config.py | SteveClement/kaniwani-runner | bff98439fa2d9b6a3bac7f306e6c997be9dd9101 | [
"Unlicense"
] | null | null | null | from kivy.config import Config
Config.set('graphics', 'width', '900')
Config.set('graphics', 'height', '400') | 36.333333 | 39 | 0.706422 | 15 | 109 | 5.133333 | 0.666667 | 0.233766 | 0.441558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0.082569 | 109 | 3 | 39 | 36.333333 | 0.71 | 0 | 0 | 0 | 0 | 0 | 0.3 | 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 |
9c3b8f00feeeed1f5934da7b6e3eb9614b5377e5 | 8,964 | py | Python | usaspending_api/accounts/tests/test_tas_endpoints.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | 1 | 2020-08-14T04:14:32.000Z | 2020-08-14T04:14:32.000Z | usaspending_api/accounts/tests/test_tas_endpoints.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | null | null | null | usaspending_api/accounts/tests/test_tas_endpoints.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | null | null | null | from datetime import date
import pytest
from model_mommy import mommy
import json
from usaspending_api.accounts.models import AppropriationAccountBalances
from usaspending_api.financial_activities.models import FinancialAccountsByProgramActivityObjectClass
@pytest.fixture
def account_models():
# Add submission... | 35.015625 | 119 | 0.675368 | 1,003 | 8,964 | 5.695912 | 0.134596 | 0.028356 | 0.028006 | 0.059513 | 0.899527 | 0.870646 | 0.84649 | 0.792053 | 0.7763 | 0.723088 | 0 | 0.041584 | 0.213967 | 8,964 | 255 | 120 | 35.152941 | 0.769231 | 0.046854 | 0 | 0.693467 | 0 | 0 | 0.266989 | 0.19337 | 0 | 0 | 0 | 0 | 0.080402 | 1 | 0.025126 | false | 0 | 0.030151 | 0 | 0.055276 | 0.005025 | 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 |
9c69d7d3ff3bdb3c43ca0593ee218718f429deb7 | 1,672 | py | Python | temboo/core/Library/Google/Picasa/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Google/Picasa/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Google/Picasa/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Google.Picasa.AddCommentToPhoto import AddCommentToPhoto, AddCommentToPhotoInputSet, AddCommentToPhotoResultSet, AddCommentToPhotoChoreographyExecution
from temboo.Library.Google.Picasa.CreateAlbum import CreateAlbum, CreateAlbumInputSet, CreateAlbumResultSet, CreateAlbumChoreographyExecution
from t... | 139.333333 | 176 | 0.907895 | 121 | 1,672 | 12.545455 | 0.413223 | 0.072464 | 0.123188 | 0.166667 | 0.210145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046053 | 1,672 | 11 | 177 | 152 | 0.951724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92e5484a1e8cc73a27f6a2c05e36cbf4793ac5a0 | 17,483 | py | Python | tests/unit/utils/test_decorators.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 19 | 2016-01-29T14:37:52.000Z | 2022-03-30T18:08:01.000Z | tests/unit/utils/test_decorators.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 223 | 2016-03-02T16:39:41.000Z | 2022-03-03T12:26:35.000Z | tests/unit/utils/test_decorators.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 64 | 2016-02-04T19:45:26.000Z | 2021-12-15T02:02:31.000Z | # -*- coding: utf-8 -*-
"""
:codeauthor: Bo Maryniuk (bo@suse.de)
unit.utils.decorators_test
"""
# Import Python libs
from __future__ import absolute_import, print_function, unicode_literals
import inspect
# Import Salt libs
import salt.utils.decorators as decorators
from salt.exceptions import CommandExecut... | 37.356838 | 100 | 0.631699 | 1,937 | 17,483 | 5.420237 | 0.104801 | 0.067054 | 0.047147 | 0.032575 | 0.823031 | 0.805505 | 0.757501 | 0.751691 | 0.740928 | 0.740928 | 0 | 0.001493 | 0.271864 | 17,483 | 467 | 101 | 37.436831 | 0.823252 | 0.187725 | 0 | 0.538462 | 0 | 0 | 0.206024 | 0 | 0 | 0 | 0 | 0 | 0.161172 | 1 | 0.124542 | false | 0 | 0.025641 | 0.018315 | 0.18315 | 0.003663 | 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 |
92edffa76d838df75661dc0c42dc11fb0f96bd25 | 5,702 | py | Python | src/compas_rhino/utilities/__init__.py | jf---/compas | cd878ece933013b8ac34e9d42cf6d5c62a5396ee | [
"MIT"
] | null | null | null | src/compas_rhino/utilities/__init__.py | jf---/compas | cd878ece933013b8ac34e9d42cf6d5c62a5396ee | [
"MIT"
] | null | null | null | src/compas_rhino/utilities/__init__.py | jf---/compas | cd878ece933013b8ac34e9d42cf6d5c62a5396ee | [
"MIT"
] | null | null | null | """
********************************************************************************
utilities
********************************************************************************
.. currentmodule:: compas_rhino.utilities
layers
======
.. autosummary::
:toctree: generated/
:nosignatures:
create_layers
... | 20.077465 | 80 | 0.675552 | 613 | 5,702 | 5.71615 | 0.164763 | 0.046233 | 0.032534 | 0.044521 | 0.819064 | 0.794806 | 0.794806 | 0.771119 | 0.757991 | 0.743721 | 0 | 0 | 0.216591 | 5,702 | 283 | 81 | 20.14841 | 0.784419 | 0.237811 | 0 | 0 | 0 | 0 | 0.328799 | 0.112059 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041026 | 0 | 0.041026 | 0.010256 | 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 |
92faa9b89946ca776098c77e7980ba1037b515da | 10,387 | py | Python | Asi/test/test_drug.py | phac-nml/asipython | 47141fc17397a3cbd5f01aa3dc5f111c9ec6776b | [
"Apache-2.0"
] | 1 | 2019-02-06T17:35:18.000Z | 2019-02-06T17:35:18.000Z | Asi/test/test_drug.py | phac-nml/asipython | 47141fc17397a3cbd5f01aa3dc5f111c9ec6776b | [
"Apache-2.0"
] | null | null | null | Asi/test/test_drug.py | phac-nml/asipython | 47141fc17397a3cbd5f01aa3dc5f111c9ec6776b | [
"Apache-2.0"
] | null | null | null | """
Copyright Government of Canada 2018
Written by: Matthew Fogel, National Microbiology Laboratory, Public Health Agency of Canada
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this work except in compliance with the License. You may obtain a copy of the
License at:
http://www.apac... | 47.429224 | 125 | 0.613844 | 1,192 | 10,387 | 5.241611 | 0.167785 | 0.016005 | 0.011204 | 0.017286 | 0.736076 | 0.713988 | 0.707586 | 0.704225 | 0.704225 | 0.704225 | 0 | 0.002611 | 0.299316 | 10,387 | 218 | 126 | 47.646789 | 0.855867 | 0.119861 | 0 | 0.782123 | 0 | 0 | 0.241303 | 0.093021 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061453 | false | 0 | 0.039106 | 0 | 0.106145 | 0.106145 | 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 |
132c16e0a8815fe3db67dd7178803309b3c2ebc0 | 217 | py | Python | scraper.py | nielsrowinbik/house-finder | 6cef57c0adae7611ea44eebfd207d760f0309b6e | [
"MIT"
] | null | null | null | scraper.py | nielsrowinbik/house-finder | 6cef57c0adae7611ea44eebfd207d760f0309b6e | [
"MIT"
] | null | null | null | scraper.py | nielsrowinbik/house-finder | 6cef57c0adae7611ea44eebfd207d760f0309b6e | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from house import House
class Scraper(ABC):
@abstractmethod
def getHouses(self) -> list[House]:
pass
def getName(self):
return self.__class__.__name__
| 19.727273 | 39 | 0.686636 | 26 | 217 | 5.423077 | 0.576923 | 0.241135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235023 | 217 | 10 | 40 | 21.7 | 0.849398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.25 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
1342338255f04915398c8de70705e74f3f2b07b6 | 34 | py | Python | AMIT/LAB.py | swapanssmt/sasmit | 0fb1a94d26f11c954b4471839490c924426fbd5f | [
"Apache-2.0"
] | null | null | null | AMIT/LAB.py | swapanssmt/sasmit | 0fb1a94d26f11c954b4471839490c924426fbd5f | [
"Apache-2.0"
] | null | null | null | AMIT/LAB.py | swapanssmt/sasmit | 0fb1a94d26f11c954b4471839490c924426fbd5f | [
"Apache-2.0"
] | null | null | null | import numpy as np
print("Hello")
| 11.333333 | 18 | 0.735294 | 6 | 34 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 19 | 17 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
1395cd6c6d864b0569bb1e621291c55f74c79902 | 44 | py | Python | dizoo/box2d/lunarlander/envs/__init__.py | LuciusMos/DI-engine | b040b1c36afce038effec9eb483f625131573824 | [
"Apache-2.0"
] | 464 | 2021-07-08T07:26:33.000Z | 2022-03-31T12:35:16.000Z | dizoo/box2d/lunarlander/envs/__init__.py | LuciusMos/DI-engine | b040b1c36afce038effec9eb483f625131573824 | [
"Apache-2.0"
] | 177 | 2021-07-09T08:22:55.000Z | 2022-03-31T07:35:22.000Z | dizoo/box2d/lunarlander/envs/__init__.py | LuciusMos/DI-engine | b040b1c36afce038effec9eb483f625131573824 | [
"Apache-2.0"
] | 92 | 2021-07-08T12:16:37.000Z | 2022-03-31T09:24:41.000Z | from .lunarlander_env import LunarLanderEnv
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
13e6940399f20acf54bc26c7c35f5adf7910c1b5 | 107,819 | py | Python | prod/services/wms/ows/wms_cfg.py | andrewdhicks/dea-config | 65c5ad4c787a485a02a4609301f5eea10dfbb29b | [
"Apache-2.0"
] | null | null | null | prod/services/wms/ows/wms_cfg.py | andrewdhicks/dea-config | 65c5ad4c787a485a02a4609301f5eea10dfbb29b | [
"Apache-2.0"
] | null | null | null | prod/services/wms/ows/wms_cfg.py | andrewdhicks/dea-config | 65c5ad4c787a485a02a4609301f5eea10dfbb29b | [
"Apache-2.0"
] | null | null | null | # Static config for the wms metadata.
response_cfg = {
"Access-Control-Allow-Origin": "*", # CORS header
}
service_cfg = {
## Which web service(s) should be supported by this instance
"wcs": True,
"wms": True,
## Required config for WMS and/or WCS
# Service title - appears e.g. in Terria cat... | 49.34508 | 501 | 0.396173 | 8,912 | 107,819 | 4.729466 | 0.109964 | 0.016655 | 0.011483 | 0.014093 | 0.783815 | 0.770457 | 0.760445 | 0.760445 | 0.752426 | 0.748488 | 0 | 0.043511 | 0.521244 | 107,819 | 2,184 | 502 | 49.367674 | 0.772991 | 0.173819 | 0 | 0.492933 | 0 | 0.025324 | 0.336458 | 0.013357 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001178 | 0 | 0.001178 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13f5364fe7e07a428f73f595eba0a97e56561a2f | 29 | py | Python | stats-processor/src/mdde_stats/__init__.py | akharitonov/mdde | b0443f3c9c3ca948e9dda213572926087c214d8d | [
"MIT"
] | 1 | 2021-05-17T11:17:51.000Z | 2021-05-17T11:17:51.000Z | stats-processor/src/mdde_stats/__init__.py | akharitonov/mdde | b0443f3c9c3ca948e9dda213572926087c214d8d | [
"MIT"
] | 4 | 2020-05-30T12:23:04.000Z | 2021-12-25T12:59:14.000Z | stats-processor/src/mdde_stats/__init__.py | akharitonov/mdde | b0443f3c9c3ca948e9dda213572926087c214d8d | [
"MIT"
] | null | null | null | from .main import entrypoint
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 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 |
b973abad7b5f8b74d496e3ead8e0654f78744407 | 100 | py | Python | Release/Tests/AnalysisTest/Python.VS.TestData/Grammar/Calls.py | rsumner33/PTVS | f5d67cff8c7bb32992dd4f77c0dfddaca6071250 | [
"Apache-2.0"
] | null | null | null | Release/Tests/AnalysisTest/Python.VS.TestData/Grammar/Calls.py | rsumner33/PTVS | f5d67cff8c7bb32992dd4f77c0dfddaca6071250 | [
"Apache-2.0"
] | null | null | null | Release/Tests/AnalysisTest/Python.VS.TestData/Grammar/Calls.py | rsumner33/PTVS | f5d67cff8c7bb32992dd4f77c0dfddaca6071250 | [
"Apache-2.0"
] | 1 | 2020-12-09T10:16:23.000Z | 2020-12-09T10:16:23.000Z | foo()
foo(1)
foo(bar = 1)
foo(*bar)
foo(**bar)
foo(*bar, **baz)
foo(bar = 1, baz = 2)
foo(bar, baz) | 12.5 | 21 | 0.55 | 22 | 100 | 2.545455 | 0.272727 | 0.642857 | 0.25 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.16 | 100 | 8 | 22 | 12.5 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b97db0568c5e1ba0a12a2b72d05d3d6b5f5ae7d9 | 172,621 | py | Python | source/codegen/metadata/nirfmxspecan/enums.py | ni/grpc-device | 9713da936ba712930554bdd8f8c7452be509e900 | [
"MIT"
] | 24 | 2021-03-25T18:37:59.000Z | 2022-03-03T16:33:56.000Z | source/codegen/metadata/nirfmxspecan/enums.py | gregstoll/grpc-device | 1a321fa2c162a2d10950673d99a9b84c64f5af16 | [
"MIT"
] | 129 | 2021-04-03T15:16:04.000Z | 2022-03-25T21:48:18.000Z | source/codegen/metadata/nirfmxspecan/enums.py | gregstoll/grpc-device | 1a321fa2c162a2d10950673d99a9b84c64f5af16 | [
"MIT"
] | 24 | 2021-03-31T12:36:14.000Z | 2022-02-25T03:01:25.000Z | enums = {
'AcpAmplitudeCorrectionType': {
'values': [
{
'documentation': {
'description': ' All the frequency bins in the spectrum are compensated with a single external attenuation value that corresponds to the RF center frequency.'
},
... | 34.887025 | 897 | 0.433319 | 12,920 | 172,621 | 5.705728 | 0.072833 | 0.146179 | 0.082409 | 0.059009 | 0.819447 | 0.790309 | 0.764901 | 0.726851 | 0.700046 | 0.654901 | 0 | 0.009326 | 0.473245 | 172,621 | 4,947 | 898 | 34.894077 | 0.801394 | 0 | 0 | 0.426319 | 0 | 0.023449 | 0.479414 | 0.064471 | 0 | 0 | 0 | 0 | 0.001011 | 1 | 0 | false | 0.001213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b99cfbbc2cd350c03fe3bfa300f8622ad5b3fe51 | 126 | py | Python | bad-project/fix_me/admin.py | Capwell/review-test | 9ade933b2efd86c7b85401de3da536592bef2dcd | [
"MIT"
] | null | null | null | bad-project/fix_me/admin.py | Capwell/review-test | 9ade933b2efd86c7b85401de3da536592bef2dcd | [
"MIT"
] | null | null | null | bad-project/fix_me/admin.py | Capwell/review-test | 9ade933b2efd86c7b85401de3da536592bef2dcd | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Category, Item
admin.site.register(Item)
admin.site.register(Category)
| 18 | 34 | 0.809524 | 18 | 126 | 5.666667 | 0.555556 | 0.176471 | 0.254902 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 126 | 6 | 35 | 21 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b9a28724491f82fdd5eaba48c9a24f6a1104bf7a | 15,007 | py | Python | KilluaRobot/ex_plugins/ImageEditor/edit_2.py | apisuserbot/Killua-Robot | eb23a6bab090cbda74743ba47b96d5779949e9a4 | [
"MIT"
] | 3 | 2022-01-28T11:18:58.000Z | 2022-02-01T09:19:46.000Z | KilluaRobot/ex_plugins/ImageEditor/edit_2.py | apisuserbot/Killua-Robot | eb23a6bab090cbda74743ba47b96d5779949e9a4 | [
"MIT"
] | 5 | 2022-01-28T09:04:54.000Z | 2022-03-20T23:24:54.000Z | KilluaRobot/ex_plugins/ImageEditor/edit_2.py | apisuserbot/Killua-Robot | eb23a6bab090cbda74743ba47b96d5779949e9a4 | [
"MIT"
] | 4 | 2022-01-31T14:23:27.000Z | 2022-02-04T11:30:37.000Z | # By @TroJanzHEX
import os
import shutil
import cv2
import numpy as np
from PIL import Image, ImageDraw, ImageEnhance
async def circle_with_bg(client, message):
try:
userid = str(message.chat.id)
if not os.path.isdir(f"./DOWNLOADS/{userid}"):
os.makedirs(f"./DOWNLOADS/{userid}")
... | 37.5175 | 86 | 0.55041 | 1,732 | 15,007 | 4.599307 | 0.114896 | 0.119006 | 0.070299 | 0.105448 | 0.81283 | 0.791363 | 0.786216 | 0.77768 | 0.77768 | 0.77768 | 0 | 0.0149 | 0.333644 | 15,007 | 399 | 87 | 37.611529 | 0.7817 | 0.000933 | 0 | 0.683784 | 0 | 0 | 0.121673 | 0.001534 | 0.043243 | 0 | 0 | 0 | 0 | 1 | 0.010811 | false | 0.021622 | 0.013514 | 0.002703 | 0.078378 | 0.021622 | 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 |
6a08928be9fb9a5b3b009dc4f9fba55e66f3394b | 32 | py | Python | tests/learn/mblgray/__init__.py | derekmerck/rcDiana-ac | 3a2ace08c52437c9beefc2f629c24bbdf714a688 | [
"MIT"
] | 9 | 2018-03-15T19:10:27.000Z | 2021-03-15T21:01:24.000Z | tests/learn/mblgray/__init__.py | derekmerck/rcDiana-ac | 3a2ace08c52437c9beefc2f629c24bbdf714a688 | [
"MIT"
] | null | null | null | tests/learn/mblgray/__init__.py | derekmerck/rcDiana-ac | 3a2ace08c52437c9beefc2f629c24bbdf714a688 | [
"MIT"
] | 2 | 2018-03-15T19:13:22.000Z | 2018-04-18T16:33:33.000Z | from .mobilenet import MobileNet | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a3ce4ac722bdfdeecb7ba900a7cb0c3f733009c | 79 | py | Python | forum/management/__init__.py | Stackato-Apps/osqa | 728bb43ae913e33769c52f40cadb26721faaf2b2 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2017-07-14T09:58:07.000Z | 2017-07-14T09:58:07.000Z | forum/management/__init__.py | Stackato-Apps/osqa | 728bb43ae913e33769c52f40cadb26721faaf2b2 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | forum/management/__init__.py | Stackato-Apps/osqa | 728bb43ae913e33769c52f40cadb26721faaf2b2 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | from forum.modules import get_modules_script
get_modules_script('management')
| 19.75 | 44 | 0.860759 | 11 | 79 | 5.818182 | 0.636364 | 0.3125 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 79 | 3 | 45 | 26.333333 | 0.876712 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
e00de5ee8ca0b5ce2aa97a94054efa675eaad2dc | 257,646 | py | Python | instances/passenger_demand/pas-20210422-1717-int12e/37.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int12e/37.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int12e/37.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 22944
passenger_arriving = (
(5, 6, 5, 9, 4, 1, 2, 3, 2, 1, 1, 1, 0, 7, 6, 8, 4, 8, 2, 3, 1, 0, 1, 1, 1, 0), # 0
(7, 6, 3, 10, 7, 1, 1, 1, 6, 1, 2, 1, 0, 3, 5, 7, 7, 5, 4, 5, 0, 2, 2, 0, 1, 0), # 1
(5, 3, 10, 5, 3, 3, 4, 2, 1, 1, 1, 1, 0, 9, 9, 4, 3, 5, 2, 4, 2, 4, 1, 1, 0, 0)... | 275.557219 | 493 | 0.76897 | 32,987 | 257,646 | 6.00573 | 0.222421 | 0.359798 | 0.345261 | 0.654179 | 0.375739 | 0.367743 | 0.365896 | 0.365462 | 0.36529 | 0.36529 | 0 | 0.849385 | 0.096 | 257,646 | 934 | 494 | 275.852248 | 0.001198 | 0.015568 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e01b4bbd0b0edc56204ba515a21dce32239c192e | 77 | py | Python | shopify/resources/report.py | butlertron/shopify_python_api | 78329d0656a7dcd4aad9579b28509007d05ee5dc | [
"MIT"
] | 828 | 2015-01-08T16:03:55.000Z | 2022-03-25T16:58:37.000Z | shopify/resources/report.py | whitehorse3513/PythonShopify | 245b9bad3779db9190e3786bffc07044afe216c6 | [
"MIT"
] | 389 | 2015-02-01T03:33:49.000Z | 2022-03-23T08:42:33.000Z | shopify/resources/report.py | whitehorse3513/PythonShopify | 245b9bad3779db9190e3786bffc07044afe216c6 | [
"MIT"
] | 267 | 2015-01-20T21:40:19.000Z | 2022-03-29T04:09:56.000Z | from ..base import ShopifyResource
class Report(ShopifyResource):
pass
| 12.833333 | 34 | 0.766234 | 8 | 77 | 7.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 5 | 35 | 15.4 | 0.921875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e063bf766fe9209f30c06c687dc3fc062bf0a8f1 | 4,891 | py | Python | preprocess_helpers/preprocess_train_tumor_test_lungs.py | srikeerthi207/DALS-Domain-Adaptation | dda688bd73aad1ba45ecd77a81460b098faf0a0e | [
"MIT"
] | 1 | 2021-12-25T09:12:13.000Z | 2021-12-25T09:12:13.000Z | preprocess_helpers/preprocess_train_tumor_test_lungs.py | TanmayH/DALS-Domain-Adaptation | 502010ab64bafbc0774ed7e9ff009f39a1220a51 | [
"MIT"
] | null | null | null | preprocess_helpers/preprocess_train_tumor_test_lungs.py | TanmayH/DALS-Domain-Adaptation | 502010ab64bafbc0774ed7e9ff009f39a1220a51 | [
"MIT"
] | 1 | 2021-12-25T09:11:35.000Z | 2021-12-25T09:11:35.000Z | from PIL import Image
import numpy as np
import os
import re
import cv2
import shutil
import random
def get_all_images_in_folder(train_folder,test_folder):
images = []
dataCounter = 1
random.seed(1)
#Train - Tumour
for directory in sorted(os.listdir(train_folder)):
print (directory)
... | 48.425743 | 130 | 0.569618 | 597 | 4,891 | 4.60134 | 0.19263 | 0.030579 | 0.050965 | 0.040772 | 0.808882 | 0.794321 | 0.733892 | 0.716054 | 0.704769 | 0.62541 | 0 | 0.023019 | 0.298303 | 4,891 | 101 | 131 | 48.425743 | 0.777389 | 0.021059 | 0 | 0.637363 | 0 | 0 | 0.064634 | 0.011166 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010989 | false | 0 | 0.076923 | 0 | 0.087912 | 0.087912 | 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 |
e069383dca1711356b58a3816582086e90fc7cb5 | 29 | py | Python | saleor/graphql/core/__init__.py | elwoodxblues/saleor | 5e4e4a4259a011d24b04ebd24c77c689de843fa1 | [
"CC-BY-4.0"
] | 15,337 | 2015-01-12T02:11:52.000Z | 2021-10-05T19:19:29.000Z | saleor/graphql/core/__init__.py | elwoodxblues/saleor | 5e4e4a4259a011d24b04ebd24c77c689de843fa1 | [
"CC-BY-4.0"
] | 7,486 | 2015-02-11T10:52:13.000Z | 2021-10-06T09:37:15.000Z | saleor/graphql/core/__init__.py | aminziadna/saleor | 2e78fb5bcf8b83a6278af02551a104cfa555a1fb | [
"CC-BY-4.0"
] | 5,864 | 2015-01-16T14:52:54.000Z | 2021-10-05T23:01:15.000Z | from . import fields # noqa
| 14.5 | 28 | 0.689655 | 4 | 29 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 1 | 29 | 29 | 0.909091 | 0.137931 | 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 |
e07606390246b0919998e02c79f9693a42a76f51 | 2,427 | py | Python | cloudmersive_configuration_api_client/__init__.py | Cloudmersive/Cloudmersive.APIClient.Python.Configuration | 01ab35d057254295cbd358e5549031fd1ba3c984 | [
"Apache-2.0"
] | null | null | null | cloudmersive_configuration_api_client/__init__.py | Cloudmersive/Cloudmersive.APIClient.Python.Configuration | 01ab35d057254295cbd358e5549031fd1ba3c984 | [
"Apache-2.0"
] | null | null | null | cloudmersive_configuration_api_client/__init__.py | Cloudmersive/Cloudmersive.APIClient.Python.Configuration | 01ab35d057254295cbd358e5549031fd1ba3c984 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
configapi
Config API lets you easily manage configuration at scale. # noqa: E501
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import apis into sdk package
from cloudm... | 56.44186 | 123 | 0.905645 | 277 | 2,427 | 7.537906 | 0.303249 | 0.094828 | 0.291667 | 0.321839 | 0.54454 | 0.54454 | 0.479885 | 0.360153 | 0 | 0 | 0 | 0.002648 | 0.066337 | 2,427 | 42 | 124 | 57.785714 | 0.9188 | 0.114957 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0eba42417753f5b2aed753088837d5574008d6be | 138 | py | Python | exceptions.py | roi3363/music-pytheory | 53cc3c4f0025acef75411ff85e1ce365912267be | [
"MIT"
] | 2 | 2019-09-24T09:41:37.000Z | 2020-07-26T20:21:05.000Z | exceptions.py | roi3363/music-pytheory | 53cc3c4f0025acef75411ff85e1ce365912267be | [
"MIT"
] | null | null | null | exceptions.py | roi3363/music-pytheory | 53cc3c4f0025acef75411ff85e1ce365912267be | [
"MIT"
] | null | null | null | class InvalidNoteException(Exception):
pass
class InvalidModeException(Exception):
pass
class InvalidChord(Exception):
pass
| 15.333333 | 38 | 0.768116 | 12 | 138 | 8.833333 | 0.5 | 0.367925 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 138 | 8 | 39 | 17.25 | 0.921739 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0ed3379bde2be1a71a87ba1adedb6d3f918331e6 | 96 | py | Python | COVID-19 Disease Prediction/COVID-19 Predictor/model.py | alicansoyel/COVID-19_Disease_Prediction | cbcceb3823a45a35508c4c872bf9cee526c6eb26 | [
"MIT"
] | null | null | null | COVID-19 Disease Prediction/COVID-19 Predictor/model.py | alicansoyel/COVID-19_Disease_Prediction | cbcceb3823a45a35508c4c872bf9cee526c6eb26 | [
"MIT"
] | null | null | null | COVID-19 Disease Prediction/COVID-19 Predictor/model.py | alicansoyel/COVID-19_Disease_Prediction | cbcceb3823a45a35508c4c872bf9cee526c6eb26 | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow import keras
from tensorflow.contrib import lite as lite | 32 | 43 | 0.854167 | 15 | 96 | 5.466667 | 0.533333 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 3 | 43 | 32 | 0.987952 | 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 |
0edbed55d5e1492e3db8bf81b83d16c5b5c4917b | 88 | py | Python | smartlight_datastore/__init__.py | ande7590/rpi-smart-lights | 599cefb1f3aa63d85b33ab3f8a379faba4eb178c | [
"MIT"
] | null | null | null | smartlight_datastore/__init__.py | ande7590/rpi-smart-lights | 599cefb1f3aa63d85b33ab3f8a379faba4eb178c | [
"MIT"
] | null | null | null | smartlight_datastore/__init__.py | ande7590/rpi-smart-lights | 599cefb1f3aa63d85b33ab3f8a379faba4eb178c | [
"MIT"
] | null | null | null | from event_repository import SmartLightEventRepository
from event import SmartLightEvent | 44 | 54 | 0.920455 | 9 | 88 | 8.888889 | 0.666667 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 88 | 2 | 55 | 44 | 0.987654 | 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 |
0ee61ebe5c17bdb9553d5c4692c92bd3716fad0f | 8,068 | py | Python | tests/steps/test_cell.py | gperonato/frictionless-py | 1674effe39ee0a473cfbc65e858e1c18a4fd96c0 | [
"MIT"
] | null | null | null | tests/steps/test_cell.py | gperonato/frictionless-py | 1674effe39ee0a473cfbc65e858e1c18a4fd96c0 | [
"MIT"
] | null | null | null | tests/steps/test_cell.py | gperonato/frictionless-py | 1674effe39ee0a473cfbc65e858e1c18a4fd96c0 | [
"MIT"
] | null | null | null | from frictionless import Resource, transform, steps
# Convert
def test_step_cell_convert():
source = Resource(path="data/transform.csv")
source.infer()
source.schema.get_field("id").type = "string"
source.schema.get_field("population").type = "string"
target = transform(
source,
... | 29.445255 | 84 | 0.555528 | 884 | 8,068 | 4.946833 | 0.069005 | 0.076835 | 0.035216 | 0.048022 | 0.939858 | 0.882461 | 0.882461 | 0.882461 | 0.865996 | 0.865996 | 0 | 0.021298 | 0.255082 | 8,068 | 273 | 85 | 29.553114 | 0.706323 | 0.00533 | 0 | 0.687225 | 0 | 0 | 0.209529 | 0 | 0 | 0 | 0 | 0 | 0.123348 | 1 | 0.061674 | false | 0 | 0.004405 | 0 | 0.066079 | 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 |
1616ff937d16addef8c565087e9d1060dc1644f2 | 34 | py | Python | api/models/__init__.py | hbontempo-br/broker-api | 992118bcb2754df34053a6dd56020d2e3002ce78 | [
"MIT"
] | null | null | null | api/models/__init__.py | hbontempo-br/broker-api | 992118bcb2754df34053a6dd56020d2e3002ce78 | [
"MIT"
] | null | null | null | api/models/__init__.py | hbontempo-br/broker-api | 992118bcb2754df34053a6dd56020d2e3002ce78 | [
"MIT"
] | null | null | null | from .user_model import UserModel
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
167096f95e7c2e073e2ba30be0381cc2c8ff3c9a | 183,900 | py | Python | msgraph-cli-extensions/beta/calendar_beta/azext_calendar_beta/vendored_sdks/calendar/models/_models.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/beta/calendar_beta/azext_calendar_beta/vendored_sdks/calendar/models/_models.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/beta/calendar_beta/azext_calendar_beta/vendored_sdks/calendar/models/_models.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 38.424572 | 146 | 0.66869 | 18,755 | 183,900 | 6.334258 | 0.042175 | 0.126264 | 0.065657 | 0.04293 | 0.75557 | 0.739661 | 0.732523 | 0.723491 | 0.713078 | 0.705646 | 0 | 0.004514 | 0.200087 | 183,900 | 4,785 | 147 | 38.432602 | 0.803071 | 0.365655 | 0 | 0.702055 | 0 | 0 | 0.277117 | 0.114956 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064212 | false | 0 | 0.001712 | 0 | 0.197346 | 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 |
167addf5a5777b2d74f5b27bf2da0e32ce921cd0 | 282 | py | Python | triangler/__init__.py | djkcyl/triangler | 61e4100aaede749e998a4cc7c98a697a07520ecf | [
"MIT"
] | 44 | 2020-02-19T03:33:03.000Z | 2022-03-24T13:04:13.000Z | triangler/__init__.py | djkcyl/triangler | 61e4100aaede749e998a4cc7c98a697a07520ecf | [
"MIT"
] | 2 | 2020-03-13T12:45:00.000Z | 2020-03-28T11:37:53.000Z | triangler/__init__.py | djkcyl/triangler | 61e4100aaede749e998a4cc7c98a697a07520ecf | [
"MIT"
] | 13 | 2020-02-18T08:49:55.000Z | 2022-03-12T13:00:12.000Z | from triangler.color import ColorMethod
from triangler.edges import EdgeMethod
from triangler.mod import Triangler
from triangler.mod import imread as _imread
from triangler.mod import imsave as _imsave
from triangler.sampling import SampleMethod
imsave = _imsave
imread = _imread
| 28.2 | 43 | 0.847518 | 38 | 282 | 6.184211 | 0.342105 | 0.331915 | 0.204255 | 0.280851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124113 | 282 | 9 | 44 | 31.333333 | 0.951417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
168ebdbfa340cb53de8c939f0a31cff05e897192 | 328 | py | Python | src/UQpy/surrogates/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/surrogates/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/surrogates/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | from UQpy.surrogates.polynomial_chaos import *
from UQpy.surrogates.stochastic_reduced_order_models import *
from UQpy.surrogates.kriging import *
from UQpy.surrogates.gaussian_process import *
from UQpy.surrogates.baseclass import *
from . import polynomial_chaos, stochastic_reduced_order_models, gaussian_process, ba... | 41 | 92 | 0.856707 | 41 | 328 | 6.609756 | 0.341463 | 0.147601 | 0.332103 | 0.354244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 328 | 7 | 93 | 46.857143 | 0.903333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
169b28d66a091b44468dfb201adbf44981742839 | 247 | py | Python | code/network.py | sophia501098/AICompetition | 1668731ee867e06d26a1b6ad37a3cd5a2ecdd07c | [
"MIT"
] | 1 | 2021-11-26T09:22:06.000Z | 2021-11-26T09:22:06.000Z | code/network.py | sophia501098/AICompetition | 1668731ee867e06d26a1b6ad37a3cd5a2ecdd07c | [
"MIT"
] | null | null | null | code/network.py | sophia501098/AICompetition | 1668731ee867e06d26a1b6ad37a3cd5a2ecdd07c | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.init as init
import torch.nn.functional as F
class myNetwork(nn.Module):
def __init__(self, hypara):
super(myNetwork, self).__init__()
def forward(self,input):
return 1;
| 20.583333 | 41 | 0.696356 | 37 | 247 | 4.432432 | 0.486486 | 0.268293 | 0.237805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005102 | 0.206478 | 247 | 11 | 42 | 22.454545 | 0.831633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.444444 | 0.111111 | 0.888889 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
16a8a1000fd7837250b8fff8b0c3b14779a50427 | 19,649 | py | Python | tests/pypokerengine/engine/round_manager_test.py | stupps/PyPokerEngine | a52a048a15da276005eca4acae96fb6eeb4dc034 | [
"MIT"
] | 479 | 2016-09-05T15:42:28.000Z | 2022-03-27T00:53:52.000Z | tests/pypokerengine/engine/round_manager_test.py | stupps/PyPokerEngine | a52a048a15da276005eca4acae96fb6eeb4dc034 | [
"MIT"
] | 51 | 2016-09-04T06:59:37.000Z | 2022-01-23T16:15:05.000Z | tests/pypokerengine/engine/round_manager_test.py | stupps/PyPokerEngine | a52a048a15da276005eca4acae96fb6eeb4dc034 | [
"MIT"
] | 199 | 2016-09-05T15:42:29.000Z | 2022-03-19T14:22:29.000Z | from tests.base_unittest import BaseUnitTest
from mock import patch
from pypokerengine.engine.round_manager import RoundManager
from pypokerengine.engine.game_evaluator import GameEvaluator
from pypokerengine.engine.poker_constants import PokerConstants as Const
from pypokerengine.engine.player import Player
from pypok... | 51.437173 | 119 | 0.70258 | 2,688 | 19,649 | 4.872768 | 0.073661 | 0.083142 | 0.172087 | 0.200947 | 0.835471 | 0.77592 | 0.723164 | 0.711788 | 0.674607 | 0.656207 | 0 | 0.026755 | 0.144028 | 19,649 | 381 | 120 | 51.572178 | 0.752007 | 0.001578 | 0 | 0.543284 | 0 | 0 | 0.125943 | 0.067 | 0 | 0 | 0 | 0 | 0.008955 | 1 | 0.080597 | false | 0.002985 | 0.029851 | 0 | 0.119403 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16b1dcf3219092651b754cf5016a8ef18a17c30b | 1,541 | py | Python | openpype/client/__init__.py | Tilix4/OpenPype | 8909bd890170880aa7ec8b673abaa25a9bdf40f2 | [
"MIT"
] | null | null | null | openpype/client/__init__.py | Tilix4/OpenPype | 8909bd890170880aa7ec8b673abaa25a9bdf40f2 | [
"MIT"
] | null | null | null | openpype/client/__init__.py | Tilix4/OpenPype | 8909bd890170880aa7ec8b673abaa25a9bdf40f2 | [
"MIT"
] | null | null | null | from .entities import (
get_projects,
get_project,
get_asset_by_id,
get_asset_by_name,
get_assets,
get_asset_ids_with_subsets,
get_subset_by_id,
get_subset_by_name,
get_subsets,
get_subset_families,
get_version_by_id,
get_version_by_name,
get_versions,
get_hero... | 21.402778 | 38 | 0.728748 | 204 | 1,541 | 4.779412 | 0.142157 | 0.071795 | 0.071795 | 0.057436 | 0.978462 | 0.978462 | 0.978462 | 0.978462 | 0.978462 | 0.978462 | 0 | 0 | 0.194679 | 1,541 | 71 | 39 | 21.704225 | 0.785657 | 0 | 0 | 0 | 0 | 0 | 0.356262 | 0.189487 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016667 | 0 | 0.016667 | 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 |
bc44a93884a54e286f9bc6aa09c42b55751c1d63 | 5,614 | py | Python | tests/components/homekit/test_type_switches.py | dauden1184/home-assistant | f4c6d389b77d0efa86644e76604eaea5d21abdb5 | [
"Apache-2.0"
] | 1 | 2019-02-11T09:41:29.000Z | 2019-02-11T09:41:29.000Z | tests/components/homekit/test_type_switches.py | dauden1184/home-assistant | f4c6d389b77d0efa86644e76604eaea5d21abdb5 | [
"Apache-2.0"
] | null | null | null | tests/components/homekit/test_type_switches.py | dauden1184/home-assistant | f4c6d389b77d0efa86644e76604eaea5d21abdb5 | [
"Apache-2.0"
] | 1 | 2019-04-16T14:07:20.000Z | 2019-04-16T14:07:20.000Z | """Test different accessory types: Switches."""
import pytest
from homeassistant.components.homekit.const import (
TYPE_FAUCET, TYPE_SHOWER, TYPE_SPRINKLER, TYPE_VALVE)
from homeassistant.components.homekit.type_switches import (
Outlet, Switch, Valve)
from homeassistant.const import ATTR_ENTITY_ID, CONF_TYPE,... | 34.441718 | 78 | 0.728892 | 875 | 5,614 | 4.348571 | 0.104 | 0.073587 | 0.121419 | 0.104862 | 0.812615 | 0.807359 | 0.7682 | 0.740342 | 0.728252 | 0.689882 | 0 | 0.006499 | 0.17777 | 5,614 | 162 | 79 | 34.654321 | 0.817808 | 0.033488 | 0 | 0.655462 | 0 | 0 | 0.040344 | 0 | 0 | 0 | 0 | 0 | 0.336134 | 1 | 0 | false | 0 | 0.05042 | 0 | 0.05042 | 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 |
bc64d0b96f51f2a617bb16062033cc58709097a1 | 172 | py | Python | dbrepl.py | righteousgambitresearch/SSRFTest | 4f266e387d545b7c526d02ef6acd0f5a5971b00a | [
"MIT"
] | 213 | 2019-03-23T17:02:39.000Z | 2022-03-25T12:52:35.000Z | dbrepl.py | righteousgambitresearch/SSRFTest | 4f266e387d545b7c526d02ef6acd0f5a5971b00a | [
"MIT"
] | 5 | 2019-03-23T19:05:18.000Z | 2021-04-20T12:18:48.000Z | dbrepl.py | righteousgambitresearch/SSRFTest | 4f266e387d545b7c526d02ef6acd0f5a5971b00a | [
"MIT"
] | 40 | 2019-03-23T19:39:50.000Z | 2022-02-12T12:27:18.000Z | #!/usr/local/bin/python -i
from metamodel import createLocalSession
from main import app
app.test_request_context('/').__enter__()
createLocalSession()
from model import *
| 24.571429 | 41 | 0.796512 | 22 | 172 | 5.954545 | 0.727273 | 0.335878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 172 | 6 | 42 | 28.666667 | 0.839744 | 0.145349 | 0 | 0 | 0 | 0 | 0.006849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcaf42c8e2100b10d093ebd5305df04e823904df | 578 | py | Python | django/cantusdb_project/main_app/models/__init__.py | DDMAL/CantusDB | 63c7b8df3c703008bd331097c7fb5e72c8890bb0 | [
"MIT"
] | 2 | 2020-10-16T09:50:54.000Z | 2021-07-29T08:38:34.000Z | django/cantusdb_project/main_app/models/__init__.py | DDMAL/CantusDB | 63c7b8df3c703008bd331097c7fb5e72c8890bb0 | [
"MIT"
] | 65 | 2020-05-11T19:22:30.000Z | 2022-03-30T22:30:02.000Z | django/cantusdb_project/main_app/models/__init__.py | DDMAL/CantusDB | 63c7b8df3c703008bd331097c7fb5e72c8890bb0 | [
"MIT"
] | null | null | null | from main_app.models.base_model import BaseModel
from main_app.models.century import Century
from main_app.models.chant import Chant
from main_app.models.feast import Feast
from main_app.models.genre import Genre
from main_app.models.indexer import Indexer
from main_app.models.notation import Notation
from main_app.mod... | 41.285714 | 50 | 0.865052 | 93 | 578 | 5.215054 | 0.236559 | 0.214433 | 0.294845 | 0.45567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089965 | 578 | 13 | 51 | 44.461538 | 0.922053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcba65f7b8d320fadf02665d455398792b11af72 | 50,547 | py | Python | tests/test_trace.py | clericeon/epsagon-python | 387b785708d5b6ac0e8a9f8562c52f56d0825cdf | [
"MIT"
] | null | null | null | tests/test_trace.py | clericeon/epsagon-python | 387b785708d5b6ac0e8a9f8562c52f56d0825cdf | [
"MIT"
] | null | null | null | tests/test_trace.py | clericeon/epsagon-python | 387b785708d5b6ac0e8a9f8562c52f56d0825cdf | [
"MIT"
] | null | null | null | # pylint: disable=too-many-lines
# -*- coding: utf-8 -*-
""" Tests for trace.py """
import os
import sys
import uuid
import json
import time
from datetime import datetime
import mock
import pytest
import urllib3.exceptions
import epsagon.trace
import epsagon.constants
from epsagon.constants import (
TRACE_COLLECTOR... | 31.395652 | 87 | 0.640355 | 6,070 | 50,547 | 4.995058 | 0.057496 | 0.022625 | 0.025231 | 0.023549 | 0.800099 | 0.762236 | 0.75442 | 0.737302 | 0.731563 | 0.727375 | 0 | 0.006579 | 0.245198 | 50,547 | 1,609 | 88 | 31.415165 | 0.788116 | 0.016875 | 0 | 0.666908 | 0 | 0 | 0.119466 | 0.048246 | 0 | 0 | 0 | 0 | 0.093931 | 1 | 0.062139 | false | 0.000723 | 0.012283 | 0.00289 | 0.087428 | 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 |
4c0f7cd05989d446abf896512d775b9c0bc16094 | 23 | py | Python | clovaTTS/__init__.py | zebehn/clovaTTS | a44ce9c8854e3188f3e4593d83026b96e8b8a99b | [
"MIT"
] | null | null | null | clovaTTS/__init__.py | zebehn/clovaTTS | a44ce9c8854e3188f3e4593d83026b96e8b8a99b | [
"MIT"
] | null | null | null | clovaTTS/__init__.py | zebehn/clovaTTS | a44ce9c8854e3188f3e4593d83026b96e8b8a99b | [
"MIT"
] | null | null | null | from .clovaTTS import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c5966894251f3599a0aa55e394b5bde225767ca | 188 | py | Python | ic/management.py | neeboo/ic-py | 41b3bd7b961a259fddc732ba95bc5136698ca9a4 | [
"MIT"
] | 1 | 2022-03-19T23:23:53.000Z | 2022-03-19T23:23:53.000Z | ic/management.py | neeboo/ic-py | 41b3bd7b961a259fddc732ba95bc5136698ca9a4 | [
"MIT"
] | null | null | null | ic/management.py | neeboo/ic-py | 41b3bd7b961a259fddc732ba95bc5136698ca9a4 | [
"MIT"
] | null | null | null |
# management canister interface `aaaaa-aa`
# wrap basic interfaces provided by the management canister:
# create_canister, install_code, canister_status, etc.
class Management:
pass
| 23.5 | 60 | 0.787234 | 23 | 188 | 6.304348 | 0.782609 | 0.248276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 188 | 7 | 61 | 26.857143 | 0.90625 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d5b47a1fc267eb4034383fc902ba35bb523990f8 | 5,129 | py | Python | python/test/feature_assembler_test.py | xinglinsky/vmaf | 55e60bd72eefef6d807bc8650f942349a19139f9 | [
"BSD-2-Clause-Patent"
] | 2,874 | 2016-06-06T16:11:37.000Z | 2022-03-31T10:10:22.000Z | python/test/feature_assembler_test.py | REO-RAO/vmaf | e768a2be57116c76bf33be7f8ee3566d8b774664 | [
"BSD-2-Clause-Patent"
] | 619 | 2016-06-07T19:30:53.000Z | 2022-03-31T16:36:05.000Z | python/test/feature_assembler_test.py | REO-RAO/vmaf | e768a2be57116c76bf33be7f8ee3566d8b774664 | [
"BSD-2-Clause-Patent"
] | 723 | 2016-06-05T02:44:33.000Z | 2022-03-31T03:29:12.000Z | from __future__ import absolute_import
__copyright__ = "Copyright 2016-2020, Netflix, Inc."
__license__ = "BSD+Patent"
import unittest
from vmaf.core.feature_assembler import FeatureAssembler
from vmaf.core.feature_extractor import VmafFeatureExtractor, FeatureExtractor, \
MomentFeatureExtractor
from test.testu... | 39.453846 | 101 | 0.690583 | 566 | 5,129 | 5.938163 | 0.178445 | 0.088367 | 0.166617 | 0.141625 | 0.806605 | 0.806605 | 0.793216 | 0.783695 | 0.783695 | 0.719429 | 0 | 0.086967 | 0.208618 | 5,129 | 129 | 102 | 39.75969 | 0.741069 | 0 | 0 | 0.670103 | 0 | 0 | 0.131995 | 0.109963 | 0 | 0 | 0 | 0 | 0.268041 | 1 | 0.051546 | false | 0.010309 | 0.051546 | 0 | 0.113402 | 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 |
d5dae044247dab055035ba025eb45ae023c3bb0f | 175 | py | Python | src/graph_transpiler/webdnn/backend/webgpu/kernels/abs.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | 1 | 2021-04-09T15:55:35.000Z | 2021-04-09T15:55:35.000Z | src/graph_transpiler/webdnn/backend/webgpu/kernels/abs.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | src/graph_transpiler/webdnn/backend/webgpu/kernels/abs.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | from webdnn.backend.webgpu.kernels.elementwise import register_elementwise_kernel
from webdnn.graph.operators.abs import Abs
register_elementwise_kernel(Abs, "y = abs(x0);")
| 35 | 81 | 0.834286 | 24 | 175 | 5.916667 | 0.583333 | 0.140845 | 0.352113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.074286 | 175 | 4 | 82 | 43.75 | 0.87037 | 0 | 0 | 0 | 0 | 0 | 0.068571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d5e664f8a8dc4e422f398572b8ff121b6d1f86bf | 144 | py | Python | contato/views.py | telemac-dev/curso-django | 1e763400d6da344b2d9533c2454f1fb9b59ac1a2 | [
"MIT"
] | null | null | null | contato/views.py | telemac-dev/curso-django | 1e763400d6da344b2d9533c2454f1fb9b59ac1a2 | [
"MIT"
] | null | null | null | contato/views.py | telemac-dev/curso-django | 1e763400d6da344b2d9533c2454f1fb9b59ac1a2 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
def index(requests):
return HttpResponse('<h1>Hello World</h1>')
| 20.571429 | 47 | 0.770833 | 19 | 144 | 5.842105 | 0.736842 | 0.18018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.131944 | 144 | 6 | 48 | 24 | 0.872 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 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 |
91373f4dfdbb721c2e93d1c616980311afc36a55 | 99 | py | Python | src/frontend/config.py | riteme/limoce-go | b61f9c85c8d3fe668ce4b2530432a42c09311535 | [
"MIT"
] | 4 | 2016-12-27T08:31:28.000Z | 2021-04-20T23:02:15.000Z | src/frontend/config.py | riteme/limoce-go | b61f9c85c8d3fe668ce4b2530432a42c09311535 | [
"MIT"
] | null | null | null | src/frontend/config.py | riteme/limoce-go | b61f9c85c8d3fe668ce4b2530432a42c09311535 | [
"MIT"
] | 2 | 2016-03-20T10:22:54.000Z | 2017-12-29T05:24:01.000Z | SERVER_HOST_1 = "127.0.0.1"
SERVER_PORT_1 = 2779
SERVER_HOST_2 = "127.0.0.1"
SERVER_PORT_2 = 2775
| 16.5 | 27 | 0.727273 | 22 | 99 | 2.909091 | 0.409091 | 0.3125 | 0.15625 | 0.1875 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 0.131313 | 99 | 5 | 28 | 19.8 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 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 |
e66fbb3ea4245e68df16370818054f56e0ef783a | 107 | py | Python | src/polls/main/__init__.py | zgoda/polls | 99ccc5159c26546ae3bac23bb1052cd128110f15 | [
"MIT"
] | null | null | null | src/polls/main/__init__.py | zgoda/polls | 99ccc5159c26546ae3bac23bb1052cd128110f15 | [
"MIT"
] | null | null | null | src/polls/main/__init__.py | zgoda/polls | 99ccc5159c26546ae3bac23bb1052cd128110f15 | [
"MIT"
] | null | null | null | from flask import Blueprint
main_bp = Blueprint('main', __name__)
from . import views # noqa: F401,E402
| 17.833333 | 38 | 0.738318 | 15 | 107 | 4.933333 | 0.733333 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 0.168224 | 107 | 5 | 39 | 21.4 | 0.764045 | 0.140187 | 0 | 0 | 0 | 0 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
e67e8b36979c5ed76c2ad22bad29edb2a3630aad | 31 | py | Python | src/bpyutils/util/__init__.py | achillesrasquinha/bpyutils | 84bbbf1dc37629413fbc14b909188a54995e95a1 | [
"MIT"
] | 1 | 2022-02-01T04:50:22.000Z | 2022-02-01T04:50:22.000Z | src/bpyutils/util/__init__.py | achillesrasquinha/bpyutils | 84bbbf1dc37629413fbc14b909188a54995e95a1 | [
"MIT"
] | 2 | 2021-12-07T10:40:44.000Z | 2021-12-23T13:42:07.000Z | src/bpyutils/util/__init__.py | achillesrasquinha/bpyutils | 84bbbf1dc37629413fbc14b909188a54995e95a1 | [
"MIT"
] | null | null | null | from bpyutils.util import _dict | 31 | 31 | 0.870968 | 5 | 31 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.928571 | 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 |
e6f6e8258cfe3356927cfc87e3de6f7f1968d15c | 129 | py | Python | tests/__init__.py | jgerrish/bitey | a393a83c19338d94116f3405f4b8a0f03ea84d79 | [
"MIT"
] | null | null | null | tests/__init__.py | jgerrish/bitey | a393a83c19338d94116f3405f4b8a0f03ea84d79 | [
"MIT"
] | null | null | null | tests/__init__.py | jgerrish/bitey | a393a83c19338d94116f3405f4b8a0f03ea84d79 | [
"MIT"
] | null | null | null | """
A set of functions used by most tests
"""
import logging
# Disable logging for unit tests
logging.disable(logging.CRITICAL)
| 16.125 | 37 | 0.75969 | 19 | 129 | 5.157895 | 0.736842 | 0.285714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155039 | 129 | 7 | 38 | 18.428571 | 0.899083 | 0.534884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
fc1b6681e7c1a3869d371989da5d69b73813c4a8 | 161 | py | Python | actoon/models/effectmodel.py | ACTOON-ACD2019/backend_django | 04cd62a5ccedc0bc65baeca89c5630c7cef9edba | [
"MIT"
] | null | null | null | actoon/models/effectmodel.py | ACTOON-ACD2019/backend_django | 04cd62a5ccedc0bc65baeca89c5630c7cef9edba | [
"MIT"
] | 28 | 2019-11-28T12:11:02.000Z | 2022-02-10T09:11:30.000Z | actoon/models/effectmodel.py | ACTOON-ACD2019/backend_django | 04cd62a5ccedc0bc65baeca89c5630c7cef9edba | [
"MIT"
] | null | null | null | from django.db import models
class Effect(models.Model):
name = models.CharField(max_length=50)
required_parameters = models.CharField(max_length=255)
| 23 | 58 | 0.770186 | 22 | 161 | 5.5 | 0.727273 | 0.247934 | 0.297521 | 0.396694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035971 | 0.136646 | 161 | 6 | 59 | 26.833333 | 0.834532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
fc1f76e2a9eccee07829e59a8288ab6f43a70b94 | 21 | py | Python | AMAO/apps/Corretor/models/__init__.py | arruda/amao | 83648aa2c408b1450d721b3072dc9db4b53edbb8 | [
"MIT"
] | 2 | 2017-04-26T14:08:02.000Z | 2017-09-01T13:10:17.000Z | AMAO/apps/Corretor/models/__init__.py | arruda/amao | 83648aa2c408b1450d721b3072dc9db4b53edbb8 | [
"MIT"
] | null | null | null | AMAO/apps/Corretor/models/__init__.py | arruda/amao | 83648aa2c408b1450d721b3072dc9db4b53edbb8 | [
"MIT"
] | null | null | null | from retorno import * | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc2050a89f122e1ed17a23114edd949f7bffdd89 | 1,745 | py | Python | cogs/GlobalFunctions.py | V3LKR0W/nobot | b8fbbc255dfe8727680be317961e9b81ae8f6497 | [
"MIT"
] | null | null | null | cogs/GlobalFunctions.py | V3LKR0W/nobot | b8fbbc255dfe8727680be317961e9b81ae8f6497 | [
"MIT"
] | null | null | null | cogs/GlobalFunctions.py | V3LKR0W/nobot | b8fbbc255dfe8727680be317961e9b81ae8f6497 | [
"MIT"
] | 1 | 2021-11-18T03:16:48.000Z | 2021-11-18T03:16:48.000Z | import discord, datetime
from datetime import date
# Global Cog functions
async def errorEmbed(ctx, title, description):
embed = discord.Embed(
title = str(title),
description = str(description),
color = 0xD21919,
)
embed.set_footer(text='NoBot | '+str(date.today().strft... | 35.612245 | 126 | 0.582808 | 198 | 1,745 | 5.131313 | 0.20202 | 0.15748 | 0.103346 | 0.137795 | 0.857283 | 0.849409 | 0.849409 | 0.824803 | 0.824803 | 0.824803 | 0 | 0.021012 | 0.26361 | 1,745 | 49 | 127 | 35.612245 | 0.766537 | 0.011461 | 0 | 0.690476 | 0 | 0 | 0.054893 | 0 | 0 | 0 | 0.023866 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 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 |
fc2ad243d1b12ef6c0cd08d291444bb7a3f6798b | 101 | py | Python | akarsh_portfolio/portfolio/views.py | akarsh-trellissoft/akarsh_portfolio | 58f272fc60057fb82c3da301e3e5d0558a0f87ee | [
"MIT"
] | null | null | null | akarsh_portfolio/portfolio/views.py | akarsh-trellissoft/akarsh_portfolio | 58f272fc60057fb82c3da301e3e5d0558a0f87ee | [
"MIT"
] | null | null | null | akarsh_portfolio/portfolio/views.py | akarsh-trellissoft/akarsh_portfolio | 58f272fc60057fb82c3da301e3e5d0558a0f87ee | [
"MIT"
] | null | null | null | from django.shortcuts import render
def portfolio(request):
return render(request,'index.html')
| 20.2 | 39 | 0.772277 | 13 | 101 | 6 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 4 | 40 | 25.25 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 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 |
fc3e8eb1d39ed82863ea84f88dce2c3ee3740bd1 | 27,282 | py | Python | models_all_solvable2/no7_ar5_1.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | 7 | 2019-05-08T19:14:34.000Z | 2021-12-24T00:00:40.000Z | models_all_solvable2/no7_ar5_1.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | null | null | null | models_all_solvable2/no7_ar5_1.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | 2 | 2020-05-21T22:15:51.000Z | 2020-06-02T23:02:08.000Z | # MINLP written by GAMS Convert at 05/15/20 00:50:54
#
# Equation counts
# Total E G L N X C B
# 270 2 2 266 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 40.238938 | 115 | 0.599113 | 5,704 | 27,282 | 2.865533 | 0.085028 | 0.034506 | 0.051392 | 0.085653 | 0.834017 | 0.788498 | 0.75491 | 0.753686 | 0.693607 | 0.431814 | 0 | 0.2431 | 0.169966 | 27,282 | 677 | 116 | 40.298375 | 0.478693 | 0.024925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002597 | 0 | 0.002597 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 |
fc9d41d5bf096a78c5aaf577ac3fa9452ca85bcc | 68 | py | Python | src/bread/data/__init__.py | ninivert/bread | 9f8502574312d702fee9910130cffe3d876efced | [
"MIT"
] | null | null | null | src/bread/data/__init__.py | ninivert/bread | 9f8502574312d702fee9910130cffe3d876efced | [
"MIT"
] | null | null | null | src/bread/data/__init__.py | ninivert/bread | 9f8502574312d702fee9910130cffe3d876efced | [
"MIT"
] | null | null | null | from ._utils import *
from ._data import *
from ._exception import * | 22.666667 | 25 | 0.75 | 9 | 68 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 3 | 25 | 22.666667 | 0.842105 | 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 |
5d9241b757e9669c196a1840f06e7285f264cb79 | 63 | py | Python | aztk/models/plugins/__init__.py | lachiemurray/aztk | 8d00a2c444313e77b6b0662f8287fcd9fd67898c | [
"MIT"
] | 161 | 2017-10-04T08:58:27.000Z | 2022-01-03T13:01:04.000Z | aztk/models/plugins/__init__.py | lachiemurray/aztk | 8d00a2c444313e77b6b0662f8287fcd9fd67898c | [
"MIT"
] | 400 | 2017-09-29T21:52:08.000Z | 2021-01-08T02:48:56.000Z | aztk/models/plugins/__init__.py | isabella232/aztk | 6e04372d19661ead6744387edab7beda16e3d928 | [
"MIT"
] | 74 | 2017-10-13T04:41:26.000Z | 2021-12-20T15:56:42.000Z | from .plugin_file import *
from .plugin_configuration import *
| 21 | 35 | 0.809524 | 8 | 63 | 6.125 | 0.625 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 36 | 31.5 | 0.890909 | 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 |
5d95d07c81228b49a78204f58cf8951851ace83d | 99 | py | Python | __init__.py | SkyLined/mTCPIPConnection | 52f6152a83a163c9f5a45c3fd6edc840c8e72a3b | [
"CC-BY-4.0"
] | 22 | 2016-08-11T14:50:55.000Z | 2021-06-06T09:39:26.000Z | __init__.py | SkyLined/mDateTime | 6eee2b1a64892dd163fec58bf78b4b6a1e762db1 | [
"CC-BY-4.0"
] | 19 | 2016-09-07T05:54:40.000Z | 2020-07-02T07:46:38.000Z | __init__.py | SkyLined/mDateTime | 6eee2b1a64892dd163fec58bf78b4b6a1e762db1 | [
"CC-BY-4.0"
] | 11 | 2016-09-03T22:42:50.000Z | 2018-10-01T18:28:59.000Z | from .fInitializeProduct import fInitializeProduct;
fInitializeProduct();
from .mExports import *; | 24.75 | 51 | 0.828283 | 8 | 99 | 10.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 99 | 4 | 52 | 24.75 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
5daaea002f6f6ef46896b78090cf1733997320b7 | 153 | py | Python | generated-libraries/python/netapp/volume/cache_policy.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/volume/cache_policy.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/volume/cache_policy.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class CachePolicy(basestring):
"""
Cache Policy Name
"""
@staticmethod
def get_api_name():
return "cache-policy"
| 15.3 | 31 | 0.555556 | 14 | 153 | 5.928571 | 0.785714 | 0.26506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.339869 | 153 | 9 | 32 | 17 | 0.821782 | 0.111111 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
5dbbe79b6b543a85f34a3ea030358d7c43f11bc2 | 24 | py | Python | libs/yowsup/yowsup/yowsup/layers/protocol_groups/structs/__init__.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 22 | 2017-07-14T20:01:17.000Z | 2022-03-08T14:22:39.000Z | src/go_dutch/__init__.py | cyu5/go-dutch | 9b7e44c9a6eb5f95afe52f1ad9177cc3f82da33b | [
"MIT"
] | 6 | 2017-07-14T21:03:50.000Z | 2021-06-10T19:08:32.000Z | src/go_dutch/__init__.py | cyu5/go-dutch | 9b7e44c9a6eb5f95afe52f1ad9177cc3f82da33b | [
"MIT"
] | 13 | 2017-07-14T20:13:14.000Z | 2020-11-12T08:06:05.000Z | from .group import Group | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5de8b1c0126431feab5194215b31932406402c1c | 7,523 | py | Python | common.py | shvetsiya/mask-rcnn | dbe1ae7a7bf457ae53aa88f2d1dee3aef1a32936 | [
"MIT"
] | 9 | 2018-05-10T21:42:27.000Z | 2018-11-28T10:08:00.000Z | common.py | shvetsiya/mask-rcnn | dbe1ae7a7bf457ae53aa88f2d1dee3aef1a32936 | [
"MIT"
] | null | null | null | common.py | shvetsiya/mask-rcnn | dbe1ae7a7bf457ae53aa88f2d1dee3aef1a32936 | [
"MIT"
] | null | null | null | # edit settings here
ROOT_DIR = '..'
DATA_DIR = ROOT_DIR + '/input' #'/media/root/5453d6d1-e517-4659-a3a8-d0a878ba4b60/data/kaggle/science2018/data' #
RESULTS_DIR = ROOT_DIR + '/results'
##---------------------------------------------------------------------
import os
from datetime import datetime
PROJECT_PATH = os.... | 45.593939 | 124 | 0.788382 | 429 | 7,523 | 13.69697 | 0.508159 | 0.008169 | 0.010211 | 0.005786 | 0.01838 | 0.00919 | 0 | 0 | 0 | 0 | 0 | 0.387373 | 0.098897 | 7,523 | 164 | 125 | 45.871951 | 0.479422 | 0.092915 | 0 | 0.015267 | 0 | 0 | 0.662893 | 0.631726 | 0 | 1 | 0 | 0 | 0 | 1 | 0.015267 | false | 0 | 0.21374 | 0.007634 | 0.244275 | 0.091603 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9093c8d1bae9babd480a267b343fd2837a97df7 | 19,700 | py | Python | cli/tests/test_polyflow/test_container/test_container.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | cli/tests/test_polyflow/test_container/test_container.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | cli/tests/test_polyflow/test_container/test_container.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
#
# Copyright 2019 Polyaxon, Inc.
#
# 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 o... | 40.368852 | 86 | 0.497462 | 1,824 | 19,700 | 5.069079 | 0.089364 | 0.055159 | 0.051482 | 0.073545 | 0.837227 | 0.81711 | 0.785962 | 0.74973 | 0.737075 | 0.737075 | 0 | 0.012477 | 0.361269 | 19,700 | 487 | 87 | 40.451745 | 0.722324 | 0.029594 | 0 | 0.600998 | 0 | 0 | 0.384753 | 0.075604 | 0 | 0 | 0 | 0 | 0.122195 | 1 | 0.037406 | false | 0 | 0.014963 | 0 | 0.05985 | 0.002494 | 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 |
f8d879bdc13c8deae87d90592e328019646abd8f | 255 | py | Python | src/api/domain/operation/GetDataOperationJob/GetDataOperationJobResponse.py | PythonDataIntegrator/pythondataintegrator | 6167778c36c2295e36199ac0d4d256a4a0c28d7a | [
"MIT"
] | 14 | 2020-12-19T15:06:13.000Z | 2022-01-12T19:52:17.000Z | src/api/domain/operation/GetDataOperationJob/GetDataOperationJobResponse.py | PythonDataIntegrator/pythondataintegrator | 6167778c36c2295e36199ac0d4d256a4a0c28d7a | [
"MIT"
] | 43 | 2021-01-06T22:05:22.000Z | 2022-03-10T10:30:30.000Z | src/api/domain/operation/GetDataOperationJob/GetDataOperationJobResponse.py | PythonDataIntegrator/pythondataintegrator | 6167778c36c2295e36199ac0d4d256a4a0c28d7a | [
"MIT"
] | 4 | 2020-12-18T23:10:09.000Z | 2021-04-02T13:03:12.000Z | from infrastructure.cqrs.decorators.responseclass import responseclass
from domain.operation.GetDataOperationJob.GetDataOperationJobDto import GetDataOperationJobDto
@responseclass
class GetDataOperationJobResponse:
Data: GetDataOperationJobDto = None
| 31.875 | 94 | 0.890196 | 20 | 255 | 11.35 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 255 | 7 | 95 | 36.428571 | 0.957806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.8 | 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 |
5d11c8714f79d639fa57642c9160a4ce52847a12 | 37 | py | Python | gcmd/components/options/__init__.py | scorbett111/py-rename-repo | 9b1a52fd2b59d7cebd29eda20fca8d3d47d11bfd | [
"MIT"
] | null | null | null | gcmd/components/options/__init__.py | scorbett111/py-rename-repo | 9b1a52fd2b59d7cebd29eda20fca8d3d47d11bfd | [
"MIT"
] | null | null | null | gcmd/components/options/__init__.py | scorbett111/py-rename-repo | 9b1a52fd2b59d7cebd29eda20fca8d3d47d11bfd | [
"MIT"
] | null | null | null | from .option_group import OptionGroup | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 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 |
5d350fd2d47430cf9a3519de7e1604972f55abde | 25 | py | Python | _dev/distances/__init__.py | nicolossus/pylfi | 7950aff5c36e7368cbe77b32ef348966b905f5cf | [
"MIT"
] | null | null | null | _dev/distances/__init__.py | nicolossus/pylfi | 7950aff5c36e7368cbe77b32ef348966b905f5cf | [
"MIT"
] | null | null | null | _dev/distances/__init__.py | nicolossus/pylfi | 7950aff5c36e7368cbe77b32ef348966b905f5cf | [
"MIT"
] | null | null | null | from .distances import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d61626bfbc5aa112b283d8e26dd32210441a001 | 1,675 | py | Python | qtrio/_tests/examples/readme/test_qt.py | altendky/preqtrio | 43c7ff24c0be2f7a3df86eef3c6cc5dae2f7ffd3 | [
"Apache-2.0",
"MIT"
] | 29 | 2020-06-19T14:17:55.000Z | 2021-06-20T05:36:20.000Z | qtrio/_tests/examples/readme/test_qt.py | altendky/qtrio | 43c7ff24c0be2f7a3df86eef3c6cc5dae2f7ffd3 | [
"Apache-2.0",
"MIT"
] | 266 | 2020-06-18T22:53:59.000Z | 2021-10-12T01:57:11.000Z | qtrio/_tests/examples/readme/test_qt.py | altendky/preqtrio | 43c7ff24c0be2f7a3df86eef3c6cc5dae2f7ffd3 | [
"Apache-2.0",
"MIT"
] | 3 | 2020-07-08T14:05:33.000Z | 2021-04-30T20:21:15.000Z | import pytestqt.qtbot
from qts import QtWidgets
import qtrio.examples.readme.qt
def test_main(qtbot: pytestqt.qtbot.QtBot, qapp: QtWidgets.QApplication) -> None:
input_dialog = qtrio.examples.readme.qt.create_input()
output_dialog = qtrio.examples.readme.qt.create_output()
qtbot.add_widget(input_dialog)... | 24.275362 | 81 | 0.731343 | 215 | 1,675 | 5.376744 | 0.209302 | 0.133218 | 0.115052 | 0.127163 | 0.827855 | 0.762976 | 0.762976 | 0.762976 | 0.762976 | 0.762976 | 0 | 0.002892 | 0.174328 | 1,675 | 68 | 82 | 24.632353 | 0.832972 | 0.010149 | 0 | 0.651163 | 0 | 0 | 0.009662 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 1 | 0.046512 | false | 0 | 0.069767 | 0 | 0.116279 | 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 |
5d7468d8f7a5461165a798f91ebe578271e3fdff | 12,037 | py | Python | nextcord/ext/checks/__init__.py | multiii/nextcord-ext-checks | 49c46c5b2166ab2d6d69fbe825b6284a91b1c7f4 | [
"MIT"
] | null | null | null | nextcord/ext/checks/__init__.py | multiii/nextcord-ext-checks | 49c46c5b2166ab2d6d69fbe825b6284a91b1c7f4 | [
"MIT"
] | null | null | null | nextcord/ext/checks/__init__.py | multiii/nextcord-ext-checks | 49c46c5b2166ab2d6d69fbe825b6284a91b1c7f4 | [
"MIT"
] | null | null | null | from typing import Dict, Union, Iterable
from inspect import Parameter
from nextcord import Spotify
from nextcord.ext import commands
from nextcord.ext.commands import CheckFailure
class NotEqualArgs(CheckFailure):
"""Exception raised when a certain number of args haven't been passed for a command.
This inhe... | 34.789017 | 162 | 0.642104 | 1,659 | 12,037 | 4.588306 | 0.07836 | 0.04598 | 0.031792 | 0.054913 | 0.859564 | 0.833552 | 0.790594 | 0.746847 | 0.698371 | 0.488571 | 0 | 0 | 0.25729 | 12,037 | 345 | 163 | 34.889855 | 0.851454 | 0.349423 | 0 | 0.574359 | 0 | 0.010256 | 0.112136 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.251282 | false | 0.030769 | 0.025641 | 0 | 0.548718 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 |
53b31f918229831d546efc66ddcc781a7fb204ed | 81 | py | Python | tests/test_appstore.py | grantjenks/python-appstore | d9aae18de157dfb7d9396d1af7e7b62168489990 | [
"Apache-2.0"
] | 1 | 2019-07-05T06:59:41.000Z | 2019-07-05T06:59:41.000Z | tests/test_appstore.py | grantjenks/python-appstore | d9aae18de157dfb7d9396d1af7e7b62168489990 | [
"Apache-2.0"
] | 2 | 2019-07-14T19:39:17.000Z | 2019-07-22T05:26:51.000Z | tests/test_appstore.py | grantjenks/python-appstore | d9aae18de157dfb7d9396d1af7e7b62168489990 | [
"Apache-2.0"
] | null | null | null | import appstore
def test_title():
assert appstore.__title__ == 'App Store'
| 13.5 | 44 | 0.716049 | 10 | 81 | 5.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 5 | 45 | 16.2 | 0.80303 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
53f812062a8984af5f4feeb90d520d37196bc178 | 164,260 | py | Python | web/transiq/restapi/tests/test_api_employee.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | web/transiq/restapi/tests/test_api_employee.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | 14 | 2020-06-05T23:06:45.000Z | 2022-03-12T00:00:18.000Z | web/transiq/restapi/tests/test_api_employee.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | import json
from datetime import datetime
from django.contrib.auth.models import User
from django.urls import reverse
from model_mommy import mommy
from rest_framework import status
from rest_framework.test import APITestCase
from employee.models import Employee, Designation, Department, FitnessDetail, PastEmployment... | 51.948134 | 120 | 0.723591 | 20,440 | 164,260 | 5.507632 | 0.018689 | 0.075416 | 0.093857 | 0.151213 | 0.947431 | 0.937385 | 0.921289 | 0.909039 | 0.900592 | 0.895919 | 0 | 0.018998 | 0.174826 | 164,260 | 3,161 | 121 | 51.964568 | 0.811558 | 0.012097 | 0 | 0.685224 | 0 | 0 | 0.060491 | 0.01857 | 0 | 0 | 0 | 0 | 0.24571 | 1 | 0.12432 | false | 0.002093 | 0.003767 | 0 | 0.135622 | 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 |
99075849082be272a34fc61932108d2d52ac30f7 | 2,697 | py | Python | API/quiz/models.py | kasimbozdag/SWE_573 | 4bce24f98fe6980b1f2c83196b8454b56118186b | [
"MIT"
] | null | null | null | API/quiz/models.py | kasimbozdag/SWE_573 | 4bce24f98fe6980b1f2c83196b8454b56118186b | [
"MIT"
] | 52 | 2019-02-19T10:43:11.000Z | 2022-02-10T10:36:37.000Z | API/quiz/models.py | kasimbozdag/SWE_573 | 4bce24f98fe6980b1f2c83196b8454b56118186b | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.db import models
# Create your models here.
from content.models import Content
from lesson.models import Lesson
class Quiz(models.Model):
lesson = models.ForeignKey(Lesson, on_delete=models.DO_NOTHING, unique=True)
owner = models.ForeignKey(User, on_del... | 35.96 | 80 | 0.737857 | 349 | 2,697 | 5.495702 | 0.169054 | 0.100104 | 0.087591 | 0.100104 | 0.774765 | 0.762774 | 0.762774 | 0.739312 | 0.739312 | 0.714286 | 0 | 0.004454 | 0.167594 | 2,697 | 74 | 81 | 36.445946 | 0.849889 | 0.008899 | 0 | 0.696429 | 0 | 0 | 0.001872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0.071429 | 0.053571 | 0.946429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
070c85362f26a416f8c51b3c4419d15d7daa1dfc | 5,869 | py | Python | tests/databases/value/mongo_db/test_value_update.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | null | null | null | tests/databases/value/mongo_db/test_value_update.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | null | null | null | tests/databases/value/mongo_db/test_value_update.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | null | null | null | import stk
from ...utilities import (
DatabaseEntry,
DatabaseState,
assert_database_state,
)
from .utilities import get_database_state
def test_update_1(mongo_client):
"""
Test that existing entries are updated.
"""
collection = '_test_update_1'
database_name = '_test_update_1'
... | 25.741228 | 67 | 0.582723 | 609 | 5,869 | 5.357964 | 0.142857 | 0.067423 | 0.051486 | 0.055777 | 0.787925 | 0.767698 | 0.756972 | 0.752375 | 0.738891 | 0.738891 | 0 | 0.025492 | 0.324928 | 5,869 | 227 | 68 | 25.854626 | 0.798082 | 0.11024 | 0 | 0.77095 | 0 | 0 | 0.018072 | 0 | 0 | 0 | 0 | 0 | 0.050279 | 1 | 0.01676 | false | 0 | 0.01676 | 0 | 0.03352 | 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 |
07519a35f1301286b633ee82f9a01aa845e021a8 | 26,351 | py | Python | waldur_core/users/tests/test_invitation.py | opennode/nodeconductor | d6c17a9592bb6c49c33567542eef8d099605a46a | [
"MIT"
] | 23 | 2015-01-15T13:29:53.000Z | 2017-05-04T05:12:24.000Z | waldur_core/users/tests/test_invitation.py | opennode/nodeconductor | d6c17a9592bb6c49c33567542eef8d099605a46a | [
"MIT"
] | null | null | null | waldur_core/users/tests/test_invitation.py | opennode/nodeconductor | d6c17a9592bb6c49c33567542eef8d099605a46a | [
"MIT"
] | 8 | 2015-01-11T18:51:47.000Z | 2017-06-29T18:53:12.000Z | from datetime import timedelta
from ddt import ddt, data
from django.conf import settings
from django.utils import timezone
from freezegun import freeze_time
from mock_django import mock_signal_receiver
from rest_framework import test, status
from waldur_core.core.tests.helpers import override_waldur_core_settings
fr... | 56.913607 | 118 | 0.743046 | 3,020 | 26,351 | 6.149007 | 0.072185 | 0.046311 | 0.060689 | 0.06252 | 0.831449 | 0.786053 | 0.747011 | 0.742811 | 0.728218 | 0.700862 | 0 | 0.006625 | 0.169367 | 26,351 | 462 | 119 | 57.036797 | 0.841785 | 0.003188 | 0 | 0.556757 | 0 | 0 | 0.052479 | 0 | 0 | 0 | 0 | 0 | 0.183784 | 1 | 0.127027 | false | 0 | 0.035135 | 0 | 0.175676 | 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 |
0763b501013e9451b1b47d0b53743a8889bd5326 | 6,821 | py | Python | loldib/getratings/models/NA/na_malphite/na_malphite_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_malphite/na_malphite_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_malphite/na_malphite_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Malphite_Jng_Aatrox(Ratings):
pass
class NA_Malphite_Jng_Ahri(Ratings):
pass
class NA_Malphite_Jng_Akali(Ratings):
pass
class NA_Malphite_Jng_Alistar(Ratings):
pass
class NA_Malphite_Jng_Amumu(Ratings):
pass
class NA_Malphite_Jng_Anivia(... | 16.357314 | 46 | 0.776133 | 972 | 6,821 | 5.020576 | 0.151235 | 0.197951 | 0.42418 | 0.509016 | 0.814139 | 0.814139 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162879 | 6,821 | 416 | 47 | 16.396635 | 0.854641 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4affa13e602ac1aa36ead46612caf51f558202cd | 29,011 | py | Python | friction.py | ANANTstudent/friction1 | 8f82f0e319877df6eff6f9ab285522cd2f8b8799 | [
"Apache-2.0"
] | null | null | null | friction.py | ANANTstudent/friction1 | 8f82f0e319877df6eff6f9ab285522cd2f8b8799 | [
"Apache-2.0"
] | null | null | null | friction.py | ANANTstudent/friction1 | 8f82f0e319877df6eff6f9ab285522cd2f8b8799 | [
"Apache-2.0"
] | null | null | null | from tkinter import *
from tkinter import ttk
import math
from PIL import ImageTk, Image
sr=1
wt=0
ang=15
pan=0
muv=0.5
sum='NAN'
class HoverButton(Button):
def __init__(self, master, **kw):
Button.__init__(self, master=master, **kw)
self.defaultBackground = self["background"]
self.defa... | 38.072178 | 164 | 0.545655 | 3,799 | 29,011 | 4.094235 | 0.063175 | 0.0758 | 0.143179 | 0.175518 | 0.765269 | 0.737817 | 0.713193 | 0.708692 | 0.691398 | 0.682783 | 0 | 0.084017 | 0.290235 | 29,011 | 761 | 165 | 38.122208 | 0.671361 | 0 | 0 | 0.758475 | 0 | 0 | 0.153976 | 0.105925 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029661 | false | 0 | 0.00565 | 0 | 0.036723 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab4af94521912d300c74adfca88252259fc907ae | 138 | py | Python | src/pretraining/__init__.py | natgen-team/NatGen | b1a7070caf3ff45cf2be1fc2196198e4e23cb30d | [
"MIT"
] | null | null | null | src/pretraining/__init__.py | natgen-team/NatGen | b1a7070caf3ff45cf2be1fc2196198e4e23cb30d | [
"MIT"
] | null | null | null | src/pretraining/__init__.py | natgen-team/NatGen | b1a7070caf3ff45cf2be1fc2196198e4e23cb30d | [
"MIT"
] | null | null | null | from .pretrain import *
from .prepare_data import *
from .semcode_trainer import *
from .atomic_code_util import DelayedKeyboardInterrupt
| 27.6 | 54 | 0.833333 | 17 | 138 | 6.529412 | 0.647059 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 138 | 4 | 55 | 34.5 | 0.909836 | 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 |
db50ba955fa2d8c0bc119436025c0f8833808d35 | 3,854 | py | Python | tests/test_option.py | webbcam/debugserver-js | d82266538c1a24668f9a2f28f26c24f8415352fe | [
"MIT"
] | null | null | null | tests/test_option.py | webbcam/debugserver-js | d82266538c1a24668f9a2f28f26c24f8415352fe | [
"MIT"
] | null | null | null | tests/test_option.py | webbcam/debugserver-js | d82266538c1a24668f9a2f28f26c24f8415352fe | [
"MIT"
] | null | null | null | import pytest
import time
from test_helpers import (create_socket, send_msg, assert_msg_ok, assert_msg_fail,
start_server, start_session, kill_server, stop_session,
connect_to_target, disconnect_from_target)
from test_setup import CCXML_PATH, CONNECTION, DEVICETYPE, SESSI... | 18.440191 | 82 | 0.582512 | 468 | 3,854 | 4.476496 | 0.141026 | 0.053461 | 0.042005 | 0.064916 | 0.808115 | 0.808115 | 0.797613 | 0.797613 | 0.797613 | 0.779475 | 0 | 0.018403 | 0.295018 | 3,854 | 208 | 83 | 18.528846 | 0.752668 | 0 | 0 | 0.695364 | 0 | 0 | 0.080197 | 0 | 0 | 0 | 0.001038 | 0 | 0.112583 | 1 | 0.05298 | false | 0 | 0.02649 | 0 | 0.07947 | 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 |
db6db630fa4bbe850bdeca2a27d856e8b2ccf0ca | 59 | py | Python | grid/clients/__init__.py | cthorey/Grid | f86c117fda882a8c36073cfd872e542bb8fbe07f | [
"Apache-2.0"
] | 1 | 2018-03-09T20:49:48.000Z | 2018-03-09T20:49:48.000Z | grid/clients/__init__.py | jvmancuso/Grid | ce202add2a066eb6a1421d0391646b50e2d7f306 | [
"Apache-2.0"
] | 1 | 2018-03-28T09:08:28.000Z | 2018-03-28T09:08:28.000Z | grid/clients/__init__.py | jvmancuso/Grid | ce202add2a066eb6a1421d0391646b50e2d7f306 | [
"Apache-2.0"
] | null | null | null | from . import base
from . import keras
from . import torch
| 14.75 | 19 | 0.745763 | 9 | 59 | 4.888889 | 0.555556 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 59 | 3 | 20 | 19.666667 | 0.93617 | 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 |
91eb217b81f2bab1a7522c21658f44e8b2c75ca6 | 30 | py | Python | geotweet/twitter/__init__.py | meyersj/geotweet | 1a6b55f98adf34d1b91f172d9187d599616412d9 | [
"MIT"
] | 6 | 2016-03-26T19:29:25.000Z | 2020-07-12T02:18:22.000Z | geotweet/twitter/__init__.py | meyersj/geotweet | 1a6b55f98adf34d1b91f172d9187d599616412d9 | [
"MIT"
] | null | null | null | geotweet/twitter/__init__.py | meyersj/geotweet | 1a6b55f98adf34d1b91f172d9187d599616412d9 | [
"MIT"
] | 1 | 2020-01-06T01:25:05.000Z | 2020-01-06T01:25:05.000Z | from geotweet import Geotweet
| 15 | 29 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 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 |
37f63b6fdbe56ddf98170574d68fee052df87cdf | 92 | py | Python | terrascript/ns1/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/ns1/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/ns1/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/ns1/r.py
import terrascript
class ns1_zone(terrascript.Resource):
pass
| 11.5 | 37 | 0.76087 | 12 | 92 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.152174 | 92 | 7 | 38 | 13.142857 | 0.858974 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
533b8c738c80d4b9276aada0ba46b851366c02ad | 9,551 | py | Python | brevis/tools/test.py | vinayak19th/Brevis-2.0 | a0dd211f25e2e719ae9a14f29ccd5cd6e72704aa | [
"MIT"
] | null | null | null | brevis/tools/test.py | vinayak19th/Brevis-2.0 | a0dd211f25e2e719ae9a14f29ccd5cd6e72704aa | [
"MIT"
] | 10 | 2021-06-10T20:41:38.000Z | 2022-03-12T00:56:18.000Z | brevis/tools/test.py | vinayak19th/Brevis-2.0 | a0dd211f25e2e719ae9a14f29ccd5cd6e72704aa | [
"MIT"
] | null | null | null | from trie import *
s = ''' “You care too much,” I say to a friend, who’s stressed about something at work. The comment is true, but completely hypocritical. Caring too much is my speciality. The pair of us suffer from chronic conscientiousness, an inherent need to live up to our own (ridiculously high) expectations of... | 1,061.222222 | 9,411 | 0.793634 | 1,648 | 9,551 | 4.601335 | 0.397451 | 0.00633 | 0.005934 | 0.003429 | 0.004484 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009178 | 0.167208 | 9,551 | 9 | 9,412 | 1,061.222222 | 0.943173 | 0.002722 | 0 | 0 | 0 | 0.166667 | 0.990235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
534142e0c600cfb2a124e5fee3d90742e59619ba | 157 | py | Python | searchpackers/search_packers/doctype/searchpackers_settings/test_searchpackers_settings.py | premkanish/searchpackers | a41e6eed00182603a7998ad4ff42bb1eb0e88391 | [
"MIT"
] | null | null | null | searchpackers/search_packers/doctype/searchpackers_settings/test_searchpackers_settings.py | premkanish/searchpackers | a41e6eed00182603a7998ad4ff42bb1eb0e88391 | [
"MIT"
] | null | null | null | searchpackers/search_packers/doctype/searchpackers_settings/test_searchpackers_settings.py | premkanish/searchpackers | a41e6eed00182603a7998ad4ff42bb1eb0e88391 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, invitik and Contributors
# See license.txt
# import frappe
import unittest
class TestSearchpackersSettings(unittest.TestCase):
pass
| 17.444444 | 51 | 0.796178 | 18 | 157 | 6.944444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.133758 | 157 | 8 | 52 | 19.625 | 0.889706 | 0.471338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
725d73ca89f649eb8a16ef29d91fb8ab8f4bfce9 | 202 | py | Python | movecar/auth_view.py | qq525492738/movecar | 4c565c4438cfd25e89f84ce58ef8f85ac4b09703 | [
"Apache-2.0"
] | null | null | null | movecar/auth_view.py | qq525492738/movecar | 4c565c4438cfd25e89f84ce58ef8f85ac4b09703 | [
"Apache-2.0"
] | null | null | null | movecar/auth_view.py | qq525492738/movecar | 4c565c4438cfd25e89f84ce58ef8f85ac4b09703 | [
"Apache-2.0"
] | null | null | null | import urllib
from django.views.generic import View
from django.http import HttpResponseRedirect
from django.shortcuts import redirect
from django.urls import reverse
import youhui.setting as setting
| 25.25 | 44 | 0.851485 | 28 | 202 | 6.142857 | 0.571429 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 202 | 7 | 45 | 28.857143 | 0.966292 | 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 |
72ab9a82d1170d7d1f5a82fba264513d9b67dcf6 | 74 | py | Python | Food/src/game/__init__.py | Babarbitz/Project-Food | e57b31b04a4c52ba6bba7e205e88b26a3f3b22f2 | [
"MIT"
] | 1 | 2020-11-05T21:47:20.000Z | 2020-11-05T21:47:20.000Z | Food/src/game/__init__.py | Babarbitz/Project-Food | e57b31b04a4c52ba6bba7e205e88b26a3f3b22f2 | [
"MIT"
] | null | null | null | Food/src/game/__init__.py | Babarbitz/Project-Food | e57b31b04a4c52ba6bba7e205e88b26a3f3b22f2 | [
"MIT"
] | 1 | 2020-11-05T21:58:07.000Z | 2020-11-05T21:58:07.000Z | from .controller import *
from .identifiers import *
from .text import *
| 18.5 | 26 | 0.743243 | 9 | 74 | 6.111111 | 0.555556 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 3 | 27 | 24.666667 | 0.901639 | 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 |
72fdd33df33f822c2d430ea6be788577b3d2b263 | 2,893 | py | Python | examples/configs/algorithm.py | caglasozen/wilds | db2ff095304891244962509459ee48e2fc5fd5e6 | [
"MIT"
] | null | null | null | examples/configs/algorithm.py | caglasozen/wilds | db2ff095304891244962509459ee48e2fc5fd5e6 | [
"MIT"
] | null | null | null | examples/configs/algorithm.py | caglasozen/wilds | db2ff095304891244962509459ee48e2fc5fd5e6 | [
"MIT"
] | null | null | null | algorithm_defaults = {
'ERM': {
'train_loader': 'standard',
'uniform_over_groups': False,
'eval_loader': 'standard',
'randaugment_n': 2, # When running ERM + data augmentation
},
'groupDRO': {
'train_loader': 'standard',
'uniform_over_groups': True,
... | 34.855422 | 116 | 0.588662 | 276 | 2,893 | 5.851449 | 0.246377 | 0.130031 | 0.094737 | 0.096594 | 0.802477 | 0.802477 | 0.782663 | 0.782663 | 0.782663 | 0.782663 | 0 | 0.016795 | 0.279641 | 2,893 | 82 | 117 | 35.280488 | 0.758157 | 0.128586 | 0 | 0.621951 | 0 | 0 | 0.505372 | 0.109431 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72fe63a3cd7dfa547e48a75379f8b4fa74ac8df4 | 43 | py | Python | __init__.py | cycomanic/pelican-perpagepublications | 75657a708996fee8ad47759a0d92a3498a05f50a | [
"Unlicense"
] | null | null | null | __init__.py | cycomanic/pelican-perpagepublications | 75657a708996fee8ad47759a0d92a3498a05f50a | [
"Unlicense"
] | null | null | null | __init__.py | cycomanic/pelican-perpagepublications | 75657a708996fee8ad47759a0d92a3498a05f50a | [
"Unlicense"
] | null | null | null | from .pelican_perpagepublications import *
| 21.5 | 42 | 0.860465 | 4 | 43 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 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 |
f444f646d68e0c639255f1452dcdde75267ecd7e | 72 | py | Python | basic_ml/src/neural_networks/base/regularizers.py | jmetzz/ml-laboratory | 26b1e87bd0d80efa4f15280f7f32ad46d59efc1f | [
"MIT"
] | 1 | 2021-09-10T16:55:35.000Z | 2021-09-10T16:55:35.000Z | basic_ml/src/neural_networks/base/regularizers.py | jmetzz/ml-laboratory | 26b1e87bd0d80efa4f15280f7f32ad46d59efc1f | [
"MIT"
] | 14 | 2022-03-12T01:06:08.000Z | 2022-03-30T14:30:22.000Z | basic_ml/src/neural_networks/base/regularizers.py | jmetzz/ml-laboratory | 26b1e87bd0d80efa4f15280f7f32ad46d59efc1f | [
"MIT"
] | null | null | null | # TODO: implement L1 regularization
# TODO: implement L2 regularization
| 24 | 35 | 0.805556 | 8 | 72 | 7.25 | 0.625 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.138889 | 72 | 2 | 36 | 36 | 0.903226 | 0.930556 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 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 |
f476c4356c221424df04bac2052f64cce8898ec1 | 170 | py | Python | puppy/data/p/PuppyCourse/ForStmt/sample.py | y-akinobu/puppy | 08a83b770d79984b1626b1f98613256ffd31fc82 | [
"MIT"
] | 3 | 2019-08-27T11:39:06.000Z | 2022-03-05T14:09:22.000Z | puppy/data/p/PuppyCourse/ForStmt/sample.py | y-akinobu/puppy | 08a83b770d79984b1626b1f98613256ffd31fc82 | [
"MIT"
] | 32 | 2019-06-19T06:01:43.000Z | 2021-03-09T08:40:32.000Z | puppy/data/p/PuppyCourse/ForStmt/sample.py | y-akinobu/puppy | 08a83b770d79984b1626b1f98613256ffd31fc82 | [
"MIT"
] | 6 | 2019-06-18T07:58:46.000Z | 2019-11-28T08:04:48.000Z | # n 回繰り返す
N = 10
for i in range(N):
print(i)
print('Hello World')
# インデントが異なるので、
# 'Hello World'を繰り返されない
for i in range(N):
print(i)
print('Hello World')
| 11.333333 | 24 | 0.611765 | 28 | 170 | 3.714286 | 0.428571 | 0.288462 | 0.115385 | 0.211538 | 0.634615 | 0.634615 | 0.634615 | 0.634615 | 0.634615 | 0.634615 | 0 | 0.015504 | 0.241176 | 170 | 14 | 25 | 12.142857 | 0.790698 | 0.247059 | 0 | 0.857143 | 0 | 0 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f477cb2d377fcc5754a42eb1c44d5f8a0f03388f | 508 | py | Python | apiflask/validators.py | johntheprime/apiflask | 66e2138662e5fde1b1b1b053f375aa67a347c12c | [
"MIT"
] | 1 | 2021-04-14T00:42:45.000Z | 2021-04-14T00:42:45.000Z | apiflask/validators.py | wo-ni/apiflask | bd7cf2c10f00426c8aff423e0d49371931b1cbfa | [
"MIT"
] | null | null | null | apiflask/validators.py | wo-ni/apiflask | bd7cf2c10f00426c8aff423e0d49371931b1cbfa | [
"MIT"
] | null | null | null | # flake8: noqa
from marshmallow.validate import ContainsNoneOf
from marshmallow.validate import ContainsOnly
from marshmallow.validate import Email
from marshmallow.validate import Equal
from marshmallow.validate import Length
from marshmallow.validate import NoneOf
from marshmallow.validate import OneOf
from marshmall... | 36.285714 | 47 | 0.872047 | 62 | 508 | 7.145161 | 0.290323 | 0.406321 | 0.623025 | 0.785553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002188 | 0.100394 | 508 | 13 | 48 | 39.076923 | 0.967177 | 0.023622 | 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 |
be410c907fd3e21d2a6607f69b71f34f35477333 | 47 | py | Python | tests/unit/utils/test_source_utils/test_import_python_file/main_module.py | dumpmemory/zenml | ec3f6994ae9666493519d600471c035eb9109ac4 | [
"Apache-2.0"
] | null | null | null | tests/unit/utils/test_source_utils/test_import_python_file/main_module.py | dumpmemory/zenml | ec3f6994ae9666493519d600471c035eb9109ac4 | [
"Apache-2.0"
] | null | null | null | tests/unit/utils/test_source_utils/test_import_python_file/main_module.py | dumpmemory/zenml | ec3f6994ae9666493519d600471c035eb9109ac4 | [
"Apache-2.0"
] | null | null | null | from some_module import some_func
some_func()
| 11.75 | 33 | 0.829787 | 8 | 47 | 4.5 | 0.625 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 3 | 34 | 15.666667 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
be50e8544d244b16d0958f12bf061feeb162c0a4 | 930 | py | Python | tests/test_utils.py | aauss/epi-quark | 0b29111a9adecff4a424c859b461a98237956bd2 | [
"MIT"
] | 2 | 2021-11-16T18:08:46.000Z | 2021-11-17T15:31:12.000Z | tests/test_utils.py | aauss/epi-quark | 0b29111a9adecff4a424c859b461a98237956bd2 | [
"MIT"
] | null | null | null | tests/test_utils.py | aauss/epi-quark | 0b29111a9adecff4a424c859b461a98237956bd2 | [
"MIT"
] | null | null | null | import pandas as pd
from epiquark.utils import impute_signals
def test_signal_imputation(shared_datadir) -> None:
cases = pd.read_csv(shared_datadir / "paper_example/non_case_imputed_long.csv")
signals = pd.read_csv(shared_datadir / "paper_example/signals_long.csv")
imputed = impute_signals(signals, case... | 46.5 | 93 | 0.778495 | 130 | 930 | 5.207692 | 0.276923 | 0.134417 | 0.079764 | 0.132939 | 0.864106 | 0.864106 | 0.864106 | 0.864106 | 0.864106 | 0.864106 | 0 | 0.004854 | 0.113978 | 930 | 19 | 94 | 48.947368 | 0.816748 | 0 | 0 | 0.615385 | 0 | 0 | 0.247312 | 0.23871 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be5b2c5bc91d71110189e8d39d17cc06dd9fd1f1 | 2,428 | py | Python | tests/test_S4R_matrixTension_expected.py | RayGuo-C/CompDam_DGD | 8d620f1f5bb6c00900e9ecca6de234fe5970385c | [
"NASA-1.3"
] | null | null | null | tests/test_S4R_matrixTension_expected.py | RayGuo-C/CompDam_DGD | 8d620f1f5bb6c00900e9ecca6de234fe5970385c | [
"NASA-1.3"
] | null | null | null | tests/test_S4R_matrixTension_expected.py | RayGuo-C/CompDam_DGD | 8d620f1f5bb6c00900e9ecca6de234fe5970385c | [
"NASA-1.3"
] | 1 | 2019-02-21T19:29:08.000Z | 2019-02-21T19:29:08.000Z | parameters = {
"results": [
{
"type": "max",
"identifier":
{
"symbol": "S22",
"elset": "ALL_ELEMS",
"position": "Element 1 Int Point 1 Sec Pt SPOS, (fraction = 1:0)"
},
"referenceValue": 6... | 31.128205 | 85 | 0.342257 | 199 | 2,428 | 4.095477 | 0.291457 | 0.017178 | 0.095706 | 0.154601 | 0.736196 | 0.736196 | 0.700614 | 0.700614 | 0.700614 | 0.700614 | 0 | 0.063094 | 0.523476 | 2,428 | 78 | 86 | 31.128205 | 0.641314 | 0.029242 | 0 | 0.384615 | 0 | 0 | 0.350765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be703deab1410135c32bac1e009a675ca140ed32 | 47 | py | Python | file_io/__init__.py | johncoleman83/attom_python_client | 2fad572162f481a71cccf6003da4cbd8ec4477d4 | [
"MIT"
] | null | null | null | file_io/__init__.py | johncoleman83/attom_python_client | 2fad572162f481a71cccf6003da4cbd8ec4477d4 | [
"MIT"
] | null | null | null | file_io/__init__.py | johncoleman83/attom_python_client | 2fad572162f481a71cccf6003da4cbd8ec4477d4 | [
"MIT"
] | 1 | 2020-11-20T19:28:36.000Z | 2020-11-20T19:28:36.000Z | #!/usr/bin/env python3
import file_io.io as io
| 15.666667 | 23 | 0.744681 | 10 | 47 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.12766 | 47 | 2 | 24 | 23.5 | 0.804878 | 0.446809 | 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 |
fe6a48ac24a59d0b43b4d456fc9a70a093f6ece8 | 90 | py | Python | tests/basics/int_big_unary.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | tests/basics/int_big_unary.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | tests/basics/int_big_unary.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | # test bignum unary operations
i = 1 << 65
print(bool(i))
print(+i)
print(-i)
print(~i)
| 10 | 30 | 0.633333 | 16 | 90 | 3.5625 | 0.5625 | 0.315789 | 0.368421 | 0.421053 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.177778 | 90 | 8 | 31 | 11.25 | 0.72973 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fe79c40843ece0e4c3764a235ca2683aa849d00f | 208 | py | Python | src/pages/models.py | jmrichardson/vmg | d5b5d97798fe43f54f7d2203da875f0e829d8906 | [
"MIT"
] | 1 | 2019-04-23T01:20:31.000Z | 2019-04-23T01:20:31.000Z | src/pages/models.py | jmrichardson/vmg | d5b5d97798fe43f54f7d2203da875f0e829d8906 | [
"MIT"
] | null | null | null | src/pages/models.py | jmrichardson/vmg | d5b5d97798fe43f54f7d2203da875f0e829d8906 | [
"MIT"
] | null | null | null | from django.db import models
class Stats(models.Model):
spots_empty = models.IntegerField(default=0)
spots_occupied = models.IntegerField(default=0)
spots_total = models.IntegerField(default=0)
| 26 | 51 | 0.764423 | 27 | 208 | 5.777778 | 0.555556 | 0.346154 | 0.480769 | 0.5 | 0.397436 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01676 | 0.139423 | 208 | 7 | 52 | 29.714286 | 0.854749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
22b109fb38d04b9f9decd553dcab8afb9ede907a | 76 | py | Python | src/cltl/combot/infra/config/__init__.py | leolani/cltl-combot | 7008742ba9db782166f79322658a8cb49890d61b | [
"MIT"
] | 1 | 2020-11-21T18:53:22.000Z | 2020-11-21T18:53:22.000Z | src/cltl/combot/infra/config/__init__.py | leolani/cltl-combot | 7008742ba9db782166f79322658a8cb49890d61b | [
"MIT"
] | null | null | null | src/cltl/combot/infra/config/__init__.py | leolani/cltl-combot | 7008742ba9db782166f79322658a8cb49890d61b | [
"MIT"
] | null | null | null | from .api import ConfigurationContainer, ConfigurationManager, Configuration | 76 | 76 | 0.894737 | 6 | 76 | 11.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065789 | 76 | 1 | 76 | 76 | 0.957746 | 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 |
22c78e6f2e746ae70557a05ad72a9ba6fd9216d1 | 28 | py | Python | multitrans/__init__.py | AlexNilsson/python-google-translate | 8c7a62cc69b18b81025db7cb16cf7a1d46bb0840 | [
"MIT"
] | null | null | null | multitrans/__init__.py | AlexNilsson/python-google-translate | 8c7a62cc69b18b81025db7cb16cf7a1d46bb0840 | [
"MIT"
] | null | null | null | multitrans/__init__.py | AlexNilsson/python-google-translate | 8c7a62cc69b18b81025db7cb16cf7a1d46bb0840 | [
"MIT"
] | null | null | null | from .core import translate
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
22cc54f8c0dd32ec5dce1c5aa04d8b755575a766 | 30 | py | Python | src/glp/models/__init__.py | katarinagresova/genomic_ML_playground | 1cfe2dee325b0b84937fe29715e274f83bd84869 | [
"Apache-2.0"
] | null | null | null | src/glp/models/__init__.py | katarinagresova/genomic_ML_playground | 1cfe2dee325b0b84937fe29715e274f83bd84869 | [
"Apache-2.0"
] | null | null | null | src/glp/models/__init__.py | katarinagresova/genomic_ML_playground | 1cfe2dee325b0b84937fe29715e274f83bd84869 | [
"Apache-2.0"
] | null | null | null | from glp.models.cnn import CNN | 30 | 30 | 0.833333 | 6 | 30 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 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.