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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7121ce4998abb18217044423d33d7b2faf271642 | 492 | py | Python | curso_em_video/0075.py | marinaoliveira96/python-exercises | 13fc0ec30dec9bb6531cdeb41c80726971975835 | [
"MIT"
] | null | null | null | curso_em_video/0075.py | marinaoliveira96/python-exercises | 13fc0ec30dec9bb6531cdeb41c80726971975835 | [
"MIT"
] | null | null | null | curso_em_video/0075.py | marinaoliveira96/python-exercises | 13fc0ec30dec9bb6531cdeb41c80726971975835 | [
"MIT"
] | null | null | null | num = (int(input('digite um numero: ')),
int(input('digite um numero: ')),
int(input('digite um numero: ')),
int(input('digite um numero: ')))
print(f'vc digitou {num}')
print(f'o valor 9 apareceu {num.count(9)} vezes')
if 3 in num:
print(f'o valor 3 apareceu na {num.index(3)+1} posição')
el... | 32.8 | 60 | 0.601626 | 81 | 492 | 3.654321 | 0.481481 | 0.108108 | 0.189189 | 0.216216 | 0.398649 | 0.297297 | 0.297297 | 0.297297 | 0.297297 | 0.297297 | 0 | 0.023622 | 0.22561 | 492 | 14 | 61 | 35.142857 | 0.753281 | 0 | 0 | 0.142857 | 0 | 0 | 0.510163 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
712ef1de86e8f7154403eb8d66165d74a60b9c44 | 1,558 | py | Python | afew/FilterRegistry.py | matclab/afew | fe80a69df74378c36b5695322e411f15e4f13118 | [
"ISC"
] | null | null | null | afew/FilterRegistry.py | matclab/afew | fe80a69df74378c36b5695322e411f15e4f13118 | [
"ISC"
] | null | null | null | afew/FilterRegistry.py | matclab/afew | fe80a69df74378c36b5695322e411f15e4f13118 | [
"ISC"
] | null | null | null | # -*- coding: utf-8 -*-
# SPDX-License-Identifier: ISC
# Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de>
from __future__ import print_function, absolute_import, unicode_literals
import pkg_resources
RAISEIT = object()
class FilterRegistry(object):
"""
The FilterRegistry is responsible for ... | 23.969231 | 76 | 0.647625 | 187 | 1,558 | 5.181818 | 0.449198 | 0.113519 | 0.099071 | 0.06192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001718 | 0.252888 | 1,558 | 64 | 77 | 24.34375 | 0.830756 | 0.224647 | 0 | 0 | 0 | 0 | 0.015411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.058824 | 0.117647 | 0.617647 | 0.029412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8531c3f882fd85200eb06cfa874e12b0eb85ad5e | 152 | py | Python | tintz/newsletter/urls.py | dcfranca/tintz-backend | 9f29e17cafc31ab7dc568d1e2c984e6f1b1fc3fc | [
"MIT"
] | null | null | null | tintz/newsletter/urls.py | dcfranca/tintz-backend | 9f29e17cafc31ab7dc568d1e2c984e6f1b1fc3fc | [
"MIT"
] | 2 | 2021-03-19T21:51:51.000Z | 2021-06-10T18:22:50.000Z | tintz/newsletter/urls.py | danielfranca/tintz-backend | 9f29e17cafc31ab7dc568d1e2c984e6f1b1fc3fc | [
"MIT"
] | null | null | null | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^subscribers/$', views.SubscriberApi.as_view(), name='subscribers'),
]
| 19 | 78 | 0.710526 | 19 | 152 | 5.631579 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138158 | 152 | 7 | 79 | 21.714286 | 0.816794 | 0 | 0 | 0 | 0 | 0 | 0.164474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
855323580345794a26a97cb49784f0a84d4e4f98 | 67 | py | Python | test.py | aieater/gpueater_python | b279a4193ba530c14431c2b31acc20fa62f423f4 | [
"MIT"
] | null | null | null | test.py | aieater/gpueater_python | b279a4193ba530c14431c2b31acc20fa62f423f4 | [
"MIT"
] | null | null | null | test.py | aieater/gpueater_python | b279a4193ba530c14431c2b31acc20fa62f423f4 | [
"MIT"
] | null | null | null | import gpueater
res = gpueater.registered_image_list()
print(res)
| 13.4 | 38 | 0.80597 | 9 | 67 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 4 | 39 | 16.75 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
858d8d1b3cdfe9b28d2d29221b2ef49dfd518194 | 183 | py | Python | test_app/models/ApiTypes.py | Grusinator/django-generic-serializer | 5a44651c64a0d036a532701d90e79aca243152e5 | [
"MIT"
] | null | null | null | test_app/models/ApiTypes.py | Grusinator/django-generic-serializer | 5a44651c64a0d036a532701d90e79aca243152e5 | [
"MIT"
] | 1 | 2020-06-05T20:15:25.000Z | 2020-06-05T20:15:25.000Z | test_app/models/ApiTypes.py | Grusinator/django-generic-serializer | 5a44651c64a0d036a532701d90e79aca243152e5 | [
"MIT"
] | null | null | null | from test_app.django_model_enum import DjangoModelEnum
class ApiTypes(DjangoModelEnum):
OAUTH_REST = "OauthRest"
OAUTH_GRAPHQL = "OauthGraphql"
TOKEN_REST = "TokenRest"
| 22.875 | 54 | 0.770492 | 20 | 183 | 6.75 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15847 | 183 | 7 | 55 | 26.142857 | 0.876623 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8594833fff2ca02b71f0830a0fe4284803d93d93 | 6,457 | py | Python | tests/functional/provisioner/provisioner.py | earlren1014/RedHat-Software-Factory | dd50eba4e353945886ebceb5dd608179d608b956 | [
"Apache-2.0"
] | null | null | null | tests/functional/provisioner/provisioner.py | earlren1014/RedHat-Software-Factory | dd50eba4e353945886ebceb5dd608179d608b956 | [
"Apache-2.0"
] | null | null | null | tests/functional/provisioner/provisioner.py | earlren1014/RedHat-Software-Factory | dd50eba4e353945886ebceb5dd608179d608b956 | [
"Apache-2.0"
] | null | null | null | #!/bin/env python
#
# Copyright (C) 2014 eNovance SAS <licensing@enovance.com>
#
# 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 r... | 39.371951 | 78 | 0.591451 | 798 | 6,457 | 4.655388 | 0.305764 | 0.021534 | 0.032301 | 0.023688 | 0.060296 | 0.034993 | 0.019381 | 0 | 0 | 0 | 0 | 0.005293 | 0.297816 | 6,457 | 163 | 79 | 39.613497 | 0.814071 | 0.110578 | 0 | 0.017857 | 0 | 0 | 0.115051 | 0.004149 | 0 | 0 | 0 | 0.01227 | 0 | 0 | null | null | 0.0625 | 0.116071 | null | null | 0.098214 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
859f98e4a2573ba0bd10c46fd59cba4ad96676f2 | 458 | py | Python | IntroToCS_ex1/additional_file.py | nadavWeisler/IntroToCS | 725fc8822eeb34f6917692846689dee29b24af55 | [
"MIT"
] | null | null | null | IntroToCS_ex1/additional_file.py | nadavWeisler/IntroToCS | 725fc8822eeb34f6917692846689dee29b24af55 | [
"MIT"
] | null | null | null | IntroToCS_ex1/additional_file.py | nadavWeisler/IntroToCS | 725fc8822eeb34f6917692846689dee29b24af55 | [
"MIT"
] | null | null | null | #############################################################
# FILE : additional_file.py
# WRITER : Nadav Weisler , Weisler , 316493758
# EXERCISE : intro2cs ex1 2019
# DESCRIPTION: include function called "secret_function"
# that print "My username is weisler and I read the submission response."
###################... | 45.8 | 75 | 0.552402 | 45 | 458 | 5.555556 | 0.622222 | 0.112 | 0.12 | 0.136 | 0.424 | 0.424 | 0.424 | 0.424 | 0.424 | 0.424 | 0 | 0.0375 | 0.126638 | 458 | 10 | 76 | 45.8 | 0.5875 | 0.497817 | 0 | 0 | 0 | 0 | 0.563107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
85c49fd4c3e695589de399a92b65d5ba442a02d9 | 707 | py | Python | IPython-parallel-tutorial/check_env.py | sunny2309/scipy_conf_notebooks | 30a85d5137db95e01461ad21519bc1bdf294044b | [
"MIT"
] | 2 | 2021-01-09T15:57:26.000Z | 2021-11-29T01:44:21.000Z | IPython-parallel-tutorial/check_env.py | sunny2309/scipy_conf_notebooks | 30a85d5137db95e01461ad21519bc1bdf294044b | [
"MIT"
] | 5 | 2019-11-15T02:00:26.000Z | 2021-01-06T04:26:40.000Z | IPython-parallel-tutorial/check_env.py | sunny2309/scipy_conf_notebooks | 30a85d5137db95e01461ad21519bc1bdf294044b | [
"MIT"
] | null | null | null | """check_env.py for IPython.parallel tutorial at SciPy 2014"""
import sys
import numpy
import scipy
import requests
import matplotlib.pyplot
import skimage
import matplotlib
try:
from bs4 import BeautifulSoup
except ImportError:
print("BeautifulSoup will be used for an example.")
try:
import networkx... | 17.675 | 63 | 0.734088 | 100 | 707 | 5.1 | 0.46 | 0.1 | 0.129412 | 0.076471 | 0.164706 | 0.164706 | 0.121569 | 0.121569 | 0 | 0 | 0 | 0.017301 | 0.182461 | 707 | 39 | 64 | 18.128205 | 0.865052 | 0.079208 | 0 | 0.230769 | 0 | 0 | 0.227907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.615385 | 0 | 0.615385 | 0.192308 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a440537a6b6544309b49c8cefc6b9ab628443895 | 354 | py | Python | memoize.py | manoharp/algo | 6f60440143da77543a78bc017cb7fa2f3aeac5d7 | [
"Apache-2.0"
] | null | null | null | memoize.py | manoharp/algo | 6f60440143da77543a78bc017cb7fa2f3aeac5d7 | [
"Apache-2.0"
] | null | null | null | memoize.py | manoharp/algo | 6f60440143da77543a78bc017cb7fa2f3aeac5d7 | [
"Apache-2.0"
] | null | null | null | class memoize(object):
"""
Memoize wrapper for python
Usage:
@memoize
def fib(n):
pass
"""
def __init__(self, function):
self.function = function
self.memoized = {}
def __call__(self, *args):
try:
return self.memoized[args]
except KeyError:
self.memoized[args] = self.function(*ar... | 16.090909 | 45 | 0.652542 | 43 | 354 | 5.186047 | 0.488372 | 0.215247 | 0.215247 | 0.197309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220339 | 354 | 21 | 46 | 16.857143 | 0.807971 | 0.172316 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a4768ac9870413eea165ad30bc2f26d4092b5cda | 915 | py | Python | planetmint/__init__.py | liviu-lesan/planetmint | 54cf8e45108947aa8282ddaaf127d08e06ce842e | [
"Apache-2.0"
] | null | null | null | planetmint/__init__.py | liviu-lesan/planetmint | 54cf8e45108947aa8282ddaaf127d08e06ce842e | [
"Apache-2.0"
] | null | null | null | planetmint/__init__.py | liviu-lesan/planetmint | 54cf8e45108947aa8282ddaaf127d08e06ce842e | [
"Apache-2.0"
] | null | null | null | # Copyright © 2020 Interplanetary Database Association e.V.,
# Planetmint and IPDB software contributors.
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
# Code is Apache-2.0 and docs are CC-BY-4.0
from planetmint.common.transaction import Transaction # noqa
from planetmint import models # noqa
from planetmint... | 48.157895 | 83 | 0.843716 | 112 | 915 | 6.830357 | 0.446429 | 0.128105 | 0.150327 | 0.028758 | 0.104575 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014354 | 0.086339 | 915 | 18 | 84 | 50.833333 | 0.899522 | 0.234973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.583333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a47f14ef05540515a4f9042e89d8b910b90095ce | 145 | py | Python | individual_code/eric/c_wrap/main.py | Sahmwell/G15_Capstone | 6d2944a6d472e82fe01b1a9bf28a8ae153abcb77 | [
"MIT"
] | 4 | 2020-11-13T02:35:56.000Z | 2021-03-29T20:15:54.000Z | individual_code/eric/c_wrap/main.py | Sahmwell/G15_Capstone | 6d2944a6d472e82fe01b1a9bf28a8ae153abcb77 | [
"MIT"
] | 9 | 2020-12-09T02:12:39.000Z | 2021-02-18T00:15:28.000Z | individual_code/eric/c_wrap/main.py | Sahmwell/G15_Capstone | 6d2944a6d472e82fe01b1a9bf28a8ae153abcb77 | [
"MIT"
] | 1 | 2020-11-20T19:31:26.000Z | 2020-11-20T19:31:26.000Z | from env.SumoEnv import SumoEnv
import time
def main():
test = SumoEnv(1000, False)
test.reset()
if __name__ == '__main__':
main()
| 14.5 | 31 | 0.655172 | 19 | 145 | 4.578947 | 0.684211 | 0.298851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 0.22069 | 145 | 9 | 32 | 16.111111 | 0.734513 | 0 | 0 | 0 | 0 | 0 | 0.055172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a490668f9b604569ced8ec71f2ac396f85e44572 | 275 | py | Python | notebooks/solutions/01-ex02-solutions.py | 0Architectus0/ml-workshop-intermediate-1-of-2 | e74fbfdc98355b8d5f8bc4829ff162d92515d053 | [
"MIT"
] | 10 | 2020-10-27T23:08:44.000Z | 2021-11-17T18:22:01.000Z | notebooks/solutions/01-ex02-solutions.py | 0Architectus0/ml-workshop-intermediate-1-of-2 | e74fbfdc98355b8d5f8bc4829ff162d92515d053 | [
"MIT"
] | null | null | null | notebooks/solutions/01-ex02-solutions.py | 0Architectus0/ml-workshop-intermediate-1-of-2 | e74fbfdc98355b8d5f8bc4829ff162d92515d053 | [
"MIT"
] | 20 | 2020-10-27T16:54:58.000Z | 2021-11-20T03:48:55.000Z | from sklearn.model_selection import cross_validate
import pandas as pd
results = cross_validate(log_reg, X_train, y_train, cv=4)
pd.DataFrame(results)
multi_results = cross_validate(log_reg, X_train, y_train, cv=4, scoring=["f1", "accuracy"])
pd.DataFrame(multi_results)
| 25 | 91 | 0.789091 | 44 | 275 | 4.659091 | 0.522727 | 0.190244 | 0.195122 | 0.22439 | 0.4 | 0.4 | 0.4 | 0.4 | 0.4 | 0.4 | 0 | 0.012146 | 0.101818 | 275 | 10 | 92 | 27.5 | 0.817814 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a4924d8493a561596ee53d4e7141d9c2c6002e25 | 3,531 | py | Python | tinderbox/services/__init__.py | ramonmoraes8080/py-tinder-cli | 2a8b2b0c8ef1ff782024f4b82ddbb85dd0d2ceb3 | [
"MIT"
] | null | null | null | tinderbox/services/__init__.py | ramonmoraes8080/py-tinder-cli | 2a8b2b0c8ef1ff782024f4b82ddbb85dd0d2ceb3 | [
"MIT"
] | null | null | null | tinderbox/services/__init__.py | ramonmoraes8080/py-tinder-cli | 2a8b2b0c8ef1ff782024f4b82ddbb85dd0d2ceb3 | [
"MIT"
] | null | null | null | import time
import yaml
from tinderbox.api import *
class BaseEntity(object):
def __init__(self, data):
self.data = data
class Recomendation(BaseEntity):
def get_number(self):
return self.data['s_number']
def get_id(self):
return self.data['user']['_id']
class Message(object):... | 30.704348 | 98 | 0.615406 | 432 | 3,531 | 4.856481 | 0.236111 | 0.083889 | 0.06673 | 0.077216 | 0.379409 | 0.315062 | 0.297903 | 0.214013 | 0.182555 | 0.182555 | 0 | 0.015367 | 0.244407 | 3,531 | 114 | 99 | 30.973684 | 0.77099 | 0.024639 | 0 | 0.170732 | 0 | 0 | 0.078779 | 0.010465 | 0 | 0 | 0 | 0.008772 | 0 | 1 | 0.280488 | false | 0 | 0.036585 | 0.109756 | 0.585366 | 0.012195 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f10d23d9a96919a2fe82d70f756fc0e32589bcaf | 746 | py | Python | src/lib/hxPy/py/hxpy/hxpy/haystack/ref.py | jamesdgessel/hxpy_adjustments | 25010dd023bdc36cc08e1afc08ac16159aba5646 | [
"AFL-3.0"
] | 35 | 2021-05-04T18:50:16.000Z | 2022-02-27T05:15:35.000Z | src/lib/hxPy/py/hxpy/hxpy/haystack/ref.py | jamesdgessel/hxpy_adjustments | 25010dd023bdc36cc08e1afc08ac16159aba5646 | [
"AFL-3.0"
] | 7 | 2021-07-12T08:06:14.000Z | 2022-03-19T08:46:08.000Z | src/lib/hxPy/py/hxpy/hxpy/haystack/ref.py | jamesdgessel/hxpy_adjustments | 25010dd023bdc36cc08e1afc08ac16159aba5646 | [
"AFL-3.0"
] | 4 | 2021-05-11T18:53:16.000Z | 2022-03-17T04:15:48.000Z | # -*- coding: utf-8 -*-
#
# Copyright (c) 2021, SkyFoundry LLC
# Licensed under the Academic Free License version 3.0
#
# History:
# 07 Dec 2021 Matthew Giannini Creation
#
class Ref:
@staticmethod
def make_handle(handle):
time = (handle >> 32) & 0xffff_ffff
rand = handle & 0xffff_ffff
... | 20.722222 | 66 | 0.573727 | 96 | 746 | 4.260417 | 0.510417 | 0.07335 | 0.06846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039924 | 0.294906 | 746 | 35 | 67 | 21.314286 | 0.737643 | 0.219839 | 0 | 0 | 0 | 0 | 0.094406 | 0.036713 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0 | 0.157895 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f136374432a6f4d37758da73ecd9b79c4eee943b | 24 | py | Python | tests/test_data_default.py | aivisol/py-usaepay | 31f64aa387075bb78503fe1ed5c70fd2afebceb2 | [
"BSD-3-Clause"
] | null | null | null | tests/test_data_default.py | aivisol/py-usaepay | 31f64aa387075bb78503fe1ed5c70fd2afebceb2 | [
"BSD-3-Clause"
] | null | null | null | tests/test_data_default.py | aivisol/py-usaepay | 31f64aa387075bb78503fe1ed5c70fd2afebceb2 | [
"BSD-3-Clause"
] | null | null | null | txn_key = "YOUR_API_KEY" | 24 | 24 | 0.791667 | 5 | 24 | 3.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 1 | 24 | 24 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f145cf6a456b5f14e5964d84a68608d68da742c9 | 1,557 | py | Python | details.py | ezekielkibiego/Password-Locker | 151f23db59f704da7a215bb5f27152ba5f34b647 | [
"MIT"
] | null | null | null | details.py | ezekielkibiego/Password-Locker | 151f23db59f704da7a215bb5f27152ba5f34b647 | [
"MIT"
] | null | null | null | details.py | ezekielkibiego/Password-Locker | 151f23db59f704da7a215bb5f27152ba5f34b647 | [
"MIT"
] | null | null | null | import random
import string
class Details():
user_details = []
def __init__(self, account_media, user_account_username, user_account_password):
'''
Function to initialize user details.
'''
self.account_media = account_media
self.user_account_username = user_account... | 30.529412 | 104 | 0.626204 | 174 | 1,557 | 5.362069 | 0.316092 | 0.106109 | 0.057878 | 0.049303 | 0.126474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292871 | 1,557 | 51 | 105 | 30.529412 | 0.847411 | 0.217084 | 0 | 0.12 | 0 | 0 | 0.011342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0.2 | 0.08 | 0 | 0.56 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
74b8a4e88f2d5dc250d51c734f67871140267ca1 | 489 | py | Python | src/main/anonymization/base_anonymization.py | BMW-InnovationLab/BMW-Anonymization-API | 6acc59fa18f1e668e6e80a7990aebbf2ab4ade5e | [
"Apache-2.0"
] | 108 | 2021-04-08T13:23:03.000Z | 2022-03-30T14:22:13.000Z | src/main/anonymization/base_anonymization.py | Elio-hanna/BMW-Anonymization-API | c8707bb8cae6524a8c46a6aaadac24fef051c1db | [
"Apache-2.0"
] | 1 | 2021-10-06T08:25:51.000Z | 2021-10-11T08:07:08.000Z | src/main/anonymization/base_anonymization.py | Elio-hanna/BMW-Anonymization-API | c8707bb8cae6524a8c46a6aaadac24fef051c1db | [
"Apache-2.0"
] | 12 | 2021-04-10T07:17:56.000Z | 2022-03-26T17:48:12.000Z | from abc import ABC, abstractmethod
class BaseAnonymization(ABC):
"""
Base anonymization class for the detection and the semantic anonymization
"""
@abstractmethod
def blurring(self, image, response, degree=None, id=None, mask=None):
pass
@abstractmethod
def pixelating(self, image... | 25.736842 | 77 | 0.680982 | 57 | 489 | 5.842105 | 0.438596 | 0.153153 | 0.153153 | 0.207207 | 0.507508 | 0.507508 | 0.507508 | 0.507508 | 0.507508 | 0.507508 | 0 | 0 | 0.224949 | 489 | 18 | 78 | 27.166667 | 0.878628 | 0.149284 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.090909 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
74ccde711a13971f91441ea1032bba57a15065b8 | 3,758 | py | Python | quotesbot/pipelines.py | magasea/scrapy-example | 7d363169518f8931668aa6ef3f0b3bb3a22eedeb | [
"MIT"
] | null | null | null | quotesbot/pipelines.py | magasea/scrapy-example | 7d363169518f8931668aa6ef3f0b3bb3a22eedeb | [
"MIT"
] | null | null | null | quotesbot/pipelines.py | magasea/scrapy-example | 7d363169518f8931668aa6ef3f0b3bb3a22eedeb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html
from scrapy.exporters import JsonItemExporter
from quotesbot.service.mysqlservice import MysqlHandler
class QuotesbotPipeline(o... | 38.742268 | 89 | 0.614156 | 483 | 3,758 | 4.540373 | 0.202899 | 0.038304 | 0.070223 | 0.079799 | 0.731874 | 0.71865 | 0.642043 | 0.642043 | 0.642043 | 0.642043 | 0 | 0.020492 | 0.28579 | 3,758 | 97 | 90 | 38.742268 | 0.796572 | 0.047898 | 0 | 0.710526 | 0 | 0 | 0.028827 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092105 | false | 0 | 0.026316 | 0.013158 | 0.197368 | 0.026316 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2d1907a50aad051fb2ebe051e2ad3b083a8007b1 | 2,726 | py | Python | day08/test.py | mpirnat/aoc2016 | 1aec59aca01541d0d1c30f85d4668959c82fa35c | [
"MIT"
] | null | null | null | day08/test.py | mpirnat/aoc2016 | 1aec59aca01541d0d1c30f85d4668959c82fa35c | [
"MIT"
] | null | null | null | day08/test.py | mpirnat/aoc2016 | 1aec59aca01541d0d1c30f85d4668959c82fa35c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import unittest
from day08 import Screen
class TestInitializingScreen(unittest.TestCase):
def test_inits_screen(self):
screen = Screen(3, 5)
self.assertEqual(len(screen.data), 3)
self.assertEqual(len(screen.data[0]), 5)
class TestParsingCommands(unittest.TestCase)... | 31.333333 | 67 | 0.56493 | 326 | 2,726 | 4.613497 | 0.177914 | 0.279255 | 0.299202 | 0.25266 | 0.539229 | 0.414229 | 0.37633 | 0.365691 | 0.362367 | 0.343085 | 0 | 0.030161 | 0.294571 | 2,726 | 86 | 68 | 31.697674 | 0.75195 | 0.007337 | 0 | 0.409091 | 0 | 0 | 0.031054 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.106061 | false | 0 | 0.030303 | 0 | 0.227273 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2d32f773ad931f827cbbe8e797dc647b66f1ce1b | 92 | py | Python | codeswiftr/app_stats/apps.py | bogdan-veliscu/dev-portfolio-website | 43eb323c67f3fd691388e79039e32479c1bc0974 | [
"Apache-2.0"
] | null | null | null | codeswiftr/app_stats/apps.py | bogdan-veliscu/dev-portfolio-website | 43eb323c67f3fd691388e79039e32479c1bc0974 | [
"Apache-2.0"
] | 4 | 2021-03-30T13:40:00.000Z | 2021-09-22T19:12:56.000Z | codeswiftr/app_stats/apps.py | bogdan-veliscu/dev-portfolio-website | 43eb323c67f3fd691388e79039e32479c1bc0974 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class AppStatsConfig(AppConfig):
name = 'app_stats'
| 15.333333 | 33 | 0.76087 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
74140ea1e1777683484762dc73d69c978a952ba4 | 122 | py | Python | example/wallets/fetch_payment_address_by_id.py | oyeolamilekan/quidax-python | fa329bc21f03f28ddc26bd2bf25bad85ff37acc2 | [
"MIT"
] | 1 | 2021-09-07T17:52:27.000Z | 2021-09-07T17:52:27.000Z | example/wallets/fetch_payment_address_by_id.py | oyeolamilekan/quidax-python | fa329bc21f03f28ddc26bd2bf25bad85ff37acc2 | [
"MIT"
] | null | null | null | example/wallets/fetch_payment_address_by_id.py | oyeolamilekan/quidax-python | fa329bc21f03f28ddc26bd2bf25bad85ff37acc2 | [
"MIT"
] | null | null | null | from ..base import quidax
response = quidax.wallets.fetch_payment_address("<address_id>", "<currency>")
print(response)
| 20.333333 | 77 | 0.762295 | 15 | 122 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090164 | 122 | 5 | 78 | 24.4 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
742dbd9437197e242dccff12a97531c3173faba1 | 730 | py | Python | mysite/blog/migrations/0003_auto_20200509_0956.py | mourice-oduor/Blog-Project-Django | 11706afe8a0bc23e6b5f79e4defc357450e72c83 | [
"MIT"
] | null | null | null | mysite/blog/migrations/0003_auto_20200509_0956.py | mourice-oduor/Blog-Project-Django | 11706afe8a0bc23e6b5f79e4defc357450e72c83 | [
"MIT"
] | null | null | null | mysite/blog/migrations/0003_auto_20200509_0956.py | mourice-oduor/Blog-Project-Django | 11706afe8a0bc23e6b5f79e4defc357450e72c83 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.4 on 2020-05-09 09:56
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blog', '0002_auto_20200509_0450'),
]
operations = [
migrations.AlterField(
model_name='comment',
name='approved_comm... | 25.172414 | 58 | 0.582192 | 72 | 730 | 5.722222 | 0.569444 | 0.145631 | 0.182039 | 0.211165 | 0.441748 | 0.441748 | 0.257282 | 0.257282 | 0.257282 | 0.257282 | 0 | 0.061386 | 0.308219 | 730 | 28 | 59 | 26.071429 | 0.754455 | 0.061644 | 0 | 0.545455 | 1 | 0 | 0.124451 | 0.033675 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7433150e7302505b3c1ea5a7e8d11c5e8fce945c | 154 | py | Python | tests/test.py | techtimeflies/vulncat_scrapper | 81fe9297310c30e29ebfb539f95aaea48eefa1c4 | [
"MIT"
] | 1 | 2021-01-12T14:45:49.000Z | 2021-01-12T14:45:49.000Z | tests/test.py | techtimeflies/vulncat_scrapper | 81fe9297310c30e29ebfb539f95aaea48eefa1c4 | [
"MIT"
] | 1 | 2021-06-01T21:42:41.000Z | 2021-06-01T21:42:41.000Z | tests/test.py | techtimeflies/vulncat_scrapper | 81fe9297310c30e29ebfb539f95aaea48eefa1c4 | [
"MIT"
] | null | null | null | import pytest
from vulncat import vulncat
url="http://www.google.com"
def test_order_soup():
soup = app.order_soup(url)
assert soup is not None | 17.111111 | 30 | 0.727273 | 25 | 154 | 4.36 | 0.72 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175325 | 154 | 9 | 31 | 17.111111 | 0.858268 | 0 | 0 | 0 | 0 | 0 | 0.135484 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
744973122745917879439eb4c52022e51ed01919 | 6,115 | py | Python | tests/environments/test_env_info.py | sony/nnabla-rl | 6a9a91ac5363b8611e0c9f736590729952a8d460 | [
"Apache-2.0"
] | 75 | 2021-06-14T02:35:19.000Z | 2022-03-23T04:30:24.000Z | tests/environments/test_env_info.py | sony/nnabla-rl | 6a9a91ac5363b8611e0c9f736590729952a8d460 | [
"Apache-2.0"
] | 2 | 2021-12-17T08:46:54.000Z | 2022-03-15T02:04:53.000Z | tests/environments/test_env_info.py | sony/nnabla-rl | 6a9a91ac5363b8611e0c9f736590729952a8d460 | [
"Apache-2.0"
] | 3 | 2021-06-15T13:32:57.000Z | 2022-03-25T16:53:14.000Z | # Copyright 2020,2021 Sony Corporation.
# Copyright 2021 Sony Group Corporation.
#
# 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 ... | 35.552326 | 104 | 0.722649 | 830 | 6,115 | 4.948193 | 0.149398 | 0.093742 | 0.075968 | 0.144631 | 0.769662 | 0.729486 | 0.680545 | 0.648405 | 0.638422 | 0.600925 | 0 | 0.006131 | 0.199836 | 6,115 | 171 | 105 | 35.760234 | 0.833231 | 0.097792 | 0 | 0.504587 | 0 | 0 | 0.005634 | 0 | 0 | 0 | 0 | 0 | 0.293578 | 1 | 0.201835 | false | 0 | 0.036697 | 0 | 0.247706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 3 |
7465ca65150856f0dc94e2ce9979e494d60242ed | 110 | py | Python | users/urls.py | cromartie1020/dev | d005b2f3e1263907927c922a0d2318fc3c3043d4 | [
"MIT"
] | null | null | null | users/urls.py | cromartie1020/dev | d005b2f3e1263907927c922a0d2318fc3c3043d4 | [
"MIT"
] | null | null | null | users/urls.py | cromartie1020/dev | d005b2f3e1263907927c922a0d2318fc3c3043d4 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('',views.UserForm, name='person')
] | 18.333333 | 42 | 0.7 | 14 | 110 | 5.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 110 | 6 | 43 | 18.333333 | 0.836957 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
746dc86b95e63240d6bc566494607e4d965f5044 | 535 | py | Python | windflow/services/templating.py | hartym/windflow | 69a2aeb3ab9d5bdfcd1d2ce8d5c9af14876cba23 | [
"Apache-2.0"
] | 2 | 2016-09-22T17:17:59.000Z | 2017-08-27T15:40:16.000Z | windflow/services/templating.py | hartym/windflow | 69a2aeb3ab9d5bdfcd1d2ce8d5c9af14876cba23 | [
"Apache-2.0"
] | 1 | 2019-10-21T14:58:12.000Z | 2019-10-21T14:58:13.000Z | windflow/services/templating.py | hartym/windflow | 69a2aeb3ab9d5bdfcd1d2ce8d5c9af14876cba23 | [
"Apache-2.0"
] | null | null | null | import simplejson
from jinja2 import Environment, FileSystemLoader
from windflow.services.base import Service
class Templating(Service):
"""
Jinja2 templating service.
"""
name = 'templating'
@property
def loader(self):
return FileSystemLoader('templates')
def __init__(self):
... | 22.291667 | 66 | 0.674766 | 58 | 535 | 6.137931 | 0.5 | 0.08427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004739 | 0.211215 | 535 | 23 | 67 | 23.26087 | 0.838863 | 0.048598 | 0 | 0 | 0 | 0 | 0.046748 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.230769 | 0.153846 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
74722a26dee823def07601072aa1283775830e0d | 122 | py | Python | examples/HelloWorld-Functions.py | JStearsman/hello-worlds | 314ce36b4e7f38c357b87a6957afd1773b5f4ec5 | [
"Unlicense"
] | 81 | 2017-10-01T14:07:28.000Z | 2021-12-20T15:47:33.000Z | examples/HelloWorld-Functions.py | JStearsman/hello-worlds | 314ce36b4e7f38c357b87a6957afd1773b5f4ec5 | [
"Unlicense"
] | 333 | 2017-10-01T13:37:50.000Z | 2021-05-27T21:48:55.000Z | examples/HelloWorld-Functions.py | JStearsman/hello-worlds | 314ce36b4e7f38c357b87a6957afd1773b5f4ec5 | [
"Unlicense"
] | 739 | 2017-10-01T13:42:46.000Z | 2021-12-24T11:39:49.000Z | def Func2() :
if 1==1:
print "Hello World"
def Func1() :
if 1==1:
Func2 ()
if 1 > 0:
Func1() | 12.2 | 27 | 0.434426 | 18 | 122 | 2.944444 | 0.5 | 0.169811 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 0.401639 | 122 | 10 | 28 | 12.2 | 0.589041 | 0 | 0 | 0.25 | 0 | 0 | 0.089431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.125 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7771054fa17aaaeae96c9b31c0199614e2db9975 | 165 | py | Python | cryptacular-feedstock/recipe/run_test.py | aovasylenko/aggregate | c9d31519e801bee7e06dcfb2094712b349ae87ba | [
"BSD-3-Clause"
] | 26 | 2017-08-29T21:03:46.000Z | 2022-03-30T22:57:27.000Z | cryptacular-feedstock/recipe/run_test.py | aovasylenko/aggregate | c9d31519e801bee7e06dcfb2094712b349ae87ba | [
"BSD-3-Clause"
] | 147 | 2017-08-13T04:31:27.000Z | 2022-03-07T11:22:23.000Z | cryptacular-feedstock/recipe/run_test.py | aovasylenko/aggregate | c9d31519e801bee7e06dcfb2094712b349ae87ba | [
"BSD-3-Clause"
] | 49 | 2017-08-09T13:28:57.000Z | 2021-03-09T12:45:20.000Z | from cryptacular.bcrypt import BCRYPTPasswordManager
manager = BCRYPTPasswordManager()
hashed = manager.encode('password')
assert manager.check(hashed, 'password')
| 27.5 | 52 | 0.818182 | 16 | 165 | 8.4375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084848 | 165 | 5 | 53 | 33 | 0.89404 | 0 | 0 | 0 | 0 | 0 | 0.09697 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | false | 1 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
777ee8c0f8aa9aced8c79bc99b8c8dc7530482ab | 371 | py | Python | py2app_tests/argv_app/main.py | flupke/py2app | 8eb6c618f9c63d6ac970fb145a7f7782b71bcb4d | [
"MIT"
] | 193 | 2020-01-15T09:34:20.000Z | 2022-03-18T19:14:16.000Z | py2app_tests/argv_app/main.py | flupke/py2app | 8eb6c618f9c63d6ac970fb145a7f7782b71bcb4d | [
"MIT"
] | 185 | 2020-01-15T08:38:27.000Z | 2022-03-27T17:29:29.000Z | py2app_tests/argv_app/main.py | flupke/py2app | 8eb6c618f9c63d6ac970fb145a7f7782b71bcb4d | [
"MIT"
] | 23 | 2020-01-24T14:47:18.000Z | 2022-02-22T17:19:47.000Z | import sys
import os
root = os.path.dirname(
os.path.dirname(
os.path.dirname(
os.path.dirname(
os.path.abspath(__file__)
)
)
)
)
sys.argv[0] = os.path.realpath(sys.argv[0])
fp = open(os.path.join(root, "argv.txt"), "w")
... | 18.55 | 46 | 0.498652 | 49 | 371 | 3.693878 | 0.408163 | 0.232044 | 0.287293 | 0.331492 | 0.320442 | 0.320442 | 0.320442 | 0.320442 | 0.320442 | 0.320442 | 0 | 0.00813 | 0.336927 | 371 | 19 | 47 | 19.526316 | 0.727642 | 0 | 0 | 0.1875 | 0 | 0 | 0.02965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7790b0189df0e688462d089c1a3cb1acd80c807a | 1,456 | py | Python | src/kids/sh/tests/test_cmd.py | 0k/kids.sh | d7ee6063754f442f22b1365a2e322264efe7a722 | [
"BSD-2-Clause"
] | null | null | null | src/kids/sh/tests/test_cmd.py | 0k/kids.sh | d7ee6063754f442f22b1365a2e322264efe7a722 | [
"BSD-2-Clause"
] | null | null | null | src/kids/sh/tests/test_cmd.py | 0k/kids.sh | d7ee6063754f442f22b1365a2e322264efe7a722 | [
"BSD-2-Clause"
] | null | null | null | # -*- encoding: utf-8 -*-
"""Testing Unittest facilities offered.
This doesn't test ``cmd`` command, but the ``self.cmd`` provided to
tests inheriting ``BaseShTest``.
"""
from .. import ShellError, BaseShTest
class CmdSimpleTest(BaseShTest):
def test_shell_call(self):
res = self.cmd("true")
... | 26.962963 | 67 | 0.610577 | 184 | 1,456 | 4.728261 | 0.347826 | 0.257471 | 0.305747 | 0.151724 | 0.36092 | 0.3 | 0.256322 | 0.256322 | 0.256322 | 0.256322 | 0 | 0.014363 | 0.23489 | 1,456 | 53 | 68 | 27.471698 | 0.766607 | 0.112637 | 0 | 0.25 | 0 | 0 | 0.119159 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 1 | 0.1875 | false | 0 | 0.0625 | 0 | 0.34375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
77a80824be5781261347cc583ac59cef590cd2e2 | 835 | py | Python | utilities/utilities.py | heshan007/HEPDrone | ec5f68da9648ac0a3d35f372295acbd628dede07 | [
"BSD-3-Clause"
] | 1 | 2018-08-29T18:07:30.000Z | 2018-08-29T18:07:30.000Z | utilities/utilities.py | konqr/HEPDrone | c1de4ad475d2e91ffcc75c846e46754299bd768b | [
"BSD-3-Clause"
] | null | null | null | utilities/utilities.py | konqr/HEPDrone | c1de4ad475d2e91ffcc75c846e46754299bd768b | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from math import log
# sigmoid activation as per example
def sigmoid_activation(x):
return 1.0 / (1.0+np.exp(-x))
# inverted sigmoid activation
def inv_sigmoid_activation(x):
return -1.0 * np.log((1.0-x)/x) if x > 0.0 else 0.0
# corresponding derivative
def sigmoid_prime(x):
return ... | 19.880952 | 72 | 0.671856 | 145 | 835 | 3.793103 | 0.4 | 0.185455 | 0.130909 | 0.087273 | 0.094545 | 0.094545 | 0 | 0 | 0 | 0 | 0 | 0.022288 | 0.194012 | 835 | 41 | 73 | 20.365854 | 0.794948 | 0.217964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.368421 | false | 0 | 0.105263 | 0.263158 | 0.789474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
77b60b4ebe2ac5bf3088b1a7de31a457526833a4 | 317 | py | Python | Whatsapp.py | smssmit/whatsapp-auto-messager | 978cd89ad0c489f74e8557c878283657c3b3f8a8 | [
"MIT"
] | null | null | null | Whatsapp.py | smssmit/whatsapp-auto-messager | 978cd89ad0c489f74e8557c878283657c3b3f8a8 | [
"MIT"
] | null | null | null | Whatsapp.py | smssmit/whatsapp-auto-messager | 978cd89ad0c489f74e8557c878283657c3b3f8a8 | [
"MIT"
] | null | null | null | import pywhatkit as kit #installpywhatkit
import os
kit.sendwhatmsg("Enter your friends phone no. and add country code","Enter Your Message",24,00) #at the end enter time in 24 hours format
os.system("taskkill /im chrome.exe /f") #it will close the browser
os.system("shutdown /s /t 1") #it will shutdown the pc
| 52.833333 | 138 | 0.747634 | 55 | 317 | 4.309091 | 0.745455 | 0.075949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026217 | 0.157729 | 317 | 5 | 139 | 63.4 | 0.861423 | 0.328076 | 0 | 0 | 0 | 0 | 0.534314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
77bc64edc8471c0e5f5b9e30047f88af16d03ec5 | 221 | py | Python | warm-up/__init__.py | NibiruResearchCenter/discord-slash-command-hub | a7605bb6467ff4afbb17293579aaddbb0a12b977 | [
"MIT"
] | null | null | null | warm-up/__init__.py | NibiruResearchCenter/discord-slash-command-hub | a7605bb6467ff4afbb17293579aaddbb0a12b977 | [
"MIT"
] | null | null | null | warm-up/__init__.py | NibiruResearchCenter/discord-slash-command-hub | a7605bb6467ff4afbb17293579aaddbb0a12b977 | [
"MIT"
] | null | null | null | import datetime
import logging
import azure.functions as func
def main(mytimer: func.TimerRequest) -> None:
if mytimer.past_due:
logging.info('The timer is past due!')
logging.info('function warm up')
| 18.416667 | 46 | 0.710407 | 31 | 221 | 5.032258 | 0.709677 | 0.089744 | 0.179487 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19457 | 221 | 11 | 47 | 20.090909 | 0.876404 | 0 | 0 | 0 | 0 | 0 | 0.171946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
77be35f9ebfc4da8a7cbe5229976684f501ed1f6 | 758 | py | Python | ds_toolkit/bplist.py | davidsilva2841/ds-toolkit | d1f39a204db03eda87aa4f464ca0b044ece02357 | [
"MIT"
] | null | null | null | ds_toolkit/bplist.py | davidsilva2841/ds-toolkit | d1f39a204db03eda87aa4f464ca0b044ece02357 | [
"MIT"
] | null | null | null | ds_toolkit/bplist.py | davidsilva2841/ds-toolkit | d1f39a204db03eda87aa4f464ca0b044ece02357 | [
"MIT"
] | null | null | null | import plistlib
import json
from datetime import datetime
from ds_toolkit.files import write_to_file
def bplist_read_file(file_path):
"""
Reads a bplist file.
Args:
file_path (sttr):
Returns:
dict:
"""
with open(file_path, 'rb') as file:
return plistlib.load(file)
... | 20.486486 | 86 | 0.662269 | 107 | 758 | 4.35514 | 0.373832 | 0.154506 | 0.090129 | 0.060086 | 0.103004 | 0.103004 | 0 | 0 | 0 | 0 | 0 | 0.001757 | 0.24934 | 758 | 36 | 87 | 21.055556 | 0.817223 | 0.234829 | 0 | 0 | 0 | 0 | 0.003839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
77c032b36742db2c4bb6acabde7f06942af1064c | 1,322 | py | Python | gc_apps/gis_tabular/example_wm_response.py | IQSS/geoconnect | 09c91be7ffbc04fbfa9850f6b740277d971ac8a7 | [
"Apache-2.0"
] | 6 | 2015-10-28T15:35:04.000Z | 2020-08-20T10:18:33.000Z | gc_apps/gis_tabular/example_wm_response.py | IQSS/geoconnect | 09c91be7ffbc04fbfa9850f6b740277d971ac8a7 | [
"Apache-2.0"
] | 50 | 2015-01-05T15:09:00.000Z | 2021-06-30T04:11:36.000Z | gc_apps/gis_tabular/example_wm_response.py | IQSS/geoconnect | 09c91be7ffbc04fbfa9850f6b740277d971ac8a7 | [
"Apache-2.0"
] | 2 | 2017-02-28T02:18:49.000Z | 2017-07-14T02:40:43.000Z | {"tablejoin_id": 204,
"matched_record_count": 156,
"layer_join_attribute": "TRACT",
"join_layer_id": "641",
"worldmap_username": "rp",
"unmatched_records_list": "",
"layer_typename": "geonode:join_boston_census_blocks_0zm_boston_income_01tab_1_1",
"join_layer_url": "/data/geonode:join_boston_census_blocks_0zm_bo... | 66.1 | 286 | 0.823752 | 199 | 1,322 | 4.944724 | 0.371859 | 0.109756 | 0.155488 | 0.164634 | 0.473577 | 0.454268 | 0.454268 | 0.454268 | 0.454268 | 0.413618 | 0 | 0.154028 | 0.04236 | 1,322 | 19 | 287 | 69.578947 | 0.623223 | 0 | 0 | 0 | 0 | 0.052632 | 0.869138 | 0.333585 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
77c44061babc0e0675773f2f6e9a46c0876bc169 | 117 | py | Python | __init__.py | aengelke/remx | 5ceb10239815a94a1560d6dba20d96ed26f50965 | [
"MIT"
] | null | null | null | __init__.py | aengelke/remx | 5ceb10239815a94a1560d6dba20d96ed26f50965 | [
"MIT"
] | null | null | null | __init__.py | aengelke/remx | 5ceb10239815a94a1560d6dba20d96ed26f50965 | [
"MIT"
] | null | null | null | import remx
__all__ = ["parse", "match", "extract"]
parse = remx.compile
match = remx.match
extract = remx.extract
| 14.625 | 39 | 0.700855 | 15 | 117 | 5.2 | 0.466667 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 117 | 7 | 40 | 16.714286 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
77db0e2d58df07387372e03a0d7cbe1b6c821e7b | 394 | py | Python | explib/explib/model/resnet.py | jacqueschen1/adam_sgd_heavy_tails | d4ecab6d460fb44ac3fd2b865641b8e47f3848ee | [
"Apache-2.0"
] | 1 | 2021-12-02T21:47:46.000Z | 2021-12-02T21:47:46.000Z | explib/explib/model/resnet.py | jacqueschen1/adam_sgd_heavy_tails | d4ecab6d460fb44ac3fd2b865641b8e47f3848ee | [
"Apache-2.0"
] | null | null | null | explib/explib/model/resnet.py | jacqueschen1/adam_sgd_heavy_tails | d4ecab6d460fb44ac3fd2b865641b8e47f3848ee | [
"Apache-2.0"
] | null | null | null | import torchvision.models as models
def getResNet(size, pretrained=False, model_args=None):
if size == 50:
return models.resnet50(pretrained=pretrained)
elif size == 34:
return models.resnet34(pretrained=pretrained)
elif size == 101:
return models.resnet101(pretrained=pretrained)
... | 30.307692 | 55 | 0.700508 | 45 | 394 | 6.111111 | 0.511111 | 0.174545 | 0.261818 | 0.305455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0.208122 | 394 | 12 | 56 | 32.833333 | 0.823718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7ac70fefdbe32181cc9dae47df13648d46544435 | 90 | py | Python | examples/server.py | jsbain/gittle | 557077d488cf1699ad4ee022cb9f4d09252ab95c | [
"Apache-2.0"
] | 4 | 2020-01-30T03:25:43.000Z | 2021-02-24T02:36:18.000Z | examples/server.py | justecorruptio/gittle | e046fe4731ebe4168884e51ac5baa26c79f0567d | [
"Apache-2.0"
] | 1 | 2019-01-24T05:04:07.000Z | 2019-01-24T05:04:07.000Z | examples/server.py | justecorruptio/gittle | e046fe4731ebe4168884e51ac5baa26c79f0567d | [
"Apache-2.0"
] | 7 | 2016-01-29T23:52:54.000Z | 2020-07-27T02:29:43.000Z | from gittle import GitServer
server = GitServer('/', 'localhost')
server.serve_forever()
| 18 | 36 | 0.755556 | 10 | 90 | 6.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 90 | 4 | 37 | 22.5 | 0.8375 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7ad2591efc8af835aacab099839ed3d17a97e9ef | 213 | py | Python | oarepo_model_builder/invenio/invenio_views.py | Alzpeta/oarepo-model-builder | 0684b505f3e6f41e964747190fe78b938d53182f | [
"MIT"
] | null | null | null | oarepo_model_builder/invenio/invenio_views.py | Alzpeta/oarepo-model-builder | 0684b505f3e6f41e964747190fe78b938d53182f | [
"MIT"
] | 21 | 2022-01-09T19:09:15.000Z | 2022-03-08T08:06:02.000Z | oarepo_model_builder/invenio/invenio_views.py | Alzpeta/oarepo-model-builder | 0684b505f3e6f41e964747190fe78b938d53182f | [
"MIT"
] | 2 | 2021-07-29T07:20:31.000Z | 2021-11-30T13:53:13.000Z | from .invenio_base import InvenioBaseClassPythonBuilder
class InvenioViewsBuilder(InvenioBaseClassPythonBuilder):
TYPE = 'invenio_views'
class_config = 'create_blueprint_from_app'
template = 'views'
| 26.625 | 57 | 0.802817 | 19 | 213 | 8.684211 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13615 | 213 | 7 | 58 | 30.428571 | 0.896739 | 0 | 0 | 0 | 0 | 0 | 0.201878 | 0.117371 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7ad72372b25aaa703bdb56b21f78ee702bd67d8e | 383 | py | Python | pymatgen/core/__init__.py | miaoliu/pymatgen | fe3c48ce3334924e6693f857aebc64b9714d1af2 | [
"MIT"
] | null | null | null | pymatgen/core/__init__.py | miaoliu/pymatgen | fe3c48ce3334924e6693f857aebc64b9714d1af2 | [
"MIT"
] | null | null | null | pymatgen/core/__init__.py | miaoliu/pymatgen | fe3c48ce3334924e6693f857aebc64b9714d1af2 | [
"MIT"
] | null | null | null | """
This package contains core modules and classes for representing structures and
operations on them.
"""
__author__ = "Shyue Ping Ong"
__date__ = "Dec 15, 2010 7:21:29 PM"
from .periodic_table import *
from .composition import *
from .structure import *
from .structure_modifier import *
from .bonds import *
from .l... | 22.529412 | 78 | 0.754569 | 52 | 383 | 5.365385 | 0.673077 | 0.250896 | 0.136201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034268 | 0.16188 | 383 | 16 | 79 | 23.9375 | 0.834891 | 0.255875 | 0 | 0 | 0 | 0 | 0.133574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7ade024c325db73539e0fbc0494d7899d59177da | 255 | py | Python | scripts/standard_logging.py | ange-yaghi/delta-studio | 8466623bdced4706c66643e2b790591517e56821 | [
"MIT"
] | 34 | 2020-07-10T14:23:49.000Z | 2022-03-31T23:38:36.000Z | scripts/standard_logging.py | ange-yaghi/delta-studio | 8466623bdced4706c66643e2b790591517e56821 | [
"MIT"
] | 7 | 2020-12-20T17:32:08.000Z | 2021-05-19T03:42:08.000Z | scripts/standard_logging.py | ange-yaghi/delta-studio | 8466623bdced4706c66643e2b790591517e56821 | [
"MIT"
] | 2 | 2021-02-09T20:04:04.000Z | 2022-01-26T08:46:20.000Z | def print_line():
print("-" * 60)
def print_full_header(build_step_name):
print_line()
print(" Build Step /// {}".format(build_step_name))
def print_footer():
print_line()
def log(level, data):
print("{0}: {1}".format(level, data))
| 19.615385 | 55 | 0.635294 | 36 | 255 | 4.222222 | 0.444444 | 0.157895 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.176471 | 255 | 12 | 56 | 21.25 | 0.704762 | 0 | 0 | 0.222222 | 0 | 0 | 0.105882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0 | 0.444444 | 0.888889 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
bb0cd830accfcdb2875bbbceeb55c5fc5d271f9f | 182 | py | Python | networking/socket/main.py | kaka-lin/Notes | c22e1d5ba14b94653c644448edb1d775913b05ec | [
"MIT"
] | null | null | null | networking/socket/main.py | kaka-lin/Notes | c22e1d5ba14b94653c644448edb1d775913b05ec | [
"MIT"
] | 6 | 2020-06-10T02:56:37.000Z | 2022-02-27T10:13:12.000Z | networking/socket/main.py | kaka-lin/Notes | c22e1d5ba14b94653c644448edb1d775913b05ec | [
"MIT"
] | null | null | null | import socket
if __name__ == "__main__":
hostname = "example.org"
ip_address = socket.gethostbyname(hostname)
print(f"IP Address of the `{hostname}` is: {ip_address}")
| 22.75 | 61 | 0.686813 | 23 | 182 | 5 | 0.695652 | 0.234783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181319 | 182 | 7 | 62 | 26 | 0.771812 | 0 | 0 | 0 | 0 | 0 | 0.362637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bb15484f90cdae698567932415b4ae0f8322e219 | 304 | py | Python | malib/utils/exp_tools/tune_type.py | zbzhu99/malib | 5be07ac00761a34fb095adb2b3018a798ceea256 | [
"MIT"
] | 258 | 2021-05-10T11:17:45.000Z | 2022-03-30T13:41:09.000Z | malib/utils/exp_tools/tune_type.py | zbzhu99/malib | 5be07ac00761a34fb095adb2b3018a798ceea256 | [
"MIT"
] | 28 | 2021-05-13T06:50:04.000Z | 2022-03-30T14:19:15.000Z | malib/utils/exp_tools/tune_type.py | zbzhu99/malib | 5be07ac00761a34fb095adb2b3018a798ceea256 | [
"MIT"
] | 34 | 2021-05-31T16:17:49.000Z | 2022-03-26T06:59:59.000Z | from abc import ABCMeta
from typing import Sequence
class TuneUnit(metaclass=ABCMeta):
def __init__(self):
pass
class Grid(TuneUnit):
def __init__(self, data: Sequence):
super().__init__()
self._data = data
@property
def data(self):
return self._data
| 16.888889 | 39 | 0.644737 | 36 | 304 | 5.055556 | 0.5 | 0.131868 | 0.120879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266447 | 304 | 17 | 40 | 17.882353 | 0.816144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0.166667 | 0.083333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
bb19df6f8ea6654aa252e97b0de90d9f5f480787 | 414 | py | Python | lib/utils.py | ansonb/NeuralNetwork | 398c89db47f3007decfcafdf48cf0c5d9de3285e | [
"MIT"
] | null | null | null | lib/utils.py | ansonb/NeuralNetwork | 398c89db47f3007decfcafdf48cf0c5d9de3285e | [
"MIT"
] | null | null | null | lib/utils.py | ansonb/NeuralNetwork | 398c89db47f3007decfcafdf48cf0c5d9de3285e | [
"MIT"
] | null | null | null | import json
import numpy as np
class CustomEncoder(json.JSONEncoder):
def default(self, obj):
if isinstance(obj, np.int32):
return int(obj)
if isinstance(obj, np.int32):
return int(obj)
if isinstance(obj, np.int32):
return int(obj)
if isinstance(o... | 27.6 | 50 | 0.594203 | 52 | 414 | 4.730769 | 0.326923 | 0.081301 | 0.243902 | 0.292683 | 0.565041 | 0.565041 | 0.565041 | 0.565041 | 0.565041 | 0.565041 | 0 | 0.027875 | 0.306763 | 414 | 15 | 50 | 27.6 | 0.829268 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
bb24ae1e3ac29d7cf55ec190e925f8a38c1122dd | 485 | py | Python | python/homework-2-s21-tema014/homework2.py | tema014/My-projects | 456987c53ffc70c91a289d3a3c020a9e9fd8132a | [
"Apache-2.0"
] | null | null | null | python/homework-2-s21-tema014/homework2.py | tema014/My-projects | 456987c53ffc70c91a289d3a3c020a9e9fd8132a | [
"Apache-2.0"
] | null | null | null | python/homework-2-s21-tema014/homework2.py | tema014/My-projects | 456987c53ffc70c91a289d3a3c020a9e9fd8132a | [
"Apache-2.0"
] | null | null | null | def histogram(data, n, b, h):
# data is a list
# n is an integer
# b and h are floats
# Write your code here
# return the variable storing the histogram
# Output should be a list
pass
def addressbook(name_to_phone, name_to_address):
#name_to_phone and name_to_addre... | 21.086957 | 61 | 0.635052 | 70 | 485 | 4.257143 | 0.5 | 0.080537 | 0.087248 | 0.114094 | 0.275168 | 0.275168 | 0.275168 | 0.275168 | 0 | 0 | 0 | 0 | 0.323711 | 485 | 22 | 62 | 22.045455 | 0.908537 | 0.587629 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
bb3dfb9672224eee1c70237df0d0bc60cb9e83b2 | 40 | py | Python | src/poetry_hooks/utils/defaults.py | jvrana/poetry-hooks | a3f967ea4353c5466516b33a9c4576762f47350f | [
"MIT"
] | null | null | null | src/poetry_hooks/utils/defaults.py | jvrana/poetry-hooks | a3f967ea4353c5466516b33a9c4576762f47350f | [
"MIT"
] | null | null | null | src/poetry_hooks/utils/defaults.py | jvrana/poetry-hooks | a3f967ea4353c5466516b33a9c4576762f47350f | [
"MIT"
] | null | null | null | DEFAULT_VERSION_UP_NAME = "_version.py"
| 20 | 39 | 0.825 | 6 | 40 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
248cfa992c3f4de3c403cfb74dca95d9bd071208 | 355 | py | Python | otp/distributed/CentralLoggerAI.py | SuperM0use24/TT-CL-Edition | fdad8394f0656ae122b687d603f72afafd220c65 | [
"MIT"
] | 1 | 2021-02-25T06:02:04.000Z | 2021-02-25T06:02:04.000Z | otp/distributed/CentralLoggerAI.py | AnythingTechPro/Project-Altis | 7ead614abdb5072ca06323982de461f4e775d1b3 | [
"Apache-2.0"
] | 1 | 2021-06-08T17:16:48.000Z | 2021-06-08T17:16:48.000Z | otp/distributed/CentralLoggerAI.py | AnythingTechPro/Project-Altis | 7ead614abdb5072ca06323982de461f4e775d1b3 | [
"Apache-2.0"
] | 3 | 2021-06-03T05:36:36.000Z | 2021-06-22T15:07:31.000Z | from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectAI import DistributedObjectAI
class CentralLoggerAI(DistributedObjectAI):
notify = DirectNotifyGlobal.directNotify.newCategory("CentralLoggerAI")
def sendMessage(self, todo0, todo1, todo2, todo3):
pass
def... | 27.307692 | 75 | 0.780282 | 31 | 355 | 8.935484 | 0.645161 | 0.072202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.15493 | 355 | 12 | 76 | 29.583333 | 0.91 | 0 | 0 | 0.25 | 0 | 0 | 0.042373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
249b078fcf3e613fe7a4269e746027c1201c2f23 | 717 | py | Python | src/gsf/core/entity/properties/expression_property.py | RolandoAndrade/general-simulation-framework | 2fe2a981d365a7f482f6a7d4797a5f711b2dd502 | [
"MIT"
] | 1 | 2021-06-02T12:37:56.000Z | 2021-06-02T12:37:56.000Z | src/gsf/core/entity/properties/expression_property.py | RolandoAndrade/general-simulation-framework | 2fe2a981d365a7f482f6a7d4797a5f711b2dd502 | [
"MIT"
] | null | null | null | src/gsf/core/entity/properties/expression_property.py | RolandoAndrade/general-simulation-framework | 2fe2a981d365a7f482f6a7d4797a5f711b2dd502 | [
"MIT"
] | null | null | null | """Expression Property
=============================
Concrete property with expression type.
Example:
Creating the property::
property = ExpressionProperty(Value(1))
"""
from gsf.core.expressions.expression import Expression
from gsf.core.entity.core.entity_property import EntityProperty
from gsf.core.en... | 25.607143 | 63 | 0.700139 | 77 | 717 | 6.363636 | 0.38961 | 0.042857 | 0.067347 | 0.069388 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001681 | 0.170153 | 717 | 27 | 64 | 26.555556 | 0.821849 | 0.384937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
24c073084fe8fd2e8e6be24fca14763b8117b4c5 | 681 | py | Python | catkin_ws/build/baxter_kinect_calibration/catkin_generated/pkg.installspace.context.pc.py | roop-pal/robotic-folding | a0e062ac6d23cd07fe10e3f45abc4ba50e533141 | [
"RSA-MD"
] | null | null | null | catkin_ws/build/baxter_kinect_calibration/catkin_generated/pkg.installspace.context.pc.py | roop-pal/robotic-folding | a0e062ac6d23cd07fe10e3f45abc4ba50e533141 | [
"RSA-MD"
] | null | null | null | catkin_ws/build/baxter_kinect_calibration/catkin_generated/pkg.installspace.context.pc.py | roop-pal/robotic-folding | a0e062ac6d23cd07fe10e3f45abc4ba50e533141 | [
"RSA-MD"
] | null | null | null | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/parallels/catkin_ws/install/include".split(';') if "/home/parallels/catkin_ws/install/include" != "" else []
PROJECT_CATKIN_DEPENDS = "cv_bridge;image_geometry;image_transport;camera_info_manager... | 75.666667 | 252 | 0.801762 | 92 | 681 | 5.554348 | 0.641304 | 0.076321 | 0.111546 | 0.123288 | 0.191781 | 0.136986 | 0 | 0 | 0 | 0 | 0 | 0.006231 | 0.057269 | 681 | 8 | 253 | 85.125 | 0.78972 | 0.079295 | 0 | 0 | 1 | 0.142857 | 0.5696 | 0.5552 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
24c55bc3cd1172c5ec69c5968d77d4d3b0744ca4 | 1,005 | py | Python | model/group.py | IKeiran/FPT-Sinyakov | 08c5121d84c394bcee91d087ac2d14581179d2fd | [
"Apache-2.0"
] | null | null | null | model/group.py | IKeiran/FPT-Sinyakov | 08c5121d84c394bcee91d087ac2d14581179d2fd | [
"Apache-2.0"
] | null | null | null | model/group.py | IKeiran/FPT-Sinyakov | 08c5121d84c394bcee91d087ac2d14581179d2fd | [
"Apache-2.0"
] | null | null | null | __author__ = 'Keiran'
from sys import maxsize
def randomize_str(attr, max_len=5):
import random, string
symbols = string.ascii_letters + string.digits + " " * 10
return attr + "".join(random.choice(symbols) for i in range(max_len)).rstrip()
class Group:
def __init__(self, name=None, header=None, foo... | 29.558824 | 103 | 0.608955 | 137 | 1,005 | 4.262774 | 0.357664 | 0.061644 | 0.087329 | 0.034247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004093 | 0.270647 | 1,005 | 34 | 104 | 29.558824 | 0.792633 | 0 | 0 | 0 | 0 | 0 | 0.05169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.115385 | 0.576923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
24cb5bc77ab0159d3fb3ff4b3c38eefb9ed167c0 | 530 | py | Python | a2e/model/_abstract_model.py | maechler/a2e | c28f546ca5fc3fdb9c740ea5f0f85d2aca044a00 | [
"MIT"
] | 1 | 2021-03-19T09:09:41.000Z | 2021-03-19T09:09:41.000Z | a2e/model/_abstract_model.py | maechler/a2e | c28f546ca5fc3fdb9c740ea5f0f85d2aca044a00 | [
"MIT"
] | null | null | null | a2e/model/_abstract_model.py | maechler/a2e | c28f546ca5fc3fdb9c740ea5f0f85d2aca044a00 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from a2e.evaluation import EvaluationResult
class AbstractModel(ABC):
@abstractmethod
def evaluate(self, x_train, y_train, x_valid, y_valid, budget=None, **kwargs) -> EvaluationResult:
pass
@abstractmethod
def load_config(self, config: dict = None, **kwargs... | 27.894737 | 102 | 0.698113 | 65 | 530 | 5.553846 | 0.415385 | 0.041551 | 0.055402 | 0.060942 | 0.121884 | 0.121884 | 0.121884 | 0 | 0 | 0 | 0 | 0.002375 | 0.20566 | 530 | 18 | 103 | 29.444444 | 0.855107 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.153846 | 0.153846 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
24fd0b579f239e862d9a317d015b4ff5876a77f0 | 94 | py | Python | fab.py | sander76/fab-dep | df0ee1c9fb7dab2af69f125a3764b9730b5b4866 | [
"MIT"
] | null | null | null | fab.py | sander76/fab-dep | df0ee1c9fb7dab2af69f125a3764b9730b5b4866 | [
"MIT"
] | 2 | 2021-04-23T08:23:58.000Z | 2021-04-23T08:31:43.000Z | fab.py | sander76/fab-dep | df0ee1c9fb7dab2af69f125a3764b9730b5b4866 | [
"MIT"
] | null | null | null | import logging
from fab_deploy import cli
_LOGGER = logging.getLogger(__name__)
cli.main()
| 11.75 | 37 | 0.787234 | 13 | 94 | 5.230769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 7 | 38 | 13.428571 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
70053603da01df11723c7aa7ffd9225bc48fe29e | 288 | py | Python | lib/JumpScale/data/serializers/SerializerLZMA.py | Jumpscale/jumpscale_core8 | f80ac9b1ab99b833ee7adb17700dcf4ef35f3734 | [
"Apache-2.0"
] | 8 | 2016-04-14T14:04:57.000Z | 2020-06-09T00:24:34.000Z | lib/JumpScale/data/serializers/SerializerLZMA.py | Jumpscale/jumpscale_core8 | f80ac9b1ab99b833ee7adb17700dcf4ef35f3734 | [
"Apache-2.0"
] | 418 | 2016-01-25T10:30:00.000Z | 2021-09-08T12:29:13.000Z | lib/JumpScale/data/serializers/SerializerLZMA.py | Jumpscale/jumpscale_core8 | f80ac9b1ab99b833ee7adb17700dcf4ef35f3734 | [
"Apache-2.0"
] | 9 | 2016-04-21T07:21:17.000Z | 2022-01-24T10:35:54.000Z |
import pylzma
from SerializerBase import *
class SerializerLZMA(SerializerBase):
def __init__(self):
self.__jslocation__ = "j.data.serializer.lzma"
def dumps(self, obj):
return pylzma.compress(obj)
def loads(self, s):
return pylzma.decompress(s)
| 18 | 54 | 0.677083 | 33 | 288 | 5.666667 | 0.636364 | 0.128342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225694 | 288 | 15 | 55 | 19.2 | 0.838565 | 0 | 0 | 0 | 0 | 0 | 0.076655 | 0.076655 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.222222 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
701caa91b18e77fe3edd041d8d46bfc7cfccf9c0 | 451 | py | Python | test/_example/color/full_text.py | jakob-bagterp/colorist-for-python | 6e9f9cc3a345cac7459cdc494f5fd635aecf19f7 | [
"MIT"
] | null | null | null | test/_example/color/full_text.py | jakob-bagterp/colorist-for-python | 6e9f9cc3a345cac7459cdc494f5fd635aecf19f7 | [
"MIT"
] | null | null | null | test/_example/color/full_text.py | jakob-bagterp/colorist-for-python | 6e9f9cc3a345cac7459cdc494f5fd635aecf19f7 | [
"MIT"
] | null | null | null | from colorist import black, blue, cyan, green, magenta, red, white, yellow
if __name__ == "__main__":
print("")
green("This is GREEN!")
print("")
yellow("This is YELLOW!")
print("")
red("This is RED!")
print("")
magenta("This is MAGENTA!")
print("")
blue("This is BLUE!")
pri... | 21.47619 | 74 | 0.545455 | 55 | 451 | 4.327273 | 0.309091 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259424 | 451 | 20 | 75 | 22.55 | 0.712575 | 0 | 0 | 0.473684 | 0 | 0 | 0.263858 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.052632 | 0 | 0.052632 | 0.473684 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
701e433dff8b0778f64f79f9148d66faf5946e2a | 82 | py | Python | package/modA/d.py | BekoBou/PEP328Import | 1f295e1ee5087403966d00e61d43939e69df7dfe | [
"MIT"
] | null | null | null | package/modA/d.py | BekoBou/PEP328Import | 1f295e1ee5087403966d00e61d43939e69df7dfe | [
"MIT"
] | null | null | null | package/modA/d.py | BekoBou/PEP328Import | 1f295e1ee5087403966d00e61d43939e69df7dfe | [
"MIT"
] | null | null | null | QUESTION = 'Answer to the Ultimate Question of Life, the Universe, and Everything' | 82 | 82 | 0.792683 | 12 | 82 | 5.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 82 | 1 | 82 | 82 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0.831325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
702102c9ea0858379c59ca45c21926e6f5b4aa0a | 414 | py | Python | dependency_checker/_nbdev.py | manisnesan/dependency_checker | 5e89071e6d61e00c88d1832590f001847c5228cd | [
"Apache-2.0"
] | null | null | null | dependency_checker/_nbdev.py | manisnesan/dependency_checker | 5e89071e6d61e00c88d1832590f001847c5228cd | [
"Apache-2.0"
] | null | null | null | dependency_checker/_nbdev.py | manisnesan/dependency_checker | 5e89071e6d61e00c88d1832590f001847c5228cd | [
"Apache-2.0"
] | null | null | null | # AUTOGENERATED BY NBDEV! DO NOT EDIT!
__all__ = ["index", "modules", "custom_doc_links", "git_url"]
index = {"get_installed_dependencies": "00_checker.ipynb",
"check_new_version": "00_checker.ipynb"}
modules = ["checker.py"]
doc_url = "https://muellerzr.github.io/dependency_checker/"
git_url = "https://g... | 27.6 | 72 | 0.731884 | 55 | 414 | 5.163636 | 0.654545 | 0.06338 | 0.098592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010899 | 0.113527 | 414 | 14 | 73 | 29.571429 | 0.762943 | 0.086957 | 0 | 0 | 1 | 0 | 0.603723 | 0.069149 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0.142857 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
7047910513771762b409262925eb689ef84068d9 | 151 | py | Python | Chapter 03/ch3_2_4.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 03/ch3_2_4.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 03/ch3_2_4.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | import re
patterns = 'xy+?'
if re.search(patterns, "xz"):
print('Starts with x and has one y')
else:
print('No matching')
#No matching | 18.875 | 41 | 0.615894 | 23 | 151 | 4.043478 | 0.782609 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238411 | 151 | 8 | 42 | 18.875 | 0.808696 | 0.072848 | 0 | 0 | 0 | 0 | 0.330827 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
70485dbc9eef73fbf365452d6bceaeff3f8218d4 | 894 | py | Python | src/ImageLibrary/screenshot_operations.py | Simakvokka/ImageLibrary | 487099843de02b40a44aa0376cbb6747bf8794d3 | [
"Apache-2.0"
] | 18 | 2019-12-02T07:34:20.000Z | 2021-11-03T15:49:04.000Z | src/ImageLibrary/screenshot_operations.py | Simakvokka/ImageLibrary | 487099843de02b40a44aa0376cbb6747bf8794d3 | [
"Apache-2.0"
] | 16 | 2020-01-21T15:11:55.000Z | 2021-11-22T17:39:06.000Z | src/ImageLibrary/screenshot_operations.py | Simakvokka/ImageLibrary | 487099843de02b40a44aa0376cbb6747bf8794d3 | [
"Apache-2.0"
] | 8 | 2020-01-17T12:43:07.000Z | 2021-04-29T16:10:17.000Z | from PIL import Image, ImageChops, ImageOps, ImageEnhance
class ScreenshotOperations:
"""Transform screenshot:
- changes contours
- changes contrast: pass float/int values
- changes brightness: pass float/int values
- invert image: invert image colors
"""
def __init__(self)... | 27.090909 | 57 | 0.645414 | 90 | 894 | 6.322222 | 0.355556 | 0.077329 | 0.079086 | 0.063269 | 0.108963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277405 | 894 | 32 | 58 | 27.9375 | 0.880805 | 0.181208 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.055556 | 0.055556 | 0 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
7059dca23163bb2b1347a120ffb8381728354698 | 208 | py | Python | test/test_tetras.py | LucBerge/wallme | 3c76a08cb4d8ae916b2b12708a78263573f6b06a | [
"MIT"
] | 1 | 2019-08-29T17:27:36.000Z | 2019-08-29T17:27:36.000Z | test/test_tetras.py | LucBerge/wallme | 3c76a08cb4d8ae916b2b12708a78263573f6b06a | [
"MIT"
] | 2 | 2020-07-08T20:54:05.000Z | 2020-10-14T20:44:28.000Z | test/test_tetras.py | LucBerge/wallme | 3c76a08cb4d8ae916b2b12708a78263573f6b06a | [
"MIT"
] | 1 | 2020-10-01T05:58:11.000Z | 2020-10-01T05:58:11.000Z | # coding: utf8
from .test_website import TestWebsite
from wallme.websites import tetras
class TestTetras(TestWebsite):
def test_tetras(self):
self.simple_test("tetras", "tetras", None, tetras)
| 20.8 | 58 | 0.740385 | 26 | 208 | 5.807692 | 0.615385 | 0.13245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.163462 | 208 | 9 | 59 | 23.111111 | 0.862069 | 0.057692 | 0 | 0 | 0 | 0 | 0.061856 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
708274bdb8ac8a841677a710ba9ad8f1dab01fd4 | 732 | py | Python | pathfinder/charsheet/migrations/0021_auto_20180820_1648.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 1 | 2020-04-21T11:39:25.000Z | 2020-04-21T11:39:25.000Z | pathfinder/charsheet/migrations/0021_auto_20180820_1648.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 7 | 2020-02-12T01:08:01.000Z | 2022-02-10T11:56:56.000Z | pathfinder/charsheet/migrations/0021_auto_20180820_1648.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | null | null | null | # Generated by Django 2.0.6 on 2018-08-20 14:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('charsheet', '0020_auto_20180820_1639'),
]
operations = [
migrations.AlterField(
model_name='characterclass',
name='n... | 25.241379 | 63 | 0.571038 | 74 | 732 | 5.527027 | 0.527027 | 0.146699 | 0.183374 | 0.212714 | 0.501222 | 0.501222 | 0.501222 | 0.501222 | 0.501222 | 0.501222 | 0 | 0.073413 | 0.311475 | 732 | 28 | 64 | 26.142857 | 0.738095 | 0.061475 | 0 | 0.545455 | 1 | 0 | 0.09781 | 0.033577 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
70a5cfaf5cf70850a416032cb5174a989229d7f0 | 844 | py | Python | objects/CSCG/_3d/exact_solutions/status/Stokes/sin_cos_1.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | 1 | 2020-10-14T12:48:35.000Z | 2020-10-14T12:48:35.000Z | objects/CSCG/_3d/exact_solutions/status/Stokes/sin_cos_1.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null | objects/CSCG/_3d/exact_solutions/status/Stokes/sin_cos_1.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null |
from numpy import sin, pi, cos
from objects.CSCG._3d.exact_solutions.status.Stokes.base import Stokes_Base
# noinspection PyAbstractClass
class Stokes_SinCos1(Stokes_Base):
"""
The sin cos test case 1.
"""
def __init__(self, es):
super(Stokes_SinCos1, self).__init__(es)
self._es_.sta... | 28.133333 | 75 | 0.592417 | 149 | 844 | 3.234899 | 0.33557 | 0.074689 | 0.112033 | 0.058091 | 0.282158 | 0.282158 | 0.224066 | 0.224066 | 0.165975 | 0.165975 | 0 | 0.028346 | 0.24763 | 844 | 30 | 76 | 28.133333 | 0.730709 | 0.137441 | 0 | 0 | 0 | 0 | 0.022631 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0.117647 | 0.235294 | 0.823529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
56137e6f09dc13e4ebdb9cfd4bb7bc8bc4cd9611 | 188 | py | Python | tests/exploratory/custom_types/example/model.py | temoctzin/radish | 1d904b9a7bf9eb5b263c86e3fc3a996956747ecc | [
"MIT"
] | null | null | null | tests/exploratory/custom_types/example/model.py | temoctzin/radish | 1d904b9a7bf9eb5b263c86e3fc3a996956747ecc | [
"MIT"
] | null | null | null | tests/exploratory/custom_types/example/model.py | temoctzin/radish | 1d904b9a7bf9eb5b263c86e3fc3a996956747ecc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class Hero(object):
def __init__(self, forename, surname, hero):
self.forename = forename
self.surname = surname
self.heroname = hero
| 20.888889 | 48 | 0.601064 | 21 | 188 | 5.190476 | 0.571429 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.271277 | 188 | 8 | 49 | 23.5 | 0.788321 | 0.111702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5615b7de60c0135a159b025419517010b7181e65 | 2,265 | py | Python | individual_work/justin/sandbox/postman.py | marquettecomputationalsocialscience/clusteredcrimemaps | 4fb4ad1ad2474f854dabc1a72fbefcbb700d601a | [
"MIT"
] | 2 | 2017-11-16T23:22:53.000Z | 2018-02-05T21:04:03.000Z | individual_work/justin/sandbox/postman.py | marquettecomputationalsocialscience/clusteredcrimemaps | 4fb4ad1ad2474f854dabc1a72fbefcbb700d601a | [
"MIT"
] | null | null | null | individual_work/justin/sandbox/postman.py | marquettecomputationalsocialscience/clusteredcrimemaps | 4fb4ad1ad2474f854dabc1a72fbefcbb700d601a | [
"MIT"
] | 3 | 2017-08-06T22:44:45.000Z | 2018-10-28T02:11:56.000Z | import requests
import os
tract_array=[
14100,
14300,
14400,
14600,
14700,
14800,
14900,
15700,
15800,
15900,
16000,
16100,
16200,
16300,
16400,
16500,
16600,
16700,
16800,
16900,
17000,
17100,
17200,
17300,
17400,
17500,
17600,
17900,
18000,
18100,
18200,
18300,
18400,
18500,
18600,
... | 23.59375 | 1,475 | 0.724062 | 308 | 2,265 | 5.253247 | 0.714286 | 0.029666 | 0.029666 | 0.044499 | 0.092707 | 0.092707 | 0.092707 | 0.092707 | 0.092707 | 0.092707 | 0 | 0.326347 | 0.115232 | 2,265 | 96 | 1,475 | 23.59375 | 0.481038 | 0 | 0 | 0 | 0 | 0 | 0.060459 | 0.011033 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.021277 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
561c6bb72028108c591052c4a3ce301887e811c5 | 23 | py | Python | pyvi/__init__.py | minhpqn/pyvi | a31e8cf0d9c9c25f525e8b7e0f6af15e6c8d41b8 | [
"MIT"
] | 161 | 2016-11-01T08:35:02.000Z | 2022-03-16T10:03:51.000Z | pyvi/__init__.py | minhpqn/pyvi | a31e8cf0d9c9c25f525e8b7e0f6af15e6c8d41b8 | [
"MIT"
] | 11 | 2018-10-02T09:47:52.000Z | 2021-11-21T16:38:16.000Z | pyvi/__init__.py | minhpqn/pyvi | a31e8cf0d9c9c25f525e8b7e0f6af15e6c8d41b8 | [
"MIT"
] | 49 | 2016-11-02T02:13:10.000Z | 2022-02-14T15:09:46.000Z | __author__ = 'trungtv'
| 11.5 | 22 | 0.73913 | 2 | 23 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
56387226ba6e8fab8a9c8c2b0a4d5b47f67aedee | 71 | py | Python | hello_world.py | Scyphiform123/Coding | c9e1192c76ea635be4a5aedfe1fe2534457b3dfd | [
"MIT"
] | null | null | null | hello_world.py | Scyphiform123/Coding | c9e1192c76ea635be4a5aedfe1fe2534457b3dfd | [
"MIT"
] | null | null | null | hello_world.py | Scyphiform123/Coding | c9e1192c76ea635be4a5aedfe1fe2534457b3dfd | [
"MIT"
] | null | null | null |
print("hello, what is your name?")
name = input()
print("hi " + name)
| 14.2 | 34 | 0.619718 | 11 | 71 | 4 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 71 | 4 | 35 | 17.75 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
5676b1111442e232ccc89523ce68bb87671629af | 80 | py | Python | spider/homepro/homepro/spiders/test.py | yangtianzeng/Buddha-house-renting | adf89a1d34297b7ff049ecf31fa03caeb86f34fc | [
"Apache-2.0"
] | 2 | 2018-12-05T02:17:10.000Z | 2018-12-05T02:17:13.000Z | spider/homepro/homepro/spiders/test.py | yangtianzeng/Buddha-house-renting | adf89a1d34297b7ff049ecf31fa03caeb86f34fc | [
"Apache-2.0"
] | null | null | null | spider/homepro/homepro/spiders/test.py | yangtianzeng/Buddha-house-renting | adf89a1d34297b7ff049ecf31fa03caeb86f34fc | [
"Apache-2.0"
] | null | null | null | str = "http://zu.fang.com/house/i33/"
print(str.split('/house')[0].rstrip('/'))
| 26.666667 | 41 | 0.6125 | 13 | 80 | 3.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.05 | 80 | 2 | 42 | 40 | 0.605263 | 0 | 0 | 0 | 0 | 0 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
5676cb5aacbb52a19ce1e3559fbbcdadd9416f9f | 611 | py | Python | system/admin.py | ugractf/terminal-board | c08c9c2c54034aa91a8ce657c5c519acb245d0b0 | [
"MIT"
] | null | null | null | system/admin.py | ugractf/terminal-board | c08c9c2c54034aa91a8ce657c5c519acb245d0b0 | [
"MIT"
] | null | null | null | system/admin.py | ugractf/terminal-board | c08c9c2c54034aa91a8ce657c5c519acb245d0b0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
@admin.register(TeamParticipant)
class TeamParticipantAdmin(admin.ModelAdmin):
pass
@admin.register(Team)
class TeamAdmin(admin.ModelAdmin):
list_display = ("name", "invite")
@admin.register(Service)
class ServiceAdmin(admin.ModelAdmin):
pass
@admin.regis... | 19.709677 | 45 | 0.792144 | 67 | 611 | 7.208955 | 0.41791 | 0.188406 | 0.236025 | 0.248447 | 0.331263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0982 | 611 | 30 | 46 | 20.366667 | 0.876588 | 0 | 0 | 0.26087 | 0 | 0 | 0.016367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.26087 | 0.086957 | 0 | 0.434783 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
567fd093d9a21c14ce275b3f1200dada652794bb | 299 | py | Python | oeeBackend/plants/models.py | yamenmarquez/oee_django | b192ecab930aac0922599b6a8fadf7e92350e5a7 | [
"MIT"
] | null | null | null | oeeBackend/plants/models.py | yamenmarquez/oee_django | b192ecab930aac0922599b6a8fadf7e92350e5a7 | [
"MIT"
] | null | null | null | oeeBackend/plants/models.py | yamenmarquez/oee_django | b192ecab930aac0922599b6a8fadf7e92350e5a7 | [
"MIT"
] | 1 | 2018-09-13T22:36:55.000Z | 2018-09-13T22:36:55.000Z | from django.db import models
# Create your models here.
class Plant(models.Model):
plant_name = models.CharField(max_length=256)
created_at = models.DateTimeField(auto_now_add=True)
update_at = models.DateTimeField(auto_now=True)
def __str__(self):
return self.plant_name | 24.916667 | 56 | 0.742475 | 42 | 299 | 5 | 0.666667 | 0.085714 | 0.2 | 0.238095 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012097 | 0.170569 | 299 | 12 | 57 | 24.916667 | 0.834677 | 0.080268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
5681cfb8ec6dd001496997ce3784cde9db1d0e6a | 4,108 | py | Python | app/api/v2/utils/validators.py | ssiva13/Questioner | e56ec5c72630f837385b019f10af129038dbb2bd | [
"zlib-acknowledgement"
] | 1 | 2019-01-19T23:39:18.000Z | 2019-01-19T23:39:18.000Z | app/api/v2/utils/validators.py | ssiva13/Questioner | e56ec5c72630f837385b019f10af129038dbb2bd | [
"zlib-acknowledgement"
] | 11 | 2019-01-05T19:10:46.000Z | 2021-06-01T23:13:58.000Z | app/api/v2/utils/validators.py | ssiva13/Questioner | e56ec5c72630f837385b019f10af129038dbb2bd | [
"zlib-acknowledgement"
] | 2 | 2019-01-10T12:22:34.000Z | 2019-01-20T14:00:03.000Z | from werkzeug.security import check_password_hash
from ..models.user_models import USERS
from instance.config import Config
from functools import wraps
from ..models import user_models
from flask import request, json, jsonify, make_response
import re, jwt
users = user_models.UserModels()
SECRET_KEY = Config.JWT_SECRE... | 34.521008 | 89 | 0.540409 | 428 | 4,108 | 5.056075 | 0.221963 | 0.04159 | 0.066543 | 0.092421 | 0.709797 | 0.704251 | 0.675601 | 0.675601 | 0.667283 | 0.639094 | 0 | 0.021575 | 0.356865 | 4,108 | 118 | 90 | 34.813559 | 0.797502 | 0.073272 | 0 | 0.72 | 0 | 0.01 | 0.120876 | 0.019002 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.05 | 0.07 | 0 | 0.37 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3b22bebb303a386d2db31130a050043cff7bfdcb | 411 | py | Python | review4d/ui.py | nybrandnewschool/review4d | b97422eab2db0a3f0a979b42c1d6cafe1282f436 | [
"MIT"
] | null | null | null | review4d/ui.py | nybrandnewschool/review4d | b97422eab2db0a3f0a979b42c1d6cafe1282f436 | [
"MIT"
] | null | null | null | review4d/ui.py | nybrandnewschool/review4d | b97422eab2db0a3f0a979b42c1d6cafe1282f436 | [
"MIT"
] | 1 | 2021-11-01T20:42:20.000Z | 2021-11-01T20:42:20.000Z | import contextlib
__all__ = [
'suppress_messages',
'messages_suppressed',
]
@contextlib.contextmanager
def suppress_messages(ui):
previous_value = getattr(ui, 'messages_suppressed', False)
try:
ui.messages_suppressed = True
yield
finally:
ui.messages_suppressed = previous... | 18.681818 | 62 | 0.705596 | 42 | 411 | 6.571429 | 0.428571 | 0.391304 | 0.289855 | 0.195652 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206813 | 411 | 21 | 63 | 19.571429 | 0.846626 | 0 | 0 | 0 | 0 | 0 | 0.180049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0.066667 | 0.266667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3b2697c751d96c6fc714222c314943d6ce8cceb7 | 114,890 | py | Python | database/compiled_templates/webapps/tool_shed/repository/common.mako.py | psnehal/MethylSig | 5efad71e71ff2515feff2e49579c856ef9a1bbd8 | [
"CC-BY-3.0"
] | null | null | null | database/compiled_templates/webapps/tool_shed/repository/common.mako.py | psnehal/MethylSig | 5efad71e71ff2515feff2e49579c856ef9a1bbd8 | [
"CC-BY-3.0"
] | null | null | null | database/compiled_templates/webapps/tool_shed/repository/common.mako.py | psnehal/MethylSig | 5efad71e71ff2515feff2e49579c856ef9a1bbd8 | [
"CC-BY-3.0"
] | null | null | null | # -*- encoding:ascii -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 6
_modified_time = 1433361600.3771391
_template_filename=u'templates/webapps/tool_shed/repository/common.mako'
_template_uri=u'/webapps/tool_shed/repository... | 49.330185 | 3,853 | 0.560345 | 13,024 | 114,890 | 4.542153 | 0.078394 | 0.097858 | 0.071403 | 0.041077 | 0.796322 | 0.748736 | 0.687121 | 0.623984 | 0.588891 | 0.570262 | 0 | 0.025197 | 0.339864 | 114,890 | 2,328 | 3,854 | 49.351375 | 0.754796 | 0.075812 | 0 | 0.690979 | 0 | 0.024312 | 0.253032 | 0.040667 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035189 | false | 0.068458 | 0.008317 | 0.015355 | 0.078055 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3b3c8eb9823e9c4feb6d9c975d074c5bce3e48a2 | 350 | py | Python | owasp-top10-2021-apps/a6/golden-hat/app/block.py | InesCardinot/secDevLabs | 7dfd99002c83eb0379d98b9538ef3e558dac7e82 | [
"BSD-3-Clause"
] | null | null | null | owasp-top10-2021-apps/a6/golden-hat/app/block.py | InesCardinot/secDevLabs | 7dfd99002c83eb0379d98b9538ef3e558dac7e82 | [
"BSD-3-Clause"
] | null | null | null | owasp-top10-2021-apps/a6/golden-hat/app/block.py | InesCardinot/secDevLabs | 7dfd99002c83eb0379d98b9538ef3e558dac7e82 | [
"BSD-3-Clause"
] | null | null | null | from mitmproxy import http
import re
def request(flow):
if 'golden.secret' in flow.request.url or re.match(r'^http://127.0.0.1:8000/[a-z._/]*$', flow.request.url) is None:
flow.response = http.HTTPResponse.make(401, b"Haha! Only allowed hats can see this page!")
def response(flow):
flow.response.heade... | 35 | 119 | 0.685714 | 59 | 350 | 4.050847 | 0.694915 | 0.09205 | 0.117155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053512 | 0.145714 | 350 | 9 | 120 | 38.888889 | 0.745819 | 0 | 0 | 0 | 0 | 0 | 0.302857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3b4b97111c5b82e67d5b9bb9a67430a7220f191e | 1,308 | py | Python | test/data/ModelInvalidLoadParams.py | dcslin/rafiki | b617ac2536ac13095c4930d6d3f1f9b3c231b5e7 | [
"Apache-2.0"
] | 35 | 2018-10-07T09:51:42.000Z | 2021-09-08T14:13:38.000Z | test/data/ModelInvalidLoadParams.py | dcslin/rafiki | b617ac2536ac13095c4930d6d3f1f9b3c231b5e7 | [
"Apache-2.0"
] | 119 | 2018-10-05T14:49:39.000Z | 2022-03-11T23:49:51.000Z | test/data/ModelInvalidLoadParams.py | dcslin/rafiki | b617ac2536ac13095c4930d6d3f1f9b3c231b5e7 | [
"Apache-2.0"
] | 32 | 2018-10-18T12:02:55.000Z | 2020-03-01T10:27:06.000Z | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 28.434783 | 62 | 0.708716 | 179 | 1,308 | 5.145251 | 0.592179 | 0.065147 | 0.02823 | 0.034745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.220183 | 1,308 | 45 | 63 | 29.066667 | 0.898039 | 0.605505 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.0625 | 0.125 | 0.25 | 0.8125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
3b52b677c8044930f2d71547e88909dc05b079b5 | 145 | py | Python | extract_results.py | goodman1204/birank | 87db456a304882ca4e4f1ac4759740989ef49af7 | [
"MIT"
] | null | null | null | extract_results.py | goodman1204/birank | 87db456a304882ca4e4f1ac4759740989ef49af7 | [
"MIT"
] | null | null | null | extract_results.py | goodman1204/birank | 87db456a304882ca4e4f1ac4759740989ef49af7 | [
"MIT"
] | null | null | null | dataset=["gossipcop_fake" "gossipcop_real" "politifact_fake" "politifact_real" "Aminer"]
methods=["proposed" "HITS" "CoHITS" "BGRM" "BiRank"]
| 24.166667 | 88 | 0.731034 | 16 | 145 | 6.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089655 | 145 | 5 | 89 | 29 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.647887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3b661588ada15f9e87f8fae2db52eecd96742998 | 143 | py | Python | backend/dryorm/routing.py | omaraboumrad/djanground | f153aabf68f8d500317d357ceaa558da61380b2a | [
"MIT"
] | 1 | 2017-11-25T20:22:14.000Z | 2017-11-25T20:22:14.000Z | backend/dryorm/routing.py | omaraboumrad/dryorm | f153aabf68f8d500317d357ceaa558da61380b2a | [
"MIT"
] | 8 | 2017-11-26T21:57:16.000Z | 2017-12-26T08:53:17.000Z | backend/dryorm/routing.py | omaraboumrad/djanground | f153aabf68f8d500317d357ceaa558da61380b2a | [
"MIT"
] | null | null | null | from channels.routing import route
from dryorm.consumers import ws_message
channel_routing = [
route('websocket.receive', ws_message),
]
| 17.875 | 43 | 0.776224 | 18 | 143 | 6 | 0.666667 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13986 | 143 | 7 | 44 | 20.428571 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0.118881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3b9723dd4fae60561e07d5bb6e84bc296c8b4b28 | 4,812 | py | Python | euclidean/R2/cartesian.py | keystonetowersystems/euclidean | 72965b5ea1b0d70438376024d0c9a14457bdfb13 | [
"MIT"
] | 1 | 2021-05-26T19:18:38.000Z | 2021-05-26T19:18:38.000Z | euclidean/R2/cartesian.py | keystonetowersystems/euclidean | 72965b5ea1b0d70438376024d0c9a14457bdfb13 | [
"MIT"
] | 1 | 2021-06-30T14:13:13.000Z | 2021-06-30T15:34:33.000Z | euclidean/R2/cartesian.py | keystonetowersystems/euclidean | 72965b5ea1b0d70438376024d0c9a14457bdfb13 | [
"MIT"
] | null | null | null | import numbers
import math
from functools import total_ordering
from euclidean.exceptions import unexpected_type_error
def cross2(v1, v2):
return v1.x * v2.y - v1.y * v2.x
def dot2(v1, v2):
return v1.x * v2.x + v1.y * v2.y
class Cartesian2:
__slots__ = ("_coords",)
coords = property(lambda self... | 26.010811 | 80 | 0.592477 | 637 | 4,812 | 4.186813 | 0.155416 | 0.067492 | 0.045369 | 0.04387 | 0.511811 | 0.437945 | 0.415823 | 0.399325 | 0.377578 | 0.347207 | 0 | 0.027233 | 0.290316 | 4,812 | 184 | 81 | 26.152174 | 0.753734 | 0 | 0 | 0.290076 | 0 | 0 | 0.007689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.251908 | false | 0 | 0.030534 | 0.114504 | 0.770992 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3b98ccc424aa40dd95c4b29f678da5f3c7cc5c6b | 195 | py | Python | sopel.py | Gizmokid2005/sopel | 249a05ab7c6ccb3fb0388e3194514b19897e6990 | [
"EFL-2.0"
] | 555 | 2015-07-25T21:21:43.000Z | 2022-03-28T02:22:38.000Z | sopel.py | Gizmokid2005/sopel | 249a05ab7c6ccb3fb0388e3194514b19897e6990 | [
"EFL-2.0"
] | 1,177 | 2015-07-31T09:52:31.000Z | 2022-03-26T05:10:34.000Z | sopel.py | MirahezeBots/sopel | 72aa4fa5bc0bda3cd309ae9c15e86088b29de903 | [
"EFL-2.0"
] | 406 | 2015-07-28T20:34:02.000Z | 2022-03-18T00:37:01.000Z | #!/usr/bin/env python3
from __future__ import generator_stop
import sys
# Different from setuptools script, because we want the one in this dir.
from sopel.cli import run
sys.exit(run.main())
| 19.5 | 72 | 0.774359 | 32 | 195 | 4.5625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.148718 | 195 | 9 | 73 | 21.666667 | 0.873494 | 0.471795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3b9ae09e8015dea9712d5899f405b03577b11b04 | 252 | py | Python | src/utils/database.py | peterHoburg/fastapi_example | 09353b2a1a2a9d80f8d7d197cfa21736de53a293 | [
"MIT"
] | null | null | null | src/utils/database.py | peterHoburg/fastapi_example | 09353b2a1a2a9d80f8d7d197cfa21736de53a293 | [
"MIT"
] | null | null | null | src/utils/database.py | peterHoburg/fastapi_example | 09353b2a1a2a9d80f8d7d197cfa21736de53a293 | [
"MIT"
] | null | null | null | from sqlalchemy.orm import Session
from src.models import sql
from src.models.api import UserInDB
def get_user(db: Session, username: str) -> UserInDB:
return UserInDB.from_orm(db.query(sql.User).filter(sql.User.username == username).first())
| 22.909091 | 94 | 0.757937 | 38 | 252 | 4.973684 | 0.526316 | 0.074074 | 0.137566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 252 | 10 | 95 | 25.2 | 0.859091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
3ba175ae7b8ec33da35a90246b2f03264b1495f9 | 110 | py | Python | pacote-download/Python3CursoEmVideo/utilidadesCeV/aula22.py | JoaoP-Rodrigues/CursoPython3-Aulas | 24d884eaa67485a12c8c3629c7f0fa5b8606a798 | [
"MIT"
] | null | null | null | pacote-download/Python3CursoEmVideo/utilidadesCeV/aula22.py | JoaoP-Rodrigues/CursoPython3-Aulas | 24d884eaa67485a12c8c3629c7f0fa5b8606a798 | [
"MIT"
] | null | null | null | pacote-download/Python3CursoEmVideo/utilidadesCeV/aula22.py | JoaoP-Rodrigues/CursoPython3-Aulas | 24d884eaa67485a12c8c3629c7f0fa5b8606a798 | [
"MIT"
] | null | null | null | from utilidadesCeV import moeda, dado
num = dado.validacao('Digite o preço: R$ ')
moeda.resumo(num, 10, 15)
| 18.333333 | 43 | 0.718182 | 17 | 110 | 4.647059 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.154545 | 110 | 5 | 44 | 22 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8e6974098c65f1327be2474290b5d1c531518ad5 | 590 | py | Python | challenges/insertion-sort/tests/test_insertion_sort.py | ebrahimayyad11/data-structures-and-algorithms | c85b0de90f887478456faf1fafae78bd80fbfd2e | [
"MIT"
] | null | null | null | challenges/insertion-sort/tests/test_insertion_sort.py | ebrahimayyad11/data-structures-and-algorithms | c85b0de90f887478456faf1fafae78bd80fbfd2e | [
"MIT"
] | 5 | 2021-06-13T19:42:42.000Z | 2021-07-12T18:00:54.000Z | challenges/insertion-sort/tests/test_insertion_sort.py | ebrahimayyad11/data-structures-and-algorithms | c85b0de90f887478456faf1fafae78bd80fbfd2e | [
"MIT"
] | null | null | null | from insertion_sort import __version__
from insertion_sort.insertion_sort import InsertionSort
def test_version():
assert __version__ == '0.1.0'
def test_1():
arr = [9,8,5,2,20,18,16]
actual = InsertionSort(arr)
excepted = [2,5,8,9,16,18,20]
assert actual == excepted
def test_2():
arr = [9... | 21.071429 | 55 | 0.638983 | 101 | 590 | 3.584158 | 0.257426 | 0.077348 | 0.18232 | 0.248619 | 0.441989 | 0.121547 | 0.071823 | 0.071823 | 0 | 0 | 0 | 0.161359 | 0.201695 | 590 | 28 | 56 | 21.071429 | 0.607219 | 0 | 0 | 0.315789 | 0 | 0 | 0.00846 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.210526 | false | 0 | 0.105263 | 0 | 0.315789 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8e6a4a3465983c74e3e8520e2d9e6fac4376e886 | 516 | py | Python | Ex74.py | ErickTeixeira777/Python-3 | 5bd886d13e8118bba556d499ecd6841e9cdb5e9f | [
"MIT"
] | null | null | null | Ex74.py | ErickTeixeira777/Python-3 | 5bd886d13e8118bba556d499ecd6841e9cdb5e9f | [
"MIT"
] | null | null | null | Ex74.py | ErickTeixeira777/Python-3 | 5bd886d13e8118bba556d499ecd6841e9cdb5e9f | [
"MIT"
] | null | null | null | ''' Crie um programa que vai gerar 5 números aleatórios e colocar em um tupla, depois disso mostre a listagem de números gerados e também indique o menor e o maior valor que estão na tupla. '''
from random import randint
numeros = (randint (1,10), randint (1,10), randint (1,10), randint (1,10), randint (1,10))
print('O... | 64.5 | 193 | 0.699612 | 88 | 516 | 4.102273 | 0.568182 | 0.110803 | 0.138504 | 0.188366 | 0.138504 | 0.138504 | 0.138504 | 0.138504 | 0.138504 | 0.138504 | 0 | 0.037383 | 0.170543 | 516 | 8 | 194 | 64.5 | 0.806075 | 0.358527 | 0 | 0 | 0 | 0 | 0.395062 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
8e87b57c7bf1f26a6201309754b266aa49df077c | 331 | py | Python | tests/sentry/nodestore/test_base.py | AlexWayfer/sentry | ef935cda2b2e960bd602fda590540882d1b0712d | [
"BSD-3-Clause"
] | 20 | 2016-10-01T04:29:24.000Z | 2020-10-09T07:23:34.000Z | tests/sentry/nodestore/test_base.py | AlexWayfer/sentry | ef935cda2b2e960bd602fda590540882d1b0712d | [
"BSD-3-Clause"
] | 196 | 2019-06-10T08:34:10.000Z | 2022-02-22T01:26:13.000Z | tests/sentry/nodestore/test_base.py | AlexWayfer/sentry | ef935cda2b2e960bd602fda590540882d1b0712d | [
"BSD-3-Clause"
] | 7 | 2016-10-27T05:12:45.000Z | 2021-05-01T14:29:53.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from sentry.nodestore.base import NodeStorage
from sentry.testutils import TestCase
class NodeStorageTest(TestCase):
def setUp(self):
self.ns = NodeStorage()
def test_generate_id(self):
result = self.ns.generate_id()
ass... | 20.6875 | 45 | 0.703927 | 40 | 331 | 5.625 | 0.6 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003802 | 0.205438 | 331 | 15 | 46 | 22.066667 | 0.851711 | 0.063444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8eafaf36df94ea9f22be67a0614097dec7336d2e | 575 | py | Python | plusseg/modeling/postprocessor/postprocessor.py | tonysy/SegmentationToolbox.PyTorch | 4d487dd81d0101bc5cdb7b2337776fdf1b5546ff | [
"MIT"
] | 13 | 2019-07-26T11:33:15.000Z | 2021-09-22T06:48:52.000Z | plusseg/modeling/postprocessor/postprocessor.py | tonysy/SegmentationToolbox.PyTorch | 4d487dd81d0101bc5cdb7b2337776fdf1b5546ff | [
"MIT"
] | 1 | 2018-11-05T14:07:07.000Z | 2018-11-05T14:07:07.000Z | plusseg/modeling/postprocessor/postprocessor.py | tonysy/SegmentationToolbox.PyTorch | 4d487dd81d0101bc5cdb7b2337776fdf1b5546ff | [
"MIT"
] | 2 | 2019-07-26T11:33:32.000Z | 2020-03-04T13:47:50.000Z | from collections import OrderedDict
from torch import nn
from plusseg.modeling import registry
from plusseg.modeling.make_layers import conv_with_kaiming_uniform
def build_post_processor(cfg):
if cfg.MODEL.POSTPROCESSOR.NAME is '':
return None
assert cfg.MODEL.POSTPROCESSOR.NAME in registry... | 31.944444 | 81 | 0.733913 | 71 | 575 | 5.84507 | 0.521127 | 0.096386 | 0.253012 | 0.301205 | 0.226506 | 0.226506 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187826 | 575 | 18 | 82 | 31.944444 | 0.888651 | 0.046957 | 0 | 0 | 0 | 0 | 0.115174 | 0.053016 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.083333 | false | 0 | 0.333333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8edade303953057a47476a91a34e104019eb0a08 | 6,288 | py | Python | ovs/extensions/hypervisor/hypervisors/kvm.py | mflu/openvstorage_centos | 280a98d3e5d212d58297e0ffcecd325dfecef0f8 | [
"Apache-2.0"
] | 1 | 2015-08-29T16:36:40.000Z | 2015-08-29T16:36:40.000Z | ovs/extensions/hypervisor/hypervisors/kvm.py | rootfs-analytics/openvstorage | 6184822340faea1d2927643330a7aaa781d92d36 | [
"Apache-2.0"
] | null | null | null | ovs/extensions/hypervisor/hypervisors/kvm.py | rootfs-analytics/openvstorage | 6184822340faea1d2927643330a7aaa781d92d36 | [
"Apache-2.0"
] | null | null | null | # Copyright 2014 CloudFounders NV
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 32.75 | 137 | 0.620388 | 752 | 6,288 | 5.022606 | 0.281915 | 0.0278 | 0.030977 | 0.029653 | 0.179508 | 0.16071 | 0.135028 | 0.117554 | 0.067779 | 0.067779 | 0 | 0.004685 | 0.287214 | 6,288 | 191 | 138 | 32.921466 | 0.838019 | 0.305344 | 0 | 0.177215 | 0 | 0 | 0.033386 | 0 | 0 | 0 | 0 | 0.010471 | 0 | 1 | 0.265823 | false | 0.025316 | 0.012658 | 0 | 0.56962 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8edd5f54df2b01fc48c1595758a6c7502d2f5a8c | 100 | py | Python | Codewars/8kyu/duck-duck-goose/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/duck-duck-goose/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/duck-duck-goose/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
duck_duck_goose = lambda players, goose: players[(goose - 1) % len(players)].name
| 25 | 81 | 0.69 | 16 | 100 | 4.1875 | 0.6875 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.15 | 100 | 3 | 82 | 33.333333 | 0.741176 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8edf817a12d76ceddc038d0600f08927cd1701fd | 307 | py | Python | .config/xmobar/getdate_fr.py | mdupuis13/dotfilez-dasboss-pc | 30e4a53aa274f0fe85a64d1507ac572b3669a462 | [
"MIT"
] | null | null | null | .config/xmobar/getdate_fr.py | mdupuis13/dotfilez-dasboss-pc | 30e4a53aa274f0fe85a64d1507ac572b3669a462 | [
"MIT"
] | null | null | null | .config/xmobar/getdate_fr.py | mdupuis13/dotfilez-dasboss-pc | 30e4a53aa274f0fe85a64d1507ac572b3669a462 | [
"MIT"
] | null | null | null | #! /usr/bin/python3
import locale
from datetime import datetime
import sys
import getopt
import string
locale.setlocale(locale.LC_ALL, '')
loc = locale.getlocale()
locale.setlocale(locale.LC_ALL, 'fr_CA.UTF-8')
print('%s' % (string.capwords(datetime.now().strftime('%A, %d %B - %k:%M:%S'))))
sys.exit(0)
| 20.466667 | 80 | 0.710098 | 48 | 307 | 4.479167 | 0.645833 | 0.130233 | 0.195349 | 0.213953 | 0.24186 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010909 | 0.104235 | 307 | 14 | 81 | 21.928571 | 0.770909 | 0.058632 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8ee347722b7d61cf38bad3f5e4a02ee176741166 | 5,505 | py | Python | obp/ope/__init__.py | Tanvikapoor14/zr-obp | 51eba00f0dda5c26c1fa6826f544c60de485da52 | [
"Apache-2.0"
] | null | null | null | obp/ope/__init__.py | Tanvikapoor14/zr-obp | 51eba00f0dda5c26c1fa6826f544c60de485da52 | [
"Apache-2.0"
] | null | null | null | obp/ope/__init__.py | Tanvikapoor14/zr-obp | 51eba00f0dda5c26c1fa6826f544c60de485da52 | [
"Apache-2.0"
] | null | null | null | from obp.ope.classification_model import ImportanceWeightEstimator
from obp.ope.classification_model import PropensityScoreEstimator
from obp.ope.estimators import BalancedInverseProbabilityWeighting
from obp.ope.estimators import BaseOffPolicyEstimator
from obp.ope.estimators import DirectMethod
from obp.ope.estimator... | 42.022901 | 84 | 0.845232 | 407 | 5,505 | 11.27027 | 0.157248 | 0.07325 | 0.104644 | 0.174406 | 0.344016 | 0.218443 | 0.027469 | 0 | 0 | 0 | 0 | 0 | 0.099183 | 5,505 | 130 | 85 | 42.346154 | 0.924985 | 0 | 0 | 0.276423 | 0 | 0 | 0.320073 | 0.266122 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.398374 | 0 | 0.398374 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8ee56c1a5aecdd051c832b4e464da4fe1611fd41 | 132 | py | Python | driverlib/a.py | vinodstanur/stellaris-launchpad | b77778ccb9e6d56b81b92eca3acafb8bfe357097 | [
"BSD-3-Clause"
] | 3 | 2015-07-21T10:10:14.000Z | 2020-08-01T00:03:04.000Z | driverlib/a.py | vinodstanur/stellaris-launchpad | b77778ccb9e6d56b81b92eca3acafb8bfe357097 | [
"BSD-3-Clause"
] | null | null | null | driverlib/a.py | vinodstanur/stellaris-launchpad | b77778ccb9e6d56b81b92eca3acafb8bfe357097 | [
"BSD-3-Clause"
] | 6 | 2015-07-21T10:10:22.000Z | 2021-03-06T16:13:39.000Z | import sys,re,os
d = os.listdir('.')
for i in d:
f=open(i)
a=f.read()
if("SysCtlDelay" in a):
print i
f.close()
del a
| 13.2 | 25 | 0.560606 | 27 | 132 | 2.740741 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 132 | 9 | 26 | 14.666667 | 0.747475 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.111111 | null | null | 0.111111 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d907fbd0650025501415d4d4e91deb6b11e5dc7d | 872 | py | Python | androidlib/errors.py | aerogear/androidctl | f057117a893b2e24f47218b98ebf2e4552502eae | [
"Apache-2.0"
] | null | null | null | androidlib/errors.py | aerogear/androidctl | f057117a893b2e24f47218b98ebf2e4552502eae | [
"Apache-2.0"
] | 3 | 2017-08-11T08:27:34.000Z | 2021-06-01T22:46:14.000Z | androidlib/errors.py | aerogear/androidctl | f057117a893b2e24f47218b98ebf2e4552502eae | [
"Apache-2.0"
] | 1 | 2017-08-10T13:42:05.000Z | 2017-08-10T13:42:05.000Z | import errno
import os
import sys
import json
def errmsg(code):
return os.strerror(code)
class BaseError(Exception):
def __init__(self, message=None):
self.code = errno.EPERM
self.message = message
def __repr__(self):
return '%s(%s)' % (self.__class__, self.__dict__)
def __str__(self):
ret... | 21.268293 | 58 | 0.683486 | 114 | 872 | 4.885965 | 0.245614 | 0.138241 | 0.059246 | 0.064632 | 0.129264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178899 | 872 | 40 | 59 | 21.8 | 0.777933 | 0 | 0 | 0.071429 | 0 | 0 | 0.034404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.178571 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d93747105cd667ff05debd28de951bad776a930c | 515 | py | Python | PythonDerivate/mapper.py | Smurf-maker/WordShop | ac0095ee28207f23744337d4cb35c5ca764d7e26 | [
"MIT"
] | null | null | null | PythonDerivate/mapper.py | Smurf-maker/WordShop | ac0095ee28207f23744337d4cb35c5ca764d7e26 | [
"MIT"
] | null | null | null | PythonDerivate/mapper.py | Smurf-maker/WordShop | ac0095ee28207f23744337d4cb35c5ca764d7e26 | [
"MIT"
] | null | null | null | class Mapper:
"""This module takes a user-input string and chunks it into formatted tuples which
contains relevant data for all essential pieces of string."""
def maptolist(self, arg, langbound):
"""Returns formatted-tuple containing relevant processing data for each token.""" #update
ret... | 46.818182 | 98 | 0.708738 | 63 | 515 | 5.761905 | 0.68254 | 0.099174 | 0.088154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217476 | 515 | 11 | 99 | 46.818182 | 0.900744 | 0.549515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d93a19b4db8df1d69fdb72025fa09c74f86a0c71 | 100 | py | Python | configs/benchmarks/classification/imagenet/imagenet_10percent/resnet50_head1_4xb64-steplr1e-2-20e_in1k-10pct.py | mitming/mmselfsup | 5b5cb474776291cfcb9a1140afd11b696e11fcab | [
"Apache-2.0"
] | 355 | 2021-12-16T04:32:49.000Z | 2022-03-31T22:15:23.000Z | configs/benchmarks/classification/imagenet/imagenet_10percent/resnet50_head1_4xb64-steplr1e-2-20e_in1k-10pct.py | mitming/mmselfsup | 5b5cb474776291cfcb9a1140afd11b696e11fcab | [
"Apache-2.0"
] | 89 | 2021-12-16T05:15:42.000Z | 2022-03-31T10:57:39.000Z | configs/benchmarks/classification/imagenet/imagenet_10percent/resnet50_head1_4xb64-steplr1e-2-20e_in1k-10pct.py | mitming/mmselfsup | 5b5cb474776291cfcb9a1140afd11b696e11fcab | [
"Apache-2.0"
] | 74 | 2021-12-16T04:40:02.000Z | 2022-03-31T08:40:32.000Z | _base_ = 'resnet50_head1_4xb64-steplr1e-1-20e_in1k-10pct.py'
# optimizer
optimizer = dict(lr=0.01)
| 20 | 60 | 0.77 | 16 | 100 | 4.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175824 | 0.09 | 100 | 4 | 61 | 25 | 0.615385 | 0.09 | 0 | 0 | 0 | 0 | 0.550562 | 0.550562 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d93af54f4e8a0a6c6e04b97b1971ab15c12a5d38 | 333 | py | Python | rofm/experimental/text.py | PurelyApplied/roll_one_for_me | 1130d6bb29db4795f3ef84ea0540e94290b6e58d | [
"Apache-2.0"
] | 13 | 2016-05-10T22:11:46.000Z | 2019-02-15T03:44:01.000Z | rofm/experimental/text.py | PurelyApplied/roll_one_for_me | 1130d6bb29db4795f3ef84ea0540e94290b6e58d | [
"Apache-2.0"
] | 6 | 2017-07-06T22:13:18.000Z | 2017-07-07T18:18:12.000Z | rofm/experimental/text.py | PurelyApplied/roll_one_for_me | 1130d6bb29db4795f3ef84ea0540e94290b6e58d | [
"Apache-2.0"
] | 10 | 2016-02-10T20:23:51.000Z | 2022-03-25T14:06:05.000Z | #!/usr/bin/env python3
class Text:
"""A probably unnecessary wrapper for a \\n-delimited block of text."""
def __init__(self, raw_text:str):
self.raw_text = raw_text
self.lines = [l.strip() for l in raw_text.split("\n")]
def get_block(self, start, length):
return self.lines[start:... | 27.75 | 75 | 0.636637 | 51 | 333 | 3.980392 | 0.588235 | 0.137931 | 0.108374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.225225 | 333 | 11 | 76 | 30.272727 | 0.77907 | 0.258258 | 0 | 0 | 0 | 0 | 0.008333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d96e37ea7489d59e862113dded7ef489c1964574 | 337 | py | Python | helpers/helper.py | borko81/hotel_spr_using_flask | 8e5dbb247f9f9c67547ca3c2e9a95728125d3ed9 | [
"MIT"
] | null | null | null | helpers/helper.py | borko81/hotel_spr_using_flask | 8e5dbb247f9f9c67547ca3c2e9a95728125d3ed9 | [
"MIT"
] | null | null | null | helpers/helper.py | borko81/hotel_spr_using_flask | 8e5dbb247f9f9c67547ca3c2e9a95728125d3ed9 | [
"MIT"
] | null | null | null | from flask import request
from datetime import datetime
def get_user_dates_or_return_today():
"""
If user enter valid date get it else return currect date
"""
f_data = request.form["fdata"] or str(datetime.today().date())
l_data = request.form["ldata"] or str(datetime.today().date())
retur... | 28.083333 | 66 | 0.691395 | 51 | 337 | 4.392157 | 0.509804 | 0.044643 | 0.133929 | 0.160714 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195846 | 337 | 11 | 67 | 30.636364 | 0.826568 | 0.166172 | 0 | 0 | 0 | 0 | 0.038314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7960a39726e5e18f3a6fce765202ec4fd4e7a784 | 2,709 | py | Python | editregions/views.py | kezabelle/django-editregions | 961ddeffb37d30d40fb4e3e9224bc3f956b7a5b5 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2015-01-11T18:21:27.000Z | 2015-01-11T18:21:27.000Z | editregions/views.py | kezabelle/django-editregions | 961ddeffb37d30d40fb4e3e9224bc3f956b7a5b5 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | editregions/views.py | kezabelle/django-editregions | 961ddeffb37d30d40fb4e3e9224bc3f956b7a5b5 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | # -*- coding: utf-8 -*-
import logging
from django.contrib import messages
from django.shortcuts import redirect
logger = logging.getLogger(__name__)
class FormSuccess(Exception):
__slots__ = ['location', 'msg', 'message', 'permanent']
def __init__(self, location, msg=None, permanent=False):
self.lo... | 33.036585 | 77 | 0.605759 | 310 | 2,709 | 5.077419 | 0.33871 | 0.057814 | 0.034308 | 0.051461 | 0.152478 | 0.082592 | 0.082592 | 0.031766 | 0 | 0 | 0 | 0.025668 | 0.295312 | 2,709 | 81 | 78 | 33.444444 | 0.798848 | 0.20192 | 0 | 0 | 0 | 0 | 0.052606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.244898 | false | 0 | 0.061224 | 0.204082 | 0.612245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
79946eb8b4b1b018fc2061fce63bd233ed309c5e | 63 | py | Python | tudatpy/util/__init__.py | gitter-badger/tudatpy | f5faef4ecfe8667cb9c989dd839185eeed5f9662 | [
"BSD-3-Clause"
] | null | null | null | tudatpy/util/__init__.py | gitter-badger/tudatpy | f5faef4ecfe8667cb9c989dd839185eeed5f9662 | [
"BSD-3-Clause"
] | null | null | null | tudatpy/util/__init__.py | gitter-badger/tudatpy | f5faef4ecfe8667cb9c989dd839185eeed5f9662 | [
"BSD-3-Clause"
] | null | null | null | from ._support import result2array
__all__ = ["result2array"]
| 15.75 | 34 | 0.777778 | 6 | 63 | 7.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.126984 | 63 | 3 | 35 | 21 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
79c871d4504b03441658964cc01bad2fdd604c02 | 94 | py | Python | subtraction/subtraction.py | FathimaMahabub/git-exercise-3 | 8445b1978396fbe1341b75129fc9f666a006709f | [
"MIT"
] | null | null | null | subtraction/subtraction.py | FathimaMahabub/git-exercise-3 | 8445b1978396fbe1341b75129fc9f666a006709f | [
"MIT"
] | 1 | 2021-04-19T14:34:29.000Z | 2021-04-19T14:34:29.000Z | subtraction/subtraction.py | FathimaMahabub/git-exercise-3 | 8445b1978396fbe1341b75129fc9f666a006709f | [
"MIT"
] | 2 | 2021-04-19T10:10:55.000Z | 2021-04-19T11:43:59.000Z | def doSubtraction:
a=10
b=5
print(a-b)
doSubtraction()#subtraction of two numbers
| 15.666667 | 42 | 0.680851 | 14 | 94 | 4.571429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.223404 | 94 | 5 | 43 | 18.8 | 0.835616 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
79d111ad7232235c11bc444e78f1cb2e5b2e03ed | 1,117 | py | Python | ems_admin/services.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 36 | 2019-11-26T11:46:32.000Z | 2022-02-17T13:18:18.000Z | ems_admin/services.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 13 | 2020-02-14T09:30:16.000Z | 2022-03-12T00:58:09.000Z | ems_admin/services.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 16 | 2019-06-14T12:11:29.000Z | 2022-02-14T15:16:07.000Z | from ems_admin.models import EMSPermission
def create_default_permissions(user):
EMSPermission.objects.create(
user=user,
name="Employees",
)
EMSPermission.objects.create(
user=user,
name="Organisation",
)
EMSPermission.objects.create(
user=user,
... | 18.016129 | 57 | 0.586392 | 98 | 1,117 | 6.653061 | 0.27551 | 0.368098 | 0.43865 | 0.506135 | 0.656442 | 0.656442 | 0.131902 | 0 | 0 | 0 | 0 | 0 | 0.306177 | 1,117 | 61 | 58 | 18.311475 | 0.84129 | 0 | 0 | 0.5 | 0 | 0 | 0.094897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.020833 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8dab892e06cdec29552f86c36d71f58b48cfca75 | 455 | py | Python | leetcode/editor/cn/MaximumNumberOfBalloons.py | huangge1199/leet-code-python | 5d01bbb6f12a495ea7ea0a90b5b3b4aa92bcc2f7 | [
"Apache-2.0"
] | 1 | 2022-02-12T13:55:41.000Z | 2022-02-12T13:55:41.000Z | leetcode/editor/cn/MaximumNumberOfBalloons.py | huangge1199/leet-code-python | 5d01bbb6f12a495ea7ea0a90b5b3b4aa92bcc2f7 | [
"Apache-2.0"
] | null | null | null | leetcode/editor/cn/MaximumNumberOfBalloons.py | huangge1199/leet-code-python | 5d01bbb6f12a495ea7ea0a90b5b3b4aa92bcc2f7 | [
"Apache-2.0"
] | null | null | null | # 1189:“气球” 的最大数量
# leetcode submit region begin(Prohibit modification and deletion)
from collections import Counter
class Solution:
def maxNumberOfBalloons(self, text: str) -> int:
return min(cnts[ch] // 2 if ch in "lo" else cnts[ch] for ch in "balon") if (cnts := Counter(text)) else 0
if __name__ == "... | 32.5 | 113 | 0.723077 | 61 | 455 | 5.262295 | 0.639344 | 0.087227 | 0.124611 | 0.193146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.169231 | 455 | 13 | 114 | 35 | 0.833333 | 0.314286 | 0 | 0 | 0 | 0 | 0.064935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8db7d89127dfca2d3a07e8ab3ea8dc19d65eb770 | 161 | py | Python | sample/create_user.py | austingarrigus/rubrik-sdk-for-python | 4a9c7f2239282681af951d918d8e9530c65ec1dd | [
"MIT"
] | 4 | 2018-09-06T23:34:32.000Z | 2018-10-08T15:04:22.000Z | sample/create_user.py | austingarrigus/rubrik-sdk-for-python | 4a9c7f2239282681af951d918d8e9530c65ec1dd | [
"MIT"
] | 1 | 2018-09-05T22:20:12.000Z | 2018-09-06T04:57:23.000Z | sample/create_user.py | austingarrigus/rubrik-sdk-for-python | 4a9c7f2239282681af951d918d8e9530c65ec1dd | [
"MIT"
] | 3 | 2018-10-01T14:49:47.000Z | 2018-10-03T15:41:12.000Z | import rubrik_cdm
rubrik = rubrik_cdm.Connect()
username = "python-sdk-user"
password = "RubrikPythonSDK"
create_user = rubrik.create_user(username, password)
| 20.125 | 52 | 0.78882 | 20 | 161 | 6.15 | 0.55 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10559 | 161 | 7 | 53 | 23 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0.186335 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8dc7f2791967b956cf059b04dc5ec27f2b4a47a8 | 5,171 | py | Python | model/metric.py | Neronjust2017/pytorch-regression-project | 28ff39b829837b68a42f0e6dd5324a40eac05343 | [
"MIT"
] | 1 | 2020-07-07T12:28:59.000Z | 2020-07-07T12:28:59.000Z | model/metric.py | Neronjust2017/pytorch-regression-project | 28ff39b829837b68a42f0e6dd5324a40eac05343 | [
"MIT"
] | null | null | null | model/metric.py | Neronjust2017/pytorch-regression-project | 28ff39b829837b68a42f0e6dd5324a40eac05343 | [
"MIT"
] | null | null | null | import torch
import torch.nn.functional as F
import numpy as np
def accuracy(output, target):
with torch.no_grad():
pred = torch.argmax(output, dim=1)
assert pred.shape[0] == len(target)
correct = 0
correct += torch.sum(pred == target).item()
return correct / len(target)
def to... | 34.019737 | 69 | 0.600851 | 794 | 5,171 | 3.784635 | 0.104534 | 0.10782 | 0.127787 | 0.099834 | 0.828286 | 0.793677 | 0.700499 | 0.657571 | 0.637604 | 0.583694 | 0 | 0.018641 | 0.2427 | 5,171 | 152 | 70 | 34.019737 | 0.748723 | 0.040224 | 0 | 0.531746 | 0 | 0 | 0.029056 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 1 | 0.134921 | false | 0 | 0.02381 | 0.071429 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.