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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cc5569a8a9c9037e5b3728e213e2d0c80c4e873e | 25 | py | Python | src/lib/__init__.py | ueffel/keypirinha-allmygames | 3ef8f641cec9d2165fbafcc7224f65d3fab1089a | [
"MIT"
] | 9 | 2020-05-31T11:13:52.000Z | 2021-09-23T14:26:42.000Z | src/lib/__init__.py | ueffel/keypirinha-allmygames | 3ef8f641cec9d2165fbafcc7224f65d3fab1089a | [
"MIT"
] | 9 | 2020-05-31T11:55:10.000Z | 2022-01-22T11:22:55.000Z | src/lib/__init__.py | ueffel/keypirinha-allmygames | 3ef8f641cec9d2165fbafcc7224f65d3fab1089a | [
"MIT"
] | 1 | 2020-09-11T17:40:51.000Z | 2020-09-11T17:40:51.000Z | from .steam import Steam
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 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 |
cc5bac568ec9e9c7466e7d8d6cde2b57d9041b78 | 26 | py | Python | agent/sensor/__init__.py | intelligent-control-lab/Composable_Agent_Toolbox | 39d71cdc0475ae6901cb30b63d181737bea35889 | [
"MIT"
] | 4 | 2020-10-20T14:30:09.000Z | 2022-02-19T23:46:04.000Z | agent/sensor/__init__.py | intelligent-control-lab/Composable_Agent_Toolbox | 39d71cdc0475ae6901cb30b63d181737bea35889 | [
"MIT"
] | null | null | null | agent/sensor/__init__.py | intelligent-control-lab/Composable_Agent_Toolbox | 39d71cdc0475ae6901cb30b63d181737bea35889 | [
"MIT"
] | 1 | 2022-03-12T10:46:38.000Z | 2022-03-12T10:46:38.000Z | from .sensor import Sensor | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 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 |
cc6a0557624c5878181ad647171486e965d7e4cb | 100 | py | Python | kipoi/external/related/__init__.py | bfclarke/kipoi | 992b41eee8e35b39ae61262d988db974d8583759 | [
"MIT"
] | 213 | 2018-03-13T17:25:32.000Z | 2022-03-07T15:29:29.000Z | kipoi/external/related/__init__.py | bfclarke/kipoi | 992b41eee8e35b39ae61262d988db974d8583759 | [
"MIT"
] | 317 | 2018-03-14T11:03:57.000Z | 2022-03-31T17:48:54.000Z | kipoi/external/related/__init__.py | bfclarke/kipoi | 992b41eee8e35b39ae61262d988db974d8583759 | [
"MIT"
] | 44 | 2018-03-13T17:44:34.000Z | 2022-01-10T08:14:49.000Z | from kipoi_utils.external.related import * # backward comp
from . import mixins
from . import fields | 33.333333 | 58 | 0.8 | 14 | 100 | 5.642857 | 0.714286 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 100 | 3 | 59 | 33.333333 | 0.918605 | 0.13 | 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 |
cc7d399a69cc932e4997d3a9feb524f4913ade8e | 146 | py | Python | signups/utils.py | City-of-Helsinki/open-city-signups | 3c36d3c1cba6f6fc85deadc54fb49a4318f4b1d4 | [
"MIT"
] | null | null | null | signups/utils.py | City-of-Helsinki/open-city-signups | 3c36d3c1cba6f6fc85deadc54fb49a4318f4b1d4 | [
"MIT"
] | 10 | 2018-05-15T12:29:07.000Z | 2020-06-05T19:20:34.000Z | signups/utils.py | City-of-Helsinki/opencity-signups | 3c36d3c1cba6f6fc85deadc54fb49a4318f4b1d4 | [
"MIT"
] | 1 | 2018-05-15T10:47:45.000Z | 2018-05-15T10:47:45.000Z | from django.utils import formats, timezone
def localize_datetime(dt):
return formats.date_format(timezone.localtime(dt), 'DATETIME_FORMAT')
| 24.333333 | 73 | 0.794521 | 19 | 146 | 5.947368 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 146 | 5 | 74 | 29.2 | 0.869231 | 0 | 0 | 0 | 0 | 0 | 0.10274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
cc92c6a7a3ff3af69dea9d701bc21b05c26eeb2a | 7,132 | py | Python | tests/utils/test_df_reindex.py | motleystate/moonstone | 37c38fabf361722f7002626ef13c68c443ace4ac | [
"MIT"
] | null | null | null | tests/utils/test_df_reindex.py | motleystate/moonstone | 37c38fabf361722f7002626ef13c68c443ace4ac | [
"MIT"
] | 84 | 2020-07-27T13:01:12.000Z | 2022-03-16T17:10:23.000Z | tests/utils/test_df_reindex.py | motleystate/moonstone | 37c38fabf361722f7002626ef13c68c443ace4ac | [
"MIT"
] | null | null | null | from unittest import TestCase
import pandas as pd
from moonstone.utils.df_reindex import GenesToTaxonomy
class TestGenesToTaxonomy(TestCase):
def test_reindex_with_taxonomy(self):
df = pd.DataFrame(
[
[23, 7],
[15, 4],
],
columns=['sam... | 40.067416 | 120 | 0.531969 | 616 | 7,132 | 5.766234 | 0.159091 | 0.037162 | 0.070383 | 0.112613 | 0.905687 | 0.891047 | 0.891047 | 0.884854 | 0.83643 | 0.82348 | 0 | 0.024919 | 0.347308 | 7,132 | 177 | 121 | 40.293785 | 0.738131 | 0.033511 | 0 | 0.603659 | 0 | 0 | 0.194537 | 0 | 0 | 0 | 0 | 0 | 0.030488 | 1 | 0.02439 | false | 0 | 0.018293 | 0 | 0.04878 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ccba47fc57350431d1be8b2239757900d9dab334 | 2,015 | py | Python | tests/cases/resources/tests/preview.py | rysdyk/serrano | 926d874b19efdd18e359d32bca601058b655b288 | [
"BSD-2-Clause"
] | null | null | null | tests/cases/resources/tests/preview.py | rysdyk/serrano | 926d874b19efdd18e359d32bca601058b655b288 | [
"BSD-2-Clause"
] | null | null | null | tests/cases/resources/tests/preview.py | rysdyk/serrano | 926d874b19efdd18e359d32bca601058b655b288 | [
"BSD-2-Clause"
] | 1 | 2020-01-16T15:26:37.000Z | 2020-01-16T15:26:37.000Z | import json
from django.contrib.auth.models import User
from django.test import TestCase
class PreviewResourceTestCase(TestCase):
def test_get(self):
response = self.client.get('/api/data/preview/',
HTTP_ACCEPT='application/json')
self.assertEqual(response.status_code, 200)
sel... | 34.152542 | 82 | 0.496278 | 186 | 2,015 | 5.252688 | 0.290323 | 0.042989 | 0.085977 | 0.122825 | 0.755374 | 0.755374 | 0.755374 | 0.755374 | 0.755374 | 0.755374 | 0 | 0.018391 | 0.352357 | 2,015 | 58 | 83 | 34.741379 | 0.730268 | 0 | 0 | 0.740741 | 0 | 0 | 0.27196 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.037037 | false | 0.037037 | 0.055556 | 0 | 0.111111 | 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 |
ccd43ac780845a390394a262b73271626dc4cf9e | 4,319 | py | Python | toshi/test/test_validation.py | IceExchange/ice-services-lib | 67a304ed4be183ed4b521624fc48be67936d141e | [
"MIT"
] | null | null | null | toshi/test/test_validation.py | IceExchange/ice-services-lib | 67a304ed4be183ed4b521624fc48be67936d141e | [
"MIT"
] | null | null | null | toshi/test/test_validation.py | IceExchange/ice-services-lib | 67a304ed4be183ed4b521624fc48be67936d141e | [
"MIT"
] | null | null | null | import unittest
from toshi import utils
class TestValidation(unittest.TestCase):
def test_validate_address(self):
self.assertTrue(utils.validate_address("0x056db290f8ba3250ca64a45d16284d04bc6f5fbf"))
self.assertTrue(utils.validate_address(u"0x056db290f8ba3250ca64a45d16284d04bc6f5fbf"))
s... | 59.164384 | 186 | 0.782125 | 394 | 4,319 | 8.317259 | 0.104061 | 0.206286 | 0.201404 | 0.281965 | 0.805005 | 0.606958 | 0.217577 | 0.140983 | 0.111077 | 0.111077 | 0 | 0.205209 | 0.119935 | 4,319 | 72 | 187 | 59.986111 | 0.656932 | 0 | 0 | 0 | 0 | 0 | 0.212086 | 0.179903 | 0 | 0 | 0.174114 | 0 | 0.866667 | 1 | 0.083333 | false | 0 | 0.033333 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
ccd52b38ce025e9f08a5ee67412f7a4dd5fc8e4c | 43,194 | py | Python | test/unit/test_discovery_v1.py | SamArtGS/python-sdk | 7be6a4fe75d4a9fd365ef626d6289c0dc8457f3a | [
"Apache-2.0"
] | 1 | 2018-10-04T19:13:44.000Z | 2018-10-04T19:13:44.000Z | test/unit/test_discovery_v1.py | SamArtGS/python-sdk | 7be6a4fe75d4a9fd365ef626d6289c0dc8457f3a | [
"Apache-2.0"
] | null | null | null | test/unit/test_discovery_v1.py | SamArtGS/python-sdk | 7be6a4fe75d4a9fd365ef626d6289c0dc8457f3a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
import responses
import os
import json
import io
import watson_developer_cloud
from watson_developer_cloud.discovery_v1 import TrainingDataSet, TrainingQuery, TrainingExample
try:
from urllib.parse import urlparse, urljoin
except ImportError:
from urlparse import urlparse, urljoin
base_discove... | 38.394667 | 124 | 0.561467 | 4,076 | 43,194 | 5.714671 | 0.083415 | 0.038123 | 0.049586 | 0.055811 | 0.834543 | 0.809986 | 0.785687 | 0.758468 | 0.717726 | 0.679475 | 0 | 0.039955 | 0.327268 | 43,194 | 1,124 | 125 | 38.428826 | 0.761649 | 0.008404 | 0 | 0.642173 | 0 | 0.001065 | 0.195316 | 0.057633 | 0 | 0 | 0 | 0 | 0.074547 | 1 | 0.029819 | false | 0.033014 | 0.009585 | 0 | 0.039404 | 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 |
aedc787aa97030d8f7e06766db9c1d56efbfd2e7 | 50 | py | Python | utils/models/mednet/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | 3 | 2022-01-18T19:25:46.000Z | 2022-02-05T18:53:24.000Z | utils/models/mednet/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | utils/models/mednet/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | from .model import ResNetMed3D, generate_resnet3d
| 25 | 49 | 0.86 | 6 | 50 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.1 | 50 | 1 | 50 | 50 | 0.888889 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aee88a4a34f7144d332e64bec192000ba1dd558c | 75 | py | Python | aspirelt/web.py | Constructionware/aspireLight | 352f6c29d8656fd2ab94d26af930f7e6f08107eb | [
"MIT"
] | 1 | 2022-01-20T04:15:27.000Z | 2022-01-20T04:15:27.000Z | aspirelt/web.py | Constructionware/aspireLight | 352f6c29d8656fd2ab94d26af930f7e6f08107eb | [
"MIT"
] | null | null | null | aspirelt/web.py | Constructionware/aspireLight | 352f6c29d8656fd2ab94d26af930f7e6f08107eb | [
"MIT"
] | null | null | null |
from aspire.responder import Request, Response
from aspire.cli import cli
| 18.75 | 46 | 0.826667 | 11 | 75 | 5.636364 | 0.636364 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 75 | 3 | 47 | 25 | 0.953846 | 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 |
aef8fd6aaaa32b43da38cdfd1492062ad0ce013f | 1,067 | py | Python | venv/lib/python2.7/UserDict.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | venv/lib/python2.7/UserDict.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | venv/lib/python2.7/UserDict.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | XSym
0036
abe4795be07b15cd20865ad8b8bcbc67
/anaconda2/lib/python2.7/UserDict.py
... | 213.4 | 987 | 0.065604 | 9 | 1,067 | 7.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0.928772 | 1,067 | 5 | 987 | 213.4 | 0.605263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d198cfde5cdb658ad9f981722e28454bb7558acd | 113 | py | Python | tests/contrib/django/models.py | ascan-io/raven-python | 5b3f48c66269993a0202cfc988750e5fe66e0c00 | [
"BSD-3-Clause"
] | 1,108 | 2015-01-02T01:20:00.000Z | 2022-03-09T02:22:40.000Z | tests/contrib/django/models.py | nvllsvm/raven-python | c4403f21973138cd20cf9c005da4fb934836d76e | [
"BSD-3-Clause"
] | 698 | 2015-01-04T11:12:57.000Z | 2022-01-22T08:07:51.000Z | tests/contrib/django/models.py | nvllsvm/raven-python | c4403f21973138cd20cf9c005da4fb934836d76e | [
"BSD-3-Clause"
] | 486 | 2015-01-04T09:00:33.000Z | 2022-03-09T02:37:18.000Z | from __future__ import absolute_import
from django.db import models
class MyTestModel(models.Model):
pass
| 14.125 | 38 | 0.79646 | 15 | 113 | 5.666667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159292 | 113 | 7 | 39 | 16.142857 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d1ed2c242ae5136ef994c040564a36738c2095c1 | 332 | py | Python | djangomaster/master/__init__.py | kpekepoh/django-aww | f18dc11474b856bd70bb8dbc3acf39be6ea881d0 | [
"MIT"
] | null | null | null | djangomaster/master/__init__.py | kpekepoh/django-aww | f18dc11474b856bd70bb8dbc3acf39be6ea881d0 | [
"MIT"
] | 7 | 2015-01-19T07:25:33.000Z | 2015-01-20T02:04:34.000Z | djangomaster/master/__init__.py | kpekepoh/django-aww | f18dc11474b856bd70bb8dbc3acf39be6ea881d0 | [
"MIT"
] | null | null | null | from djangomaster.master.home import HomeView, SettingsView
from djangomaster.master.routes import RoutesView
from djangomaster.master.signals import SignalsView
from djangomaster.master.templatetags import TemplateTagsView
from djangomaster.master.migrations import MigrationsView
from djangomaster.master.models import... | 47.428571 | 61 | 0.885542 | 37 | 332 | 7.945946 | 0.459459 | 0.326531 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075301 | 332 | 6 | 62 | 55.333333 | 0.957655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 |
ae54fb6cd346a59f9c8ea069c07903a67d6b9cd7 | 32 | py | Python | __init__.py | Brayneded/vcoclient | 1a02231453adc1653f7ce2f4815c0129e6b932ed | [
"MIT"
] | null | null | null | __init__.py | Brayneded/vcoclient | 1a02231453adc1653f7ce2f4815c0129e6b932ed | [
"MIT"
] | null | null | null | __init__.py | Brayneded/vcoclient | 1a02231453adc1653f7ce2f4815c0129e6b932ed | [
"MIT"
] | 1 | 2020-11-27T20:03:16.000Z | 2020-11-27T20:03:16.000Z | from .vcoclient import VcoClient | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 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 |
ae6d5ac57660ba795af491812a8e5d4fae7361f8 | 62 | py | Python | tests/tests_utilities/micro_mock.py | ComaszTyrulik/BasicCppSetupScripts | e221110de5e3fd9c173bda61e5eec46e9753ea17 | [
"MIT"
] | null | null | null | tests/tests_utilities/micro_mock.py | ComaszTyrulik/BasicCppSetupScripts | e221110de5e3fd9c173bda61e5eec46e9753ea17 | [
"MIT"
] | null | null | null | tests/tests_utilities/micro_mock.py | ComaszTyrulik/BasicCppSetupScripts | e221110de5e3fd9c173bda61e5eec46e9753ea17 | [
"MIT"
] | 1 | 2021-03-10T12:15:36.000Z | 2021-03-10T12:15:36.000Z | def MicroMock(**kwargs):
return type('Object', (), kwargs)()
| 20.666667 | 36 | 0.645161 | 7 | 62 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 62 | 2 | 37 | 31 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ae86c07ed8e46ce20c4b5e5784c27e8c6da8b605 | 73 | py | Python | Deep_CNN_Project/hi.py | yjun1806/find_receipe | 8489fe8211de0fae96b9298fa4a435883cbd3da7 | [
"MIT"
] | null | null | null | Deep_CNN_Project/hi.py | yjun1806/find_receipe | 8489fe8211de0fae96b9298fa4a435883cbd3da7 | [
"MIT"
] | null | null | null | Deep_CNN_Project/hi.py | yjun1806/find_receipe | 8489fe8211de0fae96b9298fa4a435883cbd3da7 | [
"MIT"
] | null | null | null | import train_util
train_util.print_model_architecture('inception_v3')
| 12.166667 | 51 | 0.849315 | 10 | 73 | 5.7 | 0.8 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.082192 | 73 | 5 | 52 | 14.6 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
888255e9ee3ca414acb23450fc6d33926fa4594a | 44 | py | Python | itscsapp/contact/models/__init__.py | danyRivC/itscsapp | 485309f41f477fcebf66899740a0b4a954f4b98b | [
"MIT"
] | null | null | null | itscsapp/contact/models/__init__.py | danyRivC/itscsapp | 485309f41f477fcebf66899740a0b4a954f4b98b | [
"MIT"
] | null | null | null | itscsapp/contact/models/__init__.py | danyRivC/itscsapp | 485309f41f477fcebf66899740a0b4a954f4b98b | [
"MIT"
] | null | null | null | from itscsapp.contact.models import contact
| 22 | 43 | 0.863636 | 6 | 44 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 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 |
ee44935c916e0d7324603075e6ec821ad87a7177 | 11,499 | py | Python | test/sphere_performance_plots.py | jglrxavpok/shape-fitting | cf5a159f8bd97a30e2389b0ef2fe271f5a237685 | [
"MIT"
] | 3 | 2018-03-23T12:58:42.000Z | 2020-11-16T14:09:31.000Z | test/sphere_performance_plots.py | jglrxavpok/shape-fitting | cf5a159f8bd97a30e2389b0ef2fe271f5a237685 | [
"MIT"
] | null | null | null | test/sphere_performance_plots.py | jglrxavpok/shape-fitting | cf5a159f8bd97a30e2389b0ef2fe271f5a237685 | [
"MIT"
] | 3 | 2020-01-12T07:17:06.000Z | 2020-04-03T03:06:25.000Z | #
# Copyright (C) 2018 Rui Pimentel de Figueiredo
#
# 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 appli... | 46.743902 | 208 | 0.814419 | 1,761 | 11,499 | 4.961386 | 0.128904 | 0.059174 | 0.088589 | 0.059517 | 0.816527 | 0.783221 | 0.739499 | 0.721873 | 0.714776 | 0.680783 | 0 | 0.021412 | 0.057744 | 11,499 | 245 | 209 | 46.934694 | 0.784956 | 0.096182 | 0 | 0.379085 | 0 | 0 | 0.102023 | 0.039977 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006536 | false | 0 | 0.03268 | 0 | 0.052288 | 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 |
ee5f80a2b7b1a955e1a677bde04a9cee64029dc5 | 4,187 | py | Python | scripts/deployment/liquidity-mining/addETHPoolToken.py | spiyer99/Sovryn-smart-contracts | f0d5059f0e71096801683f3fe310d262b27c5997 | [
"Apache-2.0"
] | 1 | 2021-06-07T17:12:56.000Z | 2021-06-07T17:12:56.000Z | scripts/deployment/liquidity-mining/addETHPoolToken.py | 1Crazymoney/Sovryn-smart-contracts | 308e7a82f857a8dbb0f7e789717de33be08189ec | [
"Apache-2.0"
] | null | null | null | scripts/deployment/liquidity-mining/addETHPoolToken.py | 1Crazymoney/Sovryn-smart-contracts | 308e7a82f857a8dbb0f7e789717de33be08189ec | [
"Apache-2.0"
] | null | null | null |
'''
This script serves the purpose of interacting with existing smart contracts on the testnet or mainnet.
'''
from brownie import *
from brownie.network.contract import InterfaceContainer
import json
import time;
import copy
def main():
#load the contracts and acct depending on the network
loadConfig()... | 44.542553 | 141 | 0.729162 | 498 | 4,187 | 5.957831 | 0.214859 | 0.131446 | 0.060667 | 0.070104 | 0.800472 | 0.795416 | 0.77789 | 0.758342 | 0.73576 | 0.687563 | 0 | 0.019646 | 0.149033 | 4,187 | 93 | 142 | 45.021505 | 0.813079 | 0.114402 | 0 | 0.552239 | 0 | 0 | 0.200108 | 0.086768 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074627 | false | 0 | 0.074627 | 0 | 0.149254 | 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 |
ee6160f62e8f157321dea49505c25b6606d7b0cb | 44,090 | py | Python | Chapter4/Python Code/SOProblems_OT.py | kadenP/TheRoleOfBuildingsInAChangingEnvironmentalEra_PleweMSThesis | e8a8420f51d852ad48125d600c1527e923f0a4e7 | [
"MIT"
] | null | null | null | Chapter4/Python Code/SOProblems_OT.py | kadenP/TheRoleOfBuildingsInAChangingEnvironmentalEra_PleweMSThesis | e8a8420f51d852ad48125d600c1527e923f0a4e7 | [
"MIT"
] | null | null | null | Chapter4/Python Code/SOProblems_OT.py | kadenP/TheRoleOfBuildingsInAChangingEnvironmentalEra_PleweMSThesis | e8a8420f51d852ad48125d600c1527e923f0a4e7 | [
"MIT"
] | null | null | null | '''
Kaden Plewe
3/5/2019
Optimization Model for SEB Single Thermal Zone Building
This will define an optimization problem based on the small office EnergyPlus model. It will be passed into
the optimization algorithm directly.
idf location: C:\Users\Owner\OneDrive\Research\Masters Thesis\Open Studio\Building Mod... | 60.48011 | 154 | 0.605693 | 5,520 | 44,090 | 4.669565 | 0.086957 | 0.058038 | 0.094972 | 0.094972 | 0.752211 | 0.75128 | 0.743327 | 0.73615 | 0.713726 | 0.669111 | 0 | 0.061077 | 0.266591 | 44,090 | 728 | 155 | 60.563187 | 0.735867 | 0.028238 | 0 | 0.306773 | 0 | 0 | 0.310408 | 0.196333 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.01992 | null | null | 0.027888 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ee79b1cea42968ae6299c692568e7413559fa013 | 60 | py | Python | src/models/__init__.py | cedricfarinazzo/ichronos.py | ae39dfce7e3e9b1b213e019e726da1145b604ae0 | [
"MIT"
] | null | null | null | src/models/__init__.py | cedricfarinazzo/ichronos.py | ae39dfce7e3e9b1b213e019e726da1145b604ae0 | [
"MIT"
] | null | null | null | src/models/__init__.py | cedricfarinazzo/ichronos.py | ae39dfce7e3e9b1b213e019e726da1145b604ae0 | [
"MIT"
] | null | null | null | from .week import *
from .day import *
from .lesson import * | 20 | 21 | 0.716667 | 9 | 60 | 4.777778 | 0.555556 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 60 | 3 | 21 | 20 | 0.877551 | 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 |
ee79e278f84bbb1aa002b4b1c0de07c67f094969 | 232 | py | Python | RandomQueryProcessing/UseCaseApp/serializers.py | harshitmohanpandey/RandomQueryProcessing | 4e7e381a48a0a0eed2036b0db8dd889f16d8d81e | [
"MIT"
] | null | null | null | RandomQueryProcessing/UseCaseApp/serializers.py | harshitmohanpandey/RandomQueryProcessing | 4e7e381a48a0a0eed2036b0db8dd889f16d8d81e | [
"MIT"
] | 7 | 2020-06-05T23:50:29.000Z | 2022-02-10T10:23:18.000Z | RandomQueryProcessing/UseCaseApp/serializers.py | harshitmohanpandey/RandomQueryProcessing | 4e7e381a48a0a0eed2036b0db8dd889f16d8d81e | [
"MIT"
] | null | null | null | from rest_framework import serializers
class UseCaseData(serializers.Serializer):
date = serializers.CharField()
group_by_columns = serializers.CharField(max_length=200)
sortorder = serializers.CharField(max_length=200) | 38.666667 | 60 | 0.806034 | 26 | 232 | 7 | 0.653846 | 0.32967 | 0.252747 | 0.318681 | 0.351648 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029268 | 0.116379 | 232 | 6 | 61 | 38.666667 | 0.858537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ee800cae83af2df821c5e36f7d04627c9023cd4d | 94 | py | Python | applications/MeshMovingApplication/trilinos_extension/TrilinosExtension.py | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 778 | 2017-01-27T16:29:17.000Z | 2022-03-30T03:01:51.000Z | applications/MeshMovingApplication/trilinos_extension/TrilinosExtension.py | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 6,634 | 2017-01-15T22:56:13.000Z | 2022-03-31T15:03:36.000Z | applications/MeshMovingApplication/trilinos_extension/TrilinosExtension.py | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 224 | 2017-02-07T14:12:49.000Z | 2022-03-06T23:09:34.000Z | import KratosMultiphysics.TrilinosApplication
from KratosMeshMovingTrilinosExtension import *
| 31.333333 | 47 | 0.914894 | 6 | 94 | 14.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 94 | 2 | 48 | 47 | 0.977273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a006b59688e84e249ebfa27a40b1729d80f9886e | 190 | py | Python | samplePKG/tests/test_module1.py | matthewkirby/sampleCodeRepo | 475ac7e5e8dc9af404a5b2e988c43f03b2d3f624 | [
"MIT"
] | null | null | null | samplePKG/tests/test_module1.py | matthewkirby/sampleCodeRepo | 475ac7e5e8dc9af404a5b2e988c43f03b2d3f624 | [
"MIT"
] | null | null | null | samplePKG/tests/test_module1.py | matthewkirby/sampleCodeRepo | 475ac7e5e8dc9af404a5b2e988c43f03b2d3f624 | [
"MIT"
] | null | null | null | import samplePKG as s
def testAdd():
assert s.myAdd(1,2)==3
assert s.myAdd(5,6)==11
def testSub():
assert s.mySub(2,1)==1
assert s.mySub(1,2)==1
assert s.mySub(2,2)==0
| 17.272727 | 27 | 0.6 | 38 | 190 | 3 | 0.447368 | 0.307018 | 0.315789 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 0.210526 | 190 | 10 | 28 | 19 | 0.653333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.625 | 1 | 0.25 | true | 0 | 0.125 | 0 | 0.375 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4e6107ea70f34d617c6ce4ac64935c2eede292a2 | 34 | py | Python | xdrawio/features/__init__.py | huuhoa/xdrawio | 9d5baaa1c4af539a08095ae4edcce3ed1201267e | [
"MIT"
] | null | null | null | xdrawio/features/__init__.py | huuhoa/xdrawio | 9d5baaa1c4af539a08095ae4edcce3ed1201267e | [
"MIT"
] | 1 | 2020-05-29T08:41:23.000Z | 2020-05-29T08:41:23.000Z | xdrawio/features/__init__.py | huuhoa/xdrawio | 9d5baaa1c4af539a08095ae4edcce3ed1201267e | [
"MIT"
] | null | null | null | from .dataloader import read_data
| 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 |
4e907a20cd11b6befc9da949df92c6cd7fafa8f5 | 30 | py | Python | m3_light/data/__init__.py | matteocereda/RNAmotifs | dc1498e867e84ed19322920d7b0299939fa613b5 | [
"MIT"
] | 7 | 2016-03-11T13:53:34.000Z | 2021-04-11T14:58:04.000Z | m3_light/data/__init__.py | matteocereda/RNAmotifs | dc1498e867e84ed19322920d7b0299939fa613b5 | [
"MIT"
] | 1 | 2018-09-30T07:28:59.000Z | 2018-10-23T07:06:38.000Z | m3_light/data/__init__.py | matteocereda/RNAmotifs | dc1498e867e84ed19322920d7b0299939fa613b5 | [
"MIT"
] | 3 | 2016-12-16T07:49:25.000Z | 2020-04-07T05:35:01.000Z | # modules
from Fasta import *
| 10 | 19 | 0.733333 | 4 | 30 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 2 | 20 | 15 | 0.916667 | 0.233333 | 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 |
4e9cfc825ed5c6c7758bccd4c69826a0b208ff51 | 178 | py | Python | cakechat/utils/s3/utils.py | 4R7I5T/cakechat | 12060d50ee68ad59bc1b8efc247ed2d7dcc5fde7 | [
"Apache-2.0"
] | 1 | 2020-03-20T18:38:47.000Z | 2020-03-20T18:38:47.000Z | cakechat/utils/s3/utils.py | 4R7I5T/cakechat | 12060d50ee68ad59bc1b8efc247ed2d7dcc5fde7 | [
"Apache-2.0"
] | 64 | 2019-07-05T06:06:43.000Z | 2021-08-02T05:22:31.000Z | cakechat/utils/s3/utils.py | Spark3757/chatbot | 4e8eae70af2d5b68564d86b7ea0dbec956ae676f | [
"Apache-2.0"
] | 1 | 2018-10-14T04:14:41.000Z | 2018-10-14T04:14:41.000Z | import boto3
from botocore import UNSIGNED
from botocore.client import Config
def get_s3_resource():
return boto3.resource('s3', config=Config(signature_version=UNSIGNED))
| 22.25 | 74 | 0.803371 | 24 | 178 | 5.833333 | 0.583333 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025478 | 0.117978 | 178 | 7 | 75 | 25.428571 | 0.866242 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 0.2 | 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 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
4e9ff151658ebae7977d351c4aee9774c28d61a5 | 56 | py | Python | dew/__main__.py | jackoalan/dew | 22295c426e54e1289092eb5ca0eef9357f84e596 | [
"Apache-2.0"
] | 3 | 2017-08-20T20:39:16.000Z | 2019-05-14T00:28:39.000Z | dew/__main__.py | jackoalan/dew | 22295c426e54e1289092eb5ca0eef9357f84e596 | [
"Apache-2.0"
] | 6 | 2019-05-12T04:09:34.000Z | 2019-11-29T20:59:58.000Z | dew/__main__.py | jackoalan/dew | 22295c426e54e1289092eb5ca0eef9357f84e596 | [
"Apache-2.0"
] | 3 | 2019-02-09T17:16:32.000Z | 2020-03-25T16:25:58.000Z | from dew.cli import main_with_exit
main_with_exit()
| 14 | 35 | 0.785714 | 10 | 56 | 4 | 0.7 | 0.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 56 | 3 | 36 | 18.666667 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
ee9c9ffba9a51d7f0176d3ec85c5e57bfc0069bf | 81 | py | Python | py_tdlib/constructors/page_block_horizontal_alignment_left.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/page_block_horizontal_alignment_left.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/page_block_horizontal_alignment_left.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class pageBlockHorizontalAlignmentLeft(Type):
pass
| 13.5 | 45 | 0.814815 | 8 | 81 | 8.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 81 | 5 | 46 | 16.2 | 0.929577 | 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 |
ee9d5cc73373055728e3af50413486bf554326b6 | 88 | py | Python | rasa/nlu/classifiers/classifier.py | praneethgb/rasa | 5bf227f165d0b041a367d2c0bbf712ebb6a54792 | [
"Apache-2.0"
] | 37 | 2019-06-07T07:39:00.000Z | 2022-01-27T08:32:57.000Z | rasa/nlu/classifiers/classifier.py | alfredfrancis/rasa | d8d226408f20cc2563c3aefbccef3e364a447666 | [
"Apache-2.0"
] | 216 | 2020-09-20T13:05:58.000Z | 2022-03-28T12:10:24.000Z | rasa/nlu/classifiers/classifier.py | alfredfrancis/rasa | d8d226408f20cc2563c3aefbccef3e364a447666 | [
"Apache-2.0"
] | 65 | 2019-05-21T12:16:53.000Z | 2022-02-23T10:54:15.000Z | from rasa.nlu.components import Component
class IntentClassifier(Component):
pass
| 14.666667 | 41 | 0.795455 | 10 | 88 | 7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147727 | 88 | 5 | 42 | 17.6 | 0.933333 | 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 |
011f294612d4343d2439bb94ef5aaf3d5941beda | 6,782 | py | Python | dfdata/read_data.py | Eric2827/DFdata | 4db142232fc7127da3faae7c608772c72005cd25 | [
"MIT"
] | null | null | null | dfdata/read_data.py | Eric2827/DFdata | 4db142232fc7127da3faae7c608772c72005cd25 | [
"MIT"
] | null | null | null | dfdata/read_data.py | Eric2827/DFdata | 4db142232fc7127da3faae7c608772c72005cd25 | [
"MIT"
] | null | null | null |
import pandas as pd
from dfdata.util.log import Log
from dfdata.util.config import KeyWords
from dfdata.util import db_tool
from dfdata.util.func_tool import func_time
def return_function_read_date_table(data_kind, data_func_name):
"""
闭包,返回读取数据库函数
参数:
data_kind (str):数据种类,如'futures'
data_fu... | 32.763285 | 134 | 0.615895 | 836 | 6,782 | 4.629187 | 0.143541 | 0.072351 | 0.052713 | 0.039276 | 0.829974 | 0.792765 | 0.790698 | 0.778811 | 0.759173 | 0.759173 | 0 | 0.001555 | 0.241374 | 6,782 | 206 | 135 | 32.92233 | 0.750632 | 0.224418 | 0 | 0.666667 | 0 | 0 | 0.082397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.064103 | 0 | 0.166667 | 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 |
0147ed8bf23bf5427741de9a83c7fbc9fbe19922 | 34 | py | Python | processor/__init__.py | nguyenphan99/test | 75429497b0ca8b802803dd1518d0dc25a7fd4008 | [
"MIT"
] | null | null | null | processor/__init__.py | nguyenphan99/test | 75429497b0ca8b802803dd1518d0dc25a7fd4008 | [
"MIT"
] | null | null | null | processor/__init__.py | nguyenphan99/test | 75429497b0ca8b802803dd1518d0dc25a7fd4008 | [
"MIT"
] | null | null | null | from .processor import train_model | 34 | 34 | 0.882353 | 5 | 34 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.935484 | 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 |
014eea863ff249ce2a9bd9a92e67fe3f598c5256 | 948 | py | Python | iolanta/cli/pretty_print.py | octadocs/octadocs | 62f4340681f4e38ed961b58c5147a657363cae4d | [
"MIT"
] | 1 | 2021-11-19T22:48:27.000Z | 2021-11-19T22:48:27.000Z | iolanta/cli/pretty_print.py | octadocs/octadocs | 62f4340681f4e38ed961b58c5147a657363cae4d | [
"MIT"
] | 34 | 2020-12-27T11:49:08.000Z | 2021-10-05T04:58:54.000Z | iolanta/cli/pretty_print.py | octadocs/octadocs | 62f4340681f4e38ed961b58c5147a657363cae4d | [
"MIT"
] | null | null | null | from datetime import date
from typing import Union
from classes import typeclass
@typeclass
def render_literal_value(literal_value) -> str:
"""Render a literal value nicely for printing."""
@render_literal_value.instance(None)
def _render_none(literal_value: None) -> str:
return '∅ None'
@render_literal_... | 23.121951 | 57 | 0.741561 | 136 | 948 | 4.933824 | 0.264706 | 0.375559 | 0.187779 | 0.232489 | 0.226528 | 0.226528 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140295 | 948 | 40 | 58 | 23.7 | 0.814724 | 0.045359 | 0 | 0 | 0 | 0 | 0.10901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.291667 | false | 0 | 0.125 | 0.208333 | 0.666667 | 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 |
6d718cbaf42a6a571b4dbaf23ea16e5c5dc59cca | 259 | py | Python | deployment/colors.py | helix84/activae | 0e40bd71577f829b597bbf0931bbeb2c581ac410 | [
"BSD-3-Clause"
] | null | null | null | deployment/colors.py | helix84/activae | 0e40bd71577f829b597bbf0931bbeb2c581ac410 | [
"BSD-3-Clause"
] | null | null | null | deployment/colors.py | helix84/activae | 0e40bd71577f829b597bbf0931bbeb2c581ac410 | [
"BSD-3-Clause"
] | null | null | null | ESC = chr(27) + '['
RESET = '%s0m' % (ESC)
def green (s):
return ESC + '0;32m' + s + RESET
def red (s):
return ESC + '0;31m' + s + RESET
def yellow (s):
return ESC + '1;33m' + s + RESET
def blue (s):
return ESC + '0;34m' + s + RESET
| 17.266667 | 36 | 0.498069 | 42 | 259 | 3.071429 | 0.428571 | 0.217054 | 0.310078 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083799 | 0.30888 | 259 | 14 | 37 | 18.5 | 0.636872 | 0 | 0 | 0 | 0 | 0 | 0.096525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 0.8 | 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 |
6d981b2393c741dcf0dcf6e71be38ef3bf04c36f | 24 | py | Python | SPADE/models/network/architecture.py | kaijieshi7/oneflow_imaginaire | 51e90165eeb3e8b22be1bec0ed3f7deb7d87b482 | [
"Apache-2.0"
] | null | null | null | SPADE/models/network/architecture.py | kaijieshi7/oneflow_imaginaire | 51e90165eeb3e8b22be1bec0ed3f7deb7d87b482 | [
"Apache-2.0"
] | null | null | null | SPADE/models/network/architecture.py | kaijieshi7/oneflow_imaginaire | 51e90165eeb3e8b22be1bec0ed3f7deb7d87b482 | [
"Apache-2.0"
] | null | null | null | import oneflow as flow
| 8 | 22 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 2 | 23 | 12 | 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 |
6dda7679be71e1df8d4a91bdce3b646621d1300c | 96 | py | Python | venv/lib/python3.8/site-packages/future/types/newint.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/types/newint.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/types/newint.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/84/98/af/f6a503ae3975c647f334534bcda7ec44c3e815c44571ea22bd4cd521e9 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ddb5648b06de7281ff82bf5a106edcddcc4e402 | 12,604 | py | Python | test_fitapp.py | As-12/Fit-App-backend- | d95b07fdb1aed882d01d3a70b4b0f308374bf304 | [
"MIT"
] | null | null | null | test_fitapp.py | As-12/Fit-App-backend- | d95b07fdb1aed882d01d3a70b4b0f308374bf304 | [
"MIT"
] | null | null | null | test_fitapp.py | As-12/Fit-App-backend- | d95b07fdb1aed882d01d3a70b4b0f308374bf304 | [
"MIT"
] | null | null | null | import os
from datetime import datetime
import unittest
import json
from flask_sqlalchemy import SQLAlchemy
from main import app
from main import db
import http.client
API_PREFIX = "/api/v1"
CLIENT_SECRET = os.environ['CLIENT_SECRET']
CLIENT_ID = os.environ['CLIENT_ID']
class FitAppTestSuite(unittest.TestCase):
... | 31.828283 | 74 | 0.508013 | 1,181 | 12,604 | 5.27265 | 0.127858 | 0.052995 | 0.0925 | 0.149028 | 0.780151 | 0.770997 | 0.770516 | 0.770516 | 0.753814 | 0.711418 | 0 | 0.020207 | 0.363932 | 12,604 | 395 | 75 | 31.908861 | 0.756517 | 0.017455 | 0 | 0.729642 | 0 | 0 | 0.195807 | 0.051015 | 0 | 0 | 0 | 0 | 0.107492 | 1 | 0.055375 | false | 0.003257 | 0.026059 | 0 | 0.084691 | 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 |
6dfe264375cd69c323233c95b48b4075a6017cf3 | 4,840 | py | Python | pm_lookup/migrations/0001_initial.py | tommasosansone91/aqi_luftdaten | d78ffa562672095a9f9e8c763c2b021c41ed546b | [
"MIT"
] | null | null | null | pm_lookup/migrations/0001_initial.py | tommasosansone91/aqi_luftdaten | d78ffa562672095a9f9e8c763c2b021c41ed546b | [
"MIT"
] | 11 | 2020-06-06T01:39:10.000Z | 2021-06-09T17:47:07.000Z | pm_lookup/migrations/0001_initial.py | tommasosansone91/aqi_luftdaten | d78ffa562672095a9f9e8c763c2b021c41ed546b | [
"MIT"
] | null | null | null | # Generated by Django 2.2.8 on 2020-06-03 13:59
import django.contrib.postgres.fields
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.Cr... | 55 | 149 | 0.620455 | 504 | 4,840 | 5.660714 | 0.180556 | 0.059586 | 0.073607 | 0.093235 | 0.797406 | 0.775675 | 0.762005 | 0.762005 | 0.762005 | 0.721346 | 0 | 0.026761 | 0.243388 | 4,840 | 87 | 150 | 55.632184 | 0.752321 | 0.009298 | 0 | 0.55 | 1 | 0 | 0.208429 | 0.109117 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
09df2a67a35d55dab9ac1d6ce094e69c08291b69 | 115 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/nixi/phys/Phys_sigfox.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/nixi/phys/Phys_sigfox.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/nixi/phys/Phys_sigfox.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.parts.dumbo.phys.Phys_sigfox import PHYS_Sigfox
class PHYS_Sigfox_nixi(PHYS_Sigfox):
pass
| 23 | 66 | 0.826087 | 17 | 115 | 5.294118 | 0.588235 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 115 | 5 | 67 | 23 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
61d204707beb9fff5d7d0a8afba5ad2cac4b64b0 | 27,128 | py | Python | tests/valid_keys_rfc4716.py | cryptokeytools/python-cryptokeytools | ad733bfbfdf90d9e330adf0772f90accb93f4ecc | [
"BSD-3-Clause"
] | null | null | null | tests/valid_keys_rfc4716.py | cryptokeytools/python-cryptokeytools | ad733bfbfdf90d9e330adf0772f90accb93f4ecc | [
"BSD-3-Clause"
] | null | null | null | tests/valid_keys_rfc4716.py | cryptokeytools/python-cryptokeytools | ad733bfbfdf90d9e330adf0772f90accb93f4ecc | [
"BSD-3-Clause"
] | null | null | null | keys = [
['---- BEGIN SSH2 PUBLIC KEY ----\nComment: "1024-bit DSA, converted by ojarva from Ope"\nAAAAB3NzaC1kc3MAAACBAPlHIP5sD+T8/Sx1DGEiCzCXqpl7ww40jBg7wTkxu44OH6pNog\n5PjJt5M4NBULhKva/i+bhIM3ba+H1Or+aHWWFHACV6W2FCGk/k37ApRF8sIa4hsnN0P9qn\n6VfhbJKee+DBxa21WjjY/MZiljmJz7IQHx5RTxX9I/hJ7cL+aNmrAAAAFQCKteqc4IkgIr\nj... | 133.635468 | 2,971 | 0.81226 | 2,465 | 27,128 | 8.890467 | 0.398377 | 0.036505 | 0.047456 | 0.032854 | 0.177413 | 0.177413 | 0.146201 | 0.087018 | 0.005476 | 0.005476 | 0 | 0.152528 | 0.070518 | 27,128 | 202 | 2,972 | 134.29703 | 0.716597 | 0 | 0 | 0.207921 | 0 | 0.39604 | 0.913116 | 0.737541 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
11379aaed54e86f8be1a0e15498bb9d6d644743f | 41 | py | Python | src/component/__init__.py | KennFatt/Transact | 0c62bb5dbfa4e062662cd0216613522bed26d71e | [
"MIT"
] | null | null | null | src/component/__init__.py | KennFatt/Transact | 0c62bb5dbfa4e062662cd0216613522bed26d71e | [
"MIT"
] | null | null | null | src/component/__init__.py | KennFatt/Transact | 0c62bb5dbfa4e062662cd0216613522bed26d71e | [
"MIT"
] | null | null | null | from .hoveredbutton import HoveredButton
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 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 |
114700cef79a4c8eaf9b1fd6a1d28244e3b36553 | 290 | py | Python | src/zeep/xsd/__init__.py | ellethee/python-zeep | 356e12ba809e6b0cb476c6e5543a3e7353342e9c | [
"MIT"
] | 3 | 2018-11-26T16:17:03.000Z | 2021-09-27T12:36:51.000Z | src/zeep/xsd/__init__.py | ellethee/python-zeep | 356e12ba809e6b0cb476c6e5543a3e7353342e9c | [
"MIT"
] | null | null | null | src/zeep/xsd/__init__.py | ellethee/python-zeep | 356e12ba809e6b0cb476c6e5543a3e7353342e9c | [
"MIT"
] | 3 | 2018-11-26T16:17:07.000Z | 2022-02-25T06:38:06.000Z | """
zeep.xsd
--------
"""
from zeep.xsd.const import SkipValue # noqa
from zeep.xsd.elements import * # noqa
from zeep.xsd.schema import Schema # noqa
from zeep.xsd.types import * # noqa
from zeep.xsd.types.builtins import * # noqa
from zeep.xsd.valueobjects import * # noqa
| 24.166667 | 45 | 0.67931 | 41 | 290 | 4.804878 | 0.292683 | 0.248731 | 0.335025 | 0.380711 | 0.446701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 290 | 11 | 46 | 26.363636 | 0.838298 | 0.165517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
115366ff06d9f85a04965edac8def31679a8292e | 91 | py | Python | weakvtg/math.py | lparolari/weakvtg | e5d5f738ff0d916da8b31e967aa21f01fb74a906 | [
"RSA-MD",
"Info-ZIP"
] | null | null | null | weakvtg/math.py | lparolari/weakvtg | e5d5f738ff0d916da8b31e967aa21f01fb74a906 | [
"RSA-MD",
"Info-ZIP"
] | null | null | null | weakvtg/math.py | lparolari/weakvtg | e5d5f738ff0d916da8b31e967aa21f01fb74a906 | [
"RSA-MD",
"Info-ZIP"
] | null | null | null | def get_max(xs):
return max(xs)
def get_argmax(xs):
return xs.index(get_max(xs))
| 13 | 32 | 0.659341 | 17 | 91 | 3.352941 | 0.411765 | 0.263158 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197802 | 91 | 6 | 33 | 15.166667 | 0.780822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
116368a59b2173d460c1c636e90ef434d303b1fa | 39,227 | py | Python | mkigrf.py | percyd/Python-for-Earth-Science-Students | 24a105599391acbe9dc8efcb04051973881f6c72 | [
"CC-BY-4.0"
] | 71 | 2017-12-18T08:48:48.000Z | 2022-02-23T22:08:57.000Z | mkigrf.py | percyd/Python-for-Earth-Science-Students | 24a105599391acbe9dc8efcb04051973881f6c72 | [
"CC-BY-4.0"
] | null | null | null | mkigrf.py | percyd/Python-for-Earth-Science-Students | 24a105599391acbe9dc8efcb04051973881f6c72 | [
"CC-BY-4.0"
] | 37 | 2017-12-18T22:05:04.000Z | 2021-11-29T03:59:10.000Z | import numpy as np
def doigrf(long,lat,date):
"""
Calculates the interpolated (<2015) or extrapolated (>2015) main field and
secular variation coefficients and passes them to the Malin and Barraclough
routine (function pmag.magsyn) to calculate the field from the coefficients.
Parameters:
-----... | 151.455598 | 30,390 | 0.591072 | 7,253 | 39,227 | 3.194954 | 0.170964 | 0.152937 | 0.220731 | 0.288612 | 0.222241 | 0.16256 | 0.149527 | 0.11371 | 0.103914 | 0.10167 | 0 | 0.58642 | 0.192036 | 39,227 | 258 | 30,391 | 152.042636 | 0.144728 | 0.116935 | 0 | 0.055118 | 0 | 0 | 0.000815 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03937 | false | 0 | 0.007874 | 0 | 0.086614 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fec59320a9c1dfb6faa73f5395984acd7ebbd238 | 139 | py | Python | cemba_data/demultiplex/__init__.py | jksr/cemba_data | c796c33a2fd262b2ef893df1951a90b8d0ba9289 | [
"MIT"
] | 4 | 2018-11-13T21:50:57.000Z | 2020-11-25T18:42:57.000Z | cemba_data/demultiplex/__init__.py | jksr/cemba_data | c796c33a2fd262b2ef893df1951a90b8d0ba9289 | [
"MIT"
] | 9 | 2020-10-25T01:58:07.000Z | 2021-06-13T19:17:50.000Z | cemba_data/demultiplex/__init__.py | jksr/cemba_data | c796c33a2fd262b2ef893df1951a90b8d0ba9289 | [
"MIT"
] | 3 | 2018-12-29T23:30:25.000Z | 2020-10-14T18:00:03.000Z | from .plateinfo_and_samplesheet import print_plate_info, make_sample_sheet
from .demultiplex import demultiplex_pipeline, update_snakemake
| 46.333333 | 74 | 0.899281 | 18 | 139 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071942 | 139 | 2 | 75 | 69.5 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
fed79c24d0e942b5885da91678830398fe9516e2 | 1,774 | py | Python | constants.py | henbr/falling_blocks_game | b7ddb50910e029f8ddd51d62d485dac21984be8d | [
"MIT"
] | null | null | null | constants.py | henbr/falling_blocks_game | b7ddb50910e029f8ddd51d62d485dac21984be8d | [
"MIT"
] | null | null | null | constants.py | henbr/falling_blocks_game | b7ddb50910e029f8ddd51d62d485dac21984be8d | [
"MIT"
] | null | null | null | BASE_SPEED = 20 # Number of frames between moving the piece downward
LEVEL_SPEED_ADJUST = 1 # How much to increase speed for each level
LINES_PER_LEVEL = 10 # How many lines to clear to get to the next level
TILE_SIZE = 8
GAME_WIDTH = 10
GAME_HEIGHT = 20
GAME_TOP_TX = 11
GAME_TOP_TY = 2
GAME_TOP_X = TILE_SIZE * GAM... | 15.839286 | 72 | 0.26832 | 259 | 1,774 | 1.752896 | 0.19305 | 0.255507 | 0.171806 | 0.105727 | 0.385463 | 0.365639 | 0.310573 | 0.178414 | 0.077093 | 0.037445 | 0 | 0.222607 | 0.511274 | 1,774 | 111 | 73 | 15.981982 | 0.301038 | 0.087373 | 0 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3a0ef49791603be5a9470de1d2f12ba93ad10702 | 61 | py | Python | tests/bytecode/mp-tests/listcomp1.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 303 | 2015-07-11T17:12:55.000Z | 2018-01-08T03:02:37.000Z | tests/bytecode/mp-tests/listcomp1.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 13 | 2016-05-12T16:51:22.000Z | 2018-01-10T22:33:25.000Z | tests/bytecode/mp-tests/listcomp1.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 26 | 2018-01-18T09:15:33.000Z | 2022-02-07T13:09:14.000Z | x = (a for a in l)
f(a for a in l)
f(a + b for a, b in f())
| 12.2 | 24 | 0.47541 | 20 | 61 | 1.45 | 0.35 | 0.413793 | 0.344828 | 0.482759 | 0.655172 | 0.655172 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0.344262 | 61 | 4 | 25 | 15.25 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
3a47df3fe0c489f2771ebcbcf58ca6c137d94284 | 25,456 | py | Python | tests/test_core/test_create.py | jwcook23/mssql_dataframe | ba7191e1b159a0b1292bf6825fcdf1fe5ce7c496 | [
"MIT"
] | null | null | null | tests/test_core/test_create.py | jwcook23/mssql_dataframe | ba7191e1b159a0b1292bf6825fcdf1fe5ce7c496 | [
"MIT"
] | 18 | 2021-08-05T19:29:25.000Z | 2022-03-02T16:08:08.000Z | tests/test_core/test_create.py | jwcook23/mssql_dataframe | ba7191e1b159a0b1292bf6825fcdf1fe5ce7c496 | [
"MIT"
] | 1 | 2022-02-08T09:14:56.000Z | 2022-02-08T09:14:56.000Z | from datetime import datetime
import warnings
import pytest
import pandas as pd
import pyodbc
from mssql_dataframe.connect import connect
from mssql_dataframe.core import custom_warnings, conversion, create
pd.options.mode.chained_assignment = "raise"
class package:
def __init__(self, connection):
self.... | 36.005658 | 97 | 0.530013 | 2,686 | 25,456 | 4.806776 | 0.074832 | 0.040431 | 0.05809 | 0.037487 | 0.887848 | 0.865618 | 0.811401 | 0.774301 | 0.719851 | 0.696383 | 0 | 0.025549 | 0.33116 | 25,456 | 706 | 98 | 36.056657 | 0.732762 | 0.004871 | 0 | 0.673667 | 0 | 0 | 0.149885 | 0.01844 | 0 | 0 | 0 | 0 | 0.182553 | 1 | 0.03231 | false | 0 | 0.011309 | 0 | 0.04685 | 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 |
3a5687db17759bdb8914e8b67c3734cdd9bc35b8 | 667 | py | Python | src/spaceone/inventory/service/__init__.py | xellos00/inventory | e2831f2f09b5b72623f735a186264987d41954ab | [
"Apache-2.0"
] | 9 | 2020-06-04T23:01:38.000Z | 2021-06-03T03:38:59.000Z | src/spaceone/inventory/service/__init__.py | xellos00/inventory | e2831f2f09b5b72623f735a186264987d41954ab | [
"Apache-2.0"
] | 10 | 2020-08-20T01:34:30.000Z | 2022-03-14T04:59:48.000Z | src/spaceone/inventory/service/__init__.py | xellos00/inventory | e2831f2f09b5b72623f735a186264987d41954ab | [
"Apache-2.0"
] | 9 | 2020-06-08T22:03:02.000Z | 2021-12-06T06:12:30.000Z | from spaceone.inventory.service.region_service import RegionService
from spaceone.inventory.service.server_service import ServerService
from spaceone.inventory.service.collector_service import CollectorService
from spaceone.inventory.service.job_service import JobService
from spaceone.inventory.service.job_task_service... | 66.7 | 89 | 0.905547 | 77 | 667 | 7.662338 | 0.311688 | 0.183051 | 0.320339 | 0.427119 | 0.240678 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053973 | 667 | 9 | 90 | 74.111111 | 0.935024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 |
28b3b666936fc41c4051c7821a66cb8922aa6144 | 45 | py | Python | droput_authentication/droput_auth/config/__init__.py | hosein-yousefii/DROPUT | 99a714f03a92b14228a3691ca6568ece0f0ea48c | [
"Apache-2.0"
] | 2 | 2022-03-17T08:08:07.000Z | 2022-03-17T21:38:54.000Z | droput_authentication/droput_auth/config/__init__.py | hosein-yousefii/DROPUT | 99a714f03a92b14228a3691ca6568ece0f0ea48c | [
"Apache-2.0"
] | null | null | null | droput_authentication/droput_auth/config/__init__.py | hosein-yousefii/DROPUT | 99a714f03a92b14228a3691ca6568ece0f0ea48c | [
"Apache-2.0"
] | null | null | null | from droput_auth.config.config import Config
| 22.5 | 44 | 0.866667 | 7 | 45 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 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 |
28caf7771b7f75c0ee86fac9feba525e527bfa65 | 66 | py | Python | modes/left_cannon/code/left_cannon.py | GabeKnuth/STTNG | d9de356a72ca3850cc710e4c413a932450062a8a | [
"MIT"
] | null | null | null | modes/left_cannon/code/left_cannon.py | GabeKnuth/STTNG | d9de356a72ca3850cc710e4c413a932450062a8a | [
"MIT"
] | null | null | null | modes/left_cannon/code/left_cannon.py | GabeKnuth/STTNG | d9de356a72ca3850cc710e4c413a932450062a8a | [
"MIT"
] | null | null | null | from mpf.system.modes import Mode
class kickback(Mode):
pass
| 13.2 | 33 | 0.742424 | 10 | 66 | 4.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 4 | 34 | 16.5 | 0.907407 | 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 |
e93dd2c9198db885f95278594ee42ae6c3e19265 | 74 | py | Python | src/utils/metadata/__init__.py | SecureThemAll/cb-repair | 3d1d4422e9a9ab459641e1ca759e3b73887d2950 | [
"MIT"
] | null | null | null | src/utils/metadata/__init__.py | SecureThemAll/cb-repair | 3d1d4422e9a9ab459641e1ca759e3b73887d2950 | [
"MIT"
] | null | null | null | src/utils/metadata/__init__.py | SecureThemAll/cb-repair | 3d1d4422e9a9ab459641e1ca759e3b73887d2950 | [
"MIT"
] | null | null | null | from .manifest import *
from .snippet import *
from .source_file import *
| 18.5 | 26 | 0.756757 | 10 | 74 | 5.5 | 0.6 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 27 | 24.666667 | 0.887097 | 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 |
3aa5de4a87d58d7334aaf29bf1e7f67e21c8098e | 21 | py | Python | reinvent-2019/rhythm-cloud/lib/ABElectronics_Python_Libraries/ADCPi/__init__.py | kienpham2000/aws-builders-fair-projects | 6c4075c0945a6318b217355a6fc663e35ffb9dba | [
"Apache-2.0"
] | 2 | 2019-12-17T03:38:38.000Z | 2021-05-28T06:23:58.000Z | reinvent-2019/rhythm-cloud/lib/ABElectronics_Python_Libraries/ADCPi/__init__.py | kienpham2000/aws-builders-fair-projects | 6c4075c0945a6318b217355a6fc663e35ffb9dba | [
"Apache-2.0"
] | 8 | 2021-05-09T06:05:46.000Z | 2022-03-02T09:53:20.000Z | reinvent-2019/rhythm-cloud/lib/ABElectronics_Python_Libraries/ADCPi/__init__.py | kienpham2000/aws-builders-fair-projects | 6c4075c0945a6318b217355a6fc663e35ffb9dba | [
"Apache-2.0"
] | 3 | 2020-09-30T18:46:59.000Z | 2020-10-21T21:20:26.000Z | from .ADCPi import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 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 |
3ac0b459b5fe63ea8165259c2b617c8546c0db91 | 3,444 | py | Python | handler.py | garrettsummerfi3ld/adobe-rpc | 5084a44d924573ffd9650f2e969d51d5bced486f | [
"MIT"
] | 1 | 2020-05-16T23:38:20.000Z | 2020-05-16T23:38:20.000Z | handler.py | garrettsummerfi3ld/adobe-rpc | 5084a44d924573ffd9650f2e969d51d5bced486f | [
"MIT"
] | null | null | null | handler.py | garrettsummerfi3ld/adobe-rpc | 5084a44d924573ffd9650f2e969d51d5bced486f | [
"MIT"
] | null | null | null | import sys
import logging
def get_rpc_update():
# Grabs data from applications
logging.debug("Checking OS...")
if sys.platform in ['Windows', 'win32', 'cygwin']:
# Windows data retrieval
try:
logging.debug("Importing Windows specific modules...")
from api.windows imp... | 42 | 104 | 0.570557 | 360 | 3,444 | 5.283333 | 0.313889 | 0.073607 | 0.044164 | 0.033649 | 0.771819 | 0.771819 | 0.732913 | 0.732913 | 0.732913 | 0.732913 | 0 | 0.003095 | 0.343206 | 3,444 | 82 | 105 | 42 | 0.837754 | 0.149826 | 0 | 0.714286 | 0 | 0 | 0.257456 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.142857 | 0 | 0.214286 | 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 |
aae805c822d00cc4905f52f3ee9996134cc8d830 | 73 | py | Python | chosen/forms.py | TBP-IT/django-chosen | a64821251aabdbf95cdb8102bedf1a5574ee29d6 | [
"BSD-2-Clause"
] | null | null | null | chosen/forms.py | TBP-IT/django-chosen | a64821251aabdbf95cdb8102bedf1a5574ee29d6 | [
"BSD-2-Clause"
] | null | null | null | chosen/forms.py | TBP-IT/django-chosen | a64821251aabdbf95cdb8102bedf1a5574ee29d6 | [
"BSD-2-Clause"
] | null | null | null | # flake8: noqa
from chosen.fields import *
from chosen.widgets import *
| 14.6 | 28 | 0.753425 | 10 | 73 | 5.5 | 0.7 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.164384 | 73 | 4 | 29 | 18.25 | 0.885246 | 0.164384 | 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 |
aaf7cca4331195b9cf218be816102104f6471918 | 132 | py | Python | app/admin/__init__.py | SuYehTarn/CS651-Group8-Feedback_Forum | d1163442aea81214c4dfa8de1d353ec719bfa7ab | [
"MIT"
] | null | null | null | app/admin/__init__.py | SuYehTarn/CS651-Group8-Feedback_Forum | d1163442aea81214c4dfa8de1d353ec719bfa7ab | [
"MIT"
] | null | null | null | app/admin/__init__.py | SuYehTarn/CS651-Group8-Feedback_Forum | d1163442aea81214c4dfa8de1d353ec719bfa7ab | [
"MIT"
] | null | null | null | """Module of the Admin blueprint
"""
from flask import Blueprint
admin = Blueprint('admin', __name__)
from app.admin import views
| 16.5 | 36 | 0.75 | 18 | 132 | 5.277778 | 0.611111 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 7 | 37 | 18.857143 | 0.848214 | 0.219697 | 0 | 0 | 0 | 0 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
c91fa8b4f6b178ccaac389e739fe344201ef7d75 | 16,050 | py | Python | test/units/obfuscation/ps1/test_format.py | bronxc/refinery | 9448facf48a0008f27861dd1a5ee8f5218e6bb86 | [
"BSD-3-Clause"
] | 1 | 2022-02-13T20:57:15.000Z | 2022-02-13T20:57:15.000Z | test/units/obfuscation/ps1/test_format.py | bronxc/refinery | 9448facf48a0008f27861dd1a5ee8f5218e6bb86 | [
"BSD-3-Clause"
] | null | null | null | test/units/obfuscation/ps1/test_format.py | bronxc/refinery | 9448facf48a0008f27861dd1a5ee8f5218e6bb86 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from ... import TestUnitBase
class TestFormatString(TestUnitBase):
def setUp(self):
super().setUp()
self.unit = self.load()
def test_split_format_string(self):
self.assertEqual(self.unit(BR'''"{0}$SEP{1}"-f 'Hello',"World"'''), B'"Hello$... | 243.181818 | 4,573 | 0.641246 | 1,961 | 16,050 | 5.228455 | 0.381948 | 0.007022 | 0.006145 | 0.004291 | 0.077441 | 0.068468 | 0.058422 | 0.051595 | 0.051595 | 0.051595 | 0 | 0.126156 | 0.057196 | 16,050 | 65 | 4,574 | 246.923077 | 0.551414 | 0.002679 | 0 | 0.090909 | 0 | 0.159091 | 0.802531 | 0.597875 | 0 | 1 | 0 | 0 | 0.227273 | 1 | 0.25 | false | 0 | 0.022727 | 0 | 0.295455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c967e9c135d3c227788ffbbe32568c6d5080ce73 | 321 | py | Python | prof_school_fees/models/__init__.py | mohamedmelsayed/erp-school | 6da9bc4c4634e3b362be18f55300aacf147c32a3 | [
"MIT"
] | null | null | null | prof_school_fees/models/__init__.py | mohamedmelsayed/erp-school | 6da9bc4c4634e3b362be18f55300aacf147c32a3 | [
"MIT"
] | null | null | null | prof_school_fees/models/__init__.py | mohamedmelsayed/erp-school | 6da9bc4c4634e3b362be18f55300aacf147c32a3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
###############################################################################
#
# Copyright (C) 2021-TODAY Prof-Dev Integrated(<http://www.prof-dev.com>).
###############################################################################
# from . import fees_terms
from . import fees_element
... | 29.181818 | 79 | 0.327103 | 23 | 321 | 4.478261 | 0.782609 | 0.135922 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017123 | 0.090343 | 321 | 10 | 80 | 32.1 | 0.335616 | 0.380062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a39167e1ac2e466125ef39466c1cc39f4f6e65bc | 155 | py | Python | indy_node/server/req_handlers/config_req_handlers/pool_upgrade_handler.py | rantwijk/indy-node | 3cb77dab5482c8b721535020fec41506de819d2e | [
"Apache-2.0"
] | 1 | 2020-01-22T06:43:03.000Z | 2020-01-22T06:43:03.000Z | indy_node/server/req_handlers/config_req_handlers/pool_upgrade_handler.py | rantwijk/indy-node | 3cb77dab5482c8b721535020fec41506de819d2e | [
"Apache-2.0"
] | null | null | null | indy_node/server/req_handlers/config_req_handlers/pool_upgrade_handler.py | rantwijk/indy-node | 3cb77dab5482c8b721535020fec41506de819d2e | [
"Apache-2.0"
] | null | null | null | from plenum.server.request_handlers.handler_interfaces.write_request_handler import WriteRequestHandler
class PoolUpgrade(WriteRequestHandler):
pass
| 25.833333 | 103 | 0.870968 | 16 | 155 | 8.1875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083871 | 155 | 5 | 104 | 31 | 0.922535 | 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 |
6e91b20800ee5bc367aef45818f109c11b0acf21 | 120 | py | Python | passbook/core/admin.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | passbook/core/admin.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | passbook/core/admin.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | """passbook core model admin"""
from passbook.lib.admin import admin_autoregister
admin_autoregister("passbook_core")
| 20 | 49 | 0.808333 | 15 | 120 | 6.266667 | 0.533333 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091667 | 120 | 5 | 50 | 24 | 0.862385 | 0.208333 | 0 | 0 | 0 | 0 | 0.146067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
6eedafcefee18eb8dbcede389f60597447a91c2f | 33 | py | Python | OP-GAN/box_generation/seq2seq/evaluator/__init__.py | ts170/OP-GAN | b9a6227aaa7befa2025ea1f07e62e7a7e9c7ce1e | [
"MIT"
] | 34 | 2021-08-28T03:40:56.000Z | 2022-03-27T15:05:21.000Z | OP-GAN/box_generation/seq2seq/evaluator/__init__.py | ts170/OP-GAN | b9a6227aaa7befa2025ea1f07e62e7a7e9c7ce1e | [
"MIT"
] | 5 | 2021-09-02T09:33:22.000Z | 2022-03-23T03:15:56.000Z | OP-GAN/box_generation/seq2seq/evaluator/__init__.py | ts170/OP-GAN | b9a6227aaa7befa2025ea1f07e62e7a7e9c7ce1e | [
"MIT"
] | 5 | 2021-08-29T04:44:22.000Z | 2022-03-30T08:13:07.000Z | from .evaluator import Evaluator
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
42ddee8b21fe0b82d44bc5628b194b4f6f5949fb | 58 | py | Python | bceutils/__init__.py | AmorosTech/baidu-bceutils | f924d5e84c2f2e5b1aae8f1e3648041ee0a18ce1 | [
"Apache-2.0"
] | null | null | null | bceutils/__init__.py | AmorosTech/baidu-bceutils | f924d5e84c2f2e5b1aae8f1e3648041ee0a18ce1 | [
"Apache-2.0"
] | null | null | null | bceutils/__init__.py | AmorosTech/baidu-bceutils | f924d5e84c2f2e5b1aae8f1e3648041ee0a18ce1 | [
"Apache-2.0"
] | null | null | null | #
import bceutils.eip.eipbp
import bceutils.eip.eipgroup
| 11.6 | 28 | 0.810345 | 8 | 58 | 5.875 | 0.625 | 0.595745 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 58 | 4 | 29 | 14.5 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
6e08ea7129da3b0683267924c58ebe11b4da0707 | 1,668 | py | Python | setup.py | xavierxeon/PythonPackage | c4216dc3a1019d18216d0d2f9645b4b96f699ecc | [
"MIT"
] | null | null | null | setup.py | xavierxeon/PythonPackage | c4216dc3a1019d18216d0d2f9645b4b96f699ecc | [
"MIT"
] | null | null | null | setup.py | xavierxeon/PythonPackage | c4216dc3a1019d18216d0d2f9645b4b96f699ecc | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import setuptools, platform
def main_apple_silicon():
with open("README.md", "r") as fh:
long_description = fh.read()
packages = setuptools.find_packages()
packages.remove('xxpystuff.pyside6') # needs pyside6
packages.remove('xxpystuff.media') # needs numpy and opencv
se... | 27.344262 | 82 | 0.657674 | 191 | 1,668 | 5.544503 | 0.403141 | 0.113314 | 0.071766 | 0.113314 | 0.721435 | 0.721435 | 0.721435 | 0.721435 | 0.721435 | 0.632672 | 0 | 0.01055 | 0.204436 | 1,668 | 60 | 83 | 27.8 | 0.787491 | 0.034772 | 0 | 0.708333 | 0 | 0 | 0.23771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.020833 | 0 | 0.0625 | 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 |
6e1a49509ea13a6f4c98ea514b92d96caf1e5184 | 220 | py | Python | tests/devices/eiger/test_eiger_monitor.py | dls-controls/tickit | 00bb013e69674bcfe4926f365ecb3c65c080abe8 | [
"Apache-2.0"
] | 4 | 2021-09-16T13:35:33.000Z | 2022-02-01T23:35:53.000Z | tests/devices/eiger/test_eiger_monitor.py | dls-controls/tickit | 00bb013e69674bcfe4926f365ecb3c65c080abe8 | [
"Apache-2.0"
] | 46 | 2021-09-16T13:44:58.000Z | 2022-02-02T13:42:56.000Z | tests/devices/eiger/test_eiger_monitor.py | dls-controls/tickit | 00bb013e69674bcfe4926f365ecb3c65c080abe8 | [
"Apache-2.0"
] | null | null | null | import pytest
from tickit.devices.eiger.monitor.eiger_monitor import EigerMonitor
@pytest.fixture
def filewriter() -> EigerMonitor:
return EigerMonitor()
def test_eiger_monitor_constructor():
EigerMonitor()
| 16.923077 | 67 | 0.786364 | 24 | 220 | 7.041667 | 0.583333 | 0.213018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131818 | 220 | 12 | 68 | 18.333333 | 0.884817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.285714 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
6e27b55f12e3ca0334c09180dfc7fe413d8b3b5a | 118 | py | Python | weld/numpy_weld/core/__init__.py | radujica/data-analysis-pipelines | 64a6e5613cb1ab2ba2eb2f763c2aa1e3bc5e0d3b | [
"MIT"
] | 5 | 2018-03-05T13:19:35.000Z | 2020-11-17T15:59:41.000Z | weld/numpy_weld/core/__init__.py | radujica/data-analysis-pipelines | 64a6e5613cb1ab2ba2eb2f763c2aa1e3bc5e0d3b | [
"MIT"
] | 1 | 2021-06-01T22:27:44.000Z | 2021-06-01T22:27:44.000Z | weld/numpy_weld/core/__init__.py | radujica/data-analysis-pipelines | 64a6e5613cb1ab2ba2eb2f763c2aa1e3bc5e0d3b | [
"MIT"
] | null | null | null | from cartesian import duplicate_elements_indices, duplicate_array_indices, cartesian_product_indices, array_to_labels
| 59 | 117 | 0.915254 | 15 | 118 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059322 | 118 | 1 | 118 | 118 | 0.900901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e3849058f501f816e17a9694e96763a7c9a6e8c | 28,454 | py | Python | tests/test_great_assertions_pandas.py | serialbandicoot/great-assertions | ab7b9e08fce940b5cb33065504fb2ce4c5c7cc47 | [
"Apache-2.0"
] | 10 | 2021-10-01T08:38:13.000Z | 2022-02-25T14:04:10.000Z | tests/test_great_assertions_pandas.py | serialbandicoot/great-assertions | ab7b9e08fce940b5cb33065504fb2ce4c5c7cc47 | [
"Apache-2.0"
] | 48 | 2021-10-04T15:41:59.000Z | 2022-03-30T05:41:50.000Z | tests/test_great_assertions_pandas.py | serialbandicoot/great-assertions | ab7b9e08fce940b5cb33065504fb2ce4c5c7cc47 | [
"Apache-2.0"
] | null | null | null | from great_assertions import GreatAssertions, NoValueFoundError
import pandas as pd
import pytest
class GreatAssertionPandasTests(GreatAssertions):
def test_pandas_incorrect_dataframe_type_raises_type_error(self):
with pytest.raises(AssertionError) as excinfo:
self.expect_column_values_to_be_o... | 39.574409 | 108 | 0.616715 | 4,109 | 28,454 | 3.93064 | 0.058165 | 0.043341 | 0.068479 | 0.07337 | 0.869853 | 0.858894 | 0.831156 | 0.814439 | 0.794192 | 0.754133 | 0 | 0.068699 | 0.250545 | 28,454 | 718 | 109 | 39.629526 | 0.688675 | 0.005131 | 0 | 0.413858 | 0 | 0.011236 | 0.167597 | 0.002438 | 0 | 0 | 0 | 0 | 0.249064 | 1 | 0.132959 | false | 0 | 0.007491 | 0 | 0.142322 | 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 |
28206eb653e9277c12e1d30f7a7f06b91b21ec27 | 26 | py | Python | terrascript/tls/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/tls/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/tls/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | """2017-11-28 18:09:01"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
283b7e870558af06fba900fa06370599d26c8b78 | 43 | py | Python | src/options/split/backward/__init__.py | DenDen047/SpatialNetworks | 62a076d12af474b19b406e605d970662d9699cdf | [
"MIT"
] | 3 | 2019-12-15T23:29:11.000Z | 2020-05-08T03:26:20.000Z | src/options/split/backward/__init__.py | DenDen047/SpatialNetworks | 62a076d12af474b19b406e605d970662d9699cdf | [
"MIT"
] | null | null | null | src/options/split/backward/__init__.py | DenDen047/SpatialNetworks | 62a076d12af474b19b406e605d970662d9699cdf | [
"MIT"
] | 3 | 2019-12-30T15:49:57.000Z | 2020-04-30T08:06:18.000Z | from . import greedy, probability, rescale
| 21.5 | 42 | 0.790698 | 5 | 43 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 1 | 43 | 43 | 0.918919 | 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 |
9589d8433e043b15f019e1a7d9c8800588a6ea95 | 1,215 | py | Python | mdbacktest/trader.py | matthewmercuri/mdbacktest | 1cb1e0b644a21e264cbb43b66088b28962d8e8dd | [
"MIT"
] | null | null | null | mdbacktest/trader.py | matthewmercuri/mdbacktest | 1cb1e0b644a21e264cbb43b66088b28962d8e8dd | [
"MIT"
] | null | null | null | mdbacktest/trader.py | matthewmercuri/mdbacktest | 1cb1e0b644a21e264cbb43b66088b28962d8e8dd | [
"MIT"
] | null | null | null | class Trade:
def __init__(self):
pass
def buy_stock(self, portfolio, security, units, price):
'''buys security and adds it to the portfolio.
First checks if the trade is valid given the current
positions and cash balance. Logs the trade afterward.
arguments:
po... | 32.837838 | 62 | 0.632922 | 160 | 1,215 | 4.76875 | 0.3125 | 0.094364 | 0.052425 | 0.099607 | 0.857143 | 0.857143 | 0.694626 | 0.694626 | 0.694626 | 0.694626 | 0 | 0 | 0.309465 | 1,215 | 36 | 63 | 33.75 | 0.909416 | 0.678189 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
95ed199311cbda3e4b5a1150bbe09bf4f22ef233 | 19 | py | Python | avl/__init__.py | jameshicks/avl | 6807cf3a3c9f4c32c090e0e0f29ffb74c0a78199 | [
"MIT"
] | null | null | null | avl/__init__.py | jameshicks/avl | 6807cf3a3c9f4c32c090e0e0f29ffb74c0a78199 | [
"MIT"
] | null | null | null | avl/__init__.py | jameshicks/avl | 6807cf3a3c9f4c32c090e0e0f29ffb74c0a78199 | [
"MIT"
] | null | null | null | from .avl import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
95efa1e0ec0d202c016caab2bc3cf3b8f4c2ad83 | 94 | py | Python | os/cpu_ram.py | janbodnar/Python-Course | 51705ab5a2adef52bcdb99a800e94c0d67144a38 | [
"BSD-2-Clause"
] | 13 | 2017-08-22T12:26:07.000Z | 2021-07-29T16:13:50.000Z | os/cpu_ram.py | janbodnar/Python-Course | 51705ab5a2adef52bcdb99a800e94c0d67144a38 | [
"BSD-2-Clause"
] | 1 | 2021-02-08T10:24:33.000Z | 2021-02-08T10:24:33.000Z | os/cpu_ram.py | janbodnar/Python-Course | 51705ab5a2adef52bcdb99a800e94c0d67144a38 | [
"BSD-2-Clause"
] | 17 | 2018-08-13T11:10:33.000Z | 2021-07-29T16:14:02.000Z | #!/usr/bin/python
import psutil
print(psutil.cpu_percent())
print(psutil.virtual_memory())
| 13.428571 | 31 | 0.755319 | 13 | 94 | 5.307692 | 0.769231 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 94 | 6 | 32 | 15.666667 | 0.802326 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
25485990abce5aaa2b6682145c9e4be487ac3ef4 | 128 | py | Python | src/choice/abstract_choices_factory.py | xlurio/RockPaperScissorsPy | 927bbd1480dbca70c9bc3b982f4034ac2ff33c57 | [
"MIT"
] | null | null | null | src/choice/abstract_choices_factory.py | xlurio/RockPaperScissorsPy | 927bbd1480dbca70c9bc3b982f4034ac2ff33c57 | [
"MIT"
] | null | null | null | src/choice/abstract_choices_factory.py | xlurio/RockPaperScissorsPy | 927bbd1480dbca70c9bc3b982f4034ac2ff33c57 | [
"MIT"
] | null | null | null | class AbstractChoicesFactory:
def make_player1_choice(self):
pass
def make_player2_choice(self):
pass
| 16 | 34 | 0.679688 | 14 | 128 | 5.928571 | 0.642857 | 0.168675 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.265625 | 128 | 7 | 35 | 18.285714 | 0.861702 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
c2595fec4eb23f03fa057ebdf7c951d8137f139c | 149 | py | Python | dispatchsdk/__init__.py | DispatchMe/python-sdk | c571968d966f0bcfea4ab5ef7ed1e32596cf4d3b | [
"MIT"
] | 1 | 2020-05-28T15:27:45.000Z | 2020-05-28T15:27:45.000Z | dispatchsdk/__init__.py | DispatchMe/python-sdk | c571968d966f0bcfea4ab5ef7ed1e32596cf4d3b | [
"MIT"
] | null | null | null | dispatchsdk/__init__.py | DispatchMe/python-sdk | c571968d966f0bcfea4ab5ef7ed1e32596cf4d3b | [
"MIT"
] | null | null | null | from dispatchsdk.client import Client
from dispatchsdk.connector import ConnectorClient
from dispatchsdk.errors import ValidationError, RequestError
| 37.25 | 60 | 0.885906 | 16 | 149 | 8.25 | 0.5625 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087248 | 149 | 3 | 61 | 49.666667 | 0.970588 | 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 |
c260d1e2b7d206a56ee9d2aa5d024fcc1419d633 | 132 | py | Python | colour_hdri/tonemapping/__init__.py | colour-science/colour-hdri | 3a97c4ad8bc328e2fffabf84ac8b56d795dbeb82 | [
"BSD-3-Clause"
] | 92 | 2015-09-19T22:11:15.000Z | 2022-03-13T06:37:53.000Z | colour_hdri/tonemapping/__init__.py | colour-science/colour-hdri | 3a97c4ad8bc328e2fffabf84ac8b56d795dbeb82 | [
"BSD-3-Clause"
] | 24 | 2017-05-25T08:55:10.000Z | 2022-03-30T18:26:43.000Z | colour_hdri/tonemapping/__init__.py | colour-science/colour-hdri | 3a97c4ad8bc328e2fffabf84ac8b56d795dbeb82 | [
"BSD-3-Clause"
] | 9 | 2016-01-18T17:29:51.000Z | 2020-11-12T12:54:18.000Z | # -*- coding: utf-8 -*-
from .global_operators import * # noqa
from . import global_operators
__all__ = global_operators.__all__
| 18.857143 | 39 | 0.727273 | 16 | 132 | 5.3125 | 0.5625 | 0.529412 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.159091 | 132 | 6 | 40 | 22 | 0.756757 | 0.19697 | 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 |
c29949d89ade73ac3a94cfd174010ec25f402b89 | 43 | py | Python | mitty/plugins/variants/__init__.py | latticelabs/Mitty-deprecated- | bf192600233daea8a42a1f995c60b1e883cbaaba | [
"Apache-2.0"
] | 1 | 2015-10-21T23:43:34.000Z | 2015-10-21T23:43:34.000Z | mitty/plugins/variants/__init__.py | latticelabs/Mitty | bf192600233daea8a42a1f995c60b1e883cbaaba | [
"Apache-2.0"
] | null | null | null | mitty/plugins/variants/__init__.py | latticelabs/Mitty | bf192600233daea8a42a1f995c60b1e883cbaaba | [
"Apache-2.0"
] | null | null | null | from mitty.plugins.variants.common import * | 43 | 43 | 0.837209 | 6 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.9 | 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 |
c2c00d2dc5b3a636a0560a69aa3d24d55d2010dc | 4,046 | py | Python | Code/models/SVM/lSVC.py | SimonKenoby/Master-Thesis-Fake-News-Dectection | 2c3a5e82d4c7d6294ca87c265a1b638d61f2cb08 | [
"MIT"
] | 3 | 2020-06-04T22:39:57.000Z | 2022-02-16T08:15:14.000Z | Code/models/SVM/lSVC.py | SimonKenoby/Master-Thesis-Fake-News-Dectection | 2c3a5e82d4c7d6294ca87c265a1b638d61f2cb08 | [
"MIT"
] | 1 | 2020-09-22T12:00:06.000Z | 2020-09-24T19:09:04.000Z | Code/models/SVM/lSVC.py | SimonKenoby/Master-Thesis-Fake-News-Dectection | 2c3a5e82d4c7d6294ca87c265a1b638d61f2cb08 | [
"MIT"
] | null | null | null | import numpy as np
import os
import sklearn
from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer
from sklearn.svm import LinearSVC
from sklearn.model_selection import train_test_split, KFold
from sklearn.metrics import classification_report, confusion_matrix
from sklearn.naive_bayes import Mult... | 43.978261 | 194 | 0.702422 | 556 | 4,046 | 4.913669 | 0.201439 | 0.023792 | 0.048316 | 0.035139 | 0.817716 | 0.817716 | 0.817716 | 0.817716 | 0.802343 | 0.802343 | 0 | 0.002855 | 0.134207 | 4,046 | 92 | 195 | 43.978261 | 0.777048 | 0.101087 | 0 | 0.676471 | 0 | 0 | 0.172955 | 0.011567 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.191176 | 0 | 0.191176 | 0.176471 | 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 |
c2c016863a2437cf0a833875a0eb549b7d61c889 | 36 | py | Python | seven/t/__init__.py | xiaolinzi-xl/python_imooc | 07bde890e3ab0ddef4467b0c77ef33614339a657 | [
"Apache-2.0"
] | null | null | null | seven/t/__init__.py | xiaolinzi-xl/python_imooc | 07bde890e3ab0ddef4467b0c77ef33614339a657 | [
"Apache-2.0"
] | null | null | null | seven/t/__init__.py | xiaolinzi-xl/python_imooc | 07bde890e3ab0ddef4467b0c77ef33614339a657 | [
"Apache-2.0"
] | null | null | null | import sys
import io
import datetime | 12 | 15 | 0.861111 | 6 | 36 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 3 | 15 | 12 | 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 |
6c5da96f2fc505244fe3561dfa3aa74a2b445853 | 347 | py | Python | eosjs_python/Exceptions.py | ankitwandx/eosjs_python | 07e5bc8f8508aa83a7d6bde4f54e9e6728d97b30 | [
"MIT"
] | 45 | 2018-06-04T20:19:17.000Z | 2021-12-24T16:44:43.000Z | eosjs_python/Exceptions.py | ankitwandx/eosjs_python | 07e5bc8f8508aa83a7d6bde4f54e9e6728d97b30 | [
"MIT"
] | 11 | 2018-08-31T13:56:13.000Z | 2022-03-09T21:26:43.000Z | eosjs_python/Exceptions.py | ankitwandx/eosjs_python | 07e5bc8f8508aa83a7d6bde4f54e9e6728d97b30 | [
"MIT"
] | 15 | 2018-06-18T10:22:29.000Z | 2022-03-16T06:23:09.000Z | class GenerateKeysException(Exception):
pass
class CreateAccountException(Exception):
pass
class PushContractTransactionException(Exception):
pass
class GetTableException(Exception):
pass
class GetBalanceException(Exception):
pass
class GetAccountException(Exception):
pass
class EncryptSecret... | 17.35 | 50 | 0.801153 | 28 | 347 | 9.928571 | 0.357143 | 0.327338 | 0.388489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138329 | 347 | 20 | 51 | 17.35 | 0.929766 | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6697ab6a8ecd3e31f8376069a5993fc1fcae5753 | 2,813 | py | Python | tests/processing/test_shape.py | tug-cps/datamodels | ae0e59e29e07648c414218c5b4d972d2c8f48a68 | [
"MIT"
] | null | null | null | tests/processing/test_shape.py | tug-cps/datamodels | ae0e59e29e07648c414218c5b4d972d2c8f48a68 | [
"MIT"
] | null | null | null | tests/processing/test_shape.py | tug-cps/datamodels | ae0e59e29e07648c414218c5b4d972d2c8f48a68 | [
"MIT"
] | null | null | null | import numpy as np
import pytest
from datamodels import processing
def test_prevent_zeros_scalar():
data = 0
corrected_data = processing.shape.prevent_zeros(data)
assert corrected_data == 1
def test_prevent_zeros_all_zeros_array():
data = np.zeros((4,))
corrected_data = processing.shape.preve... | 29.610526 | 87 | 0.678279 | 392 | 2,813 | 4.673469 | 0.153061 | 0.074236 | 0.036026 | 0.037118 | 0.882642 | 0.880459 | 0.838974 | 0.838974 | 0.838974 | 0.81059 | 0 | 0.022667 | 0.200142 | 2,813 | 94 | 88 | 29.925532 | 0.791556 | 0.030928 | 0 | 0.587302 | 0 | 0 | 0.0639 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 1 | 0.079365 | false | 0 | 0.047619 | 0 | 0.126984 | 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 |
66e4b6b166be940664b5d53e9c253a32f296e36f | 307 | py | Python | vect/showRepresentation.py | ALEJORIOS/vect | 458f2b30049c0d52dd88d98fe009e33661276742 | [
"MIT"
] | 1 | 2021-07-11T05:39:00.000Z | 2021-07-11T05:39:00.000Z | vect/showRepresentation.py | ALEJORIOS/vect | 458f2b30049c0d52dd88d98fe009e33661276742 | [
"MIT"
] | null | null | null | vect/showRepresentation.py | ALEJORIOS/vect | 458f2b30049c0d52dd88d98fe009e33661276742 | [
"MIT"
] | null | null | null | def vector(self, raw = False):
return "array({})".format(self.vector) if raw else "{}".format(self.vector)
def matrix(self, raw = False):
if raw:
return "{}".format(self.mat) if raw else "{}".format(self.mat)
else:
return "\n".join([str(self.mat[i]) for i in range(self.rows)]) | 38.375 | 79 | 0.602606 | 47 | 307 | 3.93617 | 0.425532 | 0.216216 | 0.12973 | 0.162162 | 0.205405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19544 | 307 | 8 | 80 | 38.375 | 0.748988 | 0 | 0 | 0 | 0 | 0 | 0.055195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
dd1e4fa52600df69fab59fb4da4b68691d0ab31e | 27 | py | Python | src/main.py | shunw/machine_learn | f4509466e85298566c8d115c0540623c8f38b92f | [
"MIT"
] | null | null | null | src/main.py | shunw/machine_learn | f4509466e85298566c8d115c0540623c8f38b92f | [
"MIT"
] | null | null | null | src/main.py | shunw/machine_learn | f4509466e85298566c8d115c0540623c8f38b92f | [
"MIT"
] | null | null | null | print("Hello World Again!") | 27 | 27 | 0.740741 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 27 | 1 | 27 | 27 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 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 |
dd781df2fdeb7417a62f9533f2ebdbf8ec82b312 | 83 | py | Python | apps/_minimal/__init__.py | DonaldMcC/py4web | 116aa9298aef07899eac13e2ea9c3e8a00dd1977 | [
"BSD-3-Clause"
] | 133 | 2019-07-24T11:32:34.000Z | 2022-03-25T02:43:55.000Z | apps/_minimal/__init__.py | DonaldMcC/py4web | 116aa9298aef07899eac13e2ea9c3e8a00dd1977 | [
"BSD-3-Clause"
] | 396 | 2019-07-24T06:30:19.000Z | 2022-03-24T07:59:07.000Z | apps/_minimal/__init__.py | DonaldMcC/py4web | 116aa9298aef07899eac13e2ea9c3e8a00dd1977 | [
"BSD-3-Clause"
] | 159 | 2019-07-24T11:32:37.000Z | 2022-03-28T15:17:05.000Z | from py4web import action
@action("index")
def index():
return "Hello World"
| 11.857143 | 25 | 0.686747 | 11 | 83 | 5.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.192771 | 83 | 6 | 26 | 13.833333 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
dd88b0096f606e05fdd234788119f204565d358f | 32 | py | Python | JupyterHTMLSlides/__init__.py | williamegomezo/JupyterSlides | 403fe15e360eb1d79bf813b923eb569a81ab0934 | [
"MIT"
] | 1 | 2019-07-26T20:59:47.000Z | 2019-07-26T20:59:47.000Z | JupyterHTMLSlides/__init__.py | williamegomezo/JupyterSlides | 403fe15e360eb1d79bf813b923eb569a81ab0934 | [
"MIT"
] | null | null | null | JupyterHTMLSlides/__init__.py | williamegomezo/JupyterSlides | 403fe15e360eb1d79bf813b923eb569a81ab0934 | [
"MIT"
] | null | null | null | from .core import JupyterSlides
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
661825e4ea78dc1fbade05205709f505ce4b743c | 8,956 | py | Python | genome_sampler/tests/test_subsample_longitudinal.py | thermokarst-forks/genome-sampler | 30a837b42f927d5d85c9edf01e9cbed3d28a9697 | [
"BSD-3-Clause"
] | null | null | null | genome_sampler/tests/test_subsample_longitudinal.py | thermokarst-forks/genome-sampler | 30a837b42f927d5d85c9edf01e9cbed3d28a9697 | [
"BSD-3-Clause"
] | null | null | null | genome_sampler/tests/test_subsample_longitudinal.py | thermokarst-forks/genome-sampler | 30a837b42f927d5d85c9edf01e9cbed3d28a9697 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import pandas as pd
import numpy as np
import qiime2
from genome_sampler.subsample_longitudinal import subsample_longitudinal
class TestSubsampleLongitudinal(unittest.TestCase):
_N_TEST_ITERATIONS = 50
def setUp(self):
s1 = pd.Series(['2019-12-31', '2020-01-09', '2020-01-10',
... | 48.410811 | 75 | 0.567776 | 1,140 | 8,956 | 4.271053 | 0.103509 | 0.10228 | 0.099815 | 0.10269 | 0.865475 | 0.834463 | 0.819881 | 0.813925 | 0.798932 | 0.774286 | 0 | 0.159466 | 0.289303 | 8,956 | 184 | 76 | 48.673913 | 0.605499 | 0 | 0 | 0.5 | 0 | 0 | 0.153975 | 0.022108 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.073333 | false | 0 | 0.033333 | 0 | 0.12 | 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 |
661cdc9461c78b85fc0ec616f30da630de544b41 | 102 | py | Python | Test.py | LovingThresh/CJTeam | ce03e107e0b33ac8132d4d6369fd7f98013e7563 | [
"Apache-2.0"
] | 1 | 2022-03-28T05:57:45.000Z | 2022-03-28T05:57:45.000Z | Test.py | LovingThresh/CJTeam | ce03e107e0b33ac8132d4d6369fd7f98013e7563 | [
"Apache-2.0"
] | null | null | null | Test.py | LovingThresh/CJTeam | ce03e107e0b33ac8132d4d6369fd7f98013e7563 | [
"Apache-2.0"
] | null | null | null |
import tensorflow as tf
import tensorflow.keras as keras
from tensorflow.keras.layers import Conv2D
| 17 | 42 | 0.833333 | 15 | 102 | 5.666667 | 0.533333 | 0.376471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.137255 | 102 | 5 | 43 | 20.4 | 0.954545 | 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 |
b0869f013bcf22d50630af0b973389bfd231a181 | 5,351 | py | Python | tno/mpc/communication/test/test_pool_http_3p.py | TNO-MPC/communication | 5ebf90e3672873cda1c4cc04b94353101fd4f480 | [
"Apache-2.0"
] | 2 | 2021-04-09T07:20:12.000Z | 2021-04-23T10:08:52.000Z | tno/mpc/communication/test/test_pool_http_3p.py | TNO-MPC/communication | 5ebf90e3672873cda1c4cc04b94353101fd4f480 | [
"Apache-2.0"
] | 2 | 2021-12-03T10:21:33.000Z | 2022-03-31T12:40:21.000Z | tno/mpc/communication/test/test_pool_http_3p.py | TNO-MPC/communication | 5ebf90e3672873cda1c4cc04b94353101fd4f480 | [
"Apache-2.0"
] | null | null | null | """
This module tests the communication between three communication pools.
"""
from typing import Any, Optional, Tuple
import pytest
from tno.mpc.communication import Pool
from tno.mpc.communication.test import ( # pylint: disable=unused-import
event_loop,
fixture_pool_http_3p,
)
@pytest.mark.asyncio
asyn... | 34.522581 | 104 | 0.712203 | 800 | 5,351 | 4.535 | 0.115 | 0.077729 | 0.115766 | 0.145259 | 0.858875 | 0.851985 | 0.841786 | 0.801268 | 0.787486 | 0.603087 | 0 | 0.033739 | 0.18576 | 5,351 | 154 | 105 | 34.746753 | 0.798944 | 0.018875 | 0 | 0.518987 | 0 | 0 | 0.075732 | 0 | 0 | 0 | 0 | 0 | 0.392405 | 1 | 0 | false | 0 | 0.050633 | 0 | 0.050633 | 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 |
b08e9dcded201f520efcabe437dc3e09d12804b0 | 109 | py | Python | vautoencoder/__init__.py | zamlz/dlcampjeju2018-I2A-cube | 85ae7a2084ca490ea685ff3d30e82720fb58c0ea | [
"MIT"
] | 14 | 2018-07-19T03:56:45.000Z | 2019-10-01T12:09:01.000Z | vautoencoder/__init__.py | zamlz/dlcampjeju2018-I2A-cube | 85ae7a2084ca490ea685ff3d30e82720fb58c0ea | [
"MIT"
] | null | null | null | vautoencoder/__init__.py | zamlz/dlcampjeju2018-I2A-cube | 85ae7a2084ca490ea685ff3d30e82720fb58c0ea | [
"MIT"
] | null | null | null |
from vautoencoder.trainer import train, VariationalAutoEncoder
from vautoencoder.network import VAEBuilder
| 27.25 | 63 | 0.87156 | 11 | 109 | 8.636364 | 0.727273 | 0.336842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100917 | 109 | 3 | 64 | 36.333333 | 0.969388 | 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 |
b0b64a3d239a584db06bc9d84f31ca117afb08e3 | 121 | py | Python | python/Mundo 1/ex007.py | eduardoranucci/Python-CursoEmVideo | a91f923f8d42e0eac7732de37136431a6db69a7a | [
"MIT"
] | null | null | null | python/Mundo 1/ex007.py | eduardoranucci/Python-CursoEmVideo | a91f923f8d42e0eac7732de37136431a6db69a7a | [
"MIT"
] | null | null | null | python/Mundo 1/ex007.py | eduardoranucci/Python-CursoEmVideo | a91f923f8d42e0eac7732de37136431a6db69a7a | [
"MIT"
] | null | null | null | notas = input('Digite duas notas: (Ex: 6.5 84) ').split()
print(f'A média é: {(float(notas[0]) + float(notas[1])) / 2}') | 40.333333 | 62 | 0.595041 | 22 | 121 | 3.272727 | 0.818182 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067308 | 0.140496 | 121 | 3 | 62 | 40.333333 | 0.625 | 0 | 0 | 0 | 0 | 0.5 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9fee63c42f4f433e4ab661dcc1de10b82be2f813 | 11,525 | py | Python | tests/dhcpv4/ddns/test_ddns_lease_del.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 22 | 2015-02-27T11:51:05.000Z | 2022-02-28T12:39:29.000Z | tests/dhcpv4/ddns/test_ddns_lease_del.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 16 | 2018-10-30T15:00:12.000Z | 2019-01-11T17:55:13.000Z | tests/dhcpv4/ddns/test_ddns_lease_del.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 11 | 2015-02-27T11:51:36.000Z | 2021-03-30T08:33:54.000Z | """DDNS without TSIG"""
# pylint: disable=invalid-name,line-too-long
import pytest
import misc
import srv_control
import srv_msg
from forge_cfg import world
def _delete_lease(extra_param=None, exp_result=0):
cmd = dict(command="lease4-del", arguments={})
if isinstance(extra_param, dict):
cmd["argum... | 47.040816 | 104 | 0.663427 | 1,661 | 11,525 | 4.323901 | 0.124624 | 0.059872 | 0.032581 | 0.025063 | 0.871206 | 0.834169 | 0.814536 | 0.744082 | 0.725146 | 0.709552 | 0 | 0.070995 | 0.18603 | 11,525 | 244 | 105 | 47.233607 | 0.694595 | 0.06308 | 0 | 0.694444 | 0 | 0 | 0.285701 | 0.129999 | 0 | 0 | 0 | 0 | 0.016667 | 1 | 0.044444 | false | 0.033333 | 0.027778 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b000b3816a8f57c6a1f71f29138eb52114ae07d7 | 48 | py | Python | yolo/model/backbone/__init__.py | f-fl0/YOLOv5-PyTorch | de5edc8f67ef355337faa8deb68c8a9ddeecdb33 | [
"MIT"
] | 125 | 2020-08-09T13:21:24.000Z | 2022-03-22T06:45:39.000Z | yolo/model/backbone/__init__.py | f-fl0/YOLOv5-PyTorch | de5edc8f67ef355337faa8deb68c8a9ddeecdb33 | [
"MIT"
] | 7 | 2020-10-16T08:40:55.000Z | 2022-02-17T10:03:29.000Z | yolo/model/backbone/__init__.py | f-fl0/YOLOv5-PyTorch | de5edc8f67ef355337faa8deb68c8a9ddeecdb33 | [
"MIT"
] | 25 | 2020-11-01T05:17:08.000Z | 2021-12-29T11:41:36.000Z | from .backbone_utils import darknet_pan_backbone | 48 | 48 | 0.916667 | 7 | 48 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.911111 | 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 |
b00effd7899d153a29354f183de30f987f0ab333 | 202 | py | Python | students/k33402/Polyakov_Andrei/LR_2/hotels/hotels_app/admin.py | Odyvannnn/ITMO_ICT_WebDevelopment_2021-2022 | 81335028ceefccb857eff175b01857ffe81c618a | [
"MIT"
] | null | null | null | students/k33402/Polyakov_Andrei/LR_2/hotels/hotels_app/admin.py | Odyvannnn/ITMO_ICT_WebDevelopment_2021-2022 | 81335028ceefccb857eff175b01857ffe81c618a | [
"MIT"
] | null | null | null | students/k33402/Polyakov_Andrei/LR_2/hotels/hotels_app/admin.py | Odyvannnn/ITMO_ICT_WebDevelopment_2021-2022 | 81335028ceefccb857eff175b01857ffe81c618a | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import User, Hotel, Reservation, Review
admin.site.register(User)
admin.site.register(Hotel)
admin.site.register(Reservation)
admin.site.register(Review)
| 22.444444 | 52 | 0.811881 | 28 | 202 | 5.857143 | 0.428571 | 0.219512 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084158 | 202 | 8 | 53 | 25.25 | 0.886486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
b00f0cb97554d1e3c724972814b58e001c1a9219 | 44,032 | py | Python | test/data/array/test_scaled_array.py | AshKelly/PyAutoLens | 043795966338a655339e61782253ad67cc3c14e6 | [
"MIT"
] | null | null | null | test/data/array/test_scaled_array.py | AshKelly/PyAutoLens | 043795966338a655339e61782253ad67cc3c14e6 | [
"MIT"
] | null | null | null | test/data/array/test_scaled_array.py | AshKelly/PyAutoLens | 043795966338a655339e61782253ad67cc3c14e6 | [
"MIT"
] | null | null | null | import os
import numpy as np
import pytest
from autolens import exc
from autolens.data.array.util import array_util, grid_util
from autolens.data.array import mask as msk
from autolens.data.array import scaled_array
test_data_dir = "{}/../../test_files/array/".format(os.path.dirname(os.path.realpath(__file__)))
@p... | 55.878173 | 141 | 0.604492 | 6,082 | 44,032 | 4.030582 | 0.027951 | 0.01493 | 0.097903 | 0.055642 | 0.956148 | 0.942645 | 0.920209 | 0.914008 | 0.900261 | 0.882557 | 0 | 0.067098 | 0.270258 | 44,032 | 788 | 142 | 55.878173 | 0.695817 | 0.003929 | 0 | 0.545794 | 0 | 0 | 0.002508 | 0.001095 | 0 | 0 | 0 | 0 | 0.392523 | 1 | 0.08785 | false | 0 | 0.013084 | 0.003738 | 0.128972 | 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 |
b0270baf19a12204501cdd5b2c7b17dd1f12250e | 48 | py | Python | sublimeText3/Packages/SublimeCodeIntel/libs/codeintel2/pythoncile.py | MoAnsir/dot_file_2017 | 5f67ef8f430416c82322ab7e7e001548936454ff | [
"MIT"
] | 2 | 2018-04-24T10:02:26.000Z | 2019-06-02T13:53:31.000Z | Data/Packages/SublimeCodeIntel/libs/codeintel2/pythoncile.py | Maxize/Sublime_Text_3 | be620476b49f9a6ce2ca2cfe825c4e142e7e82b9 | [
"Apache-2.0"
] | 1 | 2016-02-10T09:50:09.000Z | 2016-02-10T09:50:09.000Z | Packages/SublimeCodeIntel/libs/codeintel2/pythoncile.py | prisis/sublime-text-packages | 99ae8a5496613e27a75e5bd91723549b21476e60 | [
"MIT"
] | 2 | 2019-04-11T04:13:02.000Z | 2019-06-02T13:53:33.000Z | import os
from codeintel2.pythoncile1 import *
| 12 | 36 | 0.8125 | 6 | 48 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.145833 | 48 | 3 | 37 | 16 | 0.902439 | 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 |
b04256d9753c35c0e9c816eea6228674b1d572b1 | 111 | py | Python | models/imagenet/__init__.py | mathczh/GANL2L | fdffbcb1547cf8f3a7287a4a21d3f4871f3e4e42 | [
"MIT"
] | null | null | null | models/imagenet/__init__.py | mathczh/GANL2L | fdffbcb1547cf8f3a7287a4a21d3f4871f3e4e42 | [
"MIT"
] | null | null | null | models/imagenet/__init__.py | mathczh/GANL2L | fdffbcb1547cf8f3a7287a4a21d3f4871f3e4e42 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
# from .cnn import *
from .resnet import *
# from .orthresnet import *
| 18.5 | 38 | 0.756757 | 14 | 111 | 5.642857 | 0.5 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171171 | 111 | 5 | 39 | 22.2 | 0.858696 | 0.396396 | 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 |
b042f777f7668e89646351866ef9f0175c8234b2 | 907 | py | Python | 105torus_2017/torus_newton.py | ltabis/epitech-projects | e38b3f00a4ac44c969d5e4880cd65084dc2c870a | [
"MIT"
] | null | null | null | 105torus_2017/torus_newton.py | ltabis/epitech-projects | e38b3f00a4ac44c969d5e4880cd65084dc2c870a | [
"MIT"
] | null | null | null | 105torus_2017/torus_newton.py | ltabis/epitech-projects | e38b3f00a4ac44c969d5e4880cd65084dc2c870a | [
"MIT"
] | 1 | 2021-01-07T17:41:14.000Z | 2021-01-07T17:41:14.000Z | #!/usr/bin/python3
from sys import *
def do_newton(tab, n):
xn = 0.5
res = (float(tab[5]) * (xn**4)) + (float(tab[4]) * (xn**3)) + (float(tab[3]) * (xn**2)) + (float(tab[2]) * xn) + float(tab[1])
deriv = (4 * float(tab[5]) * (xn**3)) + (3 * float(tab[4]) * (xn**2)) + (2 * float(tab[3]) * xn) + float(tab[2... | 45.35 | 138 | 0.429989 | 148 | 907 | 2.628378 | 0.209459 | 0.37018 | 0.092545 | 0.113111 | 0.750643 | 0.750643 | 0.750643 | 0.750643 | 0.750643 | 0.637532 | 0 | 0.079755 | 0.281147 | 907 | 19 | 139 | 47.736842 | 0.516871 | 0.018743 | 0 | 0.5 | 0 | 0 | 0.033746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.125 | 0.1875 | 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 |
c67903d3d18cc0628dc36000a3511d86d7528805 | 58,300 | py | Python | utils/tasks.py | Wilidon/mpetsbot | 14f3d7b81f0439fd3585a466fe68d327bdbfcd56 | [
"MIT"
] | null | null | null | utils/tasks.py | Wilidon/mpetsbot | 14f3d7b81f0439fd3585a466fe68d327bdbfcd56 | [
"MIT"
] | null | null | null | utils/tasks.py | Wilidon/mpetsbot | 14f3d7b81f0439fd3585a466fe68d327bdbfcd56 | [
"MIT"
] | null | null | null | import asyncio
import random
import time
import traceback
from datetime import datetime
from loguru import logger
from python_rucaptcha import ImageCaptcha
from config import get_settings, get_db
from mpets import MpetsApi
from sql import crud
from utils import functions
from utils.constants import gifts_name, holida... | 43.377976 | 111 | 0.495043 | 6,536 | 58,300 | 4.189871 | 0.054009 | 0.066898 | 0.020814 | 0.026292 | 0.802556 | 0.764104 | 0.745408 | 0.711923 | 0.677451 | 0.655468 | 0 | 0.020781 | 0.403242 | 58,300 | 1,344 | 112 | 43.377976 | 0.765658 | 0.010497 | 0 | 0.705054 | 0 | 0.002486 | 0.081558 | 0.006779 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000829 | false | 0.017399 | 0.010771 | 0 | 0.038111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c67ad9ca395c66cdcd05d523899084e8a8187450 | 21,482 | py | Python | pyro/planning/valueiteration.py | echoix/pyro | 787920cb14e3669bc65c530fd8f91d4277a24279 | [
"MIT"
] | null | null | null | pyro/planning/valueiteration.py | echoix/pyro | 787920cb14e3669bc65c530fd8f91d4277a24279 | [
"MIT"
] | null | null | null | pyro/planning/valueiteration.py | echoix/pyro | 787920cb14e3669bc65c530fd8f91d4277a24279 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Jul 12 12:09:37 2017
@author: alxgr
"""
import numpy as np
import matplotlib.pyplot as plt
from scipy.interpolate import RectBivariateSpline as interpol2D
from scipy.interpolate import griddata
from scipy.interpolate import LinearNDInterpolator
from pyro.control import cont... | 34.536977 | 130 | 0.43469 | 2,368 | 21,482 | 3.79603 | 0.099662 | 0.059962 | 0.089331 | 0.062298 | 0.846257 | 0.819668 | 0.789076 | 0.782401 | 0.767716 | 0.755479 | 0 | 0.017336 | 0.425379 | 21,482 | 622 | 131 | 34.536977 | 0.710872 | 0.12848 | 0 | 0.683673 | 0 | 0 | 0.014485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.020408 | 0 | 0.115646 | 0.017007 | 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 |
c68b4a596b5cfe993c2dc872011ab10261215435 | 177 | py | Python | DLBio/nn_Imodel.py | pgruening/dlbio | 0c4e468bcd5d7e298fbecba13003bcae36889486 | [
"MIT"
] | 1 | 2020-10-08T11:14:48.000Z | 2020-10-08T11:14:48.000Z | DLBio/nn_Imodel.py | pgruening/dlbio | 0c4e468bcd5d7e298fbecba13003bcae36889486 | [
"MIT"
] | 5 | 2020-03-24T18:01:02.000Z | 2022-03-12T00:17:24.000Z | DLBio/nn_Imodel.py | pgruening/dlbio | 0c4e468bcd5d7e298fbecba13003bcae36889486 | [
"MIT"
] | 1 | 2021-11-29T10:31:28.000Z | 2021-11-29T10:31:28.000Z | class IModel(object):
def predict(self, input, do_pre_proc):
raise NotImplementedError
def do_task(self, input, do_pre_proc):
raise NotImplementedError
| 25.285714 | 42 | 0.706215 | 22 | 177 | 5.454545 | 0.590909 | 0.15 | 0.183333 | 0.233333 | 0.7 | 0.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.220339 | 177 | 6 | 43 | 29.5 | 0.869565 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c6a5194ec0abb6ee98692666d66a79801d206663 | 79 | py | Python | drivers/oneoff_drivers/make_calibration_list.py | lgbouma/cdips | 187e15e620cd44160372dbfa9da989d38722c3e5 | [
"MIT"
] | 1 | 2019-10-04T02:03:25.000Z | 2019-10-04T02:03:25.000Z | drivers/oneoff_drivers/make_calibration_list.py | lgbouma/cdips | 187e15e620cd44160372dbfa9da989d38722c3e5 | [
"MIT"
] | 3 | 2019-08-17T20:33:23.000Z | 2021-08-18T17:55:10.000Z | drivers/oneoff_drivers/make_calibration_list.py | lgbouma/cdips | 187e15e620cd44160372dbfa9da989d38722c3e5 | [
"MIT"
] | null | null | null | from cdips.utils.lcutils import make_calibration_list
make_calibration_list()
| 19.75 | 53 | 0.873418 | 11 | 79 | 5.909091 | 0.727273 | 0.461538 | 0.584615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 79 | 3 | 54 | 26.333333 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
c6ad735c80bc21f5ef159d9fbc9955035293f38c | 206 | py | Python | theseus/utilities/loggers/__init__.py | kaylode/Custom-Template | b2f11bfacf2b03b793476a19781f9046fab6fd82 | [
"MIT"
] | 2 | 2022-02-18T04:41:29.000Z | 2022-03-12T09:04:14.000Z | theseus/utilities/loggers/__init__.py | kaylode/mediaeval21-vsa | 8c5e7d612393d511331124931843c2ed07192c1b | [
"MIT"
] | 8 | 2022-02-16T17:01:28.000Z | 2022-03-28T02:53:45.000Z | theseus/utilities/loggers/__init__.py | kaylode/mediaeval21-vsa | 8c5e7d612393d511331124931843c2ed07192c1b | [
"MIT"
] | 3 | 2022-02-13T05:00:13.000Z | 2022-03-02T00:11:27.000Z | from .observer import LoggerObserver
from .tsb_logger import TensorboardLogger
from .image_writer import ImageWriter
from .stdout_logger import StdoutLogger, FileLogger
from .wandb_logger import WandbLogger | 41.2 | 51 | 0.873786 | 25 | 206 | 7.04 | 0.6 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097087 | 206 | 5 | 52 | 41.2 | 0.946237 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.