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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e7ae89117a33d8e43ba9e0859ca0989ca0c9948b | 148,057 | py | Python | models/Modules_chutak.py | mdswyz/MCN-light-source-transfer | 7ca3ab5559302ce7b2f71ebdcfdfddadc57e9f83 | [
"Apache-2.0"
] | 11 | 2021-03-30T06:28:34.000Z | 2021-12-16T06:33:25.000Z | models/Modules_chutak.py | mdswyz/MCN-light-source-transfer | 7ca3ab5559302ce7b2f71ebdcfdfddadc57e9f83 | [
"Apache-2.0"
] | null | null | null | models/Modules_chutak.py | mdswyz/MCN-light-source-transfer | 7ca3ab5559302ce7b2f71ebdcfdfddadc57e9f83 | [
"Apache-2.0"
] | null | null | null | from torchvision import models
import torch
import torch.nn as nn
import torch.nn.functional as F
import functools
from torch.autograd import Variable
import numpy as np
import torch.nn.utils.spectral_norm as spectral_norm
from torch.distributions import Normal
#########################################... | 45.194444 | 149 | 0.583424 | 20,605 | 148,057 | 3.983062 | 0.033293 | 0.019617 | 0.031144 | 0.027379 | 0.851763 | 0.831231 | 0.808142 | 0.791437 | 0.776876 | 0.769614 | 0 | 0.052005 | 0.288416 | 148,057 | 3,275 | 150 | 45.208244 | 0.72699 | 0.159189 | 0 | 0.654613 | 0 | 0 | 0.034462 | 0.004177 | 0 | 0 | 0 | 0 | 0.008809 | 1 | 0.073713 | false | 0 | 0.004636 | 0.002782 | 0.148818 | 0.003709 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7b603d73fd37231ffbd489215b81e513e436766 | 122 | py | Python | src/kaa/audio.py | mmicek/kaa | 3583edf19b0e453c7de6c316a08d9eda72a1fcfc | [
"MIT"
] | 17 | 2019-07-10T12:24:53.000Z | 2022-02-19T21:39:19.000Z | src/kaa/audio.py | mmicek/kaa | 3583edf19b0e453c7de6c316a08d9eda72a1fcfc | [
"MIT"
] | 29 | 2019-07-10T12:30:58.000Z | 2021-12-30T15:33:44.000Z | src/kaa/audio.py | mmicek/kaa | 3583edf19b0e453c7de6c316a08d9eda72a1fcfc | [
"MIT"
] | 8 | 2019-03-26T23:08:40.000Z | 2022-01-10T03:39:59.000Z | from ._kaa import Sound, SoundPlayback, Music, AudioStatus
__all__ = ('Sound', 'SoundPlayback', 'Music', 'AudioStatus')
| 24.4 | 60 | 0.729508 | 12 | 122 | 7 | 0.666667 | 0.428571 | 0.547619 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122951 | 122 | 4 | 61 | 30.5 | 0.785047 | 0 | 0 | 0 | 0 | 0 | 0.278689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e7bdd9f8743a87b1e609ede7bff534092f6d74b4 | 24 | py | Python | clipster/__init__.py | mc51/Clipster-Desktop-Py | dab5888b3a7a08771d93c4ab51b5adafcc3a3054 | [
"MIT"
] | 3 | 2021-09-06T05:58:53.000Z | 2021-11-16T14:24:22.000Z | clipster/__init__.py | mc51/Clipster-Desktop-Py | dab5888b3a7a08771d93c4ab51b5adafcc3a3054 | [
"MIT"
] | null | null | null | clipster/__init__.py | mc51/Clipster-Desktop-Py | dab5888b3a7a08771d93c4ab51b5adafcc3a3054 | [
"MIT"
] | 2 | 2021-08-31T10:04:09.000Z | 2021-09-06T05:58:55.000Z | from .clipster import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
99b8b895eb5ffb34a7360e5812305b25d0dfd08e | 21 | py | Python | tdml/dataframe/pandas/__init__.py | zechengz/tdml | af60d35b7b62259e414edaa0a45fb2d3563b0430 | [
"MIT"
] | 2 | 2020-08-08T00:36:23.000Z | 2021-06-21T19:51:30.000Z | tdml/dataframe/pandas/__init__.py | zechengz/tdml | af60d35b7b62259e414edaa0a45fb2d3563b0430 | [
"MIT"
] | null | null | null | tdml/dataframe/pandas/__init__.py | zechengz/tdml | af60d35b7b62259e414edaa0a45fb2d3563b0430 | [
"MIT"
] | 1 | 2020-10-06T19:40:41.000Z | 2020-10-06T19:40:41.000Z | from .dframe import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
99c5d6cc4d6ff918b3cb0d087798ef3e4fd9ccbe | 440 | py | Python | src/python/gedmatch_tools/api/_constants.py | nh13/gedmatch-tools | df93b005152974669701bd779bfd873e60b39a72 | [
"MIT"
] | 10 | 2019-04-22T19:50:12.000Z | 2022-03-06T14:56:42.000Z | src/python/gedmatch_tools/api/_constants.py | nh13/gedmatch-tools | df93b005152974669701bd779bfd873e60b39a72 | [
"MIT"
] | 1 | 2022-01-28T18:22:12.000Z | 2022-01-29T20:08:39.000Z | src/python/gedmatch_tools/api/_constants.py | nh13/gedmatch-tools | df93b005152974669701bd779bfd873e60b39a72 | [
"MIT"
] | 4 | 2019-01-21T08:23:04.000Z | 2022-01-29T20:30:29.000Z |
# The XPATH to determine if the main page has fully loaded
HOME_PAGE_XPATH: str = '/html/body/center/table/tbody/tr[2]/td/center/table[1]/tbody/tr/td[3]' + \
'/table/tbody/tr/td/ul[1]/li[1]/a'
# The XPATH on the main page to the table listing the kits
KITS_XPATH: str = '/html/body/center/table/... | 48.888889 | 98 | 0.636364 | 80 | 440 | 3.4625 | 0.3625 | 0.176895 | 0.216607 | 0.115523 | 0.545126 | 0.545126 | 0.418773 | 0.418773 | 0.418773 | 0.418773 | 0 | 0.027933 | 0.186364 | 440 | 8 | 99 | 55 | 0.74581 | 0.256818 | 0 | 0 | 0 | 0.75 | 0.674923 | 0.674923 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
99f998f5bbc85aa28c967b9f9aa75f84af2eafbf | 129 | py | Python | 04_strings/mul.py | maornesimi/python-course-examples | f2e606f142a9d331075db73fd451c4418dba45ed | [
"MIT"
] | 2 | 2016-07-06T08:47:01.000Z | 2019-12-15T05:09:24.000Z | 04_strings/mul.py | maornesimi/python-course-examples | f2e606f142a9d331075db73fd451c4418dba45ed | [
"MIT"
] | 143 | 2016-10-14T07:33:55.000Z | 2018-11-06T19:13:52.000Z | 04_strings/mul.py | maornesimi/python-course-examples | f2e606f142a9d331075db73fd451c4418dba45ed | [
"MIT"
] | 43 | 2016-10-13T15:49:47.000Z | 2019-09-10T09:14:52.000Z | """ mul.py """
for i in range(1,10):
for j in range(1,10):
result = i * j
print "%4d" % (result),
print
| 16.125 | 31 | 0.457364 | 21 | 129 | 2.809524 | 0.571429 | 0.237288 | 0.271186 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 0.356589 | 129 | 7 | 32 | 18.428571 | 0.626506 | 0 | 0 | 0 | 0 | 0 | 0.026087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
823a25b2b3dd6bdfd6f2015e737a1f280a7fd716 | 843 | py | Python | utils/data_loaders/lcsts_loader.py | lvyufeng/keras_text_sum | 2953136bf1dc5dcf78961b7a1252c5ba63940958 | [
"MIT"
] | 6 | 2019-01-28T07:41:12.000Z | 2021-01-05T18:30:01.000Z | utils/data_loaders/lcsts_loader.py | lvyufeng/keras_text_sum | 2953136bf1dc5dcf78961b7a1252c5ba63940958 | [
"MIT"
] | null | null | null | utils/data_loaders/lcsts_loader.py | lvyufeng/keras_text_sum | 2953136bf1dc5dcf78961b7a1252c5ba63940958 | [
"MIT"
] | 3 | 2019-02-26T11:59:46.000Z | 2021-09-05T15:34:01.000Z | from bs4 import BeautifulSoup
import jieba
def load_text(path):
f = open(path)
soup = BeautifulSoup(f,'lxml')
f.close()
summary = soup.select('doc > summary')
short_text = soup.select('doc > short_text')
summary = [i.text.strip('\n').strip() for i in summary]
short_text = [i.text.strip('\... | 26.34375 | 86 | 0.647687 | 128 | 843 | 4.132813 | 0.289063 | 0.170132 | 0.181474 | 0.083176 | 0.79017 | 0.79017 | 0.79017 | 0.79017 | 0.79017 | 0.79017 | 0 | 0.004367 | 0.185053 | 843 | 32 | 87 | 26.34375 | 0.765648 | 0.074733 | 0 | 0.6 | 0 | 0 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
412fd9d471aa8cb8fccf4ad688f04801287f5f56 | 27 | py | Python | corrections/__init__.py | cmantill/HHbbVV | 51b97949d8976e81f2a6d1806b0d07d946793bdf | [
"MIT"
] | 2 | 2021-07-14T20:37:50.000Z | 2021-07-14T20:38:06.000Z | corrections/__init__.py | cmantill/HHbbVV | 51b97949d8976e81f2a6d1806b0d07d946793bdf | [
"MIT"
] | 1 | 2021-07-02T21:29:07.000Z | 2021-07-02T21:29:07.000Z | corrections/__init__.py | cmantill/HHbbVV | 51b97949d8976e81f2a6d1806b0d07d946793bdf | [
"MIT"
] | 1 | 2021-06-30T17:16:28.000Z | 2021-06-30T17:16:28.000Z | from .corrections import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
418c4a73e80dcb6fff3fcfd05599acf532512fa3 | 108 | py | Python | Simple-Video-Editor/src/__init__.py | HetDaftary/Python-Projects | 0035f697402815380bd3444488b7fe3b2a871d2a | [
"MIT"
] | 5 | 2021-02-08T13:53:16.000Z | 2021-09-20T05:14:19.000Z | Simple-Video-Editor/src/__init__.py | HetDaftary/Python-Projects | 0035f697402815380bd3444488b7fe3b2a871d2a | [
"MIT"
] | 1 | 2021-07-29T20:00:34.000Z | 2021-07-29T20:00:34.000Z | Simple-Video-Editor/src/__init__.py | HetDaftary/Python-Projects | 0035f697402815380bd3444488b7fe3b2a871d2a | [
"MIT"
] | 1 | 2021-08-31T04:22:17.000Z | 2021-08-31T04:22:17.000Z | from .MergeVideos import mergeVideosDifferentProfile, mergeVideosSameProfile
from .CutVideos import cutVideo | 54 | 76 | 0.898148 | 9 | 108 | 10.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 2 | 77 | 54 | 0.97 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
41a0178fd3cf92ea1d2ee8aa924e667e6fc7ad27 | 183 | py | Python | test.py | noahmorrison/limp | c5ec70558e9f462c81db8cb325f87e1734a1088a | [
"MIT"
] | 11 | 2015-11-08T09:12:01.000Z | 2020-06-04T13:06:27.000Z | test.py | noahmorrison/limp | c5ec70558e9f462c81db8cb325f87e1734a1088a | [
"MIT"
] | null | null | null | test.py | noahmorrison/limp | c5ec70558e9f462c81db8cb325f87e1734a1088a | [
"MIT"
] | 4 | 2016-01-25T03:57:10.000Z | 2022-03-03T07:59:21.000Z | #!/usr/bin/python
import limp
import json
import sys
print('json' in sys.modules) # False
print(', '.join(json.loads('["Hello", "World!"]')))
print('json' in sys.modules) # True
| 16.636364 | 51 | 0.655738 | 27 | 183 | 4.444444 | 0.592593 | 0.15 | 0.183333 | 0.233333 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136612 | 183 | 10 | 52 | 18.3 | 0.759494 | 0.147541 | 0 | 0.333333 | 0 | 0 | 0.189542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
41a6190b372bb388cf1b842dd615656865e6858e | 28 | py | Python | app/__init__.py | tahesse/Kvinder | ae24ff64b04c31e7fe55e8fcd80d4d2b18613520 | [
"Apache-2.0"
] | 1 | 2020-09-22T04:35:27.000Z | 2020-09-22T04:35:27.000Z | app/__init__.py | tahesse/Kvinder | ae24ff64b04c31e7fe55e8fcd80d4d2b18613520 | [
"Apache-2.0"
] | null | null | null | app/__init__.py | tahesse/Kvinder | ae24ff64b04c31e7fe55e8fcd80d4d2b18613520 | [
"Apache-2.0"
] | 1 | 2020-12-19T15:34:05.000Z | 2020-12-19T15:34:05.000Z | from app.shell import Shell
| 14 | 27 | 0.821429 | 5 | 28 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
41bbfba9b2debfccbfe7fa396f01d7ce1d1562c4 | 133 | py | Python | v1/notifications/constants.py | nishp77/Validator | 77888fc95db1c69a8a734a6d4eded5fe539ac0b6 | [
"MIT"
] | 43 | 2020-07-12T23:08:35.000Z | 2021-11-28T00:50:49.000Z | v1/notifications/constants.py | nishp77/Validator | 77888fc95db1c69a8a734a6d4eded5fe539ac0b6 | [
"MIT"
] | 72 | 2020-07-15T02:33:15.000Z | 2021-10-04T20:52:13.000Z | v1/notifications/constants.py | nishp77/Validator | 77888fc95db1c69a8a734a6d4eded5fe539ac0b6 | [
"MIT"
] | 43 | 2020-07-13T08:14:24.000Z | 2021-10-04T17:33:26.000Z | # Notification types
CRAWL_STATUS_NOTIFICATION = 'CRAWL_STATUS_NOTIFICATION'
CLEAN_STATUS_NOTIFICATION = 'CLEAN_STATUS_NOTIFICATION'
| 33.25 | 55 | 0.879699 | 14 | 133 | 7.785714 | 0.357143 | 0.66055 | 0.422018 | 0.53211 | 0.587156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067669 | 133 | 3 | 56 | 44.333333 | 0.879032 | 0.135338 | 0 | 0 | 0 | 0 | 0.442478 | 0.442478 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68eb54e2574e4f70d18496043802d5d90c06f1ff | 8,010 | py | Python | bot/modules/rclone.py | wwpry/bot-y | 6b28a73891048e75576e6653a168c3d3d73ba1f2 | [
"MIT"
] | null | null | null | bot/modules/rclone.py | wwpry/bot-y | 6b28a73891048e75576e6653a168c3d3d73ba1f2 | [
"MIT"
] | null | null | null | bot/modules/rclone.py | wwpry/bot-y | 6b28a73891048e75576e6653a168c3d3d73ba1f2 | [
"MIT"
] | null | null | null | import time
import subprocess
import sys
import re
import json
import os
import threading
def hum_convert(value):
value=float(value)
units = ["B", "KB", "MB", "GB", "TB", "PB"]
size = 1024.0
for i in range(len(units)):
if (value / size) < 1:
return "%.2f%s" % (value, units[i])
... | 35.442478 | 169 | 0.535331 | 972 | 8,010 | 4.306584 | 0.176955 | 0.0344 | 0.049689 | 0.043 | 0.779981 | 0.771381 | 0.759914 | 0.759914 | 0.71548 | 0.71548 | 0 | 0.007282 | 0.314232 | 8,010 | 225 | 170 | 35.6 | 0.754779 | 0.062422 | 0 | 0.731183 | 0 | 0.010753 | 0.14625 | 0.047905 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026882 | false | 0 | 0.037634 | 0 | 0.091398 | 0.155914 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68ede84c350929e49aa43a0556966aae98cbe3e9 | 98 | py | Python | bentoml/_internal/runner/__init__.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | 1 | 2022-02-13T05:35:47.000Z | 2022-02-13T05:35:47.000Z | bentoml/_internal/runner/__init__.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | 4 | 2021-05-16T08:06:25.000Z | 2021-11-13T08:46:36.000Z | bentoml/_internal/runner/__init__.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | null | null | null | from .runner import Runner
from .runner import SimpleRunner
__all__ = ["Runner", "SimpleRunner"]
| 19.6 | 36 | 0.765306 | 11 | 98 | 6.454545 | 0.454545 | 0.28169 | 0.450704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 4 | 37 | 24.5 | 0.835294 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
68f8359c8b1c2d8358dfb7883b479a14946f2243 | 19,155 | py | Python | sentry/tests/tests.py | justquick/django-sentry | 07988759144524ba49bc63b308663244d1a69d04 | [
"BSD-3-Clause"
] | 1 | 2016-03-21T18:56:31.000Z | 2016-03-21T18:56:31.000Z | sentry/tests/tests.py | justquick/django-sentry | 07988759144524ba49bc63b308663244d1a69d04 | [
"BSD-3-Clause"
] | null | null | null | sentry/tests/tests.py | justquick/django-sentry | 07988759144524ba49bc63b308663244d1a69d04 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.core.handlers.wsgi import WSGIRequest
from django.core.urlresolvers import reverse
from django.core.signals import got_request_exception
from django.test.client import Client
from django.test import TestCase
from django.utils.encoding import smart_unicode
from sentry.middleware imp... | 38.932927 | 168 | 0.61869 | 2,136 | 19,155 | 5.473783 | 0.117509 | 0.119056 | 0.087239 | 0.030106 | 0.790541 | 0.77027 | 0.764625 | 0.755645 | 0.725966 | 0.718782 | 0 | 0.016407 | 0.252258 | 19,155 | 492 | 168 | 38.932927 | 0.799902 | 0.008823 | 0 | 0.692506 | 0 | 0.005168 | 0.122445 | 0.004268 | 0 | 0 | 0 | 0.002033 | 0.260982 | 0 | null | null | 0 | 0.043928 | null | null | 0.002584 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b62733bf5a7ddb9c8672ae8d7a929987629eff9 | 97 | py | Python | nimp/__main__.py | phisko/nimp | ff58641e43b9c9ac7191ade4c4907f5c97452bf2 | [
"MIT"
] | 14 | 2016-06-10T10:24:10.000Z | 2022-03-03T03:10:18.000Z | nimp/__main__.py | phisko/nimp | ff58641e43b9c9ac7191ade4c4907f5c97452bf2 | [
"MIT"
] | 6 | 2017-08-23T16:45:42.000Z | 2022-02-01T17:06:37.000Z | nimp/__main__.py | phisko/nimp | ff58641e43b9c9ac7191ade4c4907f5c97452bf2 | [
"MIT"
] | 6 | 2017-12-20T14:21:14.000Z | 2021-11-18T20:53:21.000Z | import sys
import nimp.nimp_cli
if __name__ == "__main__":
sys.exit(nimp.nimp_cli.main())
| 12.125 | 34 | 0.701031 | 15 | 97 | 3.866667 | 0.533333 | 0.275862 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 7 | 35 | 13.857143 | 0.716049 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6b70cb77ceb4f41ab10f624a091bdc7c815205b2 | 221 | py | Python | halalar/halalar/storages.py | jawaidss/halalar-web | abb5db6fa83aba7b7a280fcff1b880f36c0b4548 | [
"MIT"
] | 1 | 2015-11-09T22:09:43.000Z | 2015-11-09T22:09:43.000Z | halalar/halalar/storages.py | jawaidss/halalar-web | abb5db6fa83aba7b7a280fcff1b880f36c0b4548 | [
"MIT"
] | null | null | null | halalar/halalar/storages.py | jawaidss/halalar-web | abb5db6fa83aba7b7a280fcff1b880f36c0b4548 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from storages.backends.s3boto import S3BotoStorage
MediaS3BotoStorage = lambda: S3BotoStorage(bucket='halalar-media')
StaticS3BotoStorage = lambda: S3BotoStorage(bucket='halalar') | 36.833333 | 66 | 0.841629 | 22 | 221 | 8.227273 | 0.636364 | 0.209945 | 0.276243 | 0.353591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029557 | 0.081448 | 221 | 6 | 67 | 36.833333 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6b80f541b0d66cf7f46c6dac9df1cf18465dd510 | 1,260 | py | Python | q2/1_Graph/pair_count.py | PostQuantum/Buckyball-Ising-Model | d4883ff670a7131161de53bcbff7947851403635 | [
"MIT"
] | 8 | 2019-05-10T01:23:24.000Z | 2020-03-13T03:00:21.000Z | q2/1_Graph/pair_count.py | PostQuantum/Buckyball-Ising-Model | d4883ff670a7131161de53bcbff7947851403635 | [
"MIT"
] | null | null | null | q2/1_Graph/pair_count.py | PostQuantum/Buckyball-Ising-Model | d4883ff670a7131161de53bcbff7947851403635 | [
"MIT"
] | 2 | 2019-09-30T23:57:04.000Z | 2021-03-08T13:02:13.000Z | import numpy as np
def count(LM):
co = 0
if LM.shape[0]>2:
index = np.argwhere(LM==1)[:5]
for it in index:
lm_ = np.delete(LM,it[0],0)
lm_ = np.delete(lm_,it[1]-1,0)
lm_ = np.delete(lm_,it[0],1)
lm = np.delete(lm_,it[1]-1,1)
L... | 30 | 67 | 0.342857 | 258 | 1,260 | 1.616279 | 0.116279 | 0.22542 | 0.215827 | 0.182254 | 0.498801 | 0.498801 | 0.422062 | 0.328537 | 0.304556 | 0.251799 | 0 | 0.250693 | 0.426984 | 1,260 | 41 | 68 | 30.731707 | 0.32687 | 0 | 0 | 0.058824 | 0 | 0 | 0.016667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.029412 | 0 | 0.088235 | 0.029412 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6bf5d9f95016f228b878be946b2a9abe1d478229 | 126 | py | Python | tests/conftest.py | koirikivi/eth-tester-rpc | 0e4c6bea177307ac6f5ecb7d813b4c0f22ada90b | [
"MIT"
] | null | null | null | tests/conftest.py | koirikivi/eth-tester-rpc | 0e4c6bea177307ac6f5ecb7d813b4c0f22ada90b | [
"MIT"
] | null | null | null | tests/conftest.py | koirikivi/eth-tester-rpc | 0e4c6bea177307ac6f5ecb7d813b4c0f22ada90b | [
"MIT"
] | null | null | null | import pytest
from tests.utils import (
get_open_port,
)
@pytest.fixture()
def open_port():
return get_open_port()
| 11.454545 | 26 | 0.706349 | 18 | 126 | 4.666667 | 0.611111 | 0.285714 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 126 | 10 | 27 | 12.6 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.285714 | 0.142857 | 0.571429 | 0 | 1 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
d44297e6be3782b57c7c2bd72a3ffec6184111e3 | 14,929 | py | Python | tests/integration/cartography/intel/azure/test_compute.py | Cloudanix/cartography | 653d3cccbb9318e876fd558d386593e3612f4f78 | [
"Apache-2.0"
] | null | null | null | tests/integration/cartography/intel/azure/test_compute.py | Cloudanix/cartography | 653d3cccbb9318e876fd558d386593e3612f4f78 | [
"Apache-2.0"
] | 11 | 2020-12-21T02:51:11.000Z | 2022-03-15T14:30:43.000Z | tests/integration/cartography/intel/azure/test_compute.py | Cloudanix/cartography | 653d3cccbb9318e876fd558d386593e3612f4f78 | [
"Apache-2.0"
] | 1 | 2021-02-05T08:08:47.000Z | 2021-02-05T08:08:47.000Z | from cartography.intel.azure import compute
from tests.data.azure.compute import DESCRIBE_DISKS
from tests.data.azure.compute import DESCRIBE_SNAPSHOTS
from tests.data.azure.compute import DESCRIBE_VM_DATA_DISKS
from tests.data.azure.compute import DESCRIBE_VMAVAILABLESIZES
from tests.data.azure.compute import DESCRIBE... | 28.167925 | 115 | 0.642307 | 1,567 | 14,929 | 5.900447 | 0.06254 | 0.050616 | 0.050616 | 0.033744 | 0.918992 | 0.91618 | 0.876812 | 0.844798 | 0.83528 | 0.817218 | 0 | 0.041529 | 0.248376 | 14,929 | 529 | 116 | 28.221172 | 0.782461 | 0.013464 | 0 | 0.688172 | 0 | 0.102151 | 0.190525 | 0.178344 | 0 | 0 | 0 | 0 | 0.043011 | 1 | 0.043011 | false | 0 | 0.024194 | 0 | 0.067204 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d44a8d978418665bc3b4e51a4e61e6b54a88beb8 | 147 | py | Python | animals/animals.py | przemekkot/object_forge | 84d4d364ed0dbbb97878df1c22ff9aec4564c8f4 | [
"MIT"
] | null | null | null | animals/animals.py | przemekkot/object_forge | 84d4d364ed0dbbb97878df1c22ff9aec4564c8f4 | [
"MIT"
] | null | null | null | animals/animals.py | przemekkot/object_forge | 84d4d364ed0dbbb97878df1c22ff9aec4564c8f4 | [
"MIT"
] | null | null | null | # encoding: utf-8
class Animals(object):
def __init__(self, sound):
self.sound = sound
def speak(self):
return self.sound | 18.375 | 30 | 0.619048 | 19 | 147 | 4.578947 | 0.631579 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.272109 | 147 | 8 | 31 | 18.375 | 0.803738 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2e04c774be9b36b55554eaa19261039d047766f4 | 39 | py | Python | helpscout/__init__.py | Gogen120/helpscout | 7e884247f5cd59c75b12792e331b25e9873a4207 | [
"MIT"
] | null | null | null | helpscout/__init__.py | Gogen120/helpscout | 7e884247f5cd59c75b12792e331b25e9873a4207 | [
"MIT"
] | null | null | null | helpscout/__init__.py | Gogen120/helpscout | 7e884247f5cd59c75b12792e331b25e9873a4207 | [
"MIT"
] | null | null | null | from helpscout.helpscout import Client
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e30343eed0c24a521404a2f139d3bb0c4b804c8 | 44 | py | Python | backend/__init__.py | bitter-social/bitter | d7cfcb825280d8a79f324538d9edf98bfbb0a06f | [
"MIT"
] | null | null | null | backend/__init__.py | bitter-social/bitter | d7cfcb825280d8a79f324538d9edf98bfbb0a06f | [
"MIT"
] | null | null | null | backend/__init__.py | bitter-social/bitter | d7cfcb825280d8a79f324538d9edf98bfbb0a06f | [
"MIT"
] | null | null | null | from .classes import *
from .helper import * | 22 | 22 | 0.75 | 6 | 44 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 23 | 22 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e464304ab8efc22ebbe7f43a0c86f6390ca306b | 1,803 | py | Python | 07_AdvancedConvolution/PySodium/sodium/data_loader/data_loaders.py | Septank766/TSAI-DeepVision-EVA4.0 | 02265d7e3e06789d0ee634a38399c6f0e01cfcbd | [
"MIT"
] | 22 | 2020-05-16T08:15:48.000Z | 2021-12-30T14:38:31.000Z | 07_AdvancedConvolution/PySodium/sodium/data_loader/data_loaders.py | Septank766/TSAI-DeepVision-EVA4.0 | 02265d7e3e06789d0ee634a38399c6f0e01cfcbd | [
"MIT"
] | 1 | 2020-09-07T17:10:41.000Z | 2020-09-09T20:51:31.000Z | 07_AdvancedConvolution/PySodium/sodium/data_loader/data_loaders.py | Septank766/TSAI-DeepVision-EVA4.0 | 02265d7e3e06789d0ee634a38399c6f0e01cfcbd | [
"MIT"
] | 43 | 2020-03-07T22:08:41.000Z | 2022-03-16T21:07:30.000Z | from sodium.base import BaseDataLoader
from torchvision import datasets
from torch.utils.data import DataLoader
class MNISTDataLoader(BaseDataLoader):
def __init__(self, transforms, data_dir, batch_size, shuffle, nworkers, train=True):
self.data_dir = data_dir
self.train_loader = datasets.MNIST... | 28.619048 | 88 | 0.622851 | 191 | 1,803 | 5.596859 | 0.204188 | 0.065482 | 0.06174 | 0.059869 | 0.869972 | 0.869972 | 0.869972 | 0.847521 | 0.847521 | 0.847521 | 0 | 0.004666 | 0.286744 | 1,803 | 62 | 89 | 29.080645 | 0.826594 | 0 | 0 | 0.680851 | 0 | 0 | 0.023295 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.06383 | 0.042553 | 0.234043 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e595a2b97d99aaad9f0cb5b01f322ff3807ed98 | 86 | py | Python | autogoal/experimental/augly_tony/transformers/__init__.py | 70nybl4nc0/autogoal | 4fc95a451ee3c0a2893de315fdb27e32e3288b41 | [
"MIT"
] | null | null | null | autogoal/experimental/augly_tony/transformers/__init__.py | 70nybl4nc0/autogoal | 4fc95a451ee3c0a2893de315fdb27e32e3288b41 | [
"MIT"
] | null | null | null | autogoal/experimental/augly_tony/transformers/__init__.py | 70nybl4nc0/autogoal | 4fc95a451ee3c0a2893de315fdb27e32e3288b41 | [
"MIT"
] | null | null | null | from ._text import *
from ._image import *
from ._audio import *
from ._util import *
| 17.2 | 21 | 0.72093 | 12 | 86 | 4.833333 | 0.5 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 4 | 22 | 21.5 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5cff209bdc16988d2a359732b655b41e85919bed | 46 | py | Python | PythonCodes/Exercises/Class-SEAS/pycycle-student/pycycle/__init__.py | Nicolucas/C-Scripts | 2608df5c2e635ad16f422877ff440af69f98f960 | [
"MIT"
] | 1 | 2020-02-25T08:05:13.000Z | 2020-02-25T08:05:13.000Z | PythonCodes/Exercises/Class-SEAS/pycycle-student/pycycle/__init__.py | Nicolucas/C-Scripts | 2608df5c2e635ad16f422877ff440af69f98f960 | [
"MIT"
] | null | null | null | PythonCodes/Exercises/Class-SEAS/pycycle-student/pycycle/__init__.py | Nicolucas/C-Scripts | 2608df5c2e635ad16f422877ff440af69f98f960 | [
"MIT"
] | null | null | null | from . import bem, green, mesh, seas, monitor
| 23 | 45 | 0.717391 | 7 | 46 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 1 | 46 | 46 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cf0d8e7c607f274aaf09da8d4446260366bc30d3 | 81 | py | Python | integrations/__init__.py | soxoj/maigret-adapter | 146593aea09cad417282e038c82ef7d4d33ff19b | [
"MIT"
] | 8 | 2021-08-07T13:54:48.000Z | 2022-02-26T09:30:46.000Z | integrations/__init__.py | soxoj/maigret-adapter | 146593aea09cad417282e038c82ef7d4d33ff19b | [
"MIT"
] | null | null | null | integrations/__init__.py | soxoj/maigret-adapter | 146593aea09cad417282e038c82ef7d4d33ff19b | [
"MIT"
] | 4 | 2021-08-07T13:54:49.000Z | 2022-02-08T22:26:02.000Z | from .mailcat_adapter import MailcatService
from .test_adapter import TestService | 40.5 | 43 | 0.888889 | 10 | 81 | 7 | 0.7 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 81 | 2 | 44 | 40.5 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cf53e6ee039b83632961be64bbe345a9d7d4a4ff | 166 | py | Python | Mundos/Mundo 1/Aulas/Aula/Aula 10.py | NicolasdeLimaAlves/Curso-de-Python | 4987a2c8075a76f676aa69bfd968fdf8d1c7fa52 | [
"MIT"
] | null | null | null | Mundos/Mundo 1/Aulas/Aula/Aula 10.py | NicolasdeLimaAlves/Curso-de-Python | 4987a2c8075a76f676aa69bfd968fdf8d1c7fa52 | [
"MIT"
] | null | null | null | Mundos/Mundo 1/Aulas/Aula/Aula 10.py | NicolasdeLimaAlves/Curso-de-Python | 4987a2c8075a76f676aa69bfd968fdf8d1c7fa52 | [
"MIT"
] | null | null | null | nome = str(input('Qual é o seu nome: '))
if nome == 'Gustavo':
print('Seu nome é legal!')
else:
print('Seu nome é normal!')
print('Bom dia, {}!'.format(nome)) | 27.666667 | 40 | 0.60241 | 27 | 166 | 3.703704 | 0.592593 | 0.21 | 0.24 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186747 | 166 | 6 | 41 | 27.666667 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0.437126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
cf7a4140d62776f416cd8e21aea56ee8f9ef4c02 | 56 | py | Python | inviteExportmail/inviteexportmail/controllers/manage/__init__.py | tongpa/InviteExportmail | a95ba5262c15beb0771f759c66baa80ddff78cc5 | [
"Apache-2.0"
] | null | null | null | inviteExportmail/inviteexportmail/controllers/manage/__init__.py | tongpa/InviteExportmail | a95ba5262c15beb0771f759c66baa80ddff78cc5 | [
"Apache-2.0"
] | null | null | null | inviteExportmail/inviteexportmail/controllers/manage/__init__.py | tongpa/InviteExportmail | a95ba5262c15beb0771f759c66baa80ddff78cc5 | [
"Apache-2.0"
] | null | null | null | from .exportdatamailjm import ExportDataMailJMController | 56 | 56 | 0.928571 | 4 | 56 | 13 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 56 | 1 | 56 | 56 | 0.981132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cf817bc9c82061a7b002f42410423f773ddc0540 | 32 | py | Python | pymcq/examples/__init__.py | sglumac/pymcq | 38da70ad76e6959fdff2de82b514da50b621223d | [
"MIT"
] | 1 | 2020-04-03T09:15:22.000Z | 2020-04-03T09:15:22.000Z | pymcq/examples/__init__.py | sglumac/pymcq | 38da70ad76e6959fdff2de82b514da50b621223d | [
"MIT"
] | null | null | null | pymcq/examples/__init__.py | sglumac/pymcq | 38da70ad76e6959fdff2de82b514da50b621223d | [
"MIT"
] | null | null | null | import pymcq.examples.heavymath
| 16 | 31 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 32 | 1 | 32 | 32 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d86bd9ff5f3da91927cd8f0669cc2e324bb731e6 | 186 | py | Python | protocourse/admin.py | UICHCC/uicCourse | 3c34d0f765e583be05f084df1e6ab63b1ed62ed6 | [
"MIT"
] | 3 | 2018-03-13T02:00:43.000Z | 2019-03-24T02:46:56.000Z | protocourse/admin.py | UICHCC/uicCourse | 3c34d0f765e583be05f084df1e6ab63b1ed62ed6 | [
"MIT"
] | 65 | 2018-02-08T16:01:53.000Z | 2021-11-10T14:59:37.000Z | protocourse/admin.py | UICHCC/uicCourse | 3c34d0f765e583be05f084df1e6ab63b1ed62ed6 | [
"MIT"
] | 2 | 2018-06-02T06:06:22.000Z | 2019-04-18T03:27:16.000Z | from django.contrib import admin
# Register your models here.
from . import models
# Register your models here.
admin.site.register(models.Module)
admin.site.register(models.Workload)
| 20.666667 | 36 | 0.795699 | 26 | 186 | 5.692308 | 0.461538 | 0.162162 | 0.243243 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 186 | 8 | 37 | 23.25 | 0.902439 | 0.284946 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d8701fd1313d48f4ae8c0e1d9eede2349d167c82 | 79 | py | Python | auth-center/conf/debug.py | Basic-Components/auth-center | bf03922be37161108426712465719f5a3f165834 | [
"MIT"
] | 1 | 2021-08-03T09:02:26.000Z | 2021-08-03T09:02:26.000Z | auth-center/conf/debug.py | Basic-Components/auth-center | bf03922be37161108426712465719f5a3f165834 | [
"MIT"
] | null | null | null | auth-center/conf/debug.py | Basic-Components/auth-center | bf03922be37161108426712465719f5a3f165834 | [
"MIT"
] | 1 | 2018-01-15T14:28:46.000Z | 2018-01-15T14:28:46.000Z | from .default import DefaultSetting
class DebugEnv(DefaultSetting):
pass
| 13.166667 | 35 | 0.78481 | 8 | 79 | 7.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 5 | 36 | 15.8 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d87be894cbb35406c07f1ffaeff048e97a1d847d | 27 | py | Python | aos_sw_api/snmpv3/__init__.py | KennethSoelberg/AOS-Switch | a5a2c54917bbb69fab044bf0b313bcf795642d30 | [
"MIT"
] | null | null | null | aos_sw_api/snmpv3/__init__.py | KennethSoelberg/AOS-Switch | a5a2c54917bbb69fab044bf0b313bcf795642d30 | [
"MIT"
] | 1 | 2020-12-24T15:36:56.000Z | 2021-01-28T23:19:57.000Z | aos_sw_api/snmpv3/__init__.py | KennethSoelberg/AOS-Switch | a5a2c54917bbb69fab044bf0b313bcf795642d30 | [
"MIT"
] | 1 | 2021-02-16T23:26:28.000Z | 2021-02-16T23:26:28.000Z | from ._snmpv3 import SnmpV3 | 27 | 27 | 0.851852 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.111111 | 27 | 1 | 27 | 27 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8878467cacdac8a5d11aee0b4e98531b7a0df4e | 64 | py | Python | pytools/modules/newyearcardgenerator/__init__.py | maopucheng/pytools | 7d42b0fb1ef539559d931db7b70ef6725d32617a | [
"MIT"
] | 757 | 2018-08-25T07:59:26.000Z | 2021-12-20T12:44:11.000Z | pytools/modules/newyearcardgenerator/__init__.py | junyang-zhou/pytools | eca4dbace589ba74a95628d1c285e75e20ea7d1e | [
"MIT"
] | 7 | 2020-02-19T00:42:44.000Z | 2021-09-04T07:42:51.000Z | pytools/modules/newyearcardgenerator/__init__.py | junyang-zhou/pytools | eca4dbace589ba74a95628d1c285e75e20ea7d1e | [
"MIT"
] | 485 | 2018-08-25T13:53:51.000Z | 2021-12-21T05:11:08.000Z | '''初始化'''
from .newyearcardgenerator import NewYearCardGenerator | 32 | 54 | 0.828125 | 5 | 64 | 10.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 64 | 2 | 54 | 32 | 0.883333 | 0.046875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b0b5ccf1fbc0e671c4a38297a73c7f093cb41b9 | 4,353 | py | Python | utils/visualize_sparse.py | caozidong/Depth-Completion | a4d95cd33f29c5c8610fc8f40dd3b1fc81186143 | [
"Apache-2.0"
] | 5 | 2021-01-19T13:59:14.000Z | 2021-12-01T12:09:01.000Z | utils/visualize_sparse.py | caozidong/Depth-Completion | a4d95cd33f29c5c8610fc8f40dd3b1fc81186143 | [
"Apache-2.0"
] | null | null | null | utils/visualize_sparse.py | caozidong/Depth-Completion | a4d95cd33f29c5c8610fc8f40dd3b1fc81186143 | [
"Apache-2.0"
] | null | null | null | from PIL import Image
import numpy as np
import matplotlib.pyplot as plt
import cv2
def colorize_roi(data, dilate, save_path, show):
# args:
# data: (np.float16) a numpy array
# dilate: (bool) whether to dilate the valid data points
# True -- for spase data
# False -- for dense dat... | 31.773723 | 113 | 0.573398 | 648 | 4,353 | 3.66358 | 0.121914 | 0.124684 | 0.169756 | 0.053075 | 0.847936 | 0.786436 | 0.747683 | 0.747683 | 0.747683 | 0.742207 | 0 | 0.045511 | 0.263037 | 4,353 | 136 | 114 | 32.007353 | 0.694514 | 0.132093 | 0 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.068966 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2b230dafa1f4fc5c3291cfedb89ca876882b4cf1 | 257 | py | Python | samos/analysis/__init__.py | lorisercole/samos | e0756f341a1f2faf86aa9c1d47d823879be2f084 | [
"MIT"
] | 2 | 2019-11-01T10:05:18.000Z | 2020-04-22T14:07:21.000Z | samos/analysis/__init__.py | lorisercole/samos | e0756f341a1f2faf86aa9c1d47d823879be2f084 | [
"MIT"
] | null | null | null | samos/analysis/__init__.py | lorisercole/samos | e0756f341a1f2faf86aa9c1d47d823879be2f084 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .dynamics import TimeSeries, DynamicsAnalyzer
from .rdf import BaseAnalyzer, RDF, AngularSpectrum
__all__ = ['TimeSeries', 'DynamicsAnalyzer', 'BaseAnalyzer', 'RDF', 'AngularSpectrum', 'get_gaussian_density']
from . import *
| 28.555556 | 110 | 0.7393 | 25 | 257 | 7.36 | 0.6 | 0.282609 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004425 | 0.120623 | 257 | 8 | 111 | 32.125 | 0.809735 | 0.081712 | 0 | 0 | 0 | 0 | 0.324786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b2bef3e65e641e1363092f7bf4473ac8342b50a | 255 | py | Python | ex107/moeda.py | bruceewmesmo/python-mundo-03 | b70b895499125a5fdaa8979caa2b3bee58f937bb | [
"MIT"
] | null | null | null | ex107/moeda.py | bruceewmesmo/python-mundo-03 | b70b895499125a5fdaa8979caa2b3bee58f937bb | [
"MIT"
] | null | null | null | ex107/moeda.py | bruceewmesmo/python-mundo-03 | b70b895499125a5fdaa8979caa2b3bee58f937bb | [
"MIT"
] | null | null | null | def aumentar(preco,taxa):
res = preco * (1 + taxa)
return res
def diminuir(preco,taxa):
res = preco * (1 - taxa)
return res
def dobro(preco):
res = preco * 2
return res
def metade(preco):
res = preco/2
return res
| 13.421053 | 28 | 0.576471 | 36 | 255 | 4.083333 | 0.305556 | 0.217687 | 0.244898 | 0.231293 | 0.77551 | 0.77551 | 0.462585 | 0.462585 | 0.462585 | 0 | 0 | 0.022857 | 0.313725 | 255 | 19 | 29 | 13.421053 | 0.817143 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
2b4a76949cb58cf64de3f24f6c825c872541f43d | 154 | py | Python | test/test_themes.py | sixninetynine/hiss-themes | 83fb76195fe8c4dd9f1e1d708244201e46562692 | [
"MIT"
] | null | null | null | test/test_themes.py | sixninetynine/hiss-themes | 83fb76195fe8c4dd9f1e1d708244201e46562692 | [
"MIT"
] | null | null | null | test/test_themes.py | sixninetynine/hiss-themes | 83fb76195fe8c4dd9f1e1d708244201e46562692 | [
"MIT"
] | null | null | null | from pygments.style import Style
from hiss.themes.tomorrow import Tomorrow
def test_wow_what_a_stupid_test():
assert isinstance(Tomorrow(), Style)
| 19.25 | 41 | 0.798701 | 22 | 154 | 5.363636 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 154 | 7 | 42 | 22 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
992c2952480fbe4d46bd8d34df8d429ef8ff9559 | 42 | py | Python | datamodels/validation/__init__.py | aleksapand/timeseriesmodeling | 3a0c4e3bab7b7919f322dee79f11b3855885fff2 | [
"MIT"
] | null | null | null | datamodels/validation/__init__.py | aleksapand/timeseriesmodeling | 3a0c4e3bab7b7919f322dee79f11b3855885fff2 | [
"MIT"
] | null | null | null | datamodels/validation/__init__.py | aleksapand/timeseriesmodeling | 3a0c4e3bab7b7919f322dee79f11b3855885fff2 | [
"MIT"
] | 1 | 2022-01-22T18:02:27.000Z | 2022-01-22T18:02:27.000Z | from datamodels.validation import metrics
| 21 | 41 | 0.880952 | 5 | 42 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9941a9abcb3b0a3459f3742e250b0554472362b6 | 2,961 | py | Python | tests/unit_tests/running_modes/reinforcement_learning/reaction_filters/test_non_selective_reaction_filter.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 26 | 2021-04-30T23:21:17.000Z | 2022-03-10T06:33:11.000Z | tests/unit_tests/running_modes/reinforcement_learning/reaction_filters/test_non_selective_reaction_filter.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 6 | 2021-10-03T08:35:48.000Z | 2022-03-24T09:57:39.000Z | tests/unit_tests/running_modes/reinforcement_learning/reaction_filters/test_non_selective_reaction_filter.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 10 | 2021-04-28T14:08:17.000Z | 2022-03-04T04:18:13.000Z | import unittest
from rdkit import Chem
from reinvent_chemistry.library_design import BondMaker, AttachmentPoints
from reaction_filters.reaction_filter_enum import ReactionFiltersEnum
from reaction_filters.reaction_filter import ReactionFilter
from running_modes.configurations import ReactionFilterConfiguration
from t... | 47.758065 | 122 | 0.762242 | 313 | 2,961 | 6.884984 | 0.207668 | 0.051972 | 0.036195 | 0.051972 | 0.795824 | 0.762413 | 0.762413 | 0.762413 | 0.762413 | 0.762413 | 0 | 0.004052 | 0.166498 | 2,961 | 62 | 123 | 47.758065 | 0.869125 | 0 | 0 | 0.711538 | 0 | 0 | 0.000675 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.115385 | false | 0 | 0.134615 | 0 | 0.288462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
995516d1810d025a1709fab40c6e305f18a34a9f | 146 | py | Python | erpnext_chinese/erpnext_chinese/doctype/user_default/test_user_default.py | eanfs/erpnext_chinese | 68c22267b37553092955f2c3c14d35cfdbb79873 | [
"MIT"
] | null | null | null | erpnext_chinese/erpnext_chinese/doctype/user_default/test_user_default.py | eanfs/erpnext_chinese | 68c22267b37553092955f2c3c14d35cfdbb79873 | [
"MIT"
] | null | null | null | erpnext_chinese/erpnext_chinese/doctype/user_default/test_user_default.py | eanfs/erpnext_chinese | 68c22267b37553092955f2c3c14d35cfdbb79873 | [
"MIT"
] | 1 | 2022-01-27T01:20:08.000Z | 2022-01-27T01:20:08.000Z | # Copyright (c) 2021, Fisher and Contributors
# See license.txt
# import frappe
import unittest
class TestUserDefault(unittest.TestCase):
pass
| 16.222222 | 45 | 0.780822 | 18 | 146 | 6.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032 | 0.143836 | 146 | 8 | 46 | 18.25 | 0.88 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
995c08a6de531789ce9d7b77a24ba017786ad07b | 23 | py | Python | DeepBrainSeg/tumor/__init__.py | JordanMicahBennett/DeepBrainSeg | 659dd439d20d4c024fe337874eadb90deffc40a4 | [
"MIT"
] | 1 | 2021-01-01T18:06:50.000Z | 2021-01-01T18:06:50.000Z | DeepBrainSeg/tumor/__init__.py | JordanMicahBennett/DeepBrainSeg | 659dd439d20d4c024fe337874eadb90deffc40a4 | [
"MIT"
] | null | null | null | DeepBrainSeg/tumor/__init__.py | JordanMicahBennett/DeepBrainSeg | 659dd439d20d4c024fe337874eadb90deffc40a4 | [
"MIT"
] | 1 | 2021-01-01T18:06:52.000Z | 2021-01-01T18:06:52.000Z | from .Tester import *
| 7.666667 | 21 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
999429bb80625d567b9b1ae40692d04ab23c31a6 | 41 | py | Python | pylusat/__init__.py | ChangjieChen/pylusat | 1a82abac63b163d7dca2efae887f356345c1b890 | [
"BSD-3-Clause"
] | 7 | 2021-05-28T15:02:39.000Z | 2022-03-08T15:05:42.000Z | pylusat/__init__.py | ChangjieChen/pylusat | 1a82abac63b163d7dca2efae887f356345c1b890 | [
"BSD-3-Clause"
] | 1 | 2022-03-25T18:52:45.000Z | 2022-03-29T15:39:13.000Z | pylusat/__init__.py | ChangjieChen/pylusat | 1a82abac63b163d7dca2efae887f356345c1b890 | [
"BSD-3-Clause"
] | null | null | null | from pylusat._version import __version__
| 20.5 | 40 | 0.878049 | 5 | 41 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
99a28f920b27ff07fae21ed10922633f247fb266 | 83 | py | Python | bin/1800.py | pijll/xxmaker | 654d639e2f170b373a1a955b15cee07ed4cfa5ab | [
"MIT"
] | null | null | null | bin/1800.py | pijll/xxmaker | 654d639e2f170b373a1a955b15cee07ed4cfa5ab | [
"MIT"
] | null | null | null | bin/1800.py | pijll/xxmaker | 654d639e2f170b373a1a955b15cee07ed4cfa5ab | [
"MIT"
] | null | null | null | from xxmaker.game.g1800 import create_1800
create_1800(output_file='output/1800')
| 20.75 | 42 | 0.831325 | 13 | 83 | 5.076923 | 0.692308 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207792 | 0.072289 | 83 | 3 | 43 | 27.666667 | 0.649351 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
99a933cd405ce24eeefb620839252430cc12a688 | 37 | py | Python | automl/__init__.py | mjbahmani/oboe | 9e10acae0c708b026c2198fbe26ac6d84b2ca399 | [
"BSD-3-Clause"
] | null | null | null | automl/__init__.py | mjbahmani/oboe | 9e10acae0c708b026c2198fbe26ac6d84b2ca399 | [
"BSD-3-Clause"
] | null | null | null | automl/__init__.py | mjbahmani/oboe | 9e10acae0c708b026c2198fbe26ac6d84b2ca399 | [
"BSD-3-Clause"
] | null | null | null | from auto_learner import AutoLearner
| 18.5 | 36 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
41ea22cbf5808eb32e20098d4e89c4a0fe633148 | 37 | py | Python | test/extramodule2.py | jseppanen/disco | 23ef8badfc7c539672e8834875d9908974b646dc | [
"BSD-3-Clause"
] | 2 | 2016-05-09T17:03:08.000Z | 2016-07-19T11:27:54.000Z | test/extramodule2.py | jseppanen/disco | 23ef8badfc7c539672e8834875d9908974b646dc | [
"BSD-3-Clause"
] | null | null | null | test/extramodule2.py | jseppanen/disco | 23ef8badfc7c539672e8834875d9908974b646dc | [
"BSD-3-Clause"
] | null | null | null |
def kungfu(x):
return x + 2
| 9.25 | 20 | 0.486486 | 6 | 37 | 3 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.405405 | 37 | 3 | 21 | 12.333333 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5102bbca0569e05fe99635efb0bdb38e4ab06b34 | 89 | py | Python | src/aspire/basis/fpswf_3d.py | PrincetonUniversity/ASPIRE-Python | 1bff8d3884183203bd77695a76bccb1efc909fd3 | [
"MIT"
] | 7 | 2018-11-07T16:45:35.000Z | 2020-01-10T16:54:26.000Z | src/aspire/basis/fpswf_3d.py | PrincetonUniversity/ASPIRE-Python | 1bff8d3884183203bd77695a76bccb1efc909fd3 | [
"MIT"
] | 1 | 2019-04-05T18:41:39.000Z | 2019-04-05T18:41:39.000Z | src/aspire/basis/fpswf_3d.py | PrincetonUniversity/ASPIRE-Python | 1bff8d3884183203bd77695a76bccb1efc909fd3 | [
"MIT"
] | 2 | 2019-06-04T17:01:53.000Z | 2019-07-08T19:01:40.000Z | from aspire.basis.pswf_3d import PSWFBasis3D
class FPSWFBasis3D(PSWFBasis3D):
pass
| 14.833333 | 44 | 0.797753 | 11 | 89 | 6.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.146067 | 89 | 5 | 45 | 17.8 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5144e8a845cee6e8225d7cb9cbdef2024d63c1fe | 27 | py | Python | 3_team/tests/sample.py | pyfirst/pymook-samplecode | 82321237c34515d287f28bd51ea86f870c1f5514 | [
"MIT"
] | 31 | 2017-09-27T14:54:39.000Z | 2021-05-26T14:03:44.000Z | 3_team/tests/sample.py | pyfirst/pymook-samplecode | 82321237c34515d287f28bd51ea86f870c1f5514 | [
"MIT"
] | 11 | 2018-03-11T05:28:14.000Z | 2022-03-11T23:19:36.000Z | 3_team/tests/sample.py | pyfirst/pymook-samplecode | 82321237c34515d287f28bd51ea86f870c1f5514 | [
"MIT"
] | 41 | 2017-10-21T04:45:56.000Z | 2021-07-16T14:12:33.000Z | def run():
return 'OK'
| 9 | 15 | 0.518519 | 4 | 27 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 27 | 2 | 16 | 13.5 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
5145decb6131f4b5ca0c70184473aebe6384f6fd | 297 | py | Python | pykotor/resource/formats/ssf/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | 1 | 2022-02-21T15:17:28.000Z | 2022-02-21T15:17:28.000Z | pykotor/resource/formats/ssf/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | 1 | 2022-03-12T16:06:23.000Z | 2022-03-12T16:06:23.000Z | pykotor/resource/formats/ssf/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | null | null | null | from pykotor.resource.formats.ssf.data import SSF, SSFSound
from pykotor.resource.formats.ssf.io_binary import SSFBinaryReader, SSFBinaryWriter
from pykotor.resource.formats.ssf.io_xml import SSFXMLReader, SSFXMLWriter
from pykotor.resource.formats.ssf.auto import detect_ssf, load_ssf, write_ssf
| 59.4 | 83 | 0.858586 | 42 | 297 | 5.952381 | 0.452381 | 0.176 | 0.304 | 0.416 | 0.48 | 0.248 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 297 | 4 | 84 | 74.25 | 0.905797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5aa05a7cb761b8c9262135aea68405768d262f2c | 21 | py | Python | example_project/some_modules/third_modules/a147.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a147.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a147.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A147:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5ac81fa63e86a9ed92fba417581d51caff2ff7ff | 487 | py | Python | 2021/fevrier/02.py | rene-d/calendrier-math | 0c258368e4bfc54a3d1b8c7e2405fa7a95e2ed62 | [
"MIT"
] | null | null | null | 2021/fevrier/02.py | rene-d/calendrier-math | 0c258368e4bfc54a3d1b8c7e2405fa7a95e2ed62 | [
"MIT"
] | null | null | null | 2021/fevrier/02.py | rene-d/calendrier-math | 0c258368e4bfc54a3d1b8c7e2405fa7a95e2ed62 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import numpy as np
M = np.array(
(
[1, -1, 0, 0, 0, 0, 0, 0],
[0.4, 0.4, 0, -1, 0, 0, 0, 0],
[0.6, 0.6, -1, 0, 0, 0, 0, 0],
[0, 0, 0, -0.75, 0, 1, 0, 0],
[-1, 0, 0, 0, 1, 1, 0, 0],
[0, -1, 0, 0, 0, 0, 1, 1],
[0, 0, 0, -1, 0, 1, 0, 1],
... | 22.136364 | 40 | 0.367556 | 109 | 487 | 1.623853 | 0.211009 | 0.440678 | 0.491525 | 0.451977 | 0.361582 | 0.361582 | 0.305085 | 0.265537 | 0.112994 | 0.112994 | 0 | 0.259494 | 0.351129 | 487 | 21 | 41 | 23.190476 | 0.300633 | 0.061602 | 0 | 0 | 0 | 0 | 0.017582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.058824 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5adf20d240af1f8ddc43efb93128e088e5f21f85 | 6,258 | py | Python | build/lib/deepstomata/stomata_input.py | totti0223/deepstomata | e4f5dd5d1a65232ed13f6bea6f4d1f02d1494558 | [
"MIT"
] | 5 | 2018-07-10T00:59:59.000Z | 2021-07-02T02:39:33.000Z | build/lib/deepstomata/stomata_input.py | totti0223/deepstomata | e4f5dd5d1a65232ed13f6bea6f4d1f02d1494558 | [
"MIT"
] | null | null | null | build/lib/deepstomata/stomata_input.py | totti0223/deepstomata | e4f5dd5d1a65232ed13f6bea6f4d1f02d1494558 | [
"MIT"
] | 3 | 2018-12-21T20:42:02.000Z | 2019-11-02T10:26:37.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import tensorflow as tf
IMAGE_SIZE = 150
INPUT_SIZE = 96
DST_INPUT_SIZE = 56
NUM_CLASS = 4
NUM_EXAMPLES_PER_EPOCH_FOR_TRAIN = 500
def load_data_for_test(csv, batch_size):
return load_data(csv, batch_size, shuffle = False, distored = False)
def load_data(csv, batch_si... | 40.901961 | 98 | 0.676574 | 849 | 6,258 | 4.700825 | 0.168433 | 0.054372 | 0.066149 | 0.054122 | 0.825106 | 0.800802 | 0.771736 | 0.771736 | 0.766725 | 0.766725 | 0 | 0.02316 | 0.220358 | 6,258 | 152 | 99 | 41.171053 | 0.794835 | 0.233941 | 0 | 0.594059 | 0 | 0 | 0.00965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049505 | false | 0 | 0.009901 | 0.009901 | 0.108911 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
85153dfcce30c161c21e18323c347e8830499c82 | 5,585 | py | Python | tests/test_forum.py | stevenhvtran/flask_forum | 818b421f717bc5202750deac6368df616d7f52f2 | [
"MIT"
] | null | null | null | tests/test_forum.py | stevenhvtran/flask_forum | 818b421f717bc5202750deac6368df616d7f52f2 | [
"MIT"
] | null | null | null | tests/test_forum.py | stevenhvtran/flask_forum | 818b421f717bc5202750deac6368df616d7f52f2 | [
"MIT"
] | null | null | null | import pytest
import base64
expected_post_dict = {
'post_id': 1,
'title': 'test title',
'body': 'test body',
'author_id': 1,
'author_name': 'test123',
'url': '/api/post/1'
}
@pytest.mark.usefixtures('client_with_user')
def test_index(client_with_user):
valid_cr... | 43.632813 | 97 | 0.671262 | 683 | 5,585 | 5.221083 | 0.121523 | 0.086932 | 0.062815 | 0.094223 | 0.894279 | 0.875491 | 0.859787 | 0.834549 | 0.822771 | 0.745934 | 0 | 0.031781 | 0.18872 | 5,585 | 127 | 98 | 43.976378 | 0.755242 | 0 | 0 | 0.6 | 0 | 0 | 0.214324 | 0.021307 | 0 | 0 | 0 | 0 | 0.27 | 1 | 0.12 | false | 0 | 0.02 | 0 | 0.14 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
851ba8d077685d9db464b535463096017507e91a | 42 | py | Python | fast_knn_nmt/custom_fairseq/data/__init__.py | Crazy-Chick/fast-knn-nmt | 7336bbe0be1240e70d3c3ac71c4e7cfb4f4ea4ff | [
"Apache-2.0"
] | 22 | 2021-05-31T15:14:37.000Z | 2022-03-18T06:26:21.000Z | fast_knn_nmt/custom_fairseq/data/__init__.py | Crazy-Chick/fast-knn-nmt | 7336bbe0be1240e70d3c3ac71c4e7cfb4f4ea4ff | [
"Apache-2.0"
] | 3 | 2021-10-06T09:54:03.000Z | 2021-10-13T12:11:53.000Z | fast_knn_nmt/custom_fairseq/data/__init__.py | Crazy-Chick/fast-knn-nmt | 7336bbe0be1240e70d3c3ac71c4e7cfb4f4ea4ff | [
"Apache-2.0"
] | 4 | 2021-06-02T16:12:02.000Z | 2022-02-28T12:18:24.000Z | from .knn_nmt_dataset import KNNNMTDataset | 42 | 42 | 0.904762 | 6 | 42 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
517e914f8c7c124aa37b86d2a3ede2b05f1b2ad8 | 28 | py | Python | tf_learning/engine/__init__.py | anton-matosov/tf-learning | e9ed045e22615facb8c2a8cb1552f5a0735999d2 | [
"MIT"
] | null | null | null | tf_learning/engine/__init__.py | anton-matosov/tf-learning | e9ed045e22615facb8c2a8cb1552f5a0735999d2 | [
"MIT"
] | null | null | null | tf_learning/engine/__init__.py | anton-matosov/tf-learning | e9ed045e22615facb8c2a8cb1552f5a0735999d2 | [
"MIT"
] | null | null | null | from . engine import Engine
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51936512dbfd3cef2d6d66a7e0b1fbd68ebc20e9 | 134 | py | Python | tests/warnings/semantic/UNDEFINED_DECORATOR.py | dina-fouad/pyccel | f4d919e673b400442b9c7b81212b6fbef749c7b7 | [
"MIT"
] | 206 | 2018-06-28T00:28:47.000Z | 2022-03-29T05:17:03.000Z | tests/warnings/semantic/UNDEFINED_DECORATOR.py | dina-fouad/pyccel | f4d919e673b400442b9c7b81212b6fbef749c7b7 | [
"MIT"
] | 670 | 2018-07-23T11:02:24.000Z | 2022-03-30T07:28:05.000Z | tests/warnings/semantic/UNDEFINED_DECORATOR.py | dina-fouad/pyccel | f4d919e673b400442b9c7b81212b6fbef749c7b7 | [
"MIT"
] | 19 | 2019-09-19T06:01:00.000Z | 2022-03-29T05:17:06.000Z | # pylint: disable=missing-function-docstring, missing-module-docstring/
@toto # pylint: disable=undefined-variable
def f():
pass
| 22.333333 | 71 | 0.753731 | 16 | 134 | 6.3125 | 0.75 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 134 | 5 | 72 | 26.8 | 0.855932 | 0.776119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
51cc775a2b75ce0c1f8cc226d414006c305a3040 | 115 | py | Python | tests/modules/core/test_speedtest.py | spxtr/bumblebee-status | 45125f39af8323775aeabf809ae5ae80cfe3ccd9 | [
"MIT"
] | 1,089 | 2016-11-06T10:02:53.000Z | 2022-03-26T12:53:30.000Z | tests/modules/core/test_speedtest.py | spxtr/bumblebee-status | 45125f39af8323775aeabf809ae5ae80cfe3ccd9 | [
"MIT"
] | 817 | 2016-11-05T05:42:39.000Z | 2022-03-25T19:43:52.000Z | tests/modules/core/test_speedtest.py | spxtr/bumblebee-status | 45125f39af8323775aeabf809ae5ae80cfe3ccd9 | [
"MIT"
] | 317 | 2016-11-05T00:35:06.000Z | 2022-03-24T13:35:03.000Z | import pytest
pytest.importorskip("speedtest")
def test_load_module():
__import__("modules.core.speedtest")
| 14.375 | 40 | 0.765217 | 13 | 115 | 6.307692 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 115 | 7 | 41 | 16.428571 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0.27193 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.75 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cfccf5ef931f60d44cd48a90a70be91b85809f47 | 115 | py | Python | Uche Clare/Phase 1/Python Basic 1/Day-6/Task 44.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Uche Clare/Phase 1/Python Basic 1/Day-6/Task 44.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Uche Clare/Phase 1/Python Basic 1/Day-6/Task 44.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #program to locate Python site-packages.
import site
def main():
return (site.getsitepackages())
print(main()) | 19.166667 | 40 | 0.730435 | 15 | 115 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 115 | 6 | 41 | 19.166667 | 0.848485 | 0.33913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cfd4bfc34525a8b4496e17824e0bc521da3d4082 | 191 | py | Python | punk/preppy/cleanNumbers.py | NewKnowledge/punk | 53007a38433023f9a9f5cf39786b1c5a28f1f996 | [
"MIT"
] | 2 | 2017-08-23T16:58:01.000Z | 2020-07-03T01:53:34.000Z | punk/preppy/cleanNumbers.py | NewKnowledge/punk | 53007a38433023f9a9f5cf39786b1c5a28f1f996 | [
"MIT"
] | 11 | 2017-08-18T17:19:21.000Z | 2022-03-18T15:54:40.000Z | punk/preppy/cleanNumbers.py | NewKnowledge/punk | 53007a38433023f9a9f5cf39786b1c5a28f1f996 | [
"MIT"
] | 2 | 2017-09-11T19:38:04.000Z | 2020-05-28T00:58:05.000Z | import pandas as pd
from .clean_list import clean_numbers
class CleanNumbers():
def clean_numbers(self, inputs: pd.DataFrame) -> pd.DataFrame:
return inputs.apply(clean_numbers)
| 27.285714 | 66 | 0.753927 | 26 | 191 | 5.384615 | 0.615385 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162304 | 191 | 6 | 67 | 31.833333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
cfd6b41d497d8a7d5ee2c0d03c8420fb436ab6b0 | 192 | py | Python | examples/readme/escaping/test_escaping.py | abilian/viewdom | 9ceed007e67606c9a0125633132b4af3fdaf8680 | [
"MIT"
] | 3 | 2020-06-19T21:10:00.000Z | 2021-02-22T12:34:17.000Z | examples/readme/escaping/test_escaping.py | abilian/viewdom | 9ceed007e67606c9a0125633132b4af3fdaf8680 | [
"MIT"
] | 32 | 2020-05-22T22:15:50.000Z | 2022-03-31T02:24:21.000Z | examples/readme/escaping/test_escaping.py | abilian/viewdom | 9ceed007e67606c9a0125633132b4af3fdaf8680 | [
"MIT"
] | 2 | 2020-05-22T20:18:09.000Z | 2022-01-08T15:31:55.000Z | """Test an example."""
from . import main
def test_readme_escaping() -> None:
"""Ensure the demo matches expected."""
assert main() == "<div><span>Escaping</span></div>"
| 24 | 67 | 0.635417 | 27 | 192 | 4.444444 | 0.740741 | 0.1 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 192 | 7 | 68 | 27.428571 | 0.740741 | 0.260417 | 0 | 0 | 0 | 0 | 0.335878 | 0.335878 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5c7a19f1e952438f7aa05f1be360e2383d872731 | 31 | py | Python | part4/usercustomize.py | mozillazg/apm-python-agent-principle | cd2b16b3c5d39153eeae10a436b57916990ece1d | [
"MIT"
] | 33 | 2016-04-24T05:43:35.000Z | 2022-03-01T11:26:25.000Z | part4/usercustomize.py | mozillazg/apm-python-agent-principle | cd2b16b3c5d39153eeae10a436b57916990ece1d | [
"MIT"
] | null | null | null | part4/usercustomize.py | mozillazg/apm-python-agent-principle | cd2b16b3c5d39153eeae10a436b57916990ece1d | [
"MIT"
] | 11 | 2016-07-03T07:11:14.000Z | 2019-09-03T04:15:46.000Z | print('this is usercustomize')
| 15.5 | 30 | 0.774194 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5cb5b3cc8c9712c1ad7afd1f48d726983f78046f | 20 | py | Python | ob_pipelines/apps/rseqc/__init__.py | ASemakov/ob-pipelines | ea475cd2c34ae2eccbf59563fe7caea06266c450 | [
"Apache-2.0"
] | 11 | 2017-01-22T22:08:45.000Z | 2020-03-10T20:17:14.000Z | ob_pipelines/apps/rseqc/__init__.py | BeKitzur/ob-pipelines | 8ee4ebd5803d72d0babce25b13399c9cdd0f686e | [
"Apache-2.0"
] | null | null | null | ob_pipelines/apps/rseqc/__init__.py | BeKitzur/ob-pipelines | 8ee4ebd5803d72d0babce25b13399c9cdd0f686e | [
"Apache-2.0"
] | 6 | 2017-01-23T01:24:33.000Z | 2018-07-18T13:30:06.000Z | from .rseqc import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5cbce2f585479f4f047288d19603049e99398c57 | 8,188 | py | Python | tests/test_rewards.py | mbecker12/surface-rl-decoder | 5399c4caabda8154feaa6027e14057cef82843b3 | [
"MIT"
] | 2 | 2021-07-15T16:32:42.000Z | 2021-11-07T18:08:00.000Z | tests/test_rewards.py | mbecker12/surface-rl-decoder | 5399c4caabda8154feaa6027e14057cef82843b3 | [
"MIT"
] | 96 | 2021-02-22T15:08:29.000Z | 2021-07-23T07:58:25.000Z | tests/test_rewards.py | mbecker12/surface-rl-decoder | 5399c4caabda8154feaa6027e14057cef82843b3 | [
"MIT"
] | null | null | null | from src.surface_rl_decoder.surface_code import SurfaceCode
from src.surface_rl_decoder.surface_code_util import (
NON_TRIVIAL_LOOP_REWARD,
SYNDROME_LEFT_REWARD,
SOLVED_EPISODE_REWARD,
TERMINAL_ACTION,
copy_array_values,
create_syndrome_output_stack,
)
from tests.data_episode_test import (
_... | 31.015152 | 80 | 0.691378 | 1,211 | 8,188 | 4.402147 | 0.086705 | 0.066029 | 0.115551 | 0.101294 | 0.888764 | 0.867379 | 0.839055 | 0.817295 | 0.809792 | 0.809792 | 0 | 0.034488 | 0.203224 | 8,188 | 263 | 81 | 31.13308 | 0.782649 | 0.133 | 0 | 0.69186 | 0 | 0 | 0.000283 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 1 | 0.052326 | false | 0 | 0.017442 | 0 | 0.069767 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5cc704cc41b03558c1f58322a01bd14f14aa6a7c | 22 | py | Python | display/__init__.py | dysfunctionals/soton-analytica-display | 78f57b7be0807256f347ba0e0af97895201b2a69 | [
"MIT"
] | 1 | 2020-12-15T19:57:01.000Z | 2020-12-15T19:57:01.000Z | display/__init__.py | dysfunctionals/soton-analytica-display | 78f57b7be0807256f347ba0e0af97895201b2a69 | [
"MIT"
] | 4 | 2018-05-05T21:48:27.000Z | 2018-05-06T07:41:31.000Z | display/__init__.py | dysfunctionals/soton-analytica-display | 78f57b7be0807256f347ba0e0af97895201b2a69 | [
"MIT"
] | null | null | null | from .text import Text | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7a5a592116f2ffa345711d744f8f9f269580caa8 | 12,912 | py | Python | .c9/metadata/workspace/tutorials/views.py | bipoza/unikastaroak | 4044d3ff3eaa4172275a8f46d9765a3840a51d7b | [
"Apache-2.0"
] | null | null | null | .c9/metadata/workspace/tutorials/views.py | bipoza/unikastaroak | 4044d3ff3eaa4172275a8f46d9765a3840a51d7b | [
"Apache-2.0"
] | null | null | null | .c9/metadata/workspace/tutorials/views.py | bipoza/unikastaroak | 4044d3ff3eaa4172275a8f46d9765a3840a51d7b | [
"Apache-2.0"
] | null | null | null | {"filter":false,"title":"views.py","tooltip":"/tutorials/views.py","undoManager":{"mark":102,"position":100,"stack":[[{"start":{"row":100,"column":70},"end":{"row":100,"column":72},"action":"insert","lines":["''"],"id":314}],[{"start":{"row":100,"column":71},"end":{"row":100,"column":72},"action":"insert","lines":["c"]... | 12,912 | 12,912 | 0.561571 | 1,860 | 12,912 | 3.89086 | 0.145699 | 0.127125 | 0.211414 | 0.075169 | 0.5114 | 0.342822 | 0.28907 | 0.284234 | 0.259362 | 0.129335 | 0 | 0.111896 | 0.002633 | 12,912 | 1 | 12,912 | 12,912 | 0.45007 | 0 | 0 | 0 | 0 | 0 | 0.458453 | 0.020832 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7aaf3a4c0357ede2c055c778338594d7cf493c44 | 4,882 | py | Python | backend/stock/migrations/0017_balancesheet.py | fengxia41103/stock | 1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1 | [
"MIT"
] | 1 | 2021-09-30T05:25:08.000Z | 2021-09-30T05:25:08.000Z | backend/stock/migrations/0017_balancesheet.py | fengxia41103/stock | 1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1 | [
"MIT"
] | 8 | 2021-09-30T05:27:09.000Z | 2021-12-03T23:02:24.000Z | backend/stock/migrations/0017_balancesheet.py | fengxia41103/stock | 1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1 | [
"MIT"
] | 3 | 2021-09-29T05:11:45.000Z | 2021-10-31T07:26:31.000Z | # Generated by Django 3.1.6 on 2021-02-15 01:55
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('stock', '0016_incomestatement_basic_eps'),
]
operations = [
migrations.CreateModel(
name='Balan... | 72.865672 | 135 | 0.63642 | 552 | 4,882 | 5.480072 | 0.208333 | 0.133884 | 0.305455 | 0.363636 | 0.728926 | 0.728926 | 0.728926 | 0.728926 | 0.606942 | 0.280331 | 0 | 0.016471 | 0.21651 | 4,882 | 66 | 136 | 73.969697 | 0.774379 | 0.009218 | 0 | 0 | 1 | 0 | 0.191934 | 0.094933 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8fca0f2aafc782000bfa976d24a9c0618b83b0c6 | 12,154 | py | Python | models/automl.py | spencer-hong/QSARBO | a9fa8cbf058abea715fe2c721564f662ed8b1135 | [
"MIT"
] | 1 | 2021-05-23T01:03:50.000Z | 2021-05-23T01:03:50.000Z | models/automl.py | spencerhongcornell/QSARBO | a9fa8cbf058abea715fe2c721564f662ed8b1135 | [
"MIT"
] | 5 | 2020-09-26T01:07:48.000Z | 2022-02-10T01:59:34.000Z | models/automl.py | spencer-hong/QSARBO | a9fa8cbf058abea715fe2c721564f662ed8b1135 | [
"MIT"
] | null | null | null | from tpot import TPOTRegressor
from tpot import TPOTClassifier
from sklearn.model_selection import train_test_split
import numpy as np
from models.classes import prepare as prepare
from models.classes import randomforest as randomforest
from models.classes import randomforestc as randomforestc
from sklearn.metrics.scor... | 40.922559 | 296 | 0.685782 | 1,528 | 12,154 | 5.280105 | 0.16623 | 0.011899 | 0.019831 | 0.018592 | 0.771319 | 0.731904 | 0.719633 | 0.711824 | 0.711824 | 0.705131 | 0 | 0.011107 | 0.111075 | 12,154 | 297 | 297 | 40.922559 | 0.735653 | 0.063847 | 0 | 0.723849 | 0 | 0 | 0.217583 | 0.079634 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029289 | false | 0 | 0.054393 | 0.008368 | 0.112971 | 0.188285 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8fe9c8fecbd6a64baf806db9fca84150e76b9bcf | 32 | py | Python | brainframe_qt/ui/resources/alarms/alarm_bundle/alarm_card/alert_log/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 17 | 2021-02-11T18:19:22.000Z | 2022-02-08T06:12:50.000Z | brainframe_qt/ui/resources/alarms/alarm_bundle/alarm_card/alert_log/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 80 | 2021-02-11T08:27:31.000Z | 2021-10-13T21:33:22.000Z | brainframe_qt/ui/resources/alarms/alarm_bundle/alarm_card/alert_log/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 5 | 2021-02-12T09:51:34.000Z | 2022-02-08T09:25:15.000Z | from .alert_log import AlertLog
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
890812ba0804f5156aac0cff30ef836f529f0619 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_internal/commands/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_internal/commands/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_internal/commands/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/13/61/07/62fe860b0725e29b7549c3b0922e51f0d6c7a65937706df9aa09aa1930 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.479167 | 0 | 96 | 1 | 96 | 96 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f1be36c112658b8b8bbb13971977e63764a1e05 | 83 | py | Python | q3serverquery/__init__.py | cwilkc/q3serverquery | a265a7515a2f4f445da7a6c5acf870aaabfdcda2 | [
"MIT"
] | null | null | null | q3serverquery/__init__.py | cwilkc/q3serverquery | a265a7515a2f4f445da7a6c5acf870aaabfdcda2 | [
"MIT"
] | null | null | null | q3serverquery/__init__.py | cwilkc/q3serverquery | a265a7515a2f4f445da7a6c5acf870aaabfdcda2 | [
"MIT"
] | 1 | 2020-04-01T00:23:35.000Z | 2020-04-01T00:23:35.000Z | from .masterserver import Quake3MasterServer
from .masterserver import Quake3Server | 41.5 | 44 | 0.891566 | 8 | 83 | 9.25 | 0.625 | 0.432432 | 0.594595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.084337 | 83 | 2 | 45 | 41.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8f26a14c8007f1c396570f287f0224db59262036 | 9,828 | py | Python | plotter.py | OrBaruk/HoneyMapping | d47c4730da54055135dd7038cd5593df8b693747 | [
"MIT"
] | 1 | 2018-05-25T16:04:00.000Z | 2018-05-25T16:04:00.000Z | plotter.py | OrBaruk/HoneyMapping | d47c4730da54055135dd7038cd5593df8b693747 | [
"MIT"
] | 1 | 2018-07-11T11:55:21.000Z | 2018-07-19T14:04:51.000Z | plotter.py | OrBaruk/HoneyMapping | d47c4730da54055135dd7038cd5593df8b693747 | [
"MIT"
] | null | null | null | import sqlite3
import matplotlib.pyplot as plt
import datetime as datetime
def plot_attacks_all():
cursor = sqlite3.connect('db.sqlite3').cursor()
query = ("SELECT COUNT(*)"
" FROM attacks"
" WHERE attacks.dateTime BETWEEN ? AND ?"
" ORDER BY attacks.dateTime ASC")
initialDay = datetime.datetime(2014,10,... | 24.508728 | 81 | 0.657509 | 1,460 | 9,828 | 4.378082 | 0.131507 | 0.041615 | 0.04224 | 0.043179 | 0.782071 | 0.762046 | 0.755945 | 0.741083 | 0.73107 | 0.718867 | 0 | 0.057309 | 0.177961 | 9,828 | 400 | 82 | 24.57 | 0.733878 | 0.048942 | 0 | 0.728814 | 0 | 0 | 0.277724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040678 | false | 0 | 0.010169 | 0 | 0.057627 | 0.040678 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f2ff85f91fab0fd46063d7bd164ab48f17cd10f | 10,920 | py | Python | tests/features/arg_matching.py | flexmock/flexmock | 31091e747e38a2edb3ced6b64ae159b36110e83c | [
"BSD-2-Clause-FreeBSD"
] | 15 | 2021-07-05T13:21:38.000Z | 2022-01-06T02:53:26.000Z | tests/features/arg_matching.py | flexmock/flexmock | 31091e747e38a2edb3ced6b64ae159b36110e83c | [
"BSD-2-Clause-FreeBSD"
] | 93 | 2021-07-05T13:12:31.000Z | 2022-03-21T00:55:27.000Z | tests/features/arg_matching.py | flexmock/flexmock | 31091e747e38a2edb3ced6b64ae159b36110e83c | [
"BSD-2-Clause-FreeBSD"
] | 4 | 2021-07-12T21:05:34.000Z | 2021-08-22T07:54:10.000Z | """Tests for argument matching."""
# pylint: disable=missing-docstring,no-self-use,no-member
import re
from flexmock import exceptions, flexmock
from flexmock._api import flexmock_teardown
from tests import some_module
from tests.some_module import SomeClass
from tests.utils import assert_raises
class ArgumentMatchi... | 42.65625 | 99 | 0.584432 | 1,215 | 10,920 | 5.080658 | 0.095473 | 0.047951 | 0.061234 | 0.061234 | 0.828446 | 0.77353 | 0.752308 | 0.735137 | 0.707112 | 0.679086 | 0 | 0.025904 | 0.285897 | 10,920 | 255 | 100 | 42.823529 | 0.765709 | 0.020238 | 0 | 0.565217 | 0 | 0.008696 | 0.280007 | 0.079427 | 0 | 0 | 0 | 0 | 0.095652 | 1 | 0.086957 | false | 0.034783 | 0.026087 | 0.004348 | 0.16087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f3343a4d509c89f749b40f8e73cf18aded78fc6 | 31 | py | Python | Utilities/VTKPythonWrapping/paraview/vtk/infovis.py | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | 17 | 2015-02-17T00:30:26.000Z | 2022-03-17T06:13:02.000Z | Utilities/VTKPythonWrapping/paraview/vtk/infovis.py | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | null | null | null | Utilities/VTKPythonWrapping/paraview/vtk/infovis.py | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | 10 | 2015-08-31T18:20:17.000Z | 2022-02-02T15:16:21.000Z | from vtkInfovisPython import *
| 15.5 | 30 | 0.83871 | 3 | 31 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
56d397dda733dbc10a44624c1dd3cdc11cfe31cf | 33 | py | Python | tests/syntax/scripts/dicts.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | tests/syntax/scripts/dicts.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | tests/syntax/scripts/dicts.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | {1: 'one', 2: 'two'}
{a: 2, b:4}
| 11 | 20 | 0.363636 | 8 | 33 | 1.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.212121 | 33 | 2 | 21 | 16.5 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71027343f4fe042f3da8df379747332edeca2f05 | 187 | py | Python | openchat/openchat/models/__init__.py | linxi1158/iMIX | af87a17275f02c94932bb2e29f132a84db812002 | [
"Apache-2.0"
] | 23 | 2021-06-26T08:45:19.000Z | 2022-03-02T02:13:33.000Z | openchat/openchat/models/__init__.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | null | null | null | openchat/openchat/models/__init__.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | 9 | 2021-06-10T02:36:20.000Z | 2021-11-09T02:18:16.000Z | from openchat.models.base_model import BaseModel
from openchat.models.dialogpt import DialoGPT
from openchat.models.imagemodel import LxmertBot
__all__ = [BaseModel, DialoGPT, LxmertBot]
| 37.4 | 48 | 0.850267 | 23 | 187 | 6.695652 | 0.478261 | 0.233766 | 0.350649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 187 | 4 | 49 | 46.75 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
711e5b90b463bc7b79dc36ca6802b422dcef894e | 44 | py | Python | example_SetlX_stat_code/stat_python_code/stat_student.py | leonmutschke/setlX | a10333405cba3d9d814d7de9e160561bd5fa4f76 | [
"BSD-3-Clause"
] | 28 | 2015-01-14T11:12:02.000Z | 2022-02-15T21:06:05.000Z | example_SetlX_stat_code/stat_python_code/stat_student.py | leonmutschke/setlX | a10333405cba3d9d814d7de9e160561bd5fa4f76 | [
"BSD-3-Clause"
] | 6 | 2016-08-01T14:21:37.000Z | 2018-06-03T17:15:00.000Z | example_SetlX_stat_code/stat_python_code/stat_student.py | leonmutschke/setlX | a10333405cba3d9d814d7de9e160561bd5fa4f76 | [
"BSD-3-Clause"
] | 18 | 2015-02-11T21:10:18.000Z | 2018-05-02T07:41:41.000Z | from scipy.stats import t
print(t.pdf(2,3))
| 14.666667 | 25 | 0.727273 | 10 | 44 | 3.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.113636 | 44 | 2 | 26 | 22 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
713c35c8b43980ef4fa3e90f8d284bed22cdd222 | 3,774 | py | Python | term_project/codebase/model.py | JavisDaDa/COMP540ML | 9c50a7d0fcca02050e0269bf4337fe6caa3c65db | [
"MIT"
] | null | null | null | term_project/codebase/model.py | JavisDaDa/COMP540ML | 9c50a7d0fcca02050e0269bf4337fe6caa3c65db | [
"MIT"
] | null | null | null | term_project/codebase/model.py | JavisDaDa/COMP540ML | 9c50a7d0fcca02050e0269bf4337fe6caa3c65db | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from config import N_CLASSES
from torchvision import models
def load_model(name : str):
if name.startswith('resnext101'):
model = torch.hub.load('pytorch/vision:v0.5.0', 'resnext101_32x8d', pretrained=True)
num_features = model.fc.in_features
model.fc = n... | 40.148936 | 93 | 0.68548 | 464 | 3,774 | 5.390086 | 0.127155 | 0.123151 | 0.095962 | 0.106357 | 0.909636 | 0.891244 | 0.872051 | 0.872051 | 0.872051 | 0.872051 | 0 | 0.035218 | 0.217541 | 3,774 | 93 | 94 | 40.580645 | 0.811717 | 0 | 0 | 0.689655 | 0 | 0 | 0.091415 | 0.026762 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.045977 | 0 | 0.241379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
713d4f2ac2dead5dde76bd71323dcc7563469b64 | 232 | py | Python | graphViz/vispy/ext/_bundled/cassowary/error.py | cklamstudio/ethereum-graphviz | 6993accf0cb85e23013bf7ae6b04145724a6dbd2 | [
"Apache-2.0"
] | 2 | 2020-09-13T09:15:02.000Z | 2021-07-04T04:26:50.000Z | graphViz/vispy/ext/_bundled/cassowary/error.py | cklamstudio/ethereum-graphviz | 6993accf0cb85e23013bf7ae6b04145724a6dbd2 | [
"Apache-2.0"
] | 3 | 2021-06-08T22:52:09.000Z | 2021-09-08T02:48:20.000Z | graphViz/vispy/ext/_bundled/cassowary/error.py | onecklam/ethereum-graphviz | 6993accf0cb85e23013bf7ae6b04145724a6dbd2 | [
"Apache-2.0"
] | 1 | 2021-09-15T08:52:26.000Z | 2021-09-15T08:52:26.000Z | from __future__ import print_function, unicode_literals, absolute_import, division
class InternalError(Exception):
pass
class ConstraintNotFound(Exception):
pass
class RequiredFailure(Exception):
pass
| 16.571429 | 83 | 0.74569 | 22 | 232 | 7.545455 | 0.681818 | 0.23494 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202586 | 232 | 13 | 84 | 17.846154 | 0.897297 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0.142857 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8545d138d2f328224a83a6b5d906539857361758 | 55 | py | Python | python3/prac/__init__.py | danielnyga/prac-dev | 107855cb9ddc294467098334725065b3937af150 | [
"BSD-2-Clause"
] | 3 | 2018-10-04T05:13:02.000Z | 2022-01-18T15:06:05.000Z | python3/prac/__init__.py | danielnyga/prac-dev | 107855cb9ddc294467098334725065b3937af150 | [
"BSD-2-Clause"
] | 2 | 2017-03-01T07:17:14.000Z | 2019-06-26T14:28:57.000Z | python3/prac/__init__.py | danielnyga/prac-dev | 107855cb9ddc294467098334725065b3937af150 | [
"BSD-2-Clause"
] | 2 | 2018-12-18T23:01:11.000Z | 2020-12-15T08:57:19.000Z | from .core import locations
from .core.base import PRAC | 27.5 | 27 | 0.818182 | 9 | 55 | 5 | 0.666667 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 28 | 27.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
85619ddf268bf353c2e982f5c67e34403f90fb0e | 21 | py | Python | example_project/some_modules/third_modules/a187.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a187.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a187.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A187:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a40ea678d674fcb126665fd706d1b9f6e56999d3 | 23 | py | Python | dolphindb_numpy/fft/__init__.py | jiajiaxu123/Orca | e86189e70c1d0387816bb98b8047a6232fbda9df | [
"Apache-2.0"
] | 20 | 2019-12-02T11:49:12.000Z | 2021-12-24T19:34:32.000Z | dolphindb_numpy/fft/__init__.py | jiajiaxu123/Orca | e86189e70c1d0387816bb98b8047a6232fbda9df | [
"Apache-2.0"
] | null | null | null | dolphindb_numpy/fft/__init__.py | jiajiaxu123/Orca | e86189e70c1d0387816bb98b8047a6232fbda9df | [
"Apache-2.0"
] | 5 | 2019-12-02T12:16:22.000Z | 2021-10-22T02:27:47.000Z | from numpy.fft import * | 23 | 23 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a454d7e45632aa92cec001ef34d37b48220eaa37 | 58 | py | Python | feature_selection/__init__.py | yu-9824/feature_selection | acc0385b6b8c59c3b1994e79cc143a72fb392757 | [
"MIT"
] | null | null | null | feature_selection/__init__.py | yu-9824/feature_selection | acc0385b6b8c59c3b1994e79cc143a72fb392757 | [
"MIT"
] | null | null | null | feature_selection/__init__.py | yu-9824/feature_selection | acc0385b6b8c59c3b1994e79cc143a72fb392757 | [
"MIT"
] | null | null | null | from .filter_method import *
from .wrapper_method import * | 29 | 29 | 0.810345 | 8 | 58 | 5.625 | 0.625 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 2 | 29 | 29 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a46acb0ad39123c5abc2fac8e283399f2e208962 | 99 | py | Python | biothings_templates/{{src_package}}/src/www/api/es.py | cyrus0824/mybiothing.info | dd9cc10365888283e68ff0c4d7e19b13c7c8843d | [
"Apache-2.0"
] | null | null | null | biothings_templates/{{src_package}}/src/www/api/es.py | cyrus0824/mybiothing.info | dd9cc10365888283e68ff0c4d7e19b13c7c8843d | [
"Apache-2.0"
] | null | null | null | biothings_templates/{{src_package}}/src/www/api/es.py | cyrus0824/mybiothing.info | dd9cc10365888283e68ff0c4d7e19b13c7c8843d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from biothings.www.api.es import ESQuery
class ESQuery(ESQuery):
pass
| 16.5 | 40 | 0.676768 | 14 | 99 | 4.785714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.171717 | 99 | 5 | 41 | 19.8 | 0.804878 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a471d5d60c7bc1f788bb548c7780d4e7ea2c55af | 26,966 | py | Python | browsing/filters.py | acdh-oeaw/cbab | 7cd25f057913dccf85f851e448b1dbc2c5f8d624 | [
"MIT"
] | 1 | 2021-09-20T12:51:47.000Z | 2021-09-20T12:51:47.000Z | browsing/filters.py | acdh-oeaw/cbab | 7cd25f057913dccf85f851e448b1dbc2c5f8d624 | [
"MIT"
] | null | null | null | browsing/filters.py | acdh-oeaw/cbab | 7cd25f057913dccf85f851e448b1dbc2c5f8d624 | [
"MIT"
] | null | null | null | import django_filters
from . import forms
from browsing.forms import *
from burials.models import *
from vocabs.models import *
from places.models import *
# To do: django_filters.MethodFilter are commented because raising errors after version upgrade
# test and remove if not needed anymore
django_filters.filters.LOO... | 35.716556 | 105 | 0.695505 | 2,821 | 26,966 | 6.292449 | 0.07196 | 0.125965 | 0.116444 | 0.071996 | 0.844178 | 0.8337 | 0.827784 | 0.819616 | 0.817024 | 0.814039 | 0 | 0.000377 | 0.212638 | 26,966 | 754 | 106 | 35.763926 | 0.835673 | 0.03471 | 0 | 0.489884 | 0 | 0 | 0.12337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008671 | 0 | 0.261561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a49a52fac33a766ca239010fb6f0503a41c78b40 | 30 | py | Python | test_ukz/test_melody/__init__.py | clauderichard/Ultrakazoid | 619f1afd1fd55afb06e7d27b2bc30eee9929f660 | [
"MIT"
] | null | null | null | test_ukz/test_melody/__init__.py | clauderichard/Ultrakazoid | 619f1afd1fd55afb06e7d27b2bc30eee9929f660 | [
"MIT"
] | null | null | null | test_ukz/test_melody/__init__.py | clauderichard/Ultrakazoid | 619f1afd1fd55afb06e7d27b2bc30eee9929f660 | [
"MIT"
] | null | null | null |
from .test_gradient import *
| 10 | 28 | 0.766667 | 4 | 30 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 2 | 29 | 15 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1034b562ec8c12e28a195fac6deef7ec1e4c65a | 6,077 | py | Python | tests/licensing/test_oracle.py | rackerlabs/openstack-usage-report | f4f64f35605b2ec143b7ca292da18e5e684b9b3a | [
"Apache-2.0"
] | 7 | 2016-12-26T22:41:27.000Z | 2021-03-19T23:08:18.000Z | tests/licensing/test_oracle.py | rackerlabs/openstack-usage-report | f4f64f35605b2ec143b7ca292da18e5e684b9b3a | [
"Apache-2.0"
] | 2 | 2017-07-25T08:50:22.000Z | 2018-02-14T07:36:43.000Z | tests/licensing/test_oracle.py | rackerlabs/openstack-usage-report | f4f64f35605b2ec143b7ca292da18e5e684b9b3a | [
"Apache-2.0"
] | 4 | 2016-10-03T21:00:55.000Z | 2019-10-09T12:49:55.000Z | import mock
import unittest
from usage.licensing.oracle import CountLicenser
from usage.licensing.oracle import HourLicenser
class TestCountLicenser(unittest.TestCase):
"""Test the windows count licenser"""
costs = {
'best': {
'a': 5.0,
'b': 10.0
},
'good': {
... | 33.574586 | 79 | 0.489222 | 634 | 6,077 | 4.578864 | 0.094637 | 0.121254 | 0.099208 | 0.126765 | 0.951774 | 0.931106 | 0.931106 | 0.931106 | 0.931106 | 0.931106 | 0 | 0.021978 | 0.386046 | 6,077 | 180 | 80 | 33.761111 | 0.756098 | 0.11848 | 0 | 0.666667 | 0 | 0 | 0.247423 | 0.014246 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.013333 | false | 0 | 0.026667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f13df6537077623fe28868b36ed1baae83a5086a | 14,099 | py | Python | modules/ESP32/greeks.py | ccccmagicboy/MicroPython_fw | d2049bc19e3d5010f5d6d0d17aa13a8693914fbd | [
"MIT"
] | 23 | 2020-01-22T00:40:20.000Z | 2021-08-03T20:42:07.000Z | modules/ESP32/greeks.py | ccccmagicboy/MicroPython_fw | d2049bc19e3d5010f5d6d0d17aa13a8693914fbd | [
"MIT"
] | 10 | 2020-02-18T09:57:04.000Z | 2020-03-04T11:39:17.000Z | modules/ESP32/greeks.py | ccccmagicboy/MicroPython_fw | d2049bc19e3d5010f5d6d0d17aa13a8693914fbd | [
"MIT"
] | 5 | 2020-02-20T09:35:45.000Z | 2022-01-04T16:23:13.000Z | def glyphs():
return 96
_font =\
b'\x00\x4a\x5a\x08\x4d\x57\x52\x46\x52\x54\x20\x52\x52\x59\x51'\
b'\x5a\x52\x5b\x53\x5a\x52\x59\x05\x4a\x5a\x4e\x46\x4e\x4d\x20'\
b'\x52\x56\x46\x56\x4d\x0b\x48\x5d\x53\x42\x4c\x62\x20\x52\x59'\
b'\x42\x52\x62\x20\x52\x4c\x4f\x5a\x4f\x20\x52\x4b\x55\x59\x55'\
b'\x1a\x48\x5c\x50\x42\x5... | 60.771552 | 65 | 0.706078 | 3,435 | 14,099 | 2.894323 | 0.044833 | 0.049487 | 0.028968 | 0.01207 | 0.294307 | 0.223094 | 0.188996 | 0.127238 | 0.083283 | 0.07242 | 0 | 0.374783 | 0.020072 | 14,099 | 231 | 66 | 61.034632 | 0.344818 | 0 | 0 | 0.008929 | 0 | 0.941964 | 0.900546 | 0.90005 | 0 | 1 | 0 | 0 | 0 | 1 | 0.013393 | false | 0 | 0 | 0.004464 | 0.026786 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2d0200aefaceb337cdff6910e85f2415d34dce21 | 38 | py | Python | networks/vq/__init__.py | DragonRoar/deep-radiomics-glioma | 178cd2f7239a644741ed70848a67e752831b038b | [
"Apache-2.0"
] | 1 | 2022-01-25T08:20:57.000Z | 2022-01-25T08:20:57.000Z | networks/vq/__init__.py | DragonRoar/deep-radiomics-glioma | 178cd2f7239a644741ed70848a67e752831b038b | [
"Apache-2.0"
] | 1 | 2022-02-21T10:02:04.000Z | 2022-02-21T10:02:04.000Z | networks/vq/__init__.py | DragonRoar/deep-radiomics-glioma | 178cd2f7239a644741ed70848a67e752831b038b | [
"Apache-2.0"
] | 2 | 2021-06-18T04:31:10.000Z | 2022-03-24T05:09:39.000Z | from .vq_module import VQModule as VQ
| 19 | 37 | 0.815789 | 7 | 38 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 1 | 38 | 38 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
742fd55fb201483ef560f78a280b14e0a0c0726a | 286 | py | Python | torchblocks/metrics/base.py | deepframwork/TorchBlocks | 35f6e1bb83d2b9b05ba914a21fd365cb26ac4a32 | [
"MIT"
] | 1 | 2021-04-26T08:01:25.000Z | 2021-04-26T08:01:25.000Z | torchblocks/metrics/base.py | deepframwork/TorchBlocks | 35f6e1bb83d2b9b05ba914a21fd365cb26ac4a32 | [
"MIT"
] | null | null | null | torchblocks/metrics/base.py | deepframwork/TorchBlocks | 35f6e1bb83d2b9b05ba914a21fd365cb26ac4a32 | [
"MIT"
] | null | null | null | class Metric:
def __init__(self):
pass
def update(self, outputs, target):
raise NotImplementedError
def value(self):
raise NotImplementedError
def name(self):
raise NotImplementedError
def reset(self):
pass
| 17.875 | 39 | 0.583916 | 27 | 286 | 6.037037 | 0.518519 | 0.441718 | 0.496933 | 0.380368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.353147 | 286 | 15 | 40 | 19.066667 | 0.881081 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.181818 | 0 | 0 | 0.545455 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7794c9a13c26e0aabad32bf27dda0e6ec83f1b45 | 306 | py | Python | bitmovin_api_sdk/encoding/outputs/generic_s3/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/outputs/generic_s3/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/outputs/generic_s3/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.outputs.generic_s3.generic_s3_api import GenericS3Api
from bitmovin_api_sdk.encoding.outputs.generic_s3.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.outputs.generic_s3.generic_s3_output_list_query_params import GenericS3OutputListQueryParams
| 76.5 | 123 | 0.918301 | 42 | 306 | 6.285714 | 0.404762 | 0.170455 | 0.170455 | 0.204545 | 0.545455 | 0.545455 | 0.545455 | 0.545455 | 0.386364 | 0.386364 | 0 | 0.02381 | 0.039216 | 306 | 3 | 124 | 102 | 0.87415 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ae4da9435df7990e7647d86b0dc5955202963ef | 42 | py | Python | correios/__init__.py | edussilva/correios | 043e82b4ecb95883812348de7b50657fe6697152 | [
"MIT"
] | null | null | null | correios/__init__.py | edussilva/correios | 043e82b4ecb95883812348de7b50657fe6697152 | [
"MIT"
] | 3 | 2019-10-18T01:25:49.000Z | 2019-10-18T02:58:07.000Z | correios/__init__.py | edussilva/correios | 043e82b4ecb95883812348de7b50657fe6697152 | [
"MIT"
] | null | null | null | from correios.core import calc_preco_prazo | 42 | 42 | 0.904762 | 7 | 42 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7aecfc40a628880750750222775831a56ba15009 | 5,848 | py | Python | python/xpath-helper/tests/test_filter.py | jrebecchi/xpath-helper | 6fddd89d5edb42360f1379b28513c7477a9a0ada | [
"MIT"
] | 14 | 2021-11-12T17:08:35.000Z | 2022-03-09T15:13:23.000Z | python/xpath-helper/tests/test_filter.py | jrebecchi/xpath-helper | 6fddd89d5edb42360f1379b28513c7477a9a0ada | [
"MIT"
] | 1 | 2022-03-09T15:19:11.000Z | 2022-03-12T06:55:28.000Z | python/xpath-helper/tests/test_filter.py | jrebecchi/xpath-helper | 6fddd89d5edb42360f1379b28513c7477a9a0ada | [
"MIT"
] | null | null | null | from xpath_helper import xh, filter
def test_and_operator(html_doc):
h1_path = xh.get_element_by_tag("h1", filter.and_operator(
filter.value_contains("motherfudging"), filter.value_contains("website")))
elements = html_doc.xpath(str(h1_path))
assert len(elements) != 0
assert "The " in elements... | 34.809524 | 114 | 0.658516 | 856 | 5,848 | 4.170561 | 0.108645 | 0.090196 | 0.087395 | 0.109244 | 0.814846 | 0.809804 | 0.788796 | 0.752941 | 0.730532 | 0.730532 | 0 | 0.016002 | 0.219904 | 5,848 | 167 | 115 | 35.017964 | 0.76655 | 0 | 0 | 0.418033 | 0 | 0 | 0.070451 | 0.019152 | 0 | 0 | 0 | 0 | 0.262295 | 1 | 0.188525 | false | 0 | 0.008197 | 0 | 0.196721 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bb448eda4ca513a42f9f13dfae0656a0dc9f3d89 | 116 | py | Python | zippy/edu.uci.python.test/src/tests/megaguards/dd/test2.py | securesystemslab/zippy-megaguards | 9e3324d6aea0327fe499b9e07b1a67194ddd1db3 | [
"BSD-3-Clause"
] | 1 | 2018-07-19T21:15:29.000Z | 2018-07-19T21:15:29.000Z | zippy/edu.uci.python.test/src/tests/megaguards/dd/test2.py | securesystemslab/zippy-megaguards | 9e3324d6aea0327fe499b9e07b1a67194ddd1db3 | [
"BSD-3-Clause"
] | null | null | null | zippy/edu.uci.python.test/src/tests/megaguards/dd/test2.py | securesystemslab/zippy-megaguards | 9e3324d6aea0327fe499b9e07b1a67194ddd1db3 | [
"BSD-3-Clause"
] | null | null | null | a = [[1, 2, 3], [1, 2, 3], [1, 2, 3]]
def t():
for i in range(len(a)):
a[i][i] = a[i][i]*2
t()
print(a)
| 16.571429 | 37 | 0.37069 | 28 | 116 | 1.535714 | 0.428571 | 0.139535 | 0.209302 | 0.186047 | 0.209302 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 0.293103 | 116 | 6 | 38 | 19.333333 | 0.402439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0.166667 | 1 | 0 | 1 | null | 0 | 1 | 1 | 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 | 6 |
247c5d62380153ed03628d6c4693f5ae47316f72 | 29 | py | Python | ETM_CSV/__init__.py | VarunGaikwad-XenStack/Intelligence-Extraction | a08afda663b18301c9131c45decec7de2a2c4968 | [
"MIT"
] | null | null | null | ETM_CSV/__init__.py | VarunGaikwad-XenStack/Intelligence-Extraction | a08afda663b18301c9131c45decec7de2a2c4968 | [
"MIT"
] | null | null | null | ETM_CSV/__init__.py | VarunGaikwad-XenStack/Intelligence-Extraction | a08afda663b18301c9131c45decec7de2a2c4968 | [
"MIT"
] | null | null | null | from ETM_CSV.CSV import csv
| 14.5 | 28 | 0.793103 | 6 | 29 | 3.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 1 | 29 | 29 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2489cc638a2206a9786b21bec2329b75881a5fcd | 11,661 | py | Python | test/augmentation/apply/test_tf_applier.py | HazyResearch/snorkel | 46ebfe49d7dfddf7df593e68464306247b9242c3 | [
"Apache-2.0"
] | 2,906 | 2016-07-12T11:11:21.000Z | 2019-08-12T20:38:19.000Z | test/augmentation/apply/test_tf_applier.py | HazyResearch/snorkel | 46ebfe49d7dfddf7df593e68464306247b9242c3 | [
"Apache-2.0"
] | 1,080 | 2016-07-12T21:07:22.000Z | 2019-08-12T19:33:54.000Z | test/augmentation/apply/test_tf_applier.py | HazyResearch/snorkel | 46ebfe49d7dfddf7df593e68464306247b9242c3 | [
"Apache-2.0"
] | 609 | 2016-07-13T16:03:55.000Z | 2019-08-08T17:47:54.000Z | import unittest
from types import SimpleNamespace
from typing import List
import pandas as pd
from snorkel.augmentation import (
ApplyOnePolicy,
PandasTFApplier,
RandomPolicy,
TFApplier,
transformation_function,
)
from snorkel.types import DataPoint
@transformation_function()
def square(x: DataP... | 41.059859 | 88 | 0.651659 | 1,602 | 11,661 | 4.418851 | 0.065543 | 0.027122 | 0.048594 | 0.062438 | 0.882187 | 0.853793 | 0.846306 | 0.81099 | 0.799689 | 0.752366 | 0 | 0.029629 | 0.232999 | 11,661 | 283 | 89 | 41.204947 | 0.761852 | 0.004288 | 0 | 0.592593 | 0 | 0 | 0.004652 | 0 | 0 | 0 | 0 | 0 | 0.164609 | 1 | 0.106996 | false | 0 | 0.024691 | 0.028807 | 0.185185 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
24adab149b6677ae4489ea0f455997aa46741878 | 75,239 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_spirit_install_instmgr_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_spirit_install_instmgr_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_spirit_install_instmgr_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Cisco_IOS_XR_spirit_install_instmgr_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR spirit\-install\-instmgr package operational data.
This module contains definitions
for the following management objects\:
software\-install\: Install operations info
Copyright (c) 2013\-2016 by Ci... | 29.298676 | 294 | 0.545767 | 7,962 | 75,239 | 4.923888 | 0.033158 | 0.051423 | 0.064279 | 0.123661 | 0.79247 | 0.764616 | 0.741914 | 0.721253 | 0.689113 | 0.674115 | 0 | 0.01299 | 0.375869 | 75,239 | 2,567 | 295 | 29.31009 | 0.821866 | 0.253419 | 0 | 0.705224 | 0 | 0.024254 | 0.157559 | 0.129996 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17444 | false | 0 | 0.044776 | 0.021455 | 0.570896 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
24b5bdf49c459338486ab33e46f40efae72f7d05 | 740 | py | Python | wall.py | artuguen28uea/lpc-2022_GAME | e1eae88c8c6f9952c32316a429d034ca7f9c7a12 | [
"MIT"
] | null | null | null | wall.py | artuguen28uea/lpc-2022_GAME | e1eae88c8c6f9952c32316a429d034ca7f9c7a12 | [
"MIT"
] | null | null | null | wall.py | artuguen28uea/lpc-2022_GAME | e1eae88c8c6f9952c32316a429d034ca7f9c7a12 | [
"MIT"
] | null | null | null | # Here goes all the walls in the scenario
import pygame
from config import *
def walls():
from main import screen
pygame.draw.rect(
screen, colors["Blue_ball"], (0, 0, (SCREEN_WIDTH // 2), WALL_WIDTH)
)
pygame.draw.rect(
screen,
colors["Red_ball"],
((SCREEN_WIDTH // 2)... | 22.424242 | 76 | 0.532432 | 85 | 740 | 4.423529 | 0.294118 | 0.175532 | 0.191489 | 0.212766 | 0.765957 | 0.765957 | 0.765957 | 0.765957 | 0.648936 | 0.481383 | 0 | 0.020284 | 0.333784 | 740 | 32 | 77 | 23.125 | 0.742394 | 0.052703 | 0 | 0.407407 | 0 | 0 | 0.048641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | true | 0 | 0.111111 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
24cedb654feae4661cf04673f666aaf99dddd5d5 | 170 | py | Python | example_snippets/multimenus_snippets/Snippets/NumPy/Pretty printing/Formatting functions for specific dtypes/Set formatter for `longfloat` type.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/NumPy/Pretty printing/Formatting functions for specific dtypes/Set formatter for `longfloat` type.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/NumPy/Pretty printing/Formatting functions for specific dtypes/Set formatter for `longfloat` type.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | def format_longfloat(x):
return 'long{0}'.format(x)
with printoptions(formatter={'longfloat': format_longfloat}):
print(np.random.random(10).astype(np.longfloat)) | 42.5 | 61 | 0.741176 | 23 | 170 | 5.391304 | 0.652174 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019355 | 0.088235 | 170 | 4 | 62 | 42.5 | 0.780645 | 0 | 0 | 0 | 0 | 0 | 0.093567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
24cf17ce84b2fb8a328960922d478d8711a7c8af | 101 | py | Python | app/game/__init__.py | wmeira/gothongames | b21de419a6ba274e1bad6feceafbb75ac593c50c | [
"MIT"
] | 1 | 2021-09-02T14:03:34.000Z | 2021-09-02T14:03:34.000Z | app/game/__init__.py | wmeira/gothongames | b21de419a6ba274e1bad6feceafbb75ac593c50c | [
"MIT"
] | null | null | null | app/game/__init__.py | wmeira/gothongames | b21de419a6ba274e1bad6feceafbb75ac593c50c | [
"MIT"
] | null | null | null | from flask import Blueprint
game = Blueprint('game', __name__)
from . import forms, routes # noqa
| 16.833333 | 35 | 0.732673 | 13 | 101 | 5.384615 | 0.692308 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178218 | 101 | 5 | 36 | 20.2 | 0.843373 | 0.039604 | 0 | 0 | 0 | 0 | 0.042105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
24d8e4b1c3efa72dca45504ce11c1c05c9c58505 | 6,693 | py | Python | pipelines/h1c/idr3/v2/generate_yamls.py | HERA-Team/hera_pipelines | d2b46bb494dfb020093b807445fc2095d292e898 | [
"BSD-2-Clause"
] | null | null | null | pipelines/h1c/idr3/v2/generate_yamls.py | HERA-Team/hera_pipelines | d2b46bb494dfb020093b807445fc2095d292e898 | [
"BSD-2-Clause"
] | 9 | 2020-08-14T18:11:40.000Z | 2022-03-18T17:38:03.000Z | pipelines/h1c/idr3/v2/generate_yamls.py | HERA-Team/hera_pipelines | d2b46bb494dfb020093b807445fc2095d292e898 | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
import glob
freq_flags = [[100.0e6, 111e6],
[137e6, 138e6],
[187e6, 199.90234375e6]]
# TODO: load these from a csv rather than storing them here
JD_flags = {2458041: [[0.50, 0.70]], # from Josh's inspecting notebooks on 2/9/21
2458049: [[0.10, 0.41... | 92.958333 | 189 | 0.629762 | 1,128 | 6,693 | 3.708333 | 0.179078 | 0.181688 | 0.16065 | 0.118097 | 0.718862 | 0.718862 | 0.715754 | 0.715754 | 0.713364 | 0.65551 | 0 | 0.18135 | 0.245331 | 6,693 | 71 | 190 | 94.267606 | 0.646803 | 0.602122 | 0 | 0.030303 | 0 | 0 | 0.081007 | 0.010224 | 0 | 0 | 0 | 0.014085 | 0 | 1 | 0.015152 | false | 0 | 0.030303 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.