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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72762023f4b83c0c94c27310981c37e838797c57 | 156 | py | Python | tests/book/ch07/__init__.py | xchaoinfo/pyhanlp | d61829a7aa35965e34ca0e220ee7f83bd3e8c5ed | [
"Apache-2.0"
] | 2,792 | 2018-03-19T10:24:23.000Z | 2022-03-29T07:46:53.000Z | pyhanlp-master/tests/book/ch07/__init__.py | tianmingl/maincode | 724c60d5281ba3911ca065d9e144bb1b09e8257f | [
"MIT"
] | 50 | 2018-03-19T11:08:37.000Z | 2022-01-11T16:34:00.000Z | pyhanlp-master/tests/book/ch07/__init__.py | tianmingl/maincode | 724c60d5281ba3911ca065d9e144bb1b09e8257f | [
"MIT"
] | 802 | 2018-03-19T11:08:49.000Z | 2022-03-22T07:20:26.000Z | # -*- coding:utf-8 -*-
# Author:hankcs
# Date: 2018-07-04 17:26
# 《自然语言处理入门》第 7 章 词性标注
# 配套书籍:http://nlp.hankcs.com/book.php
# 讨论答疑:https://bbs.hankcs.com/
| 22.285714 | 37 | 0.647436 | 28 | 156 | 3.607143 | 0.892857 | 0.178218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10219 | 0.121795 | 156 | 6 | 38 | 26 | 0.635037 | 0.916667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
728543b4b45d729ce806d1524c285959b76acd5a | 267 | py | Python | censys/search/v1/__init__.py | snowgears/censys-python | 9ee3e090ef3e47c6c6a768d7fe4412509b3d274f | [
"Apache-2.0"
] | 230 | 2017-09-15T22:18:52.000Z | 2022-03-31T23:50:27.000Z | censys/search/v1/__init__.py | snowgears/censys-python | 9ee3e090ef3e47c6c6a768d7fe4412509b3d274f | [
"Apache-2.0"
] | 83 | 2017-10-02T04:51:53.000Z | 2022-03-29T12:08:41.000Z | censys/search/v1/__init__.py | snowgears/censys-python | 9ee3e090ef3e47c6c6a768d7fe4412509b3d274f | [
"Apache-2.0"
] | 60 | 2017-11-19T17:25:58.000Z | 2022-03-25T06:21:51.000Z | """Interact with the Censys Search v1 APIs."""
from .certificates import CensysCertificates
from .data import CensysData
from .ipv4 import CensysIPv4
from .websites import CensysWebsites
__all__ = ["CensysCertificates", "CensysData", "CensysIPv4", "CensysWebsites"]
| 33.375 | 78 | 0.794007 | 28 | 267 | 7.428571 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016878 | 0.11236 | 267 | 7 | 79 | 38.142857 | 0.860759 | 0.149813 | 0 | 0 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
72a1c88470f7d6e163b55ce9004d445a3eb9b60c | 137 | py | Python | annotator/tests/__init__.py | nickstenning/annotator-store-py | f7851efcda3f4451deb4b741fcc40796cbb46f74 | [
"MIT"
] | 6 | 2015-01-21T19:55:37.000Z | 2021-07-07T10:23:16.000Z | annotator/tests/__init__.py | nickstenning/annotator-store-py | f7851efcda3f4451deb4b741fcc40796cbb46f74 | [
"MIT"
] | null | null | null | annotator/tests/__init__.py | nickstenning/annotator-store-py | f7851efcda3f4451deb4b741fcc40796cbb46f74 | [
"MIT"
] | 1 | 2019-02-25T01:15:14.000Z | 2019-02-25T01:15:14.000Z | import os
import annotator.model as model
# Use in-memory database for testing
model.configure('sqlite:///:memory:')
model.rebuilddb()
| 17.125 | 37 | 0.759124 | 19 | 137 | 5.473684 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116788 | 137 | 7 | 38 | 19.571429 | 0.859504 | 0.248175 | 0 | 0 | 0 | 0 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
72b14094f931c3dda1080aae55a2ea02a8e1a940 | 200 | py | Python | extra-hooks/hook-soundfile.py | FilthyFrankTheGoanimator/Voice | 0bf3570bd6b376c936ea9f04fc15f129e738b168 | [
"BSD-3-Clause"
] | 556 | 2021-03-10T19:09:47.000Z | 2022-03-30T13:45:13.000Z | extra-hooks/hook-soundfile.py | FilthyFrankTheGoanimator/Voice | 0bf3570bd6b376c936ea9f04fc15f129e738b168 | [
"BSD-3-Clause"
] | 100 | 2021-03-14T12:35:46.000Z | 2022-03-26T07:57:42.000Z | extra-hooks/hook-soundfile.py | FilthyFrankTheGoanimator/Voice | 0bf3570bd6b376c936ea9f04fc15f129e738b168 | [
"BSD-3-Clause"
] | 84 | 2021-03-16T21:44:06.000Z | 2022-03-30T21:58:28.000Z | import os
from PyInstaller.utils.hooks import get_package_paths
sfp = get_package_paths("soundfile")
bins = os.path.join(sfp[0], "_soundfile_data")
datas = [(bins, "_soundfile_data")]
binaries = []
| 22.222222 | 53 | 0.75 | 28 | 200 | 5.071429 | 0.642857 | 0.140845 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.11 | 200 | 8 | 54 | 25 | 0.792135 | 0 | 0 | 0 | 0 | 0 | 0.195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
72dca0b50016ce604f2019128489cc7d9fc50492 | 49 | py | Python | PYTHON-CURSO EM VIDEO/Exercicio-Modulo.py | JaumVitor/HOMEWORK-PYTHON | aff564ac61802c7417d7280a73c1ed4a98978ed3 | [
"Apache-2.0"
] | null | null | null | PYTHON-CURSO EM VIDEO/Exercicio-Modulo.py | JaumVitor/HOMEWORK-PYTHON | aff564ac61802c7417d7280a73c1ed4a98978ed3 | [
"Apache-2.0"
] | null | null | null | PYTHON-CURSO EM VIDEO/Exercicio-Modulo.py | JaumVitor/HOMEWORK-PYTHON | aff564ac61802c7417d7280a73c1ed4a98978ed3 | [
"Apache-2.0"
] | null | null | null | import random
n = random.randint(0,5)
print (n)
| 9.8 | 23 | 0.693878 | 9 | 49 | 3.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.163265 | 49 | 4 | 24 | 12.25 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f41409bb7474281eb2878840ff1c10c2609435cd | 1,778 | py | Python | karp5/tests/unit_tests/server/translator/test_validatejson.py | spraakbanken/karp-backend-v5 | bfca9d0f29a1243ee8d817c6a7db8b30a7da1097 | [
"MIT"
] | 4 | 2018-01-09T10:20:22.000Z | 2019-11-21T12:26:56.000Z | karp5/tests/unit_tests/server/translator/test_validatejson.py | spraakbanken/karp-backend-v5 | bfca9d0f29a1243ee8d817c6a7db8b30a7da1097 | [
"MIT"
] | 44 | 2018-03-23T13:59:13.000Z | 2022-03-29T06:03:17.000Z | karp5/tests/unit_tests/server/translator/test_validatejson.py | spraakbanken/karp-backend-v5 | bfca9d0f29a1243ee8d817c6a7db8b30a7da1097 | [
"MIT"
] | 2 | 2018-01-07T12:08:32.000Z | 2019-08-21T08:05:17.000Z | from unittest import mock
import pytest
from karp5.server.translator.validatejson import validate_json
def test_validate_json_escapes_correct():
lexicon_id = "Test"
doc = {"field": "&", "string": "o\u0308"}
expected = {"field": "&", "string": "ö"}
validate_json(doc, lexicon_id)
assert doc ... | 26.147059 | 97 | 0.582677 | 198 | 1,778 | 5.010101 | 0.242424 | 0.060484 | 0.072581 | 0.072581 | 0.785282 | 0.785282 | 0.785282 | 0.712702 | 0.671371 | 0.671371 | 0 | 0.008493 | 0.205287 | 1,778 | 67 | 98 | 26.537313 | 0.69356 | 0 | 0 | 0.591837 | 0 | 0 | 0.237908 | 0.075928 | 0 | 0 | 0 | 0 | 0.081633 | 1 | 0.081633 | false | 0 | 0.061224 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f41a7fc579508437aab43fd7e058c8d07272f3e0 | 151 | py | Python | tableaurest/__main__.py | levikanwischer/tableaurest | 089f077521c27461850eb74661a58b4657748320 | [
"MIT"
] | null | null | null | tableaurest/__main__.py | levikanwischer/tableaurest | 089f077521c27461850eb74661a58b4657748320 | [
"MIT"
] | null | null | null | tableaurest/__main__.py | levikanwischer/tableaurest | 089f077521c27461850eb74661a58b4657748320 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Tableau REST API interface with misc utilities."""
from tableaurest import cli
if __name__ == '__main__':
cli.main()
| 16.777778 | 53 | 0.655629 | 19 | 151 | 4.789474 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.18543 | 151 | 8 | 54 | 18.875 | 0.731707 | 0.463576 | 0 | 0 | 0 | 0 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f445687c6394f6c1172723b5a889ae2af01f540a | 332 | py | Python | string/test2.py | Vayne-Lover/Python | 79cfe3d6971a7901d420ba5a7f52bf4c68f6a1c1 | [
"Apache-2.0"
] | 1 | 2016-07-14T06:16:58.000Z | 2016-07-14T06:16:58.000Z | string/test2.py | Vayne-Lover/Python | 79cfe3d6971a7901d420ba5a7f52bf4c68f6a1c1 | [
"Apache-2.0"
] | null | null | null | string/test2.py | Vayne-Lover/Python | 79cfe3d6971a7901d420ba5a7f52bf4c68f6a1c1 | [
"Apache-2.0"
] | null | null | null | #!/usr/local/bin/python
width=input('Please input width: ')
price_width=10
item_width=width-price_width
header='%-*s%*s'
format='%-*s%*.2f'
print width*'='
print header %(item_width,'Item',price_width,'Price')
print width*'-'
print format%(item_width,'Apple',price_width,0.442)
print format%(item_width,'Pears',price_w... | 23.714286 | 53 | 0.728916 | 53 | 332 | 4.396226 | 0.377358 | 0.214592 | 0.128755 | 0.171674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035484 | 0.066265 | 332 | 13 | 54 | 25.538462 | 0.716129 | 0.066265 | 0 | 0 | 0 | 0 | 0.184466 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f4590263896550efdd8153b59d7d0b9f66fad57a | 2,512 | py | Python | venv/Lib/site-packages/pyqt6_plugins/tests/testbuttonplugin.py | Armageddon-15/pixivpy | 2a4d8c9ebdb28efeceabe87e6f9950cb20a83aed | [
"Unlicense"
] | null | null | null | venv/Lib/site-packages/pyqt6_plugins/tests/testbuttonplugin.py | Armageddon-15/pixivpy | 2a4d8c9ebdb28efeceabe87e6f9950cb20a83aed | [
"Unlicense"
] | 20 | 2021-05-03T18:02:23.000Z | 2022-03-12T12:01:04.000Z | Lib/site-packages/pyqt5_plugins/tests/testbuttonplugin.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | 1 | 2022-02-21T03:09:29.000Z | 2022-02-21T03:09:29.000Z | # TODO: CAMPid 0970432108721340872130742130870874321
import importlib
import pkg_resources
major = None
def import_it(*segments):
global major
if major is None:
options = [5, 6]
else:
options = [major]
error = None
for major in options:
# TODO: this is not great but the ... | 28.545455 | 82 | 0.618631 | 291 | 2,512 | 5.195876 | 0.408935 | 0.065476 | 0.05291 | 0.068783 | 0.187169 | 0.152778 | 0 | 0 | 0 | 0 | 0 | 0.022527 | 0.275478 | 2,512 | 87 | 83 | 28.873563 | 0.808242 | 0.143312 | 0 | 0.034483 | 0 | 0 | 0.144522 | 0.024709 | 0 | 0 | 0 | 0.011494 | 0 | 1 | 0.206897 | false | 0 | 0.155172 | 0.155172 | 0.568966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
be49488283466d31bdbc4f8c659f53df0745308c | 935 | py | Python | lgp/factory/alfred_factory.py | dingmyu/hlsm | 628702789d910f745c74e738efbdd65f0fdb654b | [
"BSD-3-Clause"
] | null | null | null | lgp/factory/alfred_factory.py | dingmyu/hlsm | 628702789d910f745c74e738efbdd65f0fdb654b | [
"BSD-3-Clause"
] | null | null | null | lgp/factory/alfred_factory.py | dingmyu/hlsm | 628702789d910f745c74e738efbdd65f0fdb654b | [
"BSD-3-Clause"
] | null | null | null | from typing import Dict
from lgp.abcd.factory import Factory
from lgp.env.alfred.alfred_env import AlfredEnv
from lgp.agents.agents import get_agent
from lgp.models.alfred.hlsm.hlsm_model_factory import HlsmModelFactory
from lgp.parameters import Hyperparams
class AlfredFactory(Factory):
def __init__(self):
... | 32.241379 | 70 | 0.727273 | 123 | 935 | 5.325203 | 0.406504 | 0.053435 | 0.054962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191444 | 935 | 28 | 71 | 33.392857 | 0.866402 | 0.112299 | 0 | 0 | 0 | 0 | 0.021792 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
be57ba2ab2d1edd6f6138462da1ac9bdd580b0cf | 208 | py | Python | websauna/system/devop/scripts/tweens.py | maikroeder/websauna | fd266cf5e4761cd4c1f3e33be47ad8358b4c6afa | [
"CNRI-Python"
] | null | null | null | websauna/system/devop/scripts/tweens.py | maikroeder/websauna | fd266cf5e4761cd4c1f3e33be47ad8358b4c6afa | [
"CNRI-Python"
] | null | null | null | websauna/system/devop/scripts/tweens.py | maikroeder/websauna | fd266cf5e4761cd4c1f3e33be47ad8358b4c6afa | [
"CNRI-Python"
] | 1 | 2021-04-15T17:35:57.000Z | 2021-04-15T17:35:57.000Z | import sys
from websauna.utils.configincluder import monkey_patch_paster_config_parser
from pyramid.scripts import ptweens
monkey_patch_paster_config_parser()
def main():
sys.exit(ptweens.main() or 0) | 20.8 | 75 | 0.822115 | 30 | 208 | 5.433333 | 0.633333 | 0.134969 | 0.208589 | 0.282209 | 0.355828 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005405 | 0.110577 | 208 | 10 | 76 | 20.8 | 0.875676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
be5cf4f8ce415b2068d36c701d68bc53433f7653 | 66 | py | Python | 3rdparty/python/pylint/main.py | NunoEdgarGFlowHub/heron | 53380553d79a9473184821e5864aedfe9f45f290 | [
"Apache-2.0"
] | 2 | 2016-07-04T07:10:31.000Z | 2018-03-28T16:59:02.000Z | 3rdparty/python/pylint/main.py | NunoEdgarGFlowHub/heron | 53380553d79a9473184821e5864aedfe9f45f290 | [
"Apache-2.0"
] | null | null | null | 3rdparty/python/pylint/main.py | NunoEdgarGFlowHub/heron | 53380553d79a9473184821e5864aedfe9f45f290 | [
"Apache-2.0"
] | 1 | 2019-10-02T15:23:46.000Z | 2019-10-02T15:23:46.000Z | import pylint
if __name__ == '__main__':
pylint.run_pylint()
| 13.2 | 26 | 0.69697 | 8 | 66 | 4.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 4 | 27 | 16.5 | 0.685185 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
be79b140a8e08b918cadd6887d9447eb1e80f251 | 211 | py | Python | catkin_ws/src/spring2016/agirard/camera_stuff_agirard/include/camera_stuff_agirard/util.py | DiegoOrtegoP/Software | 4a07dd2dab29db910ca2e26848fa6b53b7ab00cd | [
"CC-BY-2.0"
] | 12 | 2016-04-14T12:21:46.000Z | 2021-06-18T07:51:40.000Z | catkin_ws/src/spring2016/agirard/camera_stuff_agirard/include/camera_stuff_agirard/util.py | DiegoOrtegoP/Software | 4a07dd2dab29db910ca2e26848fa6b53b7ab00cd | [
"CC-BY-2.0"
] | 14 | 2017-03-03T23:33:05.000Z | 2018-04-03T18:07:53.000Z | catkin_ws/src/spring2016/agirard/camera_stuff_agirard/include/camera_stuff_agirard/util.py | DiegoOrtegoP/Software | 4a07dd2dab29db910ca2e26848fa6b53b7ab00cd | [
"CC-BY-2.0"
] | 113 | 2016-05-03T06:11:42.000Z | 2019-06-01T14:37:38.000Z | # -*- coding: utf-8 -*-
"""
Created on Fri Feb 26 11:00:57 2016
@author: alex
"""
import random
def getName():
return "I'm the tools module!!"
def getStatus():
return random.choice(["happy","awesome"]) | 17.583333 | 45 | 0.630332 | 31 | 211 | 4.290323 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075145 | 0.180095 | 211 | 12 | 45 | 17.583333 | 0.693642 | 0.345972 | 0 | 0 | 0 | 0 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
be937f610176c6fbf6c095361f0601136b3b6cd9 | 26,493 | py | Python | api/v1/routers/proxmox.py | UCCNetsoc/cloud | d3f87c7868ef7615a5836a2a3ba09bfd1dffed1d | [
"BSD-3-Clause"
] | 9 | 2021-02-07T19:49:49.000Z | 2021-12-05T20:52:25.000Z | api/v1/routers/proxmox.py | UCCNetsoc/admin | d3f87c7868ef7615a5836a2a3ba09bfd1dffed1d | [
"BSD-3-Clause"
] | 18 | 2020-09-07T16:04:40.000Z | 2020-11-05T01:50:14.000Z | api/v1/routers/proxmox.py | UCCNetsoc/admin | d3f87c7868ef7615a5836a2a3ba09bfd1dffed1d | [
"BSD-3-Clause"
] | 4 | 2020-09-29T12:03:22.000Z | 2020-10-17T21:33:16.000Z | import os
import time
import structlog as logging
from fastapi import APIRouter, HTTPException, BackgroundTasks, Depends, Path, Query, Response, UploadFile, File
from fastapi.responses import StreamingResponse
from pydantic import BaseModel, Field
from typing import List, Dict, Optional
from v1 import providers, t... | 39.307122 | 219 | 0.701468 | 3,137 | 26,493 | 5.704176 | 0.105196 | 0.081312 | 0.046105 | 0.043814 | 0.778306 | 0.749525 | 0.720633 | 0.706773 | 0.689561 | 0.647033 | 0 | 0.00602 | 0.184917 | 26,493 | 674 | 220 | 39.307122 | 0.822636 | 0.040048 | 0 | 0.592523 | 0 | 0.035514 | 0.266908 | 0.129793 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050467 | false | 0.018692 | 0.016822 | 0.009346 | 0.08972 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fe2689e309f9e3e14c86f7d7f1053f9d91a3e800 | 257 | py | Python | kabzimal/rest/serializers/category_type.py | arasumran/kabzimal | dbae35fdb940bdf0338bd43983b1894c87a35961 | [
"MIT"
] | null | null | null | kabzimal/rest/serializers/category_type.py | arasumran/kabzimal | dbae35fdb940bdf0338bd43983b1894c87a35961 | [
"MIT"
] | 12 | 2020-06-05T23:02:28.000Z | 2022-03-11T23:59:56.000Z | kabzimal/rest/serializers/category_type.py | arasumran/kabzimal | dbae35fdb940bdf0338bd43983b1894c87a35961 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from kabzimal.models import CategoryTypeModel
class CategoryTypeSerializers(serializers.ModelSerializer):
class Meta:
model = CategoryTypeModel
fields = ('category_type_name','category_type_desc',) | 28.555556 | 60 | 0.789883 | 25 | 257 | 7.92 | 0.72 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14786 | 257 | 9 | 60 | 28.555556 | 0.90411 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fe322c862c4034dd066b3deccad6b440c7969053 | 175 | py | Python | evennia_extensions/character_extensions/apps.py | dvoraen/arxcode | a89f2004fca10e0b1f1995c2420dd3ffbf08774b | [
"MIT"
] | 42 | 2018-08-12T00:55:24.000Z | 2021-12-24T15:16:08.000Z | evennia_extensions/character_extensions/apps.py | dvoraen/arxcode | a89f2004fca10e0b1f1995c2420dd3ffbf08774b | [
"MIT"
] | 312 | 2018-10-22T23:03:27.000Z | 2022-02-06T13:02:58.000Z | evennia_extensions/character_extensions/apps.py | dvoraen/arxcode | a89f2004fca10e0b1f1995c2420dd3ffbf08774b | [
"MIT"
] | 42 | 2018-08-12T00:41:48.000Z | 2022-01-27T14:03:16.000Z | from django.apps import AppConfig
class CharacterExtensionsConfig(AppConfig):
name = "evennia_extensions.character_extensions"
verbose_name = "Character Extensions"
| 25 | 52 | 0.805714 | 17 | 175 | 8.117647 | 0.705882 | 0.275362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131429 | 175 | 6 | 53 | 29.166667 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.337143 | 0.222857 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
fe356dbbe79178ea35bd659e01fce672a693db29 | 386 | py | Python | spyder/plugins/breakpoints/api.py | Earthman100/spyder | 949ce0f9100a69504c70a5678e8589a05aee7d38 | [
"MIT"
] | 7,956 | 2015-02-17T01:19:09.000Z | 2022-03-31T21:52:15.000Z | spyder/plugins/breakpoints/api.py | Earthman100/spyder | 949ce0f9100a69504c70a5678e8589a05aee7d38 | [
"MIT"
] | 16,326 | 2015-02-16T23:15:21.000Z | 2022-03-31T23:34:34.000Z | spyder/plugins/breakpoints/api.py | Earthman100/spyder | 949ce0f9100a69504c70a5678e8589a05aee7d38 | [
"MIT"
] | 1,918 | 2015-02-20T19:26:26.000Z | 2022-03-31T19:03:25.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2009- Spyder Project Contributors
#
# Distributed under the terms of the MIT License
# (see spyder/__init__.py for details)
"""
Breakpoints Plugin API.
"""
# Local imports
from spyder.plugins.breakpoints.plugin import BreakpointsActions
from spyder.plugins.breakpoin... | 25.733333 | 65 | 0.738342 | 44 | 386 | 6.363636 | 0.772727 | 0.121429 | 0.121429 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015528 | 0.165803 | 386 | 14 | 66 | 27.571429 | 0.854037 | 0.497409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fe4487ae4692eb0b3690eef04b23e8280b9200b2 | 67 | py | Python | src/model/__init__.py | Lukeeeeee/FISDNN | 49361770fe987337b16a296c00cfd6562a7e95ed | [
"MIT"
] | null | null | null | src/model/__init__.py | Lukeeeeee/FISDNN | 49361770fe987337b16a296c00cfd6562a7e95ed | [
"MIT"
] | null | null | null | src/model/__init__.py | Lukeeeeee/FISDNN | 49361770fe987337b16a296c00cfd6562a7e95ed | [
"MIT"
] | null | null | null | import os
MODEL_PATH = os.path.dirname(os.path.realpath(__file__))
| 22.333333 | 56 | 0.791045 | 11 | 67 | 4.363636 | 0.636364 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 67 | 2 | 57 | 33.5 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fe5787c1a5d93d1d2caedddad50b0c8a30f20cfe | 46,717 | py | Python | Lib/site-packages/PySide/examples/opengl/textures/textures_rc.py | heylenz/python27 | bee49fa9d65b8ab7d591146a5b6cd47aeb41d940 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | Lib/site-packages/PySide/examples/opengl/textures/textures_rc.py | heylenz/python27 | bee49fa9d65b8ab7d591146a5b6cd47aeb41d940 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | Lib/site-packages/PySide/examples/opengl/textures/textures_rc.py | heylenz/python27 | bee49fa9d65b8ab7d591146a5b6cd47aeb41d940 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | # Resource object code
#
# Created: Wed Dec 28 19:57:29 2005
# by: The Resource Compiler for PyQt (Qt v4.1.0)
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore
qt_resource_data = "\
\x00\x00\x05\x3e\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x01... | 61.713342 | 96 | 0.726609 | 11,253 | 46,717 | 3.014929 | 0.026571 | 0.09267 | 0.109824 | 0.117429 | 0.16509 | 0.143779 | 0.132638 | 0.129985 | 0.121938 | 0.117605 | 0 | 0.334067 | 0.017403 | 46,717 | 756 | 97 | 61.794974 | 0.405019 | 0.003403 | 0 | 0.069987 | 0 | 0.934051 | 0 | 0 | 0 | 1 | 0.000172 | 0 | 0 | 1 | 0.002692 | false | 0 | 0.001346 | 0 | 0.004038 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fe9a8448b4435f761166925585d16b98f977c2d1 | 9,708 | py | Python | lasaft/source_separation/sub_modules/building_blocks.py | roger-tseng/Conditioned-Source-Separation-LaSAFT | 47cf2b7d11ac442f58127afb4ed5a8af360b20d9 | [
"MIT"
] | 78 | 2020-10-23T20:32:37.000Z | 2021-11-25T20:00:22.000Z | lasaft/source_separation/sub_modules/building_blocks.py | ws-choi/LightSAFT-Net-for-MDX-Challenge | bd38f44cad681deb7f1cf296b2efdd4c018c8212 | [
"MIT"
] | 24 | 2020-11-03T02:28:15.000Z | 2021-08-13T07:38:31.000Z | lasaft/source_separation/sub_modules/building_blocks.py | ws-choi/LightSAFT-Net-for-MDX-Challenge | bd38f44cad681deb7f1cf296b2efdd4c018c8212 | [
"MIT"
] | 20 | 2020-11-03T01:39:52.000Z | 2021-11-18T03:42:04.000Z | import torch
import torch.nn as nn
class TFC(nn.Module):
""" [B, in_channels, T, F] => [B, gr, T, F] """
def __init__(self, in_channels, num_layers, gr, kt, kf, activation):
"""
in_channels: number of input channels
num_layers: number of densely connected conv layers
gr: growt... | 33.133106 | 106 | 0.544293 | 1,302 | 9,708 | 3.865591 | 0.085253 | 0.05762 | 0.014306 | 0.013908 | 0.782635 | 0.757004 | 0.73336 | 0.709319 | 0.684085 | 0.648718 | 0 | 0.013754 | 0.340956 | 9,708 | 292 | 107 | 33.246575 | 0.772898 | 0.281211 | 0 | 0.418301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 1 | 0.091503 | false | 0 | 0.013072 | 0.013072 | 0.196078 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
228c77df7dcc541294fe6003162dbf0c5ef8b281 | 346 | py | Python | api/tests/python/end_points/test_first_vowels.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | 4 | 2018-10-05T23:41:05.000Z | 2019-06-19T16:17:50.000Z | api/tests/python/end_points/test_first_vowels.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | 635 | 2018-05-31T04:12:46.000Z | 2022-03-31T18:45:42.000Z | api/tests/python/end_points/test_first_vowels.py | rarmitag/namex | 1b308bf96130619d4a61d44e075cc7ab177dc6cd | [
"Apache-2.0"
] | 71 | 2018-05-14T20:47:55.000Z | 2022-03-31T23:08:30.000Z | from hamcrest import *
from namex.analytics.phonetic import first_vowels
def test_can_extract_o():
assert_that(first_vowels('GOLDSTREAM'), equal_to('O'))
def test_can_extract_ou():
assert_that(first_vowels('CLOUDSIDE'), equal_to('OU'))
def test_resists_no_vowel():
assert_that(first_vowels... | 21.625 | 59 | 0.713873 | 48 | 346 | 4.75 | 0.5 | 0.192982 | 0.197368 | 0.276316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156069 | 346 | 15 | 60 | 23.066667 | 0.780822 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | true | 0 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
22b615b8b1e2132d9be635a373db9e9561d23095 | 100 | py | Python | robots/robot2/config.py | memristor/mep2 | bc5cddacba3d740f791f3454b8cb51bda83ce202 | [
"MIT"
] | 5 | 2018-11-27T15:15:00.000Z | 2022-02-10T21:44:13.000Z | robots/robot2/config.py | memristor/mep2 | bc5cddacba3d740f791f3454b8cb51bda83ce202 | [
"MIT"
] | 2 | 2018-10-20T15:48:40.000Z | 2018-11-20T05:11:33.000Z | robots/robot2/config.py | memristor/mep2 | bc5cddacba3d740f791f3454b8cb51bda83ce202 | [
"MIT"
] | 1 | 2020-02-07T12:44:47.000Z | 2020-02-07T12:44:47.000Z | from modules.default_config import motion, collision_wait_suspend, pathfind
motion.can.iface='can1'
| 33.333333 | 75 | 0.85 | 14 | 100 | 5.857143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.07 | 100 | 2 | 76 | 50 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
22bdb1881643032b6fd02b088b3eaea91461ea33 | 654 | py | Python | tests/easy/query/test_util.py | lifeomic/phc-sdk-py | 51709c1c2f129a3fbe336a44e4d501ae0249859e | [
"MIT"
] | 1 | 2020-07-22T12:46:58.000Z | 2020-07-22T12:46:58.000Z | tests/easy/query/test_util.py | lifeomic/phc-sdk-py | 51709c1c2f129a3fbe336a44e4d501ae0249859e | [
"MIT"
] | 54 | 2019-10-09T16:19:04.000Z | 2022-01-19T20:28:59.000Z | tests/easy/query/test_util.py | lifeomic/phc-sdk-py | 51709c1c2f129a3fbe336a44e4d501ae0249859e | [
"MIT"
] | 2 | 2019-10-30T19:54:43.000Z | 2020-12-03T18:57:15.000Z | from phc.easy.query.util import flat_map_pipe
def test_flat_map_pipe_with_list():
def plus_one(x):
return x + 1
def duplicate_and_plus_one(x):
return [x + 1, x + 1]
def duplicate_and_plus_two(x):
return [x + 2, x + 2]
value = flat_map_pipe(
[1, 2, 3], plus_one, dupli... | 21.096774 | 75 | 0.607034 | 114 | 654 | 3.166667 | 0.245614 | 0.155125 | 0.265928 | 0.155125 | 0.722992 | 0.484765 | 0.288089 | 0.288089 | 0.288089 | 0.288089 | 0 | 0.054968 | 0.276758 | 654 | 30 | 76 | 21.8 | 0.708245 | 0 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.368421 | false | 0 | 0.052632 | 0.263158 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
22d254097039b048101792f94bc244b9773ccdd5 | 85 | py | Python | my_test.py | santhosh7403/test-proj | 81e790e2623ce80a395b7bf3759bfb16cad5a445 | [
"MIT"
] | null | null | null | my_test.py | santhosh7403/test-proj | 81e790e2623ce80a395b7bf3759bfb16cad5a445 | [
"MIT"
] | null | null | null | my_test.py | santhosh7403/test-proj | 81e790e2623ce80a395b7bf3759bfb16cad5a445 | [
"MIT"
] | null | null | null | """
module docstring for pylint
"""
print("Hello")
print("new line to test")
| 9.444444 | 32 | 0.611765 | 11 | 85 | 4.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223529 | 85 | 8 | 33 | 10.625 | 0.787879 | 0.329412 | 0 | 0 | 0 | 0 | 0.477273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
22e6ddd8a4427ef84379ae7d03d41c0b3fcaf8e8 | 113 | py | Python | src/west/__init__.py | nashif/west | 2673e8ca87bbacf7b8111f683916bb1f4cc48ffa | [
"Apache-2.0"
] | 16 | 2019-10-26T17:09:18.000Z | 2022-02-21T12:15:32.000Z | src/west/__init__.py | nashif/west | 2673e8ca87bbacf7b8111f683916bb1f4cc48ffa | [
"Apache-2.0"
] | 44 | 2016-12-08T21:36:34.000Z | 2017-10-08T23:29:39.000Z | src/west/__init__.py | nashif/west | 2673e8ca87bbacf7b8111f683916bb1f4cc48ffa | [
"Apache-2.0"
] | 8 | 2016-12-08T21:27:13.000Z | 2017-04-13T21:26:04.000Z | # Copyright 2018 Open Source Foundries Limited.
#
# SPDX-License-Identifier: Apache-2.0
# Nothing here for now.
| 18.833333 | 47 | 0.752212 | 16 | 113 | 5.3125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.150442 | 113 | 5 | 48 | 22.6 | 0.822917 | 0.911504 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a3c34a92364776755de95cfa87d5ed08887aa342 | 215 | py | Python | opendatatools/fund/__init__.py | solider245/OpenData | 031aa29b7b6b26a903f378e3da10520fd3a1b7ab | [
"Apache-2.0"
] | 1,179 | 2018-05-28T07:14:41.000Z | 2022-03-27T16:03:51.000Z | opendatatools/fund/__init__.py | taoyeah/OpenData | 031aa29b7b6b26a903f378e3da10520fd3a1b7ab | [
"Apache-2.0"
] | 42 | 2018-07-05T02:44:56.000Z | 2022-03-29T12:12:30.000Z | opendatatools/fund/__init__.py | taoyeah/OpenData | 031aa29b7b6b26a903f378e3da10520fd3a1b7ab | [
"Apache-2.0"
] | 297 | 2018-05-28T07:39:38.000Z | 2022-03-28T02:35:59.000Z | # encoding: utf-8
from .fund_interface import *
__all__ = ['get_fund_list',
'get_fund_company', 'get_fundlist_by_company',
'get_fund_type', 'get_fundlist_by_type',
'get_fund_nav']
| 23.888889 | 57 | 0.651163 | 28 | 215 | 4.321429 | 0.535714 | 0.231405 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.232558 | 215 | 8 | 58 | 26.875 | 0.727273 | 0.069767 | 0 | 0 | 0 | 0 | 0.489899 | 0.116162 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a3e846ccb424bdc1e7198e9923b14a3d9faf8f7b | 3,373 | py | Python | lpqtree/lpqpydist.py | skoudoro/lpqtree | 8a7ecc9f4c661261249160bdaa6e61e46b3e7ba9 | [
"BSD-2-Clause"
] | null | null | null | lpqtree/lpqpydist.py | skoudoro/lpqtree | 8a7ecc9f4c661261249160bdaa6e61e46b3e7ba9 | [
"BSD-2-Clause"
] | null | null | null | lpqtree/lpqpydist.py | skoudoro/lpqtree | 8a7ecc9f4c661261249160bdaa6e61e46b3e7ba9 | [
"BSD-2-Clause"
] | null | null | null | # Etienne St-Onge
import numpy as np
# Vector norm operator
def l1(vts, axis=-1, keepdims=False):
return np.sum(np.abs(vts), axis=axis, keepdims=keepdims)
def l2(vts, axis=-1, keepdims=False):
return np.sqrt(np.sum(np.square(vts), axis=axis, keepdims=keepdims))
def lp(vts, p, axis=-1, keepdims=False):
... | 23.753521 | 100 | 0.585829 | 579 | 3,373 | 3.378238 | 0.150259 | 0.069018 | 0.179448 | 0.248466 | 0.562883 | 0.523517 | 0.451431 | 0.421779 | 0.392127 | 0.374744 | 0 | 0.049724 | 0.24874 | 3,373 | 141 | 101 | 23.921986 | 0.722178 | 0.103172 | 0 | 0.22619 | 0 | 0 | 0.002326 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 1 | 0.22619 | false | 0 | 0.011905 | 0.130952 | 0.595238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
430085da8d84ae2711239abf143bcc5f58f1fb46 | 86 | py | Python | Python/3dprinter/3dprinter.py | rvrheenen/OpenKattis | 7fd59fcb54e86cdf10f56c580c218c62e584f391 | [
"MIT"
] | 12 | 2016-10-03T20:43:43.000Z | 2021-06-12T17:18:42.000Z | Python/3dprinter/3dprinter.py | rvrheenen/OpenKattis | 7fd59fcb54e86cdf10f56c580c218c62e584f391 | [
"MIT"
] | null | null | null | Python/3dprinter/3dprinter.py | rvrheenen/OpenKattis | 7fd59fcb54e86cdf10f56c580c218c62e584f391 | [
"MIT"
] | 10 | 2017-11-14T19:56:37.000Z | 2021-02-02T07:39:57.000Z | print((lambda x: (1<<(x-1).bit_length()).bit_length() if x > 2 else x)(int(input())))
| 43 | 85 | 0.604651 | 17 | 86 | 2.941176 | 0.647059 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.104651 | 86 | 1 | 86 | 86 | 0.61039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
430b5e4f82043d8c9eeffedd399e61242daf7144 | 112 | py | Python | run.py | KhomenkoAnna/attr_lingvo | c1eafb8ae6214acc9b3d662117f2a25106a99fef | [
"MIT"
] | null | null | null | run.py | KhomenkoAnna/attr_lingvo | c1eafb8ae6214acc9b3d662117f2a25106a99fef | [
"MIT"
] | 7 | 2020-07-21T01:39:18.000Z | 2022-02-19T03:25:01.000Z | run.py | KhomenkoAnna/attr_lingvo | c1eafb8ae6214acc9b3d662117f2a25106a99fef | [
"MIT"
] | 1 | 2020-10-27T10:11:25.000Z | 2020-10-27T10:11:25.000Z | from app import app
app.run(host="127.0.0.1", port=5000)
# To Run:
# python run.py
# or
# python -m flask run
| 12.444444 | 36 | 0.651786 | 23 | 112 | 3.173913 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 0.1875 | 112 | 8 | 37 | 14 | 0.692308 | 0.392857 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
43147cb9c05fa8b0325ba3b14369527cb89e20fa | 195 | py | Python | src/enums/__init__.py | BoaVaga/boavaga_server | 7d25a68832d3b9f4f5666d0a3d55c99025498511 | [
"MIT"
] | null | null | null | src/enums/__init__.py | BoaVaga/boavaga_server | 7d25a68832d3b9f4f5666d0a3d55c99025498511 | [
"MIT"
] | null | null | null | src/enums/__init__.py | BoaVaga/boavaga_server | 7d25a68832d3b9f4f5666d0a3d55c99025498511 | [
"MIT"
] | null | null | null | from src.enums.upload_status import UploadStatus
from src.enums.estados_enum import EstadosEnum
from src.enums.user_type import UserType
GRAPHQL_SCHEMA_ENUMS = (
EstadosEnum,
UserType
)
| 21.666667 | 48 | 0.810256 | 26 | 195 | 5.884615 | 0.576923 | 0.137255 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 195 | 8 | 49 | 24.375 | 0.910714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
43478f8b97937ff86fb978a11ddb7db2a20a9e1c | 215 | py | Python | Problems/Palindromic String/palstr.py | jamtot/HackerEarth | 71b919920dbc5b3af3fc49920939bab418455fb6 | [
"MIT"
] | 3 | 2018-07-17T09:03:02.000Z | 2020-05-11T18:03:25.000Z | Problems/Palindromic String/palstr.py | jamtot/HackerEarth | 71b919920dbc5b3af3fc49920939bab418455fb6 | [
"MIT"
] | null | null | null | Problems/Palindromic String/palstr.py | jamtot/HackerEarth | 71b919920dbc5b3af3fc49920939bab418455fb6 | [
"MIT"
] | 2 | 2016-06-01T13:16:27.000Z | 2018-09-25T08:32:24.000Z | def palindromic(string):
halflen=len(string)/2
if string[:halflen]==string[-halflen:][::-1]:
return "YES"
else:
return "NO"
if __name__ == "__main__":
print palindromic(raw_input())
| 21.5 | 49 | 0.604651 | 25 | 215 | 4.84 | 0.68 | 0.322314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.227907 | 215 | 9 | 50 | 23.888889 | 0.716867 | 0 | 0 | 0 | 0 | 0 | 0.060465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4a34148f947225561be1c4b2338fd483aaefcb50 | 795 | py | Python | scrapinsta/domain/providers/IWebdriver.py | matheuskolln/scrapinsta | 47ec816f33a36e8570d4c56f921ba18a2d12a306 | [
"MIT"
] | 1 | 2021-09-05T05:37:22.000Z | 2021-09-05T05:37:22.000Z | scrapinsta/domain/providers/IWebdriver.py | matheuskolln/scrapinsta | 47ec816f33a36e8570d4c56f921ba18a2d12a306 | [
"MIT"
] | 13 | 2020-11-06T17:43:46.000Z | 2021-09-05T00:13:02.000Z | scrapinsta/domain/providers/IWebdriver.py | matheuskolln/scrapinsta | 47ec816f33a36e8570d4c56f921ba18a2d12a306 | [
"MIT"
] | 2 | 2020-11-09T20:39:57.000Z | 2021-09-05T01:37:29.000Z | from abc import ABC, abstractmethod
from typing import Optional
from selenium.webdriver.remote.webelement import WebElement
class IWebdriver(ABC):
"""Abstract class for webdriver."""
@property
@abstractmethod
def client(self) -> Optional[object]:
pass
@abstractmethod
def __init__(se... | 20.921053 | 67 | 0.649057 | 85 | 795 | 5.976471 | 0.435294 | 0.234252 | 0.248032 | 0.147638 | 0.110236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257862 | 795 | 37 | 68 | 21.486486 | 0.861017 | 0.036478 | 0 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0.269231 | 0.115385 | 0 | 0.423077 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4a4143edcef7c1eab365fff8a958c5f59a102291 | 3,262 | py | Python | tests/test_fuse.py | mlzxy/qsparse | d236bed4afe68c6dec959d38826e8b3b3b8774b4 | [
"MIT"
] | 25 | 2021-11-01T14:13:27.000Z | 2022-03-08T11:41:50.000Z | tests/test_fuse.py | mlzxy/qsparse | d236bed4afe68c6dec959d38826e8b3b3b8774b4 | [
"MIT"
] | null | null | null | tests/test_fuse.py | mlzxy/qsparse | d236bed4afe68c6dec959d38826e8b3b3b8774b4 | [
"MIT"
] | 2 | 2021-12-16T20:58:16.000Z | 2021-12-19T03:31:48.000Z | import torch
import torch.nn as nn
from qsparse import fuse_bn
def test_conv2d():
net = nn.Sequential(nn.Conv2d(3, 10, 3), nn.BatchNorm2d(10))
net.train()
inputs = torch.randn(10, 3, 32, 32)
nn.init.uniform_(list(net.children())[1].weight)
nn.init.uniform_(list(net.children())[1].bias)
net(in... | 29.926606 | 86 | 0.649295 | 493 | 3,262 | 4.20284 | 0.109533 | 0.052124 | 0.112934 | 0.131274 | 0.801641 | 0.783301 | 0.776062 | 0.648649 | 0.631274 | 0.631274 | 0 | 0.058824 | 0.18179 | 3,262 | 108 | 87 | 30.203704 | 0.717497 | 0 | 0 | 0.571429 | 0 | 0 | 0.013795 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 1 | 0.054945 | false | 0 | 0.032967 | 0 | 0.087912 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4a540ba05da1ca53683ac95f226be539a556efb1 | 254 | py | Python | tests/unittests/http_functions/async_return_str/main.py | gohar94/azure-functions-python-worker | 4322e53ddbcc1eea40c1b061b42653336d9003f6 | [
"MIT"
] | 277 | 2018-01-25T23:13:03.000Z | 2022-02-22T06:12:04.000Z | tests/unittests/http_functions/async_return_str/main.py | gohar94/azure-functions-python-worker | 4322e53ddbcc1eea40c1b061b42653336d9003f6 | [
"MIT"
] | 731 | 2018-01-18T18:54:38.000Z | 2022-03-29T00:01:46.000Z | tests/unittests/http_functions/async_return_str/main.py | YunchuWang/azure-functions-python-worker | 1f23e038a506c6412e4efbf07eb471a6afab0c2a | [
"MIT"
] | 109 | 2018-01-18T02:22:57.000Z | 2022-02-15T18:59:54.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import asyncio
import azure.functions
async def main(req: azure.functions.HttpRequest, context):
await asyncio.sleep(0.1)
return 'Hello Async World!'
| 25.4 | 59 | 0.759843 | 34 | 254 | 5.676471 | 0.852941 | 0.145078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009302 | 0.153543 | 254 | 9 | 60 | 28.222222 | 0.888372 | 0.350394 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4a570793d2cc81269969ad28d19ef77d5fb0f627 | 85 | py | Python | race/admin.py | scottBowles/dnd | a1ef333f1a865d51b5426dc4b3493e8437584565 | [
"MIT"
] | null | null | null | race/admin.py | scottBowles/dnd | a1ef333f1a865d51b5426dc4b3493e8437584565 | [
"MIT"
] | null | null | null | race/admin.py | scottBowles/dnd | a1ef333f1a865d51b5426dc4b3493e8437584565 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Race
admin.site.register(Race)
| 17 | 32 | 0.811765 | 13 | 85 | 5.307692 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 85 | 4 | 33 | 21.25 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
434bf057f7f7dbdabae462cb478f6bf782e98886 | 409 | py | Python | games/stumped/__init__.py | Ragnyll/mmai-19 | a78ce9380cf1555d1b1e53c60ea7469939523019 | [
"MIT"
] | 1 | 2017-04-12T22:02:14.000Z | 2017-04-12T22:02:14.000Z | games/stumped/__init__.py | Ragnyll/mmai-19 | a78ce9380cf1555d1b1e53c60ea7469939523019 | [
"MIT"
] | null | null | null | games/stumped/__init__.py | Ragnyll/mmai-19 | a78ce9380cf1555d1b1e53c60ea7469939523019 | [
"MIT"
] | null | null | null | # DO NOT MODIFY THESE IMPORTS
from games.stumped.ai import AI
from games.stumped.game import Game
from games.stumped.beaver import Beaver
from games.stumped.game_object import GameObject
from games.stumped.job import Job
from games.stumped.player import Player
from games.stumped.spawner import Spawner
from games.stumpe... | 34.083333 | 68 | 0.826406 | 67 | 409 | 5.029851 | 0.447761 | 0.21365 | 0.379822 | 0.118694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129584 | 409 | 11 | 69 | 37.181818 | 0.946629 | 0.229829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
43565057eed0b13344924898c8c1102ed07f4146 | 162 | py | Python | zipline/pipeline/loaders/__init__.py | leonarduschen/zipline | 5e6c9fce7e0f812bd181024ad192ca2976d49667 | [
"Apache-2.0"
] | 14,525 | 2015-01-01T02:57:52.000Z | 2022-03-31T18:16:35.000Z | zipline/pipeline/loaders/__init__.py | leonarduschen/zipline | 5e6c9fce7e0f812bd181024ad192ca2976d49667 | [
"Apache-2.0"
] | 2,146 | 2015-01-01T13:03:44.000Z | 2022-02-22T03:25:28.000Z | zipline/pipeline/loaders/__init__.py | leonarduschen/zipline | 5e6c9fce7e0f812bd181024ad192ca2976d49667 | [
"Apache-2.0"
] | 4,517 | 2015-01-01T14:26:47.000Z | 2022-03-31T14:38:05.000Z | from .equity_pricing_loader import (
EquityPricingLoader,
USEquityPricingLoader,
)
__all__ = [
'EquityPricingLoader',
'USEquityPricingLoader',
]
| 16.2 | 36 | 0.728395 | 10 | 162 | 11.2 | 0.8 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 162 | 9 | 37 | 18 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.246914 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
436cecff5aac09206eee1fa9a0c74ea3a5ba0392 | 122 | py | Python | math2/physics/consts.py | AussieSeaweed/math2 | 9e83fa8a5a5d227d72fec1b08f6759f0f0f41fca | [
"MIT"
] | 2 | 2021-03-29T03:15:57.000Z | 2021-03-29T03:23:21.000Z | math2/physics/consts.py | AussieSeaweed/math2 | 9e83fa8a5a5d227d72fec1b08f6759f0f0f41fca | [
"MIT"
] | 1 | 2021-04-07T11:07:17.000Z | 2021-04-07T11:07:17.000Z | math2/physics/consts.py | AussieSeaweed/math2 | 9e83fa8a5a5d227d72fec1b08f6759f0f0f41fca | [
"MIT"
] | null | null | null | boltzmann = 1.380649e-23
ideal_gas = 8.31446261815324
mole = 6.02214076e23
coulomb = 8.9875517923e9
e0 = 8.8541878128e-12
| 20.333333 | 28 | 0.778689 | 18 | 122 | 5.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.570093 | 0.122951 | 122 | 5 | 29 | 24.4 | 0.308411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
4384378ab8a4c0d87213d3db007a7a876b2bc471 | 112 | py | Python | docker-images/rasa2/snips_services/__init__.py | sanyaade-machine-learning/opensnips_original | 3c7d4aa2ef7dec7b0b8c532a537b79c3ef9df7cc | [
"MIT"
] | 57 | 2017-12-28T22:50:20.000Z | 2022-01-25T16:05:36.000Z | docker-images/rasa2/snips_services/__init__.py | sanyaade-machine-learning/opensnips_original | 3c7d4aa2ef7dec7b0b8c532a537b79c3ef9df7cc | [
"MIT"
] | 28 | 2018-04-18T06:45:20.000Z | 2022-03-08T22:50:50.000Z | docker-images/rasa2/snips_services/__init__.py | sanyaade-machine-learning/opensnips_original | 3c7d4aa2ef7dec7b0b8c532a537b79c3ef9df7cc | [
"MIT"
] | 18 | 2017-12-27T01:57:14.000Z | 2021-03-02T14:13:06.000Z | # -*-: coding utf-8 -*-
""" snipsskillscore module """
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
| 14 | 31 | 0.660714 | 13 | 112 | 5.692308 | 0.692308 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.133929 | 112 | 7 | 32 | 16 | 0.742268 | 0.410714 | 0 | 0 | 0 | 0 | 0.084746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
43a295778e113cf0180b15a930d44a5e37996100 | 5,607 | py | Python | src/tests/orga/views/test_orga_views_dashboard.py | chriswolfdesign/pretalx | fb6bcf090a5c92e55a79851d60dfc716309da557 | [
"Apache-2.0"
] | null | null | null | src/tests/orga/views/test_orga_views_dashboard.py | chriswolfdesign/pretalx | fb6bcf090a5c92e55a79851d60dfc716309da557 | [
"Apache-2.0"
] | null | null | null | src/tests/orga/views/test_orga_views_dashboard.py | chriswolfdesign/pretalx | fb6bcf090a5c92e55a79851d60dfc716309da557 | [
"Apache-2.0"
] | null | null | null | import datetime as dt
import pytest
from django.urls import reverse
from django.utils.timezone import now
from django_scopes import scope
@pytest.mark.parametrize("test_user", ("orga", "speaker", "superuser", "None"))
@pytest.mark.parametrize("query", ("", "?q=e"))
@pytest.mark.django_db
def test_dashboard_event_lis... | 36.174194 | 87 | 0.680221 | 716 | 5,607 | 5.125698 | 0.145251 | 0.056676 | 0.125886 | 0.100272 | 0.785831 | 0.766485 | 0.765123 | 0.735695 | 0.7 | 0.683106 | 0 | 0.010069 | 0.202961 | 5,607 | 154 | 88 | 36.409091 | 0.811143 | 0 | 0 | 0.664179 | 0 | 0 | 0.066346 | 0.004459 | 0 | 0 | 0 | 0 | 0.231343 | 1 | 0.044776 | false | 0 | 0.044776 | 0 | 0.089552 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
43bf85f1f0c740fc91aae0582f625931da112c29 | 6,731 | py | Python | apps/api/openapi_server/test/integration/_test_organization_controller.py | rrchai/challenge-registry | 6dcba8f10575820776300a1bcdcfbe924d0cf78a | [
"Apache-2.0"
] | 1 | 2022-03-07T13:26:07.000Z | 2022-03-07T13:26:07.000Z | apps/api/openapi_server/test/integration/_test_organization_controller.py | rrchai/challenge-registry | 6dcba8f10575820776300a1bcdcfbe924d0cf78a | [
"Apache-2.0"
] | 157 | 2021-06-16T20:45:10.000Z | 2022-03-05T00:16:06.000Z | apps/api/openapi_server/test/integration/_test_organization_controller.py | rrchai/challenge-registry | 6dcba8f10575820776300a1bcdcfbe924d0cf78a | [
"Apache-2.0"
] | 6 | 2022-02-13T04:26:07.000Z | 2022-03-16T14:46:26.000Z | # coding: utf-8
from __future__ import absolute_import
import unittest
from flask import json
from openapi_server.dbmodels.organization import Organization as DbOrganization # noqa: E501
from openapi_server.test.integration import BaseTestCase
from openapi_server.test.integration import util
ID_QUERY = [("organiz... | 29.783186 | 93 | 0.579557 | 651 | 6,731 | 5.823349 | 0.179724 | 0.011606 | 0.031654 | 0.039567 | 0.793722 | 0.775257 | 0.738591 | 0.729095 | 0.685835 | 0.616988 | 0 | 0.025991 | 0.314069 | 6,731 | 225 | 94 | 29.915556 | 0.795105 | 0.134155 | 0 | 0.616352 | 0 | 0 | 0.222044 | 0.105752 | 0 | 0 | 0 | 0.008889 | 0.062893 | 1 | 0.075472 | false | 0 | 0.037736 | 0 | 0.119497 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
43cb0de8975ecc5b9798976e6270975a96e19941 | 286 | py | Python | transactions.py | diop/Toshitext | 5c2b36d12c6313c836230bf339c07bc7d9c19c59 | [
"MIT"
] | 1 | 2019-03-19T21:43:00.000Z | 2019-03-19T21:43:00.000Z | transactions.py | diop/Toshitext | 5c2b36d12c6313c836230bf339c07bc7d9c19c59 | [
"MIT"
] | null | null | null | transactions.py | diop/Toshitext | 5c2b36d12c6313c836230bf339c07bc7d9c19c59 | [
"MIT"
] | null | null | null | from blockcypher import simple_spend
import requests, json
from_privkey =
to_address =
to_satoshis =
simple_spend(from_privkey='97838249d77bfa65f97be02b63fd1b7bb6a58474c7c22784a0da63993d1c2f90', to_address='C1rGdt7QEPGiwPMFhNKNhHmyoWpa5X92pn', to_satoshis=10000, coin_symbol='bcy') | 35.75 | 180 | 0.86014 | 28 | 286 | 8.464286 | 0.607143 | 0.092827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196226 | 0.073427 | 286 | 8 | 180 | 35.75 | 0.698113 | 0 | 0 | 0 | 0 | 0 | 0.351916 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
43d6a782f87e84f89d96bba094e2db1f5558711f | 160 | py | Python | src/amq/random_helper.py | aquadrop/memory | 0f96720abc5cfaddc47c7b461cfd12b2e6cbd9c2 | [
"MIT"
] | 2 | 2017-10-25T15:17:15.000Z | 2017-12-05T01:31:51.000Z | src/amq/random_helper.py | aquadrop/memory | 0f96720abc5cfaddc47c7b461cfd12b2e6cbd9c2 | [
"MIT"
] | null | null | null | src/amq/random_helper.py | aquadrop/memory | 0f96720abc5cfaddc47c7b461cfd12b2e6cbd9c2 | [
"MIT"
] | 2 | 2017-10-30T07:29:06.000Z | 2017-12-05T05:50:53.000Z | import random
seed = "1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
def random_string(num=16):
return ''.join(random.sample(seed, num))
| 22.857143 | 71 | 0.8 | 15 | 160 | 8.466667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.1 | 160 | 6 | 72 | 26.666667 | 0.798611 | 0 | 0 | 0 | 0 | 0 | 0.3875 | 0.3875 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
78e9c516321d0891efee98ac017e0f08444d6464 | 97 | py | Python | yawlib/yawol/django/apps.py | letuananh/yawlib | 01cac5ec1eda82d131f00431391594dd52ba1a98 | [
"MIT"
] | 1 | 2018-10-18T15:42:02.000Z | 2018-10-18T15:42:02.000Z | yawlib/yawol/django/apps.py | letuananh/yawlib | 01cac5ec1eda82d131f00431391594dd52ba1a98 | [
"MIT"
] | 3 | 2017-01-10T03:39:14.000Z | 2021-07-05T07:41:40.000Z | yawlib/yawol/django/apps.py | letuananh/yawlib | 01cac5ec1eda82d131f00431391594dd52ba1a98 | [
"MIT"
] | 1 | 2017-07-16T08:30:45.000Z | 2017-07-16T08:30:45.000Z | from django.apps import AppConfig
class YawoldjangoConfig(AppConfig):
name = 'yawoldjango'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
603b6bd7993a1cdcc836d48b5038d5edc1f6ca53 | 237 | py | Python | tools/reports/__init__.py | limazix/cps863-machine-learning | 1c53d07e7f9f5e4a48e90c7c4c9006e4f2a8c6b7 | [
"Apache-2.0"
] | null | null | null | tools/reports/__init__.py | limazix/cps863-machine-learning | 1c53d07e7f9f5e4a48e90c7c4c9006e4f2a8c6b7 | [
"Apache-2.0"
] | null | null | null | tools/reports/__init__.py | limazix/cps863-machine-learning | 1c53d07e7f9f5e4a48e90c7c4c9006e4f2a8c6b7 | [
"Apache-2.0"
] | 1 | 2021-04-09T14:58:52.000Z | 2021-04-09T14:58:52.000Z | """
:mod: `reports` -- Report Wrapper
=================================
.. module:: reports
:synopsis: Report building tools
:platform: OpenSuse 15.2 on WSL2 (Windows 10)
.. moduleauthor:: Bruno Lima <blcardoso@cos.ufrj.br>
"""
| 23.7 | 52 | 0.57384 | 25 | 237 | 5.44 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.151899 | 237 | 9 | 53 | 26.333333 | 0.646766 | 0.962025 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
606154a71ddc4cb0e8be3d054be80265667d122b | 75 | py | Python | audiomate/formats/__init__.py | CostanzoPablo/audiomate | 080402eadaa81f77f64c8680510a2de64bc18e74 | [
"MIT"
] | 133 | 2018-05-18T13:54:10.000Z | 2022-02-15T02:14:20.000Z | audiomate/formats/__init__.py | CostanzoPablo/audiomate | 080402eadaa81f77f64c8680510a2de64bc18e74 | [
"MIT"
] | 68 | 2018-06-03T16:42:09.000Z | 2021-01-29T10:58:30.000Z | audiomate/formats/__init__.py | CostanzoPablo/audiomate | 080402eadaa81f77f64c8680510a2de64bc18e74 | [
"MIT"
] | 37 | 2018-11-02T02:40:29.000Z | 2021-11-30T07:44:50.000Z | """ This module contains code for working with different file formats. """
| 37.5 | 74 | 0.746667 | 10 | 75 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 1 | 75 | 75 | 0.888889 | 0.88 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
60621675f3c37375b8388a5c29b106ab0a56e08c | 111 | py | Python | vendor/HoeffdingTree/ht/weightmass.py | writ3it/HD_Netezza_in-database_prediction | 9a89d4618e93ff2cf3b1c16660522c56aae27373 | [
"MIT"
] | null | null | null | vendor/HoeffdingTree/ht/weightmass.py | writ3it/HD_Netezza_in-database_prediction | 9a89d4618e93ff2cf3b1c16660522c56aae27373 | [
"MIT"
] | null | null | null | vendor/HoeffdingTree/ht/weightmass.py | writ3it/HD_Netezza_in-database_prediction | 9a89d4618e93ff2cf3b1c16660522c56aae27373 | [
"MIT"
] | 1 | 2019-09-03T03:11:09.000Z | 2019-09-03T03:11:09.000Z | class WeightMass(object):
"""Wrapper for a weight value."""
def __init__(self):
self.weight = 0 | 27.75 | 37 | 0.621622 | 14 | 111 | 4.642857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.243243 | 111 | 4 | 38 | 27.75 | 0.761905 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
60d01ff47ef5a6ac0578c1944e00df951e9e7901 | 107 | py | Python | rockwell/HackathonProject/apps.py | Xiangyongluo/Hackathon-Project | 815eb9b4e1ea9d41d4ddc90e204bbe919b8bc2ba | [
"Apache-2.0"
] | null | null | null | rockwell/HackathonProject/apps.py | Xiangyongluo/Hackathon-Project | 815eb9b4e1ea9d41d4ddc90e204bbe919b8bc2ba | [
"Apache-2.0"
] | 1 | 2021-12-04T04:35:52.000Z | 2021-12-04T04:35:52.000Z | rockwell/HackathonProject/apps.py | Xiangyongluo/Hackathon-Project | 815eb9b4e1ea9d41d4ddc90e204bbe919b8bc2ba | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class HackathonprojectConfig(AppConfig):
name = 'HackathonProject'
| 17.833333 | 40 | 0.794393 | 10 | 107 | 8.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 5 | 41 | 21.4 | 0.923913 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
60ebfd39cd9d015849942034592604a20b89a3c8 | 35 | py | Python | PCTC/Sample R1/Q3.py | object-oriented-human/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | 1 | 2022-02-21T15:43:01.000Z | 2022-02-21T15:43:01.000Z | PCTC/Sample R1/Q3.py | foooop/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | null | null | null | PCTC/Sample R1/Q3.py | foooop/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | null | null | null | s = input()
print((30//len(s)+1)*s) | 17.5 | 23 | 0.542857 | 8 | 35 | 2.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.085714 | 35 | 2 | 23 | 17.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
881432207f8f83a5e747a6429232537134d3cb42 | 2,420 | py | Python | examples/simultaneous_translation/eval/agents/word_splitter.py | tmtmaj/Exploiting-PrLM-for-NLG-tasks | e8752593d3ee881cf9c0fb5ed26d26fcb02e6dd5 | [
"MIT"
] | null | null | null | examples/simultaneous_translation/eval/agents/word_splitter.py | tmtmaj/Exploiting-PrLM-for-NLG-tasks | e8752593d3ee881cf9c0fb5ed26d26fcb02e6dd5 | [
"MIT"
] | null | null | null | examples/simultaneous_translation/eval/agents/word_splitter.py | tmtmaj/Exploiting-PrLM-for-NLG-tasks | e8752593d3ee881cf9c0fb5ed26d26fcb02e6dd5 | [
"MIT"
] | null | null | null | # Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
class SubwordSplitter(object):
def process_line(self, string):
raise NotImplementedError
def split(self, string):
... | 26.888889 | 88 | 0.615702 | 293 | 2,420 | 4.866894 | 0.324232 | 0.056802 | 0.050491 | 0.050491 | 0.437588 | 0.352735 | 0.321879 | 0.234923 | 0.186536 | 0.186536 | 0 | 0.008711 | 0.28843 | 2,420 | 89 | 89 | 27.191011 | 0.819396 | 0.096281 | 0 | 0.526316 | 0 | 0 | 0.015311 | 0 | 0 | 0 | 0 | 0.011236 | 0 | 1 | 0.298246 | false | 0.017544 | 0.035088 | 0.175439 | 0.649123 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7163584bf87eb06a15bad68beab4a31d0e55173f | 118 | py | Python | TCC/addon-move.py | andredalton/bcc | 188190e436615e2344d87b722856fa02e6eec9cc | [
"Apache-2.0"
] | 1 | 2018-08-02T14:09:26.000Z | 2018-08-02T14:09:26.000Z | TCC/addon-move.py | andredalton/bcc | 188190e436615e2344d87b722856fa02e6eec9cc | [
"Apache-2.0"
] | null | null | null | TCC/addon-move.py | andredalton/bcc | 188190e436615e2344d87b722856fa02e6eec9cc | [
"Apache-2.0"
] | 1 | 2020-07-13T04:27:02.000Z | 2020-07-13T04:27:02.000Z | import bby
class MoveOperator(bby.types.Operator):
bl_idname = "object.move_operator"
bl_label = "Move Operator"
| 19.666667 | 39 | 0.762712 | 16 | 118 | 5.4375 | 0.6875 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 5 | 40 | 23.6 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.279661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7187eec468b4b2ec00f9ad59ef1a541bf05208b1 | 13 | py | Python | data/studio21_generated/introductory/4247/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4247/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4247/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def odd(s):
| 6.5 | 11 | 0.538462 | 3 | 13 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 13 | 2 | 12 | 6.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
718843813d9621ba1794353fb2f580498f365845 | 179 | py | Python | setup.py | dyf/dlist | bcc944b7b18f194f543e4c16c6b33a8688a98937 | [
"MIT"
] | null | null | null | setup.py | dyf/dlist | bcc944b7b18f194f543e4c16c6b33a8688a98937 | [
"MIT"
] | null | null | null | setup.py | dyf/dlist | bcc944b7b18f194f543e4c16c6b33a8688a98937 | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name='dlist',
version='0.1.0',
packages=find_packages('src'),
package_dir={'': 'src'},
license='MIT'
)
| 17.9 | 43 | 0.614525 | 22 | 179 | 4.863636 | 0.727273 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.212291 | 179 | 9 | 44 | 19.888889 | 0.737589 | 0 | 0 | 0 | 0 | 0 | 0.106145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
718efc2d15a6bd7ad29e424236f3ad3057586016 | 106 | py | Python | restaurant/apps/system/blog/apps.py | Frank1963-mpoyi/RUTH-RESTAURANT-BACK-END | b2c657b822295b717e699797a12c3db48f8d3b70 | [
"MIT"
] | null | null | null | restaurant/apps/system/blog/apps.py | Frank1963-mpoyi/RUTH-RESTAURANT-BACK-END | b2c657b822295b717e699797a12c3db48f8d3b70 | [
"MIT"
] | null | null | null | restaurant/apps/system/blog/apps.py | Frank1963-mpoyi/RUTH-RESTAURANT-BACK-END | b2c657b822295b717e699797a12c3db48f8d3b70 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BlogConfig(AppConfig):
name = 'restaurant.apps.system.blog'
| 17.666667 | 40 | 0.764151 | 13 | 106 | 6.230769 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 41 | 21.2 | 0.89011 | 0 | 0 | 0 | 0 | 0 | 0.254717 | 0.254717 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
719bffa135a95e199072fe10b49394178d72d276 | 500 | py | Python | Program.py | SwagataChaudhuri/Mouse-Shaker | a424ecc1ffa65ce0b8a1a5e7ad6dfea17ed1b2aa | [
"Apache-2.0"
] | null | null | null | Program.py | SwagataChaudhuri/Mouse-Shaker | a424ecc1ffa65ce0b8a1a5e7ad6dfea17ed1b2aa | [
"Apache-2.0"
] | null | null | null | Program.py | SwagataChaudhuri/Mouse-Shaker | a424ecc1ffa65ce0b8a1a5e7ad6dfea17ed1b2aa | [
"Apache-2.0"
] | null | null | null | import ctypes
import time
mouse_event = ctypes.windll.user32.mouse_event
MOUSE_EVENT_MOVE = 0x0001
print("Press Ctrl-C to end Mouse Shaker")
try:
while True:
mouse_event(MOUSE_EVENT_MOVE, 25, 0, 0, 0)
time.sleep(240)
mouse_event(MOUSE_EVENT_MOVE, 0, 25, 0, 0)
time.sleep(240)
... | 26.315789 | 51 | 0.66 | 77 | 500 | 4.077922 | 0.337662 | 0.350318 | 0.238854 | 0.318471 | 0.598726 | 0.522293 | 0.522293 | 0.522293 | 0.522293 | 0.522293 | 0 | 0.102362 | 0.238 | 500 | 18 | 52 | 27.777778 | 0.721785 | 0 | 0 | 0.235294 | 0 | 0 | 0.064 | 0 | 0 | 0 | 0.012 | 0 | 0 | 1 | 0 | false | 0.058824 | 0.117647 | 0 | 0.117647 | 0.058824 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
71b761a31eeb871d25432eff783e01a30defbd06 | 2,185 | py | Python | fake_entries.py | bacarpenter/voice-diary | 2b76416e0ee029b39b6b65b645dfae2581fb7ed3 | [
"MIT"
] | null | null | null | fake_entries.py | bacarpenter/voice-diary | 2b76416e0ee029b39b6b65b645dfae2581fb7ed3 | [
"MIT"
] | null | null | null | fake_entries.py | bacarpenter/voice-diary | 2b76416e0ee029b39b6b65b645dfae2581fb7ed3 | [
"MIT"
] | null | null | null | import crypto
import database
database.initialize_connection()
key = crypto.convert_passphrase_to_key("1")
i = int(input("# "))
j = 0
while j < i:
title = crypto.encrypt(f"Title #{j}", key)
text = crypto.encrypt(f"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus id cursus felis. Nunc dolor ... | 136.5625 | 1,909 | 0.800458 | 323 | 2,185 | 5.396285 | 0.448916 | 0.016064 | 0.016064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001618 | 0.151487 | 2,185 | 16 | 1,910 | 136.5625 | 0.938511 | 0 | 0 | 0 | 0 | 0.083333 | 0.86322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
71c852b6ca15a398c64ff8e6b2ac3d2cf1bdeb76 | 22 | py | Python | rrparser/_version.py | brsynth/RRParser | 330604e4a4fa0e4fffb2303d9aa7a48fc149d326 | [
"MIT"
] | 1 | 2022-01-21T15:21:19.000Z | 2022-01-21T15:21:19.000Z | rrparser/_version.py | brsynth/RRParser | 330604e4a4fa0e4fffb2303d9aa7a48fc149d326 | [
"MIT"
] | null | null | null | rrparser/_version.py | brsynth/RRParser | 330604e4a4fa0e4fffb2303d9aa7a48fc149d326 | [
"MIT"
] | null | null | null | __version__ = "2.4.5"
| 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
e093df3a2e3ab5288e9e03a1bf0e986e1fa833ae | 3,497 | py | Python | excursion/testcases/madgraph5atlasval/share/MadGraph_param_card_SingleVectorLQ_U1_DrellYan.py | irinaespejo/excursion | c5a5c6d882b8dd1008fbabf1a3b81eaba382bef6 | [
"Apache-2.0"
] | 2 | 2021-07-09T13:19:06.000Z | 2021-08-20T14:30:20.000Z | excursion/testcases/madgraph5atlasval/share/MadGraph_param_card_SingleVectorLQ_U1_DrellYan.py | irinaespejo/excursion | c5a5c6d882b8dd1008fbabf1a3b81eaba382bef6 | [
"Apache-2.0"
] | null | null | null | excursion/testcases/madgraph5atlasval/share/MadGraph_param_card_SingleVectorLQ_U1_DrellYan.py | irinaespejo/excursion | c5a5c6d882b8dd1008fbabf1a3b81eaba382bef6 | [
"Apache-2.0"
] | 4 | 2020-11-02T10:35:02.000Z | 2022-01-14T18:35:05.000Z | ######################################################################
## PARAM_CARD AUTOMATICALY GENERATED BY MG5 FOLLOWING UFO MODEL ####
######################################################################
## ##
## Width set on Auto will be comput... | 34.97 | 117 | 0.477838 | 471 | 3,497 | 3.515924 | 0.356688 | 0.101449 | 0.050725 | 0.013285 | 0.397343 | 0.397343 | 0.237923 | 0.237923 | 0.237923 | 0.237923 | 0 | 0.207132 | 0.246211 | 3,497 | 99 | 118 | 35.323232 | 0.421093 | 0 | 0 | 0.107143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e094e3306d8f87d9423e34ad7d9ae58f09fd3994 | 268 | py | Python | club/context_processors.py | ujlbu4/vas3k.club | 1ec907cf7e5ae3a74059cde8729ca0b3e2d55a3e | [
"MIT"
] | 2 | 2020-12-31T06:21:54.000Z | 2021-11-15T15:35:45.000Z | club/context_processors.py | ujlbu4/vas3k.club | 1ec907cf7e5ae3a74059cde8729ca0b3e2d55a3e | [
"MIT"
] | null | null | null | club/context_processors.py | ujlbu4/vas3k.club | 1ec907cf7e5ae3a74059cde8729ca0b3e2d55a3e | [
"MIT"
] | null | null | null | from django.conf import settings
from common.data.expertise import EXPERTISE
def settings_processor(request):
return {"settings": settings}
def data_processor(request):
return {
"global_data": {
"expertise": EXPERTISE,
}
}
| 16.75 | 43 | 0.652985 | 27 | 268 | 6.37037 | 0.481481 | 0.151163 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253731 | 268 | 15 | 44 | 17.866667 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
e0a5b0bde44a8262513a8a341012154b9f7b3570 | 88 | py | Python | __init__.py | simran212530/Probability_Gauss_Module | 26525ca72d7d39e9ff3e3f1e7cd62b3760c7d26a | [
"MIT"
] | null | null | null | __init__.py | simran212530/Probability_Gauss_Module | 26525ca72d7d39e9ff3e3f1e7cd62b3760c7d26a | [
"MIT"
] | null | null | null | __init__.py | simran212530/Probability_Gauss_Module | 26525ca72d7d39e9ff3e3f1e7cd62b3760c7d26a | [
"MIT"
] | null | null | null | from .Gaussiandistribution import Gaussian
from .Binomialdistribution import Binomial
| 29.333333 | 43 | 0.863636 | 8 | 88 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 88 | 2 | 44 | 44 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e0ea9fa2beebcf8b1f9a57118be612fbcaa9dbab | 22,037 | py | Python | near_finder/coordinate_routines.py | dbstein/near_finder | af5adf47c328e618c5555f9082752049f27492bd | [
"Apache-2.0"
] | null | null | null | near_finder/coordinate_routines.py | dbstein/near_finder | af5adf47c328e618c5555f9082752049f27492bd | [
"Apache-2.0"
] | null | null | null | near_finder/coordinate_routines.py | dbstein/near_finder | af5adf47c328e618c5555f9082752049f27492bd | [
"Apache-2.0"
] | null | null | null | import numpy as np
import numba
import scipy
import scipy.interpolate
from near_finder.utilities import fourier_derivative_1d
from near_finder.utilities import interp_fourier as _interp
from near_finder.utilities import have_better_fourier
if have_better_fourier:
from near_finder.utilities import interp_fourier2 as... | 28.996053 | 137 | 0.541498 | 3,775 | 22,037 | 3.056954 | 0.086623 | 0.007799 | 0.011265 | 0.008319 | 0.790035 | 0.761352 | 0.721057 | 0.705806 | 0.689341 | 0.664125 | 0 | 0.046355 | 0.303989 | 22,037 | 759 | 138 | 29.034256 | 0.706024 | 0.156873 | 0 | 0.623016 | 0 | 0 | 0.025564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059524 | false | 0 | 0.015873 | 0.007937 | 0.132937 | 0.007937 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e0fcc9e2813b2f179ad23da7b97ede10bd2e217d | 215 | py | Python | playground/module_all_calls.py | pwwang/python-varname | d5eade2698284cf27ae0659b0bab1fcdee833b78 | [
"MIT"
] | 167 | 2020-01-15T17:15:32.000Z | 2022-03-29T18:23:05.000Z | playground/module_all_calls.py | un1tz3r0/python-varname | d5eade2698284cf27ae0659b0bab1fcdee833b78 | [
"MIT"
] | 45 | 2020-02-19T22:55:28.000Z | 2022-03-28T11:43:40.000Z | playground/module_all_calls.py | un1tz3r0/python-varname | d5eade2698284cf27ae0659b0bab1fcdee833b78 | [
"MIT"
] | 16 | 2020-07-26T18:49:46.000Z | 2022-02-23T16:54:39.000Z | import sys
from varname import varname
def func():
# all calls from this module will be ignored
return varname(ignore=sys.modules[__name__])
def func2():
return func()
def func3():
return func2()
| 16.538462 | 48 | 0.693023 | 30 | 215 | 4.833333 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017751 | 0.213953 | 215 | 12 | 49 | 17.916667 | 0.840237 | 0.195349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | true | 0 | 0.25 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
46053e959de95fb7456de6ee50259ada107f8d3a | 157 | py | Python | FusionIIIT/applications/establishment/urls.py | ajwad-shaikh/Fusion | 0274387f5fc6e53cde85267924df8c65d666ea68 | [
"bzip2-1.0.6"
] | 2 | 2020-06-17T11:59:08.000Z | 2020-07-10T12:17:35.000Z | FusionIIIT/applications/establishment/urls.py | ajwad-shaikh/Fusion | 0274387f5fc6e53cde85267924df8c65d666ea68 | [
"bzip2-1.0.6"
] | 19 | 2019-09-08T06:01:14.000Z | 2020-05-21T09:08:20.000Z | FusionIIIT/applications/establishment/urls.py | ajwad-shaikh/Fusion | 0274387f5fc6e53cde85267924df8c65d666ea68 | [
"bzip2-1.0.6"
] | 14 | 2019-08-31T12:25:42.000Z | 2022-01-12T08:05:33.000Z | from django.conf.urls import url
from . import views
app_name = 'establishment'
urlpatterns = [
url(r'^$', views.establishment, name='establishment')
] | 19.625 | 57 | 0.719745 | 19 | 157 | 5.894737 | 0.631579 | 0.303571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146497 | 157 | 8 | 58 | 19.625 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4612dd2b521a4f4ab732729569a2104e8878bd68 | 231 | py | Python | sims/s228/mkmovie.py | ammarhakim/ammar-simjournal | 85b64ddc9556f01a4fab37977864a7d878eac637 | [
"MIT",
"Unlicense"
] | 1 | 2019-12-19T16:21:13.000Z | 2019-12-19T16:21:13.000Z | sims/s228/mkmovie.py | ammarhakim/ammar-simjournal | 85b64ddc9556f01a4fab37977864a7d878eac637 | [
"MIT",
"Unlicense"
] | null | null | null | sims/s228/mkmovie.py | ammarhakim/ammar-simjournal | 85b64ddc9556f01a4fab37977864a7d878eac637 | [
"MIT",
"Unlicense"
] | 2 | 2020-01-08T06:23:33.000Z | 2020-01-08T07:06:50.000Z | import os
for i in range(21):
cmd = "/Users/ahakim/research/gkeyll-project/gkeyllall/gkeyll/scripts/gkeplot.py -p s228-gemguide-5m_q_%d.h5 -c 3 --dont-show --save -o gemguide-5m_%05d" % (i, i)
print cmd
os.system(cmd)
| 33 | 166 | 0.683983 | 41 | 231 | 3.780488 | 0.804878 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05641 | 0.155844 | 231 | 6 | 167 | 38.5 | 0.738462 | 0 | 0 | 0 | 0 | 0.2 | 0.627706 | 0.419913 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1cc680528377937e7bd5440d0a704c60acc04b2d | 475 | py | Python | stories/admin.py | City-of-Helsinki/aggregaattori | be38b167220ab371975b705dd7f3bbe494afc9e9 | [
"MIT"
] | 1 | 2017-08-11T06:50:20.000Z | 2017-08-11T06:50:20.000Z | stories/admin.py | City-of-Helsinki/aggregaattori | be38b167220ab371975b705dd7f3bbe494afc9e9 | [
"MIT"
] | 37 | 2017-08-11T06:38:06.000Z | 2020-06-05T17:07:47.000Z | stories/admin.py | City-of-Helsinki/aggregaattori | be38b167220ab371975b705dd7f3bbe494afc9e9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.gis.admin import OSMGeoAdmin
from munigeo.models import AdministrativeDivisionGeometry
from parler.admin import TranslatableAdmin
from stories.models import Story
class StoryAdmin(OSMGeoAdmin, TranslatableAdmin):
pass
class AdministrativeDivisionGeometryAdmi... | 25 | 88 | 0.852632 | 46 | 475 | 8.804348 | 0.434783 | 0.049383 | 0.083951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096842 | 475 | 18 | 89 | 26.388889 | 0.944056 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.181818 | 0.454545 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
1cd53467dc8e7a54dc683fcc9cac466ab242ed50 | 125 | py | Python | modules/logging_config.py | Remillardj/databasePT | 7e63a405b85f3598ff12ccc25b0622b7ee065879 | [
"Apache-2.0"
] | null | null | null | modules/logging_config.py | Remillardj/databasePT | 7e63a405b85f3598ff12ccc25b0622b7ee065879 | [
"Apache-2.0"
] | null | null | null | modules/logging_config.py | Remillardj/databasePT | 7e63a405b85f3598ff12ccc25b0622b7ee065879 | [
"Apache-2.0"
] | null | null | null | import logging
from logging.config import fileConfig
fileConfig('../config/logging_config.ini')
logger = logging.getLogger() | 25 | 42 | 0.808 | 15 | 125 | 6.666667 | 0.533333 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 125 | 5 | 43 | 25 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1ce591b8c17600bd3f84b9a2987d423d6879708b | 61 | py | Python | src/slotscheck/__main__.py | q0w/slotscheck | ec4e8d9925d2c01cbf36aa618b665de0e919672b | [
"MIT"
] | 48 | 2022-01-03T11:31:02.000Z | 2022-03-23T14:16:03.000Z | src/slotscheck/__main__.py | q0w/slotscheck | ec4e8d9925d2c01cbf36aa618b665de0e919672b | [
"MIT"
] | 64 | 2022-01-03T13:07:36.000Z | 2022-03-29T04:35:27.000Z | src/slotscheck/__main__.py | q0w/slotscheck | ec4e8d9925d2c01cbf36aa618b665de0e919672b | [
"MIT"
] | 3 | 2022-01-04T18:37:43.000Z | 2022-02-02T13:46:19.000Z | from .cli import root
if __name__ == "__main__":
root()
| 12.2 | 26 | 0.639344 | 8 | 61 | 3.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229508 | 61 | 4 | 27 | 15.25 | 0.659574 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1ced01d443da3da475f6fa685a2902a3a716adaf | 157 | py | Python | pyres/exceptions.py | timgates42/pyres | 4f4b28257afe5b7a08fd38a063fad7ce62c03ae2 | [
"MIT"
] | 351 | 2015-01-07T03:49:17.000Z | 2020-05-16T10:26:59.000Z | pyres/exceptions.py | timgates42/pyres | 4f4b28257afe5b7a08fd38a063fad7ce62c03ae2 | [
"MIT"
] | 10 | 2015-01-13T17:02:18.000Z | 2019-04-01T16:34:02.000Z | pyres/exceptions.py | timgates42/pyres | 4f4b28257afe5b7a08fd38a063fad7ce62c03ae2 | [
"MIT"
] | 56 | 2015-01-14T14:41:17.000Z | 2020-06-24T14:55:41.000Z | class NoQueueError(Exception):
pass
class JobError(RuntimeError):
pass
class TimeoutError(JobError):
pass
class CrashError(JobError):
pass | 14.272727 | 30 | 0.732484 | 16 | 157 | 7.1875 | 0.5 | 0.234783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191083 | 157 | 11 | 31 | 14.272727 | 0.905512 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1cf218f53ceeadb8cd5482d66bc15aa9241c412b | 891 | py | Python | fdk_client/platform/models/LogInfo.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | fdk_client/platform/models/LogInfo.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | fdk_client/platform/models/LogInfo.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | """Platform Models."""
from marshmallow import fields, Schema
from marshmallow.validate import OneOf
from ..enums import *
from ..models.BaseSchema import BaseSchema
class LogInfo(BaseSchema):
# Analytics swagger.json
_id = fields.Str(required=False)
status = fields.S... | 13.5 | 50 | 0.657688 | 101 | 891 | 5.693069 | 0.346535 | 0.293913 | 0.266087 | 0.344348 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246914 | 891 | 65 | 51 | 13.707692 | 0.85693 | 0.044893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1cf4e52877ac1e11e48d331ede13238aad662355 | 87 | py | Python | src/applications/player/apps.py | luisito666/M2-API-REST | 238837c2cbd0e9aadcce29def0dd9935b888047b | [
"MIT"
] | 10 | 2018-02-12T10:30:22.000Z | 2020-06-29T21:06:15.000Z | src/applications/player/apps.py | luisito666/M2-API-REST | 238837c2cbd0e9aadcce29def0dd9935b888047b | [
"MIT"
] | 62 | 2018-01-05T04:52:38.000Z | 2021-04-10T07:14:45.000Z | server/player/apps.py | MahjongRepository/mahjong-leaderboard | 77dfd26cb812c12fa7c2b11e862bb80a9135ccb0 | [
"MIT"
] | 8 | 2018-05-11T11:05:41.000Z | 2021-03-10T08:10:50.000Z | from django.apps import AppConfig
class PlayerConfig(AppConfig):
name = "player"
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e817a92b265bc2cfead396544980e6a8e126d9d3 | 91 | py | Python | resident/apps.py | vitorh45/residential | d36b29a72b9d1d79efab7e8549aec39eacce10d7 | [
"MIT"
] | null | null | null | resident/apps.py | vitorh45/residential | d36b29a72b9d1d79efab7e8549aec39eacce10d7 | [
"MIT"
] | 12 | 2020-02-12T00:03:32.000Z | 2022-03-11T23:49:10.000Z | resident/apps.py | vitorh45/residential | d36b29a72b9d1d79efab7e8549aec39eacce10d7 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ResidentConfig(AppConfig):
name = 'resident'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e8213f8b5ba75cdca1476d851ab24ede42be4c2b | 204 | py | Python | cls2det/detection/utils/__init__.py | Media-Smart/cls2det | 2e0eaeec0a74edfe6946ebb6bc1df8a17a8e478a | [
"Apache-2.0"
] | 22 | 2020-06-11T07:00:02.000Z | 2020-12-14T15:20:59.000Z | cls2det/detection/utils/__init__.py | Media-Smart/cls2det | 2e0eaeec0a74edfe6946ebb6bc1df8a17a8e478a | [
"Apache-2.0"
] | null | null | null | cls2det/detection/utils/__init__.py | Media-Smart/cls2det | 2e0eaeec0a74edfe6946ebb6bc1df8a17a8e478a | [
"Apache-2.0"
] | 4 | 2020-10-22T05:49:01.000Z | 2021-12-18T22:57:54.000Z | from .common import (data2coco, draw, get_img_annotations,
get_label, get_scale)
from .operations import (box_rescale, cell2box, nms,
remove_outlier, resize)
| 40.8 | 58 | 0.627451 | 22 | 204 | 5.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.303922 | 204 | 4 | 59 | 51 | 0.84507 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
08feb6f90eced6bcc66e4b8ec2cab34baed46a7e | 4,522 | py | Python | tests/dicts/io/test_io_dict_toml.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 365 | 2019-05-21T05:50:30.000Z | 2022-03-29T11:35:35.000Z | tests/dicts/io/test_io_dict_toml.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 78 | 2019-11-16T12:22:54.000Z | 2022-03-14T12:21:30.000Z | tests/dicts/io/test_io_dict_toml.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 26 | 2019-12-16T06:34:12.000Z | 2022-02-28T07:16:41.000Z | # -*- coding: utf-8 -*-
from benedict.dicts.io import IODict
from .test_io_dict import io_dict_test_case
class io_dict_toml_test_case(io_dict_test_case):
def test_from_toml_with_valid_data(self):
j = """
a = 1
[b]
c = 3
d = 4
"""
# static method
d = IODict.from_toml(j)
self.ass... | 32.768116 | 74 | 0.602388 | 530 | 4,522 | 4.943396 | 0.135849 | 0.073282 | 0.080153 | 0.171756 | 0.824427 | 0.820992 | 0.715267 | 0.672137 | 0.564886 | 0.489313 | 0 | 0.007394 | 0.282176 | 4,522 | 137 | 75 | 33.007299 | 0.799754 | 0.094427 | 0 | 0.525253 | 0 | 0 | 0.094548 | 0.005403 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.111111 | false | 0 | 0.020202 | 0 | 0.141414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c0a0003c44de72cbd1ff3024f096574280f0d72 | 80 | py | Python | server/flask/app/__init__.py | JeanExtreme002/Keylogger | bcb568818ca2c71f9cc1663d3858906ac660e778 | [
"BSD-3-Clause"
] | 4 | 2020-02-09T20:29:43.000Z | 2021-11-08T08:48:05.000Z | server/flask/app/__init__.py | JeanExtreme002/Keylogger | bcb568818ca2c71f9cc1663d3858906ac660e778 | [
"BSD-3-Clause"
] | null | null | null | server/flask/app/__init__.py | JeanExtreme002/Keylogger | bcb568818ca2c71f9cc1663d3858906ac660e778 | [
"BSD-3-Clause"
] | null | null | null | from flask import Flask
server = Flask(__name__)
from app.controller import *
| 13.333333 | 28 | 0.775 | 11 | 80 | 5.272727 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 80 | 5 | 29 | 16 | 0.865672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1c100580c9230b7b37b663cc1f2263a3b573bde1 | 94 | py | Python | iframeplaylistgenerator/__init__.py | nweber/iframe-playlist-generator | ba6d89473d39604806a53a1a07b8f21ae4814c23 | [
"Apache-2.0"
] | 61 | 2015-01-15T17:14:46.000Z | 2021-10-30T01:49:06.000Z | iframeplaylistgenerator/__init__.py | nweber/iframe-playlist-generator | ba6d89473d39604806a53a1a07b8f21ae4814c23 | [
"Apache-2.0"
] | 2 | 2015-10-31T08:27:48.000Z | 2017-04-13T22:33:50.000Z | iframeplaylistgenerator/__init__.py | nweber/iframe-playlist-generator | ba6d89473d39604806a53a1a07b8f21ae4814c23 | [
"Apache-2.0"
] | 16 | 2015-01-29T05:43:58.000Z | 2020-10-29T18:34:34.000Z | from iframeplaylistgenerator.generator import (
update_for_iframes, create_iframe_playlist
)
| 23.5 | 47 | 0.87234 | 10 | 94 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 94 | 3 | 48 | 31.333333 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1c4e0aa42b76eb9a4136a0ace34182588b23f6bd | 311 | py | Python | NuIMDB/src/model/Model.py | shriyanshagnihotri/NuAssignment | 324a7242d16b453a02efdfcae2e8ed195f2d4ae8 | [
"MIT"
] | null | null | null | NuIMDB/src/model/Model.py | shriyanshagnihotri/NuAssignment | 324a7242d16b453a02efdfcae2e8ed195f2d4ae8 | [
"MIT"
] | null | null | null | NuIMDB/src/model/Model.py | shriyanshagnihotri/NuAssignment | 324a7242d16b453a02efdfcae2e8ed195f2d4ae8 | [
"MIT"
] | null | null | null | import bsddb as dbDriver
class Model:
dbDriverObj = None
def __init__(self):
self.dbDriverObj = dbDriver.hashopen('MovieDB.db')
def read_app(self, appname):
return self.dbDriverObj.get(appname, None)
def write_app(self, appname, data):
self.dbDriverObj[appname] = data
self.dbDriverObj.sync()
| 18.294118 | 52 | 0.73955 | 41 | 311 | 5.463415 | 0.536585 | 0.267857 | 0.125 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14791 | 311 | 16 | 53 | 19.4375 | 0.845283 | 0 | 0 | 0 | 0 | 0 | 0.032154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.1 | 0.7 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1c54496e77b20ced1f2cb45bca6297391ffa1e7e | 24,266 | py | Python | tests/test_publish_draft_services.py | alphagov-mirror/digitalmarketplace-scripts | 8a7ef9b2b5f5fffea6e012bd676b095a27d35101 | [
"MIT"
] | 1 | 2020-06-23T01:55:31.000Z | 2020-06-23T01:55:31.000Z | tests/test_publish_draft_services.py | alphagov-mirror/digitalmarketplace-scripts | 8a7ef9b2b5f5fffea6e012bd676b095a27d35101 | [
"MIT"
] | 267 | 2015-10-12T12:43:52.000Z | 2021-08-19T10:38:55.000Z | tests/test_publish_draft_services.py | alphagov-mirror/digitalmarketplace-scripts | 8a7ef9b2b5f5fffea6e012bd676b095a27d35101 | [
"MIT"
] | 7 | 2015-11-11T16:47:41.000Z | 2021-04-10T18:03:04.000Z | import mock
import pytest
from dmapiclient import DataAPIClient, HTTPError
from dmtestutils.api_model_stubs import DraftServiceStub, SupplierFrameworkStub
from dmtestutils.comparisons import ExactIdentity
from dmtestutils.mocking import assert_args_and_return_iter_over
from dmutils.s3 import S3
from dmscripts.publish... | 40.37604 | 115 | 0.614564 | 2,704 | 24,266 | 5.190828 | 0.080251 | 0.029068 | 0.043602 | 0.045953 | 0.793816 | 0.767883 | 0.732901 | 0.708464 | 0.665361 | 0.634583 | 0 | 0.068439 | 0.285255 | 24,266 | 600 | 116 | 40.443333 | 0.740833 | 0.017226 | 0 | 0.58444 | 0 | 0.030361 | 0.19447 | 0.054208 | 0 | 0 | 0 | 0 | 0.075901 | 1 | 0.043643 | false | 0 | 0.01518 | 0.001898 | 0.070209 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c5e0bb2812c71eb52fdd180195e0cfb11bce337 | 900 | py | Python | cart_venv/Lib/site-packages/tensorflow_core/_api/v1/compat/v2/random/experimental/__init__.py | juice1000/Synchronous-vs-Asynchronous-Learning-Tensorflow- | 654be60f7986ac9bb7ce1d080ddee377c3389f93 | [
"MIT"
] | 2 | 2019-08-04T20:28:14.000Z | 2019-10-27T23:26:42.000Z | cart_venv/Lib/site-packages/tensorflow_core/_api/v1/compat/v2/random/experimental/__init__.py | juice1000/Synchronous-vs-Asynchronous-Learning-Tensorflow- | 654be60f7986ac9bb7ce1d080ddee377c3389f93 | [
"MIT"
] | null | null | null | cart_venv/Lib/site-packages/tensorflow_core/_api/v1/compat/v2/random/experimental/__init__.py | juice1000/Synchronous-vs-Asynchronous-Learning-Tensorflow- | 654be60f7986ac9bb7ce1d080ddee377c3389f93 | [
"MIT"
] | 1 | 2020-11-04T03:16:29.000Z | 2020-11-04T03:16:29.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.random.experimental namespace.
"""
from __future__ import print_function as _print_function
import sys as _sys
from tensorflow.python.ops.stateful_random_ops import G... | 39.130435 | 99 | 0.832222 | 124 | 900 | 5.637097 | 0.435484 | 0.137339 | 0.143062 | 0.131617 | 0.429185 | 0.429185 | 0.429185 | 0.429185 | 0.297568 | 0 | 0 | 0.001229 | 0.095556 | 900 | 22 | 100 | 40.909091 | 0.857494 | 0.194444 | 0 | 0 | 1 | 0 | 0.040446 | 0.040446 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.583333 | 0 | 0.583333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1c705dbfdb782e7a54ff9fa992d0fcee6321b6f8 | 96 | py | Python | Aug21/EffectivePython/ObjectOrientedProgramming/exploringclass.py | pythonbykhaja/intesivepython | d3074f35bf36a04d4d1d9b4ff4631733d40b5817 | [
"Apache-2.0"
] | 2 | 2021-05-29T18:21:50.000Z | 2021-07-24T13:03:30.000Z | Aug21/EffectivePython/ObjectOrientedProgramming/exploringclass.py | pythonbykhaja/intesivepython | d3074f35bf36a04d4d1d9b4ff4631733d40b5817 | [
"Apache-2.0"
] | null | null | null | Aug21/EffectivePython/ObjectOrientedProgramming/exploringclass.py | pythonbykhaja/intesivepython | d3074f35bf36a04d4d1d9b4ff4631733d40b5817 | [
"Apache-2.0"
] | 2 | 2021-05-25T10:19:54.000Z | 2021-09-21T12:20:48.000Z | class Dummy:
def __str__(self) -> str:
return "dummy"
d1 = Dummy()
print(d1)
| 10.666667 | 29 | 0.541667 | 12 | 96 | 4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.322917 | 96 | 8 | 30 | 12 | 0.707692 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1c71355885c5ae9012ce9beb5fdc9ffe57d226af | 57 | py | Python | lang/Python/file-input-output-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | lang/Python/file-input-output-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/file-input-output-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2021-04-13T04:19:31.000Z | 2021-04-13T04:19:31.000Z | import shutil
shutil.copyfile('input.txt', 'output.txt')
| 19 | 42 | 0.754386 | 8 | 57 | 5.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 2 | 43 | 28.5 | 0.811321 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1c7d1cead25a2490606975f6d4a016cc690910db | 136 | py | Python | __init__.py | kehr/mi | 85abe3a9558ce66d4a7f2d0260d6138c4f8ad417 | [
"MIT"
] | null | null | null | __init__.py | kehr/mi | 85abe3a9558ce66d4a7f2d0260d6138c4f8ad417 | [
"MIT"
] | null | null | null | __init__.py | kehr/mi | 85abe3a9558ce66d4a7f2d0260d6138c4f8ad417 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Project: mi
# @File: __init__.py
# @Author: kehr
# @Date: 2016-10-18 18:56:16
# @Email: kehr.china@gmail.com
| 19.428571 | 30 | 0.610294 | 22 | 136 | 3.590909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.154412 | 136 | 6 | 31 | 22.666667 | 0.556522 | 0.904412 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c9c35a84f69b569bed382a208022626260639fa | 67 | py | Python | src/appliance-onboarding-script/appliance_setup/avs/avsarconboarder/orchestrator/_orchestrator.py | Azure/ArcOnAVS | 9ecd26ceb2f49953db1beda07beba55c15e773ce | [
"MIT"
] | null | null | null | src/appliance-onboarding-script/appliance_setup/avs/avsarconboarder/orchestrator/_orchestrator.py | Azure/ArcOnAVS | 9ecd26ceb2f49953db1beda07beba55c15e773ce | [
"MIT"
] | null | null | null | src/appliance-onboarding-script/appliance_setup/avs/avsarconboarder/orchestrator/_orchestrator.py | Azure/ArcOnAVS | 9ecd26ceb2f49953db1beda07beba55c15e773ce | [
"MIT"
] | null | null | null |
class Orchestrator:
def orchestrate(self, *args):
pass | 16.75 | 33 | 0.641791 | 7 | 67 | 6.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268657 | 67 | 4 | 34 | 16.75 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
98bbd49acfb5b7b0721c5a987756a21266ad84e0 | 569 | py | Python | django_outbox_middleware/views.py | ArtProcessors/django-outbox-middleware | 25aad0cea4fc284a6b800abcbb7f3037bcaf6621 | [
"MIT"
] | null | null | null | django_outbox_middleware/views.py | ArtProcessors/django-outbox-middleware | 25aad0cea4fc284a6b800abcbb7f3037bcaf6621 | [
"MIT"
] | null | null | null | django_outbox_middleware/views.py | ArtProcessors/django-outbox-middleware | 25aad0cea4fc284a6b800abcbb7f3037bcaf6621 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.views.generic import (
CreateView,
DeleteView,
DetailView,
UpdateView,
ListView
)
from .models import (
OutboxRequestLog,
)
class OutboxRequestLogCreateView(CreateView):
model = OutboxRequestLog
class OutboxRequestLogDeleteView(DeleteView):
model =... | 14.589744 | 45 | 0.745167 | 42 | 569 | 10.095238 | 0.52381 | 0.247642 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002151 | 0.182777 | 569 | 38 | 46 | 14.973684 | 0.909677 | 0.036907 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.6 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
98d4d85bcbec05ab4881900d4fe12940c7f048c5 | 201 | py | Python | src/pages/__init__.py | kryvokhyzha/bert-for-ukranian-ner | 48da40f09cb216ad51a97c303998157858fbe8bc | [
"MIT"
] | null | null | null | src/pages/__init__.py | kryvokhyzha/bert-for-ukranian-ner | 48da40f09cb216ad51a97c303998157858fbe8bc | [
"MIT"
] | null | null | null | src/pages/__init__.py | kryvokhyzha/bert-for-ukranian-ner | 48da40f09cb216ad51a97c303998157858fbe8bc | [
"MIT"
] | null | null | null | from pages.about_page import get_about_page as about_page
from pages.general_page import get_general_page as general_page
from pages.user_history_page import get_user_history_page as user_history_page
| 50.25 | 78 | 0.895522 | 36 | 201 | 4.583333 | 0.277778 | 0.163636 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 201 | 3 | 79 | 67 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c7027fc4b72cd6dcaa85948c9b004dab91920470 | 95 | py | Python | mypro/webtestapp/apps.py | yubboyu/django | cc261f658a6a0310e44b089959113cf5d88ce112 | [
"MIT"
] | null | null | null | mypro/webtestapp/apps.py | yubboyu/django | cc261f658a6a0310e44b089959113cf5d88ce112 | [
"MIT"
] | null | null | null | mypro/webtestapp/apps.py | yubboyu/django | cc261f658a6a0310e44b089959113cf5d88ce112 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class WebtestappConfig(AppConfig):
name = 'webtestapp'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c71848f38fdc08f6b042d9ace261a1ea01381ccd | 5,603 | py | Python | twilio_management/models.py | icardenas/mirror-a2p-twilio | af6fe6099680491130a4bb5767bdde448f97feae | [
"Apache-2.0"
] | 3 | 2021-10-31T00:21:13.000Z | 2022-03-07T21:11:14.000Z | twilio_management/models.py | icardenas/mirror-a2p-twilio | af6fe6099680491130a4bb5767bdde448f97feae | [
"Apache-2.0"
] | null | null | null | twilio_management/models.py | icardenas/mirror-a2p-twilio | af6fe6099680491130a4bb5767bdde448f97feae | [
"Apache-2.0"
] | null | null | null | import abc
import logging
from django.db import connection, models
logger = logging.getLogger(__name__)
class AbstractModel(models.Model):
class Meta:
abstract = True
@classmethod
def truncate(cls):
with connection.cursor() as cursor:
logger.info(f"truncate table {cls._meta.db_... | 43.434109 | 82 | 0.758165 | 729 | 5,603 | 5.577503 | 0.175583 | 0.206591 | 0.247909 | 0.330546 | 0.735612 | 0.68544 | 0.574766 | 0.432366 | 0.330054 | 0.286276 | 0 | 0.030631 | 0.143495 | 5,603 | 128 | 83 | 43.773438 | 0.816628 | 0.012493 | 0 | 0.409091 | 0 | 0 | 0.01085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027273 | false | 0 | 0.027273 | 0.018182 | 0.890909 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c7452593d2f552d5204a88816a6e9169903bc261 | 213 | py | Python | splitiorequests/models/splits/splits.py | mikoblog/splitio-requests | c09b069e49f5224cbe3f892a5731c62885fd6151 | [
"MIT"
] | null | null | null | splitiorequests/models/splits/splits.py | mikoblog/splitio-requests | c09b069e49f5224cbe3f892a5731c62885fd6151 | [
"MIT"
] | 4 | 2020-11-22T12:07:45.000Z | 2021-03-26T23:44:12.000Z | splitiorequests/models/splits/splits.py | mikoblog/splitio-requests | c09b069e49f5224cbe3f892a5731c62885fd6151 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from dataclasses import dataclass
from typing import List
from .split import Split
@dataclass
class Splits:
objects: List[Split]
offset: int
limit: int
totalCount: int
| 13.3125 | 33 | 0.685446 | 27 | 213 | 5.407407 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.230047 | 213 | 15 | 34 | 14.2 | 0.884146 | 0.098592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.888889 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c75949df35529283e9ea57bce58ef0ef9e3877b4 | 9,343 | py | Python | tests/test_planning_exploring_starts_policy.py | pudumagico/RLASP | bce5b87404fdca60e983e4a187e734c49ac923fa | [
"MIT"
] | null | null | null | tests/test_planning_exploring_starts_policy.py | pudumagico/RLASP | bce5b87404fdca60e983e4a187e734c49ac923fa | [
"MIT"
] | 1 | 2021-06-02T16:55:33.000Z | 2021-06-04T14:30:54.000Z | tests/test_planning_exploring_starts_policy.py | pudumagico/RLASP | bce5b87404fdca60e983e4a187e734c49ac923fa | [
"MIT"
] | 2 | 2021-03-22T14:46:49.000Z | 2021-03-31T16:12:12.000Z | import os
import sys
import unittest
from unittest.mock import MagicMock, patch
# Make sure the path of the framework is included in the import path
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../src')))
# Framework imports
from mdp import VacuumCleanerWorldBuilder
from policy import P... | 45.354369 | 105 | 0.696564 | 1,119 | 9,343 | 5.502234 | 0.131367 | 0.08868 | 0.129609 | 0.150073 | 0.768231 | 0.752314 | 0.710736 | 0.705376 | 0.656813 | 0.63976 | 0 | 0.015644 | 0.213208 | 9,343 | 205 | 106 | 45.57561 | 0.821929 | 0.136359 | 0 | 0.602941 | 0 | 0 | 0.026725 | 0 | 0 | 0 | 0 | 0 | 0.257353 | 1 | 0.058824 | false | 0 | 0.051471 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c77692b0ecb2549fd064e002e2ed7f6755d50bef | 237 | py | Python | tests/stile/test_stile_builder.py | mccormickmichael/laurel | 6222d8d2dea6fa18cfe3b031434154003e8a125b | [
"Unlicense"
] | 1 | 2018-08-20T13:49:46.000Z | 2018-08-20T13:49:46.000Z | tests/stile/test_stile_builder.py | mccormickmichael/laurel | 6222d8d2dea6fa18cfe3b031434154003e8a125b | [
"Unlicense"
] | null | null | null | tests/stile/test_stile_builder.py | mccormickmichael/laurel | 6222d8d2dea6fa18cfe3b031434154003e8a125b | [
"Unlicense"
] | null | null | null | import unittest
from scaffold.stile.stile_builder import StileBuilder
class TestServicesBuilder(unittest.TestCase):
def test_import(self):
# this placeholder test enforces that VpcBuilder's imports are valid
pass
| 21.545455 | 76 | 0.763713 | 28 | 237 | 6.392857 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 237 | 10 | 77 | 23.7 | 0.932292 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.6 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
c7882034a3e30bd849525bd5d10f95e6a090212f | 118 | py | Python | Gathered CTF writeups/ptr-yudai-writeups/2019/Sunshine_CTF_2019/middle_ocean/solve.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:00:41.000Z | 2022-03-27T06:00:41.000Z | Gathered CTF writeups/ptr-yudai-writeups/2019/Sunshine_CTF_2019/middle_ocean/solve.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | null | null | null | Gathered CTF writeups/ptr-yudai-writeups/2019/Sunshine_CTF_2019/middle_ocean/solve.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:01:42.000Z | 2022-03-27T06:01:42.000Z | l = [83, 85, 78, 123, 77, 52, 57, 53, 45, 102, 52, 110, 33, 125]
flag = ""
for c in l:
flag += chr(c)
print(flag)
| 19.666667 | 64 | 0.516949 | 25 | 118 | 2.44 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.367816 | 0.262712 | 118 | 5 | 65 | 23.6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c7b7504b98e295f424ed8a06a19a618d573ecece | 296 | py | Python | lib/python3.9/site-packages/tests/test_youtube.py | gitloon/sopel | 8cf460fc9ee5c53c36cdfffcf019e6df4801515e | [
"EFL-2.0"
] | 5 | 2016-02-20T02:45:59.000Z | 2022-01-10T18:20:43.000Z | lib/python3.9/site-packages/tests/test_youtube.py | gitloon/sopel | 8cf460fc9ee5c53c36cdfffcf019e6df4801515e | [
"EFL-2.0"
] | 32 | 2015-10-09T00:58:00.000Z | 2022-03-05T21:02:05.000Z | lib/python3.9/site-packages/tests/test_youtube.py | gitloon/sopel | 8cf460fc9ee5c53c36cdfffcf019e6df4801515e | [
"EFL-2.0"
] | 22 | 2015-10-01T13:04:19.000Z | 2021-06-28T09:46:39.000Z | #!/usr/bin/env python
# coding=utf-8
from __future__ import unicode_literals, absolute_import, division, print_function
import unittest
from sopel_modules.youtube import youtube
class TestYoutube(unittest.TestCase):
def setUp(self):
pass
def testSomething(self):
pass
| 19.733333 | 82 | 0.746622 | 37 | 296 | 5.756757 | 0.756757 | 0.075117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004115 | 0.179054 | 296 | 14 | 83 | 21.142857 | 0.872428 | 0.111486 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.375 | 0 | 0.75 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
c7ccc63e485408d3a3683026b69ce3813f8b4d44 | 356 | py | Python | bob/learn/tensorflow/scripts/tf.py | bioidiap/bob.learn.tensorflow | 7813e4ce3eecd77987a7046679f0d9ff52d06005 | [
"BSD-3-Clause"
] | 2 | 2020-08-03T17:07:18.000Z | 2021-11-21T22:03:17.000Z | bob/learn/tensorflow/scripts/tf.py | bioidiap/bob.learn.tensorflow | 7813e4ce3eecd77987a7046679f0d9ff52d06005 | [
"BSD-3-Clause"
] | null | null | null | bob/learn/tensorflow/scripts/tf.py | bioidiap/bob.learn.tensorflow | 7813e4ce3eecd77987a7046679f0d9ff52d06005 | [
"BSD-3-Clause"
] | null | null | null | """The main entry for bob tf (click-based) scripts.
"""
import click
import pkg_resources
from click_plugins import with_plugins
from bob.extension.scripts.click_helper import AliasedGroup
@with_plugins(pkg_resources.iter_entry_points("bob.learn.tensorflow.cli"))
@click.group(cls=AliasedGroup)
def tf():
"""Tenso... | 23.733333 | 74 | 0.77809 | 49 | 356 | 5.489796 | 0.591837 | 0.089219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109551 | 356 | 14 | 75 | 25.428571 | 0.84858 | 0.216292 | 0 | 0 | 0 | 0 | 0.089888 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0.125 | 0.5 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
c7d83d61b0df5cda4214e23d39dd00cef93e1896 | 225 | py | Python | exceldriver/__init__.py | whoopnip/py-excel-driver | 6910ba3487ffd4aec4ceba7c57f14c1ae0c12fff | [
"MIT"
] | 1 | 2021-11-10T03:29:32.000Z | 2021-11-10T03:29:32.000Z | exceldriver/__init__.py | whoopnip/py-excel-driver | 6910ba3487ffd4aec4ceba7c57f14c1ae0c12fff | [
"MIT"
] | 4 | 2020-03-24T17:43:57.000Z | 2021-06-02T00:26:44.000Z | exceldriver/__init__.py | whoopnip/py-excel-driver | 6910ba3487ffd4aec4ceba7c57f14c1ae0c12fff | [
"MIT"
] | 1 | 2021-08-09T11:09:07.000Z | 2021-08-09T11:09:07.000Z | """
A tool used to work with Excel from Python. It currently mainly handles starting and stopping
Excel, and getting the active Excel instance and workbook so that COM commands can be run on them.
"""
from .excel import Excel | 45 | 98 | 0.782222 | 38 | 225 | 4.631579 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 225 | 5 | 99 | 45 | 0.946237 | 0.853333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c7f59a1fb3ccd8b667ce30846486f35e7bc2c28d | 321 | py | Python | py/jupyterlab-sqlite3/src/jupyterlab_sqlite3/tests/test_meta.py | gt-coar/janki | 69141d66415757c373300e0404b0d49d1c3456bb | [
"BSD-3-Clause"
] | 1 | 2021-05-25T15:59:25.000Z | 2021-05-25T15:59:25.000Z | py/jupyterlab-sqlite3/src/jupyterlab_sqlite3/tests/test_meta.py | gt-coar/janki | 69141d66415757c373300e0404b0d49d1c3456bb | [
"BSD-3-Clause"
] | 7 | 2021-05-11T19:37:23.000Z | 2021-06-16T15:12:12.000Z | py/jupyterlab-sqlite3/src/jupyterlab_sqlite3/tests/test_meta.py | gt-coar/janki | 69141d66415757c373300e0404b0d49d1c3456bb | [
"BSD-3-Clause"
] | 1 | 2021-05-11T19:34:46.000Z | 2021-05-11T19:34:46.000Z | # Copyright (c) 2021 University System of Georgia and janki contributors
# Distributed under the terms of the BSD-3-Clause License.
import jupyterlab_sqlite3
def test_version():
assert jupyterlab_sqlite3.__version__
def test_labextensions():
assert len(jupyterlab_sqlite3._jupyter_labextension_paths()) == 1... | 24.692308 | 72 | 0.794393 | 41 | 321 | 5.926829 | 0.756098 | 0.209877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.140187 | 321 | 12 | 73 | 26.75 | 0.847826 | 0.395639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1be7f86042e471561d66170cab2e2a8a197d32ff | 2,555 | py | Python | MainSite/migrations/0001_initial.py | mellora/EliteConsortiumWebSite | 02fbcd3aed5e3794b50445f1881e03945ee73f20 | [
"MIT"
] | null | null | null | MainSite/migrations/0001_initial.py | mellora/EliteConsortiumWebSite | 02fbcd3aed5e3794b50445f1881e03945ee73f20 | [
"MIT"
] | null | null | null | MainSite/migrations/0001_initial.py | mellora/EliteConsortiumWebSite | 02fbcd3aed5e3794b50445f1881e03945ee73f20 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.3 on 2020-11-30 17:22
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='MemberConsortiumPricing',
fields=[
('id', m... | 44.051724 | 114 | 0.581605 | 255 | 2,555 | 5.635294 | 0.282353 | 0.068894 | 0.058455 | 0.129436 | 0.802366 | 0.725818 | 0.60334 | 0.60334 | 0.60334 | 0.60334 | 0 | 0.029785 | 0.290411 | 2,555 | 57 | 115 | 44.824561 | 0.762824 | 0.017613 | 0 | 0.52 | 1 | 0 | 0.192982 | 0.030702 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 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 | 4 |
1beae98e55ef740b718861cabcd8be22ec93822a | 829 | py | Python | dvadmin-backend/apps/vadmin/stock/models/index_history.py | zzjo/dvadmin-backend | b114af920c101becd94b2ed28d04bd084d25d342 | [
"MIT"
] | 1 | 2021-12-20T10:10:34.000Z | 2021-12-20T10:10:34.000Z | dvadmin-backend/apps/vadmin/stock/models/index_history.py | zzjo/dvadmin-backend | b114af920c101becd94b2ed28d04bd084d25d342 | [
"MIT"
] | null | null | null | dvadmin-backend/apps/vadmin/stock/models/index_history.py | zzjo/dvadmin-backend | b114af920c101becd94b2ed28d04bd084d25d342 | [
"MIT"
] | null | null | null | from django.db.models import CharField, DecimalField, DateField
from apps.vadmin.op_drf.models import CoreModel
class IndexHistory(CoreModel):
name = CharField(max_length=64, verbose_name="名称")
code = CharField(max_length=64, verbose_name="代码")
date = DateField(verbose_name="时间")
open = DecimalField(... | 37.681818 | 78 | 0.729795 | 112 | 829 | 5.142857 | 0.4375 | 0.210069 | 0.182292 | 0.199653 | 0.503472 | 0.503472 | 0.333333 | 0.333333 | 0.333333 | 0 | 0 | 0.027143 | 0.155609 | 829 | 21 | 79 | 39.47619 | 0.795714 | 0 | 0 | 0 | 0 | 0 | 0.045838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.125 | 0.0625 | 0.875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1bff0c27b95eb50252a3d37bacf1dc50484fe209 | 138 | py | Python | apps/operation/__init__.py | ZREDU-007/mooc | 1a1f4f92e029da68e032db0005ac955fc1ca3e8c | [
"Apache-2.0"
] | 5 | 2020-01-04T01:21:22.000Z | 2020-11-19T09:10:50.000Z | apps/operation/__init__.py | ZREDU-007/mooc | 1a1f4f92e029da68e032db0005ac955fc1ca3e8c | [
"Apache-2.0"
] | 6 | 2020-02-12T03:25:29.000Z | 2021-09-08T01:33:43.000Z | apps/operation/__init__.py | ZREDU-007/mooc | 1a1f4f92e029da68e032db0005ac955fc1ca3e8c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
__author__ = 'Kris,QQ:1209304692。QQ群:知尔MOOC,760196377'
default_app_config = "operation.apps.OperationConfig"
| 27.6 | 55 | 0.724638 | 16 | 138 | 5.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 0.115942 | 138 | 4 | 56 | 34.5 | 0.606557 | 0.152174 | 0 | 0 | 0 | 0 | 0.621622 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
400f18d3de97ac4eed25040e49caa00d4dc12abe | 80 | py | Python | scripts/hdftools/hdfmultiple.py | jason-neal/Starfish | 4ffa45e0190fb6f3262511d57d1a563e5ee711de | [
"BSD-3-Clause"
] | 1 | 2017-07-10T00:06:36.000Z | 2017-07-10T00:06:36.000Z | scripts/hdftools/hdfmultiple.py | jason-neal/Starfish | 4ffa45e0190fb6f3262511d57d1a563e5ee711de | [
"BSD-3-Clause"
] | null | null | null | scripts/hdftools/hdfmultiple.py | jason-neal/Starfish | 4ffa45e0190fb6f3262511d57d1a563e5ee711de | [
"BSD-3-Clause"
] | 5 | 2016-06-11T09:48:16.000Z | 2019-08-07T19:52:41.000Z | #!/usr/bin/env python
import hdfutils
hdfutils.GR_list(hdfutils.flatchainList) | 16 | 40 | 0.8125 | 11 | 80 | 5.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 80 | 5 | 40 | 16 | 0.864865 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4022048beaf9e62006b590c7f562be2560bb6504 | 96 | py | Python | __main__.py | justJDev/Crosswords | 8cbc8b2e4dc12b523d5a43baeeec832267101c52 | [
"MIT"
] | null | null | null | __main__.py | justJDev/Crosswords | 8cbc8b2e4dc12b523d5a43baeeec832267101c52 | [
"MIT"
] | null | null | null | __main__.py | justJDev/Crosswords | 8cbc8b2e4dc12b523d5a43baeeec832267101c52 | [
"MIT"
] | null | null | null | import tkinter
from game import CrosswordsGame
CrosswordsGame().new_game()
tkinter.mainloop()
| 13.714286 | 31 | 0.8125 | 11 | 96 | 7 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 96 | 6 | 32 | 16 | 0.895349 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
40292e606bac6356035c19823b121a70f86632aa | 96 | py | Python | Echo.py | shaharh21-meet/meet2019y1lab3 | e6ec01576be32bed1ed0f7b405f1f03752fe6bc4 | [
"MIT"
] | null | null | null | Echo.py | shaharh21-meet/meet2019y1lab3 | e6ec01576be32bed1ed0f7b405f1f03752fe6bc4 | [
"MIT"
] | null | null | null | Echo.py | shaharh21-meet/meet2019y1lab3 | e6ec01576be32bed1ed0f7b405f1f03752fe6bc4 | [
"MIT"
] | null | null | null | user = input("Say something! ")
print(user.upper())
print(user.lower())
print(user.swapcase())
| 16 | 31 | 0.6875 | 13 | 96 | 5.076923 | 0.615385 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 96 | 5 | 32 | 19.2 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.