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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d405afa599d0de335b643bdb4f60f66549b0f0c6 | 4,101 | py | Python | gradient/api_sdk/models/job.py | Exitussru/GradientCI | 014d4e36d8456e805b78e75562b8235221b62b9e | [
"0BSD"
] | null | null | null | gradient/api_sdk/models/job.py | Exitussru/GradientCI | 014d4e36d8456e805b78e75562b8235221b62b9e | [
"0BSD"
] | null | null | null | gradient/api_sdk/models/job.py | Exitussru/GradientCI | 014d4e36d8456e805b78e75562b8235221b62b9e | [
"0BSD"
] | null | null | null | import attr
@attr.s
class Job(object):
id = attr.ib(type=str, default=None)
name = attr.ib(type=str, default=None)
state = attr.ib(type=str, default=None)
working_directory = attr.ib(type=str, default=None)
artifacts_directory = attr.ib(type=str, default=None)
entrypoint = attr.ib(type=str, de... | 47.137931 | 62 | 0.707632 | 649 | 4,101 | 4.334361 | 0.164869 | 0.168503 | 0.280839 | 0.29577 | 0.811945 | 0.811945 | 0.613224 | 0.179168 | 0 | 0 | 0 | 0 | 0.156303 | 4,101 | 86 | 63 | 47.686047 | 0.813006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.02439 | 0.012195 | 0 | 0.987805 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d40bf55e58e832de7c1e139b0810eabe25ee845e | 354 | py | Python | dbt/adapters/synapseserverless/impl.py | dbt-msft/dbt-synapse-serverless | 953bbefc8067a1b787bca72efd1bede4744da138 | [
"MIT"
] | 4 | 2021-10-04T20:15:29.000Z | 2021-11-12T15:40:24.000Z | dbt/adapters/synapseserverless/impl.py | dbt-msft/dbt-synapse-serverless | 953bbefc8067a1b787bca72efd1bede4744da138 | [
"MIT"
] | 1 | 2022-03-30T07:27:06.000Z | 2022-03-30T07:27:06.000Z | dbt/adapters/synapseserverless/impl.py | dbt-msft/dbt-synapse-serverless | 953bbefc8067a1b787bca72efd1bede4744da138 | [
"MIT"
] | null | null | null | from dbt.adapters.synapse import SynapseAdapter
from dbt.adapters.synapseserverless import SynapseServerlessConnectionManager
from dbt.adapters.synapseserverless.relation import SynapseServerlessRelation
class SynapseServerlessAdapter(SynapseAdapter):
Relation = SynapseServerlessRelation
ConnectionManager = ... | 39.333333 | 77 | 0.881356 | 26 | 354 | 12 | 0.5 | 0.067308 | 0.144231 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 354 | 9 | 78 | 39.333333 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d40f10f0e00000ae1b948392a581c0d8630a8dcb | 54 | py | Python | 04/01/instance_method/time.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | 04/01/instance_method/time.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | 32 | 2017-09-01T00:52:17.000Z | 2017-10-01T00:30:02.000Z | 04/01/instance_method/time.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | import datetime
print(datetime.datetime.now().time())
| 18 | 37 | 0.777778 | 7 | 54 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 54 | 2 | 38 | 27 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 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 | 5 |
d40f8cc6e15670b51197446587e41f929d88b7bc | 81 | py | Python | CodeWars/8 Kyu/String cleaning.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/String cleaning.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/String cleaning.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def string_clean(s):
return ''.join(ch for ch in s if ch not in '0123456789') | 40.5 | 60 | 0.679012 | 16 | 81 | 3.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.197531 | 81 | 2 | 60 | 40.5 | 0.676923 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
d412a3c1193b2ec53da57b5457dda11e00c7a55c | 75 | py | Python | List_Swap.py | poojadhoble32/python-projects | 4c094dd0072d4213344e26476e4e99a4a12246e7 | [
"bzip2-1.0.6"
] | null | null | null | List_Swap.py | poojadhoble32/python-projects | 4c094dd0072d4213344e26476e4e99a4a12246e7 | [
"bzip2-1.0.6"
] | null | null | null | List_Swap.py | poojadhoble32/python-projects | 4c094dd0072d4213344e26476e4e99a4a12246e7 | [
"bzip2-1.0.6"
] | null | null | null | L=[23,45,88,23,56,78,96]
Temp=L[0]
L[0]=L[-1]
L[-1]=Temp
print(L)
| 9.375 | 25 | 0.493333 | 20 | 75 | 1.85 | 0.55 | 0.108108 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295082 | 0.186667 | 75 | 7 | 26 | 10.714286 | 0.311475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d43be0e2f80b22cec275825e4c50f64fad0ea984 | 113 | py | Python | sandbox/python/global_vars/leak.py | rboman/progs | c60b4e0487d01ccd007bcba79d1548ebe1685655 | [
"Apache-2.0"
] | 2 | 2021-12-12T13:26:06.000Z | 2022-03-03T16:14:53.000Z | sandbox/python/global_vars/leak.py | rboman/progs | c60b4e0487d01ccd007bcba79d1548ebe1685655 | [
"Apache-2.0"
] | 5 | 2019-03-01T07:08:46.000Z | 2019-04-28T07:32:42.000Z | sandbox/python/global_vars/leak.py | rboman/progs | c60b4e0487d01ccd007bcba79d1548ebe1685655 | [
"Apache-2.0"
] | 2 | 2017-12-13T13:13:52.000Z | 2019-03-13T20:08:15.000Z |
print('import mymod')
import mymod
print('calling mymod.func()')
aG = mymod.func()
print('end of', __file__)
| 12.555556 | 29 | 0.681416 | 16 | 113 | 4.5625 | 0.5625 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 113 | 8 | 30 | 14.125 | 0.752577 | 0 | 0 | 0 | 0 | 0 | 0.339286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.6 | 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 | 0 | 1 | 0 | 5 |
00fb78fe7835a7048c88a2d350b01cbd77a69a6b | 974 | py | Python | brains/speak.py | timwford/wilson | 90096cea4edc2c25f2ee18f717cc3cd81c546d6e | [
"MIT"
] | null | null | null | brains/speak.py | timwford/wilson | 90096cea4edc2c25f2ee18f717cc3cd81c546d6e | [
"MIT"
] | null | null | null | brains/speak.py | timwford/wilson | 90096cea4edc2c25f2ee18f717cc3cd81c546d6e | [
"MIT"
] | null | null | null | import asyncio
from brains.enums import Sound
from motion import ser
async def manual_noise_for_(sound: str):
ser.write(str.encode(sound))
async def chirp():
ser.write(str.encode(Sound.HIGH_FAST.value))
ser.write(str.encode(Sound.LOW_FAST.value))
ser.write(str.encode(Sound.HIGH_SLOW.value))
async... | 26.324324 | 52 | 0.685832 | 155 | 974 | 4.212903 | 0.232258 | 0.147014 | 0.202144 | 0.312404 | 0.753446 | 0.719755 | 0.719755 | 0.715161 | 0.537519 | 0.537519 | 0 | 0.009988 | 0.177618 | 974 | 36 | 53 | 27.055556 | 0.805243 | 0 | 0 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.12 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2e06eb6b131d97c17716a0d1dd9e334f46d0d5be | 41 | py | Python | main.py | Aukbit/apollo | 0afd1360f5a102335c55afaf138e0ecb96644128 | [
"MIT"
] | null | null | null | main.py | Aukbit/apollo | 0afd1360f5a102335c55afaf138e0ecb96644128 | [
"MIT"
] | null | null | null | main.py | Aukbit/apollo | 0afd1360f5a102335c55afaf138e0ecb96644128 | [
"MIT"
] | null | null | null | from apollo.main import (app)
app = app
| 10.25 | 29 | 0.707317 | 7 | 41 | 4.142857 | 0.714286 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 3 | 30 | 13.666667 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2e09e15baa7456465ac81a7a181977f8b9e812ed | 205 | py | Python | colossalai/tensor/_ops/__init__.py | wangkuangyi/ColossalAI | 67c33f57eb14f52da09a83f7577575f325280659 | [
"Apache-2.0"
] | null | null | null | colossalai/tensor/_ops/__init__.py | wangkuangyi/ColossalAI | 67c33f57eb14f52da09a83f7577575f325280659 | [
"Apache-2.0"
] | null | null | null | colossalai/tensor/_ops/__init__.py | wangkuangyi/ColossalAI | 67c33f57eb14f52da09a83f7577575f325280659 | [
"Apache-2.0"
] | null | null | null | from .linear import colo_linear
from .element_wise import *
from .layernorm import colo_layernorm
# from .loss import colo_cross_entropy
from .embedding import colo_embedding
from .addmm import colo_addmm
| 29.285714 | 38 | 0.839024 | 30 | 205 | 5.5 | 0.4 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 205 | 6 | 39 | 34.166667 | 0.916667 | 0.17561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 5 |
2e410cb2a1d42ddef7e66b94793d5719006ba2dd | 134 | py | Python | Backend/lib/__init__.py | BloodyRookieStefan/Albatros_AutoReservation | ed2519b523f1388de9ae0475e26a4001f3ee5b98 | [
"MIT"
] | 1 | 2021-05-15T21:03:39.000Z | 2021-05-15T21:03:39.000Z | Backend/lib/__init__.py | BloodyRookieStefan/Albatros_AutoReservation | ed2519b523f1388de9ae0475e26a4001f3ee5b98 | [
"MIT"
] | 1 | 2021-05-18T13:26:06.000Z | 2021-05-22T07:59:22.000Z | Backend/lib/__init__.py | BloodyRookieStefan/Albatros_AutoReservation | ed2519b523f1388de9ae0475e26a4001f3ee5b98 | [
"MIT"
] | null | null | null | from .browser import CBrowser
from .progEnums import *
from .logging import log, log_warning, log_error
from .settings import settings | 33.5 | 48 | 0.820896 | 19 | 134 | 5.684211 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126866 | 134 | 4 | 49 | 33.5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2e6fd76f9339da94653aeb08a4e7a6e86b705028 | 3,702 | py | Python | pydgn/model/interface.py | terragord7/PyDGN | 60918b42126c25c8f8d4ab083a0e3d548f7092ca | [
"BSD-3-Clause"
] | 1 | 2022-03-05T07:10:13.000Z | 2022-03-05T07:10:13.000Z | pydgn/model/interface.py | terragord7/PyDGN | 60918b42126c25c8f8d4ab083a0e3d548f7092ca | [
"BSD-3-Clause"
] | null | null | null | pydgn/model/interface.py | terragord7/PyDGN | 60918b42126c25c8f8d4ab083a0e3d548f7092ca | [
"BSD-3-Clause"
] | null | null | null | from typing import Callable, Tuple, Optional, List
import torch
from torch_geometric.data import Batch
class ModelInterface(torch.nn.Module):
r"""
Provides the signature for any main model to be trained under PyDGN
Args:
dim_node_features (int): dimension of node features (according t... | 46.275 | 191 | 0.648298 | 434 | 3,702 | 5.380184 | 0.218894 | 0.051392 | 0.051392 | 0.048822 | 0.773448 | 0.749465 | 0.725482 | 0.725482 | 0.725482 | 0.691221 | 0 | 0 | 0.266613 | 3,702 | 80 | 192 | 46.275 | 0.860037 | 0.515397 | 0 | 0.578947 | 0 | 0 | 0.044884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.078947 | 0 | 0.236842 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5cf7bfe5a4f1c54a244cb4e157695174e2f3022c | 61 | py | Python | pvmismatch/contrib/xlsio/__init__.py | keenchan/pv | 793f6fbc91f0a55cfec7f5861ce4e0acd8b8e5e1 | [
"BSD-3-Clause"
] | 54 | 2017-05-17T17:48:32.000Z | 2022-02-24T18:52:08.000Z | pvmismatch/contrib/xlsio/__init__.py | keenchan/pv | 793f6fbc91f0a55cfec7f5861ce4e0acd8b8e5e1 | [
"BSD-3-Clause"
] | 98 | 2017-01-12T04:56:01.000Z | 2021-03-02T13:49:30.000Z | pvmismatch/contrib/xlsio/__init__.py | keenchan/pv | 793f6fbc91f0a55cfec7f5861ce4e0acd8b8e5e1 | [
"BSD-3-Clause"
] | 24 | 2017-01-11T23:30:53.000Z | 2022-02-04T16:24:29.000Z | # API for xlsio
from pvmismatch.contrib.xlsio.xlsio import *
| 20.333333 | 44 | 0.786885 | 9 | 61 | 5.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 45 | 30.5 | 0.90566 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5cf8f763626cf7bc3f497db30c61bc9358f2ec4a | 276 | py | Python | venv/lib/python3.8/site-packages/azureml/_cli/__main__.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/azureml/_cli/__main__.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/azureml/_cli/__main__.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | 2 | 2021-05-23T16:46:31.000Z | 2021-05-26T23:51:09.000Z | # ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from azureml._cli import aml_cli
if __name__ == '__main__':
aml_cli.start_cli()
| 27.6 | 60 | 0.394928 | 20 | 276 | 4.85 | 0.8 | 0.123711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134058 | 276 | 9 | 61 | 30.666667 | 0.405858 | 0.626812 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cf11c98cad92351e18ced6dd9cf706badf4c12c1 | 360 | py | Python | tcex/decorators/__init__.py | GShepherdTC/tcex | 70b1199b8bb9e63f53e2ba792489267108c909cd | [
"Apache-2.0"
] | null | null | null | tcex/decorators/__init__.py | GShepherdTC/tcex | 70b1199b8bb9e63f53e2ba792489267108c909cd | [
"Apache-2.0"
] | null | null | null | tcex/decorators/__init__.py | GShepherdTC/tcex | 70b1199b8bb9e63f53e2ba792489267108c909cd | [
"Apache-2.0"
] | null | null | null | """Decorators module for TcEx Framework"""
# flake8: noqa
# first-party
from tcex.decorators.benchmark import Benchmark
from tcex.decorators.debug import Debug
from tcex.decorators.fail_on_output import FailOnOutput
from tcex.decorators.on_exception import OnException
from tcex.decorators.on_success import OnSuccess
fr... | 36 | 55 | 0.844444 | 49 | 360 | 6.122449 | 0.428571 | 0.16 | 0.36 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003067 | 0.094444 | 360 | 9 | 56 | 40 | 0.917178 | 0.172222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 5 |
cf51a849f53c4c5bc96452fd6c298cd092000821 | 6,419 | py | Python | polyglot/tests/test_ebook.py | connectthefuture/polyglot | 7704da0722f9393dfc8d7d0971fa909116e567ed | [
"MIT"
] | null | null | null | polyglot/tests/test_ebook.py | connectthefuture/polyglot | 7704da0722f9393dfc8d7d0971fa909116e567ed | [
"MIT"
] | null | null | null | polyglot/tests/test_ebook.py | connectthefuture/polyglot | 7704da0722f9393dfc8d7d0971fa909116e567ed | [
"MIT"
] | null | null | null | import os
import nose
import shutil
import yaml
from polyglot.utKit import utKit
from fundamentals import tools
su = tools(
arguments={"settingsFile": None},
docString=__doc__,
logLevel="DEBUG",
options_first=False,
projectName="polyglot"
)
arguments, settings, log, dbConn = su.setup()
# # load s... | 31.777228 | 97 | 0.580308 | 642 | 6,419 | 5.757009 | 0.193146 | 0.039773 | 0.119318 | 0.130682 | 0.7546 | 0.747294 | 0.737825 | 0.717803 | 0.69724 | 0.69724 | 0 | 0.008832 | 0.294438 | 6,419 | 201 | 98 | 31.935323 | 0.807242 | 0.428416 | 0 | 0.552083 | 0 | 0 | 0.182274 | 0.006132 | 0 | 0 | 0 | 0 | 0.020833 | 0 | null | null | 0.010417 | 0.114583 | null | null | 0.052083 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cf54bfd8e26202aae7a8614209aa0b65e58929cb | 89 | py | Python | tenants/admin.py | Zayanto/Protocol-CRM | c81489d69de581d8216e20f7dd80089116f85c7b | [
"MIT"
] | null | null | null | tenants/admin.py | Zayanto/Protocol-CRM | c81489d69de581d8216e20f7dd80089116f85c7b | [
"MIT"
] | null | null | null | tenants/admin.py | Zayanto/Protocol-CRM | c81489d69de581d8216e20f7dd80089116f85c7b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Tenant
admin.site.register(Tenant)
| 17.8 | 32 | 0.820225 | 13 | 89 | 5.615385 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 89 | 4 | 33 | 22.25 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d86e39cdeb3c331a2c3945a33eb7c982c0a2fb9b | 865 | py | Python | SemesterProject/app.py | CMoskey/CMPT-120L-910-20F | 40f8faedffc838eb68e00f82f43b686b7663793d | [
"MIT"
] | null | null | null | SemesterProject/app.py | CMoskey/CMPT-120L-910-20F | 40f8faedffc838eb68e00f82f43b686b7663793d | [
"MIT"
] | null | null | null | SemesterProject/app.py | CMoskey/CMPT-120L-910-20F | 40f8faedffc838eb68e00f82f43b686b7663793d | [
"MIT"
] | null | null | null | #Imports
from flask import Flask
from flask import render_template
import logging
#logging
#WEBPAGES
app = Flask(__name__)
@app.route('/')
def index():
return render_template("index.html")
@app.route('/elements')
def elements():
return render_template("elements.html")
@app.route('/generic')... | 15.727273 | 48 | 0.704046 | 110 | 865 | 5.4 | 0.345455 | 0.212121 | 0.26936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021769 | 0.150289 | 865 | 55 | 49 | 15.727273 | 0.786395 | 0.092486 | 0 | 0 | 0 | 0 | 0.185659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.107143 | 0.285714 | 0.678571 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
d89a72c317501fdbc30404a8c7d89f31faf82b67 | 15 | py | Python | __init__.py | kostiskag/PyWall | 1b27a699d6775b066fdd903f5a802c5086c8b5ad | [
"CC-BY-4.0"
] | 5 | 2017-12-29T14:51:13.000Z | 2021-02-11T01:24:49.000Z | __init__.py | kostiskag/PyWall | 1b27a699d6775b066fdd903f5a802c5086c8b5ad | [
"CC-BY-4.0"
] | null | null | null | __init__.py | kostiskag/PyWall | 1b27a699d6775b066fdd903f5a802c5086c8b5ad | [
"CC-BY-4.0"
] | 1 | 2018-07-13T22:17:06.000Z | 2018-07-13T22:17:06.000Z | #def init file
| 7.5 | 14 | 0.733333 | 3 | 15 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 15 | 1 | 15 | 15 | 0.916667 | 0.866667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
d8f1f4dca81841ce18b29e70d5782d7d5a925b25 | 29 | py | Python | codeball/utils/__init__.py | metrica-sports/codeball | 60bfe54b7898bed87cbbbae9dfc0f3bc49d31025 | [
"MIT"
] | 54 | 2020-09-16T13:09:03.000Z | 2022-03-28T12:32:19.000Z | codeball/utils/__init__.py | metrica-sports/codeball | 60bfe54b7898bed87cbbbae9dfc0f3bc49d31025 | [
"MIT"
] | null | null | null | codeball/utils/__init__.py | metrica-sports/codeball | 60bfe54b7898bed87cbbbae9dfc0f3bc49d31025 | [
"MIT"
] | 9 | 2021-03-28T13:02:57.000Z | 2022-03-24T11:19:06.000Z | from .json_encoders import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 | 0 | 0 | 0 | 5 |
d8faa8dfd6ab65490846de148509b3b1572669ca | 69 | py | Python | simple_dyn365/__init__.py | adam-mah/simple-dyn365 | 727b082082d31b89b405f7dbe042dde6fff0edc0 | [
"MIT"
] | 1 | 2022-03-30T18:23:53.000Z | 2022-03-30T18:23:53.000Z | simple_dyn365/__init__.py | adam-mah/simple-dyn365 | 727b082082d31b89b405f7dbe042dde6fff0edc0 | [
"MIT"
] | null | null | null | simple_dyn365/__init__.py | adam-mah/simple-dyn365 | 727b082082d31b89b405f7dbe042dde6fff0edc0 | [
"MIT"
] | null | null | null | from .api import Dynamics, DYNEntity
from .login import DynamicsLogin | 34.5 | 36 | 0.84058 | 9 | 69 | 6.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 37 | 34.5 | 0.95082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2b130429c1ab4053ae4692d5bc942ce2b5b1b10b | 152 | py | Python | named_dates/__init__.py | pschoenfelder/named_dates | 21eadcf7fbbe7f618a37580be668c1600554fbd8 | [
"MIT"
] | null | null | null | named_dates/__init__.py | pschoenfelder/named_dates | 21eadcf7fbbe7f618a37580be668c1600554fbd8 | [
"MIT"
] | null | null | null | named_dates/__init__.py | pschoenfelder/named_dates | 21eadcf7fbbe7f618a37580be668c1600554fbd8 | [
"MIT"
] | null | null | null | from .named_dates import NamedDate, NamedDates,\
NamedDateError, DateLogicError, NamedDatesKeyError, MissingArgumentsError,\
NoNthWeekdayError
| 30.4 | 79 | 0.815789 | 11 | 152 | 11.181818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 152 | 4 | 80 | 38 | 0.924812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2b21e3d8a4290bacb1e2fe5c4bd7f3af4085933a | 1,768 | py | Python | tests/test_accmass.py | Molecular-Proteomics/riana | 02969b36def546931ed34eaff102d1c72374277e | [
"MIT"
] | 1 | 2019-05-15T02:48:55.000Z | 2019-05-15T02:48:55.000Z | tests/test_accmass.py | MurariGaurav/riana | 1f96edffefe46c3124b4278647ebbd96b175ab22 | [
"MIT"
] | 2 | 2019-08-23T15:12:47.000Z | 2019-08-24T14:35:42.000Z | tests/test_accmass.py | Molecular-Proteomics/riana | 02969b36def546931ed34eaff102d1c72374277e | [
"MIT"
] | null | null | null | import unittest
from riana import accmass
class PeptideMassTest(unittest.TestCase):
"""
Test cases involving calculating peptide masses
"""
def setUp(self):
"""
:return:
"""
pass
def tearDown(self):
"""
:return:
"""
pass
... | 31.017544 | 103 | 0.67138 | 203 | 1,768 | 5.714286 | 0.399015 | 0.151724 | 0.180172 | 0.199138 | 0.525 | 0.525 | 0.446552 | 0.446552 | 0.274138 | 0.274138 | 0 | 0.062992 | 0.209842 | 1,768 | 56 | 104 | 31.571429 | 0.767359 | 0.138009 | 0 | 0.166667 | 0 | 0 | 0.113194 | 0.015278 | 0 | 0 | 0 | 0 | 0.458333 | 1 | 0.208333 | false | 0.083333 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
2b413ac5e61ae4305b43f41495393ca6c84b936c | 116 | py | Python | community/tests.py | cumanachao/utopia-crm | 6d648971c427ca9f380b15ed0ceaf5767b88e8b9 | [
"BSD-3-Clause"
] | 13 | 2020-12-14T19:56:04.000Z | 2021-11-06T13:24:48.000Z | community/tests.py | cumanachao/utopia-crm | 6d648971c427ca9f380b15ed0ceaf5767b88e8b9 | [
"BSD-3-Clause"
] | 5 | 2020-12-14T19:56:30.000Z | 2021-09-22T22:09:39.000Z | community/tests.py | cumanachao/utopia-crm | 6d648971c427ca9f380b15ed0ceaf5767b88e8b9 | [
"BSD-3-Clause"
] | 3 | 2021-03-24T03:55:08.000Z | 2022-01-13T15:22:34.000Z | # coding=utf-8
from __future__ import unicode_literals
from django.test import TestCase
# Create your tests here.
| 16.571429 | 39 | 0.801724 | 17 | 116 | 5.176471 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.146552 | 116 | 6 | 40 | 19.333333 | 0.878788 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2b7327355cc391b94122db63543339a82d024f66 | 157 | py | Python | development/database_ER_diagram/create_diagram.py | king-michael/simulation_database | 98ed59a599fe47f011c850d65b2941c81974806c | [
"Apache-2.0"
] | null | null | null | development/database_ER_diagram/create_diagram.py | king-michael/simulation_database | 98ed59a599fe47f011c850d65b2941c81974806c | [
"Apache-2.0"
] | null | null | null | development/database_ER_diagram/create_diagram.py | king-michael/simulation_database | 98ed59a599fe47f011c850d65b2941c81974806c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from simdb.databaseModel import *
from eralchemy import render_er
## Draw from SQLAlchemy base
render_er(Base, 'erd_from_simdb.png')
| 19.625 | 37 | 0.783439 | 24 | 157 | 4.958333 | 0.666667 | 0.151261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121019 | 157 | 7 | 38 | 22.428571 | 0.862319 | 0.292994 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
99560d2d92ea43ad250a6c3c0f006832e42bf890 | 119 | py | Python | packages/Mock/SQScriptEditor/__init__.py | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 7 | 2016-02-13T18:47:23.000Z | 2020-07-03T13:47:49.000Z | packages/Mock/SQScriptEditor/__init__.py | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 1 | 2018-06-13T04:55:27.000Z | 2021-11-05T05:52:51.000Z | packages/Mock/SQScriptEditor/__init__.py | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 4 | 2016-02-15T13:32:46.000Z | 2019-12-12T17:22:31.000Z | from SQScriptEditorWidget import registerSQNodeEditor, SQNodeEditor
import SQScriptEditor
import CommonSQNodeEditor
| 17 | 67 | 0.890756 | 9 | 119 | 11.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 119 | 6 | 68 | 19.833333 | 0.990654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
995fda9a9b9ac49e5a4d5b03b6e419848eb9ca65 | 26 | py | Python | python/testData/editing/singleElse.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/editing/singleElse.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/editing/singleElse.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | if 1:
pass
else:
#blah
| 4.333333 | 6 | 0.576923 | 5 | 26 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.307692 | 26 | 5 | 7 | 5.2 | 0.777778 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.333333 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9969a04ecf7b728d3fa1e39ac13d539454d45e32 | 339 | py | Python | test/test_exception_logging.py | psydox/pyproj | af695bf44ad1c6d09290005a0979eae28a3c0d37 | [
"MIT"
] | 467 | 2019-03-19T14:56:31.000Z | 2022-03-31T17:28:52.000Z | test/test_exception_logging.py | psydox/pyproj | af695bf44ad1c6d09290005a0979eae28a3c0d37 | [
"MIT"
] | 661 | 2019-03-14T01:05:56.000Z | 2022-03-31T19:53:56.000Z | test/test_exception_logging.py | psydox/pyproj | af695bf44ad1c6d09290005a0979eae28a3c0d37 | [
"MIT"
] | 113 | 2019-03-14T02:56:26.000Z | 2022-03-31T17:57:35.000Z | import pytest
from pyproj import CRS, Proj
from pyproj.exceptions import CRSError, ProjError
def test_proj_exception():
with pytest.raises(ProjError, match="Internal Proj Error"):
Proj("+proj=bobbyjoe")
def test_crs_exception():
with pytest.raises(CRSError, match="Internal Proj Error"):
CRS... | 22.6 | 63 | 0.722714 | 43 | 339 | 5.604651 | 0.418605 | 0.082988 | 0.157676 | 0.207469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168142 | 339 | 14 | 64 | 24.214286 | 0.85461 | 0 | 0 | 0 | 0 | 0 | 0.19469 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
997ab982c4252a667fdfcc8e074ccc3f1d9aa5f3 | 58 | py | Python | packs/checker.py | tarepan/pipinstallgithub | a174405c81d30773dc13138caed72c706b79851e | [
"MIT"
] | null | null | null | packs/checker.py | tarepan/pipinstallgithub | a174405c81d30773dc13138caed72c706b79851e | [
"MIT"
] | null | null | null | packs/checker.py | tarepan/pipinstallgithub | a174405c81d30773dc13138caed72c706b79851e | [
"MIT"
] | null | null | null | def check():
print("hello world, I am from GitHub!!")
| 19.333333 | 44 | 0.62069 | 9 | 58 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 2 | 45 | 29 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.534483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
998f865e9b2028fec524bfbffe9e0e49eeed82b4 | 22 | py | Python | tccli/services/gme/v20180711/__init__.py | ivandksun/tencentcloud-cli-intl-en | 41b84e339918961b8bc92f7498e56347d21e16d3 | [
"Apache-2.0"
] | null | null | null | tccli/services/gme/v20180711/__init__.py | ivandksun/tencentcloud-cli-intl-en | 41b84e339918961b8bc92f7498e56347d21e16d3 | [
"Apache-2.0"
] | 1 | 2022-02-07T13:39:09.000Z | 2022-02-07T13:39:09.000Z | tccli/services/gme/v20180711/__init__.py | ivandksun/tencentcloud-cli-intl-en | 41b84e339918961b8bc92f7498e56347d21e16d3 | [
"Apache-2.0"
] | 4 | 2020-07-20T01:51:58.000Z | 2021-08-13T08:25:22.000Z | version = "2018-07-11" | 22 | 22 | 0.681818 | 4 | 22 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.090909 | 22 | 1 | 22 | 22 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
99aac89088a93d88c35369c0d27f2f86b3bea1d8 | 873 | py | Python | Codewars/8kyu/printing-array-elements-with-comma-delimiters/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/printing-array-elements-with-comma-delimiters/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/printing-array-elements-with-comma-delimiters/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 2.7.6
Test.describe('Basic Tests')
data = [2]
Test.assert_equals(print_array(data), '2')
data = [2, 4, 5, 2]
Test.assert_equals(print_array(data), '2,4,5,2')
data = [2, 4, 5, 2]
Test.assert_equals(print_array(data), '2,4,5,2')
data = [2.0, 4.2, 5.1, 2.2]
Test.assert_equals(print_array(data), '2.0,4.2,5.1... | 28.16129 | 96 | 0.605956 | 160 | 873 | 3.20625 | 0.19375 | 0.097466 | 0.249513 | 0.327485 | 0.877193 | 0.838207 | 0.779727 | 0.662768 | 0.551657 | 0.516569 | 0 | 0.082245 | 0.122566 | 873 | 30 | 97 | 29.1 | 0.587467 | 0.016037 | 0 | 0.333333 | 0 | 0.047619 | 0.234539 | 0.039673 | 0 | 0 | 0 | 0 | 0.380952 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.380952 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
41ecfd3a6711c64cdf77eee3843e70428c5e691f | 211 | py | Python | tests/builtins/test_list.py | akubera/batavia | b56f2a3f54242f81aea3a5a048356a03f0d49494 | [
"BSD-3-Clause"
] | 1 | 2018-05-17T08:46:16.000Z | 2018-05-17T08:46:16.000Z | tests/builtins/test_list.py | akubera/batavia | b56f2a3f54242f81aea3a5a048356a03f0d49494 | [
"BSD-3-Clause"
] | 4 | 2021-03-11T07:02:43.000Z | 2022-02-19T07:00:35.000Z | tests/builtins/test_list.py | akubera/batavia | b56f2a3f54242f81aea3a5a048356a03f0d49494 | [
"BSD-3-Clause"
] | null | null | null | from .. utils import TranspileTestCase, BuiltinFunctionTestCase
class ListTests(TranspileTestCase):
pass
class BuiltinListFunctionTests(BuiltinFunctionTestCase, TranspileTestCase):
function = "list"
| 21.1 | 75 | 0.810427 | 15 | 211 | 11.4 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127962 | 211 | 9 | 76 | 23.444444 | 0.929348 | 0 | 0 | 0 | 0 | 0 | 0.018957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.8 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
513507f42f9e1c26541c6848a2b201050b5b80b4 | 61 | py | Python | app/api/role/__init__.py | felbinger/FlaskBasic | 803fc5b07638e7d85eddccd00ca20567e57519f0 | [
"MIT"
] | 2 | 2019-12-18T17:45:52.000Z | 2020-04-21T12:45:32.000Z | app/api/role/__init__.py | felbinger/FlaskBasic | 803fc5b07638e7d85eddccd00ca20567e57519f0 | [
"MIT"
] | 1 | 2020-07-04T17:10:29.000Z | 2020-07-10T18:55:43.000Z | app/api/role/__init__.py | felbinger/FlaskBasic | 803fc5b07638e7d85eddccd00ca20567e57519f0 | [
"MIT"
] | null | null | null | from .models import Role
from .resources import RoleResource
| 20.333333 | 35 | 0.836066 | 8 | 61 | 6.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 36 | 30.5 | 0.962264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
514f402e90acff6fc6edb26b43994f3abb54724a | 50 | py | Python | TorchProteinLibrary/Volume/TypedCoords2Volume/__init__.py | dendisuhubdy/TorchProteinLibrary | 89f0f6c311658b9313484cd92804682a251b1b97 | [
"MIT"
] | 96 | 2018-10-18T20:08:32.000Z | 2021-09-27T11:31:25.000Z | TorchProteinLibrary/Volume/TypedCoords2Volume/__init__.py | dendisuhubdy/TorchProteinLibrary | 89f0f6c311658b9313484cd92804682a251b1b97 | [
"MIT"
] | 24 | 2018-10-19T13:59:21.000Z | 2021-08-04T16:13:48.000Z | TorchProteinLibrary/Volume/TypedCoords2Volume/__init__.py | dendisuhubdy/TorchProteinLibrary | 89f0f6c311658b9313484cd92804682a251b1b97 | [
"MIT"
] | 23 | 2018-12-06T06:17:18.000Z | 2021-10-05T12:46:34.000Z | from .TypedCoords2Volume import TypedCoords2Volume | 50 | 50 | 0.92 | 4 | 50 | 11.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.06 | 50 | 1 | 50 | 50 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
515d4268e75c3f769a8fcc47d20f143ed862591e | 70 | py | Python | Level1/Lessons12903/gamjapark.py | StudyForCoding/ProgrammersLevel | dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25 | [
"MIT"
] | null | null | null | Level1/Lessons12903/gamjapark.py | StudyForCoding/ProgrammersLevel | dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25 | [
"MIT"
] | null | null | null | Level1/Lessons12903/gamjapark.py | StudyForCoding/ProgrammersLevel | dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25 | [
"MIT"
] | 1 | 2021-04-05T07:35:59.000Z | 2021-04-05T07:35:59.000Z | def solution(s):
slen = len(s)
return s[(slen-1)//2:slen//2+1] | 23.333333 | 35 | 0.557143 | 14 | 70 | 2.785714 | 0.571429 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.2 | 70 | 3 | 35 | 23.333333 | 0.625 | 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 | 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 | 0 | 1 | 0 | 0 | 5 |
516730dcaaf801185ede39378100b515ddbd048a | 425 | py | Python | src/tools/type.py | knarfeh/jianshu2e-book | d638fb8c2f47cf8e91e9f74e2e1e5f61f3c98a48 | [
"MIT"
] | 7 | 2016-03-19T13:23:45.000Z | 2016-08-15T14:05:34.000Z | src/tools/type.py | knarfeh/jianshu2e-book | d638fb8c2f47cf8e91e9f74e2e1e5f61f3c98a48 | [
"MIT"
] | 2 | 2021-03-22T17:11:32.000Z | 2021-12-13T19:36:17.000Z | src/tools/type.py | ee-book/jianshu2e-book | d638fb8c2f47cf8e91e9f74e2e1e5f61f3c98a48 | [
"MIT"
] | 2 | 2019-04-18T05:44:24.000Z | 2021-06-10T09:35:44.000Z | # -*- coding: utf-8 -*-
class Type(object):
jianshu_article = 'jianshu_article' # 类型是单篇的文章 TODO
jianshu = 'jianshu' # 类型是简书文章的集锦
jianshu_info = 'jianshu_info'
jianshu_article_type_list = ['jianshu']
info_table = {
'jianshu_info': jianshu_info
}
jianshu_ty... | 26.5625 | 86 | 0.6 | 39 | 425 | 6.205128 | 0.461538 | 0.227273 | 0.297521 | 0.181818 | 0.239669 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003344 | 0.296471 | 425 | 15 | 87 | 28.333333 | 0.80602 | 0.247059 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
5aaa70db2577793acf92330ffab8d0f12e5f68f6 | 108 | py | Python | mantle/altera/__init__.py | splhack/mantle | 42fe81df22f4556f891f77b9c9acfd7e8bbe648b | [
"MIT"
] | 33 | 2018-06-11T22:58:23.000Z | 2021-11-22T04:16:36.000Z | mantle/altera/__init__.py | splhack/mantle | 42fe81df22f4556f891f77b9c9acfd7e8bbe648b | [
"MIT"
] | 90 | 2017-08-31T01:12:13.000Z | 2021-09-17T04:07:07.000Z | mantle/altera/__init__.py | splhack/mantle | 42fe81df22f4556f891f77b9c9acfd7e8bbe648b | [
"MIT"
] | 12 | 2017-09-01T03:25:36.000Z | 2020-10-14T21:43:12.000Z | import magma
target = magma.mantle_target
if magma.mantle_target == 'cyclone4':
from .mantle4 import *
| 18 | 37 | 0.740741 | 14 | 108 | 5.571429 | 0.571429 | 0.282051 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.166667 | 108 | 5 | 38 | 21.6 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5aede86f57ff0461cedebfcc9ced8d36e8a303ff | 92 | py | Python | src/synpp/general.py | Nitnelav/synpp | b2b2136a99701ce77fd4fea939f8efb521f67c21 | [
"MIT"
] | 6 | 2020-04-01T12:06:20.000Z | 2021-11-02T19:10:27.000Z | src/synpp/general.py | Nitnelav/synpp | b2b2136a99701ce77fd4fea939f8efb521f67c21 | [
"MIT"
] | 26 | 2019-12-08T12:25:39.000Z | 2022-02-28T07:24:56.000Z | src/synpp/general.py | Nitnelav/synpp | b2b2136a99701ce77fd4fea939f8efb521f67c21 | [
"MIT"
] | 8 | 2020-06-19T15:49:46.000Z | 2021-07-06T10:15:37.000Z |
class PipelineError(Exception):
pass
class PipelineParallelError(Exception):
pass
| 13.142857 | 39 | 0.76087 | 8 | 92 | 8.75 | 0.625 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 6 | 40 | 15.333333 | 0.921053 | 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 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
8504487576fd715b5e64decaaa278a96b442d207 | 153 | py | Python | listsTuples03/118moreprint.py | DevAnuragGarg/Python-Learning-Basics | 2c58c82ba79bf2c7c3317628222554133dd50713 | [
"Apache-2.0"
] | 1 | 2020-06-09T09:49:02.000Z | 2020-06-09T09:49:02.000Z | listsTuples03/118moreprint.py | DevAnuragGarg/Python-Learning-Basics | 2c58c82ba79bf2c7c3317628222554133dd50713 | [
"Apache-2.0"
] | null | null | null | listsTuples03/118moreprint.py | DevAnuragGarg/Python-Learning-Basics | 2c58c82ba79bf2c7c3317628222554133dd50713 | [
"Apache-2.0"
] | null | null | null | # print statement, function definition
name = "Anurag"
age = 30
print(name, age, "python", 2020)
print(name, age, "python", 2020, sep=", ", end=" $$ ")
| 21.857143 | 54 | 0.633987 | 20 | 153 | 4.85 | 0.6 | 0.185567 | 0.247423 | 0.371134 | 0.453608 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 0.163399 | 153 | 6 | 55 | 25.5 | 0.679688 | 0.235294 | 0 | 0 | 0 | 0 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
8513e3b41ec497d3d39b91cde1253d60c3a6a2c9 | 57 | py | Python | twitter_text/regexp/punct.py | s51517765/twitter-text-python | 4c07d616344f0037a8aa6317bb439b91fa83ed71 | [
"MIT"
] | 15 | 2020-05-23T15:41:13.000Z | 2022-02-27T20:25:35.000Z | twitter_text/regexp/punct.py | s51517765/twitter-text-python | 4c07d616344f0037a8aa6317bb439b91fa83ed71 | [
"MIT"
] | 4 | 2020-01-25T12:01:39.000Z | 2020-05-24T03:35:08.000Z | twitter_text/regexp/punct.py | s51517765/twitter-text-python | 4c07d616344f0037a8aa6317bb439b91fa83ed71 | [
"MIT"
] | 2 | 2020-01-25T11:47:47.000Z | 2021-08-29T10:55:09.000Z | punct = r"\!'#%&'\(\)*\+,\\\-\.\/:;<=>\?@\[\]\^_{|}~\$/"
| 28.5 | 56 | 0.122807 | 2 | 57 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 57 | 1 | 57 | 57 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0.789474 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
851ce6daa8bd67910042c9af5571b0b29c94c610 | 177 | py | Python | apps/experience/admin.py | tparicio/toniparicio.py | 2ac670f4412f64dbf31340c2d29ad63c1471fe0b | [
"Unlicense"
] | null | null | null | apps/experience/admin.py | tparicio/toniparicio.py | 2ac670f4412f64dbf31340c2d29ad63c1471fe0b | [
"Unlicense"
] | null | null | null | apps/experience/admin.py | tparicio/toniparicio.py | 2ac670f4412f64dbf31340c2d29ad63c1471fe0b | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from .models import Experience
from django_summernote.admin import SummernoteModelAdmin
admin.site.register(Experience, SummernoteModelAdmin)
| 25.285714 | 56 | 0.864407 | 20 | 177 | 7.6 | 0.55 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090395 | 177 | 6 | 57 | 29.5 | 0.944099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5180dfd4911713ca03b68a875e08842a194e4aad | 3,159 | py | Python | tests/utils/test_column_store.py | rishigarg94/pandas-visual-analysis | c9569878a44fb0f5d0acd8779ff65d51e1c1bd95 | [
"MIT"
] | 16 | 2020-09-03T20:58:40.000Z | 2022-03-19T01:12:31.000Z | tests/utils/test_column_store.py | rishigarg94/pandas-visual-analysis | c9569878a44fb0f5d0acd8779ff65d51e1c1bd95 | [
"MIT"
] | 23 | 2020-08-26T19:47:54.000Z | 2022-01-21T20:38:15.000Z | tests/utils/test_column_store.py | rishigarg94/pandas-visual-analysis | c9569878a44fb0f5d0acd8779ff65d51e1c1bd95 | [
"MIT"
] | 4 | 2020-08-26T19:46:37.000Z | 2021-09-30T06:24:19.000Z | import pytest
from pandas_visual_analysis.utils.column_store import ColumnIterator, ColumnStore
from tests import sample_dataframes
@pytest.fixture(scope="module")
def small_df():
return sample_dataframes.small_df()
class TestColumnIterator:
def test_len(self):
column_iterator = ColumnIterator(["1"... | 41.025974 | 86 | 0.672048 | 426 | 3,159 | 4.666667 | 0.126761 | 0.112676 | 0.102616 | 0.120724 | 0.802817 | 0.762575 | 0.70825 | 0.679074 | 0.679074 | 0.657948 | 0 | 0.006415 | 0.21051 | 3,159 | 76 | 87 | 41.565789 | 0.790698 | 0.016461 | 0 | 0.542373 | 0 | 0 | 0.010316 | 0 | 0 | 0 | 0 | 0 | 0.457627 | 1 | 0.169492 | false | 0 | 0.050847 | 0.016949 | 0.271186 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5194317b1a81712c20dd4dd9ecf78db9a4f0ac61 | 51 | py | Python | application/further_app.py | li-renjie/simple-wsgi | 4c8d3a0e59a983b18753942245d8a3281b9fc0d1 | [
"Apache-2.0"
] | null | null | null | application/further_app.py | li-renjie/simple-wsgi | 4c8d3a0e59a983b18753942245d8a3281b9fc0d1 | [
"Apache-2.0"
] | 1 | 2020-06-27T07:20:29.000Z | 2020-06-27T07:20:29.000Z | application/further_app.py | li-renjie/simple-wsgi | 4c8d3a0e59a983b18753942245d8a3281b9fc0d1 | [
"Apache-2.0"
] | null | null | null |
# TODO: Implement a simple application framework.
| 17 | 49 | 0.784314 | 6 | 51 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 50 | 25.5 | 0.930233 | 0.921569 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 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 | 5 |
51d61d8c2af6f7dfd1ccc454877b3c031eb0914f | 55 | py | Python | liquepy/__init__.py | auroggera93/liquepy | 713f4919b45eb38809eae996197707f0f0bc93c7 | [
"MIT"
] | null | null | null | liquepy/__init__.py | auroggera93/liquepy | 713f4919b45eb38809eae996197707f0f0bc93c7 | [
"MIT"
] | null | null | null | liquepy/__init__.py | auroggera93/liquepy | 713f4919b45eb38809eae996197707f0f0bc93c7 | [
"MIT"
] | null | null | null | from liquepy.shear_strain import calculate_shear_strain | 55 | 55 | 0.927273 | 8 | 55 | 6 | 0.75 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 55 | 1 | 55 | 55 | 0.923077 | 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 | 0 | 0 | 0 | 5 |
51eb9b77ac2a026b752703802b5d05b7ba235b67 | 202 | py | Python | devilry/devilry_dataporten_allauth/provider.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 29 | 2015-01-18T22:56:23.000Z | 2020-11-10T21:28:27.000Z | devilry/devilry_dataporten_allauth/provider.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 786 | 2015-01-06T16:10:18.000Z | 2022-03-16T11:10:50.000Z | devilry/devilry_dataporten_allauth/provider.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 15 | 2015-04-06T06:18:43.000Z | 2021-02-24T12:28:30.000Z | from allauth.socialaccount.providers.dataporten.provider import DataportenProvider
class DevilryDataportenProvider(DataportenProvider):
"""
"""
provider_classes = [DevilryDataportenProvider] | 22.444444 | 82 | 0.811881 | 14 | 202 | 11.642857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 202 | 9 | 83 | 22.444444 | 0.905556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cfd3841f63877239b6a866dc6ab72cec80e545ce | 61 | py | Python | Scribe/plot/__init__.py | aristoteleo/scribe-py | ea28d2b588f8648b9ce1679fe18c3142aee2aa58 | [
"BSD-3-Clause"
] | 32 | 2019-08-15T20:58:30.000Z | 2022-03-17T14:16:31.000Z | Scribe/plot/__init__.py | aristoteleo/scribe-py | ea28d2b588f8648b9ce1679fe18c3142aee2aa58 | [
"BSD-3-Clause"
] | 6 | 2020-03-06T06:02:08.000Z | 2022-03-30T22:37:59.000Z | Scribe/plot/__init__.py | aristoteleo/scribe-py | ea28d2b588f8648b9ce1679fe18c3142aee2aa58 | [
"BSD-3-Clause"
] | 10 | 2020-03-05T09:56:04.000Z | 2021-03-14T12:16:54.000Z | from .heatmaps import *
from .networks import vis_causal_net
| 20.333333 | 36 | 0.819672 | 9 | 61 | 5.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 37 | 30.5 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
cff9e5f7c80cceeb642628a7362f5d39c4829126 | 51 | py | Python | pyforce/agents/__init__.py | olemeyer/pyforce | f0432ada7974419d40cce229cd875ce6ae4270b9 | [
"Apache-2.0"
] | 4 | 2020-03-27T06:46:49.000Z | 2020-07-01T20:55:32.000Z | pyforce/agents/__init__.py | olemeyer/pyforce | f0432ada7974419d40cce229cd875ce6ae4270b9 | [
"Apache-2.0"
] | null | null | null | pyforce/agents/__init__.py | olemeyer/pyforce | f0432ada7974419d40cce229cd875ce6ae4270b9 | [
"Apache-2.0"
] | null | null | null | from .a2c import A2CAgent
from .ppo import PPOAgent | 25.5 | 25 | 0.823529 | 8 | 51 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.137255 | 51 | 2 | 26 | 25.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
320d75e2225bceb5749f7069410d424b1d36741c | 26 | py | Python | lib/util/IDPool/__init__.py | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 7 | 2016-02-13T18:47:23.000Z | 2020-07-03T13:47:49.000Z | lib/util/IDPool/__init__.py | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 1 | 2018-06-13T04:55:27.000Z | 2021-11-05T05:52:51.000Z | lib/util/IDPool/__init__.py | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 4 | 2016-02-15T13:32:46.000Z | 2019-12-12T17:22:31.000Z | from IDPool import IDPool
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
321984f331ae0f3a0d1cc4f12be3b09fa2483831 | 1,713 | py | Python | codewars/8kyu/doha22/kata8/alam/test_bench.py | doha22/Training_one | 0cd7cf86c7da0f6175834146296b763d1841766b | [
"MIT"
] | null | null | null | codewars/8kyu/doha22/kata8/alam/test_bench.py | doha22/Training_one | 0cd7cf86c7da0f6175834146296b763d1841766b | [
"MIT"
] | 2 | 2019-01-22T10:53:42.000Z | 2019-01-31T08:02:48.000Z | codewars/8kyu/doha22/kata8/alam/test_bench.py | doha22/Training_one | 0cd7cf86c7da0f6175834146296b763d1841766b | [
"MIT"
] | 13 | 2019-01-22T10:37:42.000Z | 2019-01-25T13:30:43.000Z | from alarm import set_alarm
from alarm import set_alarm2
def test(benchmark):
assert benchmark(set_alarm, True , True) == False
def test2(benchmark):
assert benchmark(set_alarm2, True , True) == False
'''''''''''
----------------------------------------------------------------------------------- benchmark:... | 68.52 | 188 | 0.316404 | 146 | 1,713 | 3.684932 | 0.534247 | 0.02974 | 0.055762 | 0.066915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.210741 | 1,713 | 25 | 189 | 68.52 | 0.282544 | 0 | 0 | 0.111111 | 0 | 0.222222 | 0.865925 | 0.407494 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0.055556 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5cbb3f1bb92ca28aa43c6ed4e42b22116a4f0859 | 17 | py | Python | test/run/t07.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t07.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t07.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | x=4
x*=3
print x
| 4.25 | 7 | 0.588235 | 6 | 17 | 1.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.235294 | 17 | 3 | 8 | 5.666667 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5ccb79e7b6876c43766d68331ce8a8eab5ff7cc8 | 334 | py | Python | Django/tasking-and-analysis-system-django/tasking-and-analysis-system/apps/upload/manager.py | Yeva9/ITC-projects | 19e967d656c86c64f04cc1ffbe03540f97c6eb34 | [
"MIT"
] | null | null | null | Django/tasking-and-analysis-system-django/tasking-and-analysis-system/apps/upload/manager.py | Yeva9/ITC-projects | 19e967d656c86c64f04cc1ffbe03540f97c6eb34 | [
"MIT"
] | null | null | null | Django/tasking-and-analysis-system-django/tasking-and-analysis-system/apps/upload/manager.py | Yeva9/ITC-projects | 19e967d656c86c64f04cc1ffbe03540f97c6eb34 | [
"MIT"
] | null | null | null | """
A Manager is the interface through which database query operations are provided to Django models.
"""
from apps.authentication.user_permissions import Permissions
from ..manager import __get_user_group_permissions
def can_view_tab(user):
return Permissions.CAN_VIEW_UPLOAD_PAGE[0] in __get_user_group_permiss... | 27.833333 | 97 | 0.823353 | 48 | 334 | 5.395833 | 0.6875 | 0.054054 | 0.092664 | 0.177606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00339 | 0.116766 | 334 | 11 | 98 | 30.363636 | 0.874576 | 0.290419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 5 |
5cd9e7ae8b50de167b468aec83565795a361ec22 | 99 | py | Python | cdisutilstest/setup.py | uc-cdis/cdisutils-test | 623fea1cc339c8623f99590c8603ed1368b8890d | [
"Apache-2.0"
] | null | null | null | cdisutilstest/setup.py | uc-cdis/cdisutils-test | 623fea1cc339c8623f99590c8603ed1368b8890d | [
"Apache-2.0"
] | 12 | 2017-05-22T18:31:50.000Z | 2020-10-26T15:57:30.000Z | cdisutilstest/setup.py | uc-cdis/cdisutils-test | 623fea1cc339c8623f99590c8603ed1368b8890d | [
"Apache-2.0"
] | 1 | 2019-02-18T19:38:51.000Z | 2019-02-18T19:38:51.000Z | from setuptools import setup, find_packages
setup(name="cdisutilstest", packages=find_packages())
| 24.75 | 53 | 0.818182 | 12 | 99 | 6.583333 | 0.666667 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 99 | 3 | 54 | 33 | 0.868132 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7a3fd68d53f4a9dccc9059a60666d864e8ed41e4 | 96 | py | Python | casket/nlp_utils/__init__.py | emanjavacas/casket | 3edf2ec41c725adbb9a66532fb56a53a7e457f94 | [
"MIT"
] | null | null | null | casket/nlp_utils/__init__.py | emanjavacas/casket | 3edf2ec41c725adbb9a66532fb56a53a7e457f94 | [
"MIT"
] | null | null | null | casket/nlp_utils/__init__.py | emanjavacas/casket | 3edf2ec41c725adbb9a66532fb56a53a7e457f94 | [
"MIT"
] | null | null | null |
from __future__ import absolute_import
from .corpus import Corpus
from .indexer import Indexer
| 19.2 | 38 | 0.84375 | 13 | 96 | 5.846154 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 4 | 39 | 24 | 0.915663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7a8a4978130d0bfa13a5beab170bceca603c7833 | 107 | py | Python | base/views.py | SgtSwagrid/boards-legacy | 2b889ce955b13356b527aeaeef88bb0d9103cfbe | [
"MIT"
] | null | null | null | base/views.py | SgtSwagrid/boards-legacy | 2b889ce955b13356b527aeaeef88bb0d9103cfbe | [
"MIT"
] | 4 | 2021-03-30T14:05:52.000Z | 2021-09-22T19:32:20.000Z | base/views.py | SgtSwagrid/boards-legacy | 2b889ce955b13356b527aeaeef88bb0d9103cfbe | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index_view(request):
return render(request, 'base/index.html') | 26.75 | 45 | 0.775701 | 15 | 107 | 5.466667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121495 | 107 | 4 | 45 | 26.75 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
7aa01f5af7523722ce8d67c54d0fcc6d0bc8d1bf | 91 | py | Python | textattack/constraints/semantics/__init__.py | yuchenlin/TextAttack | 69c64016546effa1b3b197dfbdb92477614c36ca | [
"MIT"
] | 1 | 2020-06-03T16:08:00.000Z | 2020-06-03T16:08:00.000Z | textattack/constraints/semantics/__init__.py | SatoshiRobatoFujimoto/TextAttack | a809a9bddddff9f41750949e26edde26c8af6cfa | [
"MIT"
] | null | null | null | textattack/constraints/semantics/__init__.py | SatoshiRobatoFujimoto/TextAttack | a809a9bddddff9f41750949e26edde26c8af6cfa | [
"MIT"
] | null | null | null | from . import sentence_encoders
from .word_embedding_distance import WordEmbeddingDistance | 30.333333 | 58 | 0.89011 | 10 | 91 | 7.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 3 | 58 | 30.333333 | 0.939759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
8f97eb98e0273a94e08349023db94656881da6e2 | 181 | py | Python | app/views.py | pettta/ClubWebsite | 83ed5e2c923d8c13aa1f76e564bb817e6ad81fb1 | [
"Apache-2.0"
] | 2 | 2021-07-01T20:43:29.000Z | 2021-07-12T22:30:51.000Z | app/views.py | pettta/ClubWebsite | 83ed5e2c923d8c13aa1f76e564bb817e6ad81fb1 | [
"Apache-2.0"
] | 1 | 2021-07-02T04:28:21.000Z | 2021-07-21T22:13:49.000Z | app/views.py | pettta/ClubWebsite | 83ed5e2c923d8c13aa1f76e564bb817e6ad81fb1 | [
"Apache-2.0"
] | 1 | 2021-08-30T14:41:02.000Z | 2021-08-30T14:41:02.000Z | from django.shortcuts import render
import logging
logger = logging.getLogger(__name__)
# Create your views here.
def index(request):
return render(request, 'app/base.html')
| 18.1 | 43 | 0.762431 | 24 | 181 | 5.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143646 | 181 | 9 | 44 | 20.111111 | 0.864516 | 0.127072 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
8f98a0e537d2b19fbc166f01d10e440c9ae0a879 | 14,692 | py | Python | vkbeautify.py | vkiryukhin/vkbeautify-python | bd26dbc8e37e519392fa303f34999c82b86c413f | [
"MIT"
] | 5 | 2017-05-11T22:04:31.000Z | 2019-08-06T00:07:20.000Z | vkbeautify.py | vkiryukhin/vkbeautify-python | bd26dbc8e37e519392fa303f34999c82b86c413f | [
"MIT"
] | null | null | null | vkbeautify.py | vkiryukhin/vkbeautify-python | bd26dbc8e37e519392fa303f34999c82b86c413f | [
"MIT"
] | null | null | null | #
# vkBeautify - python plugin to pretty-print or minify text in XML, JSON and CSS formats.
#
# Version - 0.3.0
# Copyright (c) 2016 Vadim Kiryukhin
# vkiryukhin @ gmail.com
# https://github.com/vkiryukhin/vkbeautify-python
#
# MIT license:
# http://www.opensource.org/licenses/mit-license.php
#
import sys, re, os.pa... | 31.732181 | 89 | 0.473727 | 1,887 | 14,692 | 3.626921 | 0.086381 | 0.042081 | 0.054062 | 0.027615 | 0.834161 | 0.797195 | 0.738749 | 0.703244 | 0.67329 | 0.627411 | 0 | 0.011183 | 0.318337 | 14,692 | 462 | 90 | 31.800866 | 0.672192 | 0.397495 | 0 | 0.445946 | 0 | 0 | 0.094134 | 0.010118 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063063 | false | 0 | 0.004505 | 0 | 0.189189 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8fcc40d880fe6216177613c594ac3c0242a1b49e | 227 | py | Python | Program_Python_code/32.py | skyhigh8591/Learning_Test_Program | 5f3c0f11874618919002126863772e0dd06a1072 | [
"MIT"
] | null | null | null | Program_Python_code/32.py | skyhigh8591/Learning_Test_Program | 5f3c0f11874618919002126863772e0dd06a1072 | [
"MIT"
] | null | null | null | Program_Python_code/32.py | skyhigh8591/Learning_Test_Program | 5f3c0f11874618919002126863772e0dd06a1072 | [
"MIT"
] | null | null | null | #! /usr/bin/python
#coding=utf-8
from math_operation import operation
num = operation(10,33)
print "operation:" +str(num[0])
print "operation:" +str(num[1])
print "operation:" +str(num[2])
print "operation:" +str(num[3])
| 20.636364 | 36 | 0.682819 | 35 | 227 | 4.4 | 0.542857 | 0.363636 | 0.441558 | 0.519481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045226 | 0.123348 | 227 | 10 | 37 | 22.7 | 0.728643 | 0.127753 | 0 | 0 | 0 | 0 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
8fdac67a7eff4e846fd3084a889865c4ef0b137d | 120 | py | Python | pyactivetwo/__init__.py | kuz/pyactivetwo | 5a145b1b49d0ab6ddf5ea01e7820ea856a53ebe5 | [
"MIT"
] | 12 | 2015-11-17T08:07:30.000Z | 2021-07-07T16:47:57.000Z | pyactivetwo/__init__.py | kuz/pyactivetwo | 5a145b1b49d0ab6ddf5ea01e7820ea856a53ebe5 | [
"MIT"
] | null | null | null | pyactivetwo/__init__.py | kuz/pyactivetwo | 5a145b1b49d0ab6ddf5ea01e7820ea856a53ebe5 | [
"MIT"
] | 6 | 2017-02-02T04:17:28.000Z | 2022-01-14T21:44:19.000Z | """
pyactivetwo: Main module
Copyright 2015, Ilya Kuzovkin
Licensed under MIT.
"""
from pyactivetwo import ActiveTwo
| 12 | 33 | 0.766667 | 14 | 120 | 6.571429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.158333 | 120 | 9 | 34 | 13.333333 | 0.871287 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8fdf50d4a6e8c40704630ccfe0176e94b13455a5 | 81 | py | Python | modules/encoder/__init__.py | cosandr/twitch-vods | b682a3e45f273ddcae6f8f89ac51fc4067e7d83a | [
"MIT"
] | null | null | null | modules/encoder/__init__.py | cosandr/twitch-vods | b682a3e45f273ddcae6f8f89ac51fc4067e7d83a | [
"MIT"
] | null | null | null | modules/encoder/__init__.py | cosandr/twitch-vods | b682a3e45f273ddcae6f8f89ac51fc4067e7d83a | [
"MIT"
] | null | null | null | from .job import Job
from .response import Response
from .encoder import Encoder
| 20.25 | 30 | 0.814815 | 12 | 81 | 5.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 31 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8fe094c967d55067eb33d9c1b9b505082581a670 | 87 | py | Python | module/__init__.py | soxfmr/vanilla | 706391f51acd1a867df7b2bbf19e48187682940b | [
"Apache-2.0"
] | null | null | null | module/__init__.py | soxfmr/vanilla | 706391f51acd1a867df7b2bbf19e48187682940b | [
"Apache-2.0"
] | null | null | null | module/__init__.py | soxfmr/vanilla | 706391f51acd1a867df7b2bbf19e48187682940b | [
"Apache-2.0"
] | null | null | null | from base import Module
from port import PortForward
from firewall import FirewallRule
| 21.75 | 33 | 0.862069 | 12 | 87 | 6.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 3 | 34 | 29 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
890c7a0d1e824de52a13b89a9bea70cbe2594964 | 183 | py | Python | spamfilter/utils.py | lumbytyci/spam-filter | 62e1d6dd71dc30f0b07d5b4bc8f0d547c5249954 | [
"MIT"
] | null | null | null | spamfilter/utils.py | lumbytyci/spam-filter | 62e1d6dd71dc30f0b07d5b4bc8f0d547c5249954 | [
"MIT"
] | 1 | 2022-02-10T01:59:23.000Z | 2022-02-10T01:59:23.000Z | spamfilter/utils.py | lumbytyci/spam-filter | 62e1d6dd71dc30f0b07d5b4bc8f0d547c5249954 | [
"MIT"
] | null | null | null | def decode_index(index: int) -> str:
return {0: "ham", 1: "spam"}[index]
def probability_to_index(prediction: list) -> int:
return 0 if prediction[0] > prediction[1] else 1
| 26.142857 | 52 | 0.666667 | 28 | 183 | 4.25 | 0.571429 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.180328 | 183 | 6 | 53 | 30.5 | 0.753333 | 0 | 0 | 0 | 0 | 0 | 0.038251 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
8918af9a6c712c2f91be7546e93c19026fef729c | 68 | py | Python | tests/unit/__init__.py | cruz-f/protrend | b72c17fa1606b4cf5ca6d60c51737b43ba3fdbc1 | [
"MIT"
] | null | null | null | tests/unit/__init__.py | cruz-f/protrend | b72c17fa1606b4cf5ca6d60c51737b43ba3fdbc1 | [
"MIT"
] | 1 | 2022-02-11T18:38:39.000Z | 2022-02-11T18:38:39.000Z | tests/unit/__init__.py | cruz-f/protrend | b72c17fa1606b4cf5ca6d60c51737b43ba3fdbc1 | [
"MIT"
] | null | null | null | from .data_test import DataTest
from .domain_test import DomainTest
| 22.666667 | 35 | 0.852941 | 10 | 68 | 5.6 | 0.7 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 36 | 34 | 0.933333 | 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 | 0 | 0 | 0 | 5 |
64e77690d15bec9d52b31a3bddbea03b5dd1deb6 | 81 | py | Python | controllers/__init__.py | oliverroyknox/rvdl | bdf0bc2fea9f9dd9820759a4595cc8285ec8b2fc | [
"MIT"
] | null | null | null | controllers/__init__.py | oliverroyknox/rvdl | bdf0bc2fea9f9dd9820759a4595cc8285ec8b2fc | [
"MIT"
] | null | null | null | controllers/__init__.py | oliverroyknox/rvdl | bdf0bc2fea9f9dd9820759a4595cc8285ec8b2fc | [
"MIT"
] | null | null | null | from .reddit import RedditController
from .streamable import StreamableController | 40.5 | 44 | 0.888889 | 8 | 81 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 81 | 2 | 44 | 40.5 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
64f06e441ae6029c96456211b2b586cc3cdc471a | 102 | py | Python | bookmark/admin.py | mentix02/medialist-backend | 397b1a382b12bab273360dadb0b3c32de43747cd | [
"MIT"
] | 1 | 2019-11-22T19:29:39.000Z | 2019-11-22T19:29:39.000Z | bookmark/admin.py | mentix02/medialist-backend | 397b1a382b12bab273360dadb0b3c32de43747cd | [
"MIT"
] | 1 | 2019-11-25T09:50:07.000Z | 2021-07-15T07:05:28.000Z | bookmark/admin.py | mentix02/medialist-backend | 397b1a382b12bab273360dadb0b3c32de43747cd | [
"MIT"
] | null | null | null | from django.contrib import admin
from bookmark.models import Bookmark
admin.site.register(Bookmark)
| 17 | 36 | 0.833333 | 14 | 102 | 6.071429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 5 | 37 | 20.4 | 0.934066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8f1bad2ae04aacba5e6c92802ea9eaf1ff54ee42 | 166 | py | Python | update_dataset.py | carlps/bikeshare-map | 7ee9daa0061645025606e01e3dc73334167f8ef4 | [
"MIT"
] | null | null | null | update_dataset.py | carlps/bikeshare-map | 7ee9daa0061645025606e01e3dc73334167f8ef4 | [
"MIT"
] | 1 | 2017-09-17T16:03:10.000Z | 2017-09-17T16:03:10.000Z | update_dataset.py | carlps/bikeshare-map | 7ee9daa0061645025606e01e3dc73334167f8ef4 | [
"MIT"
] | null | null | null | from src.mapping import update_dataset
if __name__ == '__main__':
# create_and_load_stations_dataset.main()
update_dataset.main('cj6ptmstj02z12xnzfc6u4kzz')
| 27.666667 | 52 | 0.789157 | 19 | 166 | 6.157895 | 0.736842 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047945 | 0.120482 | 166 | 5 | 53 | 33.2 | 0.753425 | 0.23494 | 0 | 0 | 0 | 0 | 0.264 | 0.2 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
8f365113c9d204db9a7c4cdef428522d7fa5911b | 56 | py | Python | multisieve_coreference/__init__.py | mpvharmelen/coref_draft | 30674e94bc9b3743bc9c9b01f26dc8e9b21cb6a8 | [
"Apache-2.0"
] | null | null | null | multisieve_coreference/__init__.py | mpvharmelen/coref_draft | 30674e94bc9b3743bc9c9b01f26dc8e9b21cb6a8 | [
"Apache-2.0"
] | 4 | 2019-06-14T08:55:32.000Z | 2019-07-03T11:58:07.000Z | multisieve_coreference/__init__.py | mpvharmelen/coref_draft | 30674e94bc9b3743bc9c9b01f26dc8e9b21cb6a8 | [
"Apache-2.0"
] | 1 | 2021-03-29T17:19:58.000Z | 2021-03-29T17:19:58.000Z | from .main import parse_args, main, process_coreference
| 28 | 55 | 0.839286 | 8 | 56 | 5.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 56 | 1 | 56 | 56 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8f5cc69fccea9d6571d67308dcd57c5be6344858 | 1,022 | py | Python | python/anyascii/_data/_09e.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_09e.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_09e.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b='Shu Luo Xi Yi Ji Ze Yu Zhan Ye Yang Pi Ning Hu Mi Ying Meng Di Yue Yu Lei Bu Lu He Long Shuang Yue Ying Guan Qu Li Luan Niao Jiu Ji Yuan Ming Shi Ou Ya Cang Bao Zhen Gu Dong Lu Ya Xiao Yang Ling Chi Qu Yuan Xue Tuo Si Zhi Er Gua Xiu Heng Zhou Ge Luan Hong Wu Bo Li Juan Gu E Yu Xian Ti Wu Que Miao An Kun Bei Peng Qia... | 1,022 | 1,022 | 0.747554 | 257 | 1,022 | 2.972763 | 0.509728 | 0.015707 | 0.026178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.249511 | 1,022 | 1 | 1,022 | 1,022 | 0.996089 | 0 | 0 | 0 | 0 | 1 | 0.995112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8f65f359bfdfae920c0b27fa08eb45f9eb165a6d | 102 | py | Python | pyvim/enums.py | gigforks/pyvim | 02e7695ff28aedca453fd66f8035c6f77e319512 | [
"BSD-3-Clause"
] | null | null | null | pyvim/enums.py | gigforks/pyvim | 02e7695ff28aedca453fd66f8035c6f77e319512 | [
"BSD-3-Clause"
] | null | null | null | pyvim/enums.py | gigforks/pyvim | 02e7695ff28aedca453fd66f8035c6f77e319512 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals
# Vim command line buffer.
COMMAND_BUFFER = 'command-buffer'
| 20.4 | 39 | 0.813725 | 13 | 102 | 5.923077 | 0.692308 | 0.337662 | 0.493506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 102 | 4 | 40 | 25.5 | 0.865169 | 0.235294 | 0 | 0 | 0 | 0 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8f68487e70f383a7cd376e5f6bdbf17ef90567f3 | 33 | py | Python | vaetc/evaluation/metrics/dci/__init__.py | ganmodokix/vaetc | 866b79677b4f06603203376d967989dedadbffae | [
"MIT"
] | null | null | null | vaetc/evaluation/metrics/dci/__init__.py | ganmodokix/vaetc | 866b79677b4f06603203376d967989dedadbffae | [
"MIT"
] | null | null | null | vaetc/evaluation/metrics/dci/__init__.py | ganmodokix/vaetc | 866b79677b4f06603203376d967989dedadbffae | [
"MIT"
] | null | null | null | from .classifier import dci_score | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8f6f419c8a169a2ca5473b395d7854a0b9dd2a6c | 362 | py | Python | client/tinychain/__init__.py | gitter-badger/tinychain | 9ed5ed7f0194032ee0c71e236be4bf2a5ba9e384 | [
"Apache-2.0"
] | null | null | null | client/tinychain/__init__.py | gitter-badger/tinychain | 9ed5ed7f0194032ee0c71e236be4bf2a5ba9e384 | [
"Apache-2.0"
] | null | null | null | client/tinychain/__init__.py | gitter-badger/tinychain | 9ed5ed7f0194032ee0c71e236be4bf2a5ba9e384 | [
"Apache-2.0"
] | null | null | null | import tinychain.error
import tinychain.host
from tinychain.decorators import *
from tinychain.chain import Chain
from tinychain.cluster import Cluster, write_cluster
from tinychain.ref import *
from tinychain.reflect import Meta
from tinychain.state import Class, Instance, Map, State, Scalar, Tuple
from tinychain.uti... | 27.846154 | 70 | 0.823204 | 49 | 362 | 6.061224 | 0.408163 | 0.350168 | 0.191919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121547 | 362 | 12 | 71 | 30.166667 | 0.933962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
71257c3eea6cfb0480c64705e8c4354d37aa00cd | 69 | py | Python | python/temperature.py | robertopao/code-refinery-bq | 1190128c9a6df200cd39f63ea1346485798a3e9a | [
"Apache-2.0"
] | null | null | null | python/temperature.py | robertopao/code-refinery-bq | 1190128c9a6df200cd39f63ea1346485798a3e9a | [
"Apache-2.0"
] | null | null | null | python/temperature.py | robertopao/code-refinery-bq | 1190128c9a6df200cd39f63ea1346485798a3e9a | [
"Apache-2.0"
] | null | null | null | def print_temperature():
temperature = 10
print(temperature)
| 17.25 | 24 | 0.710145 | 7 | 69 | 6.857143 | 0.571429 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.202899 | 69 | 3 | 25 | 23 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
8535a40e34babf7e8061457a1d097c333686a1c1 | 1,411 | py | Python | Quadcopter PID Control in V-REP simolator/vrep_imu.py | 98210184/Quadcopter-PID-Control-in-V-REP | 44538bab87b09e9758ae0e54ec4e5368f22bdb49 | [
"MIT"
] | 1 | 2022-02-22T08:50:14.000Z | 2022-02-22T08:50:14.000Z | Quadcopter PID Control in V-REP simolator/vrep_imu.py | 98210184/Quadcopter-PID-Control-in-V-REP | 44538bab87b09e9758ae0e54ec4e5368f22bdb49 | [
"MIT"
] | null | null | null | Quadcopter PID Control in V-REP simolator/vrep_imu.py | 98210184/Quadcopter-PID-Control-in-V-REP | 44538bab87b09e9758ae0e54ec4e5368f22bdb49 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import vrep
def init_imu(clientID, quadHandle):
vrep.simxGetFloatSignal(clientID, 'gyroX', vrep.simx_opmode_streaming)
vrep.simxGetFloatSignal(clientID, 'gyroY', vrep.simx_opmode_streaming)
vrep.simxGetFloatSignal(clientID, 'gyroZ', vrep.simx_opmode_streaming)
vrep.simxGetF... | 45.516129 | 93 | 0.731396 | 169 | 1,411 | 5.923077 | 0.207101 | 0.111888 | 0.195804 | 0.160839 | 0.844156 | 0.778222 | 0.754246 | 0.115884 | 0 | 0 | 0 | 0.006606 | 0.141743 | 1,411 | 30 | 94 | 47.033333 | 0.819983 | 0.058115 | 0 | 0 | 0 | 0 | 0.050887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0 | 0.05 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
85a53b4fe0ec7b27749d733dab50875cfac61029 | 473 | py | Python | myapp/models.py | mathewlathara/TSAbaggagedetection | 7a83d756896e14e2d8bb62a9f1628d889778bddc | [
"MIT"
] | null | null | null | myapp/models.py | mathewlathara/TSAbaggagedetection | 7a83d756896e14e2d8bb62a9f1628d889778bddc | [
"MIT"
] | null | null | null | myapp/models.py | mathewlathara/TSAbaggagedetection | 7a83d756896e14e2d8bb62a9f1628d889778bddc | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class passenger(models.Model):
passenger_name = models.CharField(max_length=50)
passport_number = models.CharField(max_length=30)
dept_airport = models.CharField(max_length=50)
arrive_airport = models.CharField(max_length=30)
flight_num... | 31.533333 | 60 | 0.731501 | 62 | 473 | 5.354839 | 0.483871 | 0.271084 | 0.325301 | 0.433735 | 0.46988 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0.033248 | 0.173362 | 473 | 14 | 61 | 33.785714 | 0.815857 | 0.05074 | 0 | 0 | 0 | 0 | 0.029148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0.1 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
85b786a4b8172c082eeb6c7b45333e46ff71c89f | 219 | py | Python | minio_helpers/minio_general_helpers.py | ChristopherHaydenTodd/ctodd-python-lib-minio | 8cca14c43dcc40e889db63accb63446d4ebf82a2 | [
"MIT"
] | 1 | 2019-08-02T08:58:41.000Z | 2019-08-02T08:58:41.000Z | minio_helpers/minio_general_helpers.py | ChristopherHaydenTodd/ctodd-python-lib-minio | 8cca14c43dcc40e889db63accb63446d4ebf82a2 | [
"MIT"
] | null | null | null | minio_helpers/minio_general_helpers.py | ChristopherHaydenTodd/ctodd-python-lib-minio | 8cca14c43dcc40e889db63accb63446d4ebf82a2 | [
"MIT"
] | null | null | null | """
Purpose:
Minio Object Storage General Helpers.
This library is used to interact with Minio object storage.
"""
# Python Library Imports
import logging
import minio
###
# General Helpers
###
| 12.882353 | 67 | 0.666667 | 25 | 219 | 5.84 | 0.68 | 0.150685 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255708 | 219 | 16 | 68 | 13.6875 | 0.895706 | 0.707763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
85b9cbe1cf5b7ea54cbffafcf387674a343441bc | 224 | py | Python | src/cnn_rfi/utils.py | listerchen319/cnn_rfi | 202e9a27a9645ded37317aa5c9114e0e9944c6a8 | [
"MIT"
] | 1 | 2021-11-27T23:31:30.000Z | 2021-11-27T23:31:30.000Z | src/cnn_rfi/utils.py | listerchen319/cnn_rfi | 202e9a27a9645ded37317aa5c9114e0e9944c6a8 | [
"MIT"
] | null | null | null | src/cnn_rfi/utils.py | listerchen319/cnn_rfi | 202e9a27a9645ded37317aa5c9114e0e9944c6a8 | [
"MIT"
] | null | null | null | # copyright(c) 2021 Lister Chen
# licensed under mit license
import numpy as np
#general purpose functions that have to do with data manipulation
#but not the actual machine learning methods
def testing(x):
return x+2
| 22.4 | 65 | 0.772321 | 36 | 224 | 4.805556 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027322 | 0.183036 | 224 | 9 | 66 | 24.888889 | 0.918033 | 0.727679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 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 | 5 |
a447a3bd3fffd0d325180fcd84f53cec956cd8c7 | 716 | py | Python | kaggle-classification/setup.py | CyberFlameGO/conversationai-models | f82f66398b221d9fe3bcfd7641610af454b3db46 | [
"Apache-2.0"
] | 139 | 2018-03-05T16:34:41.000Z | 2022-03-09T01:36:13.000Z | kaggle-classification/setup.py | CyberFlameGO/conversationai-models | f82f66398b221d9fe3bcfd7641610af454b3db46 | [
"Apache-2.0"
] | 125 | 2018-03-05T21:19:31.000Z | 2020-11-13T17:50:12.000Z | kaggle-classification/setup.py | CyberFlameGO/conversationai-models | f82f66398b221d9fe3bcfd7641610af454b3db46 | [
"Apache-2.0"
] | 47 | 2018-03-21T19:37:14.000Z | 2022-03-09T01:36:21.000Z | from setuptools import find_packages
from setuptools import setup
REQUIRED_PACKAGES = [
'tflearn>=0.3.2', 'Keras==2.1.5', 'h5py==2.7.1', 'comet-ml==1.0.8',
'nltk>=3.3'
]
setup(
name='trainer',
version='0.1',
install_requires=REQUIRED_PACKAGES,
packages=find_packages(),
include_package_data... | 22.375 | 71 | 0.681564 | 90 | 716 | 5.211111 | 0.344444 | 0.102345 | 0.095949 | 0.102345 | 0.722815 | 0.722815 | 0.722815 | 0.722815 | 0.722815 | 0.722815 | 0 | 0.035354 | 0.170391 | 716 | 31 | 72 | 23.096774 | 0.754209 | 0 | 0 | 0.666667 | 0 | 0 | 0.173184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.074074 | 0 | 0.074074 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a46b0d04e9a4ea78435d1dd5be6455c65f9c00d2 | 320 | py | Python | app/dnd_campaign/__init__.py | tassaron2/tabletop-story | a69db417fbe14ba7d7ef14e653dcfa2ed73d6374 | [
"MIT"
] | 2 | 2021-02-11T02:51:58.000Z | 2021-07-29T01:42:48.000Z | app/dnd_campaign/__init__.py | tassaron2/tabletop-story | a69db417fbe14ba7d7ef14e653dcfa2ed73d6374 | [
"MIT"
] | null | null | null | app/dnd_campaign/__init__.py | tassaron2/tabletop-story | a69db417fbe14ba7d7ef14e653dcfa2ed73d6374 | [
"MIT"
] | null | null | null | """
This subpackage of tabletop_story is similar to the dnd_character dependency,
but for things that are outside the scope of D&D characters yet inside the scope of a D&D campaign.
dnd_campaign is not big enough for its own repo yet, but it could be in the future.
"""
from .combat import Combat
from .npc import NPC
| 32 | 99 | 0.775 | 59 | 320 | 4.152542 | 0.677966 | 0.065306 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18125 | 320 | 9 | 100 | 35.555556 | 0.935115 | 0.81875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f10309d008c26410831a63999c90e60199aa5741 | 145,256 | py | Python | src/google/appengine/datastore/datastore_v3_bytes_pb2.py | asriniva/appengine-python-standard | 8a5abedfe99b27a4dcb31fd47d3ba7b62fd0e47c | [
"Apache-2.0"
] | 28 | 2021-01-06T19:55:21.000Z | 2022-03-28T09:41:08.000Z | src/google/appengine/datastore/datastore_v3_bytes_pb2.py | asriniva/appengine-python-standard | 8a5abedfe99b27a4dcb31fd47d3ba7b62fd0e47c | [
"Apache-2.0"
] | 13 | 2021-06-17T09:38:17.000Z | 2022-03-11T01:12:33.000Z | src/google/appengine/datastore/datastore_v3_bytes_pb2.py | asriniva/appengine-python-standard | 8a5abedfe99b27a4dcb31fd47d3ba7b62fd0e47c | [
"Apache-2.0"
] | 28 | 2021-03-09T19:27:37.000Z | 2022-01-21T21:18:52.000Z | #!/usr/bin/env python
#
# Copyright 2007 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 47.145732 | 14,392 | 0.770447 | 18,436 | 145,256 | 5.691907 | 0.041658 | 0.047267 | 0.082565 | 0.070757 | 0.797238 | 0.773548 | 0.761998 | 0.7109 | 0.685208 | 0.659993 | 0 | 0.04228 | 0.116656 | 145,256 | 3,080 | 14,393 | 47.161039 | 0.775545 | 0.004131 | 0 | 0.692761 | 0 | 0.002425 | 0.215814 | 0.176819 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002425 | 0 | 0.002425 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f13946e660511ac9ba949ecf6b937914e39eb52c | 142 | py | Python | nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Tool/dmd.py | jayvdb/Nuitka | 0ff702e065b1b53231ba0cae451385a3da0fe766 | [
"Apache-2.0"
] | 5,421 | 2018-09-24T08:04:06.000Z | 2022-03-31T20:02:37.000Z | nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Tool/dmd.py | jayvdb/Nuitka | 0ff702e065b1b53231ba0cae451385a3da0fe766 | [
"Apache-2.0"
] | 1,348 | 2018-09-22T13:41:00.000Z | 2022-03-31T22:33:40.000Z | nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Tool/dmd.py | jayvdb/Nuitka | 0ff702e065b1b53231ba0cae451385a3da0fe766 | [
"Apache-2.0"
] | 396 | 2018-09-28T15:37:03.000Z | 2022-03-29T10:52:09.000Z |
# Stub only, D support was broken with Python2.6 and unnecessary to Nuitka
def generate(env):
return
def exists(env):
return False
| 15.777778 | 74 | 0.71831 | 22 | 142 | 4.636364 | 0.863636 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.21831 | 142 | 8 | 75 | 17.75 | 0.900901 | 0.507042 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
f14e7267c2883e2902c33e78416bbfa7351407e9 | 875 | py | Python | endpoints/api/__init__models_pre_oci.py | anwarchk/quay | 23c5120790c619174e7d36784ca5aab7f4eece5c | [
"Apache-2.0"
] | 1 | 2021-05-30T01:54:21.000Z | 2021-05-30T01:54:21.000Z | endpoints/api/__init__models_pre_oci.py | anwarchk/quay | 23c5120790c619174e7d36784ca5aab7f4eece5c | [
"Apache-2.0"
] | 20 | 2019-12-26T17:32:34.000Z | 2022-03-21T22:18:06.000Z | endpoints/api/__init__models_pre_oci.py | anwarchk/quay | 23c5120790c619174e7d36784ca5aab7f4eece5c | [
"Apache-2.0"
] | 1 | 2020-05-31T16:28:40.000Z | 2020-05-31T16:28:40.000Z | from __init__models_interface import InitDataInterface
from data import model
from data.logs_model import logs_model
class PreOCIModel(InitDataInterface):
def is_app_repository(self, namespace_name, repository_name):
return model.repository.get_repository(namespace_name, repository_name,
... | 43.75 | 94 | 0.763429 | 103 | 875 | 6.15534 | 0.320388 | 0.143533 | 0.217666 | 0.255521 | 0.31388 | 0.31388 | 0.31388 | 0.31388 | 0 | 0 | 0 | 0 | 0.170286 | 875 | 19 | 95 | 46.052632 | 0.873278 | 0 | 0 | 0 | 0 | 0 | 0.012571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.214286 | 0.142857 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
74f8dccf9c7e07405092d089e3952fd5f62775cd | 107 | py | Python | diogenes/grid_search/__init__.py | dssg/diogenes | 52eda2a7adb22044e82779d05f91c927c1b95f3f | [
"MIT"
] | 21 | 2015-09-28T15:04:53.000Z | 2017-11-19T22:21:31.000Z | diogenes/grid_search/__init__.py | dssg/diogenes | 52eda2a7adb22044e82779d05f91c927c1b95f3f | [
"MIT"
] | 28 | 2015-09-27T09:51:12.000Z | 2021-11-08T17:26:39.000Z | diogenes/grid_search/__init__.py | dssg/diogenes | 52eda2a7adb22044e82779d05f91c927c1b95f3f | [
"MIT"
] | 10 | 2015-11-21T19:50:14.000Z | 2018-05-21T16:16:25.000Z | from experiment import *
from standard_clfs import *
from partition_iterator import *
from subset import *
| 21.4 | 32 | 0.813084 | 14 | 107 | 6.071429 | 0.571429 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 4 | 33 | 26.75 | 0.934066 | 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 | 0 | 0 | 0 | 5 |
2d3adbb300a001d3889f9075999321582779e641 | 237 | py | Python | funfact/lang/interpreter/_elementwise.py | terryjx/FunFact | 595c3b68bac7cc92c802969f207f060c1242a88b | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-12-13T07:55:16.000Z | 2021-12-13T07:55:16.000Z | funfact/lang/interpreter/_elementwise.py | terryjx/FunFact | 595c3b68bac7cc92c802969f207f060c1242a88b | [
"BSD-3-Clause-LBNL"
] | null | null | null | funfact/lang/interpreter/_elementwise.py | terryjx/FunFact | 595c3b68bac7cc92c802969f207f060c1242a88b | [
"BSD-3-Clause-LBNL"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from funfact.lang.interpreter._evaluation import Evaluator
class ElementwiseEvaluator(Evaluator):
def tensor(self, abstract, data, slices, **kwargs):
return data[tuple(slices)]
| 26.333333 | 58 | 0.71308 | 28 | 237 | 6 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004951 | 0.147679 | 237 | 8 | 59 | 29.625 | 0.826733 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
742f95b1f79db5c174faa896fd38be9d621453a0 | 391 | py | Python | src/bowtiebuilder.py | melliott432/spras | ba914f6a55a51c3e3b55b56844a533ff2936fae5 | [
"MIT"
] | 3 | 2021-05-05T23:40:39.000Z | 2021-05-13T03:35:22.000Z | src/bowtiebuilder.py | melliott432/spras | ba914f6a55a51c3e3b55b56844a533ff2936fae5 | [
"MIT"
] | 41 | 2021-04-27T01:48:28.000Z | 2022-03-14T20:11:24.000Z | src/bowtiebuilder.py | melliott432/spras | ba914f6a55a51c3e3b55b56844a533ff2936fae5 | [
"MIT"
] | 2 | 2021-07-06T18:27:19.000Z | 2022-01-25T03:56:49.000Z | from src.PRM import *
class BowTieBuilder(PRM):
def generate_inputs(self):
print('BowTieBuilder: {} generateInputs() from {}'.format(self.name,self.inputdir))
def run(self):
print('BowTieBuilder: {} run() with {}'.format(self.name,self.params))
def parse_output(self):
print('BowT... | 30.076923 | 91 | 0.662404 | 45 | 391 | 5.711111 | 0.488889 | 0.105058 | 0.256809 | 0.210117 | 0.171206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171356 | 391 | 12 | 92 | 32.583333 | 0.79321 | 0 | 0 | 0 | 1 | 0 | 0.286445 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0 | 0.625 | 0.375 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
748762650fa603c3704ad8be10a0b901ee429ca0 | 333 | py | Python | lib/googlecloudapis/bigquery/v2/__init__.py | IsaacHuang/google-cloud-sdk | 52afa5d1a75dff08f4f5380c5cccc015bf796ca5 | [
"Apache-2.0"
] | null | null | null | lib/googlecloudapis/bigquery/v2/__init__.py | IsaacHuang/google-cloud-sdk | 52afa5d1a75dff08f4f5380c5cccc015bf796ca5 | [
"Apache-2.0"
] | null | null | null | lib/googlecloudapis/bigquery/v2/__init__.py | IsaacHuang/google-cloud-sdk | 52afa5d1a75dff08f4f5380c5cccc015bf796ca5 | [
"Apache-2.0"
] | 2 | 2020-07-25T05:03:06.000Z | 2020-11-04T04:55:57.000Z | """Common imports for generated bigquery client library."""
# pylint:disable=wildcard-import
import pkgutil
from googlecloudapis.apitools.base.py import *
from googlecloudapis.bigquery.v2.bigquery_v2_client import *
from googlecloudapis.bigquery.v2.bigquery_v2_messages import *
__path__ = pkgutil.extend_path(__path_... | 30.272727 | 62 | 0.825826 | 41 | 333 | 6.292683 | 0.536585 | 0.155039 | 0.193798 | 0.255814 | 0.348837 | 0.348837 | 0.348837 | 0 | 0 | 0 | 0 | 0.013201 | 0.09009 | 333 | 10 | 63 | 33.3 | 0.838284 | 0.255255 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bb36ad88cb43f98c2e8a5086c1458bc6639d979f | 550 | py | Python | electricity/admin.py | shivaamm/Elektra | a141d6b80ba5c5c3fdd392f6f0a0a99581c52125 | [
"MIT"
] | 49 | 2020-09-28T04:07:48.000Z | 2022-03-02T00:49:55.000Z | electricity/admin.py | CodesbyUnnati/Elektra | 2195b4a17ede821d9a18dfa853982e71f480d5bd | [
"MIT"
] | 232 | 2021-02-28T16:33:23.000Z | 2021-10-04T16:37:58.000Z | electricity/admin.py | shivaamm/Elektra | a141d6b80ba5c5c3fdd392f6f0a0a99581c52125 | [
"MIT"
] | 122 | 2020-09-27T18:28:15.000Z | 2021-11-04T15:51:34.000Z | from django.contrib import admin
from electricity.models import electricity,Contact,FeedBack,electricity
from import_export.admin import ImportExportModelAdmin
# Register your models here.
# admin.site.register(electricity)
#Registered Contact model
# admin.site.register(Contact)
# admin.site.register(FeedBack)
@admin... | 30.555556 | 71 | 0.827273 | 59 | 550 | 7.694915 | 0.372881 | 0.059471 | 0.112335 | 0.171806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 550 | 18 | 72 | 30.555556 | 0.908 | 0.258182 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
bb454808e6b6e16a6daf1978b765daf17e407e03 | 225 | py | Python | project/myapp/admin.py | Gui-U/junioresiee-simple-erp | 3860255c6b96646b5c04e55fc5a4cb4dd874c6ba | [
"MIT"
] | null | null | null | project/myapp/admin.py | Gui-U/junioresiee-simple-erp | 3860255c6b96646b5c04e55fc5a4cb4dd874c6ba | [
"MIT"
] | 2 | 2020-09-25T05:14:57.000Z | 2021-06-25T15:15:54.000Z | project/myapp/admin.py | Gui-U/junioresiee-simple-erp | 3860255c6b96646b5c04e55fc5a4cb4dd874c6ba | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from myapp.models import Student, Mandate, DocTechnicalReport
admin.site.register(Student)
admin.site.register(Mandate)
admin.site.register(DocTechnicalReport)
| 22.5 | 61 | 0.826667 | 28 | 225 | 6.642857 | 0.5 | 0.145161 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 225 | 9 | 62 | 25 | 0.911765 | 0.115556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 5 |
248c4535f7fd428f22eb2c1a8736c3ff9553b666 | 25,392 | py | Python | src/lantiseaa/buffer.py | YichenTang97/LanTiSEAA | aa37f5e2dd88e59859ef52dcc3613822c178400a | [
"MIT"
] | 1 | 2020-08-06T13:59:49.000Z | 2020-08-06T13:59:49.000Z | src/lantiseaa/buffer.py | YichenTang97/LanTiSEAA | aa37f5e2dd88e59859ef52dcc3613822c178400a | [
"MIT"
] | null | null | null | src/lantiseaa/buffer.py | YichenTang97/LanTiSEAA | aa37f5e2dd88e59859ef52dcc3613822c178400a | [
"MIT"
] | null | null | null | import os
import csv
import copy
import errno
import pandas as pd
import pymc3 as pm
from sklearn.externals import joblib
from abc import ABC, abstractmethod
class BaseBuffer(ABC):
''' Base class for Buffer classes which store/save and retrieve/read data.
...
Methods
-------
save_record(self, ge... | 40.368839 | 194 | 0.651032 | 3,353 | 25,392 | 4.717566 | 0.071578 | 0.06069 | 0.035403 | 0.036035 | 0.786319 | 0.757744 | 0.739031 | 0.723796 | 0.713997 | 0.7011 | 0 | 0.002245 | 0.245747 | 25,392 | 628 | 195 | 40.433121 | 0.823674 | 0.356845 | 0 | 0.634855 | 0 | 0 | 0.055219 | 0.003064 | 0 | 0 | 0 | 0 | 0 | 1 | 0.186722 | false | 0.033195 | 0.033195 | 0.020747 | 0.315353 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
24f562f4c18d46a43349687d1f9aa9e3c9217623 | 111 | py | Python | pyqtgraph/flowchart/__init__.py | robertsj/poropy | 481a604339c9fa797817b2b0a55448329685c1d8 | [
"MIT"
] | 1 | 2018-02-11T11:24:14.000Z | 2018-02-11T11:24:14.000Z | pyqtgraph/flowchart/__init__.py | robertsj/poropy | 481a604339c9fa797817b2b0a55448329685c1d8 | [
"MIT"
] | 1 | 2018-06-12T16:15:31.000Z | 2018-06-12T16:15:31.000Z | pyqtgraph/flowchart/__init__.py | robertsj/poropy | 481a604339c9fa797817b2b0a55448329685c1d8 | [
"MIT"
] | 7 | 2015-03-27T16:58:07.000Z | 2022-01-01T17:44:02.000Z | # -*- coding: utf-8 -*-
from Flowchart import *
from library import getNodeType, registerNodeType, getNodeTree | 27.75 | 62 | 0.756757 | 12 | 111 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.135135 | 111 | 4 | 62 | 27.75 | 0.864583 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
700f4ae41f0e02e7aa56e6b82b93339787ea8e07 | 262 | py | Python | ca_on_peel/people.py | tor-councilmatic/scrapers-ca | 821be4ccfc4f5aef3f8272b626b031e225aef7ee | [
"MIT"
] | 2 | 2017-06-02T09:41:28.000Z | 2017-11-17T15:27:07.000Z | ca_on_peel/people.py | tor-councilmatic/scrapers-ca | 821be4ccfc4f5aef3f8272b626b031e225aef7ee | [
"MIT"
] | null | null | null | ca_on_peel/people.py | tor-councilmatic/scrapers-ca | 821be4ccfc4f5aef3f8272b626b031e225aef7ee | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from utils import CSVScraper
COUNCIL_PAGE = 'http://opendata.peelregion.ca/media/33531/wards1418_csv.csv'
class PeelPersonScraper(CSVScraper):
csv_url = 'http://opendata.peelregion.ca/media/33531/wards1418_csv.csv'
| 29.111111 | 76 | 0.80916 | 34 | 262 | 5.970588 | 0.588235 | 0.118227 | 0.216749 | 0.236453 | 0.482759 | 0.482759 | 0.482759 | 0.482759 | 0.482759 | 0 | 0 | 0.075314 | 0.087786 | 262 | 8 | 77 | 32.75 | 0.774059 | 0 | 0 | 0 | 0 | 0 | 0.450382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
703ae7715b6a5c0abc0917785ca12f6c4d5af5ac | 1,121 | py | Python | tests/test_parse_metaconfig.py | rzhilkibaev/metaconfig | 856c2c2e39a4ffadba2501df2c7dcf6b56b16543 | [
"MIT"
] | null | null | null | tests/test_parse_metaconfig.py | rzhilkibaev/metaconfig | 856c2c2e39a4ffadba2501df2c7dcf6b56b16543 | [
"MIT"
] | null | null | null | tests/test_parse_metaconfig.py | rzhilkibaev/metaconfig | 856c2c2e39a4ffadba2501df2c7dcf6b56b16543 | [
"MIT"
] | null | null | null | from cfgen import cfgen
from nose.tools import assert_equals
from nose.tools.nontrivial import raises
def test_parse_metaconfig_line_spaces():
assert_equals(cfgen.parse_metaconfig_line("var=expr"), ("var", "expr"))
assert_equals(cfgen.parse_metaconfig_line("var =expr"), ("var", "expr"))
assert_equals(cfg... | 40.035714 | 79 | 0.692239 | 141 | 1,121 | 5.163121 | 0.177305 | 0.309066 | 0.391484 | 0.395604 | 0.79533 | 0.688187 | 0.688187 | 0.634615 | 0.634615 | 0.634615 | 0 | 0 | 0.115968 | 1,121 | 27 | 80 | 41.518519 | 0.734612 | 0 | 0 | 0.25 | 0 | 0 | 0.15165 | 0.026762 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.15 | false | 0 | 0.15 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
703cd365385e2a440544302b1e89394771c05e1b | 137 | py | Python | carbonium/__init__.py | pietrogiuffrida/carbonium | b291f163e00e51d4f9c0027660b04cda7750d262 | [
"MIT"
] | 1 | 2021-06-26T04:33:03.000Z | 2021-06-26T04:33:03.000Z | carbonium/__init__.py | pietrogiuffrida/carbonium | b291f163e00e51d4f9c0027660b04cda7750d262 | [
"MIT"
] | null | null | null | carbonium/__init__.py | pietrogiuffrida/carbonium | b291f163e00e51d4f9c0027660b04cda7750d262 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .version import __version__
from .name import Name
from .structure import Structure
| 19.571429 | 32 | 0.729927 | 19 | 137 | 5.052632 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.145985 | 137 | 6 | 33 | 22.833333 | 0.803419 | 0.313869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7046a24d69a28331ca554663bf2422a33a13379e | 130 | py | Python | boolibsy.py | kamkalian/boolibsy | f4b9d47cc102a1246b0e4d6759038586cc4bc456 | [
"MIT"
] | null | null | null | boolibsy.py | kamkalian/boolibsy | f4b9d47cc102a1246b0e4d6759038586cc4bc456 | [
"MIT"
] | null | null | null | boolibsy.py | kamkalian/boolibsy | f4b9d47cc102a1246b0e4d6759038586cc4bc456 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Donnerstag 13. Dezember 2018
@author: akurm
"""
from app import app | 16.25 | 39 | 0.661538 | 19 | 130 | 4.526316 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 0.161538 | 130 | 8 | 40 | 16.25 | 0.715596 | 0.753846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7065f6cc6bc7cc35310572f775656002498a5839 | 479 | py | Python | cursoemvideo/ex018.py | joaorobsonR/python-guanabara | ce18f0a9fec7c3f669e8cf26f446022d10eea551 | [
"MIT"
] | null | null | null | cursoemvideo/ex018.py | joaorobsonR/python-guanabara | ce18f0a9fec7c3f669e8cf26f446022d10eea551 | [
"MIT"
] | null | null | null | cursoemvideo/ex018.py | joaorobsonR/python-guanabara | ce18f0a9fec7c3f669e8cf26f446022d10eea551 | [
"MIT"
] | null | null | null | import math
c = float(input('digite um angulo para o cosseno '))
s = float(input('digite um angulo para o seno '))
t = float(input('digite o angulo da tangente '))
print(f'cosseno {math.cos(math.radians(c)):.3f} seno {math.sin(math.radians(s)):.3f} tangente {math.tan(math.radians(t)):.3f}')
#só de um angulo
a = int(in... | 47.9 | 133 | 0.68476 | 87 | 479 | 3.770115 | 0.310345 | 0.20122 | 0.146341 | 0.128049 | 0.621951 | 0.176829 | 0.176829 | 0 | 0 | 0 | 0 | 0.014118 | 0.112735 | 479 | 9 | 134 | 53.222222 | 0.757647 | 0.031315 | 0 | 0 | 0 | 0.285714 | 0.74514 | 0.401728 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.285714 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7069d40e6317ea15d6af113299bb774a70816d16 | 2,508 | py | Python | model/input_fn.py | MapleLeafKiller/tensorflow-triplet-loss | ac349e344a647c5aeed7248926a76a0fe64f4cb7 | [
"MIT"
] | null | null | null | model/input_fn.py | MapleLeafKiller/tensorflow-triplet-loss | ac349e344a647c5aeed7248926a76a0fe64f4cb7 | [
"MIT"
] | null | null | null | model/input_fn.py | MapleLeafKiller/tensorflow-triplet-loss | ac349e344a647c5aeed7248926a76a0fe64f4cb7 | [
"MIT"
] | null | null | null | """Create the input data pipeline using `tf.data`"""
import tensorflow as tf
import model.mnist_dataset as mnist_dataset
import model.cifar10_input as cifar10_dataset
def train_input_fn(data_dir, params):
"""Train input function for the MNIST dataset.
Args:
data_dir: (string) path to the data direc... | 34.356164 | 98 | 0.708931 | 340 | 2,508 | 5.082353 | 0.188235 | 0.060764 | 0.052083 | 0.04919 | 0.78125 | 0.743056 | 0.708912 | 0.708912 | 0.708912 | 0.708912 | 0 | 0.007478 | 0.200159 | 2,508 | 72 | 99 | 34.833333 | 0.853938 | 0.479665 | 0 | 0.464286 | 0 | 0 | 0.032884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.178571 | false | 0 | 0.107143 | 0 | 0.464286 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7088a2b5011f7008bad79d9782275881b41af09f | 85 | py | Python | src/videoanalizer/openface/__init__.py | thomasreolon/DeepfakeDetection | 5bbeefdeeb05b2abd45336ad3382da6ce90c2fef | [
"MIT"
] | 2 | 2021-04-21T03:02:59.000Z | 2021-07-31T23:35:58.000Z | src/videoanalizer/openface/__init__.py | thomasreolon/DeepfakeDetection | 5bbeefdeeb05b2abd45336ad3382da6ce90c2fef | [
"MIT"
] | null | null | null | src/videoanalizer/openface/__init__.py | thomasreolon/DeepfakeDetection | 5bbeefdeeb05b2abd45336ad3382da6ce90c2fef | [
"MIT"
] | null | null | null | from . import openfaceapi
from . import parts
OpenFaceAPI = openfaceapi.OpenFaceAPI
| 17 | 37 | 0.811765 | 9 | 85 | 7.666667 | 0.444444 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 4 | 38 | 21.25 | 0.945205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 5 |
70a3d42832376a110a8f3a00c02360f157beb91c | 461 | py | Python | src/models/multibuy.py | radeklat/price-basket | a6fb5798f505680426234aff0c80b5721902d572 | [
"MIT"
] | null | null | null | src/models/multibuy.py | radeklat/price-basket | a6fb5798f505680426234aff0c80b5721902d572 | [
"MIT"
] | null | null | null | src/models/multibuy.py | radeklat/price-basket | a6fb5798f505680426234aff0c80b5721902d572 | [
"MIT"
] | null | null | null | from typing import Final
from attr import attrs, attrib, validators
from src.models.validators import is_percent, positive_int
@attrs
class MultibuyModel:
quantity: int = attrib(validator=[validators.instance_of(int), positive_int])
discounts_goods: str = attrib(validator=validators.instance_of(str))
pe... | 28.8125 | 82 | 0.774403 | 59 | 461 | 5.898305 | 0.474576 | 0.12931 | 0.215517 | 0.284483 | 0.301724 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.121475 | 461 | 15 | 83 | 30.733333 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
70a990024d3034f90be9742e26a1ddb045b452db | 88 | py | Python | toml_sort/__init__.py | kasium/toml-sort | aeefd8787b76d030fbd5577060e8317cee72857f | [
"MIT"
] | 34 | 2019-08-06T23:10:27.000Z | 2022-03-20T08:49:12.000Z | toml_sort/__init__.py | kasium/toml-sort | aeefd8787b76d030fbd5577060e8317cee72857f | [
"MIT"
] | 13 | 2019-08-06T17:15:08.000Z | 2022-03-31T00:15:47.000Z | toml_sort/__init__.py | kasium/toml-sort | aeefd8787b76d030fbd5577060e8317cee72857f | [
"MIT"
] | 8 | 2020-04-17T11:45:16.000Z | 2022-03-10T14:48:12.000Z | """Toml Sort.
A library to easily sort toml files.
"""
from .tomlsort import TomlSort
| 12.571429 | 36 | 0.715909 | 13 | 88 | 4.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 6 | 37 | 14.666667 | 0.875 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
564cb7344ebfe59a46ea0af52d720655ded1daa6 | 67 | py | Python | pm4pyws/handlers/xes/process_schema/alpha_freq/__init__.py | ehbasouri/pm4py-ws | 9bf5f88848a4aa2873bae86af95d37f64ae1dde1 | [
"Apache-2.0"
] | null | null | null | pm4pyws/handlers/xes/process_schema/alpha_freq/__init__.py | ehbasouri/pm4py-ws | 9bf5f88848a4aa2873bae86af95d37f64ae1dde1 | [
"Apache-2.0"
] | null | null | null | pm4pyws/handlers/xes/process_schema/alpha_freq/__init__.py | ehbasouri/pm4py-ws | 9bf5f88848a4aa2873bae86af95d37f64ae1dde1 | [
"Apache-2.0"
] | null | null | null | from pm4pyws.handlers.xes.process_schema.alpha_freq import get_vis
| 33.5 | 66 | 0.880597 | 11 | 67 | 5.090909 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.059701 | 67 | 1 | 67 | 67 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
567dfc420bf4a9501cf389eecf4711a1c297474a | 36 | py | Python | malib/envs/star_craft2/__init__.py | apexrl/malib | 3785309e9b695ff359131fbbecabb6b5a52ef559 | [
"MIT"
] | 258 | 2021-05-10T11:17:45.000Z | 2022-03-30T13:41:09.000Z | malib/envs/star_craft2/__init__.py | apexrl/malib | 3785309e9b695ff359131fbbecabb6b5a52ef559 | [
"MIT"
] | 28 | 2021-05-13T06:50:04.000Z | 2022-03-30T14:19:15.000Z | malib/envs/star_craft2/__init__.py | apexrl/malib | 3785309e9b695ff359131fbbecabb6b5a52ef559 | [
"MIT"
] | 34 | 2021-05-31T16:17:49.000Z | 2022-03-26T06:59:59.000Z | from .start_craft_env import SC2Env
| 18 | 35 | 0.861111 | 6 | 36 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.111111 | 36 | 1 | 36 | 36 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5691abf865cfd6c88c132a623bfe5ab0ebfc7dd7 | 252 | py | Python | office365/onedrive/columns/calculated_column.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/onedrive/columns/calculated_column.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/onedrive/columns/calculated_column.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.runtime.client_value import ClientValue
class CalculatedColumn(ClientValue):
"""The calculatedColumn on a columnDefinition resource indicates that the column's
data is calculated based on other columns in the site."""
pass
| 31.5 | 86 | 0.785714 | 32 | 252 | 6.15625 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014218 | 0.162698 | 252 | 7 | 87 | 36 | 0.919431 | 0.531746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 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 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.