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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f6e9421171a359bf85f7a7f0937fca2c37ebe125 | 4,841 | py | Python | src/main_menu.py | AnselmeChans/matches-game | 4301d32d1e5880cdd8f16127bba1b3fb77dbf8d8 | [
"MIT"
] | null | null | null | src/main_menu.py | AnselmeChans/matches-game | 4301d32d1e5880cdd8f16127bba1b3fb77dbf8d8 | [
"MIT"
] | null | null | null | src/main_menu.py | AnselmeChans/matches-game | 4301d32d1e5880cdd8f16127bba1b3fb77dbf8d8 | [
"MIT"
] | null | null | null | # coding: utf-8
#------ Import package------------
from allumette_game import *
#******************************************************************************
#******************************* MAIN MENU ************************************
#****************************************************************************... | 37.820313 | 111 | 0.578806 | 410 | 4,841 | 6.702439 | 0.265854 | 0.074236 | 0.069141 | 0.116448 | 0.787482 | 0.776565 | 0.776565 | 0.746725 | 0.746725 | 0.746725 | 0 | 0.005372 | 0.269366 | 4,841 | 127 | 112 | 38.11811 | 0.771558 | 0.261516 | 0 | 0.733333 | 0 | 0.013333 | 0.106599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026667 | false | 0.026667 | 0.013333 | 0 | 0.093333 | 0.12 | 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 |
101460b76d5b052f615a2d302be9c208b0759e19 | 107 | py | Python | packages/python/yap_kernel/__main__.py | ryandesign/yap | 9a50d1a3d985ec559ebfbb8e9f4d4c6b88b30214 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | 90 | 2015-03-09T01:24:15.000Z | 2022-02-24T13:56:25.000Z | packages/python/yap_kernel/__main__.py | ryandesign/yap | 9a50d1a3d985ec559ebfbb8e9f4d4c6b88b30214 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | 52 | 2016-02-14T08:59:37.000Z | 2022-03-14T16:39:35.000Z | packages/python/yap_kernel/__main__.py | ryandesign/yap | 9a50d1a3d985ec559ebfbb8e9f4d4c6b88b30214 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | 27 | 2015-11-19T02:45:49.000Z | 2021-11-25T19:47:58.000Z |
if __name__ == '__main__':
import yap_kernel.kernelapp
yap_kernel.kernelapp.launch_new_instance()
| 21.4 | 46 | 0.757009 | 13 | 107 | 5.307692 | 0.769231 | 0.26087 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 4 | 47 | 26.75 | 0.758242 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 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 |
63f638b2dffbbb1dc2d6c1f2c7ace35456117c73 | 89 | py | Python | test/a.py | xupingmao/minipy | 5bce2f238925eb92fe9ff7d935f59ef68daa257a | [
"MIT"
] | 52 | 2016-07-11T10:14:35.000Z | 2021-12-09T09:10:43.000Z | test/a.py | xupingmao/snake | c956f151ed1ebd2faeaf1565352b59ca5a8fa0b4 | [
"MIT"
] | 13 | 2016-07-24T13:50:37.000Z | 2019-03-02T06:56:18.000Z | test/a.py | xupingmao/snake | c956f151ed1ebd2faeaf1565352b59ca5a8fa0b4 | [
"MIT"
] | 9 | 2017-01-27T10:46:04.000Z | 2021-12-09T09:10:46.000Z | import re
import logging
import sys
print(dir(re))
print(dir(logging))
print(sys.path) | 9.888889 | 19 | 0.752809 | 15 | 89 | 4.466667 | 0.466667 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 9 | 20 | 9.888889 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d63feff30a4e943f9e6a052c48385684a85a5f08 | 62 | py | Python | src/cmd/__init__.py | arthurTemporim/trading-bots | 40c38aa9c5e717bf89dd6a43b6e54819044f976d | [
"MIT"
] | 1 | 2021-05-16T17:53:45.000Z | 2021-05-16T17:53:45.000Z | src/cmd/__init__.py | arthurTemporim/trading-bots | 40c38aa9c5e717bf89dd6a43b6e54819044f976d | [
"MIT"
] | 1 | 2021-05-16T19:46:45.000Z | 2021-05-16T19:46:45.000Z | src/cmd/__init__.py | arthurTemporim/trading-bots | 40c38aa9c5e717bf89dd6a43b6e54819044f976d | [
"MIT"
] | 1 | 2021-05-16T17:53:48.000Z | 2021-05-16T17:53:48.000Z | from . import root
def execute():
return root.execute()
| 10.333333 | 25 | 0.66129 | 8 | 62 | 5.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 62 | 5 | 26 | 12.4 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
d65962206c7e720fc4a618de48369d5c1e08a013 | 7,617 | py | Python | tests/integrations/postgresql/tests/test_uniques.py | matyasrichter/prisma-client-py | 1b320ba32ff8c70c7481396e2ecf5a3fcbf4b5c7 | [
"Apache-2.0"
] | null | null | null | tests/integrations/postgresql/tests/test_uniques.py | matyasrichter/prisma-client-py | 1b320ba32ff8c70c7481396e2ecf5a3fcbf4b5c7 | [
"Apache-2.0"
] | 8 | 2022-03-03T02:26:41.000Z | 2022-03-30T12:39:20.000Z | tests/integrations/postgresql/tests/test_uniques.py | matyasrichter/prisma-client-py | 1b320ba32ff8c70c7481396e2ecf5a3fcbf4b5c7 | [
"Apache-2.0"
] | null | null | null | import pytest
from prisma import Prisma
from prisma.enums import Role
@pytest.mark.asyncio
async def test_unique1(client: Prisma) -> None:
"""Standard combined unique constraint"""
model = await client.unique1.create(
data={
'name': 'Robert',
'surname': 'Craigie',
},
... | 24.257962 | 72 | 0.517395 | 750 | 7,617 | 5.197333 | 0.078667 | 0.12981 | 0.069779 | 0.06157 | 0.929964 | 0.876347 | 0.82119 | 0.763982 | 0.711647 | 0.621857 | 0 | 0.008398 | 0.359065 | 7,617 | 313 | 73 | 24.335463 | 0.790045 | 0 | 0 | 0.611321 | 0 | 0 | 0.109465 | 0.006489 | 0 | 0 | 0 | 0 | 0.173585 | 1 | 0 | false | 0 | 0.011321 | 0 | 0.011321 | 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 |
c3c633be4098789ab0d7433ae431d2b697eea715 | 4,387 | py | Python | tests/test_agenda_route.py | Lisafiluz/calendar | a88e34f7ab9dd25753ca041461e56d20a7f9fd1e | [
"Apache-2.0"
] | null | null | null | tests/test_agenda_route.py | Lisafiluz/calendar | a88e34f7ab9dd25753ca041461e56d20a7f9fd1e | [
"Apache-2.0"
] | null | null | null | tests/test_agenda_route.py | Lisafiluz/calendar | a88e34f7ab9dd25753ca041461e56d20a7f9fd1e | [
"Apache-2.0"
] | null | null | null | from datetime import date, datetime, timedelta
from fastapi import status
class TestAgenda:
"""In the test we are receiving event fixtures
as parameters so they will load into the database"""
AGENDA = "/agenda"
AGENDA_7_DAYS = "/agenda?days=7"
AGENDA_30_DAYS = "/agenda?days=30"
NO_EVENTS = b... | 41 | 77 | 0.667882 | 635 | 4,387 | 4.365354 | 0.151181 | 0.062771 | 0.136003 | 0.150794 | 0.809163 | 0.7886 | 0.761544 | 0.726912 | 0.700216 | 0.696609 | 0 | 0.021871 | 0.249601 | 4,387 | 106 | 78 | 41.386792 | 0.82017 | 0.030773 | 0 | 0.684783 | 0 | 0 | 0.092409 | 0.024045 | 0 | 0 | 0 | 0 | 0.391304 | 1 | 0.076087 | false | 0 | 0.021739 | 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 |
c3fca5d75aa7d309627945885d4a4eb184ba86b1 | 227 | py | Python | Code/test/testGPU.py | UltronMHTM/New_FPY | 18d6acabf8058e2a8d7990ef23f3cc61e69ca930 | [
"MIT"
] | null | null | null | Code/test/testGPU.py | UltronMHTM/New_FPY | 18d6acabf8058e2a8d7990ef23f3cc61e69ca930 | [
"MIT"
] | null | null | null | Code/test/testGPU.py | UltronMHTM/New_FPY | 18d6acabf8058e2a8d7990ef23f3cc61e69ca930 | [
"MIT"
] | null | null | null | from tensorflow.python.client import device_lib
import tensorflow as tf
# print(device_lib.list_local_devices())
# tf.test.is_gpu_available()
import tensorflow as tf
print(tf.__version__)
print(tf.test.is_gpu_available()) | 32.428571 | 48 | 0.801762 | 35 | 227 | 4.857143 | 0.514286 | 0.105882 | 0.211765 | 0.235294 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101322 | 227 | 7 | 49 | 32.428571 | 0.833333 | 0.286344 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
61c3d2abf7d711a027c4054601ca1834364a2416 | 6,411 | py | Python | examples/simulator.py | skadio/mabwiser | 1589b771d95e65540f0b42c7112e32e227adf7b2 | [
"Apache-2.0"
] | 1 | 2020-07-22T06:55:17.000Z | 2020-07-22T06:55:17.000Z | examples/simulator.py | skadio/mabwiser | 1589b771d95e65540f0b42c7112e32e227adf7b2 | [
"Apache-2.0"
] | null | null | null | examples/simulator.py | skadio/mabwiser | 1589b771d95e65540f0b42c7112e32e227adf7b2 | [
"Apache-2.0"
] | null | null | null | import random
from mabwiser.mab import MAB, LearningPolicy, NeighborhoodPolicy
from mabwiser.simulator import Simulator
from sklearn.preprocessing import StandardScaler
from time import time
size = 1000
decisions = [random.randint(0, 2) for _ in range(size)]
rewards = [random.randint(0, 1000) for _ in range(size)]
c... | 33.920635 | 116 | 0.627671 | 817 | 6,411 | 4.72093 | 0.128519 | 0.035001 | 0.058335 | 0.08167 | 0.802437 | 0.775732 | 0.774177 | 0.747213 | 0.728546 | 0.71999 | 0 | 0.024901 | 0.17314 | 6,411 | 188 | 117 | 34.101064 | 0.702698 | 0.06676 | 0 | 0.62931 | 0 | 0 | 0.111412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008621 | false | 0 | 0.043103 | 0 | 0.068966 | 0.318966 | 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 |
4ef47d60b87b4067dd09331de0db28da1feefbd0 | 162 | py | Python | passenger/admin.py | mzazakeith/uber-clone | 02f0be423681be5517182b278176feede1126b7a | [
"MIT"
] | 1 | 2022-01-13T19:31:56.000Z | 2022-01-13T19:31:56.000Z | passenger/admin.py | mzazakeith/uber-clone | 02f0be423681be5517182b278176feede1126b7a | [
"MIT"
] | 5 | 2020-02-12T01:28:33.000Z | 2021-06-10T20:44:23.000Z | passenger/admin.py | mzazakeith/uber-clone | 02f0be423681be5517182b278176feede1126b7a | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import PassengerProfile, pass_location
admin.site.register(PassengerProfile)
admin.site.register(pass_location)
| 18 | 51 | 0.839506 | 20 | 162 | 6.7 | 0.55 | 0.179104 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 162 | 8 | 52 | 20.25 | 0.911565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.75 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
f601b40f9014761f0c5ec9714ef7c815b38a794b | 1,175 | py | Python | Turtle/onClickAndOnRelease.py | PraghadeshManivannan/Python | 7a42269c5f8cfd9178f1ed39ffc2afea1dd6c5aa | [
"MIT"
] | null | null | null | Turtle/onClickAndOnRelease.py | PraghadeshManivannan/Python | 7a42269c5f8cfd9178f1ed39ffc2afea1dd6c5aa | [
"MIT"
] | null | null | null | Turtle/onClickAndOnRelease.py | PraghadeshManivannan/Python | 7a42269c5f8cfd9178f1ed39ffc2afea1dd6c5aa | [
"MIT"
] | null | null | null | import turtle
turtle = turtle.Turtle()
# turtle. onclick(fun, btn=1, add=None)
# fun – a function with two arguments which will be called with the coordinates of the clicked point on the canvas
# num – number of the mouse-button, defaults to 1 (left mouse button)
# add – True or False – if True, a new binding w... | 39.166667 | 115 | 0.720851 | 204 | 1,175 | 4.191176 | 0.318627 | 0.064327 | 0.051462 | 0.079532 | 0.818713 | 0.818713 | 0.818713 | 0.818713 | 0.818713 | 0.818713 | 0 | 0.023207 | 0.193191 | 1,175 | 29 | 116 | 40.517241 | 0.870253 | 0.715745 | 0 | 0.466667 | 0 | 0 | 0.010204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.2 | 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 |
f60f3dcfc18e343bc3b8636746a597af57177a37 | 171 | py | Python | utils/lib/rr_graph_xml/utils.py | bl0x/symbiflow-arch-defs | 5fa5e71526e443d589971f2649d8b189df982d72 | [
"ISC"
] | 183 | 2017-12-29T12:08:32.000Z | 2022-02-15T03:29:07.000Z | utils/lib/rr_graph_xml/utils.py | bl0x/symbiflow-arch-defs | 5fa5e71526e443d589971f2649d8b189df982d72 | [
"ISC"
] | 1,832 | 2017-12-29T14:47:27.000Z | 2022-02-18T06:30:43.000Z | utils/lib/rr_graph_xml/utils.py | bl0x/symbiflow-arch-defs | 5fa5e71526e443d589971f2649d8b189df982d72 | [
"ISC"
] | 96 | 2017-12-30T12:00:45.000Z | 2022-02-17T09:03:46.000Z | from __future__ import print_function
import lxml.etree as ET
def read_xml_file(rr_graph_file):
return ET.parse(rr_graph_file, ET.XMLParser(remove_blank_text=True))
| 24.428571 | 72 | 0.818713 | 29 | 171 | 4.37931 | 0.758621 | 0.110236 | 0.173228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 171 | 6 | 73 | 28.5 | 0.835526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0.25 | 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 |
f619bd1a47fb8a5581ac2269112ffa1c84b319c9 | 2,499 | py | Python | api/migrations/0001_initial.py | cebanauskes/task_manager | 8153db3d71870de325f1f01a2eb6ae874d1706ce | [
"MIT"
] | null | null | null | api/migrations/0001_initial.py | cebanauskes/task_manager | 8153db3d71870de325f1f01a2eb6ae874d1706ce | [
"MIT"
] | null | null | null | api/migrations/0001_initial.py | cebanauskes/task_manager | 8153db3d71870de325f1f01a2eb6ae874d1706ce | [
"MIT"
] | 1 | 2020-10-06T14:24:25.000Z | 2020-10-06T14:24:25.000Z | # Generated by Django 3.0.5 on 2020-10-04 22:54
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 49.98 | 179 | 0.607843 | 253 | 2,499 | 5.841897 | 0.355731 | 0.052097 | 0.077808 | 0.05954 | 0.730041 | 0.730041 | 0.730041 | 0.730041 | 0.730041 | 0.694181 | 0 | 0.015263 | 0.239696 | 2,499 | 49 | 180 | 51 | 0.762632 | 0.018007 | 0 | 0.619048 | 1 | 0 | 0.176591 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.166667 | 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 |
f67ecfcd9aef1b6f5cda17eb61bece91990bbc55 | 4,964 | py | Python | test_project/unit/staging/test_hash_columns.py | TimNapierVST/dbtvault-dev | 479645b229cbc28d5244164efb92e4b503395243 | [
"Apache-2.0"
] | null | null | null | test_project/unit/staging/test_hash_columns.py | TimNapierVST/dbtvault-dev | 479645b229cbc28d5244164efb92e4b503395243 | [
"Apache-2.0"
] | null | null | null | test_project/unit/staging/test_hash_columns.py | TimNapierVST/dbtvault-dev | 479645b229cbc28d5244164efb92e4b503395243 | [
"Apache-2.0"
] | null | null | null | import pytest
from unittest import TestCase
@pytest.mark.usefixtures('dbt_test_utils', 'clean_database')
class TestHashColumnsMacro(TestCase):
maxDiff = None
def test_hash_columns_correctly_generates_hashed_columns_for_single_columns(self):
var_dict = {
'columns': {
'BOOKI... | 51.708333 | 106 | 0.729654 | 652 | 4,964 | 5.076687 | 0.133436 | 0.05287 | 0.090634 | 0.116012 | 0.879154 | 0.869486 | 0.869486 | 0.869486 | 0.869486 | 0.839275 | 0 | 0 | 0.183723 | 4,964 | 95 | 107 | 52.252632 | 0.816881 | 0 | 0 | 0.689189 | 0 | 0 | 0.113618 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 1 | 0.108108 | false | 0 | 0.027027 | 0 | 0.162162 | 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 |
9cae0c66fc6043c47f2d21846d1fe0aadfffe454 | 130 | py | Python | toai/utils/__init__.py | KipperPipper/Library_test | bdc35c2f1a6f2deadb4d0b00e3f4d5c8a597efdf | [
"MIT"
] | 9 | 2019-07-31T16:57:26.000Z | 2019-11-27T22:24:44.000Z | toai/utils/__init__.py | KipperPipper/Library_test | bdc35c2f1a6f2deadb4d0b00e3f4d5c8a597efdf | [
"MIT"
] | 8 | 2019-10-14T15:48:09.000Z | 2019-11-24T10:24:13.000Z | toai/utils/__init__.py | tribeofai/toai | 76ce097ee6785586e33b63acdfe06467fef4c36c | [
"MIT"
] | 5 | 2019-07-31T16:57:14.000Z | 2019-11-22T13:00:33.000Z | # pylama:ignore=W0611
from .download_file import download_file
from .load_file import load_file
from .save_file import save_file
| 21.666667 | 40 | 0.838462 | 21 | 130 | 4.904762 | 0.428571 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.115385 | 130 | 5 | 41 | 26 | 0.86087 | 0.146154 | 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 |
9cbc7133c835a616106731dcc19221916282996c | 27 | py | Python | test-data/python/editor/quickdoc/supported.py | kiteco/intellij-plugin | dc1361bb3da33f4cc2e2b7ea8aeb9fa4c3b6e0ab | [
"BSD-3-Clause"
] | 3 | 2021-11-16T17:01:23.000Z | 2021-12-03T21:18:37.000Z | test-data/python/editor/quickdoc/supported.py | kiteco/intellij-plugin | dc1361bb3da33f4cc2e2b7ea8aeb9fa4c3b6e0ab | [
"BSD-3-Clause"
] | null | null | null | test-data/python/editor/quickdoc/supported.py | kiteco/intellij-plugin | dc1361bb3da33f4cc2e2b7ea8aeb9fa4c3b6e0ab | [
"BSD-3-Clause"
] | 2 | 2022-01-18T20:41:13.000Z | 2022-02-23T08:17:04.000Z | print("Supported content!") | 27 | 27 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 27 | 1 | 27 | 27 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9cc5d100c47598fe3fff576b3987f21294f2ef91 | 39 | py | Python | __init__.py | mmheydari97/automata-cyk | 13723da694c10bfa943aa7d0602f17e9147f5256 | [
"Apache-2.0"
] | null | null | null | __init__.py | mmheydari97/automata-cyk | 13723da694c10bfa943aa7d0602f17e9147f5256 | [
"Apache-2.0"
] | 1 | 2020-12-20T12:43:46.000Z | 2020-12-20T12:43:46.000Z | __init__.py | mmheydari97/automata-cyk | 13723da694c10bfa943aa7d0602f17e9147f5256 | [
"Apache-2.0"
] | 1 | 2020-03-04T04:49:37.000Z | 2020-03-04T04:49:37.000Z | # TODO implement chumsky normalization
| 19.5 | 38 | 0.846154 | 4 | 39 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.970588 | 0.923077 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1446b0d5dab5a559dcaf47d013b0cff4a9c1e5d7 | 84 | py | Python | faker/providers/en_us/__init__.py | bdclauser/Faker | b676668214f5f4cf2849eea16d50c835ffba5be9 | [
"MIT"
] | 1 | 2021-01-21T03:44:59.000Z | 2021-01-21T03:44:59.000Z | faker/providers/en_us/__init__.py | bdclauser/Faker | b676668214f5f4cf2849eea16d50c835ffba5be9 | [
"MIT"
] | null | null | null | faker/providers/en_us/__init__.py | bdclauser/Faker | b676668214f5f4cf2849eea16d50c835ffba5be9 | [
"MIT"
] | null | null | null | from ... import Provider as PythonProvider
class Provider(PythonProvider):
pass | 21 | 42 | 0.77381 | 9 | 84 | 7.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 84 | 4 | 43 | 21 | 0.915493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
14988b1b0824c6634c9dca82fe8b13d98868c326 | 26 | py | Python | src/ahsnap/api/__init__.py | cackharot/ahsnap | 1b09fd779a833086fb9035cdf30a54e49d6ac178 | [
"MIT"
] | null | null | null | src/ahsnap/api/__init__.py | cackharot/ahsnap | 1b09fd779a833086fb9035cdf30a54e49d6ac178 | [
"MIT"
] | 2 | 2021-03-31T18:31:04.000Z | 2021-12-13T19:43:55.000Z | src/ahsnap/api/__init__.py | cackharot/ahsnap | 1b09fd779a833086fb9035cdf30a54e49d6ac178 | [
"MIT"
] | null | null | null | from .snap import SnapApi
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
21136de9c16deb3399e8176479803269e3db2c8c | 2,043 | py | Python | tests/test_utils.py | NaturalHistoryMuseum/ckanext-ckanpackager | 423a65a3eb3cb57cc6d621044f34c42b2c96594f | [
"MIT"
] | 4 | 2015-11-11T02:15:48.000Z | 2021-01-27T02:49:13.000Z | tests/test_utils.py | NaturalHistoryMuseum/ckanext-ckanpackager | 423a65a3eb3cb57cc6d621044f34c42b2c96594f | [
"MIT"
] | 6 | 2018-05-31T15:46:48.000Z | 2021-03-09T00:17:05.000Z | tests/test_utils.py | NaturalHistoryMuseum/ckanext-ckanpackager | 423a65a3eb3cb57cc6d621044f34c42b2c96594f | [
"MIT"
] | 3 | 2018-08-03T13:35:35.000Z | 2020-04-12T23:22:04.000Z | from unittest.mock import patch, MagicMock
from ckanext.ckanpackager.lib.utils import is_downloadable_resource
class TestIsDownloadableResource(object):
def test_datastore_active(self):
resource = dict(datastore_active=True)
toolkit = MagicMock(get_action=MagicMock(return_value=MagicMock(return_... | 47.511628 | 96 | 0.727362 | 231 | 2,043 | 6.220779 | 0.177489 | 0.125261 | 0.167015 | 0.131524 | 0.871955 | 0.85247 | 0.753653 | 0.753653 | 0.729993 | 0.729993 | 0 | 0 | 0.167401 | 2,043 | 42 | 97 | 48.642857 | 0.844797 | 0 | 0 | 0.545455 | 0 | 0 | 0.136564 | 0.111601 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.181818 | false | 0 | 0.060606 | 0 | 0.272727 | 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 |
2152f451932ed529738fd37eb0b05907b55ef223 | 171 | py | Python | baconian/core/__init__.py | yitongx/baconian-public | a67e23c6bc6bfe7019ec9532a3d18f06aed6bbbb | [
"MIT"
] | 69 | 2020-01-31T17:44:43.000Z | 2022-03-28T13:09:11.000Z | baconian/core/__init__.py | yitongx/baconian-project | e84508da60877e387344133a11039edaac35c5bf | [
"MIT"
] | 5 | 2019-04-28T07:24:26.000Z | 2020-01-29T01:49:51.000Z | baconian/core/__init__.py | yitongx/baconian-project | e84508da60877e387344133a11039edaac35c5bf | [
"MIT"
] | 6 | 2019-05-04T02:18:11.000Z | 2019-12-04T22:05:52.000Z | # from mobrl.core.config import Config
# from mobrl.core.pipeline import Pipeline
# from mobrl.core.global_config import GlobalConfig
# from mobrl.core.basic import Basic
| 34.2 | 51 | 0.812865 | 25 | 171 | 5.52 | 0.36 | 0.26087 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116959 | 171 | 4 | 52 | 42.75 | 0.913907 | 0.947368 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0d26487a1a2f8b5ccf9b6904033391089951c355 | 22 | py | Python | homerun/__init__.py | TooFiveFive/homerun | faead9de833472c429bdbc182cca5ec864fc6f54 | [
"MIT"
] | 6 | 2018-12-31T12:41:59.000Z | 2021-11-20T19:58:58.000Z | homerun/__init__.py | TooFiveFive/homerun | faead9de833472c429bdbc182cca5ec864fc6f54 | [
"MIT"
] | 2 | 2019-01-06T01:32:49.000Z | 2019-01-06T05:13:27.000Z | homerun/__init__.py | TooFiveFive/homerun | faead9de833472c429bdbc182cca5ec864fc6f54 | [
"MIT"
] | 1 | 2019-01-05T23:58:00.000Z | 2019-01-05T23:58:00.000Z | from .homerun import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 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 |
b4e0b78c7666643aca5e32d4a7506bb064d848a5 | 71 | py | Python | polls/middleware.py | miladgharibi/pollarita | b5d8154652d2b26a28f05b1745cd13e383cec40e | [
"MIT"
] | 5 | 2022-02-04T19:23:26.000Z | 2022-02-26T10:15:25.000Z | polls/middleware.py | miladgharibi/pollarita | b5d8154652d2b26a28f05b1745cd13e383cec40e | [
"MIT"
] | null | null | null | polls/middleware.py | miladgharibi/pollarita | b5d8154652d2b26a28f05b1745cd13e383cec40e | [
"MIT"
] | null | null | null | from django.urls import reverse
from django.shortcuts import redirect
| 17.75 | 37 | 0.84507 | 10 | 71 | 6 | 0.7 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 71 | 3 | 38 | 23.666667 | 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 | 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 |
b4f2d303508eed17310bf385b6c4fd35d56fcf1d | 44,668 | py | Python | auto_process_ngs/test/icell8/test_atac.py | fls-bioinformatics-core/auto_process_ngs | 1f07a08e14f118e6a61d3f37130515efc6049dd7 | [
"AFL-3.0"
] | 5 | 2017-01-31T21:37:09.000Z | 2022-03-17T19:26:29.000Z | auto_process_ngs/test/icell8/test_atac.py | fls-bioinformatics-core/auto_process_ngs | 1f07a08e14f118e6a61d3f37130515efc6049dd7 | [
"AFL-3.0"
] | 294 | 2015-08-14T09:00:30.000Z | 2022-03-18T10:17:05.000Z | auto_process_ngs/test/icell8/test_atac.py | fls-bioinformatics-core/auto_process_ngs | 1f07a08e14f118e6a61d3f37130515efc6049dd7 | [
"AFL-3.0"
] | 7 | 2017-11-23T07:52:21.000Z | 2020-07-15T10:12:05.000Z | #######################################################################
# Tests for icell8.atac.py module
#######################################################################
import unittest
import os
import tempfile
import shutil
import gzip
from auto_process_ngs.icell8.atac import reverse_complement
from auto_pro... | 34.761089 | 287 | 0.623757 | 5,242 | 44,668 | 5.217856 | 0.074018 | 0.073194 | 0.13308 | 0.139734 | 0.894048 | 0.879351 | 0.83588 | 0.820452 | 0.808862 | 0.806815 | 0 | 0.185627 | 0.252373 | 44,668 | 1,284 | 288 | 34.788162 | 0.633418 | 0.04023 | 0 | 0.574815 | 0 | 0.099259 | 0.380202 | 0.238985 | 0 | 0 | 0 | 0 | 0.085926 | 1 | 0.023704 | false | 0 | 0.014815 | 0 | 0.045926 | 0.001481 | 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 |
b4fcd125fb4f57c01ff217579141cc05384bfbbc | 29 | py | Python | whocoza/__init__.py | kblum/whocoza-py | f5db1c2981611f25d47c8b340e1ccb4da16fd0be | [
"MIT"
] | 22 | 2017-01-13T19:57:42.000Z | 2022-03-03T11:10:27.000Z | whocoza/__init__.py | kblum/whocoza-py | f5db1c2981611f25d47c8b340e1ccb4da16fd0be | [
"MIT"
] | 38 | 2016-04-03T06:32:59.000Z | 2016-04-29T00:21:08.000Z | whocoza/__init__.py | kblum/whocoza-py | f5db1c2981611f25d47c8b340e1ccb4da16fd0be | [
"MIT"
] | 15 | 2017-02-17T05:55:51.000Z | 2022-03-03T11:10:29.000Z | from .scraper import Scraper
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
2ea68d81090512df227d45b9e805e895b4689fd2 | 1,156 | py | Python | example.py | tylermenezes/ESP8266Blaster | a63bd7d189e95f10302645651cee1b4773e9d5f7 | [
"Artistic-2.0"
] | 3 | 2017-01-15T22:30:29.000Z | 2021-04-21T00:27:06.000Z | example.py | tylermenezes/ESP8266Blaster | a63bd7d189e95f10302645651cee1b4773e9d5f7 | [
"Artistic-2.0"
] | null | null | null | example.py | tylermenezes/ESP8266Blaster | a63bd7d189e95f10302645651cee1b4773e9d5f7 | [
"Artistic-2.0"
] | null | null | null | #!/usr/bin/env python2
import struct
import socket
# Turn On
# command = (264, 792, 264, 1848, 264, 792, 264, 792, 264, 792, 264, 1848, 264, 792, 264, 792, 264, 792, 264, 792, 264, 1848, 264, 1848, 264, 1848, 264, 792, 264, 792, 264, 43560, 264, 792, 264, 1848, 264, 792, 264, 792, 264, 792, 264, 792, 264, 1848, 264, 1... | 50.26087 | 348 | 0.647059 | 201 | 1,156 | 3.711443 | 0.248756 | 0.289544 | 0.434316 | 0.337802 | 0.643432 | 0.643432 | 0.576408 | 0.576408 | 0.576408 | 0.576408 | 0 | 0.453608 | 0.1609 | 1,156 | 22 | 349 | 52.545455 | 0.315464 | 0.333045 | 0 | 0 | 0 | 0 | 0.026076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.153846 | null | null | 0.076923 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c2383c3afa5da84fe6c977e51df7333cc11b765 | 32 | py | Python | my_library/metrics/__init__.py | OnlpLab/Event-Based-Modality | 6e6932bf8d8e8f790f3baff0b89c38eb376854b8 | [
"Apache-2.0"
] | null | null | null | my_library/metrics/__init__.py | OnlpLab/Event-Based-Modality | 6e6932bf8d8e8f790f3baff0b89c38eb376854b8 | [
"Apache-2.0"
] | 1 | 2022-03-27T13:38:35.000Z | 2022-03-28T16:20:45.000Z | my_library/metrics/__init__.py | OnlpLab/Modality | 6e6932bf8d8e8f790f3baff0b89c38eb376854b8 | [
"Apache-2.0"
] | null | null | null | from my_library.metrics import * | 32 | 32 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 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 |
25853287bf3f54f20ac34e5c6eaa99f6b84bca81 | 1,945 | py | Python | tests/test_models/test_roi_extractor.py | kiyoon/Video-Swin-Transformer | 7a0d40ced8fb52c064d1cd11ffa8b0c3bbb77607 | [
"Apache-2.0"
] | 648 | 2021-06-24T19:33:09.000Z | 2022-03-31T06:27:24.000Z | tests/test_models/test_roi_extractor.py | jayleicn/mmaction2-1 | 0a6fde1abb8403f1f68b568f5b4694c6f828e27e | [
"Apache-2.0"
] | 53 | 2021-07-01T03:07:52.000Z | 2022-03-27T16:15:29.000Z | tests/test_models/test_roi_extractor.py | jayleicn/mmaction2-1 | 0a6fde1abb8403f1f68b568f5b4694c6f828e27e | [
"Apache-2.0"
] | 117 | 2021-06-25T01:22:32.000Z | 2022-03-31T08:33:55.000Z | import torch
from mmaction.models import SingleRoIExtractor3D
def test_single_roi_extractor3d():
roi_extractor = SingleRoIExtractor3D(
roi_layer_type='RoIAlign',
featmap_stride=16,
output_size=8,
sampling_ratio=0,
pool_mode='avg',
aligned=True,
with_tempora... | 33.534483 | 78 | 0.576864 | 287 | 1,945 | 3.749129 | 0.1777 | 0.055762 | 0.092937 | 0.033457 | 0.869888 | 0.864312 | 0.864312 | 0.807621 | 0.787175 | 0.787175 | 0 | 0.118182 | 0.264781 | 1,945 | 57 | 79 | 34.122807 | 0.634266 | 0 | 0 | 0.66 | 0 | 0 | 0.016967 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.02 | false | 0 | 0.04 | 0 | 0.06 | 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 |
258a74d0641b008c5676269c6937e7dec9634396 | 39 | py | Python | src/rubrix/metrics/text_classification/__init__.py | davidkartchner/rubrix | 33faa006d7498a806a9fd594036d4a42c7d70da2 | [
"Apache-2.0"
] | 888 | 2021-03-26T20:39:21.000Z | 2022-03-31T18:09:37.000Z | src/rubrix/metrics/text_classification/__init__.py | davidkartchner/rubrix | 33faa006d7498a806a9fd594036d4a42c7d70da2 | [
"Apache-2.0"
] | 805 | 2021-04-29T09:24:44.000Z | 2022-03-31T18:29:34.000Z | src/rubrix/metrics/text_classification/__init__.py | davidkartchner/rubrix | 33faa006d7498a806a9fd594036d4a42c7d70da2 | [
"Apache-2.0"
] | 72 | 2021-04-30T08:53:36.000Z | 2022-03-31T10:48:33.000Z | from .metrics import f1, f1_multilabel
| 19.5 | 38 | 0.820513 | 6 | 39 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.128205 | 39 | 1 | 39 | 39 | 0.852941 | 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 |
25e32064e441f4215d674716140e2cc58c1399c7 | 35 | py | Python | test_pytrain/test_DecisionTreeID3/__init__.py | pytrain/pytrain-shallow | c873a6f11f1dd940da12e7c9a3c961507d064d9a | [
"MIT"
] | 20 | 2016-09-03T10:56:06.000Z | 2020-08-21T01:43:47.000Z | test_pytrain/test_DecisionTreeID3/__init__.py | pytrain/pytrain | c873a6f11f1dd940da12e7c9a3c961507d064d9a | [
"MIT"
] | 8 | 2016-11-14T12:33:38.000Z | 2017-07-14T15:43:53.000Z | test_pytrain/test_DecisionTreeID3/__init__.py | pytrain/pytrain | c873a6f11f1dd940da12e7c9a3c961507d064d9a | [
"MIT"
] | 7 | 2017-02-09T16:50:37.000Z | 2022-01-02T01:18:56.000Z | from test_DecisionTreeID3 import *
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 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 |
d3042eeb027599f070b5ae8b4d3cba8f2a40f2ff | 59 | py | Python | sadbot/bot/utils/xl_to_db.py | sadellie/sadBot | 5964470115fb077a77452e1716de06bcbac87544 | [
"Apache-2.0"
] | 1 | 2021-07-20T21:48:50.000Z | 2021-07-20T21:48:50.000Z | sadbot/bot/utils/xl_to_db.py | sadellie/sadBot | 5964470115fb077a77452e1716de06bcbac87544 | [
"Apache-2.0"
] | null | null | null | sadbot/bot/utils/xl_to_db.py | sadellie/sadBot | 5964470115fb077a77452e1716de06bcbac87544 | [
"Apache-2.0"
] | null | null | null | import xlrd
from xlrd.sheet import Sheet
import sqlite3
| 8.428571 | 28 | 0.79661 | 9 | 59 | 5.222222 | 0.555556 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.186441 | 59 | 6 | 29 | 9.833333 | 0.958333 | 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 |
d3379dbc8477b2079f38804e6fedb4dd1b1dec5c | 8,282 | py | Python | finfast/analyze/metrics.py | snugfox/finfast | ccfcc67deae24a29d3dfcd5ffa51988d13791b07 | [
"MIT"
] | null | null | null | finfast/analyze/metrics.py | snugfox/finfast | ccfcc67deae24a29d3dfcd5ffa51988d13791b07 | [
"MIT"
] | null | null | null | finfast/analyze/metrics.py | snugfox/finfast | ccfcc67deae24a29d3dfcd5ffa51988d13791b07 | [
"MIT"
] | null | null | null | import numpy as np
from . import metrics_kernels as kernels
from typing import Optional
def __is_floating_point(input: np.ndarray) -> bool:
"""Returns True if the data type of input is a floating point data type
Args:
input (np.ndarray): Input array
Returns:
bool: Whether the data type... | 36.008696 | 80 | 0.643444 | 1,382 | 8,282 | 3.799566 | 0.08466 | 0.123405 | 0.034279 | 0.111979 | 0.797943 | 0.785374 | 0.752047 | 0.741573 | 0.741573 | 0.741573 | 0 | 0.002796 | 0.265878 | 8,282 | 229 | 81 | 36.165939 | 0.860855 | 0.636803 | 0 | 0.181818 | 0 | 0 | 0.074669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.218182 | false | 0 | 0.054545 | 0 | 0.472727 | 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 |
e223050ee8bde15f36a3c338c43f668bf18adb7e | 23 | py | Python | src/srtools/__init__.py | cpthackray/source-receptor-tools | fe05b41893182c394fa0bfc26ff5f5e46151c928 | [
"MIT"
] | null | null | null | src/srtools/__init__.py | cpthackray/source-receptor-tools | fe05b41893182c394fa0bfc26ff5f5e46151c928 | [
"MIT"
] | null | null | null | src/srtools/__init__.py | cpthackray/source-receptor-tools | fe05b41893182c394fa0bfc26ff5f5e46151c928 | [
"MIT"
] | null | null | null | from .srtools import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 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 |
e256fbb4afaa859afc1e9ab16a3615b6c5c41f1d | 6,879 | py | Python | app/api/tests/test_main.py | kdbalabanov/fastapi-crypto-market-data-rest-api | 04f96785b479ee4ddef4a6b706bd61edfb040830 | [
"MIT"
] | null | null | null | app/api/tests/test_main.py | kdbalabanov/fastapi-crypto-market-data-rest-api | 04f96785b479ee4ddef4a6b706bd61edfb040830 | [
"MIT"
] | null | null | null | app/api/tests/test_main.py | kdbalabanov/fastapi-crypto-market-data-rest-api | 04f96785b479ee4ddef4a6b706bd61edfb040830 | [
"MIT"
] | null | null | null | from datetime import date
from unittest import mock
import pytest
from fastapi import status
from fastapi.testclient import TestClient
from app.api.config import API_TICKERS_ENDPOINT, API_HISTORICAL_ENDPOINT, API_CLEAR_ENDPOINT
from app.api.db.models import Ticker, HistoricalData
from app.api.main import app
@pytes... | 38.216667 | 117 | 0.709405 | 931 | 6,879 | 4.934479 | 0.104189 | 0.082281 | 0.033087 | 0.058772 | 0.874619 | 0.85677 | 0.84828 | 0.84828 | 0.794079 | 0.794079 | 0 | 0.042328 | 0.175752 | 6,879 | 179 | 118 | 38.430168 | 0.767901 | 0 | 0 | 0.675862 | 0 | 0 | 0.160634 | 0.109027 | 0 | 0 | 0 | 0 | 0.068966 | 1 | 0.075862 | false | 0 | 0.055172 | 0.006897 | 0.137931 | 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 |
e262ac793b50ee2d515e341226805202d7c7fc5f | 96 | py | Python | src/updatereqspec/config.py | RobbieClarken/update-req-spec | 8580afb55694130b2b58325a266115b29f47d9d7 | [
"MIT"
] | null | null | null | src/updatereqspec/config.py | RobbieClarken/update-req-spec | 8580afb55694130b2b58325a266115b29f47d9d7 | [
"MIT"
] | null | null | null | src/updatereqspec/config.py | RobbieClarken/update-req-spec | 8580afb55694130b2b58325a266115b29f47d9d7 | [
"MIT"
] | null | null | null | class Config:
def __init__(self, *, cli_options={}):
self.cli_options = cli_options
| 24 | 42 | 0.65625 | 12 | 96 | 4.666667 | 0.583333 | 0.535714 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 96 | 3 | 43 | 32 | 0.746667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e26db4a672aad30804b4d1d5d542d4428f31119d | 13,702 | py | Python | sdk/python/pulumi_azure/keyvault/key_vault.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/keyvault/key_vault.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/keyvault/key_vault.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class KeyVau... | 58.806867 | 345 | 0.688148 | 1,772 | 13,702 | 5.109481 | 0.129233 | 0.059532 | 0.044179 | 0.01723 | 0.786393 | 0.770709 | 0.760437 | 0.747515 | 0.728297 | 0.722664 | 0 | 0.000658 | 0.223252 | 13,702 | 232 | 346 | 59.060345 | 0.850042 | 0.472705 | 0 | 0.024691 | 1 | 0 | 0.159239 | 0.047704 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049383 | false | 0.012346 | 0.074074 | 0.024691 | 0.333333 | 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 |
e272d7ec1bb89f48178c5ade786caaf058a73ae6 | 107 | py | Python | src/fake_news_detector/core/nlp/word2vec.py | FNClassificator/core | 4472a64895bd6ff32d98f5549fd7424f63dbe500 | [
"Apache-2.0"
] | 4 | 2018-10-04T13:10:40.000Z | 2020-10-02T09:12:50.000Z | src/fake_news_detector/core/nlp/word2vec.py | FNClassificator/core | 4472a64895bd6ff32d98f5549fd7424f63dbe500 | [
"Apache-2.0"
] | 15 | 2018-12-14T20:08:28.000Z | 2019-01-07T22:52:43.000Z | src/fake_news_detector/core/nlp/word2vec.py | FNClassificator/FNC | 163cabc245a645e4b39fc328e988cfc765082a22 | [
"Apache-2.0"
] | null | null | null | from gensim.models import word2vec
def get_word2vec(sentences):
model = Word2Vec(sentences, size=200) | 26.75 | 42 | 0.775701 | 14 | 107 | 5.857143 | 0.785714 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.140187 | 107 | 4 | 42 | 26.75 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e2a2b5ed34f161a2ba004f823996ab97222c0d2a | 86 | py | Python | python/Guazina/ex108/__init__.py | FaunoGuazina/X_very_old_algorithm_exercises | c9b9ec78e8b82f2e23ef85ba9a5e7fd6e0deaea6 | [
"MIT"
] | null | null | null | python/Guazina/ex108/__init__.py | FaunoGuazina/X_very_old_algorithm_exercises | c9b9ec78e8b82f2e23ef85ba9a5e7fd6e0deaea6 | [
"MIT"
] | null | null | null | python/Guazina/ex108/__init__.py | FaunoGuazina/X_very_old_algorithm_exercises | c9b9ec78e8b82f2e23ef85ba9a5e7fd6e0deaea6 | [
"MIT"
] | null | null | null | def formaREAL(x):
return f'R${x:.2f}'
def formaEURO(x):
return f'€{x:.2f}'
| 10.75 | 23 | 0.546512 | 16 | 86 | 3 | 0.5625 | 0.291667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.22093 | 86 | 7 | 24 | 12.285714 | 0.671642 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
e2b54be0fe66a8100c0db908588eda01110d45fe | 74 | py | Python | src/logger/logger.py | boydfd/mAP | a7813020232931e518f2e5677a81deff1ff89b6a | [
"Apache-2.0"
] | null | null | null | src/logger/logger.py | boydfd/mAP | a7813020232931e518f2e5677a81deff1ff89b6a | [
"Apache-2.0"
] | null | null | null | src/logger/logger.py | boydfd/mAP | a7813020232931e518f2e5677a81deff1ff89b6a | [
"Apache-2.0"
] | null | null | null | def log(string):
print(string)
def debug(string):
print(string)
| 10.571429 | 18 | 0.648649 | 10 | 74 | 4.8 | 0.5 | 0.458333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 74 | 6 | 19 | 12.333333 | 0.827586 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2cb805ed8223873f95d32eb69531d489ed511e1a | 151 | py | Python | shop/admin.py | scorcism/Product-Price-Comparer | 8b4cdf3974f629155ed52e7f5e9977051ad41482 | [
"MIT"
] | 5 | 2021-07-19T14:41:52.000Z | 2022-03-26T06:51:49.000Z | shop/admin.py | scorcism/Product-Price-Comparer | 8b4cdf3974f629155ed52e7f5e9977051ad41482 | [
"MIT"
] | null | null | null | shop/admin.py | scorcism/Product-Price-Comparer | 8b4cdf3974f629155ed52e7f5e9977051ad41482 | [
"MIT"
] | 1 | 2021-07-19T15:42:00.000Z | 2021-07-19T15:42:00.000Z | from django.contrib import admin
from . models import Product
from . models import Contact
admin.site.register(Product)
admin.site.register(Contact)
| 18.875 | 32 | 0.807947 | 21 | 151 | 5.809524 | 0.47619 | 0.163934 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119205 | 151 | 7 | 33 | 21.571429 | 0.917293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
1a5145b57a2c50b8cd5caf6dd3588ca0eab7b127 | 81 | py | Python | PaddleCV/tracking/pytracking/tracker/siammask/__init__.py | kgresearch/models | 09565ab4e12e6e015c8d2c901d455176099773ed | [
"Apache-2.0"
] | 2 | 2021-05-15T07:35:04.000Z | 2021-07-15T07:01:13.000Z | PaddleCV/tracking/pytracking/tracker/siammask/__init__.py | kgresearch/models | 09565ab4e12e6e015c8d2c901d455176099773ed | [
"Apache-2.0"
] | null | null | null | PaddleCV/tracking/pytracking/tracker/siammask/__init__.py | kgresearch/models | 09565ab4e12e6e015c8d2c901d455176099773ed | [
"Apache-2.0"
] | 4 | 2021-08-11T08:25:10.000Z | 2021-10-16T07:41:59.000Z | from .siammask import SiamMask
def get_tracker_class():
return SiamMask
| 16.2 | 31 | 0.740741 | 10 | 81 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209877 | 81 | 4 | 32 | 20.25 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
1a78ac63db18330b0363de39a26b0bf3bb2e6b83 | 1,794 | py | Python | itchat/config.py | HaojieYuan/ItChat | 2cdecb8d23573a80211243830741c4c8aac49986 | [
"MIT"
] | 97 | 2021-03-03T10:24:02.000Z | 2022-02-22T07:53:37.000Z | itchat/config.py | HaojieYuan/ItChat | 2cdecb8d23573a80211243830741c4c8aac49986 | [
"MIT"
] | 1 | 2022-01-01T16:10:10.000Z | 2022-01-18T08:19:33.000Z | itchat/config.py | HaojieYuan/ItChat | 2cdecb8d23573a80211243830741c4c8aac49986 | [
"MIT"
] | 31 | 2021-04-01T14:19:21.000Z | 2022-01-07T02:45:51.000Z | import os, platform
VERSION = '1.4.0'
BASE_URL = 'https://login.weixin.qq.com'
OS = platform.system() # Windows, Linux, Darwin
DIR = os.getcwd()
DEFAULT_QR = 'QR.png'
TIMEOUT = (10, 60)
USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.... | 138 | 1,434 | 0.914716 | 107 | 1,794 | 15.242991 | 0.859813 | 0.012262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153582 | 0.027313 | 1,794 | 13 | 1,434 | 138 | 0.781089 | 0.012263 | 0 | 0 | 0 | 0.2 | 0.889328 | 0.79729 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46febcad79c6d3955ebe6eb0ec569c7e67e416d4 | 251 | py | Python | docx_microreader/utils/functions.py | DudaEugen/docx_microreader | cc524ff5233b0c074786f2a5c378ea542607359a | [
"MIT"
] | null | null | null | docx_microreader/utils/functions.py | DudaEugen/docx_microreader | cc524ff5233b0c074786f2a5c378ea542607359a | [
"MIT"
] | null | null | null | docx_microreader/utils/functions.py | DudaEugen/docx_microreader | cc524ff5233b0c074786f2a5c378ea542607359a | [
"MIT"
] | null | null | null | from typing import Callable
def execute_if_not_none(argument, function: Callable, default=None):
"""
:return: function(argument) if argument is not None else default
"""
return function(argument) if argument is not None else default
| 27.888889 | 68 | 0.737052 | 34 | 251 | 5.352941 | 0.441176 | 0.115385 | 0.241758 | 0.263736 | 0.571429 | 0.571429 | 0.571429 | 0.571429 | 0.571429 | 0.571429 | 0 | 0 | 0.187251 | 251 | 8 | 69 | 31.375 | 0.892157 | 0.25498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
204d96dd1142be28c34d1b7e8eff3af54f623e34 | 216 | py | Python | Exercise03/3-10.py | ywyz/IntroducingToProgrammingUsingPython | 614d59eacb7e37aece871a00f7d1518f7de88708 | [
"Apache-2.0"
] | null | null | null | Exercise03/3-10.py | ywyz/IntroducingToProgrammingUsingPython | 614d59eacb7e37aece871a00f7d1518f7de88708 | [
"Apache-2.0"
] | null | null | null | Exercise03/3-10.py | ywyz/IntroducingToProgrammingUsingPython | 614d59eacb7e37aece871a00f7d1518f7de88708 | [
"Apache-2.0"
] | null | null | null | '''
@Date: 2019-08-20 09:16:33
@Author: ywyz
@LastModifiedBy: ywyz
@Github: https://github.com/ywyz
@LastEditors: ywyz
@LastEditTime: 2019-08-20 09:16:33
'''
print("\u03b1\u03b2\u03b3\u03b4\u03b5\u03b6\u03b7\u03b8")
| 21.6 | 57 | 0.722222 | 34 | 216 | 4.588235 | 0.705882 | 0.076923 | 0.102564 | 0.128205 | 0.179487 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0.261307 | 0.078704 | 216 | 9 | 58 | 24 | 0.522613 | 0.689815 | 0 | 0 | 0 | 0 | 0.813559 | 0.813559 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
64955e64f6eddfaffd7aa21d0ed1e4a947ff84a5 | 1,149 | py | Python | demo.py | foamliu/MTCNN | 5168afc595851ee55f9e88e444a714edb7c4ee58 | [
"Apache-2.0"
] | 3 | 2018-12-04T02:10:37.000Z | 2021-03-23T10:47:15.000Z | demo.py | foamliu/MTCNN | 5168afc595851ee55f9e88e444a714edb7c4ee58 | [
"Apache-2.0"
] | null | null | null | demo.py | foamliu/MTCNN | 5168afc595851ee55f9e88e444a714edb7c4ee58 | [
"Apache-2.0"
] | 1 | 2019-10-22T10:50:28.000Z | 2019-10-22T10:50:28.000Z | import cv2 as cv
import numpy as np
from PIL import Image
from detector import detect_faces
from visualization_utils import show_bboxes
if __name__ == '__main__':
img = Image.open('images/office1.jpg')
bounding_boxes, landmarks = detect_faces(img)
img = cv.cvtColor(np.array(img), cv.COLOR_RGB2BGR)
sho... | 34.818182 | 54 | 0.7302 | 161 | 1,149 | 4.987578 | 0.217391 | 0.161893 | 0.273973 | 0.11208 | 0.780822 | 0.780822 | 0.780822 | 0.780822 | 0.780822 | 0.780822 | 0 | 0.011352 | 0.156658 | 1,149 | 32 | 55 | 35.90625 | 0.817337 | 0 | 0 | 0.576923 | 0 | 0 | 0.085292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.192308 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
649a911687e5c6bc780472e86608601528fd3c2c | 183 | py | Python | nn/__init__.py | adoxography/SPieL | 1cdb2f54d234526a51e3c1b2783fc8f497709f16 | [
"MIT"
] | 1 | 2021-12-28T03:18:23.000Z | 2021-12-28T03:18:23.000Z | nn/__init__.py | adoxography/SPieL | 1cdb2f54d234526a51e3c1b2783fc8f497709f16 | [
"MIT"
] | null | null | null | nn/__init__.py | adoxography/SPieL | 1cdb2f54d234526a51e3c1b2783fc8f497709f16 | [
"MIT"
] | null | null | null | """
spiel.nn.problem_defs
Module for tensor2tensor problem definitions
"""
__all__ = ['proto_algonquian', 'southwestern_ojibwe']
from . import proto_algonquian, southwestern_ojibwe
| 20.333333 | 53 | 0.797814 | 20 | 183 | 6.85 | 0.75 | 0.218978 | 0.394161 | 0.481752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.103825 | 183 | 8 | 54 | 22.875 | 0.829268 | 0.36612 | 0 | 0 | 0 | 0 | 0.324074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
64b99cfe04c11c5471bd38c2676d36934b245896 | 9,671 | py | Python | tests/test_lines.py | oisinmulvihill/remarkable-friend | 00650302e9815f546bd9525f5af4140ad6d518b6 | [
"MIT"
] | 2 | 2018-07-14T20:05:55.000Z | 2018-10-07T20:42:00.000Z | tests/test_lines.py | oisinmulvihill/remarkable-friend | 00650302e9815f546bd9525f5af4140ad6d518b6 | [
"MIT"
] | 1 | 2018-08-08T13:41:45.000Z | 2018-08-13T02:14:58.000Z | tests/test_lines.py | oisinmulvihill/remarkable-friend | 00650302e9815f546bd9525f5af4140ad6d518b6 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
"""
import struct
import pytest
from rmfriend.lines import lines
from rmfriend.lines.base import Int32
from rmfriend.lines.base import Float
from rmfriend.lines.base import recover
@pytest.mark.parametrize(
('class_', 'raw_bytes', 'expected'),
[
(lines.X, struct.pack(line... | 30.507886 | 78 | 0.597767 | 1,287 | 9,671 | 4.420357 | 0.096348 | 0.096678 | 0.097557 | 0.04746 | 0.810863 | 0.776411 | 0.758481 | 0.758481 | 0.758481 | 0.712955 | 0 | 0.062821 | 0.256023 | 9,671 | 316 | 79 | 30.60443 | 0.727867 | 0.123876 | 0 | 0.628319 | 0 | 0 | 0.031773 | 0 | 0 | 0 | 0 | 0 | 0.230089 | 1 | 0.039823 | false | 0 | 0.026549 | 0 | 0.066372 | 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 |
b3c608e061e7dcd42e8c8d1bc2b944a430b48598 | 43 | py | Python | src/rl_cookbook/envs/__init__.py | ejmejm/RL-Representation | 5237221c0490edfd1d221ddd076f1709910d14da | [
"MIT"
] | null | null | null | src/rl_cookbook/envs/__init__.py | ejmejm/RL-Representation | 5237221c0490edfd1d221ddd076f1709910d14da | [
"MIT"
] | null | null | null | src/rl_cookbook/envs/__init__.py | ejmejm/RL-Representation | 5237221c0490edfd1d221ddd076f1709910d14da | [
"MIT"
] | null | null | null | from .creation import *
from .data import * | 21.5 | 23 | 0.744186 | 6 | 43 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 24 | 21.5 | 0.888889 | 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 |
b3c960e67e19ed2f55d8a45f8f4c2de54d7a71d5 | 195 | py | Python | tsc/simple_agents.py | Josh-Joseph/tsc-2019 | 0cb68b69448257ec7fd8d9edaf6b8aa165599554 | [
"MIT"
] | null | null | null | tsc/simple_agents.py | Josh-Joseph/tsc-2019 | 0cb68b69448257ec7fd8d9edaf6b8aa165599554 | [
"MIT"
] | null | null | null | tsc/simple_agents.py | Josh-Joseph/tsc-2019 | 0cb68b69448257ec7fd8d9edaf6b8aa165599554 | [
"MIT"
] | null | null | null | import random
class DoNothingAgent(object):
def act(self, observation):
return 0
class RandomAgent(object):
def act(self, observation):
return random.randint(0, 3)
| 13 | 35 | 0.661538 | 23 | 195 | 5.608696 | 0.608696 | 0.139535 | 0.186047 | 0.248062 | 0.511628 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.246154 | 195 | 14 | 36 | 13.928571 | 0.857143 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 1 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b3dfafda6f91ecc2c00bc788f525bb8f22815460 | 124 | py | Python | cave/utils/exceptions.py | deslay1/CAVE | e4b9abc3812034f49dddd27ffc17dbab39782a1c | [
"BSD-3-Clause"
] | 45 | 2018-01-11T11:26:11.000Z | 2021-06-22T06:14:39.000Z | cave/utils/exceptions.py | deslay1/CAVE | e4b9abc3812034f49dddd27ffc17dbab39782a1c | [
"BSD-3-Clause"
] | 150 | 2017-12-20T16:14:45.000Z | 2021-09-28T11:26:33.000Z | cave/utils/exceptions.py | automl/SpySMAC | afcbecd0b9cb97276625c16a89cb6df141e6f6f2 | [
"BSD-3-Clause"
] | 17 | 2018-03-17T04:46:09.000Z | 2021-02-18T18:31:38.000Z | class Deactivated(Exception):
pass
class NotApplicable(Exception):
pass
class NotUniqueError(Exception):
pass
| 13.777778 | 32 | 0.741935 | 12 | 124 | 7.666667 | 0.5 | 0.423913 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185484 | 124 | 8 | 33 | 15.5 | 0.910891 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
37b5db09cf72eeea4414b173f24ae38d142582dd | 106 | py | Python | compose/__init__.py | praveenaws7/compose | a071f5d40a4c39cb4f3074f52e243d672f4cea09 | [
"Apache-2.0"
] | null | null | null | compose/__init__.py | praveenaws7/compose | a071f5d40a4c39cb4f3074f52e243d672f4cea09 | [
"Apache-2.0"
] | null | null | null | compose/__init__.py | praveenaws7/compose | a071f5d40a4c39cb4f3074f52e243d672f4cea09 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from __future__ import unicode_literals
__version__ = '1.27.0dev'
| 21.2 | 39 | 0.839623 | 14 | 106 | 5.357143 | 0.714286 | 0.266667 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.113208 | 106 | 4 | 40 | 26.5 | 0.755319 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
37b7d042c9ef6ec66bfd7c4d24a1b2e27f05f99d | 46 | py | Python | rolling_pandas/__init__.py | rollingpandas/rolling-pandas | f758f8f3416d560f8ba131d2ded446d833123a85 | [
"MIT"
] | null | null | null | rolling_pandas/__init__.py | rollingpandas/rolling-pandas | f758f8f3416d560f8ba131d2ded446d833123a85 | [
"MIT"
] | null | null | null | rolling_pandas/__init__.py | rollingpandas/rolling-pandas | f758f8f3416d560f8ba131d2ded446d833123a85 | [
"MIT"
] | null | null | null | from .timeseries import *
from .utils import * | 23 | 25 | 0.76087 | 6 | 46 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 26 | 23 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
806d4e6cc9934b53134b93f9f05c85d750a54647 | 34 | py | Python | python/package/p1/p2/intra/f5mod.py | drichardson/examples | d8b285db4ad1cfd9a92091deab2eb385748f97c8 | [
"Unlicense"
] | 33 | 2015-04-21T20:10:42.000Z | 2021-09-28T05:54:37.000Z | python/package/p1/p2/intra/f5mod.py | drichardson/examples | 89cd96741f6110729138f5c904317dd1a42f63ff | [
"Unlicense"
] | 1 | 2020-03-15T18:54:19.000Z | 2020-03-15T18:54:19.000Z | python/package/p1/p2/intra/f5mod.py | drichardson/examples | 89cd96741f6110729138f5c904317dd1a42f63ff | [
"Unlicense"
] | 19 | 2015-01-09T13:39:06.000Z | 2021-09-15T05:39:33.000Z |
def f5():
print("f5 called")
| 8.5 | 22 | 0.529412 | 5 | 34 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.264706 | 34 | 3 | 23 | 11.333333 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 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 |
80723b85a8274813404bdaa533251d992ebde2bb | 2,299 | py | Python | epytope/Data/pssms/smm/mat/A_69_01_9.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_69_01_9.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_69_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_69_01_9 = {0: {'A': 0.351, 'C': 0.391, 'E': -0.671, 'D': -0.269, 'G': 0.55, 'F': -0.381, 'I': 0.078, 'H': -0.257, 'K': 0.437, 'M': -0.511, 'L': 0.117, 'N': -0.401, 'Q': -0.071, 'P': 0.609, 'S': -0.128, 'R': 0.42, 'T': -0.178, 'W': -0.178, 'V': 0.517, 'Y': -0.426}, 1: {'A': -0.546, 'C': -0.3, 'E': 0.668, 'D': 0.078, '... | 2,299 | 2,299 | 0.392344 | 557 | 2,299 | 1.614004 | 0.341113 | 0.020022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.371236 | 0.162244 | 2,299 | 1 | 2,299 | 2,299 | 0.095535 | 0 | 0 | 0 | 0 | 0 | 0.079565 | 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 |
808add88a351ae58886eedcfd69ce43e3713a57d | 118 | py | Python | Toswapthetwowords.py | Arnabsaha6/Snakify | df0c1112ae8a56a275044f786bfd89f746e3ca85 | [
"MIT"
] | null | null | null | Toswapthetwowords.py | Arnabsaha6/Snakify | df0c1112ae8a56a275044f786bfd89f746e3ca85 | [
"MIT"
] | null | null | null | Toswapthetwowords.py | Arnabsaha6/Snakify | df0c1112ae8a56a275044f786bfd89f746e3ca85 | [
"MIT"
] | null | null | null | Code:
s = input()
first_word = s[:s.find(' ')]
second_word = s[s.find(' ') + 1:]
print(second_word + ' ' + first_word) | 23.6 | 37 | 0.59322 | 19 | 118 | 3.473684 | 0.473684 | 0.272727 | 0.181818 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.161017 | 118 | 5 | 37 | 23.6 | 0.656566 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
80ca9ba1dfaa68cd5d6f143bd1bc23f2df149bac | 20 | py | Python | skcv/graph/__init__.py | guillempalou/scikit-cv | 66b5455f0097a158f0498b5cade4e8e8a0094c08 | [
"BSD-3-Clause"
] | 6 | 2015-03-22T18:54:17.000Z | 2021-02-25T02:11:36.000Z | skcv/graph/__init__.py | guillempalou/scikit-cv | 66b5455f0097a158f0498b5cade4e8e8a0094c08 | [
"BSD-3-Clause"
] | null | null | null | skcv/graph/__init__.py | guillempalou/scikit-cv | 66b5455f0097a158f0498b5cade4e8e8a0094c08 | [
"BSD-3-Clause"
] | 1 | 2016-06-05T04:22:57.000Z | 2016-06-05T04:22:57.000Z | from .rag import rag | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 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 |
80df3fd87d0011a7f3e48747cfe9376289870a90 | 6,841 | py | Python | models/plot_cifar_scores.py | chihyunsong/oc-nn | f57130545f221fee67e9780d2a93ca48b9d10ba5 | [
"MIT"
] | 203 | 2018-02-26T09:52:15.000Z | 2022-03-09T12:51:38.000Z | models/plot_cifar_scores.py | dherath/oc-nn | f57130545f221fee67e9780d2a93ca48b9d10ba5 | [
"MIT"
] | 22 | 2018-05-07T19:36:49.000Z | 2022-03-30T04:00:25.000Z | models/plot_cifar_scores.py | dherath/oc-nn | f57130545f221fee67e9780d2a93ca48b9d10ba5 | [
"MIT"
] | 81 | 2018-02-22T21:17:49.000Z | 2022-03-24T04:53:46.000Z | import numpy as np
import pandas as pd
from sklearn import utils
# import matplotlib
# matplotlib.use("Agg")
import matplotlib.pyplot as plt
dataPath = './data/'
activations = ["Linear","Sigmoid"]
methods = ["Linear","RBF"]
def plot_decision_scores_CIFAR_10(dataset,df_cifar_scores):
# Four axes, returned as a... | 45.912752 | 110 | 0.658676 | 1,016 | 6,841 | 4.202756 | 0.109252 | 0.059016 | 0.109602 | 0.1274 | 0.89555 | 0.831148 | 0.786183 | 0.740984 | 0.740984 | 0.684778 | 0 | 0.038296 | 0.152609 | 6,841 | 148 | 111 | 46.222973 | 0.698292 | 0.400965 | 0 | 0.222222 | 0 | 0 | 0.249258 | 0.133284 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.074074 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
03fa42bbe177fbaf4b330b4c5ef841868087c2a5 | 4,038 | py | Python | sdcflows/workflows/tests/test_phdiff.py | jdkent/sdcflows | 4125c2f922c0e31d1c6e246ac1c57fda29de3b09 | [
"Apache-2.0"
] | null | null | null | sdcflows/workflows/tests/test_phdiff.py | jdkent/sdcflows | 4125c2f922c0e31d1c6e246ac1c57fda29de3b09 | [
"Apache-2.0"
] | null | null | null | sdcflows/workflows/tests/test_phdiff.py | jdkent/sdcflows | 4125c2f922c0e31d1c6e246ac1c57fda29de3b09 | [
"Apache-2.0"
] | null | null | null | """Test phase-difference type of fieldmaps."""
import pytest
from niworkflows.interfaces.bids import DerivativesDataSink
from nipype.pipeline import engine as pe
from ..phdiff import init_phdiff_wf, Workflow
@pytest.mark.parametrize('dataset', [
'ds001600',
'testdata',
])
def test_phdiff(bids_layouts, tmpdir... | 33.932773 | 86 | 0.624319 | 458 | 4,038 | 5.277293 | 0.220524 | 0.049648 | 0.023169 | 0.038064 | 0.813405 | 0.766653 | 0.766653 | 0.720728 | 0.685147 | 0.685147 | 0 | 0.012662 | 0.237246 | 4,038 | 118 | 87 | 34.220339 | 0.772078 | 0.02526 | 0 | 0.78022 | 0 | 0 | 0.134439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021978 | false | 0 | 0.065934 | 0 | 0.087912 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
205b964497ddb2f10ea92b0cbc34b213fc96c73a | 286 | py | Python | 7kyu/(7 kyu) Build a square/(7 kyu) Build a square.py | e1r0nd/codewars | 9b05e32a26ee5f36a4b3f1e76a71e0c79b3c865b | [
"MIT"
] | 49 | 2018-04-30T06:42:45.000Z | 2021-07-22T16:39:02.000Z | (7 kyu) Build a square/(7 kyu) Build a square.py | novsunheng/codewars | c54b1d822356889b91587b088d02ca0bd3d8dc9e | [
"MIT"
] | 1 | 2020-08-31T02:36:53.000Z | 2020-08-31T10:14:00.000Z | (7 kyu) Build a square/(7 kyu) Build a square.py | novsunheng/codewars | c54b1d822356889b91587b088d02ca0bd3d8dc9e | [
"MIT"
] | 25 | 2018-04-02T20:57:58.000Z | 2021-05-28T15:24:51.000Z | # #1
# def generateShape(int):
# str = []
# for i in range(int):
# str.append('+' * int)
# return "\n".join(str)
# #2
# def generateShape(n):
# return "\n".join("+" * n for i in range(n))
def generateShape(int): # 3
return (("+" * int + "\n") * int)[:-1]
| 20.428571 | 49 | 0.486014 | 39 | 286 | 3.564103 | 0.384615 | 0.345324 | 0.273381 | 0.158273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.272727 | 286 | 13 | 50 | 22 | 0.649038 | 0.674825 | 0 | 0 | 1 | 0 | 0.0375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
20f1b307a57773d818170fb4321fc424c8318dd0 | 63 | py | Python | trainings/shared/domain_model.py | ferminhg/training-logger | bb9a1bfbfd52cbd6db89360407a89e404b113644 | [
"MIT"
] | null | null | null | trainings/shared/domain_model.py | ferminhg/training-logger | bb9a1bfbfd52cbd6db89360407a89e404b113644 | [
"MIT"
] | null | null | null | trainings/shared/domain_model.py | ferminhg/training-logger | bb9a1bfbfd52cbd6db89360407a89e404b113644 | [
"MIT"
] | null | null | null | from abc import ABCMeta
class DomainModel(ABCMeta):
pass
| 10.5 | 27 | 0.746032 | 8 | 63 | 5.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206349 | 63 | 5 | 28 | 12.6 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
455b4d6438308aad308088b5ef4c1d6b3b1f0983 | 7,694 | py | Python | tests/tests/contentwrapper_test.py | arobb/python-process-runner | e5265a052f501f533f6d0c8bbe3d70ab120b679f | [
"MIT"
] | 3 | 2019-07-16T17:32:29.000Z | 2021-11-08T05:00:26.000Z | tests/tests/contentwrapper_test.py | arobb/python-process-runner | e5265a052f501f533f6d0c8bbe3d70ab120b679f | [
"MIT"
] | null | null | null | tests/tests/contentwrapper_test.py | arobb/python-process-runner | e5265a052f501f533f6d0c8bbe3d70ab120b679f | [
"MIT"
] | 2 | 2017-07-06T23:59:12.000Z | 2019-07-16T17:32:32.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import math
import unittest
from kitchen.text.converters import to_bytes
from processrunner.contentwrapper import ContentWrapper
from processrunner.contentwrapper import TYPES
'''
'''
class ProcessRunnerContentWrapperTestCase(unittest.TestCase):
def... | 38.663317 | 132 | 0.585131 | 695 | 7,694 | 6.346763 | 0.166906 | 0.067332 | 0.07708 | 0.131036 | 0.767173 | 0.758331 | 0.758331 | 0.758331 | 0.740195 | 0.685332 | 0 | 0.01564 | 0.343514 | 7,694 | 198 | 133 | 38.858586 | 0.856662 | 0.037822 | 0 | 0.704225 | 0 | 0 | 0.145638 | 0 | 0 | 0 | 0 | 0 | 0.119718 | 1 | 0.133803 | false | 0 | 0.042254 | 0 | 0.197183 | 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 |
45670725745d2a54130736eec71fe0bc061d6456 | 133 | py | Python | mahotas/lbp.py | langner/mahotas | 1840b629fab325e7fb700f90cf2b662ff35e4205 | [
"BSL-1.0"
] | 541 | 2015-01-06T02:21:22.000Z | 2022-03-23T20:22:17.000Z | mahotas/lbp.py | langner/mahotas | 1840b629fab325e7fb700f90cf2b662ff35e4205 | [
"BSL-1.0"
] | 72 | 2015-01-23T08:49:45.000Z | 2021-12-07T00:42:54.000Z | mahotas/lbp.py | langner/mahotas | 1840b629fab325e7fb700f90cf2b662ff35e4205 | [
"BSL-1.0"
] | 155 | 2015-01-07T14:34:29.000Z | 2022-03-28T08:37:59.000Z | import warnings
warnings.warn(
'''Use
from mahotas.features import lbp
''', DeprecationWarning)
from mahotas.features.lbp import *
| 14.777778 | 34 | 0.774436 | 16 | 133 | 6.4375 | 0.5625 | 0.213592 | 0.368932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 133 | 8 | 35 | 16.625 | 0.880342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
45b4b55e718946cffda49ba387c0b31cfa08799b | 4,078 | py | Python | tests/test_fiber.py | sdss/lvmtipo | 5525fa724a4d5a218a8823b2a783a6fb996df5bb | [
"BSD-3-Clause"
] | 1 | 2021-11-30T08:35:53.000Z | 2021-11-30T08:35:53.000Z | tests/test_fiber.py | sdss/lvmtipo | 5525fa724a4d5a218a8823b2a783a6fb996df5bb | [
"BSD-3-Clause"
] | 1 | 2022-03-11T09:19:26.000Z | 2022-03-11T09:19:26.000Z | tests/test_fiber.py | sdss/lvmtipo | 5525fa724a4d5a218a8823b2a783a6fb996df5bb | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
#
# @Author: Richard J. Mathar <mathar@mpia.de>
# @Date: 2021-11.21
# @Filename: fiber.py
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)
import sys
import math
import pytest
from lvmtipo.fiber import Fiber
def test_S():
""" Test locations of fibers in the ra... | 26.141026 | 74 | 0.609367 | 578 | 4,078 | 4.294118 | 0.183391 | 0.155117 | 0.151088 | 0.181305 | 0.784045 | 0.77357 | 0.762691 | 0.725222 | 0.709911 | 0.671233 | 0 | 0.073317 | 0.220696 | 4,078 | 155 | 75 | 26.309677 | 0.707678 | 0.183423 | 0 | 0.535354 | 0 | 0 | 0.043663 | 0 | 0 | 0 | 0 | 0 | 0.252525 | 1 | 0.030303 | false | 0 | 0.040404 | 0 | 0.070707 | 0.020202 | 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 |
b30b1500ede76f75d87f5fa723ab220b8915961f | 42 | py | Python | thepeer_sdk/core/__init__.py | Emmarex/thepeer-sdk-python | 258096362234469e4a54500ba14d1ac92d9e6920 | [
"Apache-2.0"
] | 5 | 2021-12-18T19:12:33.000Z | 2021-12-22T20:22:47.000Z | thepeer_sdk/core/__init__.py | Emmarex/thepeer-sdk-python | 258096362234469e4a54500ba14d1ac92d9e6920 | [
"Apache-2.0"
] | null | null | null | thepeer_sdk/core/__init__.py | Emmarex/thepeer-sdk-python | 258096362234469e4a54500ba14d1ac92d9e6920 | [
"Apache-2.0"
] | null | null | null |
from .sdk_client import ThepeerSdkClient
| 14 | 40 | 0.857143 | 5 | 42 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 2 | 41 | 21 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b36a911073ed4bba4015db3628cb4ec0159f862e | 194 | py | Python | initialize.py | ianjuma/sunpower | 2ba0ff66687993deae515a4108c834ac44c6aa5f | [
"MIT"
] | 1 | 2016-05-16T08:49:35.000Z | 2016-05-16T08:49:35.000Z | initialize.py | ianjuma/sunpower | 2ba0ff66687993deae515a4108c834ac44c6aa5f | [
"MIT"
] | null | null | null | initialize.py | ianjuma/sunpower | 2ba0ff66687993deae515a4108c834ac44c6aa5f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
if __name__ == "__main__":
from utils.models import Country
Country.objects.initialize()
from utils.models import Currency
Currency.objects.initialize()
| 19.4 | 37 | 0.716495 | 23 | 194 | 5.695652 | 0.652174 | 0.137405 | 0.229008 | 0.320611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180412 | 194 | 9 | 38 | 21.555556 | 0.823899 | 0.103093 | 0 | 0 | 0 | 0 | 0.046243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2fd228af59714a602aaae65e4d1b5660d9d55000 | 136 | py | Python | src/models/sharpness_model.py | johanattia/tensorflow-saint | 95bbfaf51c1f1be96a2884dc664b10e9dd183984 | [
"MIT"
] | 3 | 2022-01-09T16:07:31.000Z | 2022-03-07T09:17:38.000Z | src/models/sharpness_model.py | johanattia/tensorflow-saint | 95bbfaf51c1f1be96a2884dc664b10e9dd183984 | [
"MIT"
] | null | null | null | src/models/sharpness_model.py | johanattia/tensorflow-saint | 95bbfaf51c1f1be96a2884dc664b10e9dd183984 | [
"MIT"
] | null | null | null | """Sharpness-Aware Minimization for Fine-tuning Model"""
import tensorflow as tf
class SharpnessAwareModel(tf.keras.Model):
pass
| 17 | 56 | 0.764706 | 17 | 136 | 6.117647 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139706 | 136 | 7 | 57 | 19.428571 | 0.888889 | 0.367647 | 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 |
6418a2151bab56989752d8a3a023eebdd86755a1 | 7,177 | py | Python | tests/test_dsp.py | ben-kas/pyrato | 5880c53588f807a0fdd5271003aa72b5a3e2330e | [
"MIT"
] | 3 | 2021-01-05T10:43:58.000Z | 2022-02-16T07:57:11.000Z | tests/test_dsp.py | ben-kas/pyrato | 5880c53588f807a0fdd5271003aa72b5a3e2330e | [
"MIT"
] | 1 | 2022-02-17T07:43:01.000Z | 2022-02-17T07:43:01.000Z | tests/test_dsp.py | ben-kas/pyrato | 5880c53588f807a0fdd5271003aa72b5a3e2330e | [
"MIT"
] | 1 | 2020-12-14T16:11:42.000Z | 2020-12-14T16:11:42.000Z | # -*- coding: utf-8 -*-
import os
import numpy as np
import numpy.testing as npt
import pytest
from numpy import genfromtxt
import roomacoustics.dsp as dsp
test_data_path = os.path.join(os.path.dirname(__file__), 'test_data')
def test_start_ir_insufficient_snr():
n_samples = 2**9
ir = np.zeros(n_samples, ... | 26.193431 | 78 | 0.683712 | 1,136 | 7,177 | 3.995599 | 0.09331 | 0.150253 | 0.037013 | 0.046266 | 0.865389 | 0.835426 | 0.792465 | 0.765147 | 0.731659 | 0.699273 | 0 | 0.049402 | 0.196182 | 7,177 | 273 | 79 | 26.289377 | 0.73739 | 0.009475 | 0 | 0.622222 | 0 | 0 | 0.008866 | 0.007318 | 0 | 0 | 0 | 0 | 0.105556 | 1 | 0.083333 | false | 0 | 0.033333 | 0 | 0.116667 | 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 |
ff4f4958aabfa7406fb2a94ac10df66cc6ba5501 | 102 | py | Python | supersql/utils/datax.py | rayattack/supersql | 0a592e7f303ac18b8df7bebac226b26f38f6d192 | [
"MIT"
] | 2 | 2019-11-04T00:19:30.000Z | 2020-10-04T01:24:04.000Z | supersql/utils/datax.py | tersoo/supersql | 4d20bd72a9de50e485ce79285c355a1a7ac04b55 | [
"MIT"
] | 2 | 2021-03-31T14:07:04.000Z | 2021-03-31T14:07:20.000Z | supersql/utils/datax.py | tersoo/supersql | 4d20bd72a9de50e485ce79285c355a1a7ac04b55 | [
"MIT"
] | 2 | 2021-03-30T21:40:14.000Z | 2022-03-17T20:52:25.000Z | from supersql.utils.pg import uuid as pg_uuid
def get_ddl(vendor, datatype, column_instance):
pass
| 17 | 47 | 0.794118 | 17 | 102 | 4.588235 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 102 | 5 | 48 | 20.4 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ff6a0fc126025629fd3acf471fec02e6004a8ceb | 182 | py | Python | relogic/__init__.py | Impavidity/relogic | f647106e143cd603b95b63e06ea530cdd516aefe | [
"MIT"
] | 24 | 2019-07-20T02:10:21.000Z | 2022-03-15T07:13:07.000Z | relogic/__init__.py | One-paper-luck/relogic | f647106e143cd603b95b63e06ea530cdd516aefe | [
"MIT"
] | 3 | 2019-11-28T04:19:25.000Z | 2019-11-30T23:29:19.000Z | relogic/__init__.py | One-paper-luck/relogic | f647106e143cd603b95b63e06ea530cdd516aefe | [
"MIT"
] | 5 | 2019-11-27T03:12:07.000Z | 2021-12-08T11:45:43.000Z | import sys
sys.path.insert(0, "transformers/src/")
from relogic.pipelines.core import Pipeline
from relogic.utils.resources import download
from relogic._version import __version__ | 26 | 44 | 0.82967 | 25 | 182 | 5.84 | 0.64 | 0.226027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.093407 | 182 | 7 | 45 | 26 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.092896 | 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 |
4452262f823e2d3be8e3df4cba51150bc694109f | 277 | py | Python | frccontrol/__init__.py | Dwopplee/frccontrol | 8dac9373515697a6d7d92bd0d267fb4c156677cb | [
"BSD-3-Clause"
] | null | null | null | frccontrol/__init__.py | Dwopplee/frccontrol | 8dac9373515697a6d7d92bd0d267fb4c156677cb | [
"BSD-3-Clause"
] | null | null | null | frccontrol/__init__.py | Dwopplee/frccontrol | 8dac9373515697a6d7d92bd0d267fb4c156677cb | [
"BSD-3-Clause"
] | null | null | null | """The WPILib state-space control library."""
from frccontrol import models
from frccontrol.ctrlutil import *
from frccontrol.dlqr import *
from frccontrol.kalmd import *
from frccontrol.profiles import *
from frccontrol.system import *
from frccontrol.system_writer import *
| 27.7 | 45 | 0.805054 | 35 | 277 | 6.342857 | 0.457143 | 0.441441 | 0.45045 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122744 | 277 | 9 | 46 | 30.777778 | 0.91358 | 0.140794 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4481fd985a5ecfad8ab72bcc94555e9767cba77c | 166 | py | Python | xl_auth/permission/__init__.py | akebrissman/id.mkdevops.se | 5a9a7a5df33a24f5c367cd476fa547a300e66ea9 | [
"Apache-2.0"
] | 7 | 2017-09-04T10:24:02.000Z | 2019-12-02T13:12:30.000Z | xl_auth/permission/__init__.py | akebrissman/id.mkdevops.se | 5a9a7a5df33a24f5c367cd476fa547a300e66ea9 | [
"Apache-2.0"
] | 140 | 2017-09-06T07:02:18.000Z | 2022-02-26T01:26:25.000Z | xl_auth/permission/__init__.py | akebrissman/id.mkdevops.se | 5a9a7a5df33a24f5c367cd476fa547a300e66ea9 | [
"Apache-2.0"
] | 2 | 2017-09-13T16:42:57.000Z | 2018-02-15T15:32:40.000Z | # -*- coding: utf-8 -*-
"""The permission module."""
from __future__ import absolute_import, division, print_function, unicode_literals
from . import views # noqa
| 23.714286 | 82 | 0.728916 | 20 | 166 | 5.7 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.144578 | 166 | 6 | 83 | 27.666667 | 0.795775 | 0.301205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
448423aad2186353cee091129359f5b8bdfeeda3 | 66 | py | Python | student_evaluation_courses/test/conftest.py | OuedraogoAbdoul/student-evaluation-courses | aea571385ccc7b5580f38b730d46060e9c9ee343 | [
"MIT"
] | null | null | null | student_evaluation_courses/test/conftest.py | OuedraogoAbdoul/student-evaluation-courses | aea571385ccc7b5580f38b730d46060e9c9ee343 | [
"MIT"
] | null | null | null | student_evaluation_courses/test/conftest.py | OuedraogoAbdoul/student-evaluation-courses | aea571385ccc7b5580f38b730d46060e9c9ee343 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture
def fixture_value():
return 4
| 9.428571 | 20 | 0.727273 | 9 | 66 | 5.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.19697 | 66 | 6 | 21 | 11 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
44989c7ade1b8bd3ca8e6661541dc2021232d1bc | 103 | py | Python | pbxproj/pbxsections/PBXNativeTarget.py | adachic/mod-pbxproj | 28c709e58d0e06da1bf25482357b104f127ab200 | [
"MIT"
] | 1 | 2021-03-11T12:37:27.000Z | 2021-03-11T12:37:27.000Z | pbxproj/pbxsections/PBXNativeTarget.py | adachic/mod-pbxproj | 28c709e58d0e06da1bf25482357b104f127ab200 | [
"MIT"
] | null | null | null | pbxproj/pbxsections/PBXNativeTarget.py | adachic/mod-pbxproj | 28c709e58d0e06da1bf25482357b104f127ab200 | [
"MIT"
] | null | null | null | from pbxproj.pbxsections.PBXGenericTarget import *
class PBXNativeTarget(PBXGenericTarget):
pass
| 17.166667 | 50 | 0.815534 | 9 | 103 | 9.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 103 | 5 | 51 | 20.6 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
92b047ac92a3e3e77e5e64b0cad187ff079af439 | 5,457 | py | Python | util/metrics.py | knjcode/kaggle-kuzushiji-recognition-2019 | 2aa47722e961745898f70d40145ecd286666f8b7 | [
"MIT"
] | 20 | 2019-10-25T17:28:26.000Z | 2020-12-24T06:29:04.000Z | util/metrics.py | knjcode/kaggle-kuzushiji-recognition-2019 | 2aa47722e961745898f70d40145ecd286666f8b7 | [
"MIT"
] | 3 | 2021-06-08T20:31:34.000Z | 2022-03-12T00:03:05.000Z | util/metrics.py | knjcode/kaggle-kuzushiji-recognition-2019 | 2aa47722e961745898f70d40145ecd286666f8b7 | [
"MIT"
] | 6 | 2019-11-24T02:09:08.000Z | 2022-03-24T12:27:21.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.nn import Parameter
import math
import numpy as np
class L2Softmax(nn.Module):
def __init__(self, num_features, num_classes, temp=0.05):
super(L2Softmax, self).__init__()
self.num_features = num_features
... | 35.435065 | 112 | 0.592817 | 741 | 5,457 | 4.187584 | 0.144399 | 0.030938 | 0.027071 | 0.009668 | 0.810828 | 0.800838 | 0.800838 | 0.800838 | 0.787303 | 0.761521 | 0 | 0.021581 | 0.295217 | 5,457 | 153 | 113 | 35.666667 | 0.785231 | 0.122595 | 0 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.054545 | 0 | 0.272727 | 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 |
92b7c9341187bb2ed67d39a64860b7a516a689bf | 150 | py | Python | regular_expression.py | AsherSeiling/compression-alogorithm | 3a9702514291d6db26c88be4183869071a1737a7 | [
"MIT"
] | null | null | null | regular_expression.py | AsherSeiling/compression-alogorithm | 3a9702514291d6db26c88be4183869071a1737a7 | [
"MIT"
] | null | null | null | regular_expression.py | AsherSeiling/compression-alogorithm | 3a9702514291d6db26c88be4183869071a1737a7 | [
"MIT"
] | null | null | null | def regEX(ref, char_comp):
test_passed = True
for i in ref:
if i == char_comp:
test_passed = False
return test_passed
| 21.428571 | 31 | 0.593333 | 22 | 150 | 3.818182 | 0.636364 | 0.357143 | 0.285714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.34 | 150 | 6 | 32 | 25 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2bd955312c5e32c3d0ee3cb4f72756fd89bf3d7e | 134 | py | Python | src/duckdq/engines/__init__.py | tdoehmen/duckdq | ca8e6ef853a0906b9e12bac32eb073ae2d597737 | [
"Apache-2.0",
"MIT"
] | 15 | 2021-01-19T11:15:00.000Z | 2022-03-25T02:24:22.000Z | src/duckdq/engines/__init__.py | tdoehmen/duckdq | ca8e6ef853a0906b9e12bac32eb073ae2d597737 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/duckdq/engines/__init__.py | tdoehmen/duckdq | ca8e6ef853a0906b9e12bac32eb073ae2d597737 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-03-19T17:38:51.000Z | 2021-07-25T14:58:46.000Z | from duckdq.engines.pandas.pandas_engine import PandasEngine
from duckdq.engines.sql.sql_engine import SQLEngineFactory, DuckDBEngine
| 44.666667 | 72 | 0.880597 | 17 | 134 | 6.823529 | 0.588235 | 0.172414 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067164 | 134 | 2 | 73 | 67 | 0.928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2bf0902cb1b80d6292e312065f2992fdc0d85676 | 47 | py | Python | app/inner_app/inner_inner_app/person.py | magicalcarpet/python_modules_and_packages | 663a957674c41d0dc33e3f6ca7eefe4c808606b4 | [
"MIT"
] | null | null | null | app/inner_app/inner_inner_app/person.py | magicalcarpet/python_modules_and_packages | 663a957674c41d0dc33e3f6ca7eefe4c808606b4 | [
"MIT"
] | null | null | null | app/inner_app/inner_inner_app/person.py | magicalcarpet/python_modules_and_packages | 663a957674c41d0dc33e3f6ca7eefe4c808606b4 | [
"MIT"
] | null | null | null | def what_are_you():
print('I am a person')
| 15.666667 | 26 | 0.638298 | 9 | 47 | 3.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 47 | 2 | 27 | 23.5 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.276596 | 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 |
a601ac8c2cdb5030e8648c5eddaad5fc07106d21 | 107 | py | Python | statelint/problem/__init__.py | taro-kayo/statelint | 033f3d24da02ecaf43c7df7775a0fa440a7154c6 | [
"Apache-2.0"
] | null | null | null | statelint/problem/__init__.py | taro-kayo/statelint | 033f3d24da02ecaf43c7df7775a0fa440a7154c6 | [
"Apache-2.0"
] | null | null | null | statelint/problem/__init__.py | taro-kayo/statelint | 033f3d24da02ecaf43c7df7775a0fa440a7154c6 | [
"Apache-2.0"
] | null | null | null | from .predicate import ProblemPredicate
from .problem import Problem
from .problem_type import ProblemType
| 26.75 | 39 | 0.859813 | 13 | 107 | 7 | 0.538462 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 3 | 40 | 35.666667 | 0.957895 | 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 |
a609d30384ca72198abf91270941c67d4c4db22c | 36 | py | Python | src/pylaunch/dial/__init__.py | Sandersland/dial | 7643a8ea9c4d1fd2c590e0854ef32ff6a699efe4 | [
"MIT"
] | null | null | null | src/pylaunch/dial/__init__.py | Sandersland/dial | 7643a8ea9c4d1fd2c590e0854ef32ff6a699efe4 | [
"MIT"
] | null | null | null | src/pylaunch/dial/__init__.py | Sandersland/dial | 7643a8ea9c4d1fd2c590e0854ef32ff6a699efe4 | [
"MIT"
] | 1 | 2021-05-05T16:16:46.000Z | 2021-05-05T16:16:46.000Z | from pylaunch.dial.main import Dial
| 18 | 35 | 0.833333 | 6 | 36 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 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 |
a60b6fbc3d4b25e654d283f4a07c0b5d26215a11 | 58 | py | Python | GPdoemd/param_covar/__init__.py | scwolof/GPdoemd | 485265a66585a8ebe88d1ba3da957199159dbcbf | [
"MIT"
] | 28 | 2018-07-04T21:46:18.000Z | 2022-01-10T07:48:59.000Z | GPdoemd/param_covar/__init__.py | scwolof/GPdoemd | 485265a66585a8ebe88d1ba3da957199159dbcbf | [
"MIT"
] | 1 | 2018-10-03T22:40:00.000Z | 2018-10-04T17:49:49.000Z | GPdoemd/param_covar/__init__.py | scwolof/GPdoemd | 485265a66585a8ebe88d1ba3da957199159dbcbf | [
"MIT"
] | 5 | 2018-09-18T18:43:19.000Z | 2020-11-28T22:07:22.000Z |
from .laplace_approximation import laplace_approximation
| 19.333333 | 56 | 0.896552 | 6 | 58 | 8.333333 | 0.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 58 | 2 | 57 | 29 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a61d26eef7d1010f2338f317f99432ae2f4da79e | 199 | py | Python | server/urls.py | acuacu/ArchivosEstaticos | 21abe2a6cb31e7017e269dadea2e19d4c5f25140 | [
"Apache-2.0"
] | null | null | null | server/urls.py | acuacu/ArchivosEstaticos | 21abe2a6cb31e7017e269dadea2e19d4c5f25140 | [
"Apache-2.0"
] | 3 | 2018-05-16T00:51:18.000Z | 2018-05-23T10:30:43.000Z | server/urls.py | acuacu/ArchivosEstaticos | 21abe2a6cb31e7017e269dadea2e19d4c5f25140 | [
"Apache-2.0"
] | null | null | null |
from django.conf.urls import url
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
# <--
]+static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
| 22.111111 | 63 | 0.78392 | 28 | 199 | 5.464286 | 0.428571 | 0.196078 | 0.27451 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115578 | 199 | 8 | 64 | 24.875 | 0.869318 | 0.015075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a638ff3e4adcc486d5d54429e332200724141725 | 15,199 | py | Python | sdk/python/pulumi_alicloud/ram/role_policy_attachment.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/ram/role_policy_attachment.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/ram/role_policy_attachment.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 41.641096 | 222 | 0.596816 | 1,744 | 15,199 | 5.013188 | 0.104931 | 0.0541 | 0.065653 | 0.045293 | 0.797895 | 0.771703 | 0.757292 | 0.734645 | 0.714629 | 0.707194 | 0 | 0.005097 | 0.302915 | 15,199 | 364 | 223 | 41.755495 | 0.820104 | 0.453451 | 0 | 0.537415 | 1 | 0 | 0.108736 | 0.011264 | 0 | 0 | 0 | 0 | 0 | 1 | 0.14966 | false | 0.006803 | 0.034014 | 0 | 0.272109 | 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 |
a658991d2a4ab671a729faac273df76ae58f372d | 323 | py | Python | tests/unit_tests/test_utils.py | roedesh/postcodeapi | 53a6a5578d9dbf0566ae0712ed33c596b2dc6e64 | [
"MIT"
] | null | null | null | tests/unit_tests/test_utils.py | roedesh/postcodeapi | 53a6a5578d9dbf0566ae0712ed33c596b2dc6e64 | [
"MIT"
] | 7 | 2018-11-23T15:00:55.000Z | 2019-04-21T19:47:51.000Z | tests/unit_tests/test_utils.py | roedesh/postcodeapi | 53a6a5578d9dbf0566ae0712ed33c596b2dc6e64 | [
"MIT"
] | null | null | null | from postcodeapi.utils import is_valid_postal_code
def test_is_valid_postal_code():
assert not is_valid_postal_code("NOT A POSTAL CODE")
assert not is_valid_postal_code("AB1234")
assert not is_valid_postal_code("ABCD12")
assert not is_valid_postal_code("123456")
assert is_valid_postal_code("5038EA... | 32.3 | 56 | 0.786378 | 51 | 323 | 4.54902 | 0.333333 | 0.344828 | 0.392241 | 0.512931 | 0.534483 | 0.534483 | 0.310345 | 0.310345 | 0 | 0 | 0 | 0.057554 | 0.139319 | 323 | 9 | 57 | 35.888889 | 0.776978 | 0 | 0 | 0 | 0 | 0 | 0.126935 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a69299cbcf422817fd94696d06f8777db729d1be | 92 | py | Python | main/renderer/__init__.py | betterclever/susi_linux | 33e0d99ce55e66ee2e029c6a8e4f04930ac0e8d5 | [
"Apache-2.0"
] | null | null | null | main/renderer/__init__.py | betterclever/susi_linux | 33e0d99ce55e66ee2e029c6a8e4f04930ac0e8d5 | [
"Apache-2.0"
] | null | null | null | main/renderer/__init__.py | betterclever/susi_linux | 33e0d99ce55e66ee2e029c6a8e4f04930ac0e8d5 | [
"Apache-2.0"
] | null | null | null | from .login_window import LoginWindow
from .configuration_window import ConfigurationWindow
| 30.666667 | 53 | 0.891304 | 10 | 92 | 8 | 0.7 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 2 | 54 | 46 | 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 |
a6bcb9e17415ad3710f7ab463ecc5b9d43be5c70 | 111 | py | Python | app/auth/__init__.py | MK1230/blog_instance | 6bf50328909624fe58ccfe60971620ca4b142ecb | [
"MIT"
] | null | null | null | app/auth/__init__.py | MK1230/blog_instance | 6bf50328909624fe58ccfe60971620ca4b142ecb | [
"MIT"
] | 3 | 2020-03-24T15:28:48.000Z | 2021-02-02T21:41:35.000Z | app/auth/__init__.py | weqopy/blog_instance | 6bf50328909624fe58ccfe60971620ca4b142ecb | [
"MIT"
] | null | null | null | from flask import Blueprint
auth = Blueprint('auth', __name__)
from . import views
from ..main import errors
| 15.857143 | 34 | 0.756757 | 15 | 111 | 5.333333 | 0.6 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 111 | 6 | 35 | 18.5 | 0.860215 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
5b8651a80f846c8c692dfddaae79bc1debd160b2 | 119 | py | Python | exception/argument_not_null_exception.py | joaoteixeira88/pyguard | e9bdcb58034fd0db254121f71ac9bd76c7dec973 | [
"MIT"
] | 2 | 2021-03-11T22:09:40.000Z | 2022-01-09T16:16:43.000Z | exception/argument_not_null_exception.py | joaoteixeira88/pyguard | e9bdcb58034fd0db254121f71ac9bd76c7dec973 | [
"MIT"
] | 3 | 2021-03-11T08:20:43.000Z | 2021-03-30T07:34:38.000Z | exception/argument_not_null_exception.py | joaoteixeira88/python-guard | e9bdcb58034fd0db254121f71ac9bd76c7dec973 | [
"MIT"
] | null | null | null | from exception.base_exception import BaseGuardException
class ArgumentNotNullException(BaseGuardException):
pass
| 19.833333 | 55 | 0.857143 | 10 | 119 | 10.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109244 | 119 | 5 | 56 | 23.8 | 0.95283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
5bae464fc25c8fb4a6564f691910c0b71e556550 | 170 | py | Python | PManager/classes/git/__init__.py | srisankethu/opengift.io | fc490332bd0252610b55a68c1fff1c4f704fcbd4 | [
"Apache-2.0"
] | 1 | 2020-08-30T23:12:08.000Z | 2020-08-30T23:12:08.000Z | PManager/classes/git/__init__.py | lenarhus/opengift.io | db37494eac141e795c8d9d5b262d54cd6f20fb15 | [
"Apache-2.0"
] | null | null | null | PManager/classes/git/__init__.py | lenarhus/opengift.io | db37494eac141e795c8d9d5b262d54cd6f20fb15 | [
"Apache-2.0"
] | null | null | null | __author__ = 'Tonakai'
from PManager.classes.git.config_writer import *
from PManager.classes.git.gitolite_manager import *
from PManager.classes.git.diff_parser import * | 42.5 | 51 | 0.829412 | 23 | 170 | 5.826087 | 0.565217 | 0.268657 | 0.425373 | 0.492537 | 0.41791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082353 | 170 | 4 | 52 | 42.5 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0.040936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
5bb223b70031188ad48ebebbb551107a2a2257a5 | 19,432 | py | Python | openstack/block_store/v2/_proxy.py | IamFive/sdk-python | 223b04f90477f7de0f00b3e652d8672ba73271c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | openstack/block_store/v2/_proxy.py | IamFive/sdk-python | 223b04f90477f7de0f00b3e652d8672ba73271c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | openstack/block_store/v2/_proxy.py | IamFive/sdk-python | 223b04f90477f7de0f00b3e652d8672ba73271c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # 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, software
# distributed under t... | 44.466819 | 91 | 0.624382 | 2,311 | 19,432 | 5.136305 | 0.090437 | 0.043808 | 0.051222 | 0.054844 | 0.805139 | 0.768408 | 0.71904 | 0.683319 | 0.665628 | 0.641112 | 0 | 0.004892 | 0.295132 | 19,432 | 436 | 92 | 44.568807 | 0.861722 | 0.616921 | 0 | 0.329787 | 0 | 0 | 0.003745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.287234 | false | 0 | 0.06383 | 0 | 0.574468 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5bb56b5870855d6e6f1e219b7f62a3044087d970 | 295 | py | Python | heroku_deploy/update.py | bentoml/heroku-deploy | 6826673d938a6b68ffb2f4d85edc602604e90219 | [
"Apache-2.0"
] | 2 | 2021-06-24T02:22:22.000Z | 2021-07-20T09:14:09.000Z | heroku_deploy/update.py | bentoml/heroku-deploy | 6826673d938a6b68ffb2f4d85edc602604e90219 | [
"Apache-2.0"
] | 2 | 2021-11-08T16:45:14.000Z | 2021-11-15T15:34:02.000Z | heroku_deploy/update.py | bentoml/heroku-deploy | 6826673d938a6b68ffb2f4d85edc602604e90219 | [
"Apache-2.0"
] | 3 | 2021-06-24T02:22:25.000Z | 2021-12-20T09:59:53.000Z | from .deploy import deploy_bento
from .utils import generate_heroku_resource_names
def update(bento_path, deployment_name, deployment_spec):
app_name, repository_url = generate_heroku_resource_names(deployment_name)
deploy_bento(bento_path, deployment_spec, app_name, repository_url)
| 32.777778 | 78 | 0.840678 | 40 | 295 | 5.75 | 0.45 | 0.095652 | 0.191304 | 0.234783 | 0.295652 | 0.295652 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105085 | 295 | 8 | 79 | 36.875 | 0.871212 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5bbaea04e3d7c2fa255087fc514abb202b3482f6 | 108 | py | Python | code/python/number_float.py | evmorov/ruby-coffeescript | 1c61c5ce351509b210e26feceee6efab0b255442 | [
"MIT"
] | 29 | 2016-06-15T09:19:18.000Z | 2022-03-21T14:34:47.000Z | code/python/number_float.py | evmorov/ruby-coffeescript | 1c61c5ce351509b210e26feceee6efab0b255442 | [
"MIT"
] | 7 | 2016-06-16T07:02:43.000Z | 2020-01-08T21:12:30.000Z | code/python/number_float.py | evmorov/ruby-coffeescript | 1c61c5ce351509b210e26feceee6efab0b255442 | [
"MIT"
] | 7 | 2016-06-15T14:57:46.000Z | 2021-12-09T17:57:22.000Z | import math
print(9 // 2)
print(9 / 2)
print(math.floor(9 / 2))
print(round(9 / 2)) # rounds half to even
| 15.428571 | 42 | 0.62963 | 21 | 108 | 3.238095 | 0.52381 | 0.117647 | 0.308824 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 0.194444 | 108 | 6 | 43 | 18 | 0.689655 | 0.175926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.8 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
5bc41752ef26ccad7874f230c35a61697cf4a80c | 158 | py | Python | src/pages/pagesections.py | yujhenchen/pytestBDD | 05345f7130720fc3237aa9b0085676b6d82f42f7 | [
"MIT"
] | null | null | null | src/pages/pagesections.py | yujhenchen/pytestBDD | 05345f7130720fc3237aa9b0085676b6d82f42f7 | [
"MIT"
] | null | null | null | src/pages/pagesections.py | yujhenchen/pytestBDD | 05345f7130720fc3237aa9b0085676b6d82f42f7 | [
"MIT"
] | null | null | null | class PageSections(object):
def __init__(self, driver):
super().__init__()
self.driver = driver
def click_menu(self):
return
| 19.75 | 31 | 0.607595 | 17 | 158 | 5.117647 | 0.647059 | 0.183908 | 0.321839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28481 | 158 | 7 | 32 | 22.571429 | 0.769912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5bcbc82e9996670ee1b5e4c5064597fd5895f725 | 22 | py | Python | node/__init__.py | navidsalehi/blockchain | 0add1e6e4898097360cafd006e391d1b8735da08 | [
"MIT"
] | 2 | 2021-11-30T05:16:39.000Z | 2021-12-01T10:13:29.000Z | node/__init__.py | navidsalehi/blockchain | 0add1e6e4898097360cafd006e391d1b8735da08 | [
"MIT"
] | null | null | null | node/__init__.py | navidsalehi/blockchain | 0add1e6e4898097360cafd006e391d1b8735da08 | [
"MIT"
] | null | null | null | from .node import Node | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
5bce088fdd03c176fdcdc70e69fc7ef8df73b72c | 1,095 | py | Python | examples/rotation.py | mcauser/micropython-ssd1327 | cef3dd7ad7c5f3cf13d4b1a37824396e513c63d5 | [
"MIT"
] | 19 | 2018-06-12T08:58:58.000Z | 2022-02-01T13:34:56.000Z | examples/rotation.py | mcauser/micropython-ssd1327 | cef3dd7ad7c5f3cf13d4b1a37824396e513c63d5 | [
"MIT"
] | 4 | 2018-12-01T06:35:11.000Z | 2021-09-11T16:10:26.000Z | examples/rotation.py | mcauser/micropython-ssd1327 | cef3dd7ad7c5f3cf13d4b1a37824396e513c63d5 | [
"MIT"
] | 7 | 2018-09-23T00:14:00.000Z | 2021-03-18T17:52:29.000Z | # rotate 180 degrees
# need to call show after rotating as rotating only sets the remapping bits on the remap and offset registers
# show repopulates the gddram in the new correct order
display.rotate(True)
display.show()
# rotate 0 degrees
display.write_cmd(ssd1327.SET_DISP_OFFSET) # 0xA2
display.write_cmd(128 - disp... | 28.815789 | 109 | 0.805479 | 170 | 1,095 | 5 | 0.270588 | 0.225882 | 0.282353 | 0.207059 | 0.76 | 0.691765 | 0.632941 | 0.632941 | 0.632941 | 0.632941 | 0 | 0.078947 | 0.097717 | 1,095 | 37 | 110 | 29.594595 | 0.781377 | 0.314155 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021798 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5bd6d26987de95c08875d876a27b097a1cd36232 | 72 | py | Python | quest/plugins/__init__.py | sdc50/quest | 95fee57e6fb177c4d32c5e6cffbde61333f81b7d | [
"BSD-3-Clause"
] | 12 | 2018-03-26T19:59:54.000Z | 2022-02-02T01:21:09.000Z | quest/plugins/__init__.py | sdc50/quest | 95fee57e6fb177c4d32c5e6cffbde61333f81b7d | [
"BSD-3-Clause"
] | 110 | 2018-02-08T19:56:15.000Z | 2019-05-30T20:55:09.000Z | quest/plugins/__init__.py | sdc50/quest | 95fee57e6fb177c4d32c5e6cffbde61333f81b7d | [
"BSD-3-Clause"
] | 10 | 2018-02-08T20:31:43.000Z | 2020-08-05T18:45:01.000Z | from .plugins import *
from .user_provider import *
from .base import *
| 18 | 28 | 0.75 | 10 | 72 | 5.3 | 0.6 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 29 | 24 | 0.883333 | 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 |
5be125dd892c89c18a791af2039c2bd682e81df5 | 50 | py | Python | my_code/my_code_file.py | renanbs/python-project-template | d8c674198208882f40377ac68beae89ea4fbe05f | [
"MIT"
] | null | null | null | my_code/my_code_file.py | renanbs/python-project-template | d8c674198208882f40377ac68beae89ea4fbe05f | [
"MIT"
] | null | null | null | my_code/my_code_file.py | renanbs/python-project-template | d8c674198208882f40377ac68beae89ea4fbe05f | [
"MIT"
] | null | null | null |
def dumb_function(one, two):
return one + two | 16.666667 | 28 | 0.68 | 8 | 50 | 4.125 | 0.75 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22 | 50 | 3 | 29 | 16.666667 | 0.846154 | 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 |
f369d56d36e1b3b73229f42de4844a915923da45 | 46 | py | Python | stimulus/__init__.py | m-deck/stimulus | f2c126aa4b9da653980b5fef0708a9cf2611f54e | [
"MIT"
] | null | null | null | stimulus/__init__.py | m-deck/stimulus | f2c126aa4b9da653980b5fef0708a9cf2611f54e | [
"MIT"
] | 20 | 2017-10-03T14:59:28.000Z | 2019-04-05T02:26:40.000Z | stimulus/__init__.py | m-deck/stimulus | f2c126aa4b9da653980b5fef0708a9cf2611f54e | [
"MIT"
] | 1 | 2017-09-12T20:30:13.000Z | 2017-09-12T20:30:13.000Z | from .stimulus import *
from .erlang import *
| 15.333333 | 23 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 24 | 23 | 0.894737 | 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 |
f395b3f682e41461b3c044f2dcdb0bf693e4f905 | 32 | py | Python | realtime_chat/youtube/__init__.py | MiAir-rm/py_realtime_chat | d317bbdf73ca89524eced9cd1390f8d05d2b63aa | [
"MIT"
] | null | null | null | realtime_chat/youtube/__init__.py | MiAir-rm/py_realtime_chat | d317bbdf73ca89524eced9cd1390f8d05d2b63aa | [
"MIT"
] | null | null | null | realtime_chat/youtube/__init__.py | MiAir-rm/py_realtime_chat | d317bbdf73ca89524eced9cd1390f8d05d2b63aa | [
"MIT"
] | null | null | null | from .chat import ChatDownloader | 32 | 32 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f39dde4c8d0c02ae776bf89425c24f75c6cf973c | 29,670 | py | Python | pirates/leveleditor/worldData/interior_shanty_guildhall.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/interior_shanty_guildhall.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/interior_shanty_guildhall.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.interior_shanty_guildhall
from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'Obje... | 4,238.571429 | 29,245 | 0.665251 | 4,041 | 29,670 | 4.839891 | 0.157387 | 0.023622 | 0.020861 | 0.022293 | 0.584007 | 0.523571 | 0.454903 | 0.378975 | 0.328408 | 0.321045 | 0 | 0.287941 | 0.070138 | 29,670 | 7 | 29,246 | 4,238.571429 | 0.420965 | 0.007786 | 0 | 0 | 0 | 0 | 0.539528 | 0.277425 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f3b465d0a27d8174a7194f4b68c5970ca78442e9 | 34 | py | Python | polynomials/polynomials/__init__.py | KateWenqiZhu/exercise_1 | 19cbe3cf4e3ca9152c4537ccf6961d6bc2840cb4 | [
"MIT"
] | null | null | null | polynomials/polynomials/__init__.py | KateWenqiZhu/exercise_1 | 19cbe3cf4e3ca9152c4537ccf6961d6bc2840cb4 | [
"MIT"
] | null | null | null | polynomials/polynomials/__init__.py | KateWenqiZhu/exercise_1 | 19cbe3cf4e3ca9152c4537ccf6961d6bc2840cb4 | [
"MIT"
] | null | null | null | from .polynomial import Polynomial | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 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 |
f3c62c0effc0c4ea5da01c7108516fe8e6539e9a | 2,744 | py | Python | tests/tagtrain/test_blacklist.py | c17r/TagTrain | 5aa1ca36439cc5e81d0c691f905a4bb879b78399 | [
"MIT"
] | null | null | null | tests/tagtrain/test_blacklist.py | c17r/TagTrain | 5aa1ca36439cc5e81d0c691f905a4bb879b78399 | [
"MIT"
] | 7 | 2020-03-24T17:54:31.000Z | 2021-09-21T12:34:34.000Z | tests/tagtrain/test_blacklist.py | c17r/TagTrain | 5aa1ca36439cc5e81d0c691f905a4bb879b78399 | [
"MIT"
] | null | null | null | from unittest.mock import MagicMock, patch
from tagtrain import data
from . import fake
from tagtrain.tagtrain.tt_blacklist import Blacklist
@patch('tagtrain.data.by_owner.blacklist_user')
def test_unknown_group(blacklist_user):
blacklist_user.side_effect = data.Group.DoesNotExist()
app, reply, message, mat... | 36.586667 | 107 | 0.749271 | 339 | 2,744 | 5.79056 | 0.176991 | 0.13245 | 0.081508 | 0.101885 | 0.843607 | 0.843607 | 0.843607 | 0.802853 | 0.802853 | 0.780438 | 0 | 0 | 0.127551 | 2,744 | 74 | 108 | 37.081081 | 0.819967 | 0 | 0 | 0.479167 | 0 | 0 | 0.265306 | 0.06742 | 0 | 0 | 0 | 0 | 0.208333 | 1 | 0.104167 | false | 0 | 0.083333 | 0 | 0.1875 | 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 |
cab04ad3bf602b485b4cc9821c2dc58a84ce0de2 | 18,047 | py | Python | vm_network_migration_end_to_end_tests/test_target_pool_migration/test_target_pool_migration.py | googleinterns/vm-network-migration | 1132e44d696ab9da4d1079ebc3d32ed4382cdc28 | [
"Apache-2.0"
] | 1 | 2020-05-27T00:30:47.000Z | 2020-05-27T00:30:47.000Z | vm_network_migration_end_to_end_tests/test_target_pool_migration/test_target_pool_migration.py | yueMaHello/vm-network-migration | 4a6bdbb2952fb8ee8022b5c0452159329a79e953 | [
"Apache-2.0"
] | 1 | 2020-06-03T15:51:20.000Z | 2020-06-03T15:51:20.000Z | vm_network_migration_end_to_end_tests/test_target_pool_migration/test_target_pool_migration.py | yueMaHello/vm-network-migration | 4a6bdbb2952fb8ee8022b5c0452159329a79e953 | [
"Apache-2.0"
] | 3 | 2020-06-03T15:17:00.000Z | 2020-06-20T08:39:50.000Z | # Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 49.716253 | 114 | 0.66349 | 1,929 | 18,047 | 5.750648 | 0.105236 | 0.052285 | 0.07356 | 0.105742 | 0.788605 | 0.764987 | 0.753448 | 0.739475 | 0.721626 | 0.721626 | 0 | 0.008782 | 0.280711 | 18,047 | 362 | 115 | 49.853591 | 0.845775 | 0.105004 | 0 | 0.702509 | 0 | 0 | 0.079138 | 0.0594 | 0 | 0 | 0 | 0 | 0.060932 | 1 | 0.028674 | false | 0.021505 | 0.039427 | 0 | 0.071685 | 0.021505 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.