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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b7857d8d36f71e59b29e67f8dc6f21cdb975e7fe | 12,099 | py | Python | HVQE.py | Zuricho/kagome_HVQE | bbcb591ac30e81a7b60ce1d2d6c67d92fa25a899 | [
"Apache-2.0"
] | null | null | null | HVQE.py | Zuricho/kagome_HVQE | bbcb591ac30e81a7b60ce1d2d6c67d92fa25a899 | [
"Apache-2.0"
] | null | null | null | HVQE.py | Zuricho/kagome_HVQE | bbcb591ac30e81a7b60ce1d2d6c67d92fa25a899 | [
"Apache-2.0"
] | null | null | null | import qem
import _HVQE
from time import time
import os,sys,pickle
import chainer as ch
import numpy as np
from datetime import datetime
usage = """
Usage:
python HVQE.py [job_name] [job_type] [parameters]
job_name: kagome_open, kagome_periodic, triangular, test
job_type: classical, ground_state, 1_excite_state ... [... | 38.903537 | 180 | 0.706009 | 1,953 | 12,099 | 4.12596 | 0.126472 | 0.072971 | 0.017374 | 0.028295 | 0.847977 | 0.83172 | 0.819558 | 0.808017 | 0.797592 | 0.797592 | 0 | 0.006308 | 0.187619 | 12,099 | 310 | 181 | 39.029032 | 0.813511 | 0.244566 | 0 | 0.747706 | 0 | 0 | 0.134376 | 0.010794 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.022936 | 0.059633 | 0 | 0.077982 | 0.059633 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b7873e0f63f935e572e3df8eb9b8ee113244061a | 90,105 | py | Python | BluePlug/api.py | liufeng3486/BluePlug | c7c5c769ed35c71ebc542d34848d6bf309abd051 | [
"MIT"
] | 1 | 2019-01-27T04:08:05.000Z | 2019-01-27T04:08:05.000Z | BluePlug/api.py | liufeng3486/BluePlug | c7c5c769ed35c71ebc542d34848d6bf309abd051 | [
"MIT"
] | 5 | 2021-03-18T21:35:20.000Z | 2022-01-13T00:58:18.000Z | BluePlug/api.py | liufeng3486/BluePlug | c7c5c769ed35c71ebc542d34848d6bf309abd051 | [
"MIT"
] | null | null | null | # 学习制作网易云音乐客户端。
# 此文件实现登陆查询等一系列功能。
__author__ = 'weiy'
"""
4.10日。
"""
import urllib.parse
import requests
import hashlib
import json
def shotlist(lst):
"""列表去重。"""
temp1 = sorted(list(set(lst)))
return temp1
class WebApi:
"""一些功能。"""
default_timeout = 10
headers = {
'Accept': '*/*',
... | 24.189262 | 141 | 0.534776 | 8,806 | 90,105 | 5.445378 | 0.103679 | 0.036203 | 0.049779 | 0.045003 | 0.807057 | 0.791396 | 0.766329 | 0.753399 | 0.718886 | 0.64917 | 0 | 0.195984 | 0.246734 | 90,105 | 3,724 | 142 | 24.195757 | 0.510498 | 0.006914 | 0 | 0.793395 | 0 | 0.05131 | 0.961767 | 0.003332 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003002 | false | 0.000546 | 0.001365 | 0.000273 | 0.008461 | 0.000273 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b7c3b3147fb781ff09d22d81228c23fe94669d14 | 51,688 | py | Python | sdk/python/pulumi_mongodbatlas/network_peering.py | pulumi/pulumi-mongodbatlas | 0d5c085dcfd871b56fb4cf582620260b70caa07a | [
"ECL-2.0",
"Apache-2.0"
] | 9 | 2020-04-28T19:12:30.000Z | 2022-03-22T23:04:46.000Z | sdk/python/pulumi_mongodbatlas/network_peering.py | pulumi/pulumi-mongodbatlas | 0d5c085dcfd871b56fb4cf582620260b70caa07a | [
"ECL-2.0",
"Apache-2.0"
] | 59 | 2020-06-12T12:12:52.000Z | 2022-03-28T18:14:50.000Z | sdk/python/pulumi_mongodbatlas/network_peering.py | pulumi/pulumi-mongodbatlas | 0d5c085dcfd871b56fb4cf582620260b70caa07a | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-09-25T21:22:08.000Z | 2021-08-30T20:06:18.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 48.670433 | 343 | 0.667312 | 6,601 | 51,688 | 4.965611 | 0.038782 | 0.083898 | 0.105925 | 0.112087 | 0.933645 | 0.915401 | 0.910489 | 0.89618 | 0.88596 | 0.858198 | 0 | 0.001782 | 0.22926 | 51,688 | 1,061 | 344 | 48.716305 | 0.821 | 0.317965 | 0 | 0.769697 | 1 | 0 | 0.115229 | 0.013129 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168182 | false | 0.001515 | 0.007576 | 0.012121 | 0.278788 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b7c49fa44df9cceeab88ef2118bcbbcb677be6a2 | 4,958 | py | Python | tests/meme_test/filters_test.py | tomking/UMass-STEM-Discord-Bot | 5d8230dd167d18138f77794f97790f492ac81e8c | [
"MIT"
] | 5 | 2019-03-27T02:29:18.000Z | 2020-11-07T23:35:43.000Z | tests/meme_test/filters_test.py | tomking/UMass-STEM-Discord-Bot | 5d8230dd167d18138f77794f97790f492ac81e8c | [
"MIT"
] | 45 | 2019-04-10T04:27:31.000Z | 2022-03-11T23:41:59.000Z | tests/meme_test/filters_test.py | tomking/UMass-STEM-Discord-Bot | 5d8230dd167d18138f77794f97790f492ac81e8c | [
"MIT"
] | 8 | 2019-03-27T03:46:54.000Z | 2021-08-16T17:03:28.000Z | import os
import os.path
import glob
import overlay
import filters
from pathlib import Path
from matplotlib.testing.compare import compare_images
base='filters'
tdir = os.path.join('tests','test_images',base)
refd = os.path.join('tests','reference_images',base)
TOLERANCE = 11.0
def test_intensify():
fname = bas... | 28.65896 | 133 | 0.678701 | 644 | 4,958 | 5.141304 | 0.111801 | 0.056176 | 0.048324 | 0.029598 | 0.841136 | 0.841136 | 0.841136 | 0.841136 | 0.841136 | 0.841136 | 0 | 0.064037 | 0.171642 | 4,958 | 173 | 134 | 28.65896 | 0.742148 | 0 | 0 | 0.713115 | 0 | 0 | 0.192378 | 0 | 0 | 0 | 0 | 0 | 0.057377 | 1 | 0.057377 | false | 0 | 0.057377 | 0 | 0.114754 | 0.172131 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b7d37778ecc500021d583c18f58afde0ead6510a | 12,173 | py | Python | tests/types/test_arguments.py | joelryan2k/strawberry | 10af5aaf7265b1a3231654650149a5c25b8a836d | [
"MIT"
] | null | null | null | tests/types/test_arguments.py | joelryan2k/strawberry | 10af5aaf7265b1a3231654650149a5c25b8a836d | [
"MIT"
] | null | null | null | tests/types/test_arguments.py | joelryan2k/strawberry | 10af5aaf7265b1a3231654650149a5c25b8a836d | [
"MIT"
] | null | null | null | import sys
from typing import List, Optional
import pytest
from typing_extensions import Annotated
import strawberry
from strawberry.arguments import UNSET
from strawberry.exceptions import MultipleStrawberryArgumentsError
def test_basic_arguments():
@strawberry.type
class Query:
@strawberry.field
... | 29.762836 | 87 | 0.676661 | 1,437 | 12,173 | 5.623521 | 0.068198 | 0.146517 | 0.140948 | 0.215567 | 0.862022 | 0.848781 | 0.824155 | 0.786041 | 0.755723 | 0.753372 | 0 | 0.018573 | 0.21712 | 12,173 | 408 | 88 | 29.835784 | 0.829381 | 0.012651 | 0 | 0.725086 | 0 | 0 | 0.055643 | 0.001833 | 0 | 0 | 0 | 0 | 0.388316 | 1 | 0.106529 | false | 0.006873 | 0.027491 | 0.054983 | 0.281787 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4d2b388ba8f768ed9d9319d18fd12a4bdb5f7b94 | 5,609 | py | Python | src/python/conway_tests.py | eweill/ConwayGameOfLife | c3cda523364dac03a0f111bc1fac6cfe0b604a2f | [
"MIT"
] | null | null | null | src/python/conway_tests.py | eweill/ConwayGameOfLife | c3cda523364dac03a0f111bc1fac6cfe0b604a2f | [
"MIT"
] | null | null | null | src/python/conway_tests.py | eweill/ConwayGameOfLife | c3cda523364dac03a0f111bc1fac6cfe0b604a2f | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
from random import randint
from copy import deepcopy
import numpy as np
import unittest, sys
import math
from GoLquadtree import GoLNode, GoLQuadTree
from conway import ConwayGOLGrid, ConwayGOLCell
import os, psutil, gc
from datetime import datetime
def memory_usage_psutil():
"""
Retu... | 24.281385 | 119 | 0.694776 | 829 | 5,609 | 4.501809 | 0.171291 | 0.060021 | 0.03537 | 0.057878 | 0.825831 | 0.825831 | 0.825831 | 0.825831 | 0.825831 | 0.825831 | 0 | 0.019182 | 0.163487 | 5,609 | 230 | 120 | 24.386957 | 0.776215 | 0.0312 | 0 | 0.788321 | 0 | 0 | 0.118153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.072993 | null | null | 0.014599 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4d2b817df1ab461f57db4c44477f7a7ebb3348b8 | 49 | py | Python | src/tesseract_baker/ui/__init__.py | starofrainnight/tesseract_baker | 1f4d2f63784fe044ce09b7f6ba83583984c59ba1 | [
"MIT"
] | null | null | null | src/tesseract_baker/ui/__init__.py | starofrainnight/tesseract_baker | 1f4d2f63784fe044ce09b7f6ba83583984c59ba1 | [
"MIT"
] | null | null | null | src/tesseract_baker/ui/__init__.py | starofrainnight/tesseract_baker | 1f4d2f63784fe044ce09b7f6ba83583984c59ba1 | [
"MIT"
] | null | null | null | import rabird.pyside
rabird.pyside.import_uis()
| 12.25 | 26 | 0.816327 | 7 | 49 | 5.571429 | 0.571429 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 3 | 27 | 16.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4d6fbeabf6207b7ab2d8c6a99b3b8906ccdb2482 | 36,162 | py | Python | clients/python/lakefs_client/api/branches_api.py | NNstorm/lakeFS | 8d8c179cb442290a7ca5020dcf7e95e41301bcf8 | [
"Apache-2.0"
] | 1 | 2021-09-09T16:21:14.000Z | 2021-09-09T16:21:14.000Z | clients/python/lakefs_client/api/branches_api.py | NNstorm/lakeFS | 8d8c179cb442290a7ca5020dcf7e95e41301bcf8 | [
"Apache-2.0"
] | null | null | null | clients/python/lakefs_client/api/branches_api.py | NNstorm/lakeFS | 8d8c179cb442290a7ca5020dcf7e95e41301bcf8 | [
"Apache-2.0"
] | null | null | null | """
lakeFS API
lakeFS HTTP API # noqa: E501
The version of the OpenAPI document: 0.1.0
Contact: services@treeverse.io
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint
from lak... | 35.348974 | 122 | 0.436453 | 2,852 | 36,162 | 5.302595 | 0.073983 | 0.029756 | 0.024069 | 0.024995 | 0.862064 | 0.838392 | 0.834491 | 0.821662 | 0.815579 | 0.794419 | 0 | 0.003132 | 0.479066 | 36,162 | 1,022 | 123 | 35.383562 | 0.79966 | 0.295642 | 0 | 0.699438 | 1 | 0 | 0.22149 | 0.0335 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011236 | false | 0 | 0.015449 | 0 | 0.037921 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4db3f2f9b75b2e7d6ddca301f177e334d05db430 | 52,637 | py | Python | app/productdb/tests/test_productdb_views.py | thomascrha/product-database | f561d05850898ce8e3466c79ba664bd576b1fa8c | [
"MIT"
] | null | null | null | app/productdb/tests/test_productdb_views.py | thomascrha/product-database | f561d05850898ce8e3466c79ba664bd576b1fa8c | [
"MIT"
] | null | null | null | app/productdb/tests/test_productdb_views.py | thomascrha/product-database | f561d05850898ce8e3466c79ba664bd576b1fa8c | [
"MIT"
] | null | null | null | """
Test suite for the productdb.views module
"""
import datetime
import pytest
from django.contrib.messages.storage.fallback import FallbackStorage
from django.contrib.auth.models import AnonymousUser, Permission
from django.core.exceptions import PermissionDenied
from django.core.files.uploadedfile import SimpleUploa... | 41.577409 | 117 | 0.671638 | 6,231 | 52,637 | 5.494624 | 0.045258 | 0.028011 | 0.034758 | 0.042206 | 0.924176 | 0.911675 | 0.898239 | 0.88159 | 0.865409 | 0.859947 | 0 | 0.009866 | 0.220092 | 52,637 | 1,265 | 118 | 41.610277 | 0.824126 | 0.028915 | 0 | 0.846075 | 0 | 0 | 0.186311 | 0.050298 | 0 | 0 | 0 | 0 | 0.14577 | 1 | 0.087666 | false | 0.001019 | 0.068298 | 0 | 0.195719 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4db7dda9b9752ef9825452911532282a4f913e90 | 248 | py | Python | guillotina/contrib/templates/interfaces.py | rboixaderg/guillotina | fcae65c2185222272f3b8fee4bc2754e81e0e983 | [
"BSD-2-Clause"
] | 173 | 2017-03-10T18:26:12.000Z | 2022-03-03T06:48:56.000Z | guillotina/contrib/templates/interfaces.py | rboixaderg/guillotina | fcae65c2185222272f3b8fee4bc2754e81e0e983 | [
"BSD-2-Clause"
] | 921 | 2017-03-08T14:04:43.000Z | 2022-03-30T10:28:56.000Z | guillotina/contrib/templates/interfaces.py | rboixaderg/guillotina | fcae65c2185222272f3b8fee4bc2754e81e0e983 | [
"BSD-2-Clause"
] | 60 | 2017-03-16T19:59:44.000Z | 2022-03-03T06:48:59.000Z | from guillotina import schema
from guillotina.interfaces import IAsyncUtility
from guillotina.interfaces import IItem
class IJinjaUtility(IAsyncUtility):
pass
class IJinjaTemplate(IItem):
template = schema.Text(title="Jinja Template")
| 19.076923 | 50 | 0.802419 | 27 | 248 | 7.37037 | 0.555556 | 0.211055 | 0.241206 | 0.301508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137097 | 248 | 12 | 51 | 20.666667 | 0.929907 | 0 | 0 | 0 | 0 | 0 | 0.056452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.428571 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
1286f773bcdd2b5df1260a6360ccc13b57be663f | 96,459 | py | Python | act_dictionary.py | vikhil0609/quickcompanyGrobid | 7b9e214cd0cb01c16cf82c6620792b52f6935031 | [
"Apache-2.0"
] | null | null | null | act_dictionary.py | vikhil0609/quickcompanyGrobid | 7b9e214cd0cb01c16cf82c6620792b52f6935031 | [
"Apache-2.0"
] | null | null | null | act_dictionary.py | vikhil0609/quickcompanyGrobid | 7b9e214cd0cb01c16cf82c6620792b52f6935031 | [
"Apache-2.0"
] | null | null | null | act_dic={"The Constitution of India": 'the-constitution-of-india', 'THE PUNJAB LAND REVENUE ACT, 1967': 'the-punjab-land-revenue-act-1967', 'THE SICK INDUSTRIAL COMPANIES (SPECIAL PROVISIONS) ACT, 1985': 'the-sick-industrial-companies-special-provisions-act-1985', 'The Trade and Merchandise Marks Act, 1958': 'the-trade... | 19,291.8 | 96,280 | 0.781037 | 13,970 | 96,459 | 5.39277 | 0.103364 | 0.010393 | 0.005708 | 0.008601 | 0.983607 | 0.952281 | 0.852795 | 0.707421 | 0.575096 | 0.452805 | 0 | 0.083363 | 0.080853 | 96,459 | 5 | 96,281 | 19,291.8 | 0.766366 | 0 | 0 | 0 | 0 | 28.4 | 0.924145 | 0.450446 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 11 |
128751db3dd68f6312a11c3f75d0bae8f657edcc | 1,950 | py | Python | rgkit/maps/afffsdd/hourglass.py | outkine/rgkit | eb5d80c0d1815cc016bf7c584310120991760cc8 | [
"Unlicense"
] | 1 | 2021-11-04T22:19:59.000Z | 2021-11-04T22:19:59.000Z | rgkit/maps/afffsdd/hourglass.py | outkine/rgkit | eb5d80c0d1815cc016bf7c584310120991760cc8 | [
"Unlicense"
] | null | null | null | rgkit/maps/afffsdd/hourglass.py | outkine/rgkit | eb5d80c0d1815cc016bf7c584310120991760cc8 | [
"Unlicense"
] | 2 | 2021-02-16T09:37:47.000Z | 2021-11-04T22:30:51.000Z | # Map by afffsdd
# A hourglass shaped map, with a chokepoint at the center.
# flake8: noqa
# TODO: Format this file.
{'spawn': [(1, 1), (3, 1), (5, 1), (7, 1), (9, 1), (11, 1), (13, 1), (15, 1), (17, 1), (1, 17), (3, 17), (5, 17), (7, 17), (9, 17), (11, 17), (13, 17), (15, 17), (17, 17)], 'obstacle': [(0, 0), (1, 0), (... | 325 | 1,832 | 0.355385 | 425 | 1,950 | 1.630588 | 0.089412 | 0.005772 | 0.008658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.391847 | 0.22 | 1,950 | 5 | 1,833 | 390 | 0.063774 | 0.055385 | 0 | 0 | 0 | 0 | 0.007077 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
129bdf559e804ceefb17abc73d8257d4baac265e | 1,517 | py | Python | test/rplugin/python3/deoplete/test_matcher_full_fuzzy.py | kazufusa/deoplete.nvim | e61b8faee0b07f837f9009d780cbc3c2caaef76a | [
"MIT"
] | 10 | 2020-07-21T21:59:54.000Z | 2021-07-19T11:01:47.000Z | test/rplugin/python3/deoplete/test_matcher_full_fuzzy.py | kazufusa/deoplete.nvim | e61b8faee0b07f837f9009d780cbc3c2caaef76a | [
"MIT"
] | 4 | 2017-04-15T17:45:36.000Z | 2017-11-20T16:27:17.000Z | test/rplugin/python3/deoplete/test_matcher_full_fuzzy.py | kazufusa/deoplete.nvim | e61b8faee0b07f837f9009d780cbc3c2caaef76a | [
"MIT"
] | 1 | 2021-01-30T18:17:01.000Z | 2021-01-30T18:17:01.000Z | from deoplete.filter.matcher_full_fuzzy import Filter
from test_matcher_fuzzy import _ctx
def test_matcher_full_fuzzy():
f = Filter(None)
assert f.name == 'matcher_full_fuzzy'
assert f.description == 'full fuzzy matcher'
ctx = _ctx('')
assert f.filter(ctx) == [
{ 'word': 'foobar' },
... | 25.283333 | 57 | 0.45089 | 136 | 1,517 | 4.919118 | 0.161765 | 0.224215 | 0.313901 | 0.470852 | 0.736921 | 0.736921 | 0.736921 | 0.736921 | 0.736921 | 0.736921 | 0 | 0 | 0.334212 | 1,517 | 59 | 58 | 25.711864 | 0.662376 | 0 | 0 | 0.686275 | 0 | 0 | 0.241925 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 1 | 0.019608 | false | 0 | 0.039216 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
12ae0d207d48a2d5cd27a73a98a36bf4de1383f4 | 999,997 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_manageability_perfmgmt_cfg.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 177 | 2016-03-15T17:03:51.000Z | 2022-03-18T16:48:44.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_manageability_perfmgmt_cfg.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2016-03-30T10:45:22.000Z | 2020-07-14T16:28:13.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_manageability_perfmgmt_cfg.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 85 | 2016-03-16T20:38:57.000Z | 2022-02-22T04:26:02.000Z | """ Cisco_IOS_XR_manageability_perfmgmt_cfg
This module contains a collection of YANG definitions
for Cisco IOS\-XR manageability\-perfmgmt package configuration.
This module contains definitions
for the following management objects\:
perf\-mgmt\: Performance Management configuration & operations
Copyright (c) 20... | 52.208259 | 3,346 | 0.477024 | 78,639 | 999,997 | 5.755948 | 0.006409 | 0.036797 | 0.045997 | 0.056555 | 0.970217 | 0.955506 | 0.919592 | 0.891241 | 0.876412 | 0.867582 | 0 | 0.013252 | 0.433507 | 999,997 | 19,153 | 3,347 | 52.210985 | 0.785776 | 0.205297 | 0 | 0.816833 | 0 | 0.012636 | 0.172133 | 0.089458 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090077 | false | 0 | 0.031069 | 0 | 0.182935 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
12d796a49ed281bcd90924db24a6676777afabb5 | 12,937 | py | Python | seating_charts/migrations/0001_initial.py | rectory-school/rectory-apps | 184021529ac9cadc3b7c0fbf93a023c82fc76b91 | [
"MIT"
] | null | null | null | seating_charts/migrations/0001_initial.py | rectory-school/rectory-apps | 184021529ac9cadc3b7c0fbf93a023c82fc76b91 | [
"MIT"
] | 5 | 2020-06-05T17:33:12.000Z | 2021-06-10T19:04:41.000Z | seating_charts/migrations/0001_initial.py | rectory-school/rectory-apps | 184021529ac9cadc3b7c0fbf93a023c82fc76b91 | [
"MIT"
] | 1 | 2016-02-08T15:53:28.000Z | 2016-02-08T15:53:28.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('academic... | 50.338521 | 182 | 0.576254 | 1,189 | 12,937 | 6.063078 | 0.105971 | 0.053267 | 0.039534 | 0.049938 | 0.84228 | 0.838951 | 0.789014 | 0.780968 | 0.766264 | 0.722846 | 0 | 0.005225 | 0.275102 | 12,937 | 256 | 183 | 50.535156 | 0.763489 | 0.001623 | 0 | 0.768 | 0 | 0 | 0.191343 | 0.045609 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016 | 0 | 0.028 | 0.008 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
12fd978d6b9af2d254295e45eea569132d410f9a | 36 | py | Python | testsuite/modulegraph-dir/diamond_a.py | xoviat/modulegraph2 | 766d00bdb40e5b2fe206b53a87b1bce3f9dc9c2a | [
"MIT"
] | 9 | 2020-03-22T14:48:01.000Z | 2021-05-30T12:18:12.000Z | testsuite/modulegraph-dir/diamond_a.py | xoviat/modulegraph2 | 766d00bdb40e5b2fe206b53a87b1bce3f9dc9c2a | [
"MIT"
] | 15 | 2020-01-06T10:02:32.000Z | 2021-05-28T12:22:44.000Z | testsuite/modulegraph-dir/diamond_a.py | ronaldoussoren/modulegraph2 | b6ab1766b0098651b51083235ff8a18a5639128b | [
"MIT"
] | 4 | 2020-05-10T18:51:41.000Z | 2021-04-07T14:03:12.000Z | import diamond_b1
import diamond_b2
| 12 | 17 | 0.888889 | 6 | 36 | 5 | 0.666667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.111111 | 36 | 2 | 18 | 18 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
423db493cb9ea2627eb1d757f32eae3afa8bada1 | 13,419 | py | Python | neoman/qt_resources.py | Yubico/yubikey-neo-manager-dpkg | e671c43020ec0c614bc140bfaf9b185d22a8a5d7 | [
"BSD-2-Clause"
] | 5 | 2015-05-14T16:26:26.000Z | 2021-11-16T21:26:38.000Z | neoman/qt_resources.py | DalavanCloud/yubikey-neo-manager-dpkg | e671c43020ec0c614bc140bfaf9b185d22a8a5d7 | [
"BSD-2-Clause"
] | 2 | 2015-01-30T10:30:41.000Z | 2015-04-16T09:31:38.000Z | neoman/qt_resources.py | DalavanCloud/yubikey-neo-manager-dpkg | e671c43020ec0c614bc140bfaf9b185d22a8a5d7 | [
"BSD-2-Clause"
] | 4 | 2015-05-14T16:26:30.000Z | 2021-11-16T21:26:28.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: Thu Nov 12 10:26:36 2015
# by: The Resource Compiler for PySide (Qt v4.8.4)
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore
qt_resource_data = "\x00\x00\x01\xcc\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x... | 609.954545 | 11,866 | 0.751174 | 2,988 | 13,419 | 3.359103 | 0.270415 | 0.108797 | 0.084288 | 0.039454 | 0.208728 | 0.189897 | 0.187606 | 0.185514 | 0.172562 | 0.166185 | 0 | 0.260305 | 0.007452 | 13,419 | 21 | 11,867 | 639 | 0.49328 | 0.013637 | 0 | 0 | 0 | 0.333333 | 0.972634 | 0.969761 | 0 | 0 | 0.000605 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
427515233b092e6e38d0dfa0c1214853088db505 | 9,605 | py | Python | CliHTTPClient.py | pkamleshkumar12/cli-http-client | e72c6c299b79d16c176537074dda5674f97fb651 | [
"Apache-2.0"
] | null | null | null | CliHTTPClient.py | pkamleshkumar12/cli-http-client | e72c6c299b79d16c176537074dda5674f97fb651 | [
"Apache-2.0"
] | null | null | null | CliHTTPClient.py | pkamleshkumar12/cli-http-client | e72c6c299b79d16c176537074dda5674f97fb651 | [
"Apache-2.0"
] | null | null | null | from cement import App
from cement import App, Controller, ex
from App.Configuration import Configuration
from cement.utils.misc import init_defaults
from App.services.RequestStrategy import RequestStrategyBySOAP, Context, RequestStrategyByREST
class Base(Controller):
class Meta:
label = 'base'
@ex(
... | 41.943231 | 112 | 0.510567 | 895 | 9,605 | 5.463687 | 0.106145 | 0.131697 | 0.154601 | 0.083027 | 0.849898 | 0.849898 | 0.803681 | 0.803681 | 0.803681 | 0.803681 | 0 | 0 | 0.342634 | 9,605 | 228 | 113 | 42.127193 | 0.774469 | 0 | 0 | 0.798122 | 0 | 0 | 0.254659 | 0.002186 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0 | 0.023474 | 0 | 0.056338 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
428b4ec38d713e539d5ca56a9888b52102f149f8 | 8,807 | py | Python | Python_BMP/paramchecks.py | TechnoTanuki/Python_BMP | d6f7e7a4b74f7d6e8761d618c156d37c97726038 | [
"MIT"
] | 3 | 2022-02-24T15:46:43.000Z | 2022-03-30T13:17:03.000Z | Python_BMP/paramchecks.py | TechnoTanuki/Python_BMP | d6f7e7a4b74f7d6e8761d618c156d37c97726038 | [
"MIT"
] | null | null | null | Python_BMP/paramchecks.py | TechnoTanuki/Python_BMP | d6f7e7a4b74f7d6e8761d618c156d37c97726038 | [
"MIT"
] | null | null | null | """
Function decorators for parameter check
-----------------------------------
| Copyright 2022 by Joel C. Alcarez |
| [joelalcarez1975@gmail.com] |
|-----------------------------------|
| We make absolutely no warranty |
| of any kind, expressed or implied |
|-----------------------------------|
| Contact... | 26.687879 | 56 | 0.512547 | 1,011 | 8,807 | 4.464886 | 0.129575 | 0.051174 | 0.042091 | 0.053168 | 0.833629 | 0.821887 | 0.821887 | 0.821001 | 0.789765 | 0.769606 | 0 | 0.036044 | 0.360509 | 8,807 | 329 | 57 | 26.768997 | 0.765447 | 0.354945 | 0 | 0.826667 | 0 | 0 | 0.047637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.026667 | 0 | 0.16 | 0.14 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
429e46c5bff23e15450505a9d317c242f6138008 | 227 | py | Python | scenes/stage/screen_infinite.py | TheLokin/Kabalayn | 2034364e03e8eca909df11dcc393d70edd18493b | [
"MIT"
] | null | null | null | scenes/stage/screen_infinite.py | TheLokin/Kabalayn | 2034364e03e8eca909df11dcc393d70edd18493b | [
"MIT"
] | null | null | null | scenes/stage/screen_infinite.py | TheLokin/Kabalayn | 2034364e03e8eca909df11dcc393d70edd18493b | [
"MIT"
] | null | null | null | from .screen_play import ScreenPlay
class ScreenInfinite(ScreenPlay):
def __init__(self, entities, balls, max_balls):
super().__init__(entities, balls, max_balls)
def check_score(self, scene):
pass | 28.375 | 52 | 0.700441 | 27 | 227 | 5.444444 | 0.666667 | 0.176871 | 0.217687 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207048 | 227 | 8 | 53 | 28.375 | 0.816667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
c44aace96f9352fe7554971c809c1b8cc94d6b80 | 207 | py | Python | clickable/virtualenv/__init__.py | lalmeras/clickable | 6182f8a106c202a9bb1e6d7142e2b5b4734c13f3 | [
"BSD-3-Clause"
] | null | null | null | clickable/virtualenv/__init__.py | lalmeras/clickable | 6182f8a106c202a9bb1e6d7142e2b5b4734c13f3 | [
"BSD-3-Clause"
] | 297 | 2017-09-29T23:51:42.000Z | 2021-08-31T09:27:17.000Z | clickable/virtualenv/__init__.py | lalmeras/clickable | 6182f8a106c202a9bb1e6d7142e2b5b4734c13f3 | [
"BSD-3-Clause"
] | null | null | null | from .virtualenv import _virtualenv
from .virtualenv import _pip_packages
def virtualenv(path_resolver, virtualenv):
_virtualenv(path_resolver, virtualenv)
_pip_packages(path_resolver, virtualenv)
| 25.875 | 44 | 0.821256 | 23 | 207 | 7 | 0.347826 | 0.223602 | 0.409938 | 0.397516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120773 | 207 | 7 | 45 | 29.571429 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
676432ef1a16ffed6b0d877369442d35b5572e7c | 115,891 | py | Python | napalm_yang/models/openconfig/network_instances/network_instance/policy_forwarding/policies/policy/rules/rule/ip/state/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 64 | 2016-10-20T15:47:18.000Z | 2021-11-11T11:57:32.000Z | napalm_yang/models/openconfig/network_instances/network_instance/policy_forwarding/policies/policy/rules/rule/ip/state/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 126 | 2016-10-05T10:36:14.000Z | 2019-05-15T08:43:23.000Z | napalm_yang/models/openconfig/network_instances/network_instance/policy_forwarding/policies/policy/rules/rule/ip/state/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 63 | 2016-11-07T15:23:08.000Z | 2021-09-22T14:41:16.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 50.4532 | 2,940 | 0.516347 | 12,162 | 115,891 | 4.733268 | 0.019487 | 0.065316 | 0.080047 | 0.093944 | 0.993486 | 0.989716 | 0.989716 | 0.989716 | 0.989716 | 0.989716 | 0 | 0.032534 | 0.339586 | 115,891 | 2,296 | 2,941 | 50.475174 | 0.719609 | 0.106988 | 0 | 0.863405 | 0 | 0.021407 | 0.379772 | 0.187841 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026504 | false | 0 | 0.007645 | 0 | 0.057594 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
678aee95d1011c3bec4c3c0b3d9de95e094df2a7 | 888 | py | Python | django_exporter/views.py | shashisp/django-exporter | 9f2e7ab2ee51d4dc78f06fd5e5645bb5a6ee75eb | [
"MIT"
] | null | null | null | django_exporter/views.py | shashisp/django-exporter | 9f2e7ab2ee51d4dc78f06fd5e5645bb5a6ee75eb | [
"MIT"
] | null | null | null | django_exporter/views.py | shashisp/django-exporter | 9f2e7ab2ee51d4dc78f06fd5e5645bb5a6ee75eb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.views.generic import (
CreateView,
DeleteView,
DetailView,
UpdateView,
ListView
)
from .models import (
Reusable django app to export large datasets.,
)
class Reusable django app to export large datasets.CreateView(CreateView):
model = Reusable django app... | 22.769231 | 74 | 0.75 | 113 | 888 | 5.893805 | 0.19469 | 0.231231 | 0.280781 | 0.313814 | 0.702703 | 0.702703 | 0.702703 | 0.702703 | 0.638138 | 0.638138 | 0 | 0.001393 | 0.191441 | 888 | 38 | 75 | 23.368421 | 0.926184 | 0.023649 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
67b13318b3f5d15c3234eda50ed0df242665ecd4 | 8,656 | py | Python | tests/test_create_accounts_free_trial_qtest.py | alexko371/Python-Selenium-AofL | 53a988fdfa06fae95a2f29fa677b46698336ef11 | [
"Apache-2.0"
] | null | null | null | tests/test_create_accounts_free_trial_qtest.py | alexko371/Python-Selenium-AofL | 53a988fdfa06fae95a2f29fa677b46698336ef11 | [
"Apache-2.0"
] | null | null | null | tests/test_create_accounts_free_trial_qtest.py | alexko371/Python-Selenium-AofL | 53a988fdfa06fae95a2f29fa677b46698336ef11 | [
"Apache-2.0"
] | null | null | null |
def test_create_free_trial_girl_and_boy(app):
app.sign_up.open_abcmouse_web_page("https://dk.qtest.abcmouse.com/abt/subscription") # Update URL QTEST!
app.sign_up.submit_and_confirm_email("ipad@dk.test") ##### Change Email Credentials!
app.sign_up.submit_and_confirm_password("test123")
app.payment_inf... | 60.957746 | 109 | 0.750347 | 1,212 | 8,656 | 5.023927 | 0.121287 | 0.11102 | 0.053211 | 0.022992 | 0.96469 | 0.961077 | 0.949581 | 0.94137 | 0.94137 | 0.94137 | 0 | 0.016704 | 0.114718 | 8,656 | 141 | 110 | 61.390071 | 0.777894 | 0.252657 | 0 | 0.717391 | 0 | 0 | 0.136335 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 1 | 0.043478 | false | 0.043478 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
67c1bd9258843a3a75955985045bf7fa451f74af | 3,024 | py | Python | tests/test_fio_bounds.py | jGaboardi/Fiona | d36e0c897c545e0e51fe759e540c85c117bf3fc1 | [
"BSD-3-Clause"
] | 778 | 2015-01-03T18:29:34.000Z | 2022-03-31T03:17:53.000Z | tests/test_fio_bounds.py | jGaboardi/Fiona | d36e0c897c545e0e51fe759e540c85c117bf3fc1 | [
"BSD-3-Clause"
] | 848 | 2015-01-07T17:16:10.000Z | 2022-03-27T23:14:58.000Z | tests/test_fio_bounds.py | jGaboardi/Fiona | d36e0c897c545e0e51fe759e540c85c117bf3fc1 | [
"BSD-3-Clause"
] | 195 | 2015-01-29T21:48:37.000Z | 2022-03-25T15:18:24.000Z | """Tests for `$ fio bounds`."""
import re
from fiona.fio import bounds
from fiona.fio.main import main_group
def test_fail(runner):
result = runner.invoke(main_group, ['bounds', ], '5')
assert result.exit_code == 1
def test_seq(feature_seq, runner):
result = runner.invoke(main_group, ['bounds', ], fe... | 36.878049 | 91 | 0.66832 | 413 | 3,024 | 4.72155 | 0.104116 | 0.166154 | 0.183077 | 0.135385 | 0.886667 | 0.882564 | 0.870769 | 0.832821 | 0.825641 | 0.750256 | 0 | 0.012451 | 0.150132 | 3,024 | 81 | 92 | 37.333333 | 0.746304 | 0.008267 | 0 | 0.490909 | 0 | 0 | 0.089876 | 0 | 0 | 0 | 0 | 0 | 0.509091 | 1 | 0.2 | false | 0 | 0.054545 | 0 | 0.254545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
67e4d6c6c1816724be48a2bf6e4a79a1bcd64db5 | 13,872 | py | Python | sdk/python/pulumi_akamai/app_sec_by_pass_network_list.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2021-01-21T15:22:12.000Z | 2021-08-25T14:15:29.000Z | sdk/python/pulumi_akamai/app_sec_by_pass_network_list.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"ECL-2.0",
"Apache-2.0"
] | 59 | 2020-08-13T14:39:36.000Z | 2022-03-31T15:19:48.000Z | sdk/python/pulumi_akamai/app_sec_by_pass_network_list.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 46.24 | 231 | 0.680507 | 1,582 | 13,872 | 5.713654 | 0.123894 | 0.068149 | 0.089612 | 0.035955 | 0.792455 | 0.772762 | 0.762806 | 0.751521 | 0.735258 | 0.728399 | 0 | 0.000469 | 0.232122 | 13,872 | 299 | 232 | 46.394649 | 0.848104 | 0.391724 | 0 | 0.59589 | 1 | 0 | 0.120942 | 0.020288 | 0 | 0 | 0 | 0 | 0 | 1 | 0.150685 | false | 0.273973 | 0.034247 | 0 | 0.273973 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
db2c344703174ecd5338a33cda3c145653f3b605 | 10,714 | py | Python | backend/flourish/migrations/0001_initial.py | huanglianqi/ricite | df493314bcdc9c6cf184a334260c02bf0bbe1f0f | [
"MIT"
] | 3 | 2020-12-07T02:46:47.000Z | 2021-04-25T00:54:20.000Z | backend/flourish/migrations/0001_initial.py | huanglianqi/ricite | df493314bcdc9c6cf184a334260c02bf0bbe1f0f | [
"MIT"
] | 5 | 2021-03-19T03:53:43.000Z | 2022-01-27T16:12:58.000Z | backend/flourish/migrations/0001_initial.py | huanglianqi/ricite | df493314bcdc9c6cf184a334260c02bf0bbe1f0f | [
"MIT"
] | null | null | null | # Generated by Django 3.0.6 on 2020-08-20 07:21
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='FeedbackForm',
fields=[
... | 57.913514 | 157 | 0.594176 | 1,113 | 10,714 | 5.546271 | 0.101527 | 0.099627 | 0.077758 | 0.085534 | 0.842216 | 0.821319 | 0.765106 | 0.722177 | 0.722177 | 0.707274 | 0 | 0.017332 | 0.25686 | 10,714 | 184 | 158 | 58.228261 | 0.757975 | 0.0042 | 0 | 0.649718 | 1 | 0 | 0.135183 | 0.003937 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011299 | 0 | 0.033898 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e1d42fe05ca4a3d33e7a8b8ed0fd28d54acb7d1b | 8,875 | py | Python | drivers/eza2500/command0601.py | jinupygogo/apis-dcdc_batt_comm | 7fc4317df414d1b4a4efea271605a52d6aae950b | [
"Apache-2.0"
] | 3 | 2020-12-01T04:30:12.000Z | 2021-12-28T02:42:44.000Z | drivers/eza2500/command0601.py | jinupygogo/apis-dcdc_batt_comm | 7fc4317df414d1b4a4efea271605a52d6aae950b | [
"Apache-2.0"
] | null | null | null | drivers/eza2500/command0601.py | jinupygogo/apis-dcdc_batt_comm | 7fc4317df414d1b4a4efea271605a52d6aae950b | [
"Apache-2.0"
] | 2 | 2020-12-01T14:07:48.000Z | 2021-02-19T07:10:23.000Z | # -*- coding: utf-8 -*-
from struct import pack, unpack
import os
from essx import essx_debug
from essx.essx_exception import ESSXDeviceException, ESSXValueException, ESSXParameterException, ESSXException
from eza2500 import eza2500_base
from eza2500 import eza2500_util
class Command0601(eza2500_base.EZA2500CommandBa... | 33.490566 | 117 | 0.600901 | 1,214 | 8,875 | 4.11285 | 0.120264 | 0.077108 | 0.072101 | 0.054076 | 0.815141 | 0.741438 | 0.737833 | 0.720208 | 0.720208 | 0.720208 | 0 | 0.107249 | 0.23831 | 8,875 | 264 | 118 | 33.617424 | 0.631361 | 0.018366 | 0 | 0.774892 | 0 | 0 | 0.087792 | 0 | 0 | 0 | 0.003682 | 0 | 0 | 1 | 0.069264 | false | 0 | 0.047619 | 0.008658 | 0.203463 | 0.008658 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e1dfd65f88b6e83d1997ce80ba5a78895d3d3a27 | 2,323 | py | Python | tests/integration/operators_test/gt_lt_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 61 | 2020-07-06T17:11:46.000Z | 2022-03-12T14:42:51.000Z | tests/integration/operators_test/gt_lt_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 1 | 2021-02-25T01:30:29.000Z | 2021-11-09T11:13:14.000Z | tests/integration/operators_test/gt_lt_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 6 | 2020-07-15T12:33:13.000Z | 2021-11-07T06:55:00.000Z | # Copyright (c) 2019 Graphcore Ltd. All rights reserved.
import numpy as np
import popart
import torch
import pytest
from op_tester import op_tester
def test_greater(op_tester):
d1 = np.random.rand(2).astype(np.float32)
d2 = np.random.rand(2).astype(np.float32)
def init_builder(builder):
i1 = bui... | 25.527473 | 61 | 0.626345 | 316 | 2,323 | 4.503165 | 0.164557 | 0.056219 | 0.067463 | 0.073085 | 0.911455 | 0.911455 | 0.911455 | 0.911455 | 0.895994 | 0.895994 | 0 | 0.049255 | 0.248386 | 2,323 | 90 | 62 | 25.811111 | 0.76575 | 0.023246 | 0 | 0.861538 | 0 | 0 | 0.008822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.184615 | false | 0 | 0.076923 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c0459e14f4bb29676ef72a097f9fcd1fb9920615 | 8,727 | py | Python | backend/api/models.py | MimbleWimble-Grin/grin-testnet-deposit-withdraw | 7943f654b0a6d79d9a31c9719366e9df55d6816c | [
"MIT"
] | 6 | 2021-03-11T21:02:21.000Z | 2022-02-06T20:53:20.000Z | backend/api/models.py | pkariz/grin-testnet-exchange | b5c7a5b6322f60348e3b3db563183e2d6d2da234 | [
"MIT"
] | 1 | 2021-03-12T12:10:19.000Z | 2021-03-12T12:20:32.000Z | backend/api/models.py | MimbleWimble-Grin/grin-testnet-deposit-withdraw | 7943f654b0a6d79d9a31c9719366e9df55d6816c | [
"MIT"
] | 3 | 2021-03-12T16:42:03.000Z | 2021-04-19T07:11:33.000Z | from django.conf import settings
from django.contrib.auth.models import User
from django.core.validators import MinValueValidator, MaxValueValidator
from django.db import models, transaction
from guardian.shortcuts import assign_perm
from model_utils.models import TimeStampedModel
class Currency(TimeStampedModel):
... | 35.91358 | 81 | 0.611436 | 939 | 8,727 | 5.593184 | 0.182109 | 0.049505 | 0.043412 | 0.039414 | 0.82083 | 0.807121 | 0.802361 | 0.757997 | 0.757997 | 0.748477 | 0 | 0.010459 | 0.298843 | 8,727 | 242 | 82 | 36.061983 | 0.847851 | 0.189068 | 0 | 0.73913 | 0 | 0 | 0.095123 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048913 | false | 0 | 0.032609 | 0.021739 | 0.277174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c066cce923151c18c1f271885e4c9113464ebe9f | 15,004 | py | Python | data_generation/common_nlu/object_stories.py | ivanmkc/helpdesk-assistant | 0697d7e2d0dca77dc4c8043ec61e62350dbd4a8a | [
"Apache-2.0"
] | null | null | null | data_generation/common_nlu/object_stories.py | ivanmkc/helpdesk-assistant | 0697d7e2d0dca77dc4c8043ec61e62350dbd4a8a | [
"Apache-2.0"
] | null | null | null | data_generation/common_nlu/object_stories.py | ivanmkc/helpdesk-assistant | 0697d7e2d0dca77dc4c8043ec61e62350dbd4a8a | [
"Apache-2.0"
] | null | null | null | from rasa.shared.nlu.state_machine.state_machine_models import (
ActionName,
Intent,
)
from data_generation.common_nlu import common_intent_creators
from data_generation.models.story_models import (
SlotWasSet,
Story,
Or,
)
import actions.find_objects_action as find_objects_action
import actions.s... | 33.491071 | 122 | 0.492535 | 1,201 | 15,004 | 5.80433 | 0.079933 | 0.113757 | 0.098121 | 0.118778 | 0.871037 | 0.865873 | 0.853823 | 0.838761 | 0.836178 | 0.826998 | 0 | 0 | 0.432551 | 15,004 | 447 | 123 | 33.565996 | 0.818769 | 0.360637 | 0 | 0.712062 | 0 | 0 | 0.02745 | 0.008937 | 0 | 0 | 0 | 0.002237 | 0 | 1 | 0 | false | 0 | 0.023346 | 0 | 0.023346 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2219934cb267cd82f42b3f171d22dacc3b0b273a | 8,992 | py | Python | tests/test_detail.py | jwhitlock/drf-json-api | a62802432c612c34079f3c3694129f37778e2577 | [
"MIT"
] | null | null | null | tests/test_detail.py | jwhitlock/drf-json-api | a62802432c612c34079f3c3694129f37778e2577 | [
"MIT"
] | null | null | null | tests/test_detail.py | jwhitlock/drf-json-api | a62802432c612c34079f3c3694129f37778e2577 | [
"MIT"
] | null | null | null | from django.core.urlresolvers import reverse
from tests import models
from tests.utils import dump_json
import pytest
pytestmark = pytest.mark.django_db
def test_object(client):
models.Person.objects.create(name="test")
results = {
"people": {
"id": "1",
"href": "http://tests... | 27.667692 | 78 | 0.48254 | 815 | 8,992 | 5.196319 | 0.08589 | 0.070838 | 0.072255 | 0.076741 | 0.956789 | 0.956789 | 0.956789 | 0.956316 | 0.956316 | 0.944746 | 0 | 0.007467 | 0.359542 | 8,992 | 324 | 79 | 27.753086 | 0.727904 | 0 | 0 | 0.72242 | 0 | 0 | 0.259675 | 0.044039 | 0 | 0 | 0 | 0 | 0.032028 | 1 | 0.032028 | false | 0 | 0.014235 | 0 | 0.046263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3f2df71e846f49f8838708b3699f9abb647794b4 | 16,515 | py | Python | api_1.3/containerd/services/tasks/v1/tasks_pb2_grpc.py | Silvanoc/pycontainerd | 7245ce623d978f65cd8a4cf0d685a3318640a305 | [
"Apache-2.0"
] | null | null | null | api_1.3/containerd/services/tasks/v1/tasks_pb2_grpc.py | Silvanoc/pycontainerd | 7245ce623d978f65cd8a4cf0d685a3318640a305 | [
"Apache-2.0"
] | null | null | null | api_1.3/containerd/services/tasks/v1/tasks_pb2_grpc.py | Silvanoc/pycontainerd | 7245ce623d978f65cd8a4cf0d685a3318640a305 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from containerd.services.tasks.v1 import tasks_pb2 as containerd_dot_services_dot_tasks_dot_v1_dot_tasks__pb2
from containerd.vendor.google.protobuf import empty_pb2 as containerd_dot_vendor_dot_google_dot_protobuf_dot_empty__pb2
class... | 51.609375 | 127 | 0.786013 | 1,903 | 16,515 | 6.344193 | 0.062007 | 0.07289 | 0.095668 | 0.109335 | 0.891659 | 0.889174 | 0.889174 | 0.835666 | 0.769486 | 0.769486 | 0 | 0.010345 | 0.145444 | 16,515 | 319 | 128 | 51.77116 | 0.845107 | 0.064426 | 0 | 0.381132 | 1 | 0 | 0.106644 | 0.048906 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071698 | false | 0.056604 | 0.011321 | 0 | 0.090566 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
3f44969aab11d0e9d6b9a2432a9ac5fb0782e852 | 7,180 | py | Python | py_cf_new_py3/help_functions_py3.py | bopopescu/local_controller_3 | e5d98ab60e1ccac7e0310abc55e83b671d4a643c | [
"MIT"
] | null | null | null | py_cf_new_py3/help_functions_py3.py | bopopescu/local_controller_3 | e5d98ab60e1ccac7e0310abc55e83b671d4a643c | [
"MIT"
] | null | null | null | py_cf_new_py3/help_functions_py3.py | bopopescu/local_controller_3 | e5d98ab60e1ccac7e0310abc55e83b671d4a643c | [
"MIT"
] | null | null | null | class Help_Functions(object):
def __init__(self,cf):
self.cf = cf
#
# Return code functions
#
def terminate( self ):
self.cf.insert_link( "Terminate", [] )
def halt(self ):
self.cf.insert_link("Halt",[] )
def reset( self ):
self.cf.insert_link("Reset",[] )
def ch... | 36.820513 | 117 | 0.668106 | 983 | 7,180 | 4.560529 | 0.070193 | 0.107071 | 0.101718 | 0.135623 | 0.82824 | 0.80058 | 0.788758 | 0.757082 | 0.757082 | 0.713362 | 0 | 0.000844 | 0.17493 | 7,180 | 195 | 118 | 36.820513 | 0.755908 | 0.042897 | 0 | 0.195876 | 0 | 0 | 0.081053 | 0.012875 | 0 | 0 | 0 | 0 | 0.206186 | 1 | 0.402062 | false | 0.010309 | 0 | 0 | 0.412371 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3f51c84a12f3179deac7648df2f69daca2ca21f6 | 35,313 | py | Python | interactive_plot.py | dullemond/interactive_plot | 4d71087ba1d88bd53871e60abf633539fa22423c | [
"MIT"
] | 1 | 2020-11-27T13:43:26.000Z | 2020-11-27T13:43:26.000Z | interactive_plot.py | dullemond/interactive_plot | 4d71087ba1d88bd53871e60abf633539fa22423c | [
"MIT"
] | null | null | null | interactive_plot.py | dullemond/interactive_plot | 4d71087ba1d88bd53871e60abf633539fa22423c | [
"MIT"
] | 1 | 2020-08-03T11:37:24.000Z | 2020-08-03T11:37:24.000Z | #
# Interactive plotting tool
#
# Copyright (c) 2018 C.P. Dullemond
# Free software under the standard MIT License
#
import numpy as np
def interactive_plot(x, func, params, ymin=None, ymax=None, parnames=None, parunits=None, \
fig=None, ax=None, axmodel=None, parstart=None, iparstart=None, \... | 40.357714 | 251 | 0.558973 | 4,964 | 35,313 | 3.946414 | 0.080983 | 0.023992 | 0.020674 | 0.011026 | 0.822665 | 0.785911 | 0.760949 | 0.744359 | 0.725319 | 0.706636 | 0 | 0.028702 | 0.307394 | 35,313 | 874 | 252 | 40.40389 | 0.772263 | 0.416985 | 0 | 0.794816 | 0 | 0 | 0.028308 | 0 | 0 | 0 | 0 | 0 | 0.021598 | 1 | 0.045356 | false | 0 | 0.015119 | 0 | 0.079914 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3f706304b5a6553d1e58b67d2dda241c9a269937 | 1,665 | py | Python | test/test_logging.py | cuongnguyen2190/pure-python-adb | f8424f349cb7a72967690a9279f117799c16e8a0 | [
"MIT"
] | 382 | 2018-07-12T07:56:47.000Z | 2022-03-31T08:12:09.000Z | test/test_logging.py | cuongnguyen2190/pure-python-adb | f8424f349cb7a72967690a9279f117799c16e8a0 | [
"MIT"
] | 74 | 2018-10-10T15:23:24.000Z | 2022-03-31T00:27:10.000Z | test/test_logging.py | cuongnguyen2190/pure-python-adb | f8424f349cb7a72967690a9279f117799c16e8a0 | [
"MIT"
] | 84 | 2018-07-08T17:15:54.000Z | 2022-03-31T08:12:12.000Z | from ppadb.utils.logger import AdbLogging
import logging
def test_without_logging(capsys):
logger = AdbLogging.get_logger("ppadb.test")
logger.addHandler(logging.StreamHandler())
logger.info("INFO message")
captured = capsys.readouterr()
assert not captured.out
assert not captured.err
log... | 26.428571 | 65 | 0.723724 | 198 | 1,665 | 6.005051 | 0.166667 | 0.113541 | 0.214466 | 0.151388 | 0.884777 | 0.884777 | 0.884777 | 0.875526 | 0.875526 | 0.875526 | 0 | 0 | 0.180781 | 1,665 | 62 | 66 | 26.854839 | 0.871701 | 0 | 0 | 0.854167 | 0 | 0 | 0.093149 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.0625 | false | 0 | 0.041667 | 0 | 0.104167 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
58d68864bbac1804f10ff984858fa597f39c0409 | 164 | py | Python | test_botty/tests/__init__.py | ColumbiaSC-Tech/botty_mcbotface | f72fbc7e899650b40b0cf0197c9e6006a5224669 | [
"MIT"
] | 11 | 2017-09-16T21:00:52.000Z | 2020-10-08T19:58:09.000Z | test_botty/tests/__init__.py | ColumbiaSC-Tech/botty_mcbotface | f72fbc7e899650b40b0cf0197c9e6006a5224669 | [
"MIT"
] | 12 | 2018-10-30T23:52:34.000Z | 2021-12-13T19:46:21.000Z | test_botty/tests/__init__.py | ColumbiaSC-Tech/botty_mcbotface | f72fbc7e899650b40b0cf0197c9e6006a5224669 | [
"MIT"
] | 3 | 2017-09-15T13:22:37.000Z | 2019-08-01T11:42:14.000Z | from botty_mcbotface.task_runner import stop_task_runner
def tearDownModule():
"""called once, after everything else in this module"""
stop_task_runner()
| 23.428571 | 59 | 0.768293 | 22 | 164 | 5.454545 | 0.772727 | 0.25 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152439 | 164 | 6 | 60 | 27.333333 | 0.863309 | 0.29878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
58e71a4c4711c69542991ae7a9ce48c622b5ad8c | 56,960 | py | Python | WindFarmGenetic.py | JuXinglong/WFLOP_SUGGA_Python | 27ae25a40be7fe2258894a741013aa46e9d1e4b3 | [
"MIT"
] | 23 | 2019-12-21T04:14:11.000Z | 2021-10-18T13:42:34.000Z | WindFarmGenetic.py | candleinwindsteve/WFLOP_SUGGA_Python | f9b0d0739d3cebfe194605b5696ba012841e3231 | [
"MIT"
] | null | null | null | WindFarmGenetic.py | candleinwindsteve/WFLOP_SUGGA_Python | f9b0d0739d3cebfe194605b5696ba012841e3231 | [
"MIT"
] | 9 | 2019-07-20T17:52:35.000Z | 2021-10-18T13:42:50.000Z | import math
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.patches as patches
import time
from datetime import datetime
__version__ = "1.0.0"
class WindFarmGenetic:
elite_rate = 0.2 # elite rate: parameter for genetic algorithm
cross_rate = 0.6 # crossover rate: parameter fo... | 51.269127 | 161 | 0.55244 | 7,402 | 56,960 | 4.004323 | 0.043096 | 0.040823 | 0.023617 | 0.014676 | 0.860459 | 0.838023 | 0.823954 | 0.810999 | 0.807153 | 0.799359 | 0 | 0.019038 | 0.344329 | 56,960 | 1,110 | 162 | 51.315315 | 0.7746 | 0.099052 | 0 | 0.773481 | 0 | 0 | 0.020045 | 0.007994 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047514 | false | 0 | 0.00663 | 0.00221 | 0.132597 | 0.01547 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
58fc61a8acf089105edf2fb03443fb259136dc45 | 293 | py | Python | running_modes/configurations/reinforcement_learning/__init__.py | fujirock/Reinvent | 9c57636f9d32b4ce5b75670f43906a70d5daf886 | [
"MIT"
] | 4 | 2021-05-11T05:34:01.000Z | 2022-03-30T10:04:21.000Z | running_modes/configurations/reinforcement_learning/__init__.py | prasannavd/Reinvent | ca02ebee8d8ed83223c55f4a1dd1b3fbc2359616 | [
"MIT"
] | null | null | null | running_modes/configurations/reinforcement_learning/__init__.py | prasannavd/Reinvent | ca02ebee8d8ed83223c55f4a1dd1b3fbc2359616 | [
"MIT"
] | 2 | 2021-06-01T11:56:10.000Z | 2021-10-05T04:33:56.000Z | from running_modes.configurations.reinforcement_learning.inception_configuration import *
from running_modes.configurations.reinforcement_learning.reinforcement_learning_components import *
from running_modes.configurations.reinforcement_learning.reinforcement_learning_configuration import *
| 73.25 | 102 | 0.918089 | 29 | 293 | 8.896552 | 0.344828 | 0.406977 | 0.186047 | 0.348837 | 0.802326 | 0.802326 | 0.604651 | 0.604651 | 0.604651 | 0 | 0 | 0 | 0.040956 | 293 | 3 | 103 | 97.666667 | 0.918149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
18d27315cd409a25dd021e7f5764e06eba76b7cc | 110 | py | Python | pixelflow/transforms/functional/__init__.py | didriknielsen/pixelcnn_flow | 9030f6a66d5ff83d7d299541ed55b20b20bb9a15 | [
"MIT"
] | 25 | 2020-02-12T00:35:48.000Z | 2021-09-18T14:30:43.000Z | pixelflow/transforms/functional/__init__.py | didriknielsen/pixelcnn_flow | 9030f6a66d5ff83d7d299541ed55b20b20bb9a15 | [
"MIT"
] | 1 | 2021-08-05T10:00:04.000Z | 2021-08-10T11:11:16.000Z | pixelflow/transforms/functional/__init__.py | didriknielsen/pixelcnn_flow | 9030f6a66d5ff83d7d299541ed55b20b20bb9a15 | [
"MIT"
] | null | null | null | from .splines import *
from .cmol import *
from .cmol_multivariate import *
from .get_mixture_params import *
| 22 | 33 | 0.781818 | 15 | 110 | 5.533333 | 0.533333 | 0.361446 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 110 | 4 | 34 | 27.5 | 0.882979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
18e1e04e2aa587102a9dc5a54b943b01d1d97c3f | 131 | py | Python | software/python/autostep/autostep/__init__.py | hanhanhan-kim/autostep | 4072bcd47be7c25b48b0503198f031e98a4102be | [
"MIT"
] | 2 | 2020-01-07T02:59:54.000Z | 2021-06-23T06:07:42.000Z | software/python/autostep/autostep/__init__.py | hanhanhan-kim/autostep | 4072bcd47be7c25b48b0503198f031e98a4102be | [
"MIT"
] | 5 | 2020-07-16T03:28:34.000Z | 2021-05-07T01:11:18.000Z | software/python/autostep/autostep/__init__.py | hanhanhan-kim/autostep | 4072bcd47be7c25b48b0503198f031e98a4102be | [
"MIT"
] | 3 | 2019-05-26T02:49:29.000Z | 2020-12-29T05:50:07.000Z | from .autostep import Autostep
from .autostep import AutostepException
from .asynchronous_trajectory import AsynchronousTrajectory
| 32.75 | 59 | 0.885496 | 13 | 131 | 8.846154 | 0.538462 | 0.208696 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 131 | 3 | 60 | 43.666667 | 0.966387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e147d22f9dfa0b16a83fb133ab0d72a670aeecc2 | 235,179 | py | Python | bindings/python/ensmallen/datasets/kgobo.py | LucaCappelletti94/EnsmallenGraph | 572532b6d3f4352bf58f9ccca955376acd95fd89 | [
"MIT"
] | null | null | null | bindings/python/ensmallen/datasets/kgobo.py | LucaCappelletti94/EnsmallenGraph | 572532b6d3f4352bf58f9ccca955376acd95fd89 | [
"MIT"
] | null | null | null | bindings/python/ensmallen/datasets/kgobo.py | LucaCappelletti94/EnsmallenGraph | 572532b6d3f4352bf58f9ccca955376acd95fd89 | [
"MIT"
] | null | null | null | """Module providing graphs available from KGOBO.
References
----------
Please cite:
```bib
@misc{kgobo,
title = "KG-OBO",
year = "2021",
author = "{Reese, Justin and Caufield, Harry}",
howpublished = {\\url{https://github.com/Knowledge-Graph-Hub/kg-obo}},
note = {Online; accessed 14 Sep... | 35.222256 | 96 | 0.661585 | 30,458 | 235,179 | 4.875698 | 0.012673 | 0.031514 | 0.074846 | 0.070907 | 0.924595 | 0.917827 | 0.917827 | 0.914864 | 0.902865 | 0.878428 | 0 | 0.034882 | 0.248849 | 235,179 | 6,676 | 97 | 35.227531 | 0.805763 | 0.510343 | 0 | 0.74802 | 0 | 0 | 0.065852 | 0.000466 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090824 | false | 0 | 0.000932 | 0 | 0.18258 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e14abc0cc68bfeea08d4d311c1fc03ce94abb036 | 7,623 | py | Python | tests/compute/spatial/test_rotate_axis.py | pfackeldey/vector | 87e9e942f2a9ae09a3e250e12f37505eb22e25ea | [
"BSD-3-Clause"
] | 40 | 2020-03-26T13:28:36.000Z | 2022-03-23T22:14:35.000Z | tests/compute/spatial/test_rotate_axis.py | pfackeldey/vector | 87e9e942f2a9ae09a3e250e12f37505eb22e25ea | [
"BSD-3-Clause"
] | 66 | 2020-02-14T13:32:18.000Z | 2022-03-29T14:35:31.000Z | tests/compute/spatial/test_rotate_axis.py | pfackeldey/vector | 87e9e942f2a9ae09a3e250e12f37505eb22e25ea | [
"BSD-3-Clause"
] | 14 | 2020-01-29T22:03:33.000Z | 2022-03-16T02:46:25.000Z | # Copyright (c) 2019-2021, Jonas Eschle, Jim Pivarski, Eduardo Rodrigues, and Henry Schreiner.
#
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
# or https://github.com/scikit-hep/vector for details.
import numpy
import pytest
import vector._backends.numpy_
import vector._backends.object_
... | 36.649038 | 94 | 0.577988 | 774 | 7,623 | 5.568475 | 0.133075 | 0.116937 | 0.12529 | 0.068677 | 0.932715 | 0.885847 | 0.87007 | 0.869374 | 0.864501 | 0.832947 | 0 | 0.105504 | 0.282566 | 7,623 | 207 | 95 | 36.826087 | 0.682575 | 0.028729 | 0 | 0.793651 | 0 | 0 | 0.091093 | 0 | 0 | 0 | 0 | 0 | 0.243386 | 1 | 0.021164 | false | 0 | 0.021164 | 0 | 0.042328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e165021c216c89ce52a4c396f61b648c2acb4a6c | 16,695 | py | Python | release/stubs.min/Wms/RemotingImplementation/DataSetTableAdapters.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/Wms/RemotingImplementation/DataSetTableAdapters.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/Wms/RemotingImplementation/DataSetTableAdapters.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | # encoding: utf-8
# module Wms.RemotingImplementation.DataSetTableAdapters calls itself DataSetTableAdapters
# from Wms.RemotingImplementation,Version=1.23.1.0,Culture=neutral,PublicKeyToken=null
# by generator 1.145
# no doc
# no important
from __init__ import *
# no functions
# classes
class PurchaseOrde... | 44.166667 | 215 | 0.743396 | 1,984 | 16,695 | 6.112903 | 0.092238 | 0.06184 | 0.066953 | 0.049472 | 0.846471 | 0.837731 | 0.837731 | 0.835092 | 0.835092 | 0.835092 | 0 | 0.000715 | 0.162324 | 16,695 | 377 | 216 | 44.28382 | 0.8665 | 0.554178 | 0 | 0.837607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.350427 | false | 0.316239 | 0.008547 | 0 | 0.683761 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
bec9ec8fcdb3977b237b54f8786c70eed543b14d | 219 | py | Python | src/grok/tests/grokker/priority_fixture.py | zopefoundation/grok | 9c29591071aff824e6ef72acf8137bb21c0ea861 | [
"ZPL-2.1"
] | 21 | 2015-11-06T08:54:43.000Z | 2021-08-15T13:41:13.000Z | src/grok/tests/grokker/priority_fixture.py | zopefoundation/grok | 9c29591071aff824e6ef72acf8137bb21c0ea861 | [
"ZPL-2.1"
] | 8 | 2016-03-18T14:25:17.000Z | 2020-06-10T23:17:26.000Z | src/grok/tests/grokker/priority_fixture.py | zopefoundation/grok | 9c29591071aff824e6ef72acf8137bb21c0ea861 | [
"ZPL-2.1"
] | 13 | 2015-09-19T22:42:44.000Z | 2022-01-24T18:55:20.000Z | import grok.tests.grokker.priority
class AlphaSub(grok.tests.grokker.priority.Alpha):
pass
class BetaSub(grok.tests.grokker.priority.Beta):
pass
class GammaSub(grok.tests.grokker.priority.Gamma):
pass
| 15.642857 | 50 | 0.757991 | 29 | 219 | 5.724138 | 0.448276 | 0.216867 | 0.385542 | 0.578313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13242 | 219 | 13 | 51 | 16.846154 | 0.873684 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
bee0976da83c2db761532a0d629e0a52b5746e9e | 64,006 | py | Python | ionoscloud/api/backup_units_api.py | ionos-cloud/ionos-cloud-sdk-python | 3c5804697c262898e6f6a438dc40e1b45a4bb5c9 | [
"Apache-2.0"
] | null | null | null | ionoscloud/api/backup_units_api.py | ionos-cloud/ionos-cloud-sdk-python | 3c5804697c262898e6f6a438dc40e1b45a4bb5c9 | [
"Apache-2.0"
] | null | null | null | ionoscloud/api/backup_units_api.py | ionos-cloud/ionos-cloud-sdk-python | 3c5804697c262898e6f6a438dc40e1b45a4bb5c9 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
import re # noqa: F401
import six
from ionoscloud.api_client import ApiClient
from ionoscloud.exceptions import ( # noqa: F401
ApiTypeError,
ApiValueError
)
class BackupUnitsApi(object):
def __init__(self, api_client=None):
if api_client is None:
... | 54.940773 | 451 | 0.635347 | 7,617 | 64,006 | 5.109492 | 0.032165 | 0.048305 | 0.079498 | 0.019733 | 0.988258 | 0.985483 | 0.984635 | 0.982579 | 0.982348 | 0.977851 | 0 | 0.013687 | 0.293441 | 64,006 | 1,164 | 452 | 54.987973 | 0.846895 | 0.49436 | 0 | 0.802239 | 0 | 0.022388 | 0.227015 | 0.027568 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027985 | false | 0 | 0.009328 | 0 | 0.065299 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
830d60415b872bf05582d251897292653a059f3b | 41 | py | Python | ifelse/cores.py | viniTWL/Python-Projects | 1c4d2417efd896623263287b1d2391f7c551674c | [
"MIT"
] | 1 | 2021-10-17T13:00:19.000Z | 2021-10-17T13:00:19.000Z | ifelse/cores.py | viniTWL/Python-Projects | 1c4d2417efd896623263287b1d2391f7c551674c | [
"MIT"
] | null | null | null | ifelse/cores.py | viniTWL/Python-Projects | 1c4d2417efd896623263287b1d2391f7c551674c | [
"MIT"
] | null | null | null | print('\033[1;35mTeste de Cores.\033[m')
| 20.5 | 40 | 0.682927 | 8 | 41 | 3.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 0.073171 | 41 | 1 | 41 | 41 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
8366e97a3e7cca5b33588ab1542999cbbd54e52b | 206 | py | Python | data/external/repositories_2to3/197772/kaggle_grasp_and_lift_eeg_detection-master/code/nets/net_stf7c.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | null | null | null | data/external/repositories_2to3/197772/kaggle_grasp_and_lift_eeg_detection-master/code/nets/net_stf7c.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | null | null | null | data/external/repositories_2to3/197772/kaggle_grasp_and_lift_eeg_detection-master/code/nets/net_stf7c.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | 1 | 2019-12-04T08:23:33.000Z | 2019-12-04T08:23:33.000Z | from . import net_stf7
def create_net(train_source, test_source, **kwargs):
return net_stf7.create_net(train_source, test_source, filter0_width=21, filter1_num=128, filter2_num=256, **kwargs)
| 29.428571 | 120 | 0.757282 | 31 | 206 | 4.677419 | 0.612903 | 0.096552 | 0.193103 | 0.275862 | 0.413793 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0.073446 | 0.140777 | 206 | 6 | 121 | 34.333333 | 0.745763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
366d5fa8ecf2cb8ad4cd118f25d96cc1a45e339d | 41 | py | Python | feeders/__init__.py | PINTO0309/MS-G3D | 5f0f7740ed8543bd0e288affca2a76541c83669e | [
"MIT"
] | 343 | 2020-04-01T08:50:31.000Z | 2022-03-28T15:08:18.000Z | feeders/__init__.py | PINTO0309/MS-G3D | 5f0f7740ed8543bd0e288affca2a76541c83669e | [
"MIT"
] | 52 | 2020-04-16T12:00:57.000Z | 2022-03-11T12:17:55.000Z | feeders/__init__.py | PINTO0309/MS-G3D | 5f0f7740ed8543bd0e288affca2a76541c83669e | [
"MIT"
] | 89 | 2020-04-05T01:37:50.000Z | 2022-03-17T02:37:48.000Z | from . import tools
from . import feeder
| 13.666667 | 20 | 0.756098 | 6 | 41 | 5.166667 | 0.666667 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 21 | 20.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
367a3fcde189a0a27442a6951b21276a6d714094 | 3,240 | py | Python | src/ctc/protocols/rari_utils/fuse_queries/token_state/token_interest.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/protocols/rari_utils/fuse_queries/token_state/token_interest.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/protocols/rari_utils/fuse_queries/token_state/token_interest.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from __future__ import annotations
import typing
from ctc import rpc
from ctc import spec
from .. import irm_metadata
from .. import token_metadata
from ... import rari_abis
async def async_get_supply_interest_per_block(
ctoken: spec.Address,
block: spec.BlockNumberReference = 'latest',
normalize: bool... | 28.421053 | 76 | 0.669444 | 410 | 3,240 | 4.970732 | 0.146341 | 0.070658 | 0.09421 | 0.075564 | 0.898921 | 0.881256 | 0.860648 | 0.807655 | 0.807655 | 0.807655 | 0 | 0.004156 | 0.257407 | 3,240 | 113 | 77 | 28.672566 | 0.842893 | 0 | 0 | 0.742268 | 0 | 0 | 0.046311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.072165 | 0 | 0.154639 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
36a1e52c92505f83696873ce0f65bc084edf8908 | 6,185 | py | Python | Obfuscated_code_or_piece_of_art.py | IEWbgfnYDwHRoRRSKtkdyMDUzgdwuBYgDKtDJWd/narnt | 0eda13a7b8663e218b4fe2e06a974b99db9ff166 | [
"MIT"
] | 102 | 2016-06-25T09:30:00.000Z | 2022-03-24T21:02:49.000Z | Obfuscated_code_or_piece_of_art.py | operade/notebooks | 56f97e33e81b5e86905961b09184a41b7616fa90 | [
"MIT"
] | 34 | 2016-06-26T12:21:30.000Z | 2021-04-06T09:19:49.000Z | Obfuscated_code_or_piece_of_art.py | operade/notebooks | 56f97e33e81b5e86905961b09184a41b7616fa90 | [
"MIT"
] | 44 | 2017-05-13T23:54:56.000Z | 2021-07-17T15:34:24.000Z |
# coding: utf-8
# # Table of Contents
# <p><div class="lev1 toc-item"><a href="#Obfuscated-code-or-piece-of-art?" data-toc-modified-id="Obfuscated-code-or-piece-of-art?-1"><span class="toc-item-num">1 </span>Obfuscated code or piece of art?</a></div><div class="lev2 toc-item"><a href="#Mandelbrot-set" dat... | 114.537037 | 1,761 | 0.420372 | 1,009 | 6,185 | 2.549058 | 0.25669 | 0.021773 | 0.012442 | 0.018663 | 0.231726 | 0.213841 | 0.062986 | 0.062986 | 0.032659 | 0 | 0 | 0.055808 | 0.359741 | 6,185 | 53 | 1,762 | 116.698113 | 0.593687 | 0.29038 | 0 | 0 | 0 | 1 | 0.95168 | 0.216981 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
36aea0f0c9a9e81b530163f675635edb2dfc07c6 | 107,131 | py | Python | docusign_rooms/apis/rooms_api.py | docusign/docusign-rooms-python-client | eb8cfd0e487a87bc43d54bfa9de784eb170a40d3 | [
"MIT"
] | 2 | 2020-11-11T01:38:45.000Z | 2021-11-14T17:00:43.000Z | docusign_rooms/apis/rooms_api.py | docusign/docusign-rooms-python-client | eb8cfd0e487a87bc43d54bfa9de784eb170a40d3 | [
"MIT"
] | null | null | null | docusign_rooms/apis/rooms_api.py | docusign/docusign-rooms-python-client | eb8cfd0e487a87bc43d54bfa9de784eb170a40d3 | [
"MIT"
] | 1 | 2021-11-14T17:00:32.000Z | 2021-11-14T17:00:32.000Z | # coding: utf-8
"""
DocuSign Rooms API - v2
An API for an integrator to access the features of DocuSign Rooms # noqa: E501
OpenAPI spec version: v2
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
impor... | 48.06236 | 324 | 0.59529 | 12,037 | 107,131 | 5.073773 | 0.030739 | 0.039788 | 0.020173 | 0.02235 | 0.972803 | 0.964731 | 0.961276 | 0.95841 | 0.957772 | 0.950928 | 0 | 0.001537 | 0.319898 | 107,131 | 2,228 | 325 | 48.083932 | 0.836687 | 0.35802 | 0 | 0.80991 | 0 | 0 | 0.215755 | 0.054499 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.006306 | 0 | 0.089189 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
36b708c257d90e7320ee9b1d82e8fd2584c787e3 | 149 | py | Python | comentarios.py | lordjack/oficina_introducao_programacao_python | d432e3d39cfb4790da5f3e75c2bf3ee86fa29f8e | [
"MIT"
] | null | null | null | comentarios.py | lordjack/oficina_introducao_programacao_python | d432e3d39cfb4790da5f3e75c2bf3ee86fa29f8e | [
"MIT"
] | null | null | null | comentarios.py | lordjack/oficina_introducao_programacao_python | d432e3d39cfb4790da5f3e75c2bf3ee86fa29f8e | [
"MIT"
] | null | null | null | # Isso é um comentário
'''
Isso é um comentário de
várias linhas
3 aspas simples
'''
"""
Isso é um comentário de
várias linhas
3 aspas dupla
"""
| 10.642857 | 24 | 0.691275 | 24 | 149 | 4.291667 | 0.458333 | 0.145631 | 0.203884 | 0.495146 | 0.718447 | 0.718447 | 0.718447 | 0.718447 | 0.718447 | 0 | 0 | 0.017241 | 0.221477 | 149 | 13 | 25 | 11.461538 | 0.87069 | 0.510067 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
36c7b1c2c39da40a7aa82b3a1cf80937f4f94e42 | 2,963 | py | Python | DistributeBTC/BIP44Tools.py | WouterGlorieux/BitcoinSpellbook-v0.1 | 982428470ba977182b2519ca8ab15fe8f94ee607 | [
"MIT"
] | 1 | 2016-05-03T08:04:55.000Z | 2016-05-03T08:04:55.000Z | DistributeBTC/BIP44Tools.py | ValyrianTech/BitcoinSpellbook-v0.1 | 982428470ba977182b2519ca8ab15fe8f94ee607 | [
"MIT"
] | null | null | null | DistributeBTC/BIP44Tools.py | ValyrianTech/BitcoinSpellbook-v0.1 | 982428470ba977182b2519ca8ab15fe8f94ee607 | [
"MIT"
] | null | null | null |
import bitcoin
from mnemonic import *
from binascii import hexlify, unhexlify
import json
from pprint import pprint
HARDENED = 2**31
def getAddressesFromXPUB(xpub, i=10):
addressList = []
pub0 = bitcoin.bip32_ckd(xpub, 0)
for i in range (0, i):
publicKey = bitcoin.bip32_ckd(pub0, i)
hex... | 28.219048 | 126 | 0.707391 | 349 | 2,963 | 5.859599 | 0.191977 | 0.158435 | 0.146699 | 0.086064 | 0.828362 | 0.828362 | 0.828362 | 0.788264 | 0.788264 | 0.748166 | 0 | 0.038365 | 0.190685 | 2,963 | 104 | 127 | 28.490385 | 0.814429 | 0 | 0 | 0.691176 | 0 | 0 | 0.023641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0.088235 | 0.073529 | 0 | 0.25 | 0.014706 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
36d23a42da6b548883c4fcab93d162de379166b1 | 7,422 | py | Python | storm_analysis/test/test_fitz_c.py | bintulab/storm-analysis | 71ae493cbd17ddb97938d0ae2032d97a0eaa76b2 | [
"CNRI-Python"
] | null | null | null | storm_analysis/test/test_fitz_c.py | bintulab/storm-analysis | 71ae493cbd17ddb97938d0ae2032d97a0eaa76b2 | [
"CNRI-Python"
] | null | null | null | storm_analysis/test/test_fitz_c.py | bintulab/storm-analysis | 71ae493cbd17ddb97938d0ae2032d97a0eaa76b2 | [
"CNRI-Python"
] | 1 | 2021-04-19T18:17:06.000Z | 2021-04-19T18:17:06.000Z | #!/usr/bin/env python
"""
Tests of fitz_c fitting of Z values. This is used by
3D-DAOSTORM / sCMOS when using the '3d' model.
"""
import numpy
import storm_analysis
import storm_analysis.sa_library.parameters as params
import storm_analysis.sa_library.sa_h5py as saH5Py
import storm_analysis.sa_utilities.fitz_c as f... | 34.045872 | 93 | 0.665993 | 1,043 | 7,422 | 4.541707 | 0.144775 | 0.041799 | 0.033777 | 0.054043 | 0.888326 | 0.852649 | 0.850538 | 0.838716 | 0.82985 | 0.82985 | 0 | 0.043864 | 0.21059 | 7,422 | 217 | 94 | 34.202765 | 0.764636 | 0.152789 | 0 | 0.716667 | 0 | 0 | 0.061274 | 0.019452 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.041667 | false | 0 | 0.041667 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7fc10ed543a17978cbdea26b15a60be0b32b901e | 62,100 | py | Python | tests/loads-tests/image_base64.py | ShawnZhang31/facepipe | 5f08a121a27674445e5d2b2833eb5aeafc1726aa | [
"MIT"
] | 1 | 2021-06-12T12:53:33.000Z | 2021-06-12T12:53:33.000Z | tests/loads-tests/image_base64.py | ShawnZhang31/facepipe | 5f08a121a27674445e5d2b2833eb5aeafc1726aa | [
"MIT"
] | null | null | null | tests/loads-tests/image_base64.py | ShawnZhang31/facepipe | 5f08a121a27674445e5d2b2833eb5aeafc1726aa | [
"MIT"
] | null | null | null | img_base64="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAOxAooDASIAAhEBAxEB/8QAHAABAAIDAQEBAAAAAAAAAAAAAAMEAQIFBgcI/8QAQxAAA... | 62,100 | 62,100 | 0.974396 | 1,563 | 62,100 | 38.713372 | 0.980166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151852 | 0 | 62,100 | 1 | 62,100 | 62,100 | 0.822528 | 0 | 0 | 0 | 0 | 1 | 0.999775 | 0.999775 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3d1efc572df240a9fb002841ad81a931f3a314c4 | 126 | py | Python | python/testData/formatter/fromImportWrappingChopDownIfLong.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/formatter/fromImportWrappingChopDownIfLong.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/formatter/fromImportWrappingChopDownIfLong.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from module import foo, bar
from module import foo, bar, baz
from module import (foo, bar)
from module import (foo, bar, baz)
| 25.2 | 34 | 0.746032 | 22 | 126 | 4.272727 | 0.272727 | 0.425532 | 0.680851 | 0.808511 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.174603 | 126 | 4 | 35 | 31.5 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 14 |
1829f2310b132819505a34d44774b0ec98f902d2 | 9,032 | py | Python | admin_interface/migrations/0006_bytes_to_str.py | Mustafa-Abu-Ghazy/django-admin-interface | a04878a1b3220e9e33e15f06cc2b7d075e61542e | [
"MIT"
] | null | null | null | admin_interface/migrations/0006_bytes_to_str.py | Mustafa-Abu-Ghazy/django-admin-interface | a04878a1b3220e9e33e15f06cc2b7d075e61542e | [
"MIT"
] | null | null | null | admin_interface/migrations/0006_bytes_to_str.py | Mustafa-Abu-Ghazy/django-admin-interface | a04878a1b3220e9e33e15f06cc2b7d075e61542e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import colorfield.fields
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("admin_interface", "0005_add_recent_actions_visible"),
]
operations = [
migrations.AlterField(
... | 32.489209 | 84 | 0.481178 | 737 | 9,032 | 5.654003 | 0.128901 | 0.12959 | 0.161987 | 0.187905 | 0.856012 | 0.850732 | 0.832493 | 0.807775 | 0.778258 | 0.688025 | 0 | 0.035236 | 0.412423 | 9,032 | 277 | 85 | 32.606498 | 0.749953 | 0.002325 | 0 | 0.750929 | 0 | 0 | 0.162615 | 0.065268 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011152 | 0 | 0.022305 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1862fa6497570d262db90c90146008b261576f76 | 1,627 | py | Python | modulo 4/poligonos.py | antonio343/clase | fda04a606246695aa5d93c8b2b5e2890a16d5973 | [
"MIT"
] | null | null | null | modulo 4/poligonos.py | antonio343/clase | fda04a606246695aa5d93c8b2b5e2890a16d5973 | [
"MIT"
] | null | null | null | modulo 4/poligonos.py | antonio343/clase | fda04a606246695aa5d93c8b2b5e2890a16d5973 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
def cuadrados(l,n):
import turtle
t = turtle.Turtle()
t.up() # lápiz "arriba" (no pintar)
t.goto(-150, 150) # movimiento directo a coordenadas, por sencillez (no es lo habitual)
t.down()
SIDE_LENGTH = l
angle = 90
i=0
while i<n:
... | 19.60241 | 92 | 0.508912 | 234 | 1,627 | 3.529915 | 0.213675 | 0.106538 | 0.098063 | 0.108959 | 0.811138 | 0.811138 | 0.811138 | 0.785714 | 0.785714 | 0.785714 | 0 | 0.05038 | 0.353411 | 1,627 | 83 | 93 | 19.60241 | 0.734791 | 0.221266 | 0 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.045455 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1866a5b88df7632ff884d28c3250332860e5b11f | 96 | py | Python | ismo/submit/user_group_id.py | kjetil-lye/iterative_surrogate_optimization | f5de412daab1180612837f4c950203ad87d62f7e | [
"MIT"
] | 6 | 2020-10-20T14:03:50.000Z | 2021-11-02T15:08:55.000Z | ismo/submit/user_group_id.py | kjetil-lye/iterative_surrogate_optimization | f5de412daab1180612837f4c950203ad87d62f7e | [
"MIT"
] | 3 | 2020-11-13T19:04:10.000Z | 2022-02-10T02:12:18.000Z | ismo/submit/user_group_id.py | kjetil-lye/iterative_surrogate_optimization | f5de412daab1180612837f4c950203ad87d62f7e | [
"MIT"
] | 3 | 2020-10-20T14:03:53.000Z | 2021-03-19T23:11:34.000Z | import os
def get_user_id():
return os.getuid()
def get_group_id():
return os.getgid() | 13.714286 | 22 | 0.677083 | 16 | 96 | 3.8125 | 0.625 | 0.196721 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197917 | 96 | 7 | 23 | 13.714286 | 0.792208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
629be1fb71dd70ba5f66c017dc252cdb370c1f41 | 5,047 | py | Python | tests/task/Task/test_Task.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 4 | 2018-01-18T19:59:56.000Z | 2020-08-25T11:56:52.000Z | tests/task/Task/test_Task.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 1 | 2018-04-22T23:02:13.000Z | 2018-04-22T23:02:13.000Z | tests/task/Task/test_Task.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 1 | 2019-09-14T07:04:42.000Z | 2019-09-14T07:04:42.000Z | import pytest
import os,shutil
def test____import_from_pypospack_task_base():
from pypospack.task.base import Task
def test____import_from_pypospack_task_Task():
from pypospack.task import Task
def test____init____norestart__with_cleanup():
#<--- create simulation variables
task_name = "task_name"
... | 31.742138 | 59 | 0.673469 | 600 | 5,047 | 5.408333 | 0.1 | 0.192296 | 0.088752 | 0.069029 | 0.965177 | 0.956857 | 0.938367 | 0.938367 | 0.938367 | 0.938367 | 0 | 0 | 0.22984 | 5,047 | 158 | 60 | 31.943038 | 0.834834 | 0.182485 | 0 | 0.885714 | 0 | 0 | 0.022466 | 0 | 0 | 0 | 0 | 0 | 0.304762 | 1 | 0.057143 | false | 0 | 0.095238 | 0 | 0.152381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
62f50d0b73af49982539f930bc4b61b2edd9ff9a | 36,704 | py | Python | elorating/rpc/ratingserver/rating_server.py | Seraphli/elo_rating | 49ccd6030aec63ae638af1ed7b5a8e870777b006 | [
"MIT"
] | 1 | 2019-04-20T17:32:16.000Z | 2019-04-20T17:32:16.000Z | elorating/rpc/ratingserver/rating_server.py | Seraphli/elo_rating | 49ccd6030aec63ae638af1ed7b5a8e870777b006 | [
"MIT"
] | null | null | null | elorating/rpc/ratingserver/rating_server.py | Seraphli/elo_rating | 49ccd6030aec63ae638af1ed7b5a8e870777b006 | [
"MIT"
] | null | null | null | #
# Autogenerated by Thrift Compiler (0.12.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift.TRecursive impo... | 32.859445 | 134 | 0.5983 | 4,012 | 36,704 | 5.204636 | 0.042622 | 0.015085 | 0.027154 | 0.013792 | 0.834778 | 0.805182 | 0.778363 | 0.761841 | 0.746229 | 0.739668 | 0 | 0.006205 | 0.297515 | 36,704 | 1,116 | 135 | 32.888889 | 0.803638 | 0.0179 | 0 | 0.769053 | 1 | 0 | 0.03674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12933 | false | 0.006928 | 0.009238 | 0.04157 | 0.251732 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c53f6f5abfb7917ac5cd3309d32eebbf21a9579f | 102 | py | Python | fastdtw/__init__.py | lovepocky/fastdtw | f60e24844f59c5d039748a9d3562582e6be41e29 | [
"MIT"
] | 612 | 2015-04-10T13:59:28.000Z | 2022-03-21T11:43:46.000Z | fastdtw/__init__.py | lovepocky/fastdtw | f60e24844f59c5d039748a9d3562582e6be41e29 | [
"MIT"
] | 45 | 2015-11-19T17:28:37.000Z | 2021-10-06T15:40:28.000Z | fastdtw/__init__.py | lovepocky/fastdtw | f60e24844f59c5d039748a9d3562582e6be41e29 | [
"MIT"
] | 123 | 2015-12-08T23:36:59.000Z | 2022-03-28T13:26:30.000Z | try:
from ._fastdtw import fastdtw, dtw
except ImportError:
from .fastdtw import fastdtw, dtw
| 20.4 | 38 | 0.735294 | 13 | 102 | 5.692308 | 0.538462 | 0.297297 | 0.459459 | 0.648649 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 102 | 4 | 39 | 25.5 | 0.91358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
c55bee16e4a3813b4c1956b4ee3680324f4e33f2 | 44 | py | Python | interest_rate.py | chapman-cpsc-230/hw1-johns660 | e84299e7ca8709dae3958bfd8231eee27a01d35f | [
"MIT"
] | null | null | null | interest_rate.py | chapman-cpsc-230/hw1-johns660 | e84299e7ca8709dae3958bfd8231eee27a01d35f | [
"MIT"
] | 1 | 2016-02-25T05:26:05.000Z | 2016-02-25T05:26:05.000Z | interest_rate.py | chapman-cpsc-230/hw1-johns660 | e84299e7ca8709dae3958bfd8231eee27a01d35f | [
"MIT"
] | null | null | null | A = 1000
p = 5.0
n = 3
print A*(1+p/100)**n
| 8.8 | 20 | 0.5 | 13 | 44 | 1.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.25 | 44 | 4 | 21 | 11 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c565d32c14ad0208b86cb397257fd5a4c155fffe | 16,237 | py | Python | src/tuning/repulsive_model.py | zhaoliuUT/tuning | 1f1a9b1d66b994196de076f08f74a48c60dd7141 | [
"MIT"
] | null | null | null | src/tuning/repulsive_model.py | zhaoliuUT/tuning | 1f1a9b1d66b994196de076f08f74a48c60dd7141 | [
"MIT"
] | null | null | null | src/tuning/repulsive_model.py | zhaoliuUT/tuning | 1f1a9b1d66b994196de076f08f74a48c60dd7141 | [
"MIT"
] | null | null | null | import numpy as np
import time
import os
from scipy import special
def tuning_update_inhomo(tuning, weight, sigma_vec, alpha = 2, eta = 1, beta = 0, Lambda = 1,
elastic_term = 'sum',# other options: 'exp', 'expweight', 'rand'
elastic_term_periodic = True, # use closed ... | 42.841689 | 123 | 0.548131 | 2,475 | 16,237 | 3.525657 | 0.069495 | 0.035068 | 0.019253 | 0.017648 | 0.836695 | 0.826037 | 0.804492 | 0.782145 | 0.770342 | 0.751433 | 0 | 0.027174 | 0.265689 | 16,237 | 378 | 124 | 42.955026 | 0.704688 | 0.270801 | 0 | 0.779661 | 0 | 0 | 0.01178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038136 | false | 0 | 0.016949 | 0 | 0.101695 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3d90d7c98e3fb50149c77eb002567f870cf11977 | 122 | py | Python | src/interpret.py | BotScutters/eye-of-the-needle | 586d9c1e33763919b70382e67e4c7873bdbb05a8 | [
"MIT"
] | 16 | 2019-04-08T22:09:51.000Z | 2021-08-02T18:18:41.000Z | src/interpret.py | BotScutters/eye-of-the-needle | 586d9c1e33763919b70382e67e4c7873bdbb05a8 | [
"MIT"
] | 1 | 2019-11-19T06:27:37.000Z | 2019-12-26T20:56:03.000Z | src/interpret.py | BotScutters/eye-of-the-needle | 586d9c1e33763919b70382e67e4c7873bdbb05a8 | [
"MIT"
] | 8 | 2019-04-08T23:01:39.000Z | 2021-08-02T18:18:43.000Z |
def run():
print("iNterpret: calculating performance metrics...")
print("iNterpret: generating final reports...") | 30.5 | 58 | 0.696721 | 12 | 122 | 7.083333 | 0.833333 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 122 | 4 | 59 | 30.5 | 0.817308 | 0 | 0 | 0 | 0 | 0 | 0.680328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
3d9547048c2c8c5c925bf1dddc2f335dd2f20612 | 7,411 | py | Python | tests/test_utils.py | JunShern/lm-evaluation-harness | 84aa15c6e4cb65adf39c2dccf91a799cc7e6440a | [
"MIT"
] | 203 | 2021-01-08T16:39:09.000Z | 2022-03-31T06:03:16.000Z | tests/test_utils.py | JunShern/lm-evaluation-harness | 84aa15c6e4cb65adf39c2dccf91a799cc7e6440a | [
"MIT"
] | 183 | 2020-12-27T03:41:08.000Z | 2022-03-19T21:56:53.000Z | tests/test_utils.py | JunShern/lm-evaluation-harness | 84aa15c6e4cb65adf39c2dccf91a799cc7e6440a | [
"MIT"
] | 73 | 2021-01-05T22:37:01.000Z | 2022-03-29T10:14:53.000Z | from lm_eval.utils import get_rolling_token_windows, make_disjoint_window
# noinspection DuplicatedCode
def test_get_rolling_token_windows_v1():
gold = [
([-100, 0, 1, 2, 3, 4, 5, 6, 7, 8], [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]),
([9, 10, 11, 12, 13, 14, 15, 16, 17, 18], [10, 11, 12, 13, 14, 15, 16, 17, ... | 35.801932 | 93 | 0.483605 | 1,262 | 7,411 | 2.7187 | 0.062599 | 0.016905 | 0.023608 | 0.02798 | 0.939376 | 0.938793 | 0.930341 | 0.918683 | 0.902652 | 0.880501 | 0 | 0.284384 | 0.304412 | 7,411 | 207 | 94 | 35.801932 | 0.381183 | 0.022534 | 0 | 0.733696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081522 | 1 | 0.043478 | false | 0 | 0.005435 | 0 | 0.048913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
3db95bb88081a6a9b2d7cbfab501c6ed02c2ec9a | 101 | py | Python | test/run/t158.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t158.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t158.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | print type(1) == int
print type(2**10) == int
# print type(2**1024) == long
print type("wee") == str
| 20.2 | 29 | 0.60396 | 18 | 101 | 3.388889 | 0.555556 | 0.590164 | 0.393443 | 0.42623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.168317 | 101 | 4 | 30 | 25.25 | 0.619048 | 0.267327 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
3dc06c3f7eb09c86ca5ae80333bd6d006b058ba9 | 10,609 | py | Python | tests/model/test_guest_media.py | bcurnow/rfid-security-svc | d3806cb74d3d0cc2623ea425230dc8781ba4d8b4 | [
"Apache-2.0"
] | null | null | null | tests/model/test_guest_media.py | bcurnow/rfid-security-svc | d3806cb74d3d0cc2623ea425230dc8781ba4d8b4 | [
"Apache-2.0"
] | null | null | null | tests/model/test_guest_media.py | bcurnow/rfid-security-svc | d3806cb74d3d0cc2623ea425230dc8781ba4d8b4 | [
"Apache-2.0"
] | null | null | null | import pytest
from unittest.mock import patch
import rfidsecuritysvc.model.guest_media as model
from rfidsecuritysvc.exception import GuestNotFoundError, MediaNotFoundError, SoundNotFoundError
from rfidsecuritysvc.model.color import Color
from rfidsecuritysvc.model.guest import Guest
from rfidsecuritysvc.model.guest_... | 38.438406 | 98 | 0.751343 | 1,484 | 10,609 | 5.088949 | 0.047844 | 0.091367 | 0.165519 | 0.19465 | 0.84706 | 0.825477 | 0.82071 | 0.810117 | 0.783898 | 0.754237 | 0 | 0.0089 | 0.120935 | 10,609 | 275 | 99 | 38.578182 | 0.800879 | 0 | 0 | 0.636771 | 0 | 0 | 0.224715 | 0.177491 | 0 | 0 | 0.007541 | 0 | 0.309417 | 1 | 0.112108 | false | 0 | 0.040359 | 0.004484 | 0.161435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9a7235276f360bcb1581144c89bd0544c6a44757 | 161 | py | Python | utils/lists.py | EladSharony/Mechanics | 078f97bea84114fc1db6fe9700b92b96b18a0d5e | [
"MIT"
] | 24 | 2021-02-23T13:53:14.000Z | 2022-03-29T16:40:56.000Z | utils/lists.py | EladSharony/Mechanics | 078f97bea84114fc1db6fe9700b92b96b18a0d5e | [
"MIT"
] | 2 | 2021-04-23T12:30:32.000Z | 2022-03-31T10:51:12.000Z | utils/lists.py | EladSharony/Mechanics | 078f97bea84114fc1db6fe9700b92b96b18a0d5e | [
"MIT"
] | 12 | 2021-04-11T20:44:03.000Z | 2022-03-30T19:23:58.000Z | def list_of_zeros(length: int):
return [0] * length
def list_of_list_of_zeros(rows: int, cols: int):
return [list_of_zeros(cols) for _ in range(rows)]
| 23 | 53 | 0.708075 | 28 | 161 | 3.75 | 0.464286 | 0.228571 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.173913 | 161 | 6 | 54 | 26.833333 | 0.781955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
9a939618b5f16cb74d6633892169239c1530a35d | 316 | py | Python | src/api/camera/picture.py | ScottDay/DFN-Maintenance-GUI-Backend | bfb05c75747fa9c334224b99609baef7321860a4 | [
"MIT"
] | 2 | 2017-03-31T00:57:35.000Z | 2017-08-04T10:38:28.000Z | src/api/camera/picture.py | CPedersen3245/Desert-Fireball-Maintainence-GUI | bfb05c75747fa9c334224b99609baef7321860a4 | [
"MIT"
] | 10 | 2017-03-29T04:13:14.000Z | 2017-08-14T06:14:52.000Z | src/api/camera/picture.py | ScottDay/DFN-Maintenance-GUI-Backend | bfb05c75747fa9c334224b99609baef7321860a4 | [
"MIT"
] | 4 | 2017-12-23T03:16:00.000Z | 2018-06-20T07:15:50.000Z | import src.wrappers as wrappers
@wrappers.jwt
@wrappers.endpoint
@wrappers.stats
@wrappers.logger('TODO: Implement endpoint')
@wrappers.injector
def download(handler):
pass
@wrappers.jwt
@wrappers.endpoint
@wrappers.stats
@wrappers.logger('TODO: Implement endpoint')
@wrappers.injector
def find(handler):
pass
| 15.8 | 44 | 0.787975 | 39 | 316 | 6.384615 | 0.410256 | 0.257028 | 0.15261 | 0.216867 | 0.75502 | 0.75502 | 0.75502 | 0.75502 | 0.75502 | 0.75502 | 0 | 0 | 0.094937 | 316 | 19 | 45 | 16.631579 | 0.870629 | 0 | 0 | 0.8 | 0 | 0 | 0.151899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.133333 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
9ad06c4bb40f53eaca07f4867da39ef8dcc72b41 | 121 | py | Python | montepython/likelihoods/extended_plik_Planck_lowl_TT/__init__.py | ivandebono/montepython_public_3.2dev_Python3 | 16771c3d37faaa3f80b171c01d78da56a75aa3d9 | [
"MIT"
] | null | null | null | montepython/likelihoods/extended_plik_Planck_lowl_TT/__init__.py | ivandebono/montepython_public_3.2dev_Python3 | 16771c3d37faaa3f80b171c01d78da56a75aa3d9 | [
"MIT"
] | null | null | null | montepython/likelihoods/extended_plik_Planck_lowl_TT/__init__.py | ivandebono/montepython_public_3.2dev_Python3 | 16771c3d37faaa3f80b171c01d78da56a75aa3d9 | [
"MIT"
] | null | null | null | from montepython.likelihood_class import Likelihood_clik
class extended_plik_Planck_lowl_TT(Likelihood_clik):
pass
| 20.166667 | 56 | 0.859504 | 16 | 121 | 6.0625 | 0.75 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107438 | 121 | 5 | 57 | 24.2 | 0.898148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
9afdc4c833bc248918013ec47848b1b410c62331 | 5,661 | py | Python | Repository_files/TLCS/models/create_plots.py | kraken24/mhp_hackathon_sustainable_traffic_light_challenge | 0b4c61968d54c7e8faceb07a2c78c70570a2e162 | [
"CC0-1.0"
] | null | null | null | Repository_files/TLCS/models/create_plots.py | kraken24/mhp_hackathon_sustainable_traffic_light_challenge | 0b4c61968d54c7e8faceb07a2c78c70570a2e162 | [
"CC0-1.0"
] | null | null | null | Repository_files/TLCS/models/create_plots.py | kraken24/mhp_hackathon_sustainable_traffic_light_challenge | 0b4c61968d54c7e8faceb07a2c78c70570a2e162 | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sat Mar 5 02:12:12 2022
@author: Kraken
Project: MHP Hackathon
"""
import os
import pandas as pd
import matplotlib.pyplot as plt
plt.rcParams.update({'font.size': 16})
WORKING_DIR = "model_14"
WORKING_DIR2 = "model_12"
# "model_8": dqn with fixed weights
# "model_4": dqn
MVG_... | 35.161491 | 84 | 0.585409 | 729 | 5,661 | 4.414266 | 0.156379 | 0.026103 | 0.03729 | 0.063393 | 0.878496 | 0.85115 | 0.828465 | 0.819142 | 0.794904 | 0.757924 | 0 | 0.018182 | 0.106165 | 5,661 | 160 | 85 | 35.38125 | 0.617787 | 0.217099 | 0 | 0.803922 | 0 | 0 | 0.238063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.029412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b106562f12616be2afaea4727005a92a5c9cbdc9 | 35,726 | py | Python | resnet_chestxray/model.py | britneyting/resnet_chestxray | 7dcbb76883578d79ae31554c003c7dcfe93323de | [
"MIT"
] | 1 | 2021-12-03T13:08:46.000Z | 2021-12-03T13:08:46.000Z | resnet_chestxray/model.py | britneyting/resnet_chestxray | 7dcbb76883578d79ae31554c003c7dcfe93323de | [
"MIT"
] | null | null | null | resnet_chestxray/model.py | britneyting/resnet_chestxray | 7dcbb76883578d79ae31554c003c7dcfe93323de | [
"MIT"
] | 1 | 2021-07-01T19:33:11.000Z | 2021-07-01T19:33:11.000Z | '''
Author: Ruizhi Liao
Model script to define and instantiate
residual network models
'''
import csv
import os
import numpy as np
from math import floor, ceil
import scipy.ndimage as ndimage
import torch
import torchvision
import torchvision.transforms as transforms
from torch.utils.tensorboard import SummaryWriter... | 41.981199 | 119 | 0.602083 | 4,476 | 35,726 | 4.577301 | 0.067024 | 0.035143 | 0.036607 | 0.022843 | 0.946212 | 0.942503 | 0.94016 | 0.938745 | 0.938745 | 0.934059 | 0 | 0.035023 | 0.301489 | 35,726 | 851 | 120 | 41.981199 | 0.785975 | 0.194228 | 0 | 0.887299 | 0 | 0 | 0.045326 | 0 | 0 | 0 | 0 | 0 | 0.007156 | 1 | 0.057245 | false | 0 | 0.019678 | 0 | 0.128801 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b189191e8ffed79e8d3e3507737c29eb67aedf28 | 81,525 | py | Python | src/python/dxpy/api.py | scalavision/dx-toolkit | e4a2361b3bb6424d7e1ad2bcfc65d649b02d0496 | [
"Apache-2.0"
] | null | null | null | src/python/dxpy/api.py | scalavision/dx-toolkit | e4a2361b3bb6424d7e1ad2bcfc65d649b02d0496 | [
"Apache-2.0"
] | null | null | null | src/python/dxpy/api.py | scalavision/dx-toolkit | e4a2361b3bb6424d7e1ad2bcfc65d649b02d0496 | [
"Apache-2.0"
] | null | null | null | # Do not modify this file by hand.
#
# It is automatically generated by src/api_wrappers/generatePythonAPIWrappers.py.
# (Run make api_wrappers to update it.)
from __future__ import print_function, unicode_literals, division, absolute_import
import sys
from dxpy import DXHTTPRequest
from dxpy.utils import Nonce
def... | 48.846615 | 158 | 0.733554 | 11,049 | 81,525 | 5.226717 | 0.027785 | 0.116571 | 0.116571 | 0.150857 | 0.945662 | 0.939082 | 0.937593 | 0.93484 | 0.927203 | 0.896519 | 0 | 0.015155 | 0.121018 | 81,525 | 1,668 | 159 | 48.875899 | 0.790745 | 0.419969 | 0 | 0.415217 | 1 | 0 | 0.068624 | 0.012059 | 0 | 0 | 0 | 0 | 0 | 1 | 0.443478 | false | 0 | 0.008696 | 0 | 0.895652 | 0.002174 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b197d470efff118b359dcf9674cc481f84e33dee | 9,604 | py | Python | carbondesign/tests/test_tile_html.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | carbondesign/tests/test_tile_html.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | carbondesign/tests/test_tile_html.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | # pylint:disable=missing-module-docstring,missing-class-docstring,missing-function-docstring,line-too-long
from django import forms
#-
from .base import compare_template, SimpleTestCase
class DummyForm(forms.Form):
tiles = forms.ChoiceField(required=False,
label="Number input label",
choice... | 29.10303 | 137 | 0.552166 | 1,370 | 9,604 | 3.849635 | 0.128467 | 0.084945 | 0.08722 | 0.055745 | 0.866515 | 0.813993 | 0.77683 | 0.760903 | 0.755973 | 0.725256 | 0 | 0.063853 | 0.225427 | 9,604 | 329 | 138 | 29.191489 | 0.645114 | 0.010933 | 0 | 0.859873 | 0 | 0.089172 | 0.857835 | 0.122473 | 0 | 0 | 0 | 0 | 0.015924 | 1 | 0.015924 | false | 0 | 0.006369 | 0 | 0.035032 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
493b8ba6aae04c323af77be57fb417aec63bb89c | 14,881 | py | Python | jb2/config/cooldown.py | spirdon/janbot2 | b75e011f485378d843d09240b93d00005794eaa5 | [
"MIT"
] | null | null | null | jb2/config/cooldown.py | spirdon/janbot2 | b75e011f485378d843d09240b93d00005794eaa5 | [
"MIT"
] | 1 | 2019-10-23T19:17:06.000Z | 2019-10-23T19:17:06.000Z | jb2/config/cooldown.py | spirdon/janbot2 | b75e011f485378d843d09240b93d00005794eaa5 | [
"MIT"
] | null | null | null | import asyncio
import random
import re
import threading
import time
import requests
import discord
import jb2.command
import jb2.embed
class CooldownCommand(jb2.command.Command):
def get_pattern(self):
return r'cooldown( ?\d{2,7})?$'
async def action(self, prefix, message, client):
msg = mes... | 45.368902 | 79 | 0.532827 | 1,640 | 14,881 | 4.667073 | 0.095122 | 0.059577 | 0.047426 | 0.068984 | 0.826757 | 0.818004 | 0.806768 | 0.806768 | 0.806768 | 0.79723 | 0 | 0.008588 | 0.366172 | 14,881 | 327 | 80 | 45.507645 | 0.802905 | 0 | 0 | 0.710247 | 0 | 0 | 0.108259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024735 | false | 0 | 0.031802 | 0.021201 | 0.102474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
494b127f2fd8471e3ac8f1133a5ef218893ca386 | 2,810 | py | Python | models/networks/iunet_utils.py | Myyyr/segmentation | 6b9423e327cff1eb23599404031b7fb8e9ecf75d | [
"MIT"
] | null | null | null | models/networks/iunet_utils.py | Myyyr/segmentation | 6b9423e327cff1eb23599404031b7fb8e9ecf75d | [
"MIT"
] | null | null | null | models/networks/iunet_utils.py | Myyyr/segmentation | 6b9423e327cff1eb23599404031b7fb8e9ecf75d | [
"MIT"
] | null | null | null | def get_num_channels(input_shape_or_channels):
"""
Small helper function which outputs the number of
channels regardless of whether the input shape or
the number of channels were passed.
"""
if hasattr(input_shape_or_channels,'__iter__'):
return input_shape_or_channels[0]
else:
... | 35.56962 | 129 | 0.638434 | 363 | 2,810 | 4.548209 | 0.15427 | 0.15748 | 0.17444 | 0.278619 | 0.910357 | 0.812235 | 0.797698 | 0.77771 | 0.760145 | 0.760145 | 0 | 0.009965 | 0.285765 | 2,810 | 79 | 130 | 35.56962 | 0.812656 | 0.160142 | 0 | 0.846154 | 0 | 0 | 0.010292 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 1 | 0.057692 | false | 0 | 0 | 0 | 0.211538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4988e3db8e37f0f69fd6de168fe919341d7d7c62 | 95 | py | Python | 0x0A-python-inheritance/1-my_list.py | calypsobronte/holbertonschool-higher_level_programming | c39c060d8473976fa475d22fffba5cb4329c9965 | [
"MIT"
] | null | null | null | 0x0A-python-inheritance/1-my_list.py | calypsobronte/holbertonschool-higher_level_programming | c39c060d8473976fa475d22fffba5cb4329c9965 | [
"MIT"
] | null | null | null | 0x0A-python-inheritance/1-my_list.py | calypsobronte/holbertonschool-higher_level_programming | c39c060d8473976fa475d22fffba5cb4329c9965 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
class MyList(list):
def print_sorted(self):
print(sorted(self))
| 19 | 27 | 0.652632 | 13 | 95 | 4.692308 | 0.769231 | 0.360656 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.189474 | 95 | 4 | 28 | 23.75 | 0.779221 | 0.178947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 7 |
b8dbfc88a392ba61c1466df5444d1be16f128740 | 575 | py | Python | Plugins/UnrealEnginePython/Binaries/Win64/Lib/site-packages/tensorflow/_api/v1/keras/applications/densenet/__init__.py | JustinACoder/H22-GR3-UnrealAI | 361eb9ef1147f8a2991e5f98c4118cd823184adf | [
"MIT"
] | 6 | 2022-02-04T18:12:24.000Z | 2022-03-21T23:57:12.000Z | Lib/site-packages/tensorflow/_api/v1/keras/applications/densenet/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/tensorflow/_api/v1/keras/applications/densenet/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | 1 | 2022-02-08T03:53:23.000Z | 2022-02-08T03:53:23.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""DenseNet models for Keras.
"""
from __future__ import print_function
from tensorflow.python.keras.applications import DenseNet121
from tensorflow.python.keras.applications imp... | 35.9375 | 83 | 0.826087 | 71 | 575 | 6.549296 | 0.492958 | 0.206452 | 0.215054 | 0.268817 | 0.496774 | 0.496774 | 0.219355 | 0 | 0 | 0 | 0 | 0.017613 | 0.111304 | 575 | 15 | 84 | 38.333333 | 0.892368 | 0.266087 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 0.285714 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b8e4fa7d547e1d210cd2782e8b6cf7ff19acd1bd | 11,701 | py | Python | scripts/find_images_upload.py | tommyfuu/flower_map_new | 6488b118c2d41c41829f83087761342c81d0ef8c | [
"MIT"
] | 1 | 2021-09-21T21:37:35.000Z | 2021-09-21T21:37:35.000Z | scripts/find_images_upload.py | tommyfuu/flower_map_new | 6488b118c2d41c41829f83087761342c81d0ef8c | [
"MIT"
] | null | null | null | scripts/find_images_upload.py | tommyfuu/flower_map_new | 6488b118c2d41c41829f83087761342c81d0ef8c | [
"MIT"
] | null | null | null | import pandas as pd
from subprocess import Popen, PIPE
def find_images(csv_summary_path, directory_path, output_txt_path, gDrive_path):
a = pd.read_csv(csv_summary_path)
start_list = a['image_name_start'].tolist()
end_list = a['image_name_end'].tolist()
all_contained_image_names = []
print("prep s... | 61.910053 | 136 | 0.744979 | 1,523 | 11,701 | 5.468155 | 0.089954 | 0.076849 | 0.146013 | 0.169068 | 0.882325 | 0.882325 | 0.882325 | 0.861311 | 0.861311 | 0.856028 | 0 | 0.064777 | 0.131869 | 11,701 | 188 | 137 | 62.239362 | 0.75507 | 0.751047 | 0 | 0.12766 | 0 | 0.042553 | 0.28825 | 0.099397 | 0.021277 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.042553 | 0 | 0.12766 | 0.12766 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b8f0654e66164112136b9fc4adbe892cca2b1b3b | 85 | py | Python | MultipleClassTest.py | MinjaMiladinovic/numpy | 731a08977355babd56a01e4bb67e72693ec4b0e7 | [
"BSD-3-Clause"
] | null | null | null | MultipleClassTest.py | MinjaMiladinovic/numpy | 731a08977355babd56a01e4bb67e72693ec4b0e7 | [
"BSD-3-Clause"
] | 6 | 2020-09-18T10:58:24.000Z | 2020-09-18T12:08:08.000Z | MultipleClassTest.py | MinjaMiladinovic/numpy | 731a08977355babd56a01e4bb67e72693ec4b0e7 | [
"BSD-3-Clause"
] | null | null | null | class Foo:
def __init__(self):
pass
class Bar:
def __init__(self):
pass
| 10.625 | 21 | 0.635294 | 12 | 85 | 3.833333 | 0.583333 | 0.304348 | 0.478261 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270588 | 85 | 7 | 22 | 12.142857 | 0.741935 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
770dc561219238a683ce46eeea70d11830854b3d | 53,082 | py | Python | tests/scheduling/test_condition.py | kmantel/graph-scheduler | d077b5d8ccf18293b856b5a3c677dda4b802a3b3 | [
"Apache-2.0"
] | null | null | null | tests/scheduling/test_condition.py | kmantel/graph-scheduler | d077b5d8ccf18293b856b5a3c677dda4b802a3b3 | [
"Apache-2.0"
] | 49 | 2021-07-27T21:52:27.000Z | 2022-03-30T18:27:04.000Z | tests/scheduling/test_condition.py | kmantel/graph-scheduler | d077b5d8ccf18293b856b5a3c677dda4b802a3b3 | [
"Apache-2.0"
] | null | null | null | import logging
import graph_scheduler
import pytest
from psyneulink import _unit_registry
from psyneulink.core.components.functions.nonstateful.transferfunctions import Linear
from psyneulink.core.components.mechanisms.processing.transfermechanism import TransferMechanism
from psyneulink.core.components.projections.pa... | 43.869421 | 192 | 0.619758 | 5,576 | 53,082 | 5.689383 | 0.050753 | 0.09734 | 0.059104 | 0.085109 | 0.840373 | 0.82953 | 0.821019 | 0.802894 | 0.781427 | 0.77569 | 0 | 0.014845 | 0.274123 | 53,082 | 1,209 | 193 | 43.905707 | 0.808492 | 0.025621 | 0 | 0.660606 | 0 | 0 | 0.013424 | 0.00561 | 0 | 0 | 0 | 0 | 0.061616 | 1 | 0.055556 | false | 0.077778 | 0.011111 | 0.00202 | 0.082828 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
772f48d1382319b017085e4020b9996d6332999e | 1,661 | py | Python | corehq/warehouse/migrations/0024_metafields.py | dborowiecki/commcare-hq | f2f4fa67faec09040a98502f5657444075b63f2e | [
"BSD-3-Clause"
] | null | null | null | corehq/warehouse/migrations/0024_metafields.py | dborowiecki/commcare-hq | f2f4fa67faec09040a98502f5657444075b63f2e | [
"BSD-3-Clause"
] | null | null | null | corehq/warehouse/migrations/0024_metafields.py | dborowiecki/commcare-hq | f2f4fa67faec09040a98502f5657444075b63f2e | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 1.11.10 on 2018-03-06 12:58
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('warehouse', '0023_add_build_info'),
]
operations = [
migrations.AddField(
model_name='formfact',
name='app_version... | 30.759259 | 72 | 0.572547 | 155 | 1,661 | 6 | 0.303226 | 0.154839 | 0.197849 | 0.232258 | 0.83871 | 0.83871 | 0.801075 | 0.801075 | 0.801075 | 0.775269 | 0 | 0.020158 | 0.313064 | 1,661 | 53 | 73 | 31.339623 | 0.794917 | 0.028296 | 0 | 0.851064 | 1 | 0 | 0.132754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
77304d97aeac92fa7921306c9bba992f912c6e62 | 15,624 | py | Python | ec2_compare/internal/instance_type/g4ad.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | ec2_compare/internal/instance_type/g4ad.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | ec2_compare/internal/instance_type/g4ad.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null |
# Automatically generated
# pylint: disable=all
get = [{'SupportedArchitectures': ['x86_64'], 'SustainedClockSpeedInGhz': 3.0, 'DefaultVCpus': 4, 'DefaultCores': 2, 'DefaultThreadsPerCore': 2, 'ValidCores': [2], 'ValidThreadsPerCore': [1, 2], 'SizeInMiB': 16384, 'TotalSizeInGB': 150, 'Disks': [{'SizeInGB': 150, 'Coun... | 1,302 | 15,432 | 0.726767 | 1,254 | 15,624 | 9.045455 | 0.11882 | 0.054659 | 0.023274 | 0.02539 | 0.952482 | 0.944107 | 0.934056 | 0.929384 | 0.929384 | 0.929384 | 0 | 0.058109 | 0.078085 | 15,624 | 11 | 15,433 | 1,420.363636 | 0.729381 | 0.008257 | 0 | 0 | 1 | 0 | 0.664643 | 0.253794 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 12 |
7742ef7a52b727a1e4fd17f9d5cae868c8829bcb | 8,983 | py | Python | checks/check_magic_eight.py | larrys/appinspect-best-practices | 0b4ea9f5879516b6fa2fc5b5c361811709b40347 | [
"Apache-2.0"
] | null | null | null | checks/check_magic_eight.py | larrys/appinspect-best-practices | 0b4ea9f5879516b6fa2fc5b5c361811709b40347 | [
"Apache-2.0"
] | null | null | null | checks/check_magic_eight.py | larrys/appinspect-best-practices | 0b4ea9f5879516b6fa2fc5b5c361811709b40347 | [
"Apache-2.0"
] | null | null | null | import splunk_appinspect
import os
import regex as re
from splunk_appinspect.configuration_file import ConfigurationFile
from splunk_appinspect.splunk import normalizeBoolean
from .shared import _is_numeric, ignorable
@splunk_appinspect.tags("best_practices", "best_practices_magic_eight")
@splunk_appinspect.cert_vers... | 55.110429 | 130 | 0.662808 | 1,099 | 8,983 | 5.196542 | 0.077343 | 0.057783 | 0.063036 | 0.056382 | 0.872877 | 0.859744 | 0.848538 | 0.848538 | 0.848538 | 0.848538 | 0 | 0.007322 | 0.224647 | 8,983 | 162 | 131 | 55.450617 | 0.812635 | 0.033396 | 0 | 0.724638 | 0 | 0 | 0.176464 | 0.034714 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057971 | false | 0 | 0.043478 | 0 | 0.101449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7748ed8574def444c18d94429a5e192b0f209065 | 9,708 | gyp | Python | glue.gyp | federicamontes/scal | 16c7f000c975f88617498cd797ed79398fe5ee61 | [
"Unlicense"
] | null | null | null | glue.gyp | federicamontes/scal | 16c7f000c975f88617498cd797ed79398fe5ee61 | [
"Unlicense"
] | null | null | null | glue.gyp | federicamontes/scal | 16c7f000c975f88617498cd797ed79398fe5ee61 | [
"Unlicense"
] | null | null | null | {
'includes': [
'common.gypi',
],
'targets': [
{
'target_name': 'ms',
'type': 'static_library',
'sources': [
'src/benchmark/std_glue/glue_ms_queue.cc'
],
},
{
'target_name': 'treiber',
'type': 'static_library',
'sources': [
'src/benchmark/s... | 23.735941 | 73 | 0.517202 | 968 | 9,708 | 4.864669 | 0.072314 | 0.10618 | 0.180505 | 0.233595 | 0.898705 | 0.828414 | 0.746655 | 0.741983 | 0.741346 | 0.677001 | 0 | 0.00089 | 0.30583 | 9,708 | 408 | 74 | 23.794118 | 0.697878 | 0 | 0 | 0.504902 | 0 | 0 | 0.54862 | 0.272765 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
621344e2705b80726bfd2c700bcab87bed4a51ec | 7,117 | py | Python | aeiot/migrations/0002_auto_20160916_1625.py | ratkowskia/aeiot | e41a2e937facb13c63a0666a7aa1c957b68b6ab4 | [
"BSD-3-Clause"
] | null | null | null | aeiot/migrations/0002_auto_20160916_1625.py | ratkowskia/aeiot | e41a2e937facb13c63a0666a7aa1c957b68b6ab4 | [
"BSD-3-Clause"
] | null | null | null | aeiot/migrations/0002_auto_20160916_1625.py | ratkowskia/aeiot | e41a2e937facb13c63a0666a7aa1c957b68b6ab4 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.6 on 2016-09-16 16:25
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('aeiot', '0001_initial'),
]
operations = [
m... | 43.133333 | 205 | 0.582268 | 678 | 7,117 | 5.960177 | 0.126844 | 0.037614 | 0.062361 | 0.097996 | 0.862163 | 0.855481 | 0.828013 | 0.828013 | 0.808958 | 0.808958 | 0 | 0.011557 | 0.282703 | 7,117 | 164 | 206 | 43.396341 | 0.78002 | 0.009414 | 0 | 0.757962 | 1 | 0 | 0.132681 | 0.003406 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019108 | 0 | 0.038217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
624c04c92a0a6c4c49bf8846d9d66c53c232f18c | 15,413 | py | Python | tests/test_client_arm_disarm.py | DanielDidWhat/total-connect-client | 4baab6855380521833fc4bedc11a3cb870ba90c9 | [
"MIT"
] | null | null | null | tests/test_client_arm_disarm.py | DanielDidWhat/total-connect-client | 4baab6855380521833fc4bedc11a3cb870ba90c9 | [
"MIT"
] | null | null | null | tests/test_client_arm_disarm.py | DanielDidWhat/total-connect-client | 4baab6855380521833fc4bedc11a3cb870ba90c9 | [
"MIT"
] | null | null | null | """Test total_connect_client."""
from unittest.mock import patch
import unittest
import pytest
from total_connect_client.client import TotalConnectClient
from total_connect_client.exceptions import BadResultCodeError, AuthenticationError
from common import create_client
from const import (
LOCATION_INFO_BASIC_NO... | 43.173669 | 97 | 0.685914 | 1,883 | 15,413 | 5.324482 | 0.063728 | 0.108717 | 0.121484 | 0.09226 | 0.833633 | 0.829144 | 0.825254 | 0.8078 | 0.807301 | 0.801815 | 0 | 0.000339 | 0.234477 | 15,413 | 356 | 98 | 43.294944 | 0.849394 | 0.111205 | 0 | 0.728814 | 0 | 0 | 0.025985 | 0.003975 | 0 | 0 | 0 | 0 | 0.15678 | 1 | 0.04661 | false | 0 | 0.029661 | 0 | 0.080508 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
626e6c09f08958d78e1a96c9b4eba4f98fb25e05 | 1,578 | py | Python | PYTHON/Regex_and_Parsing/validating_uid.py | byung-u/HackerRank | 4c02fefff7002b3af774b99ebf8d40f149f9d163 | [
"MIT"
] | null | null | null | PYTHON/Regex_and_Parsing/validating_uid.py | byung-u/HackerRank | 4c02fefff7002b3af774b99ebf8d40f149f9d163 | [
"MIT"
] | null | null | null | PYTHON/Regex_and_Parsing/validating_uid.py | byung-u/HackerRank | 4c02fefff7002b3af774b99ebf8d40f149f9d163 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import re
for _ in range(int(input())):
m = re.match(r'(?!([a-zA-Z0-9]){1,}.*?\1)(?=(.*\d+){3,})(?=(.*[A-Z]+){2,})(?=^[\d\w]{10}$)', input())
if m is None:
print('Invalid')
else:
print('Valid')
# TEST
# m = re.match(r'(?=^[\d\w]{10}$)(?=.*[0-9]{3,})(?=.*[A-Z]{... | 41.526316 | 107 | 0.308619 | 281 | 1,578 | 1.729537 | 0.128114 | 0.111111 | 0.296296 | 0.333333 | 0.81893 | 0.788066 | 0.771605 | 0.771605 | 0.753086 | 0.753086 | 0 | 0.071905 | 0.14512 | 1,578 | 37 | 108 | 42.648649 | 0.288362 | 0.54943 | 0 | 0 | 0 | 0.142857 | 0.284314 | 0.245098 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.285714 | 0 | 0 | 1 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
627714ba34912d7feedd931e114dc1933d5e6a1f | 20,077 | py | Python | userbot/plugins/feds.py | Subibhu/ZeBot | f78998ad1ea981abc8f195292dad206570695fb1 | [
"Apache-2.0"
] | null | null | null | userbot/plugins/feds.py | Subibhu/ZeBot | f78998ad1ea981abc8f195292dad206570695fb1 | [
"Apache-2.0"
] | null | null | null | userbot/plugins/feds.py | Subibhu/ZeBot | f78998ad1ea981abc8f195292dad206570695fb1 | [
"Apache-2.0"
] | null | null | null | from telethon import events
import random, re
from userbot.utils import admin_cmd
import asyncio
@borg.on(admin_cmd("fbanbisi ?(.*)"))
async def _(event):
if event.fwd_from:
return
await event.edit("Bringing Justice...")
FBAN = event.pattern_match.group(1)
chat = -1001390230877
if not even... | 49.942786 | 87 | 0.655676 | 2,623 | 20,077 | 4.944339 | 0.106367 | 0.174879 | 0.247745 | 0.259542 | 0.989436 | 0.989436 | 0.989436 | 0.989436 | 0.989436 | 0.989436 | 0 | 0.12846 | 0.217164 | 20,077 | 401 | 88 | 50.067332 | 0.696698 | 0 | 0 | 0.979849 | 0 | 0 | 0.281616 | 0.164965 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010076 | 0 | 0.015113 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
65bbd691641ec210fe50ab685ca455f25c59d580 | 61,163 | py | Python | octavia/tests/functional/api/v2/test_l7rule.py | zhangi/octavia | e68c851fecf55e1b5ffe7d5b849f729626af28a3 | [
"Apache-2.0"
] | 129 | 2015-06-23T08:06:23.000Z | 2022-03-31T12:38:20.000Z | octavia/tests/functional/api/v2/test_l7rule.py | zhangi/octavia | e68c851fecf55e1b5ffe7d5b849f729626af28a3 | [
"Apache-2.0"
] | 6 | 2016-05-20T11:05:27.000Z | 2021-03-23T06:05:52.000Z | octavia/tests/functional/api/v2/test_l7rule.py | zhangi/octavia | e68c851fecf55e1b5ffe7d5b849f729626af28a3 | [
"Apache-2.0"
] | 166 | 2015-07-15T16:24:05.000Z | 2022-03-02T20:54:36.000Z | # Copyright 2016 Blue Box, an IBM Company
#
# 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 applicab... | 46.79648 | 79 | 0.624168 | 7,404 | 61,163 | 4.826175 | 0.046191 | 0.074301 | 0.046624 | 0.065486 | 0.905969 | 0.886715 | 0.87471 | 0.849775 | 0.827051 | 0.811519 | 0 | 0.021709 | 0.267204 | 61,163 | 1,306 | 80 | 46.832312 | 0.775547 | 0.020241 | 0 | 0.735897 | 0 | 0 | 0.098639 | 0.013056 | 0 | 0 | 0 | 0 | 0.11453 | 1 | 0.052137 | false | 0 | 0.008547 | 0 | 0.064103 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
65ea21b14fdb8170dc1cc422ec75920418aa27f4 | 102 | py | Python | vendor-local/lib/python/celery/execute/__init__.py | Mozilla-GitHub-Standards/54c69db06ef83bda60e995a6c34ecfd168ca028994e40ce817295415bb409f0c | f80e7c0cff97a1e9b301aa04015db983c7645778 | [
"BSD-3-Clause"
] | 4 | 2015-05-08T16:58:53.000Z | 2019-09-06T05:30:59.000Z | vendor-local/lib/python/celery/execute/__init__.py | Mozilla-GitHub-Standards/54c69db06ef83bda60e995a6c34ecfd168ca028994e40ce817295415bb409f0c | f80e7c0cff97a1e9b301aa04015db983c7645778 | [
"BSD-3-Clause"
] | 2 | 2019-02-17T17:44:53.000Z | 2019-03-28T03:54:39.000Z | vendor-local/lib/python/celery/execute/__init__.py | Mozilla-GitHub-Standards/54c69db06ef83bda60e995a6c34ecfd168ca028994e40ce817295415bb409f0c | f80e7c0cff97a1e9b301aa04015db983c7645778 | [
"BSD-3-Clause"
] | 7 | 2015-05-21T15:38:29.000Z | 2019-10-28T23:39:06.000Z | from __future__ import absolute_import
from .. import current_app
send_task = current_app.send_task
| 17 | 38 | 0.833333 | 15 | 102 | 5.066667 | 0.533333 | 0.263158 | 0.368421 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 102 | 5 | 39 | 20.4 | 0.853933 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
02d4a9295118d18edcfab748a7829590637003b1 | 128 | py | Python | app/features.py | Y0plait/TPS | 3961b86cf2ed5635034d1b8386494f4b7d04ec5f | [
"MIT"
] | null | null | null | app/features.py | Y0plait/TPS | 3961b86cf2ed5635034d1b8386494f4b7d04ec5f | [
"MIT"
] | null | null | null | app/features.py | Y0plait/TPS | 3961b86cf2ed5635034d1b8386494f4b7d04ec5f | [
"MIT"
] | null | null | null | from app import app, render_template
@app.route('/features.html')
def features():
return render_template('features.html')
| 18.285714 | 43 | 0.742188 | 17 | 128 | 5.470588 | 0.588235 | 0.301075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 128 | 6 | 44 | 21.333333 | 0.830357 | 0 | 0 | 0 | 0 | 0 | 0.210938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
b8aa3a99ae118f6ee50b7c576ab812a0a678140c | 4,503 | py | Python | Chapter 06/ch06_r08.py | PacktPublishing/Modern-Python-Cookbook | 40ff656c64421ddf6c288e058bb99a929f6d4c39 | [
"MIT"
] | 107 | 2016-11-30T02:13:39.000Z | 2022-03-31T06:38:59.000Z | Chapter 06/ch06_r08.py | fengfanzhiwu/Modern-Python-Cookbook | 8eff962f6eae514d531beca9051aefa34941ef4d | [
"MIT"
] | 2 | 2017-04-19T04:08:21.000Z | 2019-03-09T16:18:33.000Z | Chapter 06/ch06_r08.py | fengfanzhiwu/Modern-Python-Cookbook | 8eff962f6eae514d531beca9051aefa34941ef4d | [
"MIT"
] | 71 | 2017-01-16T06:35:17.000Z | 2022-03-01T21:25:54.000Z | """Python Cookbook
Chapter 6, recipe 8
"""
from collections import deque
class Leg:
"""
>>> leg_1 = Leg()
>>> leg_1.rate = 6.0 # knots
>>> leg_1.distance = 35.6 # nautical miles
>>> ("option 1 {leg.distance:.1f}nm"
... " at {leg.rate:.2f}kt"
... " = {leg.time:.2f}hr".format(leg=leg_1))
... | 28.14375 | 81 | 0.574506 | 618 | 4,503 | 4.011327 | 0.113269 | 0.02743 | 0.025413 | 0.048407 | 0.847519 | 0.838645 | 0.770875 | 0.770875 | 0.770875 | 0.73094 | 0 | 0.042262 | 0.269598 | 4,503 | 159 | 82 | 28.320755 | 0.711462 | 0.204752 | 0 | 0.747573 | 0 | 0.038835 | 0.115541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.184466 | false | 0 | 0.019417 | 0.058252 | 0.281553 | 0.048544 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b219438c9cc38bb45b9080327491f7ffaad699c7 | 3,980 | py | Python | experiments/ghost_minitaur/process_result.py | michalnand/reinforcement_learning_im | e29caa2a0b7bca3f9ff45ed949a3d3df3a40c4c1 | [
"MIT"
] | null | null | null | experiments/ghost_minitaur/process_result.py | michalnand/reinforcement_learning_im | e29caa2a0b7bca3f9ff45ed949a3d3df3a40c4c1 | [
"MIT"
] | null | null | null | experiments/ghost_minitaur/process_result.py | michalnand/reinforcement_learning_im | e29caa2a0b7bca3f9ff45ed949a3d3df3a40c4c1 | [
"MIT"
] | null | null | null | import sys
sys.path.insert(0, '../../')
from libs_common.RLStatsCompute import *
import matplotlib.pyplot as plt
result_path = "./results/"
files = []
files.append("./models/ddpg_baseline/run_0/result/result.log")
files.append("./models/ddpg_baseline/run_1/result/result.log")
files.append("./models/ddpg_baseline/ru... | 43.26087 | 180 | 0.805779 | 583 | 3,980 | 5.186964 | 0.12693 | 0.085648 | 0.171296 | 0.214947 | 0.886574 | 0.833995 | 0.782738 | 0.763558 | 0.763558 | 0.632275 | 0 | 0.012997 | 0.052764 | 3,980 | 92 | 181 | 43.26087 | 0.789125 | 0.154774 | 0 | 0.275862 | 0 | 0 | 0.283136 | 0.199129 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.103448 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b23230c6f112564663d234afc832860a9aeb1514 | 15,580 | py | Python | tests/gateways/disk/test_read.py | sakibguy/conda | 892f9f6a196312765b515b0db53a5558566fe456 | [
"BSD-3-Clause"
] | 4,825 | 2015-01-01T15:43:08.000Z | 2022-03-31T18:24:48.000Z | tests/gateways/disk/test_read.py | sakibguy/conda | 892f9f6a196312765b515b0db53a5558566fe456 | [
"BSD-3-Clause"
] | 11,043 | 2015-01-01T01:38:46.000Z | 2022-03-31T20:28:46.000Z | tests/gateways/disk/test_read.py | sakibguy/conda | 892f9f6a196312765b515b0db53a5558566fe456 | [
"BSD-3-Clause"
] | 1,401 | 2015-01-01T15:43:18.000Z | 2022-03-30T18:33:40.000Z | # -*- coding: utf-8 -*-
# Copyright (C) 2012 Anaconda, Inc
# SPDX-License-Identifier: BSD-3-Clause
from __future__ import absolute_import, division, print_function, unicode_literals
from os.path import isdir, join, dirname
from pprint import pprint
from conda.common.compat import on_win
from conda.common.path import ... | 33.505376 | 95 | 0.590629 | 2,034 | 15,580 | 4.265487 | 0.091445 | 0.05083 | 0.030429 | 0.025818 | 0.887736 | 0.873329 | 0.855694 | 0.816736 | 0.793799 | 0.7568 | 0 | 0.042244 | 0.253979 | 15,580 | 464 | 96 | 33.577586 | 0.704207 | 0.007125 | 0 | 0.759907 | 0 | 0.020979 | 0.331738 | 0.107734 | 0 | 0 | 0 | 0 | 0.102564 | 1 | 0.020979 | false | 0 | 0.020979 | 0 | 0.041958 | 0.062937 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b23956d954136bb6ea385c306488c6bd52ff58f9 | 18,560 | py | Python | escola/tests/prova_marcada/test_prova_marcadas_models.py | vini84200/medusa2 | 37cf33d05be8b0195b10845061ca893ba5e814dd | [
"MIT"
] | 1 | 2019-03-15T18:04:24.000Z | 2019-03-15T18:04:24.000Z | escola/tests/prova_marcada/test_prova_marcadas_models.py | vini84200/medusa2 | 37cf33d05be8b0195b10845061ca893ba5e814dd | [
"MIT"
] | 22 | 2019-03-17T21:53:50.000Z | 2021-03-31T19:12:19.000Z | escola/tests/prova_marcada/test_prova_marcadas_models.py | vini84200/medusa2 | 37cf33d05be8b0195b10845061ca893ba5e814dd | [
"MIT"
] | 1 | 2018-11-25T03:05:23.000Z | 2018-11-25T03:05:23.000Z | import datetime
import pytest
from django.contrib.auth.models import User
from mixer.backend.django import mixer
from escola import user_utils
from escola.models import Evento, EventoTurma, ProvaMarcada, ProvaAreaMarcada, ProvaMateriaMarcada, Turma, \
MateriaDaTurma, AreaConhecimento, Conteudo
pytestmark = pytes... | 32.278261 | 108 | 0.701778 | 2,372 | 18,560 | 5.3086 | 0.038364 | 0.083386 | 0.060038 | 0.08561 | 0.916852 | 0.886118 | 0.869282 | 0.844028 | 0.839819 | 0.832116 | 0 | 0.002436 | 0.181681 | 18,560 | 574 | 109 | 32.334495 | 0.826639 | 0.075054 | 0 | 0.786058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001742 | 0.153846 | 1 | 0.112981 | false | 0.024038 | 0.014423 | 0 | 0.127404 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b24385c22ebff2ca43970b363c7842f9b3e34f3f | 899 | py | Python | logictables.py | finnks13/functional-completeness-checker | d04ca9bbcf56383621f14e6d5ea68587ef4a2c26 | [
"MIT"
] | null | null | null | logictables.py | finnks13/functional-completeness-checker | d04ca9bbcf56383621f14e6d5ea68587ef4a2c26 | [
"MIT"
] | null | null | null | logictables.py | finnks13/functional-completeness-checker | d04ca9bbcf56383621f14e6d5ea68587ef4a2c26 | [
"MIT"
] | null | null | null | def return1():
return [[0],[1]]
def return2():
return [[0,0],[0,1],[1,0],[1,1]]
def return3():
return [[0,0,0],[0,0,1],[0,1,0],[0,1,1],[1,0,0],[1,0,1],[1,1,0],[1,1,1]]
def return4():
# i hope i got these right
return [[0,0,0,0],[0,0,0,1],[0,0,1,0],[0,0,1,1],[0,1,0,0],[0,1,0,1],[0,1,1,0... | 44.95 | 109 | 0.429366 | 287 | 899 | 1.344948 | 0.055749 | 0.336788 | 0.256477 | 0.176166 | 0.782383 | 0.782383 | 0.766839 | 0.738342 | 0.637306 | 0.251295 | 0 | 0.332911 | 0.121246 | 899 | 20 | 110 | 44.95 | 0.155696 | 0.067853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | true | 0 | 0 | 0.357143 | 0.714286 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 13 |
b27ab0ebbe5f4d64ad79c2934edb0351a9318c27 | 241 | py | Python | timemachines/inclusion/statsmodelsinclusion.py | iklasky/timemachines | 1820fa9453d31d4daaeff75274a935c7455febe3 | [
"MIT"
] | 253 | 2021-01-08T17:33:30.000Z | 2022-03-21T17:32:36.000Z | timemachines/inclusion/statsmodelsinclusion.py | iklasky/timemachines | 1820fa9453d31d4daaeff75274a935c7455febe3 | [
"MIT"
] | 65 | 2021-01-20T16:43:35.000Z | 2022-03-30T19:07:22.000Z | timemachines/inclusion/statsmodelsinclusion.py | iklasky/timemachines | 1820fa9453d31d4daaeff75274a935c7455febe3 | [
"MIT"
] | 28 | 2021-02-04T14:58:30.000Z | 2022-01-17T04:35:17.000Z | try:
from statsmodels.tsa.arima.model import ARIMA
using_statsmodels = True
except ImportError:
try:
from statsmodels.tsa.arima_model import ARIMA
using_statsmodels = True
except:
using_statsmodels = False
| 24.1 | 52 | 0.713693 | 28 | 241 | 6 | 0.428571 | 0.285714 | 0.214286 | 0.25 | 0.809524 | 0.809524 | 0.809524 | 0.809524 | 0.809524 | 0.809524 | 0 | 0 | 0.236515 | 241 | 9 | 53 | 26.777778 | 0.913043 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.