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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e46b23e379d1cc66ba883b178518ba8867ac1710 | 29 | py | Python | Edabit/Buggy Code (Part 1)/Sol.py | Pandz18/C-Programs | 9d9b47516d3f65d348f9f72b9c0edda8246e9fab | [
"MIT"
] | null | null | null | Edabit/Buggy Code (Part 1)/Sol.py | Pandz18/C-Programs | 9d9b47516d3f65d348f9f72b9c0edda8246e9fab | [
"MIT"
] | null | null | null | Edabit/Buggy Code (Part 1)/Sol.py | Pandz18/C-Programs | 9d9b47516d3f65d348f9f72b9c0edda8246e9fab | [
"MIT"
] | null | null | null | def cubes(a):
return a ** 3
| 9.666667 | 14 | 0.586207 | 6 | 29 | 2.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.241379 | 29 | 2 | 15 | 14.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e4b38225d70e8d388165d5ba00fa5e9fe7999b7d | 228 | py | Python | tests/utils.py | RomainDuclos/sage-engine | 333997c658ea44e643bed636c5297e5e998ef97c | [
"MIT"
] | null | null | null | tests/utils.py | RomainDuclos/sage-engine | 333997c658ea44e643bed636c5297e5e998ef97c | [
"MIT"
] | null | null | null | tests/utils.py | RomainDuclos/sage-engine | 333997c658ea44e643bed636c5297e5e998ef97c | [
"MIT"
] | 3 | 2019-01-03T12:49:54.000Z | 2019-01-18T16:32:53.000Z | class DummyDataset:
def __init__(self, doc, name):
self._name = name
self._doc = doc
def get_graph(self, name):
return self._doc
def has_graph(self, name):
return self._name == name
| 20.727273 | 34 | 0.596491 | 30 | 228 | 4.2 | 0.366667 | 0.253968 | 0.190476 | 0.301587 | 0.365079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307018 | 228 | 10 | 35 | 22.8 | 0.797468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
90366390bd29d2e0a37591f301da8e9d85d06440 | 42 | py | Python | gpsearch/examples/oscillator/__init__.py | Fluid-Dynamics-Group/gpsearch | 8c5758c9fb2b623ef79952c3e9c113cb157d79bc | [
"MIT"
] | 6 | 2020-07-13T00:02:17.000Z | 2022-03-11T08:49:27.000Z | gpsearch/examples/oscillator/__init__.py | Fluid-Dynamics-Group/gpsearch | 8c5758c9fb2b623ef79952c3e9c113cb157d79bc | [
"MIT"
] | null | null | null | gpsearch/examples/oscillator/__init__.py | Fluid-Dynamics-Group/gpsearch | 8c5758c9fb2b623ef79952c3e9c113cb157d79bc | [
"MIT"
] | 9 | 2020-07-18T13:29:46.000Z | 2022-03-22T15:14:14.000Z | from .oscillator import Noise, Oscillator
| 21 | 41 | 0.833333 | 5 | 42 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f5cc118cbd144e24b3ec71c7b88fdfb30df7e00 | 13,971 | py | Python | tests/test_session.py | ciprianmiclaus/clevertim-api-py | 42117044b34a83eaf0e2b05645a1bf42a8bbd440 | [
"BSD-3-Clause"
] | 1 | 2017-05-03T17:58:27.000Z | 2017-05-03T17:58:27.000Z | tests/test_session.py | ciprianmiclaus/clevertim-api-py | 42117044b34a83eaf0e2b05645a1bf42a8bbd440 | [
"BSD-3-Clause"
] | null | null | null | tests/test_session.py | ciprianmiclaus/clevertim-api-py | 42117044b34a83eaf0e2b05645a1bf42a8bbd440 | [
"BSD-3-Clause"
] | null | null | null | import json
from clevertimapi.session import Session, SessionError
try:
import unittest.mock as mock
except ImportError:
import mock
import sys
if sys.version_info[:2] < (2, 7):
import unittest2 as unittest
else:
import unittest
class FakeEndpoint(object):
def __init__(self, session, key=None, laz... | 50.803636 | 163 | 0.698232 | 1,611 | 13,971 | 5.863439 | 0.085661 | 0.034935 | 0.06606 | 0.071565 | 0.894559 | 0.864916 | 0.851895 | 0.84766 | 0.806161 | 0.771226 | 0 | 0.02679 | 0.182449 | 13,971 | 274 | 164 | 50.989051 | 0.80021 | 0.023477 | 0 | 0.651261 | 0 | 0 | 0.113466 | 0 | 0 | 0 | 0 | 0 | 0.252101 | 1 | 0.092437 | false | 0.004202 | 0.033613 | 0 | 0.134454 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f2cd72685c462c05e6adc4df8812a561196f07aa | 871 | py | Python | gym_learning_to_learn/__init__.py | bstriner/gym-learning-to-learn | 4cd93bf7a306255771a32e0d97b3d705b2666656 | [
"MIT"
] | 1 | 2021-06-14T15:37:32.000Z | 2021-06-14T15:37:32.000Z | gym_learning_to_learn/__init__.py | bstriner/gym-learning-to-learn | 4cd93bf7a306255771a32e0d97b3d705b2666656 | [
"MIT"
] | null | null | null | gym_learning_to_learn/__init__.py | bstriner/gym-learning-to-learn | 4cd93bf7a306255771a32e0d97b3d705b2666656 | [
"MIT"
] | 1 | 2017-01-27T05:49:59.000Z | 2017-01-27T05:49:59.000Z | from gym.envs.registration import register
register(
id='SGD-MNIST-Discrete-v0',
entry_point='gym_learning_to_learn.envs:MnistSgdDiscreteEnv',
tags={'wrapper_config.TimeLimit.max_episode_steps': 1000},
nondeterministic=True
)
register(
id='SGD-MNIST-Continuous-v0',
entry_point='gym_learning_to... | 29.033333 | 72 | 0.768083 | 102 | 871 | 6.284314 | 0.313725 | 0.062403 | 0.081123 | 0.093604 | 0.765991 | 0.765991 | 0.765991 | 0.765991 | 0.765991 | 0.49766 | 0 | 0.02594 | 0.114811 | 871 | 29 | 73 | 30.034483 | 0.805447 | 0 | 0 | 0.48 | 0 | 0 | 0.532721 | 0.532721 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.04 | 0 | 0.04 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f2d83cbddbb23d3d71838104084ffec81ad07af3 | 2,866 | py | Python | pyedgeconnect/orch/_ospf.py | SPOpenSource/edgeconnect-python | 158aad220f8cacfa029df41b0ac2a37f7dac943f | [
"MIT"
] | 15 | 2021-07-02T17:09:13.000Z | 2022-02-08T17:06:51.000Z | pyedgeconnect/orch/_ospf.py | SPOpenSource/edgeconnect-python | 158aad220f8cacfa029df41b0ac2a37f7dac943f | [
"MIT"
] | null | null | null | pyedgeconnect/orch/_ospf.py | SPOpenSource/edgeconnect-python | 158aad220f8cacfa029df41b0ac2a37f7dac943f | [
"MIT"
] | 4 | 2021-07-16T00:05:24.000Z | 2022-03-26T02:04:17.000Z | # MIT License
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP.
#
# ospf : apis for get config and state of ospf
def get_appliance_ospf_config(
self,
ne_id: str,
) -> dict:
"""Get appliance OSPF configuration
.. list-table::
:header-rows: 1
* - Swagger Section
... | 22.746032 | 72 | 0.580949 | 356 | 2,866 | 4.55618 | 0.148876 | 0.049322 | 0.098644 | 0.05857 | 0.91492 | 0.903822 | 0.903822 | 0.903822 | 0.845869 | 0.605425 | 0 | 0.00699 | 0.301117 | 2,866 | 125 | 73 | 22.928 | 0.802796 | 0.643754 | 0 | 0.68 | 0 | 0 | 0.16482 | 0.16482 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8402abc42660336d281e4b5f3e7958afbbbb1a60 | 40 | py | Python | sandbox/jydontgiveitup.py | writecrow/crow_training | 17324ce93608acf997c2880b587dd9483729b895 | [
"MIT"
] | 7 | 2018-02-27T15:24:10.000Z | 2018-02-27T22:20:58.000Z | sandbox/jydontgiveitup.py | writecrow/crow_training | 17324ce93608acf997c2880b587dd9483729b895 | [
"MIT"
] | 11 | 2018-02-21T03:07:44.000Z | 2018-02-27T22:33:29.000Z | sandbox/jydontgiveitup.py | writecrow/crow_training | 17324ce93608acf997c2880b587dd9483729b895 | [
"MIT"
] | null | null | null | print("Hello, Mark! This is Ji-young!")
| 20 | 39 | 0.675 | 7 | 40 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ffe05c249b21208f541207699fa863e5676ae7bc | 1,351 | py | Python | hrsalespipes/dashboard/migrations/0003_auto_20200403_1410.py | hanztura/hrsalespipes | 77accf3132726ced05d84fa2a41891b841f310b8 | [
"Apache-2.0"
] | 3 | 2020-03-26T12:43:43.000Z | 2021-05-10T14:35:51.000Z | hrsalespipes/dashboard/migrations/0003_auto_20200403_1410.py | hanztura/hrsalespipes | 77accf3132726ced05d84fa2a41891b841f310b8 | [
"Apache-2.0"
] | 5 | 2021-04-08T21:15:15.000Z | 2022-02-10T11:03:12.000Z | hrsalespipes/dashboard/migrations/0003_auto_20200403_1410.py | hanztura/hrsalespipes | 77accf3132726ced05d84fa2a41891b841f310b8 | [
"Apache-2.0"
] | 1 | 2022-01-30T19:24:48.000Z | 2022-01-30T19:24:48.000Z | # Generated by Django 2.2.10 on 2020-04-03 14:10
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dashboard', '0002_auto_20200319_0743'),
]
operations = [
migrations.AddField(
model_name='dashboard',
name='consult... | 34.641026 | 126 | 0.626203 | 139 | 1,351 | 5.863309 | 0.381295 | 0.110429 | 0.141104 | 0.165644 | 0.730061 | 0.730061 | 0.730061 | 0.730061 | 0.730061 | 0.457669 | 0 | 0.049395 | 0.265729 | 1,351 | 38 | 127 | 35.552632 | 0.772177 | 0.034049 | 0 | 0.5625 | 1 | 0 | 0.250959 | 0.133538 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
082ad01aaaf1dc495dd13adf13beaf27bc35d4d8 | 199 | py | Python | visualizer/visualizer/__init__.py | zdobroff1/CSE505 | d9f74dddc24ce6570abfd87b5e5cfaeca71c4c0c | [
"MIT"
] | null | null | null | visualizer/visualizer/__init__.py | zdobroff1/CSE505 | d9f74dddc24ce6570abfd87b5e5cfaeca71c4c0c | [
"MIT"
] | null | null | null | visualizer/visualizer/__init__.py | zdobroff1/CSE505 | d9f74dddc24ce6570abfd87b5e5cfaeca71c4c0c | [
"MIT"
] | null | null | null | from configuration import *
from gui import *
from model import *
from modelView import *
from network import *
from parser import *
from visualizerItem import *
from visualizerGraphicItem import *
| 19.9 | 35 | 0.79397 | 24 | 199 | 6.583333 | 0.416667 | 0.443038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165829 | 199 | 9 | 36 | 22.111111 | 0.951807 | 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 | 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 | 6 |
0834c6910cabf4561c917807d8050f33291826dd | 5,993 | py | Python | src/evolvepy/generator/mutation/mutation.py | EltonCN/evolvepy | 4489264d6c03ea4f3c23ea665fdf12fe4ead1ccc | [
"MIT"
] | 1 | 2022-01-13T21:11:53.000Z | 2022-01-13T21:11:53.000Z | src/evolvepy/generator/mutation/mutation.py | EltonCN/evolvepy | 4489264d6c03ea4f3c23ea665fdf12fe4ead1ccc | [
"MIT"
] | null | null | null | src/evolvepy/generator/mutation/mutation.py | EltonCN/evolvepy | 4489264d6c03ea4f3c23ea665fdf12fe4ead1ccc | [
"MIT"
] | null | null | null | from typing import Tuple, Union, List, Callable, Optional
from numpy.typing import ArrayLike
import numpy as np
import numba
from evolvepy.generator.context import Context
from .numeric_mutation import sum_mutation
from .binary_mutation import bit_mutation
from evolvepy.generator import ChromosomeOperator
def def... | 42.807143 | 198 | 0.693476 | 684 | 5,993 | 5.885965 | 0.153509 | 0.099354 | 0.029806 | 0.043716 | 0.803527 | 0.800298 | 0.765524 | 0.730253 | 0.730253 | 0.701441 | 0 | 0.000858 | 0.222426 | 5,993 | 139 | 199 | 43.115108 | 0.86309 | 0.338228 | 0 | 0.490566 | 0 | 0 | 0.063698 | 0.012401 | 0 | 0 | 0 | 0 | 0 | 1 | 0.132075 | false | 0 | 0.150943 | 0 | 0.433962 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f242d764fce23e7782a81b471140b8697191ffb7 | 141 | py | Python | tests/test_extract.py | kwatsen/xiax | 4cad5c36a87968bc00d18756c3f707020b204845 | [
"0BSD"
] | null | null | null | tests/test_extract.py | kwatsen/xiax | 4cad5c36a87968bc00d18756c3f707020b204845 | [
"0BSD"
] | null | null | null | tests/test_extract.py | kwatsen/xiax | 4cad5c36a87968bc00d18756c3f707020b204845 | [
"0BSD"
] | null | null | null | import xiax
# Extraction tests
## Positive tests
def test_pos1():
assert 1 == 1
## Negative tests
#def test_neg1():
# assert 1 == 2
| 9.4 | 18 | 0.64539 | 20 | 141 | 4.45 | 0.65 | 0.179775 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.234043 | 141 | 14 | 19 | 10.071429 | 0.768519 | 0.546099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f27ba049708819daac9cc4804b09a91398fd121a | 334 | py | Python | reinforcement_learning/rl_deepracer_robomaker_coach_gazebo/src/markov/tests/test_constant.py | jpmarques19/tensorflwo-test | 0ff8b06e0415075c7269820d080284a42595bb2e | [
"Apache-2.0"
] | 5 | 2019-01-19T23:53:35.000Z | 2022-01-29T14:04:31.000Z | reinforcement_learning/rl_deepracer_robomaker_coach_gazebo/src/markov/tests/test_constant.py | jpmarques19/tensorflwo-test | 0ff8b06e0415075c7269820d080284a42595bb2e | [
"Apache-2.0"
] | 4 | 2020-09-26T01:30:01.000Z | 2022-02-10T02:20:35.000Z | reinforcement_learning/rl_deepracer_robomaker_coach_gazebo/src/markov/tests/test_constant.py | jpmarques19/tensorflwo-test | 0ff8b06e0415075c7269820d080284a42595bb2e | [
"Apache-2.0"
] | 7 | 2020-03-04T22:23:51.000Z | 2021-07-13T14:05:46.000Z | AWS_REGION = "us-east-1"
MODEL_METADATA_S3_KEY = "s3://simapp-testcases-687392285187/simapp-testcases-prefix/model/model_metadata.json"
REWARD_FUNCTION_S3_SOURCE = "s3://simapp-testcases-687392285187/simapp-testcases-prefix/customer_reward_function.py"
S3_BUCKET = "simapp-testcases-687392285187"
S3_PREFIX = "simapp-tes... | 66.8 | 116 | 0.832335 | 45 | 334 | 5.911111 | 0.444444 | 0.338346 | 0.304511 | 0.218045 | 0.37594 | 0.37594 | 0.37594 | 0 | 0 | 0 | 0 | 0.134375 | 0.041916 | 334 | 5 | 117 | 66.8 | 0.696875 | 0 | 0 | 0 | 0 | 0 | 0.689552 | 0.662687 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f28a7a0301712a0365d0ae0ec7bbe444ab2ad874 | 169 | py | Python | src/clickgen/packer/__init__.py | KaizIqbal/clickgen | cab0d0c005c7714cb0271809745a2dae321aa7eb | [
"MIT"
] | 2 | 2020-06-06T03:34:29.000Z | 2020-07-29T06:47:23.000Z | src/clickgen/packer/__init__.py | KaizIqbal/clickgen | cab0d0c005c7714cb0271809745a2dae321aa7eb | [
"MIT"
] | null | null | null | src/clickgen/packer/__init__.py | KaizIqbal/clickgen | cab0d0c005c7714cb0271809745a2dae321aa7eb | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from clickgen.packer.windows import pack_win
from clickgen.packer.x11 import pack_x11
__all__ = ["pack_win", "pack_x11"]
| 21.125 | 44 | 0.721893 | 26 | 169 | 4.384615 | 0.615385 | 0.210526 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047297 | 0.12426 | 169 | 7 | 45 | 24.142857 | 0.722973 | 0.248521 | 0 | 0 | 0 | 0 | 0.128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b4d02bb51566f31154bc806c44f465638420a45 | 5,947 | py | Python | src/ggrc/migrations/versions/20140103201245_b58e88da095_remove_risk_models.py | Smotko/ggrc-core | b3abb58b24e7559960d71a94ba79c75539e7fe29 | [
"Apache-2.0"
] | null | null | null | src/ggrc/migrations/versions/20140103201245_b58e88da095_remove_risk_models.py | Smotko/ggrc-core | b3abb58b24e7559960d71a94ba79c75539e7fe29 | [
"Apache-2.0"
] | 12 | 2015-01-08T14:50:19.000Z | 2017-11-29T19:37:53.000Z | src/ggrc/migrations/versions/20140103201245_b58e88da095_remove_risk_models.py | mikecb/ggrc-core | 1cda560cb0920021416e07740c6cca1acba56268 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2015-01-08T13:25:09.000Z | 2015-01-08T13:25:09.000Z | # Copyright (C) 2015 Google Inc., authors, and contributors <see AUTHORS file>
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
# Created By: anze@reciprocitylabs.com
# Maintained By: anze@reciprocitylabs.com
"""Remove Risk models
Revision ID: b58e88da095
Revises: 4db2d8962a62
Create Da... | 51.713043 | 116 | 0.708929 | 852 | 5,947 | 4.823944 | 0.134977 | 0.116788 | 0.131387 | 0.214112 | 0.805109 | 0.779562 | 0.749635 | 0.702433 | 0.687348 | 0.654015 | 0 | 0.019307 | 0.111653 | 5,947 | 114 | 117 | 52.166667 | 0.75866 | 0.063393 | 0 | 0.521739 | 0 | 0 | 0.207269 | 0.04642 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021739 | false | 0 | 0.021739 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4b67a11cee21edd06d7651732c1b612bce3b52d0 | 5,482 | py | Python | pensa/clusters/wss.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 55 | 2020-11-18T07:03:46.000Z | 2022-03-29T02:47:10.000Z | pensa/clusters/wss.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 11 | 2020-11-18T16:43:43.000Z | 2022-02-22T20:02:22.000Z | pensa/clusters/wss.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 11 | 2020-11-19T04:34:36.000Z | 2022-03-01T23:48:57.000Z | import numpy as np
import scipy as sp
import scipy.stats
import mdshare
import pyemma
from pyemma.util.contexts import settings
import MDAnalysis as mda
import matplotlib.pyplot as plt
from pensa.clusters import obtain_clusters, obtain_combined_clusters
def wss_over_number_of_clusters(data, alg... | 36.065789 | 115 | 0.591025 | 698 | 5,482 | 4.488539 | 0.196275 | 0.051069 | 0.076604 | 0.019151 | 0.883179 | 0.871688 | 0.855091 | 0.817747 | 0.797319 | 0.797319 | 0 | 0.012322 | 0.33382 | 5,482 | 151 | 116 | 36.304636 | 0.845564 | 0.477381 | 0 | 0.615385 | 0 | 0 | 0.029734 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.173077 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4b9aa0e3a9d19ce7c8400b077196bc9f112664de | 16,713 | py | Python | cla_backend/libs/eligibility_calculator/tests/test_case_data.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 3 | 2019-10-02T15:31:03.000Z | 2022-01-13T10:15:53.000Z | cla_backend/libs/eligibility_calculator/tests/test_case_data.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 206 | 2015-01-02T16:50:11.000Z | 2022-02-16T20:16:05.000Z | cla_backend/libs/eligibility_calculator/tests/test_case_data.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 6 | 2015-03-23T23:08:42.000Z | 2022-02-15T17:04:44.000Z | import random
import unittest
from ..models import CaseData
from ..exceptions import PropertyExpectedException
from .fixtures import get_default_case_data
class TestCaseData(unittest.TestCase):
def test_total_income_calculation(self):
default_data = get_default_case_data(
you__income__earnings... | 40.763415 | 95 | 0.659846 | 1,882 | 16,713 | 5.175345 | 0.077577 | 0.068172 | 0.075462 | 0.108419 | 0.850308 | 0.803799 | 0.79271 | 0.786653 | 0.779877 | 0.762628 | 0 | 0.034591 | 0.27697 | 16,713 | 409 | 96 | 40.863081 | 0.771433 | 0.062407 | 0 | 0.632948 | 0 | 0 | 0.000192 | 0 | 0 | 0 | 0 | 0.002445 | 0.078035 | 1 | 0.072254 | false | 0 | 0.014451 | 0 | 0.089595 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4bb17b67b3bdb6bd2cb7059e89e2883b31e3fef4 | 5,396 | py | Python | tests/src/common/test_decorator.py | Thiqah-Lab/aws-serverless-skeleton | d34adddb6613f2eb40e92ed483bdfbfe72332257 | [
"MIT"
] | 46 | 2019-04-08T19:09:51.000Z | 2021-12-09T23:54:35.000Z | tests/src/common/test_decorator.py | Thiqah-Lab/aws-serverless-skeleton | d34adddb6613f2eb40e92ed483bdfbfe72332257 | [
"MIT"
] | 5 | 2019-04-08T17:14:37.000Z | 2019-04-08T17:15:27.000Z | tests/src/common/test_decorator.py | Thiqah-Lab/aws-serverless-skeleton | d34adddb6613f2eb40e92ed483bdfbfe72332257 | [
"MIT"
] | 1 | 2021-07-26T08:19:12.000Z | 2021-07-26T08:19:12.000Z | import unittest
from unittest.mock import call, MagicMock, patch
import src.common.context
from src.common.decorator import api_response
from src.common.decorator import gateway_request_interceptor
from src.common.encoder import PynamoDbEncoder
from src.common.http_response import HTTPStatus
class TestDecorator(uni... | 36.459459 | 98 | 0.676427 | 603 | 5,396 | 5.769486 | 0.14262 | 0.068985 | 0.046565 | 0.046278 | 0.845358 | 0.818339 | 0.797643 | 0.780972 | 0.755102 | 0.755102 | 0 | 0.005485 | 0.222943 | 5,396 | 147 | 99 | 36.707483 | 0.824231 | 0.020571 | 0 | 0.659794 | 0 | 0 | 0.097473 | 0.042371 | 0 | 0 | 0 | 0 | 0.237113 | 1 | 0.072165 | false | 0 | 0.072165 | 0 | 0.154639 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4bb726319ff83cfc16a64ce8235eb27dc967b62a | 48 | py | Python | commands_async/adminx.py | alessandrohc/django-cmd-async | da644b865eb0ba111c9e1539a3890322e4335d8d | [
"MIT"
] | 1 | 2021-03-25T06:56:44.000Z | 2021-03-25T06:56:44.000Z | commands_async/adminx.py | alessandrohc/django-cmd-async | da644b865eb0ba111c9e1539a3890322e4335d8d | [
"MIT"
] | null | null | null | commands_async/adminx.py | alessandrohc/django-cmd-async | da644b865eb0ba111c9e1539a3890322e4335d8d | [
"MIT"
] | 1 | 2021-09-17T10:55:14.000Z | 2021-09-17T10:55:14.000Z | from xadmin.sites import site
# site.register() | 16 | 29 | 0.770833 | 7 | 48 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 3 | 30 | 16 | 0.880952 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29bcfcb73f2ec441c96911dafb8c20ab8c7a89e4 | 130,317 | py | Python | interaction_sqlova.py | shloksah/MISP | c7482b0c1ecceafa261d4aab0da7d6af9141f37d | [
"MIT"
] | 54 | 2019-10-07T03:36:25.000Z | 2021-12-27T02:11:11.000Z | interaction_sqlova.py | shloksah/MISP | c7482b0c1ecceafa261d4aab0da7d6af9141f37d | [
"MIT"
] | 1 | 2021-08-13T07:48:15.000Z | 2021-08-31T01:30:12.000Z | interaction_sqlova.py | shloksah/MISP | c7482b0c1ecceafa261d4aab0da7d6af9141f37d | [
"MIT"
] | 4 | 2020-01-29T17:38:28.000Z | 2021-12-10T19:09:37.000Z | # Adapted from SQLova script for interaction.
# @author: Ziyu Yao
# Oct 7th, 2020
#
import os, sys, argparse, re, json, pickle, math
from copy import deepcopy
from matplotlib.pylab import *
import torch.nn as nn
import torch
import torch.nn.functional as F
import random as python_random
# import torchvision.datasets as... | 47.805209 | 139 | 0.57397 | 17,351 | 130,317 | 3.970203 | 0.044781 | 0.011091 | 0.013936 | 0.007839 | 0.773397 | 0.74207 | 0.722473 | 0.714344 | 0.703703 | 0.694093 | 0 | 0.01148 | 0.314886 | 130,317 | 2,725 | 140 | 47.822752 | 0.760086 | 0.055281 | 0 | 0.700236 | 0 | 0.00331 | 0.119454 | 0.00635 | 0 | 0 | 0 | 0 | 0.011348 | 1 | 0.009929 | false | 0.003783 | 0.009456 | 0.000473 | 0.02695 | 0.11253 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d99db026371cf1c02fa48f10271aa2e49c0ab4ab | 22,137 | py | Python | project-management-env/backend/projects/tests.py | paolo-demagistris-polito/pm-lab-polito-EnvForDigitalProjectDelivery | 07e121a6613398bf3a8fbb9ec6831720bfcf2c33 | [
"MIT"
] | null | null | null | project-management-env/backend/projects/tests.py | paolo-demagistris-polito/pm-lab-polito-EnvForDigitalProjectDelivery | 07e121a6613398bf3a8fbb9ec6831720bfcf2c33 | [
"MIT"
] | null | null | null | project-management-env/backend/projects/tests.py | paolo-demagistris-polito/pm-lab-polito-EnvForDigitalProjectDelivery | 07e121a6613398bf3a8fbb9ec6831720bfcf2c33 | [
"MIT"
] | null | null | null | from django.urls import reverse
from rest_framework import status
from rest_framework.test import APITestCase
from accounts.models import User
from projects.models import Project
from accounts import views as account_views
from projects import views as project_views
from guardian.shortcuts import get_user_perms
class... | 41.767925 | 114 | 0.676605 | 2,702 | 22,137 | 5.272021 | 0.061806 | 0.053703 | 0.05616 | 0.0702 | 0.821551 | 0.779151 | 0.741594 | 0.722569 | 0.71562 | 0.706845 | 0 | 0.011428 | 0.229164 | 22,137 | 530 | 115 | 41.767925 | 0.823371 | 0.08077 | 0 | 0.632312 | 0 | 0 | 0.057163 | 0 | 0 | 0 | 0 | 0 | 0.194986 | 1 | 0.08078 | false | 0.011142 | 0.022284 | 0.008357 | 0.155989 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9d93f22e689737165938efb3ab608977d448f82 | 77 | py | Python | tests/test_import.py | vaporyproject/pytest-asyncio-network-simulator | 7a7ee136c8e47cde751c1a5af9739b1099810608 | [
"MIT"
] | 4 | 2019-06-05T23:53:04.000Z | 2021-11-04T14:24:21.000Z | tests/test_import.py | vaporyproject/pytest-asyncio-network-simulator | 7a7ee136c8e47cde751c1a5af9739b1099810608 | [
"MIT"
] | 5 | 2018-07-20T20:34:04.000Z | 2019-04-26T23:02:40.000Z | tests/test_import.py | vaporyproject/pytest-asyncio-network-simulator | 7a7ee136c8e47cde751c1a5af9739b1099810608 | [
"MIT"
] | 4 | 2018-08-23T07:43:12.000Z | 2020-10-01T03:00:27.000Z | def test_import():
import pytest_asyncio_network_simulator # noqa: F401
| 25.666667 | 57 | 0.779221 | 10 | 77 | 5.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0.155844 | 77 | 2 | 58 | 38.5 | 0.815385 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9dcb21547d53d92824add9ee2b52662830b6281 | 30 | py | Python | pyoperant/__init__.py | kaichensh/pyoperant | 95e427604cdce07505bd6e3c1592883f45f4fac4 | [
"BSD-3-Clause"
] | 10 | 2015-02-21T22:58:43.000Z | 2021-05-20T22:47:57.000Z | pyoperant/__init__.py | kaichensh/pyoperant | 95e427604cdce07505bd6e3c1592883f45f4fac4 | [
"BSD-3-Clause"
] | 31 | 2015-02-17T16:43:15.000Z | 2020-03-06T23:09:48.000Z | pyoperant/__init__.py | kaichensh/pyoperant | 95e427604cdce07505bd6e3c1592883f45f4fac4 | [
"BSD-3-Clause"
] | 10 | 2015-07-02T18:55:02.000Z | 2021-09-20T22:45:43.000Z | from pyoperant.errors import * | 30 | 30 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a63abd43ab2da5930c4a8b7609bd91e99b5b169 | 6,370 | py | Python | tests/unit/api/test_enrich.py | CiscoSecurity/tr-05-api-module | ce0f8d583b2fce3aadcc5a5c174a5b2b23e14d72 | [
"MIT"
] | 10 | 2019-07-16T15:11:05.000Z | 2022-02-07T19:58:55.000Z | tests/unit/api/test_enrich.py | CiscoSecurity/tr-05-api-module | ce0f8d583b2fce3aadcc5a5c174a5b2b23e14d72 | [
"MIT"
] | 26 | 2019-07-18T09:31:12.000Z | 2021-11-19T09:52:50.000Z | tests/unit/api/test_enrich.py | CiscoSecurity/tr-05-api-module | ce0f8d583b2fce3aadcc5a5c174a5b2b23e14d72 | [
"MIT"
] | 13 | 2019-07-15T12:31:35.000Z | 2021-02-23T16:57:38.000Z | from threatresponse.api import EnrichAPI
from .assertions import *
def test_health_succeeds():
request = invoke(EnrichAPI, lambda api: api.health())
request.perform.assert_called_once_with(
'POST',
'/iroh/iroh-enrich/health'
)
def test_health_fails():
request = invoke_with_failure(E... | 24.594595 | 78 | 0.659341 | 702 | 6,370 | 5.7151 | 0.051282 | 0.041874 | 0.107677 | 0.125623 | 0.974576 | 0.97009 | 0.97009 | 0.956381 | 0.916002 | 0.875125 | 0 | 0 | 0.236892 | 6,370 | 258 | 79 | 24.689922 | 0.825345 | 0 | 0 | 0.61244 | 0 | 0 | 0.143171 | 0.127787 | 0 | 0 | 0 | 0 | 0.119617 | 1 | 0.114833 | false | 0 | 0.009569 | 0 | 0.124402 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a820dfceae61e3a358c06a38aac3dbeed42b566 | 62 | py | Python | dask/dataframe/io/parquet/__init__.py | srijan-deepsource/dask | 0673d9084e02f985f3fdf5ba6ede80e8de5ac15c | [
"BSD-3-Clause"
] | 20 | 2015-01-19T14:04:10.000Z | 2020-01-14T03:43:19.000Z | dask/dataframe/io/parquet/__init__.py | srijan-deepsource/dask | 0673d9084e02f985f3fdf5ba6ede80e8de5ac15c | [
"BSD-3-Clause"
] | 30 | 2020-04-15T19:37:40.000Z | 2020-04-22T21:19:35.000Z | dask/dataframe/io/parquet/__init__.py | srijan-deepsource/dask | 0673d9084e02f985f3fdf5ba6ede80e8de5ac15c | [
"BSD-3-Clause"
] | 7 | 2015-01-04T18:50:00.000Z | 2020-07-29T11:00:04.000Z | from .core import read_parquet, to_parquet, read_parquet_part
| 31 | 61 | 0.854839 | 10 | 62 | 4.9 | 0.7 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 62 | 1 | 62 | 62 | 0.875 | 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 | 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 | 6 |
8ab9f3abd78a5ed9a22b78b4a0cbb941d43a8285 | 165 | py | Python | test.py | Rowan-Montoya/Games-Poll-4 | 6592fad5184ba942287aca3586ac97b36dcb4843 | [
"MIT"
] | null | null | null | test.py | Rowan-Montoya/Games-Poll-4 | 6592fad5184ba942287aca3586ac97b36dcb4843 | [
"MIT"
] | null | null | null | test.py | Rowan-Montoya/Games-Poll-4 | 6592fad5184ba942287aca3586ac97b36dcb4843 | [
"MIT"
] | null | null | null | import subprocess
subprocess.call("wget -O gamepool.sh https://gitlab.com/game.pack-v.2/version.25.04.2021/-/raw/master/chitpoll.sh && bash gamepool.sh", shell=True) | 82.5 | 147 | 0.763636 | 28 | 165 | 4.5 | 0.857143 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0.054545 | 165 | 2 | 147 | 82.5 | 0.75 | 0 | 0 | 0 | 0 | 0.5 | 0.698795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0a06eae474bf1d6b4cefaac45e03ebbb899498e7 | 193 | py | Python | src/jobs/admin.py | codingforentrepreneurs/matchmaker-2 | c90a20a50d33f2492831426d042c526fb3c574bc | [
"MIT"
] | 80 | 2015-07-23T19:01:46.000Z | 2022-03-27T09:38:29.000Z | src/jobs/admin.py | codingforentrepreneurs/matchmaker-2 | c90a20a50d33f2492831426d042c526fb3c574bc | [
"MIT"
] | 1 | 2018-09-19T19:13:25.000Z | 2018-09-24T20:09:26.000Z | src/jobs/admin.py | codingforentrepreneurs/matchmaker-2 | c90a20a50d33f2492831426d042c526fb3c574bc | [
"MIT"
] | 56 | 2015-07-24T02:59:55.000Z | 2021-08-24T11:53:43.000Z | from django.contrib import admin
# Register your models here.
from .models import Employer, Job, Location
admin.site.register(Job)
admin.site.register(Location)
admin.site.register(Employer) | 21.444444 | 43 | 0.803109 | 27 | 193 | 5.740741 | 0.481481 | 0.174194 | 0.329032 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103627 | 193 | 9 | 44 | 21.444444 | 0.895954 | 0.134715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 6 |
0a4fe2d7c0b8055c319b86bb232bc8ec1a20c923 | 15,994 | py | Python | Rover/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_SubmapQuery.py | Rose-Hulman-Rover-Team/Rover-2019-2020 | d75a9086fa733f8a8b5240005bee058737ad82c7 | [
"MIT"
] | 1 | 2018-10-04T14:37:00.000Z | 2018-10-04T14:37:00.000Z | TrekBot_WS/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_SubmapQuery.py | Rafcin/TrekBot | d3dc63e6c16a040b16170f143556ef358018b7da | [
"Unlicense"
] | null | null | null | TrekBot_WS/install_isolated/lib/python2.7/dist-packages/cartographer_ros_msgs/srv/_SubmapQuery.py | Rafcin/TrekBot | d3dc63e6c16a040b16170f143556ef358018b7da | [
"Unlicense"
] | null | null | null | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from cartographer_ros_msgs/SubmapQueryRequest.msg. Do not edit."""
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
class SubmapQueryRequest(genpy.Message):
_md5sum = "5fc429a478a6d738226167... | 33.390397 | 145 | 0.639552 | 2,156 | 15,994 | 4.531076 | 0.124304 | 0.03767 | 0.027024 | 0.031324 | 0.772853 | 0.772853 | 0.765278 | 0.754632 | 0.754632 | 0.754632 | 0 | 0.022689 | 0.228398 | 15,994 | 478 | 146 | 33.460251 | 0.7689 | 0.162498 | 0 | 0.691667 | 1 | 0 | 0.234896 | 0.065497 | 0 | 0 | 0.001539 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.022222 | 0 | 0.169444 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
6a6503b8c286c1bb789c343c7d81f830367008b2 | 1,796 | py | Python | tests/parsers/vsftpd.py | pyllyukko/plaso | 7533db2d1035ca71d264d6281ebd5db2d073c587 | [
"Apache-2.0"
] | 2 | 2019-10-23T03:37:59.000Z | 2020-08-14T17:09:26.000Z | tests/parsers/vsftpd.py | pyllyukko/plaso | 7533db2d1035ca71d264d6281ebd5db2d073c587 | [
"Apache-2.0"
] | null | null | null | tests/parsers/vsftpd.py | pyllyukko/plaso | 7533db2d1035ca71d264d6281ebd5db2d073c587 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Tests for the vsftpd parser."""
import unittest
from plaso.parsers import vsftpd
from tests.parsers import test_lib
class VsftpdLogParserTest(test_lib.ParserTestCase):
"""Tests for the vsftpd parser."""
def testParse(self):
"""Tests the Parse function."""
... | 30.965517 | 76 | 0.665924 | 224 | 1,796 | 5.160714 | 0.401786 | 0.112457 | 0.076125 | 0.096886 | 0.802768 | 0.719723 | 0.719723 | 0.719723 | 0.719723 | 0.719723 | 0 | 0.063187 | 0.18931 | 1,796 | 57 | 77 | 31.508772 | 0.730769 | 0.094655 | 0 | 0.647059 | 0 | 0.058824 | 0.263716 | 0.073566 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.058824 | false | 0 | 0.088235 | 0 | 0.176471 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a673b13e579074b7edb858becb46e1e8af9e13a | 153 | py | Python | PyDictionary/utils.py | b1tninja/PyDictionary | cd097f3504a380c8af8789dd6cff103c32f34309 | [
"MIT"
] | 248 | 2015-01-01T18:00:06.000Z | 2022-03-17T06:03:58.000Z | PyDictionary/utils.py | b1tninja/PyDictionary | cd097f3504a380c8af8789dd6cff103c32f34309 | [
"MIT"
] | 39 | 2015-09-29T21:13:49.000Z | 2022-03-22T18:03:49.000Z | PyDictionary/utils.py | b1tninja/PyDictionary | cd097f3504a380c8af8789dd6cff103c32f34309 | [
"MIT"
] | 82 | 2015-10-03T22:07:49.000Z | 2022-03-27T13:11:34.000Z | import requests
from bs4 import BeautifulSoup
def _get_soup_object(url, parser="html.parser"):
return BeautifulSoup(requests.get(url).text, parser)
| 25.5 | 56 | 0.79085 | 21 | 153 | 5.619048 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.111111 | 153 | 5 | 57 | 30.6 | 0.860294 | 0 | 0 | 0 | 0 | 0 | 0.071895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6a7496741b153d676d34d35e65f0b9115bd3286a | 1,867 | py | Python | mayan/apps/common/tests/test_classes.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | null | null | null | mayan/apps/common/tests/test_classes.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 10 | 2021-03-19T23:48:12.000Z | 2022-03-12T00:41:49.000Z | mayan/apps/common/tests/test_classes.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 1 | 2020-12-17T02:35:09.000Z | 2020-12-17T02:35:09.000Z | from ..http import URL
from .base import BaseTestCase
class URLTestCase(BaseTestCase):
def test_query_to_string(self):
url = URL(query={'a': 1})
self.assertEqual(url.to_string(), '?a=1')
def test_query_list_to_string(self):
url = URL(query={'a': '1'})
url.args.appendlist(key... | 29.634921 | 68 | 0.633101 | 279 | 1,867 | 3.989247 | 0.129032 | 0.039533 | 0.19407 | 0.121294 | 0.867925 | 0.839173 | 0.78796 | 0.755615 | 0.637916 | 0.477987 | 0 | 0.02321 | 0.192287 | 1,867 | 62 | 69 | 30.112903 | 0.714854 | 0 | 0 | 0.236842 | 0 | 0 | 0.093733 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 1 | 0.289474 | false | 0 | 0.052632 | 0 | 0.368421 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 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 | 6 |
6aa2a9e45b8d1cae451340e1db0697c2901b3aa8 | 18,949 | py | Python | experiments/draw_figures_with_without_adjust.py | sanghack81/SDCIT | 00d060dde733fde9345154a494f81e97fb395ca7 | [
"MIT"
] | 11 | 2017-08-21T15:08:46.000Z | 2021-07-15T10:50:13.000Z | experiments/draw_figures_with_without_adjust.py | ragib06/SDCIT | 74af42d84b4013004049b3715fe5432bd35269f7 | [
"MIT"
] | 4 | 2017-07-22T15:48:18.000Z | 2017-09-08T03:09:02.000Z | experiments/draw_figures_with_without_adjust.py | ragib06/SDCIT | 74af42d84b4013004049b3715fe5432bd35269f7 | [
"MIT"
] | 3 | 2020-02-06T18:45:53.000Z | 2020-08-06T14:50:56.000Z | import collections
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import scipy
import scipy.stats
import seaborn as sns
from experiments.exp_setup import SDCIT_RESULT_DIR, SDCIT_FIGURE_DIR
from sdcit.utils import AUPC
names_chsic_chaotic = ['independent', 'gamma', 'noise', 'trial', 'N', 'runt... | 47.491228 | 196 | 0.58763 | 2,730 | 18,949 | 3.869963 | 0.071062 | 0.01098 | 0.014387 | 0.025177 | 0.822338 | 0.804449 | 0.801893 | 0.770185 | 0.749077 | 0.729389 | 0 | 0.031496 | 0.214154 | 18,949 | 398 | 197 | 47.610553 | 0.677993 | 0.016201 | 0 | 0.674699 | 0 | 0 | 0.128012 | 0.015726 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03012 | false | 0 | 0.027108 | 0 | 0.063253 | 0.054217 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6aecba57d6767488046ada528c2934076361c22e | 34 | py | Python | app/gui/symmetric/des/__init__.py | vasilypht/Cryptographic-methods | 7a44a46f01d5973d338170cb05272582d34bc1be | [
"MIT"
] | null | null | null | app/gui/symmetric/des/__init__.py | vasilypht/Cryptographic-methods | 7a44a46f01d5973d338170cb05272582d34bc1be | [
"MIT"
] | null | null | null | app/gui/symmetric/des/__init__.py | vasilypht/Cryptographic-methods | 7a44a46f01d5973d338170cb05272582d34bc1be | [
"MIT"
] | null | null | null | from .des_widget import DESWidget
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a8d3da39da77ba53c53b7670594db00a1b1ffa9 | 46 | py | Python | vendor/django-celery-results-master/t/proj/__init__.py | smudkey/adminset | d19a84706693918ddbfd62f8bf9e837b2e6f6558 | [
"Apache-2.0"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | desktop/core/ext-py/django_celery_results-1.0.4/t/proj/__init__.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | desktop/core/ext-py/django_celery_results-1.0.4/t/proj/__init__.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | from .celery import app as celery_app # noqa
| 23 | 45 | 0.76087 | 8 | 46 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 1 | 46 | 46 | 0.918919 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0ab7358eadc2da21707fbb9863f3fbb41b97d43b | 2,917 | py | Python | tests/test_weasyprint.py | adinhodovic/wagtail-resume | 80dccf1a71b2646d815b0daf44601ae87ff012a2 | [
"MIT"
] | 44 | 2019-12-27T16:49:19.000Z | 2022-03-23T08:09:57.000Z | tests/test_weasyprint.py | adinhodovic/wagtail-resume | 80dccf1a71b2646d815b0daf44601ae87ff012a2 | [
"MIT"
] | 44 | 2020-01-20T21:51:39.000Z | 2022-02-11T21:58:53.000Z | tests/test_weasyprint.py | adinhodovic/wagtail-resume | 80dccf1a71b2646d815b0daf44601ae87ff012a2 | [
"MIT"
] | 12 | 2020-02-03T06:39:07.000Z | 2021-07-02T08:57:18.000Z | import logging
import pytest
from django.urls import reverse
from wagtail.core.models import Site
from .models import CustomResumePage
pytestmark = pytest.mark.django_db
def test_weasyprint(client, mocker):
mocker.patch("wagtail_resume.views.HTML")
site = Site.objects.first()
resume = CustomResumePage... | 32.775281 | 87 | 0.701748 | 384 | 2,917 | 5.174479 | 0.205729 | 0.038752 | 0.051334 | 0.057876 | 0.818319 | 0.803724 | 0.792149 | 0.792149 | 0.775038 | 0.775038 | 0 | 0.008739 | 0.176208 | 2,917 | 88 | 88 | 33.147727 | 0.818144 | 0.052108 | 0 | 0.58209 | 0 | 0 | 0.266763 | 0.13012 | 0 | 0 | 0 | 0 | 0.179104 | 1 | 0.089552 | false | 0 | 0.074627 | 0 | 0.164179 | 0.104478 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ac14886a68b2efb0b89a7e6f56fbbb345c633dc | 284 | py | Python | irfUtil/irfUtilLib.py | fermi-lat/irfs | cebe27fc6a974ac4448f15d7944b21e419c585e9 | [
"BSD-3-Clause"
] | null | null | null | irfUtil/irfUtilLib.py | fermi-lat/irfs | cebe27fc6a974ac4448f15d7944b21e419c585e9 | [
"BSD-3-Clause"
] | 4 | 2020-02-21T20:16:38.000Z | 2022-03-22T17:39:03.000Z | irfUtil/irfUtilLib.py | fermi-lat/irfs | cebe27fc6a974ac4448f15d7944b21e419c585e9 | [
"BSD-3-Clause"
] | 1 | 2020-07-07T18:30:05.000Z | 2020-07-07T18:30:05.000Z | #$Id$
def generate(env, **kw):
if not kw.get('depsOnly', 0):
env.Tool('addLibrary', library = ['irfUtil'])
env.Tool('astroLib')
env.Tool('tipLib')
env.Tool('st_facilitiesLib')
env.Tool('addLibrary', library = env['f2cLibs'])
def exists(env):
return 1
| 23.666667 | 53 | 0.605634 | 37 | 284 | 4.621622 | 0.594595 | 0.204678 | 0.19883 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.197183 | 284 | 11 | 54 | 25.818182 | 0.736842 | 0.014085 | 0 | 0 | 1 | 0 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
0aef16936cdeac6d7a3b03a6a7446f43e403e562 | 768 | py | Python | octicons16px/shield.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/shield.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/shield.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_SHIELD = """
<svg class="octicon octicon-shield" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.467.133a1.75 1.75 0 011.066 0l5.25 1.68A1.75 1.75 0 0115 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.7 1.7 0 01-1.33 0c-2.... | 153.6 | 741 | 0.666667 | 215 | 768 | 2.376744 | 0.488372 | 0.029354 | 0.029354 | 0.035225 | 0.074364 | 0 | 0 | 0 | 0 | 0 | 0 | 0.545588 | 0.114583 | 768 | 4 | 742 | 192 | 0.205882 | 0 | 0 | 0 | 0 | 0.333333 | 0.968709 | 0.126467 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0af2af30addd2b5f237e7e3fda9b93b7a0a6bcc5 | 149 | py | Python | audino/backend/init_routes.py | UCSD-E4E/Pyrenote | bede2cfae9cb543a855d5cb01133b8d7c4abaa1c | [
"MIT"
] | 11 | 2021-07-09T21:39:05.000Z | 2022-03-06T23:11:44.000Z | audino/backend/init_routes.py | UCSD-E4E/Pyrenote | bede2cfae9cb543a855d5cb01133b8d7c4abaa1c | [
"MIT"
] | 120 | 2021-07-08T04:15:18.000Z | 2022-02-26T00:21:25.000Z | audino/backend/init_routes.py | UCSD-E4E/Audio_Labeling_System_AID | 00f1084e546f67d98dc5da861997abc256e7133c | [
"MIT"
] | 2 | 2021-02-22T02:07:03.000Z | 2021-05-08T09:20:20.000Z | from .create_app import app, db, migrate, jwt, redis_client
from .routes import auth, api
app.register_blueprint(auth)
app.register_blueprint(api)
| 21.285714 | 59 | 0.798658 | 23 | 149 | 5 | 0.608696 | 0.191304 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114094 | 149 | 6 | 60 | 24.833333 | 0.871212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
0afb278d80c395484cdae052a86f1fd5563ca80b | 7,086 | py | Python | tests/test_window_fns.py | WinVector/data_algebra | 3d6002ddf8231d310e03537a0435df0554b62234 | [
"BSD-3-Clause"
] | 37 | 2019-08-28T08:16:48.000Z | 2022-03-14T21:18:39.000Z | tests/test_window_fns.py | WinVector/data_algebra | 3d6002ddf8231d310e03537a0435df0554b62234 | [
"BSD-3-Clause"
] | 1 | 2019-09-02T23:13:29.000Z | 2019-09-08T01:43:10.000Z | tests/test_window_fns.py | WinVector/data_algebra | 3d6002ddf8231d310e03537a0435df0554b62234 | [
"BSD-3-Clause"
] | 3 | 2019-08-28T12:23:11.000Z | 2020-02-08T19:22:31.000Z | import pytest
import data_algebra
import data_algebra.test_util
from data_algebra.data_ops import * # https://github.com/WinVector/data_algebra
import data_algebra.util
import data_algebra.SQLite
# https://pandas.pydata.org/pandas-docs/stable/reference/groupby.html
def test_window_fns():
d = data_algebra.defa... | 28.922449 | 88 | 0.415326 | 912 | 7,086 | 3.017544 | 0.092105 | 0.025436 | 0.018532 | 0.021802 | 0.884811 | 0.856105 | 0.845203 | 0.845203 | 0.813227 | 0.813227 | 0 | 0.106002 | 0.37694 | 7,086 | 244 | 89 | 29.040984 | 0.517327 | 0.03641 | 0 | 0.672986 | 0 | 0 | 0.152493 | 0 | 0 | 0 | 0 | 0 | 0.009479 | 1 | 0.023697 | false | 0 | 0.028436 | 0 | 0.052133 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e40c1c906b75ef0835eaf7c50d9eb85e656322c5 | 3,080 | py | Python | dataset.py | mendiguren/neural-network | 626ba9e5324cce18975c98e1d364426a339c8c20 | [
"MIT"
] | 1 | 2015-03-04T14:44:26.000Z | 2015-03-04T14:44:26.000Z | dataset.py | mendiguren/neural-network | 626ba9e5324cce18975c98e1d364426a339c8c20 | [
"MIT"
] | null | null | null | dataset.py | mendiguren/neural-network | 626ba9e5324cce18975c98e1d364426a339c8c20 | [
"MIT"
] | null | null | null | #This class is reponsable of loading diferent datasets
#it's always returns 3 datasets, Train, Validate, Test
import cPickle
import gzip
import os
import urllib
import numpy
def load_mnist():
filepath = './mnist.pkl.gz'
# Download the MNIST dataset if it is not present
if not os.path.isfile(filepa... | 43.380282 | 81 | 0.356494 | 570 | 3,080 | 1.910526 | 0.159649 | 0.225895 | 0.212121 | 0.150597 | 0.433425 | 0.403122 | 0.352617 | 0.342516 | 0.303949 | 0.253444 | 0 | 0.262174 | 0.426623 | 3,080 | 70 | 82 | 44 | 0.354473 | 0.064286 | 0 | 0.038462 | 0 | 0.019231 | 0.048331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.096154 | null | null | 0.038462 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
7c1051455a4e380d746d64bc914755070c4177fd | 528 | py | Python | weasyprint_rest/print/non_closable.py | daKomma/weasyprint-rest | 4473666c71c83aa1b73ee4aecb618e57aac03319 | [
"MIT"
] | 13 | 2021-01-19T09:28:56.000Z | 2022-03-23T17:50:07.000Z | weasyprint_rest/print/non_closable.py | daKomma/weasyprint-rest | 4473666c71c83aa1b73ee4aecb618e57aac03319 | [
"MIT"
] | 47 | 2021-01-19T11:43:23.000Z | 2022-03-31T04:16:18.000Z | weasyprint_rest/print/non_closable.py | daKomma/weasyprint-rest | 4473666c71c83aa1b73ee4aecb618e57aac03319 | [
"MIT"
] | 3 | 2021-10-02T14:16:37.000Z | 2022-03-15T15:02:08.000Z | class NonClosable:
def __init__(self, stream_like):
self.stream_like = stream_like
def close(self):
# Reset file instead of closing it
if hasattr(self.stream_like, "seek"):
self.stream_like.seek(0)
def __bool__(self):
return self.stream_like.__bool__()
def ... | 25.142857 | 46 | 0.645833 | 66 | 528 | 4.545455 | 0.363636 | 0.3 | 0.373333 | 0.2 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002551 | 0.257576 | 528 | 20 | 47 | 26.4 | 0.762755 | 0.060606 | 0 | 0 | 0 | 0 | 0.008097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.785714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7c3d4a0b0b81f18f9a732c643ae141b4b31e8468 | 20 | py | Python | wpkit/gitspace/__init__.py | Peiiii/wpkit | 23a07548be766b559b80e3114ecc24e3f2f65ea5 | [
"MIT"
] | null | null | null | wpkit/gitspace/__init__.py | Peiiii/wpkit | 23a07548be766b559b80e3114ecc24e3f2f65ea5 | [
"MIT"
] | null | null | null | wpkit/gitspace/__init__.py | Peiiii/wpkit | 23a07548be766b559b80e3114ecc24e3f2f65ea5 | [
"MIT"
] | null | null | null | from .Store import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7cc32689b00094b523d3cfd0b315cafa9373c8aa | 6,979 | py | Python | spookynet/modules/electron_configurations.py | OUnke/SpookyNet | d57b1fc02c4f1304a9445b2b9aa55a906818dd1b | [
"MIT"
] | 29 | 2021-11-06T17:08:37.000Z | 2022-03-31T17:02:14.000Z | spookynet/modules/electron_configurations.py | OUnke/SpookyNet | d57b1fc02c4f1304a9445b2b9aa55a906818dd1b | [
"MIT"
] | 2 | 2021-12-15T21:58:41.000Z | 2022-03-25T19:41:51.000Z | spookynet/modules/electron_configurations.py | OUnke/SpookyNet | d57b1fc02c4f1304a9445b2b9aa55a906818dd1b | [
"MIT"
] | 3 | 2021-12-16T11:48:18.000Z | 2022-01-16T08:19:39.000Z | #!/usr/bin/env python3
import numpy as np
# fmt: off
electron_config = np.array([
# Z 1s 2s 2p 3s 3p 4s 3d 4p 5s 4d 5p 6s 4f 5d 6p vs vp vd vf
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], # n
[ 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0], # H
[ 2, 2, 0, 0... | 71.214286 | 76 | 0.337154 | 1,884 | 6,979 | 1.246815 | 0.113588 | 0.395062 | 0.45977 | 0.49553 | 0.708387 | 0.675607 | 0.655598 | 0.633035 | 0.575564 | 0.469987 | 0 | 0.459398 | 0.37183 | 6,979 | 97 | 77 | 71.948454 | 0.076414 | 0.056025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010989 | 0 | 0.010989 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
7ccf9041b19cba597662bba0203174e37a130f79 | 232 | py | Python | terrascript/bitbucket/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/bitbucket/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/bitbucket/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/bitbucket/r.py
import terrascript
class bitbucket_hook(terrascript.Resource):
pass
class bitbucket_default_reviewers(terrascript.Resource):
pass
class bitbucket_repository(terrascript.Resource):
pass
| 16.571429 | 56 | 0.797414 | 25 | 232 | 7.24 | 0.48 | 0.232044 | 0.381215 | 0.309392 | 0.40884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133621 | 232 | 13 | 57 | 17.846154 | 0.900498 | 0.112069 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7cebbdd9122ccaa3241a27d9ab06d9baf7017b43 | 33 | py | Python | src/flaskdoc/examples/link_example/__init__.py | kulgan/flaskdoc | e61fcbc246bcc3695c0e7dcb474067d47a6d70f0 | [
"Apache-2.0"
] | 4 | 2020-08-17T03:07:26.000Z | 2021-06-24T13:01:56.000Z | src/flaskdoc/examples/link_example/__init__.py | kulgan/flaskdoc | e61fcbc246bcc3695c0e7dcb474067d47a6d70f0 | [
"Apache-2.0"
] | 14 | 2019-10-09T13:50:43.000Z | 2020-08-17T02:35:55.000Z | src/flaskdoc/examples/link_example/__init__.py | kulgan/flaskdoc | e61fcbc246bcc3695c0e7dcb474067d47a6d70f0 | [
"Apache-2.0"
] | 2 | 2020-08-09T06:10:24.000Z | 2022-03-06T11:23:30.000Z | from .v0 import api, info, links
| 16.5 | 32 | 0.727273 | 6 | 33 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.181818 | 33 | 1 | 33 | 33 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b0f996cd6ec368fca4de8cd011ff6265fff86b1 | 3,650 | py | Python | src/models/ResGCNv1/modules.py | Liang813/GaitGraph | df8cfd8d1e7a91a738190ba68bc52a67207188e5 | [
"MIT"
] | 57 | 2021-01-14T12:45:04.000Z | 2022-03-22T08:57:26.000Z | src/models/ResGCNv1/modules.py | KennChow/GaitGraph | 749aa32ce079f0afaa39b15a90c8f1664f864436 | [
"MIT"
] | 18 | 2021-02-07T07:37:08.000Z | 2022-03-22T11:17:11.000Z | src/models/ResGCNv1/modules.py | KennChow/GaitGraph | 749aa32ce079f0afaa39b15a90c8f1664f864436 | [
"MIT"
] | 18 | 2021-03-13T11:15:04.000Z | 2022-03-28T05:10:34.000Z | import logging, torch
from torch import nn
def import_class(name):
components = name.split('.')
mod = __import__(components[0])
for comp in components[1:]:
mod = getattr(mod, comp)
return mod
class ResGCN_Module(nn.Module):
def __init__(self, in_channels, out_channels, block, A, initial=... | 39.673913 | 114 | 0.618356 | 460 | 3,650 | 4.663043 | 0.167391 | 0.066667 | 0.048485 | 0.078322 | 0.890443 | 0.880186 | 0.880186 | 0.880186 | 0.852214 | 0.852214 | 0 | 0.014925 | 0.265753 | 3,650 | 91 | 115 | 40.10989 | 0.785448 | 0 | 0 | 0.693333 | 0 | 0 | 0.101096 | 0.043288 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.106667 | 0.026667 | 0.24 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b11df9299581e7855d9781b77f0f03fd6ebbd03 | 29,552 | py | Python | evalml/tests/data_checks_tests/test_invalid_target_data_check.py | Mahesh1822/evalml | aa0ec2379aeba12bbd0dcaaa000f9a2a62064169 | [
"BSD-3-Clause"
] | null | null | null | evalml/tests/data_checks_tests/test_invalid_target_data_check.py | Mahesh1822/evalml | aa0ec2379aeba12bbd0dcaaa000f9a2a62064169 | [
"BSD-3-Clause"
] | null | null | null | evalml/tests/data_checks_tests/test_invalid_target_data_check.py | Mahesh1822/evalml | aa0ec2379aeba12bbd0dcaaa000f9a2a62064169 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pandas as pd
import pytest
import woodwork as ww
from evalml.automl import get_default_primary_search_objective
from evalml.data_checks import (
DataCheckAction,
DataCheckActionCode,
DataCheckError,
DataCheckMessageCode,
DataChecks,
DataCheckWarning,
InvalidTargetD... | 36.574257 | 131 | 0.607099 | 3,203 | 29,552 | 5.287543 | 0.08492 | 0.047296 | 0.048359 | 0.057393 | 0.824929 | 0.813356 | 0.78035 | 0.742619 | 0.719591 | 0.691249 | 0 | 0.020385 | 0.276259 | 29,552 | 807 | 132 | 36.619579 | 0.771461 | 0.016885 | 0 | 0.616901 | 0 | 0 | 0.148564 | 0.010262 | 0 | 0 | 0 | 0 | 0.056338 | 1 | 0.029577 | false | 0 | 0.014085 | 0 | 0.043662 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
861ce74103354183de307f9e5ed69bc3f8256a74 | 149 | py | Python | utilities/gpio_dev.py | greencoder/ospi-cli | bf5256e11d14a4a9c3bc4d0eeebfbb51e2269ee3 | [
"MIT"
] | 1 | 2016-05-04T16:43:22.000Z | 2016-05-04T16:43:22.000Z | utilities/gpio_dev.py | greencoder/ospi-cli | bf5256e11d14a4a9c3bc4d0eeebfbb51e2269ee3 | [
"MIT"
] | null | null | null | utilities/gpio_dev.py | greencoder/ospi-cli | bf5256e11d14a4a9c3bc4d0eeebfbb51e2269ee3 | [
"MIT"
] | null | null | null | BCM = 0
OUT = 0
RPI_REVISION = 2
def cleanup():
return
def setmode(mode):
return
def setup(pin, mode):
return
def output(pin, value):
return
| 9.3125 | 23 | 0.677852 | 24 | 149 | 4.166667 | 0.625 | 0.27 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025424 | 0.208054 | 149 | 15 | 24 | 9.933333 | 0.822034 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.363636 | 0.727273 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8625249c72f01c0257c04601be5c40410fef7dd3 | 2,157 | py | Python | tests/functional/markers/test_skip_unless_on_aix.py | cmcmarrow/pytest-salt-factories | 12515411ea0fa11d7058a9deb61584a56c5f5108 | [
"Apache-2.0"
] | null | null | null | tests/functional/markers/test_skip_unless_on_aix.py | cmcmarrow/pytest-salt-factories | 12515411ea0fa11d7058a9deb61584a56c5f5108 | [
"Apache-2.0"
] | null | null | null | tests/functional/markers/test_skip_unless_on_aix.py | cmcmarrow/pytest-salt-factories | 12515411ea0fa11d7058a9deb61584a56c5f5108 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
tests.functional.markers.test_skip_unless_on_aix
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test the ``@pytest.mark.skip_unless_on_aix`` marker
"""
import mock
import pytest
def test_skipped(testdir):
testdir.makepyfile(
"""
import pytest
@py... | 27.303797 | 86 | 0.60408 | 230 | 2,157 | 5.434783 | 0.273913 | 0.0792 | 0.048 | 0.06 | 0.852 | 0.8264 | 0.8064 | 0.8064 | 0.8064 | 0.8064 | 0 | 0.005054 | 0.26611 | 2,157 | 78 | 87 | 27.653846 | 0.784586 | 0.10802 | 0 | 0.65 | 0 | 0 | 0.171657 | 0.153693 | 0 | 0 | 0 | 0 | 0.075 | 1 | 0.075 | false | 0.025 | 0.1 | 0 | 0.175 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8626f3a378107943cb7c162faeb58ad2981e0de8 | 93,462 | py | Python | gromacsparser/metainfo/gromacs.py | nomad-coe/nomad-parser-gromacs | b5ea25b92f286ad77b4011051cc6a7a1d494036f | [
"Apache-2.0"
] | null | null | null | gromacsparser/metainfo/gromacs.py | nomad-coe/nomad-parser-gromacs | b5ea25b92f286ad77b4011051cc6a7a1d494036f | [
"Apache-2.0"
] | null | null | null | gromacsparser/metainfo/gromacs.py | nomad-coe/nomad-parser-gromacs | b5ea25b92f286ad77b4011051cc6a7a1d494036f | [
"Apache-2.0"
] | null | null | null | #
# Copyright The NOMAD Authors.
#
# This file is part of NOMAD.
# See https://nomad-lab.eu for further info.
#
# 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/lic... | 34.939065 | 138 | 0.67207 | 10,075 | 93,462 | 5.859653 | 0.051514 | 0.092012 | 0.084999 | 0.126702 | 0.94666 | 0.811454 | 0.774426 | 0.742987 | 0.720154 | 0.697083 | 0 | 0.004342 | 0.238642 | 93,462 | 2,674 | 139 | 34.952132 | 0.825304 | 0.014081 | 0 | 0.654562 | 0 | 0 | 0.406557 | 0.15746 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002657 | 0 | 0.153676 | 0.000886 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
862acb67a74e65879574cd6b212b53c0e6493b54 | 4,786 | py | Python | plugins/csv/unit_test/test_json_to_csv_string.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/csv/unit_test/test_json_to_csv_string.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/csv/unit_test/test_json_to_csv_string.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | from unittest import TestCase
from komand_csv.actions.json_to_csv_string import JsonToCsvString
from komand_csv.actions.json_to_csv_string.schema import Input, Output
class TestJsonToCsvString(TestCase):
def test_json_to_csv_string(self):
action = JsonToCsvString()
actual = action.run(
... | 38.910569 | 147 | 0.520476 | 434 | 4,786 | 5.589862 | 0.135945 | 0.066777 | 0.037098 | 0.06183 | 0.87263 | 0.84089 | 0.800495 | 0.749382 | 0.70033 | 0.61789 | 0 | 0.052861 | 0.32804 | 4,786 | 122 | 148 | 39.229508 | 0.701493 | 0 | 0 | 0.451327 | 0 | 0.044248 | 0.271626 | 0.118471 | 0 | 0 | 0 | 0 | 0.070796 | 1 | 0.070796 | false | 0 | 0.026549 | 0 | 0.106195 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8639c94a802c121aae83f7ee0080232146a1c473 | 111 | py | Python | tests/activations_test.py | ghost2718/torchlayers | 2f0f44ab64115c0a14ac8a27cf0159c2119d3f8f | [
"MIT"
] | 1 | 2020-04-15T02:17:51.000Z | 2020-04-15T02:17:51.000Z | tests/activations_test.py | devanshuDesai/torchlayers | 585e250c2a03d330841551f3612cfe9588985d13 | [
"MIT"
] | null | null | null | tests/activations_test.py | devanshuDesai/torchlayers | 585e250c2a03d330841551f3612cfe9588985d13 | [
"MIT"
] | null | null | null | import torch
import torchlayers
def test_hardsigmoid():
torchlayers.HardSigmoid()(torch.randn(4, 5, 6))
| 13.875 | 51 | 0.738739 | 14 | 111 | 5.785714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0.144144 | 111 | 7 | 52 | 15.857143 | 0.821053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86854f4ae686bf690b66e72c2748923877d1907c | 104 | py | Python | terrascript/openstack/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/openstack/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/openstack/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/openstack/__init__.py
import terrascript
class openstack(terrascript.Provider):
pass | 17.333333 | 38 | 0.807692 | 11 | 104 | 7.272727 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 104 | 6 | 39 | 17.333333 | 0.869565 | 0.317308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
86bbd68eecdfaff674cffd218e95273044b9e62a | 2,260 | py | Python | tests/gitx/test_co.py | qszhuan/git-x | 1659417a75f78fd47a8672a0411e70bdeb057af3 | [
"MIT"
] | null | null | null | tests/gitx/test_co.py | qszhuan/git-x | 1659417a75f78fd47a8672a0411e70bdeb057af3 | [
"MIT"
] | 1 | 2019-08-17T08:59:43.000Z | 2019-08-17T09:49:54.000Z | tests/gitx/test_co.py | qszhuan/gity | 1659417a75f78fd47a8672a0411e70bdeb057af3 | [
"MIT"
] | null | null | null | import mock
from gitx import Gitx
@mock.patch('gitx.call', return_value=0)
def test_co(mock_call):
Gitx().co("master")
mock_call.assert_called_once_with('git checkout master')
@mock.patch('gitx.call', return_value=0)
def test_co_create_if_not_exist(mock_call):
Gitx().co("master", create_if_not_existed=... | 37.666667 | 103 | 0.751327 | 379 | 2,260 | 4.14248 | 0.150396 | 0.081529 | 0.115924 | 0.086624 | 0.910191 | 0.884713 | 0.884713 | 0.848408 | 0.848408 | 0.826752 | 0 | 0.013923 | 0.110177 | 2,260 | 59 | 104 | 38.305085 | 0.766783 | 0 | 0 | 0.5 | 0 | 0 | 0.222566 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.181818 | false | 0 | 0.045455 | 0 | 0.227273 | 0.045455 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86e2b3d22a58a8a499db38ccf0e003457eb219f6 | 2,242 | py | Python | tps/problems/migrations/0049_auto_20161130_1357.py | akmohtashami/tps-web | 9dab3ffe97c21f658be30ce2f2711dd93e4ba60f | [
"MIT"
] | 5 | 2019-02-26T06:10:43.000Z | 2021-07-24T17:11:45.000Z | tps/problems/migrations/0049_auto_20161130_1357.py | akmohtashami/tps-web | 9dab3ffe97c21f658be30ce2f2711dd93e4ba60f | [
"MIT"
] | 3 | 2019-08-15T13:56:03.000Z | 2021-06-10T18:43:16.000Z | tps/problems/migrations/0049_auto_20161130_1357.py | jonathanirvings/tps-web | 46519347d4fc8bdced9b5bceb6cdee5ea4e508f2 | [
"MIT"
] | 2 | 2018-12-28T13:12:59.000Z | 2020-12-25T18:42:13.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-11-30 13:57
from __future__ import unicode_literals
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('problems', '0048_exportpackage_exportpackagecreationtask'),
... | 53.380952 | 277 | 0.639161 | 268 | 2,242 | 5.171642 | 0.246269 | 0.05772 | 0.036075 | 0.04329 | 0.760462 | 0.74026 | 0.74026 | 0.74026 | 0.74026 | 0.707071 | 0 | 0.028292 | 0.180196 | 2,242 | 41 | 278 | 54.682927 | 0.725789 | 0.029884 | 0 | 0.529412 | 1 | 0 | 0.269337 | 0.114641 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.088235 | 0 | 0.176471 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
813403e1c424992afe62d4323f0ab7b759abdbe6 | 14,931 | py | Python | aries_cloudagent/holder/tests/test_routes.py | antsab20/aries-cloudagent-python | c8fa5894508d2ecd0d8be933f5ff8a50e5c582e8 | [
"Apache-2.0"
] | 1 | 2021-04-15T09:44:00.000Z | 2021-04-15T09:44:00.000Z | aries_cloudagent/holder/tests/test_routes.py | Mateus-dang/aries-cloudagent-python | d64c3a0102b269fac9b39f30815829a64b74e9ce | [
"Apache-2.0"
] | null | null | null | aries_cloudagent/holder/tests/test_routes.py | Mateus-dang/aries-cloudagent-python | d64c3a0102b269fac9b39f30815829a64b74e9ce | [
"Apache-2.0"
] | null | null | null | import json
from asynctest import mock as async_mock, TestCase as AsyncTestCase
from ...config.injection_context import InjectionContext
from ...ledger.base import BaseLedger
from ...wallet.base import BaseWallet
from ...admin.request_context import AdminRequestContext
from ...indy.holder import IndyHolder
from ...l... | 36.957921 | 88 | 0.602706 | 1,486 | 14,931 | 5.741588 | 0.102288 | 0.077004 | 0.061181 | 0.059306 | 0.868847 | 0.853141 | 0.823488 | 0.801688 | 0.786334 | 0.764534 | 0 | 0.011493 | 0.306543 | 14,931 | 403 | 89 | 37.049628 | 0.812536 | 0 | 0 | 0.611898 | 0 | 0 | 0.083384 | 0.010448 | 0 | 0 | 0 | 0 | 0.076487 | 1 | 0.002833 | false | 0 | 0.031161 | 0 | 0.036827 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4b0d02c202a2ad74a538c70435347ed5bb58fc9 | 63 | py | Python | addons14/storage_image_product/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/storage_image_product/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/storage_image_product/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | from . import test_product_image_relation
from . import common
| 21 | 41 | 0.84127 | 9 | 63 | 5.555556 | 0.777778 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 42 | 31.5 | 0.909091 | 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 | 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 | 6 |
d4fe9acc128d855971c6bf5653bf45ce9e2b193b | 19,279 | py | Python | flypylib/fplmodels.py | janelia-flyem/flypylib | b52aa96aca3ae1fcd5e10c22de75e832cf0590c6 | [
"BSD-3-Clause"
] | 10 | 2017-10-27T15:52:29.000Z | 2021-09-02T07:53:18.000Z | flypylib/fplmodels.py | janelia-flyem/flypylib | b52aa96aca3ae1fcd5e10c22de75e832cf0590c6 | [
"BSD-3-Clause"
] | 2 | 2017-10-16T19:39:17.000Z | 2017-10-25T15:39:36.000Z | flypylib/fplmodels.py | janelia-flyem/flypylib | b52aa96aca3ae1fcd5e10c22de75e832cf0590c6 | [
"BSD-3-Clause"
] | 2 | 2017-10-13T21:29:57.000Z | 2022-01-06T01:49:57.000Z | """defines keras models/network architectures to use for object
detection
"""
from flypylib import fplutils
from keras.models import Model
from keras.layers import Dropout, Activation, Conv3D, MaxPooling3D, Cropping3D, UpSampling3D
from keras.layers import BatchNormalization
from keras.layers import Input
from keras.... | 36.582543 | 98 | 0.619119 | 2,933 | 19,279 | 3.894988 | 0.074668 | 0.018908 | 0.095588 | 0.024685 | 0.828431 | 0.804272 | 0.78195 | 0.759541 | 0.724352 | 0.716912 | 0 | 0.118522 | 0.215312 | 19,279 | 526 | 99 | 36.652091 | 0.636634 | 0.087401 | 0 | 0.692935 | 0 | 0 | 0.01597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048913 | false | 0 | 0.040761 | 0 | 0.138587 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07aef5e9b51de29206b9201fad17f713f20f4280 | 189 | py | Python | req_compile/__main__.py | sputt/qer | ad6a09feddd56059cba5147b0d8341975149e1e6 | [
"MIT"
] | 6 | 2019-02-19T11:54:45.000Z | 2019-07-01T20:17:43.000Z | req_compile/__main__.py | sputt/req-compile | d6a54bb4fecd2de7f380e2c8e3ab602ecaa1cb18 | [
"MIT"
] | 9 | 2019-11-04T19:25:19.000Z | 2021-12-20T21:48:54.000Z | req_compile/__main__.py | sputt/qer | ad6a09feddd56059cba5147b0d8341975149e1e6 | [
"MIT"
] | 1 | 2020-08-20T20:31:28.000Z | 2020-08-20T20:31:28.000Z | """Forward the entrypoint to req_compile.cmdline to allow running via python -m req_compile"""
import req_compile.cmdline
if __name__ == "__main__":
req_compile.cmdline.compile_main()
| 31.5 | 94 | 0.777778 | 27 | 189 | 4.962963 | 0.592593 | 0.298507 | 0.380597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 189 | 5 | 95 | 37.8 | 0.812121 | 0.465608 | 0 | 0 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 6 |
07b42c91256a8ad7ee8dd9e8966b840e8436d636 | 68 | py | Python | models/comment.py | aspa795/api-fastapi-graphql | 208cfd937ef39ea9958698228262a8c8bd45974f | [
"MIT"
] | null | null | null | models/comment.py | aspa795/api-fastapi-graphql | 208cfd937ef39ea9958698228262a8c8bd45974f | [
"MIT"
] | null | null | null | models/comment.py | aspa795/api-fastapi-graphql | 208cfd937ef39ea9958698228262a8c8bd45974f | [
"MIT"
] | null | null | null | from config.settings import Model
class Comment(Model):
pass
| 9.714286 | 33 | 0.735294 | 9 | 68 | 5.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 68 | 6 | 34 | 11.333333 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
07dd5ae49fb6f55d6dde90c7ad9278e93aa96694 | 90 | py | Python | src/radical/entk/execman/rp/__init__.py | andre-merzky/radical.entk | a63ad9158cf2f58d7bfff017f7da9cd5236429b5 | [
"MIT"
] | 15 | 2018-02-09T10:10:34.000Z | 2021-11-16T07:52:45.000Z | src/radical/entk/execman/rp/__init__.py | andre-merzky/radical.entk | a63ad9158cf2f58d7bfff017f7da9cd5236429b5 | [
"MIT"
] | 418 | 2017-11-21T18:25:19.000Z | 2022-03-31T23:26:35.000Z | src/radical/entk/execman/rp/__init__.py | andre-merzky/radical.entk | a63ad9158cf2f58d7bfff017f7da9cd5236429b5 | [
"MIT"
] | 11 | 2018-12-29T07:18:24.000Z | 2021-02-10T19:43:13.000Z |
from .resource_manager import ResourceManager
from .task_manager import TaskManager
| 18 | 45 | 0.822222 | 10 | 90 | 7.2 | 0.7 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 90 | 4 | 46 | 22.5 | 0.947368 | 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 | 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 | 6 |
07dff7318bd81273cd0784d7e55ddae3a2633bab | 47 | py | Python | wildebeest/path_funcs/__init__.py | gsganden/wildebeest | 241c58fcea8c5848a276c6100a8f9c283fc2daa1 | [
"BSD-3-Clause"
] | 83 | 2020-07-31T00:33:17.000Z | 2022-02-12T03:06:34.000Z | wildebeest/path_funcs/__init__.py | gsganden/wildebeest | 241c58fcea8c5848a276c6100a8f9c283fc2daa1 | [
"BSD-3-Clause"
] | 30 | 2020-07-28T15:36:29.000Z | 2022-03-23T21:13:32.000Z | wildebeest/path_funcs/__init__.py | gsganden/wildebeest | 241c58fcea8c5848a276c6100a8f9c283fc2daa1 | [
"BSD-3-Clause"
] | 6 | 2020-08-08T14:01:14.000Z | 2022-03-05T00:19:18.000Z | from wildebeest.path_funcs.path_funcs import *
| 23.5 | 46 | 0.851064 | 7 | 47 | 5.428571 | 0.714286 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.883721 | 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 | 0 | 0 | 0 | 6 |
07e16eb2e92cc164a76a9a130a52cbbb29c800a2 | 28 | py | Python | tests/test_qmsspkg.py | tbrambor/qmsspkg | 54e9cdbf911a7a6ce54b15eba061d1feb6042efd | [
"MIT"
] | null | null | null | tests/test_qmsspkg.py | tbrambor/qmsspkg | 54e9cdbf911a7a6ce54b15eba061d1feb6042efd | [
"MIT"
] | null | null | null | tests/test_qmsspkg.py | tbrambor/qmsspkg | 54e9cdbf911a7a6ce54b15eba061d1feb6042efd | [
"MIT"
] | null | null | null | from qmsspkg import qmsspkg
| 14 | 27 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07e9cc8c05317982b734e3880592511dec692222 | 70 | py | Python | uc_micro/categories/__init__.py | chrisjsewell/uc.micro-py | dfaa929a7800fb256c835eb626629bc480cbc91a | [
"MIT"
] | null | null | null | uc_micro/categories/__init__.py | chrisjsewell/uc.micro-py | dfaa929a7800fb256c835eb626629bc480cbc91a | [
"MIT"
] | 3 | 2020-10-31T17:15:45.000Z | 2021-01-13T12:21:51.000Z | uc_micro/categories/__init__.py | chrisjsewell/uc.micro-py | dfaa929a7800fb256c835eb626629bc480cbc91a | [
"MIT"
] | 1 | 2020-12-14T21:57:06.000Z | 2020-12-14T21:57:06.000Z | from .Cc import *
from .Cf import *
from .P import *
from .Z import *
| 14 | 17 | 0.657143 | 12 | 70 | 3.833333 | 0.5 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 70 | 4 | 18 | 17.5 | 0.851852 | 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 | 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 | 6 |
ed13912e1f2f7f6f317ef2f9557587a6ed9809e8 | 113 | py | Python | pyntone/__init__.py | kashi03/python-kintone-sdk | 0306a0c28b02ec53b6338875864ce4a449d1326b | [
"MIT"
] | null | null | null | pyntone/__init__.py | kashi03/python-kintone-sdk | 0306a0c28b02ec53b6338875864ce4a449d1326b | [
"MIT"
] | null | null | null | pyntone/__init__.py | kashi03/python-kintone-sdk | 0306a0c28b02ec53b6338875864ce4a449d1326b | [
"MIT"
] | null | null | null | from pyntone.kintone_rest_api_client import KintoneRestAPIClient
from pyntone.models.base import KintoneBaseModel | 56.5 | 64 | 0.911504 | 14 | 113 | 7.142857 | 0.785714 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061947 | 113 | 2 | 65 | 56.5 | 0.943396 | 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 | 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 | 6 |
ed2e8d2404647cc92668f139515ba6b79977050b | 4,084 | py | Python | UpWork_Projects/stateSymbolUSA/stateSymbolUSA/spiders/symbols.py | SurendraTamang/Web-Scrapping | 2bb60cce9010b4b68f5c11bf295940832bb5df50 | [
"MIT"
] | null | null | null | UpWork_Projects/stateSymbolUSA/stateSymbolUSA/spiders/symbols.py | SurendraTamang/Web-Scrapping | 2bb60cce9010b4b68f5c11bf295940832bb5df50 | [
"MIT"
] | null | null | null | UpWork_Projects/stateSymbolUSA/stateSymbolUSA/spiders/symbols.py | SurendraTamang/Web-Scrapping | 2bb60cce9010b4b68f5c11bf295940832bb5df50 | [
"MIT"
] | 1 | 2022-01-18T17:15:51.000Z | 2022-01-18T17:15:51.000Z | # -*- coding: utf-8 -*-
import scrapy
class SymbolsSpider(scrapy.Spider):
name = 'symbols'
def start_requests(self):
yield scrapy.Request(
url='http://statesymbolsusa.org',
callback=self.listings
)
def listings(self, response):
links = response.xpath("(//d... | 78.538462 | 176 | 0.628061 | 520 | 4,084 | 4.869231 | 0.138462 | 0.080964 | 0.157583 | 0.165877 | 0.75 | 0.740521 | 0.740521 | 0.565166 | 0.434044 | 0.434044 | 0 | 0.000574 | 0.147405 | 4,084 | 51 | 177 | 80.078431 | 0.726594 | 0.005142 | 0 | 0.044444 | 0 | 0.444444 | 0.624969 | 0.526718 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.022222 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed4e31517f3eeb0df02ee059827eb00aca2b4c35 | 157 | py | Python | lib/python3.9/site-packages/var_dump/__init__.py | mohammadabu/facebook | 0d640ecbfc5c320756eb8634b7eed7353a33d2ca | [
"0BSD"
] | 147 | 2015-01-21T16:41:37.000Z | 2022-03-20T03:04:13.000Z | var_dump/__init__.py | coolman95/python-var-dump | 14613f67992f94424926a2370066d29e757d2a4d | [
"BSD-4-Clause"
] | 10 | 2015-03-05T02:57:59.000Z | 2016-08-21T09:18:48.000Z | var_dump/__init__.py | coolman95/python-var-dump | 14613f67992f94424926a2370066d29e757d2a4d | [
"BSD-4-Clause"
] | 41 | 2015-01-02T13:35:02.000Z | 2022-03-20T03:04:08.000Z | __author__ = 'sha256'
from ._var_dump import var_dump as var_dump
from ._var_dump import var_export as var_export
__all__ = ['var_dump','var_export',]
| 26.166667 | 48 | 0.757962 | 25 | 157 | 4.04 | 0.36 | 0.346535 | 0.217822 | 0.336634 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022556 | 0.152866 | 157 | 5 | 49 | 31.4 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ed6b660bfd0d21fde08d017e8d5e3bd14514c151 | 39 | py | Python | get_filename/__init__.py | we684123/get_filename | b1d59873c5a97a3cd1a3b749d93195fe24d3a79d | [
"MIT"
] | null | null | null | get_filename/__init__.py | we684123/get_filename | b1d59873c5a97a3cd1a3b749d93195fe24d3a79d | [
"MIT"
] | null | null | null | get_filename/__init__.py | we684123/get_filename | b1d59873c5a97a3cd1a3b749d93195fe24d3a79d | [
"MIT"
] | null | null | null | from .get_filename import get_filename
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.333333 | 0.666667 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 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 | 0 | 0 | 0 | 6 |
9c0639cd3c11314d1c46b73e7861293b6a49947c | 35,419 | py | Python | nova/tests/unit/virt/libvirt/test_fakelibvirt.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/libvirt/test_fakelibvirt.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/libvirt/test_fakelibvirt.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2010 OpenStack Foundation'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# a copy of the License at'
... | 13.431551 | 907 | 0.587255 | 5,180 | 35,419 | 3.915058 | 0.07027 | 0.15355 | 0.101578 | 0.074556 | 0.82643 | 0.765187 | 0.731608 | 0.693984 | 0.653353 | 0.633629 | 0 | 0.008691 | 0.116378 | 35,419 | 2,636 | 908 | 13.436646 | 0.639295 | 0 | 0 | 0.929439 | 0 | 0.001517 | 0.378695 | 0.067167 | 0 | 0 | 0 | 0 | 0.020486 | 0 | null | null | 0 | 0.001897 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c5ce5183f96d1c88553f08d858ec7604b881cb9 | 582 | py | Python | Chapter 07/Chap07_Example7.6.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 07/Chap07_Example7.6.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 07/Chap07_Example7.6.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | import array as ar
employee_staffnum = ar.array("I", [201, 202, 203, 204, 205] )
myarr_len = len(employee_staffnum) # will return the number of elements.
#before appending an array
for loop in range(myarr_len):
print(f"{loop}th element is:", employee_staffnum[loop], end = ' ')
print()
print("--------------... | 38.8 | 73 | 0.682131 | 84 | 582 | 4.607143 | 0.428571 | 0.248062 | 0.056848 | 0.098191 | 0.713178 | 0.713178 | 0.713178 | 0.713178 | 0.713178 | 0.713178 | 0 | 0.03681 | 0.159794 | 582 | 15 | 74 | 38.8 | 0.754601 | 0.226804 | 0 | 0.545455 | 0 | 0 | 0.157407 | 0.05787 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0.363636 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
92da2ca06fa60efbb87c3557e9eb694d93f29458 | 24 | py | Python | src/futuresales/features/__init__.py | Denchidlo/fs-lib | 7c2b0498483cce499696823218a6d6b07990a4e2 | [
"MIT"
] | null | null | null | src/futuresales/features/__init__.py | Denchidlo/fs-lib | 7c2b0498483cce499696823218a6d6b07990a4e2 | [
"MIT"
] | null | null | null | src/futuresales/features/__init__.py | Denchidlo/fs-lib | 7c2b0498483cce499696823218a6d6b07990a4e2 | [
"MIT"
] | null | null | null | from .extractor import * | 24 | 24 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1300511cd6295952ead4e9c321808287bcf13982 | 26 | py | Python | cornac/models/cdr/__init__.py | GuoJingyao/cornac | e7529990ec1dfa586c4af3de98e4b3e00a786578 | [
"Apache-2.0"
] | null | null | null | cornac/models/cdr/__init__.py | GuoJingyao/cornac | e7529990ec1dfa586c4af3de98e4b3e00a786578 | [
"Apache-2.0"
] | null | null | null | cornac/models/cdr/__init__.py | GuoJingyao/cornac | e7529990ec1dfa586c4af3de98e4b3e00a786578 | [
"Apache-2.0"
] | null | null | null | from .recom_cdr import CDR | 26 | 26 | 0.846154 | 5 | 26 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1358c233b69eedfea51208c131aafe1e57190c52 | 182 | py | Python | deco/nodes/__init__.py | mfojtak/decor | 203979351635a6794c91200fca4a14296ec9bc37 | [
"MIT"
] | 1 | 2019-09-05T07:23:19.000Z | 2019-09-05T07:23:19.000Z | deco/nodes/__init__.py | mfojtak/decor | 203979351635a6794c91200fca4a14296ec9bc37 | [
"MIT"
] | 2 | 2020-10-25T17:41:08.000Z | 2020-10-26T16:48:19.000Z | deco/nodes/__init__.py | mfojtak/deco | 203979351635a6794c91200fca4a14296ec9bc37 | [
"MIT"
] | null | null | null | from deco.nodes.transform import Transform
from deco.nodes.keras_model import KerasModel
from deco.nodes.sequence import Sequence
from deco.nodes.serving_model import ServingModel | 45.5 | 49 | 0.857143 | 26 | 182 | 5.923077 | 0.423077 | 0.207792 | 0.337662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 182 | 4 | 49 | 45.5 | 0.939024 | 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 | 0 | 0 | 0 | 6 |
13949ba9367aa74ab706bfb22a9278337c6eb485 | 54,215 | py | Python | tests/test_locales.py | impact27/arrow | 69cc7b0f85d50a7f183991014bec8441373e4157 | [
"Apache-2.0"
] | null | null | null | tests/test_locales.py | impact27/arrow | 69cc7b0f85d50a7f183991014bec8441373e4157 | [
"Apache-2.0"
] | null | null | null | tests/test_locales.py | impact27/arrow | 69cc7b0f85d50a7f183991014bec8441373e4157 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import pytest
from arrow import arrow, locales
@pytest.mark.usefixtures("lang_locales")
class TestLocaleValidation:
"""Validate locales to ensure that translations are valid and complete"""
def test_locale_validation(self):
for _, loc... | 48.79838 | 88 | 0.650964 | 6,929 | 54,215 | 4.903594 | 0.086737 | 0.175118 | 0.263237 | 0.298496 | 0.87986 | 0.844925 | 0.743944 | 0.601731 | 0.380169 | 0.370074 | 0 | 0.035213 | 0.201715 | 54,215 | 1,110 | 89 | 48.842342 | 0.74699 | 0.009167 | 0 | 0.268793 | 0 | 0 | 0.160893 | 0 | 0 | 0 | 0 | 0 | 0.719818 | 1 | 0.105923 | false | 0 | 0.003417 | 0 | 0.149203 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13994f4a80a79c3c3d1049dbfc126c0cf769e058 | 6,022 | py | Python | tests/test_add_datapackage_views.py | frictionlessdata/pilot-ukds | b2834a325d1f31ba0da41aba622b806b7c6947a5 | [
"MIT"
] | 1 | 2017-08-29T12:57:19.000Z | 2017-08-29T12:57:19.000Z | tests/test_add_datapackage_views.py | frictionlessdata/pilot-ukds | b2834a325d1f31ba0da41aba622b806b7c6947a5 | [
"MIT"
] | 4 | 2017-09-04T12:39:09.000Z | 2017-09-15T13:17:34.000Z | tests/test_add_datapackage_views.py | frictionlessdata/pilot-ukds | b2834a325d1f31ba0da41aba622b806b7c6947a5 | [
"MIT"
] | null | null | null | import os
from datapackage_pipelines.utilities.lib_test_helpers import (
mock_processor_test
)
import datapackage_pipelines_ukds.processors
from .test_utils import TestBase
import logging
log = logging.getLogger(__name__)
this_dir, this_filename = os.path.split(__file__)
class TestAddDatapackageViewsProcessor... | 34.609195 | 79 | 0.458818 | 509 | 6,022 | 5.233792 | 0.166994 | 0.015766 | 0.049925 | 0.060435 | 0.876502 | 0.876502 | 0.863363 | 0.863363 | 0.851727 | 0.851727 | 0 | 0.00086 | 0.420458 | 6,022 | 173 | 80 | 34.809249 | 0.762464 | 0.107439 | 0 | 0.699248 | 0 | 0 | 0.215313 | 0.036228 | 0 | 0 | 0 | 0 | 0.022556 | 1 | 0.022556 | false | 0 | 0.037594 | 0 | 0.067669 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
139dff813b506b12358ae7034bb9babf33870c37 | 36,255 | py | Python | train_style_modules.py | IGLICT/StylizedNeRF | ed8df1f7ac4602a079e514cc7898644ca573cf11 | [
"MIT"
] | null | null | null | train_style_modules.py | IGLICT/StylizedNeRF | ed8df1f7ac4602a079e514cc7898644ca573cf11 | [
"MIT"
] | null | null | null | train_style_modules.py | IGLICT/StylizedNeRF | ed8df1f7ac4602a079e514cc7898644ca573cf11 | [
"MIT"
] | null | null | null | import os
import torch
import shutil
import VGGNet
import argparse
import numpy as np
from tqdm import tqdm
import torch.nn as nn
from models_jt import VAE
from pathlib import Path
from models_jt import Camera
import torch.utils.data as data
from PIL import Image, ImageFile
from torchvision import transfor... | 44.759259 | 148 | 0.614701 | 4,891 | 36,255 | 4.286853 | 0.076876 | 0.014594 | 0.01159 | 0.016025 | 0.796824 | 0.777508 | 0.75471 | 0.744789 | 0.717604 | 0.717032 | 0 | 0.021137 | 0.256185 | 36,255 | 809 | 149 | 44.814586 | 0.756369 | 0.025734 | 0 | 0.700637 | 0 | 0 | 0.066564 | 0.019789 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047771 | false | 0 | 0.028662 | 0.012739 | 0.10828 | 0.023885 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13d8e4da8aac2b4967a0443d87e51484bf834652 | 1,248 | py | Python | tests/load/test_load_case.py | CHRUdeLille/scout | 0f70bec32e078d1825ebf20237f4a4979585dffb | [
"BSD-3-Clause"
] | null | null | null | tests/load/test_load_case.py | CHRUdeLille/scout | 0f70bec32e078d1825ebf20237f4a4979585dffb | [
"BSD-3-Clause"
] | null | null | null | tests/load/test_load_case.py | CHRUdeLille/scout | 0f70bec32e078d1825ebf20237f4a4979585dffb | [
"BSD-3-Clause"
] | null | null | null | from scout.load.case import load_case
def test_load_case(case_obj, panel_database):
adapter = panel_database
# GIVEN a database with institute, user, genes, panel but no cases
assert adapter.gene_panels().count() > 0
assert adapter.users().count() > 0
assert adapter.institutes().count() > 0
# ... | 31.2 | 78 | 0.702724 | 179 | 1,248 | 4.664804 | 0.268156 | 0.067066 | 0.065868 | 0.091018 | 0.758084 | 0.758084 | 0.706587 | 0.706587 | 0.706587 | 0.706587 | 0 | 0.007929 | 0.191506 | 1,248 | 39 | 79 | 32 | 0.819623 | 0.231571 | 0 | 0.571429 | 0 | 0 | 0.07571 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9aff5822abd67be7dad00495259fde2db745272 | 31 | py | Python | vnpy/app/rpc_service/ui/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 19,529 | 2015-03-02T12:17:35.000Z | 2022-03-31T17:18:27.000Z | vnpy/app/rpc_service/ui/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 2,186 | 2015-03-04T23:16:33.000Z | 2022-03-31T03:44:01.000Z | vnpy/app/rpc_service/ui/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 8,276 | 2015-03-02T05:21:04.000Z | 2022-03-31T13:13:13.000Z | from .widget import RpcManager
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9f0bcc0cd9fe27673ebd30cffa5b609b32cee9d | 180,200 | py | Python | enaml/core/parse_tab/parsetab.py | pberkes/enaml | cbcbee929e3117dfe56c0b06dc2385acc832b0e8 | [
"BSD-3-Clause-Clear"
] | null | null | null | enaml/core/parse_tab/parsetab.py | pberkes/enaml | cbcbee929e3117dfe56c0b06dc2385acc832b0e8 | [
"BSD-3-Clause-Clear"
] | null | null | null | enaml/core/parse_tab/parsetab.py | pberkes/enaml | cbcbee929e3117dfe56c0b06dc2385acc832b0e8 | [
"BSD-3-Clause-Clear"
] | null | null | null |
# c:\development\enaml\enaml\core\parse_tab\parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.2'
_lr_method = 'LALR'
_lr_signature = '\x03\x98b\xbc2\xd2\xfd\x9cC\x0b\xae\xcc)\xef\xf8\xfb'
_lr_action_items = {'LPAR':([0,1,6,7,9,10,13,14,15,17,19,25,29,30,31,32,34,36,40,42,44,45,46... | 334.32282 | 85,970 | 0.685549 | 37,657 | 180,200 | 3.21008 | 0.045251 | 0.042355 | 0.071723 | 0.092818 | 0.74337 | 0.703777 | 0.668702 | 0.583462 | 0.500538 | 0.456139 | 0 | 0.425405 | 0.019451 | 180,200 | 538 | 85,971 | 334.944238 | 0.258723 | 0.000577 | 0 | 0.003781 | 1 | 0.00189 | 0.318937 | 0.144582 | 0 | 0 | 0 | 0 | 0.009452 | 1 | 0 | false | 0.015123 | 0.047259 | 0 | 0.047259 | 0.024575 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a19d6dbd799f4ddab2a574bd7661b80d95bf236 | 263 | py | Python | pyzshcomplete/tests/argparse/conftest.py | marble/pyzshcomplete | c7896c8db3d753fb41fd1de403d9feaf2a3bae1e | [
"MIT"
] | 14 | 2020-05-23T01:52:53.000Z | 2021-09-21T16:41:01.000Z | pyzshcomplete/tests/argparse/conftest.py | marble/pyzshcomplete | c7896c8db3d753fb41fd1de403d9feaf2a3bae1e | [
"MIT"
] | 35 | 2020-03-13T22:46:59.000Z | 2021-09-17T02:48:34.000Z | pyzshcomplete/tests/argparse/conftest.py | marble/pyzshcomplete | c7896c8db3d753fb41fd1de403d9feaf2a3bae1e | [
"MIT"
] | 1 | 2021-09-10T09:25:23.000Z | 2021-09-10T09:25:23.000Z | from pytest import fixture
from argparse import ArgumentParser
@fixture(scope='function')
def default_parser():
return ArgumentParser(prog='program')
@fixture(scope='function')
def empty_parser():
return ArgumentParser(prog='program', add_help=False)
| 20.230769 | 57 | 0.768061 | 31 | 263 | 6.419355 | 0.580645 | 0.120603 | 0.201005 | 0.231156 | 0.371859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117871 | 263 | 12 | 58 | 21.916667 | 0.857759 | 0 | 0 | 0.25 | 0 | 0 | 0.114068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
dbe71cfc12bf9b658326ce48b254355cde7beb2c | 10,804 | py | Python | sdk/python/pulumi_aws/s3/bucket_notification.py | dixler/pulumi-aws | 88838ed6d412c092717a916b0b5b154f68226c3a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/s3/bucket_notification.py | dixler/pulumi-aws | 88838ed6d412c092717a916b0b5b154f68226c3a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/s3/bucket_notification.py | dixler/pulumi-aws | 88838ed6d412c092717a916b0b5b154f68226c3a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Bucket... | 63.928994 | 274 | 0.685579 | 1,270 | 10,804 | 5.707874 | 0.152756 | 0.057663 | 0.050214 | 0.076148 | 0.758036 | 0.743965 | 0.725066 | 0.720651 | 0.700786 | 0.686715 | 0 | 0.002338 | 0.208071 | 10,804 | 168 | 275 | 64.309524 | 0.844904 | 0.540355 | 0 | 0.038462 | 1 | 0 | 0.156471 | 0.017255 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.019231 | 0.115385 | 0.038462 | 0.346154 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
dbfb627f2f7b89e4eddb6f40d976ae05743ec841 | 203 | py | Python | tccli/services/cim/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/cim/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/cim/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from tccli.services.cim.cim_client import register_arg
from tccli.services.cim.cim_client import get_actions_info
from tccli.services.cim.cim_client import AVAILABLE_VERSION_LIST
| 40.6 | 64 | 0.827586 | 32 | 203 | 5 | 0.53125 | 0.16875 | 0.31875 | 0.375 | 0.65625 | 0.65625 | 0.65625 | 0 | 0 | 0 | 0 | 0.005376 | 0.083744 | 203 | 4 | 65 | 50.75 | 0.854839 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dbff3ccce4ab4bcf6771280d8a4a3f6334364d36 | 396,500 | py | Python | Mpro_dynamics/Mpro_monomer_w_natural_substrate/Mpro_AVLQS.py | spelmer/covid-moonshot-designs-spe | 02c085fe400c987e8b13a91049f304348cf7a13b | [
"MIT"
] | null | null | null | Mpro_dynamics/Mpro_monomer_w_natural_substrate/Mpro_AVLQS.py | spelmer/covid-moonshot-designs-spe | 02c085fe400c987e8b13a91049f304348cf7a13b | [
"MIT"
] | null | null | null | Mpro_dynamics/Mpro_monomer_w_natural_substrate/Mpro_AVLQS.py | spelmer/covid-moonshot-designs-spe | 02c085fe400c987e8b13a91049f304348cf7a13b | [
"MIT"
] | null | null | null | (1, None, u"binding pocket of SARS-CoV-2 Mpro main protein (aka 3CLpro) with a natural substrate, AVLQS peptide. Subsites colored according to the amino acid side chains recognized:\n\nS1' violet --> SER, P1' residue\nS1 blue --> GLN, P1 residue\nS2 salmon --> LEU, P2 residue\nS4 green --> ALA, P4 residue\n")
import cP... | 1,381.533101 | 208,450 | 0.959874 | 8,187 | 396,500 | 46.480029 | 0.501405 | 0.007403 | 0.017163 | 0.01798 | 0.060536 | 0.058655 | 0.027727 | 0.022813 | 0.021932 | 0.021396 | 0 | 0.12792 | 0.010338 | 396,500 | 286 | 208,451 | 1,386.363636 | 0.841833 | 0.000976 | 0 | 0.188755 | 0 | 0.024096 | 0.949063 | 0.91411 | 0 | 1 | 0 | 0 | 0 | 1 | 0.040161 | false | 0 | 0.108434 | 0 | 0.148594 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e065968a41e54b037e4be45008c3fd9d36be5631 | 91 | py | Python | src/elementary_flask/presets/themes/default/_jinja2_env.py | xaled/flaskly | 2ed66d89e42afba830d6c73c9f70f00d1dcac573 | [
"MIT"
] | null | null | null | src/elementary_flask/presets/themes/default/_jinja2_env.py | xaled/flaskly | 2ed66d89e42afba830d6c73c9f70f00d1dcac573 | [
"MIT"
] | null | null | null | src/elementary_flask/presets/themes/default/_jinja2_env.py | xaled/flaskly | 2ed66d89e42afba830d6c73c9f70f00d1dcac573 | [
"MIT"
] | null | null | null | from .._common import make_jinja2_theme_env
jinja2_env = make_jinja2_theme_env('default')
| 22.75 | 45 | 0.835165 | 14 | 91 | 4.857143 | 0.571429 | 0.294118 | 0.441176 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.087912 | 91 | 3 | 46 | 30.333333 | 0.783133 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0ec9022df220f0e45f44d3e0a43c6a3a8119458d | 29,480 | py | Python | tests/unit/aiplatform/test_hyperparameter_tuning_job.py | sakagarwal/python-aiplatform | 62b4a1ea589235910c6e87f027899a29bf1bacb1 | [
"Apache-2.0"
] | 1 | 2022-03-30T05:23:29.000Z | 2022-03-30T05:23:29.000Z | tests/unit/aiplatform/test_hyperparameter_tuning_job.py | sakagarwal/python-aiplatform | 62b4a1ea589235910c6e87f027899a29bf1bacb1 | [
"Apache-2.0"
] | null | null | null | tests/unit/aiplatform/test_hyperparameter_tuning_job.py | sakagarwal/python-aiplatform | 62b4a1ea589235910c6e87f027899a29bf1bacb1 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2021 Google LLC
#
# 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... | 39.464525 | 121 | 0.672897 | 3,210 | 29,480 | 5.61838 | 0.085358 | 0.128639 | 0.146659 | 0.072082 | 0.830829 | 0.806432 | 0.782534 | 0.741059 | 0.724258 | 0.688384 | 0 | 0.00739 | 0.261024 | 29,480 | 746 | 122 | 39.517426 | 0.820473 | 0.019844 | 0 | 0.669826 | 0 | 0 | 0.045779 | 0.017972 | 0 | 0 | 0 | 0 | 0.031596 | 1 | 0.031596 | false | 0 | 0.020537 | 0 | 0.058452 | 0.00158 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16144a6d1208bab3e129824da1e2163adc757d0e | 4,681 | py | Python | code/score.py | broadinstitute/TCRP | 9e580dbf0c9d0ec5e5b1a949087df5a3724fa35b | [
"MIT"
] | null | null | null | code/score.py | broadinstitute/TCRP | 9e580dbf0c9d0ec5e5b1a949087df5a3724fa35b | [
"MIT"
] | null | null | null | code/score.py | broadinstitute/TCRP | 9e580dbf0c9d0ec5e5b1a949087df5a3724fa35b | [
"MIT"
] | null | null | null | import numpy as np
import torch
from torch.autograd import Variable
from utils import *
from scipy import stats
# Helper methods for evaluating a classification network
def forward_pass(net, in_, target, weights=None):
# Forward in_ through the net, return loss and output
input_var = Variable(in_)
target_var = Va... | 26.902299 | 94 | 0.706687 | 756 | 4,681 | 4.15873 | 0.108466 | 0.100191 | 0.061069 | 0.034351 | 0.789758 | 0.762405 | 0.755725 | 0.720102 | 0.707697 | 0.707697 | 0 | 0.013121 | 0.153386 | 4,681 | 173 | 95 | 27.057803 | 0.780217 | 0.18009 | 0 | 0.727273 | 0 | 0 | 0.010087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056818 | false | 0.011364 | 0.056818 | 0 | 0.170455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1641678a316d421426a266e67df5df8dd5fd3c76 | 26,684 | py | Python | src/geocat/f2py/linint2_wrapper.py | NCAR/geocat-f2py | fee07e680f61ca2ebfbb33f1554d9d85271fa32a | [
"Apache-2.0"
] | 4 | 2021-02-20T20:02:11.000Z | 2021-11-24T13:35:32.000Z | src/geocat/f2py/linint2_wrapper.py | NCAR/geocat-f2py | fee07e680f61ca2ebfbb33f1554d9d85271fa32a | [
"Apache-2.0"
] | 27 | 2020-12-07T17:00:05.000Z | 2022-03-24T16:42:17.000Z | src/geocat/f2py/linint2_wrapper.py | NCAR/geocat-f2py | fee07e680f61ca2ebfbb33f1554d9d85271fa32a | [
"Apache-2.0"
] | 4 | 2021-01-07T01:50:11.000Z | 2021-07-07T13:05:42.000Z | import warnings
import numpy as np
import xarray as xr
from dask.array.core import map_blocks
from .errors import ChunkError, CoordinateError
from .fortran import dlinint1, dlinint2, dlinint2pts
from .missing_values import fort2py_msg, py2fort_msg
# Dask Wrappers _<funcname>()
# These Wrapper are executed within das... | 38.728592 | 111 | 0.614825 | 3,777 | 26,684 | 4.299179 | 0.103786 | 0.011393 | 0.032024 | 0.005604 | 0.803178 | 0.768629 | 0.742086 | 0.718869 | 0.701749 | 0.672312 | 0 | 0.01237 | 0.30018 | 26,684 | 688 | 112 | 38.784884 | 0.857181 | 0.629291 | 0 | 0.666667 | 0 | 0 | 0.096138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028112 | false | 0 | 0.028112 | 0 | 0.084337 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1642a4017a552d4b9dc924a992b094f782a18a24 | 23,757 | py | Python | sdk/python/pulumi_azure_native/digitaltwins/_inputs.py | pulumi-bot/pulumi-azure-native | f7b9490b5211544318e455e5cceafe47b628e12c | [
"Apache-2.0"
] | 31 | 2020-09-21T09:41:01.000Z | 2021-02-26T13:21:59.000Z | sdk/python/pulumi_azure_native/digitaltwins/_inputs.py | pulumi-bot/pulumi-azure-native | f7b9490b5211544318e455e5cceafe47b628e12c | [
"Apache-2.0"
] | 231 | 2020-09-21T09:38:45.000Z | 2021-03-01T11:16:03.000Z | sdk/python/pulumi_azure_native/digitaltwins/_inputs.py | pulumi-bot/pulumi-azure-native | f7b9490b5211544318e455e5cceafe47b628e12c | [
"Apache-2.0"
] | 4 | 2020-09-29T14:14:59.000Z | 2021-02-10T20:38:16.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** 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
from .. import _utilities, _tables
from ... | 43.510989 | 170 | 0.686661 | 2,682 | 23,757 | 5.863162 | 0.056301 | 0.090238 | 0.081908 | 0.067154 | 0.838665 | 0.750652 | 0.720191 | 0.673959 | 0.638728 | 0.614054 | 0 | 0.001175 | 0.211727 | 23,757 | 545 | 171 | 43.590826 | 0.838522 | 0.251968 | 0 | 0.557927 | 1 | 0 | 0.161329 | 0.071416 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204268 | false | 0 | 0.018293 | 0.006098 | 0.335366 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16997c58bb6f47eb6ccc77fc88fb686901b5a836 | 257 | py | Python | tests/test_action_delays.py | mehrdad-shokri/InstaPy | 76b38265d8ef312ba05ee7a94b820363c38e6599 | [
"MIT"
] | null | null | null | tests/test_action_delays.py | mehrdad-shokri/InstaPy | 76b38265d8ef312ba05ee7a94b820363c38e6599 | [
"MIT"
] | null | null | null | tests/test_action_delays.py | mehrdad-shokri/InstaPy | 76b38265d8ef312ba05ee7a94b820363c38e6599 | [
"MIT"
] | null | null | null | from instapy import util
def test_default_values_returned():
assert util.get_action_delay("like") == 2
assert util.get_action_delay("comment") == 2
assert util.get_action_delay("follow") == 3
assert util.get_action_delay("unfollow") == 10
| 28.555556 | 50 | 0.723735 | 37 | 257 | 4.72973 | 0.540541 | 0.228571 | 0.297143 | 0.434286 | 0.56 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0.023041 | 0.155642 | 257 | 8 | 51 | 32.125 | 0.78341 | 0 | 0 | 0 | 0 | 0 | 0.097276 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16ae1a5d6b5d2bae1bfdd283993dfa7bffa6ba08 | 72 | py | Python | mission/finite_state_machine/tests/src/sm_classes/test_gate_search_state.py | theBadMusician/Vortex-AUV | a2450f295b1288c0914f9505512bd8f34869b62c | [
"MIT"
] | 1 | 2021-02-02T13:21:19.000Z | 2021-02-02T13:21:19.000Z | mission/finite_state_machine/tests/src/sm_classes/test_gate_search_state.py | oyssolbo/Vortex-AUV | 27477110d733a064d318037129d628938c8950de | [
"MIT"
] | null | null | null | mission/finite_state_machine/tests/src/sm_classes/test_gate_search_state.py | oyssolbo/Vortex-AUV | 27477110d733a064d318037129d628938c8950de | [
"MIT"
] | null | null | null | import pytest
def test_execute():
#do stuff
assert True == True | 14.4 | 23 | 0.666667 | 10 | 72 | 4.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 72 | 5 | 23 | 14.4 | 0.87037 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 0 | 6 |
16c091375f12ebded3df0385226f0a5ec871e465 | 272 | py | Python | openapi/script/1662/get_dcs_token.py | ProjectJinBao/nirvana7 | 0fe614afe94358bad4fa0bbda8013d8040e96456 | [
"Apache-2.0"
] | null | null | null | openapi/script/1662/get_dcs_token.py | ProjectJinBao/nirvana7 | 0fe614afe94358bad4fa0bbda8013d8040e96456 | [
"Apache-2.0"
] | null | null | null | openapi/script/1662/get_dcs_token.py | ProjectJinBao/nirvana7 | 0fe614afe94358bad4fa0bbda8013d8040e96456 | [
"Apache-2.0"
] | 1 | 2020-06-16T09:25:14.000Z | 2020-06-16T09:25:14.000Z | def get_dcs_token():
return "LkANIIDy39vXgDwFHSE7xLGHIe7JoWQnZxNn2vlrYzMpNUTZfeBYJFnsdbnaJ0cLIgVGT_2IESE67Zg8-ePI2XGjSXyp4Z1gcpC8OOFeWcprEbj9D-KcDHVMXbVcdoutR-SN_fAfwHHMRD1c5CtJig=="
def demo(name, sex):
def demo2(name1, sex1):
pass
return 'hello' | 34 | 162 | 0.790441 | 22 | 272 | 9.590909 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0.136029 | 272 | 8 | 163 | 34 | 0.812766 | 0 | 0 | 0 | 0 | 0 | 0.575092 | 0.556777 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.166667 | 0 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
16c319a46b96c9cf5c505a365836b5e79cab8791 | 140 | py | Python | leonardo/utils/email.py | timgates42/django-leonardo | c155f97fee9e2be1e0f508d47a1c205028253ecc | [
"BSD-3-Clause"
] | 102 | 2015-04-30T12:27:14.000Z | 2021-10-31T18:21:16.000Z | leonardo/utils/email.py | timgates42/django-leonardo | c155f97fee9e2be1e0f508d47a1c205028253ecc | [
"BSD-3-Clause"
] | 158 | 2015-04-30T22:42:34.000Z | 2019-09-07T15:37:22.000Z | leonardo/utils/email.py | timgates42/django-leonardo | c155f97fee9e2be1e0f508d47a1c205028253ecc | [
"BSD-3-Clause"
] | 64 | 2015-05-10T12:00:39.000Z | 2021-07-29T19:47:27.000Z |
import warnings
from .emails import *
warnings.warn(
'Please import email utils from leonardo.utils.emails instead of this location')
| 20 | 84 | 0.771429 | 19 | 140 | 5.684211 | 0.684211 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164286 | 140 | 6 | 85 | 23.333333 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0.553957 | 0.151079 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc54ca0e9067020ebddd787b592b7634ecbe5c11 | 4,394 | py | Python | Server/tests/test_coupon.py | getballaena/Get-Ballaena-Server | 7c04e31017f13608fab5a0b490d78f79336a2866 | [
"MIT"
] | null | null | null | Server/tests/test_coupon.py | getballaena/Get-Ballaena-Server | 7c04e31017f13608fab5a0b490d78f79336a2866 | [
"MIT"
] | null | null | null | Server/tests/test_coupon.py | getballaena/Get-Ballaena-Server | 7c04e31017f13608fab5a0b490d78f79336a2866 | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest.mock import MagicMock, patch
from bson import ObjectId
from app import create_app
from tests.request import check_status_code, coupon_list_request, coupon_delete_request
def create_coupon_mock_list():
return [MagicMock(id=i, coupon_name=f'coupon {i}') for i in range(1... | 37.555556 | 97 | 0.688894 | 563 | 4,394 | 4.895204 | 0.119005 | 0.072569 | 0.101597 | 0.097968 | 0.829826 | 0.829826 | 0.812409 | 0.798621 | 0.798621 | 0.780842 | 0 | 0.005027 | 0.230314 | 4,394 | 116 | 98 | 37.87931 | 0.809876 | 0 | 0 | 0.681818 | 0 | 0 | 0.130178 | 0.119936 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.090909 | false | 0 | 0.056818 | 0.011364 | 0.238636 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc7227f7c6ecb8297c32df6473fbec6c02d78dff | 5,091 | py | Python | DarkFAST-main/saya_gans/ngewe/__init__.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-17T03:35:03.000Z | 2021-12-08T06:00:31.000Z | DarkFAST-main/saya_gans/ngewe/__init__.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | null | null | null | DarkFAST-main/saya_gans/ngewe/__init__.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-05T18:07:48.000Z | 2022-02-24T21:25:07.000Z | # hallo bro :v
from modul import *
aap_gans=[]
class gadag_user:
def __init__(self,url,cookie):
self.url=url
self.cookies=cookie
def followers(self,link,what=False):
try:
if what is True:
link=req.get(link,cookies=self.cookies).text
_=re.findall('" \/>\<div\ class\=\".."\>\<a\ h... | 41.390244 | 152 | 0.591436 | 737 | 5,091 | 3.862958 | 0.130258 | 0.105725 | 0.054795 | 0.034422 | 0.807517 | 0.801194 | 0.788198 | 0.784334 | 0.759396 | 0.753073 | 0 | 0.009488 | 0.171872 | 5,091 | 123 | 153 | 41.390244 | 0.665797 | 0.002357 | 0 | 0.614679 | 0 | 0.009174 | 0.32385 | 0.078087 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073395 | false | 0.009174 | 0.009174 | 0 | 0.146789 | 0.06422 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bcc5308fcf8ac1193b3de3b7c76fd8a095f05e0f | 2,458 | py | Python | warp/yul/extract_block.py | Glitch18/warp | ae3d1b3d0236a2c29f1114135ee8b04563987329 | [
"Apache-2.0"
] | null | null | null | warp/yul/extract_block.py | Glitch18/warp | ae3d1b3d0236a2c29f1114135ee8b04563987329 | [
"Apache-2.0"
] | null | null | null | warp/yul/extract_block.py | Glitch18/warp | ae3d1b3d0236a2c29f1114135ee8b04563987329 | [
"Apache-2.0"
] | null | null | null | from __future__ import annotations
from typing import Callable
import yul.yul_ast as ast
from yul.Scope import get_scope
def extract_block_as_function(
block: ast.Block, name: str, has_leave: bool = False
) -> tuple[ast.FunctionDefinition, ast.Statement]:
read_vars = get_scope(block).read_variables
if h... | 39.645161 | 87 | 0.716029 | 357 | 2,458 | 4.666667 | 0.210084 | 0.076831 | 0.026411 | 0.038415 | 0.816327 | 0.77491 | 0.745498 | 0.745498 | 0.745498 | 0.745498 | 0 | 0 | 0.199349 | 2,458 | 61 | 88 | 40.295082 | 0.846545 | 0.166395 | 0 | 0.533333 | 0 | 0 | 0.005882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.088889 | 0 | 0.177778 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bcc7434c3b77fa2cea3fbf059a33486f18ab2f09 | 5,525 | py | Python | subnetCal.py | christivn/subnet-calculator-cidr | 82a8ec4eec5f96908cee2df91610558079733cd8 | [
"Apache-2.0"
] | 2 | 2020-09-11T11:30:49.000Z | 2021-07-01T22:06:25.000Z | subnetCal.py | christivn/subnet-calculator-cidr | 82a8ec4eec5f96908cee2df91610558079733cd8 | [
"Apache-2.0"
] | null | null | null | subnetCal.py | christivn/subnet-calculator-cidr | 82a8ec4eec5f96908cee2df91610558079733cd8 | [
"Apache-2.0"
] | null | null | null | def printCalculate(cidr):
s_cidr=cidr.split("/")
ip=s_cidr[0]
binary_ip=""
s_ip=ip.split(".")
for i in range(4):
int_ip=int(s_ip[i])
str_binary=str(decimalToBinary(int_ip))
zeros=""
for i in range(8-len(str_binary)):
zeros+="0"
binary_ip+=zeros+st... | 28.188776 | 86 | 0.527783 | 779 | 5,525 | 3.490372 | 0.084724 | 0.084958 | 0.109967 | 0.080912 | 0.785215 | 0.774549 | 0.774549 | 0.759103 | 0.759103 | 0.759103 | 0 | 0.071482 | 0.270769 | 5,525 | 196 | 87 | 28.188776 | 0.603376 | 0 | 0 | 0.847059 | 0 | 0 | 0.146761 | 0.097177 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017647 | false | 0 | 0 | 0 | 0.035294 | 0.011765 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bcdc2b5e72f8f9890b666ef76d9cc819c638224b | 43 | py | Python | src/spark/goodbyes/__init__.py | simonhodder/spark | 1062e3092996f82f7bc2c852d6444c2be2a1e296 | [
"MIT"
] | null | null | null | src/spark/goodbyes/__init__.py | simonhodder/spark | 1062e3092996f82f7bc2c852d6444c2be2a1e296 | [
"MIT"
] | null | null | null | src/spark/goodbyes/__init__.py | simonhodder/spark | 1062e3092996f82f7bc2c852d6444c2be2a1e296 | [
"MIT"
] | null | null | null |
from .goodbye_plugins import GoodbyeModel
| 14.333333 | 41 | 0.860465 | 5 | 43 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 42 | 21.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcdff503ac9158ffa7cf55e169f3d67720de6b8b | 33,469 | py | Python | Wrappers/Python/test/test_BlockDataContainer.py | mhquah/CCPi-Framework | 35f11db30ef5453cfeaae296ed45ea780e42733a | [
"Apache-2.0"
] | 9 | 2019-09-05T10:21:49.000Z | 2021-04-25T19:33:56.000Z | Wrappers/Python/test/test_BlockDataContainer.py | mhquah/CCPi-Framework | 35f11db30ef5453cfeaae296ed45ea780e42733a | [
"Apache-2.0"
] | 580 | 2018-06-01T13:19:43.000Z | 2021-05-07T10:28:57.000Z | Wrappers/Python/test/test_BlockDataContainer.py | mhquah/CCPi-Framework | 35f11db30ef5453cfeaae296ed45ea780e42733a | [
"Apache-2.0"
] | 12 | 2018-11-29T12:15:59.000Z | 2021-11-29T07:13:21.000Z | # -*- coding: utf-8 -*-
# This work is part of the Core Imaging Library (CIL) developed by CCPi
# (Collaborative Computational Project in Tomographic Imaging), with
# substantial contributions by UKRI-STFC and University of Manchester.
# Licensed under the Apache License, Version 2.0 (the "License");
#... | 41.370828 | 144 | 0.578266 | 4,439 | 33,469 | 4.22077 | 0.057896 | 0.027327 | 0.022897 | 0.05332 | 0.818745 | 0.811272 | 0.795741 | 0.777968 | 0.764998 | 0.753363 | 0 | 0.077652 | 0.271624 | 33,469 | 809 | 145 | 41.370828 | 0.69091 | 0.097583 | 0 | 0.557348 | 0 | 0 | 0.016511 | 0.008392 | 0 | 0 | 0 | 0.001236 | 0.299283 | 1 | 0.055556 | false | 0 | 0.012545 | 0 | 0.073477 | 0.087814 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c4bf3665ccc39ab7aebf360e55c9daf226f6ce0 | 10,685 | py | Python | tests/test_summary.py | capsian/pymfe_MOCAI | 929c8034748846e92cddf1962dc9ba0dd5aa36c1 | [
"MIT"
] | 86 | 2019-03-21T23:56:22.000Z | 2022-02-06T23:18:33.000Z | tests/test_summary.py | capsian/pymfe_MOCAI | 929c8034748846e92cddf1962dc9ba0dd5aa36c1 | [
"MIT"
] | 100 | 2019-03-21T18:32:30.000Z | 2021-03-19T16:38:41.000Z | tests/test_summary.py | capsian/pymfe_MOCAI | 929c8034748846e92cddf1962dc9ba0dd5aa36c1 | [
"MIT"
] | 24 | 2019-04-22T17:10:56.000Z | 2021-06-01T14:26:49.000Z | """Test module for General class metafeatures."""
import typing as t
import pytest
import pymfe._internal
import pymfe._summary
import pymfe.mfe
import numpy as np
def test_get_summary():
assert not set(pymfe.mfe.MFE.valid_summary()).symmetric_difference(
pymfe._internal.VALID_SUMMARY
)
def test_su... | 29.035326 | 78 | 0.550304 | 1,656 | 10,685 | 3.410628 | 0.091787 | 0.046034 | 0.084986 | 0.011331 | 0.836402 | 0.820467 | 0.776735 | 0.743803 | 0.717953 | 0.679001 | 0 | 0.071997 | 0.259055 | 10,685 | 367 | 79 | 29.114441 | 0.641405 | 0.004024 | 0 | 0.592466 | 0 | 0 | 0.068071 | 0 | 0 | 0 | 0 | 0 | 0.116438 | 1 | 0.068493 | false | 0 | 0.020548 | 0 | 0.089041 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c55c7e57b6f7336bc568e5218a1436b1976fc33 | 106 | py | Python | main.py | i2nes/app-engine-blog | 94cdc25674c946ad643f7f140cbedf095773de3f | [
"MIT"
] | null | null | null | main.py | i2nes/app-engine-blog | 94cdc25674c946ad643f7f140cbedf095773de3f | [
"MIT"
] | null | null | null | main.py | i2nes/app-engine-blog | 94cdc25674c946ad643f7f140cbedf095773de3f | [
"MIT"
] | null | null | null | from app import create_app
from config import config, blog_config
app = create_app(config, blog_config)
| 17.666667 | 38 | 0.811321 | 17 | 106 | 4.823529 | 0.352941 | 0.219512 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 39 | 21.2 | 0.901099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c5b6592193f186d7272b9bbc85b01ac42d5989b | 29,962 | py | Python | vault/tests/test_vault.py | tdimnet/integrations-core | a78133a3b71a1b8377fa214d121a98647031ab06 | [
"BSD-3-Clause"
] | 663 | 2016-08-23T05:23:45.000Z | 2022-03-29T00:37:23.000Z | vault/tests/test_vault.py | tdimnet/integrations-core | a78133a3b71a1b8377fa214d121a98647031ab06 | [
"BSD-3-Clause"
] | 6,642 | 2016-06-09T16:29:20.000Z | 2022-03-31T22:24:09.000Z | vault/tests/test_vault.py | tdimnet/integrations-core | a78133a3b71a1b8377fa214d121a98647031ab06 | [
"BSD-3-Clause"
] | 1,222 | 2017-01-27T15:51:38.000Z | 2022-03-31T18:17:51.000Z | # (C) Datadog, Inc. 2018-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
import re
import mock
import pytest
import requests
from datadog_checks.dev.http import MockResponse
from datadog_checks.dev.utils import get_metadata_metrics
from datadog_checks.vault import Vault
from ... | 43.868228 | 120 | 0.59215 | 3,259 | 29,962 | 5.160479 | 0.081006 | 0.056903 | 0.031514 | 0.056606 | 0.848615 | 0.817874 | 0.792603 | 0.758116 | 0.739089 | 0.723332 | 0 | 0.025741 | 0.301148 | 29,962 | 682 | 121 | 43.932551 | 0.777449 | 0.023964 | 0 | 0.655678 | 0 | 0 | 0.179009 | 0.068886 | 0 | 0 | 0 | 0 | 0.144689 | 1 | 0.076923 | false | 0 | 0.018315 | 0 | 0.155678 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.