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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b4d8c937ba0e831a35a6a5ca9fbccba6cea9f38e | 19,161 | py | Python | analysis/gameboard_test.py | SCAII/SCAII | 7ab302f788556392850d104d3df6e0b4a556414d | [
"BSD-3-Clause"
] | 1 | 2017-11-01T20:09:32.000Z | 2017-11-01T20:09:32.000Z | analysis/gameboard_test.py | SCAII/SCAII | 7ab302f788556392850d104d3df6e0b4a556414d | [
"BSD-3-Clause"
] | 103 | 2017-09-14T17:04:53.000Z | 2018-08-15T22:52:32.000Z | analysis/gameboard_test.py | SCAII/SCAII | 7ab302f788556392850d104d3df6e0b4a556414d | [
"BSD-3-Clause"
] | 6 | 2018-01-31T00:05:14.000Z | 2020-01-29T07:01:29.000Z | import unittest
from flatten import parse_line
import extractionMap as extractionMap
# clickGameQuadrant: "tutorial.scr,9-13-2018,13:48:5:219,1536871685219,1,1.0,userClick:473_106;region:gameArea;target:gameboardBackground;clickGameQuadrant:upperRightQuadrant,false,false,false,false,false,fals... | 64.952542 | 283 | 0.711132 | 1,854 | 19,161 | 7.329558 | 0.056095 | 0.247259 | 0.296711 | 0.297299 | 0.953933 | 0.945691 | 0.935463 | 0.934579 | 0.934579 | 0.933402 | 0 | 0.019918 | 0.135327 | 19,161 | 295 | 284 | 64.952542 | 0.800278 | 0.057408 | 0 | 0.893443 | 0 | 0.016393 | 0.481668 | 0.416593 | 0 | 0 | 0 | 0 | 0.918033 | 1 | 0.016393 | false | 0 | 0.012295 | 0 | 0.032787 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
b4e3bf6253ede20c52a94a9d23acd2b218c739e2 | 214 | py | Python | src/scoot/src/behaviors/scout/__init__.py | BCLab-UNM/SC2 | 3e476a529ca9c6c650b921a749ae496671cca6a8 | [
"MIT"
] | null | null | null | src/scoot/src/behaviors/scout/__init__.py | BCLab-UNM/SC2 | 3e476a529ca9c6c650b921a749ae496671cca6a8 | [
"MIT"
] | null | null | null | src/scoot/src/behaviors/scout/__init__.py | BCLab-UNM/SC2 | 3e476a529ca9c6c650b921a749ae496671cca6a8 | [
"MIT"
] | null | null | null | # Import behavior modules into the behavior namespace
from . import search
from . import searchRandomWalk
from . import fine_search
from . import DDSA
from . import goto_waypoint
from . import goto_repair_station
| 23.777778 | 53 | 0.813084 | 29 | 214 | 5.862069 | 0.517241 | 0.352941 | 0.188235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154206 | 214 | 8 | 54 | 26.75 | 0.939227 | 0.238318 | 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 |
3705c150c4d90b69e9ffdc5b268f88fe7f32603f | 25,553 | py | Python | los/analyze/ellipse_grid/scripts/data.py | phil-mansfield/shellfish | 91b0b8216276969aacc66b09bbfbb5251218e57e | [
"MIT"
] | 12 | 2016-12-07T17:57:07.000Z | 2021-12-10T22:48:53.000Z | los/analyze/ellipse_grid/scripts/data.py | phil-mansfield/shellfish | 91b0b8216276969aacc66b09bbfbb5251218e57e | [
"MIT"
] | 48 | 2016-12-04T03:48:24.000Z | 2021-08-08T16:34:24.000Z | los/analyze/ellipse_grid/scripts/data.py | phil-mansfield/shellfish | 91b0b8216276969aacc66b09bbfbb5251218e57e | [
"MIT"
] | 5 | 2019-02-25T15:14:22.000Z | 2020-10-10T07:43:37.000Z | import numpy as np
acs = np.array([
0.2, 0.2276, 0.2552, 0.2828, 0.3103, 0.3379, 0.3655, 0.3931, 0.4207, 0.4483, 0.4759, 0.5034, 0.531, 0.5586, 0.5862, 0.6138, 0.6414, 0.669, 0.6966, 0.7241, 0.7517, 0.7793, 0.8069, 0.8345, 0.8621, 0.8897, 0.9172, 0.9448, 0.9724, 1,
])
bcs =... | 228.151786 | 274 | 0.315658 | 4,254 | 25,553 | 1.893982 | 0.212741 | 0.316495 | 0.442721 | 0.549088 | 0.370485 | 0.281867 | 0.269207 | 0.229738 | 0.220554 | 0.208018 | 0 | 0.642683 | 0.517552 | 25,553 | 111 | 275 | 230.207207 | 0.01087 | 0 | 0 | 0.066038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009434 | 0 | 0.009434 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3723f11cf724138e2dc968972f5d71ca8f990153 | 13,072 | py | Python | ws_lock/tests/test_with_django.py | sevdog/test-websocker-user-lock | 8aef3249f623e23479d61c7681e0f59909c47926 | [
"MIT"
] | null | null | null | ws_lock/tests/test_with_django.py | sevdog/test-websocker-user-lock | 8aef3249f623e23479d61c7681e0f59909c47926 | [
"MIT"
] | null | null | null | ws_lock/tests/test_with_django.py | sevdog/test-websocker-user-lock | 8aef3249f623e23479d61c7681e0f59909c47926 | [
"MIT"
] | null | null | null | import threading
from asgiref.sync import sync_to_async
from django.test import TestCase, TransactionTestCase
from django.contrib.auth import get_user_model
from ..models import Item
from .utils import application, websocket_connect_to_asgi, User
class TestLocks(TestCase):
fixtures = ['initial_setup']
@class... | 39.255255 | 92 | 0.630125 | 1,420 | 13,072 | 5.492958 | 0.061972 | 0.200513 | 0.117949 | 0.069231 | 0.938718 | 0.938718 | 0.938718 | 0.928846 | 0.928846 | 0.924487 | 0 | 0.005025 | 0.269278 | 13,072 | 333 | 93 | 39.255255 | 0.811558 | 0.019201 | 0 | 0.934483 | 0 | 0 | 0.044592 | 0 | 0 | 0 | 0 | 0 | 0.186207 | 1 | 0.013793 | false | 0 | 0.02069 | 0.010345 | 0.058621 | 0.010345 | 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 |
37262e0ad22b07ec74b73b646f37d900c45b7666 | 157 | py | Python | torchmin/trustregion/__init__.py | dhjpolymath/pytorch-minimize | cabe819c97c707fd9f3dc31f50c4520d9c39dfc5 | [
"MIT"
] | 50 | 2021-04-18T10:32:34.000Z | 2022-03-21T08:39:43.000Z | torchmin/trustregion/__init__.py | dhjpolymath/pytorch-minimize | cabe819c97c707fd9f3dc31f50c4520d9c39dfc5 | [
"MIT"
] | 9 | 2021-11-20T20:54:06.000Z | 2022-03-30T15:59:21.000Z | torchmin/trustregion/__init__.py | dhjpolymath/pytorch-minimize | cabe819c97c707fd9f3dc31f50c4520d9c39dfc5 | [
"MIT"
] | 12 | 2021-06-15T19:15:08.000Z | 2022-03-23T14:23:16.000Z | from .ncg import _minimize_trust_ncg
from .exact import _minimize_trust_exact
from .dogleg import _minimize_dogleg
from .krylov import _minimize_trust_krylov | 39.25 | 42 | 0.878981 | 23 | 157 | 5.521739 | 0.347826 | 0.440945 | 0.448819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095541 | 157 | 4 | 42 | 39.25 | 0.894366 | 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 |
2eaed3078fb0fec633e83d560c13b2a481bcdeef | 13,154 | py | Python | tests/integration_tests/test_command_line_options.py | Naveenaidu/moban | 5a4d41546a99f66b39e7deb3e216c9238fa3b07b | [
"MIT"
] | null | null | null | tests/integration_tests/test_command_line_options.py | Naveenaidu/moban | 5a4d41546a99f66b39e7deb3e216c9238fa3b07b | [
"MIT"
] | null | null | null | tests/integration_tests/test_command_line_options.py | Naveenaidu/moban | 5a4d41546a99f66b39e7deb3e216c9238fa3b07b | [
"MIT"
] | null | null | null | import os
import sys
from shutil import copyfile
from mock import patch
from nose.tools import eq_, raises, assert_raises
class TestCustomOptions:
def setUp(self):
self.config_file = "config.yaml"
with open(self.config_file, "w") as f:
f.write("hello: world")
self.patcher1 = p... | 30.662005 | 79 | 0.570929 | 1,542 | 13,154 | 4.653697 | 0.075875 | 0.051282 | 0.068283 | 0.057692 | 0.873746 | 0.865385 | 0.850753 | 0.836678 | 0.81034 | 0.793618 | 0 | 0.006647 | 0.302341 | 13,154 | 428 | 80 | 30.733645 | 0.775308 | 0 | 0 | 0.703704 | 0 | 0 | 0.18139 | 0.085601 | 0 | 0 | 0 | 0 | 0.025641 | 1 | 0.116809 | false | 0 | 0.079772 | 0 | 0.222222 | 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 |
2eb1d598b8587f0eb4383ebc916de7ba8a379363 | 6,164 | py | Python | tests/AOJ/test_ITP1_8_B.py | nabetama-training/CompetitionProgrammingPractice | 0801173df3992c2e78b02b383f2df9ba792cbf2f | [
"BSD-2-Clause"
] | null | null | null | tests/AOJ/test_ITP1_8_B.py | nabetama-training/CompetitionProgrammingPractice | 0801173df3992c2e78b02b383f2df9ba792cbf2f | [
"BSD-2-Clause"
] | 2 | 2020-07-04T04:19:28.000Z | 2020-07-26T06:16:07.000Z | tests/AOJ/test_ITP1_8_B.py | nabetama-training/CompetitionProgrammingPractice | 0801173df3992c2e78b02b383f2df9ba792cbf2f | [
"BSD-2-Clause"
] | null | null | null | import sys
from io import StringIO
import unittest
from src.AOJ.ITP1_8_B import resolve
class TestClass(unittest.TestCase):
def assertIO(self, input, output):
stdout, stdin = sys.stdout, sys.stdin
sys.stdout, sys.stdin = StringIO(), StringIO(input)
resolve()
sys.stdout.seek(0)
... | 18.735562 | 1,019 | 0.889682 | 387 | 6,164 | 14.155039 | 0.315245 | 0.002191 | 0.008762 | 0.049288 | 0.266156 | 0.259036 | 0.238773 | 0.200986 | 0.198065 | 0.178715 | 0 | 0.893519 | 0.088903 | 6,164 | 329 | 1,020 | 18.735562 | 0.081909 | 0 | 0 | 0.648903 | 0 | 0 | 0.859854 | 0.649797 | 0 | 1 | 0 | 0 | 0.018809 | 1 | 0.015674 | false | 0 | 0.012539 | 0 | 0.031348 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2eddfff39bdf21fdb30979ecaced37895989ddc1 | 172 | py | Python | tacost/__init__.py | thejasvibr/test_acoustictracking | c212b44f7359542fede0dff2513798995cde0d20 | [
"MIT"
] | null | null | null | tacost/__init__.py | thejasvibr/test_acoustictracking | c212b44f7359542fede0dff2513798995cde0d20 | [
"MIT"
] | null | null | null | tacost/__init__.py | thejasvibr/test_acoustictracking | c212b44f7359542fede0dff2513798995cde0d20 | [
"MIT"
] | null | null | null | __version__ = "0.1.35"
from tacost import simulate_LMU_playback_setup
from tacost import calculate_toa
from tacost import make_sim_audio
from tacost import make_positions
| 24.571429 | 46 | 0.854651 | 27 | 172 | 5.037037 | 0.62963 | 0.294118 | 0.470588 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.116279 | 172 | 6 | 47 | 28.666667 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2eef0b409293749e86d09d9351a852c83052f812 | 3,594 | py | Python | tests/test_hc_interfaces.py | lguohan/sonic-snmpagent | 0c14bcc2bb9cb35573ddcae2a23b6640db45fa01 | [
"Apache-2.0"
] | null | null | null | tests/test_hc_interfaces.py | lguohan/sonic-snmpagent | 0c14bcc2bb9cb35573ddcae2a23b6640db45fa01 | [
"Apache-2.0"
] | null | null | null | tests/test_hc_interfaces.py | lguohan/sonic-snmpagent | 0c14bcc2bb9cb35573ddcae2a23b6640db45fa01 | [
"Apache-2.0"
] | null | null | null | import os
import sys
# noinspection PyUnresolvedReferences
import tests.mock_tables.dbconnector
modules_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.join(modules_path, 'src'))
from unittest import TestCase
from ax_interface.pdu import PDU
from ax_interface.mib import... | 81.681818 | 1,010 | 0.722871 | 760 | 3,594 | 3.384211 | 0.101316 | 0.671851 | 0.556376 | 0.275272 | 0.816096 | 0.803655 | 0.803655 | 0.796268 | 0.796268 | 0.796268 | 0 | 0.36399 | 0.07123 | 3,594 | 44 | 1,011 | 81.681818 | 0.406531 | 0.009738 | 0 | 0.393939 | 0 | 0.121212 | 0.698426 | 0.697583 | 0 | 1 | 0 | 0 | 0 | 1 | 0.151515 | false | 0 | 0.212121 | 0 | 0.393939 | 0.121212 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
25c55df46b9198911e8487c0ad332c9fc0bf414b | 28,263 | py | Python | python/test/test_BoolFunction.py | drewrisinger/tweedledum | 1c331a076fa137295193a10e0ed664603ae80c21 | [
"MIT"
] | 7 | 2020-03-13T17:08:01.000Z | 2021-11-17T11:43:58.000Z | python/test/test_BoolFunction.py | drewrisinger/tweedledum | 1c331a076fa137295193a10e0ed664603ae80c21 | [
"MIT"
] | 2 | 2021-03-16T12:05:50.000Z | 2021-03-16T13:06:47.000Z | python/test/test_BoolFunction.py | drewrisinger/tweedledum | 1c331a076fa137295193a10e0ed664603ae80c21 | [
"MIT"
] | 8 | 2020-02-13T18:05:55.000Z | 2021-03-16T11:12:33.000Z | #-------------------------------------------------------------------------------
# Part of Tweedledum Project. This file is distributed under the MIT License.
# See accompanying file /LICENSE for details.
#-------------------------------------------------------------------------------
import unittest
from tweedledum.... | 42.757943 | 80 | 0.586562 | 3,466 | 28,263 | 4.640219 | 0.030871 | 0.191196 | 0.17447 | 0.161661 | 0.961326 | 0.935025 | 0.931791 | 0.906672 | 0.8892 | 0.871106 | 0 | 0.03933 | 0.2821 | 28,263 | 660 | 81 | 42.822727 | 0.753327 | 0.009872 | 0 | 0.867572 | 0 | 0 | 0.008828 | 0 | 0 | 0 | 0.002573 | 0 | 0.348048 | 1 | 0.110357 | false | 0 | 0.005093 | 0 | 0.123939 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
25e9e7d1e07aa5e003762696a7c0f41db1daac94 | 8,176 | py | Python | code/utils/write_result2html.py | Shanthika/FeatureNet | eb0a87fd202380e1ba1f62d948cfcb29248d4b47 | [
"MIT"
] | 170 | 2018-03-23T02:40:26.000Z | 2022-03-26T07:25:23.000Z | code/utils/write_result2html.py | Shanthika/FeatureNet | eb0a87fd202380e1ba1f62d948cfcb29248d4b47 | [
"MIT"
] | 28 | 2018-05-22T21:20:15.000Z | 2022-01-08T19:50:32.000Z | code/utils/write_result2html.py | Shanthika/FeatureNet | eb0a87fd202380e1ba1f62d948cfcb29248d4b47 | [
"MIT"
] | 55 | 2018-04-04T07:57:53.000Z | 2022-03-26T03:55:32.000Z | import os
import numpy as np
from tqdm import tqdm
from utils import pc_util
from scipy.misc import imsave
def write_result():
root_path = "/home/lqyu/server/proj49/PointSR_data/test_data/our_collected_data"
model_names = ['1024_nonormal_generator2_2', '1024_nonormal_generator2_2_uniformloss',
... | 38.748815 | 128 | 0.564579 | 1,085 | 8,176 | 4.024885 | 0.103226 | 0.084726 | 0.057706 | 0.042821 | 0.905656 | 0.900847 | 0.881154 | 0.869476 | 0.861461 | 0.861461 | 0 | 0.022682 | 0.266634 | 8,176 | 210 | 129 | 38.933333 | 0.705637 | 0.045988 | 0 | 0.768293 | 0 | 0 | 0.226221 | 0.088046 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018293 | false | 0 | 0.030488 | 0 | 0.04878 | 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 |
d350c9bd37e15e9fb55a638f73096954a2c01ada | 122 | py | Python | xflask/wtforms/__init__.py | sotheara-leang/xFlask | b6899d4b6d1bdc4acfd812bfa8807e2cba7e8df0 | [
"MIT"
] | 2 | 2020-02-11T08:29:49.000Z | 2020-02-17T10:24:36.000Z | xflask/wtforms/__init__.py | sotheara-leang/xFlask | b6899d4b6d1bdc4acfd812bfa8807e2cba7e8df0 | [
"MIT"
] | null | null | null | xflask/wtforms/__init__.py | sotheara-leang/xFlask | b6899d4b6d1bdc4acfd812bfa8807e2cba7e8df0 | [
"MIT"
] | null | null | null | from wtforms import *
from flask_wtf.file import *
from xflask.wtforms.field import *
from xflask.wtforms.form import *
| 17.428571 | 34 | 0.778689 | 18 | 122 | 5.222222 | 0.5 | 0.319149 | 0.340426 | 0.489362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 122 | 6 | 35 | 20.333333 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 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 |
d39a17c6a801cf1b62f226c19b03d7df967ca93d | 70 | py | Python | foronoi/tree/__init__.py | Smart-Ag/voronoi_diagram_generator | a68aac565a5e59c577eeb05471afeabd1905071e | [
"MIT"
] | null | null | null | foronoi/tree/__init__.py | Smart-Ag/voronoi_diagram_generator | a68aac565a5e59c577eeb05471afeabd1905071e | [
"MIT"
] | null | null | null | foronoi/tree/__init__.py | Smart-Ag/voronoi_diagram_generator | a68aac565a5e59c577eeb05471afeabd1905071e | [
"MIT"
] | null | null | null | from foronoi.tree.node import Node
from foronoi.tree.tree import Tree
| 23.333333 | 34 | 0.828571 | 12 | 70 | 4.833333 | 0.416667 | 0.37931 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 2 | 35 | 35 | 0.935484 | 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 |
9fa3ffaafe08636c1c9412f7ad2b778621a4338d | 3,128 | py | Python | runtime/components/Basic_Arithmetic/test_divide.py | ulise/hetida-designer | a6be8eb45abf950d5498e3ca756ea1d2e46b5c00 | [
"MIT"
] | 41 | 2020-11-18T10:12:29.000Z | 2022-03-28T21:46:41.000Z | runtime/components/Basic_Arithmetic/test_divide.py | ulise/hetida-designer | a6be8eb45abf950d5498e3ca756ea1d2e46b5c00 | [
"MIT"
] | 4 | 2020-12-08T15:28:15.000Z | 2022-02-01T11:40:17.000Z | runtime/components/Basic_Arithmetic/test_divide.py | ulise/hetida-designer | a6be8eb45abf950d5498e3ca756ea1d2e46b5c00 | [
"MIT"
] | 14 | 2020-11-18T11:39:17.000Z | 2022-03-21T15:05:11.000Z | import pandas as pd
from .divide import main
def test_numeric():
assert main(a=16.0, b=4.0)["quotient"] == 4.0
def test_s_numeric():
assert main(
a=pd.Series(
{
"2019-08-01T15:20:12": 1.2,
"2019-08-01T15:44:12": None,
"2019-08-03T16:20:15":... | 27.438596 | 49 | 0.335678 | 379 | 3,128 | 2.751979 | 0.110818 | 0.253116 | 0.232023 | 0.137105 | 0.885906 | 0.863854 | 0.862895 | 0.862895 | 0.835091 | 0.741131 | 0 | 0.449622 | 0.492327 | 3,128 | 113 | 50 | 27.681416 | 0.207179 | 0 | 0 | 0.542857 | 0 | 0 | 0.279412 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 1 | 0.038095 | true | 0 | 0.019048 | 0 | 0.057143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
9fbb38c823953621f20cce6d52150ffc1e941522 | 4,627 | py | Python | gentelella/app/api/restaurants/get.py | Dhvani35729/Trofi-Dashboard | a49b4cbac964e60ea3124e4808ba88ef7256a8fe | [
"MIT"
] | null | null | null | gentelella/app/api/restaurants/get.py | Dhvani35729/Trofi-Dashboard | a49b4cbac964e60ea3124e4808ba88ef7256a8fe | [
"MIT"
] | null | null | null | gentelella/app/api/restaurants/get.py | Dhvani35729/Trofi-Dashboard | a49b4cbac964e60ea3124e4808ba88ef7256a8fe | [
"MIT"
] | null | null | null | from django.http import JsonResponse
from ...constants import DISCOUNT_INCREMENT
def get_all_restaurants_with_hours(db, active=True):
res_ref = db.collection(u'restaurants').where(
u'is_active', u'==', True).get()
# import pdb
# pdb.set_trace()
all_hours = []
for i in range(24):
a... | 38.558333 | 139 | 0.558461 | 507 | 4,627 | 4.769231 | 0.134122 | 0.072787 | 0.043011 | 0.026468 | 0.906534 | 0.886683 | 0.857734 | 0.857734 | 0.841191 | 0.841191 | 0 | 0.002558 | 0.323968 | 4,627 | 119 | 140 | 38.882353 | 0.77046 | 0.048844 | 0 | 0.822222 | 0 | 0 | 0.127902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0 | 0.022222 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9fbb4cc9de7036906b065b57c1df2842b81a1b3a | 191 | py | Python | config.py | Mobin-khorushi/tradebot | 44f559c5de1d262bfb4a1db0ead617db4c5d23f1 | [
"Apache-2.0"
] | null | null | null | config.py | Mobin-khorushi/tradebot | 44f559c5de1d262bfb4a1db0ead617db4c5d23f1 | [
"Apache-2.0"
] | null | null | null | config.py | Mobin-khorushi/tradebot | 44f559c5de1d262bfb4a1db0ead617db4c5d23f1 | [
"Apache-2.0"
] | null | null | null | WEBHOOK_PASS="letsmakethisourpassword"
API_KEY="BpKCfUiCLoDj0SuLcLmKqpenmvLpu4Rk7RHnW2xHJU9ik9mN8WUQZb4nsg0yDbTu"
API_SECRET="U1HxoxdeaX8syDSrZMcuu0SLReerK8VZvaZ4OD3KDsX7PMlixd8W5fa7Q7XDbhM8" | 63.666667 | 77 | 0.942408 | 9 | 191 | 19.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.010471 | 191 | 3 | 77 | 63.666667 | 0.825397 | 0 | 0 | 0 | 0 | 0 | 0.786458 | 0.786458 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 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 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
4cc93a7102c4c23fc4151b9bc3a476fe9dd62941 | 10,508 | py | Python | apimaster/migrations/0001_initial.py | romsha28/hospital_python | 1bb86266223df5084321917169156aaec1c5e318 | [
"Apache-2.0"
] | null | null | null | apimaster/migrations/0001_initial.py | romsha28/hospital_python | 1bb86266223df5084321917169156aaec1c5e318 | [
"Apache-2.0"
] | 1 | 2021-10-18T08:56:11.000Z | 2021-10-18T08:56:11.000Z | apimaster/migrations/0001_initial.py | romsha28/hospital_python | 1bb86266223df5084321917169156aaec1c5e318 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.2.8 on 2021-11-26 10:39
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Address',
fields=[
... | 58.055249 | 159 | 0.574515 | 1,015 | 10,508 | 5.8 | 0.107389 | 0.122303 | 0.146085 | 0.175302 | 0.881773 | 0.86071 | 0.843044 | 0.823 | 0.823 | 0.823 | 0 | 0.019775 | 0.273316 | 10,508 | 180 | 160 | 58.377778 | 0.751179 | 0.004282 | 0 | 0.797688 | 1 | 0 | 0.129816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011561 | 0 | 0.034682 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e266039bbbcd6e3039bb300d2339dbd7eae824b5 | 93 | py | Python | models/policy/__init__.py | danilonumeroso/role | 921c625f2675e8dab9e70d5ae0492f36ed189bd2 | [
"MIT"
] | 1 | 2021-06-24T16:30:45.000Z | 2021-06-24T16:30:45.000Z | models/policy/__init__.py | danilonumeroso/chess-rl | 921c625f2675e8dab9e70d5ae0492f36ed189bd2 | [
"MIT"
] | null | null | null | models/policy/__init__.py | danilonumeroso/chess-rl | 921c625f2675e8dab9e70d5ae0492f36ed189bd2 | [
"MIT"
] | null | null | null | from .decaying_eps_greedy import DecayingEpsilonGreedy
from .eps_greedy import EpsilonGreedy
| 31 | 54 | 0.892473 | 11 | 93 | 7.272727 | 0.636364 | 0.225 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 2 | 55 | 46.5 | 0.941176 | 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 |
2c4d0ba10e65041d74d830e19a945cb53e224681 | 2,794 | py | Python | predictions_writer.py | MANASLU8/tf_ner | fd23d7bb33383458571cf90de0a815e49698b53b | [
"Apache-2.0"
] | null | null | null | predictions_writer.py | MANASLU8/tf_ner | fd23d7bb33383458571cf90de0a815e49698b53b | [
"Apache-2.0"
] | null | null | null | predictions_writer.py | MANASLU8/tf_ner | fd23d7bb33383458571cf90de0a815e49698b53b | [
"Apache-2.0"
] | 1 | 2020-01-19T16:29:51.000Z | 2020-01-19T16:29:51.000Z | from pathlib import Path
import functools
def write_predictions(name, input_fn, fwords, ftags, generator_fn, estimator):
Path('results/score').mkdir(parents=True, exist_ok=True)
with Path('results/score/{}.preds.txt'.format(name)).open('wb') as f:
test_inpf = functools.partial(input_fn, fwords(name), f... | 54.784314 | 93 | 0.607731 | 382 | 2,794 | 4.267016 | 0.13089 | 0.058896 | 0.063804 | 0.083436 | 0.966258 | 0.966258 | 0.966258 | 0.966258 | 0.966258 | 0.966258 | 0 | 0 | 0.238368 | 2,794 | 50 | 94 | 55.88 | 0.765977 | 0 | 0 | 0.869565 | 0 | 0 | 0.070866 | 0.03937 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.043478 | 0 | 0.130435 | 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 |
2c60f702544bdeb805947bb2bec1957126bf8417 | 171 | py | Python | ibsng/handler/ras/get_ras_descriptions.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 6 | 2018-03-06T10:16:36.000Z | 2021-12-05T12:43:10.000Z | ibsng/handler/ras/get_ras_descriptions.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 3 | 2018-03-06T10:27:08.000Z | 2022-01-02T15:21:27.000Z | ibsng/handler/ras/get_ras_descriptions.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 3 | 2018-01-06T16:28:31.000Z | 2018-09-17T19:47:19.000Z | """Get ras description API method."""
from ibsng.handler.handler import Handler
class getRasDescriptions(Handler):
"""Get ras description method class."""
pass
| 19 | 43 | 0.725146 | 20 | 171 | 6.2 | 0.6 | 0.096774 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163743 | 171 | 8 | 44 | 21.375 | 0.867133 | 0.380117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
3929c913a134895fafd19baa1b23d8d29964ca03 | 97 | py | Python | pythonProject1/chap2/demo12.py | zhudi7/pythonAK | d52995a4c35a3c9aeb1542922e9d786f4dcc8d1c | [
"Apache-2.0"
] | null | null | null | pythonProject1/chap2/demo12.py | zhudi7/pythonAK | d52995a4c35a3c9aeb1542922e9d786f4dcc8d1c | [
"Apache-2.0"
] | null | null | null | pythonProject1/chap2/demo12.py | zhudi7/pythonAK | d52995a4c35a3c9aeb1542922e9d786f4dcc8d1c | [
"Apache-2.0"
] | null | null | null | # 公众号:MarkerJava
# 开发时间:2020/10/5 17:25
print(153 % 10)
print(153 // 10 % 10)
print(153 // 100)
| 13.857143 | 22 | 0.628866 | 18 | 97 | 3.388889 | 0.611111 | 0.393443 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3625 | 0.175258 | 97 | 6 | 23 | 16.166667 | 0.4 | 0.360825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
1a458de4970c6e88db33bcdeb2a6316bf3e67cb1 | 112 | py | Python | tests/RDkit/__init__.py | niladell/DockStream | 75f06d24a95699cdc06fe1ea021e213e1d9fa5b3 | [
"Apache-2.0"
] | 34 | 2021-08-05T06:28:30.000Z | 2022-03-17T02:42:49.000Z | tests/RDkit/__init__.py | niladell/DockStream | 75f06d24a95699cdc06fe1ea021e213e1d9fa5b3 | [
"Apache-2.0"
] | 9 | 2021-08-31T10:35:51.000Z | 2022-02-03T08:57:58.000Z | tests/RDkit/__init__.py | niladell/DockStream | 75f06d24a95699cdc06fe1ea021e213e1d9fa5b3 | [
"Apache-2.0"
] | 10 | 2021-08-12T02:32:11.000Z | 2022-01-19T11:51:33.000Z | from tests.RDkit.test_RDkit_ligand_preparation import *
from tests.RDkit.test_RDkit_stereo_enumeration import *
| 37.333333 | 55 | 0.875 | 16 | 112 | 5.75 | 0.5625 | 0.195652 | 0.304348 | 0.391304 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 2 | 56 | 56 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1a52a103d1856c66f88ae0087a7d8a0e8f0e8e1c | 89 | py | Python | compsim/generate/__init__.py | skyman/CompressionSimulator | b484f41845aa16e3e3e057a1d7739909d0dff0df | [
"MIT"
] | null | null | null | compsim/generate/__init__.py | skyman/CompressionSimulator | b484f41845aa16e3e3e057a1d7739909d0dff0df | [
"MIT"
] | null | null | null | compsim/generate/__init__.py | skyman/CompressionSimulator | b484f41845aa16e3e3e057a1d7739909d0dff0df | [
"MIT"
] | null | null | null | # coding=utf-8
from randgen import generate_random_grid, generate_random_separation_grid
| 29.666667 | 73 | 0.876404 | 13 | 89 | 5.615385 | 0.769231 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.078652 | 89 | 2 | 74 | 44.5 | 0.878049 | 0.134831 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1ac425f1f2c726d364ec29964862548e267bf110 | 173,663 | py | Python | FAD_Result.py | Sameerpython/Bindingdata | e13d1c152339117ee33e6084da3f34aae222dbcd | [
"MIT"
] | null | null | null | FAD_Result.py | Sameerpython/Bindingdata | e13d1c152339117ee33e6084da3f34aae222dbcd | [
"MIT"
] | null | null | null | FAD_Result.py | Sameerpython/Bindingdata | e13d1c152339117ee33e6084da3f34aae222dbcd | [
"MIT"
] | null | null | null | #!/usr/bin/python
# Import modules for CGI handling
import cgi, cgitb
import webbrowser
import urllib
import urllib2
import re
import sys, os
from itertools import izip
import requests
from bs4 import BeautifulSoup
import numpy as np
import pandas as pd
from collections import Counter
import matplotlib
import matplot... | 43.124659 | 230 | 0.602736 | 21,083 | 173,663 | 4.729071 | 0.031637 | 0.026679 | 0.031293 | 0.021063 | 0.871047 | 0.853886 | 0.820888 | 0.775022 | 0.733639 | 0.714121 | 0 | 0.011495 | 0.255593 | 173,663 | 4,026 | 231 | 43.13537 | 0.759747 | 0.103741 | 0 | 0.684043 | 0 | 0.041489 | 0.224477 | 0.059838 | 0.010638 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.007092 | null | null | 0.26844 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
46be58177ae663a555c829902f79d75560404140 | 9,698 | py | Python | main.py | AkeelMedina22/Packet-Filtering-using-Splay-Trees-and-Skip-Lists | 28ccc7ef410e8de763b4ac55af2a2a8342f0a239 | [
"MIT"
] | null | null | null | main.py | AkeelMedina22/Packet-Filtering-using-Splay-Trees-and-Skip-Lists | 28ccc7ef410e8de763b4ac55af2a2a8342f0a239 | [
"MIT"
] | null | null | null | main.py | AkeelMedina22/Packet-Filtering-using-Splay-Trees-and-Skip-Lists | 28ccc7ef410e8de763b4ac55af2a2a8342f0a239 | [
"MIT"
] | null | null | null | from Rule_Set import Rule_Set
from Packet import Packet
from Skip_List import SkipList
from splaytree import SplayTree
import matplotlib.pyplot as plt
import numpy as np
import time
# ACL2 IP Packets and Rule Set
rules = Rule_Set()
rules.get_rules("Data_set/acl2/acl2_8k/acl2-8k.txt")
packet_8k = Packet(... | 23.945679 | 93 | 0.641163 | 1,473 | 9,698 | 4.029192 | 0.065173 | 0.054591 | 0.060657 | 0.04246 | 0.888795 | 0.882898 | 0.881382 | 0.875484 | 0.843808 | 0.832013 | 0 | 0.039359 | 0.182615 | 9,698 | 404 | 94 | 24.004951 | 0.709348 | 0.056816 | 0 | 0.763485 | 0 | 0 | 0.156433 | 0.100632 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029046 | 0 | 0.029046 | 0.078838 | 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 |
46d9da4b9a2e4061ad0ec881ba6d3301b4377f97 | 50,964 | py | Python | tigershark/parsers/M270_4010_X092_A1.py | CloudCray/TigerShark | e27f1e775652576743518d9f2dfd57266f0c541f | [
"BSD-3-Clause"
] | 19 | 2016-05-09T01:30:37.000Z | 2022-03-15T15:51:24.000Z | tigershark/parsers/M270_4010_X092_A1.py | CloudCray/TigerShark | e27f1e775652576743518d9f2dfd57266f0c541f | [
"BSD-3-Clause"
] | 10 | 2016-04-11T14:55:54.000Z | 2021-08-07T15:41:14.000Z | tigershark/parsers/M270_4010_X092_A1.py | CloudCray/TigerShark | e27f1e775652576743518d9f2dfd57266f0c541f | [
"BSD-3-Clause"
] | 11 | 2015-10-15T16:12:39.000Z | 2021-03-22T19:33:56.000Z | #
# Generated by TigerShark.tools.convertPyX12 on 2012-10-03 14:38:27.454816
#
from tigershark.X12.parse import Message, Loop, Segment, Composite, Element, Properties
parsed_270_HEADER = Loop( u'HEADER', Properties(looptype=u'wrapper',repeat=u'1',pos=u'015',req_sit=u'R',desc=u'Table 1 - Header'),
Segment( u'BHT', Prope... | 70.489627 | 1,000 | 0.629837 | 9,439 | 50,964 | 3.326835 | 0.071088 | 0.055888 | 0.078021 | 0.039743 | 0.911248 | 0.891026 | 0.888447 | 0.884466 | 0.879403 | 0.875709 | 0 | 0.065534 | 0.113433 | 50,964 | 722 | 1,001 | 70.587258 | 0.629462 | 0.001413 | 0 | 0.725627 | 1 | 0 | 0.239943 | 0.002594 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001393 | 0 | 0.001393 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
200f04ee442f9aa62304f99e6bceed48f3c78d52 | 1,414 | py | Python | tests/end_to_end/scenarios/mam_on_fixed_server.py | norayr/biboumi | 805671032d25ee6ce09ed75e8a385c04e9563cdd | [
"Zlib"
] | 68 | 2015-01-29T21:07:37.000Z | 2022-03-20T14:48:07.000Z | tests/end_to_end/scenarios/mam_on_fixed_server.py | norayr/biboumi | 805671032d25ee6ce09ed75e8a385c04e9563cdd | [
"Zlib"
] | 5 | 2016-10-24T18:34:30.000Z | 2021-08-31T13:30:37.000Z | tests/end_to_end/scenarios/mam_on_fixed_server.py | norayr/biboumi | 805671032d25ee6ce09ed75e8a385c04e9563cdd | [
"Zlib"
] | 13 | 2015-12-11T15:19:05.000Z | 2021-08-31T13:24:35.000Z | from scenarios import *
conf = 'fixed_server'
scenario = (
scenarios.channel_join_on_fixed_irc_server.scenario,
send_stanza("<message from='{jid_one}/{resource_one}' to='#foo@{biboumi_host}' type='groupchat'><body>coucou</body></message>"),
expect_stanza("/message[@from='#foo@{biboumi_host}/{nick_one... | 64.272727 | 181 | 0.677511 | 185 | 1,414 | 4.994595 | 0.264865 | 0.075758 | 0.106061 | 0.091991 | 0.799784 | 0.772727 | 0.772727 | 0.772727 | 0.772727 | 0.772727 | 0 | 0.007752 | 0.087694 | 1,414 | 21 | 182 | 67.333333 | 0.708527 | 0.020509 | 0 | 0.142857 | 0 | 0.5 | 0.768619 | 0.68402 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
202ad4fa42c11ab180e333b37b7f51c8fc95814c | 904 | py | Python | cms_articles/signals/title.py | snegovick/django-cms-articles | f7397bd5e303be6ed50bc53b71e27e40f4087f94 | [
"BSD-3-Clause"
] | 9 | 2016-04-18T15:59:50.000Z | 2019-09-12T07:11:15.000Z | cms_articles/signals/title.py | snegovick/django-cms-articles | f7397bd5e303be6ed50bc53b71e27e40f4087f94 | [
"BSD-3-Clause"
] | 6 | 2019-01-22T17:53:48.000Z | 2020-07-19T17:35:31.000Z | cms_articles/signals/title.py | snegovick/django-cms-articles | f7397bd5e303be6ed50bc53b71e27e40f4087f94 | [
"BSD-3-Clause"
] | 4 | 2017-02-10T17:19:30.000Z | 2020-02-02T16:58:20.000Z | def pre_save_title(instance, **kwargs):
''' Update article.languages
'''
if instance.article.languages:
languages = instance.article.languages.split(',')
else:
languages = []
if instance.language not in languages:
languages.append(instance.language)
instance.article.l... | 33.481481 | 57 | 0.669248 | 93 | 904 | 6.376344 | 0.268817 | 0.252951 | 0.242833 | 0.084317 | 0.870152 | 0.870152 | 0.870152 | 0.870152 | 0.870152 | 0.870152 | 0 | 0 | 0.215708 | 904 | 26 | 58 | 34.769231 | 0.836389 | 0.059735 | 0 | 0.7 | 0 | 0 | 0.004808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
204bc73f8264be5840571820b7b0e7b92b44a563 | 30,165 | py | Python | lib/fast_rcnn/test.py | VitoChien/py-mask-rcnn-multiGPU | 0aaf997204442626f126bfcb86ca12e8c6d31725 | [
"MIT"
] | 9 | 2018-10-09T14:13:33.000Z | 2021-04-12T08:22:52.000Z | lib/fast_rcnn/test.py | VitoChien/py-mask-rcnn-multiGPU | 0aaf997204442626f126bfcb86ca12e8c6d31725 | [
"MIT"
] | 4 | 2018-12-08T02:42:18.000Z | 2020-12-11T07:11:30.000Z | lib/fast_rcnn/test.py | VitoChien/py-mask-rcnn-multiGPU | 0aaf997204442626f126bfcb86ca12e8c6d31725 | [
"MIT"
] | 5 | 2018-12-07T08:09:23.000Z | 2019-12-06T07:52:24.000Z | # --------------------------------------------------------
# Fast R-CNN
# Copyright (c) 2015 Microsoft
# Licensed under The MIT License [see LICENSE for details]
# Written by Ross Girshick
# --------------------------------------------------------
"""Test a Fast R-CNN network on an imdb (image database)."""
from fast... | 38.972868 | 136 | 0.593138 | 4,325 | 30,165 | 3.956763 | 0.091561 | 0.020102 | 0.011687 | 0.015193 | 0.801496 | 0.781277 | 0.776953 | 0.773622 | 0.77035 | 0.764507 | 0 | 0.016894 | 0.277872 | 30,165 | 774 | 137 | 38.972868 | 0.768719 | 0.151301 | 0 | 0.706667 | 0 | 0 | 0.05485 | 0 | 0 | 0 | 0 | 0.001292 | 0.006667 | 0 | null | null | 0 | 0.028889 | null | null | 0.028889 | 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 |
648ab8829e3046513cd358f92d5bee3480c20f69 | 16,638 | py | Python | tests/test_mdtr.py | Devyani-Divs/mirrormanager2 | c56bfdb363608c5ea701ce8f089ab1b09abc4de9 | [
"MIT"
] | 1 | 2015-11-08T08:56:33.000Z | 2015-11-08T08:56:33.000Z | tests/test_mdtr.py | Devyani-Divs/mirrormanager2 | c56bfdb363608c5ea701ce8f089ab1b09abc4de9 | [
"MIT"
] | null | null | null | tests/test_mdtr.py | Devyani-Divs/mirrormanager2 | c56bfdb363608c5ea701ce8f089ab1b09abc4de9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
mirrormanager2 tests for the `Move Devel To Release` (MDTL) script.
'''
__requires__ = ['SQLAlchemy >= 0.7']
import pkg_resources
import unittest
import subprocess
import sys
import os
sys.path.insert(0, os.path.join(os.path.dirname(
os.path.abspath(__file__)), '..'))
import mirror... | 36.327511 | 78 | 0.602837 | 1,955 | 16,638 | 5.07468 | 0.10179 | 0.158754 | 0.119746 | 0.072573 | 0.866143 | 0.847193 | 0.832577 | 0.823103 | 0.808084 | 0.796291 | 0 | 0.042233 | 0.274192 | 16,638 | 457 | 79 | 36.407002 | 0.779314 | 0.024943 | 0 | 0.741848 | 0 | 0 | 0.296756 | 0.17912 | 0 | 0 | 0 | 0 | 0.288043 | 0 | null | null | 0 | 0.021739 | null | null | 0.002717 | 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 |
648f0edd698e37321d0c9ce88a74e10dbdcf7d99 | 35,444 | py | Python | pyslam/feature_tracker_configs.py | dysdsyd/VO_benchmark | a7602edab934419c1ec73618ee655e18026f834f | [
"Apache-2.0"
] | 2 | 2021-09-11T09:13:31.000Z | 2021-11-03T01:39:56.000Z | pyslam/feature_tracker_configs.py | dysdsyd/VO_benchmark | a7602edab934419c1ec73618ee655e18026f834f | [
"Apache-2.0"
] | null | null | null | pyslam/feature_tracker_configs.py | dysdsyd/VO_benchmark | a7602edab934419c1ec73618ee655e18026f834f | [
"Apache-2.0"
] | null | null | null | """
* This file is part of PYSLAM
*
* Copyright (C) 2016-present Luigi Freda <luigi dot freda at gmail dot com>
*
* PYSLAM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | 52.04699 | 159 | 0.49289 | 2,620 | 35,444 | 6.387405 | 0.10916 | 0.033463 | 0.071706 | 0.129071 | 0.840215 | 0.836391 | 0.833045 | 0.810218 | 0.795698 | 0.783269 | 0 | 0.019485 | 0.448313 | 35,444 | 680 | 160 | 52.123529 | 0.836351 | 0.076402 | 0 | 0.802281 | 0 | 0 | 0.022568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009506 | 0 | 0.062738 | 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 |
64b16ebfd26819bd4c8d9aa5796193c67ffe62b2 | 29,216 | py | Python | includes/imagedata.py | take-a-CHANCE/weatherPi | 7a67204faa65d7921239fe8b6b3cbd6fc25cc49a | [
"MIT"
] | null | null | null | includes/imagedata.py | take-a-CHANCE/weatherPi | 7a67204faa65d7921239fe8b6b3cbd6fc25cc49a | [
"MIT"
] | null | null | null | includes/imagedata.py | take-a-CHANCE/weatherPi | 7a67204faa65d7921239fe8b6b3cbd6fc25cc49a | [
"MIT"
] | null | null | null | ##
# @filename : imagedata.py
# @brief : data file for epd demo
#
# Copyright (C) Waveshare July 26 2017
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documnetation files (the "Software"), to deal
# in the Software without re... | 76.682415 | 80 | 0.787616 | 5,706 | 29,216 | 4.032422 | 0.039257 | 1.219349 | 1.647529 | 1.972793 | 0.824895 | 0.794472 | 0.751184 | 0.720414 | 0.669477 | 0.629841 | 0 | 0.26081 | 0.020845 | 29,216 | 380 | 81 | 76.884211 | 0.543503 | 0.0408 | 0 | 0.334286 | 0 | 0 | 0 | 0 | 0 | 0 | 0.787625 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
b380fa68848ab015f5370372d4fb624320582746 | 516 | py | Python | py/examples/d_2d/image.py | heyfaraday/rustcmb | 307e65c496db066c1e8a63d68b6feb585349de18 | [
"MIT"
] | 4 | 2019-10-23T16:05:31.000Z | 2022-02-19T22:57:58.000Z | py/examples/d_2d/image.py | heyfaraday/rustcmb | 307e65c496db066c1e8a63d68b6feb585349de18 | [
"MIT"
] | 3 | 2017-10-18T20:49:50.000Z | 2018-02-25T21:39:51.000Z | py/examples/d_2d/image.py | heyfaraday/rustcmb | 307e65c496db066c1e8a63d68b6feb585349de18 | [
"MIT"
] | 2 | 2019-10-23T16:05:34.000Z | 2022-02-13T04:27:24.000Z | from numpy import *
from pylab import *
size = 8
plt.figure(figsize=(8, 8))
x, y, z = genfromtxt("../../../../data/out/rust-examples/d_2d/field.dat").T
x = x.reshape(size + 1, size + 1)
y = y.reshape(size + 1, size + 1)
z = z.reshape(size + 1, size + 1)
pcolor(x, y, z)
show()
plt.figure(figsize=(8, 8))
x, y, z = gen... | 24.571429 | 83 | 0.598837 | 97 | 516 | 3.154639 | 0.278351 | 0.196078 | 0.235294 | 0.313725 | 0.862745 | 0.862745 | 0.862745 | 0.862745 | 0.862745 | 0.862745 | 0 | 0.043981 | 0.162791 | 516 | 20 | 84 | 25.8 | 0.664352 | 0 | 0 | 0.705882 | 0 | 0 | 0.205426 | 0.205426 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b39562a2a1514a9a322ae5f74b1697ac87fb0d3f | 6,857 | py | Python | asap/priors.py | dr-guangtou/asap | 4b796b9708ee1a1d854d4ddf6d5c6e811941f55e | [
"Unlicense"
] | 2 | 2018-11-06T06:50:35.000Z | 2018-11-06T14:24:05.000Z | asap/priors.py | dr-guangtou/asap | 4b796b9708ee1a1d854d4ddf6d5c6e811941f55e | [
"Unlicense"
] | 1 | 2018-11-02T17:55:32.000Z | 2018-11-02T17:55:32.000Z | asap/priors.py | dr-guangtou/asap | 4b796b9708ee1a1d854d4ddf6d5c6e811941f55e | [
"Unlicense"
] | null | null | null | """Module contains different types of priors."""
from __future__ import print_function, division, unicode_literals
import numpy as np
from scipy.stats import t
from scipy.stats import uniform
__all__ = ['StudentT', 'TopHat']
class TopHat(object):
"""TopHat prior object.
Based on the `prior` from `prospect... | 26.577519 | 90 | 0.55622 | 841 | 6,857 | 4.483948 | 0.154578 | 0.038451 | 0.063113 | 0.079554 | 0.786794 | 0.773005 | 0.754707 | 0.754707 | 0.75232 | 0.72209 | 0 | 0.006556 | 0.332653 | 6,857 | 257 | 91 | 26.680934 | 0.817526 | 0.457489 | 0 | 0.397436 | 0 | 0 | 0.004956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294872 | false | 0 | 0.051282 | 0 | 0.653846 | 0.012821 | 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 |
b3a598ef8589cd400df46afe77c831146cd07e60 | 9,192 | py | Python | jhdf/src/test/resources/scripts/chunked_v4_datasets.py | raedma/jhdf | 4a8aebc6ff925592bfc541da2d7b7078aac17d37 | [
"MIT"
] | null | null | null | jhdf/src/test/resources/scripts/chunked_v4_datasets.py | raedma/jhdf | 4a8aebc6ff925592bfc541da2d7b7078aac17d37 | [
"MIT"
] | null | null | null | jhdf/src/test/resources/scripts/chunked_v4_datasets.py | raedma/jhdf | 4a8aebc6ff925592bfc541da2d7b7078aac17d37 | [
"MIT"
] | null | null | null | # -------------------------------------------------------------------------------
# This file is part of jHDF. A pure Java library for accessing HDF5 files.
#
# http://jhdf.io
#
# Copyright (c) 2022 James Mudd
#
# MIT License see 'LICENSE' file
# -------------------------------------------------------------------------... | 70.167939 | 120 | 0.649913 | 1,200 | 9,192 | 4.724167 | 0.1125 | 0.10284 | 0.168284 | 0.166343 | 0.859234 | 0.841595 | 0.82272 | 0.763098 | 0.760452 | 0.760452 | 0 | 0.04161 | 0.197346 | 9,192 | 130 | 121 | 70.707692 | 0.726755 | 0.104656 | 0 | 0.221053 | 0 | 0 | 0.092692 | 0.011449 | 0 | 0 | 0 | 0.007692 | 0 | 1 | 0.010526 | false | 0 | 0.021053 | 0 | 0.031579 | 0.021053 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3775c0c219ee451dbeabe565b3e48ec12b1c6ae0 | 27,258 | py | Python | tests/unit/test_str_numeric_op.py | ogarraux/jsnapy | 801babf77cc2cb05a9a4843e1740d0d6eff8939d | [
"Apache-2.0"
] | null | null | null | tests/unit/test_str_numeric_op.py | ogarraux/jsnapy | 801babf77cc2cb05a9a4843e1740d0d6eff8939d | [
"Apache-2.0"
] | 1 | 2018-03-19T08:52:21.000Z | 2018-03-19T08:52:21.000Z | tests/unit/test_str_numeric_op.py | ogarraux/jsnapy | 801babf77cc2cb05a9a4843e1740d0d6eff8939d | [
"Apache-2.0"
] | null | null | null | import unittest
import yaml
from jnpr.jsnapy.check import Comparator
from mock import patch
import os
from nose.plugins.attrib import attr
@attr('unit')
class TestStrNumericOperators(unittest.TestCase):
def setUp(self):
self.diff = False
self.hostname = "1.1.1.1"
self.db = dict()
s... | 38.230014 | 100 | 0.589588 | 3,399 | 27,258 | 4.416593 | 0.028832 | 0.04956 | 0.074341 | 0.04956 | 0.965561 | 0.965228 | 0.965228 | 0.965228 | 0.965228 | 0.965228 | 0 | 0.005023 | 0.291584 | 27,258 | 712 | 101 | 38.283708 | 0.772398 | 0.002605 | 0 | 0.872024 | 0 | 0 | 0.148759 | 0.069671 | 0 | 0 | 0 | 0 | 0.092262 | 1 | 0.047619 | false | 0.050595 | 0.008929 | 0 | 0.058036 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
379db272c1836e0c79b3ecbe84e55d961495b13b | 742 | py | Python | src/bgapi/dfu/rsp.py | GetAmbush/python-bgapi | 985e5849275eb5e7cf794c30ef87e16ffa91fa63 | [
"MIT"
] | 5 | 2018-05-11T14:59:50.000Z | 2021-04-29T07:51:43.000Z | src/bgapi/dfu/rsp.py | GetAmbush/python-bgapi | 985e5849275eb5e7cf794c30ef87e16ffa91fa63 | [
"MIT"
] | null | null | null | src/bgapi/dfu/rsp.py | GetAmbush/python-bgapi | 985e5849275eb5e7cf794c30ef87e16ffa91fa63 | [
"MIT"
] | 2 | 2018-10-05T16:51:08.000Z | 2020-08-10T18:24:16.000Z | from struct import (unpack_from, calcsize)
def flash_set_address(data: bytes, offset: int = 0):
FORMAT = '<H'
result, = unpack_from(FORMAT, data, offset=offset)
offset += calcsize(FORMAT)
payload = {
'result': result,
}
return payload, offset
def flash_upload(data: bytes, offset: int... | 23.1875 | 54 | 0.621294 | 86 | 742 | 5.255814 | 0.244186 | 0.159292 | 0.099558 | 0.119469 | 0.871681 | 0.871681 | 0.871681 | 0.871681 | 0.871681 | 0.871681 | 0 | 0.005415 | 0.253369 | 742 | 31 | 55 | 23.935484 | 0.810469 | 0 | 0 | 0.72 | 0 | 0 | 0.032345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0 | 0.04 | 0 | 0.28 | 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 |
37ccd02ddc2f2e185efbdfd574521b4cf864289e | 3,939 | py | Python | test_bing.py | mingming1205/open_automation_quiz | bea6c4b775a61a71c118f82f963bf12f97f2406c | [
"MIT"
] | null | null | null | test_bing.py | mingming1205/open_automation_quiz | bea6c4b775a61a71c118f82f963bf12f97f2406c | [
"MIT"
] | null | null | null | test_bing.py | mingming1205/open_automation_quiz | bea6c4b775a61a71c118f82f963bf12f97f2406c | [
"MIT"
] | null | null | null | #! /usr/bin/env python
#-*- coding:utf-8 -*-
#created by zc on Sep9th,2020
import os
import time
import pytest
from selenium import webdriver
from selenium.webdriver.support.select import Select
from selenium.webdriver import ActionChains
from HTMLTestRunner import HTMLTestRunner
def test_searchbing(... | 31.015748 | 70 | 0.631886 | 516 | 3,939 | 4.583333 | 0.224806 | 0.07611 | 0.086258 | 0.096406 | 0.830867 | 0.830867 | 0.830867 | 0.827907 | 0.827907 | 0.827907 | 0 | 0.01885 | 0.218837 | 3,939 | 126 | 71 | 31.261905 | 0.749756 | 0.017517 | 0 | 0.838384 | 0 | 0 | 0.136364 | 0.039037 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040404 | false | 0 | 0.070707 | 0 | 0.111111 | 0.10101 | 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 |
8075f4c1e5a8ec3c0940f7f15ca56f9febdf0251 | 36,821 | py | Python | napalm_yang/models/openconfig/network_instances/network_instance/segment_routing/srlbs/srlb/state/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 64 | 2016-10-20T15:47:18.000Z | 2021-11-11T11:57:32.000Z | napalm_yang/models/openconfig/network_instances/network_instance/segment_routing/srlbs/srlb/state/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 126 | 2016-10-05T10:36:14.000Z | 2019-05-15T08:43:23.000Z | napalm_yang/models/openconfig/network_instances/network_instance/segment_routing/srlbs/srlb/state/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 63 | 2016-11-07T15:23:08.000Z | 2021-09-22T14:41:16.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 42.864959 | 651 | 0.58635 | 4,348 | 36,821 | 4.74471 | 0.049908 | 0.063984 | 0.044789 | 0.051091 | 0.981823 | 0.971304 | 0.971304 | 0.971304 | 0.971304 | 0.971304 | 0 | 0.023195 | 0.292795 | 36,821 | 858 | 652 | 42.914918 | 0.769048 | 0.206974 | 0 | 0.874233 | 0 | 0.021472 | 0.304141 | 0.14617 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042945 | false | 0 | 0.023006 | 0 | 0.111963 | 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 |
80f5cff111335fec246dd423b12bdb4caee210c8 | 200 | py | Python | Python cursoemvideo/ex005.py | heldermedeiros/Python-em-video | eff781642f262c22d9b99423e825b57d68ee5a3e | [
"MIT"
] | null | null | null | Python cursoemvideo/ex005.py | heldermedeiros/Python-em-video | eff781642f262c22d9b99423e825b57d68ee5a3e | [
"MIT"
] | null | null | null | Python cursoemvideo/ex005.py | heldermedeiros/Python-em-video | eff781642f262c22d9b99423e825b57d68ee5a3e | [
"MIT"
] | null | null | null | int("1")
print(type(1))
soma=1+1
print(soma)
print("5+2= ",5+2)
print("5-2= ",5-2)
print("5*2= ",5*2)
print("5**2= ",5**2)
print("5/2= ",5/2)
print("5//2= ",5//2)
print("5%2= ",5%2)
print("5+2= ",5+2) | 16.666667 | 20 | 0.505 | 50 | 200 | 2.02 | 0.14 | 0.316832 | 0.554455 | 0.633663 | 0.712871 | 0.712871 | 0.712871 | 0.712871 | 0.712871 | 0.712871 | 0 | 0.198895 | 0.095 | 200 | 12 | 21 | 16.666667 | 0.359116 | 0 | 0 | 0.166667 | 0 | 0 | 0.21393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.833333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 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 | 1 | 0 | 10 |
206ba526f89245d8255cc197e861d7b4b307b8ac | 52,310 | py | Python | napalm_yang/models/openconfig/network_instances/network_instance/policy_forwarding/policies/policy/rules/rule/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 64 | 2016-10-20T15:47:18.000Z | 2021-11-11T11:57:32.000Z | napalm_yang/models/openconfig/network_instances/network_instance/policy_forwarding/policies/policy/rules/rule/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 126 | 2016-10-05T10:36:14.000Z | 2019-05-15T08:43:23.000Z | napalm_yang/models/openconfig/network_instances/network_instance/policy_forwarding/policies/policy/rules/rule/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 63 | 2016-11-07T15:23:08.000Z | 2021-09-22T14:41:16.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 38.921131 | 386 | 0.594418 | 5,414 | 52,310 | 5.5157 | 0.038604 | 0.073337 | 0.053446 | 0.06021 | 0.987442 | 0.980175 | 0.980175 | 0.980175 | 0.980175 | 0.980175 | 0 | 0.002325 | 0.309272 | 52,310 | 1,343 | 387 | 38.950112 | 0.824145 | 0.197075 | 0 | 0.88932 | 0 | 0.013592 | 0.258576 | 0.088474 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04466 | false | 0 | 0.026214 | 0 | 0.11165 | 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 |
2097391972054eac44f85f1274d471b62c4f974a | 83 | py | Python | release/scripts/presets/framerate/25.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 365 | 2015-02-10T15:10:55.000Z | 2022-03-03T15:50:51.000Z | release/scripts/presets/framerate/25.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 45 | 2015-01-09T15:34:20.000Z | 2021-10-05T14:44:23.000Z | release/scripts/presets/framerate/25.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 172 | 2015-01-25T15:16:53.000Z | 2022-01-31T08:25:36.000Z | import bpy
bpy.context.scene.render.fps = 25
bpy.context.scene.render.fps_base = 1
| 20.75 | 37 | 0.783133 | 15 | 83 | 4.266667 | 0.6 | 0.3125 | 0.46875 | 0.65625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.096386 | 83 | 3 | 38 | 27.666667 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
20a91efce66b98b0e0c04de015861910d9c80361 | 116 | py | Python | python/testData/inspections/PyMethodOverridingInspection/DefaultArgument.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyMethodOverridingInspection/DefaultArgument.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyMethodOverridingInspection/DefaultArgument.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class B:
def foo(self, arg1):
pass
class C(B):
def foo(self, arg1, arg2=None): #pass
pass
| 12.888889 | 41 | 0.525862 | 18 | 116 | 3.388889 | 0.555556 | 0.131148 | 0.229508 | 0.360656 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.344828 | 116 | 8 | 42 | 14.5 | 0.763158 | 0.034483 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
20ca9c65dbaf784540937c3a8b54d514029daeca | 17,444 | py | Python | src/tests/tests.py | vtbassmatt/django-expression-fields | 5bdf58087126ab0ce913ed84021c8476c2e7d901 | [
"MIT"
] | 20 | 2015-10-03T05:26:35.000Z | 2021-11-27T19:38:28.000Z | src/tests/tests.py | vtbassmatt/django-expression-fields | 5bdf58087126ab0ce913ed84021c8476c2e7d901 | [
"MIT"
] | null | null | null | src/tests/tests.py | vtbassmatt/django-expression-fields | 5bdf58087126ab0ce913ed84021c8476c2e7d901 | [
"MIT"
] | 1 | 2021-11-25T18:43:37.000Z | 2021-11-25T18:43:37.000Z | import unittest
from decimal import Decimal
from django.forms import Form
from expression_fields.fields import DivideDecimalField, DecimalExpressionField
class DivDecForm(Form):
field1 = DivideDecimalField(max_digits=5, decimal_places=2, required=False)
field2 = DivideDecimalField(max_digits=4, decimal_places... | 50.416185 | 99 | 0.616602 | 2,028 | 17,444 | 5.199211 | 0.065582 | 0.173558 | 0.051119 | 0.087633 | 0.894348 | 0.879078 | 0.866939 | 0.835262 | 0.825209 | 0.809086 | 0 | 0.067999 | 0.18224 | 17,444 | 345 | 100 | 50.562319 | 0.671153 | 0.044141 | 0 | 0.661417 | 0 | 0 | 0.147949 | 0 | 0 | 0 | 0 | 0 | 0.685039 | 1 | 0.047244 | false | 0 | 0.015748 | 0 | 0.106299 | 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 |
20cb4d63b79da18793744b107461f14ca2217fcf | 37,690 | py | Python | View/Control/Collection.py | parente/clique | e0a36e592d194a822f0078781d08a2d1aa63c9e4 | [
"BSD-3-Clause"
] | 3 | 2015-05-02T10:00:50.000Z | 2018-10-26T02:42:13.000Z | View/Control/Collection.py | parente/clique | e0a36e592d194a822f0078781d08a2d1aa63c9e4 | [
"BSD-3-Clause"
] | null | null | null | View/Control/Collection.py | parente/clique | e0a36e592d194a822f0078781d08a2d1aa63c9e4 | [
"BSD-3-Clause"
] | 1 | 2018-10-26T02:42:14.000Z | 2018-10-26T02:42:14.000Z | '''
Defines classes for browsing collections of items like lists or trees.
@author: Peter Parente <parente@cs.unc.edu>
@copyright: Copyright (c) 2008 Peter Parente
@license: BSD License
All rights reserved. This program and the accompanying materials are made
available under the terms of The BSD License which accompa... | 34.546288 | 82 | 0.656487 | 4,524 | 37,690 | 5.456897 | 0.077144 | 0.039211 | 0.032406 | 0.033054 | 0.84028 | 0.811885 | 0.794669 | 0.772755 | 0.74918 | 0.716612 | 0 | 0.000773 | 0.244548 | 37,690 | 1,090 | 83 | 34.577982 | 0.866259 | 0.417485 | 0 | 0.748988 | 0 | 0 | 0.03983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.119433 | false | 0.004049 | 0.002024 | 0 | 0.226721 | 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 |
20d74829c0d10698f13a90d95ad16e924e06a537 | 37,217 | py | Python | trojsten/reviews/tests.py | MvonK/web | b701a6ea8fb6f0bdfb720e66d0a430db13db8bff | [
"MIT"
] | 5 | 2018-04-22T22:44:02.000Z | 2021-04-26T20:44:44.000Z | trojsten/reviews/tests.py | MvonK/web | b701a6ea8fb6f0bdfb720e66d0a430db13db8bff | [
"MIT"
] | 250 | 2018-04-24T12:04:11.000Z | 2022-03-09T06:56:47.000Z | trojsten/reviews/tests.py | MvonK/web | b701a6ea8fb6f0bdfb720e66d0a430db13db8bff | [
"MIT"
] | 8 | 2019-04-28T11:33:03.000Z | 2022-02-26T13:30:36.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
import shutil
import sys
import tempfile
import zipfile
from os import path
from django.conf import settings
from django.contrib.auth.models import Group
from django.contrib.sites.models import Site
from django.core.files.uploadedfile import SimpleUploadedFile
fr... | 38.487073 | 113 | 0.625037 | 4,386 | 37,217 | 5.100319 | 0.078431 | 0.02861 | 0.031381 | 0.035673 | 0.84135 | 0.824721 | 0.812025 | 0.789763 | 0.775458 | 0.757667 | 0 | 0.012646 | 0.258457 | 37,217 | 966 | 114 | 38.526915 | 0.79792 | 0.012817 | 0 | 0.704276 | 0 | 0.002375 | 0.07716 | 0.012279 | 0 | 0 | 0 | 0.001035 | 0.087886 | 1 | 0.06057 | false | 0.015439 | 0.032067 | 0 | 0.10095 | 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 |
4557ecfd9097806ebda9fb7d86243f13bafec3a0 | 6,130 | py | Python | tests/scripts/test_pkgcheck_show.py | floppym/pkgcheck | 07215eac255a88b3a0c351f35626a1c79d9f2632 | [
"BSD-3-Clause"
] | 18 | 2015-04-24T23:15:30.000Z | 2022-02-14T04:14:56.000Z | tests/scripts/test_pkgcheck_show.py | floppym/pkgcheck | 07215eac255a88b3a0c351f35626a1c79d9f2632 | [
"BSD-3-Clause"
] | 351 | 2015-03-08T07:07:47.000Z | 2022-03-21T11:57:58.000Z | tests/scripts/test_pkgcheck_show.py | floppym/pkgcheck | 07215eac255a88b3a0c351f35626a1c79d9f2632 | [
"BSD-3-Clause"
] | 19 | 2015-03-08T01:16:10.000Z | 2022-03-17T10:37:26.000Z | import itertools
from functools import partial
from unittest.mock import patch
import pytest
from pkgcheck import __title__ as project
from pkgcheck import base, objects
from pkgcheck.addons import caches
from pkgcheck.scripts import run
class TestPkgcheckShow:
script = partial(run, project)
@pytest.fixtur... | 38.553459 | 69 | 0.514845 | 652 | 6,130 | 4.779141 | 0.139571 | 0.06258 | 0.042362 | 0.056483 | 0.811617 | 0.794288 | 0.77439 | 0.77439 | 0.77439 | 0.77439 | 0 | 0.002877 | 0.376346 | 6,130 | 158 | 70 | 38.797468 | 0.812189 | 0.054323 | 0 | 0.756098 | 0 | 0 | 0.033725 | 0 | 0 | 0 | 0 | 0 | 0.268293 | 1 | 0.056911 | false | 0 | 0.065041 | 0 | 0.138211 | 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 |
b3447643bc55400e00274745b46d7ceb13d1e340 | 22,245 | py | Python | semitorchclass.py | yuachen/CausalDA | 5e376d209b6632b4920482db4bbe2727086ce133 | [
"MIT"
] | 15 | 2020-10-30T14:28:43.000Z | 2022-03-30T07:12:59.000Z | semitorchclass.py | yuachen/CausalDA | 5e376d209b6632b4920482db4bbe2727086ce133 | [
"MIT"
] | 2 | 2022-01-22T06:30:25.000Z | 2022-02-10T03:07:00.000Z | semitorchclass.py | yuachen/CausalDA | 5e376d209b6632b4920482db4bbe2727086ce133 | [
"MIT"
] | null | null | null | """
``semitorchclass`` provides classes implementing various domain adaptation methods using torch and gradient method.
All domain adaptation methods have to be subclass of BaseEstimator.
This implementation takes advantage of gradient method to optimize covariance match or MMD match in addition to mean match.
"""
fro... | 35.936995 | 154 | 0.567139 | 2,874 | 22,245 | 4.300278 | 0.092902 | 0.025488 | 0.025488 | 0.007929 | 0.805729 | 0.79966 | 0.783963 | 0.757909 | 0.744397 | 0.725625 | 0 | 0.027882 | 0.303484 | 22,245 | 618 | 155 | 35.995146 | 0.769782 | 0.122095 | 0 | 0.782609 | 0 | 0 | 0.01709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08238 | false | 0 | 0.016018 | 0.016018 | 0.199085 | 0.002288 | 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 |
2fd70f35f3a2ab4727a44f5561b1b6228f9347b9 | 60 | py | Python | tests/test_ttarray.py | sonnerm/ttarray | c962cb2be303dfdb6743aa802bd11b89043e7b71 | [
"MIT"
] | null | null | null | tests/test_ttarray.py | sonnerm/ttarray | c962cb2be303dfdb6743aa802bd11b89043e7b71 | [
"MIT"
] | null | null | null | tests/test_ttarray.py | sonnerm/ttarray | c962cb2be303dfdb6743aa802bd11b89043e7b71 | [
"MIT"
] | null | null | null | import pytest
import ttarray
def test_something():
pass
| 12 | 21 | 0.766667 | 8 | 60 | 5.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 60 | 4 | 22 | 15 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
6406f8cbda6175caa1a4d0f74f58b756f7d28f22 | 6,821 | py | Python | loldib/getratings/models/NA/na_kassadin/na_kassadin_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_kassadin/na_kassadin_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_kassadin/na_kassadin_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Kassadin_Bot_Aatrox(Ratings):
pass
class NA_Kassadin_Bot_Ahri(Ratings):
pass
class NA_Kassadin_Bot_Akali(Ratings):
pass
class NA_Kassadin_Bot_Alistar(Ratings):
pass
class NA_Kassadin_Bot_Amumu(Ratings):
pass
class NA_Kassadin_Bot_Anivia(... | 16.357314 | 46 | 0.776133 | 972 | 6,821 | 5.020576 | 0.151235 | 0.197951 | 0.42418 | 0.509016 | 0.814139 | 0.814139 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162879 | 6,821 | 416 | 47 | 16.396635 | 0.854641 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
640eb87ae946b66624c83e81f7a7d4c8a6f75cbd | 6,996 | py | Python | src/styles.py | topher-lo/simple-data-flow | b921037c5ef7f65533953d17ab4be9153a3e19a3 | [
"MIT"
] | 7 | 2021-05-04T13:28:49.000Z | 2022-03-26T10:18:06.000Z | src/styles.py | topher-lo/simple-data-flow | b921037c5ef7f65533953d17ab4be9153a3e19a3 | [
"MIT"
] | null | null | null | src/styles.py | topher-lo/simple-data-flow | b921037c5ef7f65533953d17ab4be9153a3e19a3 | [
"MIT"
] | 1 | 2021-05-17T09:16:30.000Z | 2021-05-17T09:16:30.000Z | """Code for custom Altair themes.
Available themes:
- streamlit -- matches theme in Streamlit website
- ggplot2 -- hybrid between Streamlit's and ggplot2's themes.
"""
def streamlit_theme():
font = "IBM Plex Mono"
primary_color = "#F63366"
font_color = "#262730"
grey_color = "#f0f2f6"
base_size =... | 30.819383 | 84 | 0.345483 | 432 | 6,996 | 5.412037 | 0.256944 | 0.102652 | 0.068435 | 0.061591 | 0.867408 | 0.867408 | 0.867408 | 0.867408 | 0.867408 | 0.867408 | 0 | 0.108961 | 0.519869 | 6,996 | 226 | 85 | 30.955752 | 0.587079 | 0.032447 | 0 | 0.872038 | 0 | 0 | 0.217816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009479 | false | 0.004739 | 0 | 0 | 0.018957 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ff42a6ba8f96b677781f8a10c6c80c4b4f62f230 | 1,452 | py | Python | examples/op_mode.py | thechenderson/bme68x-python-library | ba3d0235509487e7c556887d5e96e669130b1150 | [
"MIT"
] | null | null | null | examples/op_mode.py | thechenderson/bme68x-python-library | ba3d0235509487e7c556887d5e96e669130b1150 | [
"MIT"
] | null | null | null | examples/op_mode.py | thechenderson/bme68x-python-library | ba3d0235509487e7c556887d5e96e669130b1150 | [
"MIT"
] | null | null | null | # This example tests and demonstrates the operation modes
# FORCED_MODE, PARALLEL_MODE and SEQUENTIAL_MODE
# Without use of BSEC and
# With use of BSEC
from bme68x import BME68X
import bme68xConstants as cnst
import bsecConstants as bsec
temp_prof = [320, 100, 100, 100, 200, 200, 200, 320, 320, 320]
dur_prof = [5, 2,... | 36.3 | 83 | 0.777548 | 233 | 1,452 | 4.587983 | 0.23176 | 0.130964 | 0.072965 | 0.106642 | 0.739944 | 0.734331 | 0.714687 | 0.703461 | 0.703461 | 0.703461 | 0 | 0.072252 | 0.103994 | 1,452 | 39 | 84 | 37.230769 | 0.749424 | 0.098485 | 0 | 0.709677 | 0 | 0 | 0.115798 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.096774 | 0 | 0.096774 | 0.645161 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
ff76b4776ef37641df5ab7a9f43722dbf428457a | 97 | py | Python | libcsbuild/__init__.py | Suresoft-GLaDOS/cxbuild | 1eb568bc11ae8854b1a6025c969ec94c96d6a4a9 | [
"MIT"
] | 2 | 2021-11-01T02:11:59.000Z | 2021-11-04T09:19:45.000Z | libcsbuild/__init__.py | HansolChoe/cxbuild | c289e40efdf92f34e7781772b3b84e0a1c7d0af2 | [
"MIT"
] | 3 | 2021-11-04T06:23:38.000Z | 2021-11-19T01:54:05.000Z | libcsbuild/__init__.py | HansolChoe/cxbuild | c289e40efdf92f34e7781772b3b84e0a1c7d0af2 | [
"MIT"
] | 2 | 2021-11-01T03:01:28.000Z | 2021-11-04T09:19:28.000Z | from libcsbuild.variable import *
from libcsbuild.console import *
from libcsbuild.Args import *
| 24.25 | 33 | 0.814433 | 12 | 97 | 6.583333 | 0.5 | 0.531646 | 0.506329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 97 | 3 | 34 | 32.333333 | 0.929412 | 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 |
ff861e0535b060a27cbec23c0e99677ed389b40c | 14,083 | py | Python | deltaRNN.py | cr7anand/neural_temporal_models | 0b72be14e1fba0ed681322994e09116496ff19e8 | [
"MIT"
] | 20 | 2019-07-05T09:27:20.000Z | 2022-03-28T06:36:10.000Z | deltaRNN.py | cr7anand/neural_temporal_models | 0b72be14e1fba0ed681322994e09116496ff19e8 | [
"MIT"
] | 4 | 2019-10-09T15:37:53.000Z | 2020-05-26T08:24:02.000Z | deltaRNN.py | cr7anand/neural_temporal_models | 0b72be14e1fba0ed681322994e09116496ff19e8 | [
"MIT"
] | 3 | 2020-04-27T07:56:01.000Z | 2022-01-25T09:37:59.000Z | #"""
#Author :- Ankur Mali
#"""
import os
import sys
import tensorflow as tf
import numpy as np
#from tensorflow.python.ops.rnn_cell import RNNCell
#from rnn_cell_impl import RNNCell
from rnn_cell_implement import RNNCell
class DeltaRNNCell(RNNCell):
#"""
#Delta RNN - Differential Framework.
#Alexander G.... | 38.373297 | 159 | 0.591848 | 1,736 | 14,083 | 4.483871 | 0.112903 | 0.043165 | 0.060123 | 0.051259 | 0.877184 | 0.867677 | 0.860868 | 0.855473 | 0.850462 | 0.849949 | 0 | 0.014074 | 0.318895 | 14,083 | 366 | 160 | 38.478142 | 0.797435 | 0.155507 | 0 | 0.804444 | 0 | 0 | 0.036624 | 0.001945 | 0 | 0 | 0 | 0 | 0.013333 | 1 | 0.097778 | false | 0 | 0.022222 | 0.04 | 0.222222 | 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 |
446195e2ac303682c42a162a978e93c5f3aaf75a | 135,080 | py | Python | nfv/nfv-plugins/nfv_plugins/nfvi_plugins/nfvi_compute_api.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | null | null | null | nfv/nfv-plugins/nfv_plugins/nfvi_plugins/nfvi_compute_api.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | null | null | null | nfv/nfv-plugins/nfv_plugins/nfvi_plugins/nfvi_compute_api.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | null | null | null | #
# Copyright (c) 2015-2018 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
import collections
import json
from six.moves import http_client as httplib
import socket
import uuid
from nfv_common import debug
from nfv_common import timers
from nfv_common.helpers import coroutine
from nfv_common.helpe... | 39.187699 | 84 | 0.555219 | 13,719 | 135,080 | 5.201618 | 0.036081 | 0.053475 | 0.016185 | 0.034136 | 0.83945 | 0.80366 | 0.772551 | 0.740587 | 0.714368 | 0.689508 | 0 | 0.000806 | 0.366205 | 135,080 | 3,446 | 85 | 39.199071 | 0.832724 | 0.023527 | 0 | 0.716184 | 0 | 0 | 0.102974 | 0.004779 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026167 | false | 0.002818 | 0.007649 | 0.002013 | 0.075684 | 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 |
9290bc4c51d4adfeb3e35f4fa6da7942ab6ab775 | 3,723 | py | Python | tspsolver/ga/test/mutation_test.py | samueljackson92/tsp-solver | 4f6403b40c7ba9062a9b7ffdde5e7d594163bc2f | [
"MIT"
] | 2 | 2018-12-03T14:37:48.000Z | 2020-12-01T23:13:56.000Z | tspsolver/ga/test/mutation_test.py | samueljackson92/tsp-solver | 4f6403b40c7ba9062a9b7ffdde5e7d594163bc2f | [
"MIT"
] | null | null | null | tspsolver/ga/test/mutation_test.py | samueljackson92/tsp-solver | 4f6403b40c7ba9062a9b7ffdde5e7d594163bc2f | [
"MIT"
] | null | null | null | import unittest
import nose.tools
import numpy as np
from scipy.spatial import distance_matrix
from tspsolver.tsp_generator import TSPGenerator
from ..population_generation import SimplePopulationGenerator
from ..mutation import (SwapCityMutation, DisplacementMutation,
InversionMutation, Insert... | 32.373913 | 70 | 0.674725 | 462 | 3,723 | 5.179654 | 0.145022 | 0.045132 | 0.04346 | 0.040953 | 0.834099 | 0.787296 | 0.787296 | 0.787296 | 0.787296 | 0.787296 | 0 | 0.019441 | 0.212463 | 3,723 | 114 | 71 | 32.657895 | 0.796726 | 0 | 0 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 1 | 0.139241 | false | 0 | 0.088608 | 0 | 0.278481 | 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 |
92981972f37fcc016ce2da0ef71612c139a3d12a | 5,568 | py | Python | stac_fastapi_asset_search/client.py | cedadev/stac-asset-search-ext | aaacd7d072ec89f016361a856f42d3c5bac3b486 | [
"BSD-3-Clause"
] | null | null | null | stac_fastapi_asset_search/client.py | cedadev/stac-asset-search-ext | aaacd7d072ec89f016361a856f42d3c5bac3b486 | [
"BSD-3-Clause"
] | null | null | null | stac_fastapi_asset_search/client.py | cedadev/stac-asset-search-ext | aaacd7d072ec89f016361a856f42d3c5bac3b486 | [
"BSD-3-Clause"
] | null | null | null |
"""Base clients."""
import abc
from datetime import datetime
from typing import List, Optional, Union
import attr
from .types import Asset, AssetCollection, AssetSearchPostRequest, AssetSearchGetRequest
from stac_fastapi.types.extension import ApiExtension
from stac_fastapi.api.models import create_request_model
Num... | 33.341317 | 93 | 0.633441 | 595 | 5,568 | 5.796639 | 0.156303 | 0.051029 | 0.04639 | 0.044071 | 0.849522 | 0.819948 | 0.799072 | 0.779936 | 0.751522 | 0.751522 | 0 | 0.000967 | 0.256825 | 5,568 | 166 | 94 | 33.542169 | 0.832528 | 0.296157 | 0 | 0.782609 | 0 | 0 | 0.014104 | 0.01213 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0.076087 | 0 | 0.293478 | 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 |
2baef738c5c00687be8fa00eeae91290de2c0332 | 3,979 | py | Python | vmware-ose-common-test-suites/prj/test_data/test_object/test_object.py | csgtree/object-storage-extension-samples | 397f3033ddd4aa1bb1e2079a9e77309a78cc0b0d | [
"Apache-2.0"
] | 6 | 2020-09-11T02:52:42.000Z | 2021-04-19T11:20:42.000Z | vmware-ose-common-test-suites/prj/test_data/test_object/test_object.py | csgtree/object-storage-extension-samples | 397f3033ddd4aa1bb1e2079a9e77309a78cc0b0d | [
"Apache-2.0"
] | 5 | 2020-12-21T20:14:59.000Z | 2022-03-21T14:35:43.000Z | vmware-ose-common-test-suites/prj/test_data/test_object/test_object.py | csgtree/object-storage-extension-samples | 397f3033ddd4aa1bb1e2079a9e77309a78cc0b0d | [
"Apache-2.0"
] | 4 | 2021-07-20T09:07:52.000Z | 2022-03-21T14:33:44.000Z | from framework.libs.common.utils import load_csv
import os
# TODO
def test_copy_object_provider():
f_name = "test_copy_object_prov.csv"
folder = os.path.dirname(__file__)
return load_csv(os.path.join(folder, f_name))
def test_delete_object_provider():
f_name = "test_delete_object_prov.csv"
folde... | 28.421429 | 58 | 0.749686 | 620 | 3,979 | 4.282258 | 0.070968 | 0.082863 | 0.107721 | 0.140866 | 0.932957 | 0.896422 | 0.769115 | 0.723917 | 0.723917 | 0.723917 | 0 | 0.000587 | 0.143001 | 3,979 | 139 | 59 | 28.625899 | 0.778006 | 0.001005 | 0 | 0.478261 | 0 | 0 | 0.170652 | 0.163856 | 0 | 0 | 0 | 0.007194 | 0 | 1 | 0.23913 | false | 0.01087 | 0.021739 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2bb50e9239c756b8398da4da092e7d9c3b7b8440 | 139 | py | Python | src/sdios/api/sdis/__init__.py | hyperqube-io/sdios-api-sdk | 17b9b2062933f2dd39cc5e929cd439eab60eba8a | [
"MIT"
] | null | null | null | src/sdios/api/sdis/__init__.py | hyperqube-io/sdios-api-sdk | 17b9b2062933f2dd39cc5e929cd439eab60eba8a | [
"MIT"
] | null | null | null | src/sdios/api/sdis/__init__.py | hyperqube-io/sdios-api-sdk | 17b9b2062933f2dd39cc5e929cd439eab60eba8a | [
"MIT"
] | null | null | null | from sdios.api.sdis.machine import MachineDriver
from sdios.api.sdis.network import NetworkDriver
from sdios.api.sdis.sdi import SDIDriver
| 34.75 | 48 | 0.848921 | 21 | 139 | 5.619048 | 0.52381 | 0.228814 | 0.305085 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086331 | 139 | 3 | 49 | 46.333333 | 0.929134 | 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 |
a69a0b577ea2950bef0ff2df42d1195edf26a35a | 123 | py | Python | src/syntaxd/__init__.py | noe/iterative_expansion_lms | a5533a60f6f749673dae2329eeae0646ee2b740d | [
"MIT"
] | 5 | 2020-11-25T11:26:27.000Z | 2021-03-31T14:19:40.000Z | src/syntaxd/__init__.py | noe/iterative_expansion_lms | a5533a60f6f749673dae2329eeae0646ee2b740d | [
"MIT"
] | 1 | 2021-05-12T13:51:15.000Z | 2021-05-12T13:51:15.000Z | src/syntaxd/__init__.py | noe/iterative_expansion_lms | a5533a60f6f749673dae2329eeae0646ee2b740d | [
"MIT"
] | null | null | null |
from syntaxd.fairseq.task import *
from syntaxd.fairseq.model.transformer import *
from syntaxd.fairseq.criterion import * | 30.75 | 47 | 0.821138 | 16 | 123 | 6.3125 | 0.5 | 0.326733 | 0.534653 | 0.475248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 123 | 4 | 48 | 30.75 | 0.90991 | 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 |
a69fac406e557948f64765a9dc163e61e0ab0ea9 | 6,708 | py | Python | components/micropython/modules/hackerhotel2019/dashboard/resources/png_icons.py | badgeteam/Firmware | 6192b2902c70beb7a298a256d9087274d045fbc0 | [
"Apache-2.0"
] | 7 | 2019-02-11T10:02:14.000Z | 2019-08-02T00:08:45.000Z | components/micropython/modules/hackerhotel2019/dashboard/resources/png_icons.py | badgeteam/Firmware | 6192b2902c70beb7a298a256d9087274d045fbc0 | [
"Apache-2.0"
] | 17 | 2019-01-05T18:02:11.000Z | 2019-03-09T21:46:43.000Z | components/micropython/modules/hackerhotel2019/dashboard/resources/png_icons.py | badgeteam/Firmware | 6192b2902c70beb7a298a256d9087274d045fbc0 | [
"Apache-2.0"
] | 4 | 2019-02-15T16:03:20.000Z | 2019-06-27T22:23:24.000Z | import uos
names = ["alert", "bell", "bug", "busy", "charge", "crown", "earth", "flag", "music", "ok", "wifi", "usb"]
data = [
b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x14\x00\x00\x00\x14\x01\x03\x00\x00\x00\xb7G\x8fN\x00\x00\x00\x06PLTE\xff\xff\xff\x00\x00\x00U\xc2\xd3~\x00\x00\x00\tpHYs\x00\x00\x0e\xc4\x00\... | 149.066667 | 633 | 0.729129 | 1,526 | 6,708 | 3.203145 | 0.216907 | 0.272504 | 0.163871 | 0.05401 | 0.480565 | 0.474427 | 0.469722 | 0.469722 | 0.469722 | 0.453151 | 0 | 0.30292 | 0.014759 | 6,708 | 44 | 634 | 152.454545 | 0.436677 | 0 | 0 | 0.206897 | 0 | 0.413793 | 0.946482 | 0.933512 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.068966 | 0.034483 | 0 | 0.034483 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
a6c7f91c25b0bddfbd85b1171655d57440f3dcce | 1,865 | py | Python | Validation/Rapports_automatiques/Verification/IBM_PDF/clean.py | cea-trust-platform/trust-code | c4f42d8f8602a8cc5e0ead0e29dbf0be8ac52f72 | [
"BSD-3-Clause"
] | 12 | 2021-06-30T18:50:38.000Z | 2022-03-23T09:03:16.000Z | Validation/Rapports_automatiques/Verification/IBM_PDF/clean.py | pledac/trust-code | 46ab5c5da3f674185f53423090f526a38ecdbad1 | [
"BSD-3-Clause"
] | null | null | null | Validation/Rapports_automatiques/Verification/IBM_PDF/clean.py | pledac/trust-code | 46ab5c5da3f674185f53423090f526a38ecdbad1 | [
"BSD-3-Clause"
] | 2 | 2021-10-04T09:19:39.000Z | 2021-12-15T14:21:04.000Z | import os
os.system("rm src/*/*.Zones*")
os.system("rm src/*/*DEC*")
os.system("rm src/*/*PAR*")
os.system("rm src/*/*SEQ*")
#POISEUILLE ALIGNED
os.system("cd src/poiseuille_pdf_align && trust -clean")
#POISEUILLE TILTED
os.system("cd src/poiseuille_pdf_tilt_11_dir && trust -clean")
os.system("cd src/poiseuille_pdf_... | 47.820513 | 72 | 0.776944 | 319 | 1,865 | 4.181818 | 0.100313 | 0.173913 | 0.187406 | 0.243628 | 0.865817 | 0.865817 | 0.832834 | 0.804348 | 0.78036 | 0.6994 | 0 | 0.027923 | 0.078284 | 1,865 | 39 | 73 | 47.820513 | 0.748109 | 0.030563 | 0 | 0 | 0 | 0 | 0.764543 | 0.468698 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.033333 | 0 | 0.033333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
5bdbf37e6b9276fbf48ed7bd3ac9926107f80886 | 140 | py | Python | pyfacebook/api/instagram_basic/resource/__init__.py | sns-sdks/python-facebook | 9536d30393dee8b2a887b81f103d76262a677eee | [
"Apache-2.0"
] | 181 | 2019-08-28T10:03:49.000Z | 2022-03-26T19:36:05.000Z | pyfacebook/api/instagram_basic/resource/__init__.py | sns-sdks/python-facebook | 9536d30393dee8b2a887b81f103d76262a677eee | [
"Apache-2.0"
] | 159 | 2019-08-28T10:07:43.000Z | 2022-03-30T16:42:23.000Z | pyfacebook/api/instagram_basic/resource/__init__.py | sns-sdks/python-facebook | 9536d30393dee8b2a887b81f103d76262a677eee | [
"Apache-2.0"
] | 40 | 2019-09-10T20:12:47.000Z | 2022-03-12T16:16:46.000Z | from pyfacebook.api.instagram_basic.resource.user import IGBasicUser
from pyfacebook.api.instagram_basic.resource.media import IGBasicMedia
| 46.666667 | 70 | 0.885714 | 18 | 140 | 6.777778 | 0.611111 | 0.229508 | 0.278689 | 0.42623 | 0.639344 | 0.639344 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 140 | 2 | 71 | 70 | 0.924242 | 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 |
750c0f6009442b2042080833151a9be6076073a0 | 7,879 | py | Python | tests/core/test_print_tty.py | bhardiegodaddy/aws-okta-processor | a78e99dcfbdc03135cab509e3784308f66c2d825 | [
"MIT"
] | 63 | 2019-02-28T16:39:35.000Z | 2022-03-04T19:36:17.000Z | tests/core/test_print_tty.py | bhardiegodaddy/aws-okta-processor | a78e99dcfbdc03135cab509e3784308f66c2d825 | [
"MIT"
] | 42 | 2019-04-12T22:18:15.000Z | 2022-03-18T01:28:48.000Z | tests/core/test_print_tty.py | bhardiegodaddy/aws-okta-processor | a78e99dcfbdc03135cab509e3784308f66c2d825 | [
"MIT"
] | 16 | 2019-03-16T20:40:56.000Z | 2022-03-29T13:59:38.000Z | from unittest import TestCase
from mock import patch
from mock import call
from mock import MagicMock
import aws_okta_processor.core.print_tty as print_tty
class Test(TestCase):
@patch('aws_okta_processor.core.print_tty.import_msvcrt')
@patch('aws_okta_processor.core.print_tty.contextlib2')
@patch('aws_o... | 37.341232 | 90 | 0.674832 | 994 | 7,879 | 4.924547 | 0.075453 | 0.096425 | 0.101328 | 0.12666 | 0.972421 | 0.968948 | 0.94954 | 0.94954 | 0.94954 | 0.947089 | 0 | 0.005442 | 0.230359 | 7,879 | 210 | 91 | 37.519048 | 0.801781 | 0.003046 | 0 | 0.886486 | 0 | 0 | 0.175691 | 0.160148 | 0 | 0 | 0 | 0 | 0.151351 | 1 | 0.048649 | false | 0 | 0.183784 | 0 | 0.237838 | 0.297297 | 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 |
755c22370f1b6bc7d1af3dc14a5cd4ad5d40a140 | 111 | py | Python | merkle_prefix_tree/__init__.py | abadhikari/merkle-prefix-tree | beac8c47c544d1ce1d507eadafbe694c0ac67a61 | [
"MIT"
] | null | null | null | merkle_prefix_tree/__init__.py | abadhikari/merkle-prefix-tree | beac8c47c544d1ce1d507eadafbe694c0ac67a61 | [
"MIT"
] | null | null | null | merkle_prefix_tree/__init__.py | abadhikari/merkle-prefix-tree | beac8c47c544d1ce1d507eadafbe694c0ac67a61 | [
"MIT"
] | 1 | 2021-12-02T08:31:27.000Z | 2021-12-02T08:31:27.000Z | from merkle_prefix_tree.tree import MerklePrefixTree
from merkle_prefix_tree.exceptions import AppendOnlyError | 55.5 | 57 | 0.90991 | 14 | 111 | 6.928571 | 0.571429 | 0.206186 | 0.329897 | 0.412371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072072 | 111 | 2 | 57 | 55.5 | 0.941748 | 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 |
f3433894ff8d695fb1e2497632a47ce34d447dd9 | 13,376 | py | Python | pybench/Exceptions.py | haypo/pymicrobench | 7c6b92deaf5cf0c3fc965fcfcbc6a78f7d0d10f4 | [
"MIT"
] | 3 | 2018-01-17T18:45:23.000Z | 2020-10-02T06:26:03.000Z | pybench/Exceptions.py | vstinner/pymicrobench | 7c6b92deaf5cf0c3fc965fcfcbc6a78f7d0d10f4 | [
"MIT"
] | null | null | null | pybench/Exceptions.py | vstinner/pymicrobench | 7c6b92deaf5cf0c3fc965fcfcbc6a78f7d0d10f4 | [
"MIT"
] | 4 | 2018-01-17T18:45:23.000Z | 2020-10-08T15:24:51.000Z | # Ignore flake8 E722 warning in the whole file:
# flake8: noqa
import pyperf
from six.moves import xrange
from pybench import Test
class TryRaiseExcept(Test):
version = 2.0
operations = 2 + 3 + 3
inner_loops = 8
def test(self, loops):
error = ValueError
range_it = xrange(loops)
... | 19.44186 | 47 | 0.243122 | 743 | 13,376 | 4.3607 | 0.065949 | 0.487654 | 0.625926 | 0.787037 | 0.925926 | 0.911728 | 0.911728 | 0.896296 | 0.896296 | 0.896296 | 0 | 0.007381 | 0.726525 | 13,376 | 687 | 48 | 19.47016 | 0.878349 | 0.006654 | 0 | 0.984709 | 0 | 0 | 0.00542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003058 | false | 0.470948 | 0.004587 | 0 | 0.022936 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 12 |
f3877c95da836efb30850a70a58dbe2d7d78ec9c | 11,423 | py | Python | platform/core/tests/test_auditor/test_auditor_permission.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/tests/test_auditor/test_auditor_permission.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/tests/test_auditor/test_auditor_permission.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | # pylint:disable=ungrouped-imports
from unittest.mock import patch
import pytest
import auditor
from events.registry import permission as permission_events
from tests.test_auditor.utils import AuditorBaseTest
@pytest.mark.auditor_mark
class AuditorPermissionTest(AuditorBaseTest):
"""Testing subscribed events"... | 44.972441 | 87 | 0.565701 | 1,011 | 11,423 | 6.059347 | 0.064293 | 0.089781 | 0.097943 | 0.052236 | 0.934215 | 0.887202 | 0.853738 | 0.853738 | 0.853738 | 0.853738 | 0 | 0.010906 | 0.365841 | 11,423 | 253 | 88 | 45.150198 | 0.83476 | 0.005165 | 0 | 0.806306 | 0 | 0 | 0.18225 | 0.170805 | 0 | 0 | 0 | 0 | 0.18018 | 1 | 0.04955 | false | 0 | 0.022523 | 0 | 0.081081 | 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 |
f3953eab61ec80e70e1d8ec938382866c724f9e1 | 176 | py | Python | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/models/__init__.py | leotang1218/cookiecutter-flask-restful | fce15fefaa86a8818f9ea4cdb1f841066ca9efec | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/models/__init__.py | leotang1218/cookiecutter-flask-restful | fce15fefaa86a8818f9ea4cdb1f841066ca9efec | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/models/__init__.py | leotang1218/cookiecutter-flask-restful | fce15fefaa86a8818f9ea4cdb1f841066ca9efec | [
"MIT"
] | null | null | null | from {{cookiecutter.app_name}}.models.mongo.user import User
from {{cookiecutter.app_name}}.models.mongo.blacklist import TokenBlacklist
__all__ = ["User", "TokenBlacklist"]
| 29.333333 | 75 | 0.784091 | 21 | 176 | 6.285714 | 0.52381 | 0.242424 | 0.287879 | 0.348485 | 0.515152 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 176 | 5 | 76 | 35.2 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.666667 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
f3ab152e8f323507dd9f596711d9bee546123602 | 939,477 | py | Python | projects/src/main/python/CodeJam/Y14R5P1/frank/generated_py_0d9ff97ab25c4fb6bc156877a2ccb79c.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 5 | 2020-04-05T18:04:13.000Z | 2021-04-13T20:34:19.000Z | projects/src/main/python/CodeJam/Y14R5P1/frank/generated_py_0d9ff97ab25c4fb6bc156877a2ccb79c.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 1 | 2020-04-29T21:42:26.000Z | 2020-05-01T23:45:45.000Z | projects/src/main/python/CodeJam/Y14R5P1/frank/generated_py_0d9ff97ab25c4fb6bc156877a2ccb79c.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 3 | 2020-01-27T16:02:14.000Z | 2021-02-08T13:25:15.000Z | import sys
sys.path.append('/home/george2/Raise/ProgramRepair/CodeSeer/projects/src/main/python')
from CodeJam.Y14R5P1.frank.p1 import *
def func_9366e54e3ba44f0393fb0a116c8c29d2(sum0, ps, j, i, sum1):
v1 = sum1[j]
tmp = max(sum0[i], v1, ps - v1)
return tmp
def func_c7028f344ca34ff7823f76348131104a(sum0,... | 31.27316 | 86 | 0.399409 | 128,132 | 939,477 | 2.918615 | 0.009319 | 0.056462 | 0.080285 | 0.083911 | 0.903735 | 0.903735 | 0.903714 | 0.903692 | 0.903508 | 0.90324 | 0 | 0.108419 | 0.453301 | 939,477 | 30,040 | 87 | 31.274201 | 0.619697 | 0 | 0 | 0.959722 | 0 | 0 | 0.022604 | 0.005159 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.000072 | null | null | 0.019491 | 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 |
45ebdaca1fb0ed459128e9b5189dfe0277fb3569 | 327 | py | Python | checkers/staff/chklib/utils.py | amreo/ructfe-2019 | 19064842acc57243f16143a85c06a5613378ebec | [
"MIT"
] | 23 | 2019-11-23T19:53:10.000Z | 2021-02-19T06:13:28.000Z | checkers/staff/chklib/utils.py | amreo/ructfe-2019 | 19064842acc57243f16143a85c06a5613378ebec | [
"MIT"
] | 3 | 2021-03-31T19:21:51.000Z | 2021-06-08T20:31:48.000Z | checkers/staff/chklib/utils.py | amreo/ructfe-2019 | 19064842acc57243f16143a85c06a5613378ebec | [
"MIT"
] | 3 | 2019-11-24T09:35:43.000Z | 2021-02-19T06:13:29.000Z | from random import randint, randrange
from string import ascii_uppercase
def generate_flag():
return "".join(ascii_uppercase[randint(0, len(ascii_uppercase)-1)] for _ in range(31)) + "="
def generate_random_text():
return "".join(ascii_uppercase[randint(0, len(ascii_uppercase)-1)] for _ in range(randrange(3... | 32.7 | 104 | 0.740061 | 47 | 327 | 4.93617 | 0.489362 | 0.301724 | 0.12931 | 0.206897 | 0.517241 | 0.517241 | 0.517241 | 0.517241 | 0.517241 | 0.517241 | 0 | 0.031469 | 0.125382 | 327 | 10 | 104 | 32.7 | 0.77972 | 0 | 0 | 0 | 1 | 0 | 0.003049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
3408c87f0b0f4ebc68b594f489beba49f4e181eb | 12,077 | py | Python | plot_cutout_2d.py | pdn4kd/isochoric-expander | 56bfdc3c7efb3a242ff4ae4c556d70bb7f171e5f | [
"MIT"
] | null | null | null | plot_cutout_2d.py | pdn4kd/isochoric-expander | 56bfdc3c7efb3a242ff4ae4c556d70bb7f171e5f | [
"MIT"
] | null | null | null | plot_cutout_2d.py | pdn4kd/isochoric-expander | 56bfdc3c7efb3a242ff4ae4c556d70bb7f171e5f | [
"MIT"
] | null | null | null | '''generates a list of false positives, etc. Also plots along the relevant parameter space.'''
import numpy as np
import matplotlib.pyplot as plt
stars = np.genfromtxt("matched_65p.csv", delimiter=",", names=True, dtype=None)
nplanets = [(1,7)]
for minplanets, maxplanets in nplanets:
f65p_false_per = [star["per"] for... | 125.802083 | 565 | 0.677983 | 2,080 | 12,077 | 3.655288 | 0.065385 | 0.081941 | 0.084177 | 0.064448 | 0.888465 | 0.816257 | 0.796659 | 0.782454 | 0.715507 | 0.689596 | 0 | 0.061675 | 0.096464 | 12,077 | 95 | 566 | 127.126316 | 0.635081 | 0.064586 | 0 | 0 | 1 | 0 | 0.226004 | 0.005052 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025 | 0 | 0.025 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
340b99c672475b2c9ff183951071d02a783897bc | 3,670 | py | Python | tools/fileinfo/bugs/mips-64-bit-multiple-relocations-in-one-entry/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2017-12-14T14:25:17.000Z | 2019-03-09T03:29:12.000Z | tools/fileinfo/bugs/mips-64-bit-multiple-relocations-in-one-entry/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 10 | 2019-06-14T09:12:55.000Z | 2021-10-01T12:15:43.000Z | tools/fileinfo/bugs/mips-64-bit-multiple-relocations-in-one-entry/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2019-05-10T14:59:48.000Z | 2022-03-07T16:34:23.000Z | from regression_tests import *
class Test1893MipsRelocations(Test):
settings=TestSettings(
tool='fileinfo',
args='--json --verbose',
input=['ioftell-le.o', 'ioftell-be.o']
)
def test_fileinfo_does_correctly_interpet_mips64_relocs(self):
assert self.fileinfo.succeeded
... | 54.776119 | 109 | 0.638692 | 360 | 3,670 | 6.441667 | 0.152778 | 0.150065 | 0.221216 | 0.31436 | 0.934455 | 0.934455 | 0.934455 | 0.934455 | 0.934455 | 0.829237 | 0 | 0.036748 | 0.162125 | 3,670 | 66 | 110 | 55.606061 | 0.717398 | 0 | 0 | 0.451613 | 0 | 0 | 0.298093 | 0 | 0 | 0 | 0.013352 | 0 | 0.467742 | 1 | 0.032258 | false | 0 | 0.016129 | 0 | 0.112903 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
344b1bd36b49b66eaa39053c18e65539dce491af | 25,809 | py | Python | sub_path.py | mckaymckay/Unsupervised-learning | 46d627fc5b24043ebb6f2e3b4388b66be3ece7d5 | [
"MIT"
] | null | null | null | sub_path.py | mckaymckay/Unsupervised-learning | 46d627fc5b24043ebb6f2e3b4388b66be3ece7d5 | [
"MIT"
] | null | null | null | sub_path.py | mckaymckay/Unsupervised-learning | 46d627fc5b24043ebb6f2e3b4388b66be3ece7d5 | [
"MIT"
] | null | null | null | [['0002/0091.png', '0002/0076.png', '0002/0017.png', '0002/0015.png', '0002/0014.png', '0002/0085.png', '0002/0082.png', '0002/0006.png', '0002/0087.png', '0002/0090.png', '0002/0009.png', '0002/0093.png', '0002/0011.png', '0002/0060.png', '0002/0007.png', '0002/0094.png', '0002/0075.png', '0002/0016.png', '0002/0013.p... | 25,809 | 25,809 | 0.668953 | 4,389 | 25,809 | 3.89542 | 0.108909 | 0.024975 | 0.027198 | 0.002457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.52764 | 0.054477 | 25,809 | 1 | 25,809 | 25,809 | 0.172971 | 0 | 0 | 0 | 0 | 0 | 0.777954 | 0.156219 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ca9f480d442cc50ec868a762fd97ea48581c0c39 | 139 | py | Python | app/main_page/routes.py | larsertoff/pwp | 1f156e3efc7b93345197329425e2928a470d3092 | [
"MIT"
] | null | null | null | app/main_page/routes.py | larsertoff/pwp | 1f156e3efc7b93345197329425e2928a470d3092 | [
"MIT"
] | null | null | null | app/main_page/routes.py | larsertoff/pwp | 1f156e3efc7b93345197329425e2928a470d3092 | [
"MIT"
] | null | null | null | import flask
from app.main_page import main_page
@main_page.route('/')
def home_page():
return flask.render_template('main_page.html') | 23.166667 | 50 | 0.769784 | 22 | 139 | 4.590909 | 0.590909 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107914 | 139 | 6 | 50 | 23.166667 | 0.814516 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
cabd0ef9c18b55894f3df62603f91de2f905c778 | 5,408 | py | Python | notebook/numpy_reshape.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 174 | 2018-05-30T21:14:50.000Z | 2022-03-25T07:59:37.000Z | notebook/numpy_reshape.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 5 | 2019-08-10T03:22:02.000Z | 2021-07-12T20:31:17.000Z | notebook/numpy_reshape.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 53 | 2018-04-27T05:26:35.000Z | 2022-03-25T07:59:37.000Z | import numpy as np
a = np.arange(24)
print(a)
# [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23]
print(a.shape)
# (24,)
print(a.ndim)
# 1
a_4_6 = a.reshape([4, 6])
print(a_4_6)
# [[ 0 1 2 3 4 5]
# [ 6 7 8 9 10 11]
# [12 13 14 15 16 17]
# [18 19 20 21 22 23]]
print(a_4_6.shape)... | 17.059937 | 75 | 0.537167 | 1,087 | 5,408 | 2.608096 | 0.078197 | 0.027513 | 0.037037 | 0.035273 | 0.86843 | 0.845503 | 0.814815 | 0.777072 | 0.748148 | 0.715344 | 0 | 0.254037 | 0.278661 | 5,408 | 316 | 76 | 17.113924 | 0.472699 | 0.655695 | 0 | 0.5 | 0 | 0 | 0.003599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015625 | 0 | 0.015625 | 0.671875 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 1 | 0 | 9 |
1b147e9d1b6e57f71054a7151e0d2dd17fff320e | 16,676 | py | Python | models/action.py | z1pti3/jimiPlugin-whoisxmlapi | 422b864b96c71750fdbbc475e1def32cb078321a | [
"Apache-2.0"
] | 1 | 2021-07-26T15:02:29.000Z | 2021-07-26T15:02:29.000Z | models/action.py | z1pti3/jimiPlugin-whoisxmlapi | 422b864b96c71750fdbbc475e1def32cb078321a | [
"Apache-2.0"
] | null | null | null | models/action.py | z1pti3/jimiPlugin-whoisxmlapi | 422b864b96c71750fdbbc475e1def32cb078321a | [
"Apache-2.0"
] | null | null | null | from core.models import action
from core import auth, db, helpers
from plugins.whoisxmlapi.includes import whoisxmlapi
class _whoisxmlapiWhois(action._action):
apiToken = str()
domainName = str()
def run(self,data,persistentData,actionResult):
domainName = helpers.evalString(self.domainName,{"dat... | 40.673171 | 111 | 0.64236 | 1,584 | 16,676 | 6.72601 | 0.058712 | 0.031537 | 0.052562 | 0.054064 | 0.871598 | 0.867468 | 0.857049 | 0.776704 | 0.771447 | 0.771447 | 0 | 0.006405 | 0.250959 | 16,676 | 409 | 112 | 40.772616 | 0.84653 | 0 | 0 | 0.818991 | 0 | 0 | 0.090735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083086 | false | 0.083086 | 0.008902 | 0 | 0.391691 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
1b8679eac57b0f343c1142b3d666c8701d426e9b | 4,570 | py | Python | demo/config/datasets.py | heurezjusz/Athena | 0bdda97b0e06dbb3c1699d4ed7875e4adc96d580 | [
"BSD-2-Clause"
] | 2 | 2016-02-02T12:59:39.000Z | 2018-03-29T17:17:11.000Z | demo/config/datasets.py | heurezjusz/Athenet | 0bdda97b0e06dbb3c1699d4ed7875e4adc96d580 | [
"BSD-2-Clause"
] | 5 | 2016-01-10T23:23:57.000Z | 2016-03-26T16:29:42.000Z | demo/config/datasets.py | heurezjusz/Athena | 0bdda97b0e06dbb3c1699d4ed7875e4adc96d580 | [
"BSD-2-Clause"
] | 1 | 2020-02-26T20:19:17.000Z | 2020-02-26T20:19:17.000Z |
"""
Dataset - set (list) of configs given to algorithm as an input.
"datasets" is a dictionary from algorithm shortcut to list of available
datasets.
Do not forget to update help message after changing!
"""
datasets = {
"sender": [[(0.3, 0.75)],
[(0.02, 1.0), (0.04, 1.0), (0.06, 1.0... | 56.419753 | 79 | 0.332166 | 986 | 4,570 | 1.539554 | 0.076065 | 0.088274 | 0.12253 | 0.079051 | 0.848485 | 0.839921 | 0.820158 | 0.808959 | 0.808959 | 0.808959 | 0 | 0.393845 | 0.367177 | 4,570 | 80 | 80 | 57.125 | 0.131051 | 0.043326 | 0 | 0.416667 | 0 | 0 | 0.007591 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 9 |
1bda2780957fe0c5300e9a6fe582fcb79fcf8884 | 5,190 | py | Python | api_connect/sampleClient.py | marctuscher/cv_pipeline | b641423e72ea292139a5e35a411e30c1e21c7070 | [
"MIT"
] | 1 | 2021-03-28T17:46:45.000Z | 2021-03-28T17:46:45.000Z | api_connect/sampleClient.py | jayef0/cv_pipeline | dc3b79062174f583a3a90ac8deea918c498c0dd5 | [
"MIT"
] | null | null | null | api_connect/sampleClient.py | jayef0/cv_pipeline | dc3b79062174f583a3a90ac8deea918c498c0dd5 | [
"MIT"
] | null | null | null | import requests
import json
import numpy as np
import sys
import cv2
import base64
def predictGQCNN_pj(img, d, fx, fy, cx, cy, host='http://127.0.0.1:5000', width=640, height=480, encoded=False, segmask=None):
url = host + '/gqcnnpj'
headers = {'content-type': 'application/json'}
if encoded:
_ ,img... | 51.386139 | 271 | 0.627746 | 754 | 5,190 | 4.220159 | 0.114058 | 0.084852 | 0.064111 | 0.069453 | 0.904148 | 0.893778 | 0.893778 | 0.884035 | 0.874607 | 0.874607 | 0 | 0.049556 | 0.175723 | 5,190 | 100 | 272 | 51.9 | 0.69425 | 0.016185 | 0 | 0.735632 | 0 | 0 | 0.147393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.068966 | 0 | 0.206897 | 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 |
8467d9f2ad09d42f2838405e8e5f8b30332f23e8 | 3,882 | py | Python | tests/test_build_ga_flattener_config.py | adswerve/google_analytics_flattener_ga4 | c734ea6f18692a62b85803c45f9f6bc2fcaa7839 | [
"BSD-3-Clause"
] | 10 | 2021-10-12T07:35:24.000Z | 2022-03-15T14:26:15.000Z | tests/test_build_ga_flattener_config.py | adswerve/google_analytics_flattener_ga4 | c734ea6f18692a62b85803c45f9f6bc2fcaa7839 | [
"BSD-3-Clause"
] | 2 | 2021-10-13T22:04:33.000Z | 2022-03-04T19:57:29.000Z | tests/test_build_ga_flattener_config.py | adswerve/google_analytics_flattener_ga4 | c734ea6f18692a62b85803c45f9f6bc2fcaa7839 | [
"BSD-3-Clause"
] | 2 | 2021-07-30T04:15:52.000Z | 2022-02-03T19:35:08.000Z | from tests.test_base import BaseUnitTest
from cfconfigbuilder.main import FlattenerDatasetConfig
from cfconfigbuilder.main import FlattenerDatasetConfigStorage
from cfconfigbuilderps.main import FlattenerDatasetConfig as FlattenerDatasetConfigPS
from cfconfigbuilderps.main import FlattenerDatasetConfigStorage as Flatte... | 40.4375 | 103 | 0.645028 | 381 | 3,882 | 6.309711 | 0.186352 | 0.128952 | 0.053245 | 0.034942 | 0.749168 | 0.749168 | 0.749168 | 0.734193 | 0.712146 | 0.695507 | 0 | 0.002158 | 0.283617 | 3,882 | 95 | 104 | 40.863158 | 0.86228 | 0.066718 | 0 | 0.705882 | 0 | 0 | 0.033776 | 0 | 0 | 0 | 0 | 0.010526 | 0.279412 | 1 | 0.058824 | false | 0 | 0.073529 | 0 | 0.147059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8477e87a14dd4e5bb1c0e4a4b0850e23fc4bf833 | 138,570 | py | Python | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/addremove/bgp/nxos/addremove.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/addremove/bgp/nxos/addremove.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/addremove/bgp/nxos/addremove.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | '''NXOS Implementation for BGP addremove triggers'''
# python
import re
import logging
from functools import partial
log = logging.getLogger(__name__)
# Genie Libs
from genie.libs.sdk.libs.utils.mapping import Mapping
from genie.libs.sdk.libs.utils.triggeractions import Configure
from genie.libs.sdk.libs.utils.mappi... | 60.749671 | 211 | 0.474287 | 12,851 | 138,570 | 5.00607 | 0.031048 | 0.020145 | 0.031337 | 0.036886 | 0.929974 | 0.923383 | 0.916 | 0.911756 | 0.907466 | 0.904621 | 0 | 0.010814 | 0.410731 | 138,570 | 2,280 | 212 | 60.776316 | 0.77705 | 0.029436 | 0 | 0.840059 | 0 | 0.001476 | 0.714346 | 0.025605 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000492 | false | 0.004921 | 0.005413 | 0 | 0.045768 | 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 |
847df8dd6516b71d9bdbf9e25cb6384f4f489a67 | 2,994 | py | Python | terrascript/openstack/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/openstack/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/openstack/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/openstack/d.py
import terrascript
class openstack_blockstorage_availability_zones_v3(terrascript.Data):
pass
class openstack_blockstorage_snapshot_v2(terrascript.Data):
pass
class openstack_blockstorage_snapshot_v3(terrascript.Data):
pass
class openstack_blockstorage_volume_v2(terrascr... | 17.508772 | 75 | 0.814963 | 358 | 2,994 | 6.418994 | 0.173184 | 0.255875 | 0.347258 | 0.428198 | 0.848129 | 0.848129 | 0.712359 | 0.218451 | 0.067885 | 0 | 0 | 0.01608 | 0.127589 | 2,994 | 170 | 76 | 17.611765 | 0.863706 | 0.008684 | 0 | 0.494118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.494118 | 0.011765 | 0 | 0.505882 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
84c24fc553669171e2bf8ac39ff01200719091df | 44 | py | Python | NAAL-fpga_pynq/NAAL-fpga/utils/__init__.py | neurom-iot/naal | 2644cd289c16fec283443f2d33c8f7173f3e455c | [
"MIT"
] | 12 | 2019-03-15T17:21:06.000Z | 2021-12-29T07:00:53.000Z | NAAL-pynq/NAAL_pynq/utils/__init__.py | neurom-iot/naal | 2644cd289c16fec283443f2d33c8f7173f3e455c | [
"MIT"
] | 1 | 2019-03-15T16:05:17.000Z | 2019-09-06T04:57:04.000Z | NAAL-pynq/NAAL_pynq/utils/__init__.py | neurom-iot/naal | 2644cd289c16fec283443f2d33c8f7173f3e455c | [
"MIT"
] | 4 | 2019-03-15T17:24:56.000Z | 2020-05-29T00:42:02.000Z | from . import paths
from . import functions
| 14.666667 | 23 | 0.772727 | 6 | 44 | 5.666667 | 0.666667 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 24 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
84e25edd8f0378c55a84c11e31f62269b7092ea8 | 19,201 | py | Python | lims/users/tests.py | LeafLIMS/LIMS-Backend | 472ccbf71f20b9ecd50508aa0f9ca80d3a3df79a | [
"MIT"
] | 12 | 2017-03-01T10:39:36.000Z | 2022-01-04T06:17:19.000Z | lims/users/tests.py | GETLIMS/LIMS-Backend | 472ccbf71f20b9ecd50508aa0f9ca80d3a3df79a | [
"MIT"
] | 29 | 2017-04-25T14:05:08.000Z | 2021-06-21T14:41:53.000Z | lims/users/tests.py | GETLIMS/LIMS-Backend | 472ccbf71f20b9ecd50508aa0f9ca80d3a3df79a | [
"MIT"
] | 4 | 2017-10-11T16:22:53.000Z | 2021-02-23T15:45:21.000Z | from django.contrib.auth.models import User, Group, Permission
from django.test import override_settings
from lims.addressbook.models import Address
from lims.shared.loggedintestcase import LoggedInTestCase
from django.contrib.auth.hashers import check_password
from rest_framework import status
class UserTestCase(Log... | 48.243719 | 100 | 0.638456 | 2,234 | 19,201 | 5.283348 | 0.08863 | 0.130899 | 0.067102 | 0.108108 | 0.866305 | 0.849784 | 0.818944 | 0.795815 | 0.74659 | 0.714056 | 0 | 0.016141 | 0.232071 | 19,201 | 397 | 101 | 48.365239 | 0.784334 | 0.036717 | 0 | 0.782353 | 0 | 0 | 0.11716 | 0.004221 | 0 | 0 | 0 | 0 | 0.355882 | 1 | 0.114706 | false | 0.055882 | 0.017647 | 0 | 0.138235 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
84e5c7cc9ae6968dcca695de9c9d11a043d2754d | 48,662 | py | Python | notebook/benchmark.py | Chibikuri/qwopt | e65549db83142af4c6b63cce9f55050ee87fb27a | [
"Apache-2.0"
] | 4 | 2020-05-25T15:07:02.000Z | 2021-02-17T07:38:06.000Z | notebook/benchmark.py | Chibikuri/qwopt | e65549db83142af4c6b63cce9f55050ee87fb27a | [
"Apache-2.0"
] | 2 | 2020-01-05T07:31:41.000Z | 2022-02-11T03:47:49.000Z | notebook/benchmark.py | Chibikuri/qwopt | e65549db83142af4c6b63cce9f55050ee87fb27a | [
"Apache-2.0"
] | 1 | 2020-12-21T14:22:36.000Z | 2020-12-21T14:22:36.000Z | # -*- coding: utf-8 -*-
# ---
# jupyter:
# jupytext:
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.3.1
# kernelspec:
# display_name: Python 3
# language: python
# name: python3
# ---
# # Optimization benchmarking
... | 32.247846 | 139 | 0.546546 | 7,462 | 48,662 | 3.449075 | 0.058697 | 0.017951 | 0.010957 | 0.009325 | 0.854295 | 0.826903 | 0.816801 | 0.796247 | 0.778646 | 0.748028 | 0 | 0.068721 | 0.281123 | 48,662 | 1,508 | 140 | 32.269231 | 0.667 | 0.191628 | 0 | 0.728205 | 0 | 0 | 0.049473 | 0 | 0 | 0 | 0 | 0.000663 | 0 | 1 | 0.009231 | false | 0 | 0.017436 | 0 | 0.037949 | 0.009231 | 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 |
04932bd5cd2e696bd1220ff69a4411afedbdf4d7 | 29,809 | py | Python | pandadoc_client/api/folders_api_api.py | dyakutkin/pandadoc-api-python-client | f72b59dc69b4df2ef8decd3cbc69c9466859bedc | [
"MIT"
] | null | null | null | pandadoc_client/api/folders_api_api.py | dyakutkin/pandadoc-api-python-client | f72b59dc69b4df2ef8decd3cbc69c9466859bedc | [
"MIT"
] | null | null | null | pandadoc_client/api/folders_api_api.py | dyakutkin/pandadoc-api-python-client | f72b59dc69b4df2ef8decd3cbc69c9466859bedc | [
"MIT"
] | null | null | null | """
PandaDoc Public API
PandaDoc Public API documentation # noqa: E501
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from pandadoc_client.api_client import ApiClient, Endpoint as _Endpoint
from pandadoc_client.model_utils import ( # noqa: F401
c... | 36.755857 | 171 | 0.510349 | 2,641 | 29,809 | 5.496782 | 0.080651 | 0.026038 | 0.021492 | 0.022319 | 0.858648 | 0.802301 | 0.777778 | 0.739753 | 0.72205 | 0.702487 | 0 | 0.004539 | 0.408702 | 29,809 | 810 | 172 | 36.801235 | 0.819074 | 0.340434 | 0 | 0.637523 | 1 | 0 | 0.224467 | 0.073157 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01275 | false | 0 | 0.025501 | 0 | 0.051002 | 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 |
04940fb929e2bf393f11a40996649e12eac1f7f6 | 1,950 | py | Python | test/classes/class8.py | Setonas/MagicSetonas | ef76da5f27a0506b194c58072b81424e3ce985d7 | [
"MIT"
] | 5 | 2017-02-22T10:17:39.000Z | 2021-04-06T16:36:13.000Z | test/classes/class8.py | Setonas/MagicSetonas | ef76da5f27a0506b194c58072b81424e3ce985d7 | [
"MIT"
] | null | null | null | test/classes/class8.py | Setonas/MagicSetonas | ef76da5f27a0506b194c58072b81424e3ce985d7 | [
"MIT"
] | 1 | 2020-08-29T02:30:52.000Z | 2020-08-29T02:30:52.000Z | rūšis Joks: pereiti
rūšis Tiesa(Netikras): pereiti
rūšis Netikras(objektas): pereiti
rūšis : meta.class.python, source.python, storage.type.class.python
: meta.class.python, source.python
Joks : keyword.illegal.name.python, meta.class.python, source.python
: : meta.class.py... | 62.903226 | 128 | 0.703077 | 225 | 1,950 | 6.093333 | 0.115556 | 0.157549 | 0.315098 | 0.229759 | 0.905908 | 0.905908 | 0.905908 | 0.905908 | 0.901532 | 0.848286 | 0 | 0 | 0.185641 | 1,950 | 30 | 129 | 65 | 0.86335 | 0 | 0 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
b6dca2dd128e8ef5b9ef1f817b69d742f7f4a92a | 2,293 | py | Python | src/genie/libs/parser/iosxe/tests/ShowIpAccessLists/cli/equal/golden_output_customer_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowIpAccessLists/cli/equal/golden_output_customer_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowIpAccessLists/cli/equal/golden_output_customer_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"43":{
"name":"43",
"type":"ipv4-acl-type",
"acl_type": "standard",
"aces":{
"10":{
"name":"10",
"actions":{
"forwarding":"permit"
},
"matches":{
"l3":{
"ipv4":{
... | 26.356322 | 68 | 0.242477 | 145 | 2,293 | 3.751724 | 0.234483 | 0.080882 | 0.077206 | 0.044118 | 0.724265 | 0.724265 | 0.724265 | 0.724265 | 0.724265 | 0.724265 | 0 | 0.162192 | 0.610118 | 2,293 | 87 | 69 | 26.356322 | 0.446309 | 0 | 0 | 0.344828 | 0 | 0 | 0.261116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 |
f3e3eeff3cacc265ae4091db332558cb80686cf5 | 146 | py | Python | catalyst/contrib/dl/__init__.py | Inkln/catalyst | 37ff273a223df3bc70411cd79a79d1b038ba8f9b | [
"Apache-2.0"
] | null | null | null | catalyst/contrib/dl/__init__.py | Inkln/catalyst | 37ff273a223df3bc70411cd79a79d1b038ba8f9b | [
"Apache-2.0"
] | null | null | null | catalyst/contrib/dl/__init__.py | Inkln/catalyst | 37ff273a223df3bc70411cd79a79d1b038ba8f9b | [
"Apache-2.0"
] | 1 | 2020-12-02T18:42:31.000Z | 2020-12-02T18:42:31.000Z | # flake8: noqa
from catalyst.contrib.dl.experiment import *
from catalyst.contrib.dl.runner import *
from catalyst.contrib.dl.callbacks import *
| 24.333333 | 44 | 0.794521 | 20 | 146 | 5.8 | 0.5 | 0.310345 | 0.491379 | 0.543103 | 0.465517 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.109589 | 146 | 5 | 45 | 29.2 | 0.884615 | 0.082192 | 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 |
6d0e14d6fb6db7f0ba31ef15f2ad17daeda5e7e5 | 14,029 | py | Python | experience2/profile_call.py | AvaPunksmash/samWorkTask1 | 3a6302528cd65db69186b59db9af717399e640e1 | [
"MIT"
] | null | null | null | experience2/profile_call.py | AvaPunksmash/samWorkTask1 | 3a6302528cd65db69186b59db9af717399e640e1 | [
"MIT"
] | 3 | 2020-03-24T16:58:16.000Z | 2021-02-02T22:07:29.000Z | experience2/profile_call.py | GTimothee/samActivities | 3a6302528cd65db69186b59db9af717399e640e1 | [
"MIT"
] | null | null | null | import timeit, os, csv, time, random
nb_repeats = 8
tmpfs_path="/dev/shm/book.txt"
ssd_path="./book.txt"
hdd_path="/mnt/hdd/book.txt"
def setup(filename):
"""
Setup for rand_python_time
"""
os.system('sync; echo 3 | sudo tee /proc/sys/vm/drop_caches')
file = open(filename, "r")
filesize = os.s... | 54.166023 | 5,521 | 0.692352 | 1,986 | 14,029 | 4.766365 | 0.072508 | 0.09476 | 0.116628 | 0.138496 | 0.878618 | 0.86087 | 0.836679 | 0.810691 | 0.800655 | 0.7603 | 0 | 0.01209 | 0.204077 | 14,029 | 258 | 5,522 | 54.375969 | 0.835662 | 0.017321 | 0 | 0.391534 | 0 | 0.026455 | 0.527197 | 0.022306 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068783 | false | 0 | 0.031746 | 0 | 0.132275 | 0.137566 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6d375d14c44ca7ae3b952cd7ef33b0a721a8a4c7 | 143 | py | Python | estimation/unidimensional/polytomous/__init__.py | eribean/GIRTH | daf22773aa9cd1c819bf732e1061ebf5cc4dc40e | [
"MIT"
] | null | null | null | estimation/unidimensional/polytomous/__init__.py | eribean/GIRTH | daf22773aa9cd1c819bf732e1061ebf5cc4dc40e | [
"MIT"
] | null | null | null | estimation/unidimensional/polytomous/__init__.py | eribean/GIRTH | daf22773aa9cd1c819bf732e1061ebf5cc4dc40e | [
"MIT"
] | null | null | null | from .grm_mml import *
from .grm_mml_eap import *
from .pcm_mml import *
from .gum_mml import *
from .grm_jml import *
from .pcm_jml import * | 20.428571 | 27 | 0.741259 | 25 | 143 | 3.96 | 0.32 | 0.505051 | 0.393939 | 0.323232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174825 | 143 | 7 | 28 | 20.428571 | 0.838983 | 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 |
611bb5dca0d8dadb245cae3fa20520e68c7f8922 | 92 | py | Python | parameters_8000.py | relidaning/myWeb2py | 2dd7d70131a46585bcae29c46b9d5feccd55ad21 | [
"BSD-3-Clause"
] | null | null | null | parameters_8000.py | relidaning/myWeb2py | 2dd7d70131a46585bcae29c46b9d5feccd55ad21 | [
"BSD-3-Clause"
] | null | null | null | parameters_8000.py | relidaning/myWeb2py | 2dd7d70131a46585bcae29c46b9d5feccd55ad21 | [
"BSD-3-Clause"
] | null | null | null | password="pbkdf2(1000,20,sha512)$919fd9760cde77d0$566dce80dc68eb38dcc6dd93c4e06342dab0af4d"
| 46 | 91 | 0.891304 | 7 | 92 | 11.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.43956 | 0.01087 | 92 | 1 | 92 | 92 | 0.461538 | 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 |
611efd0810e22bcb5d2a6579514fa4280f622256 | 3,855 | py | Python | decode-encode/base64-tiff-png-jpg-html/main-tiff.py | whitmans-max/python-examples | 881a8f23f0eebc76816a0078e19951893f0daaaa | [
"MIT"
] | 140 | 2017-02-21T22:49:04.000Z | 2022-03-22T17:51:58.000Z | decode-encode/base64-tiff-png-jpg-html/main-tiff.py | whitmans-max/python-examples | 881a8f23f0eebc76816a0078e19951893f0daaaa | [
"MIT"
] | 5 | 2017-12-02T19:55:00.000Z | 2021-09-22T23:18:39.000Z | decode-encode/base64-tiff-png-jpg-html/main-tiff.py | whitmans-max/python-examples | 881a8f23f0eebc76816a0078e19951893f0daaaa | [
"MIT"
] | 79 | 2017-01-25T10:53:33.000Z | 2022-03-11T16:13:57.000Z |
#------------------------------------------------------------------------------
# decode from base64 to tiff
#------------------------------------------------------------------------------
import base64
html = '<img src="data:image/tiff;base64,SUkqAAgAAAASAP4ABAABAAAAAAAAAAABAwABAAAACgAAAAEBAwABAAAACgAAAAIBAwADAAAA5... | 101.447368 | 1,324 | 0.833722 | 189 | 3,855 | 16.941799 | 0.37037 | 0.0406 | 0.019988 | 0.018738 | 0.817614 | 0.817614 | 0.817614 | 0.817614 | 0.797626 | 0.797626 | 0 | 0.05423 | 0.04332 | 3,855 | 37 | 1,325 | 104.189189 | 0.813991 | 0.522438 | 0 | 0.142857 | 0 | 0.071429 | 0.771131 | 0.734358 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.071429 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
612987e6764f92e72ec790a491cb8f111b6d3e01 | 12,461 | py | Python | tests/test_regular_decorating.py | britodfbr/recursive_decorator | bfbf9c4c3c5af322e16444643bbdc8196f9291b6 | [
"MIT"
] | null | null | null | tests/test_regular_decorating.py | britodfbr/recursive_decorator | bfbf9c4c3c5af322e16444643bbdc8196f9291b6 | [
"MIT"
] | null | null | null | tests/test_regular_decorating.py | britodfbr/recursive_decorator | bfbf9c4c3c5af322e16444643bbdc8196f9291b6 | [
"MIT"
] | null | null | null | """Validating recursive_decorator doesn't break normal usage of decorator."""
import mock
import pytest
from recursive_decorator import recursive_decorator
from recursive_decorator.utils import DECORATOR_LIST_FIELD_NAME
@pytest.fixture()
def mock_decorator():
decorator = mock.MagicMock()
decorator.__name__ =... | 29.32 | 82 | 0.694808 | 1,656 | 12,461 | 4.789251 | 0.047101 | 0.154079 | 0.151809 | 0.0899 | 0.898247 | 0.879965 | 0.869247 | 0.853612 | 0.843778 | 0.827008 | 0 | 0.010907 | 0.197978 | 12,461 | 424 | 83 | 29.389151 | 0.78267 | 0.008988 | 0 | 0.766667 | 0 | 0 | 0.016449 | 0 | 0 | 0 | 0 | 0 | 0.188889 | 1 | 0.188889 | false | 0.018519 | 0.014815 | 0 | 0.214815 | 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 |
b635a69663e54ad78374bc1361efc4e648b627d7 | 2,502 | py | Python | maze_solver.py | Omair-R/PathFinder | 8dfc655c2a06c3722d782736cd128b5d7ec35fdd | [
"MIT"
] | null | null | null | maze_solver.py | Omair-R/PathFinder | 8dfc655c2a06c3722d782736cd128b5d7ec35fdd | [
"MIT"
] | null | null | null | maze_solver.py | Omair-R/PathFinder | 8dfc655c2a06c3722d782736cd128b5d7ec35fdd | [
"MIT"
] | null | null | null | from util import *
import pygame
def Dijkstar(grid, clock, display_cost=False):
close = []
open = []
current = None
grid.partial_reset()
if not grid.has_begin or not grid.has_end: return
open.append(grid.start_node)
while True:
idx = find_minimum_g(open)
current =... | 24.057692 | 78 | 0.590727 | 301 | 2,502 | 4.754153 | 0.215947 | 0.107617 | 0.071279 | 0.092243 | 0.916841 | 0.916841 | 0.916841 | 0.916841 | 0.916841 | 0.916841 | 0 | 0.004149 | 0.325739 | 2,502 | 103 | 79 | 24.291262 | 0.844102 | 0.009992 | 0 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.030303 | 0 | 0.060606 | 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 |
b6432d83ed0fba701247fa23a2c2cd5288aed9d8 | 68 | py | Python | rcnn/symbol/__init__.py | qilei123/MASK_4_RETINA | 28eecec985c760b1beeab9d62b54de1ce42aeecc | [
"Apache-2.0"
] | null | null | null | rcnn/symbol/__init__.py | qilei123/MASK_4_RETINA | 28eecec985c760b1beeab9d62b54de1ce42aeecc | [
"Apache-2.0"
] | null | null | null | rcnn/symbol/__init__.py | qilei123/MASK_4_RETINA | 28eecec985c760b1beeab9d62b54de1ce42aeecc | [
"Apache-2.0"
] | null | null | null | #from symbol_mask_fpn import *
from symbol_mask_fpn_dcn_v1 import *
| 22.666667 | 36 | 0.838235 | 12 | 68 | 4.25 | 0.583333 | 0.392157 | 0.54902 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.117647 | 68 | 2 | 37 | 34 | 0.833333 | 0.426471 | 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 |
b68b4c71a1cf0d5ec8493bf7e3be6c9406fbcbf6 | 56,576 | py | Python | A-star/quad-puzzl.py | SP2LC/procon25-main | 7f17dc882c2e33455651e672fca3c486c2f56bde | [
"Apache-2.0"
] | 1 | 2015-04-19T03:56:57.000Z | 2015-04-19T03:56:57.000Z | A-star/quad-puzzl.py | SP2LC/procon25-main | 7f17dc882c2e33455651e672fca3c486c2f56bde | [
"Apache-2.0"
] | null | null | null | A-star/quad-puzzl.py | SP2LC/procon25-main | 7f17dc882c2e33455651e672fca3c486c2f56bde | [
"Apache-2.0"
] | null | null | null | #-*- coding:utf-8 -*-
import random
import requests
from requests.auth import HTTPDigestAuth
import json
import sys
import communication
import config
import time
from copy import deepcopy
ALL_COST = 0
def print_matrix(matrix):
for i in range(len(matrix)):
for j in range(len(matrix[0])):
prin... | 55.196098 | 257 | 0.651902 | 6,966 | 56,576 | 4.972438 | 0.037611 | 0.29101 | 0.344881 | 0.400081 | 0.859028 | 0.843958 | 0.828339 | 0.809487 | 0.791241 | 0.772591 | 0 | 0.012359 | 0.250619 | 56,576 | 1,024 | 258 | 55.25 | 0.804585 | 0.075103 | 0 | 0.69359 | 0 | 0 | 0.004488 | 0 | 0.001282 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.011538 | null | null | 0.012821 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
b698a84c99b4ec1408daa921c7d5839d76684920 | 195 | py | Python | com/LimePencil/Q7569/_.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | 2 | 2021-07-17T13:05:42.000Z | 2021-09-12T09:14:24.000Z | com/LimePencil/Q7569/_.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | com/LimePencil/Q7569/_.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | import sys
# int(sys.stdin.readline().rstrip("\n"))
# list(map(int,sys.stdin.readline().rstrip("\n").split(" ")))
# t= int(sys.stdin.readline().rstrip("\n"))
# for _ in range(t):
# print() | 21.666667 | 61 | 0.6 | 29 | 195 | 4 | 0.517241 | 0.155172 | 0.284483 | 0.491379 | 0.672414 | 0.672414 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117949 | 195 | 9 | 62 | 21.666667 | 0.674419 | 0.876923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
b6a67c21c4bab9ba40405cf3986f5f0abad02163 | 6,034 | py | Python | tests/test_generic_cl_scenario.py | lebrice/avalanche | fe7e1e664ab20697343495fbe1328a20215feffb | [
"MIT"
] | 3 | 2021-09-20T11:43:25.000Z | 2022-03-31T09:04:34.000Z | tests/test_generic_cl_scenario.py | lebrice/avalanche | fe7e1e664ab20697343495fbe1328a20215feffb | [
"MIT"
] | null | null | null | tests/test_generic_cl_scenario.py | lebrice/avalanche | fe7e1e664ab20697343495fbe1328a20215feffb | [
"MIT"
] | null | null | null | import unittest
import torch
from avalanche.benchmarks import dataset_benchmark, Experience, \
GenericExperience
from avalanche.benchmarks.utils import AvalancheTensorDataset
class GenericCLScenarioTests(unittest.TestCase):
def test_classes_in_exp(self):
train_exps = []
tensor_x = torch.ran... | 41.613793 | 78 | 0.686609 | 807 | 6,034 | 4.707559 | 0.071871 | 0.109503 | 0.071861 | 0.027376 | 0.887339 | 0.83522 | 0.813898 | 0.788102 | 0.763622 | 0.737299 | 0 | 0.063821 | 0.223566 | 6,034 | 144 | 79 | 41.902778 | 0.747065 | 0.008784 | 0 | 0.79661 | 0 | 0 | 0.006189 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 1 | 0.016949 | false | 0 | 0.033898 | 0 | 0.059322 | 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 |
1e3dc135435acbe988eeff018f57db4fb9f7538b | 3,208 | py | Python | tests/test_srtm.py | bilgelm/kineticmodel | 1060f7bb3a140d3dac3679d88ab997084e5de8c7 | [
"MIT"
] | 4 | 2017-10-23T08:00:50.000Z | 2018-08-07T23:15:01.000Z | tests/test_srtm.py | bilgelm/kineticmodel | 1060f7bb3a140d3dac3679d88ab997084e5de8c7 | [
"MIT"
] | null | null | null | tests/test_srtm.py | bilgelm/kineticmodel | 1060f7bb3a140d3dac3679d88ab997084e5de8c7 | [
"MIT"
] | 3 | 2017-11-09T13:45:36.000Z | 2021-11-05T12:29:22.000Z | from kineticmodel import SRTM_Zhou2003, SRTM_Lammertsma1996, SRTM_Gunn1997
from .generate_test_data import generate_fakeTAC_SRTM
import unittest
from ddt import ddt, data, unpack
@ddt
class TestSRTM(unittest.TestCase):
iters = [(BP, R1, startActivity) for BP in [0.2, 0.5, 0.8] \
... | 47.176471 | 85 | 0.582606 | 406 | 3,208 | 4.539409 | 0.150246 | 0.1172 | 0.156267 | 0.0879 | 0.807922 | 0.807922 | 0.7656 | 0.7656 | 0.74064 | 0.688551 | 0 | 0.057374 | 0.266521 | 3,208 | 67 | 86 | 47.880597 | 0.725882 | 0 | 0 | 0.578947 | 1 | 0 | 0.167082 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.052632 | false | 0 | 0.070175 | 0 | 0.157895 | 0.157895 | 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 |
1eb6f6a1b08d5259fa9e59e2e067497b2ba09a9f | 9,049 | py | Python | samurai/reparameterize.py | jlustigy/samurai | ed46e45600956581c94ae44d820e06c35c464962 | [
"MIT"
] | 1 | 2021-01-05T07:27:40.000Z | 2021-01-05T07:27:40.000Z | samurai/reparameterize.py | jlustigy/samurai | ed46e45600956581c94ae44d820e06c35c464962 | [
"MIT"
] | null | null | null | samurai/reparameterize.py | jlustigy/samurai | ed46e45600956581c94ae44d820e06c35c464962 | [
"MIT"
] | null | null | null | import numpy as np
#---------------------------------------------------
def transform_Y2X(Y_array, n_type, n_band, n_slice, flatten=False):
Y_array = np.maximum(Y_array, -10)
Y_array = np.minimum(Y_array, 10)
# 'albedo' part
Y_albd_kj_flat = Y_array[0:n_type*n_band]
X_albd_kj_flat = np.exp( Y_alb... | 37.704167 | 121 | 0.623273 | 1,582 | 9,049 | 3.142225 | 0.063843 | 0.138805 | 0.076041 | 0.04647 | 0.895796 | 0.88111 | 0.856769 | 0.845102 | 0.829813 | 0.818346 | 0 | 0.018481 | 0.234612 | 9,049 | 239 | 122 | 37.861925 | 0.699249 | 0.159023 | 0 | 0.752066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033058 | false | 0 | 0.008264 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.