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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f6127632022f5cc00e048d1782b414138296778b | 25,336 | py | Python | tests/reference_tests.py | webclinic017/polygon | bddbb6ab7a250d3a40f88c8973484c399b72d7d5 | [
"MIT"
] | null | null | null | tests/reference_tests.py | webclinic017/polygon | bddbb6ab7a250d3a40f88c8973484c399b72d7d5 | [
"MIT"
] | null | null | null | tests/reference_tests.py | webclinic017/polygon | bddbb6ab7a250d3a40f88c8973484c399b72d7d5 | [
"MIT"
] | null | null | null | # ========================================================= #
import unittest
import polygon
from polygon import cred
import datetime
from requests.models import Response
import asyncio
from httpx import Response as HttpxResponse
import polygon.enums as enums
# ========================================================= ... | 41.602627 | 120 | 0.62796 | 2,784 | 25,336 | 5.571121 | 0.044899 | 0.167634 | 0.087041 | 0.097228 | 0.952547 | 0.935719 | 0.91844 | 0.907672 | 0.895745 | 0.872534 | 0 | 0.017194 | 0.247079 | 25,336 | 608 | 121 | 41.671053 | 0.795869 | 0.041522 | 0 | 0.755991 | 0 | 0 | 0.033991 | 0 | 0 | 0 | 0 | 0 | 0.470588 | 1 | 0.03268 | false | 0 | 0.017429 | 0 | 0.056645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f64ac8ffeace3807f7c53a8ed1d1414948d44f90 | 81 | py | Python | tests/test_Time-for-an-Adventure.py | EthanKubistek/Time_for_an_Adventure | ab6fa19e9054f710043c3c22b354fd2123defd0d | [
"MIT"
] | null | null | null | tests/test_Time-for-an-Adventure.py | EthanKubistek/Time_for_an_Adventure | ab6fa19e9054f710043c3c22b354fd2123defd0d | [
"MIT"
] | null | null | null | tests/test_Time-for-an-Adventure.py | EthanKubistek/Time_for_an_Adventure | ab6fa19e9054f710043c3c22b354fd2123defd0d | [
"MIT"
] | null | null | null | import Time_for_an_Adventure
def test_import():
assert Time_for_an_Adventure | 20.25 | 32 | 0.839506 | 13 | 81 | 4.692308 | 0.615385 | 0.229508 | 0.295082 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 81 | 4 | 32 | 20.25 | 0.859155 | 0 | 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 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
f65de89b311f36e23a144e22129c28607ba7a7bd | 128 | py | Python | week_2/atribuicao_aumentada.py | angelitabrg/lih_lab_python2 | 88d19d20704552e1a82c29793073e59dcf4b78c6 | [
"MIT"
] | null | null | null | week_2/atribuicao_aumentada.py | angelitabrg/lih_lab_python2 | 88d19d20704552e1a82c29793073e59dcf4b78c6 | [
"MIT"
] | null | null | null | week_2/atribuicao_aumentada.py | angelitabrg/lih_lab_python2 | 88d19d20704552e1a82c29793073e59dcf4b78c6 | [
"MIT"
] | null | null | null | '''
2 - Atribuição aumentada (ex.: x += 5):
x = 10
x = x + 10 # x=20
x += 10 # x=30
x *= 2 # x=60
x = 2
x **= 10 # x=1024
''' | 10.666667 | 39 | 0.429688 | 27 | 128 | 2.037037 | 0.407407 | 0.218182 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.3125 | 128 | 12 | 40 | 10.666667 | 0.375 | 0.929688 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
14398dc8ccf97a0e8e9ab64ce5e4e82761fd73be | 140 | py | Python | allelicimbalance/__init__.py | anthony-aylward/allelicimbalance | 8d2ae5d08048e2a0358936ded00f5122f97c2586 | [
"MIT"
] | null | null | null | allelicimbalance/__init__.py | anthony-aylward/allelicimbalance | 8d2ae5d08048e2a0358936ded00f5122f97c2586 | [
"MIT"
] | null | null | null | allelicimbalance/__init__.py | anthony-aylward/allelicimbalance | 8d2ae5d08048e2a0358936ded00f5122f97c2586 | [
"MIT"
] | null | null | null | from allelicimbalance.allelicimbalance import betabinom_test
from allelicimbalance.allelicimbalance import log_posterior_allelic_fold_change | 70 | 79 | 0.935714 | 15 | 140 | 8.4 | 0.666667 | 0.31746 | 0.571429 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 140 | 2 | 79 | 70 | 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 | 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 | 8 |
145596c508e92da21e16fd89b3d43ff6d361e87b | 553 | py | Python | capstone/workout_journal/frontend/views.py | jeffisnotahero/cs50w-final | bcc9e28934b66ad15ef78672b6f1a2dd01def5b8 | [
"BSD-3-Clause"
] | null | null | null | capstone/workout_journal/frontend/views.py | jeffisnotahero/cs50w-final | bcc9e28934b66ad15ef78672b6f1a2dd01def5b8 | [
"BSD-3-Clause"
] | null | null | null | capstone/workout_journal/frontend/views.py | jeffisnotahero/cs50w-final | bcc9e28934b66ad15ef78672b6f1a2dd01def5b8 | [
"BSD-3-Clause"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'frontend/index.html')
def detail_plan(request, workout_plan_id):
return render(request, 'frontend/index.html', {
'workout_plan_id' : workout_plan_id
})
def begin_workout(request, workout_plan_id):
return render(re... | 29.105263 | 51 | 0.712477 | 71 | 553 | 5.253521 | 0.239437 | 0.265416 | 0.313673 | 0.289544 | 0.772118 | 0.772118 | 0.675603 | 0.675603 | 0.675603 | 0.675603 | 0 | 0 | 0.175407 | 553 | 19 | 52 | 29.105263 | 0.817982 | 0 | 0 | 0.6 | 0 | 0 | 0.218412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.266667 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
147297bc665dbd17d35c96ea049f285df2397044 | 43 | py | Python | systems/__init__.py | Aitocir/UnfoldingWorld | 70606eec694f006ccd6687912bce7b75d623287e | [
"MIT"
] | 2 | 2019-08-30T08:26:44.000Z | 2021-04-09T14:22:09.000Z | systems/__init__.py | Aitocir/UnfoldingWorld | 70606eec694f006ccd6687912bce7b75d623287e | [
"MIT"
] | null | null | null | systems/__init__.py | Aitocir/UnfoldingWorld | 70606eec694f006ccd6687912bce7b75d623287e | [
"MIT"
] | null | null | null | from . import growing
from . import mapping | 21.5 | 21 | 0.790698 | 6 | 43 | 5.666667 | 0.666667 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 22 | 21.5 | 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 | 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 | 7 |
1483f1b63ab4654eb55d746187a8ea9dadf52a0c | 399 | py | Python | django_saltapi/utils.py | holmboe/django-saltapi | 4ca83bd55a1489198583ddd9330355c870d6559a | [
"Apache-2.0"
] | 7 | 2015-02-22T07:36:11.000Z | 2019-02-24T09:02:32.000Z | django_saltapi/utils.py | holmboe/django-saltapi | 4ca83bd55a1489198583ddd9330355c870d6559a | [
"Apache-2.0"
] | 1 | 2019-01-30T15:20:43.000Z | 2019-01-30T15:20:43.000Z | django_saltapi/utils.py | holmboe/django-saltapi | 4ca83bd55a1489198583ddd9330355c870d6559a | [
"Apache-2.0"
] | 9 | 2015-03-24T07:52:21.000Z | 2019-07-25T08:37:07.000Z | # -*- coding: utf-8 -*-
# http://stackoverflow.com/questions/106179/regular-expression-to-match-hostname-or-ip-address
REGEX_IPADDR = "(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])"
REGEX_HOSTNAME = "(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-... | 57 | 124 | 0.536341 | 94 | 399 | 2.244681 | 0.329787 | 0.085308 | 0.189573 | 0.227488 | 0.407583 | 0.407583 | 0.407583 | 0.407583 | 0.407583 | 0.407583 | 0 | 0.176 | 0.06015 | 399 | 6 | 125 | 66.5 | 0.386667 | 0.285714 | 0 | 0 | 0 | 0.666667 | 0.776596 | 0.737589 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1496186f704fc2be439f7b78c7be77b20dd1f76f | 292 | py | Python | att_classification/tflib/data/__init__.py | sageprogrammer/STGAN | 0afa9bd687cc6b038c831ec8539f3d3dcbccc4b5 | [
"MIT"
] | 405 | 2019-04-17T03:02:18.000Z | 2022-03-11T06:36:00.000Z | att_classification/tflib/data/__init__.py | sageprogrammer/STGAN | 0afa9bd687cc6b038c831ec8539f3d3dcbccc4b5 | [
"MIT"
] | 58 | 2019-05-13T09:34:57.000Z | 2021-12-07T08:40:58.000Z | att_classification/tflib/data/__init__.py | sageprogrammer/STGAN | 0afa9bd687cc6b038c831ec8539f3d3dcbccc4b5 | [
"MIT"
] | 95 | 2019-04-20T02:32:32.000Z | 2022-03-07T03:58:24.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from tflib.data.dataset import *
from tflib.data.disk_image import *
from tflib.data.memory_data import *
from tflib.data.tfrecord import *
from tflib.data.tfrecord_creator import *
| 29.2 | 41 | 0.835616 | 42 | 292 | 5.404762 | 0.357143 | 0.220264 | 0.286344 | 0.334802 | 0.237885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113014 | 292 | 9 | 42 | 32.444444 | 0.876448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.125 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2168f96511cd577871ddd4d6fb4cae465a84bab6 | 98 | py | Python | tfscripts/compat/v1/__init__.py | mhuen/TFScripts | 4ade57237efcd9ce5332532d8bcc399a06bcddf2 | [
"MIT"
] | 13 | 2017-06-15T12:36:51.000Z | 2019-06-27T12:43:06.000Z | tfscripts/compat/v1/__init__.py | icecube/TFScripts | 4ade57237efcd9ce5332532d8bcc399a06bcddf2 | [
"MIT"
] | 6 | 2017-08-10T17:48:37.000Z | 2020-03-18T19:46:53.000Z | tfscripts/compat/v1/__init__.py | icecube/TFScripts | 4ade57237efcd9ce5332532d8bcc399a06bcddf2 | [
"MIT"
] | 4 | 2017-08-09T20:06:49.000Z | 2019-06-01T06:38:57.000Z | from tfscripts import __version__, __description__, __url__
from tfscripts import FLOAT_PRECISION
| 32.666667 | 59 | 0.877551 | 11 | 98 | 6.636364 | 0.727273 | 0.356164 | 0.520548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 98 | 2 | 60 | 49 | 0.829545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
dcf5192fe6b96ffe768594b22018f39fe0772f1c | 39,389 | py | Python | couchbase/tests_v3/cases/analyticsmgmt_t.py | couchbase/couchbase-python-client | 99ec055835f5aef0cd07905497b3ab4bb3cbbc32 | [
"Apache-2.0"
] | 189 | 2015-01-07T18:34:31.000Z | 2022-03-21T17:41:56.000Z | couchbase/tests_v3/cases/analyticsmgmt_t.py | couchbase/couchbase-python-client | 99ec055835f5aef0cd07905497b3ab4bb3cbbc32 | [
"Apache-2.0"
] | 24 | 2015-05-19T14:00:16.000Z | 2022-03-16T22:01:30.000Z | couchbase/tests_v3/cases/analyticsmgmt_t.py | couchbase/couchbase-python-client | 99ec055835f5aef0cd07905497b3ab4bb3cbbc32 | [
"Apache-2.0"
] | 60 | 2015-03-10T22:12:50.000Z | 2022-03-07T21:57:40.000Z | # -*- coding:utf-8 -*-
#
# Copyright 2020, Couchbase, Inc.
# All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
#
# Unless re... | 46.449292 | 125 | 0.529031 | 3,120 | 39,389 | 6.455769 | 0.101923 | 0.091649 | 0.033562 | 0.026164 | 0.816801 | 0.800963 | 0.78587 | 0.769586 | 0.744266 | 0.731606 | 0 | 0.007783 | 0.393282 | 39,389 | 847 | 126 | 46.504132 | 0.835049 | 0.031557 | 0 | 0.74584 | 0 | 0 | 0.075304 | 0.002283 | 0 | 0 | 0 | 0 | 0.122542 | 1 | 0.043873 | false | 0.018154 | 0.01059 | 0 | 0.06354 | 0.016641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
0d4e022331f78c0457a6bc113e4039ef90bf7aa5 | 4,994 | py | Python | datasets.py | Ahmednull/L2S-Net | bf6a1c443de65a7c9b25becfd6ddea4445714c6c | [
"MIT"
] | 21 | 2022-03-07T20:29:50.000Z | 2022-03-25T09:25:32.000Z | datasets.py | Ahmednull/L2S-Net | bf6a1c443de65a7c9b25becfd6ddea4445714c6c | [
"MIT"
] | 3 | 2022-03-21T14:13:25.000Z | 2022-03-31T01:34:46.000Z | datasets.py | Ahmednull/L2S-Net | bf6a1c443de65a7c9b25becfd6ddea4445714c6c | [
"MIT"
] | 4 | 2022-02-24T13:13:52.000Z | 2022-03-22T06:23:14.000Z | import os
import numpy as np
import cv2
import torch
from torch.utils.data.dataset import Dataset
from torchvision import transforms
from PIL import Image, ImageFilter
class Gaze360(Dataset):
def __init__(self, path, root, transform, angle, binwidth, train=True):
self.transform = transform
... | 31.607595 | 121 | 0.524029 | 619 | 4,994 | 4.147011 | 0.174475 | 0.042072 | 0.027269 | 0.040904 | 0.802104 | 0.7873 | 0.767822 | 0.760421 | 0.759642 | 0.759642 | 0 | 0.036563 | 0.342811 | 4,994 | 157 | 122 | 31.808917 | 0.745582 | 0.073488 | 0 | 0.725664 | 0 | 0 | 0.032533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053097 | false | 0 | 0.061947 | 0.017699 | 0.168142 | 0.026549 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b4d6aa934c49af912d6fb270aed6bb097aa45408 | 100 | py | Python | pygr/apps/__init__.py | Open-Technology/Graph-Database | 0b5bd2414b888c4709af3390f9d41dc8e0d4a863 | [
"BSD-3-Clause"
] | 30 | 2015-02-24T12:47:10.000Z | 2022-02-02T10:41:54.000Z | pygr/apps/__init__.py | Open-Technology/Graph-Database | 0b5bd2414b888c4709af3390f9d41dc8e0d4a863 | [
"BSD-3-Clause"
] | 4 | 2015-08-08T07:30:35.000Z | 2021-11-18T18:50:01.000Z | pygr/apps/__init__.py | Open-Technology/Graph-Database | 0b5bd2414b888c4709af3390f9d41dc8e0d4a863 | [
"BSD-3-Clause"
] | 14 | 2015-02-12T02:55:45.000Z | 2021-11-24T19:43:40.000Z | from pygr.apps.leelabdb import *
from pygr.apps.seqref import *
from pygr.apps.splicegraph import *
| 25 | 35 | 0.79 | 15 | 100 | 5.266667 | 0.466667 | 0.303797 | 0.455696 | 0.455696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 3 | 36 | 33.333333 | 0.897727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
2597c27f4455e012b6d6cc94b8d72bdf6cf9605c | 1,129 | py | Python | coopihc/observation/utils.py | jgori-ouistiti/CoopIHC | 0fe24c618a430517c1394625275faff3ce344f7f | [
"MIT"
] | null | null | null | coopihc/observation/utils.py | jgori-ouistiti/CoopIHC | 0fe24c618a430517c1394625275faff3ce344f7f | [
"MIT"
] | 52 | 2021-11-23T13:49:50.000Z | 2022-03-15T12:28:18.000Z | coopihc/observation/utils.py | jgori-ouistiti/CoopIHC | 0fe24c618a430517c1394625275faff3ce344f7f | [
"MIT"
] | 1 | 2022-03-08T11:10:24.000Z | 2022-03-08T11:10:24.000Z | import numpy
# ========================== Some observation engine specifications
oracle_engine_specification = [
("game_info", "all"),
("task_state", "all"),
("user_state", "all"),
("assistant_state", "all"),
("user_action", "all"),
("assistant_action", "all"),
]
blind_engine_specification =... | 22.58 | 67 | 0.572188 | 114 | 1,129 | 5.289474 | 0.166667 | 0.149254 | 0.119403 | 0.223881 | 0.870647 | 0.870647 | 0.870647 | 0.80597 | 0.80597 | 0.693201 | 0 | 0 | 0.190434 | 1,129 | 49 | 68 | 23.040816 | 0.659737 | 0.057573 | 0 | 0.707317 | 0 | 0 | 0.399247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02439 | 0 | 0.02439 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 8 |
25e69bac250de1a93790f1d8ecc57ccbc0ccdfd0 | 1,666 | py | Python | hs_access_control/migrations/0011_auto_rename_new_fields_to_original_names.py | tommac7/hydroshare | 87c4543a55f98103d2614bf4c47f7904c3f9c029 | [
"BSD-3-Clause"
] | 1 | 2018-09-17T13:07:29.000Z | 2018-09-17T13:07:29.000Z | hs_access_control/migrations/0011_auto_rename_new_fields_to_original_names.py | tommac7/hydroshare | 87c4543a55f98103d2614bf4c47f7904c3f9c029 | [
"BSD-3-Clause"
] | 100 | 2017-08-01T23:48:04.000Z | 2018-04-03T13:17:27.000Z | hs_access_control/migrations/0011_auto_rename_new_fields_to_original_names.py | tommac7/hydroshare | 87c4543a55f98103d2614bf4c47f7904c3f9c029 | [
"BSD-3-Clause"
] | 2 | 2017-07-27T20:41:33.000Z | 2017-07-27T22:40:57.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('hs_access_control', '0010_auto_rename_related_names'),
]
operations = [
migrations.RenameField(
model_name='grou... | 27.766667 | 64 | 0.555222 | 127 | 1,666 | 6.984252 | 0.314961 | 0.213078 | 0.263811 | 0.304397 | 0.807215 | 0.807215 | 0.766629 | 0.476888 | 0.476888 | 0.476888 | 0 | 0.004554 | 0.340936 | 1,666 | 59 | 65 | 28.237288 | 0.803279 | 0.012605 | 0 | 0.849057 | 0 | 0 | 0.223372 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037736 | 0 | 0.09434 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d30db6a05629b4f15882a45fcc293e23dfc82f0e | 125 | py | Python | chatrooms/admin.py | dsingh12345/chatapp | 94e0d0f3f2fb58699033f578b9beaa733a10632d | [
"MIT"
] | null | null | null | chatrooms/admin.py | dsingh12345/chatapp | 94e0d0f3f2fb58699033f578b9beaa733a10632d | [
"MIT"
] | null | null | null | chatrooms/admin.py | dsingh12345/chatapp | 94e0d0f3f2fb58699033f578b9beaa733a10632d | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Chat, ChatRoom
admin.site.register(ChatRoom)
admin.site.register(Chat)
| 20.833333 | 34 | 0.816 | 18 | 125 | 5.666667 | 0.555556 | 0.254902 | 0.333333 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 125 | 5 | 35 | 25 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
d315c90deb52198b4a6b69972d25184a55115316 | 2,133 | py | Python | joblicant/JoblicantApp/migrations/0003_auto_20210705_1206.py | juliuscecilia33/joblicant | b654bc438838f633556cef16fa7e5bfa63eecfb6 | [
"MIT"
] | null | null | null | joblicant/JoblicantApp/migrations/0003_auto_20210705_1206.py | juliuscecilia33/joblicant | b654bc438838f633556cef16fa7e5bfa63eecfb6 | [
"MIT"
] | null | null | null | joblicant/JoblicantApp/migrations/0003_auto_20210705_1206.py | juliuscecilia33/joblicant | b654bc438838f633556cef16fa7e5bfa63eecfb6 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.4 on 2021-07-05 19:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('JoblicantApp', '0002_auto_20210705_1204'),
]
operations = [
migrations.AlterField(
model_name='commoninformation',
n... | 33.328125 | 74 | 0.584154 | 196 | 2,133 | 6.244898 | 0.25 | 0.163399 | 0.204248 | 0.236928 | 0.775327 | 0.775327 | 0.734477 | 0.734477 | 0.687092 | 0.687092 | 0 | 0.038926 | 0.301453 | 2,133 | 63 | 75 | 33.857143 | 0.78255 | 0.021097 | 0 | 0.684211 | 1 | 0 | 0.14046 | 0.011026 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.070175 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d323eba25cc7419247463057abc2693a4bed0de6 | 5,523 | py | Python | tests/test_cli.py | brendancol/python-raster-stats | 6bdb524aa1471a719ba3ee6491786d2ac5c8a7ab | [
"BSD-3-Clause"
] | 1 | 2017-08-12T22:01:03.000Z | 2017-08-12T22:01:03.000Z | tests/test_cli.py | brendancol/python-raster-stats | 6bdb524aa1471a719ba3ee6491786d2ac5c8a7ab | [
"BSD-3-Clause"
] | null | null | null | tests/test_cli.py | brendancol/python-raster-stats | 6bdb524aa1471a719ba3ee6491786d2ac5c8a7ab | [
"BSD-3-Clause"
] | null | null | null | import os.path
import json
import warnings
# Some warnings must be ignored to parse output properly
# https://github.com/pallets/click/issues/371#issuecomment-223790894
from click.testing import CliRunner
from rasterstats.cli import zonalstats, pointquery
def test_cli_feature():
raster = os.path.join(os.path.dir... | 41.840909 | 86 | 0.556038 | 567 | 5,523 | 5.227513 | 0.148148 | 0.066802 | 0.053981 | 0.064777 | 0.892713 | 0.875169 | 0.851552 | 0.851552 | 0.851552 | 0.851552 | 0 | 0.011178 | 0.303458 | 5,523 | 131 | 87 | 42.160305 | 0.759293 | 0.029151 | 0 | 0.828829 | 0 | 0 | 0.164458 | 0.033601 | 0 | 0 | 0 | 0 | 0.216216 | 1 | 0.072072 | false | 0 | 0.045045 | 0 | 0.117117 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d342a9a652780d1332127bfb50063565e5a000be | 70 | py | Python | flask_logger_decorator/utils.py | sunwei/flask-logger-decorator | 080d412db3dbdc2a4d34fe1d31605fbcb0d31992 | [
"MIT"
] | 1 | 2020-04-16T03:51:56.000Z | 2020-04-16T03:51:56.000Z | flask_logger_decorator/utils.py | sunwei/flask-logger-decorator | 080d412db3dbdc2a4d34fe1d31605fbcb0d31992 | [
"MIT"
] | null | null | null | flask_logger_decorator/utils.py | sunwei/flask-logger-decorator | 080d412db3dbdc2a4d34fe1d31605fbcb0d31992 | [
"MIT"
] | null | null | null | import uuid
def generate_request_id():
return str(uuid.uuid4())
| 11.666667 | 28 | 0.714286 | 10 | 70 | 4.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.171429 | 70 | 5 | 29 | 14 | 0.810345 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 7 |
d35ed3700088ef2326c911c67af2cb0243299bb3 | 15,228 | py | Python | bp_unit_tests/level_2/unit_test_syr2.py | nicholas-moreles/blaspy | c4af6258e17dd996c4b6d90bbaae15b31b8702b4 | [
"BSD-3-Clause"
] | 4 | 2015-01-25T12:44:44.000Z | 2022-03-19T08:36:19.000Z | bp_unit_tests/level_2/unit_test_syr2.py | nicholas-moreles/blaspy | c4af6258e17dd996c4b6d90bbaae15b31b8702b4 | [
"BSD-3-Clause"
] | 7 | 2015-01-20T13:35:39.000Z | 2015-05-31T17:11:50.000Z | bp_unit_tests/level_2/unit_test_syr2.py | nicholas-moreles/blaspy | c4af6258e17dd996c4b6d90bbaae15b31b8702b4 | [
"BSD-3-Clause"
] | null | null | null | """
Copyright (c) 2014-2015, The University of Texas at Austin.
All rights reserved.
This file is part of BLASpy and is available under the 3-Clause
BSD License, which can be found in the LICENSE file at the top-level
directory or at http://opensource.org/licenses/BSD-3-Clause
"""
from blaspy im... | 31.725 | 80 | 0.441095 | 1,742 | 15,228 | 3.696326 | 0.076349 | 0.07175 | 0.076099 | 0.042398 | 0.872962 | 0.848579 | 0.84128 | 0.815344 | 0.787234 | 0.711912 | 0 | 0.0629 | 0.374639 | 15,228 | 480 | 81 | 31.725 | 0.613252 | 0.017993 | 0 | 0.725926 | 0 | 0 | 0.01876 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 1 | 0.108642 | false | 0 | 0.009877 | 0 | 0.120988 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d37bc5d551d90e8e56e0fc80956d0f83e55b33dc | 7,742 | py | Python | mean.py | jpacuna99/AcunaJuan_ejercicio06 | 0de50eb3558b4dbf1d5664f667201d37a1957741 | [
"MIT"
] | null | null | null | mean.py | jpacuna99/AcunaJuan_ejercicio06 | 0de50eb3558b4dbf1d5664f667201d37a1957741 | [
"MIT"
] | null | null | null | mean.py | jpacuna99/AcunaJuan_ejercicio06 | 0de50eb3558b4dbf1d5664f667201d37a1957741 | [
"MIT"
] | null | null | null | {
"cells": [
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [
{
"ename": "ValueError",
"evalue": "operands could not be broadcast together with shapes (4,) (100,) (4,) ",
"output_type": "error",
"traceback": [
"\u001b[0;31m--------------------------... | 72.35514 | 2,250 | 0.640532 | 1,397 | 7,742 | 3.539012 | 0.137437 | 0.302994 | 0.463592 | 0.299757 | 0.703479 | 0.681837 | 0.668083 | 0.658778 | 0.644215 | 0.644013 | 0 | 0.304924 | 0.113407 | 7,742 | 106 | 2,251 | 73.037736 | 0.415355 | 0 | 0 | 0.216981 | 0 | 0.018868 | 0.703048 | 0.461896 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.018868 | 0 | 0.018868 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
6c942af2f0d312dcf04b3c392ee35946921207ed | 22,803 | py | Python | src/constants/model_params.py | Supreeth-Shetty/Projectathon---Simplified-AI | 3fc26a58a9370d119811ac4e864af977c21f6c40 | [
"MIT"
] | 8 | 2021-12-23T06:05:00.000Z | 2021-12-26T05:39:00.000Z | src/constants/model_params.py | Supreeth-Shetty/Projectathon---Simplified-AI | 3fc26a58a9370d119811ac4e864af977c21f6c40 | [
"MIT"
] | null | null | null | src/constants/model_params.py | Supreeth-Shetty/Projectathon---Simplified-AI | 3fc26a58a9370d119811ac4e864af977c21f6c40 | [
"MIT"
] | 2 | 2021-12-23T06:10:11.000Z | 2021-12-23T07:24:28.000Z | LinearRegression_Params = [
{"name": "fit_intercept", "type": "select", "values": [True, False], "dtype": "boolean", "accept_none": False},
{"name": "positive", "type": "select", "values": [False, True], "dtype": "boolean", "accept_none": False}
]
Ridge_Params = [
{"name": "alpha", "type": "input", "values... | 81.439286 | 120 | 0.568873 | 2,618 | 22,803 | 4.798701 | 0.074866 | 0.16079 | 0.180291 | 0.21627 | 0.915944 | 0.901297 | 0.878373 | 0.850752 | 0.83738 | 0.820664 | 0 | 0.012667 | 0.144893 | 22,803 | 279 | 121 | 81.731183 | 0.631622 | 0.0107 | 0 | 0.589844 | 0 | 0 | 0.488761 | 0.011971 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
6cbbbd484bfb38bdfc38fb311ee2be38282e8c90 | 11,757 | py | Python | auto_tag/tests/test_core.py | fossabot/auto-tag | ec43bfbe2ae610219c9cfe7aab5be9c4328f83ab | [
"MIT"
] | null | null | null | auto_tag/tests/test_core.py | fossabot/auto-tag | ec43bfbe2ae610219c9cfe7aab5be9c4328f83ab | [
"MIT"
] | null | null | null | auto_tag/tests/test_core.py | fossabot/auto-tag | ec43bfbe2ae610219c9cfe7aab5be9c4328f83ab | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
Test simple flows of the AutoTag application
"""
import os
import git
import pytest
from auto_tag import core
# pylint:disable=invalid-name
TEST_DATA_SIMPLE_TAG_PATCH_BUMP = [
('0.0.1', '0.0.2'),
('0.1.1', '0.1.2'),
('1.0.1', '1.0.2'),
]
TEST_DATA_SIMPLE_TAG_PATCH_MINOR = [
... | 31.103175 | 79 | 0.660543 | 1,660 | 11,757 | 4.407831 | 0.085542 | 0.058767 | 0.053574 | 0.03485 | 0.882602 | 0.855405 | 0.831625 | 0.795818 | 0.775044 | 0.775044 | 0 | 0.01806 | 0.222931 | 11,757 | 377 | 80 | 31.185676 | 0.782837 | 0.066173 | 0 | 0.750877 | 0 | 0 | 0.088813 | 0 | 0 | 0 | 0 | 0 | 0.108772 | 1 | 0.052632 | false | 0 | 0.014035 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6ccf4063502527d1691f192bb29767b214b3cf6f | 845 | py | Python | 03/03/count.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | 03/03/count.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | 39 | 2017-07-31T22:54:01.000Z | 2017-08-31T00:19:03.000Z | 03/03/count.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | print(str(b'ABC'.count(b'A')))
print(str(b'ABC'.count(b'AB')))
print(str(b'ABC'.count(b'AC')))
print(str(b'AbcA'.count(b'A')))
print(str(b'AbcAbcAbc'.count(b'A', 3)))
print(str(b'AbcAbcAbc'.count(b'A', 3, 5)))
print()
print(str(bytearray(b'ABC').count(b'A')))
print(str(bytearray(b'ABC').count(b'AB')))
print(str(bytearr... | 38.409091 | 64 | 0.672189 | 155 | 845 | 3.664516 | 0.083871 | 0.253521 | 0.359155 | 0.380282 | 0.998239 | 0.998239 | 0.984155 | 0.859155 | 0.422535 | 0.330986 | 0 | 0.011043 | 0.035503 | 845 | 21 | 65 | 40.238095 | 0.68589 | 0 | 0 | 0.1 | 0 | 0 | 0.138626 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
6cfd71c4a9cc398c5441653d08eeac5e0a6af891 | 374 | py | Python | OOPS/Diamond shape prob.py | Jigyanshu17/Python-Ka-Saara-Gyaan | d3f5dbb3fef45a7a6953bf6041b0b3bf6c54ad2b | [
"Apache-2.0"
] | null | null | null | OOPS/Diamond shape prob.py | Jigyanshu17/Python-Ka-Saara-Gyaan | d3f5dbb3fef45a7a6953bf6041b0b3bf6c54ad2b | [
"Apache-2.0"
] | null | null | null | OOPS/Diamond shape prob.py | Jigyanshu17/Python-Ka-Saara-Gyaan | d3f5dbb3fef45a7a6953bf6041b0b3bf6c54ad2b | [
"Apache-2.0"
] | null | null | null | class A:
def met(self):
print("this is a method from class A")
class B(A):
def met(self):
print("this is a method from class B")
class C(A):
def met(self):
print("this is a method from class C")
class D(C,B):
def met(self):
print("this is a method from class D"... | 17.809524 | 47 | 0.513369 | 66 | 374 | 2.909091 | 0.19697 | 0.125 | 0.208333 | 0.3125 | 0.786458 | 0.786458 | 0.786458 | 0.786458 | 0.786458 | 0.786458 | 0 | 0 | 0.342246 | 374 | 21 | 48 | 17.809524 | 0.780488 | 0 | 0 | 0.235294 | 0 | 0 | 0.326761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0 | 0 | 0.470588 | 0.235294 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9fa627d61c3e34727b7623e35363c5ee68de0d49 | 515 | py | Python | lemon/libs/logging.py | InsaneMiner/Salt | b61c5f931fe4b6fa652e8fbfb59b30dbaaf9ed18 | [
"MIT"
] | 6 | 2020-11-22T11:42:55.000Z | 2022-01-09T12:29:30.000Z | lemon/libs/logging.py | InsaneMiner/Salt | b61c5f931fe4b6fa652e8fbfb59b30dbaaf9ed18 | [
"MIT"
] | 1 | 2020-11-21T00:05:40.000Z | 2020-11-22T21:58:54.000Z | lemon/libs/logging.py | InsaneMiner/Salt | b61c5f931fe4b6fa652e8fbfb59b30dbaaf9ed18 | [
"MIT"
] | 2 | 2021-06-05T04:19:04.000Z | 2021-06-05T04:28:08.000Z | import lemon.libs.colors
def error(message,end=''):
print(f"{lemon.libs.colors.colors.bold}{lemon.libs.colors.colors.fg.red}{message}{lemon.libs.colors.colors.reset}",end=end)
def good(message,end=''):
print(f"{lemon.libs.colors.colors.fg.green}{message}{lemon.libs.colors.colors.reset}",end=end)
def notice(mess... | 57.222222 | 130 | 0.732039 | 82 | 515 | 4.597561 | 0.231707 | 0.214854 | 0.35809 | 0.445623 | 0.777188 | 0.771883 | 0.771883 | 0.771883 | 0.67374 | 0.339523 | 0 | 0 | 0.056311 | 515 | 9 | 131 | 57.222222 | 0.77572 | 0 | 0 | 0 | 0 | 0.333333 | 0.560078 | 0.560078 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0 | 0.555556 | 0.444444 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 12 |
9fc2479878f5aac52a6dcb54bed50daa31607e79 | 175 | py | Python | app/models/__init__.py | widal001/flask-api-template | cbda9c6a00fdc355b235d869d65db77257595107 | [
"MIT"
] | null | null | null | app/models/__init__.py | widal001/flask-api-template | cbda9c6a00fdc355b235d869d65db77257595107 | [
"MIT"
] | 5 | 2021-05-05T21:05:46.000Z | 2021-05-12T19:19:34.000Z | app/models/__init__.py | widal001/flask-api-template | cbda9c6a00fdc355b235d869d65db77257595107 | [
"MIT"
] | 1 | 2021-05-07T12:54:19.000Z | 2021-05-07T12:54:19.000Z | from app.models.base_model import db
from app.models.book_model import Book
from app.models.library_model import Library
from app.models.library_book_model import LibraryBook
| 35 | 53 | 0.862857 | 29 | 175 | 5.034483 | 0.344828 | 0.191781 | 0.356164 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091429 | 175 | 4 | 54 | 43.75 | 0.918239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4c95a4acac3f3dc08849d7ad787204ee70b40336 | 120 | py | Python | instapy/xpath.py | kofway/InstaPy | fecc59de48395da55d74fafa93344710ef7d29fd | [
"MIT"
] | null | null | null | instapy/xpath.py | kofway/InstaPy | fecc59de48395da55d74fafa93344710ef7d29fd | [
"MIT"
] | null | null | null | instapy/xpath.py | kofway/InstaPy | fecc59de48395da55d74fafa93344710ef7d29fd | [
"MIT"
] | null | null | null | from .xpath_compile import xpath
def read_xpath(function_name, xpath_name):
return xpath[function_name][xpath_name] | 30 | 43 | 0.816667 | 18 | 120 | 5.111111 | 0.5 | 0.282609 | 0.369565 | 0.478261 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 120 | 4 | 43 | 30 | 0.859813 | 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 | 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 | 1 | 1 | 1 | 0 | 0 | 9 |
4ca935b9835205e01e9b4778280cb7a6d5eec9ad | 20,876 | py | Python | remo/dashboard/tests/test_models.py | Mozilla-GitHub-Standards/6f6b18ac63685c6bf60fff95a3bbcc598378c77ceb14c7404172c570dd1e971d | 23ca8d46496b491fbdb2b8a72c91e75372932f23 | [
"BSD-3-Clause"
] | 27 | 2015-01-02T18:47:56.000Z | 2021-08-14T11:48:24.000Z | remo/dashboard/tests/test_models.py | Mozilla-GitHub-Standards/6f6b18ac63685c6bf60fff95a3bbcc598378c77ceb14c7404172c570dd1e971d | 23ca8d46496b491fbdb2b8a72c91e75372932f23 | [
"BSD-3-Clause"
] | 450 | 2015-01-02T12:29:50.000Z | 2020-10-27T21:41:38.000Z | remo/dashboard/tests/test_models.py | Mozilla-GitHub-Standards/6f6b18ac63685c6bf60fff95a3bbcc598378c77ceb14c7404172c570dd1e971d | 23ca8d46496b491fbdb2b8a72c91e75372932f23 | [
"BSD-3-Clause"
] | 81 | 2015-01-10T23:59:32.000Z | 2021-08-19T17:08:56.000Z | # -*- coding: utf-8 -*-
from datetime import datetime, timedelta
from django.contrib.auth.models import Group
from django.contrib.contenttypes.models import ContentType
from django.utils.timezone import now
import mock
from nose.tools import eq_, ok_
from remo.base.tests import RemoTestCase
from remo.dashboard.model... | 37.956364 | 98 | 0.652711 | 2,489 | 20,876 | 5.284452 | 0.075934 | 0.077549 | 0.072987 | 0.12347 | 0.817 | 0.792519 | 0.786361 | 0.783776 | 0.769178 | 0.760891 | 0 | 0.005259 | 0.234815 | 20,876 | 549 | 99 | 38.025501 | 0.818142 | 0.006563 | 0 | 0.703088 | 0 | 0 | 0.033185 | 0.004438 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068884 | false | 0 | 0.052257 | 0 | 0.133017 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4cf0c146eb352e3207d88b780068cc4abf4c7e27 | 4,562 | py | Python | tests/test_manager.py | lilyinstarlight/python-fooster-web | 928b61b85d28ed119e07cc397f855ee914a82d6b | [
"MIT"
] | 2 | 2018-07-17T17:38:42.000Z | 2020-01-01T18:24:33.000Z | tests/test_manager.py | lilyinstarlight/python-fooster-web | 928b61b85d28ed119e07cc397f855ee914a82d6b | [
"MIT"
] | 18 | 2016-06-07T15:12:00.000Z | 2017-09-25T20:01:32.000Z | tests/test_manager.py | fkmclane/web.py | 928b61b85d28ed119e07cc397f855ee914a82d6b | [
"MIT"
] | null | null | null | import multiprocessing
import time
from fooster.web import web
import mock
import pytest
@pytest.mark.xfail
def test_manager_create():
sync = multiprocessing.get_context(web.start_method).Manager()
server = mock.MockHTTPServer(sync=sync)
server.manager_process = multiprocessing.get_context(web.start_... | 32.126761 | 129 | 0.701008 | 568 | 4,562 | 5.445423 | 0.169014 | 0.073715 | 0.090527 | 0.061429 | 0.881668 | 0.860653 | 0.817329 | 0.817329 | 0.799224 | 0.784352 | 0 | 0.005034 | 0.216133 | 4,562 | 141 | 130 | 32.35461 | 0.859899 | 0.094038 | 0 | 0.755814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 1 | 0.046512 | false | 0 | 0.05814 | 0 | 0.104651 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4cf5d4e8c698db8eef4111e1c5162f8d2459e67a | 94,575 | py | Python | Yash.py | Harpres/Harpreet-multi-spambot | 83410723b8683b0eb111e65bd84d469d496a0dbc | [
"MIT"
] | null | null | null | Yash.py | Harpres/Harpreet-multi-spambot | 83410723b8683b0eb111e65bd84d469d496a0dbc | [
"MIT"
] | null | null | null | Yash.py | Harpres/Harpreet-multi-spambot | 83410723b8683b0eb111e65bd84d469d496a0dbc | [
"MIT"
] | 1 | 2022-03-27T10:04:20.000Z | 2022-03-27T10:04:20.000Z | <div>import os<br/>import sys<br/>import random<br/>from datetime import datetime<br/>from os import execl<br/>from telethon import TelegramClient, events<br/>from telethon.sessions import StringSession<br/>from telethon.tl.functions.account import UpdateProfileRequest<div></div><br/>from telethon.errors import (<br/> ... | 94,575 | 94,575 | 0.614835 | 12,675 | 94,575 | 4.536805 | 0.03574 | 0.058431 | 0.131469 | 0.1899 | 0.886512 | 0.871018 | 0.866514 | 0.813109 | 0.809944 | 0.452682 | 0 | 0.004831 | 0.19244 | 94,575 | 1 | 94,575 | 94,575 | 0.747771 | 0 | 0 | 0 | 0 | 12 | 0.098281 | 0.005731 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 1 | 1 | null | null | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 14 |
98196d2ec072930b4a547640c3df78bc65f90ec2 | 87 | py | Python | AlgorithmProblems/0152. Maximum Product Subarray/main0152.py | lynnli92/leetcode-group-solution | b497eaf29fb820648366b44e27c918503936b167 | [
"MIT"
] | 4 | 2021-12-31T00:53:32.000Z | 2022-01-22T21:28:46.000Z | AlgorithmProblems/0152. Maximum Product Subarray/main0152.py | lynnli92/leetcode-group-solution | b497eaf29fb820648366b44e27c918503936b167 | [
"MIT"
] | 1 | 2021-12-31T00:40:34.000Z | 2021-12-31T00:40:34.000Z | AlgorithmProblems/0152. Maximum Product Subarray/main0152.py | lynnli92/leetcode-group-solution | b497eaf29fb820648366b44e27c918503936b167 | [
"MIT"
] | 5 | 2021-12-31T00:28:40.000Z | 2022-03-22T21:01:40.000Z | '''
nums: [2, 3, -2, 4]
max: [2, 6, -2, 4]
min: [2, 3, -12, -48]
max: [2, 6, 6, 6]
''' | 14.5 | 21 | 0.356322 | 20 | 87 | 1.55 | 0.45 | 0.129032 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276923 | 0.252874 | 87 | 6 | 22 | 14.5 | 0.2 | 0.908046 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 8 |
e251854943bc7f122a17c9dea4b676372614f592 | 20,790 | py | Python | autolab_core/point_registration.py | shivamvats/autolab_core | cda081d2e07e3fe6cc9f3e8c86eea92330910d20 | [
"Apache-2.0"
] | 68 | 2017-07-02T22:14:47.000Z | 2022-03-30T19:09:37.000Z | autolab_core/point_registration.py | shivamvats/autolab_core | cda081d2e07e3fe6cc9f3e8c86eea92330910d20 | [
"Apache-2.0"
] | 14 | 2017-06-29T18:27:12.000Z | 2022-02-02T20:59:02.000Z | autolab_core/point_registration.py | shivamvats/autolab_core | cda081d2e07e3fe6cc9f3e8c86eea92330910d20 | [
"Apache-2.0"
] | 35 | 2017-07-17T01:44:59.000Z | 2022-03-30T19:09:28.000Z | """
Classes for point set registration using variants of Iterated-Closest Point
Author: Jeff Mahler
"""
from abc import ABCMeta, abstractmethod
import logging
import numpy as np
from .feature_matcher import PointToPlaneFeatureMatcher
from .points import PointCloud, NormalCloud
from .rigid_transformations import RigidT... | 37.459459 | 79 | 0.587686 | 2,430 | 20,790 | 4.769136 | 0.104938 | 0.040383 | 0.020709 | 0.019674 | 0.837777 | 0.820347 | 0.817154 | 0.817154 | 0.814393 | 0.814393 | 0 | 0.009672 | 0.333622 | 20,790 | 554 | 80 | 37.527076 | 0.826837 | 0.232179 | 0 | 0.709402 | 0 | 0 | 0.029872 | 0.003422 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014245 | false | 0.002849 | 0.019943 | 0 | 0.05698 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
2c3f27f7ea50e689308cc6b5b64d822c4d64ef65 | 1,824 | py | Python | data/typing/pandas.io.json._json.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | null | null | null | data/typing/pandas.io.json._json.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | null | null | null | data/typing/pandas.io.json._json.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | null | null | null | from typing import *
@overload
def read_json(path_or_buf: str, orient: Literal["split"], lines: bool):
"""
usage.dask: 1
"""
...
@overload
def read_json(path_or_buf: str, orient: Literal["records"], lines: bool):
"""
usage.dask: 2
"""
...
@overload
def read_json(path_or_buf: str, o... | 16.733945 | 87 | 0.58114 | 221 | 1,824 | 4.579186 | 0.131222 | 0.089921 | 0.141304 | 0.192688 | 0.903162 | 0.880435 | 0.860672 | 0.835968 | 0.805336 | 0.805336 | 0 | 0.010014 | 0.233553 | 1,824 | 108 | 88 | 16.888889 | 0.713877 | 0.099781 | 0 | 0.581395 | 0 | 0 | 0.067082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.302326 | false | 0 | 0.023256 | 0 | 0.325581 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2c4f562c61f02fc34c131715eaafaed98c5fe393 | 2,746 | py | Python | joint_transforms.py | Mhaiyang/iccv | 04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb | [
"MIT"
] | 2 | 2019-01-10T03:44:03.000Z | 2019-05-24T08:50:14.000Z | joint_transforms.py | Mhaiyang/iccv | 04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb | [
"MIT"
] | null | null | null | joint_transforms.py | Mhaiyang/iccv | 04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb | [
"MIT"
] | null | null | null | import random
from PIL import Image
class Compose(object):
def __init__(self, transforms):
self.transforms = transforms
def __call__(self, img, mask):
assert img.size == mask.size
for t in self.transforms:
img, mask = t(img, mask)
return img, mask
class RandomRo... | 32.690476 | 122 | 0.595047 | 354 | 2,746 | 4.432203 | 0.124294 | 0.178458 | 0.191205 | 0.117272 | 0.944551 | 0.914595 | 0.912046 | 0.912046 | 0.791587 | 0.791587 | 0 | 0.030045 | 0.27276 | 2,746 | 83 | 123 | 33.084337 | 0.755633 | 0.644574 | 0 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.227273 | false | 0 | 0.090909 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
2ca246063dfed062b2b4d4cb42d89d0a88bacbde | 6,848 | py | Python | tests/integration/events/v1/test_event_type.py | BrimmingDev/twilio-python | 3226b5fed92b3c2ce64f03e6b19fc4792ef7647f | [
"MIT"
] | 1,362 | 2015-01-04T10:25:18.000Z | 2022-03-24T10:07:08.000Z | tests/integration/events/v1/test_event_type.py | BrimmingDev/twilio-python | 3226b5fed92b3c2ce64f03e6b19fc4792ef7647f | [
"MIT"
] | 299 | 2015-01-30T09:52:39.000Z | 2022-03-31T23:03:02.000Z | tests/integration/events/v1/test_event_type.py | BrimmingDev/twilio-python | 3226b5fed92b3c2ce64f03e6b19fc4792ef7647f | [
"MIT"
] | 622 | 2015-01-03T04:43:09.000Z | 2022-03-29T14:11:00.000Z | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class EventTypeTestCase(Integra... | 38.044444 | 127 | 0.467874 | 591 | 6,848 | 5.2978 | 0.143824 | 0.063239 | 0.097732 | 0.114979 | 0.902268 | 0.896838 | 0.896838 | 0.882466 | 0.867135 | 0.851166 | 0 | 0.052002 | 0.401869 | 6,848 | 179 | 128 | 38.256983 | 0.712402 | 0.015917 | 0 | 0.630435 | 1 | 0 | 0.049771 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.130435 | false | 0 | 0.086957 | 0 | 0.23913 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2cbeab9c2464e33c517b99aa99ac5d2959c336a8 | 8,457 | py | Python | gators/feature_generation/tests/test_is_equal.py | Aditya-Kapadiya/gators | d7c9967e3a8e304a601b6a92ad834d03d3e36338 | [
"Apache-2.0"
] | 4 | 2021-10-29T18:20:52.000Z | 2022-03-31T22:53:03.000Z | gators/feature_generation/tests/test_is_equal.py | Aditya-Kapadiya/gators | d7c9967e3a8e304a601b6a92ad834d03d3e36338 | [
"Apache-2.0"
] | 1 | 2022-02-21T20:02:16.000Z | 2022-02-21T20:02:16.000Z | gators/feature_generation/tests/test_is_equal.py | Aditya-Kapadiya/gators | d7c9967e3a8e304a601b6a92ad834d03d3e36338 | [
"Apache-2.0"
] | 5 | 2021-11-17T20:16:54.000Z | 2022-02-21T18:21:02.000Z | # License: Apache-2.0
import databricks.koalas as ks
import numpy as np
import pandas as pd
import pytest
from pandas.testing import assert_frame_equal
from gators.feature_generation.is_equal import IsEqual
ks.set_option("compute.default_index_type", "distributed-sequence")
@pytest.fixture
def data():
X = pd.Da... | 27.192926 | 81 | 0.554334 | 1,414 | 8,457 | 3.062235 | 0.053748 | 0.133025 | 0.033256 | 0.029561 | 0.933487 | 0.928406 | 0.92194 | 0.893533 | 0.893533 | 0.83649 | 0 | 0.065138 | 0.257538 | 8,457 | 310 | 82 | 27.280645 | 0.624462 | 0.002247 | 0 | 0.722222 | 0 | 0 | 0.036155 | 0.003082 | 0 | 0 | 0 | 0 | 0.06746 | 1 | 0.099206 | false | 0 | 0.02381 | 0 | 0.154762 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
2cbf45500ead174aee8c0ff61d6bc27efc4de5a9 | 40,132 | py | Python | hw3/normal_part.py | shinshiner/CS420-Machine-Learning | dacb1b5e5caef2be523a0b56af81db3f449049d0 | [
"MIT"
] | 6 | 2019-05-07T02:38:43.000Z | 2022-03-14T07:46:59.000Z | hw3/normal_part.py | shinshiner/CS420-Machine-Learning | dacb1b5e5caef2be523a0b56af81db3f449049d0 | [
"MIT"
] | null | null | null | hw3/normal_part.py | shinshiner/CS420-Machine-Learning | dacb1b5e5caef2be523a0b56af81db3f449049d0 | [
"MIT"
] | null | null | null | from sklearn.preprocessing import StandardScaler, MinMaxScaler
from sklearn.svm import SVC
from sklearn.neural_network import MLPClassifier
from sklearn.decomposition import PCA
from sklearn.feature_selection import SelectKBest, f_classif, chi2, f_regression
import numpy as np
import matplotlib.pyplot as plt
interval... | 45.970218 | 104 | 0.588034 | 7,554 | 40,132 | 2.996029 | 0.082473 | 0.017144 | 0.029692 | 0.033934 | 0.837443 | 0.82644 | 0.818443 | 0.813097 | 0.80775 | 0.805541 | 0 | 0.195736 | 0.196975 | 40,132 | 873 | 105 | 45.970218 | 0.506532 | 0.114422 | 0 | 0.717391 | 0 | 0 | 0.12713 | 0.025887 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031884 | false | 0 | 0.010145 | 0 | 0.044928 | 0.007246 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1a5801c718236d84035c0ddf26eeb9e5f8f5dd59 | 47 | py | Python | snakeeyes/blueprints/bet/__init__.py | MDRCS/software-as-service | a34ab152ada280c4b3630f5f38fcd33f75903d5e | [
"MIT"
] | null | null | null | snakeeyes/blueprints/bet/__init__.py | MDRCS/software-as-service | a34ab152ada280c4b3630f5f38fcd33f75903d5e | [
"MIT"
] | 1 | 2020-04-07T06:27:23.000Z | 2020-04-07T06:27:23.000Z | snakeeyes/blueprints/bet/__init__.py | MDRCS/software-as-service | a34ab152ada280c4b3630f5f38fcd33f75903d5e | [
"MIT"
] | 1 | 2020-05-02T13:51:52.000Z | 2020-05-02T13:51:52.000Z | from snakeeyes.blueprints.bet.views import bet
| 23.5 | 46 | 0.851064 | 7 | 47 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
1a68007423554ddc13f9f05b84740b8ead8c9572 | 282 | py | Python | zabbix_libvirt/errors.py | CCI-MOC/zabbix-kvm | 7e31af29478e053a00ace89a5e2e201535a2f279 | [
"Apache-2.0"
] | null | null | null | zabbix_libvirt/errors.py | CCI-MOC/zabbix-kvm | 7e31af29478e053a00ace89a5e2e201535a2f279 | [
"Apache-2.0"
] | null | null | null | zabbix_libvirt/errors.py | CCI-MOC/zabbix-kvm | 7e31af29478e053a00ace89a5e2e201535a2f279 | [
"Apache-2.0"
] | null | null | null | """Exceptions"""
class LibvirtConnectionError(Exception):
"""Error to indicate something went wrong with the LibvirtConnection class"""
pass
class DomainNotFoundError(Exception):
"""Error to indicate something went wrong with the LibvirtConnection class"""
pass
| 23.5 | 81 | 0.748227 | 29 | 282 | 7.275862 | 0.517241 | 0.132701 | 0.151659 | 0.227488 | 0.7109 | 0.7109 | 0.7109 | 0.7109 | 0.7109 | 0.7109 | 0 | 0 | 0.166667 | 282 | 11 | 82 | 25.636364 | 0.897872 | 0.546099 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
1a84ec1c212c6078ecd82fa0f8ccb9f632b274f9 | 63 | py | Python | src/utils/uuid.py | 0x7FFFFF/asoul-remark | 09e02a0dce63fe5a426bde8c23e9be8a07d9201a | [
"MIT"
] | null | null | null | src/utils/uuid.py | 0x7FFFFF/asoul-remark | 09e02a0dce63fe5a426bde8c23e9be8a07d9201a | [
"MIT"
] | 1 | 2021-11-20T14:59:20.000Z | 2021-11-20T14:59:20.000Z | src/utils/uuid.py | 0x7FFFFF/asoul-mark | 09e02a0dce63fe5a426bde8c23e9be8a07d9201a | [
"MIT"
] | null | null | null | import uuid
def generate_uuid():
return uuid.uuid4().hex
| 10.5 | 27 | 0.698413 | 9 | 63 | 4.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.190476 | 63 | 5 | 28 | 12.6 | 0.823529 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
1ac1a4667b1ddf53ab4cfe98469d5ecad70a5f7b | 32 | py | Python | yaddi-yaddi-yadda-yeet.py | Davidwan98/yaddi-yaddi-yadda-yeet | 2ded448ba75b2389d3eb496cc4c416fa45dac248 | [
"MIT"
] | null | null | null | yaddi-yaddi-yadda-yeet.py | Davidwan98/yaddi-yaddi-yadda-yeet | 2ded448ba75b2389d3eb496cc4c416fa45dac248 | [
"MIT"
] | null | null | null | yaddi-yaddi-yadda-yeet.py | Davidwan98/yaddi-yaddi-yadda-yeet | 2ded448ba75b2389d3eb496cc4c416fa45dac248 | [
"MIT"
] | null | null | null | print("yaddi-yaddi-yadda-yeet")
| 16 | 31 | 0.75 | 5 | 32 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 32 | 1 | 32 | 32 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0.6875 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
46dd28cc32c415376aeebccaf11b60fb92b2f572 | 13,293 | py | Python | code/glucocheck/homepage/tests/test_unit_tests/test_forms.py | kmcgreg5/Glucocheck | 4ab4ada7f967ae41c1241c94523d14e693e05dd4 | [
"FSFAP"
] | null | null | null | code/glucocheck/homepage/tests/test_unit_tests/test_forms.py | kmcgreg5/Glucocheck | 4ab4ada7f967ae41c1241c94523d14e693e05dd4 | [
"FSFAP"
] | null | null | null | code/glucocheck/homepage/tests/test_unit_tests/test_forms.py | kmcgreg5/Glucocheck | 4ab4ada7f967ae41c1241c94523d14e693e05dd4 | [
"FSFAP"
] | null | null | null | from homepage.tests.test_unit_tests.classes import UnitTestForm
from homepage.forms import LoginForm, EmailInputForm, ResetPasswordForm, SignupForm, UserProfileForm
from django.contrib.auth.models import User
from datetime import date
class TestLoginForm(UnitTestForm):
'''Sets up a clean database, initializes tes... | 49.051661 | 185 | 0.692319 | 1,610 | 13,293 | 5.543478 | 0.108696 | 0.036303 | 0.04 | 0.049412 | 0.834398 | 0.805154 | 0.764818 | 0.738824 | 0.727507 | 0.682577 | 0 | 0.007616 | 0.219664 | 13,293 | 271 | 186 | 49.051661 | 0.852791 | 0.378019 | 0 | 0.387755 | 0 | 0.020408 | 0.2318 | 0 | 0 | 0 | 0 | 0 | 0.173469 | 1 | 0.204082 | false | 0.377551 | 0.040816 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
203d3fa99634362921ef4101bc4c8522e24f6faf | 59,630 | py | Python | userbot/modules/admin.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/admin.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/admin.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #Encript Marshal By XVenom
#https://github.com/xvenom15
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00@\x00\x00\x00s\x84\x03\x00\x00d\x00Z\x00d\x01d\x02l\x01m\x02Z\x02\x01\x00d\x01d\x03l\x03m\x04Z\x04\x01\x00d\x01d\x04l\x01Z\x01d\x01d\x04l\x05Z\x... | 14,907.5 | 59,559 | 0.750629 | 12,785 | 59,630 | 3.490418 | 0.09824 | 0.202622 | 0.103261 | 0.071261 | 0.649367 | 0.602443 | 0.562734 | 0.513322 | 0.47702 | 0.441927 | 0 | 0.344641 | 0.013768 | 59,630 | 4 | 59,559 | 14,907.5 | 0.414171 | 0.000872 | 0 | 0 | 0 | 7.5 | 0.450862 | 0.414355 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 11 |
20486bca28bdf6ba8e900010d2f129354d9cb3d7 | 7,271 | py | Python | policykit/constitution/migrations/0002_auto_20210909_1512.py | mashton/policyk | 623523d76d63c06b6d559ad7b477d80512fbd2e7 | [
"MIT"
] | 78 | 2020-05-08T17:25:38.000Z | 2022-01-13T05:44:50.000Z | policykit/constitution/migrations/0002_auto_20210909_1512.py | mashton/policyk | 623523d76d63c06b6d559ad7b477d80512fbd2e7 | [
"MIT"
] | 302 | 2020-02-20T07:04:30.000Z | 2022-02-25T17:44:23.000Z | policykit/constitution/migrations/0002_auto_20210909_1512.py | mashton/policyk | 623523d76d63c06b6d559ad7b477d80512fbd2e7 | [
"MIT"
] | 13 | 2020-04-17T19:44:26.000Z | 2022-02-25T17:18:04.000Z | # Generated by Django 3.2.2 on 2021-09-09 15:12
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('constitution', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='policykitaddconstitutionpolicy',
... | 37.479381 | 74 | 0.592903 | 567 | 7,271 | 7.474427 | 0.075838 | 0.169891 | 0.212364 | 0.246343 | 0.96555 | 0.96555 | 0.716612 | 0.716612 | 0.716612 | 0.716612 | 0 | 0.003704 | 0.294595 | 7,271 | 193 | 75 | 37.673575 | 0.822578 | 0.006189 | 0 | 0.962567 | 1 | 0 | 0.20598 | 0.142027 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.032086 | 0.005348 | 0 | 0.02139 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
204be9a386fb0960de9606f234662254ea194ccd | 167 | py | Python | app/views/index.py | aluisq/flask_mysql_jinja | 6fc9bd23ac31647744be0a1016bca42e2bc32961 | [
"MIT"
] | null | null | null | app/views/index.py | aluisq/flask_mysql_jinja | 6fc9bd23ac31647744be0a1016bca42e2bc32961 | [
"MIT"
] | null | null | null | app/views/index.py | aluisq/flask_mysql_jinja | 6fc9bd23ac31647744be0a1016bca42e2bc32961 | [
"MIT"
] | null | null | null | from app import cursor, app
from flask import render_template, request, redirect, url_for
@app.route("/")
def index():
return render_template('public/index.html') | 27.833333 | 61 | 0.754491 | 24 | 167 | 5.125 | 0.708333 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125749 | 167 | 6 | 62 | 27.833333 | 0.842466 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 1 | 0 | 0 | 7 |
64ceb5e5c87167c39b8afcdd2cceb598e3a35691 | 3,207 | py | Python | examples/classification_iris/classification_xgb_iris.py | c60evaporator/param-tuning-utility | 80625f875428badac37d8439195a9327a565b040 | [
"BSD-3-Clause"
] | null | null | null | examples/classification_iris/classification_xgb_iris.py | c60evaporator/param-tuning-utility | 80625f875428badac37d8439195a9327a565b040 | [
"BSD-3-Clause"
] | null | null | null | examples/classification_iris/classification_xgb_iris.py | c60evaporator/param-tuning-utility | 80625f875428badac37d8439195a9327a565b040 | [
"BSD-3-Clause"
] | 1 | 2022-01-06T05:13:07.000Z | 2022-01-06T05:13:07.000Z | # %% XGBClassifier, GridSearch, no argument
import parent_import
from tune_easy import XGBClassifierTuning
from sklearn.model_selection import KFold
import seaborn as sns
# Load dataset
iris = sns.load_dataset("iris")
TARGET_VARIALBLE = 'species' # Target variable
USE_EXPLANATORY = ['petal_width', 'petal_length', 'sep... | 39.109756 | 105 | 0.817275 | 434 | 3,207 | 5.74424 | 0.147465 | 0.084236 | 0.048135 | 0.050542 | 0.949057 | 0.949057 | 0.934617 | 0.934617 | 0.934617 | 0.934617 | 0 | 0.005118 | 0.086062 | 3,207 | 81 | 106 | 39.592593 | 0.845445 | 0.145307 | 0 | 0.923077 | 0 | 0 | 0.083854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.307692 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
b3b8e0750f59d4a269e55ec3576828783e7ee68d | 16,837 | py | Python | sdk/python/pulumi_openstack/blockstorage/volume_type_v3.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2018-09-12T12:37:51.000Z | 2022-02-04T19:32:13.000Z | sdk/python/pulumi_openstack/blockstorage/volume_type_v3.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 72 | 2018-08-15T13:04:57.000Z | 2022-03-31T15:39:49.000Z | sdk/python/pulumi_openstack/blockstorage/volume_type_v3.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2019-03-14T08:28:49.000Z | 2021-12-29T04:23:55.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 40.183771 | 134 | 0.62422 | 1,969 | 16,837 | 5.158964 | 0.089893 | 0.074719 | 0.08417 | 0.058476 | 0.838452 | 0.824769 | 0.814727 | 0.80695 | 0.80193 | 0.792282 | 0 | 0.006828 | 0.278078 | 16,837 | 418 | 135 | 40.279904 | 0.828877 | 0.384095 | 0 | 0.777228 | 1 | 0 | 0.07323 | 0.005262 | 0 | 0 | 0 | 0 | 0 | 1 | 0.158416 | false | 0.004951 | 0.024752 | 0 | 0.277228 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b3ee32b9bdbb47c6d99df9592416ba39bf94cfdd | 41,169 | py | Python | upload/migrations/0001_initial.py | shubhi-raft/TANF-app | f07a4292a3dd208378014935366eafd138d28ace | [
"CC0-1.0"
] | 1 | 2020-05-08T19:55:07.000Z | 2020-05-08T19:55:07.000Z | upload/migrations/0001_initial.py | shubhi-raft/TANF-app | f07a4292a3dd208378014935366eafd138d28ace | [
"CC0-1.0"
] | 4 | 2021-04-08T19:55:25.000Z | 2021-06-10T20:16:46.000Z | upload/migrations/0001_initial.py | shubhi-raft/TANF-app | f07a4292a3dd208378014935366eafd138d28ace | [
"CC0-1.0"
] | 1 | 2021-02-04T11:09:44.000Z | 2021-02-04T11:09:44.000Z | # Generated by Django 2.2.7 on 2019-12-10 23:13
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Adult',
fields=[
('id', mod... | 118.642651 | 221 | 0.67886 | 4,491 | 41,169 | 6.087286 | 0.116455 | 0.119102 | 0.098178 | 0.111566 | 0.857415 | 0.847758 | 0.827749 | 0.810008 | 0.771307 | 0.733631 | 0 | 0.022579 | 0.189949 | 41,169 | 346 | 222 | 118.985549 | 0.797175 | 0.001093 | 0 | 0.477876 | 1 | 0.014749 | 0.44188 | 0.053913 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.038348 | 0.047198 | 0 | 0.058997 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b3f03c40283ac5ffb770e2682317f3ec38057be5 | 5,064 | py | Python | preprocessing/emotic/custom_generator.py | GKalliatakis/DisplaceNet | 439bcd5ed4133b040baa107c215170eb963aa343 | [
"MIT"
] | 7 | 2019-05-13T01:49:43.000Z | 2020-02-19T04:16:35.000Z | preprocessing/emotic/custom_generator.py | GKalliatakis/DisplaceNet | 439bcd5ed4133b040baa107c215170eb963aa343 | [
"MIT"
] | null | null | null | preprocessing/emotic/custom_generator.py | GKalliatakis/DisplaceNet | 439bcd5ed4133b040baa107c215170eb963aa343 | [
"MIT"
] | 4 | 2019-05-28T16:06:31.000Z | 2020-02-27T09:29:16.000Z | """Custom generator for pentuple-output Keras models.
"""
from math import ceil
def custom_generator(hdf5_file, nb_data, batch_size, mode):
""" Generates batches of tensor image data in form of ==> (x1, y1) ,(x2, y2).
# Reference
- https://stackoverflow.com/questions/50333532/load-images-and-anno... | 47.327103 | 139 | 0.594194 | 733 | 5,064 | 3.748977 | 0.141883 | 0.107715 | 0.03821 | 0.048035 | 0.945051 | 0.945051 | 0.902475 | 0.902475 | 0.902475 | 0.881732 | 0 | 0.019252 | 0.292259 | 5,064 | 107 | 140 | 47.327103 | 0.747489 | 0.388033 | 0 | 0.355556 | 1 | 0 | 0.135742 | 0.015082 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.022222 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
37a84a129d4aa24dad330ed70cd5a65f7d5208dc | 190 | py | Python | python/testData/codeInsight/mlcompletion/scopeFileDontConsiderFunctionBodies.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/codeInsight/mlcompletion/scopeFileDontConsiderFunctionBodies.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/codeInsight/mlcompletion/scopeFileDontConsiderFunctionBodies.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def some_fun(some_param):
some_var_1 = 22
some_var_2 = 23
some_var_1 = 22
some_var_2 = 23
SOME_VAR_3 = 24
print(<caret>)
def some_fun_2(some_param):
some_var_1 = 22
some_var_2 = 23 | 15.833333 | 27 | 0.726316 | 41 | 190 | 2.902439 | 0.317073 | 0.411765 | 0.201681 | 0.252101 | 0.714286 | 0.714286 | 0.714286 | 0.714286 | 0.714286 | 0.714286 | 0 | 0.141935 | 0.184211 | 190 | 12 | 28 | 15.833333 | 0.625806 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.1 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
80cf1d9cc3750da216c86b9e31151688f75f2166 | 1,339 | py | Python | build/ros_control/controller_manager_msgs/cmake/controller_manager_msgs-genmsg-context.py | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | build/ros_control/controller_manager_msgs/cmake/controller_manager_msgs-genmsg-context.py | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | build/ros_control/controller_manager_msgs/cmake/controller_manager_msgs-genmsg-context.py | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/workspace/src/ros_control/controller_manager_msgs/msg/ControllerState.msg;/workspace/src/ros_control/controller_manager_msgs/msg/ControllerStatistics.msg;/workspace/src/ros_control/controller_manager_msgs/msg/ControllersStatistics.msg;/workspace/src/... | 111.583333 | 481 | 0.855863 | 179 | 1,339 | 6.089385 | 0.329609 | 0.202752 | 0.250459 | 0.222018 | 0.491743 | 0.491743 | 0.491743 | 0.491743 | 0.359633 | 0 | 0 | 0.000766 | 0.025392 | 1,339 | 11 | 482 | 121.727273 | 0.834483 | 0.036594 | 0 | 0 | 1 | 0.333333 | 0.842391 | 0.817547 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
80d213377b292e640046d4ebd0e3f1da7b67fb03 | 66,279 | py | Python | OFROD-main/Ofrod.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-17T03:35:03.000Z | 2021-12-08T06:00:31.000Z | OFROD-main/Ofrod.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | null | null | null | OFROD-main/Ofrod.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-05T18:07:48.000Z | 2022-02-24T21:25:07.000Z | #Compiled By Raka Andrian
import marshal
exec(marshal.loads('c\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00@\x00\x00\x00sp\x03\x00\x00y\xb0\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x01\x00l\x01\x00Z\x01\x00d\x00\x00d\x01\x00l\x02\x00Z\x02\x00d\x00\x00d\x01\x00l\x03\x00Z\x03\x00d\x00\x00d\x01\x00l\x04\x00Z\x... | 16,569.75 | 66,237 | 0.748276 | 15,099 | 66,279 | 3.279091 | 0.050864 | 0.205772 | 0.090525 | 0.04605 | 0.837006 | 0.801095 | 0.752883 | 0.72293 | 0.698734 | 0.65846 | 0 | 0.400027 | 0.010577 | 66,279 | 3 | 66,238 | 22,093 | 0.354967 | 0.000362 | 0 | 0 | 0 | 6.5 | 0.589217 | 0.424623 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 16 |
039a2fb23c4b4884eeedbea61f703521ad519e98 | 4,917 | py | Python | tests/test_dense_functional_data.py | vishalbelsare/FDApy | 50feb99e34f265b1c17a6f234a9d2f942ceb8f6d | [
"MIT"
] | 19 | 2019-02-11T08:35:29.000Z | 2022-01-27T16:51:10.000Z | tests/test_dense_functional_data.py | vishalbelsare/FDApy | 50feb99e34f265b1c17a6f234a9d2f942ceb8f6d | [
"MIT"
] | 4 | 2020-04-07T07:10:26.000Z | 2022-02-09T16:33:19.000Z | tests/test_dense_functional_data.py | vishalbelsare/FDApy | 50feb99e34f265b1c17a6f234a9d2f942ceb8f6d | [
"MIT"
] | 7 | 2020-04-24T13:24:02.000Z | 2022-02-18T17:28:30.000Z | #!/usr/bin/python3.7
# -*-coding:utf8 -*
import numpy as np
import unittest
from FDApy.representation.functional_data import (DenseFunctionalData,
IrregularFunctionalData)
class TestDenseFunctionalData1D(unittest.TestCase):
"""Test class for the class DenseFunct... | 37.25 | 79 | 0.557657 | 654 | 4,917 | 3.943425 | 0.110092 | 0.105855 | 0.115161 | 0.017061 | 0.865839 | 0.83986 | 0.828228 | 0.828228 | 0.828228 | 0.759209 | 0 | 0.059842 | 0.306691 | 4,917 | 131 | 80 | 37.534351 | 0.696685 | 0.03315 | 0 | 0.59375 | 0 | 0 | 0.029523 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 1 | 0.229167 | false | 0 | 0.03125 | 0 | 0.28125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ff13038786188a421bccf939abca99192e6af3d7 | 188 | py | Python | tests/integrations/pytorch_lightning/loggers_test.py | allenai/tango | 80c90caefae4ad1c3f8472718ddada912cd8fcf9 | [
"Apache-2.0"
] | 52 | 2021-09-24T17:52:34.000Z | 2022-03-29T22:55:02.000Z | tests/integrations/pytorch_lightning/loggers_test.py | keppy/tango | fbb78935a1c8a88c049e5ace0a2d0c7eeb4c8893 | [
"Apache-2.0"
] | 90 | 2021-09-29T04:23:29.000Z | 2022-03-31T21:23:02.000Z | tests/integrations/pytorch_lightning/loggers_test.py | keppy/tango | fbb78935a1c8a88c049e5ace0a2d0c7eeb4c8893 | [
"Apache-2.0"
] | 8 | 2021-11-13T01:56:22.000Z | 2022-02-27T03:29:42.000Z | from tango.integrations.pytorch_lightning.loggers import LightningLogger
def test_all_loggers_registered():
assert "pytorch_lightning::CSVLogger" in LightningLogger.list_available()
| 31.333333 | 77 | 0.845745 | 21 | 188 | 7.285714 | 0.809524 | 0.20915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 188 | 5 | 78 | 37.6 | 0.889535 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 0.148936 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
20cda4aeb3edeb780b7eecff0611e31b097458ab | 6,592 | py | Python | textOperator.py | Pakniat/PySimplex | 0e2a1d0b3a1c5538e123e3b669c418b808a81341 | [
"MIT"
] | 5 | 2018-07-22T17:17:10.000Z | 2021-11-13T04:11:19.000Z | textOperator.py | Pakniat/PySimplex | 0e2a1d0b3a1c5538e123e3b669c418b808a81341 | [
"MIT"
] | null | null | null | textOperator.py | Pakniat/PySimplex | 0e2a1d0b3a1c5538e123e3b669c418b808a81341 | [
"MIT"
] | 2 | 2018-11-16T15:46:18.000Z | 2020-04-06T18:07:57.000Z | """this class create for simple process on string"""
from simplex import Simplex
class Operator:
def create_complete_connection(self, edgeText, vertices):
edgeText=self.get_combination(edgeText)
tempList = []
tempListGraph = []
for i in range(len(edgeText)):
if (edgeTe... | 42.805195 | 116 | 0.476335 | 649 | 6,592 | 4.804314 | 0.109399 | 0.056126 | 0.076972 | 0.056446 | 0.845093 | 0.816228 | 0.800513 | 0.794099 | 0.794099 | 0.794099 | 0 | 0.01161 | 0.398968 | 6,592 | 153 | 117 | 43.084967 | 0.775366 | 0.006523 | 0 | 0.75 | 0 | 0 | 0.020634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.007143 | null | null | 0.028571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b305962f04f4a8d8b9e8e6029ec3a23cbdbef1b1 | 4,190 | py | Python | Tests/scripts/hook_validations/tests/incident_field_test.py | RichieB2B/content | 4916d6c5f024da79c22bda85272091e41a700bfa | [
"MIT"
] | 7 | 2020-09-24T22:38:01.000Z | 2021-07-14T15:58:35.000Z | Tests/scripts/hook_validations/tests/incident_field_test.py | RichieB2B/content | 4916d6c5f024da79c22bda85272091e41a700bfa | [
"MIT"
] | 9 | 2021-02-08T20:51:18.000Z | 2021-09-23T23:27:38.000Z | Tests/scripts/hook_validations/tests/incident_field_test.py | RichieB2B/content | 4916d6c5f024da79c22bda85272091e41a700bfa | [
"MIT"
] | 2 | 2020-12-08T17:03:33.000Z | 2021-07-13T18:32:06.000Z | from Tests.scripts.hook_validations.incident_field import IncidentFieldValidator
def test_is_valid_name_sanity():
validator = IncidentFieldValidator('temp_file', check_git=False)
validator.current_incident_field = {
'cliName': 'sanity name',
'name': 'sanity name',
'id': 'incident',
... | 26.518987 | 80 | 0.659189 | 459 | 4,190 | 5.705882 | 0.087146 | 0.109584 | 0.207713 | 0.198549 | 0.913708 | 0.905307 | 0.875143 | 0.861397 | 0.859107 | 0.792287 | 0 | 0 | 0.232458 | 4,190 | 157 | 81 | 26.687898 | 0.814366 | 0 | 0 | 0.648 | 0 | 0 | 0.131026 | 0 | 0 | 0 | 0 | 0 | 0.272 | 1 | 0.056 | false | 0 | 0.008 | 0 | 0.064 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
64096dc8757d1167f4b5cd6be8438ef82939bf15 | 284 | py | Python | feature_encoders/validate/__init__.py | hebes-io/feature-encoding | 741b486a82b346c0354403b6707e105f74012d68 | [
"Apache-2.0"
] | null | null | null | feature_encoders/validate/__init__.py | hebes-io/feature-encoding | 741b486a82b346c0354403b6707e105f74012d68 | [
"Apache-2.0"
] | null | null | null | feature_encoders/validate/__init__.py | hebes-io/feature-encoding | 741b486a82b346c0354403b6707e105f74012d68 | [
"Apache-2.0"
] | null | null | null | from .schemas import (
CategoricalSchema,
CyclicalSchema,
DatetimeSchema,
LinearSchema,
SplineSchema,
TrendSchema,
)
__all__ = [
"CategoricalSchema",
"CyclicalSchema",
"DatetimeSchema",
"LinearSchema",
"SplineSchema",
"TrendSchema",
]
| 15.777778 | 24 | 0.647887 | 16 | 284 | 11.25 | 0.625 | 0.344444 | 0.5 | 0.633333 | 0.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246479 | 284 | 17 | 25 | 16.705882 | 0.841122 | 0 | 0 | 0 | 0 | 0 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
641ea04e45cab2797d3513cfb29855a914fc70c3 | 144 | py | Python | syslinkats/framework/aws/__init__.py | stick152/SystemLink-Python-ATS | 82b0fac9bae22b808ba519fa4425a931ff3c77aa | [
"MIT"
] | null | null | null | syslinkats/framework/aws/__init__.py | stick152/SystemLink-Python-ATS | 82b0fac9bae22b808ba519fa4425a931ff3c77aa | [
"MIT"
] | null | null | null | syslinkats/framework/aws/__init__.py | stick152/SystemLink-Python-ATS | 82b0fac9bae22b808ba519fa4425a931ff3c77aa | [
"MIT"
] | null | null | null | from syslinkats.framework.aws.aws_base import AWSBase
from syslinkats.framework.aws.aws_base import AWSHTTPStatusError
__author__ = 'sedwards'
| 28.8 | 64 | 0.854167 | 18 | 144 | 6.5 | 0.555556 | 0.239316 | 0.393162 | 0.444444 | 0.666667 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 144 | 4 | 65 | 36 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 7 |
642809bdea4994bef038000c5dedc4f5c054a9c4 | 224 | py | Python | src/plugins/leetcode/test_data_source.py | umimori13/mai-bot | 90e10f6488942809d4ca5ef342f403b683dbc904 | [
"MIT"
] | null | null | null | src/plugins/leetcode/test_data_source.py | umimori13/mai-bot | 90e10f6488942809d4ca5ef342f403b683dbc904 | [
"MIT"
] | null | null | null | src/plugins/leetcode/test_data_source.py | umimori13/mai-bot | 90e10f6488942809d4ca5ef342f403b683dbc904 | [
"MIT"
] | null | null | null | from unittest import TestCase
from data_source import get_leetcode_question_everyday
class Test(TestCase):
def test_get_leetcode_question_every_day(self):
get_leetcode_question_everyday()
#self.fail()
| 22.4 | 54 | 0.78125 | 29 | 224 | 5.62069 | 0.586207 | 0.202454 | 0.349693 | 0.331288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165179 | 224 | 9 | 55 | 24.888889 | 0.871658 | 0.049107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 | 1 | 0 | 0 | 7 |
643755f38a7706eab7dcb793080d3b47e2567821 | 27,585 | py | Python | budgetsupervisor/users/tests/test_live_server.py | ltowarek/budget-supervisor | 862a2d720aecd4ad2fded9c63bc839190ebbc77e | [
"MIT"
] | 1 | 2022-03-01T10:28:31.000Z | 2022-03-01T10:28:31.000Z | budgetsupervisor/users/tests/test_live_server.py | ltowarek/budget-supervisor | 862a2d720aecd4ad2fded9c63bc839190ebbc77e | [
"MIT"
] | 75 | 2020-11-07T20:14:55.000Z | 2021-10-05T15:08:22.000Z | budgetsupervisor/users/tests/test_live_server.py | ltowarek/budget-supervisor | 862a2d720aecd4ad2fded9c63bc839190ebbc77e | [
"MIT"
] | null | null | null | from typing import Callable, Iterable
import pytest
from budget.models import Account, Connection, Transaction
from django.core import mail
from django.shortcuts import reverse
from django.utils.encoding import force_bytes
from django.utils.http import urlsafe_base64_encode
from saltedge_wrapper.factory import custome... | 38.259362 | 116 | 0.65735 | 3,137 | 27,585 | 5.473701 | 0.073956 | 0.069303 | 0.097024 | 0.068313 | 0.829072 | 0.811484 | 0.794421 | 0.761691 | 0.742764 | 0.714402 | 0 | 0.001911 | 0.241291 | 27,585 | 720 | 117 | 38.3125 | 0.818529 | 0.003698 | 0 | 0.70092 | 0 | 0 | 0.078745 | 0.015793 | 0 | 0 | 0 | 0 | 0.087423 | 1 | 0.082822 | false | 0.069018 | 0.019939 | 0 | 0.116564 | 0.003067 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
ff442c57f2a6bb95049fa3ade55ce030d5247ec1 | 9,487 | py | Python | YOLO/line_object.py | qjadud1994/Alpha-Car | 4a08890fa67ad0358124df45f49d3e0d109487d8 | [
"MIT"
] | 16 | 2018-06-07T07:15:55.000Z | 2021-07-18T08:26:58.000Z | YOLO/line_object.py | qjadud1994/Alpha-Car | 4a08890fa67ad0358124df45f49d3e0d109487d8 | [
"MIT"
] | 7 | 2019-04-18T12:02:04.000Z | 2020-06-01T16:20:59.000Z | YOLO/line_object.py | qjadud1994/Alpha-Car | 4a08890fa67ad0358124df45f49d3e0d109487d8 | [
"MIT"
] | 10 | 2019-02-01T11:01:00.000Z | 2021-09-11T14:48:36.000Z | import cv2
import numpy as np
import time
global lx1, lx2, ly1, ly2, gx1, gx2, gy1, gy2, warped_eq1
lx1, lx2, ly1, ly2, gx1, gy1, gx2, gy2 = int(0), int(0), int(0), int(0),int(0), int(0), int(0), int(0)
# Frame width & Height
w = 800
h = 600
def ROI(img, vertices, color3=(255, 255, 255), color1=255):
mask = np.... | 40.370213 | 123 | 0.599346 | 1,476 | 9,487 | 3.636179 | 0.082656 | 0.099124 | 0.067077 | 0.03801 | 0.828582 | 0.789827 | 0.772312 | 0.7643 | 0.749022 | 0.749022 | 0 | 0.090652 | 0.254664 | 9,487 | 234 | 124 | 40.542735 | 0.668364 | 0.034679 | 0 | 0.712644 | 0 | 0 | 0.002624 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028736 | false | 0 | 0.017241 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ffb3512d151b9fcc9a8285a364d3a620ade63ebb | 180 | py | Python | akeydo/plugins/cpu/drivers/cgroup.py | dangle/vfio-kvm | 13ed6f6b2ebbc2e23afe267866e321a2fd51a337 | [
"MIT"
] | 30 | 2021-01-15T18:22:26.000Z | 2021-06-02T14:10:40.000Z | akeydo/plugins/cpu/drivers/cgroup.py | dangle/vfio-kvm | 13ed6f6b2ebbc2e23afe267866e321a2fd51a337 | [
"MIT"
] | 11 | 2021-01-23T05:37:06.000Z | 2021-04-21T21:50:37.000Z | akeydo/plugins/cpu/drivers/cgroup.py | dangle/vfio-kvm | 13ed6f6b2ebbc2e23afe267866e321a2fd51a337 | [
"MIT"
] | null | null | null | class Driver:
def __init__(self, cores: int) -> None:
self._cores = cores
def shield_cpu(self, *cpu):
pass
def unshield_cpu(self, *cpu):
pass
| 18 | 43 | 0.572222 | 23 | 180 | 4.173913 | 0.521739 | 0.1875 | 0.208333 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.316667 | 180 | 9 | 44 | 20 | 0.780488 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.285714 | 0 | 0 | 0.571429 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
4420e9ac062cb8a20b6cb977ff7557e2369ab33e | 47 | py | Python | ovhapi/__init__.py | surycat/ovhapi | a8b36acbbdafe7137817f2175a27553b6f212f00 | [
"BSD-3-Clause"
] | 1 | 2020-08-17T18:02:15.000Z | 2020-08-17T18:02:15.000Z | ovhapi/__init__.py | surycat/ovhapi | a8b36acbbdafe7137817f2175a27553b6f212f00 | [
"BSD-3-Clause"
] | null | null | null | ovhapi/__init__.py | surycat/ovhapi | a8b36acbbdafe7137817f2175a27553b6f212f00 | [
"BSD-3-Clause"
] | null | null | null | from OvhApi import Api, OVH_API_EU, OVH_API_CA
| 23.5 | 46 | 0.829787 | 10 | 47 | 3.5 | 0.7 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 1 | 47 | 47 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4443e3310beae2eb4700f021259257a31ad32846 | 117,410 | py | Python | dlkit/authz_adapter/assessment_authoring/sessions.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/authz_adapter/assessment_authoring/sessions.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/authz_adapter/assessment_authoring/sessions.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """AuthZ Adapter implementations of assessment.authoring sessions."""
# pylint: disable=no-init
# Numerous classes don't require __init__.
# pylint: disable=too-many-public-methods
# Number of methods are defined in specification
# pylint: disable=too-many-ancestors
# Inheritance defined in specification
... | 46.025088 | 152 | 0.742424 | 13,635 | 117,410 | 5.926073 | 0.020462 | 0.061632 | 0.061075 | 0.084342 | 0.932353 | 0.904594 | 0.882082 | 0.862083 | 0.843766 | 0.821935 | 0 | 0.000126 | 0.191977 | 117,410 | 2,550 | 153 | 46.043137 | 0.851586 | 0.254433 | 0 | 0.720841 | 0 | 0 | 0.025771 | 0.009078 | 0 | 0 | 0 | 0 | 0 | 1 | 0.213512 | false | 0.002549 | 0.005099 | 0.039516 | 0.424474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
44688f326f03a1557c6029f29e4ffe38f721a4fb | 59 | py | Python | CursoIntensivoPython/curso-intensivo-python-master/capitulo_02/exercicios/numero_oito.py | SweydAbdul/estudos-python | b052708d0566a0afb9a1c04d035467d45f820879 | [
"MIT"
] | null | null | null | CursoIntensivoPython/curso-intensivo-python-master/capitulo_02/exercicios/numero_oito.py | SweydAbdul/estudos-python | b052708d0566a0afb9a1c04d035467d45f820879 | [
"MIT"
] | null | null | null | CursoIntensivoPython/curso-intensivo-python-master/capitulo_02/exercicios/numero_oito.py | SweydAbdul/estudos-python | b052708d0566a0afb9a1c04d035467d45f820879 | [
"MIT"
] | null | null | null | print(4 + 4)
print(10 - 2)
print(2 * 4)
print(int(64 / 8))
| 11.8 | 18 | 0.559322 | 13 | 59 | 2.538462 | 0.538462 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 0.20339 | 59 | 4 | 19 | 14.75 | 0.489362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
446c7c17f1c29aeeaa987911b491b3618328c1c4 | 130 | py | Python | stable_baselines/sqn/__init__.py | createamind/stable-baselines | 663f2cd71560c53ebe01e41e560386dd9568f50f | [
"MIT"
] | 1 | 2020-10-20T06:13:15.000Z | 2020-10-20T06:13:15.000Z | stable_baselines/sqn/__init__.py | createamind/stable-baselines | 663f2cd71560c53ebe01e41e560386dd9568f50f | [
"MIT"
] | null | null | null | stable_baselines/sqn/__init__.py | createamind/stable-baselines | 663f2cd71560c53ebe01e41e560386dd9568f50f | [
"MIT"
] | null | null | null | from stable_baselines.sqn.sqn import SQN
from stable_baselines.sqn.policies import MlpPolicy, CnnPolicy, LnMlpPolicy, LnCnnPolicy
| 43.333333 | 88 | 0.861538 | 17 | 130 | 6.470588 | 0.588235 | 0.181818 | 0.345455 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084615 | 130 | 2 | 89 | 65 | 0.92437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
447e8a8607f28d02f40d426eb5d6aaf8a15c1905 | 2,527 | py | Python | extorch/nn/modules/auxiliary.py | A-LinCui/Extorch | 70e2100636c68c803a1e763fbf11d8ede73c0d37 | [
"MIT"
] | 2 | 2021-09-11T16:09:05.000Z | 2022-03-05T08:02:05.000Z | extorch/nn/modules/auxiliary.py | A-LinCui/Extorch | 70e2100636c68c803a1e763fbf11d8ede73c0d37 | [
"MIT"
] | null | null | null | extorch/nn/modules/auxiliary.py | A-LinCui/Extorch | 70e2100636c68c803a1e763fbf11d8ede73c0d37 | [
"MIT"
] | null | null | null | from torch import Tensor
import torch.nn as nn
class AuxiliaryHead(nn.Module):
r"""
Auxiliary head for the classification task on CIFAR datasets.
Args:
in_channels (int): Number of channels in the input feature.
num_classes (int): Number of classes.
Examples::
>>> import torc... | 33.693333 | 81 | 0.58607 | 298 | 2,527 | 4.862416 | 0.251678 | 0.041408 | 0.05383 | 0.070393 | 0.837819 | 0.837819 | 0.837819 | 0.837819 | 0.837819 | 0.837819 | 0 | 0.047991 | 0.290859 | 2,527 | 74 | 82 | 34.148649 | 0.760603 | 0.27226 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
927668ea6f35aedcff25f779e85a8b8c27a8c797 | 191 | py | Python | maskrcnn_benchmark/solver/__init__.py | witwitchayakarn/6DVNET | f13b35162ad90fa49d777f3a41383e9d34eb4820 | [
"MIT"
] | 295 | 2021-12-08T02:22:27.000Z | 2022-03-31T22:27:10.000Z | maskrcnn_benchmark/solver/__init__.py | witwitchayakarn/6DVNET | f13b35162ad90fa49d777f3a41383e9d34eb4820 | [
"MIT"
] | 25 | 2019-08-23T02:19:00.000Z | 2022-01-08T11:26:56.000Z | fcos/core/solver/__init__.py | best-of-acrv/fcos | 47e5624973b256b8c74ce2c00fca50e62c19c66a | [
"BSD-3-Clause"
] | 21 | 2019-08-23T02:21:59.000Z | 2022-02-13T04:08:26.000Z | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
from .build import make_optimizer
from .build import make_lr_scheduler
from .lr_scheduler import WarmupMultiStepLR
| 38.2 | 72 | 0.806283 | 26 | 191 | 5.769231 | 0.692308 | 0.12 | 0.2 | 0.253333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141361 | 191 | 4 | 73 | 47.75 | 0.914634 | 0.361257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
92929518fad021d018370af53a9449fbb935ed28 | 7,165 | py | Python | api/tests/integration/tests/basic/rsite.py | tsingdao-Tp/Indigo | b2d73faebb6a450e9b3d34fed553fad4f9d0012f | [
"Apache-2.0"
] | 204 | 2015-11-06T21:34:34.000Z | 2022-03-30T16:17:01.000Z | api/tests/integration/tests/basic/rsite.py | tsingdao-Tp/Indigo | b2d73faebb6a450e9b3d34fed553fad4f9d0012f | [
"Apache-2.0"
] | 509 | 2015-11-05T13:54:43.000Z | 2022-03-30T22:15:30.000Z | api/tests/integration/tests/basic/rsite.py | tsingdao-Tp/Indigo | b2d73faebb6a450e9b3d34fed553fad4f9d0012f | [
"Apache-2.0"
] | 89 | 2015-11-17T08:22:54.000Z | 2022-03-17T04:26:28.000Z | import os
import sys
import errno
sys.path.append('../../common')
from env_indigo import *
indigo = Indigo()
indigo.setOption("molfile-saving-skip-date", "1")
if not os.path.exists(joinPathPy("out", __file__)):
try:
os.makedirs(joinPathPy("out", __file__))
except OSError as e:
if e.errno != e... | 25.866426 | 109 | 0.470063 | 1,652 | 7,165 | 2.023608 | 0.085351 | 0.39665 | 0.507927 | 0.564762 | 0.736763 | 0.717021 | 0.656596 | 0.591086 | 0.577326 | 0.530362 | 0 | 0.457335 | 0.440614 | 7,165 | 276 | 110 | 25.960145 | 0.376747 | 0 | 0 | 0.611336 | 0 | 0.194332 | 0.801954 | 0.018562 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016194 | 0 | 0.016194 | 0.068826 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2beaf98239ba1061015093c017c547c6801a3f40 | 3,443 | py | Python | csc_devices.py | mvollandt/csc | 73decff36bdf3aae5ff01970465d96ce3a4a3248 | [
"MIT"
] | 1 | 2018-05-08T13:53:32.000Z | 2018-05-08T13:53:32.000Z | csc_devices.py | mvollandt/csc | 73decff36bdf3aae5ff01970465d96ce3a4a3248 | [
"MIT"
] | 1 | 2018-05-08T12:09:10.000Z | 2018-05-08T12:09:10.000Z | csc_devices.py | mvollandt/csc | 73decff36bdf3aae5ff01970465d96ce3a4a3248 | [
"MIT"
] | 1 | 2018-05-08T12:06:11.000Z | 2018-05-08T12:06:11.000Z | # name: csc_devices.py
# desc: lists all devices with devicename, IP, username, password, secret
router_013 = {'device_name': 'router_013', 'device_type': 'cisco_nxos', 'ip': '1.1.1.10', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', }
router_023... | 156.5 | 208 | 0.665699 | 462 | 3,443 | 4.681818 | 0.112554 | 0.029589 | 0.110957 | 0.140546 | 0.799815 | 0.799815 | 0.799815 | 0.799815 | 0.711049 | 0.611188 | 0 | 0.06514 | 0.099332 | 3,443 | 21 | 209 | 163.952381 | 0.632377 | 0.026721 | 0 | 0 | 0 | 0 | 0.599519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
2bff91c780002f7b5b0e456b779cc5adda1089de | 3,791 | py | Python | torchcmh/dataset/__init__.py | chrisbyd/deep-cross-modal-hashing | b67bed412a499fdb619769d5132d897f5910c433 | [
"MIT"
] | 65 | 2019-12-08T12:11:53.000Z | 2022-03-10T09:25:45.000Z | torchcmh/dataset/__init__.py | silencelzx/deep-cross-modal-hashing | 9784397c1076c81b43ebd856cb24b8a67cf8f41e | [
"MIT"
] | 17 | 2020-05-07T09:22:20.000Z | 2022-03-02T02:05:18.000Z | torchcmh/dataset/__init__.py | silencelzx/deep-cross-modal-hashing | 9784397c1076c81b43ebd856cb24b8a67cf8f41e | [
"MIT"
] | 17 | 2020-04-02T06:38:49.000Z | 2022-01-11T12:41:49.000Z | # -*- coding: utf-8 -*-
# @Time : 2019/7/13
# @Author : Godder
# @Github : https://github.com/WangGodder
import os
abs_dir = os.path.dirname(__file__)
__all__ = ['single_data', 'pairwise_data', 'triplet_data', 'triplet_rank_data', 'quadruplet_data', "abs_dir"]
def triplet_data(dataset_name: str, img_dir: str, **... | 45.674699 | 109 | 0.712741 | 503 | 3,791 | 5.129225 | 0.125249 | 0.149225 | 0.124031 | 0.133721 | 0.889535 | 0.851163 | 0.851163 | 0.845736 | 0.834109 | 0.798837 | 0 | 0.031969 | 0.174888 | 3,791 | 82 | 110 | 46.231707 | 0.792839 | 0.026642 | 0 | 0.47619 | 0 | 0 | 0.142741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079365 | false | 0 | 0.333333 | 0 | 0.492063 | 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 | 1 | 0 | 0 | 0 | 0 | 7 |
921de11a93487d67a148ccae3b13bd836d808d5e | 5,781 | py | Python | 35_BodyPix/01_float32/02_weight_quantization.py | khanfarhan10/PINTO_model_zoo | 4cad2e506d8c0fb604aa7b5f84115a840ab59ba1 | [
"MIT"
] | 1 | 2021-04-22T11:59:19.000Z | 2021-04-22T11:59:19.000Z | 35_BodyPix/01_float32/02_weight_quantization.py | khanfarhan10/PINTO_model_zoo | 4cad2e506d8c0fb604aa7b5f84115a840ab59ba1 | [
"MIT"
] | null | null | null | 35_BodyPix/01_float32/02_weight_quantization.py | khanfarhan10/PINTO_model_zoo | 4cad2e506d8c0fb604aa7b5f84115a840ab59ba1 | [
"MIT"
] | null | null | null | ### tensorflow-gpu==1.15.2
import tensorflow as tf
import numpy as np
# Weight Quantization - Input/Output=float32
graph_def_file="bodypix_025.pb"
input_arrays=["sub"]
output_arrays=['output_raw_heatmaps','output_raw_offsets',
'output_raw_part_heatmaps/conv','output_raw_segments']
input_tensor={"sub":... | 47 | 84 | 0.738281 | 749 | 5,781 | 5.313752 | 0.080107 | 0.072362 | 0.048241 | 0.058291 | 0.986935 | 0.986935 | 0.980905 | 0.980905 | 0.980905 | 0.980905 | 0 | 0.051429 | 0.152396 | 5,781 | 123 | 85 | 47 | 0.760816 | 0.063311 | 0 | 0.816327 | 0 | 0 | 0.321244 | 0.158401 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020408 | 0 | 0.020408 | 0.081633 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
47241e46116a1b3bda3c4233a36fd193be2ab023 | 4,909 | py | Python | Lectures/UAV_control/beard/pid_control.py | donnel2-cooper/drone_control | 3bb3a1c1f768916ac41d4b78692e2edab0776c07 | [
"MIT"
] | null | null | null | Lectures/UAV_control/beard/pid_control.py | donnel2-cooper/drone_control | 3bb3a1c1f768916ac41d4b78692e2edab0776c07 | [
"MIT"
] | null | null | null | Lectures/UAV_control/beard/pid_control.py | donnel2-cooper/drone_control | 3bb3a1c1f768916ac41d4b78692e2edab0776c07 | [
"MIT"
] | null | null | null | """
pid_control
- Beard & McLain, PUP, 2012
- Last Update:
2/6/2019 - RWB
"""
import sys
import numpy as np
sys.path.append('..')
class pidControl:
def __init__(self, kp=0.0, ki=0.0, kd=0.0, Ts=0.01, sigma=0.05, limit=1.0):
self.kp = kp
self.ki = ki
self.kd = kd
sel... | 31.267516 | 79 | 0.522917 | 675 | 4,909 | 3.65037 | 0.125926 | 0.037338 | 0.102273 | 0.066964 | 0.849838 | 0.817776 | 0.789773 | 0.782062 | 0.782062 | 0.750812 | 0 | 0.038298 | 0.377674 | 4,909 | 157 | 80 | 31.267516 | 0.768249 | 0.180892 | 0 | 0.788991 | 0 | 0 | 0.000502 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.091743 | false | 0 | 0.018349 | 0 | 0.201835 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
473212d8dcf8dbad85266ed3caee947a0d11cefc | 176 | py | Python | learning_logs/admin.py | huggingcat/learning_log | c4cea5e7f441558b1d2004fafc137348ff70c12a | [
"MIT"
] | null | null | null | learning_logs/admin.py | huggingcat/learning_log | c4cea5e7f441558b1d2004fafc137348ff70c12a | [
"MIT"
] | null | null | null | learning_logs/admin.py | huggingcat/learning_log | c4cea5e7f441558b1d2004fafc137348ff70c12a | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Topic
from .models import Topic, Entry
# Register your models here.
admin.site.register(Topic)
admin.site.register(Entry)
| 22 | 32 | 0.801136 | 26 | 176 | 5.423077 | 0.461538 | 0.141844 | 0.22695 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119318 | 176 | 7 | 33 | 25.142857 | 0.909677 | 0.147727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5b616835e8763461ae9323c0befa81098bccbd6c | 74,324 | py | Python | bandwidth/voice/controllers/api_controller.py | roverdotcom/python-sdk | c6947fb3331b77f0064aeec2dcf0c4ff178de34c | [
"MIT"
] | 5 | 2020-11-04T14:29:37.000Z | 2022-02-23T20:33:07.000Z | bandwidth/voice/controllers/api_controller.py | roverdotcom/python-sdk | c6947fb3331b77f0064aeec2dcf0c4ff178de34c | [
"MIT"
] | 3 | 2021-07-23T18:48:48.000Z | 2022-03-15T14:59:07.000Z | bandwidth/voice/controllers/api_controller.py | roverdotcom/python-sdk | c6947fb3331b77f0064aeec2dcf0c4ff178de34c | [
"MIT"
] | 8 | 2020-04-14T09:22:53.000Z | 2022-03-11T10:46:06.000Z | # -*- coding: utf-8 -*-
"""
bandwidth
This file was automatically generated by APIMATIC v3.0 (
https://www.apimatic.io ).
"""
from bandwidth.api_helper import APIHelper
from bandwidth.configuration import Server
from bandwidth.http.api_response import ApiResponse
from bandwidth.voice.controllers.base_co... | 50.941741 | 160 | 0.639296 | 8,120 | 74,324 | 5.661946 | 0.036084 | 0.045068 | 0.057945 | 0.071822 | 0.951452 | 0.945057 | 0.941533 | 0.937401 | 0.930332 | 0.927569 | 0 | 0.009584 | 0.288211 | 74,324 | 1,458 | 161 | 50.97668 | 0.85946 | 0.248749 | 0 | 0.873724 | 1 | 0.015306 | 0.17242 | 0.02569 | 0 | 0 | 0 | 0.044582 | 0 | 1 | 0.028061 | false | 0 | 0.017857 | 0 | 0.07398 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5b869b2740110d1f4732d6377ca1ce7a264ea295 | 4,652 | py | Python | attacks/hastad_broadcast_1.sage.py | HimadriP/RSA_attacks | db58478a33f0dffe492b9a626bf0a4a055682690 | [
"MIT"
] | null | null | null | attacks/hastad_broadcast_1.sage.py | HimadriP/RSA_attacks | db58478a33f0dffe492b9a626bf0a4a055682690 | [
"MIT"
] | null | null | null | attacks/hastad_broadcast_1.sage.py | HimadriP/RSA_attacks | db58478a33f0dffe492b9a626bf0a4a055682690 | [
"MIT"
] | null | null | null |
# This file was *autogenerated* from the file hastad_broadcast_1.sage
from sage.all_cmdline import * # import sage library
_sage_const_3 = Integer(3); _sage_const_1 = Integer(1); _sage_const_0 = Integer(0); _sage_const_6463622691511358246253843530346957637373771131900115657628956890377133584685693433311356736502535... | 58.15 | 1,996 | 0.846948 | 366 | 4,652 | 10.505464 | 0.306011 | 0.044473 | 0.013004 | 0.006242 | 0.023927 | 0.019246 | 0.009883 | 0.009883 | 0 | 0 | 0 | 0.65493 | 0.084265 | 4,652 | 79 | 1,997 | 58.886076 | 0.247653 | 0.176053 | 0 | 0 | 1 | 0 | 0.008931 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 0.030303 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
34671c189f2f13c48b0e1f4b5b8437df40354825 | 166 | py | Python | testing/auto_namedtuple.py | KindDragon/all-repos | 88f50d7bf10247bb14dd82b6f8b18957b2a9941d | [
"MIT"
] | null | null | null | testing/auto_namedtuple.py | KindDragon/all-repos | 88f50d7bf10247bb14dd82b6f8b18957b2a9941d | [
"MIT"
] | null | null | null | testing/auto_namedtuple.py | KindDragon/all-repos | 88f50d7bf10247bb14dd82b6f8b18957b2a9941d | [
"MIT"
] | 1 | 2022-03-31T04:09:55.000Z | 2022-03-31T04:09:55.000Z | from __future__ import annotations
import collections
def auto_namedtuple(**kwargs):
return collections.namedtuple('auto_namedtuple', tuple(kwargs))(**kwargs)
| 20.75 | 77 | 0.789157 | 18 | 166 | 6.944444 | 0.611111 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 166 | 7 | 78 | 23.714286 | 0.844595 | 0 | 0 | 0 | 0 | 0 | 0.090361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
3476826678c953f5a3e432636bd9fc6f7fd49ae1 | 21,683 | py | Python | In_Prep_Manuscripts/GFC_Anxiety_2019_PBS/scripts/analysis/RidgeRegression_iFGconnections_GFC.py | Telzer-DSNLab/Project-NeuroTeen | 0ef67d8a902682e8f482b07b0f89dcfc21247b41 | [
"BSD-3-Clause"
] | null | null | null | In_Prep_Manuscripts/GFC_Anxiety_2019_PBS/scripts/analysis/RidgeRegression_iFGconnections_GFC.py | Telzer-DSNLab/Project-NeuroTeen | 0ef67d8a902682e8f482b07b0f89dcfc21247b41 | [
"BSD-3-Clause"
] | null | null | null | In_Prep_Manuscripts/GFC_Anxiety_2019_PBS/scripts/analysis/RidgeRegression_iFGconnections_GFC.py | Telzer-DSNLab/Project-NeuroTeen | 0ef67d8a902682e8f482b07b0f89dcfc21247b41 | [
"BSD-3-Clause"
] | null | null | null | #import libraries
import nibabel as nib
import numpy as np
import pylab as pl
from scipy import stats
import scipy
import os
import pandas as pd
import csv
from sklearn import linear_model #for regression analysis
from sklearn.metrics import mean_squared_error, r2_score
from sklearn.model_selection import KFold
pat... | 51.62619 | 174 | 0.791818 | 3,425 | 21,683 | 4.747153 | 0.048759 | 0.05314 | 0.059044 | 0.038379 | 0.943785 | 0.929085 | 0.929085 | 0.924596 | 0.920598 | 0.920598 | 0 | 0.020206 | 0.066458 | 21,683 | 419 | 175 | 51.749403 | 0.783025 | 0.067841 | 0 | 0.707006 | 0 | 0.025478 | 0.098418 | 0.017767 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035032 | 0 | 0.035032 | 0.11465 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
cab07f6c7c72b566795281062a0169a4b1feee19 | 242 | py | Python | Chapter_2/Comments/Comments.py | random-forest-ai/python_course | cd6b7f30e1932312c05178e6bb66cc95c72fe6c1 | [
"MIT"
] | null | null | null | Chapter_2/Comments/Comments.py | random-forest-ai/python_course | cd6b7f30e1932312c05178e6bb66cc95c72fe6c1 | [
"MIT"
] | null | null | null | Chapter_2/Comments/Comments.py | random-forest-ai/python_course | cd6b7f30e1932312c05178e6bb66cc95c72fe6c1 | [
"MIT"
] | null | null | null | if __name__ == '__main__':
# This is a line printing Hello World
# This is a second line comment
'''
This is a line printing Hello World
This is a second line comment
'''
print("Hello World") # This is a comment
| 22 | 44 | 0.632231 | 36 | 242 | 4.027778 | 0.361111 | 0.206897 | 0.241379 | 0.331034 | 0.848276 | 0.731034 | 0.731034 | 0.731034 | 0.731034 | 0.731034 | 0 | 0 | 0.293388 | 242 | 10 | 45 | 24.2 | 0.847953 | 0.342975 | 0 | 0 | 0 | 0 | 0.279412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
cac8e43ae44fc61f8485e6d0d9765ce4cec8c192 | 5,392 | py | Python | loss/adversarial_loss_gen.py | himashi92/vizviva_brats_2021 | 7b7c5d157a98bf9d1a96c3ca2633aad6c2132475 | [
"MIT"
] | 2 | 2022-02-14T15:40:49.000Z | 2022-02-27T02:29:39.000Z | loss/adversarial_loss_gen.py | himashi92/vizviva_brats_2021 | 7b7c5d157a98bf9d1a96c3ca2633aad6c2132475 | [
"MIT"
] | 2 | 2022-03-06T10:54:24.000Z | 2022-03-26T06:45:21.000Z | loss/adversarial_loss_gen.py | himashi92/vizviva_brats_2021 | 7b7c5d157a98bf9d1a96c3ca2633aad6c2132475 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
CE = nn.BCELoss()
def adv_loss_gen_v1(critic_segs_1, critic_segs_2, label):
critic_segs_1_1 = critic_segs_1[:,0,:,:,:]
critic_segs_1_2 = critic_segs_1[:,1,:,:,:]
critic_segs_1_3 = critic_segs_1[:,2,:,:,:]
critic_segs_2_1 = critic_segs_2[:,0,:,:,:]
c... | 44.933333 | 129 | 0.580675 | 820 | 5,392 | 3.25 | 0.037805 | 0.450281 | 0.165103 | 0.117073 | 0.977111 | 0.977111 | 0.949343 | 0.881426 | 0.881426 | 0.881426 | 0 | 0.083934 | 0.279674 | 5,392 | 120 | 130 | 44.933333 | 0.602214 | 0 | 0 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045977 | false | 0 | 0.022989 | 0 | 0.114943 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 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 | 8 |
caea3269f23342c37d22415b07d0fbcebe6a5850 | 712 | py | Python | 03/03/isspace.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | 03/03/isspace.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | 39 | 2017-07-31T22:54:01.000Z | 2017-08-31T00:19:03.000Z | 03/03/isspace.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | s = b'abc'; print(s.isspace(), s)
s = b'a-c'; print(s.isspace(), s)
s = b'a c'; print(s.isspace(), s)
s = b'a\tc'; print(s.isspace(), s)
s = b' '; print(s.isspace(), s)#半角スペースつ3
s = b'\r\n'; print(s.isspace(), s)
#s = b' '; print(s.isspace(), s)#全角スペース SyntaxError: bytes can only contain ASCII literal characters.
s ... | 44.5 | 112 | 0.622191 | 129 | 712 | 3.434109 | 0.162791 | 0.189616 | 0.410835 | 0.442438 | 0.954853 | 0.954853 | 0.954853 | 0.896163 | 0.873589 | 0.873589 | 0 | 0.003252 | 0.136236 | 712 | 15 | 113 | 47.466667 | 0.717073 | 0.316011 | 0 | 0 | 0 | 0 | 0.08316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 9 |
1b0c2eef13159d2aea7fc63354f0bfc6168195e2 | 113 | py | Python | Python/HackerRank/mutations.py | habibullahturkmen/kodluyoruzilkrepo | b438657580450b0b68fc1db140b8079738ef5a36 | [
"MIT"
] | 2 | 2020-11-19T19:03:28.000Z | 2021-01-04T19:52:11.000Z | Python/HackerRank/mutations.py | habibullahturkmen/kodluyoruzilkrepo | b438657580450b0b68fc1db140b8079738ef5a36 | [
"MIT"
] | null | null | null | Python/HackerRank/mutations.py | habibullahturkmen/kodluyoruzilkrepo | b438657580450b0b68fc1db140b8079738ef5a36 | [
"MIT"
] | null | null | null | def mutate_string(string, position, character):
return string[:position] + character + string[position + 1:]
| 37.666667 | 64 | 0.734513 | 13 | 113 | 6.307692 | 0.538462 | 0.512195 | 0.560976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.141593 | 113 | 2 | 65 | 56.5 | 0.835052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
943f247feba6100729ec0fc30040e3ba5e8aea3a | 13,123 | py | Python | trashguy/lut.py | jonatan1609/TrashGuy | ad26cca8d643bf74861966bc2a40321260de1d3d | [
"MIT"
] | 1 | 2022-03-11T00:17:22.000Z | 2022-03-11T00:17:22.000Z | trashguy/lut.py | jonatan1609/TrashGuy | ad26cca8d643bf74861966bc2a40321260de1d3d | [
"MIT"
] | null | null | null | trashguy/lut.py | jonatan1609/TrashGuy | ad26cca8d643bf74861966bc2a40321260de1d3d | [
"MIT"
] | null | null | null | # ================================================= #
# Trash Guy Animation #
# (> ^_^)> #
# Made by Zac (trashguy@zac.cy) #
# Version 4.1.0+20201210 #
# Donate: ... | 68.706806 | 77 | 0.385202 | 2,337 | 13,123 | 2.161746 | 0.065469 | 0.051465 | 0.07601 | 0.101346 | 0.827395 | 0.820269 | 0.820269 | 0.820269 | 0.820269 | 0.820269 | 0 | 0.427121 | 0.257106 | 13,123 | 190 | 78 | 69.068421 | 0.091086 | 0.135259 | 0 | 0.771242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9452ce29e9fc9dedc22602cc6334d4cdc769ff19 | 4,624 | py | Python | dz/dz-04/src/evolution/encoding.py | Yalfoosh/AIPR | cd89e562682e7f868d56db2414a92c2d14d8ad8d | [
"Apache-2.0"
] | null | null | null | dz/dz-04/src/evolution/encoding.py | Yalfoosh/AIPR | cd89e562682e7f868d56db2414a92c2d14d8ad8d | [
"Apache-2.0"
] | null | null | null | dz/dz-04/src/evolution/encoding.py | Yalfoosh/AIPR | cd89e562682e7f868d56db2414a92c2d14d8ad8d | [
"Apache-2.0"
] | null | null | null | import copy
from typing import Tuple, Union
import numpy as np
from .module import Module
from .utils import bin2dec_vector, dec2bin_vector
class BinaryEncoder(Module):
@staticmethod
def __check_init_args(
dim: int, interval: Union[Tuple[Union[float, int], Union[float, int]]]
) -> Tuple[int, np... | 28.54321 | 88 | 0.570502 | 554 | 4,624 | 4.604693 | 0.144404 | 0.042336 | 0.040768 | 0.061152 | 0.857703 | 0.827127 | 0.813799 | 0.787534 | 0.787534 | 0.759702 | 0 | 0.011912 | 0.328287 | 4,624 | 161 | 89 | 28.720497 | 0.809401 | 0 | 0 | 0.793388 | 0 | 0 | 0.169983 | 0.010381 | 0 | 0 | 0 | 0 | 0 | 1 | 0.140496 | false | 0 | 0.041322 | 0.090909 | 0.322314 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
846e9b279c5c949fb081082e73654a4ef241f44d | 14,209 | py | Python | RiskQuantLib/Build/buildFuction.py | SyuyaMurakami/RiskQuantLib-Doc | 2503befc24c2e422e51f8b9f468c8d8439e11c65 | [
"MIT"
] | 1 | 2021-12-29T12:18:45.000Z | 2021-12-29T12:18:45.000Z | RiskQuantLib/Build/buildFuction.py | SyuyaMurakami/RiskQuantLib-Doc | 2503befc24c2e422e51f8b9f468c8d8439e11c65 | [
"MIT"
] | null | null | null | RiskQuantLib/Build/buildFuction.py | SyuyaMurakami/RiskQuantLib-Doc | 2503befc24c2e422e51f8b9f468c8d8439e11c65 | [
"MIT"
] | null | null | null | #!/usr/bin/python
#coding = utf-8
def buildStringFunction(variableNameString:str):
"""
buildStringFunction(variableNameString:str) is a function to automatically build a set function,
given the variable type as 'String'.
This function returns a codeBuilder object.
Parameters
----------
var... | 37.589947 | 348 | 0.673024 | 1,611 | 14,209 | 5.882061 | 0.10987 | 0.038413 | 0.053398 | 0.054031 | 0.855741 | 0.804875 | 0.783347 | 0.780815 | 0.772794 | 0.772794 | 0 | 0.005269 | 0.185164 | 14,209 | 377 | 349 | 37.689655 | 0.81318 | 0.290942 | 0 | 0.761905 | 0 | 0.02381 | 0.220156 | 0.032051 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053571 | false | 0 | 0.059524 | 0 | 0.14881 | 0.02381 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
84748a9d96a65cdc0a73941ddbfeabe667857a74 | 14,652 | py | Python | dlkit/json_/assessment/default_mdata.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/json_/assessment/default_mdata.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/json_/assessment/default_mdata.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """JSON osid metadata configurations for assessment service."""
from .. import types
from ..primitives import Type
DEFAULT_LANGUAGE_TYPE = Type(**types.Language().get_type_data("DEFAULT"))
DEFAULT_SCRIPT_TYPE = Type(**types.Script().get_type_data("DEFAULT"))
DEFAULT_FORMAT_TYPE = Type(**types.Format().get_type_data("D... | 35.563107 | 73 | 0.487374 | 1,165 | 14,652 | 5.84206 | 0.067811 | 0.149868 | 0.097708 | 0.159859 | 0.863503 | 0.852483 | 0.818396 | 0.818396 | 0.818396 | 0.818396 | 0 | 0 | 0.383497 | 14,652 | 411 | 74 | 35.649635 | 0.75346 | 0.025799 | 0 | 0.727273 | 0 | 0 | 0.265462 | 0.008083 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020779 | false | 0 | 0.005195 | 0 | 0.046753 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
84c17ff999ec9c56a9884aa2a89e3c727c39ccec | 11,119 | py | Python | tests/test_regression.py | satvidh/batch-scoring | 13da21e813da3e757526b9c51f7dd1fe2b224603 | [
"BSD-3-Clause"
] | 30 | 2016-03-03T10:29:15.000Z | 2020-06-03T21:43:11.000Z | tests/test_regression.py | satvidh/batch-scoring | 13da21e813da3e757526b9c51f7dd1fe2b224603 | [
"BSD-3-Clause"
] | 164 | 2016-03-03T12:31:22.000Z | 2020-09-08T13:18:39.000Z | tests/test_regression.py | satvidh/batch-scoring | 13da21e813da3e757526b9c51f7dd1fe2b224603 | [
"BSD-3-Clause"
] | 18 | 2016-05-12T13:50:05.000Z | 2021-06-30T19:42:09.000Z | import pytest
from datarobot_batch_scoring.batch_scoring import run_batch_predictions
from utils import PickableMock
from utils import read_logs
def test_regression(live_server, tmpdir, ui, keep_cols=None,
in_fixture='tests/fixtures/regression_predict.csv',
out_fixture='tests/... | 32.89645 | 78 | 0.627484 | 1,350 | 11,119 | 4.845185 | 0.102963 | 0.073383 | 0.107629 | 0.08806 | 0.849106 | 0.829537 | 0.800795 | 0.787189 | 0.77664 | 0.77664 | 0 | 0.021951 | 0.270708 | 11,119 | 337 | 79 | 32.994065 | 0.784684 | 0.010433 | 0 | 0.716418 | 0 | 0 | 0.171623 | 0.148704 | 0 | 0 | 0 | 0 | 0.037313 | 1 | 0.093284 | false | 0.014925 | 0.029851 | 0 | 0.123134 | 0.003731 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ca03895a92271b94a3bef78a065c4c5459a61372 | 49 | py | Python | models/__init__.py | zhxtu/ours_video | 2762501e4d3795872ffabc49fa3c73fdde10af8b | [
"MIT"
] | null | null | null | models/__init__.py | zhxtu/ours_video | 2762501e4d3795872ffabc49fa3c73fdde10af8b | [
"MIT"
] | null | null | null | models/__init__.py | zhxtu/ours_video | 2762501e4d3795872ffabc49fa3c73fdde10af8b | [
"MIT"
] | null | null | null | from .model import CAC
from .model_vid import VCL | 24.5 | 26 | 0.816327 | 9 | 49 | 4.333333 | 0.666667 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 26 | 24.5 | 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 | 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 | 7 |
ca450182bb7a34f853d42534c6701c35ca42fbda | 76,697 | py | Python | powermetrics-parse.py | wolruf/apple-m1-power-consumption-powermetrics | cdd8e6ed9f3f076f52221a5bc4f848e79ffa65e1 | [
"MIT"
] | null | null | null | powermetrics-parse.py | wolruf/apple-m1-power-consumption-powermetrics | cdd8e6ed9f3f076f52221a5bc4f848e79ffa65e1 | [
"MIT"
] | null | null | null | powermetrics-parse.py | wolruf/apple-m1-power-consumption-powermetrics | cdd8e6ed9f3f076f52221a5bc4f848e79ffa65e1 | [
"MIT"
] | null | null | null | #!./bin/python3
import os
import subprocess
import re
import csv
import plotly.express as px
import plotly.graph_objects as go
from plotly.subplots import make_subplots
import plotly.io as pio
import pandas as pd
import numpy as np
import time
import plotly.figure_factory as ff
from PIL import Image
def regexParse(con... | 48.573148 | 222 | 0.596464 | 9,782 | 76,697 | 4.589654 | 0.053363 | 0.025481 | 0.022185 | 0.019645 | 0.918367 | 0.911997 | 0.899457 | 0.89616 | 0.887518 | 0.882194 | 0 | 0.06058 | 0.219383 | 76,697 | 1,579 | 223 | 48.573148 | 0.689299 | 0.094241 | 0 | 0.740924 | 0 | 0.019802 | 0.272563 | 0.032125 | 0 | 0 | 0 | 0.000633 | 0 | 1 | 0.004951 | false | 0 | 0.010726 | 0 | 0.016502 | 0.006601 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ca5ba567a759b2c0b706aadfdf0362dacff6069d | 51,664 | bzl | Python | bazelrio/dependencies/wpilib/2022_1_1_beta_1/deps.bzl | noamzaks/bazelrio | 1684b66865e655fc0f3832f0e3602e905a1d4035 | [
"MIT"
] | 5 | 2021-09-26T01:16:26.000Z | 2022-03-18T17:21:23.000Z | bazelrio/dependencies/wpilib/2022_1_1_beta_1/deps.bzl | noamzaks/bazelrio | 1684b66865e655fc0f3832f0e3602e905a1d4035 | [
"MIT"
] | 59 | 2021-09-23T04:19:33.000Z | 2022-03-29T07:47:10.000Z | bazelrio/dependencies/wpilib/2022_1_1_beta_1/deps.bzl | noamzaks/bazelrio | 1684b66865e655fc0f3832f0e3602e905a1d4035 | [
"MIT"
] | 2 | 2021-11-18T10:34:16.000Z | 2021-11-21T06:15:07.000Z | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_jar")
load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
load("@bazelrio//:deps_utils.bzl", "cc_library_headers", "cc_library_shared", "cc_library_sourc... | 56.525164 | 181 | 0.730741 | 5,977 | 51,664 | 6.02794 | 0.03664 | 0.043632 | 0.079991 | 0.070221 | 0.761886 | 0.758445 | 0.743984 | 0.739765 | 0.727858 | 0.696189 | 0 | 0.18397 | 0.154305 | 51,664 | 913 | 182 | 56.587076 | 0.640644 | 0 | 0 | 0.419956 | 0 | 0.142544 | 0.654847 | 0.335282 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001096 | true | 0 | 0.012061 | 0 | 0.013158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ca9b0b948b70d0bda767a3df0e889421a12fdde7 | 247 | py | Python | nmigen_boards/tinyfpga_ax2.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 11 | 2021-12-10T12:23:29.000Z | 2022-03-13T08:40:20.000Z | nmigen_boards/tinyfpga_ax2.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 12 | 2021-12-11T18:51:29.000Z | 2022-03-12T05:08:52.000Z | nmigen_boards/tinyfpga_ax2.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 7 | 2021-12-12T07:20:21.000Z | 2022-03-06T06:20:55.000Z | from amaranth_boards.tinyfpga_ax2 import *
from amaranth_boards.tinyfpga_ax2 import __all__
import warnings
warnings.warn("instead of nmigen_boards.tinyfpga_ax2, use amaranth_boards.tinyfpga_ax2",
DeprecationWarning, stacklevel=2)
| 30.875 | 88 | 0.809717 | 31 | 247 | 6.064516 | 0.516129 | 0.297872 | 0.361702 | 0.398936 | 0.37234 | 0.37234 | 0 | 0 | 0 | 0 | 0 | 0.023364 | 0.133603 | 247 | 7 | 89 | 35.285714 | 0.85514 | 0 | 0 | 0 | 0 | 0 | 0.287449 | 0.222672 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
04d31e8f536442e92780af8d5182bfae3e811a3b | 1,349 | py | Python | user/vistas/widgets/list-2colums.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | user/vistas/widgets/list-2colums.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | user/vistas/widgets/list-2colums.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
doc+=''''''
data["widget"]={}
data["widget"]["list"]=[{"href":"#","titulo":"Praesent vestibulum molestie"},
{"href":"#","titulo":"Praesent vestibulum molestie"},
{"href":"#","titulo":"Praesent vestibulum molestie"},
... | 36.459459 | 132 | 0.48258 | 165 | 1,349 | 3.933333 | 0.248485 | 0.123267 | 0.151002 | 0.172573 | 0.864407 | 0.733436 | 0.662558 | 0.662558 | 0.662558 | 0.662558 | 0 | 0.009497 | 0.219422 | 1,349 | 37 | 133 | 36.459459 | 0.606838 | 0.028169 | 0 | 0.735294 | 0 | 0.058824 | 0.442748 | 0.016031 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.058824 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
b6d3b7e5e1a72cf4537c824789afd671243af2de | 97,709 | py | Python | pages/basic_image_processing_operations.py | jjaramillo34/demo-image-processing | 2ab0dd37092265f1efacc21aef457f3f6752ddaa | [
"MIT"
] | null | null | null | pages/basic_image_processing_operations.py | jjaramillo34/demo-image-processing | 2ab0dd37092265f1efacc21aef457f3f6752ddaa | [
"MIT"
] | null | null | null | pages/basic_image_processing_operations.py | jjaramillo34/demo-image-processing | 2ab0dd37092265f1efacc21aef457f3f6752ddaa | [
"MIT"
] | null | null | null | from ast import Not
from lib2to3.pytree import convert
from trace import CoverageResults
from pandas import options
import streamlit as st
import cv2 as cv
import numpy as np
import string
import random
from io import BytesIO
import requests
import shutil
import imutils
import streamlit.components.v1 as components
from... | 48.611443 | 179 | 0.549202 | 11,350 | 97,709 | 4.6637 | 0.065903 | 0.015718 | 0.033325 | 0.040731 | 0.879357 | 0.860692 | 0.851076 | 0.84658 | 0.84486 | 0.84129 | 0 | 0.031173 | 0.340429 | 97,709 | 2,010 | 180 | 48.611443 | 0.789948 | 0.120112 | 0 | 0.802853 | 0 | 0.018807 | 0.207217 | 0.011756 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007134 | false | 0 | 0.01297 | 0 | 0.020752 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b6f2bd5dd43dcfec4c7f3689f4ed9bf781c9561c | 19,392 | py | Python | tests/test_join_query.py | Zenlytic/granite | 93cc523954b1b900d7893af803a8fb3e5fc7d343 | [
"Apache-2.0"
] | null | null | null | tests/test_join_query.py | Zenlytic/granite | 93cc523954b1b900d7893af803a8fb3e5fc7d343 | [
"Apache-2.0"
] | null | null | null | tests/test_join_query.py | Zenlytic/granite | 93cc523954b1b900d7893af803a8fb3e5fc7d343 | [
"Apache-2.0"
] | null | null | null | # import pytest
def test_query_no_join(connection):
query = connection.get_sql_query(metrics=["total_item_revenue"], dimensions=["channel"])
correct = (
"SELECT order_lines.sales_channel as order_lines_channel,"
"SUM(order_lines.revenue) as order_lines_total_item_revenue "
"FROM anal... | 45.735849 | 119 | 0.71514 | 2,599 | 19,392 | 5.00077 | 0.064255 | 0.116181 | 0.05332 | 0.05886 | 0.869508 | 0.834346 | 0.824575 | 0.790336 | 0.755636 | 0.715858 | 0 | 0.015894 | 0.182395 | 19,392 | 423 | 120 | 45.843972 | 0.803847 | 0.000928 | 0 | 0.471471 | 0 | 0.039039 | 0.637654 | 0.325848 | 0 | 0 | 0 | 0 | 0.075075 | 1 | 0.075075 | false | 0 | 0 | 0 | 0.075075 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f3fdf8be5b27cafeba639c3a598acacbe20c6383 | 14,894 | py | Python | sdk/python/pulumi_digitalocean/database_user.py | yitsushi/pulumi-digitalocean | 9d408e7e4a3bed2d9e7aa91a32e2f154706a3400 | [
"ECL-2.0",
"Apache-2.0"
] | 53 | 2019-04-25T14:43:12.000Z | 2022-03-14T15:51:44.000Z | sdk/python/pulumi_digitalocean/database_user.py | yitsushi/pulumi-digitalocean | 9d408e7e4a3bed2d9e7aa91a32e2f154706a3400 | [
"ECL-2.0",
"Apache-2.0"
] | 158 | 2019-04-15T21:47:18.000Z | 2022-03-29T21:21:57.000Z | sdk/python/pulumi_digitalocean/database_user.py | yitsushi/pulumi-digitalocean | 9d408e7e4a3bed2d9e7aa91a32e2f154706a3400 | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-04-15T20:16:11.000Z | 2021-05-28T19:08:32.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 42.676218 | 238 | 0.647442 | 1,795 | 14,894 | 5.154318 | 0.113092 | 0.065391 | 0.080199 | 0.076092 | 0.801016 | 0.776048 | 0.750324 | 0.741786 | 0.736273 | 0.720601 | 0 | 0.005055 | 0.256143 | 14,894 | 348 | 239 | 42.798851 | 0.830039 | 0.398818 | 0 | 0.603352 | 1 | 0 | 0.0874 | 0.005478 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156425 | false | 0.078212 | 0.027933 | 0 | 0.27933 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
edaa11d57bfaf094ff23baa1f233866f428abf23 | 48 | py | Python | static/news_ETL/config.py | DutchDS/Project-2 | ca9378ac797b8e29b655453f95553f54858b7bb8 | [
"MIT"
] | null | null | null | static/news_ETL/config.py | DutchDS/Project-2 | ca9378ac797b8e29b655453f95553f54858b7bb8 | [
"MIT"
] | 4 | 2020-02-25T02:49:55.000Z | 2020-02-29T19:43:35.000Z | static/news_ETL/config.py | DutchDS/Project-2 | ca9378ac797b8e29b655453f95553f54858b7bb8 | [
"MIT"
] | 1 | 2020-06-06T02:02:22.000Z | 2020-06-06T02:02:22.000Z | newsapi_key = '17189260d63f458ca3a7b53161be8b0a' | 48 | 48 | 0.895833 | 3 | 48 | 14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.478261 | 0.041667 | 48 | 1 | 48 | 48 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0.653061 | 0.653061 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
edd7304526d3db19ec9bc2c17540c5223a16d11f | 47 | py | Python | at_learner_core/at_learner_core/models/model.py | hieuvecto/CASIA-SURF_CeFA | 71dfd846ce968b3ed26974392a6e0c9b40aa12ae | [
"MIT"
] | 133 | 2020-03-03T03:58:04.000Z | 2022-03-28T21:42:36.000Z | at_learner_core/at_learner_core/models/model.py | lucaslu1987/CASIA-SURF_CeFA | 205d3d976523ed0c15d1e709ed7f21d50d7cf19b | [
"MIT"
] | 24 | 2020-03-13T09:30:09.000Z | 2022-03-22T07:47:15.000Z | at_learner_core/at_learner_core/models/model.py | lucaslu1987/CASIA-SURF_CeFA | 205d3d976523ed0c15d1e709ed7f21d50d7cf19b | [
"MIT"
] | 29 | 2020-03-10T06:46:45.000Z | 2022-01-29T15:35:21.000Z | '''
TODO:
def get_wrapper
def get_optimizer
''' | 9.4 | 17 | 0.723404 | 7 | 47 | 4.571429 | 0.714286 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 5 | 18 | 9.4 | 0.780488 | 0.829787 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.2 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
edee871f34d10808eb554478e4bd88d16fa0762b | 100 | py | Python | keras_squeezenet/__init__.py | zr71516/squeezeNet | e54c681ea573092d54557fe09c9d492fcd0cfa2c | [
"MIT"
] | 430 | 2016-11-09T03:36:23.000Z | 2022-03-19T09:56:35.000Z | keras_squeezenet/__init__.py | zr71516/squeezeNet | e54c681ea573092d54557fe09c9d492fcd0cfa2c | [
"MIT"
] | 21 | 2016-11-14T00:57:27.000Z | 2021-03-19T22:43:05.000Z | keras_squeezenet/__init__.py | zr71516/squeezeNet | e54c681ea573092d54557fe09c9d492fcd0cfa2c | [
"MIT"
] | 184 | 2016-10-30T12:51:55.000Z | 2022-02-20T15:19:28.000Z | from keras_squeezenet.squeezenet import SqueezeNet
from keras_squeezenet.version import __version__
| 33.333333 | 50 | 0.9 | 12 | 100 | 7 | 0.416667 | 0.214286 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 2 | 51 | 50 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 7 |
b64d673a9075a980eb8a317c3e54a31a2578b951 | 5,302 | py | Python | tests/terraform/checks/resource/aws/test_CloudfrontDistributionEncryption.py | fossabot/checkov | d09938cffe3588dd1f472bcf2382e07fa7f9010b | [
"Apache-2.0"
] | null | null | null | tests/terraform/checks/resource/aws/test_CloudfrontDistributionEncryption.py | fossabot/checkov | d09938cffe3588dd1f472bcf2382e07fa7f9010b | [
"Apache-2.0"
] | null | null | null | tests/terraform/checks/resource/aws/test_CloudfrontDistributionEncryption.py | fossabot/checkov | d09938cffe3588dd1f472bcf2382e07fa7f9010b | [
"Apache-2.0"
] | null | null | null | import unittest
from checkov.terraform.checks.resource.aws.CloudfrontDistributionEncryption import check
from checkov.terraform.models.enums import CheckResult
class TestCloudfrontDistributionEncryption(unittest.TestCase):
def test_failure(self):
resource_conf = {'origin': [
{'domain_name': ... | 76.84058 | 120 | 0.571482 | 514 | 5,302 | 5.575875 | 0.237354 | 0.044662 | 0.048849 | 0.04187 | 0.899163 | 0.899163 | 0.893929 | 0.893929 | 0.893929 | 0.893929 | 0 | 0.024791 | 0.208789 | 5,302 | 68 | 121 | 77.970588 | 0.658403 | 0 | 0 | 0.786885 | 0 | 0 | 0.471897 | 0.136929 | 0 | 0 | 0 | 0 | 0.032787 | 1 | 0.032787 | false | 0.016393 | 0.04918 | 0 | 0.098361 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
fcae2fea7c90f8e608262ad80e03fbd3dea0f22b | 59,353 | py | Python | tests/test_metadata.py | chorng/sentinel3 | 7d11f3ff1d001a239f0f14c36dfa3a6b597049ac | [
"Apache-2.0"
] | null | null | null | tests/test_metadata.py | chorng/sentinel3 | 7d11f3ff1d001a239f0f14c36dfa3a6b597049ac | [
"Apache-2.0"
] | null | null | null | tests/test_metadata.py | chorng/sentinel3 | 7d11f3ff1d001a239f0f14c36dfa3a6b597049ac | [
"Apache-2.0"
] | null | null | null | import unittest
import pystac
from pystac.extensions.eo import EOExtension
from pystac.extensions.projection import ProjectionExtension
from pystac.extensions.sat import SatExtension
from stactools.sentinel3.metadata_links import MetadataLinks
from stactools.sentinel3.product_metadata import ProductMetadata
from stac... | 36.124772 | 78 | 0.580645 | 5,437 | 59,353 | 6.067133 | 0.092146 | 0.112469 | 0.079061 | 0.081184 | 0.869585 | 0.846 | 0.835723 | 0.813957 | 0.806469 | 0.80077 | 0 | 0.066655 | 0.308679 | 59,353 | 1,642 | 79 | 36.146772 | 0.737278 | 0.031254 | 0 | 0.800607 | 0 | 0 | 0.292132 | 0.190154 | 0 | 0 | 0 | 0 | 0.024261 | 1 | 0.01213 | false | 0 | 0.006823 | 0 | 0.019712 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.