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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
255712c624addea8904a95b91ad5b6d496a4f420 | 118 | py | Python | DLplatform/stopping/__init__.py | chelseajohn/dlplatform | 429e42c598039d1e9fd1df3da4247f391915a31b | [
"Apache-2.0"
] | 5 | 2020-05-05T08:54:26.000Z | 2021-02-20T07:36:28.000Z | DLplatform/stopping/__init__.py | chelseajohn/dlplatform | 429e42c598039d1e9fd1df3da4247f391915a31b | [
"Apache-2.0"
] | 1 | 2020-11-16T14:15:53.000Z | 2020-11-16T14:15:53.000Z | DLplatform/stopping/__init__.py | chelseajohn/dlplatform | 429e42c598039d1e9fd1df3da4247f391915a31b | [
"Apache-2.0"
] | 4 | 2020-05-05T08:56:57.000Z | 2020-07-22T11:28:52.000Z | from DLplatform.stopping.max_amount_examples import MaxAmountExamples
from DLplatform.stopping.timeout import Timeout
| 39.333333 | 69 | 0.898305 | 14 | 118 | 7.428571 | 0.642857 | 0.269231 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 118 | 2 | 70 | 59 | 0.945455 | 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 |
c25c57a12b5653bbf56303eed2f12cbf11cb0910 | 34 | py | Python | Aulas de Python Mundo 1/Curso Python #11 - Cores no terminal - Part 6.py | ErikDMCosta/Meu-Reposit-rio-do-Curso-de-Python-Mundo-1 | 085662603d1fc1963ea25e4b08ba887adc59fecd | [
"MIT"
] | null | null | null | Aulas de Python Mundo 1/Curso Python #11 - Cores no terminal - Part 6.py | ErikDMCosta/Meu-Reposit-rio-do-Curso-de-Python-Mundo-1 | 085662603d1fc1963ea25e4b08ba887adc59fecd | [
"MIT"
] | null | null | null | Aulas de Python Mundo 1/Curso Python #11 - Cores no terminal - Part 6.py | ErikDMCosta/Meu-Reposit-rio-do-Curso-de-Python-Mundo-1 | 085662603d1fc1963ea25e4b08ba887adc59fecd | [
"MIT"
] | null | null | null | print('\033[30mOlá, Mundo!\033[m') | 34 | 34 | 0.676471 | 6 | 34 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 0.029412 | 34 | 1 | 34 | 34 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
c2999d097240481aba2edf74b5fe04ce7d467795 | 3,305 | py | Python | PythonExtensions/tk/Core/Frames.py | Jakar510/PythonExtensions | f29600f73454d21345f6da893a1df1b71ddacd0b | [
"MIT"
] | null | null | null | PythonExtensions/tk/Core/Frames.py | Jakar510/PythonExtensions | f29600f73454d21345f6da893a1df1b71ddacd0b | [
"MIT"
] | null | null | null | PythonExtensions/tk/Core/Frames.py | Jakar510/PythonExtensions | f29600f73454d21345f6da893a1df1b71ddacd0b | [
"MIT"
] | null | null | null | from enum import Enum
from typing import *
from ...Names import nameof
from ..Base import *
__all__ = [
'Frame', 'LabelFrame',
'FrameThemed', 'LabelFrameThemed',
]
class _BaseFrameMixin:
InstanceID: Union[str, int, Enum] = None
def SetID(self, InstanceID: Union[str, int, Enum]):
self... | 30.321101 | 120 | 0.671407 | 354 | 3,305 | 6.053672 | 0.225989 | 0.037331 | 0.052263 | 0.031731 | 0.786281 | 0.762949 | 0.762949 | 0.762949 | 0.707886 | 0.707886 | 0 | 0 | 0.215129 | 3,305 | 108 | 121 | 30.601852 | 0.826137 | 0.210287 | 0 | 0.442308 | 0 | 0 | 0.024235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0 | 0.076923 | 0.115385 | 0.519231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
c2df95df4af6502da0c7477db3396ad251dba127 | 111,657 | py | Python | Tests/Channels_editor/main.py | yupasik/AT | 8f4f6535cef8b7714cb325a32dadf36f6f8664ee | [
"Apache-2.0"
] | null | null | null | Tests/Channels_editor/main.py | yupasik/AT | 8f4f6535cef8b7714cb325a32dadf36f6f8664ee | [
"Apache-2.0"
] | null | null | null | Tests/Channels_editor/main.py | yupasik/AT | 8f4f6535cef8b7714cb325a32dadf36f6f8664ee | [
"Apache-2.0"
] | null | null | null | # Test name = Channels_editor_3
# Script dir = R:\Stingray\Tests\Channels_editor_3\main\main.py
# Rev = 3.0
from time import sleep
from device import handler, updateTestResult
import RC
import UART
import DO
import GRAB
import MOD
import os
import OPER
from DO import status
def runTest():
status("active")
T... | 39.06823 | 218 | 0.41966 | 10,432 | 111,657 | 4.462519 | 0.061062 | 0.074496 | 0.204885 | 0.290572 | 0.823427 | 0.809357 | 0.75993 | 0.703671 | 0.671965 | 0.606771 | 0 | 0.097578 | 0.161933 | 111,657 | 2,857 | 219 | 39.081904 | 0.3999 | 0.063919 | 0 | 0.694444 | 0 | 0 | 0.260612 | 0.000722 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.004274 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c2e30dc0dfaf781e252e0f66df98a1f91da785e1 | 124 | py | Python | fixture/Python3/input_code/Block3.py | exKAZUu/ParserTests | 609cfc62b70c8d04d5a2ced25a213a8d601e7011 | [
"Apache-2.0"
] | null | null | null | fixture/Python3/input_code/Block3.py | exKAZUu/ParserTests | 609cfc62b70c8d04d5a2ced25a213a8d601e7011 | [
"Apache-2.0"
] | null | null | null | fixture/Python3/input_code/Block3.py | exKAZUu/ParserTests | 609cfc62b70c8d04d5a2ced25a213a8d601e7011 | [
"Apache-2.0"
] | null | null | null | i = 0
if i == 0: pass
while i != 0: pass
for x in [0]: pass
i = 0
if i == 0:
pass
while i != 0:
pass
for x in [0]:
pass
| 9.538462 | 18 | 0.516129 | 30 | 124 | 2.133333 | 0.266667 | 0.1875 | 0.375 | 0.15625 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.095238 | 0.322581 | 124 | 12 | 19 | 10.333333 | 0.666667 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
c2ea9578a36684fe73ddc24846ea4bcd18d4ff18 | 13,662 | py | Python | gqn/gqn_model.py | jaesik817/tf-gqn | 9ff2142f8817ee571dbc3fc99284311c44f4e48d | [
"Apache-2.0"
] | 21 | 2018-09-18T16:00:30.000Z | 2020-07-31T12:57:01.000Z | gqn/gqn_model.py | jaesik817/tf-gqn | 9ff2142f8817ee571dbc3fc99284311c44f4e48d | [
"Apache-2.0"
] | 9 | 2018-10-10T07:01:06.000Z | 2022-02-09T23:55:10.000Z | gqn/gqn_model.py | jaesik817/tf-gqn | 9ff2142f8817ee571dbc3fc99284311c44f4e48d | [
"Apache-2.0"
] | 3 | 2018-12-05T16:30:23.000Z | 2020-05-15T15:03:24.000Z | """
Contains the tf.estimator compatible model definition for GQN.
Original paper:
'Neural scene representation and rendering'
S. M. Ali Eslami, Danilo J. Rezende, Frederic Besse, Fabio Viola, Ari S. Morcos,
Marta Garnelo, Avraham Ruderman, Andrei A. Rusu, Ivo Danihelka, Karol Gregor,
David P. Reichert, Lars Buesing... | 30.36 | 89 | 0.686064 | 1,748 | 13,662 | 5.098398 | 0.144165 | 0.048137 | 0.038712 | 0.059358 | 0.832024 | 0.81149 | 0.789048 | 0.780184 | 0.780184 | 0.776593 | 0 | 0.004502 | 0.219514 | 13,662 | 449 | 90 | 30.427617 | 0.831286 | 0.231811 | 0 | 0.731148 | 0 | 0 | 0.065531 | 0.004453 | 0 | 0 | 0 | 0.002227 | 0 | 1 | 0.016393 | false | 0 | 0.02623 | 0 | 0.059016 | 0.003279 | 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 |
6c42ba27857e04cc2cc85eaa72e08c6d3f105b7b | 103 | py | Python | helpers/version.py | aamdework/blacklane-answers | 79376facf82c34a9abd82f05aeec9de5759cd7bd | [
"CC0-1.0"
] | 20 | 2019-02-04T12:19:16.000Z | 2022-01-12T06:31:59.000Z | helpers/version.py | noviicee/devops-test | 86e25480e59181cd08b3e9003bfa20200b9c70d5 | [
"CC0-1.0"
] | null | null | null | helpers/version.py | noviicee/devops-test | 86e25480e59181cd08b3e9003bfa20200b9c70d5 | [
"CC0-1.0"
] | 13 | 2019-02-04T13:07:17.000Z | 2022-02-16T12:27:32.000Z | import pathlib
def get_project_version():
return pathlib.Path('version.txt').read_text().strip()
| 17.166667 | 58 | 0.737864 | 14 | 103 | 5.214286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 5 | 59 | 20.6 | 0.802198 | 0 | 0 | 0 | 0 | 0 | 0.106796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
6c80409ffd6edff90ce8169b4b11589d52620743 | 8,593 | py | Python | stereo/image/segmentation/seg_utils/resnet_unet.py | nilsmechtel/stereopy | cd8f34b45ae6667043611e5d02ea46f8ca3f0c7b | [
"MIT"
] | null | null | null | stereo/image/segmentation/seg_utils/resnet_unet.py | nilsmechtel/stereopy | cd8f34b45ae6667043611e5d02ea46f8ca3f0c7b | [
"MIT"
] | null | null | null | stereo/image/segmentation/seg_utils/resnet_unet.py | nilsmechtel/stereopy | cd8f34b45ae6667043611e5d02ea46f8ca3f0c7b | [
"MIT"
] | null | null | null | from aifc import Error
import torch
import torch.nn as nn
import torchvision
from . import models
def double_conv(in_channels, out_channels):
return nn.Sequential(
nn.Conv2d(in_channels, out_channels, kernel_size=3, stride=1, padding=1),
nn.BatchNorm2d(out_channels),
nn.ReLU(inplace=True),... | 32.923372 | 93 | 0.591179 | 1,130 | 8,593 | 4.338938 | 0.099115 | 0.080767 | 0.069345 | 0.024475 | 0.844585 | 0.804813 | 0.777075 | 0.756476 | 0.756476 | 0.756476 | 0 | 0.077754 | 0.278599 | 8,593 | 260 | 94 | 33.05 | 0.71318 | 0.064355 | 0 | 0.753927 | 0 | 0 | 0.015721 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057592 | false | 0.005236 | 0.026178 | 0.010471 | 0.125654 | 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 |
669cb4b021a405933c0942a7bf844aeaf3060894 | 4,583 | py | Python | app/test/test_rds.py | troydieter/aws-auto-cleanup | 523bae5cc57b81d3a2f0d43c87b9f1ef5390e3a4 | [
"MIT"
] | 322 | 2019-04-15T01:59:57.000Z | 2022-03-09T00:06:55.000Z | app/test/test_rds.py | troydieter/aws-auto-cleanup | 523bae5cc57b81d3a2f0d43c87b9f1ef5390e3a4 | [
"MIT"
] | 70 | 2019-04-15T01:27:21.000Z | 2022-03-02T00:39:29.000Z | app/test/test_rds.py | troydieter/aws-auto-cleanup | 523bae5cc57b81d3a2f0d43c87b9f1ef5390e3a4 | [
"MIT"
] | 49 | 2019-04-15T06:36:42.000Z | 2022-01-17T11:37:32.000Z | import datetime
import logging
import moto
import pytest
from .. import rds_cleanup
class TestSnapshotsMoreThanTTL:
@pytest.fixture
def test_class(self):
with moto.mock_rds2():
whitelist = {}
settings = {
"general": {"dry_run": False},
"service... | 32.048951 | 82 | 0.589352 | 399 | 4,583 | 6.571429 | 0.177945 | 0.092677 | 0.06865 | 0.08238 | 0.932494 | 0.932494 | 0.932494 | 0.932494 | 0.932494 | 0.932494 | 0 | 0.024115 | 0.303295 | 4,583 | 142 | 83 | 32.274648 | 0.797056 | 0.077678 | 0 | 0.772277 | 0 | 0 | 0.141059 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 1 | 0.059406 | false | 0.029703 | 0.049505 | 0 | 0.138614 | 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 |
66bd581a8cc89b3e3a54ad43d9b44b52d28a16a8 | 83,794 | py | Python | decompyle.py | Garangan-Z/Decomfile | 901eaac17655afa87c6dd2d0d8d815d83e876767 | [
"Apache-2.0"
] | null | null | null | decompyle.py | Garangan-Z/Decomfile | 901eaac17655afa87c6dd2d0d8d815d83e876767 | [
"Apache-2.0"
] | null | null | null | decompyle.py | Garangan-Z/Decomfile | 901eaac17655afa87c6dd2d0d8d815d83e876767 | [
"Apache-2.0"
] | null | null | null | # Source Generated with Decompyle++
# File: a.pyc (Python 2.7)
import os
import sys
import zlib
import base64
import marshal
import binascii
import time
import py_compile
from time import sleep as waktu
from random import randint
logo = ' '
p = '\x1b[0m'
m = '\x1b[31m'
i = '\x1b[32m'
b = '\x1b[34m'
k = '\x1b[33;1m'
cg... | 151.526221 | 19,677 | 0.121763 | 3,123 | 83,794 | 3.235351 | 0.096702 | 0.009501 | 0.017815 | 0.03464 | 0.796219 | 0.792063 | 0.775831 | 0.773951 | 0.766825 | 0.760293 | 0 | 0.012997 | 0.122204 | 83,794 | 552 | 19,678 | 151.800725 | 0.124371 | 0.000692 | 0 | 0.746094 | 1 | 0.074219 | 0.797941 | 0.722344 | 0.001953 | 0 | 0 | 0 | 0 | 0 | null | null | 0.001953 | 0.068359 | null | null | 0.056641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
66bde39cac408fadfed8a00ffefc7b597aae6f6d | 41 | py | Python | src/toolkit/__init__.py | yelingqun/toolkit_demos | 12dd9431b2e306312c3b6059356be9a91b68409a | [
"MIT"
] | null | null | null | src/toolkit/__init__.py | yelingqun/toolkit_demos | 12dd9431b2e306312c3b6059356be9a91b68409a | [
"MIT"
] | null | null | null | src/toolkit/__init__.py | yelingqun/toolkit_demos | 12dd9431b2e306312c3b6059356be9a91b68409a | [
"MIT"
] | null | null | null | from . import pytorch
from . import mnist | 20.5 | 21 | 0.780488 | 6 | 41 | 5.333333 | 0.666667 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 2 | 22 | 20.5 | 0.941176 | 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 |
dd1a8b332b6e8bfe8da03e382594754840ac8be8 | 81,162 | py | Python | itembase/core/migrations/0001_initial.py | wedwardbeck/ibase | 5647fa5aff6c1bdc99b6c93884ff0d5aef17d85b | [
"MIT"
] | null | null | null | itembase/core/migrations/0001_initial.py | wedwardbeck/ibase | 5647fa5aff6c1bdc99b6c93884ff0d5aef17d85b | [
"MIT"
] | 9 | 2020-01-17T14:16:08.000Z | 2020-02-18T15:07:40.000Z | itembase/core/migrations/0001_initial.py | wedwardbeck/ibase | 5647fa5aff6c1bdc99b6c93884ff0d5aef17d85b | [
"MIT"
] | null | null | null | # Generated by Django 2.2.9 on 2020-01-25 00:04
import autoslug.fields
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import itembase.core.models
import phonenumber_field.modelfields
import simple_history.models
import versatileim... | 78.040385 | 232 | 0.618159 | 8,744 | 81,162 | 5.524931 | 0.033737 | 0.104285 | 0.034486 | 0.054192 | 0.936638 | 0.932747 | 0.927696 | 0.920203 | 0.919975 | 0.904761 | 0 | 0.009252 | 0.222272 | 81,162 | 1,039 | 233 | 78.115496 | 0.756091 | 0.000554 | 0 | 0.768411 | 1 | 0 | 0.18311 | 0.01001 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008721 | 0 | 0.012597 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dd1ac8233c9f7391515a24851be34f0351de31f6 | 4,947 | py | Python | src/postprocess_run.py | AminJavari/ROSE | 8f4eeb52bd1a516278f0bc821fd4cba93ee91c7c | [
"Apache-2.0"
] | null | null | null | src/postprocess_run.py | AminJavari/ROSE | 8f4eeb52bd1a516278f0bc821fd4cba93ee91c7c | [
"Apache-2.0"
] | null | null | null | src/postprocess_run.py | AminJavari/ROSE | 8f4eeb52bd1a516278f0bc821fd4cba93ee91c7c | [
"Apache-2.0"
] | null | null | null | # import settings
# import const
# import sys
# from src import postprocess as post
#
#
# if __name__ == '__main__':
# do_3types = True
# do_3types_weighted = True
# similarity_type = "distance" # distance product
# do_sine = True
# sine_model = "35.p"
# # ----------------- Node2... | 70.671429 | 112 | 0.570851 | 469 | 4,947 | 5.680171 | 0.140725 | 0.162162 | 0.243243 | 0.310811 | 0.799925 | 0.751877 | 0.750375 | 0.663664 | 0.652027 | 0.632132 | 0 | 0.016672 | 0.333131 | 4,947 | 69 | 113 | 71.695652 | 0.790846 | 0.955124 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dd89fa416900ee1f771ac6a7c2a01941231bb932 | 9,172 | py | Python | src/third_party/beaengine/tests/0fe6.py | CrackerCat/rp | 5fe693c26d76b514efaedb4084f6e37d820db023 | [
"MIT"
] | 1 | 2022-01-17T17:40:29.000Z | 2022-01-17T17:40:29.000Z | src/third_party/beaengine/tests/0fe6.py | CrackerCat/rp | 5fe693c26d76b514efaedb4084f6e37d820db023 | [
"MIT"
] | null | null | null | src/third_party/beaengine/tests/0fe6.py | CrackerCat/rp | 5fe693c26d76b514efaedb4084f6e37d820db023 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# This program 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
# (at your option) any later version.
#
# This progra... | 40.052402 | 75 | 0.639555 | 1,134 | 9,172 | 5.119929 | 0.145503 | 0.107992 | 0.186531 | 0.161213 | 0.834826 | 0.817947 | 0.726318 | 0.688081 | 0.677058 | 0.664313 | 0 | 0.076349 | 0.226014 | 9,172 | 228 | 76 | 40.22807 | 0.741513 | 0.188072 | 0 | 0.674074 | 0 | 0 | 0.156998 | 0 | 0 | 0 | 0.010683 | 0 | 0.422222 | 1 | 0.007407 | false | 0 | 0.014815 | 0 | 0.02963 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 |
06c2ec0ad618c8fb6efb119d1e05de33f5a28369 | 6,060 | py | Python | python/roboscheduler/tests/test_cadence.py | sdss/roboscheduler | d06000381e379130e54e704e4f2df09326b4dded | [
"BSD-3-Clause"
] | null | null | null | python/roboscheduler/tests/test_cadence.py | sdss/roboscheduler | d06000381e379130e54e704e4f2df09326b4dded | [
"BSD-3-Clause"
] | 3 | 2021-04-17T01:15:01.000Z | 2021-07-01T22:05:58.000Z | python/roboscheduler/tests/test_cadence.py | sdss/roboscheduler | d06000381e379130e54e704e4f2df09326b4dded | [
"BSD-3-Clause"
] | 1 | 2021-12-07T16:25:23.000Z | 2021-12-07T16:25:23.000Z | # encoding: utf-8
#
# main.py
from __future__ import division
from __future__ import print_function
from __future__ import absolute_import
from __future__ import unicode_literals
from pytest import mark
import os
import roboscheduler.cadence as cadence
class TestCadence(object):
"""Tests CadenceList"""
d... | 44.558824 | 87 | 0.512871 | 601 | 6,060 | 4.950083 | 0.143095 | 0.096807 | 0.108908 | 0.175462 | 0.808067 | 0.779496 | 0.741513 | 0.711933 | 0.711933 | 0.692437 | 0 | 0.04157 | 0.360891 | 6,060 | 135 | 88 | 44.888889 | 0.726569 | 0.006931 | 0 | 0.53271 | 0 | 0 | 0.071381 | 0.003494 | 0 | 0 | 0 | 0 | 0.205607 | 1 | 0.056075 | false | 0 | 0.065421 | 0 | 0.130841 | 0.009346 | 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 |
06ca7b3558fbe25406f77afb366b625dae8bf205 | 116 | py | Python | calculator.py | prah23/crud | 13662d250a8e36e0231e90e1efdb94ae7229c463 | [
"MIT"
] | null | null | null | calculator.py | prah23/crud | 13662d250a8e36e0231e90e1efdb94ae7229c463 | [
"MIT"
] | null | null | null | calculator.py | prah23/crud | 13662d250a8e36e0231e90e1efdb94ae7229c463 | [
"MIT"
] | null | null | null | def add(x,y):
return x+y
def multiply(x,y):
return x*y
def subtract(x,y):
return x-y
print("Hi")
| 14.5 | 19 | 0.560345 | 23 | 116 | 2.826087 | 0.391304 | 0.184615 | 0.369231 | 0.415385 | 0.553846 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 116 | 7 | 20 | 16.571429 | 0.77381 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.428571 | 0.857143 | 0.142857 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
06cbbffabc3c6e7d68094bdc3be648bb6f851411 | 209 | py | Python | resample/__init__.py | wwu-mmll/resample | 3c61f5994420931f43571290d410beb05eee8fe6 | [
"BSD-3-Clause"
] | null | null | null | resample/__init__.py | wwu-mmll/resample | 3c61f5994420931f43571290d410beb05eee8fe6 | [
"BSD-3-Clause"
] | null | null | null | resample/__init__.py | wwu-mmll/resample | 3c61f5994420931f43571290d410beb05eee8fe6 | [
"BSD-3-Clause"
] | null | null | null | """
resample package.
"""
from . import bootstrap # noqa
from . import empirical # noqa
from . import jackknife # noqa
from . import permutation # noqa
from .version import version as __version__ # noqa
| 20.9 | 51 | 0.717703 | 25 | 209 | 5.84 | 0.44 | 0.273973 | 0.287671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200957 | 209 | 9 | 52 | 23.222222 | 0.874252 | 0.205742 | 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 |
6653062157f7a2e2b53e7e223666429dd9e8f0ff | 3,658 | py | Python | tests/api_tests/pytests/test_doc_search.py | UKGovernmentBEIS/open-regulation-platform-alpha | c1170fc7d9563cbdeda094df87c606ad622bfcf2 | [
"MIT"
] | null | null | null | tests/api_tests/pytests/test_doc_search.py | UKGovernmentBEIS/open-regulation-platform-alpha | c1170fc7d9563cbdeda094df87c606ad622bfcf2 | [
"MIT"
] | null | null | null | tests/api_tests/pytests/test_doc_search.py | UKGovernmentBEIS/open-regulation-platform-alpha | c1170fc7d9563cbdeda094df87c606ad622bfcf2 | [
"MIT"
] | null | null | null | #
# Copyright (C) Analytics Engines 2021
# Alastair McKinley (a.mckinley@analyticsengines.com)
#
import requests
def test_doc_search_names(base_url,editor_jwt):
headers = {
'Authorization' : f'Bearer {editor_jwt}'
}
json = {
"filters" : [{
"operator" : "and",
"filt... | 31.808696 | 433 | 0.616184 | 384 | 3,658 | 5.572917 | 0.221354 | 0.082243 | 0.056075 | 0.053738 | 0.932243 | 0.932243 | 0.903738 | 0.903738 | 0.903738 | 0.903738 | 0 | 0.00331 | 0.256698 | 3,658 | 114 | 434 | 32.087719 | 0.783744 | 0.024057 | 0 | 0.741935 | 0 | 0.021505 | 0.482178 | 0.337917 | 0 | 0 | 0 | 0 | 0.053763 | 1 | 0.032258 | false | 0 | 0.010753 | 0 | 0.043011 | 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 |
b07f5dfd21fe6b28d846ba3f5ce874ead5abfe3a | 5,973 | py | Python | tests/unit_tests/test_tethys_compute/test_views/test_dask_dashboard.py | romer8/tethys | d18f1a203da41245b3b283e13068b8c1b5b2f2a7 | [
"BSD-2-Clause"
] | null | null | null | tests/unit_tests/test_tethys_compute/test_views/test_dask_dashboard.py | romer8/tethys | d18f1a203da41245b3b283e13068b8c1b5b2f2a7 | [
"BSD-2-Clause"
] | null | null | null | tests/unit_tests/test_tethys_compute/test_views/test_dask_dashboard.py | romer8/tethys | d18f1a203da41245b3b283e13068b8c1b5b2f2a7 | [
"BSD-2-Clause"
] | null | null | null | import unittest
from unittest import mock
from tethys_compute.views.dask_dashboard import dask_dashboard
class TestDaskDashBoard(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
@mock.patch('tethys_compute.views.dask_dashboard.render')
@mock.patch('tethys_compute.... | 44.909774 | 111 | 0.718232 | 783 | 5,973 | 5.108557 | 0.067688 | 0.084 | 0.098 | 0.0825 | 0.92375 | 0.916 | 0.916 | 0.916 | 0.916 | 0.874 | 0 | 0.008492 | 0.17194 | 5,973 | 132 | 112 | 45.25 | 0.800243 | 0.030303 | 0 | 0.706522 | 0 | 0 | 0.277653 | 0.214471 | 0 | 0 | 0 | 0 | 0.152174 | 1 | 0.097826 | false | 0.021739 | 0.032609 | 0 | 0.141304 | 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 |
b08a6d294ea9e3a5a63b5cdfc22857367d270533 | 2,769 | py | Python | budgetportal/migrations/0063_auto_20200728_1011.py | Lunga001/datamanager | ebe9ad9db2ee7011855f1249c46d9d1bf6f4c4d1 | [
"MIT"
] | 3 | 2019-08-31T03:08:22.000Z | 2020-04-03T13:09:20.000Z | budgetportal/migrations/0063_auto_20200728_1011.py | Lunga001/datamanager | ebe9ad9db2ee7011855f1249c46d9d1bf6f4c4d1 | [
"MIT"
] | 97 | 2019-04-16T07:54:38.000Z | 2022-02-10T07:25:48.000Z | budgetportal/migrations/0063_auto_20200728_1011.py | OpenUpSA/budget-portal | 879c5875b1d438b9287c38d6730c86be69051ac5 | [
"MIT"
] | 14 | 2019-04-23T09:48:17.000Z | 2021-04-13T17:48:40.000Z | # Generated by Django 2.2.10 on 2020-07-28 10:11
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
(
"budgetportal",
"0062_inyearmonitoringresourcelink_performanceresourcelink_procurementresourcelink",
),
]
operation... | 33.361446 | 96 | 0.49693 | 218 | 2,769 | 6.16055 | 0.275229 | 0.080417 | 0.102755 | 0.120625 | 0.840655 | 0.840655 | 0.71035 | 0.71035 | 0.71035 | 0.71035 | 0 | 0.0193 | 0.401228 | 2,769 | 82 | 97 | 33.768293 | 0.790712 | 0.016613 | 0 | 0.881579 | 1 | 0 | 0.266079 | 0.08416 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013158 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b0a0b12d76ad89dd85ae73b759a92cd8538468ca | 9,230 | py | Python | exo_5_as_with.py | linetonthat/sqlbigquery | 52d827705c46cd694b1d19c4940f6ec326fa1409 | [
"MIT"
] | null | null | null | exo_5_as_with.py | linetonthat/sqlbigquery | 52d827705c46cd694b1d19c4940f6ec326fa1409 | [
"MIT"
] | null | null | null | exo_5_as_with.py | linetonthat/sqlbigquery | 52d827705c46cd694b1d19c4940f6ec326fa1409 | [
"MIT"
] | null | null | null | from google.cloud import bigquery
# Create a "Client" object
client = bigquery.Client()
# Construct a reference to the "chicago_taxi_trips" dataset
dataset_ref = client.dataset("chicago_taxi_trips", project="bigquery-public-data")
# API request - fetch the dataset
dataset = client.get_dataset(dataset_ref)
# List al... | 43.537736 | 97 | 0.54572 | 1,046 | 9,230 | 4.568834 | 0.110899 | 0.039548 | 0.079096 | 0.073656 | 0.809584 | 0.754342 | 0.722745 | 0.722745 | 0.709353 | 0.69638 | 0 | 0.01815 | 0.313543 | 9,230 | 211 | 98 | 43.744076 | 0.736111 | 0.28299 | 0 | 0.650794 | 0 | 0 | 0.693131 | 0.108765 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007937 | 0 | 0.007937 | 0.015873 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b0eaceccf3654f49e155f6c0a6176702c4e24ed2 | 303 | py | Python | lab_04/__init__.py | vanSultan/anal_dev_algo | e9d6382103080e6f885b1456cc0a3ce64fbe1863 | [
"MIT"
] | null | null | null | lab_04/__init__.py | vanSultan/anal_dev_algo | e9d6382103080e6f885b1456cc0a3ce64fbe1863 | [
"MIT"
] | null | null | null | lab_04/__init__.py | vanSultan/anal_dev_algo | e9d6382103080e6f885b1456cc0a3ce64fbe1863 | [
"MIT"
] | null | null | null | from scipy.optimize import minimize, least_squares, dual_annealing, differential_evolution
from .funcs import get_signal, f_least_squares, rational_approx
__all__ = [
"minimize", "least_squares", "dual_annealing", "differential_evolution",
"get_signal", "f_least_squares", "rational_approx"
]
| 33.666667 | 90 | 0.788779 | 36 | 303 | 6.138889 | 0.5 | 0.217195 | 0.180995 | 0.217195 | 0.81448 | 0.81448 | 0.81448 | 0 | 0 | 0 | 0 | 0 | 0.112211 | 303 | 8 | 91 | 37.875 | 0.821561 | 0 | 0 | 0 | 0 | 0 | 0.320132 | 0.072607 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
c6b0c2f961733f4f89643fe7e4427d3db4945ef6 | 5,990 | py | Python | test/test_exec/test_branch_call_return.py | iafisher/hera-py | 773729870cd593f0dc55ac6fe8b9c8690faa73c1 | [
"MIT"
] | 2 | 2020-10-27T19:16:45.000Z | 2020-10-27T19:26:44.000Z | test/test_exec/test_branch_call_return.py | iafisher/hera-py | 773729870cd593f0dc55ac6fe8b9c8690faa73c1 | [
"MIT"
] | 141 | 2018-11-20T16:55:06.000Z | 2021-03-29T01:07:59.000Z | test/test_exec/test_branch_call_return.py | iafisher/hera-py | 773729870cd593f0dc55ac6fe8b9c8690faa73c1 | [
"MIT"
] | 1 | 2019-02-27T22:02:33.000Z | 2019-02-27T22:02:33.000Z | import pytest
from .utils import helper
from hera.data import Token
from hera.op import name_to_class
from hera.vm import VirtualMachine
@pytest.fixture
def vm():
return VirtualMachine()
def branch_helper(vm, branchname):
op = name_to_class[branchname](Token.Sym("l"))
return op.should(vm)
def test_ex... | 19.966667 | 56 | 0.70217 | 982 | 5,990 | 3.953157 | 0.078411 | 0.075734 | 0.133436 | 0.092736 | 0.874549 | 0.816847 | 0.800876 | 0.752447 | 0.718959 | 0.613601 | 0 | 0.031418 | 0.192321 | 5,990 | 299 | 57 | 20.033445 | 0.77098 | 0 | 0 | 0.604396 | 0 | 0 | 0.038397 | 0 | 0 | 0 | 0 | 0 | 0.263736 | 1 | 0.263736 | false | 0 | 0.027473 | 0.005495 | 0.302198 | 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 |
c6e583b3a3fff03872302a67250a84fc9f989398 | 42,336 | py | Python | SprityBird/spritybird/python3.5/lib/python3.5/site-packages/healpy/visufunc.py | MobileAnalytics/iPython-Framework | da0e598308c067cd5c5290a6364b3ffaf2d2418f | [
"MIT"
] | 4 | 2018-07-04T17:20:12.000Z | 2019-07-14T18:07:25.000Z | SprityBird/spritybird/python3.5/lib/python3.5/site-packages/healpy/visufunc.py | MobileAnalytics/iPython-Framework | da0e598308c067cd5c5290a6364b3ffaf2d2418f | [
"MIT"
] | null | null | null | SprityBird/spritybird/python3.5/lib/python3.5/site-packages/healpy/visufunc.py | MobileAnalytics/iPython-Framework | da0e598308c067cd5c5290a6364b3ffaf2d2418f | [
"MIT"
] | 1 | 2018-09-03T03:02:06.000Z | 2018-09-03T03:02:06.000Z | #
# This file is part of Healpy.
#
# Healpy 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 2 of the License, or
# (at your option) any later version.
#
# Healpy is distributed in the h... | 40.668588 | 101 | 0.574901 | 5,522 | 42,336 | 4.366715 | 0.08276 | 0.009538 | 0.003857 | 0.003649 | 0.860407 | 0.850661 | 0.847219 | 0.843197 | 0.840916 | 0.832207 | 0 | 0.025078 | 0.314319 | 42,336 | 1,040 | 102 | 40.707692 | 0.805574 | 0.411305 | 0 | 0.866426 | 0 | 0 | 0.032313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018051 | false | 0 | 0.025271 | 0 | 0.057762 | 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 |
05cc28cbcba265864effbfb111aed180c0e55c1c | 689,830 | py | Python | music.py | PLAYFULBOY/dengnituodan | 5674f196d0fc8b0fcb8f07bad8ff5fd44a089dfb | [
"MIT"
] | null | null | null | music.py | PLAYFULBOY/dengnituodan | 5674f196d0fc8b0fcb8f07bad8ff5fd44a089dfb | [
"MIT"
] | null | null | null | music.py | PLAYFULBOY/dengnituodan | 5674f196d0fc8b0fcb8f07bad8ff5fd44a089dfb | [
"MIT"
] | null | null | null | import random
######################################################################################################
#Alan Walker
alan_walker = [
["All Falls Down","昵昵网页随机搜索结果~","http://music.163.com/song/media/outer/url?id=515453363.mp3","http://music.163.com/song/media/outer/url?id=515453363.mp3"],
[... | 143.774489 | 556 | 0.683061 | 109,597 | 689,830 | 4.29895 | 0.074847 | 0.167908 | 0.223877 | 0.279846 | 0.955172 | 0.954938 | 0.952069 | 0.952069 | 0.952069 | 0.952069 | 0 | 0.157584 | 0.064729 | 689,830 | 4,797 | 557 | 143.804461 | 0.572634 | 0.000731 | 0 | 0.186452 | 0 | 1.890753 | 0.844044 | 0.000774 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000215 | false | 0 | 0.000215 | 0 | 0.010968 | 0.00043 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
afa24568f517e1cf20c3644846865cb7575e9ddb | 4,896 | py | Python | tests/core/v5_1/alexandria/test_radius_tracker.py | gsalgado/ddht | 341e84e9163338556cd48dd2fcfda9eedec3eb45 | [
"MIT"
] | 1 | 2021-04-05T00:30:39.000Z | 2021-04-05T00:30:39.000Z | tests/core/v5_1/alexandria/test_radius_tracker.py | gsalgado/ddht | 341e84e9163338556cd48dd2fcfda9eedec3eb45 | [
"MIT"
] | null | null | null | tests/core/v5_1/alexandria/test_radius_tracker.py | gsalgado/ddht | 341e84e9163338556cd48dd2fcfda9eedec3eb45 | [
"MIT"
] | null | null | null | from async_service import background_trio_service
import pytest
import trio
from ddht.tools.factories.alexandria import AdvertisementFactory
from ddht.v5_1.alexandria.messages import AdvertiseMessage, PingMessage
from ddht.v5_1.alexandria.radius_tracker import RadiusTracker
@pytest.mark.trio
async def test_radius_tr... | 33.765517 | 89 | 0.619077 | 493 | 4,896 | 5.803245 | 0.150101 | 0.095421 | 0.073051 | 0.043691 | 0.84411 | 0.82943 | 0.82943 | 0.815449 | 0.801818 | 0.801818 | 0 | 0.012323 | 0.320466 | 4,896 | 144 | 90 | 34 | 0.84761 | 0 | 0 | 0.738318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 1 | 0 | false | 0 | 0.056075 | 0 | 0.056075 | 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 |
afca633665e47a605eacdf2ec8caed11a7da16a1 | 2,336 | py | Python | src/bpp/migrations/0006_auto_20141112_1531.py | iplweb/django-bpp | 85f183a99d8d5027ae4772efac1e4a9f21675849 | [
"BSD-3-Clause"
] | 1 | 2017-04-27T19:50:02.000Z | 2017-04-27T19:50:02.000Z | src/bpp/migrations/0006_auto_20141112_1531.py | mpasternak/django-bpp | 434338821d5ad1aaee598f6327151aba0af66f5e | [
"BSD-3-Clause"
] | 41 | 2019-11-07T00:07:02.000Z | 2022-02-27T22:09:39.000Z | src/bpp/migrations/0006_auto_20141112_1531.py | iplweb/bpp | f027415cc3faf1ca79082bf7bacd4be35b1a6fdf | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('bpp', '0005_auto_20141107_1950'),
]
operations = [
migrations.AddField(
model_name='praca_doktorska',
name='promotor',
field=mo... | 32.901408 | 136 | 0.585188 | 207 | 2,336 | 6.425121 | 0.236715 | 0.074436 | 0.180451 | 0.218045 | 0.804511 | 0.784211 | 0.784211 | 0.750376 | 0.750376 | 0.750376 | 0 | 0.010429 | 0.302226 | 2,336 | 70 | 137 | 33.371429 | 0.805521 | 0.00899 | 0 | 0.825397 | 0 | 0 | 0.143969 | 0.009944 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015873 | 0 | 0.063492 | 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 |
bb748ac28a5bf1f575af3be0af6d06f7b36ce186 | 75 | py | Python | configure-db.py | theapricot/oppapp | 19c1b24255e439192219a076a8c54d7ed1341e60 | [
"MIT"
] | null | null | null | configure-db.py | theapricot/oppapp | 19c1b24255e439192219a076a8c54d7ed1341e60 | [
"MIT"
] | null | null | null | configure-db.py | theapricot/oppapp | 19c1b24255e439192219a076a8c54d7ed1341e60 | [
"MIT"
] | null | null | null | from oppapp import app as application
from oppapp import *
db.create_all()
| 18.75 | 37 | 0.8 | 12 | 75 | 4.916667 | 0.75 | 0.338983 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 75 | 3 | 38 | 25 | 0.921875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3c80187cc7bbf7cd943c0f676c06a404e082eaa8 | 1,520 | py | Python | tests/test_loss_utils.py | fmi-basel/RDCNet | f1ebcab7b7325b08506b8da291a63c7c0470fe5f | [
"MIT"
] | 5 | 2020-10-07T03:48:56.000Z | 2021-05-27T06:28:41.000Z | tests/test_loss_utils.py | fmi-basel/RDCNet | f1ebcab7b7325b08506b8da291a63c7c0470fe5f | [
"MIT"
] | null | null | null | tests/test_loss_utils.py | fmi-basel/RDCNet | f1ebcab7b7325b08506b8da291a63c7c0470fe5f | [
"MIT"
] | 1 | 2021-06-25T10:32:02.000Z | 2021-06-25T10:32:02.000Z | import pytest
import numpy as np
import tensorflow as tf
from rdcnet.losses.utils import hingify
def test_hingify():
yt = np.array([[0., 0., 0., 0., 1., 1., 1., 1.],
[1., 1., 1., 1., 0., 0., 0., 0.]])
yp_hinged = hingify(yt,
np.array([[-0.3, 0., 0.1, 0.3, 0.7, 0.9... | 36.190476 | 76 | 0.365132 | 263 | 1,520 | 2.038023 | 0.121673 | 0.089552 | 0.117537 | 0.104478 | 0.817164 | 0.800373 | 0.779851 | 0.764925 | 0.764925 | 0.764925 | 0 | 0.207821 | 0.411184 | 1,520 | 41 | 77 | 37.073171 | 0.391061 | 0 | 0 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0.029412 | false | 0 | 0.117647 | 0 | 0.147059 | 0 | 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 | 0 | 0 | 8 |
3c9dd90ae89bd46fe981d62a9074ccd48494fd83 | 12,858 | py | Python | NeuralNetwork/Assg20Q1.py | sum-coderepo/HadoopApp | 0e8d48c5d541b5935c9054fb1335d829d67d7b59 | [
"Apache-2.0"
] | 2 | 2020-05-26T23:58:32.000Z | 2020-11-01T20:45:30.000Z | NeuralNetwork/Assg20Q1.py | sum-coderepo/HadoopApp | 0e8d48c5d541b5935c9054fb1335d829d67d7b59 | [
"Apache-2.0"
] | null | null | null | NeuralNetwork/Assg20Q1.py | sum-coderepo/HadoopApp | 0e8d48c5d541b5935c9054fb1335d829d67d7b59 | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
import torchvision.transforms as transforms
import torchvision.datasets as dsets
from torch.autograd import Variable
# Set seed
torch.manual_seed(0)
# Scheduler import
from torch.optim.lr_scheduler import StepLR
'''
STEP 1: LOADING DATASET
'''
train_dataset = dsets.MNIST(root='./d... | 27.952174 | 108 | 0.599549 | 1,501 | 12,858 | 5.017988 | 0.117921 | 0.021508 | 0.019118 | 0.020313 | 0.994158 | 0.985927 | 0.985927 | 0.985927 | 0.985927 | 0.985927 | 0 | 0.02224 | 0.300591 | 12,858 | 460 | 109 | 27.952174 | 0.815301 | 0.193809 | 0 | 0.980198 | 0 | 0 | 0.018622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029703 | false | 0 | 0.089109 | 0 | 0.148515 | 0.029703 | 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 |
b1b36dac22e9a63964bf715e067a2c768fda4561 | 11,905 | py | Python | src/lockstep/clients/invoices_client.py | sfwatanabe/lockstep-sdk-python | b388c818663a4b090debb68c65c18728a082fec0 | [
"MIT"
] | 1 | 2022-03-17T00:23:24.000Z | 2022-03-17T00:23:24.000Z | src/lockstep/clients/invoices_client.py | sfwatanabe/lockstep-sdk-python | b388c818663a4b090debb68c65c18728a082fec0 | [
"MIT"
] | null | null | null | src/lockstep/clients/invoices_client.py | sfwatanabe/lockstep-sdk-python | b388c818663a4b090debb68c65c18728a082fec0 | [
"MIT"
] | null | null | null | #
# Lockstep Software Development Kit for Python
#
# (c) 2021-2022 Lockstep, Inc.
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
#
# @author Ted Spence <tspence@lockstep.io>
# @copyright 2021-2022 Lockstep, Inc.
# @version 2022.4
# ... | 48.99177 | 162 | 0.664847 | 1,502 | 11,905 | 5.252996 | 0.156458 | 0.034221 | 0.045627 | 0.055133 | 0.824842 | 0.817617 | 0.808112 | 0.808112 | 0.806717 | 0.806717 | 0 | 0.004568 | 0.264511 | 11,905 | 242 | 163 | 49.194215 | 0.896528 | 0.705418 | 0 | 0.230769 | 0 | 0 | 0.156476 | 0.073664 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0 | 0.692308 | 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 | 1 | 0 | 0 | 8 |
593d1f83943ea63d57062f1c21d4a2514ebbe2c2 | 8,525 | py | Python | tests/test_lexer.py | joshuaskelly/wick | a539621300c6c01a78007b92451906146620575b | [
"MIT"
] | 4 | 2018-08-21T22:11:53.000Z | 2020-04-13T14:30:30.000Z | tests/test_lexer.py | joshuaskelly/wick | a539621300c6c01a78007b92451906146620575b | [
"MIT"
] | null | null | null | tests/test_lexer.py | joshuaskelly/wick | a539621300c6c01a78007b92451906146620575b | [
"MIT"
] | 1 | 2021-12-20T19:16:30.000Z | 2021-12-20T19:16:30.000Z | import unittest
from wick.parser.lexer import Lexer, LexError, new_lexer
class TestLexer(unittest.TestCase):
def test_basic(self):
program = 'aba'
a_matches = 0
def increment_a(a):
nonlocal a_matches
a_matches += 1
return a
lexer = Lexer(prog... | 38.058036 | 154 | 0.607038 | 1,038 | 8,525 | 4.931599 | 0.085742 | 0.110959 | 0.238328 | 0.129517 | 0.759328 | 0.741551 | 0.731002 | 0.706974 | 0.706974 | 0.692518 | 0 | 0.004705 | 0.252082 | 8,525 | 223 | 155 | 38.2287 | 0.798149 | 0 | 0 | 0.606742 | 0 | 0.005618 | 0.272258 | 0 | 0 | 0 | 0 | 0 | 0.432584 | 1 | 0.067416 | false | 0 | 0.011236 | 0 | 0.089888 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3ca55573a2a489b522a0caad5ade5e7d88d7cf5a | 1,906 | py | Python | pytorchrl/envs/pybullet/pybullet_env_factory.py | BY571/pytorchrl | 2843d088cc90cbf2ca325ccd35550695288ced00 | [
"MIT"
] | null | null | null | pytorchrl/envs/pybullet/pybullet_env_factory.py | BY571/pytorchrl | 2843d088cc90cbf2ca325ccd35550695288ced00 | [
"MIT"
] | null | null | null | pytorchrl/envs/pybullet/pybullet_env_factory.py | BY571/pytorchrl | 2843d088cc90cbf2ca325ccd35550695288ced00 | [
"MIT"
] | null | null | null | import gym
import pybullet_envs
from ..common import FrameStack, FrameSkip
def pybullet_train_env_factory(env_id, index_worker=0, index_env=0, seed=0, frame_skip=0, frame_stack=1):
"""
Create train PyBullet environment.
Parameters
----------
env_id : str
Environment name.
index_worker ... | 25.078947 | 105 | 0.643232 | 248 | 1,906 | 4.762097 | 0.201613 | 0.076207 | 0.03387 | 0.025402 | 0.906012 | 0.906012 | 0.906012 | 0.906012 | 0.906012 | 0.906012 | 0 | 0.010079 | 0.271249 | 1,906 | 75 | 106 | 25.413333 | 0.840173 | 0.510493 | 0 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.157895 | 0 | 0.368421 | 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 |
3ca8cee5a580910da62d8e3741270a0b28328e57 | 2,312 | py | Python | tests/test_basics.py | salihtuc/storage-library-api | f289ca89ce6fd55e26f24adf2886d821a065b2bc | [
"MIT"
] | null | null | null | tests/test_basics.py | salihtuc/storage-library-api | f289ca89ce6fd55e26f24adf2886d821a065b2bc | [
"MIT"
] | null | null | null | tests/test_basics.py | salihtuc/storage-library-api | f289ca89ce6fd55e26f24adf2886d821a065b2bc | [
"MIT"
] | null | null | null | from unittest import TestCase
from models import Record
from destinations import FileDestination, S3Destination
from formats import JsonFormat, XMLFormat
class TestBasicsJsonFile(TestCase):
def setUp(self):
some_dict = {'a': 5, 'b': '4'}
self.record = Record('sample', some_dict)
self.dest ... | 30.025974 | 79 | 0.67128 | 290 | 2,312 | 5.165517 | 0.155172 | 0.133511 | 0.11215 | 0.053405 | 0.863151 | 0.863151 | 0.863151 | 0.863151 | 0.863151 | 0.863151 | 0 | 0.007073 | 0.205017 | 2,312 | 76 | 80 | 30.421053 | 0.807943 | 0 | 0 | 0.833333 | 0 | 0 | 0.044983 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.083333 | 0 | 0.333333 | 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 |
3ceaf757a4a9ba8ec3f0e7a41102e00bf16e21bf | 228 | py | Python | optimal-road-trip/runtime_timer.py | YoungMaker/Machine-Learning-Analysis-With-CUDA | f67cdce6d47a341bab55c20057bb939929c98dc3 | [
"Unlicense",
"CC-BY-4.0",
"MIT"
] | null | null | null | optimal-road-trip/runtime_timer.py | YoungMaker/Machine-Learning-Analysis-With-CUDA | f67cdce6d47a341bab55c20057bb939929c98dc3 | [
"Unlicense",
"CC-BY-4.0",
"MIT"
] | null | null | null | optimal-road-trip/runtime_timer.py | YoungMaker/Machine-Learning-Analysis-With-CUDA | f67cdce6d47a341bab55c20057bb939929c98dc3 | [
"Unlicense",
"CC-BY-4.0",
"MIT"
] | null | null | null | import time
class runtimeTimer(object):
def __init__(self):
self.starttime = time.time()
def start(self):
self.starttime = time.time()
def stop(self):
return time.time() - self.starttime | 16.285714 | 43 | 0.614035 | 27 | 228 | 5.037037 | 0.444444 | 0.286765 | 0.25 | 0.308824 | 0.411765 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267544 | 228 | 14 | 43 | 16.285714 | 0.814371 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
3cf4c16703e5e157dcb140305b96c4ebc06f80e0 | 177 | py | Python | leonardo/extensions/ct_tracker.py | timgates42/django-leonardo | c155f97fee9e2be1e0f508d47a1c205028253ecc | [
"BSD-3-Clause"
] | 102 | 2015-04-30T12:27:14.000Z | 2021-10-31T18:21:16.000Z | leonardo/extensions/ct_tracker.py | timgates42/django-leonardo | c155f97fee9e2be1e0f508d47a1c205028253ecc | [
"BSD-3-Clause"
] | 158 | 2015-04-30T22:42:34.000Z | 2019-09-07T15:37:22.000Z | leonardo/extensions/ct_tracker.py | timgates42/django-leonardo | c155f97fee9e2be1e0f508d47a1c205028253ecc | [
"BSD-3-Clause"
] | 64 | 2015-05-10T12:00:39.000Z | 2021-07-29T19:47:27.000Z |
from leonardo.utils.compatibility import FEINCMS_2
if FEINCMS_2:
from feincms.extensions.ct_tracker import *
else:
from feincms.module.extensions.ct_tracker import *
| 19.666667 | 54 | 0.79096 | 24 | 177 | 5.666667 | 0.541667 | 0.117647 | 0.279412 | 0.367647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.146893 | 177 | 8 | 55 | 22.125 | 0.887417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3cfde80fbcee38d768b5c1c4c8f36f74ddbee1ea | 2,624 | py | Python | app/api/routes/usage.py | translatorswb/Gateway-API | 63780a3d03a8231f910c17018ebffdc6a60d1d2f | [
"MIT"
] | null | null | null | app/api/routes/usage.py | translatorswb/Gateway-API | 63780a3d03a8231f910c17018ebffdc6a60d1d2f | [
"MIT"
] | null | null | null | app/api/routes/usage.py | translatorswb/Gateway-API | 63780a3d03a8231f910c17018ebffdc6a60d1d2f | [
"MIT"
] | null | null | null | from fastapi import APIRouter, Body, HTTPException
from app.api.database.database import query_usage
from app.api.models.models import ErrorResponseModel, ResponseModel
router = APIRouter()
SERVICES_LIST = ['translate'] #TODO: read from environment
@router.get("/{service_name}", response_description="Usage retrieve... | 54.666667 | 104 | 0.731326 | 326 | 2,624 | 5.662577 | 0.153374 | 0.119177 | 0.112676 | 0.151679 | 0.878657 | 0.878657 | 0.869989 | 0.869989 | 0.869989 | 0.869989 | 0 | 0.011019 | 0.16997 | 2,624 | 47 | 105 | 55.829787 | 0.836547 | 0.01029 | 0 | 0.585366 | 0 | 0 | 0.233051 | 0.041988 | 0 | 0 | 0 | 0.021277 | 0 | 1 | 0 | false | 0 | 0.073171 | 0 | 0.268293 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a70e5073e3815409d3e1976c2880f547ed065dd2 | 106 | py | Python | Lib/urllib/robotparser.py | OlCe2/tauthon | 7a0386f03c601663617b5ee1d1bd49e32dc9998c | [
"CNRI-Python-GPL-Compatible"
] | 473 | 2017-02-03T04:03:02.000Z | 2022-02-12T17:44:25.000Z | Lib/urllib/robotparser.py | OlCe2/tauthon | 7a0386f03c601663617b5ee1d1bd49e32dc9998c | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2017-02-02T21:20:07.000Z | 2022-02-04T15:32:45.000Z | Lib/urllib/robotparser.py | OlCe2/tauthon | 7a0386f03c601663617b5ee1d1bd49e32dc9998c | [
"CNRI-Python-GPL-Compatible"
] | 37 | 2017-02-11T21:02:34.000Z | 2020-11-16T10:51:45.000Z | from __future__ import absolute_import
from robotparser import *
from robotparser import __all__, __doc__
| 26.5 | 40 | 0.858491 | 13 | 106 | 6 | 0.538462 | 0.25641 | 0.538462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 106 | 3 | 41 | 35.333333 | 0.83871 | 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 |
59704ac0f67b8ef9b5c8b70f4d49413c287b067b | 7,604 | py | Python | examples/lop/cs_operators.py | carnot-shailesh/cr-sparse | 989ebead8a8ac37ade643093e1caa31ae2a3eda1 | [
"Apache-2.0"
] | 42 | 2021-06-11T17:11:29.000Z | 2022-03-29T11:51:44.000Z | examples/lop/cs_operators.py | carnot-shailesh/cr-sparse | 989ebead8a8ac37ade643093e1caa31ae2a3eda1 | [
"Apache-2.0"
] | 19 | 2021-06-04T11:36:11.000Z | 2022-01-22T20:13:39.000Z | examples/lop/cs_operators.py | carnot-shailesh/cr-sparse | 989ebead8a8ac37ade643093e1caa31ae2a3eda1 | [
"Apache-2.0"
] | 5 | 2021-11-21T21:01:11.000Z | 2022-02-28T07:20:03.000Z | """
.. _gallery:lop:cs_operators:
Compressive Sensing Operators
===============================================
.. contents::
:depth: 2
:local:
"""
# %%
# Let's import necessary libraries
import jax.numpy as jnp
# Random numbers
from jax import random
# For plotting diagrams
import matplotlib.pyplot as pl... | 23.541796 | 70 | 0.62888 | 1,174 | 7,604 | 4.024702 | 0.10477 | 0.038095 | 0.038095 | 0.050794 | 0.89291 | 0.890794 | 0.890794 | 0.890794 | 0.890794 | 0.890794 | 0 | 0.012777 | 0.155971 | 7,604 | 322 | 71 | 23.614907 | 0.723434 | 0.59232 | 0 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.043478 | 0.434783 | 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 | 1 | 0 | 8 |
5997d6db36df7aa1f1e606317de48d6a7db4c141 | 20,838 | py | Python | photutils/aperture_funcs.py | hamogu/photutils | d032c703260482aa57fc76c1adb7d244b376c39a | [
"BSD-3-Clause"
] | null | null | null | photutils/aperture_funcs.py | hamogu/photutils | d032c703260482aa57fc76c1adb7d244b376c39a | [
"BSD-3-Clause"
] | 1 | 2016-02-19T14:00:04.000Z | 2016-02-19T14:00:04.000Z | photutils/aperture_funcs.py | hamogu/photutils | d032c703260482aa57fc76c1adb7d244b376c39a | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""Functions for performing aperture photometry on 2-D arrays."""
from __future__ import (absolute_import, division, print_function,
unicode_literals)
import numpy as np
import math
import warnings
import astropy.units as u
from a... | 53.022901 | 93 | 0.368078 | 2,112 | 20,838 | 3.429924 | 0.069602 | 0.053009 | 0.033131 | 0.039757 | 0.861541 | 0.841938 | 0.819989 | 0.819851 | 0.815848 | 0.815848 | 0 | 0.015011 | 0.533257 | 20,838 | 392 | 94 | 53.158163 | 0.729796 | 0.01574 | 0 | 0.811765 | 0 | 0 | 0.016297 | 0 | 0 | 0 | 0 | 0.002551 | 0 | 1 | 0.008824 | false | 0 | 0.029412 | 0 | 0.061765 | 0.002941 | 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 |
abe907a747d80fce5f83ec8e05d93b5bcec47812 | 188 | py | Python | home/pedrosenarego/googeCalendar/cmd.py | rv8flyboy/pyrobotlab | 4e04fb751614a5cb6044ea15dcfcf885db8be65a | [
"Apache-2.0"
] | 63 | 2015-02-03T18:49:43.000Z | 2022-03-29T03:52:24.000Z | home/pedrosenarego/googeCalendar/cmd.py | hirwaHenryChristian/pyrobotlab | 2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9 | [
"Apache-2.0"
] | 16 | 2016-01-26T19:13:29.000Z | 2018-11-25T21:20:51.000Z | home/pedrosenarego/googeCalendar/cmd.py | hirwaHenryChristian/pyrobotlab | 2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9 | [
"Apache-2.0"
] | 151 | 2015-01-03T18:55:54.000Z | 2022-03-04T07:04:23.000Z | #!/usr/bin/env python
import subprocess
subprocess.call("cd /home/pedro/Dropbox/pastaPessoal/3Dprinter/inmoov/scripts/googlecalandar && gnome-terminal -x python event.py", shell=True)
| 26.857143 | 143 | 0.781915 | 25 | 188 | 5.88 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005814 | 0.085106 | 188 | 7 | 144 | 26.857143 | 0.848837 | 0.106383 | 0 | 0 | 0 | 0.5 | 0.666667 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 8 |
e6614d5765ee6bb942e877fd8546f882d088bae7 | 376 | py | Python | terrascript/resource/turbot.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/turbot.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/turbot.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/turbot.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:29:24 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.resource.turbot
#
# instead of
#
# >>> import terrascript.resource.turbot.turbot
#
# This is only available for 'official' and 'partner' provi... | 25.066667 | 73 | 0.742021 | 49 | 376 | 5.693878 | 0.673469 | 0.272401 | 0.358423 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036923 | 0.135638 | 376 | 14 | 74 | 26.857143 | 0.821538 | 0.800532 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
05000a28d44b3b5d115c3fafc1acca0b1e2720ec | 72 | py | Python | smoke/data/__init__.py | SmallMunich/Smoke | 591a03bdb5cad962999914c9a97c7a8bed9e529b | [
"MIT"
] | 465 | 2020-03-03T09:25:16.000Z | 2022-03-30T09:34:34.000Z | smoke/data/__init__.py | SmallMunich/Smoke | 591a03bdb5cad962999914c9a97c7a8bed9e529b | [
"MIT"
] | 65 | 2020-03-13T12:45:29.000Z | 2022-03-28T08:09:21.000Z | smoke/data/__init__.py | SmallMunich/Smoke | 591a03bdb5cad962999914c9a97c7a8bed9e529b | [
"MIT"
] | 160 | 2020-03-04T06:09:17.000Z | 2022-03-30T02:31:38.000Z | from .build import make_data_loader
from .build import build_test_loader | 36 | 36 | 0.875 | 12 | 72 | 4.916667 | 0.583333 | 0.305085 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 72 | 2 | 36 | 36 | 0.907692 | 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 |
552b621375adbd654327d2cd14fe6c7b6fe50d02 | 3,823 | py | Python | Kode_calendar/migrations/0001_initial.py | all4one-max/code-calendar-public | ffbcee1a6006097156ed213c3ecc9771ce69f636 | [
"Apache-2.0"
] | null | null | null | Kode_calendar/migrations/0001_initial.py | all4one-max/code-calendar-public | ffbcee1a6006097156ed213c3ecc9771ce69f636 | [
"Apache-2.0"
] | null | null | null | Kode_calendar/migrations/0001_initial.py | all4one-max/code-calendar-public | ffbcee1a6006097156ed213c3ecc9771ce69f636 | [
"Apache-2.0"
] | 1 | 2021-05-23T16:26:43.000Z | 2021-05-23T16:26:43.000Z | # Generated by Django 3.1.7 on 2021-03-24 12:02
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='atcoder',
fields=[
('id', models.AutoField(... | 44.976471 | 114 | 0.556631 | 397 | 3,823 | 5.201511 | 0.128463 | 0.20339 | 0.244068 | 0.325424 | 0.892978 | 0.892978 | 0.892978 | 0.892978 | 0.892978 | 0.892978 | 0 | 0.036762 | 0.295579 | 3,823 | 84 | 115 | 45.511905 | 0.730041 | 0.011771 | 0 | 0.818182 | 1 | 0 | 0.07018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.064935 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
553b2c11fb5fb4d5865e34bf3813a2b343d5ad91 | 33,358 | py | Python | docusign_esign/apis/bulk_envelopes_api.py | pivotal-energy-solutions/docusign-python-client | f3edd0b82e57999bc8848a63a0477712714ee437 | [
"MIT"
] | null | null | null | docusign_esign/apis/bulk_envelopes_api.py | pivotal-energy-solutions/docusign-python-client | f3edd0b82e57999bc8848a63a0477712714ee437 | [
"MIT"
] | null | null | null | docusign_esign/apis/bulk_envelopes_api.py | pivotal-energy-solutions/docusign-python-client | f3edd0b82e57999bc8848a63a0477712714ee437 | [
"MIT"
] | 1 | 2021-04-26T20:52:45.000Z | 2021-04-26T20:52:45.000Z | # coding: utf-8
"""
DocuSign REST API
The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
OpenAPI spec version: v2
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __f... | 51.637771 | 531 | 0.619821 | 3,783 | 33,358 | 5.289188 | 0.075073 | 0.038233 | 0.023989 | 0.019941 | 0.948323 | 0.938278 | 0.93408 | 0.930281 | 0.926383 | 0.914938 | 0 | 0.000733 | 0.304754 | 33,358 | 645 | 532 | 51.717829 | 0.8609 | 0.417111 | 0 | 0.749216 | 0 | 0 | 0.21466 | 0.047909 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.021944 | 0 | 0.106583 | 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 |
556e90dd72cdddb6dfe1b532bb9d43977155800b | 146 | py | Python | ws13 Pytho Modules/MyPackage/module2.py | olg200492/InfinityLabs-DevOps | 2b879683741281b03016e917518e95c997dcd6bb | [
"MIT"
] | null | null | null | ws13 Pytho Modules/MyPackage/module2.py | olg200492/InfinityLabs-DevOps | 2b879683741281b03016e917518e95c997dcd6bb | [
"MIT"
] | null | null | null | ws13 Pytho Modules/MyPackage/module2.py | olg200492/InfinityLabs-DevOps | 2b879683741281b03016e917518e95c997dcd6bb | [
"MIT"
] | null | null | null | def bar():
print("Hello, function 'bar' from module '2' calling")
def _bar():
print("Hello, function '_bar' from module '2' calling") | 29.2 | 59 | 0.630137 | 20 | 146 | 4.5 | 0.45 | 0.133333 | 0.244444 | 0.355556 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.017241 | 0.205479 | 146 | 5 | 59 | 29.2 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 14 |
e956664d541dd3dbe59241200c567680b4254e4f | 391 | py | Python | narwhallet/core/kcl/bip_utils/utils/__init__.py | Snider/narwhallet | 0d528763c735f1e68b8264e302854d41e7cf1956 | [
"MIT"
] | 3 | 2021-12-29T11:25:13.000Z | 2022-01-16T13:57:17.000Z | narwhallet/core/kcl/bip_utils/utils/__init__.py | Snider/narwhallet | 0d528763c735f1e68b8264e302854d41e7cf1956 | [
"MIT"
] | null | null | null | narwhallet/core/kcl/bip_utils/utils/__init__.py | Snider/narwhallet | 0d528763c735f1e68b8264e302854d41e7cf1956 | [
"MIT"
] | 1 | 2022-01-16T13:57:20.000Z | 2022-01-16T13:57:20.000Z | from narwhallet.core.kcl.bip_utils.utils.algo import AlgoUtils
from narwhallet.core.kcl.bip_utils.utils.base32 import Base32
from narwhallet.core.kcl.bip_utils.utils.bit import BitUtils
from narwhallet.core.kcl.bip_utils.utils.conversion import ConvUtils
from narwhallet.core.kcl.bip_utils.utils.crypto import CryptoUtil... | 55.857143 | 68 | 0.861893 | 61 | 391 | 5.409836 | 0.311475 | 0.254545 | 0.327273 | 0.381818 | 0.618182 | 0.618182 | 0.618182 | 0 | 0 | 0 | 0 | 0.010899 | 0.061381 | 391 | 6 | 69 | 65.166667 | 0.888283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e96bf3d30423124a135a39a64d05c41014c0d7fd | 177 | py | Python | Logdata/Logdata/controller/HelpController.py | AndroidLogData/LogData-Server | f6ec7d3b13efb1dac995a5551dfa971a44502069 | [
"MIT"
] | 2 | 2018-01-26T12:53:08.000Z | 2019-03-20T03:32:40.000Z | Logdata/Logdata/controller/HelpController.py | AndroidLogData/Logdata-Server | f6ec7d3b13efb1dac995a5551dfa971a44502069 | [
"MIT"
] | null | null | null | Logdata/Logdata/controller/HelpController.py | AndroidLogData/Logdata-Server | f6ec7d3b13efb1dac995a5551dfa971a44502069 | [
"MIT"
] | null | null | null | from flask import render_template
from Logdata.Log_Data_Blueprint import logdata
@logdata.route('/help', methods=['GET'])
def help():
return render_template('help.html')
| 19.666667 | 46 | 0.757062 | 24 | 177 | 5.416667 | 0.666667 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 177 | 8 | 47 | 22.125 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.096045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
75c7d8c13a3c62d9f0230d8d16fd914fcbfb421c | 123 | py | Python | ex/parsers/__init__.py | alex-carr/Vintageous | 8b7beba72864ad1e1e4fdd7507e5dccd74ed0a38 | [
"MIT"
] | null | null | null | ex/parsers/__init__.py | alex-carr/Vintageous | 8b7beba72864ad1e1e4fdd7507e5dccd74ed0a38 | [
"MIT"
] | null | null | null | ex/parsers/__init__.py | alex-carr/Vintageous | 8b7beba72864ad1e1e4fdd7507e5dccd74ed0a38 | [
"MIT"
] | null | null | null | from Vintageous.ex.parsers import cmd_line
from Vintageous.ex.parsers import g_cmd
from Vintageous.ex.parsers import s_cmd
| 30.75 | 42 | 0.853659 | 21 | 123 | 4.857143 | 0.428571 | 0.411765 | 0.470588 | 0.676471 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 123 | 3 | 43 | 41 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 9 |
f948bf37118a636d14019fb5410251d3014ec2bd | 13,801 | py | Python | paper_fig_util/corr_figs.py | AllenInstitute/OpenScope_CA_Analysis | af0f96584c2f8dcd313e1c89b441eb08952e8b18 | [
"MIT"
] | null | null | null | paper_fig_util/corr_figs.py | AllenInstitute/OpenScope_CA_Analysis | af0f96584c2f8dcd313e1c89b441eb08952e8b18 | [
"MIT"
] | null | null | null | paper_fig_util/corr_figs.py | AllenInstitute/OpenScope_CA_Analysis | af0f96584c2f8dcd313e1c89b441eb08952e8b18 | [
"MIT"
] | 1 | 2022-02-17T17:46:53.000Z | 2022-02-17T17:46:53.000Z | """
corr_figs.py
This script contains functions defining USI correlation figure panel analyses.
Authors: Colleen Gillon
Date: January, 2021
Note: this code uses python 3.7.
"""
import logging
from util import logger_util
from analysis import misc_analys, corr_analys
from paper_fig_util import helper_fcts
from ses... | 30.943946 | 80 | 0.576263 | 1,347 | 13,801 | 5.757238 | 0.118782 | 0.052611 | 0.046422 | 0.055964 | 0.944165 | 0.935525 | 0.93011 | 0.929465 | 0.92147 | 0.91528 | 0 | 0.00668 | 0.327513 | 13,801 | 445 | 81 | 31.013483 | 0.828898 | 0.360409 | 0 | 0.801843 | 0 | 0 | 0.126854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.023041 | 0 | 0.0553 | 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 |
f99e2e0a4dca2472025f000d406670418f945a0b | 67 | py | Python | extra_tests/cffi_tests/cffi0/snippets/infrastructure/snip_infrastructure/__init__.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 381 | 2018-08-18T03:37:22.000Z | 2022-02-06T23:57:36.000Z | extra_tests/cffi_tests/cffi0/snippets/infrastructure/snip_infrastructure/__init__.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 16 | 2018-09-22T18:12:47.000Z | 2022-02-22T20:03:59.000Z | extra_tests/cffi_tests/cffi0/snippets/infrastructure/snip_infrastructure/__init__.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 55 | 2015-08-16T02:41:30.000Z | 2022-03-20T20:33:35.000Z | # Generated by pypy/tool/import_cffi.py
def func():
return 42
| 13.4 | 39 | 0.701493 | 11 | 67 | 4.181818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.19403 | 67 | 4 | 40 | 16.75 | 0.814815 | 0.552239 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
f9af75fbb8b67aa2958d1c81f8d354cc70447236 | 9,782 | py | Python | src/infi/winapi/file_version_information/tests/__init__.py | Infinidat/infi.winapi.file_version_information | d11a50fb8007c18338b522c142cbb07bad51a289 | [
"BSD-3-Clause"
] | null | null | null | src/infi/winapi/file_version_information/tests/__init__.py | Infinidat/infi.winapi.file_version_information | d11a50fb8007c18338b522c142cbb07bad51a289 | [
"BSD-3-Clause"
] | 1 | 2016-09-08T08:55:00.000Z | 2016-09-08T08:55:00.000Z | src/infi/winapi/file_version_information/tests/__init__.py | Infinidat/infi.winapi.file_version_information | d11a50fb8007c18338b522c142cbb07bad51a289 | [
"BSD-3-Clause"
] | null | null | null |
import mock
import os
import ctypes
from infi import unittest
from .. import File, api
from pkg_resources import parse_version
from contextlib import contextmanager
CMD_EXE_PATH = r"C:\Windows\System32\cmd.exe"
FILE_VERSION_INFO = \
b'\x90\x034\x00\x00\x00V\x00S\x00_\x00V\x00E\x00R\x00S\x00I\x00O\x00N' + \
... | 70.374101 | 115 | 0.660192 | 1,850 | 9,782 | 3.454595 | 0.075676 | 0.920044 | 1.270224 | 1.586606 | 0.644969 | 0.603036 | 0.568925 | 0.530277 | 0.490847 | 0.483336 | 0 | 0.355689 | 0.131159 | 9,782 | 138 | 116 | 70.884058 | 0.396282 | 0 | 0 | 0.368 | 0 | 0.6 | 0.66544 | 0.641513 | 0 | 0 | 0 | 0 | 0.064 | 1 | 0.064 | false | 0 | 0.056 | 0 | 0.168 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ddb9f12514bb66696f75af91cf4373c160689159 | 68,600 | py | Python | benchmarks/SimResults/combinations_splash_heteroFair/oldstuff/cmp_choleskybarnesfftocean.cont/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_splash_heteroFair/oldstuff/cmp_choleskybarnesfftocean.cont/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_splash_heteroFair/oldstuff/cmp_choleskybarnesfftocean.cont/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.054705 | 124 | 0.682041 | 8,082 | 68,600 | 5.783222 | 0.067805 | 0.123577 | 0.112965 | 0.093453 | 0.939281 | 0.93083 | 0.918036 | 0.885494 | 0.863051 | 0.84249 | 0 | 0.131801 | 0.224359 | 68,600 | 914 | 125 | 75.054705 | 0.746622 | 0 | 0 | 0.642232 | 0 | 0 | 0.657498 | 0.048104 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ddbebb9dafb25bf503cfb2eceb2ae01cfacaa718 | 2,148 | py | Python | services/kettle/kettle/client.corrupted.py | SharLike-CTF-Team/altayctf-2019 | a1e1c06ace90a6cd02fa200854a16a8e4de1ec85 | [
"MIT"
] | 7 | 2019-07-01T15:15:36.000Z | 2020-11-07T06:06:53.000Z | services/kettle/kettle/client.corrupted.py | SharLike-CTF-Team/altayctf-2019 | a1e1c06ace90a6cd02fa200854a16a8e4de1ec85 | [
"MIT"
] | 3 | 2020-03-24T17:12:57.000Z | 2021-02-02T22:04:21.000Z | services/kettle/kettle/client.corrupted.py | SharLike-CTF-Team/altayctf-2019 | a1e1c06ace90a6cd02fa200854a16a8e4de1ec85 | [
"MIT"
] | 3 | 2019-07-01T14:32:55.000Z | 2020-03-27T11:42:51.000Z | data = json.dumps(client_data)
tmpkey = 0\00\00P\C6token_hex(nbytes=10)
other_key = server_pubkey
encrypted_key = crypto.encrypt(tmpkey, other_key)
\00cipher = arc4_encrypt(tmpkey, data)
FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\F... | 119.333333 | 1,409 | 0.667598 | 582 | 2,148 | 2.443299 | 0.109966 | 1.251758 | 1.873418 | 2.492264 | 0.676512 | 0.676512 | 0.676512 | 0.676512 | 0.676512 | 0.676512 | 0 | 0.056317 | 0.049348 | 2,148 | 17 | 1,410 | 126.352941 | 0.639569 | 0 | 0 | 0 | 0 | 0 | 0.023277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ddc50d37cdd507651bf658b83e4d596d8e218cc6 | 34,492 | py | Python | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum150/Output/Histos/MadAnalysis5job_0/selection_4.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum150/Output/Histos/MadAnalysis5job_0/selection_4.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum150/Output/Histos/MadAnalysis5job_0/selection_4.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_4():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 177.793814 | 1,697 | 0.740259 | 7,550 | 34,492 | 3.285166 | 0.150596 | 0.277225 | 0.401201 | 0.516228 | 0.397129 | 0.390396 | 0.388905 | 0.381446 | 0.378341 | 0.37568 | 0 | 0.552555 | 0.047837 | 34,492 | 193 | 1,698 | 178.715026 | 0.202667 | 0.038183 | 0 | 0.185841 | 0 | 0.00885 | 0.031051 | 0.006035 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ddece04942949ccc942c631cd1455436773e1582 | 11,790 | py | Python | sdk/python/pulumi_oci/managementdashboard/management_dashboards_import.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/managementdashboard/management_dashboards_import.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/managementdashboard/management_dashboards_import.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 51.710526 | 338 | 0.705683 | 1,280 | 11,790 | 6.241406 | 0.1375 | 0.130179 | 0.065966 | 0.049568 | 0.76693 | 0.744524 | 0.744524 | 0.734635 | 0.72337 | 0.716235 | 0 | 0.006716 | 0.204411 | 11,790 | 227 | 339 | 51.938326 | 0.844989 | 0.454029 | 0 | 0.634783 | 1 | 0 | 0.119537 | 0.027036 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147826 | false | 0.008696 | 0.591304 | 0.026087 | 0.826087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
348638d74931eb7a7f0f4af8831c6dd44b30b392 | 1,087 | py | Python | hook.py | ruben-gil/Serverless-Framework-Meetup | 8281ba97ae2007f7a1eb7ab0cd4b8031b8689d7f | [
"MIT"
] | 1 | 2019-11-27T15:47:32.000Z | 2019-11-27T15:47:32.000Z | hook.py | ruben-gil/serverless-framework-meetup | 8281ba97ae2007f7a1eb7ab0cd4b8031b8689d7f | [
"MIT"
] | null | null | null | hook.py | ruben-gil/serverless-framework-meetup | 8281ba97ae2007f7a1eb7ab0cd4b8031b8689d7f | [
"MIT"
] | null | null | null | import logging
import boto3
codedeploy = boto3.client('codedeploy')
def pre(event, context):
deployment_id = event['DeploymentId']
lifecycle_event_hook_execution_id = event['LifecycleEventHookExecutionId']
logging.warning('Check some stuff before traffic has been shifted...')
return codedeploy.put_... | 36.233333 | 108 | 0.76173 | 114 | 1,087 | 7 | 0.324561 | 0.105263 | 0.135338 | 0.203008 | 0.914787 | 0.914787 | 0.914787 | 0.914787 | 0.914787 | 0.914787 | 0 | 0.002141 | 0.140754 | 1,087 | 29 | 109 | 37.482759 | 0.852248 | 0.142594 | 0 | 0.736842 | 0 | 0 | 0.228448 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.105263 | 0 | 0.315789 | 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 |
34bb2dca8a0cb6ad72b17f7cf2e375261743f890 | 4,824 | py | Python | apps/csv/info.py | jeonghoonkang/BerePi | e04283a94a6a0487ab0049dc3e514d6c5dda39cc | [
"BSD-2-Clause"
] | 22 | 2015-06-03T06:28:27.000Z | 2022-03-18T08:02:45.000Z | apps/csv/info.py | jeonghoonkang/BerePi | e04283a94a6a0487ab0049dc3e514d6c5dda39cc | [
"BSD-2-Clause"
] | 14 | 2015-06-08T01:31:53.000Z | 2020-08-30T02:19:15.000Z | apps/csv/info.py | jeonghoonkang/BerePi | e04283a94a6a0487ab0049dc3e514d6c5dda39cc | [
"BSD-2-Clause"
] | 26 | 2015-05-12T09:33:55.000Z | 2021-08-30T05:41:00.000Z | host='***'
#port='7776'
id=''
passwd=''
local_path='/Users/tinyos/Downloads/정상CSV'
#local_path='../../../data_files/MD/'
#server_path='/home/data/data_original/ev_data/'
server_path='/home/data/SW-Platform/data_files/EV/'
todo='download'
# if you want to carry out directly,
# sudo rsync -avhz --progress -e 'ssh -p... | 402 | 4,453 | 0.940299 | 829 | 4,824 | 4.726176 | 0.267793 | 0.257274 | 0.325166 | 0.500255 | 0.025013 | 0.013272 | 0 | 0 | 0 | 0 | 0 | 0.041502 | 0.006012 | 4,824 | 12 | 4,453 | 402 | 0.776434 | 0.045398 | 0 | 0 | 0 | 0.142857 | 0.982395 | 0.980004 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
34d0a88617286128b4fe88ee02bb33d9ab25b2a6 | 151 | py | Python | src/mindmap/tree.py | RisingOrange/anki-mindmap | 63708a016bf32878bb77873cf5e2b1bdde4df4f1 | [
"MIT"
] | 4 | 2021-02-26T18:16:46.000Z | 2021-05-09T04:12:51.000Z | src/mindmap/tree.py | RisingOrange/anki-mindmap | 63708a016bf32878bb77873cf5e2b1bdde4df4f1 | [
"MIT"
] | 11 | 2021-02-28T02:08:54.000Z | 2022-03-15T23:48:55.000Z | src/mindmap/tree.py | RisingOrange/anki-mindmap | 63708a016bf32878bb77873cf5e2b1bdde4df4f1 | [
"MIT"
] | null | null | null | from collections import defaultdict
def tree(dictionary=None):
return defaultdict(tree) if dictionary is None else defaultdict(tree, dictionary)
| 25.166667 | 85 | 0.801325 | 19 | 151 | 6.368421 | 0.631579 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139073 | 151 | 5 | 86 | 30.2 | 0.930769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
34f28f40776ba793ed7ef7e103de6ff386d567ff | 74,129 | py | Python | userbot/utils/google_images_download.py | Ilham-Dark/XBot-Remix | 90e1ace61018e614f6ce7103fef13444252e9c1a | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/utils/google_images_download.py | Ilham-Dark/XBot-Remix | 90e1ace61018e614f6ce7103fef13444252e9c1a | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/utils/google_images_download.py | Ilham-Dark/XBot-Remix | 90e1ace61018e614f6ce7103fef13444252e9c1a | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | # Encript Marshal By XVenom
# https://github.com/xvenom15
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00+\x00\x00\x00@\x00\x00\x00s~\x01\x00\x00d\x00d\x01l\x00Z\x00d\x00d\x01l\x01Z\x01d\x00d\x01l\x02Z\x02d\x00d\x01l\x03Z\x03d\x00d\x01l\x04Z\x04d\x00d\x01l\x05Z\x... | 14,825.8 | 74,055 | 0.760714 | 16,034 | 74,129 | 3.497193 | 0.114444 | 0.150765 | 0.084424 | 0.083247 | 0.529693 | 0.472946 | 0.407729 | 0.342815 | 0.316582 | 0.296216 | 0 | 0.340226 | 0.009065 | 74,129 | 4 | 74,056 | 18,532.25 | 0.423132 | 0.000715 | 0 | 0 | 0 | 7 | 0.818598 | 0.689509 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 11 |
9b34ac902a19caa91196c13b541f2248931aec02 | 56 | py | Python | ravenclaw/data/__init__.py | idin/ravenclaw | 17a9b4c92d662f72c114e832f38b39eb73707bc2 | [
"MIT"
] | 1 | 2019-05-04T07:32:21.000Z | 2019-05-04T07:32:21.000Z | ravenclaw/data/__init__.py | idin/ravenclaw | 17a9b4c92d662f72c114e832f38b39eb73707bc2 | [
"MIT"
] | null | null | null | ravenclaw/data/__init__.py | idin/ravenclaw | 17a9b4c92d662f72c114e832f38b39eb73707bc2 | [
"MIT"
] | 1 | 2020-03-28T21:54:11.000Z | 2020-03-28T21:54:11.000Z | from .get_sparql_dataframe import get_sparql_dataframe
| 18.666667 | 54 | 0.892857 | 8 | 56 | 5.75 | 0.625 | 0.391304 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 56 | 2 | 55 | 28 | 0.901961 | 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 |
9b4af03459988a4ba4e7b613dd7930eb04c0662e | 2,724 | py | Python | ansible/roles/lib_utils/library/oo_vpc_subnets_calc_unittests.py | fahlmant/openshift-tools | dbb4f16ccde3404c36c23108c45ca7b67138ee12 | [
"Apache-2.0"
] | 164 | 2015-07-29T17:35:04.000Z | 2021-12-16T16:38:04.000Z | ansible/roles/lib_utils/library/oo_vpc_subnets_calc_unittests.py | fahlmant/openshift-tools | dbb4f16ccde3404c36c23108c45ca7b67138ee12 | [
"Apache-2.0"
] | 3,634 | 2015-06-09T13:49:15.000Z | 2022-03-23T20:55:44.000Z | ansible/roles/lib_utils/library/oo_vpc_subnets_calc_unittests.py | fahlmant/openshift-tools | dbb4f16ccde3404c36c23108c45ca7b67138ee12 | [
"Apache-2.0"
] | 250 | 2015-06-08T19:53:11.000Z | 2022-03-01T04:51:23.000Z | #!/usr/bin/python
# vim: expandtab:tabstop=2:shiftwidth=2
import unittest
import json
from oo_vpc_subnets_calc import *
class TestSubnetCalc(unittest.TestCase):
def test_large_cidr_3az_3subnet(self):
cidr_block = "172.16.0.0/16"
num_of_subnets = 3
num_avail_zones_in_region = 3
m... | 43.238095 | 171 | 0.600954 | 400 | 2,724 | 3.835 | 0.1825 | 0.109518 | 0.031291 | 0.078227 | 0.880704 | 0.875489 | 0.875489 | 0.825945 | 0.814863 | 0.814863 | 0 | 0.070623 | 0.251468 | 2,724 | 62 | 172 | 43.935484 | 0.681707 | 0.019824 | 0 | 0.76 | 0 | 0.04 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.08 | false | 0 | 0.06 | 0 | 0.16 | 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 |
9b8a58ba521390f0264ebe5f796c559a94082bdc | 49,897 | py | Python | great_international/migrations/0033_auto_20190611_1057.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2018-03-20T11:19:07.000Z | 2021-10-05T07:53:11.000Z | great_international/migrations/0033_auto_20190611_1057.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 802 | 2018-02-05T14:16:13.000Z | 2022-02-10T10:59:21.000Z | great_international/migrations/0033_auto_20190611_1057.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2019-01-22T13:19:37.000Z | 2019-07-01T10:35:26.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-06-11 10:57
from __future__ import unicode_literals
import core.model_fields
import core.validators
from django.db import migrations, models
import django.db.models.deletion
import modelcluster.fields
class Migration(migrations.Migration):
dependenci... | 46.851643 | 205 | 0.642784 | 4,770 | 49,897 | 6.462683 | 0.031866 | 0.061602 | 0.131378 | 0.152399 | 0.964933 | 0.963117 | 0.959581 | 0.93616 | 0.914491 | 0.87073 | 0 | 0.010698 | 0.25256 | 49,897 | 1,064 | 206 | 46.895677 | 0.815873 | 0.001383 | 0 | 0.807001 | 1 | 0 | 0.272193 | 0.200963 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005676 | 0 | 0.008515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
32e5ba9f7f3c5c0b4d71d470e8d1430129294955 | 4,995 | py | Python | benchmarks/bench_attr.py | usalko/nogil | 7a480f849f1f12a159a10bb0aa0f3431f24ce5f6 | [
"0BSD"
] | 1 | 2021-11-19T02:20:24.000Z | 2021-11-19T02:20:24.000Z | benchmarks/bench_attr.py | usalko/nogil | 7a480f849f1f12a159a10bb0aa0f3431f24ce5f6 | [
"0BSD"
] | null | null | null | benchmarks/bench_attr.py | usalko/nogil | 7a480f849f1f12a159a10bb0aa0f3431f24ce5f6 | [
"0BSD"
] | null | null | null | import time
import math as _math
from dataclasses import dataclass
UNROLL = 100
N = 100000
@dataclass
class Foo:
name: str
value: int
@property
def prop(self):
return 3
global_f = Foo("name", 3)
def load_attr():
f = global_f
f.value
f.value
f.value
f.value
f.value
... | 14.070423 | 68 | 0.471071 | 835 | 4,995 | 2.788024 | 0.050299 | 0.518041 | 0.300687 | 0.510309 | 0.895189 | 0.895189 | 0.84579 | 0.833763 | 0.833763 | 0.81701 | 0 | 0.039893 | 0.402803 | 4,995 | 354 | 69 | 14.110169 | 0.74053 | 0.005806 | 0 | 0.923077 | 0 | 0 | 0.007858 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014793 | false | 0 | 0.008876 | 0.002959 | 0.035503 | 0.008876 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
fd0696bdf163aac4562158a3a3164457f2a653fd | 5,820 | py | Python | Grafoparainterface.py | VictorCastao/LMD_Trabalho_Final | 864bad8775e96a249308edd6301c6df2449fb127 | [
"MIT"
] | null | null | null | Grafoparainterface.py | VictorCastao/LMD_Trabalho_Final | 864bad8775e96a249308edd6301c6df2449fb127 | [
"MIT"
] | null | null | null | Grafoparainterface.py | VictorCastao/LMD_Trabalho_Final | 864bad8775e96a249308edd6301c6df2449fb127 | [
"MIT"
] | null | null | null | def Busca_em_Profundidade (vertice):
Visitados = {
"Acre" : 0,
"Alagoas" : 0,
"Amapá" : 0,
"Amazonas" : 0,
"Bahia" : 0,
"Ceará" : 0,
"Espírito Santo" : 0,
"Goiás" : 0,
"Maranhão" : 0,
"Mato Grosso" : 0,
"Mato Grosso do Sul" : 0,... | 38.8 | 113 | 0.517526 | 607 | 5,820 | 4.937397 | 0.097199 | 0.1001 | 0.056056 | 0.07007 | 0.892893 | 0.878879 | 0.878879 | 0.878879 | 0.878879 | 0.878879 | 0 | 0.01517 | 0.286426 | 5,820 | 149 | 114 | 39.060403 | 0.706477 | 0 | 0 | 0.808824 | 0 | 0 | 0.458419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022059 | false | 0 | 0 | 0 | 0.036765 | 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 |
fd29ccbc8c28093d789ac78cf0e132c1f573d096 | 12,425 | py | Python | beanie/api/delivery_note_api.py | altoyield/python-beanieclient | 448b8dd328054eaf32dd7d0bdff700e603b5c27d | [
"Apache-2.0"
] | null | null | null | beanie/api/delivery_note_api.py | altoyield/python-beanieclient | 448b8dd328054eaf32dd7d0bdff700e603b5c27d | [
"Apache-2.0"
] | null | null | null | beanie/api/delivery_note_api.py | altoyield/python-beanieclient | 448b8dd328054eaf32dd7d0bdff700e603b5c27d | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Beanie ERP API
An API specification for interacting with the Beanie ERP system # noqa: E501
OpenAPI spec version: 0.8
Contact: dev@bean.ie
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
#... | 37.312312 | 126 | 0.609014 | 1,454 | 12,425 | 4.967675 | 0.116919 | 0.054271 | 0.023259 | 0.029904 | 0.891319 | 0.872352 | 0.84674 | 0.828188 | 0.801329 | 0.799668 | 0 | 0.017867 | 0.301811 | 12,425 | 332 | 127 | 37.424699 | 0.814755 | 0.062213 | 0 | 0.71345 | 1 | 0 | 0.164863 | 0.033133 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.023392 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fd559b4f6414f153c8681a2652df7203ac53eed5 | 22,621 | py | Python | tools/tests/python/test_awa_client_explore.py | francois-berder/AwaLWM2M | 40f30cd4c18ace0b82f64983ac1e28537fbcaae6 | [
"BSD-3-Clause"
] | 58 | 2017-06-09T14:29:03.000Z | 2022-01-26T21:20:16.000Z | tools/tests/python/test_awa_client_explore.py | francois-berder/AwaLWM2M | 40f30cd4c18ace0b82f64983ac1e28537fbcaae6 | [
"BSD-3-Clause"
] | 195 | 2016-03-03T05:00:43.000Z | 2017-05-28T08:26:40.000Z | tools/tests/python/test_awa_client_explore.py | francois-berder/AwaLWM2M | 40f30cd4c18ace0b82f64983ac1e28537fbcaae6 | [
"BSD-3-Clause"
] | 60 | 2016-03-03T04:08:16.000Z | 2017-05-10T01:03:43.000Z | #/************************************************************************************************************************
# Copyright (c) 2016, Imagination Technologies Limited and/or its affiliated group companies.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modificat... | 61.637602 | 122 | 0.735158 | 2,891 | 22,621 | 5.732964 | 0.127983 | 0.085073 | 0.160975 | 0.111379 | 0.807892 | 0.799566 | 0.79311 | 0.777121 | 0.739713 | 0.739532 | 0 | 0.063495 | 0.172892 | 22,621 | 366 | 123 | 61.806011 | 0.822341 | 0.084302 | 0 | 0.584158 | 0 | 0 | 0.749215 | 0.054081 | 0 | 0 | 0 | 0 | 0.128713 | 1 | 0.046205 | false | 0 | 0.013201 | 0.0033 | 0.069307 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b5d0bfd71d03e04ab8522f6b1488fb988ae4d3ea | 92 | py | Python | miniconda3-lnx/pkgs/cffi-1.14.0-py37he30daa8_1/info/test/run_test.py | Thibaut-Kovaltchouk/MultiPyzo | a15ecf77e31ebeb195e70385f5ac132f6ab4504d | [
"CC0-1.0"
] | null | null | null | miniconda3-lnx/pkgs/cffi-1.14.0-py37he30daa8_1/info/test/run_test.py | Thibaut-Kovaltchouk/MultiPyzo | a15ecf77e31ebeb195e70385f5ac132f6ab4504d | [
"CC0-1.0"
] | 1 | 2019-04-02T23:35:13.000Z | 2019-04-02T23:35:13.000Z | miniconda3-lnx/pkgs/cffi-1.14.0-py37he30daa8_1/info/test/run_test.py | Thibaut-Kovaltchouk/MultiPyzo | a15ecf77e31ebeb195e70385f5ac132f6ab4504d | [
"CC0-1.0"
] | null | null | null | print("import: 'cffi'")
import cffi
print("import: '_cffi_backend'")
import _cffi_backend
| 13.142857 | 32 | 0.73913 | 12 | 92 | 5.333333 | 0.333333 | 0.625 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 92 | 6 | 33 | 15.333333 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.406593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 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 | 1 | 0 | 8 |
bd4ea054a62aacad464ed42b042818f747cc07f1 | 5,201 | py | Python | config.py | Tharlaw/petsrus | 31065f232517ee4119f0bfe7bad46086389aa231 | [
"MIT"
] | null | null | null | config.py | Tharlaw/petsrus | 31065f232517ee4119f0bfe7bad46086389aa231 | [
"MIT"
] | 15 | 2019-08-20T18:54:35.000Z | 2020-08-17T09:43:14.000Z | config.py | Eorate/petsrus | 31065f232517ee4119f0bfe7bad46086389aa231 | [
"MIT"
] | null | null | null | import os
import tempfile
basedir = os.path.abspath(os.path.dirname(__file__))
class Config(object):
DEBUG = False
TESTING = False
CSRF_ENABLED = True
UPLOAD_FOLDER = tempfile.gettempdir()
ALLOWED_EXTENSIONS = {"png", "jpg", "jpeg", "gif"}
MAX_CONTENT_LENGTH = 5 * 1024 * 1024 # 5MB
class P... | 34.217105 | 88 | 0.707556 | 693 | 5,201 | 5.103896 | 0.109668 | 0.081425 | 0.108567 | 0.054283 | 0.914051 | 0.914051 | 0.914051 | 0.914051 | 0.914051 | 0.914051 | 0 | 0.005283 | 0.199385 | 5,201 | 151 | 89 | 34.443709 | 0.84414 | 0.000577 | 0 | 0.848214 | 0 | 0 | 0.265589 | 0.01963 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017857 | 0 | 0.419643 | 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 |
1faf961cf10532474f9171b5604dec516713df42 | 9,521 | py | Python | tests/testDbProfilerViewer.py | sutoh/Hecatoncheir | 736c3c989c54ce46e9bcbb601fb53f5c6a8f40a1 | [
"Apache-2.0"
] | 13 | 2017-05-09T08:48:54.000Z | 2018-09-21T07:57:08.000Z | tests/testDbProfilerViewer.py | sutoh/Hecatoncheir | 736c3c989c54ce46e9bcbb601fb53f5c6a8f40a1 | [
"Apache-2.0"
] | 11 | 2017-05-11T03:46:49.000Z | 2017-12-24T00:28:58.000Z | tests/testDbProfilerViewer.py | sutoh/Hecatoncheir | 736c3c989c54ce46e9bcbb601fb53f5c6a8f40a1 | [
"Apache-2.0"
] | 3 | 2018-03-16T15:30:26.000Z | 2022-03-25T16:55:55.000Z | #!/usr/bin/env python2.7
# -*- coding: utf-8 -*-
import json
import os
import sys
import time
import unittest
sys.path.append('..')
import requests
class TestDbProfilerViewer(unittest.TestCase):
def setUp(self):
self.maxDiff = None
self.headers = {'content-type': 'application/json'}
for i... | 39.020492 | 103 | 0.423065 | 815 | 9,521 | 4.823313 | 0.125153 | 0.097939 | 0.082422 | 0.095141 | 0.882473 | 0.864157 | 0.847367 | 0.847367 | 0.819384 | 0.815823 | 0 | 0.032066 | 0.436614 | 9,521 | 243 | 104 | 39.18107 | 0.700783 | 0.011028 | 0 | 0.817308 | 0 | 0 | 0.200021 | 0 | 0.033654 | 0 | 0 | 0 | 0.158654 | 1 | 0.038462 | false | 0.004808 | 0.028846 | 0 | 0.072115 | 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 |
1fe7510e2a66710d5838d56e44f296723ff1eea8 | 10,170 | py | Python | src/utils.py | h1w/voice-welcome | 08d12358146a112fe304be4c31dcdd41bb0ea396 | [
"BSD-3-Clause"
] | null | null | null | src/utils.py | h1w/voice-welcome | 08d12358146a112fe304be4c31dcdd41bb0ea396 | [
"BSD-3-Clause"
] | null | null | null | src/utils.py | h1w/voice-welcome | 08d12358146a112fe304be4c31dcdd41bb0ea396 | [
"BSD-3-Clause"
] | null | null | null | import wave
def ConvertPcmToWav(name, output_name):
with open(name, 'rb') as pcmfile:
pcmdata = pcmfile.read()
with wave.open(output_name, 'wb') as wavfile:
wavfile.setparams((1, 2, 44100, 1, 'NONE', 'NONE'))
wavfile.writeframes(pcmdata)
def localtime_support_func(correct_time):
... | 93.302752 | 208 | 0.608948 | 1,578 | 10,170 | 3.777567 | 0.034854 | 0.420735 | 0.533132 | 0.301963 | 0.964939 | 0.95437 | 0.951015 | 0.949002 | 0.949002 | 0.949002 | 0 | 0.064397 | 0.20295 | 10,170 | 109 | 209 | 93.302752 | 0.670984 | 0 | 0 | 0.505263 | 0 | 0 | 0.177859 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021053 | false | 0 | 0.010526 | 0 | 0.410526 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
1ffae362b527ceec3df7b967e270b0cc7e638bc3 | 1,330 | py | Python | tests/NFToken/test_no_transfer.py | 1Blackdiamondsc/nftoken | 8c36a9dd2b82d2e654c311836e27da01c5c83c9a | [
"MIT"
] | 56 | 2019-09-25T08:14:14.000Z | 2022-03-26T04:40:26.000Z | tests/NFToken/test_no_transfer.py | 1Blackdiamondsc/nftoken | 8c36a9dd2b82d2e654c311836e27da01c5c83c9a | [
"MIT"
] | 2 | 2019-09-26T14:14:38.000Z | 2020-02-27T13:07:35.000Z | tests/NFToken/test_no_transfer.py | 1Blackdiamondsc/nftoken | 8c36a9dd2b82d2e654c311836e27da01c5c83c9a | [
"MIT"
] | 20 | 2020-08-09T16:01:59.000Z | 2022-03-31T15:58:29.000Z | #!/usr/bin/python3
def test_same_addr_transferRange(accounts, nft):
ranges = nft.rangesOf(accounts[2])
nft.transferRange(accounts[2], 11000, 12000, {"from": accounts[2]})
assert nft.rangesOf(accounts[2]) == ranges
assert nft.balanceOf(accounts[2]) == 10000
def test_same_addr_transfer(accounts, nft)... | 30.930233 | 75 | 0.689474 | 176 | 1,330 | 5.125 | 0.153409 | 0.249446 | 0.210643 | 0.221729 | 0.889135 | 0.879157 | 0.879157 | 0.801552 | 0.757206 | 0.641907 | 0 | 0.069726 | 0.14812 | 1,330 | 42 | 76 | 31.666667 | 0.72639 | 0.012782 | 0 | 0.576923 | 0 | 0 | 0.018293 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 1 | 0.192308 | false | 0 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
1f8530e23e96210fd6ae00d59b431d327e03a61d | 11,145 | py | Python | jmetal/operator/test/test_mutation.py | pedronarloch/jMetalPy_phD | c16a31a65c23a203d439f33a4d99668982e7c25b | [
"MIT"
] | null | null | null | jmetal/operator/test/test_mutation.py | pedronarloch/jMetalPy_phD | c16a31a65c23a203d439f33a4d99668982e7c25b | [
"MIT"
] | null | null | null | jmetal/operator/test/test_mutation.py | pedronarloch/jMetalPy_phD | c16a31a65c23a203d439f33a4d99668982e7c25b | [
"MIT"
] | null | null | null | import unittest
from jmetal.core.solution import BinarySolution, FloatSolution, IntegerSolution
from jmetal.operator.mutation import BitFlipMutation, UniformMutation, SimpleRandomMutation, PolynomialMutation, \
IntegerPolynomialMutation
class PolynomialMutationTestMethods(unittest.TestCase):
def test_should... | 43.365759 | 114 | 0.723463 | 1,367 | 11,145 | 5.561814 | 0.074616 | 0.011574 | 0.071814 | 0.094699 | 0.874786 | 0.847823 | 0.808891 | 0.787058 | 0.751809 | 0.751809 | 0 | 0.033991 | 0.181696 | 11,145 | 256 | 115 | 43.535156 | 0.799671 | 0 | 0 | 0.659574 | 0 | 0 | 0.000718 | 0 | 0 | 0 | 0 | 0 | 0.271277 | 1 | 0.223404 | false | 0 | 0.015957 | 0 | 0.265957 | 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 |
2f0b04513f003a38ec03b956557d19d2b2997f0e | 1,461 | py | Python | chapter08/Exercise5.py | YordanIH/Intro_to_CS_w_Python | eebbb8efd7ef0d07be9bc45b6b1e8f20737ce01a | [
"MIT"
] | null | null | null | chapter08/Exercise5.py | YordanIH/Intro_to_CS_w_Python | eebbb8efd7ef0d07be9bc45b6b1e8f20737ce01a | [
"MIT"
] | null | null | null | chapter08/Exercise5.py | YordanIH/Intro_to_CS_w_Python | eebbb8efd7ef0d07be9bc45b6b1e8f20737ce01a | [
"MIT"
] | null | null | null | """In this exercise, you’ll create a list and then answer questions about that list.
Assign a list that contains the atomic numbers of the six alkaline earth metals—beryllium (4), magnesium (12), calcium (20), strontium (38), barium (56), and radium (88)—to a variable called alkaline_earth_metals.
Which index contains... | 63.521739 | 214 | 0.772758 | 246 | 1,461 | 4.50813 | 0.292683 | 0.164112 | 0.239856 | 0.075744 | 0.854824 | 0.854824 | 0.854824 | 0.854824 | 0.854824 | 0.800721 | 0 | 0.045564 | 0.143737 | 1,461 | 22 | 215 | 66.409091 | 0.83773 | 0.386721 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2f0bfbec1464c9d23304e6b23025404d91362226 | 1,948 | py | Python | bridgebots/tests/test_double_dummy_score.py | forrestrice/bridge-bots | 650ab67a157fd83528f3170282db595aa6d5e519 | [
"MIT"
] | 13 | 2019-05-16T05:35:57.000Z | 2022-01-23T22:21:21.000Z | bridgebots/tests/test_double_dummy_score.py | forrestrice/bridge-bots | 650ab67a157fd83528f3170282db595aa6d5e519 | [
"MIT"
] | 7 | 2021-08-28T07:07:15.000Z | 2022-01-18T17:37:12.000Z | bridgebots/tests/test_double_dummy_score.py | forrestrice/bridge-bots | 650ab67a157fd83528f3170282db595aa6d5e519 | [
"MIT"
] | 4 | 2021-09-26T17:20:09.000Z | 2022-01-23T22:21:24.000Z | import unittest
from bridgebots.deal_enums import BiddingSuit, Direction
from bridgebots.double_dummy import DoubleDummyScore
class TestDoubleDummyScore(unittest.TestCase):
def test_parse(self):
dd_score = DoubleDummyScore.from_acbl_strings("C4 D6 H5 S6 NT4", "2C 2/-H 1S 3/2NT D6 H8/6")
self.asse... | 59.030303 | 100 | 0.748973 | 247 | 1,948 | 5.785425 | 0.210526 | 0.102869 | 0.181945 | 0.307908 | 0.802659 | 0.797761 | 0.741078 | 0.741078 | 0.741078 | 0.078376 | 0 | 0.019389 | 0.126283 | 1,948 | 32 | 101 | 60.875 | 0.820212 | 0 | 0 | 0 | 0 | 0 | 0.020021 | 0 | 0 | 0 | 0 | 0 | 0.769231 | 1 | 0.038462 | false | 0 | 0.115385 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2f7510828e4f9224ff0cf2fe0f9d104939d89d96 | 20,794 | py | Python | main_window.py | MarshallBriggs/ATS_Python_Procedure | ce5e7e5c54b4140deb7c800bf1213bcfa2918839 | [
"MIT"
] | null | null | null | main_window.py | MarshallBriggs/ATS_Python_Procedure | ce5e7e5c54b4140deb7c800bf1213bcfa2918839 | [
"MIT"
] | null | null | null | main_window.py | MarshallBriggs/ATS_Python_Procedure | ce5e7e5c54b4140deb7c800bf1213bcfa2918839 | [
"MIT"
] | null | null | null | from PySide2.QtCore import QRect, Slot, qApp, QDir
from PySide2.QtWidgets import QMainWindow, QAction, QFileDialog, QInputDialog, QLineEdit, QMessageBox
import os
import pandas as pd
import xlsxwriter
import numpy as np
# Import scikit-learn for machine learning
from sklearn.svm import LinearSVC
from sklearn.fe... | 190.770642 | 16,685 | 0.563672 | 2,045 | 20,794 | 5.700734 | 0.108557 | 0.058844 | 0.075656 | 0.092469 | 0.777749 | 0.776977 | 0.776205 | 0.771059 | 0.768314 | 0.757248 | 0 | 0.00486 | 0.139175 | 20,794 | 109 | 16,686 | 190.770642 | 0.646425 | 0.022939 | 0 | 0.052632 | 0 | 0 | 0.489524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0 | 0.144737 | 0 | 0.289474 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c802a1c492b838b79684c1df6f2a5c0cfe59adac | 36 | py | Python | remote/vars.py | noahhaworth/Robots | f8e2c961746469818c1135c58e2a5fe282e9288a | [
"CC0-1.0"
] | null | null | null | remote/vars.py | noahhaworth/Robots | f8e2c961746469818c1135c58e2a5fe282e9288a | [
"CC0-1.0"
] | null | null | null | remote/vars.py | noahhaworth/Robots | f8e2c961746469818c1135c58e2a5fe282e9288a | [
"CC0-1.0"
] | null | null | null | #vars.py
X0=0
X1=0
X2=0
X3=0
#M=1
| 4 | 8 | 0.555556 | 12 | 36 | 1.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.321429 | 0.222222 | 36 | 8 | 9 | 4.5 | 0.392857 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c804c2bcc19d6da33baee105090f82e63eca6d36 | 151 | py | Python | tests/test_combustion/test_nn/test_loss/conftest.py | TidalPaladin/combustion | 69b9a2b9baf90b81ed9098b4f0391f5c15efaee7 | [
"Apache-2.0"
] | 3 | 2020-07-09T22:18:19.000Z | 2021-11-08T03:47:19.000Z | tests/test_combustion/test_nn/test_loss/conftest.py | TidalPaladin/combustion | 69b9a2b9baf90b81ed9098b4f0391f5c15efaee7 | [
"Apache-2.0"
] | 15 | 2020-06-12T21:48:59.000Z | 2022-02-05T18:41:50.000Z | tests/test_combustion/test_nn/test_loss/conftest.py | TidalPaladin/combustion | 69b9a2b9baf90b81ed9098b4f0391f5c15efaee7 | [
"Apache-2.0"
] | 1 | 2021-02-15T20:06:16.000Z | 2021-02-15T20:06:16.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import pytest
@pytest.fixture(scope="session")
def kornia():
return pytest.importorskip("kornia")
| 15.1 | 40 | 0.668874 | 19 | 151 | 5.315789 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.139073 | 151 | 9 | 41 | 16.777778 | 0.769231 | 0.278146 | 0 | 0 | 0 | 0 | 0.121495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
23a4b57e29a7962a074f3b8e32c32fb67255693f | 16,969 | py | Python | DebloaterX v1.0/source/Debloater.py | shashankx86/Debloater | efc2ee190e1902348057e6c214868c10085fbf26 | [
"MIT"
] | 2 | 2021-07-28T05:55:38.000Z | 2021-08-15T04:58:19.000Z | DebloaterX v1.0/source/Debloater.py | shashankx86/DebloaterX | efc2ee190e1902348057e6c214868c10085fbf26 | [
"MIT"
] | null | null | null | DebloaterX v1.0/source/Debloater.py | shashankx86/DebloaterX | efc2ee190e1902348057e6c214868c10085fbf26 | [
"MIT"
] | null | null | null | import os
import time
import colorama
from colorama import Back, Fore, Style
os.system("title = DebloaterX Made by @shashankx86")
colorama.init(autoreset=True)
os.system("@echo off")
print(Fore.CYAN + "Debloater Script for NON ROOTED Users")
print(Fore.CYAN + "Build by"+ Fore.RED +" @shashankx86\n")
whil... | 63.554307 | 205 | 0.696329 | 2,651 | 16,969 | 4.461335 | 0.100339 | 0.108227 | 0.21916 | 0.255686 | 0.855585 | 0.849666 | 0.841634 | 0.833517 | 0.833517 | 0.819819 | 0 | 0.005033 | 0.156992 | 16,969 | 266 | 206 | 63.793233 | 0.820902 | 0 | 0 | 0.340336 | 0 | 0.205882 | 0.720719 | 0.133892 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.012605 | 0.016807 | 0 | 0.016807 | 0.138655 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
23fe8e0404af1b03aa438c6bdb91f62e155da59d | 16,878 | py | Python | conv_gp_funcs.py | ciiram/PyPol_II | 50cf1d9f7a33d26f9d09a0fb90bb9bf9d2eee60a | [
"BSD-3-Clause"
] | 2 | 2017-09-29T07:27:20.000Z | 2019-12-11T14:56:31.000Z | conv_gp_funcs.py | ciiram/PyPol_II | 50cf1d9f7a33d26f9d09a0fb90bb9bf9d2eee60a | [
"BSD-3-Clause"
] | null | null | null | conv_gp_funcs.py | ciiram/PyPol_II | 50cf1d9f7a33d26f9d09a0fb90bb9bf9d2eee60a | [
"BSD-3-Clause"
] | null | null | null | # This file contains a number of useful function definitions for implementing the
# convolved Gaussian process framework for RNA pol-II dynamics
#
# Ciira wa Maina, 2013
# Dedan Kimathi University of Technology.
# Nyeri-Kenya
import pylab as pb
import numpy as np
import scipy as sp
from scipy import integrate
fro... | 23.638655 | 348 | 0.672651 | 3,694 | 16,878 | 2.941527 | 0.060639 | 0.06847 | 0.04123 | 0.058531 | 0.854868 | 0.843457 | 0.825603 | 0.790263 | 0.773514 | 0.754003 | 0 | 0.024569 | 0.1246 | 16,878 | 713 | 349 | 23.671809 | 0.710863 | 0.221412 | 0 | 0.704268 | 0 | 0 | 0.00078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073171 | false | 0 | 0.02439 | 0 | 0.182927 | 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 |
9e790b41d67e3b79d268959431651479f543e943 | 37,289 | py | Python | bot.py | GrishakV/Discord | 475b83dbe434758e3601e25c998b35cee41243f7 | [
"MIT"
] | null | null | null | bot.py | GrishakV/Discord | 475b83dbe434758e3601e25c998b35cee41243f7 | [
"MIT"
] | null | null | null | bot.py | GrishakV/Discord | 475b83dbe434758e3601e25c998b35cee41243f7 | [
"MIT"
] | null | null | null | import discord
import math
client = discord.Client()
@client.event
async def on_ready():
print('We have logged in as {0.user}'.format(client))
await client.change_presence(status=discord.Status.online, activity=discord.Game('!!помощь/!!help developed \
by Hustle Castle RU'))
@client.event
async def on... | 52.006974 | 120 | 0.544745 | 5,542 | 37,289 | 3.612053 | 0.191267 | 0.016785 | 0.036068 | 0.043661 | 0.846288 | 0.831502 | 0.828155 | 0.828155 | 0.828155 | 0.827156 | 0 | 0.400469 | 0.314141 | 37,289 | 716 | 121 | 52.079609 | 0.382248 | 0.000617 | 0 | 0.734499 | 0 | 0.007949 | 0.121619 | 0.001959 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00318 | 0 | 0.004769 | 0.00159 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9e859cf88fec404b66ea8127ec56e81385519d25 | 27 | py | Python | tests/python_not_in/not_in.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 362 | 2018-02-17T10:25:11.000Z | 2022-03-30T21:04:59.000Z | tests/python_not_in/not_in.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 70 | 2018-02-17T04:00:14.000Z | 2019-08-21T18:01:52.000Z | tests/python_not_in/not_in.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 36 | 2018-02-18T23:11:25.000Z | 2021-09-20T07:19:36.000Z | a not in x
a not in [1, 2]
| 9 | 15 | 0.555556 | 9 | 27 | 1.666667 | 0.666667 | 0.533333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.333333 | 27 | 2 | 16 | 13.5 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 7 |
9ec0212c73bdbb8263139f7c693ce69c8f5bb41e | 14,388 | py | Python | research/nlp/DYR/src/dataset.py | leelige/mindspore | 5199e05ba3888963473f2b07da3f7bca5b9ef6dc | [
"Apache-2.0"
] | 77 | 2021-10-15T08:32:37.000Z | 2022-03-30T13:09:11.000Z | research/nlp/DYR/src/dataset.py | leelige/mindspore | 5199e05ba3888963473f2b07da3f7bca5b9ef6dc | [
"Apache-2.0"
] | 3 | 2021-10-30T14:44:57.000Z | 2022-02-14T06:57:57.000Z | research/nlp/DYR/src/dataset.py | leelige/mindspore | 5199e05ba3888963473f2b07da3f7bca5b9ef6dc | [
"Apache-2.0"
] | 24 | 2021-10-15T08:32:45.000Z | 2022-03-24T18:45:20.000Z | # Copyright 2021 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 42.949254 | 118 | 0.657979 | 2,143 | 14,388 | 4.083528 | 0.086794 | 0.060336 | 0.037139 | 0.033596 | 0.886984 | 0.882871 | 0.880128 | 0.8767 | 0.8727 | 0.8719 | 0 | 0.013641 | 0.225535 | 14,388 | 334 | 119 | 43.077844 | 0.771695 | 0.072421 | 0 | 0.879859 | 0 | 0 | 0.068218 | 0 | 0 | 0 | 0 | 0 | 0.035336 | 1 | 0.024735 | false | 0 | 0.021201 | 0 | 0.070671 | 0.014134 | 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 |
7b7a438ac238210b3ffb5c2e6bd72be258dfa292 | 132 | py | Python | pyperclipintro.py | csagar131/automate-stuffs-py | 903c888a5187a9887dea09520781cd3f7743b423 | [
"BSL-1.0"
] | null | null | null | pyperclipintro.py | csagar131/automate-stuffs-py | 903c888a5187a9887dea09520781cd3f7743b423 | [
"BSL-1.0"
] | null | null | null | pyperclipintro.py | csagar131/automate-stuffs-py | 903c888a5187a9887dea09520781cd3f7743b423 | [
"BSL-1.0"
] | null | null | null | import pyperclip
# copy the text to clipboard
pyperclip.copy('hello hii')
#pasting the text to clipboard
pyperclip.paste()
| 16.5 | 31 | 0.734848 | 18 | 132 | 5.388889 | 0.611111 | 0.268041 | 0.185567 | 0.371134 | 0.556701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189394 | 132 | 7 | 32 | 18.857143 | 0.906542 | 0.416667 | 0 | 0 | 0 | 0 | 0.134328 | 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 |
7b82b322ba7703d841a135d6806b5fb7f4552d60 | 279 | py | Python | python/etc/pypath_linux.py | gangserver/py_test | 869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4 | [
"Apache-2.0"
] | null | null | null | python/etc/pypath_linux.py | gangserver/py_test | 869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4 | [
"Apache-2.0"
] | null | null | null | python/etc/pypath_linux.py | gangserver/py_test | 869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4 | [
"Apache-2.0"
] | null | null | null | import sys
sys.path.append("/home/gangserver/dev/data")
sys.path.append("/home/gangserver/dev/git/pydev/net/dasom/python/test")
sys.path.append("/home/gangserver/dev/git/pydev/net/dasom/python/exam")
sys.path.append("/home/gangserver/dev/git/pydev/net/dasom/python/doit")
| 39.857143 | 72 | 0.756272 | 45 | 279 | 4.688889 | 0.355556 | 0.132701 | 0.246446 | 0.322275 | 0.881517 | 0.881517 | 0.739336 | 0.739336 | 0.739336 | 0.739336 | 0 | 0 | 0.046595 | 279 | 6 | 73 | 46.5 | 0.793233 | 0 | 0 | 0 | 0 | 0 | 0.663004 | 0.663004 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
7ba48c6e954b65aebee2529df23e2e5018fb4c08 | 2,666 | py | Python | tests/units/base.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | tests/units/base.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | tests/units/base.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | from chibi.units.base import Unit
from unittest import TestCase
class Test_unit( TestCase ):
def setUp( self ):
self.unit = Unit( 10 )
def test_should_print_the_value_when_is_str( self ):
self.assertIn( '10', str( self.unit ) )
def test_when_add_a_int_should_work( self ):
r = 10 ... | 32.120482 | 60 | 0.60015 | 398 | 2,666 | 3.811558 | 0.115578 | 0.137113 | 0.210943 | 0.276862 | 0.876071 | 0.798945 | 0.736322 | 0.72116 | 0.655241 | 0.518128 | 0 | 0.097574 | 0.288822 | 2,666 | 82 | 61 | 32.512195 | 0.702532 | 0 | 0 | 0.358209 | 0 | 0 | 0.00075 | 0 | 0 | 0 | 0 | 0 | 0.373134 | 1 | 0.208955 | false | 0 | 0.029851 | 0 | 0.253731 | 0.014925 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c87c3323b36040e2e80b42a12d45a6adc3f949ff | 5,313 | py | Python | o3seespy/command/element/truss.py | o3seespy/o3seespy | 4fdd942370df1ac8d454e361f651405717b8584c | [
"MIT",
"BSD-3-Clause"
] | 16 | 2019-10-24T17:58:46.000Z | 2022-03-01T19:48:06.000Z | o3seespy/command/element/truss.py | o3seespy/o3seespy | 4fdd942370df1ac8d454e361f651405717b8584c | [
"MIT",
"BSD-3-Clause"
] | 5 | 2020-04-17T01:39:27.000Z | 2020-12-18T05:07:58.000Z | o3seespy/command/element/truss.py | o3seespy/o3seespy | 4fdd942370df1ac8d454e361f651405717b8584c | [
"MIT",
"BSD-3-Clause"
] | 6 | 2020-02-20T02:13:11.000Z | 2021-11-01T19:08:41.000Z | from o3seespy.command.element.base_element import ElementBase
class Truss(ElementBase):
"""
The Truss Element Class
This command is used to construct a truss element object. There are two ways to construct a truss element object:
One way is to specify an area and a UniaxialMaterial identifie... | 36.895833 | 118 | 0.574816 | 714 | 5,313 | 4.127451 | 0.142857 | 0.03054 | 0.024432 | 0.026468 | 0.943332 | 0.943332 | 0.943332 | 0.935188 | 0.935188 | 0.907363 | 0 | 0.017303 | 0.3147 | 5,313 | 143 | 119 | 37.153846 | 0.79209 | 0.454545 | 0 | 0.918033 | 0 | 0 | 0.036371 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0 | 0.016393 | 0 | 0.114754 | 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 |
c8f28ce93e2404bd748af7cbd4fa2ccdc1ad23a6 | 65 | py | Python | benkyo/common/__init__.py | xersuy/django-benkyou | 59ed6dc953175487e0d32534219643ad606e8288 | [
"MIT"
] | null | null | null | benkyo/common/__init__.py | xersuy/django-benkyou | 59ed6dc953175487e0d32534219643ad606e8288 | [
"MIT"
] | null | null | null | benkyo/common/__init__.py | xersuy/django-benkyou | 59ed6dc953175487e0d32534219643ad606e8288 | [
"MIT"
] | null | null | null |
from common.db_manage import *
from common.db_instance import *
| 16.25 | 32 | 0.8 | 10 | 65 | 5 | 0.6 | 0.4 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 65 | 3 | 33 | 21.666667 | 0.892857 | 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 |
c8f6acf94cb656307ff2f14e8535273f1d59f3a1 | 7,282 | py | Python | yolo3/models/yolo3_xception.py | PedroRendeiro/keras-YOLOv3-model-set | b6a1b43b06b0c457e238e129128d484143cda318 | [
"MIT"
] | 2 | 2021-01-26T23:03:47.000Z | 2021-05-04T16:11:34.000Z | yolo3/models/yolo3_xception.py | acobo/keras-YOLOv3-model-set | 6d7f7f2474dda43c112a9e0321447109a446ac69 | [
"MIT"
] | null | null | null | yolo3/models/yolo3_xception.py | acobo/keras-YOLOv3-model-set | 6d7f7f2474dda43c112a9e0321447109a446ac69 | [
"MIT"
] | 1 | 2021-03-10T09:02:27.000Z | 2021-03-10T09:02:27.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""YOLO_v3 Xception Model Defined in Keras."""
import tensorflow as tf
from tensorflow.keras.layers import UpSampling2D, Concatenate
from tensorflow.keras.models import Model
from tensorflow.keras.applications.xception import Xception
from yolo3.models.layers impo... | 38.326316 | 194 | 0.645976 | 1,096 | 7,282 | 4.067518 | 0.093066 | 0.020188 | 0.05249 | 0.080754 | 0.920592 | 0.902423 | 0.894347 | 0.894347 | 0.887618 | 0.848587 | 0 | 0.134043 | 0.238808 | 7,282 | 189 | 195 | 38.529101 | 0.670215 | 0.282889 | 0 | 0.784091 | 0 | 0 | 0.060367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056818 | false | 0 | 0.056818 | 0 | 0.170455 | 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 |
cdbdc54f4a0ca509c4b8a5bcbc0be220497cb01e | 4,363 | py | Python | hubcheck/pageobjects/widgets/members_profile_mailpreference.py | codedsk/hubcheck | 2ff506eb56ba00f035300862f8848e4168452a17 | [
"MIT"
] | 1 | 2016-02-13T13:42:23.000Z | 2016-02-13T13:42:23.000Z | hubcheck/pageobjects/widgets/members_profile_mailpreference.py | codedsk/hubcheck | 2ff506eb56ba00f035300862f8848e4168452a17 | [
"MIT"
] | null | null | null | hubcheck/pageobjects/widgets/members_profile_mailpreference.py | codedsk/hubcheck | 2ff506eb56ba00f035300862f8848e4168452a17 | [
"MIT"
] | null | null | null | from hubcheck.pageobjects.basepageelement import Radio
from hubcheck.pageobjects.basepageelement import Select
from hubcheck.pageobjects.widgets.members_profile_element import MembersProfileElement
class MembersProfileMailPreference1(MembersProfileElement):
def __init__(self, owner, locatordict={}):
super(... | 38.955357 | 104 | 0.647032 | 416 | 4,363 | 6.685096 | 0.180288 | 0.061129 | 0.091694 | 0.037397 | 0.851133 | 0.8105 | 0.8105 | 0.772384 | 0.772384 | 0.772384 | 0 | 0.002408 | 0.238597 | 4,363 | 111 | 105 | 39.306306 | 0.834738 | 0.155398 | 0 | 0.75 | 0 | 0 | 0.258436 | 0.083402 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.046875 | 0 | 0.265625 | 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 |
a93ec91b206cf18d2d262ed34572fbfdd6dd3c3e | 4,252 | py | Python | cifar/imbalance_cifar.py | Liuhong99/Imbalanced-SSL | 9783c43dc709905f12e3e8398dd7de0a97d2b696 | [
"MIT"
] | 2 | 2022-02-15T06:26:59.000Z | 2022-03-17T16:44:28.000Z | cifar/imbalance_cifar.py | Liuhong99/Imbalanced-SSL | 9783c43dc709905f12e3e8398dd7de0a97d2b696 | [
"MIT"
] | null | null | null | cifar/imbalance_cifar.py | Liuhong99/Imbalanced-SSL | 9783c43dc709905f12e3e8398dd7de0a97d2b696 | [
"MIT"
] | null | null | null | import torch
import torchvision
import torchvision.transforms as transforms
import numpy as np
from PIL import Image
class IMBALANCECIFARIND(torchvision.datasets.CIFAR10):
cls_num = 10
def __init__(self, root, imb_type='step', imb_factor=0.01, rand_number=0, train=True,
transform=None, target... | 40.495238 | 99 | 0.625353 | 609 | 4,252 | 4.031199 | 0.134647 | 0.068432 | 0.065988 | 0.078208 | 0.801629 | 0.801629 | 0.801629 | 0.801629 | 0.801629 | 0.801629 | 0 | 0.012121 | 0.2627 | 4,252 | 105 | 100 | 40.495238 | 0.770973 | 0 | 0 | 0.75 | 0 | 0 | 0.06466 | 0.045145 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102273 | false | 0 | 0.056818 | 0 | 0.261364 | 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 |
a97385ffe96727e5427fc9bfb0036397ac0af55b | 6,539 | py | Python | musicalrobot/tests/test_data_encoding.py | pozzocapstone/musical-robot1 | 556cb325851c6e268bee6c46d8a00e073b404ca6 | [
"MIT"
] | 1 | 2020-07-01T17:41:27.000Z | 2020-07-01T17:41:27.000Z | musicalrobot/tests/test_data_encoding.py | pozzocapstone/musical-robot1 | 556cb325851c6e268bee6c46d8a00e073b404ca6 | [
"MIT"
] | null | null | null | musicalrobot/tests/test_data_encoding.py | pozzocapstone/musical-robot1 | 556cb325851c6e268bee6c46d8a00e073b404ca6 | [
"MIT"
] | 4 | 2019-11-21T01:59:12.000Z | 2021-05-20T15:37:09.000Z | import os,sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import irtemp
import edge_detection
import data_encoding
def test_derivative():
'''Test for function which calculates the derivative
of the tempe... | 49.916031 | 86 | 0.740939 | 940 | 6,539 | 4.852128 | 0.126596 | 0.105459 | 0.02631 | 0.02631 | 0.837755 | 0.790397 | 0.777242 | 0.766279 | 0.745231 | 0.745231 | 0 | 0.021763 | 0.163787 | 6,539 | 131 | 87 | 49.916031 | 0.812363 | 0.067442 | 0 | 0.734513 | 0 | 0 | 0.151003 | 0.080723 | 0 | 0 | 0 | 0 | 0.115044 | 1 | 0.053097 | false | 0 | 0.061947 | 0 | 0.159292 | 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 |
8d28fe5e4adfa1aff5495ad83e09d0e7b5179b68 | 209 | py | Python | apps/logic/applications/application_test/views.py | FuJianTech/OIP | 0f3f52a835966f7408ca1d0d9d3e46ae5e63f91a | [
"MIT"
] | null | null | null | apps/logic/applications/application_test/views.py | FuJianTech/OIP | 0f3f52a835966f7408ca1d0d9d3e46ae5e63f91a | [
"MIT"
] | null | null | null | apps/logic/applications/application_test/views.py | FuJianTech/OIP | 0f3f52a835966f7408ca1d0d9d3e46ae5e63f91a | [
"MIT"
] | null | null | null | # !/bin/env python
# -*- coding=utf-8 -*-
from flask import jsonify
from . import application_test
@application_test.route("/test", methods=['GET'])
def test():
return jsonify({"data": "test blueprint"}) | 23.222222 | 49 | 0.679426 | 27 | 209 | 5.185185 | 0.703704 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005525 | 0.133971 | 209 | 9 | 50 | 23.222222 | 0.767956 | 0.177033 | 0 | 0 | 0 | 0 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
8d636e5dc9ab0f21360a4c583ed95963c76df07d | 16,084 | py | Python | python/rifta/tif_2d.py | mfkiwl/RIFTA | e5171a5ef91bdc9445fc0a84448f62650521efd6 | [
"MIT"
] | null | null | null | python/rifta/tif_2d.py | mfkiwl/RIFTA | e5171a5ef91bdc9445fc0a84448f62650521efd6 | [
"MIT"
] | null | null | null | python/rifta/tif_2d.py | mfkiwl/RIFTA | e5171a5ef91bdc9445fc0a84448f62650521efd6 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 Tianyi Wang
#
# Tianyi Wang
# tianyiwang6666@gmail.com
#
# All rights reserved
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without li... | 35.27193 | 115 | 0.542589 | 2,458 | 16,084 | 3.357608 | 0.111066 | 0.037562 | 0.052587 | 0.031504 | 0.800315 | 0.791712 | 0.775476 | 0.775476 | 0.769902 | 0.769902 | 0 | 0.025693 | 0.327282 | 16,084 | 455 | 116 | 35.349451 | 0.737061 | 0.38243 | 0 | 0.752525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.010101 | 0 | 0.070707 | 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 |
a5c97229b418140e23e6eb1ce877e7f197d3ac1c | 12,759 | py | Python | test-framework/test-suites/integration/tests/set/test_set_host_interface_ip.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | 123 | 2015-05-12T23:36:45.000Z | 2017-07-05T23:26:57.000Z | test-framework/test-suites/integration/tests/set/test_set_host_interface_ip.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | 177 | 2015-06-05T19:17:47.000Z | 2017-07-07T17:57:24.000Z | test-framework/test-suites/integration/tests/set/test_set_host_interface_ip.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | 32 | 2015-06-07T02:25:03.000Z | 2017-06-23T07:35:35.000Z | import json
from textwrap import dedent
class TestSetHostInterfaceIP:
def test_no_hosts(self, host):
result = host.run('stack set host interface ip')
assert result.rc == 255
assert result.stderr == dedent('''\
error - "host" argument is required
{host} {ip=string} [interface=string] [mac=string] [network... | 34.860656 | 106 | 0.677483 | 2,113 | 12,759 | 4.059158 | 0.06815 | 0.018421 | 0.075784 | 0.104932 | 0.916521 | 0.901947 | 0.891804 | 0.887606 | 0.875364 | 0.864288 | 0 | 0.058614 | 0.185673 | 12,759 | 365 | 107 | 34.956164 | 0.766891 | 0.17086 | 0 | 0.761364 | 0 | 0.113636 | 0.475268 | 0.019937 | 0 | 0 | 0 | 0 | 0.261364 | 1 | 0.068182 | false | 0 | 0.007576 | 0 | 0.079545 | 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 |
574483b8958e2e441252ce9edd425e2ed5150b77 | 182 | py | Python | 2- Django Rest Accounts/1- Login/serializers.py | 4yub1k/django-snippets | 33a47cca3b5354ee282dd17ecca632fb1995fda2 | [
"MIT"
] | null | null | null | 2- Django Rest Accounts/1- Login/serializers.py | 4yub1k/django-snippets | 33a47cca3b5354ee282dd17ecca632fb1995fda2 | [
"MIT"
] | null | null | null | 2- Django Rest Accounts/1- Login/serializers.py | 4yub1k/django-snippets | 33a47cca3b5354ee282dd17ecca632fb1995fda2 | [
"MIT"
] | null | null | null | class LoginSerializer(serializers.Serializer):
username = serializers.CharField(max_length=25, required=True)
password = serializers.CharField(max_length=128, required=True)
| 45.5 | 67 | 0.802198 | 20 | 182 | 7.2 | 0.65 | 0.277778 | 0.319444 | 0.402778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030488 | 0.098901 | 182 | 3 | 68 | 60.666667 | 0.847561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
574ccfecff38810f6ac4d1bc16f0dc56278527f3 | 8,226 | py | Python | app/routes.py | CodeConfidant/flask-auth | ee714070d088d1320728bafb3b191655cc49f032 | [
"MIT"
] | null | null | null | app/routes.py | CodeConfidant/flask-auth | ee714070d088d1320728bafb3b191655cc49f032 | [
"MIT"
] | 1 | 2021-03-20T16:19:30.000Z | 2021-03-20T16:19:30.000Z | app/routes.py | CodeConfidant/flask-auth | ee714070d088d1320728bafb3b191655cc49f032 | [
"MIT"
] | null | null | null | from passlib.hash import sha512_crypt
from connectwrap import db
from pydate import DateTime
from flask import render_template, url_for, request, redirect, flash
from app import app
from app.forms import LoginForm, RegisterForm
user_db = db("app/users.db", "Users"); user_db.close_db()
@app.route('/')
@app.route('/ind... | 53.764706 | 170 | 0.621809 | 983 | 8,226 | 5.032553 | 0.102747 | 0.061856 | 0.036386 | 0.044674 | 0.818072 | 0.774813 | 0.762482 | 0.747322 | 0.708712 | 0.655347 | 0 | 0.004409 | 0.227936 | 8,226 | 153 | 171 | 53.764706 | 0.774524 | 0 | 0 | 0.633094 | 0 | 0 | 0.233013 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057554 | false | 0.143885 | 0.043165 | 0.021583 | 0.23741 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
93b2c23444576283bb2bbc87ee487199f1b7a4ff | 60,054 | py | Python | pyuppaal/tests/ulp/test_basic.py | sen-uni-kn/tartar | 5148f8737ab39c09aa0ca4907b1af7c44cf8b8a0 | [
"MIT"
] | null | null | null | pyuppaal/tests/ulp/test_basic.py | sen-uni-kn/tartar | 5148f8737ab39c09aa0ca4907b1af7c44cf8b8a0 | [
"MIT"
] | null | null | null | pyuppaal/tests/ulp/test_basic.py | sen-uni-kn/tartar | 5148f8737ab39c09aa0ca4907b1af7c44cf8b8a0 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import sys
import os
import unittest
from pyuppaal.ulp import lexer, parser, expressionParser, node
from pyuppaal.ulp.systemdec_parser import SystemDeclarationParser
class TestBasicParsing(unittest.TestCase):
def test_comment_last_line(self):
lex = lexer.lexer
declaration = '// c... | 50.338642 | 208 | 0.652513 | 7,600 | 60,054 | 5.095658 | 0.038947 | 0.242467 | 0.151522 | 0.1524 | 0.881994 | 0.846722 | 0.81225 | 0.775247 | 0.740724 | 0.693211 | 0 | 0.028313 | 0.180155 | 60,054 | 1,192 | 209 | 50.380872 | 0.758261 | 0.026793 | 0 | 0.498433 | 0 | 0.001045 | 0.087088 | 0.005805 | 0 | 0 | 0 | 0.000839 | 0.678161 | 0 | null | null | 0 | 0.005225 | null | null | 0.00418 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f51642b9ca3c29ebb454436310a861cbdc496468 | 40,990 | py | Python | genereg/FeatureSelection.py | Kia23/genexpreg_cancer | c4d59dc1ac99c88992f6030f0fab848d7da4d082 | [
"Apache-2.0"
] | 1 | 2020-09-28T09:33:15.000Z | 2020-09-28T09:33:15.000Z | genereg/FeatureSelection.py | Kia23/genexpreg_cancer | c4d59dc1ac99c88992f6030f0fab848d7da4d082 | [
"Apache-2.0"
] | null | null | null | genereg/FeatureSelection.py | Kia23/genexpreg_cancer | c4d59dc1ac99c88992f6030f0fab848d7da4d082 | [
"Apache-2.0"
] | 1 | 2018-10-09T00:15:32.000Z | 2018-10-09T00:15:32.000Z | # coding: utf-8
# Import libraries
import pandas as pd
from pandas import ExcelWriter
import numpy as np
import pickle
from sklearn.linear_model import LinearRegression
from sklearn import preprocessing
from sklearn.linear_model import LassoCV
from mlxtend.feature_selection import SequentialFeatureSelector as SFS
de... | 47.497103 | 451 | 0.705489 | 6,139 | 40,990 | 4.4403 | 0.072162 | 0.064052 | 0.074654 | 0.023478 | 0.82193 | 0.811915 | 0.809861 | 0.795957 | 0.772919 | 0.764371 | 0 | 0.01368 | 0.163625 | 40,990 | 863 | 452 | 47.497103 | 0.78097 | 0.345011 | 0 | 0.746512 | 0 | 0 | 0.11808 | 0.016365 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002326 | false | 0 | 0.018605 | 0 | 0.02093 | 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 |
f586c021fd1195784e53e52bb019c0c529465c98 | 158 | py | Python | __init__.py | aviatesk/Keras-VGG16-places365 | adfc2a59f99442b292c96c6cd799388b89db42d9 | [
"MIT"
] | null | null | null | __init__.py | aviatesk/Keras-VGG16-places365 | adfc2a59f99442b292c96c6cd799388b89db42d9 | [
"MIT"
] | null | null | null | __init__.py | aviatesk/Keras-VGG16-places365 | adfc2a59f99442b292c96c6cd799388b89db42d9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from . import vgg16_places_365
from . import vgg16_hybrid_places_1365
from . import places_utils
if __name__ == '__main__':
pass
| 19.75 | 38 | 0.721519 | 22 | 158 | 4.545455 | 0.681818 | 0.3 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 0.170886 | 158 | 7 | 39 | 22.571429 | 0.671756 | 0.132911 | 0 | 0 | 0 | 0 | 0.059259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.