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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
574c00d99f0d289b590626f845e693ddc4a0448f | 2,686 | py | Python | src/app/api/auth0/users.py | scraiber/scraiber-api | 010d0875ba0820e0ec7790d74df8a2955fac360e | [
"Apache-2.0"
] | 1 | 2022-03-29T06:41:41.000Z | 2022-03-29T06:41:41.000Z | src/app/api/auth0/users.py | scraiber/scraiber-api | 010d0875ba0820e0ec7790d74df8a2955fac360e | [
"Apache-2.0"
] | null | null | null | src/app/api/auth0/users.py | scraiber/scraiber-api | 010d0875ba0820e0ec7790d74df8a2955fac360e | [
"Apache-2.0"
] | null | null | null | import os
import requests
from pydantic import EmailStr
from typing import List
from fastapi import HTTPException
from app.api.models.auth0 import Auth0User
async def get_user_by_email(email: EmailStr) -> Auth0User:
headers = {'Authorization': 'Bearer '+os.environ["ACCESS_TOKEN"]}
params = {'email': email, '... | 31.6 | 119 | 0.645197 | 344 | 2,686 | 4.834302 | 0.212209 | 0.060132 | 0.032471 | 0.036079 | 0.82261 | 0.793145 | 0.78172 | 0.754059 | 0.703548 | 0.630186 | 0 | 0.023256 | 0.24758 | 2,686 | 85 | 120 | 31.6 | 0.799604 | 0 | 0 | 0.610169 | 0 | 0 | 0.153703 | 0.031262 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.101695 | 0 | 0.186441 | 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 |
9e0288b177a01ecfce509c2b87a15442cdd0db85 | 11,016 | py | Python | hallo/modules/channel_control/voice.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2022-01-27T13:25:01.000Z | 2022-01-27T13:25:01.000Z | hallo/modules/channel_control/voice.py | joshcoales/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 75 | 2015-09-26T18:07:18.000Z | 2022-01-04T07:15:11.000Z | hallo/modules/channel_control/voice.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2021-04-10T12:02:47.000Z | 2021-04-10T12:02:47.000Z | from hallo.events import EventMode
from hallo.function import Function
import hallo.modules.channel_control.channel_control
from hallo.server import Server
class Voice(Function):
"""
Gives a user on an irc server "voice" status.
"""
def __init__(self):
"""
Constructor
"""
... | 44.780488 | 104 | 0.589415 | 1,405 | 11,016 | 4.44911 | 0.102491 | 0.040314 | 0.070709 | 0.103983 | 0.909934 | 0.909934 | 0.896817 | 0.895537 | 0.882419 | 0.866421 | 0 | 0.003528 | 0.330973 | 11,016 | 245 | 105 | 44.963265 | 0.84464 | 0.185094 | 0 | 0.60355 | 0 | 0 | 0.142841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035503 | false | 0 | 0.023669 | 0 | 0.284024 | 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 |
f510f755bf763bc5ea2135382d37feb8f477bd68 | 21 | py | Python | scripts/__init__.py | tsherwen/sparse2spatial | 6f5240c7641ad7a894476672b78c8184c514bf87 | [
"MIT"
] | 1 | 2020-01-14T21:40:29.000Z | 2020-01-14T21:40:29.000Z | scripts/__init__.py | tsherwen/sparse2spatial | 6f5240c7641ad7a894476672b78c8184c514bf87 | [
"MIT"
] | null | null | null | scripts/__init__.py | tsherwen/sparse2spatial | 6f5240c7641ad7a894476672b78c8184c514bf87 | [
"MIT"
] | null | null | null | from . import iodide
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 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 |
f55d1d3dd285307956723c1510c15d267d46ff25 | 35 | py | Python | datasets/__init__.py | bolero2/vggnet-torch | 912046be3f0581e0217c2cf5b596e6318aad241b | [
"Apache-2.0"
] | 2 | 2021-04-23T03:49:30.000Z | 2021-04-23T03:49:33.000Z | datasets/__init__.py | bolero2/vggnet-torch | 912046be3f0581e0217c2cf5b596e6318aad241b | [
"Apache-2.0"
] | null | null | null | datasets/__init__.py | bolero2/vggnet-torch | 912046be3f0581e0217c2cf5b596e6318aad241b | [
"Apache-2.0"
] | null | null | null | from .datasets import CustomDataset | 35 | 35 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 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 |
195a25eea10a9e38d24f93a48eb47f94dc59439e | 2,144 | py | Python | tests/test_setup_actions.py | gladsonvm/pii_filter | f7ab757bacede104d76e848997047fc77f7befa4 | [
"MIT"
] | 1 | 2021-11-03T00:03:46.000Z | 2021-11-03T00:03:46.000Z | tests/test_setup_actions.py | gladsonvm/pii_filter | f7ab757bacede104d76e848997047fc77f7befa4 | [
"MIT"
] | null | null | null | tests/test_setup_actions.py | gladsonvm/pii_filter | f7ab757bacede104d76e848997047fc77f7befa4 | [
"MIT"
] | null | null | null | import unittest
from unittest import mock
from setup_actions import setup_dir
class TestSetupActions(unittest.TestCase):
setup_dir_param = '/pwd'
list_dir = ['a', 'b']
@mock.patch('setup_actions.os')
def test_setup_action_delete_if_exists(self, os_mock):
"""
Scenario: Called setup_dir... | 38.981818 | 74 | 0.702425 | 273 | 2,144 | 5.157509 | 0.216117 | 0.06392 | 0.064631 | 0.12358 | 0.816761 | 0.816761 | 0.816761 | 0.784091 | 0.784091 | 0.754972 | 0 | 0.00296 | 0.21222 | 2,144 | 54 | 75 | 39.703704 | 0.830669 | 0.141325 | 0 | 0.628571 | 0 | 0 | 0.038924 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 1 | 0.085714 | false | 0 | 0.085714 | 0 | 0.257143 | 0.085714 | 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 |
1994705383f6ec32f22001927e08fd38ae09b74c | 225 | py | Python | test/test_2_validation_check_invalid_email_short_password.py | pavelwearevolt/Cross_Auth_TestsAutomatization | 45c6a25352a1c893ef35a494a76088731db84ba7 | [
"Apache-2.0"
] | null | null | null | test/test_2_validation_check_invalid_email_short_password.py | pavelwearevolt/Cross_Auth_TestsAutomatization | 45c6a25352a1c893ef35a494a76088731db84ba7 | [
"Apache-2.0"
] | null | null | null | test/test_2_validation_check_invalid_email_short_password.py | pavelwearevolt/Cross_Auth_TestsAutomatization | 45c6a25352a1c893ef35a494a76088731db84ba7 | [
"Apache-2.0"
] | null | null | null | __author__ = 'pavelkosicin'
def test_validation_check_invalid_email_short_password(app):
app.validation.enter_wrong_data(username="p", password="a")
app.validation.check_invalid_email_short_password_error_message()
| 32.142857 | 69 | 0.826667 | 29 | 225 | 5.793103 | 0.655172 | 0.178571 | 0.261905 | 0.321429 | 0.47619 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 225 | 6 | 70 | 37.5 | 0.811594 | 0 | 0 | 0 | 0 | 0 | 0.062222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.75 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
27681ce63af79a0c97c9fda3fe58c1960f252757 | 24,892 | py | Python | assets/tests/workers/managed_feeds/test_managed_feeds_manager.py | 47lining/quickstart-osisoft-pisystem2aws-connector | f6bdcb84b3cb271d3498d057474be6833f67b5be | [
"Apache-2.0"
] | null | null | null | assets/tests/workers/managed_feeds/test_managed_feeds_manager.py | 47lining/quickstart-osisoft-pisystem2aws-connector | f6bdcb84b3cb271d3498d057474be6833f67b5be | [
"Apache-2.0"
] | null | null | null | assets/tests/workers/managed_feeds/test_managed_feeds_manager.py | 47lining/quickstart-osisoft-pisystem2aws-connector | f6bdcb84b3cb271d3498d057474be6833f67b5be | [
"Apache-2.0"
] | null | null | null | from io import BytesIO
from operator import itemgetter
from datetime import datetime
from freezegun import freeze_time
from tests.fixtures import *
@freeze_time('2016-01-02 12:00:00')
def test_get_recent_events(managed_feeds_manager, events_status_table):
events_status_table.put_item(
Item={
... | 33.637838 | 135 | 0.569299 | 2,786 | 24,892 | 4.774946 | 0.048816 | 0.04826 | 0.034278 | 0.041344 | 0.916786 | 0.904382 | 0.887319 | 0.859355 | 0.831166 | 0.804405 | 0 | 0.095915 | 0.268279 | 24,892 | 739 | 136 | 33.683356 | 0.634457 | 0 | 0 | 0.628165 | 0 | 0 | 0.323598 | 0.011249 | 0 | 0 | 0 | 0 | 0.060127 | 1 | 0.031646 | false | 0 | 0.007911 | 0 | 0.039557 | 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 |
276f3c12f3d7113cfb3624c87f50d043631d8fc0 | 923 | py | Python | tests/test_burn.py | boeddeker/ci_sdr | e1b5c1f9b25baab91f04eb2c96ed392cf0b313cd | [
"MIT"
] | 38 | 2021-01-16T22:59:42.000Z | 2022-03-06T12:34:33.000Z | tests/test_burn.py | boeddeker/ci_sdr | e1b5c1f9b25baab91f04eb2c96ed392cf0b313cd | [
"MIT"
] | 2 | 2021-01-26T16:25:26.000Z | 2021-05-27T08:07:09.000Z | tests/test_burn.py | boeddeker/ci_sdr | e1b5c1f9b25baab91f04eb2c96ed392cf0b313cd | [
"MIT"
] | 7 | 2021-01-18T01:43:38.000Z | 2021-06-23T12:06:49.000Z | import torch
import ci_sdr
def test_burn_single_source():
t1 = torch.tensor([1., 2, 4, 7, 1, 3, 7, 8, 0, 3, 4])
t2 = torch.clone(t1)
t2[:4] += 2
sdr = ci_sdr.pt.ci_sdr(t1, t2, filter_length=3)
assert sdr.shape == (), sdr.shape
torch.testing.assert_allclose(sdr, 13.592828750610352)
def test_... | 29.774194 | 79 | 0.611051 | 151 | 923 | 3.596026 | 0.251656 | 0.064457 | 0.044199 | 0.055249 | 0.832413 | 0.742173 | 0.742173 | 0.742173 | 0.707182 | 0.607735 | 0 | 0.194483 | 0.214518 | 923 | 30 | 80 | 30.766667 | 0.554483 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 1 | 0.086957 | false | 0 | 0.086957 | 0 | 0.173913 | 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 |
279761e2ea7e6d51aea747789239fced11d3554f | 36 | py | Python | evprediction/__init__.py | rohithdesikan/evprediction | 3ea5a2b3db350397385c9c9835483eb7dfb2773b | [
"MIT"
] | 1 | 2021-03-23T01:25:21.000Z | 2021-03-23T01:25:21.000Z | evprediction/__init__.py | rohithdesikan/evprediction | 3ea5a2b3db350397385c9c9835483eb7dfb2773b | [
"MIT"
] | null | null | null | evprediction/__init__.py | rohithdesikan/evprediction | 3ea5a2b3db350397385c9c9835483eb7dfb2773b | [
"MIT"
] | null | null | null | from .models import convert_to_array | 36 | 36 | 0.888889 | 6 | 36 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.909091 | 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 |
27b8e6ef6975fc2cafc1f708184d3597791f9866 | 37 | py | Python | TagsAsADatabase/__init__.py | OrenLeung/AWSTagsAsADatabase | 5d0fefc541170114fbde7c520ac903efac14d42a | [
"MIT"
] | 37 | 2021-08-31T22:14:26.000Z | 2021-09-30T10:53:38.000Z | TagsAsADatabase/__init__.py | OrenLeung/AWSTagsAsADatabase | 5d0fefc541170114fbde7c520ac903efac14d42a | [
"MIT"
] | 1 | 2021-09-06T23:44:22.000Z | 2021-09-06T23:44:22.000Z | TagsAsADatabase/__init__.py | OrenLeung/AWSTagsAsADatabase | 5d0fefc541170114fbde7c520ac903efac14d42a | [
"MIT"
] | null | null | null | from .database import DatabaseClient
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
fd6652da1ecad95dc433587280dbaba0f7c0dd48 | 20,450 | py | Python | tasks-deploy/broadcast/generate.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | tasks-deploy/broadcast/generate.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | tasks-deploy/broadcast/generate.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | tokens = ['0031834b-ae7c-e116-576f-5bca37d05b78', '01690fff-bad4-8cc7-c9fd-6f1a3617caaf', '01f08ea7-aa8a-751d-2170-fd9d8c6a6d53', '0271ba8e-982e-17f8-0696-df6217651a96', '02c4fe49-f60a-deea-e9a6-62b574351be9', '0308bb28-6e1f-b0f4-c0f1-bab9212069fb', '03af9789-f51f-466e-5030-5129cdb0a556', '04834ee4-d89b-cbb7-922f-7e44d... | 1,460.714286 | 20,009 | 0.798826 | 2,555 | 20,450 | 6.392955 | 0.98865 | 0.002082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.501483 | 0.027531 | 20,450 | 14 | 20,010 | 1,460.714286 | 0.319857 | 0 | 0 | 0 | 0 | 0.1 | 0.891448 | 0.880153 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd727a89b01063c083154eb8c4bb8879cdcb30c5 | 31 | py | Python | hello.py | ankur-prog/profile-rest-api | 1348be376b5b9ad7395c0c766085105174c10b92 | [
"MIT"
] | null | null | null | hello.py | ankur-prog/profile-rest-api | 1348be376b5b9ad7395c0c766085105174c10b92 | [
"MIT"
] | null | null | null | hello.py | ankur-prog/profile-rest-api | 1348be376b5b9ad7395c0c766085105174c10b92 | [
"MIT"
] | null | null | null | print("hello ankur kushwaha")
| 15.5 | 30 | 0.741935 | 4 | 31 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fda8e502613de54ca02fa94cf4cfc85e1abc05af | 12,035 | py | Python | app/toscalib/templates/substitution_rule.py | onap/sdc-dcae-d-tosca-lab | b0120c1671e8987387ccae4f21793ceb303f471c | [
"Apache-2.0"
] | 1 | 2021-10-15T19:47:42.000Z | 2021-10-15T19:47:42.000Z | app/toscalib/templates/substitution_rule.py | onap/archive-sdc-dcae-d-tosca-lab | b0120c1671e8987387ccae4f21793ceb303f471c | [
"Apache-2.0"
] | null | null | null | app/toscalib/templates/substitution_rule.py | onap/archive-sdc-dcae-d-tosca-lab | b0120c1671e8987387ccae4f21793ceb303f471c | [
"Apache-2.0"
] | 1 | 2021-10-15T19:47:34.000Z | 2021-10-15T19:47:34.000Z | from toscalib.templates.constant import *
import logging
class SubstitutionRule (object):
def __init__(self, type, item_name, prop_name, value):
self.type = type
self.item = item_name
self.property = prop_name
self.value = value
def _update_pointer(self, src_node, dst_... | 66.861111 | 191 | 0.55995 | 1,460 | 12,035 | 4.373973 | 0.05 | 0.125431 | 0.073599 | 0.039461 | 0.8943 | 0.843094 | 0.811619 | 0.784842 | 0.742875 | 0.710774 | 0 | 0.01108 | 0.355048 | 12,035 | 179 | 192 | 67.234637 | 0.811646 | 0.093311 | 0 | 0.578947 | 0 | 0 | 0.105679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013158 | false | 0 | 0.013158 | 0 | 0.039474 | 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 |
fde757cb23d8ce64ef1520ecfe7fa29e1e04b4cf | 50 | py | Python | tt_predictor_backend/__init__.py | yuqil725/tt_predictor_backend | 86d0615ed94b5ad398e675676dd0a3442280c85e | [
"Apache-2.0"
] | null | null | null | tt_predictor_backend/__init__.py | yuqil725/tt_predictor_backend | 86d0615ed94b5ad398e675676dd0a3442280c85e | [
"Apache-2.0"
] | null | null | null | tt_predictor_backend/__init__.py | yuqil725/tt_predictor_backend | 86d0615ed94b5ad398e675676dd0a3442280c85e | [
"Apache-2.0"
] | null | null | null | from . import TT_Predictor
from . import constant
| 16.666667 | 26 | 0.8 | 7 | 50 | 5.571429 | 0.714286 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 27 | 25 | 0.928571 | 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 |
e36be2c442a5c81d6805311b2e8c38000917199a | 218 | py | Python | torch_em/data/datasets/__init__.py | JoOkuma/torch-em | 68b723683f9013723a0e4fc8cfef1d6a2a9c9dff | [
"MIT"
] | null | null | null | torch_em/data/datasets/__init__.py | JoOkuma/torch-em | 68b723683f9013723a0e4fc8cfef1d6a2a9c9dff | [
"MIT"
] | null | null | null | torch_em/data/datasets/__init__.py | JoOkuma/torch-em | 68b723683f9013723a0e4fc8cfef1d6a2a9c9dff | [
"MIT"
] | null | null | null | from .cremi import get_cremi_loader
from .dsb import get_dsb_loader
from .isbi2012 import get_isbi_loader
from .platynereis import (get_platynereis_cell_loader,
get_platynereis_nuclei_loader)
| 36.333333 | 56 | 0.770642 | 29 | 218 | 5.37931 | 0.37931 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022857 | 0.197248 | 218 | 5 | 57 | 43.6 | 0.868571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e387185a46c60083bd7611c868ed1a59cd0a66c7 | 586 | py | Python | targets/PythonSdk/Archive/PlayFabBaseClasses.py | arturogutierrez/SDKGenerator | c493eca8ee7381c38eb328a12fb903e1d43568de | [
"Apache-2.0"
] | 67 | 2015-03-20T09:52:08.000Z | 2022-03-22T01:25:47.000Z | targets/PythonSdk/Archive/PlayFabBaseClasses.py | arturogutierrez/SDKGenerator | c493eca8ee7381c38eb328a12fb903e1d43568de | [
"Apache-2.0"
] | 340 | 2015-07-23T23:16:24.000Z | 2022-02-24T17:16:37.000Z | targets/PythonSdk/Archive/PlayFabBaseClasses.py | arturogutierrez/SDKGenerator | c493eca8ee7381c38eb328a12fb903e1d43568de | [
"Apache-2.0"
] | 85 | 2015-04-24T20:33:44.000Z | 2022-03-06T07:35:29.000Z | class PlayFabBaseObject():
pass
class PlayFabRequestCommon(PlayFabBaseObject):
"""
This is a base-class for all Api-request objects.
It is currently unfinished, but we will add result-specific properties,
and add template where-conditions to make some code easier to follow
"""
pass
class P... | 30.842105 | 75 | 0.726962 | 77 | 586 | 5.532468 | 0.441558 | 0.042254 | 0.107981 | 0.112676 | 0.793427 | 0.793427 | 0.793427 | 0.793427 | 0.793427 | 0.596244 | 0 | 0 | 0.213311 | 586 | 18 | 76 | 32.555556 | 0.924078 | 0.648464 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8b5c61ce93082153f7a2469fc4dc66f59247681d | 45 | py | Python | xomx/classifiers/__init__.py | perrin-isir/xomx | 9ca0ad56c333ebf4444f38bd9fa59cdd4e533756 | [
"BSD-3-Clause"
] | 4 | 2021-12-16T21:34:32.000Z | 2021-12-22T09:25:53.000Z | xomx/classifiers/__init__.py | perrin-isir/xomx | 9ca0ad56c333ebf4444f38bd9fa59cdd4e533756 | [
"BSD-3-Clause"
] | 2 | 2021-12-15T15:51:42.000Z | 2022-03-31T08:17:26.000Z | xomx/classifiers/__init__.py | perrin-isir/xomx | 9ca0ad56c333ebf4444f38bd9fa59cdd4e533756 | [
"BSD-3-Clause"
] | 2 | 2021-12-14T16:50:39.000Z | 2022-03-14T09:27:51.000Z | from .multiclass import ScoreBasedMulticlass
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 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 |
8b8ef89fb6977d1a129d2717d821f51bd18df2c1 | 52,595 | py | Python | cogs/moderation/sanction.py | TheophileDiot/Omnitron | 0c147fc44da151481492da9a80d888e7a6f7dae5 | [
"MIT"
] | 4 | 2021-09-29T08:28:34.000Z | 2022-01-15T15:40:43.000Z | cogs/moderation/sanction.py | TheophileDiot/Omnitron | 0c147fc44da151481492da9a80d888e7a6f7dae5 | [
"MIT"
] | 2 | 2021-09-20T12:06:37.000Z | 2021-10-16T12:50:22.000Z | cogs/moderation/sanction.py | TheophileDiot/Omnitron | 0c147fc44da151481492da9a80d888e7a6f7dae5 | [
"MIT"
] | null | null | null | from math import ceil
from time import time
from typing import Union
from disnake import (
Embed,
Forbidden,
GuildCommandInteraction,
Member,
User,
)
from disnake.ext.commands import (
bot_has_permissions,
bot_has_guild_permissions,
BucketType,
Cog,
Context,
group,
guild... | 36.12294 | 412 | 0.545261 | 5,935 | 52,595 | 4.739848 | 0.051727 | 0.018165 | 0.023639 | 0.024528 | 0.880737 | 0.851872 | 0.81316 | 0.777825 | 0.740073 | 0.725676 | 0 | 0.005131 | 0.344177 | 52,595 | 1,455 | 413 | 36.147766 | 0.807729 | 0 | 0 | 0.618526 | 0 | 0.036853 | 0.2321 | 0.054394 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002988 | false | 0.007968 | 0.006972 | 0 | 0.039841 | 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 |
8b9f7122d10564f1b5c53daf870a95fbb7000c16 | 27,478 | py | Python | tensorflow_checkpoint_reader/pb/tensorflow/core/profiler/protobuf/xplane_pb2.py | shawwn/tensorflow-checkpoint-reader | f0e65548411e3bd66a07e36bb1850907a05952d0 | [
"MIT"
] | 1 | 2021-12-02T15:06:09.000Z | 2021-12-02T15:06:09.000Z | tensorflow_checkpoint_reader/pb/tensorflow/core/profiler/protobuf/xplane_pb2.py | shawwn/tensorflow-checkpoint-reader | f0e65548411e3bd66a07e36bb1850907a05952d0 | [
"MIT"
] | null | null | null | tensorflow_checkpoint_reader/pb/tensorflow/core/profiler/protobuf/xplane_pb2.py | shawwn/tensorflow-checkpoint-reader | f0e65548411e3bd66a07e36bb1850907a05952d0 | [
"MIT"
] | null | null | null |
'Generated protocol buffer code.'
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.Fil... | 376.410959 | 3,206 | 0.822731 | 3,872 | 27,478 | 5.511105 | 0.060176 | 0.051361 | 0.077464 | 0.068326 | 0.806223 | 0.75041 | 0.68649 | 0.674165 | 0.663667 | 0.662496 | 0 | 0.037674 | 0.041742 | 27,478 | 72 | 3,207 | 381.638889 | 0.772739 | 0.001128 | 0 | 0 | 1 | 0.014085 | 0.221494 | 0.173418 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.056338 | 0 | 0.056338 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8bb4e1884d1469df1f3fa3ea6cecb45212823d86 | 5,764 | py | Python | tests/test_metrics_two_stage.py | hshaban/epathermostat_nw | 6fec9402484e1ef7e4e59e2c679d9a8efee99ad6 | [
"MIT"
] | null | null | null | tests/test_metrics_two_stage.py | hshaban/epathermostat_nw | 6fec9402484e1ef7e4e59e2c679d9a8efee99ad6 | [
"MIT"
] | null | null | null | tests/test_metrics_two_stage.py | hshaban/epathermostat_nw | 6fec9402484e1ef7e4e59e2c679d9a8efee99ad6 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
from numpy.testing import assert_allclose
import tempfile
import pytest
from thermostat_nw.exporters import metrics_to_csv
from thermostat_nw.multiple import (
multiple_thermostat_calculate_epa_field_savings_metrics,
)
from .fixtures.two_stage import (
thermostat_hpeb_... | 33.905882 | 121 | 0.752429 | 821 | 5,764 | 4.661389 | 0.124239 | 0.10034 | 0.086229 | 0.132218 | 0.859943 | 0.846355 | 0.829109 | 0.801672 | 0.751241 | 0.738699 | 0 | 0.015618 | 0.189105 | 5,764 | 169 | 122 | 34.106509 | 0.803166 | 0.009542 | 0 | 0.463768 | 0 | 0 | 0.028917 | 0 | 0 | 0 | 0 | 0 | 0.137681 | 1 | 0.057971 | false | 0 | 0.072464 | 0 | 0.144928 | 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 |
4744d0f3cec189ea9b45b7b9a494a83a38c01d42 | 213 | py | Python | picamera/array/__init__.py | Daan4/vision-well-position-controller | 3926b7a684aee80d159046d7683257f8c23229e8 | [
"MIT"
] | null | null | null | picamera/array/__init__.py | Daan4/vision-well-position-controller | 3926b7a684aee80d159046d7683257f8c23229e8 | [
"MIT"
] | 2 | 2021-09-08T00:43:55.000Z | 2022-03-11T23:38:43.000Z | picamera/array/__init__.py | Daan4/vision-well-position-controller | 3926b7a684aee80d159046d7683257f8c23229e8 | [
"MIT"
] | null | null | null | class PiRGBArray:
def __init__(self, *args, **kwargs):
self.array = None
def truncate(self, _):
pass
class PiYUVArray:
def __init__(self, *args, **kwargs):
self.array = None
| 17.75 | 40 | 0.591549 | 24 | 213 | 4.875 | 0.5 | 0.119658 | 0.188034 | 0.25641 | 0.581197 | 0.581197 | 0.581197 | 0.581197 | 0 | 0 | 0 | 0 | 0.286385 | 213 | 11 | 41 | 19.363636 | 0.769737 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.125 | 0 | 0 | 0.625 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
47d8b144aa563fff9fe032784c58a6825f7c7ef1 | 1,558 | py | Python | persons/migrations/0002_auto_20150307_1826.py | felix-engelmann/badgecc | 5bc0ced339f18737e24cc34935a87e96ae14a825 | [
"MIT"
] | null | null | null | persons/migrations/0002_auto_20150307_1826.py | felix-engelmann/badgecc | 5bc0ced339f18737e24cc34935a87e96ae14a825 | [
"MIT"
] | null | null | null | persons/migrations/0002_auto_20150307_1826.py | felix-engelmann/badgecc | 5bc0ced339f18737e24cc34935a87e96ae14a825 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('persons', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='department',
name='de... | 30.54902 | 84 | 0.56611 | 143 | 1,558 | 6.013986 | 0.27972 | 0.139535 | 0.174419 | 0.202326 | 0.765116 | 0.765116 | 0.703488 | 0.703488 | 0.703488 | 0.703488 | 0 | 0.004669 | 0.31258 | 1,558 | 50 | 85 | 31.16 | 0.798319 | 0.013479 | 0 | 0.681818 | 0 | 0 | 0.102932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.113636 | 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 |
47df69d6d0e9af3740999c1bf47ce3804f369adc | 20,377 | py | Python | crazyflie_demo/scripts/u_v_controller.py | CooperDrones/VIP_Crazyswarm | 331c8018efa8972d6f115798ea1dfda0dcb095b5 | [
"MIT"
] | 3 | 2019-09-20T17:21:53.000Z | 2022-02-07T20:18:27.000Z | crazyflie_demo/scripts/u_v_controller.py | CooperDrones/VIP_Crazyswarm | 331c8018efa8972d6f115798ea1dfda0dcb095b5 | [
"MIT"
] | null | null | null | crazyflie_demo/scripts/u_v_controller.py | CooperDrones/VIP_Crazyswarm | 331c8018efa8972d6f115798ea1dfda0dcb095b5 | [
"MIT"
] | 1 | 2021-07-19T22:22:23.000Z | 2021-07-19T22:22:23.000Z | #!/usr/bin/env python
import rospy
from geometry_msgs.msg import Twist,Vector3,TransformStamped # twist used in cmd_vel
from crazyflie_driver.msg import Hover
from std_msgs.msg import Empty
from vicon_bridge.srv import viconGrabPose
import numpy as np
from scipy.spatial.transform import Rotation
import math
import scip... | 38.230769 | 117 | 0.577563 | 2,982 | 20,377 | 3.689135 | 0.095909 | 0.044087 | 0.043632 | 0.019635 | 0.82538 | 0.806654 | 0.791019 | 0.78502 | 0.774566 | 0.767385 | 0 | 0.021396 | 0.318791 | 20,377 | 533 | 118 | 38.230769 | 0.771126 | 0.243166 | 0 | 0.680556 | 0 | 0 | 0.016215 | 0.0029 | 0 | 0 | 0 | 0.001876 | 0 | 1 | 0.020833 | false | 0 | 0.041667 | 0 | 0.069444 | 0.03125 | 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 |
47ed068b6dde7dceaa4a58f2289af4ceeea74dd1 | 225 | py | Python | hydro_model_builder/model_generator.py | openearth/hydro-model-builder | cac34ee51ceb4bfe4122c87540e80be4c332cd62 | [
"MIT"
] | 1 | 2018-06-09T01:40:22.000Z | 2018-06-09T01:40:22.000Z | hydro_model_builder/model_generator.py | openearth/hydro-model-builder | cac34ee51ceb4bfe4122c87540e80be4c332cd62 | [
"MIT"
] | 16 | 2018-06-21T08:15:40.000Z | 2021-11-15T17:47:25.000Z | hydro_model_builder/model_generator.py | openearth/hydro-model-builder | cac34ee51ceb4bfe4122c87540e80be4c332cd62 | [
"MIT"
] | null | null | null | from abc import abstractmethod
class ModelGenerator:
def __init__(self):
pass
@abstractmethod
def get_name(self):
pass
@abstractmethod
def generate_model(self, options):
pass
| 13.235294 | 38 | 0.64 | 23 | 225 | 6 | 0.652174 | 0.115942 | 0.318841 | 0.362319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302222 | 225 | 16 | 39 | 14.0625 | 0.878981 | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.3 | 0.1 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9a4e2ed638678928a5b6b257d2bf4a0595392d12 | 172 | py | Python | RigidFoilSimer/__init__.py | SoftwareDevEngResearch/RigidFoilUDFGenerator | f6ad91b33b897e3e87b8411819be630b50fc4445 | [
"MIT"
] | 1 | 2021-03-24T05:36:03.000Z | 2021-03-24T05:36:03.000Z | RigidFoilSimer/__init__.py | SoftwareDevEngResearch/RigidFoilUDFGenerator | f6ad91b33b897e3e87b8411819be630b50fc4445 | [
"MIT"
] | 1 | 2020-06-11T06:30:33.000Z | 2020-06-11T06:30:33.000Z | RigidFoilSimer/__init__.py | SoftwareDevEngResearch/RigidFoilSimulator | f6ad91b33b897e3e87b8411819be630b50fc4445 | [
"MIT"
] | 1 | 2020-04-21T06:37:52.000Z | 2020-04-21T06:37:52.000Z | from . import RigidFoilSimer
from . import Parameters
from . import CFile_Generation
from . import talkToAnsys
from . import processWallshear
from . import organizationTool | 28.666667 | 30 | 0.831395 | 19 | 172 | 7.473684 | 0.473684 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133721 | 172 | 6 | 31 | 28.666667 | 0.95302 | 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 |
9a5d3709a588fb479ff1df6eed3c7c4d143c94b3 | 199 | py | Python | dali/test/python/autoserialize_test/decorated_function.py | L-Net-1992/DALI | 982224d8b53e1156ae092f73f5a7d600982a1eb9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | dali/test/python/autoserialize_test/decorated_function.py | L-Net-1992/DALI | 982224d8b53e1156ae092f73f5a7d600982a1eb9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | dali/test/python/autoserialize_test/decorated_function.py | L-Net-1992/DALI | 982224d8b53e1156ae092f73f5a7d600982a1eb9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from nvidia.dali.plugin.triton import autoserialize
from nvidia.dali import pipeline_def
@autoserialize
@pipeline_def(batch_size=1, num_threads=1, device_id=0)
def func_under_test():
return 42
| 22.111111 | 55 | 0.809045 | 31 | 199 | 4.967742 | 0.709677 | 0.12987 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028249 | 0.110553 | 199 | 8 | 56 | 24.875 | 0.841808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 6 |
d0338bdae5e4ac57dea0834e6caaaf16c559faad | 29 | py | Python | evenOrOdd.py | Domene99/Python | 067cee73398f6b9427ec638802abd3f5ab54448b | [
"MIT"
] | null | null | null | evenOrOdd.py | Domene99/Python | 067cee73398f6b9427ec638802abd3f5ab54448b | [
"MIT"
] | null | null | null | evenOrOdd.py | Domene99/Python | 067cee73398f6b9427ec638802abd3f5ab54448b | [
"MIT"
] | null | null | null | def isEven(x):
return x&1 | 14.5 | 14 | 0.62069 | 6 | 29 | 3 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.241379 | 29 | 2 | 15 | 14.5 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d07fd84417d9a8499bbe8a3588ebaa1646dda37b | 23,924 | py | Python | Day09.py | RustyPotato/AdventOfCode2017 | 17f7552231f18f66d2adc2e3554cec8c3d3c3a3a | [
"MIT"
] | null | null | null | Day09.py | RustyPotato/AdventOfCode2017 | 17f7552231f18f66d2adc2e3554cec8c3d3c3a3a | [
"MIT"
] | 2 | 2018-01-07T09:37:25.000Z | 2018-01-07T09:43:22.000Z | Day09.py | RustyPotato/AdventOfCode2017 | 17f7552231f18f66d2adc2e3554cec8c3d3c3a3a | [
"MIT"
] | null | null | null | inputText = "{{{{{{<!>!>,<o!>},<a,\"i!!!>i!!,!>,<<e<i<<>,{{{<!>},<!><!>,<!!!>!!!>!!!>{\"!>},<!!!<!>},<oi!>!,'>}}}},{{<{!!!>},<!!,!!!>!!!>!!e!a!!!!<!>},<!!!>u!>,<!>!!u!!!!!>},<!>!>,<{>}},{<\"a!!!!'!>},<!}\"!>!!<o}i!<>,<<e,<eo!a}!!\"!>,<!>!>!>,<e{\"e\">}},{{<!oi'<!o!>ue>,{<!>},<i!>,<i>,{<'>}}}},{{<\"a,!>},<!!e!>,<e!!}!!o... | 569.619048 | 22,852 | 0.12105 | 1,977 | 23,924 | 1.464846 | 0.075873 | 0.041436 | 0.015539 | 0.006906 | 0.139848 | 0.023826 | 0.010359 | 0 | 0 | 0 | 0 | 0.000467 | 0.016218 | 23,924 | 41 | 22,853 | 583.512195 | 0.122578 | 0.006562 | 0 | 0.205882 | 0 | 0.823529 | 0.597273 | 0.545554 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0 | 0 | 0.058824 | 0.088235 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d0fa599d95c8f28cb21944109ce73c84b51117c1 | 144 | py | Python | test/util.py | mcfunley/clippingsbot | 2954d5b5aa854b57d062a98e2133d258f9fd86c7 | [
"MIT"
] | 1 | 2019-02-06T16:52:05.000Z | 2019-02-06T16:52:05.000Z | test/util.py | mcfunley/clippingsbot | 2954d5b5aa854b57d062a98e2133d258f9fd86c7 | [
"MIT"
] | null | null | null | test/util.py | mcfunley/clippingsbot | 2954d5b5aa854b57d062a98e2133d258f9fd86c7 | [
"MIT"
] | null | null | null | import os
from unittest.mock import Mock, patch
def patch_env(settings):
return patch.object(os, 'getenv', Mock(side_effect=settings.get))
| 24 | 69 | 0.763889 | 22 | 144 | 4.909091 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 144 | 5 | 70 | 28.8 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ef829e6ebf0c9b9a46ccbdfb3f3ad348525b3fd2 | 221 | py | Python | features/birthday/channel_birthday.py | DAgostinateur/Woh-Bot-2.0 | 4e99d97218a59156bacb1669cc1cb6c8807dd5b1 | [
"MIT"
] | null | null | null | features/birthday/channel_birthday.py | DAgostinateur/Woh-Bot-2.0 | 4e99d97218a59156bacb1669cc1cb6c8807dd5b1 | [
"MIT"
] | null | null | null | features/birthday/channel_birthday.py | DAgostinateur/Woh-Bot-2.0 | 4e99d97218a59156bacb1669cc1cb6c8807dd5b1 | [
"MIT"
] | null | null | null | class ChannelBirthday:
def __init__(self, channel_id, server_id):
self.channel_id = channel_id
self.server_id = server_id
def __eq__(self, other):
return self.server_id == other.server_id
| 27.625 | 48 | 0.683258 | 30 | 221 | 4.5 | 0.366667 | 0.296296 | 0.192593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 221 | 7 | 49 | 31.571429 | 0.798817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
efc307aeb48bcf00e68af067976fc7bc722f9559 | 40 | py | Python | ImageDenoising/network/__init__.py | jiunbae/ITE4053 | 873d53493b7588f67406e0e6ed0e74e5e3f957bc | [
"MIT"
] | 5 | 2019-06-20T09:54:04.000Z | 2021-06-15T04:22:49.000Z | ImageDenoising/network/__init__.py | jiunbae/ITE4053 | 873d53493b7588f67406e0e6ed0e74e5e3f957bc | [
"MIT"
] | null | null | null | ImageDenoising/network/__init__.py | jiunbae/ITE4053 | 873d53493b7588f67406e0e6ed0e74e5e3f957bc | [
"MIT"
] | 1 | 2019-04-19T04:52:34.000Z | 2019-04-19T04:52:34.000Z | from .denoising import DenoisingNetwork
| 20 | 39 | 0.875 | 4 | 40 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.972222 | 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 |
efce52ef91cf3fcfc9778aef58e87236199e762a | 219 | py | Python | run4it/api/goal/__init__.py | andraune/Run4IT_BackEnd | a481427a0d1189a1f08c42e7ac1b452af6bbfc8d | [
"MIT"
] | 1 | 2022-03-29T06:11:20.000Z | 2022-03-29T06:11:20.000Z | run4it/api/goal/__init__.py | andraune/run4it_backend | a481427a0d1189a1f08c42e7ac1b452af6bbfc8d | [
"MIT"
] | null | null | null | run4it/api/goal/__init__.py | andraune/run4it_backend | a481427a0d1189a1f08c42e7ac1b452af6bbfc8d | [
"MIT"
] | null | null | null | from .model import GoalCategory as GoalCategoryModel, Goal as GoalModel
from .resource import ProfileGoalList as ProfileGoalListResource, ProfileGoal as ProfileGoalResource, GoalCategoryList as GoalCategoryListResource
| 73 | 146 | 0.881279 | 21 | 219 | 9.190476 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 219 | 2 | 147 | 109.5 | 0.974747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
efe17c6646ff867b4f250e99c96fec179820a07a | 39 | py | Python | Nomic.StaticScripts/test1.py | vogon/nomic | 31a30327d0e10b8af7ea5078d060c26ffa4042c3 | [
"MIT"
] | 1 | 2015-03-22T03:48:56.000Z | 2015-03-22T03:48:56.000Z | Nomic.StaticScripts/test1.py | vogon/nomic | 31a30327d0e10b8af7ea5078d060c26ffa4042c3 | [
"MIT"
] | null | null | null | Nomic.StaticScripts/test1.py | vogon/nomic | 31a30327d0e10b8af7ea5078d060c26ffa4042c3 | [
"MIT"
] | null | null | null | def test():
print("hey what's up")
| 13 | 26 | 0.564103 | 7 | 39 | 3.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 39 | 2 | 27 | 19.5 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
effedbaa371546861a9cefc903da4f4e96af68eb | 12,857 | py | Python | tests/test_neattext.py | Jcharis/neattext | 9a6b104f478bb33e48f24fc0f6724279564313b7 | [
"MIT"
] | 32 | 2020-03-18T18:36:54.000Z | 2022-03-29T03:11:34.000Z | tests/test_neattext.py | Jcharis/neattext | 9a6b104f478bb33e48f24fc0f6724279564313b7 | [
"MIT"
] | 2 | 2020-07-22T11:09:52.000Z | 2021-03-04T04:34:16.000Z | tests/test_neattext.py | Jcharis/neattext | 9a6b104f478bb33e48f24fc0f6724279564313b7 | [
"MIT"
] | 6 | 2020-09-30T18:08:50.000Z | 2021-11-01T07:00:38.000Z | from neattext import __version__
from neattext import TextCleaner,TextExtractor,TextMetrics,TextFrame
# from neattext.neattext import clean_text,remove_emails,extract_emails,replace_emails,replace_urls,remove_currencies,remove_currency_symbols,extract_currencies
from neattext.functions import *
from neattext.explainer ... | 43.289562 | 230 | 0.736875 | 1,977 | 12,857 | 4.687405 | 0.078907 | 0.048559 | 0.066041 | 0.085572 | 0.799612 | 0.760117 | 0.734758 | 0.715658 | 0.70519 | 0.68404 | 0 | 0.040226 | 0.145368 | 12,857 | 296 | 231 | 43.435811 | 0.798689 | 0.012289 | 0 | 0.308756 | 0 | 0.092166 | 0.521623 | 0.023631 | 0 | 0 | 0 | 0 | 0.225806 | 1 | 0.221198 | false | 0 | 0.023041 | 0 | 0.24424 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4bd44b81a1d95cbc5a35ea53184743a1a35999f2 | 27 | py | Python | rubika/__init__.py | Amircfyt/rubika-1 | db03f700fa8b2299d395ac9b5709bb09aca7fe89 | [
"MIT"
] | 23 | 2021-12-06T09:54:01.000Z | 2022-03-31T19:44:29.000Z | rubika/__init__.py | Amircfyt/rubika-1 | db03f700fa8b2299d395ac9b5709bb09aca7fe89 | [
"MIT"
] | 4 | 2022-01-08T19:27:40.000Z | 2022-03-30T13:18:23.000Z | rubika/__init__.py | Amircfyt/rubika-1 | db03f700fa8b2299d395ac9b5709bb09aca7fe89 | [
"MIT"
] | 13 | 2021-12-08T14:18:39.000Z | 2022-03-30T13:20:37.000Z | from rubika.client import * | 27 | 27 | 0.814815 | 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 |
ef1caca916b465a065f58a73ab925d9c8a88f770 | 108 | py | Python | tests/inputs/numpy-lib/44-numpy-arange.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | 4 | 2019-10-06T18:01:24.000Z | 2020-07-03T05:27:35.000Z | tests/inputs/numpy-lib/44-numpy-arange.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | 5 | 2021-06-07T15:50:04.000Z | 2021-06-07T15:50:06.000Z | tests/inputs/numpy-lib/44-numpy-arange.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | null | null | null | import numpy as np
a = np.arange(24).reshape(2, 3, 4)
b = np.arange(24).reshape((2, 3, 4))
# show_store()
| 15.428571 | 36 | 0.62037 | 22 | 108 | 3 | 0.636364 | 0.242424 | 0.30303 | 0.515152 | 0.606061 | 0.606061 | 0.606061 | 0 | 0 | 0 | 0 | 0.111111 | 0.166667 | 108 | 6 | 37 | 18 | 0.622222 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
32545661d5d5ef6612dfdcbcb699bc2302069cd6 | 1,225 | py | Python | 2017/day4/day4.py | jibarra/advent-of-code | 9be56354f59c8279e13a4b89348e32fdfffd4677 | [
"MIT"
] | null | null | null | 2017/day4/day4.py | jibarra/advent-of-code | 9be56354f59c8279e13a4b89348e32fdfffd4677 | [
"MIT"
] | null | null | null | 2017/day4/day4.py | jibarra/advent-of-code | 9be56354f59c8279e13a4b89348e32fdfffd4677 | [
"MIT"
] | null | null | null | def read_file(file_name):
data = ""
with open(file_name, "r") as file:
data = file.read()
return data
def parse_input(text):
lines = text.split("\n")
return lines
def part1():
lines = parse_input(read_file("day4_input.txt"))
good_passphrases = 0
for line in lines:
wor... | 24.5 | 52 | 0.577959 | 151 | 1,225 | 4.443709 | 0.271523 | 0.134128 | 0.14307 | 0.056632 | 0.736215 | 0.736215 | 0.736215 | 0.736215 | 0.736215 | 0.736215 | 0 | 0.012255 | 0.333878 | 1,225 | 49 | 53 | 25 | 0.810049 | 0 | 0 | 0.585366 | 0 | 0 | 0.026939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0.292683 | 0 | 0 | 0.146341 | 0.04878 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
085e2c4d60db41704e518d78a9d76dfb7a264d01 | 63 | py | Python | mutationplanner/__init__.py | cssd2019/mutationplanner | 2d37e94953ac5df86ab5a5d1651c9f63e8cd4c90 | [
"MIT"
] | 1 | 2019-03-13T13:19:36.000Z | 2019-03-13T13:19:36.000Z | mutationplanner/__init__.py | cssd2019/mutationplanner | 2d37e94953ac5df86ab5a5d1651c9f63e8cd4c90 | [
"MIT"
] | 1 | 2019-03-18T12:54:32.000Z | 2019-03-18T12:54:32.000Z | mutationplanner/__init__.py | cssd2019/mutationplanner | 2d37e94953ac5df86ab5a5d1651c9f63e8cd4c90 | [
"MIT"
] | null | null | null | from mutationplanner.mutation_analyser import mutation_analyser | 63 | 63 | 0.936508 | 7 | 63 | 8.142857 | 0.714286 | 0.561404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 63 | 1 | 63 | 63 | 0.95 | 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 |
0875409ad085a9f3a9307f7c444bf1f1c6fbfec4 | 17,936 | py | Python | py_shoco/tests/successor_tables/successor_tables.py | MATTHEWFRAZER/py_shoco | 6a2f38d3ed74c5f6d850e7c6338ca810b9738619 | [
"MIT"
] | null | null | null | py_shoco/tests/successor_tables/successor_tables.py | MATTHEWFRAZER/py_shoco | 6a2f38d3ed74c5f6d850e7c6338ca810b9738619 | [
"MIT"
] | null | null | null | py_shoco/tests/successor_tables/successor_tables.py | MATTHEWFRAZER/py_shoco | 6a2f38d3ed74c5f6d850e7c6338ca810b9738619 | [
"MIT"
] | null | null | null | import ctypes
from py_shoco.constants import MAX_LEADING_CHARACTER_BITS, MAX_SUCCESSOR_BITS
from py_shoco.successor_tables.compression_successor_table import CompressionSuccessorTable
from py_shoco.successor_tables.decompression_successor_table import DecompressionSuccessorTable
from py_shoco.pack import define_pack
... | 83.037037 | 179 | 0.378122 | 3,157 | 17,936 | 2.09281 | 0.039911 | 0.772817 | 1.141517 | 1.498411 | 0.690328 | 0.627214 | 0.575148 | 0.556077 | 0.522779 | 0.508703 | 0 | 0.232023 | 0.192852 | 17,936 | 216 | 180 | 83.037037 | 0.224356 | 0 | 0 | 0.291457 | 0 | 0.211055 | 0.222389 | 0 | 0 | 0 | 0.003011 | 0 | 0 | 1 | 0 | false | 0 | 0.025126 | 0 | 0.025126 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
08a0af53a12ce1d530ac058b6e05964879c0485e | 140 | py | Python | backend/microservices/auth/core/entities/hash_password.py | MuhamedAbdalla/Automatic-Audio-Book-Based-On-Emotion-Detection | 72130ad037b900461af5be6d80b27ab29c81de5e | [
"MIT"
] | 3 | 2021-04-26T00:17:14.000Z | 2021-07-04T15:30:09.000Z | backend/microservices/auth/core/entities/hash_password.py | MuhamedAbdalla/Automatic-Audio-Book-Based-On-Emotion-Detection | 72130ad037b900461af5be6d80b27ab29c81de5e | [
"MIT"
] | null | null | null | backend/microservices/auth/core/entities/hash_password.py | MuhamedAbdalla/Automatic-Audio-Book-Based-On-Emotion-Detection | 72130ad037b900461af5be6d80b27ab29c81de5e | [
"MIT"
] | null | null | null | import hashlib
def hash_password(password: str, salt: str):
return hashlib.sha512((password + salt).encode('utf-8')).hexdigest()
| 23.333333 | 73 | 0.692857 | 18 | 140 | 5.333333 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.157143 | 140 | 5 | 74 | 28 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.666667 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 6 |
08c0ae5d4e8c0be8f95572574565fc99bb29880e | 30 | py | Python | src/mdscripts/updtopocount/__init__.py | awacha/mdscripts | 831bda06557fa2d5f0899fc2f6552c9e49146cef | [
"BSD-3-Clause"
] | null | null | null | src/mdscripts/updtopocount/__init__.py | awacha/mdscripts | 831bda06557fa2d5f0899fc2f6552c9e49146cef | [
"BSD-3-Clause"
] | null | null | null | src/mdscripts/updtopocount/__init__.py | awacha/mdscripts | 831bda06557fa2d5f0899fc2f6552c9e49146cef | [
"BSD-3-Clause"
] | null | null | null | from .updtopocount import main | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
08e58a2022abf43885040f073ee1b745b9bafc81 | 103 | py | Python | pygenius/__init__.py | aorti017/pygenius | e8fef50abccacda4c741b843cc084110fe797fd2 | [
"BSD-3-Clause"
] | 1 | 2015-06-03T22:03:29.000Z | 2015-06-03T22:03:29.000Z | pygenius/__init__.py | aorti017/pygenius | e8fef50abccacda4c741b843cc084110fe797fd2 | [
"BSD-3-Clause"
] | null | null | null | pygenius/__init__.py | aorti017/pygenius | e8fef50abccacda4c741b843cc084110fe797fd2 | [
"BSD-3-Clause"
] | null | null | null | from artist import *
from extract import *
from search import *
from song import *
from tools import *
| 17.166667 | 21 | 0.757282 | 15 | 103 | 5.2 | 0.466667 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194175 | 103 | 5 | 22 | 20.6 | 0.939759 | 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 |
3ea96ce324a597831feb64ccafff08eff06fec7f | 132 | py | Python | app/controllers/main/__init__.py | loserrain/-flask-base-test | 3b3c4478973c3e0219cb0a4cbb20d0411163e7ca | [
"MIT"
] | 6 | 2019-10-04T22:24:46.000Z | 2021-07-13T19:15:49.000Z | app/controllers/main/__init__.py | leynier/flask-base | abcbe1774e44bf9d7afd921212662347f0f7adcc | [
"MIT"
] | null | null | null | app/controllers/main/__init__.py | leynier/flask-base | abcbe1774e44bf9d7afd921212662347f0f7adcc | [
"MIT"
] | null | null | null | from flask import Blueprint
main_blueprint = Blueprint('main', __name__, template_folder='../../views')
from . import controllers
| 22 | 75 | 0.757576 | 15 | 132 | 6.266667 | 0.666667 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 132 | 5 | 76 | 26.4 | 0.803419 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
411342374bbe3f112ac51575f1461b0b0adcf909 | 103 | py | Python | plugins/dbnd-luigi/src/dbnd_luigi/__main__.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | 224 | 2020-01-02T10:46:37.000Z | 2022-03-02T13:54:08.000Z | plugins/dbnd-luigi/src/dbnd_luigi/__main__.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | 16 | 2020-03-11T09:37:58.000Z | 2022-01-26T10:22:08.000Z | plugins/dbnd-luigi/src/dbnd_luigi/__main__.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | 24 | 2020-03-24T13:53:50.000Z | 2022-03-22T11:55:18.000Z | from dbnd_luigi.luigi_tracking import dbnd_luigi_run
if __name__ == "__main__":
dbnd_luigi_run()
| 17.166667 | 52 | 0.776699 | 15 | 103 | 4.4 | 0.6 | 0.409091 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 53 | 20.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
411426436030574b8cd963cdea19b9cb6abcce16 | 8,608 | py | Python | bert_vectors_chandni.py | chandnii7/UsingBERT | ef8ebcc282c8dbc5a95529a49e39457ccb0c6639 | [
"Apache-2.0"
] | null | null | null | bert_vectors_chandni.py | chandnii7/UsingBERT | ef8ebcc282c8dbc5a95529a49e39457ccb0c6639 | [
"Apache-2.0"
] | null | null | null | bert_vectors_chandni.py | chandnii7/UsingBERT | ef8ebcc282c8dbc5a95529a49e39457ccb0c6639 | [
"Apache-2.0"
] | null | null | null |
# coding: utf-8
# # Text categorization model using the features derived from BERT
# In[ ]:
import os
import json
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
from sklearn.linear_model import LogisticRegression
from sklearn.neural_network import MLPClassifier
from sk... | 35.570248 | 128 | 0.639405 | 1,018 | 8,608 | 5.183694 | 0.169941 | 0.025014 | 0.062536 | 0.019329 | 0.833807 | 0.824711 | 0.824711 | 0.815615 | 0.782263 | 0.766724 | 0 | 0.007581 | 0.157179 | 8,608 | 241 | 129 | 35.717842 | 0.719779 | 0.120702 | 0 | 0.65493 | 0 | 0 | 0.250996 | 0.099867 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.06338 | 0 | 0.06338 | 0.352113 | 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 |
4117b4e9efbd7b3a48fd36296da56b266566b473 | 2,355 | py | Python | test/test_zmove.py | adacker10/showdown | 8ceb1ff46d5c33ec3055928d6ad293224446f63c | [
"MIT"
] | 8 | 2019-02-02T01:15:57.000Z | 2021-12-23T04:43:46.000Z | test/test_zmove.py | adacker10/showdown | 8ceb1ff46d5c33ec3055928d6ad293224446f63c | [
"MIT"
] | null | null | null | test/test_zmove.py | adacker10/showdown | 8ceb1ff46d5c33ec3055928d6ad293224446f63c | [
"MIT"
] | 6 | 2020-09-11T13:15:05.000Z | 2022-03-18T15:46:35.000Z | import unittest
from sim.battle import Battle
from data import dex
class TestZMove(unittest.TestCase):
def test_zmove(self):
battle = Battle(debug=False, rng=False)
"""tests tackle with STAB and no STAB"""
battle.join(0, [{'species': 'pikachuhoenn', 'item': 'pikashuniumz', 'moves': ['thund... | 36.796875 | 103 | 0.614013 | 292 | 2,355 | 4.90411 | 0.202055 | 0.067039 | 0.083799 | 0.089385 | 0.815642 | 0.815642 | 0.815642 | 0.809358 | 0.809358 | 0.809358 | 0 | 0.022913 | 0.221656 | 2,355 | 63 | 104 | 37.380952 | 0.75832 | 0.038217 | 0 | 0.547619 | 0 | 0 | 0.131186 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.095238 | false | 0 | 0.071429 | 0 | 0.190476 | 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 |
412b6dba6c3bd8525acec50c760e095a9fbed575 | 182 | py | Python | joplin/pages/information_page/fixtures/__init__.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 15 | 2018-09-27T07:36:30.000Z | 2021-08-03T16:01:21.000Z | joplin/pages/information_page/fixtures/__init__.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 183 | 2017-11-16T23:30:47.000Z | 2020-12-18T21:43:36.000Z | joplin/pages/information_page/fixtures/__init__.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 12 | 2017-12-12T22:48:05.000Z | 2021-03-01T18:01:24.000Z | from .test_cases.new_contact import new_contact
# You can import any test_case fixture individually
# Or you can load them all with this function
def load_all():
new_contact()
| 22.75 | 51 | 0.78022 | 30 | 182 | 4.533333 | 0.666667 | 0.220588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17033 | 182 | 7 | 52 | 26 | 0.900662 | 0.510989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f5e1435b8feb482e8d7c7ad37fbb74324d252b1e | 50 | py | Python | lib/models/__init__.py | wanghm92/Singlish_parser_tf0.12 | 06e28922ab54f57ade7fb8518ab4d3132286cd01 | [
"MIT"
] | 18 | 2017-05-17T13:51:08.000Z | 2021-06-13T14:34:42.000Z | lib/models/__init__.py | wanghm92/Singlish_parser_tf0.12 | 06e28922ab54f57ade7fb8518ab4d3132286cd01 | [
"MIT"
] | 1 | 2019-03-15T05:39:49.000Z | 2019-03-15T06:49:20.000Z | lib/models/__init__.py | wanghm92/Singlish_parser_tf0.12 | 06e28922ab54f57ade7fb8518ab4d3132286cd01 | [
"MIT"
] | 7 | 2018-04-24T11:25:03.000Z | 2021-03-21T16:41:42.000Z | from nn import NN
import rnn
from parsers import * | 16.666667 | 21 | 0.8 | 9 | 50 | 4.444444 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 50 | 3 | 21 | 16.666667 | 0.97561 | 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 |
f5e8916afd436ba61c176bfbea8bb706f5aa9c0c | 107 | py | Python | terrascript/cloudstack/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/cloudstack/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/cloudstack/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/cloudstack/__init__.py
import terrascript
class cloudstack(terrascript.Provider):
pass
| 15.285714 | 39 | 0.803738 | 11 | 107 | 7.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121495 | 107 | 6 | 40 | 17.833333 | 0.87234 | 0.317757 | 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 |
eb1741d079b18336bf1a9f94d552e2e10aa3f5f1 | 18 | py | Python | python/test_module/run.py | seckcoder/lang-learn | 1e0d6f412bbd7f89b1af00293fd907ddb3c1b571 | [
"Unlicense"
] | 1 | 2017-10-14T04:23:45.000Z | 2017-10-14T04:23:45.000Z | python/test_module/run.py | seckcoder/lang-learn | 1e0d6f412bbd7f89b1af00293fd907ddb3c1b571 | [
"Unlicense"
] | null | null | null | python/test_module/run.py | seckcoder/lang-learn | 1e0d6f412bbd7f89b1af00293fd907ddb3c1b571 | [
"Unlicense"
] | null | null | null | import b
import c
| 6 | 8 | 0.777778 | 4 | 18 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 2 | 9 | 9 | 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 |
eb2516b88d0dde92a6a36a934cf12df15aba2ab6 | 162 | py | Python | chestxray/__init__.py | christian-5-28/aimlx-demos | ba63edb80f37b1a8ced70d5e29038eafa3b48b91 | [
"MIT"
] | 6 | 2017-06-28T10:50:21.000Z | 2022-01-05T18:28:39.000Z | chestxray/__init__.py | christian-5-28/aimlx-demos | ba63edb80f37b1a8ced70d5e29038eafa3b48b91 | [
"MIT"
] | 3 | 2017-12-07T16:02:13.000Z | 2018-09-06T11:39:36.000Z | chestxray/__init__.py | christian-5-28/aimlx-demos | ba63edb80f37b1a8ced70d5e29038eafa3b48b91 | [
"MIT"
] | 23 | 2017-08-08T09:31:16.000Z | 2018-10-24T14:31:36.000Z | from flask import Blueprint
chestxray = Blueprint('chestxray', __name__, template_folder='templates', static_folder='static')
from . import chestxray_controller | 32.4 | 97 | 0.814815 | 18 | 162 | 6.944444 | 0.611111 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 162 | 5 | 98 | 32.4 | 0.85034 | 0 | 0 | 0 | 0 | 0 | 0.147239 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
de4ab6afc2604d9aab63823646fd9e4f80e1d88d | 39 | py | Python | ytsclient/__init__.py | onlinejudge95/yts-client | 231fd318c654747a010655666af04d88cc527e43 | [
"MIT"
] | 1 | 2020-03-15T09:42:38.000Z | 2020-03-15T09:42:38.000Z | ytsclient/__init__.py | onlinejudge95/yts-client | 231fd318c654747a010655666af04d88cc527e43 | [
"MIT"
] | 53 | 2020-03-15T10:30:55.000Z | 2022-03-18T18:33:43.000Z | ytsclient/__init__.py | onlinejudge95/yts-client | 231fd318c654747a010655666af04d88cc527e43 | [
"MIT"
] | null | null | null | from ytsclient.client import YTSClient
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
de58a3502bf8f5f03eefe7dc12701270d623da2b | 37 | py | Python | zencad/internal_models/__init__.py | Spiritdude/zencad | 4e63b1a6306dd235f4daa2791b10249f7546c95b | [
"MIT"
] | 5 | 2018-04-11T14:11:40.000Z | 2018-09-12T19:03:36.000Z | zencad/internal_models/__init__.py | Spiritdude/zencad | 4e63b1a6306dd235f4daa2791b10249f7546c95b | [
"MIT"
] | null | null | null | zencad/internal_models/__init__.py | Spiritdude/zencad | 4e63b1a6306dd235f4daa2791b10249f7546c95b | [
"MIT"
] | null | null | null | from .knight import knight as knight
| 18.5 | 36 | 0.810811 | 6 | 37 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.967742 | 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 |
de860fcfa155e2df2abc0d233690fe643602d03b | 127 | py | Python | NvTK/Explainer/__init__.py | JiaqiLiZju/NvTK | 6b887670a03d63c1747d9854ecbbac13cc06461c | [
"BSD-3-Clause"
] | null | null | null | NvTK/Explainer/__init__.py | JiaqiLiZju/NvTK | 6b887670a03d63c1747d9854ecbbac13cc06461c | [
"BSD-3-Clause"
] | null | null | null | NvTK/Explainer/__init__.py | JiaqiLiZju/NvTK | 6b887670a03d63c1747d9854ecbbac13cc06461c | [
"BSD-3-Clause"
] | null | null | null | from .Motif import *
from .MotifVisualize import *
from .Featuremap import *
from .Influence import *
from .Gradiant import * | 18.142857 | 29 | 0.755906 | 15 | 127 | 6.4 | 0.466667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165354 | 127 | 7 | 30 | 18.142857 | 0.90566 | 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 |
dec043b6c89534fea30b759231de8c114fccc098 | 4,417 | py | Python | src/utils/data_generator.py | coreyjadams/GAN_AE_tutorial | d218e314bb24b4263956811b0c5ba2ae7667c24b | [
"Apache-2.0"
] | null | null | null | src/utils/data_generator.py | coreyjadams/GAN_AE_tutorial | d218e314bb24b4263956811b0c5ba2ae7667c24b | [
"Apache-2.0"
] | null | null | null | src/utils/data_generator.py | coreyjadams/GAN_AE_tutorial | d218e314bb24b4263956811b0c5ba2ae7667c24b | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
import random
import numpy
class mnist_generator(object):
'''
This class takes the mnist dataset and generates multi-digit examples.
The goal here is to create on-the-fly augmented data that is more complex
than just 0 to 9, but also very easy to get access to.
'''
... | 33.210526 | 93 | 0.547657 | 572 | 4,417 | 4.027972 | 0.213287 | 0.070313 | 0.023438 | 0.036458 | 0.766493 | 0.747396 | 0.730903 | 0.730903 | 0.730903 | 0.730903 | 0 | 0.027603 | 0.352049 | 4,417 | 133 | 94 | 33.210526 | 0.777428 | 0.354766 | 0 | 0.48 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06 | false | 0 | 0.06 | 0 | 0.18 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9d05584fd6c7d58104073d3136f969ab63f08c97 | 121 | py | Python | maniacal-moths/newsly/news_wrapper/models.py | Kushagra-0801/summer-code-jam-2020 | aae9a678b0b30f20ab3cc6cf2b0606ee1f762ca0 | [
"MIT"
] | null | null | null | maniacal-moths/newsly/news_wrapper/models.py | Kushagra-0801/summer-code-jam-2020 | aae9a678b0b30f20ab3cc6cf2b0606ee1f762ca0 | [
"MIT"
] | null | null | null | maniacal-moths/newsly/news_wrapper/models.py | Kushagra-0801/summer-code-jam-2020 | aae9a678b0b30f20ab3cc6cf2b0606ee1f762ca0 | [
"MIT"
] | 1 | 2020-08-04T05:44:34.000Z | 2020-08-04T05:44:34.000Z | from django.db import models
class Article(models.Model):
"""Article gotten from the News Catcher API"""
pass
| 15.125 | 50 | 0.702479 | 17 | 121 | 5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206612 | 121 | 7 | 51 | 17.285714 | 0.885417 | 0.330579 | 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 |
19fbb993495450f5945642385188c7860adeb88f | 46 | py | Python | boilerplate/app/models/__init__.py | davideasaf/effortless_rest_flask | ee96069614aa670837152db36616b847f1cb5f73 | [
"MIT"
] | 6 | 2019-10-31T17:10:06.000Z | 2020-07-01T15:18:46.000Z | boilerplate/app/models/__init__.py | davideasaf/effortless_rest_flask | ee96069614aa670837152db36616b847f1cb5f73 | [
"MIT"
] | 1 | 2019-11-07T20:31:27.000Z | 2019-11-07T20:31:27.000Z | boilerplate/app/models/__init__.py | pydatacharlotte/effortless_rest_flask | 4691d2ffda3f4eebae2ba1f089fdce087750c984 | [
"MIT"
] | 2 | 2019-11-07T20:26:02.000Z | 2019-12-09T01:29:32.000Z | from .user import User
from .iris import Iris
| 15.333333 | 22 | 0.782609 | 8 | 46 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dfcf7a5dddd1a21cf4e855c96871e40e913e6ae9 | 41 | py | Python | daffodil/base_delegate.py | igorkramaric/daffodil | eefa2b2801e40246cc1deb4ca5940f39c77e3203 | [
"MIT"
] | null | null | null | daffodil/base_delegate.py | igorkramaric/daffodil | eefa2b2801e40246cc1deb4ca5940f39c77e3203 | [
"MIT"
] | 45 | 2015-05-04T20:59:43.000Z | 2022-02-08T20:57:12.000Z | daffodil/base_delegate.py | igorkramaric/daffodil | eefa2b2801e40246cc1deb4ca5940f39c77e3203 | [
"MIT"
] | 4 | 2015-04-20T11:04:06.000Z | 2021-09-22T14:29:50.000Z | from .parser import BaseDaffodilDelegate
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0338379114e39f3e9c73faeed4542636a829d53 | 35 | py | Python | ifmodels/ifmodels.py | hhelmbre/ifmodels | 24b81afa262c3905db5bc7d1046e269641948dbf | [
"MIT"
] | 1 | 2020-04-08T01:43:04.000Z | 2020-04-08T01:43:04.000Z | ifmodels/ifmodels.py | hhelmbre/ifmodels | 24b81afa262c3905db5bc7d1046e269641948dbf | [
"MIT"
] | null | null | null | ifmodels/ifmodels.py | hhelmbre/ifmodels | 24b81afa262c3905db5bc7d1046e269641948dbf | [
"MIT"
] | 1 | 2019-11-20T19:41:10.000Z | 2019-11-20T19:41:10.000Z | #A python file
import numpy as np
| 8.75 | 18 | 0.742857 | 7 | 35 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 35 | 3 | 19 | 11.666667 | 0.962963 | 0.371429 | 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 |
a066489d8018924125f5c431b6037066d0973791 | 54,330 | py | Python | species/plot/plot_color.py | tomasstolker/SPECIES | f74483a334f36cbeafeaf372446ae1ea9f278d95 | [
"MIT"
] | null | null | null | species/plot/plot_color.py | tomasstolker/SPECIES | f74483a334f36cbeafeaf372446ae1ea9f278d95 | [
"MIT"
] | null | null | null | species/plot/plot_color.py | tomasstolker/SPECIES | f74483a334f36cbeafeaf372446ae1ea9f278d95 | [
"MIT"
] | null | null | null | """
Module with functions for creating plots with color-magnitude
diagrams and color-color diagrams.
"""
import warnings
from typing import Dict, List, Optional, Tuple, Union
import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
from matplotlib.colorbar import Colorbar
from matplotlib.ticker i... | 34.916452 | 93 | 0.4522 | 5,731 | 54,330 | 4.168557 | 0.083057 | 0.015069 | 0.016325 | 0.012725 | 0.839221 | 0.805944 | 0.773294 | 0.741356 | 0.699707 | 0.667015 | 0 | 0.035872 | 0.44226 | 54,330 | 1,555 | 94 | 34.938907 | 0.752525 | 0.165286 | 0 | 0.713628 | 0 | 0.003683 | 0.068165 | 0.002151 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001842 | false | 0 | 0.011971 | 0 | 0.013812 | 0.012891 | 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 |
a07f514ed648ad66813862f973267290e4437b41 | 27 | py | Python | django_toolkit/tests/templatetags/__init__.py | alexhayes/django-toolkit | b64106392fad596defc915b8235fe6e1d0013b5b | [
"MIT"
] | 7 | 2015-06-23T07:36:04.000Z | 2016-12-24T00:42:50.000Z | django_toolkit/tests/templatetags/__init__.py | alexhayes/django-toolkit | b64106392fad596defc915b8235fe6e1d0013b5b | [
"MIT"
] | 5 | 2020-02-12T00:49:28.000Z | 2021-12-13T19:47:48.000Z | django_toolkit/tests/templatetags/__init__.py | alexhayes/django-toolkit | b64106392fad596defc915b8235fe6e1d0013b5b | [
"MIT"
] | 4 | 2015-06-23T07:37:40.000Z | 2021-04-04T03:53:34.000Z | from .url_helpers import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 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 |
a0a00cb2365348e4354416f978d781eb4937a1c6 | 11,972 | py | Python | imitation_cl/plot/trajectories.py | sayantanauddy/clfd | 3c8658bf5722429f48b25a34b0fff90736ea0597 | [
"MIT"
] | 2 | 2022-02-19T09:08:48.000Z | 2022-03-03T22:38:13.000Z | imitation_cl/plot/trajectories.py | sayantanauddy/clfd | 3c8658bf5722429f48b25a34b0fff90736ea0597 | [
"MIT"
] | null | null | null | imitation_cl/plot/trajectories.py | sayantanauddy/clfd | 3c8658bf5722429f48b25a34b0fff90736ea0597 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from matplotlib import animation
import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'
import torch
#TODO remove
def get_quiver_data(t, y_all, ode_rhs, y_hat, x_lim=[-2.0,2.0], y_lim=[-2.0,2.0], L=1):
N_ = 10
min_x,min_y = x_lim[0], y_lim[0]
max_x,max_y = ... | 37.4125 | 123 | 0.52698 | 1,707 | 11,972 | 3.54423 | 0.125366 | 0.019835 | 0.041653 | 0.017355 | 0.817025 | 0.778017 | 0.74876 | 0.721653 | 0.70595 | 0.681818 | 0 | 0.045041 | 0.311978 | 11,972 | 320 | 124 | 37.4125 | 0.68945 | 0.139325 | 0 | 0.689076 | 0 | 0 | 0.069704 | 0.002847 | 0 | 0 | 0 | 0.003125 | 0 | 1 | 0.016807 | false | 0 | 0.02521 | 0 | 0.063025 | 0.004202 | 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 |
a0c423d4c45e9fdb3b51619f0159891bcadaf77f | 363 | py | Python | function/python/brightics/function/clustering/__init__.py | GSByeon/studio | 782cf484541c6d68e1451ff6a0d3b5dc80172664 | [
"Apache-2.0"
] | null | null | null | function/python/brightics/function/clustering/__init__.py | GSByeon/studio | 782cf484541c6d68e1451ff6a0d3b5dc80172664 | [
"Apache-2.0"
] | null | null | null | function/python/brightics/function/clustering/__init__.py | GSByeon/studio | 782cf484541c6d68e1451ff6a0d3b5dc80172664 | [
"Apache-2.0"
] | 1 | 2020-11-19T06:44:15.000Z | 2020-11-19T06:44:15.000Z | from .kmeans import kmeans_train_predict
from .kmeans import kmeans_predict
from .kmeans import kmeans_silhouette_train_predict
from .hierarchical_clustering import hierarchical_clustering
from .hierarchical_clustering import hierarchical_clustering_post
from .gaussian_mixture import gaussian_mixture_train
from .gaussi... | 45.375 | 65 | 0.903581 | 45 | 363 | 6.911111 | 0.244444 | 0.282958 | 0.154341 | 0.212219 | 0.790997 | 0.604502 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077135 | 363 | 7 | 66 | 51.857143 | 0.928358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd05b80a2ad541ec6f10ada80c26629fc10bdab4 | 40 | py | Python | TestMovimientos/RecurrentTest/parity.py | JDanielGar/ConvolutionMovements | eca831af8570023650d158bf8171909577dc4ec5 | [
"Apache-2.0"
] | null | null | null | TestMovimientos/RecurrentTest/parity.py | JDanielGar/ConvolutionMovements | eca831af8570023650d158bf8171909577dc4ec5 | [
"Apache-2.0"
] | null | null | null | TestMovimientos/RecurrentTest/parity.py | JDanielGar/ConvolutionMovements | eca831af8570023650d158bf8171909577dc4ec5 | [
"Apache-2.0"
] | null | null | null | import theano
import theano.tensor as T
| 13.333333 | 25 | 0.825 | 7 | 40 | 4.714286 | 0.714286 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 2 | 26 | 20 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cd2f05d72f4396712fe54b937aad2d84addbfd20 | 263 | py | Python | tests/conftest.py | sqggles/sqlalchemy_dremio | 3ea961d52908fabd655c0348573c5abb0c490f12 | [
"MIT"
] | 13 | 2017-10-20T10:41:20.000Z | 2021-01-19T21:06:43.000Z | tests/conftest.py | ahmadimtcs/sqlalchemy_dremio | 65eb87f22e2fa36073170312ddb3f360b440a9c8 | [
"MIT"
] | 8 | 2017-10-27T08:42:19.000Z | 2022-02-22T17:59:37.000Z | tests/conftest.py | sqggles/sqlalchemy_dremio | 3ea961d52908fabd655c0348573c5abb0c490f12 | [
"MIT"
] | 9 | 2017-10-27T07:01:29.000Z | 2020-01-11T11:42:14.000Z | from sqlalchemy.dialects import registry
registry.register("dremio", "sqlalchemy_dremio.pyodbc", "DremioDialect_pyodbc")
registry.register("dremio.pyodbc", "sqlalchemy_dremio.pyodbc", "DremioDialect_pyodbc")
from sqlalchemy.testing.plugin.pytestplugin import *
| 37.571429 | 86 | 0.825095 | 28 | 263 | 7.607143 | 0.428571 | 0.169014 | 0.206573 | 0.328639 | 0.384977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060837 | 263 | 6 | 87 | 43.833333 | 0.862348 | 0 | 0 | 0 | 0 | 0 | 0.406844 | 0.18251 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
26ad31cd06bba78920a896eef91fb019e914fb34 | 121 | py | Python | test.py | TDMangukiya/django-flatemails | dffec267ce35749a82445cf61c7660c3bcc7ec3f | [
"BSD-3-Clause"
] | 1 | 2016-01-08T06:00:10.000Z | 2016-01-08T06:00:10.000Z | test.py | TDMangukiya/django-flatemails | dffec267ce35749a82445cf61c7660c3bcc7ec3f | [
"BSD-3-Clause"
] | null | null | null | test.py | TDMangukiya/django-flatemails | dffec267ce35749a82445cf61c7660c3bcc7ec3f | [
"BSD-3-Clause"
] | null | null | null | from testproject.manage import execute_manager, settings
import sys
sys.argv.insert(1, 'test')
execute_manager(settings)
| 24.2 | 56 | 0.826446 | 17 | 121 | 5.764706 | 0.705882 | 0.285714 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.082645 | 121 | 4 | 57 | 30.25 | 0.873874 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f80672bb133736fa2442e639769aa3be88d7bf76 | 16 | py | Python | src/glue_launcher_lambda/__init__.py | dwp/dataworks-aws-glue-launcher | b918b172a58867815affa3985e45e239af32ba93 | [
"0BSD"
] | 1 | 2021-08-30T02:58:12.000Z | 2021-08-30T02:58:12.000Z | src/glue_launcher_lambda/__init__.py | dwp/dataworks-aws-glue-launcher | b918b172a58867815affa3985e45e239af32ba93 | [
"0BSD"
] | 22 | 2021-08-03T08:33:36.000Z | 2021-09-24T07:28:33.000Z | src/glue_launcher_lambda/__init__.py | dwp/dataworks-aws-glue-launcher | b918b172a58867815affa3985e45e239af32ba93 | [
"0BSD"
] | null | null | null | "Glue Launcher"
| 8 | 15 | 0.75 | 2 | 16 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 16 | 1 | 16 | 16 | 0.857143 | 0.8125 | 0 | 0 | 0 | 0 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f85f1c9e7d33dd050c0ad1913fd0524ad2a6ca53 | 2,803 | py | Python | epytope/Data/pssms/smmpmbec/mat/A_02_06_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/A_02_06_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/A_02_06_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_02_06_11 = {0: {'A': -0.018, 'C': 0.101, 'E': 0.14, 'D': 0.256, 'G': 0.307, 'F': -0.391, 'I': -0.255, 'H': -0.048, 'K': -0.161, 'M': -0.683, 'L': -0.792, 'N': 0.312, 'Q': 0.357, 'P': 0.85, 'S': -0.023, 'R': 0.31, 'T': 0.07, 'W': 0.021, 'V': -0.09, 'Y': -0.262}, 1: {'A': 0.008, 'C': 0.002, 'E': 0.002, 'D': 0.005, 'G':... | 2,803 | 2,803 | 0.392793 | 679 | 2,803 | 1.617084 | 0.22975 | 0.020036 | 0.009107 | 0.010929 | 0.076503 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372232 | 0.162326 | 2,803 | 1 | 2,803 | 2,803 | 0.0954 | 0 | 0 | 0 | 0 | 0 | 0.079529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 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 |
f8ab341a29a0afaba9c5280f52df3d54fccc3406 | 41 | py | Python | todoist_costs/__init__.py | anatoly-scherbakov/todoist-costs | 0c44a5c599205659cd23921c5ceba24802b4dd74 | [
"MIT"
] | null | null | null | todoist_costs/__init__.py | anatoly-scherbakov/todoist-costs | 0c44a5c599205659cd23921c5ceba24802b4dd74 | [
"MIT"
] | null | null | null | todoist_costs/__init__.py | anatoly-scherbakov/todoist-costs | 0c44a5c599205659cd23921c5ceba24802b4dd74 | [
"MIT"
] | null | null | null | from todoist_costs.cli import app as cli
| 20.5 | 40 | 0.829268 | 8 | 41 | 4.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 1 | 41 | 41 | 0.942857 | 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 |
f8b60eced6b9d82c0fc002254594f12ca827ca8a | 5,269 | py | Python | client/sym.py | symphonyprotocol/openplatform_client | 7bfbc157244c603c8dcf2ea44a1047addbc39c23 | [
"Apache-2.0"
] | null | null | null | client/sym.py | symphonyprotocol/openplatform_client | 7bfbc157244c603c8dcf2ea44a1047addbc39c23 | [
"Apache-2.0"
] | null | null | null | client/sym.py | symphonyprotocol/openplatform_client | 7bfbc157244c603c8dcf2ea44a1047addbc39c23 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from .utils import get_md5_Str, get, post, get_timestamp, get_toml_file
import json
class SymClient:
company_id = ""
secret = ""
def __init__(self):
pass
def get_comapny_id(self):
return self.company_id
def register(self, company_name, u... | 35.843537 | 121 | 0.552097 | 636 | 5,269 | 4.361635 | 0.119497 | 0.054795 | 0.046864 | 0.030281 | 0.809301 | 0.802812 | 0.802812 | 0.796323 | 0.796323 | 0.782985 | 0 | 0.00854 | 0.311065 | 5,269 | 147 | 122 | 35.843537 | 0.755647 | 0.028279 | 0 | 0.645669 | 0 | 0 | 0.200945 | 0.073411 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086614 | false | 0.03937 | 0.015748 | 0.007874 | 0.188976 | 0.015748 | 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 |
3e080551cbaf113ab404e90334d5fe8ea3292cc9 | 231 | py | Python | src/member.py | stickittotheman/reminder-robin | 29560697634be6cd30dbf8312cecc781e8f4906f | [
"Apache-2.0"
] | null | null | null | src/member.py | stickittotheman/reminder-robin | 29560697634be6cd30dbf8312cecc781e8f4906f | [
"Apache-2.0"
] | null | null | null | src/member.py | stickittotheman/reminder-robin | 29560697634be6cd30dbf8312cecc781e8f4906f | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass
import discord
@dataclass
class Member:
display_name: str
@staticmethod
def from_discord_member(discord_member: discord.Member):
return Member(display_name=discord_member)
| 16.5 | 60 | 0.766234 | 27 | 231 | 6.333333 | 0.481481 | 0.304094 | 0.19883 | 0.304094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 231 | 13 | 61 | 17.769231 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3e0abbccddbeea73f561433b668892ac0b007e1c | 5,909 | py | Python | api/migrations/0038_auto_20200110_1333.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 11 | 2018-06-11T06:05:12.000Z | 2022-03-25T09:31:44.000Z | api/migrations/0038_auto_20200110_1333.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 498 | 2017-11-07T21:20:13.000Z | 2022-03-31T14:37:18.000Z | api/migrations/0038_auto_20200110_1333.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 6 | 2018-04-11T13:29:50.000Z | 2020-07-16T16:52:11.000Z | # Generated by Django 2.0.12 on 2020-01-10 13:33
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('api', '0037_auto_20200109_0902'),
]
operations = [
migrations.AlterModelOptions(
name='emergencyoperationsdataset',
options... | 39.925676 | 138 | 0.655779 | 485 | 5,909 | 7.503093 | 0.123711 | 0.06925 | 0.094806 | 0.130805 | 0.920583 | 0.831272 | 0.818082 | 0.761748 | 0.658972 | 0.483924 | 0 | 0.007377 | 0.265866 | 5,909 | 147 | 139 | 40.197279 | 0.831489 | 0.007785 | 0 | 0.624113 | 1 | 0 | 0.433885 | 0.401126 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007092 | 0 | 0.028369 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3e640044a213e00402416b99802a47f05b69f2c8 | 31,580 | py | Python | metrics_utils.py | mit-quest/necstlab-damage-segmentation | d2fef61680594b143ed5914a2ee315eb90852f46 | [
"MIT"
] | 4 | 2019-10-25T19:35:39.000Z | 2022-01-13T02:46:05.000Z | metrics_utils.py | BrendenBarbour/necstlab-damage-segmentation | f714fb917b396d0a5d7fa88a646dfa492bcce835 | [
"MIT"
] | 87 | 2019-10-24T01:42:42.000Z | 2022-02-09T23:35:42.000Z | metrics_utils.py | BrendenBarbour/necstlab-damage-segmentation | f714fb917b396d0a5d7fa88a646dfa492bcce835 | [
"MIT"
] | 6 | 2019-11-04T18:45:58.000Z | 2021-10-30T21:56:06.000Z | import os
from tensorflow import where as tfwhere, zeros_like as tfzeros_like
from tensorflow.keras.metrics import (Metric as MetricTfKeras, Accuracy as AccuracyTfKeras,
FalsePositives, TruePositives, TrueNegatives, FalseNegatives, Precision, Recall)
import tensorflow.keras.backend... | 49.968354 | 211 | 0.675174 | 4,008 | 31,580 | 5.109032 | 0.102545 | 0.010548 | 0.024711 | 0.025785 | 0.795136 | 0.788836 | 0.781316 | 0.771207 | 0.76647 | 0.7568 | 0 | 0.009924 | 0.240564 | 31,580 | 631 | 212 | 50.047544 | 0.843848 | 0.305668 | 0 | 0.745721 | 0 | 0 | 0.024362 | 0.006635 | 0 | 0 | 0 | 0 | 0.00489 | 1 | 0.110024 | false | 0 | 0.022005 | 0 | 0.212714 | 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 |
e41357bce7a78c83508d551c6ecc3ac90d404935 | 34 | py | Python | relativity/special/__init__.py | tdsymonds/relativity | 89314f4a8b7003ae8ee3718ff5fc518c5bdb2973 | [
"MIT"
] | null | null | null | relativity/special/__init__.py | tdsymonds/relativity | 89314f4a8b7003ae8ee3718ff5fc518c5bdb2973 | [
"MIT"
] | null | null | null | relativity/special/__init__.py | tdsymonds/relativity | 89314f4a8b7003ae8ee3718ff5fc518c5bdb2973 | [
"MIT"
] | null | null | null | from .special_relativity import *
| 17 | 33 | 0.823529 | 4 | 34 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
e42c21dd40af470ae8fb2c0a335a702e734146e1 | 816 | py | Python | pyQuARC/code/base_validator.py | NASA-IMPACT/pyQuARC | 9c174624a9d3e340cf91c7925aaae2203515e13f | [
"Apache-2.0"
] | 9 | 2021-03-12T18:04:25.000Z | 2022-03-22T01:30:56.000Z | pyQuARC/code/base_validator.py | NASA-IMPACT/pyQuARC | 9c174624a9d3e340cf91c7925aaae2203515e13f | [
"Apache-2.0"
] | 129 | 2021-04-19T15:42:12.000Z | 2022-03-28T16:50:39.000Z | pyQuARC/code/base_validator.py | NASA-IMPACT/pyQuARC | 9c174624a9d3e340cf91c7925aaae2203515e13f | [
"Apache-2.0"
] | 1 | 2022-03-30T20:33:30.000Z | 2022-03-30T20:33:30.000Z | class BaseValidator:
"""
Base class for all the validators
"""
def __init__(self):
pass
@staticmethod
def eq(first, second):
return first == second
@staticmethod
def neq(first, second):
return first != second
@staticmethod
def lt(first, second):
... | 19.902439 | 47 | 0.610294 | 88 | 816 | 5.556818 | 0.352273 | 0.314928 | 0.208589 | 0.269939 | 0.527607 | 0.527607 | 0.527607 | 0 | 0 | 0 | 0 | 0 | 0.306373 | 816 | 40 | 48 | 20.4 | 0.863958 | 0.040441 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.321429 | false | 0.035714 | 0 | 0.25 | 0.642857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e42ea1919db2d7e87a325f8ccfaa7f841c8b1de9 | 34 | py | Python | server/problem_sets/gen/gens/relation_analysis/__init__.py | iiridescent/problem-sets | e906fe7509cd158ecdb5920853636339d4d531c3 | [
"MIT"
] | null | null | null | server/problem_sets/gen/gens/relation_analysis/__init__.py | iiridescent/problem-sets | e906fe7509cd158ecdb5920853636339d4d531c3 | [
"MIT"
] | 5 | 2021-03-09T10:36:59.000Z | 2022-02-26T14:36:08.000Z | server/problem_sets/gen/gens/relation_analysis/__init__.py | vinhowe/problem-sets | e906fe7509cd158ecdb5920853636339d4d531c3 | [
"MIT"
] | null | null | null |
from .relation_analysis import *
| 11.333333 | 32 | 0.794118 | 4 | 34 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 33 | 17 | 0.896552 | 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 |
e47f1a4f67c52e5fe35d0faac3f816d0ac84913c | 4,063 | py | Python | branchpro/tests/test_sliders.py | SABS-R3-Epidemiology/branching-process | d7dd5f612c45b280b0b369e8e0391ee6dcd84459 | [
"BSD-3-Clause"
] | 1 | 2021-04-14T09:51:43.000Z | 2021-04-14T09:51:43.000Z | branchpro/tests/test_sliders.py | SABS-R3-Epidemiology/branchpro | 2b18e565f16564dfd537d992721f5f99a41c0f1e | [
"BSD-3-Clause"
] | 210 | 2020-10-25T18:49:59.000Z | 2022-02-20T19:22:07.000Z | branchpro/tests/test_sliders.py | SABS-R3-Epidemiology/branching-process | d7dd5f612c45b280b0b369e8e0391ee6dcd84459 | [
"BSD-3-Clause"
] | 1 | 2020-10-28T13:48:19.000Z | 2020-10-28T13:48:19.000Z | #
# This file is part of BRANCHPRO
# (https://github.com/SABS-R3-Epidemiology/branchpro.git) which is released
# under the BSD 3-clause license. See accompanying LICENSE.md for copyright
# notice and full license details.
#
import unittest
import numpy as np
import branchpro as bp
class Test_SliderComponent(unitte... | 40.63 | 76 | 0.60128 | 554 | 4,063 | 4.319495 | 0.158845 | 0.231926 | 0.21145 | 0.266611 | 0.742583 | 0.724196 | 0.707898 | 0.417468 | 0.253239 | 0.216465 | 0 | 0.06592 | 0.230864 | 4,063 | 99 | 77 | 41.040404 | 0.69984 | 0.070145 | 0 | 0.223684 | 0 | 0 | 0.033813 | 0 | 0 | 0 | 0 | 0 | 0.486842 | 1 | 0.052632 | false | 0 | 0.039474 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4bbadad41e783dab257204985c7be2ff37ba99a | 364 | py | Python | queues/priority_queue/queue.py | deveshpatel0101/python-data-structures-algorithms | 3ae54fff1bb340b9f6b6ff4361eac38fb83eebb5 | [
"MIT"
] | null | null | null | queues/priority_queue/queue.py | deveshpatel0101/python-data-structures-algorithms | 3ae54fff1bb340b9f6b6ff4361eac38fb83eebb5 | [
"MIT"
] | null | null | null | queues/priority_queue/queue.py | deveshpatel0101/python-data-structures-algorithms | 3ae54fff1bb340b9f6b6ff4361eac38fb83eebb5 | [
"MIT"
] | null | null | null | from queues.priority_queue.heap import MaxHeap
class PriorityQueue:
def __init__(self):
self.priority_queue = MaxHeap()
def insert(self, name, priority):
self.priority_queue.insert(name, priority)
def remove(self):
return self.priority_queue.extractMax()
def display(self):
... | 22.75 | 50 | 0.692308 | 43 | 364 | 5.651163 | 0.44186 | 0.26749 | 0.279835 | 0.18107 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 364 | 15 | 51 | 24.266667 | 0.84965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e4de7386a1da304a9b42db841eca8ed5d9cd1ff1 | 74 | py | Python | wsgi.py | hugofer93/aimo-api | fe3cc3f169f7a46d4ba68625a7936f37f55b1aad | [
"MIT"
] | null | null | null | wsgi.py | hugofer93/aimo-api | fe3cc3f169f7a46d4ba68625a7936f37f55b1aad | [
"MIT"
] | null | null | null | wsgi.py | hugofer93/aimo-api | fe3cc3f169f7a46d4ba68625a7936f37f55b1aad | [
"MIT"
] | null | null | null | from client import app as client_app
from server import app as server_app
| 24.666667 | 36 | 0.837838 | 14 | 74 | 4.285714 | 0.428571 | 0.3 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 2 | 37 | 37 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
90044e55827169599901b495c26d7cb773c4037c | 96 | py | Python | vn/__init__.py | mklasby/mri-variationalnetwork | b784fbfcf24d833edb4a41dc70cd863052528f19 | [
"MIT"
] | 119 | 2017-09-22T01:10:25.000Z | 2022-03-17T18:44:39.000Z | vn/__init__.py | mklasby/mri-variationalnetwork | b784fbfcf24d833edb4a41dc70cd863052528f19 | [
"MIT"
] | 11 | 2017-12-26T10:45:18.000Z | 2021-03-04T17:10:04.000Z | vn/__init__.py | mklasby/mri-variationalnetwork | b784fbfcf24d833edb4a41dc70cd863052528f19 | [
"MIT"
] | 55 | 2018-06-18T05:37:52.000Z | 2022-03-14T22:41:27.000Z | from .data import *
from .paramdefinitions import *
from .utils import *
from .proxmaps import * | 24 | 31 | 0.760417 | 12 | 96 | 6.083333 | 0.5 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 4 | 32 | 24 | 0.901235 | 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 |
904a9cbdd7928a8cca7fce0d5fcd37b93d756740 | 201 | py | Python | tests/test_config.py | SauravMaheshkar/MLP-Mixer | c854bcc8aece199931bedfd18bf231c20421d26c | [
"MIT"
] | 7 | 2021-07-02T03:26:23.000Z | 2021-11-23T02:42:41.000Z | tests/test_config.py | SauravMaheshkar/MLP-Mixer | c854bcc8aece199931bedfd18bf231c20421d26c | [
"MIT"
] | null | null | null | tests/test_config.py | SauravMaheshkar/MLP-Mixer | c854bcc8aece199931bedfd18bf231c20421d26c | [
"MIT"
] | 2 | 2021-07-13T05:30:53.000Z | 2021-10-01T21:42:49.000Z | from typing import Dict
from mlpmixer_flax.config import configuration, mixer_b16_config
def test_config():
assert isinstance(configuration, Dict)
assert isinstance(mixer_b16_config, Dict)
| 20.1 | 64 | 0.800995 | 26 | 201 | 5.961538 | 0.538462 | 0.103226 | 0.180645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.144279 | 201 | 9 | 65 | 22.333333 | 0.877907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5fba82220ffe0624c8d68c2885507b0d04643005 | 105 | py | Python | ch6/4 interac textbox.py | PacktPublishing/Learning-Jupyter | 734ef16ade5f9874e5187e483746524a675bf915 | [
"MIT"
] | 11 | 2017-02-02T08:47:32.000Z | 2021-09-15T18:04:01.000Z | ch8/B05207_8.py | PacktPublishing/Learning-Jupyter | 734ef16ade5f9874e5187e483746524a675bf915 | [
"MIT"
] | 2 | 2016-12-02T04:43:11.000Z | 2016-12-02T04:43:57.000Z | ch6/4 interac textbox.py | PacktPublishing/Learning-Jupyter | 734ef16ade5f9874e5187e483746524a675bf915 | [
"MIT"
] | 8 | 2016-12-02T04:39:10.000Z | 2018-04-01T22:58:19.000Z | from ipywidgets import interact
def myfunction(x):
return x
interact(myfunction, x= "Hello World ");
| 21 | 40 | 0.742857 | 14 | 105 | 5.571429 | 0.714286 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161905 | 105 | 4 | 41 | 26.25 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5fc0fcb2a3151e0d27e22b57c57fd6ccc51cf16c | 6,789 | py | Python | tests/test_taxonomy.py | alpae/pyham | e30a018794ce39adf5b77df8bc057841eb142a15 | [
"MIT"
] | 7 | 2019-03-29T18:23:28.000Z | 2021-12-07T07:41:27.000Z | tests/test_taxonomy.py | alpae/pyham | e30a018794ce39adf5b77df8bc057841eb142a15 | [
"MIT"
] | 14 | 2019-04-29T07:57:01.000Z | 2022-03-05T04:00:40.000Z | tests/test_taxonomy.py | alpae/pyham | e30a018794ce39adf5b77df8bc057841eb142a15 | [
"MIT"
] | 3 | 2019-07-18T12:54:45.000Z | 2021-04-22T07:25:47.000Z | import unittest
from pyham import taxonomy, EvolutionaryConceptError
import os
class HAMTaxonomy(unittest.TestCase):
def setUp(self):
self.newick_str = "((HUMAN, PANTR)Primates,(MOUSE, RATNO)Rodents)Euarchontoglires;"
self.newick_str_support = "((HUMAN, PANTR)1:0.1,(MOUSE, RATNO)1:0.1)1:0.1;"
... | 59.034783 | 204 | 0.716011 | 908 | 6,789 | 5.070485 | 0.113436 | 0.067767 | 0.052129 | 0.056473 | 0.854692 | 0.789531 | 0.754778 | 0.746308 | 0.722632 | 0.699609 | 0 | 0.005747 | 0.17985 | 6,789 | 114 | 205 | 59.552632 | 0.821121 | 0.064958 | 0 | 0.309859 | 0 | 0.014085 | 0.163455 | 0.08844 | 0 | 0 | 0 | 0 | 0.211268 | 1 | 0.070423 | false | 0 | 0.042254 | 0 | 0.126761 | 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 |
3963ed2560c11b7702d30d1e4fadc15f6a33bdf3 | 10,428 | py | Python | tests/mechanisms/test_contrastive_hebbian_mechanism.py | bdsinger/PsyNeuLink | 71d8a0bb1691ff85061d4ad3de866d9930a69a73 | [
"Apache-2.0"
] | null | null | null | tests/mechanisms/test_contrastive_hebbian_mechanism.py | bdsinger/PsyNeuLink | 71d8a0bb1691ff85061d4ad3de866d9930a69a73 | [
"Apache-2.0"
] | null | null | null | tests/mechanisms/test_contrastive_hebbian_mechanism.py | bdsinger/PsyNeuLink | 71d8a0bb1691ff85061d4ad3de866d9930a69a73 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import psyneulink as pnl
import pytest
import psyneulink.core.components.functions.learningfunctions
import psyneulink.core.components.functions.transferfunctions
class TestContrastiveHebbian:
def test_scheduled_contrastive_hebbian(self):
o = pnl.TransferMechanism()
m = pnl.Co... | 46.972973 | 143 | 0.573552 | 1,285 | 10,428 | 4.490272 | 0.15642 | 0.054073 | 0.058232 | 0.063778 | 0.855806 | 0.817331 | 0.79688 | 0.79688 | 0.782322 | 0.753206 | 0 | 0.091868 | 0.318374 | 10,428 | 221 | 144 | 47.18552 | 0.719893 | 0.138665 | 0 | 0.546512 | 0 | 0 | 0.00786 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 1 | 0.02907 | false | 0.005814 | 0.02907 | 0 | 0.063953 | 0.011628 | 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 |
39a48c520dfbe38c733780908e454fa13abfe96d | 50 | py | Python | ulmo/lcra/__init__.py | sblack-usu/ulmo | 3213bf0302b44e77abdff1f3f66e7f1083571ce8 | [
"BSD-3-Clause"
] | 123 | 2015-01-29T12:35:52.000Z | 2021-12-15T21:09:33.000Z | ulmo/lcra/__init__.py | sblack-usu/ulmo | 3213bf0302b44e77abdff1f3f66e7f1083571ce8 | [
"BSD-3-Clause"
] | 107 | 2015-01-05T17:56:22.000Z | 2021-11-19T22:46:23.000Z | ulmo/lcra/__init__.py | sblack-usu/ulmo | 3213bf0302b44e77abdff1f3f66e7f1083571ce8 | [
"BSD-3-Clause"
] | 49 | 2015-02-15T18:11:34.000Z | 2022-01-25T14:25:32.000Z | from . import hydromet
from . import waterquality
| 16.666667 | 26 | 0.8 | 6 | 50 | 6.666667 | 0.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 27 | 25 | 0.952381 | 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 |
39dd137e02a0675da43b7911f7511f247929c0dd | 123 | py | Python | xmpe_l10n_pe_currency/models/__init__.py | dsilot/odoo | 032c138954948c28b8fbef4e7bb9d5ba6921c288 | [
"MIT"
] | null | null | null | xmpe_l10n_pe_currency/models/__init__.py | dsilot/odoo | 032c138954948c28b8fbef4e7bb9d5ba6921c288 | [
"MIT"
] | null | null | null | xmpe_l10n_pe_currency/models/__init__.py | dsilot/odoo | 032c138954948c28b8fbef4e7bb9d5ba6921c288 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from . import res_config_settings
from . import rer_currency
from . import res_company
| 13.666667 | 34 | 0.666667 | 16 | 123 | 4.875 | 0.6875 | 0.384615 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.235772 | 123 | 8 | 35 | 15.375 | 0.819149 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
39ecfb07cb771f61d8a4d30a913cdd46c0cde8c5 | 73 | py | Python | cyk/generate_string/__init__.py | azoimide/cyk | 0dd06fc70136246ae59b783c566889802e50b06c | [
"MIT"
] | null | null | null | cyk/generate_string/__init__.py | azoimide/cyk | 0dd06fc70136246ae59b783c566889802e50b06c | [
"MIT"
] | null | null | null | cyk/generate_string/__init__.py | azoimide/cyk | 0dd06fc70136246ae59b783c566889802e50b06c | [
"MIT"
] | null | null | null | from generate_string import generate_table, generate_string, rand_string
| 36.5 | 72 | 0.890411 | 10 | 73 | 6.1 | 0.6 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 73 | 1 | 73 | 73 | 0.910448 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
843268979c554670972ace20eca2f18a6fe30fb0 | 4,985 | py | Python | opfython/utils/converter.py | gugarosa/opfython | 19b467a92d85c7c26d231efec770645096827b4e | [
"Apache-2.0"
] | 26 | 2018-04-24T20:16:18.000Z | 2022-03-09T14:03:28.000Z | opfython/utils/converter.py | gugarosa/opfython | 19b467a92d85c7c26d231efec770645096827b4e | [
"Apache-2.0"
] | 4 | 2020-12-26T14:57:18.000Z | 2022-03-30T02:34:18.000Z | opfython/utils/converter.py | gugarosa/opfython | 19b467a92d85c7c26d231efec770645096827b4e | [
"Apache-2.0"
] | 16 | 2019-05-20T15:41:56.000Z | 2022-03-23T17:59:53.000Z | """Converts OPF binary data to a variety of extensions.
"""
import json as j
import struct
import numpy as np
import opfython.utils.logging as l
logger = l.get_logger(__name__)
def opf2txt(opf_path, output_file=None):
"""Converts a binary OPF file (.dat or .opf) to a .txt file.
Args:
opf_path (st... | 28.163842 | 71 | 0.612036 | 669 | 4,985 | 4.414051 | 0.153961 | 0.071114 | 0.018286 | 0.040637 | 0.899763 | 0.899763 | 0.899763 | 0.899763 | 0.887572 | 0.887572 | 0 | 0.007347 | 0.29007 | 4,985 | 176 | 72 | 28.323864 | 0.82707 | 0.342427 | 0 | 0.680556 | 0 | 0 | 0.064272 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.055556 | 0 | 0.097222 | 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 |
ffdc6eba42261c59ea6ca677054f64b79b22741f | 2,963 | py | Python | base_elements_cubic_matrix.py | geraldpe/cistercian_cipher | 6c0ae9014a7771b1a792cf346cf039a69ae52f96 | [
"Apache-2.0"
] | null | null | null | base_elements_cubic_matrix.py | geraldpe/cistercian_cipher | 6c0ae9014a7771b1a792cf346cf039a69ae52f96 | [
"Apache-2.0"
] | null | null | null | base_elements_cubic_matrix.py | geraldpe/cistercian_cipher | 6c0ae9014a7771b1a792cf346cf039a69ae52f96 | [
"Apache-2.0"
] | null | null | null |
"""
the first index is the power of ten and the second index is the digit between 0 and 8
"""
BaseElements = (
#milliers
(
(
(100, 350, 200, 350)
),
(
(100, 250, 200, 250)
),
(
(100, 250, 200, 350)
),
... | 20.156463 | 86 | 0.253797 | 248 | 2,963 | 3.032258 | 0.100806 | 0.095745 | 0.071809 | 0.06383 | 0.835106 | 0.81516 | 0.726064 | 0.449468 | 0.211436 | 0.071809 | 0 | 0.543919 | 0.600405 | 2,963 | 147 | 87 | 20.156463 | 0.091216 | 0.039487 | 0 | 0.586957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
080ff0143c4641a1af246af4273424cb8a88fb9a | 115 | py | Python | utils.py | CompassMentis/mosaic_tiles | d8980cf65965aee77b1e14dc3760b11343a6a4a2 | [
"MIT"
] | null | null | null | utils.py | CompassMentis/mosaic_tiles | d8980cf65965aee77b1e14dc3760b11343a6a4a2 | [
"MIT"
] | null | null | null | utils.py | CompassMentis/mosaic_tiles | d8980cf65965aee77b1e14dc3760b11343a6a4a2 | [
"MIT"
] | null | null | null | def within_rect(x, y, rect):
return rect.x <= x <= rect.x + rect.width and rect.y <= y <= rect.y + rect.height
| 38.333333 | 85 | 0.608696 | 22 | 115 | 3.136364 | 0.409091 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208696 | 115 | 2 | 86 | 57.5 | 0.758242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f26ef64bb830b236ef4d362dac63efb84b4e04f4 | 103 | py | Python | suvec/vk_api_impl/requesting/__init__.py | ProtsenkoAI/skady-user-vectorizer | 9114337d4a5cb176f6980e73a93eef90a49b478e | [
"MIT"
] | 1 | 2021-05-07T16:48:16.000Z | 2021-05-07T16:48:16.000Z | suvec/vk_api_impl/requesting/__init__.py | ProtsenkoAI/skady-user-vectorizer | 9114337d4a5cb176f6980e73a93eef90a49b478e | [
"MIT"
] | null | null | null | suvec/vk_api_impl/requesting/__init__.py | ProtsenkoAI/skady-user-vectorizer | 9114337d4a5cb176f6980e73a93eef90a49b478e | [
"MIT"
] | null | null | null | from .requests_creator import VkApiRequestsCreator
from .requests import GroupsRequest, FriendsRequest
| 34.333333 | 51 | 0.883495 | 10 | 103 | 9 | 0.7 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087379 | 103 | 2 | 52 | 51.5 | 0.957447 | 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 |
f2bc1b938c3934969ad2e27ebbf5a0ebd472f8f1 | 199 | py | Python | energypy/envs/base.py | ADGEfficiency/energy-py-3-dev | 9c5eb32718dec3f8195402d82c1d03d90fd1f5f9 | [
"MIT"
] | 100 | 2018-09-14T07:58:56.000Z | 2022-02-24T08:58:36.000Z | energypy/envs/base.py | ADGEfficiency/energy-py-3-dev | 9c5eb32718dec3f8195402d82c1d03d90fd1f5f9 | [
"MIT"
] | 26 | 2018-09-13T00:10:54.000Z | 2022-02-09T23:29:47.000Z | energypy/envs/base.py | ADGEfficiency/energy-py-3-dev | 9c5eb32718dec3f8195402d82c1d03d90fd1f5f9 | [
"MIT"
] | 19 | 2018-11-12T11:52:25.000Z | 2021-12-08T12:41:47.000Z |
class AbstractEnv:
def reset(self):
raise NotImplementedError()
def step(self):
raise NotImplementedError()
def setup_test(self):
raise NotImplementedError()
| 15.307692 | 35 | 0.643216 | 18 | 199 | 7.055556 | 0.555556 | 0.212598 | 0.661417 | 0.488189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276382 | 199 | 12 | 36 | 16.583333 | 0.881944 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
f2c95050d2d6cfa0362acdde1d57617596f22921 | 2,562 | py | Python | epytope/Data/pssms/smm/mat/A_31_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/A_31_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/A_31_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_31_01_10 = {0: {'A': -0.182, 'C': -0.104, 'E': 0.472, 'D': 0.324, 'G': 0.273, 'F': -0.017, 'I': -0.056, 'H': -0.06, 'K': -0.62, 'M': -0.335, 'L': -0.121, 'N': 0.147, 'Q': 0.027, 'P': 0.527, 'S': -0.219, 'R': -0.504, 'T': 0.07, 'W': 0.263, 'V': 0.062, 'Y': 0.056}, 1: {'A': 0.008, 'C': 0.228, 'E': 0.188, 'D': 0.495, 'G... | 2,562 | 2,562 | 0.393052 | 618 | 2,562 | 1.624595 | 0.300971 | 0.01992 | 0.00996 | 0.011952 | 0.055777 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372439 | 0.161593 | 2,562 | 1 | 2,562 | 2,562 | 0.094972 | 0 | 0 | 0 | 0 | 0 | 0.079204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 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 |
4bb4ab163735775ea8b1860cd375c29233d2a55c | 4,576 | py | Python | skygear/tests/test_action.py | IniZio/py-skygear | 88479678f91e678fd931c28295189bfea2148c79 | [
"Apache-2.0"
] | 8 | 2016-06-24T03:26:45.000Z | 2018-05-12T09:06:33.000Z | skygear/tests/test_action.py | IniZio/py-skygear | 88479678f91e678fd931c28295189bfea2148c79 | [
"Apache-2.0"
] | 183 | 2016-03-23T08:03:28.000Z | 2018-08-14T05:49:45.000Z | skygear/tests/test_action.py | IniZio/py-skygear | 88479678f91e678fd931c28295189bfea2148c79 | [
"Apache-2.0"
] | 24 | 2016-03-21T02:39:39.000Z | 2020-09-17T12:28:58.000Z | # Copyright 2015 Oursky Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 40.140351 | 74 | 0.527098 | 446 | 4,576 | 5.206278 | 0.233184 | 0.062016 | 0.131783 | 0.072351 | 0.725668 | 0.710164 | 0.710164 | 0.710164 | 0.701981 | 0.669251 | 0 | 0.023583 | 0.332823 | 4,576 | 113 | 75 | 40.495575 | 0.73698 | 0.119755 | 0 | 0.818182 | 0 | 0 | 0.222222 | 0.043847 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.113636 | false | 0 | 0.034091 | 0 | 0.159091 | 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 |
29a8a162f69f40ab9143ade5538090c6726a095e | 110 | py | Python | py/functions.py | tyffical/TwilioQuest | 79518006c5a08ebca386fa9087e522fab4aebd85 | [
"MIT"
] | null | null | null | py/functions.py | tyffical/TwilioQuest | 79518006c5a08ebca386fa9087e522fab4aebd85 | [
"MIT"
] | null | null | null | py/functions.py | tyffical/TwilioQuest | 79518006c5a08ebca386fa9087e522fab4aebd85 | [
"MIT"
] | null | null | null | def hail_friend(name):
print("Hail, " + name + "!")
def add_numbers(num1, num2):
return num1+num2 | 22 | 33 | 0.609091 | 15 | 110 | 4.333333 | 0.666667 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.227273 | 110 | 5 | 34 | 22 | 0.717647 | 0 | 0 | 0 | 0 | 0 | 0.065421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 0.75 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
29c7b9725e78dbaf5bb06d6ef1dd9de7a0789f90 | 21 | py | Python | models/__init__.py | firstoxe/TAPI-Event-monitor | 9408ca5b85eb936a091f4806785ce2e1f26b14d3 | [
"MIT"
] | null | null | null | models/__init__.py | firstoxe/TAPI-Event-monitor | 9408ca5b85eb936a091f4806785ce2e1f26b14d3 | [
"MIT"
] | null | null | null | models/__init__.py | firstoxe/TAPI-Event-monitor | 9408ca5b85eb936a091f4806785ce2e1f26b14d3 | [
"MIT"
] | null | null | null | from . import Enums
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 1 | 21 | 21 | 0.9375 | 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 |
29ce78f091c23d0a77caf2251c382cbaa7843162 | 11,943 | py | Python | geometry_utils/pytests/conftest.py | django-advance-utils/geometry-utils | b749cfdab67d8462cc5d02d566c2b526f7d0b418 | [
"MIT"
] | null | null | null | geometry_utils/pytests/conftest.py | django-advance-utils/geometry-utils | b749cfdab67d8462cc5d02d566c2b526f7d0b418 | [
"MIT"
] | null | null | null | geometry_utils/pytests/conftest.py | django-advance-utils/geometry-utils | b749cfdab67d8462cc5d02d566c2b526f7d0b418 | [
"MIT"
] | null | null | null | import math
import pytest
from geometry_utils.three_d.axis_aligned_box3 import AxisAlignedBox3
from geometry_utils.three_d.edge3 import Edge3
from geometry_utils.three_d.matrix4 import Matrix4
from geometry_utils.three_d.path3 import Path3
from geometry_utils.three_d.point3 import Point3
from geometry_utils.three_d.v... | 22.835564 | 96 | 0.580926 | 2,022 | 11,943 | 3.341741 | 0.037587 | 0.078141 | 0.079473 | 0.062158 | 0.852005 | 0.796803 | 0.770756 | 0.705195 | 0.606482 | 0.577771 | 0 | 0.144003 | 0.227832 | 11,943 | 522 | 97 | 22.87931 | 0.588701 | 0.007536 | 0 | 0.541139 | 0 | 0 | 0.041828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21519 | false | 0 | 0.047468 | 0.129747 | 0.477848 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
29db89b8dd43869b1328085b1dcd9cd55c4c5407 | 96 | py | Python | venv/lib/python3.8/site-packages/future/backports/email/headerregistry.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/backports/email/headerregistry.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/backports/email/headerregistry.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/64/f6/ef/2ca5c3d0d30b494e235e55477c6c8670b32b166f86415511bbf5c78fcf | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 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 |
29e7f3cbe71358af381d239f2ed5a600882cead9 | 6,552 | py | Python | tests/mono_digits_recognizer/test_recognizer.py | Alladin9393/pattern-recognition-client | 1b293eb8af41d46ecf256890743f748dad073ec6 | [
"MIT"
] | null | null | null | tests/mono_digits_recognizer/test_recognizer.py | Alladin9393/pattern-recognition-client | 1b293eb8af41d46ecf256890743f748dad073ec6 | [
"MIT"
] | 4 | 2020-10-22T11:44:18.000Z | 2020-12-06T18:23:21.000Z | tests/mono_digits_recognizer/test_recognizer.py | Alladin9393/statprly | 1b293eb8af41d46ecf256890743f748dad073ec6 | [
"MIT"
] | null | null | null | """
Provide tests for MonoDigitRecognizer.
"""
import json
import random
from os.path import dirname
import numpy
import pytest
from statprly import MonoDigitRecognizer
from statprly.constants import (
LEAST_LIKELY,
MOST_LIKELY,
)
from statprly.errors import ValidationDataError
from statprly.mono_digits_recog... | 31.2 | 86 | 0.708181 | 792 | 6,552 | 5.483586 | 0.125 | 0.083583 | 0.062169 | 0.059866 | 0.864379 | 0.841124 | 0.826848 | 0.809348 | 0.785632 | 0.785632 | 0 | 0.01049 | 0.214286 | 6,552 | 209 | 87 | 31.349282 | 0.833139 | 0.106685 | 0 | 0.649635 | 0 | 0 | 0.0632 | 0.0632 | 0 | 0 | 0 | 0 | 0.036496 | 1 | 0.051095 | false | 0 | 0.065693 | 0 | 0.116788 | 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 |
d9a92a3ccb431950b465ce2f95668e9d706b8f55 | 1,138 | py | Python | root/usr/local/bin/authorized_keys.py | daniel-noland/config | 443d43bb95bab1ec58495615e82d714251ec52df | [
"MIT"
] | 1 | 2016-12-08T15:45:14.000Z | 2016-12-08T15:45:14.000Z | root/usr/local/bin/authorized_keys.py | daniel-noland/config | 443d43bb95bab1ec58495615e82d714251ec52df | [
"MIT"
] | 5 | 2017-02-12T01:17:12.000Z | 2017-03-22T21:18:17.000Z | root/usr/local/bin/authorized_keys.py | daniel-noland/config | 443d43bb95bab1ec58495615e82d714251ec52df | [
"MIT"
] | null | null | null | #!/usr/bin/python
import sys
def check_user(userName: str) -> bool:
print(userName)
return userName == "dnoland"
def check_fingerprint(fingerprint: str) -> bool:
print(fingerprint)
return true
def print_answer() -> str:
with open("/tmp/sshtest.txt", "w") as f:
for arg in sys.argv:
... | 56.9 | 757 | 0.842707 | 73 | 1,138 | 13.082192 | 0.712329 | 0.016754 | 0.025131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112717 | 0.087873 | 1,138 | 19 | 758 | 59.894737 | 0.807322 | 0.01406 | 0 | 0 | 0 | 0.071429 | 0.686887 | 0.638715 | 0 | 1 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0 | 0.428571 | 0.428571 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.