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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1e9c781b419e835c7eced196ef491e5128f9bbdb | 62 | py | Python | ACM-Solution/powerof2.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 2 | 2016-04-26T15:40:40.000Z | 2018-07-18T10:16:42.000Z | ACM-Solution/powerof2.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 1 | 2016-04-26T15:44:15.000Z | 2016-04-29T14:44:40.000Z | ACM-Solution/powerof2.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 1 | 2018-10-02T16:12:19.000Z | 2018-10-02T16:12:19.000Z | exec("x=0;N=int(input());print(2**(sum()+1));"*int(input()))
| 31 | 61 | 0.532258 | 12 | 62 | 2.75 | 0.833333 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.032258 | 62 | 1 | 62 | 62 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.639344 | 0.639344 | 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 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
94ab75228b05a2963c183365296413528d246a91 | 92 | py | Python | parameters_8000.py | ayusharora99/E-CollegeBooks | bc9897215a9ed4d17e372a0371318967e3d480eb | [
"BSD-3-Clause"
] | 2 | 2018-12-08T23:59:12.000Z | 2019-02-13T23:04:36.000Z | parameters_8000.py | ayusharora99/E-CollegeBooks | bc9897215a9ed4d17e372a0371318967e3d480eb | [
"BSD-3-Clause"
] | null | null | null | parameters_8000.py | ayusharora99/E-CollegeBooks | bc9897215a9ed4d17e372a0371318967e3d480eb | [
"BSD-3-Clause"
] | 3 | 2018-12-08T23:59:17.000Z | 2019-02-13T23:04:38.000Z | password="pbkdf2(1000,20,sha512)$ba0f5757f7b448ec$d9c2e5887e65f45311047c8ff518f200ee11b98f"
| 46 | 91 | 0.891304 | 7 | 92 | 11.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.505495 | 0.01087 | 92 | 1 | 92 | 92 | 0.395604 | 0 | 0 | 0 | 0 | 0 | 0.869565 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
94ac6044959d983d47c287f915e389ed8d95187d | 328 | py | Python | src/omfgp/cli.py | miketlk/omfgp | 6e5a0f52f2688d81bde3e5169a37311c9517fe1d | [
"MIT"
] | null | null | null | src/omfgp/cli.py | miketlk/omfgp | 6e5a0f52f2688d81bde3e5169a37311c9517fe1d | [
"MIT"
] | null | null | null | src/omfgp/cli.py | miketlk/omfgp | 6e5a0f52f2688d81bde3e5169a37311c9517fe1d | [
"MIT"
] | 1 | 2021-08-16T10:19:52.000Z | 2021-08-16T10:19:52.000Z | DEFAULT_KEY = {
"ENC": b"\x40\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4A\x4B\x4C\x4D\x4E\x4F",
"MAC": b"\x40\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4A\x4B\x4C\x4D\x4E\x4F",
"DEK": b"\x40\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4A\x4B\x4C\x4D\x4E\x4F",
}
def list(key=DEFAULT_KEY):
"""Lists all applets"""
pr... | 36.444444 | 79 | 0.643293 | 66 | 328 | 3.166667 | 0.424242 | 0.057416 | 0.100478 | 0.143541 | 0.703349 | 0.703349 | 0.703349 | 0.703349 | 0.703349 | 0.703349 | 0 | 0.267123 | 0.109756 | 328 | 9 | 80 | 36.444444 | 0.44863 | 0.051829 | 0 | 0 | 0 | 0.428571 | 0.656863 | 0.627451 | 0 | 1 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
94f3b18944a11c75445cef1a85dda665ee609119 | 46,746 | py | Python | lib/jnpr/healthbot/swagger/api/organization_api.py | Juniper/healthbot-py-client | 49f0884b5d01ac8430aa7ed4c9acb4e7a2b717a6 | [
"Apache-2.0"
] | 10 | 2019-10-23T12:54:37.000Z | 2022-02-07T19:24:30.000Z | lib/jnpr/healthbot/swagger/api/organization_api.py | Juniper/healthbot-py-client | 49f0884b5d01ac8430aa7ed4c9acb4e7a2b717a6 | [
"Apache-2.0"
] | 5 | 2019-09-30T04:29:25.000Z | 2022-02-16T12:21:06.000Z | lib/jnpr/healthbot/swagger/api/organization_api.py | Juniper/healthbot-py-client | 49f0884b5d01ac8430aa7ed4c9acb4e7a2b717a6 | [
"Apache-2.0"
] | 4 | 2019-09-30T01:17:48.000Z | 2020-08-25T07:27:54.000Z | # coding: utf-8
"""
Paragon Insights APIs
API interface for PI application # noqa: E501
OpenAPI spec version: 4.0.0
Contact: healthbot-feedback@juniper.net
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# py... | 46.980905 | 164 | 0.648013 | 5,652 | 46,746 | 5.058209 | 0.030786 | 0.046731 | 0.069957 | 0.047011 | 0.982896 | 0.982896 | 0.982896 | 0.980237 | 0.980027 | 0.979712 | 0 | 0.014873 | 0.266461 | 46,746 | 994 | 165 | 47.028169 | 0.818868 | 0.323835 | 0 | 0.824399 | 1 | 0 | 0.260303 | 0.090026 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031423 | false | 0 | 0.007394 | 0 | 0.085028 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bf5d47be37cf903e8580c7840db1fffd47cb12b1 | 86 | py | Python | berth/builder/backends/__init__.py | joealcorn/berth.cc | 9cba1355d49705a13ae58cfdffa26ee6a3fb9e31 | [
"MIT"
] | null | null | null | berth/builder/backends/__init__.py | joealcorn/berth.cc | 9cba1355d49705a13ae58cfdffa26ee6a3fb9e31 | [
"MIT"
] | null | null | null | berth/builder/backends/__init__.py | joealcorn/berth.cc | 9cba1355d49705a13ae58cfdffa26ee6a3fb9e31 | [
"MIT"
] | null | null | null | from berth.builder.backends.base import *
from berth.builder.backends.sphinx import *
| 28.666667 | 43 | 0.813953 | 12 | 86 | 5.833333 | 0.583333 | 0.257143 | 0.457143 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 44 | 43 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
44c253f81c7a3412e5a62fbd60011c97050af7d2 | 2,720 | py | Python | tests/test_year_2014.py | l0pht511/jpholiday | 083145737b61fad3420c066968c4329d17dc3baf | [
"MIT"
] | 179 | 2017-10-05T12:41:10.000Z | 2022-03-24T22:18:25.000Z | tests/test_year_2014.py | l0pht511/jpholiday | 083145737b61fad3420c066968c4329d17dc3baf | [
"MIT"
] | 17 | 2018-10-23T00:51:13.000Z | 2021-11-22T11:40:06.000Z | tests/test_year_2014.py | l0pht511/jpholiday | 083145737b61fad3420c066968c4329d17dc3baf | [
"MIT"
] | 17 | 2018-10-19T11:13:07.000Z | 2022-01-29T08:05:56.000Z | # coding: utf-8
import datetime
import unittest
import jpholiday
class TestYear2014(unittest.TestCase):
def test_holiday(self):
"""
2014年祝日
"""
self.assertEqual(jpholiday.is_holiday_name(datetime.date(2014, 1, 1)), '元日')
self.assertEqual(jpholiday.is_holiday_name(datetime.... | 51.320755 | 95 | 0.682353 | 352 | 2,720 | 5.125 | 0.176136 | 0.249446 | 0.226164 | 0.245011 | 0.809313 | 0.809313 | 0.809313 | 0.736142 | 0.511641 | 0.394124 | 0 | 0.095702 | 0.170221 | 2,720 | 52 | 96 | 52.307692 | 0.703589 | 0.015074 | 0 | 0 | 0 | 0 | 0.032963 | 0 | 0 | 0 | 0 | 0 | 0.810811 | 1 | 0.081081 | false | 0 | 0.081081 | 0 | 0.189189 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7852458867e37b272e2b2586e35216cc3c5811b9 | 137 | py | Python | module.py | supperhappie/web_scraper | 334cc877d06fe0083f52fca84de7fb906a0ff5f7 | [
"MIT"
] | null | null | null | module.py | supperhappie/web_scraper | 334cc877d06fe0083f52fca84de7fb906a0ff5f7 | [
"MIT"
] | null | null | null | module.py | supperhappie/web_scraper | 334cc877d06fe0083f52fca84de7fb906a0ff5f7 | [
"MIT"
] | null | null | null | from math import *
print(ceil(4.2))
print(sum([0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1]))
print(fsum([0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1])) | 27.4 | 50 | 0.569343 | 47 | 137 | 1.659574 | 0.234043 | 0.461538 | 0.615385 | 0.820513 | 0.461538 | 0.461538 | 0.461538 | 0.461538 | 0.461538 | 0.461538 | 0 | 0.292308 | 0.051095 | 137 | 5 | 50 | 27.4 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 0 | 0 | 1 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
78758a785c0289c32fa159acab530e62fdfcc65f | 24,304 | py | Python | mayan/apps/documents/tests/test_document_file_views.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/documents/tests/test_document_file_views.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/documents/tests/test_document_file_views.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | from mayan.apps.converter.layers import layer_saved_transformations
from mayan.apps.converter.permissions import (
permission_transformation_delete, permission_transformation_edit
)
from mayan.apps.converter.tests.mixins import LayerTestMixin
from mayan.apps.documents.tests.literals import TEST_MULTI_PAGE_TIFF
from... | 33.615491 | 94 | 0.697704 | 2,687 | 24,304 | 5.852624 | 0.046892 | 0.146509 | 0.137352 | 0.082666 | 0.895714 | 0.877337 | 0.849421 | 0.843698 | 0.835114 | 0.818962 | 0 | 0.008451 | 0.225889 | 24,304 | 722 | 95 | 33.66205 | 0.827416 | 0.003127 | 0 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 1 | 0.060606 | false | 0 | 0.022727 | 0 | 0.092803 | 0.032197 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
159e0993e20c2d1a01b6aa2da9021b6c99e89aa2 | 4,417 | py | Python | xndtools/kernel_generator/tests/test_test_array.py | xnd-project/xndtools | 9478f31954091d861ce538ba278f7f888e23d19b | [
"BSD-3-Clause"
] | 3 | 2019-11-12T16:01:26.000Z | 2020-06-27T19:27:27.000Z | xndtools/kernel_generator/tests/test_test_array.py | xnd-project/xndtools | 9478f31954091d861ce538ba278f7f888e23d19b | [
"BSD-3-Clause"
] | 4 | 2018-04-25T17:12:43.000Z | 2018-08-23T18:17:24.000Z | xndtools/kernel_generator/tests/test_test_array.py | xnd-project/xndtools | 9478f31954091d861ce538ba278f7f888e23d19b | [
"BSD-3-Clause"
] | 6 | 2018-05-04T08:10:40.000Z | 2019-03-19T10:00:21.000Z | import pytest
from xndtools.kernel_generator.utils import NormalizedTypeMap
from xnd import xnd
import test_array as m
long_t = NormalizedTypeMap()('long')
def assert_equal(x, y):
assert x == y and x.dtype == y.dtype
def test_array_range_input():
# C kernel
a = xnd([1, 2, 3], dtype=long_t)
r = m.t... | 26.769697 | 77 | 0.600634 | 811 | 4,417 | 3.066584 | 0.077682 | 0.104544 | 0.148774 | 0.128669 | 0.894652 | 0.864897 | 0.821874 | 0.821874 | 0.758745 | 0.746683 | 0 | 0.053582 | 0.235228 | 4,417 | 164 | 78 | 26.932927 | 0.682652 | 0.103917 | 0 | 0.609195 | 0 | 0 | 0.0143 | 0 | 0 | 0 | 0 | 0.006098 | 0.448276 | 1 | 0.103448 | false | 0 | 0.045977 | 0 | 0.149425 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eca386f51bbe9df459d3def8a91f74e99caeab92 | 28 | py | Python | test_data/src-mini-project/src/mini/example.py | ajeetraina/pycograph | a1bcf8e0f62a605a798e82373ec2279add83cf16 | [
"BSD-3-Clause"
] | 346 | 2016-02-22T20:21:10.000Z | 2022-01-27T20:55:53.000Z | Language Skills/Python/Unit 4/2-Taking a Vacation/Review of Functions/1-Before we begin.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 55 | 2016-04-07T13:58:44.000Z | 2020-06-25T12:20:24.000Z | Language Skills/Python/Unit 4/2-Taking a Vacation/Review of Functions/1-Before we begin.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 477 | 2016-02-21T06:17:02.000Z | 2021-12-22T10:08:01.000Z | def answer():
return 42
| 9.333333 | 13 | 0.607143 | 4 | 28 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.285714 | 28 | 2 | 14 | 14 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
ecabd3f4bdd9f064663b14463a5ce941ba9d7e6b | 20,935 | py | Python | abeja/notebook/api/client.py | abeja-inc/abeja-platform-sdk | 97cfc99b11ffc1fccb3f527435277bc89e18b8c3 | [
"Apache-2.0"
] | 2 | 2020-10-20T18:38:16.000Z | 2020-10-20T20:12:35.000Z | abeja/notebook/api/client.py | abeja-inc/abeja-platform-sdk | 97cfc99b11ffc1fccb3f527435277bc89e18b8c3 | [
"Apache-2.0"
] | 30 | 2020-04-07T01:15:47.000Z | 2020-11-18T03:25:19.000Z | abeja/notebook/api/client.py | abeja-inc/abeja-platform-sdk | 97cfc99b11ffc1fccb3f527435277bc89e18b8c3 | [
"Apache-2.0"
] | null | null | null | from typing import Optional
from abeja.common.api_client import BaseAPIClient
from abeja.notebook.types import InstanceType, ImageType, NotebookType
class APIClient(BaseAPIClient):
"""A Low-Level client for Notebook API
.. code-block:: python
from abeja.notebook import APIClient
api_client =... | 39.5 | 137 | 0.485933 | 1,758 | 20,935 | 5.569397 | 0.0876 | 0.092943 | 0.097232 | 0.066183 | 0.889797 | 0.878664 | 0.871515 | 0.865182 | 0.846696 | 0.831784 | 0 | 0.071597 | 0.412228 | 20,935 | 529 | 138 | 39.574669 | 0.724096 | 0.636207 | 0 | 0.72549 | 0 | 0 | 0.123508 | 0.093783 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078431 | false | 0 | 0.029412 | 0 | 0.196078 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ecb49bb21b35339cb73ab865c201f6495e6361cb | 29 | py | Python | taskwiki/__init__.py | PtitCaius/taskwiki | 8c4da3a744fd1aa22bfb0369658cecc925e77fd0 | [
"MIT"
] | 465 | 2015-03-27T09:42:18.000Z | 2020-07-18T20:35:19.000Z | taskwiki/__init__.py | PtitCaius/taskwiki | 8c4da3a744fd1aa22bfb0369658cecc925e77fd0 | [
"MIT"
] | 272 | 2015-01-10T20:38:02.000Z | 2020-07-16T12:55:15.000Z | taskwiki/__init__.py | PtitCaius/taskwiki | 8c4da3a744fd1aa22bfb0369658cecc925e77fd0 | [
"MIT"
] | 66 | 2015-03-21T16:33:39.000Z | 2020-07-12T09:20:29.000Z | # (c) 2014-2015, Tomas Babej
| 14.5 | 28 | 0.655172 | 5 | 29 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.172414 | 29 | 1 | 29 | 29 | 0.458333 | 0.896552 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ecbc2b714802eef938dc23390f77656b110ad0d7 | 33,775 | py | Python | admin/tools/crawler_db/PS3-PHPtoMYSQL.py | gorpoorko/TCXS-Project-Store-Web-PlayStation3-V3 | 58bf3ba08723d775e8b42e6dfa16ea5b79594d26 | [
"MIT"
] | null | null | null | admin/tools/crawler_db/PS3-PHPtoMYSQL.py | gorpoorko/TCXS-Project-Store-Web-PlayStation3-V3 | 58bf3ba08723d775e8b42e6dfa16ea5b79594d26 | [
"MIT"
] | null | null | null | admin/tools/crawler_db/PS3-PHPtoMYSQL.py | gorpoorko/TCXS-Project-Store-Web-PlayStation3-V3 | 58bf3ba08723d775e8b42e6dfa16ea5b79594d26 | [
"MIT"
] | null | null | null |
import os
import pathlib
import sqlite3
from bs4 import BeautifulSoup
import pymysql.cursors
from datetime import datetime
#faz a conexao com o banco de dados
conexao = pymysql.connect(host = 'localhost',
user = 'root',
password = '',
db... | 42.430905 | 169 | 0.533412 | 3,910 | 33,775 | 4.587212 | 0.048082 | 0.039474 | 0.033954 | 0.037188 | 0.922558 | 0.920551 | 0.918209 | 0.915756 | 0.915756 | 0.915756 | 0 | 0.089469 | 0.159112 | 33,775 | 795 | 170 | 42.484277 | 0.542058 | 0.005093 | 0 | 0.782895 | 0 | 0.245066 | 0.73919 | 0.521292 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.004934 | 0.009868 | 0 | 0.009868 | 0.241776 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
01d12b115e20541f808963ebd17fccca6ce7f41b | 188 | py | Python | largescale/src/neuron/neuron/__init__.py | cosmozhang-lab/motion-illusion-model | 32a5ccab920095818b220642bae491429ff71f27 | [
"MIT"
] | null | null | null | largescale/src/neuron/neuron/__init__.py | cosmozhang-lab/motion-illusion-model | 32a5ccab920095818b220642bae491429ff71f27 | [
"MIT"
] | null | null | null | largescale/src/neuron/neuron/__init__.py | cosmozhang-lab/motion-illusion-model | 32a5ccab920095818b220642bae491429ff71f27 | [
"MIT"
] | null | null | null | # Package: largescale.src.neuron.neuron
from neuron import NeuronGroup
from neuron import T_EXCITATORY, T_INHIBITORY, T_EXC, T_E, T_INH, T_I
from neuron import T_ON, T_OFF, T_O, T_F
| 31.333333 | 70 | 0.776596 | 35 | 188 | 3.885714 | 0.514286 | 0.220588 | 0.352941 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154255 | 188 | 5 | 71 | 37.6 | 0.855346 | 0.196809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
01e8d97a7e29b1604d1107707c9dd60bfb163ffc | 43,415 | py | Python | AlignmentPracticableIORepa.py | caiks/AlignmentRepaPy | 7b67e5e1ed7a40fc0c9588b92d72536b12edaf11 | [
"MIT"
] | null | null | null | AlignmentPracticableIORepa.py | caiks/AlignmentRepaPy | 7b67e5e1ed7a40fc0c9588b92d72536b12edaf11 | [
"MIT"
] | null | null | null | AlignmentPracticableIORepa.py | caiks/AlignmentRepaPy | 7b67e5e1ed7a40fc0c9588b92d72536b12edaf11 | [
"MIT"
] | null | null | null | from AlignmentPracticableRepa import *
import logging
from timeit import default_timer as timer
from sys import stdout
# logging.basicConfig(format='%(asctime)s : %(name)s : %(message)s', datefmt='%Y-%m-%d %H:%M:%S', level=logging.INFO)
# logging.basicConfig(format='%(message)s', level=logging.INFO)
logging.ba... | 41.151659 | 158 | 0.54548 | 5,339 | 43,415 | 4.383592 | 0.066866 | 0.048752 | 0.040378 | 0.046659 | 0.915741 | 0.911767 | 0.90758 | 0.903478 | 0.889036 | 0.870877 | 0 | 0.025468 | 0.305424 | 43,415 | 1,054 | 159 | 41.190702 | 0.750622 | 0.048509 | 0 | 0.90239 | 0 | 0 | 0.081924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.006972 | 0.003984 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
17111a7abf53a035de98baa91e71385ab4317ae0 | 7,123 | py | Python | pygcn/models.py | coquid/pygcn | a11788468514cce47bd4262849456895def13714 | [
"MIT"
] | null | null | null | pygcn/models.py | coquid/pygcn | a11788468514cce47bd4262849456895def13714 | [
"MIT"
] | null | null | null | pygcn/models.py | coquid/pygcn | a11788468514cce47bd4262849456895def13714 | [
"MIT"
] | null | null | null | import torch.nn as nn
import torch.nn.functional as F
from pygcn.layers import GraphConvolution, MyGraphConvolution
class GCN(nn.Module):
def __init__(self, nfeat, nhid, nclass, dropout):
super(GCN, self).__init__()
self.gc1 = GraphConvolution(nfeat, nhid)
self.gc2 = GraphConvolution(nhid... | 38.090909 | 62 | 0.600168 | 978 | 7,123 | 4.300614 | 0.063395 | 0.068949 | 0.049929 | 0.054208 | 0.843795 | 0.843795 | 0.83476 | 0.828103 | 0.828103 | 0.828103 | 0 | 0.034365 | 0.260564 | 7,123 | 186 | 63 | 38.295699 | 0.764192 | 0 | 0 | 0.713415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085366 | false | 0 | 0.018293 | 0 | 0.189024 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
17435a67c44ac869cb192970c53155e65fc347af | 8,912 | py | Python | WN.py | neyudin/wavenetglow | 3261dd8163709b2204b1c9ba90bc544755439fa5 | [
"BSD-3-Clause"
] | null | null | null | WN.py | neyudin/wavenetglow | 3261dd8163709b2204b1c9ba90bc544755439fa5 | [
"BSD-3-Clause"
] | 2 | 2020-01-28T22:48:08.000Z | 2020-03-03T16:25:33.000Z | WN.py | neyudin/wavenetglow | 3261dd8163709b2204b1c9ba90bc544755439fa5 | [
"BSD-3-Clause"
] | null | null | null | import torch
import torch.nn as nn
class WN(torch.nn.Module):
"""
WN block for affine coupling layer. Actual version
"""
def __init__(self, num_channels, mel_channels, n_layers=8, residual_channels=512,
gate_channels=256, skip_channels=256):
"""
Parameters
... | 36.080972 | 108 | 0.546118 | 1,057 | 8,912 | 4.332072 | 0.109745 | 0.055907 | 0.059402 | 0.058965 | 0.92553 | 0.92553 | 0.89561 | 0.89561 | 0.877703 | 0.841887 | 0 | 0.020448 | 0.363443 | 8,912 | 246 | 109 | 36.227642 | 0.786709 | 0.182338 | 0 | 0.85034 | 0 | 0 | 0.004416 | 0 | 0 | 0 | 0 | 0 | 0.013605 | 1 | 0.027211 | false | 0 | 0.013605 | 0 | 0.068027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1757cb3adbb9ba3e3de2859b8f9845a3c7c5f97a | 12,676 | py | Python | utils/yolo.py | Cuda-Chen/fish-yolo-grabcut | 359da92815d49a7d238fe8de7bd51e5de68f0d40 | [
"MIT"
] | 7 | 2020-01-20T00:33:29.000Z | 2022-01-01T04:36:06.000Z | utils/yolo.py | ZurMaD/fish-yolo-grabcut | c2570691143df36d528d2b3c115bf2bc29cddfd6 | [
"MIT"
] | 1 | 2020-01-09T09:18:29.000Z | 2020-01-16T13:22:43.000Z | utils/yolo.py | Cuda-Chen/fish-yolo-grabcut | 359da92815d49a7d238fe8de7bd51e5de68f0d40 | [
"MIT"
] | 5 | 2020-06-20T01:50:10.000Z | 2020-12-24T09:13:10.000Z | #!/usr/bin/python
import numpy as np
import argparse
import time
import cv2 as cv
import os
def runYOLODetection(args):
# load my fish class labels that my YOLO model was trained on
labelsPath = os.path.sep.join([args["yolo"], "fish.names"])
#labelsPath = os.path.sep.join([args["yolo"], "coco.names"])
... | 40.758842 | 77 | 0.620227 | 1,637 | 12,676 | 4.787416 | 0.161271 | 0.013398 | 0.017226 | 0.024882 | 0.857343 | 0.857343 | 0.847263 | 0.842925 | 0.842925 | 0.842925 | 0 | 0.018249 | 0.269407 | 12,676 | 310 | 78 | 40.890323 | 0.827988 | 0.415273 | 0 | 0.726667 | 0 | 0 | 0.085159 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0.033333 | 0 | 0.073333 | 0.06 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1791323b17a576d78ae9d6ff260342ba69a97bc9 | 919 | py | Python | tests/test_half_wildcard.py | oqwa/gwh | 9399a9b0fd5815e81d68a4d52215c273f9c0d49b | [
"MIT"
] | null | null | null | tests/test_half_wildcard.py | oqwa/gwh | 9399a9b0fd5815e81d68a4d52215c273f9c0d49b | [
"MIT"
] | null | null | null | tests/test_half_wildcard.py | oqwa/gwh | 9399a9b0fd5815e81d68a4d52215c273f9c0d49b | [
"MIT"
] | null | null | null | from gwh import *
from tests.utils import *
app = GitWebhook()
app.add_handler(lambda: None, repository=KNOWN_REPO)
app.add_handler(lambda: None, type=KNOWN_TYPE)
def test_bitbucket():
check_bitbucket_webhook(app, KNOWN_TYPE, KNOWN_REPO, "master", hit_expected=True)
check_bitbucket_webhook(app, UNKNOWN_T... | 43.761905 | 90 | 0.771491 | 127 | 919 | 5.220472 | 0.212598 | 0.120664 | 0.156863 | 0.253394 | 0.838612 | 0.769231 | 0.731523 | 0.731523 | 0.731523 | 0.731523 | 0 | 0 | 0.124048 | 919 | 20 | 91 | 45.95 | 0.823602 | 0 | 0 | 0 | 0 | 0 | 0.052231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.133333 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
bd85a5016f4253e00cc44d9424523f4276b499b6 | 128 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_1/_pkg0_1_0/_pkg0_1_0_1/_pkg0_1_0_1_0/_mod0_1_0_1_0_4.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_1/_pkg0_1_0/_pkg0_1_0_1/_pkg0_1_0_1_0/_mod0_1_0_1_0_4.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_1/_pkg0_1_0/_pkg0_1_0_1/_pkg0_1_0_1_0/_mod0_1_0_1_0_4.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | name0_1_0_1_0_4_0 = None
name0_1_0_1_0_4_1 = None
name0_1_0_1_0_4_2 = None
name0_1_0_1_0_4_3 = None
name0_1_0_1_0_4_4 = None | 14.222222 | 24 | 0.820313 | 40 | 128 | 1.875 | 0.175 | 0.266667 | 0.466667 | 0.533333 | 0.88 | 0.88 | 0.746667 | 0 | 0 | 0 | 0 | 0.318182 | 0.140625 | 128 | 9 | 25 | 14.222222 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 10 |
bda5541d8519516c1c651c498c62fb368ec8e19e | 2,796 | py | Python | Decorator Foundation.py | Enthuisasticpessimist/Small-exercise | b169000023c3863f9e30d2cfc7c0f6e228f612f7 | [
"MIT"
] | null | null | null | Decorator Foundation.py | Enthuisasticpessimist/Small-exercise | b169000023c3863f9e30d2cfc7c0f6e228f612f7 | [
"MIT"
] | null | null | null | Decorator Foundation.py | Enthuisasticpessimist/Small-exercise | b169000023c3863f9e30d2cfc7c0f6e228f612f7 | [
"MIT"
] | null | null | null | ##-----------Non parametric decorator----------------
####initialization
##name = 'a'
##password = '1'
##user_status = False
##
####decorator
##def login(func):
## def inner():
## global name,password,user_status
## if user_status == True:
## pass
## else:
## n = input('nam... | 26.377358 | 79 | 0.508941 | 279 | 2,796 | 5.035842 | 0.189964 | 0.106762 | 0.076868 | 0.082562 | 0.824199 | 0.776512 | 0.776512 | 0.776512 | 0.730249 | 0.730249 | 0 | 0.020049 | 0.268598 | 2,796 | 105 | 80 | 26.628571 | 0.666993 | 0.629828 | 0 | 0.071429 | 0 | 0 | 0.082063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.178571 | false | 0.178571 | 0 | 0 | 0.25 | 0.107143 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
bdd6f392de5f9a7829a76f27096203708e20bfc0 | 79 | py | Python | 2017/12.12/python/lsh-get-github-user.py | mksweetlife/study | 0786a4bd7901ac0d1aa5efdae5b755693eee5cd3 | [
"MIT"
] | 1 | 2017-10-24T08:19:15.000Z | 2017-10-24T08:19:15.000Z | 2017/12.12/python/lsh-get-github-user.py | mksweetlife/study | 0786a4bd7901ac0d1aa5efdae5b755693eee5cd3 | [
"MIT"
] | 31 | 2017-10-31T11:09:44.000Z | 2018-12-04T07:47:46.000Z | 2017/12.12/python/lsh-get-github-user.py | mksweetlife/study | 0786a4bd7901ac0d1aa5efdae5b755693eee5cd3 | [
"MIT"
] | 5 | 2017-10-26T02:13:08.000Z | 2018-07-05T04:58:47.000Z | def getUser():
return "Sanghak,Lee / http://sanghaklee.tistory.com" #FIXME: | 39.5 | 64 | 0.696203 | 10 | 79 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 79 | 2 | 64 | 39.5 | 0.797101 | 0.075949 | 0 | 0 | 0 | 0 | 0.589041 | 0 | 0 | 0 | 0 | 0.5 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
bddd1a20f636344c19e0119a658dd15a4909a0a2 | 2,955 | py | Python | match_rcnn/mmdetection/mmdet/pretrained_models/cocopth.py | 201419/taobao-live-product-recognition | 1f5de5917b43b2b58f4387a77272fc7c587a1051 | [
"Apache-2.0"
] | null | null | null | match_rcnn/mmdetection/mmdet/pretrained_models/cocopth.py | 201419/taobao-live-product-recognition | 1f5de5917b43b2b58f4387a77272fc7c587a1051 | [
"Apache-2.0"
] | null | null | null | match_rcnn/mmdetection/mmdet/pretrained_models/cocopth.py | 201419/taobao-live-product-recognition | 1f5de5917b43b2b58f4387a77272fc7c587a1051 | [
"Apache-2.0"
] | 1 | 2021-05-14T03:30:29.000Z | 2021-05-14T03:30:29.000Z | import torch
import numpy as np
num_classes = 25
model_coco = torch.load(r"/media/alvinai/Documents/model/faster_rcnn_r50_fpn_1x_20190610-bf0ea559.pth")
# print(model_coco)
# print(model_coco["state_dict"]["rpn_head.rpn_cls.weight"].shape)
# a = model_coco["state_dict"]["rpn_head.rpn_cls.weight"][0]
# model_co... | 75.769231 | 140 | 0.706937 | 494 | 2,955 | 3.878543 | 0.105263 | 0.192589 | 0.277662 | 0.356994 | 0.845511 | 0.826722 | 0.826722 | 0.826722 | 0.826722 | 0.669102 | 0 | 0.019806 | 0.094416 | 2,955 | 38 | 141 | 77.763158 | 0.696188 | 0.671404 | 0 | 0 | 0 | 0 | 0.458287 | 0.369299 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
bdf4b884e53e55033540d679eaf6e95f48c085d7 | 118 | py | Python | tests/test_crawler.py | Yotamho/nba-analytics | 13174040198d44aab035de58cf785bce6926958a | [
"MIT"
] | null | null | null | tests/test_crawler.py | Yotamho/nba-analytics | 13174040198d44aab035de58cf785bce6926958a | [
"MIT"
] | null | null | null | tests/test_crawler.py | Yotamho/nba-analytics | 13174040198d44aab035de58cf785bce6926958a | [
"MIT"
] | null | null | null | from nba_analytics.crawler import pbp_for_range
def test_crawler():
assert pbp_for_range(3, 2008, 2009) != None
| 19.666667 | 47 | 0.762712 | 19 | 118 | 4.421053 | 0.789474 | 0.142857 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09 | 0.152542 | 118 | 5 | 48 | 23.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bdfb84bba555606efcd2d3ca97385378284beca7 | 8,203 | py | Python | tests/test_levdistresult.py | ZenulAbidin/bip39validator | b78f2db6f46b56b408eef3a51e921e96247a9b46 | [
"MIT"
] | 3 | 2021-02-11T20:37:56.000Z | 2021-06-11T03:29:15.000Z | tests/test_levdistresult.py | ZenulAbidin/bip39validator | b78f2db6f46b56b408eef3a51e921e96247a9b46 | [
"MIT"
] | 4 | 2020-10-04T23:11:08.000Z | 2020-12-23T00:32:52.000Z | tests/test_levdistresult.py | ZenulAbidin/bip39validator | b78f2db6f46b56b408eef3a51e921e96247a9b46 | [
"MIT"
] | null | null | null | from unittest import TestCase
from bip39validator import ValidationFailed
from bip39validator.BIP39WordList import BIP39WordList
levdist_gt2 = """brown
brpyt"""
levdist_le2 = """brow
brol"""
# Expected results *must* be in word alphabetical order.
class TestLevDistResult(TestCase):
def test_getwordpairs_eq(self)... | 33.076613 | 73 | 0.536633 | 922 | 8,203 | 4.590022 | 0.069414 | 0.026229 | 0.038043 | 0.112476 | 0.889887 | 0.884688 | 0.851371 | 0.825142 | 0.825142 | 0.804112 | 0 | 0.036539 | 0.356089 | 8,203 | 247 | 74 | 33.210526 | 0.764672 | 0.006583 | 0 | 0.734783 | 0 | 0 | 0.044311 | 0 | 0 | 0 | 0 | 0 | 0.134783 | 1 | 0.06087 | false | 0.1 | 0.013043 | 0 | 0.078261 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
da804ba481b451cc0ca78dfe3274c111f94eaf58 | 16,539 | py | Python | data-processing/utils/__init__.py | mark-andrews/BayesianAccountMemoryText | 28609a4d3d3924c5082af81359ffc3f78f6eb6da | [
"CC-BY-4.0"
] | 2 | 2020-04-10T17:14:19.000Z | 2020-04-10T17:14:26.000Z | data-processing/utils/__init__.py | mark-andrews/BayesianAccountMemoryText | 28609a4d3d3924c5082af81359ffc3f78f6eb6da | [
"CC-BY-4.0"
] | 18 | 2020-03-24T17:07:23.000Z | 2021-12-13T20:01:11.000Z | data-processing/utils/__init__.py | mark-andrews/BayesianAccountMemoryText | 28609a4d3d3924c5082af81359ffc3f78f6eb6da | [
"CC-BY-4.0"
] | null | null | null | """
Some general utils.
"""
##=============================================================================
## Standard library imports
##=============================================================================
#import string
#import re
#import os
#import errno
#import hashlib
#
##==============================... | 73.834821 | 104 | 0.912026 | 1,245 | 16,539 | 11.675502 | 0.345382 | 0.11929 | 0.147358 | 0.182444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.517416 | 0.04704 | 16,539 | 223 | 105 | 74.165919 | 0.40486 | 0.136405 | 0 | 0.014599 | 0 | 0 | 0.984285 | 0.965398 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 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 | 7 |
da8e99c09aabca3db1bc0e1af11da10e940286d6 | 2,549 | py | Python | tests/fixtures/dict_list/docket_list_with_homicide.py | SimmonsRitchie/court_docket_scraper | f467d59c4ea8dbddb4fd7545dc36656a4b30e46d | [
"MIT"
] | 1 | 2021-10-29T20:12:44.000Z | 2021-10-29T20:12:44.000Z | tests/fixtures/dict_list/docket_list_with_homicide.py | SimmonsRitchie/court_docket_scraper | f467d59c4ea8dbddb4fd7545dc36656a4b30e46d | [
"MIT"
] | 2 | 2019-07-19T20:13:16.000Z | 2019-07-19T20:13:16.000Z | tests/fixtures/dict_list/docket_list_with_homicide.py | SimmonsRitchie/court_docket_scraper | f467d59c4ea8dbddb4fd7545dc36656a4b30e46d | [
"MIT"
] | null | null | null | docket_list = [
{
"county": "Dauphin",
"docketnum": 1,
"case_caption": "Commonwealth V. Smith, John A.",
"arresting_agency": "Harrisburg PD",
"municipality": "Harrisburg",
"defendant": "John A. Smith",
"defendant_race": "white",
"defendant_gender": "Ma... | 39.828125 | 146 | 0.582581 | 264 | 2,549 | 5.545455 | 0.234848 | 0.020492 | 0.060109 | 0.065574 | 0.960383 | 0.940574 | 0.940574 | 0.940574 | 0.900273 | 0.900273 | 0 | 0.092098 | 0.250294 | 2,549 | 63 | 147 | 40.460317 | 0.673993 | 0 | 0 | 0.698413 | 0 | 0.063492 | 0.634759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
16fee0714125b907c565a7460bda1a63c75c9808 | 3,682 | py | Python | boundlexx/boundless/migrations/0002_create_item_timeseries.py | AngellusMortis/boundlexx | 407f5e38e8e0f067cbcb358787fc9af6a9be9b2a | [
"MIT"
] | 1 | 2021-04-23T11:49:50.000Z | 2021-04-23T11:49:50.000Z | boundlexx/boundless/migrations/0002_create_item_timeseries.py | AngellusMortis/boundlexx | 407f5e38e8e0f067cbcb358787fc9af6a9be9b2a | [
"MIT"
] | 1 | 2021-04-17T18:17:12.000Z | 2021-04-17T18:17:12.000Z | boundlexx/boundless/migrations/0002_create_item_timeseries.py | AngellusMortis/boundlexx | 407f5e38e8e0f067cbcb358787fc9af6a9be9b2a | [
"MIT"
] | null | null | null | # Generated by Django 3.0.8 on 2020-07-21 17:44
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('boundless', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='ItemShopStandPrice'... | 51.138889 | 209 | 0.605921 | 348 | 3,682 | 6.215517 | 0.281609 | 0.083218 | 0.032362 | 0.050855 | 0.784096 | 0.784096 | 0.784096 | 0.784096 | 0.784096 | 0.784096 | 0 | 0.0194 | 0.258012 | 3,682 | 71 | 210 | 51.859155 | 0.772328 | 0.012222 | 0 | 0.738462 | 1 | 0 | 0.27923 | 0.084182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030769 | 0 | 0.076923 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e541c66e26b2dcd462e9c9a22b50ce0b746cca85 | 7,028 | py | Python | process_azure_roles.py | noamsdahan/iam-dataset | da640ba65906f3f6091c6cbfdfdc0ca03df83f8f | [
"MIT"
] | 58 | 2021-06-23T07:12:19.000Z | 2022-03-26T14:55:00.000Z | process_azure_roles.py | noamsdahan/iam-dataset | da640ba65906f3f6091c6cbfdfdc0ca03df83f8f | [
"MIT"
] | 8 | 2021-11-01T15:41:19.000Z | 2022-02-08T08:04:05.000Z | process_azure_roles.py | noamsdahan/iam-dataset | da640ba65906f3f6091c6cbfdfdc0ca03df83f8f | [
"MIT"
] | 4 | 2021-07-31T03:13:12.000Z | 2022-03-22T08:28:08.000Z | import os
import json
import time
import requests
import re
result = {
'roles': []
}
raw_roles = []
with open("azure/built-in-roles-raw.json", "r") as f:
raw_roles = json.loads(f.read())
provider_ops = []
with open("azure/provider-operations.json", "r") as f:
provider_ops = json.loads(f.read())
for raw_... | 50.2 | 147 | 0.517075 | 585 | 7,028 | 6.104274 | 0.136752 | 0.058247 | 0.060487 | 0.077289 | 0.8317 | 0.8317 | 0.817698 | 0.817698 | 0.817698 | 0.817698 | 0 | 0.0011 | 0.353159 | 7,028 | 139 | 148 | 50.561151 | 0.784426 | 0 | 0 | 0.726563 | 0 | 0 | 0.157371 | 0.011952 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039063 | 0 | 0.039063 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e56946e13d2d2d1c51e541739f896030848cdd8a | 76,894 | py | Python | utils/utils_df_nn.py | Lifelong-ML/LASEM | c4ec052c850e37f54bc3e6faf6b988a4c5239f10 | [
"MIT"
] | 8 | 2021-07-06T14:35:50.000Z | 2022-03-03T08:45:13.000Z | utils/utils_df_nn.py | Lifelong-ML/LASEM | c4ec052c850e37f54bc3e6faf6b988a4c5239f10 | [
"MIT"
] | null | null | null | utils/utils_df_nn.py | Lifelong-ML/LASEM | c4ec052c850e37f54bc3e6faf6b988a4c5239f10 | [
"MIT"
] | 1 | 2021-07-09T09:26:11.000Z | 2021-07-09T09:26:11.000Z | import numpy as np
import tensorflow as tf
from utils.utils import *
from utils.utils_nn import *
###########################################################
##### functions to generate parameter #####
###########################################################
#### function to generate k... | 116.154079 | 1,000 | 0.734986 | 13,174 | 76,894 | 3.849552 | 0.01837 | 0.11973 | 0.087313 | 0.066254 | 0.936566 | 0.925011 | 0.911287 | 0.90403 | 0.892929 | 0.887073 | 0 | 0.023474 | 0.136292 | 76,894 | 661 | 1,001 | 116.329803 | 0.74013 | 0.053801 | 0 | 0.599147 | 0 | 0 | 0.01676 | 0 | 0 | 0 | 0 | 0 | 0.027719 | 1 | 0.036247 | false | 0 | 0.008529 | 0 | 0.081023 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f902e32cb0c6f87b960daa97f2b7828a5ba52e29 | 38,435 | py | Python | ross/tests/test_rubbing.py | rodrigomoliveira1/ross | 51f9379a8a834e1253b94e70dd9f5324acd8c78e | [
"MIT"
] | 1 | 2021-07-20T04:24:19.000Z | 2021-07-20T04:24:19.000Z | ross/tests/test_rubbing.py | rodrigomoliveira1/ross | 51f9379a8a834e1253b94e70dd9f5324acd8c78e | [
"MIT"
] | null | null | null | ross/tests/test_rubbing.py | rodrigomoliveira1/ross | 51f9379a8a834e1253b94e70dd9f5324acd8c78e | [
"MIT"
] | null | null | null | import os
from pathlib import Path
from tempfile import tempdir
import numpy as np
import pytest
from numpy.testing import assert_allclose, assert_almost_equal
import ross as rs
from ross.defects.misalignment import MisalignmentFlex
from ross.units import Q_
steel2 = rs.Material(name="Steel", rho=7850, E=2.17e11, Po... | 57.19494 | 92 | 0.452738 | 4,847 | 38,435 | 3.577058 | 0.094285 | 0.431422 | 0.517707 | 0.581382 | 0.92006 | 0.913023 | 0.904487 | 0.900969 | 0.900969 | 0.897912 | 0 | 0.625108 | 0.39732 | 38,435 | 671 | 93 | 57.280179 | 0.123381 | 0.004527 | 0 | 0.847134 | 0 | 0 | 0.000523 | 0 | 0 | 0 | 0 | 0 | 0.036624 | 1 | 0.009554 | false | 0 | 0.014331 | 0 | 0.02707 | 0.003185 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
f924a3360f6478f383a6de27cd9e66749ac25041 | 36,224 | py | Python | tests/io/test_hdf_writer.py | hbdeng/pycroscopy | f9a6d273f6a8e6fdda1287cec82cd6da32d9e2a5 | [
"MIT"
] | 1 | 2020-02-13T20:54:47.000Z | 2020-02-13T20:54:47.000Z | tests/io/test_hdf_writer.py | Liambcollins/pycroscopy | fd02ac735a1194d2a5687183fafe00368ed8a3ca | [
"MIT"
] | null | null | null | tests/io/test_hdf_writer.py | Liambcollins/pycroscopy | fd02ac735a1194d2a5687183fafe00368ed8a3ca | [
"MIT"
] | 1 | 2020-03-20T13:19:09.000Z | 2020-03-20T13:19:09.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue Nov 3 15:07:16 2017
@author: Suhas Somnath
"""
from __future__ import division, print_function, unicode_literals, absolute_import
import unittest
import os
import h5py
import numpy as np
import sys
sys.path.append("../../../pycroscopy/")
from pycroscopy.io.virtual_data imp... | 39.98234 | 124 | 0.593087 | 4,738 | 36,224 | 4.221824 | 0.056986 | 0.059991 | 0.044993 | 0.030395 | 0.849773 | 0.820177 | 0.79708 | 0.763036 | 0.749938 | 0.73584 | 0 | 0.037082 | 0.291271 | 36,224 | 905 | 125 | 40.026519 | 0.742064 | 0.038262 | 0 | 0.703988 | 0 | 0 | 0.053793 | 0.001264 | 0 | 0 | 0 | 0.001105 | 0.226994 | 1 | 0.058282 | false | 0 | 0.013804 | 0 | 0.07362 | 0.001534 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
00b16f07c262f23c71a57d135003bb5d4c284846 | 2,851 | py | Python | CodeForces/EducationalRound73/B.py | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | 1 | 2018-11-25T04:15:45.000Z | 2018-11-25T04:15:45.000Z | CodeForces/EducationalRound73/B.py | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | null | null | null | CodeForces/EducationalRound73/B.py | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | 2 | 2018-08-08T13:01:14.000Z | 2018-11-25T12:38:36.000Z | N = int(input())
grid = [["*"] * N for _ in range(N)]
grid[0][0] = "W"
for i in range(N):
for j in range(N):
if grid[i][j] == "*":
if j == 0:
if grid[i - 1][j] == "W":
grid[i][j] = "B"
else:
grid[i][j] = "W"
e... | 38.527027 | 49 | 0.244476 | 435 | 2,851 | 1.6 | 0.043678 | 0.29454 | 0.201149 | 0.195402 | 0.886494 | 0.862069 | 0.862069 | 0.862069 | 0.862069 | 0.862069 | 0 | 0.102465 | 0.544721 | 2,851 | 73 | 50 | 39.054795 | 0.433744 | 0 | 0 | 0.685714 | 0 | 0 | 0.014732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
00d37eaf2e152000bf2c3d503f3ab04f61ff6ea3 | 36 | py | Python | frappe/patches/v4_0/remove_index_sitemap.py | pawaranand/phr_frappe | d997ae7d6fbade4b2c4a2491603d988876dfd67e | [
"MIT"
] | 1 | 2022-03-05T16:02:39.000Z | 2022-03-05T16:02:39.000Z | frappe/patches/v4_0/remove_index_sitemap.py | pawaranand/phr_frappe | d997ae7d6fbade4b2c4a2491603d988876dfd67e | [
"MIT"
] | 1 | 2015-07-11T20:52:38.000Z | 2019-12-06T15:00:58.000Z | frappe/patches/v4_0/remove_index_sitemap.py | pawaranand/phr_frappe | d997ae7d6fbade4b2c4a2491603d988876dfd67e | [
"MIT"
] | 2 | 2015-09-05T05:30:23.000Z | 2018-03-21T19:45:10.000Z | import frappe
def execute():
pass
| 7.2 | 14 | 0.722222 | 5 | 36 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 36 | 4 | 15 | 9 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 8 |
da9c410d602b9ec28b6c717a86a0c174065fc8dc | 36 | py | Python | reporter/__init__.py | eaingaran/TimeMachine | f6199827ffc358dd32f26edd8d68e2dbf7c63a90 | [
"MIT"
] | null | null | null | reporter/__init__.py | eaingaran/TimeMachine | f6199827ffc358dd32f26edd8d68e2dbf7c63a90 | [
"MIT"
] | null | null | null | reporter/__init__.py | eaingaran/TimeMachine | f6199827ffc358dd32f26edd8d68e2dbf7c63a90 | [
"MIT"
] | null | null | null | from reporter import GenerateReport
| 18 | 35 | 0.888889 | 4 | 36 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
daaf9ad2bbd982879bb0f1d6c500eb2886d1827f | 18,405 | py | Python | sdk/python/pulumi_buildkite/team.py | grapl-security/pulumi-buildkite | f801ecb661d82da6b939b13f5520038e3b6e891f | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_buildkite/team.py | grapl-security/pulumi-buildkite | f801ecb661d82da6b939b13f5520038e3b6e891f | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_buildkite/team.py | grapl-security/pulumi-buildkite | f801ecb661d82da6b939b13f5520038e3b6e891f | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 38.34375 | 134 | 0.629394 | 2,157 | 18,405 | 5.122856 | 0.077886 | 0.093575 | 0.08362 | 0.075656 | 0.844344 | 0.823891 | 0.792127 | 0.762986 | 0.753665 | 0.7381 | 0 | 0.000074 | 0.26721 | 18,405 | 479 | 135 | 38.4238 | 0.819233 | 0.249878 | 0 | 0.659259 | 1 | 0 | 0.098952 | 0.029386 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159259 | false | 0.003704 | 0.018519 | 0 | 0.274074 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dae7ac093bb2806c2693266b9bf2b6b2ab7584bc | 9,341 | py | Python | whatthefood/tests/test_ops.py | lychanl/WhatTheFood | 94b6eec2c306e7e55b19395cde207d6e6beec7fe | [
"MIT"
] | null | null | null | whatthefood/tests/test_ops.py | lychanl/WhatTheFood | 94b6eec2c306e7e55b19395cde207d6e6beec7fe | [
"MIT"
] | null | null | null | whatthefood/tests/test_ops.py | lychanl/WhatTheFood | 94b6eec2c306e7e55b19395cde207d6e6beec7fe | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import whatthefood.graph as graph
class TestOps(unittest.TestCase):
def test_matmul(self):
x_arr = np.array([[1, 2], [2, 3], [3, 4]])
y_arr = np.array([[1, 2, 3, 4], [4, 5, 6, 7]])
x = graph.Constant(x_arr)
y = graph.Constant(y_arr)
m ... | 36.065637 | 107 | 0.52853 | 1,533 | 9,341 | 3.076321 | 0.048271 | 0.03732 | 0.120865 | 0.161154 | 0.859415 | 0.833969 | 0.78838 | 0.774597 | 0.738126 | 0.708227 | 0 | 0.078281 | 0.260143 | 9,341 | 258 | 108 | 36.205426 | 0.604109 | 0 | 0 | 0.594737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221053 | 1 | 0.121053 | false | 0 | 0.015789 | 0 | 0.142105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
970f7b10a07b98a1a06557eff5b9b16e7aa0fdb8 | 59,592 | py | Python | sdk/python/pulumi_aws_native/elasticloadbalancingv2/outputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 29 | 2021-09-30T19:32:07.000Z | 2022-03-22T21:06:08.000Z | sdk/python/pulumi_aws_native/elasticloadbalancingv2/outputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 232 | 2021-09-30T19:26:26.000Z | 2022-03-31T23:22:06.000Z | sdk/python/pulumi_aws_native/elasticloadbalancingv2/outputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 4 | 2021-11-10T19:42:01.000Z | 2022-02-05T10:15:49.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from... | 36.116364 | 159 | 0.65044 | 6,266 | 59,592 | 5.857804 | 0.034791 | 0.027462 | 0.042855 | 0.062635 | 0.83302 | 0.814412 | 0.800654 | 0.751342 | 0.741915 | 0.737774 | 0 | 0.000422 | 0.244815 | 59,592 | 1,649 | 160 | 36.138266 | 0.81519 | 0.002702 | 0 | 0.810117 | 1 | 0.016862 | 0.204813 | 0.09257 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16349 | false | 0 | 0.004399 | 0.08871 | 0.314516 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
971ea22b4f898d7b945a3d66e55c054fd8c1a0fd | 10,581 | py | Python | awx/main/tests/functional/api/test_webhooks.py | Avinesh/awx | 6310a2edd890d6062a9f6bcdeb2b46c4b876c2bf | [
"Apache-2.0"
] | 17 | 2021-04-03T01:40:17.000Z | 2022-03-03T11:45:20.000Z | awx/main/tests/functional/api/test_webhooks.py | Avinesh/awx | 6310a2edd890d6062a9f6bcdeb2b46c4b876c2bf | [
"Apache-2.0"
] | 24 | 2021-05-18T21:13:35.000Z | 2022-03-29T10:23:52.000Z | awx/main/tests/functional/api/test_webhooks.py | hostinger/awx | dac01b14e2c04c201a162ea03ef8386d822e3923 | [
"Apache-2.0"
] | 24 | 2020-11-27T08:37:35.000Z | 2021-03-08T13:27:15.000Z | import pytest
from awx.api.versioning import reverse
from awx.main.models.mixins import WebhookTemplateMixin
from awx.main.models.credential import Credential, CredentialType
@pytest.mark.django_db
@pytest.mark.parametrize(
"user_role, expect", [
('superuser', 200),
('org admin', 200),
('... | 40.54023 | 113 | 0.671865 | 1,271 | 10,581 | 5.369788 | 0.080252 | 0.058022 | 0.057143 | 0.038681 | 0.961026 | 0.955458 | 0.955458 | 0.954432 | 0.941538 | 0.92044 | 0 | 0.011189 | 0.189113 | 10,581 | 260 | 114 | 40.696154 | 0.784266 | 0 | 0 | 0.826484 | 0 | 0 | 0.131651 | 0.017201 | 0 | 0 | 0 | 0 | 0.150685 | 1 | 0.045662 | false | 0 | 0.018265 | 0 | 0.063927 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
975afa8d06b3b9c7712ca708d7fed99f0a1cdb6b | 8,367 | py | Python | thornode_client/thornode_client/api/tx_api.py | hoodieonwho/thorchain-python-client | fccfd66552e16bdab1dbb90b68022475c7a9693d | [
"MIT"
] | null | null | null | thornode_client/thornode_client/api/tx_api.py | hoodieonwho/thorchain-python-client | fccfd66552e16bdab1dbb90b68022475c7a9693d | [
"MIT"
] | null | null | null | thornode_client/thornode_client/api/tx_api.py | hoodieonwho/thorchain-python-client | fccfd66552e16bdab1dbb90b68022475c7a9693d | [
"MIT"
] | null | null | null | # coding: utf-8
"""
THORChain API
This documentation outlines the API for THORChain. NOTE: This document is a **work in progress**. # noqa: E501
OpenAPI spec version:
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # no... | 37.186667 | 123 | 0.60643 | 1,011 | 8,367 | 4.773492 | 0.154303 | 0.051388 | 0.017406 | 0.020721 | 0.898881 | 0.897016 | 0.891836 | 0.871529 | 0.868214 | 0.859925 | 0 | 0.017093 | 0.307757 | 8,367 | 224 | 124 | 37.352679 | 0.816126 | 0.351141 | 0 | 0.778761 | 0 | 0 | 0.153908 | 0.042194 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044248 | false | 0 | 0.035398 | 0 | 0.141593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8ae9058fefadf30c0326f4f63c43379b31ae9689 | 9,267 | py | Python | src/tests/functional/test_entry_data_endpoint.py | jroberts07/fpl-stats-api | 3a7b5faacec5f83643a16143000b46bea70b5364 | [
"MIT"
] | null | null | null | src/tests/functional/test_entry_data_endpoint.py | jroberts07/fpl-stats-api | 3a7b5faacec5f83643a16143000b46bea70b5364 | [
"MIT"
] | 7 | 2019-09-08T21:46:14.000Z | 2019-12-23T15:06:53.000Z | src/tests/functional/test_entry_data_endpoint.py | jroberts07/fpl_stats_api | 3a7b5faacec5f83643a16143000b46bea70b5364 | [
"MIT"
] | null | null | null | from aioresponses import aioresponses
from server import app as sanic_app
async def test_success_multiple_classics(test_cli):
"""Test entry data with an array of classic leagues.
Args:
test_cli (obj): The test event loop.
"""
with aioresponses(passthrough=['http://127.0.0.1:']) as m:
... | 28.601852 | 75 | 0.499838 | 1,036 | 9,267 | 4.243243 | 0.082046 | 0.067561 | 0.089172 | 0.038217 | 0.893085 | 0.881256 | 0.867152 | 0.818926 | 0.812102 | 0.792539 | 0 | 0.033483 | 0.400561 | 9,267 | 323 | 76 | 28.690402 | 0.757876 | 0 | 0 | 0.718045 | 0 | 0 | 0.161897 | 0.111603 | 0 | 0 | 0 | 0 | 0.06015 | 1 | 0 | false | 0.026316 | 0.007519 | 0 | 0.007519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8af62ad39d558e0d5a5806871f1e4a6b7a8df43e | 194,948 | py | Python | src/lib/tracker/multitracker.py | DerryHub/FairMOT-attack | 2678cebe939eb8e14106c1e9e07f0c44b5ba975f | [
"MIT"
] | 18 | 2021-11-18T15:38:46.000Z | 2022-03-22T07:24:27.000Z | src/lib/tracker/multitracker.py | DerryHub/FairMOT-attack | 2678cebe939eb8e14106c1e9e07f0c44b5ba975f | [
"MIT"
] | null | null | null | src/lib/tracker/multitracker.py | DerryHub/FairMOT-attack | 2678cebe939eb8e14106c1e9e07f0c44b5ba975f | [
"MIT"
] | 1 | 2021-11-25T03:14:37.000Z | 2021-11-25T03:14:37.000Z | # ------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# ------------------------------------------------------------------------------
from collections import deque
import cv2
import numpy as np
im... | 43.986462 | 201 | 0.56671 | 24,775 | 194,948 | 4.172714 | 0.021877 | 0.025924 | 0.018863 | 0.017644 | 0.928041 | 0.914315 | 0.903743 | 0.895598 | 0.887782 | 0.879618 | 0 | 0.017038 | 0.325907 | 194,948 | 4,431 | 202 | 43.996389 | 0.769635 | 0.029049 | 0 | 0.845361 | 0 | 0.004458 | 0.026489 | 0.00304 | 0 | 0 | 0 | 0 | 0.014489 | 1 | 0.016439 | false | 0 | 0.00613 | 0.000836 | 0.040958 | 0.004737 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c1219d3a603a918463a09f2d7d78debd9182f482 | 192 | py | Python | eula-scan/app/counts.py | davidbstein/ml-law | 2db439a9b618384c57acb51ddc0d55cf864ed8be | [
"MIT"
] | null | null | null | eula-scan/app/counts.py | davidbstein/ml-law | 2db439a9b618384c57acb51ddc0d55cf864ed8be | [
"MIT"
] | null | null | null | eula-scan/app/counts.py | davidbstein/ml-law | 2db439a9b618384c57acb51ddc0d55cf864ed8be | [
"MIT"
] | null | null | null | import model
print(dict(model._ex("select count(*) policies from tos_text").fetchone()))
print(dict(model._ex("select count(*) companies from company where last_error is null").fetchone()))
| 38.4 | 100 | 0.75 | 28 | 192 | 5 | 0.678571 | 0.128571 | 0.2 | 0.228571 | 0.385714 | 0.385714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 192 | 4 | 101 | 48 | 0.804598 | 0 | 0 | 0 | 0 | 0 | 0.534031 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 | 1 | 0 | 7 |
c1724e3fcc8f514b866413548912dc98400bc49f | 2,790 | py | Python | entrepreneurial_property/migrations/0015_auto_20180905_0646.py | CzechInvest/ciis | c6102598f564a717472e5e31e7eb894bba2c8104 | [
"MIT"
] | 1 | 2019-05-26T22:24:01.000Z | 2019-05-26T22:24:01.000Z | entrepreneurial_property/migrations/0015_auto_20180905_0646.py | CzechInvest/ciis | c6102598f564a717472e5e31e7eb894bba2c8104 | [
"MIT"
] | 6 | 2019-01-22T14:53:43.000Z | 2020-09-22T16:20:28.000Z | entrepreneurial_property/migrations/0015_auto_20180905_0646.py | CzechInvest/ciis | c6102598f564a717472e5e31e7eb894bba2c8104 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.5 on 2018-09-05 06:46
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('entrepreneurial_property', '0014_auto_20180905_0629'),
]
operations = [
migrations.AlterModelOptions(
name='brownfieldwastewater... | 37.702703 | 98 | 0.603584 | 246 | 2,790 | 6.682927 | 0.256098 | 0.080292 | 0.113139 | 0.091241 | 0.748175 | 0.748175 | 0.748175 | 0.748175 | 0.748175 | 0.748175 | 0 | 0.083829 | 0.277419 | 2,790 | 73 | 99 | 38.219178 | 0.731647 | 0.016129 | 0 | 0.716418 | 1 | 0 | 0.297849 | 0.122858 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014925 | 0 | 0.059701 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c17b28f08989d2fa2b75ad5040f70d15e7571b14 | 2,842 | py | Python | OpenThermML/backup.py | wwlorey/open-thermostat-software | a0521b0d3b65fe9f2bd23f5059971d3a8d773e54 | [
"MIT"
] | 1 | 2020-12-14T02:44:10.000Z | 2020-12-14T02:44:10.000Z | OpenThermML/backup.py | wwlorey/open-thermostat-software | a0521b0d3b65fe9f2bd23f5059971d3a8d773e54 | [
"MIT"
] | null | null | null | OpenThermML/backup.py | wwlorey/open-thermostat-software | a0521b0d3b65fe9f2bd23f5059971d3a8d773e54 | [
"MIT"
] | 1 | 2020-12-12T20:24:43.000Z | 2020-12-12T20:24:43.000Z | predictions = [
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, ],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0... | 149.578947 | 247 | 0.364532 | 1,011 | 2,842 | 1.023739 | 0.004946 | 1.940097 | 2.901449 | 3.857005 | 0.972947 | 0.972947 | 0.972947 | 0.972947 | 0.972947 | 0.972947 | 0 | 0.481836 | 0.263899 | 2,842 | 18 | 248 | 157.888889 | 0.012906 | 0 | 0 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
c183f4d6f31778737b79a4e9462050d2a9596ead | 872 | py | Python | carla_env/__init__.py | janwithb/Carla-Gym-Wrapper | f1ea9fe89427c5a654f5561f214a5fba139b2568 | [
"Apache-2.0"
] | 6 | 2021-04-15T09:22:44.000Z | 2022-02-15T01:07:23.000Z | carla_env/__init__.py | janwithb/Carla-Gym-Wrapper | f1ea9fe89427c5a654f5561f214a5fba139b2568 | [
"Apache-2.0"
] | 2 | 2021-08-23T02:47:40.000Z | 2022-01-17T02:20:47.000Z | carla_env/__init__.py | janwithb/Carla-Gym-Wrapper | f1ea9fe89427c5a654f5561f214a5fba139b2568 | [
"Apache-2.0"
] | 2 | 2021-07-12T06:32:37.000Z | 2021-11-24T14:43:13.000Z | from gym.envs.registration import register
register(
id='CarlaEnv-state-v1',
entry_point='carla_env.carla_env:CarlaEnv',
max_episode_steps=500,
kwargs={
'render': True,
'carla_port': 2000,
'changing_weather_speed': 0.1,
'frame_skip': 1,
'observations_type': 'stat... | 23.567568 | 47 | 0.579128 | 94 | 872 | 5.117021 | 0.43617 | 0.066528 | 0.074844 | 0.070686 | 0.806653 | 0.806653 | 0.806653 | 0.806653 | 0.806653 | 0.806653 | 0 | 0.041204 | 0.276376 | 872 | 36 | 48 | 24.222222 | 0.721078 | 0 | 0 | 0.727273 | 0 | 0 | 0.396789 | 0.114679 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.030303 | 0 | 0.030303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a9b2db3f369fcfd5b77d040b3bc04025ef934688 | 7,215 | py | Python | experiment-2/02_gm_correlations_across_masks.py | NBCLab/power-replication | 7a938cac6fd132f8cbd76535255680aeb2e550cb | [
"Apache-2.0"
] | 1 | 2021-12-20T13:30:23.000Z | 2021-12-20T13:30:23.000Z | experiment-2/02_gm_correlations_across_masks.py | NBCLab/power-replication | 7a938cac6fd132f8cbd76535255680aeb2e550cb | [
"Apache-2.0"
] | 14 | 2020-12-21T15:58:45.000Z | 2022-03-16T22:20:25.000Z | experiment-2/02_gm_correlations_across_masks.py | NBCLab/power-replication | 7a938cac6fd132f8cbd76535255680aeb2e550cb | [
"Apache-2.0"
] | null | null | null | """Experiment 2, Analysis Group 2.
Comparing measures of global signal.
Mean cortical signal of MEDN correlated with signal of all gray matter
- Distribution of Pearson correlation coefficients
- Page 2, right column, first paragraph
Mean cortical signal of MEDN correlated with signal of whole brain
- Distribu... | 35.195122 | 98 | 0.60693 | 926 | 7,215 | 4.568035 | 0.203024 | 0.019858 | 0.007565 | 0.022695 | 0.895035 | 0.895035 | 0.881797 | 0.881797 | 0.867139 | 0.84539 | 0 | 0.013336 | 0.293278 | 7,215 | 204 | 99 | 35.367647 | 0.816238 | 0.228136 | 0 | 0.785714 | 0 | 0.057143 | 0.321467 | 0.092626 | 0 | 0 | 0 | 0.009804 | 0.014286 | 1 | 0.014286 | false | 0 | 0.042857 | 0 | 0.057143 | 0.042857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e7ab93c674e1c7b0c7b235ef1ec15c5f79897159 | 184 | py | Python | ptb/ledger/views.py | vkpdeveloper/ShaktiDeep-Traders-Bill-Management-Project | 566a64268fabf256e80bee680d1fbde2c6c0787d | [
"MIT"
] | 2 | 2019-11-26T11:57:56.000Z | 2020-06-17T05:16:47.000Z | ptb/ledger/views.py | vkpdeveloper/ShaktiDeep-Traders-Bill-Management-Project | 566a64268fabf256e80bee680d1fbde2c6c0787d | [
"MIT"
] | null | null | null | ptb/ledger/views.py | vkpdeveloper/ShaktiDeep-Traders-Bill-Management-Project | 566a64268fabf256e80bee680d1fbde2c6c0787d | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return render(request, 'ledger/index.html') | 26.285714 | 47 | 0.777174 | 24 | 184 | 5.958333 | 0.541667 | 0.20979 | 0.265734 | 0.34965 | 0.503497 | 0.503497 | 0.503497 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 184 | 7 | 47 | 26.285714 | 0.916667 | 0 | 0 | 0.4 | 0 | 0 | 0.094972 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 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 | 1 | 1 | 0 | 0 | 8 |
e7ce0818904d46d11eb74c9bc1c1d5e0067a9008 | 68,039 | py | Python | GraphTrace.py | a-dera/Graphe | 70886565cc1dbda9f343dc11edcc480e2372934f | [
"MIT"
] | null | null | null | GraphTrace.py | a-dera/Graphe | 70886565cc1dbda9f343dc11edcc480e2372934f | [
"MIT"
] | null | null | null | GraphTrace.py | a-dera/Graphe | 70886565cc1dbda9f343dc11edcc480e2372934f | [
"MIT"
] | null | null | null | ##################################################
# Importation des Bibliotheques et fonctions:
from tkinter import *
from PIL import ImageGrab
from tkinter import PhotoImage
import tkinter as tk
from tkinter import ttk
from collections import defaultdict
class Euler:
def __init__(self,vertices): ... | 37.322545 | 152 | 0.657667 | 9,570 | 68,039 | 4.566353 | 0.050888 | 0.135835 | 0.161876 | 0.047323 | 0.886728 | 0.878261 | 0.868993 | 0.865492 | 0.863204 | 0.857895 | 0 | 0.021911 | 0.190376 | 68,039 | 1,822 | 153 | 37.34303 | 0.771394 | 0.062861 | 0 | 0.872385 | 0 | 0 | 0.082338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04742 | false | 0.019526 | 0.004184 | 0 | 0.070432 | 0.001395 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
99dffa459bc7dfffb6f4a430b3ffac5f8cc05734 | 194 | py | Python | smores/__init__.py | codylandry/Smores | cc0717b5edd0c09982820cc8705f73119641d0a2 | [
"MIT"
] | 7 | 2017-09-18T13:04:30.000Z | 2021-06-03T06:48:26.000Z | smores/__init__.py | codylandry/Smores | cc0717b5edd0c09982820cc8705f73119641d0a2 | [
"MIT"
] | 1 | 2017-11-22T20:45:27.000Z | 2017-11-22T20:45:27.000Z | smores/__init__.py | codylandry/Smores | cc0717b5edd0c09982820cc8705f73119641d0a2 | [
"MIT"
] | null | null | null | from .smores import Smores, AutocompleteResponse, TemplateString, TemplateFile, Schema, Nested
__all__ = ['Smores', 'AutocompleteResponse', 'TemplateString', 'TemplateFile', 'Schema', 'Nested']
| 64.666667 | 98 | 0.778351 | 16 | 194 | 9.1875 | 0.5625 | 0.353742 | 0.544218 | 0.707483 | 0.870748 | 0.870748 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087629 | 194 | 2 | 99 | 97 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0.329897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 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 | 8 |
412e848b7e0488d32c3276f0473edaef8c8bebb6 | 4,834 | py | Python | scripts/figures/gene_abundance.py | vic-cheung/vectorseq | 6f1aaeb3035c3c939b442e30076504ff84e43aa5 | [
"MIT"
] | 1 | 2022-03-30T19:56:43.000Z | 2022-03-30T19:56:43.000Z | scripts/figures/gene_abundance.py | vic-cheung/vectorseq | 6f1aaeb3035c3c939b442e30076504ff84e43aa5 | [
"MIT"
] | null | null | null | scripts/figures/gene_abundance.py | vic-cheung/vectorseq | 6f1aaeb3035c3c939b442e30076504ff84e43aa5 | [
"MIT"
] | null | null | null | #%%
import scanpy as sc
import pandas as pd
from pathlib import Path
from vectorseq.utils import check_gene_abundance, create_dir
from vectorseq.marker_constants import BrainGenes
data_dir = Path("/spare_volume/vectorseq-data")
figure_save_dir = create_dir(data_dir / "gene_abundance")
#%% [markdown]
# ## Gene Abundan... | 30.402516 | 141 | 0.646463 | 626 | 4,834 | 4.654952 | 0.161342 | 0.072066 | 0.082361 | 0.047358 | 0.886754 | 0.886754 | 0.87337 | 0.849348 | 0.849348 | 0.849348 | 0 | 0.019055 | 0.22921 | 4,834 | 158 | 142 | 30.594937 | 0.763017 | 0.049441 | 0 | 0.770992 | 0 | 0.022901 | 0.233829 | 0.138767 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038168 | 0 | 0.038168 | 0.045802 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
418053ee5e7fc1cc778869d9ebfee56bc7e30f8e | 190 | py | Python | built-in/TensorFlow/Official/nlp/Transformer_for_TensorFlow/noahnmt/attentions/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | null | null | null | built-in/TensorFlow/Official/nlp/Transformer_for_TensorFlow/noahnmt/attentions/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 3 | 2021-03-31T20:15:40.000Z | 2022-02-09T23:50:46.000Z | built-in/TensorFlow/Official/nlp/Transformer_for_TensorFlow/noahnmt/attentions/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright Huawei Noah's Ark Lab.
from noahnmt.attentions import dot_attention
from noahnmt.attentions import dot_prod_attention
from noahnmt.attentions import sum_attention | 31.666667 | 49 | 0.847368 | 28 | 190 | 5.607143 | 0.607143 | 0.210191 | 0.401274 | 0.515924 | 0.66879 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.105263 | 190 | 6 | 50 | 31.666667 | 0.917647 | 0.236842 | 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 | 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 | 8 |
68efa2f47f268526a9d0f5230984fd8a4c74294f | 5,184 | py | Python | tests/test_plasmid_extractor.py | lowandrew/Plasmid_Assembler | 7366e5e5a88e3a87d164934de0c6a3ee51f241b3 | [
"MIT"
] | 5 | 2018-01-16T04:55:10.000Z | 2020-10-23T08:59:52.000Z | tests/test_plasmid_extractor.py | lowandrew/Plasmid_Assembler | 7366e5e5a88e3a87d164934de0c6a3ee51f241b3 | [
"MIT"
] | null | null | null | tests/test_plasmid_extractor.py | lowandrew/Plasmid_Assembler | 7366e5e5a88e3a87d164934de0c6a3ee51f241b3 | [
"MIT"
] | 3 | 2018-02-16T18:49:07.000Z | 2021-06-20T06:45:02.000Z | import os
import shutil
"""
Remaining things to test:
find_plasmid_kmer_scores
find_score
filter_similar_plasmids
generate_consensus
"""
parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
os.sys.path.insert(0, parentdir)
from plasmidextractor.PlasmidExtractor import *
def test_mash_paired_gzipp... | 42.491803 | 132 | 0.656829 | 670 | 5,184 | 4.759701 | 0.11791 | 0.076199 | 0.06397 | 0.090624 | 0.84666 | 0.818125 | 0.818125 | 0.812794 | 0.801819 | 0.774851 | 0 | 0.007998 | 0.228202 | 5,184 | 121 | 133 | 42.842975 | 0.789053 | 0 | 0 | 0.693182 | 1 | 0 | 0.332216 | 0.270899 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.136364 | false | 0 | 0.034091 | 0 | 0.170455 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ec0bbf6fa340a30833399fb89ab800ad2004fd7e | 8,517 | py | Python | src/rest-api/tests/routes/v1/test_dex.py | geometry-labs/craft-multi-token-api | e533fd02c928c4857076ee11e14d8c0608bf367d | [
"Apache-2.0"
] | null | null | null | src/rest-api/tests/routes/v1/test_dex.py | geometry-labs/craft-multi-token-api | e533fd02c928c4857076ee11e14d8c0608bf367d | [
"Apache-2.0"
] | null | null | null | src/rest-api/tests/routes/v1/test_dex.py | geometry-labs/craft-multi-token-api | e533fd02c928c4857076ee11e14d8c0608bf367d | [
"Apache-2.0"
] | null | null | null | from fastapi.testclient import TestClient
from app.core.config import settings
def test_get_transactions(prep_fixtures, client: TestClient) -> None:
r = client.get(f"{settings.PREFIX}/dex/transactions")
response = r.json()
assert r.status_code == 200
assert response
assert len(response) == 1
... | 29.470588 | 100 | 0.628977 | 1,261 | 8,517 | 4.183981 | 0.07613 | 0.360879 | 0.116566 | 0.043783 | 0.88116 | 0.857278 | 0.857278 | 0.853867 | 0.853677 | 0.828658 | 0 | 0.103128 | 0.215569 | 8,517 | 288 | 101 | 29.572917 | 0.686574 | 0.015029 | 0 | 0.770563 | 0 | 0 | 0.109692 | 0.109692 | 0 | 0 | 0 | 0 | 0.753247 | 1 | 0.056277 | false | 0 | 0.008658 | 0 | 0.064935 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d411989115cbd46c3d67f874ee5a2a13e7088d38 | 1,991 | py | Python | ARC_B/ARC005_B.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | ARC_B/ARC005_B.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | ARC_B/ARC005_B.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | xyw = input().split()
X = int(xyw[0])-1
Y = int(xyw[1])-1
C = []
for _ in range(9):
li = list(input())
C.append(li)
ans = ''
flg = True
if xyw[2] == 'R':
x_add = 1
for i in range(4):
ans += C[Y][X]
if X == 8:
x_add = -1
X += x_add
elif xyw[2] == 'L':
x_add = -1
... | 20.525773 | 31 | 0.353591 | 349 | 1,991 | 1.888252 | 0.103152 | 0.194234 | 0.121396 | 0.097117 | 0.849772 | 0.846737 | 0.846737 | 0.846737 | 0.7739 | 0.664643 | 0 | 0.079882 | 0.490708 | 1,991 | 96 | 32 | 20.739583 | 0.57002 | 0 | 0 | 0.638298 | 0 | 0 | 0.006027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.010638 | 0 | 0 | 1 | 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 | 7 |
d413f6505308e4d39c96e7ca124b0fa0f103d091 | 8,548 | py | Python | t2dm/manager/intelligence/interactions/inpatient1.py | nhsx-mirror/SynPath_Diabetes | 1d9bd1c83f20820a35125c94e8b058bdd1a6ac3c | [
"MIT"
] | null | null | null | t2dm/manager/intelligence/interactions/inpatient1.py | nhsx-mirror/SynPath_Diabetes | 1d9bd1c83f20820a35125c94e8b058bdd1a6ac3c | [
"MIT"
] | null | null | null | t2dm/manager/intelligence/interactions/inpatient1.py | nhsx-mirror/SynPath_Diabetes | 1d9bd1c83f20820a35125c94e8b058bdd1a6ac3c | [
"MIT"
] | 1 | 2021-09-29T10:00:23.000Z | 2021-09-29T10:00:23.000Z | import datetime
# Interactions for inpatient care
# "review_and_consultation",
# "bd_hypoglycaemic_ep",
# "bd_hyperglycaemic_ep",
# "bd_lower_limb_compl",
# "enhanced_independence",
# "retinal_procedure",
# "amputation"
# Inpatient interaction 1: Inpatient review and consultation (might take out if not in spell)
de... | 31.776952 | 94 | 0.62576 | 996 | 8,548 | 5.123494 | 0.090361 | 0.093278 | 0.093278 | 0.104252 | 0.892808 | 0.866941 | 0.863414 | 0.863414 | 0.825789 | 0.776406 | 0 | 0.04752 | 0.266378 | 8,548 | 269 | 95 | 31.776952 | 0.766225 | 0.196186 | 0 | 0.823529 | 0 | 0 | 0.151728 | 0.026655 | 0 | 0 | 0 | 0.003717 | 0 | 1 | 0.034314 | false | 0 | 0.004902 | 0 | 0.073529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d44a39453789db4c72fb031457a84e78d700988f | 355 | py | Python | auth/auth.py | helthazar/contestparser | 43843de5fd3cb7af7f24c8cbbd5ea068abb7f469 | [
"MIT"
] | null | null | null | auth/auth.py | helthazar/contestparser | 43843de5fd3cb7af7f24c8cbbd5ea068abb7f469 | [
"MIT"
] | null | null | null | auth/auth.py | helthazar/contestparser | 43843de5fd3cb7af7f24c8cbbd5ea068abb7f469 | [
"MIT"
] | null | null | null | class Auth:
@staticmethod
def opencup():
return {'login': '', 'password' : ''}
@staticmethod
def yandexcontest():
return {'login': '', 'password' : ''}
@staticmethod
def atcoder():
return {'login': '', 'password' : ''}
@staticmethod
def hackerrank():
re... | 22.1875 | 45 | 0.512676 | 26 | 355 | 7 | 0.423077 | 0.32967 | 0.417582 | 0.510989 | 0.56044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292958 | 355 | 16 | 46 | 22.1875 | 0.7251 | 0 | 0 | 0.615385 | 0 | 0 | 0.146067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | true | 0.307692 | 0 | 0.307692 | 0.692308 | 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 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 9 |
d458328c51a408b45453324ab4274a2b24ca3ca7 | 4,133 | py | Python | test_requests.py | charlax/vcrpy | 1d3fe5c33ecf06b494fa6cbea4acd62585820687 | [
"MIT"
] | null | null | null | test_requests.py | charlax/vcrpy | 1d3fe5c33ecf06b494fa6cbea4acd62585820687 | [
"MIT"
] | null | null | null | test_requests.py | charlax/vcrpy | 1d3fe5c33ecf06b494fa6cbea4acd62585820687 | [
"MIT"
] | null | null | null | # coding=utf-8
import os
import unittest
import vcr
import requests
TEST_CASSETTE_FILE = 'cassettes/test_req.yaml'
class TestRequestsGet(unittest.TestCase):
def setUp(self):
self.unmolested_response = requests.get('http://httpbin.org/')
with vcr.use_cassette(TEST_CASSETTE_FILE):
self... | 37.572727 | 121 | 0.709412 | 502 | 4,133 | 5.603586 | 0.125498 | 0.076786 | 0.132954 | 0.098116 | 0.873445 | 0.84856 | 0.803413 | 0.795236 | 0.733736 | 0.733736 | 0 | 0.001471 | 0.177595 | 4,133 | 109 | 122 | 37.917431 | 0.826125 | 0.002903 | 0 | 0.538462 | 0 | 0 | 0.12066 | 0.005584 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.269231 | false | 0.102564 | 0.051282 | 0 | 0.384615 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
2e4ce02ba83abe7b1d661489dcf0a33228a2cf30 | 8,373 | py | Python | game_jam/Source/main.py | AustinLittle2020/CS-Hangout-Game_Jam | 44216ad0166023e1b45b4b00c83098fce1cb8264 | [
"MIT"
] | null | null | null | game_jam/Source/main.py | AustinLittle2020/CS-Hangout-Game_Jam | 44216ad0166023e1b45b4b00c83098fce1cb8264 | [
"MIT"
] | 1 | 2021-12-20T07:19:45.000Z | 2021-12-20T07:19:45.000Z | game_jam/Source/main.py | AustinLittle2020/CS-Hangout-Game_Jam | 44216ad0166023e1b45b4b00c83098fce1cb8264 | [
"MIT"
] | 1 | 2021-12-20T07:15:15.000Z | 2021-12-20T07:15:15.000Z | import pygame
import os
import time
from spaceship import *
from pygame.locals import *
# constants
WIDTH, HEIGHT = 700, 800
WINDOW = pygame.display.set_mode((WIDTH, HEIGHT))
pygame.display.set_caption("Failure is Inevitable")
BLACK = (0, 0, 0)
FPS = 60
VEL = 4
p_x = 330
p_y = 650
width = 50
height = 50
movement = Fa... | 30.227437 | 105 | 0.54413 | 969 | 8,373 | 4.560372 | 0.150671 | 0.035302 | 0.058837 | 0.082372 | 0.879384 | 0.847929 | 0.842272 | 0.816022 | 0.802897 | 0.802897 | 0 | 0.018274 | 0.313747 | 8,373 | 276 | 106 | 30.336957 | 0.750783 | 0.045981 | 0 | 0.853535 | 0 | 0 | 0.133978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.025253 | 0.010101 | 0.116162 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
2e84df5100eb34e590dde3692727724451d660e6 | 186 | py | Python | congregation/codegen/python/libs/external/__init__.py | CCD-HRI/congregation | a552856b03a64a4295792184107c4e529ca3f4ae | [
"MIT"
] | 3 | 2020-10-05T16:30:15.000Z | 2021-01-22T13:38:02.000Z | congregation/codegen/python/libs/external/__init__.py | multiparty/congregation | a552856b03a64a4295792184107c4e529ca3f4ae | [
"MIT"
] | null | null | null | congregation/codegen/python/libs/external/__init__.py | multiparty/congregation | a552856b03a64a4295792184107c4e529ca3f4ae | [
"MIT"
] | 1 | 2021-08-13T07:28:30.000Z | 2021-08-13T07:28:30.000Z | from congregation.codegen.python.libs.external.unary import *
from congregation.codegen.python.libs.external.binary import *
from congregation.codegen.python.libs.external.nary import *
| 46.5 | 62 | 0.83871 | 24 | 186 | 6.5 | 0.416667 | 0.307692 | 0.442308 | 0.557692 | 0.865385 | 0.865385 | 0.602564 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 186 | 3 | 63 | 62 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 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 | 9 |
5cfb44436bfafdbb15a5fdebd26adcefad3628c4 | 1,809 | py | Python | Ago-Dic-2021/valera-rangel-pablo/Practica 3/test_calculator_pytest.py | AnhellO/DAS_Sistemas | 07b4eca78357d02d225d570033d05748d91383e3 | [
"MIT"
] | 41 | 2017-09-26T09:36:32.000Z | 2022-03-19T18:05:25.000Z | Ago-Dic-2021/valera-rangel-pablo/Practica 3/test_calculator_pytest.py | AnhellO/DAS_Sistemas | 07b4eca78357d02d225d570033d05748d91383e3 | [
"MIT"
] | 67 | 2017-09-11T05:06:12.000Z | 2022-02-14T04:44:04.000Z | Ago-Dic-2021/valera-rangel-pablo/Practica 3/test_calculator_pytest.py | AnhellO/DAS_Sistemas | 07b4eca78357d02d225d570033d05748d91383e3 | [
"MIT"
] | 210 | 2017-09-01T00:10:08.000Z | 2022-03-19T18:05:12.000Z | import pytest
from calculator import *
@pytest.mark.parametrize("input_a, input_b, expected_result", [
(-5, 2, 'Imposible Raiz de un Negativo')
])
def testRaizDeNegativo(input_a, input_b, expected_result):
assert Calculator(input_a, input_b).raiz() == expected_result
@pytest.mark.parametrize("input_a, input... | 30.661017 | 75 | 0.739635 | 245 | 1,809 | 5.167347 | 0.2 | 0.113744 | 0.208531 | 0.227488 | 0.745656 | 0.745656 | 0.745656 | 0.745656 | 0.745656 | 0.745656 | 0 | 0.025332 | 0.127142 | 1,809 | 58 | 76 | 31.189655 | 0.776441 | 0 | 0 | 0.47619 | 0 | 0 | 0.187396 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.190476 | false | 0 | 0.047619 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cf372286c3b00f6d57b36a97cb015d54cb8dfc38 | 28,542 | py | Python | IndoorPositionEstimator/cflib/drone_quaternion.py | capriele/Crazyflie-Indoor-Position-Logger-Controller | 6f7a44984553d85a66a29c169a2f7c758a2aaac7 | [
"Apache-2.0"
] | 6 | 2017-04-23T15:47:57.000Z | 2020-03-15T17:52:15.000Z | IndoorPositionEstimator/cflib/drone_quaternion.py | capriele/Crazyflie-Indoor-Position-Logger-Controller | 6f7a44984553d85a66a29c169a2f7c758a2aaac7 | [
"Apache-2.0"
] | null | null | null | IndoorPositionEstimator/cflib/drone_quaternion.py | capriele/Crazyflie-Indoor-Position-Logger-Controller | 6f7a44984553d85a66a29c169a2f7c758a2aaac7 | [
"Apache-2.0"
] | null | null | null | """
Quadcopter Model + LQR Control + BackStepping Control
"""
#
# Author: Alberto Petrucci (petrucci.alberto@gmail.com) 2017
#
#__author__ = "Alberto Petrucci"
#__copyright__ = "Copyright 2017, Alberto Petrucci"
#__credits__ = ["Alberto Petrucci"]
#__license__ = "Apache"
#__version__ = "1.0.0"
#__maintainer__ = "Alber... | 37.654354 | 1,374 | 0.387044 | 5,041 | 28,542 | 2.134497 | 0.072208 | 0.224164 | 0.292472 | 0.34684 | 0.491171 | 0.400093 | 0.35539 | 0.327509 | 0.311338 | 0.303903 | 0 | 0.231357 | 0.412725 | 28,542 | 757 | 1,375 | 37.704095 | 0.410572 | 0.051748 | 0 | 0.287695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.006932 | null | null | 0.001733 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cf47aca5fbdc5c963454eb2445883327bc3c473e | 267 | py | Python | libp2p/protocol_muxer/exceptions.py | lithp/py-libp2p | f38899e26edabe59b291e466143d1c696c44de8d | [
"Apache-2.0",
"MIT"
] | null | null | null | libp2p/protocol_muxer/exceptions.py | lithp/py-libp2p | f38899e26edabe59b291e466143d1c696c44de8d | [
"Apache-2.0",
"MIT"
] | null | null | null | libp2p/protocol_muxer/exceptions.py | lithp/py-libp2p | f38899e26edabe59b291e466143d1c696c44de8d | [
"Apache-2.0",
"MIT"
] | null | null | null | from libp2p.exceptions import BaseLibp2pError
class MultiselectError(BaseLibp2pError):
"""Raised when an error occurs in multiselect process"""
class MultiselectClientError(BaseLibp2pError):
"""Raised when an error occurs in protocol selection process"""
| 26.7 | 67 | 0.790262 | 28 | 267 | 7.535714 | 0.642857 | 0.199052 | 0.236967 | 0.255924 | 0.379147 | 0.379147 | 0.379147 | 0 | 0 | 0 | 0 | 0.017391 | 0.138577 | 267 | 9 | 68 | 29.666667 | 0.9 | 0.404494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 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 | 1 | 0 | 0 | 7 |
cf5b37ee1fc82e3da020ac4e175a1718c4b48d19 | 115 | py | Python | env.py | olukotun-sandbox/name-button | 8205dc783dd72765d44378b0b6ca354352d21ad5 | [
"MIT"
] | null | null | null | env.py | olukotun-sandbox/name-button | 8205dc783dd72765d44378b0b6ca354352d21ad5 | [
"MIT"
] | null | null | null | env.py | olukotun-sandbox/name-button | 8205dc783dd72765d44378b0b6ca354352d21ad5 | [
"MIT"
] | null | null | null | import os
print('this is home:', os.environ['HOME'])
print('this is circle branch:', os.environ['CIRCLE_BRANCH']) | 23 | 60 | 0.704348 | 18 | 115 | 4.444444 | 0.5 | 0.225 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 115 | 5 | 60 | 23 | 0.776699 | 0 | 0 | 0 | 0 | 0 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 | 1 | 0 | 7 |
cf74741b8ea29334e97b4fd26bf8a8d8ea156e23 | 18,806 | py | Python | tests/data/ec2_offer.py | andrewmcgilvray/awspricing | fd37598dbdb08545db03c99492ce01f7290ab6f5 | [
"Apache-2.0"
] | null | null | null | tests/data/ec2_offer.py | andrewmcgilvray/awspricing | fd37598dbdb08545db03c99492ce01f7290ab6f5 | [
"Apache-2.0"
] | null | null | null | tests/data/ec2_offer.py | andrewmcgilvray/awspricing | fd37598dbdb08545db03c99492ce01f7290ab6f5 | [
"Apache-2.0"
] | null | null | null |
BASIC_EC2_OFFER_SKU = '4C7N4APU9GEUZ6H6'
BASIC_EC2_OFFER_MODIFIED_FORMAT = {
'offerCode': 'AmazonEC2',
'version': '20161213014831',
'products': {
'4C7N4APU9GEUZ6H6' : {
'sku' : '4C7N4APU9GEUZ6H6',
'productFamily' : 'Compute Instance',
'attributes' : {
... | 44.458629 | 111 | 0.37823 | 917 | 18,806 | 7.739368 | 0.221374 | 0.054107 | 0.045089 | 0.030999 | 0.869522 | 0.857545 | 0.849937 | 0.849937 | 0.849937 | 0.849937 | 0 | 0.118661 | 0.509306 | 18,806 | 422 | 112 | 44.563981 | 0.650412 | 0.004094 | 0 | 0.695652 | 0 | 0 | 0.3909 | 0.089181 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 7 |
cf89cd77b7a7a86eb1c509ae0d28c2801e9db09a | 9,359 | py | Python | util/dynamic_signal_lights.py | ashwxn/Intelligent-Traffic-Management-System-Using-ML-YOLO | cc111d9895efc19f052656f7d140c6895458a819 | [
"CC0-1.0"
] | 1 | 2021-03-11T06:58:31.000Z | 2021-03-11T06:58:31.000Z | util/dynamic_signal_lights.py | ashwxn/Intelligent-Traffic-Management-System-Using-ML-YOLO | cc111d9895efc19f052656f7d140c6895458a819 | [
"CC0-1.0"
] | null | null | null | util/dynamic_signal_lights.py | ashwxn/Intelligent-Traffic-Management-System-Using-ML-YOLO | cc111d9895efc19f052656f7d140c6895458a819 | [
"CC0-1.0"
] | null | null | null | import time
import emoji
def switch_signal(denser_lane,seconds):
print('\033[1m' + '\n\033[99m' +
"OPENING LANE-{}: ".format(str(denser_lane))+ '\033[0m' )
print("----------------------------------------------------------------------------------")
if denser_lane==1:
print(
... | 69.843284 | 221 | 0.398761 | 797 | 9,359 | 4.542033 | 0.056462 | 0.318232 | 0.358011 | 0.40663 | 0.977348 | 0.977348 | 0.966022 | 0.966022 | 0.956906 | 0.956906 | 0 | 0.036313 | 0.382092 | 9,359 | 134 | 222 | 69.843284 | 0.589659 | 0 | 0 | 0.810606 | 0 | 0 | 0.465064 | 0.043803 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007576 | false | 0 | 0.015152 | 0 | 0.022727 | 0.325758 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 10 |
d8617eb30998d8220d39ad8ca6c7311751fdbf18 | 16,601 | py | Python | tests/tests.py | ipashchenko/uvmod | 5f81f9f621ccd2f83e99f22eb0c302ae8d8a218d | [
"MIT"
] | null | null | null | tests/tests.py | ipashchenko/uvmod | 5f81f9f621ccd2f83e99f22eb0c302ae8d8a218d | [
"MIT"
] | 5 | 2015-01-28T07:53:30.000Z | 2015-04-16T11:21:58.000Z | tests/tests.py | ipashchenko/uvmod | 5f81f9f621ccd2f83e99f22eb0c302ae8d8a218d | [
"MIT"
] | null | null | null | #!/usr/bin python
# -*- coding: utf-8 -*-
from __future__ import print_function
from unittest import (TestCase, skip, skipIf)
from uvmod.stats import LnLike, LS_estimates, LnPrior, LnPost, hdi_of_mcmc
from uvmod.models import Model_1d, Model_2d_isotropic, Model_2d_anisotropic
# TODO: Use ``np.random.uniform`` instead
... | 49.555224 | 80 | 0.575267 | 2,375 | 16,601 | 3.884632 | 0.070316 | 0.048233 | 0.029807 | 0.03501 | 0.882723 | 0.882723 | 0.870692 | 0.848472 | 0.841318 | 0.841318 | 0 | 0.047336 | 0.269562 | 16,601 | 334 | 81 | 49.703593 | 0.713508 | 0.01789 | 0 | 0.763333 | 0 | 0 | 0.021907 | 0 | 0 | 0 | 0 | 0.002994 | 0.19 | 1 | 0.053333 | false | 0 | 0.033333 | 0 | 0.096667 | 0.003333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d873c9d5b73ad6048ae3ed992ae54074f4373aad | 44 | py | Python | snowav/database/__init__.py | robertson-mark/SNOWAV | ef7a470dd45a342ee454d74b6476da5807f14301 | [
"CC0-1.0"
] | 1 | 2018-09-11T17:14:01.000Z | 2018-09-11T17:14:01.000Z | snowav/database/__init__.py | robertson-mark/SNOWAV | ef7a470dd45a342ee454d74b6476da5807f14301 | [
"CC0-1.0"
] | 15 | 2018-10-24T21:59:57.000Z | 2021-07-01T20:37:05.000Z | snowav/database/__init__.py | USDA-ARS-NWRC/snowav | ef7a470dd45a342ee454d74b6476da5807f14301 | [
"CC0-1.0"
] | null | null | null | from . import tables
from . import database
| 14.666667 | 22 | 0.772727 | 6 | 44 | 5.666667 | 0.666667 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 23 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d87785dc3dfe82dc39a25b2fc439096204f29f6f | 158 | py | Python | distributions/admin.py | lueho/BRIT | 1eae630c4da6f072aa4e2139bc406db4f4756391 | [
"MIT"
] | null | null | null | distributions/admin.py | lueho/BRIT | 1eae630c4da6f072aa4e2139bc406db4f4756391 | [
"MIT"
] | 4 | 2022-03-29T20:52:31.000Z | 2022-03-29T20:52:31.000Z | distributions/admin.py | lueho/BRIT | 1eae630c4da6f072aa4e2139bc406db4f4756391 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Timestep, TemporalDistribution
admin.site.register(TemporalDistribution)
admin.site.register(Timestep)
| 22.571429 | 50 | 0.848101 | 18 | 158 | 7.444444 | 0.555556 | 0.373134 | 0.432836 | 0.552239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082278 | 158 | 6 | 51 | 26.333333 | 0.924138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 7 |
2b028209a00a7c4331c52f1ca61c13b4b8eaf902 | 107 | py | Python | parquet_metadata/test_parquet_metadata.py | dzamo/parquet-metadata | 221bff0253bcaefc7c95e6e16ae376e3bba6ee9f | [
"Apache-2.0"
] | 11 | 2018-09-11T02:56:32.000Z | 2022-02-16T18:49:39.000Z | parquet_metadata/test_parquet_metadata.py | dzamo/parquet-metadata | 221bff0253bcaefc7c95e6e16ae376e3bba6ee9f | [
"Apache-2.0"
] | null | null | null | parquet_metadata/test_parquet_metadata.py | dzamo/parquet-metadata | 221bff0253bcaefc7c95e6e16ae376e3bba6ee9f | [
"Apache-2.0"
] | 4 | 2019-05-30T22:44:33.000Z | 2022-02-16T18:49:40.000Z | from . import parquet_metadata
def test_smoke_test():
parquet_metadata.dump('parquets/types.parquet')
| 21.4 | 51 | 0.785047 | 14 | 107 | 5.714286 | 0.714286 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 4 | 52 | 26.75 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.205607 | 0.205607 | 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 | 1 | 0 | 0 | 7 |
2b31dd8ff5a66ac8bf0442f51e45b1fcb61fee3b | 23,469 | py | Python | src/test/test_data.py | opploans/cbc-syslog | 72a203b1dbe6ddd97f02dc87f36631d758564022 | [
"MIT"
] | 14 | 2020-04-28T12:52:50.000Z | 2021-08-25T00:36:51.000Z | src/test/test_data.py | opploans/cbc-syslog | 72a203b1dbe6ddd97f02dc87f36631d758564022 | [
"MIT"
] | 21 | 2016-10-24T20:16:39.000Z | 2020-02-11T21:30:50.000Z | src/test/test_data.py | opploans/cbc-syslog | 72a203b1dbe6ddd97f02dc87f36631d758564022 | [
"MIT"
] | 15 | 2016-12-19T20:39:24.000Z | 2020-01-02T16:26:34.000Z | # -*- coding: utf-8 -*-
null = ""
true = "true"
false = "false"
raw_notifications = {
"notifications": [{
"threatInfo": {
"incidentId": "Z7NG6",
"score": 7,
"summary": "A known virus (Sality: Keylogger, Password or Data stealer, Backdoor) was detected running.",
... | 116.761194 | 6,890 | 0.711023 | 2,007 | 23,469 | 8.263079 | 0.158445 | 0.048842 | 0.053726 | 0.058611 | 0.877894 | 0.874457 | 0.854438 | 0.838157 | 0.82266 | 0.81452 | 0 | 0.196449 | 0.160169 | 23,469 | 200 | 6,891 | 117.345 | 0.644952 | 0.000895 | 0 | 0.206186 | 0 | 0.149485 | 0.762348 | 0.373027 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.030928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2b3e16bac852a65f995976462d16cdfaa6ccae29 | 36,434 | py | Python | networks_utils.py | jviquerat/U-net_laminar_flow | 6a6029f8bd4d036f8675df8dd74e2d13476aa069 | [
"MIT"
] | null | null | null | networks_utils.py | jviquerat/U-net_laminar_flow | 6a6029f8bd4d036f8675df8dd74e2d13476aa069 | [
"MIT"
] | 1 | 2021-11-18T09:29:19.000Z | 2021-12-14T08:33:44.000Z | networks_utils.py | jviquerat/u-net_laminar_flow | 6a6029f8bd4d036f8675df8dd74e2d13476aa069 | [
"MIT"
] | 1 | 2021-07-20T08:23:27.000Z | 2021-07-20T08:23:27.000Z | # Import stuff
import sys
import math
import keras
# Additional imports from keras
from keras import regularizers
from keras import optimizers
from keras.models import Model
from keras.layers import Input
from keras.layers import conca... | 41.261608 | 124 | 0.625542 | 5,183 | 36,434 | 4.074474 | 0.044183 | 0.069325 | 0.092433 | 0.172744 | 0.916375 | 0.910976 | 0.90752 | 0.893551 | 0.889857 | 0.882659 | 0 | 0.083696 | 0.224104 | 36,434 | 882 | 125 | 41.30839 | 0.663341 | 0.14481 | 0 | 0.827586 | 0 | 0 | 0.007675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019964 | false | 0 | 0.036298 | 0 | 0.065336 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 8 |
2b42e860d0ae1b98081e8bfa9a5444fe0146b12b | 943 | py | Python | hangman/hangman_art.py | EdwinZurawik/hangman | 6b865e40bab2a35b71731b3f9bee254ac1d992be | [
"MIT"
] | null | null | null | hangman/hangman_art.py | EdwinZurawik/hangman | 6b865e40bab2a35b71731b3f9bee254ac1d992be | [
"MIT"
] | null | null | null | hangman/hangman_art.py | EdwinZurawik/hangman | 6b865e40bab2a35b71731b3f9bee254ac1d992be | [
"MIT"
] | null | null | null | hangman_title = r"""
____ ____ ____ ____ ____ ____ ____
||H ||||a ||||n ||||g ||||m ||||a ||||n ||
||__||||__||||__||||__||||__||||__||||__||
|/__\||/__\||/__\||/__\||/__\||/__\||/__\| """
hangman_stages = [r"""
____
|/ |
|
|
|
|
==... | 16.839286 | 52 | 0.139979 | 25 | 943 | 1.84 | 0.4 | 0.26087 | 0.326087 | 0.434783 | 0.26087 | 0.26087 | 0.26087 | 0.26087 | 0.26087 | 0.26087 | 0 | 0 | 0.604454 | 943 | 55 | 53 | 17.145455 | 0.123324 | 0 | 0 | 0.545455 | 0 | 0 | 0.888653 | 0.089077 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2b5f838d508a37329b5f07cb4bf0d798c35b1875 | 125 | py | Python | colornamer/__init__.py | stitchfix/colornamer | 1bbaf061feee42322f2428fbf7d9e9a20be255aa | [
"Apache-2.0"
] | 55 | 2020-09-02T20:10:30.000Z | 2022-03-16T01:25:15.000Z | colornamer/__init__.py | stitchfix/colornamer | 1bbaf061feee42322f2428fbf7d9e9a20be255aa | [
"Apache-2.0"
] | 1 | 2021-01-24T12:21:27.000Z | 2021-12-07T02:10:14.000Z | colornamer/__init__.py | stitchfix/colornamer | 1bbaf061feee42322f2428fbf7d9e9a20be255aa | [
"Apache-2.0"
] | 5 | 2020-09-13T13:48:28.000Z | 2021-11-18T09:45:02.000Z | from .colornamer import get_color_from_rgb
from .colornamer import get_color_from_lab
from .colornamer import get_color_json
| 31.25 | 42 | 0.88 | 20 | 125 | 5.1 | 0.4 | 0.411765 | 0.588235 | 0.676471 | 0.901961 | 0.627451 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 125 | 3 | 43 | 41.666667 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 9 |
99481855b36edd94fabfd379b091a1551b3a37b4 | 2,838 | py | Python | test_q2.py | karolineos/Desafio-de-Programa-o-Capgemini- | cb0aeceeb2d6ba393fc208c3c557c2980469e179 | [
"MIT"
] | null | null | null | test_q2.py | karolineos/Desafio-de-Programa-o-Capgemini- | cb0aeceeb2d6ba393fc208c3c557c2980469e179 | [
"MIT"
] | null | null | null | test_q2.py | karolineos/Desafio-de-Programa-o-Capgemini- | cb0aeceeb2d6ba393fc208c3c557c2980469e179 | [
"MIT"
] | null | null | null | from unittest import TestCase
from q2 import *
class TestQuestao2Busca(TestCase):
"""
Nomeclatura: test_quando_..._deve_retornar_...
def test_quando_..._deve_retornar_...(self):
Metodos herdados de TestCase:
|nome: | Ação:
| setUp | ... | 37.342105 | 132 | 0.597604 | 299 | 2,838 | 5.411371 | 0.220736 | 0.096415 | 0.034611 | 0.054388 | 0.873918 | 0.873918 | 0.843016 | 0.843016 | 0.843016 | 0.843016 | 0 | 0.011675 | 0.305849 | 2,838 | 75 | 133 | 37.84 | 0.809645 | 0.394644 | 0 | 0.571429 | 0 | 0.071429 | 0.210526 | 0 | 0 | 0 | 0 | 0.08 | 0.071429 | 1 | 0.214286 | false | 0 | 0.071429 | 0 | 0.357143 | 0.214286 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9964cf19b644bec6e8da1584aa1fc11f4f7d82fe | 245 | py | Python | 6_json_to_csv.py | pLINaROF/income_of_russian_deputies | 6c27fe968825aa2131b613da7265364a03e47397 | [
"MIT"
] | null | null | null | 6_json_to_csv.py | pLINaROF/income_of_russian_deputies | 6c27fe968825aa2131b613da7265364a03e47397 | [
"MIT"
] | null | null | null | 6_json_to_csv.py | pLINaROF/income_of_russian_deputies | 6c27fe968825aa2131b613da7265364a03e47397 | [
"MIT"
] | null | null | null | import pandas
df = pandas.read_json('data_with_income_rub.json')
df.to_csv('data_with_income_rub.csv', index=False)
df = pandas.read_json('data_with_income_rub_from_csv.json')
df.to_csv('data_with_income_rub_from_csv.csv', index=False)
| 30.625 | 60 | 0.791837 | 44 | 245 | 3.954545 | 0.318182 | 0.183908 | 0.321839 | 0.390805 | 0.781609 | 0.781609 | 0.701149 | 0.701149 | 0 | 0 | 0 | 0 | 0.085714 | 245 | 7 | 61 | 35 | 0.776786 | 0 | 0 | 0 | 0 | 0 | 0.487395 | 0.487395 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
999ac636b504000a178a19bf4c2635260e522f9b | 1,920 | py | Python | tempset/package_data.py | IMMM-SFA/tempset | 86da8415cda47a2158cc1a481b0fa8ceaf5f2e1e | [
"BSD-2-Clause"
] | null | null | null | tempset/package_data.py | IMMM-SFA/tempset | 86da8415cda47a2158cc1a481b0fa8ceaf5f2e1e | [
"BSD-2-Clause"
] | null | null | null | tempset/package_data.py | IMMM-SFA/tempset | 86da8415cda47a2158cc1a481b0fa8ceaf5f2e1e | [
"BSD-2-Clause"
] | null | null | null | import pkg_resources
def get_example_eplus_file():
"""Convenience wrapper to retrieve file path from package data."""
return pkg_resources.resource_filename('tempset', 'data/json/eplus_params.json')
def get_example_batch_file():
"""Convenience wrapper to retrieve file path from package data."""
re... | 30.967742 | 98 | 0.758854 | 253 | 1,920 | 5.517787 | 0.134387 | 0.094556 | 0.093123 | 0.17192 | 0.82808 | 0.795129 | 0.752149 | 0.752149 | 0.752149 | 0.752149 | 0 | 0 | 0.13125 | 1,920 | 61 | 99 | 31.47541 | 0.83693 | 0.317188 | 0 | 0 | 0 | 0 | 0.257143 | 0.175397 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47619 | true | 0 | 0.047619 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
999d5936d86373d84e9ba7d3368a0e7424c747d6 | 14,919 | py | Python | gdmtl/datasets/mtl_dataset.py | binshengliu/gdmtl | fb8bfe0e87bbd6d8535cc8449012fb4119430d4c | [
"MIT"
] | null | null | null | gdmtl/datasets/mtl_dataset.py | binshengliu/gdmtl | fb8bfe0e87bbd6d8535cc8449012fb4119430d4c | [
"MIT"
] | null | null | null | gdmtl/datasets/mtl_dataset.py | binshengliu/gdmtl | fb8bfe0e87bbd6d8535cc8449012fb4119430d4c | [
"MIT"
] | 1 | 2022-02-26T00:49:03.000Z | 2022-02-26T00:49:03.000Z | from __future__ import annotations
import logging
from typing import Any, Dict, Mapping, Optional, Union
import numpy as np
import torch
from transformers import PreTrainedTokenizer
from .assembler import Assembler
from .qa_dataset import QADataset
from .rank_dataset import RankGroupDataset
from .tsv_dataset import ... | 36.65602 | 86 | 0.597359 | 1,793 | 14,919 | 4.559955 | 0.083659 | 0.060543 | 0.039384 | 0.037671 | 0.827299 | 0.793542 | 0.78498 | 0.756849 | 0.747065 | 0.728596 | 0 | 0.005754 | 0.301093 | 14,919 | 406 | 87 | 36.746305 | 0.778364 | 0 | 0 | 0.720548 | 0 | 0 | 0.088076 | 0.01917 | 0 | 0 | 0 | 0 | 0.093151 | 1 | 0.016438 | false | 0.068493 | 0.030137 | 0 | 0.063014 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
99a1c1776fe99e2a906834405a696a3f2033b0ed | 572 | py | Python | e_learning/api/models.py | Aaditya1978/Accessible-E-Learning-Platform | bf846b6f7e3aaca3d7f7ecd0a83a5c4dfc595f6d | [
"MIT"
] | 3 | 2021-07-15T06:09:08.000Z | 2022-02-01T13:47:03.000Z | e_learning/api/models.py | Aaditya1978/Accessible-E-Learning-Platform | bf846b6f7e3aaca3d7f7ecd0a83a5c4dfc595f6d | [
"MIT"
] | null | null | null | e_learning/api/models.py | Aaditya1978/Accessible-E-Learning-Platform | bf846b6f7e3aaca3d7f7ecd0a83a5c4dfc595f6d | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Teacher(models.Model):
first_name = models.CharField(max_length=255)
last_name = models.CharField(max_length=255)
email = models.EmailField()
org_name = models.CharField(max_length=255)
password = models.CharField(max_length=255)
class ... | 33.647059 | 49 | 0.748252 | 77 | 572 | 5.376623 | 0.311688 | 0.289855 | 0.347826 | 0.463768 | 0.806763 | 0.806763 | 0.797101 | 0.797101 | 0.797101 | 0.797101 | 0 | 0.049281 | 0.148601 | 572 | 16 | 50 | 35.75 | 0.800821 | 0.041958 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.153846 | 0.076923 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
41efa0b1f23a58e01d79993abae419de0e29ae35 | 5,994 | py | Python | fonts/diamonstealth64_8x14.py | ccccmagicboy/st7735_mpy | b15f1bde69fbe6e0eb4931c57e71c136d8e7f024 | [
"MIT"
] | 6 | 2020-07-11T16:59:19.000Z | 2021-07-16T19:32:49.000Z | ports/esp32/user_modules/st7735_mpy/fonts/diamonstealth64_8x14.py | d4niele/micropython | a1f7b37d392bf46b28045ce215ae899fda8d8c38 | [
"MIT"
] | 1 | 2020-04-14T03:14:45.000Z | 2020-04-14T03:14:45.000Z | fonts/diamonstealth64_8x14.py | ccccmagicboy/st7735_mpy | b15f1bde69fbe6e0eb4931c57e71c136d8e7f024 | [
"MIT"
] | null | null | null | """converted from ..\fonts\DiamonStealth64_8x14.bin """
WIDTH = 8
HEIGHT = 14
FIRST = 0x20
LAST = 0x7f
_FONT =\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x18\x3c\x3c\x3c\x18\x18\x00\x18\x18\x00\x00\x00\x00'\
b'\x66\x66\x66\x24\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x6c\x6c\xfe\x6c\x6... | 57.085714 | 60 | 0.704705 | 1,458 | 5,994 | 2.895062 | 0.044582 | 0.599858 | 0.63113 | 0.508884 | 0.820185 | 0.749112 | 0.704335 | 0.630893 | 0.548448 | 0.41104 | 0 | 0.377808 | 0.019686 | 5,994 | 104 | 61 | 57.634615 | 0.340538 | 0.007841 | 0 | 0 | 0 | 0.941176 | 0.905203 | 0.905203 | 0 | 1 | 0.001347 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 12 |
510ef8a7510ae1de9af9073513790cd07023ac0b | 26,324 | py | Python | wikidata_research/dictionary/dictionary_evaluation.py | sjuenger/WikiMETA | 13ed293b4bda8ff0fc10b532907ca35c24a12616 | [
"MIT"
] | null | null | null | wikidata_research/dictionary/dictionary_evaluation.py | sjuenger/WikiMETA | 13ed293b4bda8ff0fc10b532907ca35c24a12616 | [
"MIT"
] | null | null | null | wikidata_research/dictionary/dictionary_evaluation.py | sjuenger/WikiMETA | 13ed293b4bda8ff0fc10b532907ca35c24a12616 | [
"MIT"
] | null | null | null | # module to evaluate the property dictionary
import json
# global variable for the path to the dictionary
path_to_json_dictionary = "data/property_dictionary.json"
# overload method
#
# recommended == true
# query only those references or qualifiers, that are intended by Wikidata
# .. for References: these are prop... | 48.83859 | 128 | 0.584334 | 2,761 | 26,324 | 5.352409 | 0.063021 | 0.102314 | 0.09663 | 0.050345 | 0.875694 | 0.839153 | 0.803762 | 0.766816 | 0.74435 | 0.737989 | 0 | 0.003615 | 0.327534 | 26,324 | 538 | 129 | 48.929368 | 0.831206 | 0.201793 | 0 | 0.769663 | 0 | 0 | 0.137989 | 0.054775 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019663 | false | 0 | 0.002809 | 0.002809 | 0.02809 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
510fcdad15a6c8447153e32692aae7694f685210 | 2,456 | py | Python | oxe-api/test/resource/user/test_update_user.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | oxe-api/test/resource/user/test_update_user.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | oxe-api/test/resource/user/test_update_user.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | from test.BaseCase import BaseCase
class TestUpdateUser(BaseCase):
@BaseCase.login
@BaseCase.grant_access("/user/update_user")
def test_ok(self, token):
self.db.insert({
"id": 14,
"email": "myemail@test.lu",
"password": "MySecret2!",
"is_admin": 0,
... | 30.7 | 86 | 0.506107 | 254 | 2,456 | 4.755906 | 0.208661 | 0.059603 | 0.069536 | 0.07947 | 0.84851 | 0.84851 | 0.806291 | 0.806291 | 0.806291 | 0.806291 | 0 | 0.021438 | 0.354235 | 2,456 | 79 | 87 | 31.088608 | 0.740227 | 0 | 0 | 0.758065 | 0 | 0 | 0.158795 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 1 | 0.048387 | false | 0.080645 | 0.016129 | 0 | 0.080645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
515fe6ec967d9adf1eabbb5dad94f9dd79c8c9e6 | 90 | py | Python | tests/test_wb2k.py | reillysiemens/wb2k | 54edaa1afe4904a78746356555468d7c04685b28 | [
"ISC"
] | 6 | 2016-06-09T04:06:29.000Z | 2019-12-22T15:29:54.000Z | tests/test_wb2k.py | reillysiemens/wb2k | 54edaa1afe4904a78746356555468d7c04685b28 | [
"ISC"
] | 19 | 2016-06-03T22:00:13.000Z | 2019-09-25T09:03:16.000Z | tests/test_wb2k.py | reillysiemens/wb2k | 54edaa1afe4904a78746356555468d7c04685b28 | [
"ISC"
] | 4 | 2016-10-06T20:45:44.000Z | 2017-10-28T22:01:20.000Z | # TODO: Write actual tests. This just makes pytest-cov pick up on the module.
import wb2k
| 30 | 77 | 0.766667 | 16 | 90 | 4.3125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.177778 | 90 | 2 | 78 | 45 | 0.918919 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
51666c4b9d618cca914f038ac201e94c03f87f6e | 34,907 | py | Python | post_optimization_studies/mad_analyses/four_cuts_eff_flow_chart/Output/Histos/MadAnalysis5job_0/selection_4.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/four_cuts_eff_flow_chart/Output/Histos/MadAnalysis5job_0/selection_4.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/four_cuts_eff_flow_chart/Output/Histos/MadAnalysis5job_0/selection_4.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_4():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 179.93299 | 1,742 | 0.742373 | 7,584 | 34,907 | 3.320675 | 0.146097 | 0.273031 | 0.395132 | 0.508259 | 0.393146 | 0.385721 | 0.3831 | 0.378613 | 0.374563 | 0.370314 | 0 | 0.556093 | 0.047268 | 34,907 | 193 | 1,743 | 180.865285 | 0.201161 | 0.037729 | 0 | 0.185841 | 0 | 0.00885 | 0.030637 | 0.005961 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5a98fddec1d3cbb33837e1f1d6a6a5b060873682 | 12,100 | py | Python | python/tinkoff/cloud/longrunning/v1/longrunning_pb2_grpc.py | qwertBR/voicekit-examples | 273a63e4cf11841339108cdcdf8b485b7c96298a | [
"Apache-2.0"
] | 3 | 2022-02-11T04:34:18.000Z | 2022-03-29T19:35:57.000Z | python/tinkoff/cloud/longrunning/v1/longrunning_pb2_grpc.py | qwertBR/voicekit-examples | 273a63e4cf11841339108cdcdf8b485b7c96298a | [
"Apache-2.0"
] | 3 | 2022-01-27T15:40:38.000Z | 2022-03-31T10:03:35.000Z | python/tinkoff/cloud/longrunning/v1/longrunning_pb2_grpc.py | qwertBR/voicekit-examples | 273a63e4cf11841339108cdcdf8b485b7c96298a | [
"Apache-2.0"
] | 5 | 2022-01-27T15:15:06.000Z | 2022-03-24T22:06:18.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from tinkoff.cloud.longrunning.v1 import longrunning_pb2 as tinkoff_dot_cloud_dot_lon... | 50.416667 | 144 | 0.705702 | 1,158 | 12,100 | 6.948187 | 0.105354 | 0.10788 | 0.057793 | 0.069351 | 0.842158 | 0.837808 | 0.809098 | 0.779518 | 0.740492 | 0.726324 | 0 | 0.00911 | 0.228926 | 12,100 | 239 | 145 | 50.627615 | 0.853269 | 0.051736 | 0 | 0.559585 | 1 | 0 | 0.093099 | 0.061451 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072539 | false | 0 | 0.015544 | 0.031088 | 0.134715 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5aeccbb2cf767b475bd8dc50612ec4c125139aee | 20,131 | py | Python | tests/test_attack_log.py | Thorsten-Sick/PurpleDome | 297d746ef2e17a4207f8274b7fccbe2ce43c4a5f | [
"MIT"
] | 7 | 2021-11-30T19:54:29.000Z | 2022-03-05T23:15:23.000Z | tests/test_attack_log.py | Thorsten-Sick/PurpleDome | 297d746ef2e17a4207f8274b7fccbe2ce43c4a5f | [
"MIT"
] | null | null | null | tests/test_attack_log.py | Thorsten-Sick/PurpleDome | 297d746ef2e17a4207f8274b7fccbe2ce43c4a5f | [
"MIT"
] | 2 | 2021-11-30T11:16:27.000Z | 2022-02-02T13:36:01.000Z | #!/usr/bin/env python3
# Testing the attack log class
import unittest
from app.attack_log import AttackLog
import app.attack_log
# from unittest.mock import patch, call
# from app.exceptions import ConfigurationError
# https://docs.python.org/3/library/unittest.html
class TestMachineConfig(unittest.TestCase):
... | 45.035794 | 136 | 0.581442 | 2,212 | 20,131 | 5.076854 | 0.073237 | 0.184328 | 0.208103 | 0.27382 | 0.848976 | 0.834105 | 0.808103 | 0.728673 | 0.675868 | 0.661264 | 0 | 0.021274 | 0.276141 | 20,131 | 446 | 137 | 45.136771 | 0.749382 | 0.071581 | 0 | 0.615804 | 0 | 0 | 0.184674 | 0.014276 | 0 | 0 | 0 | 0 | 0.378747 | 1 | 0.084469 | false | 0 | 0.008174 | 0 | 0.095368 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
85226a980a1a03102f137cc51fddc714bf4ccf38 | 78 | py | Python | vk_advanced_api/__init__.py | Ar4ikov/vk_advanced_api | 73bd2770f987441fa6b0db8c87e108cbc2b226e8 | [
"MIT"
] | 11 | 2018-03-14T07:51:41.000Z | 2022-02-16T08:20:23.000Z | vk_advanced_api/__init__.py | Ar4ikov/vk_advanced_api | 73bd2770f987441fa6b0db8c87e108cbc2b226e8 | [
"MIT"
] | 1 | 2018-04-10T21:12:07.000Z | 2018-04-17T07:36:41.000Z | vk_advanced_api/__init__.py | Ar4ikov/vk_advanced_api | 73bd2770f987441fa6b0db8c87e108cbc2b226e8 | [
"MIT"
] | 1 | 2018-03-30T07:28:45.000Z | 2018-03-30T07:28:45.000Z | from vk_advanced_api.vkapi import VKAPI
from vk_advanced_api.Auth import Auth | 39 | 40 | 0.871795 | 14 | 78 | 4.571429 | 0.5 | 0.1875 | 0.4375 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 41 | 39 | 0.914286 | 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 | 1 | 0 | 0 | 7 |
cfbcbb60ae3fc053905862a67c48f5b31ef61170 | 106 | py | Python | autonmt/search/__init__.py | salvacarrion/autonlp | 5cc462901e451b9259219f44225034fc8eedf6d3 | [
"MIT"
] | 5 | 2022-01-10T07:59:16.000Z | 2022-01-14T01:02:52.000Z | autonmt/search/__init__.py | salvacarrion/autonlp | 5cc462901e451b9259219f44225034fc8eedf6d3 | [
"MIT"
] | 2 | 2022-01-01T06:10:27.000Z | 2022-01-14T01:10:48.000Z | autonmt/search/__init__.py | salvacarrion/autonlp | 5cc462901e451b9259219f44225034fc8eedf6d3 | [
"MIT"
] | 2 | 2022-01-10T08:20:02.000Z | 2022-02-22T08:10:16.000Z | from autonmt.search.beam_search import beam_search
from autonmt.search.greedy_search import greedy_search
| 35.333333 | 54 | 0.886792 | 16 | 106 | 5.625 | 0.375 | 0.244444 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 106 | 2 | 55 | 53 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cfd6ee08050d84e7c5fe8334aa7dac72cbb2dd09 | 125 | py | Python | data/module/util/got/manager/__init__.py | williamducfer/eras | d85b8b53431f4416152e3f536bc8c99481a63dd7 | [
"MIT"
] | 1 | 2020-09-09T19:51:44.000Z | 2020-09-09T19:51:44.000Z | data/module/util/got/manager/__init__.py | williamducfer/eras | d85b8b53431f4416152e3f536bc8c99481a63dd7 | [
"MIT"
] | null | null | null | data/module/util/got/manager/__init__.py | williamducfer/eras | d85b8b53431f4416152e3f536bc8c99481a63dd7 | [
"MIT"
] | 2 | 2021-09-11T07:31:19.000Z | 2022-03-17T16:27:10.000Z | from module.util.got.manager.TweetCriteria import TweetCriteria
from module.util.got.manager.TweetManager import TweetManager | 62.5 | 63 | 0.88 | 16 | 125 | 6.875 | 0.5 | 0.181818 | 0.254545 | 0.309091 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056 | 125 | 2 | 64 | 62.5 | 0.932203 | 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 | 1 | 0 | 0 | 7 |
cfed38f69dc3fe98cfb032a42e95725930455fd7 | 87 | py | Python | lectures/code/numpy_scalar_ops.py | naskoch/python_course | 84adfd3f8d48ca3ad5837f7acc59d2fa051e95d3 | [
"MIT"
] | 4 | 2015-08-10T17:46:55.000Z | 2020-04-18T21:09:03.000Z | lectures/code/numpy_scalar_ops.py | naskoch/python_course | 84adfd3f8d48ca3ad5837f7acc59d2fa051e95d3 | [
"MIT"
] | null | null | null | lectures/code/numpy_scalar_ops.py | naskoch/python_course | 84adfd3f8d48ca3ad5837f7acc59d2fa051e95d3 | [
"MIT"
] | 2 | 2019-04-24T03:31:02.000Z | 2019-05-13T07:36:06.000Z | A = np.ones((3,3))
print 3 * A - 1
# [[ 2. 2. 2.]
# [ 2. 2. 2.]
# [ 2. 2. 2.]] | 14.5 | 18 | 0.298851 | 18 | 87 | 1.444444 | 0.388889 | 0.615385 | 0.807692 | 0.923077 | 0.346154 | 0.346154 | 0.346154 | 0.346154 | 0 | 0 | 0 | 0.236364 | 0.367816 | 87 | 6 | 19 | 14.5 | 0.236364 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 1 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
7a9dbb50b13d01bd1c12413cedbd4dd221c63516 | 106 | py | Python | tests/__init__.py | pythoncatcoder/go.py | 2fe83bbeac4190770678e3cf9df0a908b61be08d | [
"MIT"
] | 34 | 2015-05-25T05:24:17.000Z | 2022-01-18T08:49:46.000Z | tests/__init__.py | pythoncatcoder/go.py | 2fe83bbeac4190770678e3cf9df0a908b61be08d | [
"MIT"
] | 1 | 2019-12-14T20:31:20.000Z | 2019-12-17T02:30:53.000Z | tests/__init__.py | pythoncatcoder/go.py | 2fe83bbeac4190770678e3cf9df0a908b61be08d | [
"MIT"
] | 18 | 2015-01-15T19:14:32.000Z | 2021-05-17T23:09:54.000Z | from .location_test import *
from .array_test import *
from .view_test import *
from .board_test import *
| 21.2 | 28 | 0.773585 | 16 | 106 | 4.875 | 0.4375 | 0.512821 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 4 | 29 | 26.5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8f8a00c79c4bc75d5fe1451c7619bf46e7178afd | 54,850 | py | Python | tests/sql/build_test.py | DataJunction/datajunction | d2293255bb7df0e5144c7e448a0ca2b590b6c20f | [
"MIT"
] | null | null | null | tests/sql/build_test.py | DataJunction/datajunction | d2293255bb7df0e5144c7e448a0ca2b590b6c20f | [
"MIT"
] | null | null | null | tests/sql/build_test.py | DataJunction/datajunction | d2293255bb7df0e5144c7e448a0ca2b590b6c20f | [
"MIT"
] | null | null | null | """
Tests for ``datajunction.sql.build``.
"""
# pylint: disable=invalid-name, too-many-lines, line-too-long
import datetime
import pytest
from pytest_mock import MockerFixture
from sqlalchemy.engine import create_engine
from sqlmodel import Session
from datajunction.models.column import Column
from datajunction.mode... | 31.023756 | 254 | 0.586472 | 6,378 | 54,850 | 4.892286 | 0.040765 | 0.049995 | 0.047944 | 0.02692 | 0.891549 | 0.875044 | 0.856713 | 0.832067 | 0.816684 | 0.797712 | 0 | 0.006569 | 0.281167 | 54,850 | 1,767 | 255 | 31.041313 | 0.784823 | 0.032762 | 0 | 0.783462 | 0 | 0.023125 | 0.260002 | 0.044817 | 0 | 0 | 0 | 0 | 0.049755 | 1 | 0.020322 | false | 0.001402 | 0.007708 | 0 | 0.028031 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8fd73c44229c291bcccd7266f8ab8045ad9ba324 | 28,491 | py | Python | html/backend/variables.py | programmersidharth/web | e7df13308e301afc604ade82992ff4b4162d4810 | [
"MIT"
] | 1 | 2022-03-14T05:37:15.000Z | 2022-03-14T05:37:15.000Z | html/backend/variables.py | programmersidharth/web | e7df13308e301afc604ade82992ff4b4162d4810 | [
"MIT"
] | null | null | null | html/backend/variables.py | programmersidharth/web | e7df13308e301afc604ade82992ff4b4162d4810 | [
"MIT"
] | null | null | null | # icons used for filtering
ICONS = ['10k', '10mp', '11mp', '12mp', '13mp', '14mp', '15mp', '16mp', '17mp', '18mp', '19mp', '1k', '1k_plus', '1x_mobiledata', '20mp', '21mp', '22mp', '23mp', '24mp', '2k', '2k_plus', '2mp', '30fps', '30fps_select', '360', '3d_rotation', '3g_mobiledata', '3k', '3k_plus', '3mp', '3p', '4g_m... | 5,698.2 | 14,241 | 0.745183 | 3,557 | 28,491 | 5.479055 | 0.375879 | 0.007389 | 0.008723 | 0.006414 | 0.015906 | 0.010467 | 0 | 0 | 0 | 0 | 0 | 0.007201 | 0.064126 | 28,491 | 4 | 14,242 | 7,122.75 | 0.72371 | 0.000842 | 0 | 0 | 0 | 0 | 0.744976 | 0.101778 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 8 |
8ff65882f9235b10adf0a5603fc7d6647c9a1d7c | 32,488 | py | Python | ambari-server/src/test/python/TestSensitiveDataEncryption.py | samyzh/ambari | ff73620da41697ed2ca9ece676f71ec9ba28a7d5 | [
"Apache-2.0"
] | 1,664 | 2015-01-03T09:35:21.000Z | 2022-03-31T04:55:24.000Z | ambari-server/src/test/python/TestSensitiveDataEncryption.py | samyzh/ambari | ff73620da41697ed2ca9ece676f71ec9ba28a7d5 | [
"Apache-2.0"
] | 3,018 | 2015-02-19T20:16:10.000Z | 2021-11-13T20:47:48.000Z | ambari-server/src/test/python/TestSensitiveDataEncryption.py | samyzh/ambari | ff73620da41697ed2ca9ece676f71ec9ba28a7d5 | [
"Apache-2.0"
] | 1,673 | 2015-01-06T14:14:42.000Z | 2022-03-31T07:22:30.000Z | '''
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this ... | 48.780781 | 203 | 0.731409 | 3,961 | 32,488 | 5.540773 | 0.083817 | 0.061785 | 0.076685 | 0.131225 | 0.806033 | 0.77113 | 0.751948 | 0.740238 | 0.722696 | 0.715815 | 0 | 0.002848 | 0.189516 | 32,488 | 665 | 204 | 48.854135 | 0.830656 | 0.026871 | 0 | 0.690519 | 0 | 0.003578 | 0.189539 | 0.154859 | 0 | 0 | 0 | 0 | 0.112701 | 1 | 0.026834 | false | 0.216458 | 0.035778 | 0 | 0.069767 | 0.005367 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
64f2e2b530af5be77d35403bbf827b176b5a071a | 2,297 | py | Python | Chinese_zodiac.py | 2019-fall-csc-226/a01-breaking-bad-iransi_a01 | 720a648e9068af9e1202893942e311163bd0e1c1 | [
"MIT"
] | null | null | null | Chinese_zodiac.py | 2019-fall-csc-226/a01-breaking-bad-iransi_a01 | 720a648e9068af9e1202893942e311163bd0e1c1 | [
"MIT"
] | null | null | null | Chinese_zodiac.py | 2019-fall-csc-226/a01-breaking-bad-iransi_a01 | 720a648e9068af9e1202893942e311163bd0e1c1 | [
"MIT"
] | null | null | null | birthyear = int(input("what year were you born? {2000-2011}"))
if birthyear == 2000 :
print("you're a fire breathing dragon")
elif birthyear == 2001:
print("sssss you're a snake ")
if birthyear == 2002:
print("Haaayyy. Get it? cause your a horse :)")
if birthyear == 2003 :
print("you are the GO... | 31.902778 | 111 | 0.637353 | 361 | 2,297 | 4.055402 | 0.265928 | 0.054645 | 0.057377 | 0.057377 | 0.849727 | 0.814208 | 0.814208 | 0.814208 | 0.814208 | 0.814208 | 0 | 0.0855 | 0.246408 | 2,297 | 72 | 112 | 31.902778 | 0.760254 | 0 | 0 | 0.655738 | 0 | 0.016393 | 0.475196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.47541 | 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 | 1 | 0 | 7 |
64f5cef49fb1fe4a41de9751140db69b63b91e0f | 212 | py | Python | scripts/library/__init__.py | geozeke/ubuntu | 49b7649b4306e6f3eb39c5dd9419cddc5c10d077 | [
"MIT"
] | null | null | null | scripts/library/__init__.py | geozeke/ubuntu | 49b7649b4306e6f3eb39c5dd9419cddc5c10d077 | [
"MIT"
] | 77 | 2020-07-08T18:52:48.000Z | 2022-01-21T20:13:31.000Z | scripts/library/__init__.py | geozeke/ubuntu | 49b7649b4306e6f3eb39c5dd9419cddc5c10d077 | [
"MIT"
] | null | null | null | from .classes import Environment
from .utilities import clear
from .utilities import runOneCommand
from .utilities import runManyArguments
from .utilities import minPythonVersion
from .utilities import copyFiles
| 30.285714 | 39 | 0.858491 | 24 | 212 | 7.583333 | 0.416667 | 0.357143 | 0.521978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 212 | 6 | 40 | 35.333333 | 0.968085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
64f6cfdf3012940080f0da657680c3dfea60fa6b | 17,679 | py | Python | AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Periodic.py | LB-JakubSkorupka/o3de | e224fc2ee5ec2a12e75a10acae268b7b38ae3a32 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-07-08T09:58:26.000Z | 2022-03-17T17:59:26.000Z | AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Periodic.py | LB-JakubSkorupka/o3de | e224fc2ee5ec2a12e75a10acae268b7b38ae3a32 | [
"Apache-2.0",
"MIT"
] | 29 | 2021-07-06T19:33:52.000Z | 2022-03-22T10:27:49.000Z | AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/TestSuite_Periodic.py | LB-JakubSkorupka/o3de | e224fc2ee5ec2a12e75a10acae268b7b38ae3a32 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-07-06T19:24:43.000Z | 2022-03-31T12:42:27.000Z | """
Copyright (c) Contributors to the Open 3D Engine Project.
For complete copyright and license terms please see the LICENSE at the root of this distribution.
SPDX-License-Identifier: Apache-2.0 OR MIT
"""
import os
import pytest
import sys
import ly_test_tools.environment.waiter as waiter
import ly_test_tools.envi... | 62.25 | 138 | 0.783755 | 1,868 | 17,679 | 7.131156 | 0.123662 | 0.099692 | 0.130471 | 0.049246 | 0.736131 | 0.720892 | 0.720892 | 0.712859 | 0.712859 | 0.668944 | 0 | 0.003509 | 0.14571 | 17,679 | 283 | 139 | 62.469965 | 0.878501 | 0.035353 | 0 | 0.423469 | 0 | 0 | 0.041202 | 0.001761 | 0 | 0 | 0 | 0 | 0.010204 | 1 | 0.244898 | false | 0 | 0.25 | 0 | 0.510204 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
8f1dda3eb63e47622769b82f7f990a3303f3a4ae | 2,514 | py | Python | ui/Pytest/test_LineEditMinimumMaximumController.py | MoisesHenr/OCEAN | e99c853893adc89652794ace62fcc8ffa78aa7ac | [
"MIT"
] | 15 | 2021-06-15T13:48:03.000Z | 2022-01-26T13:51:46.000Z | ui/Pytest/test_LineEditMinimumMaximumController.py | MoisesHenr/OCEAN | e99c853893adc89652794ace62fcc8ffa78aa7ac | [
"MIT"
] | 1 | 2021-07-04T02:58:29.000Z | 2021-07-04T02:58:29.000Z | ui/Pytest/test_LineEditMinimumMaximumController.py | MoisesHenr/OCEAN | e99c853893adc89652794ace62fcc8ffa78aa7ac | [
"MIT"
] | 2 | 2021-06-21T20:44:01.000Z | 2021-06-23T11:10:56.000Z | # Author: Moises Henrique Pereira
# this class handle the functions tests of controller of the component of the numerical features
import pytest
import sys
from PyQt5 import QtWidgets
from ui.mainTest import StaticObjects
@pytest.mark.parametrize('featureName', [1, 2.9, False, ('t1', 't2'), None])
def test_CILE... | 55.866667 | 143 | 0.838902 | 175 | 2,514 | 11.891429 | 0.32 | 0.020183 | 0.040365 | 0.077847 | 0.825084 | 0.79433 | 0.769822 | 0.769822 | 0.769822 | 0.769822 | 0 | 0.006206 | 0.102625 | 2,514 | 45 | 144 | 55.866667 | 0.916223 | 0.050119 | 0 | 0.484848 | 0 | 0 | 0.020134 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 1 | 0.181818 | false | 0 | 0.121212 | 0 | 0.30303 | 0 | 0 | 0 | 1 | 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 | 7 |
8f31782a6012b73d5ada6e6de802c8e5d232912b | 33,930 | py | Python | mapmint-services/datastores/postgis/pgConnection.py | fenilgmehta/mapmint | 7c28c42dbe9b17b11f5f6f080fd2c397f4f6937f | [
"MIT"
] | null | null | null | mapmint-services/datastores/postgis/pgConnection.py | fenilgmehta/mapmint | 7c28c42dbe9b17b11f5f6f080fd2c397f4f6937f | [
"MIT"
] | 2 | 2019-03-31T01:11:06.000Z | 2020-03-15T13:43:16.000Z | mapmint-services/datastores/postgis/pgConnection.py | fenilgmehta/mapmint | 7c28c42dbe9b17b11f5f6f080fd2c397f4f6937f | [
"MIT"
] | null | null | null | import psycopg2
import lxml
# import libxslt
from lxml import etree
import osgeo.ogr
import sys
import zoo
import json
try:
from manage_users.manage_users import mm_md5
except:
from manage_users import mm_md5
class pgConnection:
def __init__(self, conf, dbfile):
self.dbfile = dbfile
self.... | 54.725806 | 2,322 | 0.536045 | 4,293 | 33,930 | 4.174237 | 0.073142 | 0.012723 | 0.026116 | 0.022321 | 0.822824 | 0.800837 | 0.794531 | 0.775893 | 0.771429 | 0.768862 | 0 | 0.017056 | 0.300147 | 33,930 | 619 | 2,323 | 54.814216 | 0.737598 | 0.098998 | 0 | 0.721137 | 0 | 0.060391 | 0.337327 | 0.045931 | 0 | 0 | 0 | 0.001616 | 0 | 1 | 0.028419 | false | 0 | 0.026643 | 0 | 0.134991 | 0.053286 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
56d09b11ed25ec6017ed1280c06b4a542229e329 | 9,712 | py | Python | Zebrafish spinal locomotor circuit/Version 2/Beat_and_glide_with_sigmas.py | Bui-lab/Code | 6ce5972a4bd0c059ab167522ab1d945f3b0f5707 | [
"MIT"
] | null | null | null | Zebrafish spinal locomotor circuit/Version 2/Beat_and_glide_with_sigmas.py | Bui-lab/Code | 6ce5972a4bd0c059ab167522ab1d945f3b0f5707 | [
"MIT"
] | null | null | null | Zebrafish spinal locomotor circuit/Version 2/Beat_and_glide_with_sigmas.py | Bui-lab/Code | 6ce5972a4bd0c059ab167522ab1d945f3b0f5707 | [
"MIT"
] | 2 | 2021-08-25T08:14:52.000Z | 2021-11-29T12:56:17.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jul 3 15:47:19 2018
@author: Yann Roussel and Tuan Bui
Editted by: Emine Topcu on Oct 2021
"""
from random import gauss
from Beat_and_glide import Beat_and_glide_base
from Izhikevich_class import Izhikevich_9P, Leaky_Integrator
class Beat_and_glide_wi... | 56.138728 | 112 | 0.358217 | 1,068 | 9,712 | 3.205993 | 0.11985 | 0.180491 | 0.300818 | 0.420561 | 0.79264 | 0.780958 | 0.780958 | 0.780958 | 0.764603 | 0.764603 | 0 | 0.099761 | 0.525227 | 9,712 | 172 | 113 | 56.465116 | 0.642811 | 0.023682 | 0 | 0.671141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033557 | false | 0 | 0.020134 | 0.013423 | 0.114094 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.