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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0b87ce4684412df39273818e09b237193a955cf4 | 146 | py | Python | tests/asp/cautious/test9.gus.gringo.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/asp/cautious/test9.gus.gringo.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/asp/cautious/test9.gus.gringo.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
1 4 2 1 3 2
1 5 2 1 3 2
1 5 2 1 3 6
1 6 2 1 3 4
1 6 2 1 3 5
3 2 2 3 0 0
0
2 a
3 b
4 c
5 d
6 e
0
B+
0
B-
1
0
1
"""
output = """
{}
"""
| 5.84 | 12 | 0.445205 | 56 | 146 | 1.160714 | 0.25 | 0.215385 | 0.230769 | 0.123077 | 0.384615 | 0.230769 | 0.230769 | 0.230769 | 0.230769 | 0 | 0 | 0.566265 | 0.431507 | 146 | 24 | 13 | 6.083333 | 0.216867 | 0 | 0 | 0.083333 | 0 | 0 | 0.787671 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b88ea3e8fd9f668f66af1f053389766ba5dcade | 1,365 | py | Python | migrations/versions/2018_11_30_7ddf4da81c22_rename_default_language.py | annihilatorrrr/sticker-finder | 873468f8de26cc32d1de9b688140569b8086ab5b | [
"MIT"
] | 82 | 2018-11-13T05:39:44.000Z | 2022-01-18T17:08:44.000Z | migrations/versions/2018_11_30_7ddf4da81c22_rename_default_language.py | annihilatorrrr/sticker-finder | 873468f8de26cc32d1de9b688140569b8086ab5b | [
"MIT"
] | 25 | 2018-12-02T18:45:52.000Z | 2022-03-21T22:54:19.000Z | migrations/versions/2018_11_30_7ddf4da81c22_rename_default_language.py | annihilatorrrr/sticker-finder | 873468f8de26cc32d1de9b688140569b8086ab5b | [
"MIT"
] | 23 | 2019-01-22T20:04:50.000Z | 2022-02-01T14:57:28.000Z | """Rename default_language
Revision ID: 7ddf4da81c22
Revises: 6c854954ca33
Create Date: 2018-11-30 05:16:51.439164
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = "7ddf4da81c22"
down_revision = "6c854954ca33"
branch_labels = None
depends_on = None
def upgrade():
# ### commands a... | 35.921053 | 88 | 0.748718 | 177 | 1,365 | 5.40113 | 0.276836 | 0.329498 | 0.135983 | 0.251046 | 0.751046 | 0.751046 | 0.728033 | 0.707113 | 0.612971 | 0.612971 | 0 | 0.041982 | 0.127473 | 1,365 | 37 | 89 | 36.891892 | 0.760705 | 0.189744 | 0 | 0.095238 | 0 | 0 | 0.397045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ba0c7087be311332b8aeda2f3f2cd0f1d6a6a17 | 22 | py | Python | ch06/myproject_virtualenv/src/django-myproject/myproject/apps/locations/admin.py | PacktPublishing/Django-3-Web-Development-Cookbook | 6ffe6e0add93a43a9abaff62e0147dc1f4f5351a | [
"MIT"
] | 159 | 2019-11-13T14:11:39.000Z | 2022-03-24T05:47:10.000Z | ch06/myproject_virtualenv/src/django-myproject/myproject/apps/locations/admin.py | PacktPublishing/Django-3-Web-Development-Cookbook | 6ffe6e0add93a43a9abaff62e0147dc1f4f5351a | [
"MIT"
] | 34 | 2019-11-06T08:32:48.000Z | 2022-01-14T11:31:29.000Z | ch06/myproject_virtualenv/src/django-myproject/myproject/apps/locations/admin.py | PacktPublishing/Django-3-Web-Development-Cookbook | 6ffe6e0add93a43a9abaff62e0147dc1f4f5351a | [
"MIT"
] | 103 | 2019-08-15T21:35:26.000Z | 2022-03-20T05:29:11.000Z | from . admin2 import * | 22 | 22 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.181818 | 22 | 1 | 22 | 22 | 0.833333 | 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 |
e7e36ab8272cb3a468649967147454f992092247 | 1,881 | py | Python | data_modeling/tests/test_tables.py | jbj2505/dend_01_data_modelling | 58faf1ae5dacf4343a647c0233402be336d6a7c1 | [
"MIT"
] | null | null | null | data_modeling/tests/test_tables.py | jbj2505/dend_01_data_modelling | 58faf1ae5dacf4343a647c0233402be336d6a7c1 | [
"MIT"
] | null | null | null | data_modeling/tests/test_tables.py | jbj2505/dend_01_data_modelling | 58faf1ae5dacf4343a647c0233402be336d6a7c1 | [
"MIT"
] | null | null | null | """
This module provides methods to test that the database has been
populated properly.
"""
from db import create_connection
def test_songs():
"""
Asserts that songs is populated.
"""
conn = create_connection("sparkifydb")
cur = conn.cursor()
query = ("""SELECT COUNT(*) FROM songs;""")
cur... | 23.5125 | 63 | 0.607656 | 220 | 1,881 | 5.122727 | 0.186364 | 0.099379 | 0.101154 | 0.154392 | 0.753327 | 0.753327 | 0.753327 | 0.753327 | 0.753327 | 0.753327 | 0 | 0.012561 | 0.238171 | 1,881 | 79 | 64 | 23.810127 | 0.773901 | 0.160553 | 0 | 0.714286 | 0 | 0 | 0.161377 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 1 | 0.122449 | false | 0 | 0.020408 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7fa514e48b1b7d80c972cc850883320eeaf5497 | 1,363 | py | Python | nodeum_sdk/api/__init__.py | nodeum-io/nodeum-sdk-python | 205536491bff507dea7be44af46202c17e7121d9 | [
"MIT"
] | null | null | null | nodeum_sdk/api/__init__.py | nodeum-io/nodeum-sdk-python | 205536491bff507dea7be44af46202c17e7121d9 | [
"MIT"
] | null | null | null | nodeum_sdk/api/__init__.py | nodeum-io/nodeum-sdk-python | 205536491bff507dea7be44af46202c17e7121d9 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from nodeum_sdk.api.cloud_buckets_api import CloudBucketsApi
from nodeum_sdk.api.cloud_connectors_api import CloudConnectorsApi
from nodeum_sdk.api.containers_api import ContainersApi
from nodeum_sdk.api.files_api import FilesApi
fro... | 47 | 68 | 0.885547 | 208 | 1,363 | 5.5 | 0.288462 | 0.201049 | 0.261364 | 0.321678 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000796 | 0.078503 | 1,363 | 28 | 69 | 48.678571 | 0.910032 | 0.030081 | 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 |
f019465fc9ad9a2fdb4574c2f6925d89cae9cb95 | 23,783 | py | Python | geomet/tests/test_geopackage.py | stianjensen/geomet | f7cfaa350cde44a16db21d2678ef5d245e7afda5 | [
"Apache-2.0"
] | 121 | 2015-01-21T23:47:00.000Z | 2022-03-25T00:18:50.000Z | geomet/tests/test_geopackage.py | achapkowski/geomet | e0408ef6e5860815be995140c019217b5097edef | [
"Apache-2.0"
] | 47 | 2015-06-22T16:57:22.000Z | 2022-01-27T18:30:08.000Z | geomet/tests/test_geopackage.py | achapkowski/geomet | e0408ef6e5860815be995140c019217b5097edef | [
"Apache-2.0"
] | 27 | 2015-06-17T15:27:04.000Z | 2022-01-25T23:38:49.000Z | # Copyright 2020 Tom Caruso & individual contributors
#
# 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 applicabl... | 34.073066 | 77 | 0.547744 | 3,008 | 23,783 | 4.179854 | 0.086104 | 0.213791 | 0.22262 | 0.197566 | 0.781277 | 0.750179 | 0.70031 | 0.683369 | 0.666189 | 0.61648 | 0 | 0.153406 | 0.31615 | 23,783 | 697 | 78 | 34.121951 | 0.619651 | 0.031409 | 0 | 0.565455 | 0 | 0.016364 | 0.214137 | 0.146062 | 0 | 0 | 0.001739 | 0 | 0.085455 | 1 | 0.096364 | false | 0 | 0.007273 | 0.001818 | 0.121818 | 0.003636 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f03eb2674d42ddf4cce68163d9a728afffa30e9e | 18,356 | py | Python | stellarlab/catalog/xindex.py | wangleon/stella | 3942f8e687065bb96760140596747cbbe6dad04b | [
"Apache-2.0"
] | null | null | null | stellarlab/catalog/xindex.py | wangleon/stella | 3942f8e687065bb96760140596747cbbe6dad04b | [
"Apache-2.0"
] | null | null | null | stellarlab/catalog/xindex.py | wangleon/stella | 3942f8e687065bb96760140596747cbbe6dad04b | [
"Apache-2.0"
] | 1 | 2021-10-02T02:18:28.000Z | 2021-10-02T02:18:28.000Z | import os
import numpy as np
import astropy.io.fits as fits
from .name import get_regular_name, _get_HIP_number, _get_KIC_number
from ..utils.asciifile import find_sortedfile, quickfind_sortedfile
xindex_path = os.path.join(os.getenv('STELLA_DATA'), 'catalog/xindex')
def cross_starnames(starname):
name_lst = {}
... | 31.164686 | 89 | 0.578231 | 2,667 | 18,356 | 3.810274 | 0.053618 | 0.073017 | 0.086991 | 0.117693 | 0.859969 | 0.831234 | 0.785672 | 0.74257 | 0.731943 | 0.69937 | 0 | 0.021319 | 0.258934 | 18,356 | 588 | 90 | 31.217687 | 0.725722 | 0.282687 | 0 | 0.596215 | 0 | 0 | 0.068982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069401 | false | 0 | 0.015773 | 0 | 0.214511 | 0.006309 | 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 |
b2bf3703dcdd85d360fc9fdf47157b760f311aa6 | 62 | py | Python | dsmodule/utils/__init__.py | gcastella/py_ds_template | 7827710367fdecb8905ec74a60cd69bb58b280b0 | [
"RSA-MD"
] | 2 | 2020-05-20T12:06:35.000Z | 2020-05-20T12:37:52.000Z | dsmodule/utils/__init__.py | gcastella/py_ds_template | 7827710367fdecb8905ec74a60cd69bb58b280b0 | [
"RSA-MD"
] | 4 | 2020-05-20T12:06:43.000Z | 2020-05-28T13:14:18.000Z | dsmodule/utils/__init__.py | gcastella/py_ds_template | 7827710367fdecb8905ec74a60cd69bb58b280b0 | [
"RSA-MD"
] | null | null | null | from .read import *
from .utils import *
from .write import *
| 15.5 | 20 | 0.709677 | 9 | 62 | 4.888889 | 0.555556 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 3 | 21 | 20.666667 | 0.88 | 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 |
b2fb60adea2923a5400b69a93916f85db700e34f | 1,020 | py | Python | survey/migrations/0005_auto_20210626_1918.py | sz3lbi/survey_system | 26ec243fd0323ffcc4c319a1825a684ee17fb3c9 | [
"BSD-3-Clause"
] | null | null | null | survey/migrations/0005_auto_20210626_1918.py | sz3lbi/survey_system | 26ec243fd0323ffcc4c319a1825a684ee17fb3c9 | [
"BSD-3-Clause"
] | null | null | null | survey/migrations/0005_auto_20210626_1918.py | sz3lbi/survey_system | 26ec243fd0323ffcc4c319a1825a684ee17fb3c9 | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 3.2.4 on 2021-06-26 19:18
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('survey', '0004_survey_name_pl'),
]
operations = [
migrations.AddField(
model_name='answer',
name='text_en',
... | 30 | 95 | 0.584314 | 113 | 1,020 | 5.106195 | 0.362832 | 0.110919 | 0.159445 | 0.187175 | 0.7487 | 0.7487 | 0.7487 | 0.681109 | 0.639515 | 0.639515 | 0 | 0.03719 | 0.288235 | 1,020 | 33 | 96 | 30.909091 | 0.757576 | 0.044118 | 0 | 0.740741 | 1 | 0 | 0.099692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
651260d51c6a9bf67c70574df1c3f7d9e8826745 | 592 | py | Python | ubiquiti_config_generator/nodes/__init__.py | ammesonb/ubiquiti-config-generator | 7d1855476b657d3a2241676f060b44ad2b5545e4 | [
"MIT"
] | 3 | 2021-01-14T18:29:07.000Z | 2021-11-04T19:15:42.000Z | ubiquiti_config_generator/nodes/__init__.py | ammesonb/ubiquiti-config-generator | 7d1855476b657d3a2241676f060b44ad2b5545e4 | [
"MIT"
] | 15 | 2020-12-07T12:10:07.000Z | 2021-06-07T14:04:09.000Z | ubiquiti_config_generator/nodes/__init__.py | ammesonb/ubiquiti-config-generator | 7d1855476b657d3a2241676f060b44ad2b5545e4 | [
"MIT"
] | null | null | null | """
Configuration nodes
"""
from ubiquiti_config_generator.nodes.external_addresses import ExternalAddresses
from ubiquiti_config_generator.nodes.firewall import Firewall
from ubiquiti_config_generator.nodes.global_settings import GlobalSettings
from ubiquiti_config_generator.nodes.host import Host
from ubiquiti_config... | 45.538462 | 80 | 0.891892 | 78 | 592 | 6.487179 | 0.282051 | 0.213439 | 0.320158 | 0.480237 | 0.581028 | 0.13834 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 592 | 12 | 81 | 49.333333 | 0.916667 | 0.032095 | 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 |
652b363a2153bae9bef048608c93ea52c45b689e | 29 | py | Python | nntransfer/configs/model/__init__.py | sinzlab/nntransfer | 78622feb568b1cc50ac0f73c8297f9785876a659 | [
"MIT"
] | null | null | null | nntransfer/configs/model/__init__.py | sinzlab/nntransfer | 78622feb568b1cc50ac0f73c8297f9785876a659 | [
"MIT"
] | null | null | null | nntransfer/configs/model/__init__.py | sinzlab/nntransfer | 78622feb568b1cc50ac0f73c8297f9785876a659 | [
"MIT"
] | 2 | 2021-07-30T08:39:04.000Z | 2022-03-01T16:26:11.000Z | from .base import ModelConfig | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 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 |
6542118e784fe3fb0d2c1b959fbad5d8073788df | 39 | py | Python | tests/test_resnet.py | louisfh/opensoundscape | 3a038e68297743d61338bc946e5577fc4d78d420 | [
"MIT"
] | 30 | 2019-02-21T16:51:51.000Z | 2022-03-17T22:32:10.000Z | tests/test_resnet.py | louisfh/opensoundscape | 3a038e68297743d61338bc946e5577fc4d78d420 | [
"MIT"
] | 253 | 2019-03-04T17:58:18.000Z | 2022-03-30T23:04:49.000Z | tests/test_resnet.py | louisfh/opensoundscape | 3a038e68297743d61338bc946e5577fc4d78d420 | [
"MIT"
] | 9 | 2019-08-20T17:14:45.000Z | 2022-03-28T19:33:11.000Z | import pytest
from pathlib import Path
| 13 | 24 | 0.846154 | 6 | 39 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 2 | 25 | 19.5 | 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 |
e8dee8a4043588078741e1a147a2faf208266b99 | 5,958 | py | Python | pyfranc/expressions.py | slavaGanzin/pyfranc | b931af847e4a90e3219c90466c9a949eb2cdf2bc | [
"MIT"
] | 2 | 2021-12-29T19:34:58.000Z | 2022-01-06T03:40:22.000Z | pyfranc/expressions.py | slavaGanzin/pyfranc | b931af847e4a90e3219c90466c9a949eb2cdf2bc | [
"MIT"
] | null | null | null | pyfranc/expressions.py | slavaGanzin/pyfranc | b931af847e4a90e3219c90466c9a949eb2cdf2bc | [
"MIT"
] | 1 | 2021-12-29T19:33:59.000Z | 2021-12-29T19:33:59.000Z | # -*- coding: utf-8 -*
#!/usr/bin/env python3
expressions = {
'cmn': r'[\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u3005\u3007\u3021-\u3029\u3038-\u303B\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFA6D\uFA70-\uFAD9]|\uD81B[\uDFE2\uDFE3\uDFF0\uDFF1]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF... | 124.125 | 645 | 0.71618 | 892 | 5,958 | 4.782511 | 0.933857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315853 | 0.030211 | 5,958 | 47 | 646 | 126.765957 | 0.422465 | 0.006882 | 0 | 0 | 0 | 0.477273 | 0.925769 | 0.891613 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
330aa1e58169f647216940cb21c08f66fe2245e7 | 4,390 | py | Python | easy_nhl/schedule.py | branks42/easy-nhl | cfdfb1434b9cbdd9c71f5aee9cfb255c92c11804 | [
"MIT"
] | 1 | 2021-04-26T23:59:14.000Z | 2021-04-26T23:59:14.000Z | easy_nhl/schedule.py | branks42/easy-nhl | cfdfb1434b9cbdd9c71f5aee9cfb255c92c11804 | [
"MIT"
] | null | null | null | easy_nhl/schedule.py | branks42/easy-nhl | cfdfb1434b9cbdd9c71f5aee9cfb255c92c11804 | [
"MIT"
] | null | null | null | import requests
from .base_url import base_url
class Schedule:
"""
Schedule endpoints of the NHL API
"""
def __init__(self):
self.base_url = f"{base_url}/api/v1/schedule"
def today(self, team_id=None):
"""
Get scheduled games for todays date.
Args:
t... | 32.761194 | 99 | 0.546241 | 541 | 4,390 | 4.260628 | 0.127542 | 0.067679 | 0.100217 | 0.095445 | 0.836009 | 0.836009 | 0.818221 | 0.803037 | 0.778742 | 0.734924 | 0 | 0.009904 | 0.33303 | 4,390 | 133 | 100 | 33.007519 | 0.777322 | 0.158542 | 0 | 0.691358 | 0 | 0 | 0.206778 | 0.176623 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061728 | false | 0 | 0.024691 | 0 | 0.37037 | 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 |
33287fae363aafde5069c9b00a60dd0f07fb84f7 | 24,945 | py | Python | examples/supercompressible/abaqus_scripts/supercompressible.py | gawelk/F3DAS | 4a4e7233add608820de9ee0fd1c369c2fa1d24c1 | [
"BSD-3-Clause"
] | 45 | 2019-10-15T06:08:23.000Z | 2020-08-01T03:15:11.000Z | examples/supercompressible/abaqus_scripts/supercompressible.py | gawelk/F3DAS | 4a4e7233add608820de9ee0fd1c369c2fa1d24c1 | [
"BSD-3-Clause"
] | 19 | 2021-02-28T16:06:30.000Z | 2022-03-12T01:02:29.000Z | examples/supercompressible/abaqus_scripts/supercompressible.py | gawelk/F3DAS | 4a4e7233add608820de9ee0fd1c369c2fa1d24c1 | [
"BSD-3-Clause"
] | 10 | 2020-01-10T09:42:58.000Z | 2020-07-20T19:57:15.000Z | '''
Created on 2020-09-22 12:07:10
Last modified on 2020-09-30 08:40:00
@author: L. F. Pereira (lfpereira@fe.up.pt))
'''
# imports
from __future__ import division
# abaqus
from caeModules import * # allow noGui
from abaqus import mdb, backwardCompatibility
from abaqusConstants import (THREE_D, DEFORMABLE_BODY, IMP... | 35.892086 | 240 | 0.706955 | 3,198 | 24,945 | 5.303315 | 0.136335 | 0.035259 | 0.006604 | 0.007429 | 0.79546 | 0.793219 | 0.783373 | 0.783373 | 0.781014 | 0.781014 | 0 | 0.018566 | 0.179475 | 24,945 | 694 | 241 | 35.943804 | 0.810045 | 0.094528 | 0 | 0.777778 | 0 | 0 | 0.058441 | 0.007478 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.018868 | 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 |
3334f532f5accc8328826fa90a6497befe51a5a2 | 46 | py | Python | core/data/__init__.py | rdbch/tutorial_simclr | 7083b5c1bd75a14cf63899249664f17ca7e10331 | [
"MIT"
] | 9 | 2021-02-12T15:19:56.000Z | 2021-03-02T19:45:40.000Z | core/data/__init__.py | rdbch/tutorial_simclr | 7083b5c1bd75a14cf63899249664f17ca7e10331 | [
"MIT"
] | null | null | null | core/data/__init__.py | rdbch/tutorial_simclr | 7083b5c1bd75a14cf63899249664f17ca7e10331 | [
"MIT"
] | null | null | null | from .data_augmentation import ImageTransforms | 46 | 46 | 0.913043 | 5 | 46 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.953488 | 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 |
684dab32b4f53e4a7735fc9fd9ff8da683535902 | 502 | py | Python | minloansng/celery_config.py | minsystems/minloansng | 225f7c553dc1c7180431c5b84250560b74b0e9cc | [
"PostgreSQL",
"MIT"
] | null | null | null | minloansng/celery_config.py | minsystems/minloansng | 225f7c553dc1c7180431c5b84250560b74b0e9cc | [
"PostgreSQL",
"MIT"
] | null | null | null | minloansng/celery_config.py | minsystems/minloansng | 225f7c553dc1c7180431c5b84250560b74b0e9cc | [
"PostgreSQL",
"MIT"
] | null | null | null | from django.conf.global_settings import TIME_ZONE
# Celery Settings
CELERY_BROKER_URL = 'redis://h:p1b15c4b4577060cc61d3711d622acbf3243b83ead7246a2419d1927cadacaddb@ec2-3-229-172-37.compute-1.amazonaws.com:31599'
CELERY_RESULT_BACKEND = 'redis://h:p1b15c4b4577060cc61d3711d622acbf3243b83ead7246a2419d1927cadacaddb@ec2-3... | 50.2 | 148 | 0.848606 | 59 | 502 | 6.983051 | 0.559322 | 0.072816 | 0.34466 | 0.359223 | 0.553398 | 0.553398 | 0.553398 | 0.553398 | 0.553398 | 0.553398 | 0 | 0.226891 | 0.051793 | 502 | 9 | 149 | 55.777778 | 0.638655 | 0.02988 | 0 | 0 | 0 | 0.285714 | 0.552577 | 0.503093 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
04010efea6be5766f54275998d4987ed8a4517db | 22 | py | Python | src/jolly_brancher/auth.py | ahonnecke/jolly-brancher | c2dc17fd548a2da6943973db19e9b9b8d47ce103 | [
"MIT"
] | null | null | null | src/jolly_brancher/auth.py | ahonnecke/jolly-brancher | c2dc17fd548a2da6943973db19e9b9b8d47ce103 | [
"MIT"
] | null | null | null | src/jolly_brancher/auth.py | ahonnecke/jolly-brancher | c2dc17fd548a2da6943973db19e9b9b8d47ce103 | [
"MIT"
] | 1 | 2021-07-09T15:32:51.000Z | 2021-07-09T15:32:51.000Z | from jira import JIRA
| 11 | 21 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 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 |
f0d2cf101bdf8fa2316bf6e8de0a2c598743339f | 38 | py | Python | generateattckdocs/generateattckdocs/__init__.py | frbor/pyattck | 36339ce67b7e4ddeba1a7832892cf08936f7e99d | [
"MIT"
] | 377 | 2019-07-11T20:26:19.000Z | 2022-03-30T00:35:19.000Z | generateattckdocs/generateattckdocs/__init__.py | frbor/pyattck | 36339ce67b7e4ddeba1a7832892cf08936f7e99d | [
"MIT"
] | 68 | 2019-07-22T15:24:29.000Z | 2022-02-25T10:14:48.000Z | generateattckdocs/generateattckdocs/__init__.py | frbor/pyattck | 36339ce67b7e4ddeba1a7832892cf08936f7e99d | [
"MIT"
] | 78 | 2019-06-14T05:41:26.000Z | 2022-03-18T19:13:41.000Z | from .generatedocs import GenerateDocs | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9bf3b3e4be59190499902e4b11a1eaa2d0c44fcc | 92 | py | Python | OtenkiBuzzer/__init__.py | kentaro/otenki-buzzer | be007d7859770bc1b90c0b9cd9080e88aef11ad0 | [
"MIT"
] | 3 | 2016-06-14T10:18:54.000Z | 2016-06-14T10:30:44.000Z | OtenkiBuzzer/__init__.py | kentaro/otenki-buzzer | be007d7859770bc1b90c0b9cd9080e88aef11ad0 | [
"MIT"
] | null | null | null | OtenkiBuzzer/__init__.py | kentaro/otenki-buzzer | be007d7859770bc1b90c0b9cd9080e88aef11ad0 | [
"MIT"
] | null | null | null | from .Display import *
from .Sensor import *
from .Buzzer import *
from .Feed import *
| 18.4 | 22 | 0.684783 | 12 | 92 | 5.25 | 0.5 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228261 | 92 | 4 | 23 | 23 | 0.887324 | 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 |
ac997324aaca9ad24e33ee46647bd13f6132fb10 | 32,326 | py | Python | CAIL2020/sfksz/model/qa/qa.py | ShenDezhou/CAIL | c4cfa98ab4ecedbce34a7a5a186830486047540c | [
"Apache-2.0"
] | 71 | 2020-07-16T01:49:27.000Z | 2022-03-27T16:55:00.000Z | CAIL2020/sfksz/model/qa/qa.py | ShenDezhou/CAIL | c4cfa98ab4ecedbce34a7a5a186830486047540c | [
"Apache-2.0"
] | 11 | 2020-09-18T14:26:25.000Z | 2022-02-09T23:49:33.000Z | CAIL2020/sfksz/model/qa/qa.py | ShenDezhou/CAIL | c4cfa98ab4ecedbce34a7a5a186830486047540c | [
"Apache-2.0"
] | 16 | 2020-07-15T07:24:30.000Z | 2022-03-19T05:41:11.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from model.encoder.LSTMEncoder import LSTMEncoder
from model.encoder.GRUEncoder import GRUEncoder
from model.layer.Attention import Attention
from tools.accuracy_tool import single_label_top1_accuracy, multi_label_top1_accuracy
from model.qa.util impor... | 41.179618 | 159 | 0.608365 | 4,326 | 32,326 | 4.343273 | 0.058715 | 0.028208 | 0.024216 | 0.025334 | 0.799564 | 0.761403 | 0.72601 | 0.708287 | 0.703444 | 0.697962 | 0 | 0.021529 | 0.2528 | 32,326 | 784 | 160 | 41.232143 | 0.756355 | 0.277609 | 0 | 0.801471 | 0 | 0 | 0.041416 | 0.002856 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066176 | false | 0.017157 | 0.026961 | 0 | 0.156863 | 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 |
ac9c535207f480fd443513984a754d41e13a035e | 566 | py | Python | src/tests/common/test_common_mail.py | lujoga/pretalx | 3e02ad97d74f47179926e163983d3a110b101f15 | [
"Apache-2.0"
] | null | null | null | src/tests/common/test_common_mail.py | lujoga/pretalx | 3e02ad97d74f47179926e163983d3a110b101f15 | [
"Apache-2.0"
] | null | null | null | src/tests/common/test_common_mail.py | lujoga/pretalx | 3e02ad97d74f47179926e163983d3a110b101f15 | [
"Apache-2.0"
] | null | null | null | import pytest
from pretalx.common.mail import mail_send_task
@pytest.mark.django_db
def test_mail_send_does_not_fail_in_corner_cases(event):
event.mail_settings["reply_to"] = "sender@example.com"
event.save()
mail_send_task("m@example.com", "S", "B", None, [], event.pk)
@pytest.mark.django_db
def test_... | 29.789474 | 65 | 0.727915 | 89 | 566 | 4.303371 | 0.370787 | 0.104439 | 0.093995 | 0.164491 | 0.754569 | 0.754569 | 0.754569 | 0.754569 | 0.754569 | 0.754569 | 0 | 0 | 0.120141 | 566 | 18 | 66 | 31.444444 | 0.769076 | 0 | 0 | 0.615385 | 0 | 0 | 0.19258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.153846 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
accd72212a0b7420e4a065f8fa5f55c110f82d73 | 73 | py | Python | pipeline/preprocess_pipeline.py | isabelpuche/dl_in_prod_2022 | b8459d46ba0bfa18efec8d4cb1c47bf95e6181ce | [
"Apache-2.0"
] | null | null | null | pipeline/preprocess_pipeline.py | isabelpuche/dl_in_prod_2022 | b8459d46ba0bfa18efec8d4cb1c47bf95e6181ce | [
"Apache-2.0"
] | null | null | null | pipeline/preprocess_pipeline.py | isabelpuche/dl_in_prod_2022 | b8459d46ba0bfa18efec8d4cb1c47bf95e6181ce | [
"Apache-2.0"
] | null | null | null | import apache_beam as beam
def run_pipeline(argv: List[str]):
pass
| 12.166667 | 34 | 0.726027 | 12 | 73 | 4.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 73 | 5 | 35 | 14.6 | 0.864407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4a212af2372d76702b01259a5bc996b4cdcfd600 | 234 | py | Python | gateway/admin.py | RockefellerArchiveCenter/ProjectElectronAPIGateway | 4a35c24fe5c09df4f849d1f74b45af5a49c61ac6 | [
"MIT"
] | null | null | null | gateway/admin.py | RockefellerArchiveCenter/ProjectElectronAPIGateway | 4a35c24fe5c09df4f849d1f74b45af5a49c61ac6 | [
"MIT"
] | null | null | null | gateway/admin.py | RockefellerArchiveCenter/ProjectElectronAPIGateway | 4a35c24fe5c09df4f849d1f74b45af5a49c61ac6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Application, RequestLog, ServiceRegistry, Source
admin.site.register(Application)
admin.site.register(ServiceRegistry)
admin.site.register(Source)
admin.site.register(RequestLog)
| 26 | 68 | 0.837607 | 28 | 234 | 7 | 0.428571 | 0.183673 | 0.346939 | 0.234694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07265 | 234 | 8 | 69 | 29.25 | 0.903226 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c5818b67e2e7cc1c3ba74b3227c4a0387f112be8 | 9,705 | py | Python | simulation/views.py | jessicajourneycake/Route-to-Market-Simulations | a5f1c0c81b69f5e52f5ba437b7c6cfc9055d5a56 | [
"MIT"
] | null | null | null | simulation/views.py | jessicajourneycake/Route-to-Market-Simulations | a5f1c0c81b69f5e52f5ba437b7c6cfc9055d5a56 | [
"MIT"
] | null | null | null | simulation/views.py | jessicajourneycake/Route-to-Market-Simulations | a5f1c0c81b69f5e52f5ba437b7c6cfc9055d5a56 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from plotly.offline import plot
import plotly.graph_objects as go
import plotly.express as px
import pandas as pd
import os
def home(chart):
return render(chart, "index.html")
def engage(chart):
directory = os.getcwd() + "/simulation/engage_sector.xlsx"
data = pd.rea... | 39.133065 | 131 | 0.630088 | 1,244 | 9,705 | 4.790193 | 0.07717 | 0.047995 | 0.074174 | 0.117805 | 0.817083 | 0.75516 | 0.75516 | 0.740561 | 0.724115 | 0.65464 | 0 | 0.024349 | 0.204431 | 9,705 | 247 | 132 | 39.291498 | 0.747442 | 0 | 0 | 0.539683 | 0 | 0 | 0.197321 | 0.082844 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058201 | false | 0 | 0.031746 | 0.005291 | 0.148148 | 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 |
c59de9d5c3b651f969615d1a6db5d67a85213f60 | 755 | py | Python | event_schemas.py | beratakuzum/mqtt-collector | 11faeb7089ae16c908a32b6883b59e8ff71cce92 | [
"MIT"
] | 2 | 2021-01-17T21:28:20.000Z | 2022-02-10T14:59:53.000Z | event_schemas.py | beratakuzum/mqtt-collector | 11faeb7089ae16c908a32b6883b59e8ff71cce92 | [
"MIT"
] | null | null | null | event_schemas.py | beratakuzum/mqtt-collector | 11faeb7089ae16c908a32b6883b59e8ff71cce92 | [
"MIT"
] | null | null | null | """Json schemas to validate events"""
temp_sensor = {
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"temperature": {
"type": "number"
},
"timestamp": {
"type": "string",
"format": "date-time"
}
},
"... | 23.59375 | 48 | 0.47947 | 55 | 755 | 6.545455 | 0.436364 | 0.066667 | 0.088889 | 0.111111 | 0.838889 | 0.838889 | 0.838889 | 0.838889 | 0.838889 | 0.838889 | 0 | 0 | 0.324503 | 755 | 32 | 49 | 23.59375 | 0.705882 | 0.04106 | 0 | 0.6 | 0 | 0 | 0.44089 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5cf146cfb4e86a63a4342bd9ad41919d4da83b8 | 18,910 | py | Python | test/test_py7za_box.py | Grismar/py7za | 1cfcbd6661e37d6088034b6950b0ef8444747214 | [
"MIT"
] | null | null | null | test/test_py7za_box.py | Grismar/py7za | 1cfcbd6661e37d6088034b6950b0ef8444747214 | [
"MIT"
] | null | null | null | test/test_py7za_box.py | Grismar/py7za | 1cfcbd6661e37d6088034b6950b0ef8444747214 | [
"MIT"
] | null | null | null | import unittest
from pathlib import Path
from shutil import rmtree
from py7za.py7za_box import box, CLI_DEFAULTS
from conffu import Config
from zipfile import ZipFile
from os import chdir, getcwd
CLI_DEFAULTS['output'] = 'q'
class TestPy7zaBox(unittest.IsolatedAsyncioTestCase):
def setUp(self) -> None:
#... | 60.031746 | 117 | 0.595505 | 2,541 | 18,910 | 4.32625 | 0.068083 | 0.106431 | 0.076412 | 0.096061 | 0.869644 | 0.845629 | 0.805149 | 0.764941 | 0.714364 | 0.65378 | 0 | 0.006227 | 0.235695 | 18,910 | 314 | 118 | 60.22293 | 0.754376 | 0.004389 | 0 | 0.379433 | 0 | 0 | 0.341373 | 0.061464 | 0 | 0 | 0 | 0 | 0.304965 | 1 | 0.007092 | false | 0 | 0.024823 | 0 | 0.039007 | 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 |
c5e67aea179cd5ce4afbeca15c651e5fdfe293da | 117 | py | Python | code/test-install.py | jnadro/learn2matplotlib | e0fb6538256a234eaf5a5db61e4483c4caebfdaa | [
"MIT"
] | null | null | null | code/test-install.py | jnadro/learn2matplotlib | e0fb6538256a234eaf5a5db61e4483c4caebfdaa | [
"MIT"
] | null | null | null | code/test-install.py | jnadro/learn2matplotlib | e0fb6538256a234eaf5a5db61e4483c4caebfdaa | [
"MIT"
] | null | null | null | import sys
import numpy
import matplotlib
print(sys.version)
print(numpy.__version__)
print(matplotlib.__version__)
| 14.625 | 29 | 0.837607 | 15 | 117 | 6 | 0.4 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 117 | 7 | 30 | 16.714286 | 0.841122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 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 |
a841ecd61b1e16ebc781705498892e5c19111cd9 | 2,948 | py | Python | backend/registry/filters/service.py | mrmap-community/MrMap | 5dc05b7a5339b967047cd207755718f670a1d7cd | [
"MIT"
] | 10 | 2021-03-12T17:46:38.000Z | 2022-03-11T10:59:01.000Z | backend/registry/filters/service.py | mrmap-community/mrmap | 5dc05b7a5339b967047cd207755718f670a1d7cd | [
"MIT"
] | 214 | 2021-03-10T19:24:17.000Z | 2022-03-15T07:34:24.000Z | backend/registry/filters/service.py | mrmap-community/MrMap | 5dc05b7a5339b967047cd207755718f670a1d7cd | [
"MIT"
] | 9 | 2021-03-16T19:47:54.000Z | 2022-03-11T11:01:22.000Z | from django_filters.filterset import FilterSet
from registry.models.service import (FeatureType, Layer, WebFeatureService,
WebMapService)
from rest_framework_gis.filters import GeometryFilter
from rest_framework_gis.filterset import GeoFilterSet
class WebMapServiceFilterSet(Filter... | 37.794872 | 75 | 0.683175 | 309 | 2,948 | 6.035599 | 0.12945 | 0.120107 | 0.171582 | 0.137265 | 0.810188 | 0.810188 | 0.810188 | 0.800536 | 0.78445 | 0.644504 | 0 | 0 | 0.211669 | 2,948 | 77 | 76 | 38.285714 | 0.802496 | 0 | 0 | 0.615385 | 0 | 0 | 0.210312 | 0.033921 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.061538 | 0 | 0.430769 | 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 |
a8bc1e9a73b565618867a40d28464f6e90235034 | 104 | py | Python | cls/models/__init__.py | KaiyuYue/mgd | a5f98775963be680a18f9c46f00a116f3803c075 | [
"MIT"
] | 52 | 2020-08-23T17:44:26.000Z | 2022-03-03T14:57:36.000Z | cls/models/__init__.py | KaiyuYue/mgd | a5f98775963be680a18f9c46f00a116f3803c075 | [
"MIT"
] | 6 | 2020-08-31T16:59:32.000Z | 2021-04-08T00:41:39.000Z | cls/models/__init__.py | KaiyuYue/mgd | a5f98775963be680a18f9c46f00a116f3803c075 | [
"MIT"
] | 13 | 2020-10-03T07:46:41.000Z | 2021-12-04T11:50:57.000Z | from .mobilenetv1 import *
from .mobilenetv2 import *
from .resnet import *
from .shufflenetv2 import *
| 20.8 | 27 | 0.769231 | 12 | 104 | 6.666667 | 0.5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.153846 | 104 | 4 | 28 | 26 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a8d4697250c0447fc8d28577d7015fd79ec34fb4 | 42 | py | Python | algo_trader/strategies/__init__.py | dignitas123/algo_trader | a7f85bc063eb23e492a06187efb5f7af87d3cd2e | [
"MIT"
] | 4 | 2020-06-12T08:59:06.000Z | 2022-03-18T18:52:33.000Z | algo_trader/strategies/__init__.py | dignitas123/algo_trader | a7f85bc063eb23e492a06187efb5f7af87d3cd2e | [
"MIT"
] | 5 | 2022-01-13T16:29:50.000Z | 2022-01-17T05:54:27.000Z | algo_trader/strategies/__init__.py | dignitas123/algo_trader | a7f85bc063eb23e492a06187efb5f7af87d3cd2e | [
"MIT"
] | 1 | 2022-03-31T07:04:51.000Z | 2022-03-31T07:04:51.000Z | from algo_trader.strategies.lotus import * | 42 | 42 | 0.857143 | 6 | 42 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.897436 | 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 |
76396fe5736124ac08656339e59b6cc5e3e98e72 | 16,577 | py | Python | helpcenter/api/tests/test_views.py | smalls12/django_helpcenter | e0118447871abad701056bc137d63e6fcd8abde6 | [
"MIT"
] | 4 | 2017-07-30T17:43:36.000Z | 2021-09-14T04:26:37.000Z | helpcenter/api/tests/test_views.py | cdriehuys/django_helpcenter | e0118447871abad701056bc137d63e6fcd8abde6 | [
"MIT"
] | 20 | 2016-06-30T04:52:26.000Z | 2016-09-30T04:52:15.000Z | helpcenter/api/tests/test_views.py | cdriehuys/django_helpcenter | e0118447871abad701056bc137d63e6fcd8abde6 | [
"MIT"
] | null | null | null | import json
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Permission
from django.core.urlresolvers import reverse
from rest_framework.test import APIRequestFactory, APITestCase
from helpcenter import models
from helpcenter.api import serializers
from helpcenter.testing_utils i... | 33.421371 | 79 | 0.619654 | 1,826 | 16,577 | 5.548193 | 0.089814 | 0.051821 | 0.065838 | 0.062185 | 0.806238 | 0.763893 | 0.716119 | 0.708321 | 0.697661 | 0.635771 | 0 | 0.006501 | 0.276166 | 16,577 | 495 | 80 | 33.488889 | 0.83782 | 0.194064 | 0 | 0.722628 | 0 | 0 | 0.143866 | 0.091652 | 0 | 0 | 0 | 0 | 0.135037 | 1 | 0.105839 | false | 0.018248 | 0.029197 | 0 | 0.175182 | 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 |
76a43b49bb91086c4490c057d7d4e6930c86b4d4 | 112 | py | Python | fugue/tools/datasource_handlers/__init__.py | Brown-University-Library/chamber | 90b48f891c3e70344b3a336df01aa0c144089e26 | [
"MIT"
] | 2 | 2020-05-11T19:09:40.000Z | 2021-12-13T16:27:05.000Z | fugue/tools/datasource_handlers/__init__.py | Brown-University-Library/chamber | 90b48f891c3e70344b3a336df01aa0c144089e26 | [
"MIT"
] | 1 | 2021-03-31T18:40:25.000Z | 2021-03-31T18:40:25.000Z | fugue/tools/datasource_handlers/__init__.py | Brown-University-Library/chamber | 90b48f891c3e70344b3a336df01aa0c144089e26 | [
"MIT"
] | 1 | 2019-07-23T15:28:27.000Z | 2019-07-23T15:28:27.000Z | #from pathlib import Path
#from importlib import import_module
from .dshandler_factory import DSHandler_Factory | 28 | 48 | 0.866071 | 15 | 112 | 6.266667 | 0.533333 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 112 | 4 | 48 | 28 | 0.94 | 0.526786 | 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 |
4f105cc073785574cb00a662d71ba126bc0d442f | 124 | py | Python | basics/character_attachment.py | JASchilz/RoverMUD | b99770a7c55cd6951df872793a54bfa260b145f9 | [
"Apache-2.0"
] | 4 | 2016-01-01T12:06:26.000Z | 2020-05-04T02:36:57.000Z | basics/character_attachment.py | JASchilz/RoverMUD | b99770a7c55cd6951df872793a54bfa260b145f9 | [
"Apache-2.0"
] | null | null | null | basics/character_attachment.py | JASchilz/RoverMUD | b99770a7c55cd6951df872793a54bfa260b145f9 | [
"Apache-2.0"
] | null | null | null | from db.polymorphic_many_to_many import PolymorphicManyToMany
class CharacterAttachment(PolymorphicManyToMany):
pass
| 17.714286 | 61 | 0.854839 | 12 | 124 | 8.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 124 | 6 | 62 | 20.666667 | 0.936364 | 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 |
4f347f44ede07f6437027c1bea93a1d5ac0f46c2 | 222 | py | Python | abstract_turtle/__init__.py | kavigupta/abstract_turtle | 2cf852b35781191935bee9a60ce3505fc79dce2b | [
"MIT"
] | 3 | 2020-02-04T20:09:48.000Z | 2021-07-10T17:56:17.000Z | abstract_turtle/__init__.py | kavigupta/abstract_turtle | 2cf852b35781191935bee9a60ce3505fc79dce2b | [
"MIT"
] | 6 | 2020-01-06T23:18:34.000Z | 2022-03-12T00:10:28.000Z | abstract_turtle/__init__.py | kavigupta/abstract_turtle | 2cf852b35781191935bee9a60ce3505fc79dce2b | [
"MIT"
] | 2 | 2020-01-06T18:50:44.000Z | 2020-06-08T01:23:34.000Z | from .turtle_class import Turtle
from .canvas import Canvas
from .logging_canvas import LoggingCanvas
from .forwarding_canvas import ForwardingCanvas
from .pillow_canvas import PillowCanvas
from .tk_canvas import TkCanvas
| 31.714286 | 47 | 0.864865 | 29 | 222 | 6.448276 | 0.448276 | 0.320856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 222 | 6 | 48 | 37 | 0.944444 | 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 |
4f4eb0e52ad20eb25360dab0422cc4e6c8a674a4 | 27 | py | Python | __init__.py | parkus/arc | a3df293e49531c1d0e7dfac71794f1896925835b | [
"MIT"
] | null | null | null | __init__.py | parkus/arc | a3df293e49531c1d0e7dfac71794f1896925835b | [
"MIT"
] | null | null | null | __init__.py | parkus/arc | a3df293e49531c1d0e7dfac71794f1896925835b | [
"MIT"
] | null | null | null | from arc_functions import * | 27 | 27 | 0.851852 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
4f536a5f0bda1b0dfeabf0fff870b1694920c416 | 39 | py | Python | prebuilder/core/__init__.py | prebuilder/prebuilder.py | e5ee9dce0e46a3bc022dfaa0ce9f1be0563e2bdc | [
"Unlicense"
] | 4 | 2019-11-10T19:53:00.000Z | 2020-11-03T00:35:25.000Z | prebuilder/core/__init__.py | prebuilder/prebuilder.py | e5ee9dce0e46a3bc022dfaa0ce9f1be0563e2bdc | [
"Unlicense"
] | null | null | null | prebuilder/core/__init__.py | prebuilder/prebuilder.py | e5ee9dce0e46a3bc022dfaa0ce9f1be0563e2bdc | [
"Unlicense"
] | 1 | 2019-11-15T08:49:49.000Z | 2019-11-15T08:49:49.000Z | from .Person import Maintainer, Person
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
4f7287db0e7796d36f3a9de9a62b0dab26ef5e3a | 170 | py | Python | tools/__init__.py | bondgeek/bgpy | f3d0894d42ae8297f0e37364593433d8706ea90d | [
"MIT",
"Unlicense"
] | null | null | null | tools/__init__.py | bondgeek/bgpy | f3d0894d42ae8297f0e37364593433d8706ea90d | [
"MIT",
"Unlicense"
] | null | null | null | tools/__init__.py | bondgeek/bgpy | f3d0894d42ae8297f0e37364593433d8706ea90d | [
"MIT",
"Unlicense"
] | null | null | null | '''
Devlopment tools
'''
__all__ = ['timing', 'fcompare', 'code_timer', 'timer']
from timings import timing, fcompare, code_timer, timer
from develtools import dirpub
| 17 | 55 | 0.723529 | 20 | 170 | 5.85 | 0.6 | 0.239316 | 0.307692 | 0.393162 | 0.547009 | 0.547009 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 170 | 9 | 56 | 18.888889 | 0.80137 | 0.094118 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4f7c5a90c785d6619a1cec0714ed9d3691c6e06a | 5,160 | py | Python | Tests/test_statistics.py | curiousbasil/statscalc1-sql | fde9c4ba565de79710d9f396233a58f50b94f52e | [
"MIT"
] | 1 | 2020-06-28T18:59:48.000Z | 2020-06-28T18:59:48.000Z | Tests/test_statistics.py | ssempax1/statscalc1 | 6ad529d57af657aa40b223bb332ffb1b915bfba2 | [
"MIT"
] | 1 | 2019-11-17T02:41:15.000Z | 2019-11-17T02:41:15.000Z | Tests/test_statistics.py | ssempax1/statscalc1 | 6ad529d57af657aa40b223bb332ffb1b915bfba2 | [
"MIT"
] | 2 | 2019-11-17T01:35:37.000Z | 2020-06-28T18:59:50.000Z | import unittest
from Statistics.Statistics import Statistics
from CSVReader.CsvReader import CsvReader
from pprint import pprint
class MyTestCase(unittest.TestCase):
def setUp(self) -> None:
self.statistics = Statistics()
def test_instantiate_calculator(self):
self.assertIsInstance(self.stati... | 53.195876 | 119 | 0.547481 | 542 | 5,160 | 4.98524 | 0.118081 | 0.144338 | 0.119541 | 0.182457 | 0.749815 | 0.713916 | 0.713916 | 0.713916 | 0.713916 | 0.673945 | 0 | 0.041234 | 0.327907 | 5,160 | 96 | 120 | 53.75 | 0.737889 | 0 | 0 | 0.518519 | 0 | 0 | 0.196124 | 0.054264 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.135802 | false | 0 | 0.049383 | 0 | 0.197531 | 0.037037 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
4f84c692732446b73a900a2ad2ed122b6e9d0a33 | 46 | py | Python | remoteAPI/__init__.py | mohibeyki/remoteAPI | d0008ed7c2c632a152ca86e6a36f6d84b5455f74 | [
"MIT"
] | null | null | null | remoteAPI/__init__.py | mohibeyki/remoteAPI | d0008ed7c2c632a152ca86e6a36f6d84b5455f74 | [
"MIT"
] | null | null | null | remoteAPI/__init__.py | mohibeyki/remoteAPI | d0008ed7c2c632a152ca86e6a36f6d84b5455f74 | [
"MIT"
] | null | null | null | from remoteAPI.remote_api import send_request
| 23 | 45 | 0.891304 | 7 | 46 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.928571 | 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 |
96cdc9bae6ed83a97538065b41654c12cf6e1901 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/array_api/_elementwise_functions.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/array_api/_elementwise_functions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/array_api/_elementwise_functions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/6a/b8/b3/390da233777f6ce16993faf0c025d9337672871f7f7e7c82922e99f1e6 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 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 |
8c1e1ccaf549bacdddb82aa3415b9d452c548466 | 127 | py | Python | pyconcrete/__init__.py | yxtj/pyconcrete | 8c86474477c49284ec4ddc6399e73eac5a9a8f39 | [
"BSD-3-Clause"
] | null | null | null | pyconcrete/__init__.py | yxtj/pyconcrete | 8c86474477c49284ec4ddc6399e73eac5a9a8f39 | [
"BSD-3-Clause"
] | null | null | null | pyconcrete/__init__.py | yxtj/pyconcrete | 8c86474477c49284ec4ddc6399e73eac5a9a8f39 | [
"BSD-3-Clause"
] | null | null | null | from .pyconcrete import *
from .lwe_params_constant import *
from .rlwe_params_constant import *
__doc__ = pyconcrete.__doc__
| 21.166667 | 35 | 0.811024 | 16 | 127 | 5.6875 | 0.5 | 0.21978 | 0.43956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125984 | 127 | 5 | 36 | 25.4 | 0.81982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
4fee3d53d8056f2249599dce64d9a719e5db40a4 | 45 | py | Python | unicom-task/tenscf_rely/emails/__init__.py | Charles-Hello/myScripts | 07f2d0fe51ab3581d812de64c57110bcad6219cd | [
"MIT"
] | 3 | 2021-12-06T15:35:58.000Z | 2021-12-06T15:57:18.000Z | unicom-task/tenscf_rely/emails/__init__.py | Charles-Hello/myScripts | 07f2d0fe51ab3581d812de64c57110bcad6219cd | [
"MIT"
] | null | null | null | unicom-task/tenscf_rely/emails/__init__.py | Charles-Hello/myScripts | 07f2d0fe51ab3581d812de64c57110bcad6219cd | [
"MIT"
] | 2 | 2022-02-09T19:03:34.000Z | 2022-03-27T03:34:19.000Z | from emails._src import Email, from_template
| 22.5 | 44 | 0.844444 | 7 | 45 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 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 |
8b3f13fa6933e6deac82f1283b72eb00a5cc7c3b | 140 | py | Python | buildscripts/resmokelib/setup_multiversion/__init__.py | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | buildscripts/resmokelib/setup_multiversion/__init__.py | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | buildscripts/resmokelib/setup_multiversion/__init__.py | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | """Setup multiversion mongodb module."""
from buildscripts.resmokelib.setup_multiversion.setup_multiversion import SetupMultiversionPlugin
| 35 | 97 | 0.864286 | 13 | 140 | 9.153846 | 0.692308 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064286 | 140 | 3 | 98 | 46.666667 | 0.908397 | 0.242857 | 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 |
8b45e943e38166fece9f7c2f3b54d5d4b84a72d5 | 67,284 | py | Python | pipeline_plugins/tests/variables/collections/sites/open/cc/test_var_cmdb_set_module_ip_selector.py | brookylin/bk-sops | 6c0cf78879849921c4ff6ad6bf3bb82dfdf5b973 | [
"Apache-2.0"
] | 881 | 2019-03-25T02:45:42.000Z | 2022-03-30T09:10:49.000Z | pipeline_plugins/tests/variables/collections/sites/open/cc/test_var_cmdb_set_module_ip_selector.py | m0re-work/bk-sops | d03ba8a4ee0781c6daaf0dd38a7369dc82669f7d | [
"Apache-2.0"
] | 3,303 | 2019-03-25T04:18:03.000Z | 2022-03-31T11:52:03.000Z | pipeline_plugins/tests/variables/collections/sites/open/cc/test_var_cmdb_set_module_ip_selector.py | m0re-work/bk-sops | d03ba8a4ee0781c6daaf0dd38a7369dc82669f7d | [
"Apache-2.0"
] | 395 | 2019-03-25T02:53:36.000Z | 2022-03-31T08:37:28.000Z | # -*- coding: utf-8 -*-
"""
Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community
Edition) available.
Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved.
Licensed under the MIT License (the "License"); you may not use this file except in co... | 43.186136 | 120 | 0.441427 | 6,373 | 67,284 | 4.207438 | 0.037031 | 0.022376 | 0.013426 | 0.01999 | 0.902476 | 0.883158 | 0.867606 | 0.856083 | 0.835795 | 0.830051 | 0 | 0.027692 | 0.435378 | 67,284 | 1,557 | 121 | 43.213873 | 0.678126 | 0.032266 | 0 | 0.68223 | 0 | 0.001394 | 0.192351 | 0.046461 | 0 | 0 | 0 | 0 | 0.043206 | 1 | 0.025784 | false | 0 | 0.002787 | 0 | 0.032056 | 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 |
8cd229d0342d4ca84766150eb1b8c4ddbe3b8625 | 192 | py | Python | Project_Codev0.1/Class-diagram_Classes/comment.py | cyberseihis/Wallsource | 4bd981e75c3ebf97c9673ffb80147ef2bdf7d61a | [
"MIT"
] | null | null | null | Project_Codev0.1/Class-diagram_Classes/comment.py | cyberseihis/Wallsource | 4bd981e75c3ebf97c9673ffb80147ef2bdf7d61a | [
"MIT"
] | null | null | null | Project_Codev0.1/Class-diagram_Classes/comment.py | cyberseihis/Wallsource | 4bd981e75c3ebf97c9673ffb80147ef2bdf7d61a | [
"MIT"
] | null | null | null | class comment:
text: str
def __init__(self, text: str):
self.text = text
def setSxolio(self, text: str):
self.text = text
def remove(self):
del self
| 16 | 35 | 0.5625 | 25 | 192 | 4.16 | 0.4 | 0.307692 | 0.211538 | 0.288462 | 0.5 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.338542 | 192 | 11 | 36 | 17.454545 | 0.818898 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8cee7b03debaff445ec4e463100be46c253b599d | 44 | py | Python | clinicadl/tsvtools/analysis/__init__.py | Raelag0112/clinicadl | 4b9508ea6bbe5498069b1d76ad2c3636f67e3184 | [
"MIT"
] | 25 | 2021-08-01T05:52:34.000Z | 2022-03-22T04:18:01.000Z | clinicadl/tsvtools/analysis/__init__.py | Raelag0112/clinicadl | 4b9508ea6bbe5498069b1d76ad2c3636f67e3184 | [
"MIT"
] | 82 | 2021-07-12T08:28:36.000Z | 2022-03-02T16:12:04.000Z | clinicadl/tsvtools/analysis/__init__.py | Raelag0112/clinicadl | 4b9508ea6bbe5498069b1d76ad2c3636f67e3184 | [
"MIT"
] | 12 | 2021-07-30T08:01:02.000Z | 2022-03-14T11:45:03.000Z | from .analysis import demographics_analysis
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 0.8 | 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 |
5077da0a267a13f8217d7b79c28348c4edb1d70f | 3,356 | py | Python | vultr_api/instance.py | nxo0/vultr-api | 2601fc438d2836eeeef6781faa1fa14d6d09fd6b | [
"MIT"
] | null | null | null | vultr_api/instance.py | nxo0/vultr-api | 2601fc438d2836eeeef6781faa1fa14d6d09fd6b | [
"MIT"
] | null | null | null | vultr_api/instance.py | nxo0/vultr-api | 2601fc438d2836eeeef6781faa1fa14d6d09fd6b | [
"MIT"
] | 1 | 2021-05-03T14:09:04.000Z | 2021-05-03T14:09:04.000Z | # -*- coding: utf-8 -*-
from . import logger
import urllib.request
import json
def vm_list(api_key):
try:
if type(api_key) is str:
req = urllib.request.Request('https://api.vultr.com/v2/instances')
req.add_header('Authorization', f'Bearer {api_key}')
with urllib.request... | 30.788991 | 94 | 0.54708 | 397 | 3,356 | 4.523929 | 0.171285 | 0.046771 | 0.053452 | 0.076837 | 0.821826 | 0.812918 | 0.780067 | 0.780067 | 0.743318 | 0.72216 | 0 | 0.003956 | 0.32211 | 3,356 | 109 | 95 | 30.788991 | 0.785495 | 0.006257 | 0 | 0.677083 | 0 | 0 | 0.20186 | 0.013797 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.03125 | 0 | 0.15625 | 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 |
5080cb137a226ddf31a3b1b41273047dfa90b52c | 128 | py | Python | dace/libraries/blas/__init__.py | gronerl/dace | 886e14cfec5df4aa28ff9a5e6c0fe8150570b8c7 | [
"BSD-3-Clause"
] | null | null | null | dace/libraries/blas/__init__.py | gronerl/dace | 886e14cfec5df4aa28ff9a5e6c0fe8150570b8c7 | [
"BSD-3-Clause"
] | null | null | null | dace/libraries/blas/__init__.py | gronerl/dace | 886e14cfec5df4aa28ff9a5e6c0fe8150570b8c7 | [
"BSD-3-Clause"
] | null | null | null | from dace.library import register_library
from .nodes import *
from .environments import *
register_library(__name__, "blas")
| 18.285714 | 41 | 0.796875 | 16 | 128 | 6 | 0.5625 | 0.291667 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 128 | 6 | 42 | 21.333333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
5098a08f97dd6073ec7f642dda2921268f928e25 | 5,061 | py | Python | tests/test_e2e.py | durovda/tdd_training | 47a154a9f546e2b854a48c17acc817d751d22f17 | [
"Apache-2.0"
] | null | null | null | tests/test_e2e.py | durovda/tdd_training | 47a154a9f546e2b854a48c17acc817d751d22f17 | [
"Apache-2.0"
] | null | null | null | tests/test_e2e.py | durovda/tdd_training | 47a154a9f546e2b854a48c17acc817d751d22f17 | [
"Apache-2.0"
] | null | null | null | from application import Application
from commands import Commands
from dialog_with_user import DialogWithUser
from hospital import Hospital
from mock_console import MockConsole
def make_application(hospital, console):
dialog_with_user = DialogWithUser(console)
commands = Commands(hospital, dialog_with_user)
... | 48.2 | 113 | 0.740368 | 615 | 5,061 | 5.782114 | 0.177236 | 0.120922 | 0.21766 | 0.18982 | 0.755062 | 0.737627 | 0.709505 | 0.709505 | 0.698819 | 0.68054 | 0 | 0.008197 | 0.156293 | 5,061 | 104 | 114 | 48.663462 | 0.82459 | 0 | 0 | 0.511905 | 0 | 0 | 0.284134 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 1 | 0.071429 | false | 0 | 0.059524 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
50cc38df955b2827f8ad98a589edf0c743b437ef | 50,648 | py | Python | mt/nmt_en_hi.py | csalt-research/nasscom_nlp_week | 003396c0ebe35b7c6fd316081cc4d3d0492d988c | [
"MIT"
] | 1 | 2021-07-26T09:33:41.000Z | 2021-07-26T09:33:41.000Z | mt/nmt_en_hi.py | csalt-research/speech-to-speech-mt | 003396c0ebe35b7c6fd316081cc4d3d0492d988c | [
"MIT"
] | null | null | null | mt/nmt_en_hi.py | csalt-research/speech-to-speech-mt | 003396c0ebe35b7c6fd316081cc4d3d0492d988c | [
"MIT"
] | 2 | 2021-04-07T14:05:03.000Z | 2021-07-26T09:30:33.000Z | # -*- coding: utf-8 -*-
"""NMT_En-Hi
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1HPejCRndz2tl46Kd8yTF2_vTv75Lpn0S
# Neural Machine Translation for En-Hi
**Install Dependencies**
* `OpenNMT-py`: Open-Source Neural Machine Translation (a framework ... | 134.702128 | 38,762 | 0.909769 | 2,943 | 50,648 | 15.626911 | 0.529732 | 0.001913 | 0.001174 | 0.000913 | 0.030376 | 0.02257 | 0.015873 | 0.012742 | 0.008654 | 0.002848 | 0 | 0.128018 | 0.037613 | 50,648 | 376 | 38,763 | 134.702128 | 0.815502 | 0.020889 | 0 | 0.125 | 1 | 0.008929 | 0.074598 | 0.005363 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.0625 | null | null | 0.026786 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
50e751f409d28e044c7e7b7d8d7b8a0418b8dfee | 25 | py | Python | python/texpack/__init__.py | pedromxavier/cookbook | 243532f893651c34e70fbba8a52f3f129dbc8dd3 | [
"MIT"
] | 1 | 2021-03-15T11:53:40.000Z | 2021-03-15T11:53:40.000Z | python/texpack/__init__.py | pedromxavier/cookbook | 243532f893651c34e70fbba8a52f3f129dbc8dd3 | [
"MIT"
] | null | null | null | python/texpack/__init__.py | pedromxavier/cookbook | 243532f893651c34e70fbba8a52f3f129dbc8dd3 | [
"MIT"
] | null | null | null | from .texpack import main | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 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 |
50f3d8d7a98ad32b04b4e45a3c243ed7023e164e | 37,738 | py | Python | instances/passenger_demand/pas-20210421-2109-int12e/11.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/11.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/11.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 2776
passenger_arriving = (
(4, 5, 8, 3, 2, 0, 3, 9, 1, 1, 3, 0), # 0
(5, 7, 7, 5, 3, 0, 6, 4, 5, 6, 2, 0), # 1
(3, 4, 6, 1, 4, 0, 3, 8, 5, 7, 2, 0), # 2
(1, 9, 8, 8, 3, 0, 4, 10, 12, 9, 0, 0), # 3
(7, 6, 2, 2, 2, 0, 5, 4, 3, 11, 4, 0), # 4
(2, 10, 6, 2, 2, 0, 5, 7, 5, 3... | 112.650746 | 213 | 0.72802 | 5,147 | 37,738 | 5.33573 | 0.22382 | 0.314605 | 0.249062 | 0.471908 | 0.330918 | 0.329607 | 0.329607 | 0.329607 | 0.329607 | 0.329607 | 0 | 0.818204 | 0.119614 | 37,738 | 334 | 214 | 112.988024 | 0.008398 | 0.03209 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
50ff4e689c902a162ae2de49800c6bace211eec7 | 44 | py | Python | datapungibea/tests/__init__.py | jjotterson/beafullfetchpy | 47d492f79e620ad967593982887d9428756cd63b | [
"MIT"
] | 13 | 2019-09-24T16:32:40.000Z | 2021-09-27T08:40:24.000Z | datapungibea/tests/__init__.py | jjotterson/beafullfetchpy | 47d492f79e620ad967593982887d9428756cd63b | [
"MIT"
] | 3 | 2020-12-08T22:16:56.000Z | 2020-12-24T20:40:30.000Z | datapungibea/tests/__init__.py | jjotterson/beafullfetchpy | 47d492f79e620ad967593982887d9428756cd63b | [
"MIT"
] | 2 | 2019-11-05T23:30:23.000Z | 2020-12-17T23:41:04.000Z | from datapungibea.tests.main import runTests | 44 | 44 | 0.886364 | 6 | 44 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.95122 | 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 |
0f9a5ddb0ab602d1c02026d49753f1991dc76b06 | 46 | py | Python | aydin/io/__init__.py | royerloic/aydin | f9c61a24030891d008c318b250da5faec69fcd7d | [
"BSD-3-Clause"
] | 78 | 2021-11-08T16:11:23.000Z | 2022-03-27T17:51:04.000Z | aydin/io/__init__.py | royerloic/aydin | f9c61a24030891d008c318b250da5faec69fcd7d | [
"BSD-3-Clause"
] | 19 | 2021-11-08T17:15:40.000Z | 2022-03-30T17:46:55.000Z | aydin/io/__init__.py | royerloic/aydin | f9c61a24030891d008c318b250da5faec69fcd7d | [
"BSD-3-Clause"
] | 7 | 2021-11-09T17:42:32.000Z | 2022-03-09T00:37:57.000Z | # flake8: noqa
from aydin.io.io import imread
| 15.333333 | 30 | 0.76087 | 8 | 46 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.152174 | 46 | 2 | 31 | 23 | 0.871795 | 0.26087 | 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 |
0f9b3ef1f068e1db742bccb2c82fdcf78c1b3f97 | 42 | py | Python | megdc/conf/__init__.py | indykish/megdc.py | e9de7ce844889efef2ff30444bdf0e361956d7fa | [
"Apache-2.0"
] | 1 | 2015-11-06T09:12:59.000Z | 2015-11-06T09:12:59.000Z | megdc/conf/__init__.py | indykish/megdc.py | e9de7ce844889efef2ff30444bdf0e361956d7fa | [
"Apache-2.0"
] | null | null | null | megdc/conf/__init__.py | indykish/megdc.py | e9de7ce844889efef2ff30444bdf0e361956d7fa | [
"Apache-2.0"
] | null | null | null | import megam # noqa
import megdc # noqa
| 14 | 20 | 0.714286 | 6 | 42 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 42 | 2 | 21 | 21 | 0.9375 | 0.214286 | 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 |
0fac1cc5e951f46d820d77bfaf93add01cd2bf22 | 339 | py | Python | youtube_search_requests_py2/__init__.py | trollfist20/youtube-search-requests-py2 | 725b21407e1875a3224a5ba612dd99175a6f5633 | [
"MIT"
] | null | null | null | youtube_search_requests_py2/__init__.py | trollfist20/youtube-search-requests-py2 | 725b21407e1875a3224a5ba612dd99175a6f5633 | [
"MIT"
] | null | null | null | youtube_search_requests_py2/__init__.py | trollfist20/youtube-search-requests-py2 | 725b21407e1875a3224a5ba612dd99175a6f5633 | [
"MIT"
] | null | null | null | # youtube-search-requests_py2
# __init__.py
from youtube_search_requests_py2.search import YoutubeSearch
from youtube_search_requests_py2.session import YoutubeSession
from youtube_search_requests_py2.async_session import AsyncYoutubeSession
from youtube_search_requests_py2.async_search import AsyncYoutubeSearch
__VE... | 37.666667 | 73 | 0.887906 | 44 | 339 | 6.318182 | 0.409091 | 0.233813 | 0.377698 | 0.431655 | 0.438849 | 0.23741 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.070796 | 339 | 9 | 74 | 37.666667 | 0.853968 | 0.115044 | 0 | 0 | 0 | 0 | 0.02349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0fc18a5264eeb90a01464b3626da4f68b575bfa3 | 5,282 | py | Python | floodsystem/station.py | Frangoulides/Flood_Warning_System_179 | 0babcb06f6126617565c4b3e0c4d9c8f5e49f64e | [
"MIT"
] | null | null | null | floodsystem/station.py | Frangoulides/Flood_Warning_System_179 | 0babcb06f6126617565c4b3e0c4d9c8f5e49f64e | [
"MIT"
] | null | null | null | floodsystem/station.py | Frangoulides/Flood_Warning_System_179 | 0babcb06f6126617565c4b3e0c4d9c8f5e49f64e | [
"MIT"
] | 1 | 2022-01-29T15:27:15.000Z | 2022-01-29T15:27:15.000Z | # Copyright (C) 2018 Garth N. Wells
#
# SPDX-License-Identifier: MIT
"""This module provides a model for a monitoring station, and tools
for manipulating/modifying station data
"""
class MonitoringStation:
"""This class represents a river monitoring station"""
def __init__(self, station_id, measure_id, labe... | 39.125926 | 138 | 0.612079 | 681 | 5,282 | 4.631424 | 0.152717 | 0.144578 | 0.12175 | 0.04312 | 0.764743 | 0.746988 | 0.746988 | 0.746988 | 0.741281 | 0.741281 | 0 | 0.008115 | 0.300076 | 5,282 | 135 | 139 | 39.125926 | 0.845009 | 0.289095 | 0 | 0.734177 | 0 | 0 | 0.101209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113924 | false | 0 | 0 | 0 | 0.329114 | 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 |
0fef73b020a0dcc1e72b0a9fbd3111f88fd36f7e | 318 | py | Python | benchlingapi/__init__.py | hypostulate/benchling-api | 2c992c7e34ecd2c57a8efce46171692f9f4e27f0 | [
"MIT"
] | 36 | 2016-01-18T20:26:19.000Z | 2021-01-14T12:39:56.000Z | benchlingapi/__init__.py | hypostulate/benchling-api | 2c992c7e34ecd2c57a8efce46171692f9f4e27f0 | [
"MIT"
] | 18 | 2017-01-26T10:00:45.000Z | 2021-02-16T03:22:40.000Z | benchlingapi/__init__.py | hypostulate/benchling-api | 2c992c7e34ecd2c57a8efce46171692f9f4e27f0 | [
"MIT"
] | 12 | 2017-06-20T21:44:02.000Z | 2020-12-28T05:15:08.000Z | """BenchlingAPI."""
from .__version__ import __authors__
from .__version__ import __homepage__
from .__version__ import __repo__
from .__version__ import __title__
from .__version__ import __version__
from benchlingapi.models import schema # must import schema before session
from benchlingapi.session import Session
| 35.333333 | 75 | 0.839623 | 36 | 318 | 6.305556 | 0.361111 | 0.242291 | 0.374449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 318 | 8 | 76 | 39.75 | 0.804965 | 0.150943 | 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 |
0ff9a5275cfa19c0c6af93a952347c3ec5a63126 | 13,907 | py | Python | mw/database/collections/revisions.py | frankier/python-mediawiki-utilities | aa066d3d955daa3d20cf09bf5b0d46778dd67a7c | [
"MIT"
] | 23 | 2015-09-13T04:42:24.000Z | 2021-05-28T23:28:57.000Z | mw/database/collections/revisions.py | frankier/python-mediawiki-utilities | aa066d3d955daa3d20cf09bf5b0d46778dd67a7c | [
"MIT"
] | 23 | 2015-01-14T04:48:59.000Z | 2015-08-25T19:25:43.000Z | mw/database/collections/revisions.py | frankier/python-mediawiki-utilities | aa066d3d955daa3d20cf09bf5b0d46778dd67a7c | [
"MIT"
] | 14 | 2015-09-15T16:04:50.000Z | 2022-01-09T19:18:39.000Z | import logging
import time
from itertools import chain
from ...types import Timestamp
from ...util import iteration, none_or
from .collection import Collection
logger = logging.getLogger("mw.database.collections.revisions")
class AllRevisions(Collection):
def get(self, rev_id, include_page=False):
"""
... | 33.836983 | 91 | 0.524556 | 1,630 | 13,907 | 4.303067 | 0.096933 | 0.025663 | 0.030796 | 0.03992 | 0.81651 | 0.809381 | 0.785572 | 0.776875 | 0.748931 | 0.748931 | 0 | 0.003833 | 0.399727 | 13,907 | 410 | 92 | 33.919512 | 0.836368 | 0.262961 | 0 | 0.691983 | 0 | 0 | 0.28128 | 0.003532 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025316 | false | 0 | 0.025316 | 0 | 0.075949 | 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 |
ba29da98a42b11a5f85793f8ec0524f2e170abb9 | 8,302 | py | Python | emission/simulation/populate_three_hardcoded_sections_unused.py | Andrew-Tan/e-mission-server | 91d59bee86e63d803e401f10f4b6a2502effedda | [
"BSD-3-Clause"
] | null | null | null | emission/simulation/populate_three_hardcoded_sections_unused.py | Andrew-Tan/e-mission-server | 91d59bee86e63d803e401f10f4b6a2502effedda | [
"BSD-3-Clause"
] | 1 | 2017-08-31T19:54:16.000Z | 2017-08-31T19:54:16.000Z | emission/simulation/populate_three_hardcoded_sections_unused.py | Andrew-Tan/e-mission-server | 91d59bee86e63d803e401f10f4b6a2502effedda | [
"BSD-3-Clause"
] | null | null | null | __author__ = 'Yin'
from pymongo import MongoClient
db = MongoClient('54.218.218.130').Test_database
Test_Sections=db.Test_Sections
Test_Sections.remove( { 'user_id' : 'Fate' } )
sections_nopoints={'source': 'Shankari', 'group': 1, '_id': 'Fate_20140321T092124-0700',
'section_id': 0, 'user_id': 'Fate', ... | 156.641509 | 2,101 | 0.660564 | 888 | 8,302 | 6.024775 | 0.182432 | 0.128785 | 0.168411 | 0.217944 | 0.723178 | 0.715701 | 0.697757 | 0.555701 | 0.496449 | 0.496449 | 0 | 0.312408 | 0.098169 | 8,302 | 52 | 2,102 | 159.653846 | 0.402164 | 0.252831 | 0 | 0 | 0 | 0 | 0.488308 | 0.016126 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022727 | 0 | 0.022727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 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 |
ba2efb6ea3f5f073361622e8db129db7348c0a50 | 1,120 | py | Python | autodrug.py | DarthGexe/autodrug | 90123bb26fc06df50a3acc4bbb587a50a77d7709 | [
"MIT"
] | null | null | null | autodrug.py | DarthGexe/autodrug | 90123bb26fc06df50a3acc4bbb587a50a77d7709 | [
"MIT"
] | null | null | null | autodrug.py | DarthGexe/autodrug | 90123bb26fc06df50a3acc4bbb587a50a77d7709 | [
"MIT"
] | null | null | null | from steem import Steem
from steem.transactionbuilder import TransactionBuilder
from steembase import operations
s = Steem(nodes=["https://rpc.usesteem.com"],
keys=[posting_key])
account = account_name
ops = [
operations.CustomJson(**{
"from": account,
"id": "dw-heist",
"json": {"... | 25.454545 | 72 | 0.649107 | 119 | 1,120 | 6.016807 | 0.302521 | 0.050279 | 0.041899 | 0.055866 | 0.891061 | 0.891061 | 0.891061 | 0.891061 | 0.891061 | 0.891061 | 0 | 0.004376 | 0.183929 | 1,120 | 43 | 73 | 26.046512 | 0.778993 | 0.166964 | 0 | 0.685714 | 0 | 0 | 0.207974 | 0.047414 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.085714 | 0 | 0.085714 | 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 |
2cf9fb790d934ff3ccbe7568a51c1f23de9a2153 | 40 | py | Python | airtable/__init__.py | ahmedhindi/airtable-python-wrapper | 641946a333ef4a2624d7862d57975f80ef36ff59 | [
"MIT"
] | null | null | null | airtable/__init__.py | ahmedhindi/airtable-python-wrapper | 641946a333ef4a2624d7862d57975f80ef36ff59 | [
"MIT"
] | null | null | null | airtable/__init__.py | ahmedhindi/airtable-python-wrapper | 641946a333ef4a2624d7862d57975f80ef36ff59 | [
"MIT"
] | null | null | null | from .airtable import Airtable # noqa
| 20 | 39 | 0.75 | 5 | 40 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 1 | 40 | 40 | 0.9375 | 0.1 | 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 |
fa17496b7bddb898de056989acbb4c2c8ec3c8dd | 110 | py | Python | pynameplot/__init__.py | tommygod3/pyNAMEplot | 9cf0d56116c6b46934ea812208010097dbd3ee7f | [
"Apache-2.0"
] | null | null | null | pynameplot/__init__.py | tommygod3/pyNAMEplot | 9cf0d56116c6b46934ea812208010097dbd3ee7f | [
"Apache-2.0"
] | null | null | null | pynameplot/__init__.py | tommygod3/pyNAMEplot | 9cf0d56116c6b46934ea812208010097dbd3ee7f | [
"Apache-2.0"
] | null | null | null | from .namereader.drawmap import drawMap
from .namereader.name import Name
from .namereader.namesum import Sum
| 27.5 | 39 | 0.836364 | 15 | 110 | 6.133333 | 0.466667 | 0.456522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 110 | 3 | 40 | 36.666667 | 0.938776 | 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 |
d70a2571889b3dd002b83398ffe9089c07f2f158 | 340 | py | Python | covirus/tests/datasets/conftest.py | covirus/covirus | 85a97132d0773c947637b717b74a0ac4695bb8ad | [
"MIT"
] | 2 | 2020-04-10T18:38:59.000Z | 2020-04-11T20:24:49.000Z | covirus/tests/datasets/conftest.py | covirus/covirus | 85a97132d0773c947637b717b74a0ac4695bb8ad | [
"MIT"
] | 1 | 2020-04-10T08:27:21.000Z | 2020-04-12T06:05:57.000Z | covirus/tests/datasets/conftest.py | maricatovictor/covirus | 85a97132d0773c947637b717b74a0ac4695bb8ad | [
"MIT"
] | null | null | null | import pytest
from covirus.data import load_dataset
@pytest.fixture(scope="session")
def cache_dir():
return "/tmp/data/"
@pytest.fixture(scope="session")
def wcota_dataset():
return load_dataset(country="BR", source="wcota")
@pytest.fixture(scope="session")
def johns_hopkins_dataset():
return load_da... | 18.888889 | 53 | 0.735294 | 45 | 340 | 5.4 | 0.488889 | 0.135802 | 0.222222 | 0.308642 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 340 | 17 | 54 | 20 | 0.81 | 0 | 0 | 0.272727 | 0 | 0 | 0.120588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.181818 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d73e2f9231a01c3d53e16eab85d834cbe9adebb0 | 7,220 | py | Python | lib/dnvgl/setup_utils/test/test_version.py | berhoel/DNVGLPyFramework | 22b2a53ab580bc6aeff746a57fc1cae69f110f03 | [
"MIT"
] | 3 | 2019-10-06T12:19:41.000Z | 2021-11-14T19:41:53.000Z | lib/dnvgl/setup_utils/test/test_version.py | berhoel/DNVGLPyFramework | 22b2a53ab580bc6aeff746a57fc1cae69f110f03 | [
"MIT"
] | null | null | null | lib/dnvgl/setup_utils/test/test_version.py | berhoel/DNVGLPyFramework | 22b2a53ab580bc6aeff746a57fc1cae69f110f03 | [
"MIT"
] | 3 | 2019-03-29T16:20:32.000Z | 2021-05-03T11:25:16.000Z | #! /usr/bin/env python
# -*- coding: utf-8 -*-
"""Testing `dnvgl.setup_utils.version`
"""
from __future__ import (
division, print_function, absolute_import, unicode_literals)
# Standard libraries.
import os
import sys
import codecs
import functools
import subprocess
# Third party libraries.
import py
import pyt... | 30.083333 | 77 | 0.625623 | 958 | 7,220 | 4.541754 | 0.151357 | 0.011032 | 0.012411 | 0.04137 | 0.796139 | 0.759825 | 0.735923 | 0.727419 | 0.705355 | 0.692484 | 0 | 0.029179 | 0.21205 | 7,220 | 239 | 78 | 30.209205 | 0.734751 | 0.032687 | 0 | 0.715026 | 0 | 0 | 0.204219 | 0.027698 | 0 | 0 | 0 | 0 | 0.051813 | 1 | 0.067358 | false | 0 | 0.067358 | 0 | 0.15544 | 0.005181 | 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 |
ad579f3a69eb42c6d54eec98f4e3c10e6a8c1bfd | 39 | py | Python | geometric/GNN/layer/__init__.py | sj1104/Het | 81b7e9f0f593108db969fc46a1af3df74b825230 | [
"Apache-2.0"
] | 2 | 2021-12-05T07:11:04.000Z | 2021-12-15T07:53:48.000Z | geometric/GNN/layer/__init__.py | sj1104/Het | 81b7e9f0f593108db969fc46a1af3df74b825230 | [
"Apache-2.0"
] | null | null | null | geometric/GNN/layer/__init__.py | sj1104/Het | 81b7e9f0f593108db969fc46a1af3df74b825230 | [
"Apache-2.0"
] | 3 | 2021-04-01T22:39:13.000Z | 2021-04-21T11:51:57.000Z | from .gcn import *
from .pcgcn import * | 19.5 | 20 | 0.717949 | 6 | 39 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 2 | 20 | 19.5 | 0.875 | 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 |
ad7431279059505db7a4195c4487ba4ab3d6ee74 | 46 | py | Python | element_session/__init__.py | tdincer/element-session | 9a1dc0c3436600723c1de94414fabd1229256e78 | [
"MIT"
] | null | null | null | element_session/__init__.py | tdincer/element-session | 9a1dc0c3436600723c1de94414fabd1229256e78 | [
"MIT"
] | null | null | null | element_session/__init__.py | tdincer/element-session | 9a1dc0c3436600723c1de94414fabd1229256e78 | [
"MIT"
] | 1 | 2021-12-07T20:33:04.000Z | 2021-12-07T20:33:04.000Z | from . import session_with_datetime as session | 46 | 46 | 0.869565 | 7 | 46 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 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 |
d13ff0cb29da8ed12dfb8c4ff7d6877f1812e279 | 18 | py | Python | test.py | ducpv-1644/t-rex-game-bot | cb6e3393b8091f8e57bfb7f2ab15782182f06653 | [
"MIT"
] | null | null | null | test.py | ducpv-1644/t-rex-game-bot | cb6e3393b8091f8e57bfb7f2ab15782182f06653 | [
"MIT"
] | null | null | null | test.py | ducpv-1644/t-rex-game-bot | cb6e3393b8091f8e57bfb7f2ab15782182f06653 | [
"MIT"
] | null | null | null | asd
a
a
sd
as
d
| 2.571429 | 3 | 0.555556 | 6 | 18 | 1.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 18 | 6 | 4 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d14de44d9a64361ad10809cfe832335c38708166 | 83 | py | Python | app/util/graphic.py | RobinRheem/mememime | 86b81cc3708d58a142229ebfe192c8234ae2fce2 | [
"MIT"
] | null | null | null | app/util/graphic.py | RobinRheem/mememime | 86b81cc3708d58a142229ebfe192c8234ae2fce2 | [
"MIT"
] | 1 | 2021-04-30T20:57:05.000Z | 2021-04-30T20:57:05.000Z | app/util/graphic.py | cladup/objection | 86b81cc3708d58a142229ebfe192c8234ae2fce2 | [
"MIT"
] | null | null | null | def fbx_to_glTF(fbx_file):
"""
Convert fbx to glTF file.
"""
pass
| 11.857143 | 29 | 0.554217 | 12 | 83 | 3.583333 | 0.583333 | 0.232558 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325301 | 83 | 6 | 30 | 13.833333 | 0.767857 | 0.301205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d16e12ab5c22866bfb7b6956d4bee5c42ce2f7d4 | 40 | py | Python | drink_partners/contrib/mongo/__init__.py | henriquebraga/drink-partners | 4702263ae3e43ea9403cff5a72b68245d61880c7 | [
"Apache-2.0"
] | null | null | null | drink_partners/contrib/mongo/__init__.py | henriquebraga/drink-partners | 4702263ae3e43ea9403cff5a72b68245d61880c7 | [
"Apache-2.0"
] | 22 | 2020-05-02T19:32:24.000Z | 2021-10-17T21:19:46.000Z | drink_partners/contrib/mongo/__init__.py | henriquebraga/drink-partners | 4702263ae3e43ea9403cff5a72b68245d61880c7 | [
"Apache-2.0"
] | null | null | null | from .client import MongoClient # noqa
| 20 | 39 | 0.775 | 5 | 40 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 1 | 40 | 40 | 0.939394 | 0.1 | 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 |
d17118648e032f7b708b8ad8af4b96ad8467e418 | 45 | py | Python | yolov3/datasets/__init__.py | hysts/pytorch_yolov3 | 6d4c7a1e42d366894effac8ca52f7116f891b5ab | [
"MIT"
] | 13 | 2019-03-22T15:22:22.000Z | 2021-09-30T21:15:37.000Z | yolov3/datasets/__init__.py | hysts/pytorch_yolov3 | 6d4c7a1e42d366894effac8ca52f7116f891b5ab | [
"MIT"
] | null | null | null | yolov3/datasets/__init__.py | hysts/pytorch_yolov3 | 6d4c7a1e42d366894effac8ca52f7116f891b5ab | [
"MIT"
] | null | null | null | from yolov3.datasets.coco import COCODataset
| 22.5 | 44 | 0.866667 | 6 | 45 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 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 |
0f19d066a4486fa53e906d9e6eb40c4a6de0bbce | 81 | py | Python | src/json_generation/__init__.py | AlexDuvalinho/AITextGenerator | 02b96e40612209b5f7599674f9cd0e867f74fc59 | [
"MIT"
] | 36 | 2021-01-13T03:33:49.000Z | 2022-03-31T00:37:16.000Z | src/json_generation/__init__.py | bytjn1416124/AITextGenerator | 01ff72ebf373018d0d708cdd2018229fd386f73b | [
"MIT"
] | 5 | 2020-04-11T11:39:37.000Z | 2020-05-05T12:51:56.000Z | src/json_generation/__init__.py | bytjn1416124/AITextGenerator | 01ff72ebf373018d0d708cdd2018229fd386f73b | [
"MIT"
] | 16 | 2021-02-20T05:04:47.000Z | 2022-03-22T01:56:27.000Z | from .data_preprocessing import DataPrepro
from .prepare_data import prepare_data | 40.5 | 42 | 0.888889 | 11 | 81 | 6.272727 | 0.545455 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 81 | 2 | 43 | 40.5 | 0.932432 | 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 |
0e195b5d856d217cd2c5817e9f7752cd6138835f | 18,906 | py | Python | calc.py | intellectualmora/linjh | 779e15b68cf86c0b2f3d8e9599ba484833b0739a | [
"MIT"
] | null | null | null | calc.py | intellectualmora/linjh | 779e15b68cf86c0b2f3d8e9599ba484833b0739a | [
"MIT"
] | null | null | null | calc.py | intellectualmora/linjh | 779e15b68cf86c0b2f3d8e9599ba484833b0739a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2020/5/17 21:16
# @Author : mora
# @FileName: calc.py
# @Github :https://github.com/intellectualmora/linjh
import numpy as np
import pandas as pd
from sko.GA import GA
import sys
import matplotlib.pyplot as plt
maxborder = 30
prec = 1e-3
NaN = sys.maxsize
path = "./data.csv"
zeroP = (... | 40.48394 | 130 | 0.452026 | 2,881 | 18,906 | 2.886151 | 0.052065 | 0.111124 | 0.152977 | 0.15009 | 0.878653 | 0.87721 | 0.873361 | 0.866987 | 0.857847 | 0.853999 | 0 | 0.079544 | 0.369618 | 18,906 | 466 | 131 | 40.570815 | 0.618141 | 0.011954 | 0 | 0.351282 | 0 | 0 | 0.019155 | 0 | 0 | 0 | 0 | 0 | 0.041026 | 1 | 0.074359 | false | 0 | 0.017949 | 0 | 0.151282 | 0.025641 | 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 |
0ea3ff70515024854b2f189f6aa5db9c74cc3adf | 34,634 | py | Python | bayleaf/model_construct.py | schluedj/bayleaf | c1ff85d654e87fa78dcddac51516571d4c4f2ae2 | [
"MIT"
] | 3 | 2018-07-11T15:00:29.000Z | 2019-06-25T23:00:59.000Z | bayleaf/model_construct.py | schluedj/bayleaf | c1ff85d654e87fa78dcddac51516571d4c4f2ae2 | [
"MIT"
] | null | null | null | bayleaf/model_construct.py | schluedj/bayleaf | c1ff85d654e87fa78dcddac51516571d4c4f2ae2 | [
"MIT"
] | null | null | null | ### Functions to build models storage for bayleaf
### Author: David Schlueter
### Vanderbilt University Department of Biostatistics
### Based on the GLM module in pymc3
### July 12, 2018
import theano.tensor as tt
from pymc3.model import Model, Deterministic
from pymc3.distributions import Normal, Flat, transforms, Bo... | 42.758025 | 191 | 0.548421 | 4,101 | 34,634 | 4.523531 | 0.090953 | 0.012129 | 0.010565 | 0.011644 | 0.822543 | 0.805617 | 0.802329 | 0.802329 | 0.79931 | 0.787235 | 0 | 0.014135 | 0.356557 | 34,634 | 809 | 192 | 42.810878 | 0.818308 | 0.289889 | 0 | 0.642715 | 0 | 0 | 0.027678 | 0.007579 | 0 | 0 | 0 | 0.001236 | 0 | 1 | 0.023952 | false | 0 | 0.051896 | 0 | 0.123753 | 0.021956 | 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 |
0ea5187124bcae48c7c924d0408780dbb9a7d136 | 112 | py | Python | quantpycupy/tests/test_release.py | openql-org/quantpycupy | ef4a8bb4fee7e4fb80018cf5d08acf472ec2601a | [
"Apache-2.0"
] | 1 | 2018-04-10T17:49:46.000Z | 2018-04-10T17:49:46.000Z | quantpycupy/tests/test_release.py | openql-org/quantpycupy | ef4a8bb4fee7e4fb80018cf5d08acf472ec2601a | [
"Apache-2.0"
] | null | null | null | quantpycupy/tests/test_release.py | openql-org/quantpycupy | ef4a8bb4fee7e4fb80018cf5d08acf472ec2601a | [
"Apache-2.0"
] | 1 | 2018-03-11T09:36:42.000Z | 2018-03-11T09:36:42.000Z | # -*- coding:utf-8 -*-
from quantpycupy.release import __version__
def test_release():
print(__version__)
| 16 | 43 | 0.714286 | 13 | 112 | 5.461538 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.151786 | 112 | 6 | 44 | 18.666667 | 0.736842 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0eaf0e3ddc2a0d02c76959133330b830893ad7b5 | 43 | py | Python | src/wizluk/envs/wumpus_world/__init__.py | miquelramirez/width-lookaheads-python | 122442136d8254be44f9dbcae365327e0f669bfa | [
"MIT"
] | 1 | 2019-09-10T20:36:48.000Z | 2019-09-10T20:36:48.000Z | src/wizluk/envs/wumpus_world/__init__.py | miquelramirez/width-lookaheads-python | 122442136d8254be44f9dbcae365327e0f669bfa | [
"MIT"
] | null | null | null | src/wizluk/envs/wumpus_world/__init__.py | miquelramirez/width-lookaheads-python | 122442136d8254be44f9dbcae365327e0f669bfa | [
"MIT"
] | 1 | 2019-09-10T20:36:52.000Z | 2019-09-10T20:36:52.000Z | from . _wumpus_world import WumpusWorldEnv
| 21.5 | 42 | 0.860465 | 5 | 43 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.921053 | 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 |
7ef3538d3978926bb18d9caa9791b9599b37d0a2 | 796 | py | Python | 2017/05/solve.py | lamperi/aoc | 1781dcbac0be18a086c10a9b76fb6a2d3595523c | [
"MIT"
] | null | null | null | 2017/05/solve.py | lamperi/aoc | 1781dcbac0be18a086c10a9b76fb6a2d3595523c | [
"MIT"
] | null | null | null | 2017/05/solve.py | lamperi/aoc | 1781dcbac0be18a086c10a9b76fb6a2d3595523c | [
"MIT"
] | null | null | null | import os.path
INPUT=os.path.join(os.path.dirname(__file__), "input.txt")
with open(INPUT) as f:
data = f.read().strip()
def func(data):
pos = 0
inst = [int(line) for line in data.splitlines()]
steps = 0
while True:
next = pos + inst[pos]
inst[pos] += 1
pos = next
st... | 20.410256 | 58 | 0.502513 | 112 | 796 | 3.535714 | 0.339286 | 0.106061 | 0.075758 | 0.070707 | 0.737374 | 0.737374 | 0.737374 | 0.737374 | 0.737374 | 0.737374 | 0 | 0.02381 | 0.366834 | 796 | 38 | 59 | 20.947368 | 0.761905 | 0 | 0 | 0.787879 | 0 | 0 | 0.011307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.030303 | 0 | 0.151515 | 0.060606 | 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 |
7d024c04132e1fb3915ab4635f8dbfdbc0741764 | 148 | py | Python | foundation/nn/__init__.py | OneDirection9/foundation | a43a568b5d062d80cf3ce5777d0ab3f14147a8f2 | [
"Apache-2.0"
] | null | null | null | foundation/nn/__init__.py | OneDirection9/foundation | a43a568b5d062d80cf3ce5777d0ab3f14147a8f2 | [
"Apache-2.0"
] | 1 | 2020-04-16T13:58:40.000Z | 2020-04-16T13:58:40.000Z | foundation/nn/__init__.py | OneDirection9/foundation | a43a568b5d062d80cf3ce5777d0ab3f14147a8f2 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, division, print_function
from .giou_loss import *
from .smooth_l1_loss import *
from .weight_init import *
| 24.666667 | 64 | 0.817568 | 21 | 148 | 5.285714 | 0.619048 | 0.18018 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.128378 | 148 | 5 | 65 | 29.6 | 0.852713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d4764f26349ab22acf4d29c343659cd70f2bf6b | 2,368 | py | Python | plugins/ibm_qradar/unit_test/helpers/offense.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | null | null | null | plugins/ibm_qradar/unit_test/helpers/offense.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | null | null | null | plugins/ibm_qradar/unit_test/helpers/offense.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | null | null | null | from urllib.parse import urlparse
from insightconnect_plugin_runtime.exceptions import PluginException
from icon_ibm_qradar.util.constants.constant import SUCCESS_RESPONSE_CODES
from unit_test.helpers.helper import Helper, MockResponse
class OffensesHelper(Helper):
"""Helper class for the unit test cases."""
... | 35.878788 | 88 | 0.626689 | 253 | 2,368 | 5.73913 | 0.26087 | 0.099174 | 0.081956 | 0.041322 | 0.809917 | 0.796143 | 0.796143 | 0.796143 | 0.796143 | 0.796143 | 0 | 0.028396 | 0.241554 | 2,368 | 65 | 89 | 36.430769 | 0.780067 | 0.06799 | 0 | 0.666667 | 0 | 0 | 0.076853 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.095238 | 0 | 0.428571 | 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 |
ada717cf89eb48db33fbdce660af06fc5cd02e66 | 75 | py | Python | autoPyTorch/utils/transforms.py | davidcastells/Auto-PyTorch | 865feb37a65cc793a5b1fd7d88bf2ad01fd691ac | [
"Apache-2.0"
] | 1,657 | 2018-12-26T09:42:58.000Z | 2022-03-31T04:59:25.000Z | autoPyTorch/utils/transforms.py | davidcastells/Auto-PyTorch | 865feb37a65cc793a5b1fd7d88bf2ad01fd691ac | [
"Apache-2.0"
] | 320 | 2019-01-11T05:04:48.000Z | 2022-03-31T13:11:04.000Z | autoPyTorch/utils/transforms.py | davidcastells/Auto-PyTorch | 865feb37a65cc793a5b1fd7d88bf2ad01fd691ac | [
"Apache-2.0"
] | 208 | 2018-12-01T08:16:59.000Z | 2022-03-30T19:20:02.000Z | import numpy as np
def transform_int64(y):
return y.astype(np.int64)
| 12.5 | 29 | 0.72 | 13 | 75 | 4.076923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.186667 | 75 | 5 | 30 | 15 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 |
adc4f805b273efba7ffac6c4aa45b5a8a4b4711f | 2,472 | py | Python | Procedural Paradigm/exercises/week-10-array-processing-standard/FindMin.py | morenzoe/IF1210_Dasar_Pemrograman | 6bfd5300c18bfb9c6ba80f6108e2206aa9cbf015 | [
"BSD-3-Clause"
] | null | null | null | Procedural Paradigm/exercises/week-10-array-processing-standard/FindMin.py | morenzoe/IF1210_Dasar_Pemrograman | 6bfd5300c18bfb9c6ba80f6108e2206aa9cbf015 | [
"BSD-3-Clause"
] | null | null | null | Procedural Paradigm/exercises/week-10-array-processing-standard/FindMin.py | morenzoe/IF1210_Dasar_Pemrograman | 6bfd5300c18bfb9c6ba80f6108e2206aa9cbf015 | [
"BSD-3-Clause"
] | 1 | 2022-02-21T05:03:26.000Z | 2022-02-21T05:03:26.000Z | # Program FindMin
# program ini akan mengembalikan elemen minimum dari array
# Asumsi: array tidak kosong.
# Input: T : TabInt, input N : int
# Output: Min : int, IMin : int
# KAMUS
# type TabInt : array of integer
# Variabel
# T : TabInt
# N : int
def FindMin(T, N):
# I.S. Tabel T tidak kosong, N > 0
# F.S. Menghas... | 30.518519 | 84 | 0.653722 | 361 | 2,472 | 4.476454 | 0.227147 | 0.022277 | 0.012376 | 0.031559 | 0.815594 | 0.804455 | 0.773515 | 0.773515 | 0.720297 | 0.720297 | 0 | 0.014901 | 0.26699 | 2,472 | 81 | 85 | 30.518519 | 0.876932 | 0.275081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.1 | 0.1 | 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 |
addcbd0e6e65d306c2302ebd6c1a239369d40ebb | 24 | py | Python | zenji/__init__.py | yvesbeutler/zenji | d108d93692ad12d5c73daf1d1bc37b01dbb7c9e8 | [
"MIT"
] | null | null | null | zenji/__init__.py | yvesbeutler/zenji | d108d93692ad12d5c73daf1d1bc37b01dbb7c9e8 | [
"MIT"
] | null | null | null | zenji/__init__.py | yvesbeutler/zenji | d108d93692ad12d5c73daf1d1bc37b01dbb7c9e8 | [
"MIT"
] | null | null | null | from .zenji import Zenji | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 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 |
bc078b69221102db9ad7efa83b49b30d0fc02ff3 | 64 | py | Python | hvc/parse/__init__.py | URSUroman/hvc-custom | 04fedb9611b6a6d12d56c126843bd0d30ee1d779 | [
"BSD-3-Clause"
] | null | null | null | hvc/parse/__init__.py | URSUroman/hvc-custom | 04fedb9611b6a6d12d56c126843bd0d30ee1d779 | [
"BSD-3-Clause"
] | null | null | null | hvc/parse/__init__.py | URSUroman/hvc-custom | 04fedb9611b6a6d12d56c126843bd0d30ee1d779 | [
"BSD-3-Clause"
] | null | null | null | from . import extract
from . import select
from . import predict | 21.333333 | 21 | 0.78125 | 9 | 64 | 5.555556 | 0.555556 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 3 | 22 | 21.333333 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc2389f925e7817514fc1a4d3d377181734b5105 | 10,336 | py | Python | test/test_npu/test_logical_or.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | 1 | 2021-12-02T03:07:35.000Z | 2021-12-02T03:07:35.000Z | test/test_npu/test_logical_or.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | 1 | 2021-11-12T07:23:03.000Z | 2021-11-12T08:28:13.000Z | test/test_npu/test_logical_or.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2020, Huawei Technologies.All rights reserved.
#
# Licensed under the BSD 3-Clause License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://opensource.org/licenses/BSD-3-Clause
#
# Unless required by applicable law... | 45.135371 | 100 | 0.695724 | 1,515 | 10,336 | 4.413861 | 0.09571 | 0.088829 | 0.136833 | 0.156124 | 0.845521 | 0.837745 | 0.820697 | 0.801406 | 0.798714 | 0.781516 | 0 | 0.053884 | 0.202786 | 10,336 | 229 | 101 | 45.135371 | 0.757646 | 0.067434 | 0 | 0.653179 | 0 | 0 | 0.00478 | 0 | 0 | 0 | 0 | 0 | 0.109827 | 1 | 0.16763 | false | 0 | 0.040462 | 0 | 0.271676 | 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 |
70cc86d270a1271a7cd037e88afae0b1c781ff92 | 45 | py | Python | tests/test_main.py | nismod/energy_demand | 247fcea074a846026710ed9b039b22f8b9835643 | [
"MIT"
] | 14 | 2018-02-23T10:03:45.000Z | 2022-03-03T13:59:30.000Z | tests/test_main.py | nismod/energy_demand | 247fcea074a846026710ed9b039b22f8b9835643 | [
"MIT"
] | 59 | 2017-02-22T15:03:30.000Z | 2020-12-16T12:26:17.000Z | tests/test_main.py | nismod/energy_demand | 247fcea074a846026710ed9b039b22f8b9835643 | [
"MIT"
] | 5 | 2017-08-22T11:31:42.000Z | 2020-06-24T18:30:12.000Z | """Testing
"""
from energy_demand import main | 15 | 30 | 0.755556 | 6 | 45 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 3 | 30 | 15 | 0.825 | 0.155556 | 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 |
cb160e7f8ff2fc74d4ca137813b0f5e66c968da6 | 184 | py | Python | flopz/listener/loggers/chrome_trace_logger.py | LuDubies/flopz | 3e11f44af40a105b886d0f44d6de505203e72ae2 | [
"Apache-2.0"
] | 7 | 2021-11-19T15:53:58.000Z | 2022-03-28T03:38:52.000Z | flopz/listener/loggers/chrome_trace_logger.py | LuDubies/flopz | 3e11f44af40a105b886d0f44d6de505203e72ae2 | [
"Apache-2.0"
] | null | null | null | flopz/listener/loggers/chrome_trace_logger.py | LuDubies/flopz | 3e11f44af40a105b886d0f44d6de505203e72ae2 | [
"Apache-2.0"
] | 1 | 2022-03-25T12:44:01.000Z | 2022-03-25T12:44:01.000Z | from flopz.listener.flopz_logger import FlopzLogger
from flopz.listener.event import Event
class ChromeTraceLogger(FlopzLogger):
def log(self, event: Event) -> None:
pass | 26.285714 | 51 | 0.76087 | 23 | 184 | 6.043478 | 0.608696 | 0.129496 | 0.244604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 184 | 7 | 52 | 26.285714 | 0.902597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cb5a0d9f5faa68bed6cbca5fd29357ec3959844f | 1,691 | py | Python | src/old_python_code/main.py | xuedong/auto-music | 8bd140e19ddc3229d96aec486c94d2dcdc449bec | [
"MIT"
] | 3 | 2018-10-11T03:53:34.000Z | 2021-01-12T20:55:45.000Z | src/old_python_code/main.py | xuedong/auto-music | 8bd140e19ddc3229d96aec486c94d2dcdc449bec | [
"MIT"
] | null | null | null | src/old_python_code/main.py | xuedong/auto-music | 8bd140e19ddc3229d96aec486c94d2dcdc449bec | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import sys
import parser as pr
import player as pl
def main(argv):
# s = pr.parse_imp('music/implicita/bach/bach00.imp')
s = pr.parse_imp('music/implicita/grego/gre00.imp')
pl.play(s)
s = pr.parse_imp('music/implicita/grego/gre01.imp')
pl.play(s)
s = pr.parse_imp('music/i... | 31.314815 | 57 | 0.651094 | 284 | 1,691 | 3.771127 | 0.165493 | 0.061625 | 0.164332 | 0.225957 | 0.793651 | 0.793651 | 0.770308 | 0.742297 | 0.742297 | 0.742297 | 0 | 0.031384 | 0.170905 | 1,691 | 53 | 58 | 31.90566 | 0.732525 | 0.073329 | 0 | 0.446809 | 0 | 0 | 0.401535 | 0.396419 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0.06383 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
cbe0f1acbe773defe3a1d3d2fc2be31eef4848ee | 275 | py | Python | despatch_ops_workers/map_percentiles/__init__.py | publichealthengland/coronavirus-dashboard-pipeline-etl | efcf5c77091afe8a0f7edce2e5934fe8c1f6dc1c | [
"MIT"
] | 7 | 2021-02-14T12:42:56.000Z | 2022-03-02T09:14:22.000Z | despatch_ops_workers/map_percentiles/__init__.py | publichealthengland/coronavirus-dashboard-pipeline-etl | efcf5c77091afe8a0f7edce2e5934fe8c1f6dc1c | [
"MIT"
] | 19 | 2021-11-03T09:21:00.000Z | 2022-03-07T09:26:47.000Z | despatch_ops_workers/map_percentiles/__init__.py | publichealthengland/coronavirus-dashboard-pipeline-etl | efcf5c77091afe8a0f7edce2e5934fe8c1f6dc1c | [
"MIT"
] | 2 | 2021-03-03T16:52:51.000Z | 2022-02-28T16:22:33.000Z | #!/usr/bin python3
# Imports
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Python:
# 3rd party:
# Internal:
from .generate import *
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 19.642857 | 90 | 0.218182 | 11 | 275 | 5.454545 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007968 | 0.087273 | 275 | 13 | 91 | 21.153846 | 0.231076 | 0.843636 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1dd7507c47b3181747e68f8d3d0621699a10257f | 45 | py | Python | tests/__init__.py | andweber/kalliope_neuron_loxscontrol | 0637c81b59f16cf9c3e1d3510a6176fe5398ff28 | [
"MIT"
] | 1 | 2017-02-16T22:02:37.000Z | 2017-02-16T22:02:37.000Z | tests/__init__.py | andweber/kalliope_neuron_loxscontrol | 0637c81b59f16cf9c3e1d3510a6176fe5398ff28 | [
"MIT"
] | 2 | 2017-04-07T22:31:05.000Z | 2018-01-13T17:41:42.000Z | tests/__init__.py | andweber/kalliope_neuron_loxone | 0637c81b59f16cf9c3e1d3510a6176fe5398ff28 | [
"MIT"
] | null | null | null | from test_loxscontrol import TestLoxSControl
| 22.5 | 44 | 0.911111 | 5 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 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 |
1de151937797ad014947054e75175b45cf559426 | 7,235 | py | Python | loldib/getratings/models/NA/na_missfortune/na_missfortune_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_missfortune/na_missfortune_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_missfortune/na_missfortune_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_MissFortune_Bot_Aatrox(Ratings):
pass
class NA_MissFortune_Bot_Ahri(Ratings):
pass
class NA_MissFortune_Bot_Akali(Ratings):
pass
class NA_MissFortune_Bot_Alistar(Ratings):
pass
class NA_MissFortune_Bot_Amumu(Ratings):
pass
class NA_MissF... | 17.35012 | 48 | 0.788943 | 972 | 7,235 | 5.446502 | 0.151235 | 0.182471 | 0.46921 | 0.547412 | 0.828107 | 0.828107 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153559 | 7,235 | 416 | 49 | 17.391827 | 0.864468 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
699106bcb14707942b302b1d92ea7505e7f6321a | 992 | py | Python | migrations/versions/014_roles_users_foreign_keys.py | LCBRU/lbrc_upload | be42fef97b67c1f25329db52ae3a88eb293a1203 | [
"MIT"
] | null | null | null | migrations/versions/014_roles_users_foreign_keys.py | LCBRU/lbrc_upload | be42fef97b67c1f25329db52ae3a88eb293a1203 | [
"MIT"
] | null | null | null | migrations/versions/014_roles_users_foreign_keys.py | LCBRU/lbrc_upload | be42fef97b67c1f25329db52ae3a88eb293a1203 | [
"MIT"
] | null | null | null | from sqlalchemy import MetaData, Table, Column, Integer, DateTime, NVARCHAR, String
from migrate.changeset.constraint import ForeignKeyConstraint, UniqueConstraint
meta = MetaData()
def upgrade(migrate_engine):
meta.bind = migrate_engine
roles_users = Table("roles_users", meta, autoload=True)
role = Ta... | 29.176471 | 83 | 0.71371 | 131 | 992 | 5.221374 | 0.244275 | 0.116959 | 0.140351 | 0.181287 | 0.716374 | 0.716374 | 0.716374 | 0.716374 | 0.716374 | 0.716374 | 0 | 0 | 0.155242 | 992 | 33 | 84 | 30.060606 | 0.816229 | 0 | 0 | 0.571429 | 0 | 0 | 0.038306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.095238 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
69aca444a9b586b157d7636e835e5619bcd93dab | 222 | py | Python | tier_0_py35.py | rembish/super-quiz | c7c0c97463e2cfa5592ec81c7fbb7dcfbfc249c4 | [
"BSD-2-Clause"
] | null | null | null | tier_0_py35.py | rembish/super-quiz | c7c0c97463e2cfa5592ec81c7fbb7dcfbfc249c4 | [
"BSD-2-Clause"
] | null | null | null | tier_0_py35.py | rembish/super-quiz | c7c0c97463e2cfa5592ec81c7fbb7dcfbfc249c4 | [
"BSD-2-Clause"
] | null | null | null | class Language:
def hello(self, name):
return "Hello from {0}".format(name)
class Python35(Language):
def hello(self):
return super(Python35, self).hello("Python 3.5")
print(Python35().hello())
| 18.5 | 56 | 0.63964 | 29 | 222 | 4.896552 | 0.551724 | 0.15493 | 0.225352 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051136 | 0.207207 | 222 | 11 | 57 | 20.181818 | 0.755682 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.857143 | 0.142857 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
69bb05c4fc3356bd39757583ed944997920cd1b2 | 78 | py | Python | code/chapter_03/listing_03_10.py | guinslym/python_earth_science_book | f4dd0115dbbce140c6713989f630a71238daa72c | [
"MIT"
] | 80 | 2021-04-19T10:03:57.000Z | 2022-03-30T15:34:47.000Z | code/chapter_03/listing_03_10.py | guinslym/python_earth_science_book | f4dd0115dbbce140c6713989f630a71238daa72c | [
"MIT"
] | null | null | null | code/chapter_03/listing_03_10.py | guinslym/python_earth_science_book | f4dd0115dbbce140c6713989f630a71238daa72c | [
"MIT"
] | 23 | 2021-04-25T03:50:07.000Z | 2022-03-22T03:06:19.000Z | my_f = np.arange(0, 10, 1)
print(my_f)
'''
Output:
[0 1 2 3 4 5 6 7 8 9]
''' | 9.75 | 26 | 0.525641 | 21 | 78 | 1.857143 | 0.809524 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 0.25641 | 78 | 8 | 27 | 9.75 | 0.431034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
69e2e0f7b6ef596371bee08c79e476a7960efb82 | 81 | py | Python | tests/samples/project/vendor/fooba/experiments/dependent.py | machinable-org/machinable | 9d96e942dde05d68699bc7bc0c3d062ee18652ad | [
"MIT"
] | 23 | 2020-02-28T14:29:04.000Z | 2021-12-23T20:50:54.000Z | tests/samples/project/vendor/fooba/experiments/dependent.py | machinable-org/machinable | 9d96e942dde05d68699bc7bc0c3d062ee18652ad | [
"MIT"
] | 172 | 2020-02-24T12:12:11.000Z | 2022-03-29T03:08:24.000Z | tests/samples/project/vendor/fooba/experiments/dependent.py | machinable-org/machinable | 9d96e942dde05d68699bc7bc0c3d062ee18652ad | [
"MIT"
] | 1 | 2020-11-23T22:42:20.000Z | 2020-11-23T22:42:20.000Z | from machinable import Component
class DependentTestNode(Component):
pass
| 11.571429 | 35 | 0.790123 | 8 | 81 | 8 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 81 | 6 | 36 | 13.5 | 0.955224 | 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 |
69fb8358f21df93e6a465d5edaff19dadb9ec48d | 116 | py | Python | rosie/exceptions/__init__.py | fmaida/rosie | 3906d11231aadaf9095f00fde8a73bc186403660 | [
"MIT"
] | null | null | null | rosie/exceptions/__init__.py | fmaida/rosie | 3906d11231aadaf9095f00fde8a73bc186403660 | [
"MIT"
] | null | null | null | rosie/exceptions/__init__.py | fmaida/rosie | 3906d11231aadaf9095f00fde8a73bc186403660 | [
"MIT"
] | null | null | null | from rosie.exceptions.documentnotfound import DocumentNotFound
from rosie.exceptions.nodocuments import NoDocuments
| 38.666667 | 62 | 0.896552 | 12 | 116 | 8.666667 | 0.5 | 0.173077 | 0.365385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 116 | 2 | 63 | 58 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
0e09e01414cc48f65710686146bfe78f30392ec8 | 154 | py | Python | demo/__init__.py | MChaus/multi-armed-band | a0264f0cc3519ae95a806f86a75904289dd10d78 | [
"MIT"
] | null | null | null | demo/__init__.py | MChaus/multi-armed-band | a0264f0cc3519ae95a806f86a75904289dd10d78 | [
"MIT"
] | 7 | 2020-03-24T17:48:31.000Z | 2022-03-12T00:05:51.000Z | demo/__init__.py | MChaus/multi-armed-bandit | a0264f0cc3519ae95a806f86a75904289dd10d78 | [
"MIT"
] | null | null | null | # from epsilon_greedy import *
# from nonstationary import *
# from UCB_vs_eps_greedy import *
# from optimistic import *
# from gradient_bandits import * | 30.8 | 33 | 0.779221 | 20 | 154 | 5.75 | 0.55 | 0.347826 | 0.278261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 154 | 5 | 34 | 30.8 | 0.884615 | 0.935065 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38960f69a20e4a382a3659f87f4bb13511162add | 168 | py | Python | zanpakuto/__init__.py | amferraz/zanpakuto | 85e23622fddb309f6d7b3a1edf73dde9f7a4f983 | [
"BSD-3-Clause"
] | null | null | null | zanpakuto/__init__.py | amferraz/zanpakuto | 85e23622fddb309f6d7b3a1edf73dde9f7a4f983 | [
"BSD-3-Clause"
] | 2 | 2021-03-22T16:56:17.000Z | 2021-12-13T19:35:23.000Z | zanpakuto/__init__.py | amferraz/zanpakuto | 85e23622fddb309f6d7b3a1edf73dde9f7a4f983 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from utils import strip_html, simplify_html
from cleaners import default_cleaner
__all__ = ['strip_html', 'simplify_html', 'default_cleaner']
| 24 | 60 | 0.75 | 22 | 168 | 5.272727 | 0.590909 | 0.155172 | 0.293103 | 0.362069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.125 | 168 | 6 | 61 | 28 | 0.782313 | 0.125 | 0 | 0 | 0 | 0 | 0.262069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
389e9cd4adab36f649123492d4beb93ff4ad68a4 | 18,650 | py | Python | test_autogalaxy/imaging/test_fit_imaging.py | Jammy2211/PyAutoModel | 02f54e71900de9ec12c9070dc00a4bd001b25afa | [
"MIT"
] | 4 | 2019-10-29T13:27:23.000Z | 2020-03-24T11:13:35.000Z | test_autogalaxy/imaging/test_fit_imaging.py | Jammy2211/PyAutoModel | 02f54e71900de9ec12c9070dc00a4bd001b25afa | [
"MIT"
] | null | null | null | test_autogalaxy/imaging/test_fit_imaging.py | Jammy2211/PyAutoModel | 02f54e71900de9ec12c9070dc00a4bd001b25afa | [
"MIT"
] | 3 | 2020-02-12T10:29:59.000Z | 2020-03-24T11:13:53.000Z | import numpy as np
import pytest
import autogalaxy as ag
def test__model_image__with_and_without_psf_blurring(
masked_imaging_7x7_no_blur, masked_imaging_7x7
):
g0 = ag.Galaxy(
redshift=0.5,
light_profile=ag.m.MockLightProfile(
image_2d_value=1.0, image_2d_first_valu... | 34.665428 | 117 | 0.676997 | 2,773 | 18,650 | 4.287054 | 0.063469 | 0.052238 | 0.048789 | 0.061491 | 0.904189 | 0.881814 | 0.855653 | 0.827557 | 0.779273 | 0.729643 | 0 | 0.066582 | 0.198713 | 18,650 | 537 | 118 | 34.729981 | 0.728921 | 0.011421 | 0 | 0.477212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187668 | 1 | 0.032172 | false | 0 | 0.008043 | 0 | 0.040214 | 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 |
2a215848eeb0d60fbf09b2e5665b480ff826e12a | 58 | py | Python | Section 4/video_4_3_end/tests.py | PacktPublishing/Hands-On-Cloud-Native-Development-with-Kubernetes | 278ca49afdafa5d202e834c9d15644c763464d87 | [
"MIT"
] | 3 | 2020-06-10T05:53:34.000Z | 2021-10-04T04:53:01.000Z | Section 4/video_4_3_end/tests.py | PacktPublishing/Hands-On-Cloud-Native-Development-with-Kubernetes | 278ca49afdafa5d202e834c9d15644c763464d87 | [
"MIT"
] | null | null | null | Section 4/video_4_3_end/tests.py | PacktPublishing/Hands-On-Cloud-Native-Development-with-Kubernetes | 278ca49afdafa5d202e834c9d15644c763464d87 | [
"MIT"
] | 2 | 2020-09-22T15:52:14.000Z | 2021-07-28T04:56:01.000Z | from main import say_world
assert say_world() == "World"
| 14.5 | 29 | 0.741379 | 9 | 58 | 4.555556 | 0.666667 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 58 | 3 | 30 | 19.333333 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.