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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
714dde43750dbc9c0ec80f44cb018b7614f2c859 | 90 | py | Python | ensembl/funcgen.py | muffato/pyEnsemblRest | ee035bdcca34674faf682e7cd3f93bb88d5620dd | [
"Apache-2.0"
] | 1 | 2020-01-07T02:15:13.000Z | 2020-01-07T02:15:13.000Z | ensembl/funcgen.py | muffato/pyEnsemblRest | ee035bdcca34674faf682e7cd3f93bb88d5620dd | [
"Apache-2.0"
] | null | null | null | ensembl/funcgen.py | muffato/pyEnsemblRest | ee035bdcca34674faf682e7cd3f93bb88d5620dd | [
"Apache-2.0"
] | null | null | null | from . import _pyrest_core
class RegulatoryFeature(_pyrest_core.BaseObject):
""""""
| 15 | 49 | 0.733333 | 9 | 90 | 6.888889 | 0.777778 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 90 | 5 | 50 | 18 | 0.805195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 |
7171f920eb8d55160529ef7763d7389bbb33a63e | 87 | py | Python | 7KYU/isLeapYear.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 4 | 2021-07-17T22:48:03.000Z | 2022-03-25T14:10:58.000Z | 7KYU/isLeapYear.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | 7KYU/isLeapYear.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 3 | 2021-06-14T14:18:16.000Z | 2022-03-16T06:02:02.000Z | from calendar import isleap
def isLeapYear(year: int) -> bool:
return isleap(year) | 21.75 | 34 | 0.735632 | 12 | 87 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 4 | 35 | 21.75 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e07eadc3399c03076c7860523e6d07f0b440c1df | 3,451 | py | Python | baby_backend/apps/customers/serializers.py | mthnglac/BabyTextile-Server | b60c460bf3d3f0250cfc6630acd40e182acae1df | [
"MIT"
] | 1 | 2022-01-06T18:13:36.000Z | 2022-01-06T18:13:36.000Z | baby_backend/apps/customers/serializers.py | mthnglac/BabyTextile-Server | b60c460bf3d3f0250cfc6630acd40e182acae1df | [
"MIT"
] | null | null | null | baby_backend/apps/customers/serializers.py | mthnglac/BabyTextile-Server | b60c460bf3d3f0250cfc6630acd40e182acae1df | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import (
Customer,
CustomerBillingAddress,
CustomerDeliveryAddress,
CustomerDiscount,
)
class CustomerDiscountRootSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = CustomerDiscount
fields = ['url', 'pk', 'c... | 36.712766 | 120 | 0.656911 | 278 | 3,451 | 7.946043 | 0.230216 | 0.150747 | 0.057039 | 0.166591 | 0.736985 | 0.705749 | 0.705749 | 0.705749 | 0.705749 | 0.623812 | 0 | 0 | 0.212112 | 3,451 | 93 | 121 | 37.107527 | 0.812431 | 0 | 0 | 0.553846 | 0 | 0 | 0.313243 | 0.092147 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030769 | 0 | 0.323077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0a957a68a14b74275f10298b0fba548784066de | 77 | py | Python | mltoolkit/mldp/__init__.py | stungkit/Copycat-abstractive-opinion-summarizer | 04fe5393a7bb6883516766b762f6a0c530e95375 | [
"MIT"
] | 51 | 2020-09-25T07:05:01.000Z | 2022-03-17T12:07:40.000Z | mltoolkit/mldp/__init__.py | stungkit/Copycat-abstractive-opinion-summarizer | 04fe5393a7bb6883516766b762f6a0c530e95375 | [
"MIT"
] | 4 | 2020-10-19T10:00:22.000Z | 2022-03-14T17:02:47.000Z | mltoolkit/mldp/__init__.py | stungkit/Copycat-abstractive-opinion-summarizer | 04fe5393a7bb6883516766b762f6a0c530e95375 | [
"MIT"
] | 22 | 2020-09-22T01:06:47.000Z | 2022-01-26T14:20:09.000Z | from .pipeline import Pipeline
from .pytorch_pipeline import PyTorchPipeline
| 25.666667 | 45 | 0.87013 | 9 | 77 | 7.333333 | 0.555556 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 2 | 46 | 38.5 | 0.956522 | 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 |
e0b59ca15f4ada49591110b661db9d258078d6aa | 14,742 | py | Python | tests/test_engine.py | psifertex/capa | f547ca0faef49e3a98b52ec0b14433f6eb354e93 | [
"Apache-2.0"
] | 1 | 2020-08-07T01:45:31.000Z | 2020-08-07T01:45:31.000Z | tests/test_engine.py | psifertex/capa | f547ca0faef49e3a98b52ec0b14433f6eb354e93 | [
"Apache-2.0"
] | null | null | null | tests/test_engine.py | psifertex/capa | f547ca0faef49e3a98b52ec0b14433f6eb354e93 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
import textwrap
import capa.rules
import capa.engine
from capa.engine import *
from capa.features import *
from capa.features.insn import *
def test_number():
assert Number(1).evaluate({Number(0): {1}}) == False
assert Number(1).evaluate({Number(1): {1... | 33.428571 | 118 | 0.530457 | 1,719 | 14,742 | 4.509599 | 0.079116 | 0.067724 | 0.05031 | 0.080624 | 0.845846 | 0.823142 | 0.799923 | 0.767673 | 0.71517 | 0.691692 | 0 | 0.040151 | 0.319156 | 14,742 | 440 | 119 | 33.504545 | 0.732191 | 0.055963 | 0 | 0.47234 | 0 | 0 | 0.043152 | 0.002037 | 0 | 0 | 0.006945 | 0 | 0.344681 | 1 | 0.07234 | false | 0 | 0.025532 | 0 | 0.097872 | 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 |
e0c3888fcdf776519af2e3b93724a33c6da6d58c | 6,903 | py | Python | tests/test_hooks.py | nickderobertis/data-code | b4649a1702ccd6b68995e58cc53d74544ff34294 | [
"MIT"
] | null | null | null | tests/test_hooks.py | nickderobertis/data-code | b4649a1702ccd6b68995e58cc53d74544ff34294 | [
"MIT"
] | 44 | 2020-02-01T03:28:59.000Z | 2022-03-12T00:35:17.000Z | tests/test_hooks.py | nickderobertis/data-code | b4649a1702ccd6b68995e58cc53d74544ff34294 | [
"MIT"
] | 1 | 2021-08-09T11:10:57.000Z | 2021-08-09T11:10:57.000Z | import pandas as pd
from pandas._testing import assert_frame_equal
import datacode.hooks as dc_hooks
from datacode import DataSource
from tests.pipeline.base import PipelineTest
COUNTER = 0
def increase_counter_hook(*args, **kwargs):
global COUNTER
COUNTER += 1
return kwargs
def raise_error(*args, **... | 37.516304 | 103 | 0.703607 | 889 | 6,903 | 5.04162 | 0.094488 | 0.093708 | 0.110219 | 0.122713 | 0.898037 | 0.879295 | 0.869478 | 0.85029 | 0.840473 | 0.7722 | 0 | 0.00485 | 0.223381 | 6,903 | 184 | 104 | 37.516304 | 0.831188 | 0 | 0 | 0.625806 | 0 | 0 | 0.048523 | 0.039397 | 0 | 0 | 0 | 0 | 0.174194 | 1 | 0.122581 | false | 0 | 0.032258 | 0 | 0.187097 | 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 |
461720fe9607f7c5b654f5a675a0d99e7d41d7af | 195 | py | Python | blog/views.py | gurnitha/2022-django-eshopper | eb570215fffb67f1061cb1c32f9dd16a9dfc9f52 | [
"Unlicense"
] | null | null | null | blog/views.py | gurnitha/2022-django-eshopper | eb570215fffb67f1061cb1c32f9dd16a9dfc9f52 | [
"Unlicense"
] | null | null | null | blog/views.py | gurnitha/2022-django-eshopper | eb570215fffb67f1061cb1c32f9dd16a9dfc9f52 | [
"Unlicense"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def posts(request):
return render(request, 'posts.html')
def post_detail(request):
return render(request, 'post_detail.html')
| 16.25 | 43 | 0.758974 | 27 | 195 | 5.407407 | 0.592593 | 0.178082 | 0.260274 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 195 | 11 | 44 | 17.727273 | 0.863905 | 0.117949 | 0 | 0 | 0 | 0 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1cce09258d4f49e93b7e99ee37a8c3074c9b4b1d | 198 | py | Python | beautiful_output.py | TwinIsland/cap_recodnize | 2787bdf624e12f1456860f0505748531565e636a | [
"MIT"
] | null | null | null | beautiful_output.py | TwinIsland/cap_recodnize | 2787bdf624e12f1456860f0505748531565e636a | [
"MIT"
] | null | null | null | beautiful_output.py | TwinIsland/cap_recodnize | 2787bdf624e12f1456860f0505748531565e636a | [
"MIT"
] | null | null | null |
def green_normal(word):
print("\033[1;30;42m"+word+"\033[0m")
def red_normal(word):
print("\033[1;30;41m" + word + "\033[0m")
def underline(word):
print("\033[4m" + word + "\033[0m")
| 19.8 | 45 | 0.590909 | 33 | 198 | 3.484848 | 0.424242 | 0.234783 | 0.313043 | 0.313043 | 0.365217 | 0.365217 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 0.161616 | 198 | 9 | 46 | 22 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.274112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1ccf2eac905e301ed3810363dcdb9847e72d37fa | 14,896 | py | Python | tests/test_checker.py | LeResKP/linkcheckerjs | 64a0f9da47781f324bd647546a273160ff4516fa | [
"MIT"
] | null | null | null | tests/test_checker.py | LeResKP/linkcheckerjs | 64a0f9da47781f324bd647546a273160ff4516fa | [
"MIT"
] | null | null | null | tests/test_checker.py | LeResKP/linkcheckerjs | 64a0f9da47781f324bd647546a273160ff4516fa | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
import subprocess
import time
import copy
from unittest import TestCase
from linkcheckerjs.checker import (
phantomjs_checker,
requests_checker,
standardize_url)
process = None
def setup_module(module):
global process
path = os.path.abspath(__file__)
dir_pa... | 37.807107 | 91 | 0.488789 | 1,464 | 14,896 | 4.84153 | 0.077186 | 0.135722 | 0.177483 | 0.119921 | 0.850451 | 0.813347 | 0.791196 | 0.766225 | 0.730672 | 0.687641 | 0 | 0.055151 | 0.364595 | 14,896 | 393 | 92 | 37.903308 | 0.693714 | 0.001343 | 0 | 0.686275 | 0 | 0 | 0.348303 | 0 | 0 | 0 | 0 | 0 | 0.014006 | 1 | 0.044818 | false | 0 | 0.016807 | 0 | 0.081232 | 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 |
1cd1e48a20f0614ee72f7e9bff2eaea1f7a175f5 | 10,811 | py | Python | bulk-traffic/session.testapi.py | vlvassilev/ecoc-demo-2018 | 3f813fdff3c2405561b32122bbe3c51c001ff81b | [
"BSD-3-Clause"
] | 1 | 2019-03-06T13:52:14.000Z | 2019-03-06T13:52:14.000Z | bulk-traffic/session.testapi.py | vlvassilev/ecoc-demo-2018 | 3f813fdff3c2405561b32122bbe3c51c001ff81b | [
"BSD-3-Clause"
] | null | null | null | bulk-traffic/session.testapi.py | vlvassilev/ecoc-demo-2018 | 3f813fdff3c2405561b32122bbe3c51c001ff81b | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python
import lxml
from lxml import etree
import time
import sys, os
import argparse
from collections import namedtuple
import tntapi
sys.path.append("../common")
import testsuiteapi
namespaces={"nc":"urn:ietf:params:xml:ns:netconf:base:1.0",
"nd":"urn:ietf:params:xml:ns:yang:ietf-network",
"if":"urn:ietf... | 49.365297 | 222 | 0.736657 | 1,506 | 10,811 | 5.13413 | 0.14077 | 0.065572 | 0.03867 | 0.047594 | 0.787377 | 0.775479 | 0.760088 | 0.744568 | 0.690636 | 0.679772 | 0 | 0.027803 | 0.098418 | 10,811 | 218 | 223 | 49.591743 | 0.765466 | 0.007955 | 0 | 0.481675 | 0 | 0.146597 | 0.699217 | 0.273083 | 0 | 0 | 0 | 0 | 0.13089 | 0 | null | null | 0.005236 | 0.041885 | null | null | 0.073298 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1cd5487e811625b9bc9381ca0ff3cae22ebd4594 | 2,733 | py | Python | foolbox/attacks/fast_gradient_method.py | SamplingAndEnsemblingSolvers/foolbox | 788ea92b314cd974b39047000ed692a48c7e5bf1 | [
"MIT"
] | 2,292 | 2017-06-14T23:20:34.000Z | 2022-03-30T01:53:35.000Z | foolbox/attacks/fast_gradient_method.py | SamplingAndEnsemblingSolvers/foolbox | 788ea92b314cd974b39047000ed692a48c7e5bf1 | [
"MIT"
] | 630 | 2017-06-15T06:34:51.000Z | 2022-03-30T05:11:05.000Z | foolbox/attacks/fast_gradient_method.py | SamplingAndEnsemblingSolvers/foolbox | 788ea92b314cd974b39047000ed692a48c7e5bf1 | [
"MIT"
] | 482 | 2017-06-14T13:43:05.000Z | 2022-03-29T11:10:41.000Z | from .gradient_descent_base import L1BaseGradientDescent
from .gradient_descent_base import L2BaseGradientDescent
from .gradient_descent_base import LinfBaseGradientDescent
from ..models.base import Model
from ..criteria import Misclassification, TargetedMisclassification
from .base import T
from typing import Union, A... | 28.768421 | 86 | 0.635199 | 270 | 2,733 | 6.251852 | 0.240741 | 0.078199 | 0.056872 | 0.040877 | 0.761256 | 0.709716 | 0.709716 | 0.709716 | 0.709716 | 0.709716 | 0 | 0.008016 | 0.269667 | 2,733 | 94 | 87 | 29.074468 | 0.837675 | 0.136846 | 0 | 0.75 | 0 | 0 | 0.045573 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.109375 | 0 | 0.296875 | 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 |
e832cf9cb4e1fe6ef72d49c67c8ea2dc86969b16 | 162 | py | Python | scripts/portal/240093000_out.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/240093000_out.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/240093000_out.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | if sm.hasQuestCompleted(31351): # Clean up 7
sm.warp(240092100, 3)
elif sm.hasQuestCompleted(31348):
sm.warp(240092101, 3)
else:
sm.warp(240092100, 3) | 27 | 44 | 0.703704 | 24 | 162 | 4.75 | 0.583333 | 0.157895 | 0.263158 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301471 | 0.160494 | 162 | 6 | 45 | 27 | 0.536765 | 0.061728 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c6f593825faa5cb87aacf84642516d69e67f594 | 8,448 | py | Python | tests/test_securityHealthSafety.py | sarog/python-insteonplm | dd38b9781167b8fd0bf3d3bf36770aa36bc0275b | [
"MIT"
] | null | null | null | tests/test_securityHealthSafety.py | sarog/python-insteonplm | dd38b9781167b8fd0bf3d3bf36770aa36bc0275b | [
"MIT"
] | null | null | null | tests/test_securityHealthSafety.py | sarog/python-insteonplm | dd38b9781167b8fd0bf3d3bf36770aa36bc0275b | [
"MIT"
] | null | null | null | """Test Security Health and Saftey devices."""
import asyncio
from insteonplm.constants import (COMMAND_LIGHT_OFF_0X13_0X00,
COMMAND_LIGHT_ON_0X11_NONE,
MESSAGE_FLAG_BROADCAST_0X80,
MESSAGE_TYPE_ALL_LINK_CLEANUP,
... | 37.215859 | 80 | 0.646188 | 885 | 8,448 | 5.969492 | 0.127684 | 0.045429 | 0.037479 | 0.034072 | 0.789135 | 0.761878 | 0.748628 | 0.734999 | 0.709256 | 0.709256 | 0 | 0.067054 | 0.267401 | 8,448 | 227 | 81 | 37.215859 | 0.786557 | 0.052794 | 0 | 0.737143 | 0 | 0 | 0.026183 | 0 | 0 | 0 | 0.026183 | 0 | 0.091429 | 1 | 0.057143 | false | 0 | 0.04 | 0 | 0.108571 | 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 |
1c7d13ac9b544486040d910bc15fec11ada38905 | 63 | py | Python | crowdbotics_test/animal/exceptions/__init__.py | marslan390/DjangoModelInheritance | 6f229f46fc5b639d83abc015936d787858608c9f | [
"MIT"
] | null | null | null | crowdbotics_test/animal/exceptions/__init__.py | marslan390/DjangoModelInheritance | 6f229f46fc5b639d83abc015936d787858608c9f | [
"MIT"
] | null | null | null | crowdbotics_test/animal/exceptions/__init__.py | marslan390/DjangoModelInheritance | 6f229f46fc5b639d83abc015936d787858608c9f | [
"MIT"
] | null | null | null | from .invalid_serializer import InvalidSerializerDataException
| 31.5 | 62 | 0.920635 | 5 | 63 | 11.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.966102 | 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 |
98c91b2f2d27a1cd0143825c04d9cdbb387879ed | 67 | py | Python | src/hsbalance/__init__.py | MagedMohamedTurk/Turbomachinery-Rotors-Balancing | e220792d6996e7b252313c4b71c6c57fa714462b | [
"MIT"
] | 10 | 2020-10-13T15:22:41.000Z | 2022-02-03T17:14:04.000Z | src/hsbalance/__init__.py | shoaibmahmod7/Turbomachinery-Rotors-Balancing | 8bb4c1ec97c4646bcd69ed3398aafc7f985bc96d | [
"MIT"
] | 1 | 2022-02-15T08:28:11.000Z | 2022-02-15T08:28:11.000Z | src/hsbalance/__init__.py | shoaibmahmod7/Turbomachinery-Rotors-Balancing | 8bb4c1ec97c4646bcd69ed3398aafc7f985bc96d | [
"MIT"
] | 2 | 2020-10-13T15:22:43.000Z | 2022-02-03T17:14:04.000Z | from .CI_matrix import *
from .model import *
from .tools import *
| 16.75 | 24 | 0.731343 | 10 | 67 | 4.8 | 0.6 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 3 | 25 | 22.333333 | 0.872727 | 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 |
c71065ec753819a37a6a54da6a176b46850c28d2 | 115 | py | Python | src/spellbot/web/__init__.py | lexicalunit/spellbot | 17a4999d5e1def06246727ac5481230aa4a4557d | [
"MIT"
] | 13 | 2020-07-03T01:20:54.000Z | 2021-11-22T06:06:21.000Z | src/spellbot/web/__init__.py | lexicalunit/spellbot | 17a4999d5e1def06246727ac5481230aa4a4557d | [
"MIT"
] | 660 | 2020-06-26T02:52:18.000Z | 2022-03-31T14:14:02.000Z | src/spellbot/web/__init__.py | lexicalunit/spellbot | 17a4999d5e1def06246727ac5481230aa4a4557d | [
"MIT"
] | 3 | 2020-07-12T06:18:39.000Z | 2021-06-22T06:54:47.000Z | from .builder import build_web_app, launch_web_server
__all__ = [
"build_web_app",
"launch_web_server",
]
| 16.428571 | 53 | 0.730435 | 16 | 115 | 4.5 | 0.5625 | 0.222222 | 0.305556 | 0.472222 | 0.722222 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 115 | 6 | 54 | 19.166667 | 0.757895 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 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 | 0 | 0 | 6 |
c73f5edd8c77a7a2bff10b309c4f58768900ebc3 | 123 | py | Python | blueprints/hr_assistant/helpers.py | lfiedlerc/mindmeld-blueprints | 4b5e1445ec75da25090bda8432c4a3a9d431a7f0 | [
"Apache-2.0"
] | 12 | 2019-05-14T11:07:31.000Z | 2021-08-27T23:10:32.000Z | blueprints/hr_assistant/helpers.py | lfiedlerc/mindmeld-blueprints | 4b5e1445ec75da25090bda8432c4a3a9d431a7f0 | [
"Apache-2.0"
] | 8 | 2019-07-03T20:13:54.000Z | 2020-12-09T23:14:08.000Z | blueprints/hr_assistant/helpers.py | lfiedlerc/mindmeld-blueprints | 4b5e1445ec75da25090bda8432c4a3a9d431a7f0 | [
"Apache-2.0"
] | 13 | 2019-06-27T22:51:45.000Z | 2021-12-07T22:09:26.000Z | def extract_entities_from_type(request, entity_type):
return [e for e in request.entities if e['type'] == entity_type]
| 41 | 68 | 0.756098 | 20 | 123 | 4.4 | 0.6 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 123 | 2 | 69 | 61.5 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0.03252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c7846b7038545069db28f5d8effb9d17799804fe | 75 | py | Python | tests/models.py | kallewesterling/django-licensing | 974583f56aa34270c8b8ec3d9896f205bc00c924 | [
"Unlicense"
] | 3 | 2015-09-29T09:23:59.000Z | 2017-10-08T08:57:23.000Z | tests/models.py | kallewesterling/django-licensing | 974583f56aa34270c8b8ec3d9896f205bc00c924 | [
"Unlicense"
] | 7 | 2015-09-29T09:31:05.000Z | 2020-06-15T17:52:36.000Z | tests/models.py | kallewesterling/django-licensing | 974583f56aa34270c8b8ec3d9896f205bc00c924 | [
"Unlicense"
] | 5 | 2015-05-11T23:28:53.000Z | 2021-07-29T13:50:08.000Z | from licensing.models import Licensed
class Whatever(Licensed):
pass
| 12.5 | 37 | 0.773333 | 9 | 75 | 6.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 75 | 5 | 38 | 15 | 0.935484 | 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 |
c7a1ba6851a81e9770c985eff1d348530ba3fd3b | 30 | py | Python | chatflow/__init__.py | lesimor/chatflow_pkg | ec781dbeef3dd28d321decd43c65c9b4c29a69a5 | [
"MIT"
] | 4 | 2018-01-22T00:56:58.000Z | 2019-04-24T09:36:27.000Z | chatflow/__init__.py | lesimor/chatflow_pkg | ec781dbeef3dd28d321decd43c65c9b4c29a69a5 | [
"MIT"
] | 7 | 2018-01-25T13:24:14.000Z | 2018-02-18T09:25:24.000Z | chatflow/__init__.py | lesimor/chatflow_pkg | ec781dbeef3dd28d321decd43c65c9b4c29a69a5 | [
"MIT"
] | null | null | null | from .chatflow import ChatFlow | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 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 |
c7acafd7b2815ce0684e109d8925708bf0764785 | 160 | py | Python | scitbx/suffixtree/single.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | scitbx/suffixtree/single.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | scitbx/suffixtree/single.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | from __future__ import division
import boost.python
ext = boost.python.import_ext( "scitbx_suffixtree_single_ext" )
from scitbx_suffixtree_single_ext import *
| 26.666667 | 63 | 0.84375 | 22 | 160 | 5.636364 | 0.454545 | 0.177419 | 0.354839 | 0.403226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 160 | 5 | 64 | 32 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.175 | 0.175 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7c334e3081ab4a5fe3d072b87ecdb434b572547 | 117 | py | Python | django_airavata/views.py | sairohithA007/airavata-django-portal | fe18d65802f02c9faf805c8edfdee3341c66e93a | [
"Apache-2.0"
] | null | null | null | django_airavata/views.py | sairohithA007/airavata-django-portal | fe18d65802f02c9faf805c8edfdee3341c66e93a | [
"Apache-2.0"
] | 1 | 2019-03-06T17:36:43.000Z | 2019-03-19T14:03:39.000Z | django_airavata/views.py | sairohithA007/airavata-django-portal | fe18d65802f02c9faf805c8edfdee3341c66e93a | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
def home(request):
return render(request, 'django_airavata/home.html', {})
| 19.5 | 59 | 0.74359 | 15 | 117 | 5.733333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 117 | 5 | 60 | 23.4 | 0.851485 | 0 | 0 | 0 | 0 | 0 | 0.213675 | 0.213675 | 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 |
c7d263efe33aec8a2081eb58db81c5683435ce01 | 15,352 | py | Python | datasets/fractal.py | milesgray/CALAE | a2ab2f7d9ee17cc6c24ff6ac370b0373537079ac | [
"Apache-2.0"
] | null | null | null | datasets/fractal.py | milesgray/CALAE | a2ab2f7d9ee17cc6c24ff6ac370b0373537079ac | [
"Apache-2.0"
] | null | null | null | datasets/fractal.py | milesgray/CALAE | a2ab2f7d9ee17cc6c24ff6ac370b0373537079ac | [
"Apache-2.0"
] | null | null | null | import pathlib
import numbers
import random
from tqdm import tqdm
import numpy as np
import torch
import torch.nn.functional as F
from torch.utils.data import Dataset, DataLoader
from torchvision import MultiCropCoord, BuildOutput, get_blur, get_color_distortion
#######################################################... | 40.829787 | 135 | 0.558168 | 1,748 | 15,352 | 4.734554 | 0.144165 | 0.009425 | 0.066578 | 0.009667 | 0.804616 | 0.779604 | 0.756767 | 0.751933 | 0.737192 | 0.719671 | 0 | 0.012863 | 0.225182 | 15,352 | 375 | 136 | 40.938667 | 0.682892 | 0.23326 | 0 | 0.635135 | 0 | 0 | 0.039653 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060811 | false | 0 | 0.030405 | 0.013514 | 0.158784 | 0.02027 | 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 |
1bf4463bfbb54fca4bd55d859cae1ccfca9c7e84 | 2,635 | py | Python | packages/python/plotly/plotly/validators/streamtube/starts/__init__.py | sgn/plotly.py | 587075c9f5a57a3dd60b03b2d47d925fbbb9b9b6 | [
"MIT"
] | 3 | 2020-02-04T21:39:20.000Z | 2020-11-17T19:07:07.000Z | packages/python/plotly/plotly/validators/streamtube/starts/__init__.py | sgn/plotly.py | 587075c9f5a57a3dd60b03b2d47d925fbbb9b9b6 | [
"MIT"
] | 12 | 2020-06-06T01:22:26.000Z | 2022-03-12T00:13:42.000Z | packages/python/plotly/plotly/validators/streamtube/starts/__init__.py | sgn/plotly.py | 587075c9f5a57a3dd60b03b2d47d925fbbb9b9b6 | [
"MIT"
] | 17 | 2019-11-21T14:11:29.000Z | 2019-11-21T15:26:23.000Z | import _plotly_utils.basevalidators
class ZsrcValidator(_plotly_utils.basevalidators.SrcValidator):
def __init__(self, plotly_name="zsrc", parent_name="streamtube.starts", **kwargs):
super(ZsrcValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | 31.746988 | 86 | 0.645541 | 276 | 2,635 | 5.728261 | 0.130435 | 0.113852 | 0.189753 | 0.117647 | 0.903226 | 0.880455 | 0.740038 | 0.740038 | 0.740038 | 0.508539 | 0 | 0 | 0.233776 | 2,635 | 82 | 87 | 32.134146 | 0.783061 | 0 | 0 | 0.6 | 0 | 0 | 0.09222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 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 |
1bfeb3fc5e212a1ff6f2141a7202af12c98726ae | 575 | py | Python | qunetsim/backends/__init__.py | vm6502q/pyqrack-qunetsim-plugin | b2231162d5c374ee3c552fe2e61435a0775090e1 | [
"MIT"
] | 2 | 2021-09-07T07:35:03.000Z | 2021-11-15T17:18:19.000Z | qunetsim/backends/__init__.py | vm6502q/pyqrack-qunetsim-plugin | b2231162d5c374ee3c552fe2e61435a0775090e1 | [
"MIT"
] | null | null | null | qunetsim/backends/__init__.py | vm6502q/pyqrack-qunetsim-plugin | b2231162d5c374ee3c552fe2e61435a0775090e1 | [
"MIT"
] | null | null | null | # Default backend
from .eqsn_backend import EQSNBackend
# Optional backends
try:
from .cqc_backend import CQCBackend
except RuntimeError:
pass
except ImportError:
pass
try:
from .qutip_backend import QuTipBackend
except ImportError:
pass
except RuntimeError:
pass
try:
from .projectq_backend... | 18.548387 | 49 | 0.770435 | 67 | 575 | 6.507463 | 0.402985 | 0.149083 | 0.201835 | 0.18578 | 0.327982 | 0.327982 | 0.229358 | 0.229358 | 0 | 0 | 0 | 0 | 0.193043 | 575 | 30 | 50 | 19.166667 | 0.939655 | 0.057391 | 0 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.296296 | 0.407407 | 0 | 0.407407 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
40190fcda6afcc3bdd1db7ff4d0a8b6bfc40f056 | 130 | py | Python | toclo/commands/__init__.py | jaeheeLee17/toclo | 0f8833e0494ad1ab7f2cf9fa740a2cdfafb4658a | [
"MIT"
] | 3 | 2018-05-14T11:51:57.000Z | 2018-05-19T11:35:11.000Z | toclo/commands/__init__.py | jaeheeLee17/toclo | 0f8833e0494ad1ab7f2cf9fa740a2cdfafb4658a | [
"MIT"
] | 22 | 2018-05-17T04:55:44.000Z | 2018-05-22T06:12:49.000Z | toclo/commands/__init__.py | jaeheeLee17/toclo | 0f8833e0494ad1ab7f2cf9fa740a2cdfafb4658a | [
"MIT"
] | 2 | 2018-05-10T04:52:22.000Z | 2018-05-11T02:10:41.000Z |
from .add import *
from .modify import *
from .ls import *
from .functions import *
from .delete import *
from .complete import * | 18.571429 | 24 | 0.723077 | 18 | 130 | 5.222222 | 0.444444 | 0.531915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 130 | 7 | 25 | 18.571429 | 0.886792 | 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 |
40231f44200727b0a8a773bf13d5efadf227f330 | 8,735 | py | Python | Dataset_Generator.py | evanxia1018/CSE539_Project_LLE | 881ea2278c39c16716e5de83dd8abbd267806a35 | [
"MIT"
] | 2 | 2019-11-10T02:04:52.000Z | 2020-04-19T03:51:51.000Z | Dataset_Generator.py | SarahLynnePu/CSE539_Project_LLE | 881ea2278c39c16716e5de83dd8abbd267806a35 | [
"MIT"
] | null | null | null | Dataset_Generator.py | SarahLynnePu/CSE539_Project_LLE | 881ea2278c39c16716e5de83dd8abbd267806a35 | [
"MIT"
] | 3 | 2017-12-28T14:09:24.000Z | 2020-04-19T04:25:03.000Z | #!/usr/bin/python3
import random
import math
import numpy as np
"""
Constants
"""
variance = 0.01
CHECKERBOARD_SIZE = 0.2
"""
Functions
"""
# def get_swiss_roll_dataset(numOfSamples):
# sample_list = []
# label_list = []
# for x in range(0, numOfSamples):
# # noise_test = random.random()
# ... | 39.170404 | 201 | 0.549399 | 1,404 | 8,735 | 3.259259 | 0.076923 | 0.128497 | 0.064248 | 0.076923 | 0.838068 | 0.82736 | 0.781469 | 0.777754 | 0.764423 | 0.759178 | 0 | 0.050125 | 0.269147 | 8,735 | 222 | 202 | 39.346847 | 0.666667 | 0.593475 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092308 | false | 0 | 0.046154 | 0 | 0.246154 | 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 |
4034868e0a045ad405994d219297f44e52700ba5 | 16,157 | py | Python | velocyto/estimation.py | meichenfang/velocyto.py | acd1763d1ae51752fac45dbfe67c97a551abdc28 | [
"BSD-2-Clause"
] | null | null | null | velocyto/estimation.py | meichenfang/velocyto.py | acd1763d1ae51752fac45dbfe67c97a551abdc28 | [
"BSD-2-Clause"
] | null | null | null | velocyto/estimation.py | meichenfang/velocyto.py | acd1763d1ae51752fac45dbfe67c97a551abdc28 | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
from numpy import matlib
import scipy.optimize
from scipy import sparse
import logging
from typing import *
from sklearn.neighbors import NearestNeighbors
from .speedboosted import _colDeltaCor, _colDeltaCorLog10, _colDeltaCorSqrt
from .speedboosted import _colDeltaCorpartial, _colDeltaCorLog10partia... | 40.3925 | 167 | 0.608343 | 2,282 | 16,157 | 4.229623 | 0.118755 | 0.069934 | 0.010879 | 0.026109 | 0.825425 | 0.797555 | 0.77269 | 0.764919 | 0.762018 | 0.728346 | 0 | 0.019906 | 0.260011 | 16,157 | 399 | 168 | 40.493734 | 0.787387 | 0.347032 | 0 | 0.646226 | 0 | 0 | 0.016082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0 | 0.070755 | 0 | 0.231132 | 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 |
40546e78746bef26d8ef496e9bb7b51417336366 | 8,865 | py | Python | tests/test_tuesdays.py | zkSNARK/ordinal-date-util | ff0a09f1ede67068d86901a4da7ceedff3705711 | [
"MIT"
] | null | null | null | tests/test_tuesdays.py | zkSNARK/ordinal-date-util | ff0a09f1ede67068d86901a4da7ceedff3705711 | [
"MIT"
] | null | null | null | tests/test_tuesdays.py | zkSNARK/ordinal-date-util | ff0a09f1ede67068d86901a4da7ceedff3705711 | [
"MIT"
] | null | null | null | import calendar
import datetime
from unittest import TestCase
from src.ordinal_date_util import get_date_of, month, ordinal
class GetTuesdayDateOffset(TestCase):
first_tuesdays_2019 = [1, 5, 5, 2, 7, 4, 2, 6, 3, 1, 5, 3]
second_tuesdays_2019 = [8, 12, 12, 9, 14, 11, 9, 13, 10, 8, 12, 10]
third_tuesdays_2... | 45.932642 | 107 | 0.621433 | 1,360 | 8,865 | 3.815441 | 0.052941 | 0.061283 | 0.036423 | 0.038543 | 0.858932 | 0.823473 | 0.823473 | 0.804587 | 0.797649 | 0.778377 | 0 | 0.123687 | 0.269487 | 8,865 | 192 | 108 | 46.171875 | 0.677579 | 0 | 0 | 0.578313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 1 | 0.120482 | false | 0 | 0.024096 | 0 | 0.271084 | 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 |
406085e648afcfbdda80a6db28723296049bffbc | 44 | py | Python | dev/projectsettings_op.py | KoreTeknology/Blender-CSV-Library-Importer-Addon | ea8c3e7e4035d53fd551c73e89384e1f50213d73 | [
"BSD-2-Clause"
] | 2 | 2018-12-02T12:31:14.000Z | 2018-12-10T18:39:37.000Z | dev/projectsettings_op.py | KoreTeknology/Blender-CSV-Library-Importer-Addon | ea8c3e7e4035d53fd551c73e89384e1f50213d73 | [
"BSD-2-Clause"
] | null | null | null | dev/projectsettings_op.py | KoreTeknology/Blender-CSV-Library-Importer-Addon | ea8c3e7e4035d53fd551c73e89384e1f50213d73 | [
"BSD-2-Clause"
] | null | null | null | import bpy
from bpy.types import Operator | 14.666667 | 30 | 0.795455 | 7 | 44 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 3 | 30 | 14.666667 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4066f7aed5a299fc485d441b54c22210fa47e965 | 2,153 | py | Python | extension/parquet/parquet_config.py | hungptit/duckdb | ae85627931461937c10a9e082d552593ce088497 | [
"MIT"
] | 2 | 2020-12-11T15:22:01.000Z | 2021-04-19T17:33:15.000Z | extension/parquet/parquet_config.py | lnkuiper/duckdb | dd2f405ae3a74f317e10f0a32254ba2d5e2d8c41 | [
"MIT"
] | 1 | 2021-04-22T14:46:10.000Z | 2021-04-22T14:46:10.000Z | extension/parquet/parquet_config.py | lnkuiper/duckdb | dd2f405ae3a74f317e10f0a32254ba2d5e2d8c41 | [
"MIT"
] | null | null | null | import os
# list all include directories
include_directories = [os.path.sep.join(x.split('/')) for x in ['extension/parquet/include', 'third_party/parquet', 'third_party/snappy', 'third_party/thrift', 'third_party/zstd/include']]
# source files
source_files = [os.path.sep.join(x.split('/')) for x in ['extension/parquet... | 215.3 | 626 | 0.797027 | 315 | 2,153 | 5.222222 | 0.190476 | 0.194529 | 0.197568 | 0.196353 | 0.676596 | 0.50152 | 0.351976 | 0.266869 | 0.161094 | 0.161094 | 0 | 0 | 0.041338 | 2,153 | 9 | 627 | 239.222222 | 0.796996 | 0.021366 | 0 | 0 | 0 | 0 | 0.772706 | 0.744175 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
408c9e60e487f4cf11f363810b0a163fef1ff375 | 70 | py | Python | plugins/syntax_dev/__init__.py | thom1729-forks/PackageDev | bca17d6982983f13bd6588bacdb0245a15e30884 | [
"MIT"
] | 288 | 2016-01-25T10:05:22.000Z | 2022-03-29T01:46:18.000Z | plugins/syntax_dev/__init__.py | thom1729-forks/PackageDev | bca17d6982983f13bd6588bacdb0245a15e30884 | [
"MIT"
] | 243 | 2016-01-24T22:12:58.000Z | 2022-03-23T20:51:13.000Z | plugins/syntax_dev/__init__.py | thom1729-forks/PackageDev | bca17d6982983f13bd6588bacdb0245a15e30884 | [
"MIT"
] | 76 | 2016-01-24T23:04:17.000Z | 2022-03-14T03:04:39.000Z | from .completions import * # noqa
from .highlighter import * # noqa
| 23.333333 | 34 | 0.714286 | 8 | 70 | 6.25 | 0.625 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 70 | 2 | 35 | 35 | 0.892857 | 0.128571 | 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 |
90908ccb0c6d5cf907abbd41300c9a5b2aa40f4a | 186 | py | Python | Chapter04/filesdirs_04.py | vabyte/Modern-Python-Standard-Library-Cookbook | 4f53e3ab7b61aca1cca9343e7421e170280cd5b5 | [
"MIT"
] | 84 | 2018-08-09T09:30:03.000Z | 2022-01-04T23:20:38.000Z | Chapter04/filesdirs_04.py | jiro74/Modern-Python-Standard-Library-Cookbook | 4f53e3ab7b61aca1cca9343e7421e170280cd5b5 | [
"MIT"
] | 1 | 2019-11-04T18:57:40.000Z | 2020-09-07T08:52:25.000Z | Chapter04/filesdirs_04.py | jiro74/Modern-Python-Standard-Library-Cookbook | 4f53e3ab7b61aca1cca9343e7421e170280cd5b5 | [
"MIT"
] | 33 | 2018-09-26T11:05:55.000Z | 2022-03-15T10:31:10.000Z | import pathlib
stat = pathlib.Path('conf.py').stat()
print(stat)
print(pathlib.Path('conf.py').exists())
print(pathlib.Path('conf.py').is_dir())
print(pathlib.Path('_build').is_dir())
| 20.666667 | 39 | 0.704301 | 29 | 186 | 4.413793 | 0.37931 | 0.34375 | 0.351563 | 0.398438 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05914 | 186 | 8 | 40 | 23.25 | 0.731429 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 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 |
909d7d3c2e76a543967cbd5e99ccf8474a52c6b0 | 7,043 | py | Python | top50.py | karthik63/pix2pix | 9eec4102afb91c7efe5dbf3f519d381f9b915c36 | [
"MIT"
] | null | null | null | top50.py | karthik63/pix2pix | 9eec4102afb91c7efe5dbf3f519d381f9b915c36 | [
"MIT"
] | null | null | null | top50.py | karthik63/pix2pix | 9eec4102afb91c7efe5dbf3f519d381f9b915c36 | [
"MIT"
] | null | null | null | import tensorflow as tf
import numpy as np
import argparse
import os
import json
import glob
import random
import collections
import math
import time
def load_paths_and_attributes(a, top_how_many):
if a.mode == 'train':
with open(os.path.join(a.input_dir, 'Anno/list_attr_img.txt'), 'rb') as attributes_fi... | 29.84322 | 96 | 0.517393 | 880 | 7,043 | 3.993182 | 0.114773 | 0.102447 | 0.037564 | 0.018782 | 0.915196 | 0.895845 | 0.889015 | 0.889015 | 0.889015 | 0.889015 | 0 | 0.04163 | 0.351981 | 7,043 | 236 | 97 | 29.84322 | 0.728309 | 0.398268 | 0 | 0.682353 | 0 | 0 | 0.0172 | 0.010659 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035294 | false | 0 | 0.117647 | 0 | 0.176471 | 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 |
90cd51e8b7ff87dd27aa795b3f1b0d33ce4f5bf4 | 166 | py | Python | commands/raw_json_to_csv.py | Vichoko/aidio | df1c26047574fbe0a7b103ebc26687bc04739229 | [
"MIT"
] | 2 | 2019-08-20T04:46:11.000Z | 2021-02-16T13:19:13.000Z | commands/raw_json_to_csv.py | Vichoko/aidio | df1c26047574fbe0a7b103ebc26687bc04739229 | [
"MIT"
] | null | null | null | commands/raw_json_to_csv.py | Vichoko/aidio | df1c26047574fbe0a7b103ebc26687bc04739229 | [
"MIT"
] | null | null | null | from commands.parse_dataset import json_to_csv
if __name__ == '__main__':
json_to_csv('E:\\parsed_singers.v2\\labels.json', 'E:\\parsed_singers.v2\\labels.csv')
| 33.2 | 90 | 0.746988 | 26 | 166 | 4.192308 | 0.615385 | 0.110092 | 0.165138 | 0.293578 | 0.40367 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.090361 | 166 | 4 | 91 | 41.5 | 0.708609 | 0 | 0 | 0 | 0 | 0 | 0.451807 | 0.403614 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
90f56517364b82972982fafdda0f40dec93011a4 | 11,192 | py | Python | migrations/tests/test_0019_calc_mediafile_is_public.py | MJJojo97/openslides-backend | af0d1edb0070e352d46f285a1ba0bbe3702d49ae | [
"MIT"
] | null | null | null | migrations/tests/test_0019_calc_mediafile_is_public.py | MJJojo97/openslides-backend | af0d1edb0070e352d46f285a1ba0bbe3702d49ae | [
"MIT"
] | null | null | null | migrations/tests/test_0019_calc_mediafile_is_public.py | MJJojo97/openslides-backend | af0d1edb0070e352d46f285a1ba0bbe3702d49ae | [
"MIT"
] | null | null | null | def test_migration_upload_without_is_public(write, finalize, assert_model):
write(
{
"type": "create",
"fqid": "group/1",
"fields": {
"id": 1,
"mediafile_access_group_ids": [11],
"mediafile_inherited_access_group_ids": [11],... | 25.907407 | 92 | 0.431648 | 973 | 11,192 | 4.652621 | 0.065776 | 0.138502 | 0.176276 | 0.142258 | 0.919152 | 0.889331 | 0.853987 | 0.837862 | 0.767617 | 0.725646 | 0 | 0.044643 | 0.429593 | 11,192 | 431 | 93 | 25.967517 | 0.664474 | 0.057094 | 0 | 0.655779 | 0 | 0 | 0.308765 | 0.099032 | 0 | 0 | 0 | 0 | 0.052764 | 1 | 0.01005 | false | 0 | 0 | 0 | 0.01005 | 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 |
464db6016c9fea0055c2c545d2cbea899c712048 | 265 | py | Python | Python/Daily Challenges/Matrix/Multiply_two_Matrix.py | Aditya8821/Python | 58c7ea8daf381256d8a45736832fb70f735757f7 | [
"MIT"
] | 2 | 2021-05-12T11:20:39.000Z | 2021-06-17T04:35:16.000Z | Python/Daily Challenges/Matrix/Multiply_two_Matrix.py | Aditya8821/Python | 58c7ea8daf381256d8a45736832fb70f735757f7 | [
"MIT"
] | null | null | null | Python/Daily Challenges/Matrix/Multiply_two_Matrix.py | Aditya8821/Python | 58c7ea8daf381256d8a45736832fb70f735757f7 | [
"MIT"
] | null | null | null | a = [[12, 7, 3],[4, 5, 6],[7, 8, 9]]
b = [[5, 8, 1, 2],[6, 7, 3, 0],[4, 5, 9, 1]]
c=[[0,0,0,0],[0,0,0,0],[0,0,0,0]]
for i in range(len(a)):
for j in range(len(b[0])):
for k in range(len(b)):
c[i][j]+=a[i][k]*b[k][j]
print(c)
| 26.5 | 45 | 0.369811 | 66 | 265 | 1.484848 | 0.333333 | 0.22449 | 0.306122 | 0.367347 | 0.122449 | 0.122449 | 0.122449 | 0.122449 | 0.122449 | 0.122449 | 0 | 0.185185 | 0.286792 | 265 | 9 | 46 | 29.444444 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4671c4590da42d0381eceb105bfdccd1494186c7 | 22 | py | Python | basesetup.py | uibcdf/TestsConda_withF90Libs | 1e3debaf2f196a36dee2badb8c2e85b7d6276610 | [
"MIT"
] | 1 | 2021-12-16T15:06:59.000Z | 2021-12-16T15:06:59.000Z | basesetup.py | uibcdf/TestsConda_withF90Libs | 1e3debaf2f196a36dee2badb8c2e85b7d6276610 | [
"MIT"
] | 3 | 2021-03-22T00:44:24.000Z | 2021-06-26T19:32:31.000Z | basesetup.py | uibcdf/TestsConda_withF90Libs | 1e3debaf2f196a36dee2badb8c2e85b7d6276610 | [
"MIT"
] | null | null | null | import os
import sys
| 5.5 | 10 | 0.772727 | 4 | 22 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 3 | 11 | 7.333333 | 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 |
467204d5390101d948f644c289ed6a893ae7121f | 12,947 | py | Python | cf_streaming/views.py | xflows/cf_streaming | ee6b75161f02fe2542fcf39c72e68ce5eb2f2033 | [
"MIT"
] | null | null | null | cf_streaming/views.py | xflows/cf_streaming | ee6b75161f02fe2542fcf39c72e68ce5eb2f2033 | [
"MIT"
] | null | null | null | cf_streaming/views.py | xflows/cf_streaming | ee6b75161f02fe2542fcf39c72e68ce5eb2f2033 | [
"MIT"
] | null | null | null | # helperji, context stvari
from django.shortcuts import render, get_object_or_404, redirect
from django.http import Http404, HttpResponse
from django.contrib import messages
from django.core import serializers
#from workflows.urls import *
from workflows.helpers import *
import workflows.interaction_views
import workfl... | 48.856604 | 226 | 0.644705 | 1,632 | 12,947 | 5.033701 | 0.109681 | 0.093488 | 0.09933 | 0.122702 | 0.826659 | 0.802556 | 0.761899 | 0.752648 | 0.747048 | 0.70566 | 0 | 0.011803 | 0.208156 | 12,947 | 264 | 227 | 49.041667 | 0.789504 | 0.009114 | 0 | 0.587234 | 0 | 0 | 0.106622 | 0.033305 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029787 | false | 0.017021 | 0.110638 | 0 | 0.174468 | 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 |
4691645939b25d507d5288ea85cafd86cbf1c3d9 | 160 | py | Python | awardsapp/admin.py | RYAN2540/awwwards | b0de349c58904d87b9500999504f3d6967cc319d | [
"MIT"
] | null | null | null | awardsapp/admin.py | RYAN2540/awwwards | b0de349c58904d87b9500999504f3d6967cc319d | [
"MIT"
] | null | null | null | awardsapp/admin.py | RYAN2540/awwwards | b0de349c58904d87b9500999504f3d6967cc319d | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Profile, Project, Vote
admin.site.register(Profile)
admin.site.register(Project)
admin.site.register(Vote) | 26.666667 | 42 | 0.81875 | 23 | 160 | 5.695652 | 0.478261 | 0.206107 | 0.389313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08125 | 160 | 6 | 43 | 26.666667 | 0.891156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
46b6bda6cf3110db39c281f39daadc867f5406a8 | 142 | py | Python | app/config/default.py | macielportugal/python-api | d85bcc1132e46e0f19b6da5d6b63e4d347b4b707 | [
"MIT"
] | null | null | null | app/config/default.py | macielportugal/python-api | d85bcc1132e46e0f19b6da5d6b63e4d347b4b707 | [
"MIT"
] | 11 | 2019-12-26T17:31:23.000Z | 2022-02-10T00:28:49.000Z | app/config/default.py | macielportugal/python-api | d85bcc1132e46e0f19b6da5d6b63e4d347b4b707 | [
"MIT"
] | null | null | null | import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
VENDOR_DIR = '{}/vendor'.format(BASE_DIR) | 23.666667 | 87 | 0.746479 | 23 | 142 | 4.304348 | 0.434783 | 0.242424 | 0.393939 | 0.454545 | 0.454545 | 0.454545 | 0.454545 | 0.454545 | 0 | 0 | 0 | 0 | 0.070423 | 142 | 6 | 88 | 23.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.062937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3142d52a8691d41c91c0512ad6a29c8cae2840ea | 124 | py | Python | src/Compysite.py | echaffey/Compysite | bf56f8fa641f39c747ce7be1d35dd198ea5a09e0 | [
"MIT"
] | null | null | null | src/Compysite.py | echaffey/Compysite | bf56f8fa641f39c747ce7be1d35dd198ea5a09e0 | [
"MIT"
] | null | null | null | src/Compysite.py | echaffey/Compysite | bf56f8fa641f39c747ce7be1d35dd198ea5a09e0 | [
"MIT"
] | null | null | null | from lamina import Lamina
from material import Material
from laminate import Laminate
import conversion
import numpy as np
| 17.714286 | 29 | 0.846774 | 18 | 124 | 5.833333 | 0.5 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 124 | 6 | 30 | 20.666667 | 1 | 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 |
314c1a9f089a5a6a15de2f07bec2f58ba25cb49f | 149 | py | Python | rest_social_email_auth/signals.py | hacknd/django-rest-auth | bd873f67e93854460b3966556d775b5319193eee | [
"MIT"
] | 3 | 2020-05-25T22:05:10.000Z | 2020-05-28T18:21:24.000Z | rest_social_email_auth/signals.py | hacknd/django-rest-auth | bd873f67e93854460b3966556d775b5319193eee | [
"MIT"
] | 3 | 2021-03-30T13:55:31.000Z | 2021-06-10T19:47:06.000Z | rest_social_email_auth/signals.py | hacknd/django-rest-auth | bd873f67e93854460b3966556d775b5319193eee | [
"MIT"
] | 2 | 2020-06-11T17:59:38.000Z | 2020-06-13T16:46:36.000Z | from django import dispatch
user_registered = dispatch.Signal(providing_args=["user"])
email_verified = dispatch.Signal(providing_args=["email"])
| 21.285714 | 58 | 0.791946 | 18 | 149 | 6.333333 | 0.611111 | 0.245614 | 0.403509 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087248 | 149 | 6 | 59 | 24.833333 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0.060403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
31679a0c3115a5a6c7b7d61fc4f9fc5bdbf37a1f | 1,584 | py | Python | tests/contrib/trace/test_marker.py | iopipe/iopipe-python | 9bf0620bab732e82a9addcee250eabb9c0cc649f | [
"Apache-2.0"
] | 74 | 2016-08-18T14:26:50.000Z | 2021-11-21T10:58:32.000Z | tests/contrib/trace/test_marker.py | vemel/iopipe-python | 46c277f9447ddb00e544437ceaa7ba263a759c1d | [
"Apache-2.0"
] | 198 | 2016-08-18T18:52:43.000Z | 2021-05-09T10:01:14.000Z | tests/contrib/trace/test_marker.py | vemel/iopipe-python | 46c277f9447ddb00e544437ceaa7ba263a759c1d | [
"Apache-2.0"
] | 23 | 2016-08-04T23:22:21.000Z | 2020-01-20T13:54:27.000Z | def test_marker__measure_no_start_or_end(marker):
marker.start("foobar")
marker.end("foobar")
marker.measure("foobar")
assert len(marker.timeline.get_entries()) == 3
assert any([e.name == "measure:foobar" for e in marker.timeline.get_entries()])
def test_marker__measure_start_only(marker):
ma... | 26.847458 | 83 | 0.690657 | 211 | 1,584 | 4.943128 | 0.175355 | 0.147651 | 0.179291 | 0.253116 | 0.829338 | 0.806328 | 0.737296 | 0.577181 | 0.42186 | 0.353787 | 0 | 0.005315 | 0.168561 | 1,584 | 58 | 84 | 27.310345 | 0.786636 | 0 | 0 | 0.578947 | 0 | 0 | 0.103535 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 1 | 0.210526 | false | 0.078947 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
318a6b244ba1616e8006c7348895ebf4f9227fec | 43 | py | Python | top_secret.py | ffufcok/school_1411 | eb7f8330569920f10f50ab9cdaf9eef4c436b9ba | [
"MIT"
] | 2 | 2019-08-13T11:26:27.000Z | 2019-12-21T21:10:51.000Z | top_secret.py | ffufcok/school_1411 | eb7f8330569920f10f50ab9cdaf9eef4c436b9ba | [
"MIT"
] | null | null | null | top_secret.py | ffufcok/school_1411 | eb7f8330569920f10f50ab9cdaf9eef4c436b9ba | [
"MIT"
] | null | null | null | def top_secret():
print('Misha loh')
| 14.333333 | 23 | 0.604651 | 6 | 43 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 43 | 2 | 24 | 21.5 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
31a55d242c8111b974df3554bbaa89fdfebf511b | 937 | py | Python | Quality Assurance/Part II/Homeworks/22. Automated Testing with Sikuli/DragAndDropWebElements.sikuli/DragAndDropWebElements.py | YaneYosifov/Telerik | 7bc2a3b45bf277c264b4ea56e0875d82e2e2fabe | [
"MIT"
] | null | null | null | Quality Assurance/Part II/Homeworks/22. Automated Testing with Sikuli/DragAndDropWebElements.sikuli/DragAndDropWebElements.py | YaneYosifov/Telerik | 7bc2a3b45bf277c264b4ea56e0875d82e2e2fabe | [
"MIT"
] | null | null | null | Quality Assurance/Part II/Homeworks/22. Automated Testing with Sikuli/DragAndDropWebElements.sikuli/DragAndDropWebElements.py | YaneYosifov/Telerik | 7bc2a3b45bf277c264b4ea56e0875d82e2e2fabe | [
"MIT"
] | 1 | 2015-07-09T20:38:13.000Z | 2015-07-09T20:38:13.000Z | type('r', Key.WIN)
type("chrome http://www.dhtmlgoodies.com/scripts/drag-drop-custom/demo-drag-drop-3.html" + Key.ENTER)
wait("1453001692806.png", 10)
dragDrop(Pattern("1452992377092.png").similar(0.95), Pattern("1452992824153.png").similar(0.93))
sleep(1)
dragDrop(Pattern("1452992334420.png").similar(0.80), Pattern(... | 36.038462 | 101 | 0.743863 | 135 | 937 | 5.162963 | 0.385185 | 0.200861 | 0.220947 | 0.180775 | 0.3099 | 0.195122 | 0.195122 | 0.195122 | 0 | 0 | 0 | 0.288098 | 0.040555 | 937 | 26 | 102 | 36.038462 | 0.487208 | 0 | 0 | 0.333333 | 0 | 0.055556 | 0.378465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
31ce1d8004b139aea4ea23faf8a05f4ff79875e7 | 42 | py | Python | tests/drawBotScripts/traceback.py | andyclymer/drawbot | 5b160f1765a71ae1c774a7563060fca74a21db8a | [
"BSD-2-Clause"
] | 302 | 2015-01-10T21:13:26.000Z | 2022-03-31T21:14:06.000Z | tests/drawBotScripts/traceback.py | andyclymer/drawbot | 5b160f1765a71ae1c774a7563060fca74a21db8a | [
"BSD-2-Clause"
] | 430 | 2015-04-10T12:48:47.000Z | 2022-03-01T21:35:15.000Z | tests/drawBotScripts/traceback.py | andyclymer/drawbot | 5b160f1765a71ae1c774a7563060fca74a21db8a | [
"BSD-2-Clause"
] | 64 | 2015-01-26T04:12:30.000Z | 2022-01-24T11:12:45.000Z | import drawBot
drawBot.size(200, 200)
1/0
| 10.5 | 22 | 0.761905 | 8 | 42 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 0.119048 | 42 | 3 | 23 | 14 | 0.648649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
31d30d6434e7dab8d873241bdc00198e65f3d715 | 361 | py | Python | dataent/patches/v11_0/rename_google_maps_doctype.py | dataent/dataent | c41bd5942ffe5513f4d921c4c0595c84bbc422b4 | [
"MIT"
] | null | null | null | dataent/patches/v11_0/rename_google_maps_doctype.py | dataent/dataent | c41bd5942ffe5513f4d921c4c0595c84bbc422b4 | [
"MIT"
] | 6 | 2020-03-24T17:15:56.000Z | 2022-02-10T18:41:31.000Z | dataent/patches/v11_0/rename_google_maps_doctype.py | dataent/dataent | c41bd5942ffe5513f4d921c4c0595c84bbc422b4 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
import dataent
from dataent.model.rename_doc import rename_doc
def execute():
if dataent.db.exists("DocType","Google Maps") and not dataent.db.exists("DocType","Google Maps Settings"):
rename_doc('DocType', 'Google Maps', 'Google Maps Settings')
dataent.reload_doc('integrat... | 45.125 | 107 | 0.781163 | 49 | 361 | 5.530612 | 0.44898 | 0.184502 | 0.250923 | 0.162362 | 0.236162 | 0.236162 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094183 | 361 | 8 | 108 | 45.125 | 0.828746 | 0 | 0 | 0 | 0 | 0 | 0.337017 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 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 |
9eceec509e69b8bea43cc76a19cd02b078448e57 | 38,022 | py | Python | instances/passenger_demand/pas-20210421-2109-int18e/96.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/96.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/96.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 4130
passenger_arriving = (
(3, 11, 4, 8, 1, 0, 9, 7, 4, 4, 1, 0), # 0
(2, 13, 10, 7, 2, 0, 13, 8, 10, 3, 4, 0), # 1
(5, 13, 6, 8, 2, 0, 10, 9, 5, 3, 3, 0), # 2
(10, 11, 14, 7, 1, 0, 7, 15, 5, 9, 2, 0), # 3
(5, 8, 9, 5, 1, 0, 10, 9, 6, 9, 4, 0), # 4
(3, 21, 7, 2, 4, 0, 4... | 113.498507 | 213 | 0.730051 | 5,147 | 38,022 | 5.390907 | 0.239751 | 0.311385 | 0.246513 | 0.467078 | 0.327243 | 0.326306 | 0.326306 | 0.326306 | 0.326306 | 0.326306 | 0 | 0.819745 | 0.118721 | 38,022 | 334 | 214 | 113.838323 | 0.008326 | 0.03185 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 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 |
9eda46e7985e219e5f3519e4921b673519fd3a3c | 183 | py | Python | pymc3/distributions/__init__.py | ds7788/hello-world | f16466f4d4de8cd412771415a361738ba020e568 | [
"Apache-2.0"
] | 1 | 2018-08-16T22:03:21.000Z | 2018-08-16T22:03:21.000Z | pymc3/distributions/__init__.py | ds7788/hello-world | f16466f4d4de8cd412771415a361738ba020e568 | [
"Apache-2.0"
] | null | null | null | pymc3/distributions/__init__.py | ds7788/hello-world | f16466f4d4de8cd412771415a361738ba020e568 | [
"Apache-2.0"
] | null | null | null | from . import timeseries
from . import transforms
from .continuous import *
from .discrete import *
from .distribution import *
from .multivariate import *
from .timeseries import *
| 20.333333 | 27 | 0.775956 | 21 | 183 | 6.761905 | 0.380952 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15847 | 183 | 8 | 28 | 22.875 | 0.922078 | 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 |
731b34e328130ad1ea8e58fc768edc3d4c501ca8 | 96 | py | Python | src/pytheia/__init__.py | Sergej91/TheiaSfM | e603e16888456c3e565a2c197fa9f8643c176175 | [
"BSD-3-Clause"
] | 3 | 2021-11-10T19:50:36.000Z | 2022-03-03T08:16:54.000Z | src/pytheia/__init__.py | Sergej91/TheiaSfM | e603e16888456c3e565a2c197fa9f8643c176175 | [
"BSD-3-Clause"
] | null | null | null | src/pytheia/__init__.py | Sergej91/TheiaSfM | e603e16888456c3e565a2c197fa9f8643c176175 | [
"BSD-3-Clause"
] | 2 | 2020-03-20T03:06:55.000Z | 2021-08-04T08:08:52.000Z | from pytheia.pytheia import (io, sfm, math, matching, solvers)
import pytheia.pytheia as pytheia | 48 | 62 | 0.802083 | 14 | 96 | 5.5 | 0.642857 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 96 | 2 | 63 | 48 | 0.905882 | 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 |
735299c81b0becb65ad241ff28e3a2db22b66dcc | 12,861 | py | Python | tests/cupy_tests/indexing_tests/test_indexing.py | prkhrsrvstv1/cupy | ea86c8225b575af9d2855fb77a306cf86fd098ea | [
"MIT"
] | 1 | 2021-06-03T16:51:02.000Z | 2021-06-03T16:51:02.000Z | tests/cupy_tests/indexing_tests/test_indexing.py | prkhrsrvstv1/cupy | ea86c8225b575af9d2855fb77a306cf86fd098ea | [
"MIT"
] | 54 | 2018-04-26T04:55:40.000Z | 2022-03-15T05:26:47.000Z | tests/cupy_tests/indexing_tests/test_indexing.py | prkhrsrvstv1/cupy | ea86c8225b575af9d2855fb77a306cf86fd098ea | [
"MIT"
] | 1 | 2021-01-08T14:16:53.000Z | 2021-01-08T14:16:53.000Z | import unittest
import numpy
import pytest
import cupy
from cupy import testing
@testing.gpu
class TestIndexing(unittest.TestCase):
@testing.numpy_cupy_array_equal()
def test_take_by_scalar(self, xp):
a = testing.shaped_arange((2, 4, 3), xp)
return a.take(2, axis=1)
@testing.numpy_cupy... | 34.296 | 73 | 0.605241 | 1,823 | 12,861 | 4.07186 | 0.081185 | 0.046208 | 0.081908 | 0.104675 | 0.811801 | 0.804392 | 0.782568 | 0.760474 | 0.720059 | 0.690287 | 0 | 0.033651 | 0.2583 | 12,861 | 374 | 74 | 34.387701 | 0.744522 | 0.014851 | 0 | 0.589744 | 0 | 0 | 0.00387 | 0 | 0 | 0 | 0 | 0 | 0.003205 | 1 | 0.157051 | false | 0 | 0.016026 | 0 | 0.307692 | 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 |
7df66ba6865cc335c47b9160a991908103b496a1 | 9,149 | py | Python | imcsdk/mometa/adaptor/AdaptorHostEthIf.py | ragupta-git/ImcSdk | 2e41f2ffe5282d38de85bc4739fa53dd2f0c9bb4 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/adaptor/AdaptorHostEthIf.py | ragupta-git/ImcSdk | 2e41f2ffe5282d38de85bc4739fa53dd2f0c9bb4 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/adaptor/AdaptorHostEthIf.py | ragupta-git/ImcSdk | 2e41f2ffe5282d38de85bc4739fa53dd2f0c9bb4 | [
"Apache-2.0"
] | 3 | 2018-11-14T13:02:40.000Z | 2018-11-14T13:49:38.000Z | """This module contains the general information for AdaptorHostEthIf ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class AdaptorHostEthIfConsts:
IF_TYPE_VIRTUAL = "virtual"
MAC_AUTO = "AUTO"
UPLINK_PORT_0 = "0"
... | 67.77037 | 224 | 0.6087 | 917 | 9,149 | 5.920393 | 0.150491 | 0.085467 | 0.06189 | 0.100571 | 0.839934 | 0.837908 | 0.791674 | 0.769571 | 0.769571 | 0.751888 | 0 | 0.045025 | 0.201333 | 9,149 | 134 | 225 | 68.276119 | 0.697961 | 0.012242 | 0 | 0.353982 | 0 | 0.017699 | 0.26338 | 0.022604 | 0 | 0 | 0.013961 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.026549 | 0 | 0.132743 | 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 |
b43943d6fcbcff7c4ee9ad1290fe0437a80d41d5 | 28 | py | Python | py/phrasemachine/__init__.py | slanglab/phrasemachine | 41cec3b727f854aa6ef8ab0b45228c3216ff0d4a | [
"MIT"
] | 172 | 2016-10-03T14:07:01.000Z | 2022-03-21T11:20:46.000Z | py/phrasemachine/__init__.py | slanglab/phrasemachine | 41cec3b727f854aa6ef8ab0b45228c3216ff0d4a | [
"MIT"
] | 22 | 2016-10-11T00:30:24.000Z | 2021-11-10T13:30:04.000Z | py/phrasemachine/__init__.py | slanglab/phrasemachine | 41cec3b727f854aa6ef8ab0b45228c3216ff0d4a | [
"MIT"
] | 24 | 2016-10-17T11:37:34.000Z | 2022-01-31T16:10:03.000Z | from .phrasemachine import * | 28 | 28 | 0.821429 | 3 | 28 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b47d4380891eb1a27f9dd2c3c205a0c03544ffdd | 167 | py | Python | Src/Clova/vendor/html/entities.py | NishiYusuke/Line-boot-award | d77f26b9109f3cba45be5906bcb6c9314974cd92 | [
"MIT"
] | 2 | 2020-08-17T07:52:48.000Z | 2020-12-18T16:39:32.000Z | Src/Clova/vendor/html/entities.py | NishiYusuke/Line-boot-award | d77f26b9109f3cba45be5906bcb6c9314974cd92 | [
"MIT"
] | 5 | 2020-12-15T23:40:14.000Z | 2022-02-23T15:43:18.000Z | Src/Clova/vendor/html/entities.py | NishiYusuke/Line-boot-award | d77f26b9109f3cba45be5906bcb6c9314974cd92 | [
"MIT"
] | 4 | 2019-05-16T09:57:33.000Z | 2021-07-14T12:31:21.000Z | from __future__ import absolute_import
from future.utils import PY3
if PY3:
from html.entities import *
else:
from future.moves.html.entities import *
| 20.875 | 45 | 0.736527 | 23 | 167 | 5.130435 | 0.478261 | 0.254237 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.209581 | 167 | 7 | 46 | 23.857143 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
b484d244e654a5c5d7e859a94c8c8044dafd03c0 | 92 | py | Python | sakurajima/db/__init__.py | jefersonmontalvao/Sakurajima-BOT | 0e34739f884c601edab4cd9720dba87395ab638a | [
"MIT"
] | null | null | null | sakurajima/db/__init__.py | jefersonmontalvao/Sakurajima-BOT | 0e34739f884c601edab4cd9720dba87395ab638a | [
"MIT"
] | null | null | null | sakurajima/db/__init__.py | jefersonmontalvao/Sakurajima-BOT | 0e34739f884c601edab4cd9720dba87395ab638a | [
"MIT"
] | null | null | null | import sakurajima.db.backends
import sakurajima.db.models
__all__ = ['backends', 'models']
| 18.4 | 32 | 0.771739 | 11 | 92 | 6.090909 | 0.545455 | 0.477612 | 0.537313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 92 | 4 | 33 | 23 | 0.807229 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c32aec52a2071d7be27973432b926f58946cbd71 | 114 | py | Python | chain/common/interfaces.py | tsifrer/ark | c678091e226d79fabe4a2c554e1d8e704a5b5cec | [
"MIT"
] | 5 | 2019-02-01T01:22:27.000Z | 2019-05-24T12:20:38.000Z | chain/common/interfaces.py | tsifrer/ark | c678091e226d79fabe4a2c554e1d8e704a5b5cec | [
"MIT"
] | 15 | 2019-03-29T13:12:10.000Z | 2019-08-25T19:19:35.000Z | chain/common/interfaces.py | tsifrer/ark | c678091e226d79fabe4a2c554e1d8e704a5b5cec | [
"MIT"
] | 4 | 2019-01-31T13:52:03.000Z | 2020-08-12T02:12:03.000Z | import abc
class IPlugin(abc.ABC):
def register(self):
pass
def deregister(self):
pass
| 11.4 | 25 | 0.587719 | 14 | 114 | 4.785714 | 0.642857 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324561 | 114 | 9 | 26 | 12.666667 | 0.87013 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
c34c7925f9b2e88439b588cfd4b2403cd6326185 | 27 | py | Python | obo/__init__.py | cmungall/obo | 7218f1b11b5cd9158c0b01df86569c259edb005e | [
"CC0-1.0"
] | 1 | 2017-11-21T22:00:17.000Z | 2017-11-21T22:00:17.000Z | obo/__init__.py | cmungall/obo | 7218f1b11b5cd9158c0b01df86569c259edb005e | [
"CC0-1.0"
] | null | null | null | obo/__init__.py | cmungall/obo | 7218f1b11b5cd9158c0b01df86569c259edb005e | [
"CC0-1.0"
] | 1 | 2019-02-13T12:12:36.000Z | 2019-02-13T12:12:36.000Z | from .read import read_obo
| 13.5 | 26 | 0.814815 | 5 | 27 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
c37e3835531617f9d81002c5d2e35f0c597d82c2 | 66 | py | Python | TaskModule/classification/component/__init__.py | nonstop1962/pytorch-dental_age_estimation | 9bbe72b0dbf83514d900aeebc511fcfd3ab17202 | [
"MIT"
] | 1 | 2021-04-20T17:22:39.000Z | 2021-04-20T17:22:39.000Z | TaskModule/classification/component/__init__.py | nonstop1962/pytorch-dental_age_estimation | 9bbe72b0dbf83514d900aeebc511fcfd3ab17202 | [
"MIT"
] | 1 | 2022-03-14T10:55:54.000Z | 2022-03-14T10:55:54.000Z | TaskModule/classification/component/__init__.py | nonstop1962/pytorch-dental_age_estimation | 9bbe72b0dbf83514d900aeebc511fcfd3ab17202 | [
"MIT"
] | 1 | 2022-01-31T09:03:44.000Z | 2022-01-31T09:03:44.000Z | from .cls_loss import cls_loss
from .cls_metric import cls_metric
| 22 | 34 | 0.848485 | 12 | 66 | 4.333333 | 0.416667 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 35 | 33 | 0.896552 | 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 |
c37f7e15bf32400af987f7523bd63e8003da3946 | 96 | py | Python | venv/lib/python3.8/site-packages/jedi/plugins/__init__.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/jedi/plugins/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/jedi/plugins/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/9b/76/e3/aaaa98cd48696df569e7dd28ec72d691b4c9351e769f17fe05f00998c4 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ee663e7d2c49b582027e53e639c2a132e56a831 | 32 | py | Python | baselines/VLG-Net/lib/structures/__init__.py | Soldelli/MAD | 3c4e85cc792236fec2c94e5095f3bc793bf07529 | [
"MIT"
] | 51 | 2021-12-06T10:30:47.000Z | 2022-03-31T13:09:34.000Z | mmn/structures/__init__.py | MCG-NJU/MMN | 64641d12d4e1197b7378b3f786916b4cfd1a5080 | [
"MIT"
] | 4 | 2021-12-17T07:15:51.000Z | 2022-02-21T12:28:32.000Z | baselines/VLG-Net/lib/structures/__init__.py | Soldelli/MAD | 3c4e85cc792236fec2c94e5095f3bc793bf07529 | [
"MIT"
] | 5 | 2021-12-16T08:48:52.000Z | 2022-03-16T08:57:34.000Z | from .tlg_batch import TLGBatch
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 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 |
6f39de52d6e002c137f5a0ac9ac08c904f746d86 | 335 | py | Python | pyguki/template.py | git-afsantos/vnc-csf-17 | 0af7a6b5548a67e71d137850ca6d6b6dc33ceb95 | [
"MIT"
] | null | null | null | pyguki/template.py | git-afsantos/vnc-csf-17 | 0af7a6b5548a67e71d137850ca6d6b6dc33ceb95 | [
"MIT"
] | null | null | null | pyguki/template.py | git-afsantos/vnc-csf-17 | 0af7a6b5548a67e71d137850ca6d6b6dc33ceb95 | [
"MIT"
] | null | null | null | # -*- coding=utf-8 -*-
from math import pi, sin, cos, sqrt
# robot.andar(m)
# robot.rodar(rad)
def quando_inicia(robot):
pass
def quando_bate_na_frente(robot):
pass
def quando_bate_na_esquerda(robot):
pass
def quando_bate_na_direita(robot):
pass
def andar_feito(robot):
pass
def rodar_feito(ro... | 13.958333 | 35 | 0.695522 | 52 | 335 | 4.25 | 0.480769 | 0.244344 | 0.271493 | 0.244344 | 0.325792 | 0.325792 | 0 | 0 | 0 | 0 | 0 | 0.00369 | 0.191045 | 335 | 23 | 36 | 14.565217 | 0.811808 | 0.155224 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0.461538 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
4896c25c18c567cd421debc0eec8ed592de4989f | 114 | py | Python | tests/unit/kms/client_test.py | gunjanswitchco/gcloud-rest | bf6af906880c25500d8e76b5ce3f807968185780 | [
"MIT"
] | null | null | null | tests/unit/kms/client_test.py | gunjanswitchco/gcloud-rest | bf6af906880c25500d8e76b5ce3f807968185780 | [
"MIT"
] | null | null | null | tests/unit/kms/client_test.py | gunjanswitchco/gcloud-rest | bf6af906880c25500d8e76b5ce3f807968185780 | [
"MIT"
] | null | null | null | import gcloud.rest.kms.client as client # pylint: disable=unused-import
def test_importable():
assert True
| 19 | 72 | 0.754386 | 16 | 114 | 5.3125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 114 | 5 | 73 | 22.8 | 0.885417 | 0.254386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48b788b1c2a3c9387a5d9640da73cc5c09683816 | 108 | py | Python | frappe/query_builder/__init__.py | mojerro/frappe | 0f434846bed87c02491aad0a3da631df382bfb3c | [
"MIT"
] | null | null | null | frappe/query_builder/__init__.py | mojerro/frappe | 0f434846bed87c02491aad0a3da631df382bfb3c | [
"MIT"
] | null | null | null | frappe/query_builder/__init__.py | mojerro/frappe | 0f434846bed87c02491aad0a3da631df382bfb3c | [
"MIT"
] | null | null | null | from pypika import *
from frappe.query_builder.utils import DocType, get_query_builder, patch_query_execute
| 36 | 86 | 0.861111 | 16 | 108 | 5.5 | 0.6875 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 108 | 2 | 87 | 54 | 0.897959 | 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 |
5b215843717f39fbf29e787b8101644a4b06b349 | 102 | py | Python | hlrl/torch/policies/__init__.py | Chainso/HLRL | 584f4ed2fa4d8b311a21dbd862ec9434833dd7cd | [
"MIT"
] | null | null | null | hlrl/torch/policies/__init__.py | Chainso/HLRL | 584f4ed2fa4d8b311a21dbd862ec9434833dd7cd | [
"MIT"
] | null | null | null | hlrl/torch/policies/__init__.py | Chainso/HLRL | 584f4ed2fa4d8b311a21dbd862ec9434833dd7cd | [
"MIT"
] | null | null | null | from .linear import *
from .distribution import *
from .recurrent import *
from .convolution import *
| 20.4 | 27 | 0.764706 | 12 | 102 | 6.5 | 0.5 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 4 | 28 | 25.5 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d28ff6f79f029d59cd2004aba655810519f0b151 | 117 | py | Python | slackminion/tests/fixtures/__init__.py | pranavramesh123/chenckingcode | ce1141b90a766a01bd9b6b0d4f70c143fa7a5855 | [
"MIT"
] | 15 | 2020-09-03T20:43:02.000Z | 2021-12-24T14:16:39.000Z | slackminion/tests/fixtures/__init__.py | pranavramesh123/chenckingcode | ce1141b90a766a01bd9b6b0d4f70c143fa7a5855 | [
"MIT"
] | 10 | 2020-07-29T00:33:31.000Z | 2022-01-19T21:27:42.000Z | slackminion/tests/fixtures/__init__.py | pranavramesh123/chenckingcode | ce1141b90a766a01bd9b6b0d4f70c143fa7a5855 | [
"MIT"
] | 4 | 2020-12-24T11:24:45.000Z | 2022-02-24T17:24:30.000Z | import unittest
from unittest import mock
from .variables import *
from .objects import *
from .decorators import *
| 16.714286 | 25 | 0.786325 | 15 | 117 | 6.133333 | 0.466667 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162393 | 117 | 6 | 26 | 19.5 | 0.938776 | 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 |
d29bc7fb931aa43b32917fd9c1e36aa6f2b2efcd | 97 | py | Python | startApp/urls.py | LeoAmby/Instagram-Replica | 7c3854becff2ffeff33c7a0f0b71bea0ae3658a9 | [
"MIT"
] | 1 | 2020-06-25T21:57:47.000Z | 2020-06-25T21:57:47.000Z | startApp/urls.py | LeoAmby/Instagram-Replica | 7c3854becff2ffeff33c7a0f0b71bea0ae3658a9 | [
"MIT"
] | 7 | 2019-12-05T00:36:54.000Z | 2022-02-10T11:14:35.000Z | startApp/urls.py | LeoAmby/Instagram-Replica | 7c3854becff2ffeff33c7a0f0b71bea0ae3658a9 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
from django.conf.urls.static import static
| 10.777778 | 42 | 0.773196 | 15 | 97 | 5 | 0.533333 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 97 | 8 | 43 | 12.125 | 0.9375 | 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 |
d2bd62fc9ea2455baf8d0eb5ec2fdb6a34927d5b | 14,606 | py | Python | src/jikken/cli.py | outcastofmusic/jikken | 3d3a67b699c92790b48b84492e98662068e49374 | [
"MIT"
] | 5 | 2017-12-05T17:39:28.000Z | 2021-01-18T19:05:30.000Z | src/jikken/cli.py | outcastofmusic/jikken | 3d3a67b699c92790b48b84492e98662068e49374 | [
"MIT"
] | 1 | 2021-03-25T21:45:41.000Z | 2021-03-25T21:45:41.000Z | src/jikken/cli.py | outcastofmusic/jikken | 3d3a67b699c92790b48b84492e98662068e49374 | [
"MIT"
] | null | null | null | import click
import jikken.api as api
from .setups import ExperimentSetup, MultiStageExperimentSetup
from .data_formater import PrintExperiment
@click.group(context_settings={'help_option_names': ['-h', '--help']})
@click.version_option(version='0.1.0')
def jikken_cli():
"""Run the jikken application"""
pass
... | 52.92029 | 119 | 0.653362 | 1,966 | 14,606 | 4.766022 | 0.10885 | 0.073959 | 0.044397 | 0.035219 | 0.811526 | 0.790181 | 0.772465 | 0.754856 | 0.750587 | 0.741515 | 0 | 0.002065 | 0.2043 | 14,606 | 275 | 120 | 53.112727 | 0.804165 | 0.009722 | 0 | 0.632479 | 0 | 0.008547 | 0.339382 | 0.007065 | 0 | 0 | 0 | 0.003636 | 0.008547 | 1 | 0.068376 | false | 0.029915 | 0.017094 | 0 | 0.08547 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2db43fd027d5246b5bdf24e3c448d1f97250d77 | 203 | py | Python | tests/unit/props/utils/test_is_bool.py | manoadamro/jason | e6a152797cc47fc158b41f1f4b4d55f79d0494f7 | [
"MIT"
] | null | null | null | tests/unit/props/utils/test_is_bool.py | manoadamro/jason | e6a152797cc47fc158b41f1f4b4d55f79d0494f7 | [
"MIT"
] | 136 | 2019-05-15T07:30:47.000Z | 2021-07-19T05:21:39.000Z | tests/unit/props/utils/test_is_bool.py | manoadamro/jason | e6a152797cc47fc158b41f1f4b4d55f79d0494f7 | [
"MIT"
] | 1 | 2019-05-15T10:00:34.000Z | 2019-05-15T10:00:34.000Z | from jason.props import utils
def test_int():
assert utils.is_bool(1) == False
def test_true():
assert utils.is_bool(True) == True
def test_false():
assert utils.is_bool(False) == True
| 14.5 | 39 | 0.679803 | 32 | 203 | 4.125 | 0.4375 | 0.159091 | 0.295455 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0.197044 | 203 | 13 | 40 | 15.615385 | 0.803681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9605026914c03ac9db96b3503c0e1b8db010de04 | 44 | py | Python | src/machinable/engine/__init__.py | machinable-org/machinable | 9d96e942dde05d68699bc7bc0c3d062ee18652ad | [
"MIT"
] | 23 | 2020-02-28T14:29:04.000Z | 2021-12-23T20:50:54.000Z | src/machinable/engine/__init__.py | machinable-org/machinable | 9d96e942dde05d68699bc7bc0c3d062ee18652ad | [
"MIT"
] | 172 | 2020-02-24T12:12:11.000Z | 2022-03-29T03:08:24.000Z | src/machinable/engine/__init__.py | machinable-org/machinable | 9d96e942dde05d68699bc7bc0c3d062ee18652ad | [
"MIT"
] | 1 | 2020-11-23T22:42:20.000Z | 2020-11-23T22:42:20.000Z | from machinable.engine.engine import Engine
| 22 | 43 | 0.863636 | 6 | 44 | 6.333333 | 0.666667 | 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 |
8272df8741cc79dd2a53d5e302d18f2823506592 | 200 | py | Python | app/src/exceptions.py | adamjenkins1/MyTurnCADiscordBot | 0e40de8522927c0a813b592116331591f1ff3a5c | [
"MIT"
] | 9 | 2021-03-13T19:45:52.000Z | 2022-01-14T01:16:58.000Z | app/src/exceptions.py | adamjenkins1/MyTurnCADiscordBot | 0e40de8522927c0a813b592116331591f1ff3a5c | [
"MIT"
] | null | null | null | app/src/exceptions.py | adamjenkins1/MyTurnCADiscordBot | 0e40de8522927c0a813b592116331591f1ff3a5c | [
"MIT"
] | null | null | null | """Contains various custom exceptions"""
from discord.ext import commands
class InvalidZipCode(commands.BadArgument):
"""Exception to be thrown if the provided zip code was not valid"""
pass | 28.571429 | 71 | 0.755 | 26 | 200 | 5.807692 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 200 | 7 | 72 | 28.571429 | 0.89881 | 0.48 | 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 |
8279530e710d92bbf63fe5af1bc788d43c43b2fc | 7,847 | py | Python | lab5/DeanerySystem/minitest.py | R3zn0w/blue-rapier | 84cdc33e1e327c0a402a4d2e29a8d6f5cda95e9b | [
"MIT"
] | null | null | null | lab5/DeanerySystem/minitest.py | R3zn0w/blue-rapier | 84cdc33e1e327c0a402a4d2e29a8d6f5cda95e9b | [
"MIT"
] | null | null | null | lab5/DeanerySystem/minitest.py | R3zn0w/blue-rapier | 84cdc33e1e327c0a402a4d2e29a8d6f5cda95e9b | [
"MIT"
] | null | null | null | from datetime import time
import unittest
from term import Term
from day import Day
from lesson import Lesson
from teacher import Teacher
from timetable1 import Timetable1
from break_module import Break
from timetable2 import Timetable2
class Test_Term(unittest.TestCase):
# testy zad z zaj
# def test_string... | 43.353591 | 74 | 0.65388 | 849 | 7,847 | 6.001178 | 0.114252 | 0.037684 | 0.027478 | 0.028263 | 0.835329 | 0.828656 | 0.814917 | 0.795682 | 0.766241 | 0.754465 | 0 | 0.080284 | 0.226966 | 7,847 | 180 | 75 | 43.594444 | 0.759644 | 0.670447 | 0 | 0.636364 | 0 | 0 | 0.067769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.204545 | 0 | 0.272727 | 0.045455 | 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 |
8290f7a26b473e052893ce8c85da8dd4d4fc2e9d | 84 | py | Python | Detection/utils/__init__.py | eyov7/CV_LTH_Pre-training-LLNL | bb18ba2093328aeb4e5ab3929f2749264ef3c981 | [
"MIT"
] | 47 | 2020-12-15T03:40:50.000Z | 2022-03-30T03:38:29.000Z | Detection/utils/__init__.py | eyov7/CV_LTH_Pre-training-LLNL | bb18ba2093328aeb4e5ab3929f2749264ef3c981 | [
"MIT"
] | 1 | 2021-11-29T12:00:56.000Z | 2021-11-30T04:07:28.000Z | Detection/utils/__init__.py | eyov7/CV_LTH_Pre-training-LLNL | bb18ba2093328aeb4e5ab3929f2749264ef3c981 | [
"MIT"
] | 10 | 2021-03-17T01:28:57.000Z | 2022-02-24T20:23:57.000Z | from .datasets import Build_Dataset
from .import datasets
from . import data_augment | 28 | 35 | 0.845238 | 12 | 84 | 5.75 | 0.583333 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 84 | 3 | 36 | 28 | 0.932432 | 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 |
7d76d08fe4b7dc11a41d97158dacb0a99247c0d5 | 100 | py | Python | gspread_formatting/__init__.py | sako0938/gspread-formatting | f4d7c26b3ab0d35276cecbbc7e0a7dfb17965afd | [
"MIT"
] | null | null | null | gspread_formatting/__init__.py | sako0938/gspread-formatting | f4d7c26b3ab0d35276cecbbc7e0a7dfb17965afd | [
"MIT"
] | null | null | null | gspread_formatting/__init__.py | sako0938/gspread-formatting | f4d7c26b3ab0d35276cecbbc7e0a7dfb17965afd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .functions import *
from .models import *
from .conditionals import *
| 16.666667 | 27 | 0.67 | 12 | 100 | 5.583333 | 0.666667 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.18 | 100 | 5 | 28 | 20 | 0.804878 | 0.21 | 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 |
7df2d7058fa1cd83d74dca0e57b962b16383ff52 | 87 | py | Python | gym_cartpole_continuous/envs/__init__.py | koulanurag/gym-cartpole-continuous | 344afd71686866586db4d4131a77c6ec858a5d5a | [
"MIT"
] | 5 | 2020-02-10T19:05:03.000Z | 2022-02-22T01:41:02.000Z | gym_cartpole_continuous/envs/__init__.py | koulanurag/gym-cartpole-continuous | 344afd71686866586db4d4131a77c6ec858a5d5a | [
"MIT"
] | null | null | null | gym_cartpole_continuous/envs/__init__.py | koulanurag/gym-cartpole-continuous | 344afd71686866586db4d4131a77c6ec858a5d5a | [
"MIT"
] | null | null | null | from gym_cartpole_continuous.envs.cartpole_continuous_env import CartPoleContinuousEnv
| 43.5 | 86 | 0.931034 | 10 | 87 | 7.7 | 0.8 | 0.467532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 87 | 1 | 87 | 87 | 0.927711 | 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 |
816714713d777ee247dba747180cfbce4130ab8e | 20 | py | Python | abuse/__init__.py | notmehul/abuse | 8dca41f67b6a5874b1e2b113ad7abfd152399d8c | [
"WTFPL"
] | 20 | 2018-09-28T14:32:44.000Z | 2019-04-12T15:17:11.000Z | abuse/__init__.py | notmehul/abuse | 8dca41f67b6a5874b1e2b113ad7abfd152399d8c | [
"WTFPL"
] | 17 | 2018-09-28T12:31:45.000Z | 2018-12-25T18:32:23.000Z | abuse/__init__.py | notmehul/abuse | 8dca41f67b6a5874b1e2b113ad7abfd152399d8c | [
"WTFPL"
] | 23 | 2018-09-28T18:31:23.000Z | 2018-11-19T22:55:35.000Z | from .abuse import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
817ebfd462c602b8041af537d7f3feb15983f0a4 | 29 | py | Python | dlutils/models/__init__.py | fmi-basel/dl-utils | 15bbb7672314d72abc7c3f7fc86655401cde5eb6 | [
"MIT"
] | null | null | null | dlutils/models/__init__.py | fmi-basel/dl-utils | 15bbb7672314d72abc7c3f7fc86655401cde5eb6 | [
"MIT"
] | 1 | 2021-03-10T10:53:59.000Z | 2021-03-10T10:53:59.000Z | dlutils/models/__init__.py | fmi-basel/dl-utils | 15bbb7672314d72abc7c3f7fc86655401cde5eb6 | [
"MIT"
] | null | null | null | from .load import load_model
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4d3826e946e2d07151c511a9fefc3479921edcf | 49 | py | Python | src/workout/forms.py | srijanss/myapps | c026935ac99bc089f3994c81034e4bfd18f98a92 | [
"MIT"
] | null | null | null | src/workout/forms.py | srijanss/myapps | c026935ac99bc089f3994c81034e4bfd18f98a92 | [
"MIT"
] | 6 | 2020-06-05T23:46:11.000Z | 2022-02-10T08:24:40.000Z | src/workout/forms.py | srijanss/myapps | c026935ac99bc089f3994c81034e4bfd18f98a92 | [
"MIT"
] | null | null | null | from django import forms
# Create forms here
| 12.25 | 25 | 0.734694 | 7 | 49 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244898 | 49 | 3 | 26 | 16.333333 | 0.972973 | 0.346939 | 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 |
c4d6a6eefba7b8eba28688de8ea226fa8b2d09d0 | 300 | py | Python | {{ cookiecutter.github_project_name }}/{{ cookiecutter.project_slug }}/apps.py | Nekmo/cookiecutter-django-backend | 25f2d930044b6c1f9f34584b7cc59b82a6c1d6e3 | [
"MIT"
] | 11 | 2019-03-22T18:20:41.000Z | 2022-02-16T21:46:14.000Z | {{ cookiecutter.github_project_name }}/{{ cookiecutter.project_slug }}/apps.py | Nekmo/cookiecutter-django-backend | 25f2d930044b6c1f9f34584b7cc59b82a6c1d6e3 | [
"MIT"
] | 5 | 2020-04-11T22:39:04.000Z | 2021-03-11T21:57:12.000Z | {{ cookiecutter.github_project_name }}/{{ cookiecutter.project_slug }}/apps.py | Nekmo/cookiecutter-django-backend | 25f2d930044b6c1f9f34584b7cc59b82a6c1d6e3 | [
"MIT"
] | 3 | 2019-09-30T17:25:14.000Z | 2020-07-07T23:03:01.000Z | from django.apps import AppConfig
class {{ cookiecutter.project_slug.title().replace('_', '') }}AppConfig(AppConfig):
name = '{{ cookiecutter.project_slug }}'
def ready(self):
# noinspection PyUnresolvedReferences
from {{ cookiecutter.project_slug }} import celery # noqa
| 30 | 83 | 0.69 | 29 | 300 | 7 | 0.655172 | 0.280788 | 0.339901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 300 | 9 | 84 | 33.333333 | 0.828571 | 0.133333 | 0 | 0 | 0 | 0 | 0.124514 | 0.097276 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4805526df49d70e9b049178747b5c235d1f1ce93 | 8,299 | py | Python | src/system_of_equations/iterative_methods.py | jestra52/supor-numerical-analysis-api | 3cebc86cf2bba95789de1cb45232aaad182f332f | [
"MIT"
] | 1 | 2020-06-09T17:18:01.000Z | 2020-06-09T17:18:01.000Z | src/system_of_equations/iterative_methods.py | jestra52/supor-numerical-analysis-api | 3cebc86cf2bba95789de1cb45232aaad182f332f | [
"MIT"
] | null | null | null | src/system_of_equations/iterative_methods.py | jestra52/supor-numerical-analysis-api | 3cebc86cf2bba95789de1cb45232aaad182f332f | [
"MIT"
] | null | null | null | from shared import util
import copy
import math as mt
import numpy as np
import threading
class IterativeMethods():
def gauss_seidel(self, A, b, iterations, tol, l, xi, is_rel_error):
x = copy.deepcopy(xi)
result = {
'error': False,
'errorMessage': None,
'n': 0,
... | 35.618026 | 116 | 0.460176 | 988 | 8,299 | 3.813765 | 0.124494 | 0.008493 | 0.034501 | 0.026274 | 0.806529 | 0.803609 | 0.788217 | 0.773355 | 0.761147 | 0.755308 | 0 | 0.03201 | 0.40523 | 8,299 | 232 | 117 | 35.771552 | 0.731361 | 0.001325 | 0 | 0.699507 | 0 | 0 | 0.171835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.024631 | 0 | 0.1133 | 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 |
48152c313c6030ad7d522afb5a0cbf68399aafd6 | 26 | py | Python | cogs/specialized/ref/__init__.py | cwstra/rpdiscordrewrite | b1b25a19026630a6db59cf6d7f9cda66c4c92c48 | [
"MIT"
] | 1 | 2020-12-06T19:22:31.000Z | 2020-12-06T19:22:31.000Z | cogs/specialized/ref/__init__.py | cwstra/rpdiscordrewrite | b1b25a19026630a6db59cf6d7f9cda66c4c92c48 | [
"MIT"
] | null | null | null | cogs/specialized/ref/__init__.py | cwstra/rpdiscordrewrite | b1b25a19026630a6db59cf6d7f9cda66c4c92c48 | [
"MIT"
] | null | null | null | from .sqlref import Server | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
486cab7389e349fd4284ef9711df9d18be599f8c | 6,201 | py | Python | ta/tests/trend.py | CrossfireX/ta | 1918c55560a092ba305c380abf7539432abec200 | [
"MIT"
] | null | null | null | ta/tests/trend.py | CrossfireX/ta | 1918c55560a092ba305c380abf7539432abec200 | [
"MIT"
] | null | null | null | ta/tests/trend.py | CrossfireX/ta | 1918c55560a092ba305c380abf7539432abec200 | [
"MIT"
] | null | null | null | import pandas as pd
from ta.tests.utils import TestIndicator
from ta.trend import (MACD, ADXIndicator, CCIIndicator, VortexIndicator, adx,
adx_neg, adx_pos, cci, macd, macd_diff, macd_signal,
vortex_indicator_neg, vortex_indicator_pos)
class TestADXIndicator(TestIndicator)... | 43.669014 | 118 | 0.657636 | 860 | 6,201 | 4.488372 | 0.104651 | 0.093264 | 0.051295 | 0.074611 | 0.85 | 0.827202 | 0.784197 | 0.784197 | 0.784197 | 0.784197 | 0 | 0.016976 | 0.183035 | 6,201 | 141 | 119 | 43.978723 | 0.744966 | 0.065796 | 0 | 0.479592 | 0 | 0 | 0.066992 | 0.017446 | 0 | 0 | 0 | 0 | 0.183673 | 1 | 0.183673 | false | 0 | 0.030612 | 0 | 0.295918 | 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 |
48784db3e496dc4b608d082ed2987940a2abce7b | 22 | py | Python | modules/VoiceMessage/__init__.py | 4USE/davloshara | 7e88b344b2b3ab8a2ff82a6aa84a7058fb0d6624 | [
"MIT"
] | null | null | null | modules/VoiceMessage/__init__.py | 4USE/davloshara | 7e88b344b2b3ab8a2ff82a6aa84a7058fb0d6624 | [
"MIT"
] | null | null | null | modules/VoiceMessage/__init__.py | 4USE/davloshara | 7e88b344b2b3ab8a2ff82a6aa84a7058fb0d6624 | [
"MIT"
] | null | null | null | from .run import Main
| 11 | 21 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 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 |
6fdc00619f106fe3c4a64b87a86b5d0e3f90fbb5 | 31 | py | Python | app/filesystem/__init__.py | FirinKinuo/video-server-operator | 4cef7ae6306dbfd000225c4bafd95c69a6f05d06 | [
"MIT"
] | 3 | 2021-08-07T23:12:13.000Z | 2021-09-20T08:20:02.000Z | app/filesystem/__init__.py | FirinKinuo/video-server-operator | 4cef7ae6306dbfd000225c4bafd95c69a6f05d06 | [
"MIT"
] | null | null | null | app/filesystem/__init__.py | FirinKinuo/video-server-operator | 4cef7ae6306dbfd000225c4bafd95c69a6f05d06 | [
"MIT"
] | null | null | null | from .watchdog import Watchdog
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
b50b742b23654c4e42757a36d35d19bf113918cb | 107 | py | Python | pal/gadget/rust/__init__.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 26 | 2020-01-06T23:53:17.000Z | 2022-02-01T08:58:21.000Z | pal/gadget/rust/__init__.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 30 | 2019-11-13T00:55:22.000Z | 2022-01-06T08:09:35.000Z | pal/gadget/rust/__init__.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 14 | 2019-11-15T16:56:22.000Z | 2021-12-22T10:14:17.000Z | from .function_definition import function_definition
from .extern import extern
from .unsafe import unsafe
| 26.75 | 52 | 0.859813 | 14 | 107 | 6.428571 | 0.428571 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 3 | 53 | 35.666667 | 0.947368 | 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 |
b514930a2a9892db314ac25649beadd2ed0046a3 | 42 | py | Python | scripts/data_processing/XRF/__init__.py | fang-ren/segmentation_CoFeZr | 072b5fdde332ba0211189723494d172c36999e93 | [
"BSD-3-Clause-LBNL"
] | null | null | null | scripts/data_processing/XRF/__init__.py | fang-ren/segmentation_CoFeZr | 072b5fdde332ba0211189723494d172c36999e93 | [
"BSD-3-Clause-LBNL"
] | null | null | null | scripts/data_processing/XRF/__init__.py | fang-ren/segmentation_CoFeZr | 072b5fdde332ba0211189723494d172c36999e93 | [
"BSD-3-Clause-LBNL"
] | null | null | null | """
author: Fang Ren (SSRL)
3/21/2017
""" | 8.4 | 23 | 0.571429 | 7 | 42 | 3.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 42 | 5 | 24 | 8.4 | 0.485714 | 0.809524 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d223b672d2e89ba3a3888d2475a80f45d7a0cdc3 | 767 | py | Python | mooc50-bobo-DS/pythonNicemayi/chapter_12_AVLTree/base.py | yaominzh/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | 2 | 2021-03-25T05:26:55.000Z | 2021-04-20T03:33:24.000Z | mooc50-bobo-DS/pythonNicemayi/chapter_12_AVLTree/base.py | mcuallen/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | 6 | 2019-12-04T06:08:32.000Z | 2021-05-10T20:22:47.000Z | mooc50-bobo-DS/pythonNicemayi/chapter_12_AVLTree/base.py | mcuallen/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | null | null | null | class SetBase:
def add(self, e):
raise NotImplementedError
def remove(self, e):
raise NotImplementedError
def contains(self, e):
raise NotImplementedError
def get_size(self):
raise NotImplementedError
def is_empty(self):
raise NotImplementedError
class M... | 20.184211 | 33 | 0.654498 | 78 | 767 | 6.384615 | 0.24359 | 0.578313 | 0.542169 | 0.174699 | 0.903614 | 0.504016 | 0.401606 | 0.401606 | 0.401606 | 0.401606 | 0 | 0 | 0.28292 | 767 | 38 | 34 | 20.184211 | 0.905455 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d26a4185933bd92d33f687c6f25e667bff323120 | 7,181 | py | Python | neural_models.py | MMesgar/Obfuscated-Text-Classification | 6853db25e014f60b6dd5e7ef02800c93676380be | [
"MIT"
] | null | null | null | neural_models.py | MMesgar/Obfuscated-Text-Classification | 6853db25e014f60b6dd5e7ef02800c93676380be | [
"MIT"
] | null | null | null | neural_models.py | MMesgar/Obfuscated-Text-Classification | 6853db25e014f60b6dd5e7ef02800c93676380be | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
import numpy as np
class MLPClassifier(nn.Module):
def __init__(self,batch_size, vocab_size):
super(MLPClassifier, self).__init__()
self.batch_size = batch_size
self.output_size = 12
... | 30.952586 | 124 | 0.586409 | 972 | 7,181 | 4.130658 | 0.160494 | 0.026899 | 0.029888 | 0.025405 | 0.783562 | 0.776588 | 0.760149 | 0.749689 | 0.736737 | 0.736737 | 0 | 0.025828 | 0.293692 | 7,181 | 231 | 125 | 31.08658 | 0.765773 | 0.059184 | 0 | 0.728477 | 0 | 0 | 0.027609 | 0.007719 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05298 | false | 0 | 0.033113 | 0 | 0.139073 | 0.013245 | 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 |
d2840ebaf0f468a435e55aabecbe523272d62184 | 73,752 | py | Python | src/genie/libs/parser/iosxe/tests/test_show_lldp.py | ngrundler/genieparser | a78dfde72042744d4ea559f87cb014821d9a305a | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/test_show_lldp.py | ngrundler/genieparser | a78dfde72042744d4ea559f87cb014821d9a305a | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/test_show_lldp.py | ngrundler/genieparser | a78dfde72042744d4ea559f87cb014821d9a305a | [
"Apache-2.0"
] | null | null | null | #!/bin/env python
import unittest
from unittest.mock import Mock
from pyats.topology import Device
from genie.metaparser.util.exceptions import SchemaEmptyParserError,\
SchemaMissingKeyError
from genie.libs.parser.iosxe.show_lldp import ShowLldp, ShowLldpEntry, \
... | 41.833239 | 308 | 0.424192 | 6,102 | 73,752 | 5.025565 | 0.064569 | 0.043664 | 0.017935 | 0.036392 | 0.913455 | 0.87791 | 0.86366 | 0.847453 | 0.842757 | 0.83467 | 0 | 0.080472 | 0.46857 | 73,752 | 1,762 | 309 | 41.856981 | 0.701944 | 0.000217 | 0 | 0.695975 | 0 | 0.021672 | 0.549014 | 0.039073 | 0 | 0 | 0 | 0 | 0.008669 | 1 | 0.008669 | false | 0 | 0.003096 | 0 | 0.035294 | 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 |
962994d57b029016ac0bd413825381ccb5982788 | 2,851 | py | Python | rlberry/agents/torch/tests/test_a2c.py | AleShi94/rlberry | e4065bb16d1fd8678632944d5f6145509aac5255 | [
"MIT"
] | null | null | null | rlberry/agents/torch/tests/test_a2c.py | AleShi94/rlberry | e4065bb16d1fd8678632944d5f6145509aac5255 | [
"MIT"
] | 2 | 2021-11-17T02:18:58.000Z | 2022-02-01T14:51:48.000Z | rlberry/agents/torch/tests/test_a2c.py | omardrwch/rlberry | c4d016b85da50df772c6e52773fa3d283c5e312c | [
"MIT"
] | null | null | null | from rlberry.envs import Wrapper
from rlberry.agents.torch import A2CAgent
from rlberry.manager import AgentManager, evaluate_agents
from rlberry.envs.benchmarks.ball_exploration import PBall2D
from gym import make
def test_a2c():
env = "CartPole-v0"
mdp = make(env)
env_ctor = Wrapper
env_kwargs = di... | 27.152381 | 87 | 0.616976 | 333 | 2,851 | 4.978979 | 0.21021 | 0.144753 | 0.031363 | 0.084439 | 0.804584 | 0.804584 | 0.804584 | 0.747889 | 0.747889 | 0.747889 | 0 | 0.028893 | 0.28376 | 2,851 | 104 | 88 | 27.413462 | 0.783056 | 0.007366 | 0 | 0.697674 | 0 | 0 | 0.085926 | 0.041018 | 0.011628 | 0 | 0 | 0 | 0 | 1 | 0.011628 | false | 0 | 0.05814 | 0 | 0.069767 | 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 |
965150c9b8ad50e4562ced8f6d8df7d569955745 | 119 | py | Python | tests/test_transformations.py | ahmedbelgacem/TunAugmentor | a18c3ee4be985ebf621b4caf59c0c8c2c52ef3cd | [
"MIT"
] | null | null | null | tests/test_transformations.py | ahmedbelgacem/TunAugmentor | a18c3ee4be985ebf621b4caf59c0c8c2c52ef3cd | [
"MIT"
] | null | null | null | tests/test_transformations.py | ahmedbelgacem/TunAugmentor | a18c3ee4be985ebf621b4caf59c0c8c2c52ef3cd | [
"MIT"
] | 1 | 2021-12-23T16:56:26.000Z | 2021-12-23T16:56:26.000Z | from TunAugmentor import transformations
def test_transform1():
assert transformations.transform1('mahdi')=='mahdi' | 39.666667 | 55 | 0.806723 | 12 | 119 | 7.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.092437 | 119 | 3 | 55 | 39.666667 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 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 |
9661a28eda4e713a35de34de3a8f5f2889dcbef4 | 308 | py | Python | helloworld.py | windloid/PythonExamples | 6a9d1d79cb9e58dd46b2b0e1a708f7cda94ff6a5 | [
"MIT"
] | 3 | 2020-05-22T09:16:02.000Z | 2022-02-08T20:20:51.000Z | helloworld.py | windloid/PythonExamples | 6a9d1d79cb9e58dd46b2b0e1a708f7cda94ff6a5 | [
"MIT"
] | 5 | 2021-03-19T10:08:49.000Z | 2022-03-12T00:11:19.000Z | helloworld.py | windloid/PythonExamples | 6a9d1d79cb9e58dd46b2b0e1a708f7cda94ff6a5 | [
"MIT"
] | 4 | 2020-05-22T09:16:04.000Z | 2021-08-20T13:42:41.000Z | print("Hello World!")
print("make sure to use the same type of quotes(quotation marks or apostrophes)at the end that you used at the start")
# in c -> printf("Hello World!");
# in java -> System.out.println("Hello World!");
# in c++ -> cout << "Hello World";
# in javascript - > console.log("Hello World");
| 38.5 | 118 | 0.675325 | 49 | 308 | 4.244898 | 0.673469 | 0.240385 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162338 | 308 | 7 | 119 | 44 | 0.806202 | 0.50974 | 0 | 0 | 0 | 0.5 | 0.828767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
73845dff76ce63882aa39402778d2b6746444fe5 | 146 | py | Python | scrapli_community/siemens/roxii/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 37 | 2020-11-13T20:50:30.000Z | 2022-03-25T16:15:28.000Z | scrapli_community/siemens/roxii/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 84 | 2020-08-02T16:20:15.000Z | 2022-03-02T14:38:26.000Z | scrapli_community/siemens/roxii/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 25 | 2020-08-01T23:51:37.000Z | 2022-02-21T10:06:33.000Z | """scrapli_community.siemens.roxii"""
from scrapli_community.siemens.roxii.siemens_roxii import SCRAPLI_PLATFORM
__all__ = ("SCRAPLI_PLATFORM",)
| 29.2 | 74 | 0.821918 | 17 | 146 | 6.529412 | 0.470588 | 0.324324 | 0.414414 | 0.504505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061644 | 146 | 4 | 75 | 36.5 | 0.810219 | 0.212329 | 0 | 0 | 0 | 0 | 0.146789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
738a9cbbb7c68cbe4670b14df1a183853a2636f3 | 326 | py | Python | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Methods/Aerodynamics/Fidelity_Zero/Lift/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Methods/Aerodynamics/Fidelity_Zero/Lift/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Methods/Aerodynamics/Fidelity_Zero/Lift/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | ## @defgroup Methods-Aerodynamics-Fidelity_Zero-Lift Lift
# Functions to perform low-fidelity lift calculations
# @ingroup Methods-Aerodynamics-Fidelity_Zero
from .compute_max_lift_coeff import compute_max_lift_coeff
from .compute_flap_lift import compute_flap_lift
from .compute_slat_lift import compute_slat... | 40.75 | 58 | 0.840491 | 45 | 326 | 5.733333 | 0.422222 | 0.127907 | 0.209302 | 0.24031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113497 | 326 | 7 | 59 | 46.571429 | 0.892734 | 0.460123 | 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 |
73ae203ba7c7f7af5be740a88b2ebf560dc422cd | 149 | py | Python | docker_images/timm/app/pipelines/__init__.py | huggingface/api-inference-community | 5edcd6aecbb14fefc74755ac929ab9cf29ac841a | [
"Apache-2.0"
] | 2 | 2022-03-24T19:41:23.000Z | 2022-03-25T10:41:26.000Z | docker_images/keras/app/pipelines/__init__.py | huggingface/api-inference-community | 5edcd6aecbb14fefc74755ac929ab9cf29ac841a | [
"Apache-2.0"
] | 6 | 2022-03-16T12:51:45.000Z | 2022-03-17T08:40:35.000Z | docker_images/timm/app/pipelines/__init__.py | huggingface/api-inference-community | 5edcd6aecbb14fefc74755ac929ab9cf29ac841a | [
"Apache-2.0"
] | null | null | null | from app.pipelines.base import Pipeline, PipelineException # isort:skip
from app.pipelines.image_classification import ImageClassificationPipeline
| 37.25 | 74 | 0.865772 | 16 | 149 | 8 | 0.75 | 0.109375 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087248 | 149 | 3 | 75 | 49.666667 | 0.941176 | 0.067114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73dd384eb8b5a044bb85de5c19f70e616eaeeb8c | 206 | py | Python | genshin_wishes/__init__.py | EYH0602/Genshin_Impact_Wishes_Analyzer | ee178cd7fde995a5ca1b979f97a6b77af912a86a | [
"MIT"
] | null | null | null | genshin_wishes/__init__.py | EYH0602/Genshin_Impact_Wishes_Analyzer | ee178cd7fde995a5ca1b979f97a6b77af912a86a | [
"MIT"
] | 4 | 2021-09-08T05:38:09.000Z | 2021-09-19T16:32:50.000Z | genshin_wishes/__init__.py | EYH0602/Genshin_Impact_Wishes_Analyzer | ee178cd7fde995a5ca1b979f97a6b77af912a86a | [
"MIT"
] | null | null | null | from .wishes_base import WishesBase
from .character_wishes import CharacterWishes
from .novice_wishes import NoviceWishes
from .standard_wishes import StandardWishes
from .weapon_wishes import WeaponWishes
| 34.333333 | 45 | 0.878641 | 25 | 206 | 7.04 | 0.52 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097087 | 206 | 5 | 46 | 41.2 | 0.946237 | 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 |
fb7824632d52f1352e3a4a25e930bcb1e6c123f3 | 282 | py | Python | apps/checkout/exceptions.py | amyhoo/django-oscar-alipay | eacad65416428c6e09974219487a206577d34312 | [
"BSD-3-Clause"
] | 59 | 2015-08-29T10:51:34.000Z | 2021-11-03T10:00:25.000Z | apps/checkout/exceptions.py | amyhoo/django-oscar-alipay | eacad65416428c6e09974219487a206577d34312 | [
"BSD-3-Clause"
] | 4 | 2015-09-02T08:55:42.000Z | 2017-05-15T10:33:00.000Z | apps/checkout/exceptions.py | amyhoo/django-oscar-alipay | eacad65416428c6e09974219487a206577d34312 | [
"BSD-3-Clause"
] | 22 | 2015-08-10T10:46:18.000Z | 2020-04-04T07:11:55.000Z | #######################################################################################
# RedirectSessionMixin未被恰当在view中调用
#######################################################################################
class NotInViewException(Exception):
'''Base Alipay Exception'''
| 35.25 | 87 | 0.294326 | 7 | 282 | 11.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053191 | 282 | 7 | 88 | 40.285714 | 0.310861 | 0.195035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8389701c2328f0a48c098a8158c5558e4f9116e1 | 30 | py | Python | file1.py | mettatarun/Pyneta | 6b2caa5191b8de8b533b5516036ea6b0a77824d8 | [
"Apache-2.0"
] | null | null | null | file1.py | mettatarun/Pyneta | 6b2caa5191b8de8b533b5516036ea6b0a77824d8 | [
"Apache-2.0"
] | null | null | null | file1.py | mettatarun/Pyneta | 6b2caa5191b8de8b533b5516036ea6b0a77824d8 | [
"Apache-2.0"
] | null | null | null | print ("Hello WORLD, States")
| 15 | 29 | 0.7 | 4 | 30 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
83e71d8e19883f87c28b4852f1e67642a60cafda | 3,037 | py | Python | skdecide/builders/scheduling/time_lag.py | galleon/bug-free-invention | 37bcea112da39d1390ff2b30951b36ee5dbc0e6d | [
"MIT"
] | null | null | null | skdecide/builders/scheduling/time_lag.py | galleon/bug-free-invention | 37bcea112da39d1390ff2b30951b36ee5dbc0e6d | [
"MIT"
] | null | null | null | skdecide/builders/scheduling/time_lag.py | galleon/bug-free-invention | 37bcea112da39d1390ff2b30951b36ee5dbc0e6d | [
"MIT"
] | null | null | null | from __future__ import annotations
from typing import Dict
__all__ = ['TimeLag', 'MinimumOnlyTimeLag', 'MaximumOnlyTimeLag', 'WithTimeLag', 'WithoutTimeLag']
class TimeLag:
"""Defines a time lag with both a minimum time lag and maximum time lag."""
def __init__(self, minimum_time_lag, maximum_time_lags):
... | 33.373626 | 115 | 0.613434 | 397 | 3,037 | 4.539043 | 0.20403 | 0.050499 | 0.069922 | 0.033296 | 0.778024 | 0.775805 | 0.758047 | 0.73141 | 0.663152 | 0.613208 | 0 | 0.018678 | 0.312479 | 3,037 | 90 | 116 | 33.744444 | 0.844349 | 0.532763 | 0 | 0.26087 | 0 | 0 | 0.063021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.086957 | 0 | 0.652174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
83e779c6d917f81b075856c917c1752b951ed9cd | 45 | py | Python | pykrita/tabui/__init__.py | tokyogeometry/tabui | 88efa679eaf1865c843d40fea137d9f8f94d0649 | [
"Unlicense"
] | 3 | 2018-12-17T13:10:40.000Z | 2021-03-06T07:17:56.000Z | pykrita/tabui/__init__.py | tokyogeometry/tabui | 88efa679eaf1865c843d40fea137d9f8f94d0649 | [
"Unlicense"
] | null | null | null | pykrita/tabui/__init__.py | tokyogeometry/tabui | 88efa679eaf1865c843d40fea137d9f8f94d0649 | [
"Unlicense"
] | null | null | null | # let's make a module
from .tabui import *
| 15 | 22 | 0.666667 | 8 | 45 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 45 | 2 | 23 | 22.5 | 0.882353 | 0.422222 | 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 |
f7b1b6532181d48edbcf063429cba209cdcb823d | 29,046 | py | Python | teospy/iceair4b.py | jarethholt/teospy | 3bb23e67bbb765c0842aa8d4a73c1d55ea395d2f | [
"MIT"
] | null | null | null | teospy/iceair4b.py | jarethholt/teospy | 3bb23e67bbb765c0842aa8d4a73c1d55ea395d2f | [
"MIT"
] | null | null | null | teospy/iceair4b.py | jarethholt/teospy | 3bb23e67bbb765c0842aa8d4a73c1d55ea395d2f | [
"MIT"
] | null | null | null | """Icy air Gibbs energy and related properties.
This module provides the Gibbs function for ice-saturated (icy) air and
related thermodynamic properties. The primary variables are the total
dry air fraction, temperature, and pressure. The 'total' fraction here
is the mass fraction of dry air in the total parcel (inclu... | 41.083451 | 80 | 0.66739 | 4,469 | 29,046 | 4.258447 | 0.058402 | 0.01114 | 0.02312 | 0.029426 | 0.850139 | 0.833219 | 0.820871 | 0.798802 | 0.781567 | 0.778992 | 0 | 0.038808 | 0.236177 | 29,046 | 706 | 81 | 41.141643 | 0.818985 | 0.633134 | 0 | 0.462687 | 0 | 0 | 0.047517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049751 | false | 0 | 0.039801 | 0 | 0.208955 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.