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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dfbb0256287dd2cbd4ce421bc0c2333540e9d21b | 245 | py | Python | elf/types/section/header/sh_name.py | Valmarelox/elftoolsng | 99c3f4913a7e477007b1d81df83274d7657bf693 | [
"MIT"
] | null | null | null | elf/types/section/header/sh_name.py | Valmarelox/elftoolsng | 99c3f4913a7e477007b1d81df83274d7657bf693 | [
"MIT"
] | null | null | null | elf/types/section/header/sh_name.py | Valmarelox/elftoolsng | 99c3f4913a7e477007b1d81df83274d7657bf693 | [
"MIT"
] | null | null | null | from elf.types.base.elf_name_type import ElfNameType
from elf.types.base import ElfOffset
# TODO: Generify to ElfStringType
class SHName(ElfNameType):
@property
def strtab_accessor(self):
return int(self.elf.header.e_shstrndx)
| 24.5 | 52 | 0.767347 | 34 | 245 | 5.411765 | 0.735294 | 0.076087 | 0.130435 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155102 | 245 | 9 | 53 | 27.222222 | 0.888889 | 0.126531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
dfef9bfa104382c3a5eda10715d69e669e03e902 | 218 | py | Python | apps/life_sci/dgllife/utils/__init__.py | arangoml/dgl | d135058f9986fadcbdf6aa1011a00c3ad45a8ce3 | [
"Apache-2.0"
] | 3 | 2020-02-28T07:28:52.000Z | 2020-06-03T08:41:55.000Z | apps/life_sci/python/dgllife/utils/__init__.py | sherry-1001/dgl | 60d2e7d3c928d43bbb18e7ab17c066451c49f649 | [
"Apache-2.0"
] | null | null | null | apps/life_sci/python/dgllife/utils/__init__.py | sherry-1001/dgl | 60d2e7d3c928d43bbb18e7ab17c066451c49f649 | [
"Apache-2.0"
] | 2 | 2020-12-07T09:34:01.000Z | 2020-12-13T06:18:58.000Z | """Utils for data processing."""
from .complex_to_graph import *
from .early_stop import *
from .eval import *
from .featurizers import *
from .mol_to_graph import *
from .rdkit_utils import *
from .splitters import *
| 24.222222 | 32 | 0.756881 | 31 | 218 | 5.129032 | 0.516129 | 0.377358 | 0.163522 | 0.213836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 218 | 8 | 33 | 27.25 | 0.854839 | 0.119266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 |
5f006ecb902171c6b66ca04d50152453bcda65fe | 44 | py | Python | janusbackup/core/__init__.py | NikitosnikN/janus-backup | 413d365663b532a0611575be16ea0a4f0c7ffd20 | [
"MIT"
] | null | null | null | janusbackup/core/__init__.py | NikitosnikN/janus-backup | 413d365663b532a0611575be16ea0a4f0c7ffd20 | [
"MIT"
] | null | null | null | janusbackup/core/__init__.py | NikitosnikN/janus-backup | 413d365663b532a0611575be16ea0a4f0c7ffd20 | [
"MIT"
] | null | null | null | from .backup_pipeline import BackupPipeline
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a049f24b1bb3840c29bf99a96cacf661e921860e | 20,810 | py | Python | code/python/FactSetFunds/v1/fds/sdk/FactSetFunds/model/costs_fees.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/FactSetFunds/v1/fds/sdk/FactSetFunds/model/costs_fees.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/FactSetFunds/v1/fds/sdk/FactSetFunds/model/costs_fees.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
FactSet Funds API
FactSet Mutual Funds data offers over 50 fund- and share class-specific data points for mutual funds listed in the United States. <p>FactSet Mutual Funds Reference provides fund-specific reference information as well as FactSet's proprietary classification system. It includes but is not l... | 63.25228 | 709 | 0.628784 | 2,573 | 20,810 | 4.933929 | 0.168675 | 0.050414 | 0.047893 | 0.012603 | 0.800079 | 0.769279 | 0.750847 | 0.746436 | 0.746436 | 0.746436 | 0 | 0.019825 | 0.306776 | 20,810 | 328 | 710 | 63.445122 | 0.860044 | 0.658193 | 0 | 0.38255 | 0 | 0 | 0.219112 | 0.041404 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033557 | false | 0.013423 | 0.026846 | 0.006711 | 0.14094 | 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 |
a06f446d3844839bd8a53b28fca1b6b8cee02277 | 8,105 | py | Python | library/graph_processing.py | RomainClaret/CONVEX | b1477d3e332903846f21b5c1ac2d5cb8cfdac21e | [
"MIT"
] | 29 | 2019-10-08T13:21:18.000Z | 2021-12-30T03:32:23.000Z | library/graph_processing.py | RomainClaret/CONVEX | b1477d3e332903846f21b5c1ac2d5cb8cfdac21e | [
"MIT"
] | 19 | 2019-10-31T13:43:33.000Z | 2022-03-29T00:57:00.000Z | library/graph_processing.py | RomainClaret/CONVEX | b1477d3e332903846f21b5c1ac2d5cb8cfdac21e | [
"MIT"
] | 11 | 2019-10-31T12:38:43.000Z | 2022-03-23T11:02:34.000Z | import networkx as nx
# used to distinguish between multiple predicate nodes with same label - next index for predicate
predicate_nodes = {}
qualifier_predicate_nodes = {}
#####################################################
### Graphs
#####################################################
# one element of the answ... | 44.532967 | 119 | 0.745219 | 1,102 | 8,105 | 5.278584 | 0.103448 | 0.12687 | 0.051573 | 0.068076 | 0.811587 | 0.805054 | 0.789238 | 0.776173 | 0.765343 | 0.765343 | 0 | 0.004119 | 0.1314 | 8,105 | 181 | 120 | 44.779006 | 0.822159 | 0.290315 | 0 | 0.58 | 0 | 0 | 0.131654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.01 | 0.02 | 0.2 | 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 |
a077406730a08b76ee288c4760edc7e8d5bfeb61 | 656 | py | Python | src/pathway_forte/pipeline/__init__.py | pathwayforte/PathwayForte | 07775f3e174bfc756f7cf8f03efe49ef95a1cfd9 | [
"Apache-2.0"
] | 10 | 2019-03-31T14:53:05.000Z | 2021-01-16T07:33:41.000Z | src/pathway_forte/pipeline/__init__.py | pathwayforte/PathwayForte | 07775f3e174bfc756f7cf8f03efe49ef95a1cfd9 | [
"Apache-2.0"
] | 16 | 2019-03-31T07:25:43.000Z | 2019-08-21T09:47:26.000Z | src/pathway_forte/pipeline/__init__.py | pathwayforte/PathwayForte | 07775f3e174bfc756f7cf8f03efe49ef95a1cfd9 | [
"Apache-2.0"
] | 3 | 2020-04-23T13:55:29.000Z | 2020-08-28T16:10:27.000Z | # -*- coding: utf-8 -*-
"""Pipelines from Pathway Forte."""
from pathway_forte.pipeline.binary import do_binary_prediction
from pathway_forte.pipeline.export import do_export
from pathway_forte.pipeline.geometric import do_hypergeometric
from pathway_forte.pipeline.gsea import do_gsea
from pathway_forte.pipeline.gsea... | 43.733333 | 68 | 0.867378 | 94 | 656 | 5.765957 | 0.244681 | 0.223247 | 0.324723 | 0.442804 | 0.291513 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001653 | 0.077744 | 656 | 14 | 69 | 46.857143 | 0.894215 | 0.079268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a08049ff810ab9612712756497cbceb04ec51ad4 | 276 | py | Python | Codewars/8kyu/grasshopper-combine-strings/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/grasshopper-combine-strings/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/grasshopper-combine-strings/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 2.7.6
Test.describe('combine names')
Test.it('example tests')
Test.assert_equals(combine_names('James', 'Stevens'), 'James Stevens')
Test.assert_equals(combine_names('Davy', 'Back'), 'Davy Back')
Test.assert_equals(combine_names('Arthur', 'Dent'), 'Arthur Dent')
| 30.666667 | 70 | 0.728261 | 39 | 276 | 5 | 0.487179 | 0.246154 | 0.246154 | 0.353846 | 0.430769 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011811 | 0.07971 | 276 | 8 | 71 | 34.5 | 0.755906 | 0.050725 | 0 | 0 | 0 | 0 | 0.342308 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a0a32a6cfc506420c6aa632e0146a0b9266c6c28 | 80 | py | Python | examples/testlib2/box/__init__.py | uibcdf/pyunitwizard | 54cdce7369e1f2a3771a1f05a4a6ba1d7610a5e7 | [
"MIT"
] | 2 | 2021-07-01T14:33:58.000Z | 2022-03-19T19:19:09.000Z | examples/testlib2/box/__init__.py | uibcdf/pyunitwizard | 54cdce7369e1f2a3771a1f05a4a6ba1d7610a5e7 | [
"MIT"
] | 15 | 2021-02-11T18:54:16.000Z | 2022-03-18T17:38:03.000Z | examples/testlib2/box/__init__.py | uibcdf/pyunitwizard | 54cdce7369e1f2a3771a1f05a4a6ba1d7610a5e7 | [
"MIT"
] | 2 | 2021-06-17T18:56:02.000Z | 2022-03-08T05:02:17.000Z | from .methods_a import get_default_form
from .methods_b import set_default_form
| 26.666667 | 39 | 0.875 | 14 | 80 | 4.571429 | 0.642857 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 40 | 40 | 0.888889 | 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 |
39ff9ac1ffd835711400efbeebe984e6ded6187f | 3,888 | py | Python | FEMpy/tests/integration/test_poisson_1d.py | floydie7/FEMpy | 50e11b88dc249ff7c599472b455b07b04df1afd7 | [
"MIT"
] | null | null | null | FEMpy/tests/integration/test_poisson_1d.py | floydie7/FEMpy | 50e11b88dc249ff7c599472b455b07b04df1afd7 | [
"MIT"
] | null | null | null | FEMpy/tests/integration/test_poisson_1d.py | floydie7/FEMpy | 50e11b88dc249ff7c599472b455b07b04df1afd7 | [
"MIT"
] | 1 | 2022-01-22T06:39:38.000Z | 2022-01-22T06:39:38.000Z | import numpy as np
import FEMpy
def coefficient_function(x):
return np.exp(x)
def source_function(x):
return -np.exp(x) * (np.cos(x) - 2 * np.sin(x) - x * np.cos(x) - x * np.sin(x))
def dirichlet_function(x):
if x == 0:
return 0
def neumann_function(x):
if x == 1:
return np.cos(... | 41.806452 | 147 | 0.652006 | 538 | 3,888 | 4.420074 | 0.172862 | 0.074012 | 0.087468 | 0.113541 | 0.799832 | 0.796468 | 0.778806 | 0.767872 | 0.767872 | 0.767872 | 0 | 0.061287 | 0.244599 | 3,888 | 92 | 148 | 42.26087 | 0.748383 | 0 | 0 | 0.537313 | 0 | 0 | 0.015947 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 1 | 0.238806 | false | 0 | 0.029851 | 0.059701 | 0.38806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
261753006962b6f5023a994d77457b91ece7c7c3 | 27 | py | Python | __init__.py | rsgalloway/QRangeSlider | 06cb61de8fa174e4eea556c1e6eda4b0d04e5b10 | [
"BSD-3-Clause"
] | 24 | 2015-03-20T08:02:46.000Z | 2021-02-28T06:25:19.000Z | __init__.py | rsgalloway/QRangeSlider | 06cb61de8fa174e4eea556c1e6eda4b0d04e5b10 | [
"BSD-3-Clause"
] | 3 | 2017-01-27T20:31:40.000Z | 2021-01-19T20:05:19.000Z | __init__.py | rsgalloway/QRangeSlider | 06cb61de8fa174e4eea556c1e6eda4b0d04e5b10 | [
"BSD-3-Clause"
] | 9 | 2016-08-24T16:14:25.000Z | 2020-08-18T07:06:02.000Z | from qrangeslider import *
| 13.5 | 26 | 0.814815 | 3 | 27 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 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 |
26495e8d5e05ec83207013e49457b028a8e4266c | 21,682 | py | Python | cubework/module/parallel_3d/module.py | kurisusnowdeng/Cubework | 56c0d35f87765efc8f2b6d47a4ccea6f2ec626aa | [
"Apache-2.0"
] | null | null | null | cubework/module/parallel_3d/module.py | kurisusnowdeng/Cubework | 56c0d35f87765efc8f2b6d47a4ccea6f2ec626aa | [
"Apache-2.0"
] | null | null | null | cubework/module/parallel_3d/module.py | kurisusnowdeng/Cubework | 56c0d35f87765efc8f2b6d47a4ccea6f2ec626aa | [
"Apache-2.0"
] | null | null | null | import math
from typing import Callable
import torch
import torch.nn as nn
import torch.nn.functional as F
from cubework.distributed import ParallelManager as pm
from cubework.distributed import all_reduce, broadcast
from cubework.global_vars import env
from cubework.utils import get_current_device, seed
from torch im... | 40.451493 | 119 | 0.667835 | 2,705 | 21,682 | 4.925693 | 0.05878 | 0.113479 | 0.089162 | 0.049535 | 0.847643 | 0.818598 | 0.797583 | 0.77094 | 0.736866 | 0.706019 | 0 | 0.005171 | 0.250715 | 21,682 | 535 | 120 | 40.527103 | 0.81497 | 0.037681 | 0 | 0.66443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071588 | false | 0 | 0.033557 | 0.008949 | 0.14094 | 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 |
cd1a7483160f9454132be4e3913db772b4a8e2ec | 7,971 | py | Python | model.py | gitlimlab/FeatureControlHRL-Tensorflow | 7e611febd296bada68f44710992f9bcd284941d2 | [
"MIT"
] | 26 | 2017-12-11T21:13:15.000Z | 2019-11-05T08:21:21.000Z | model.py | clvrai/FeatureControlHRL-Tensorflow | 7e611febd296bada68f44710992f9bcd284941d2 | [
"MIT"
] | null | null | null | model.py | clvrai/FeatureControlHRL-Tensorflow | 7e611febd296bada68f44710992f9bcd284941d2 | [
"MIT"
] | 4 | 2018-02-05T08:23:09.000Z | 2019-02-11T10:56:51.000Z | import numpy as np
import tensorflow as tf
import tensorflow.contrib.rnn as rnn
from ops import flatten, conv2d, linear
def normalized_columns_initializer(std=1.0):
def _initializer(shape, dtype=None, partition_info=None):
out = np.random.randn(*shape).astype(np.float32)
out *= std / np.sqrt(np.sq... | 46.075145 | 105 | 0.559403 | 1,062 | 7,971 | 3.990584 | 0.142185 | 0.044597 | 0.038933 | 0.057102 | 0.846626 | 0.823738 | 0.805569 | 0.801793 | 0.788344 | 0.765219 | 0 | 0.029465 | 0.31025 | 7,971 | 172 | 106 | 46.343023 | 0.74136 | 0.022707 | 0 | 0.578571 | 0 | 0 | 0.017983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0 | 0.028571 | 0.014286 | 0.207143 | 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 |
26e98a4a18f62f4031d492d98a09e2069665f4da | 81,255 | py | Python | users/views.py | anshrathod/Lyrico | 377bb884b95953d8853e939d920eadbc502cac66 | [
"MIT"
] | null | null | null | users/views.py | anshrathod/Lyrico | 377bb884b95953d8853e939d920eadbc502cac66 | [
"MIT"
] | null | null | null | users/views.py | anshrathod/Lyrico | 377bb884b95953d8853e939d920eadbc502cac66 | [
"MIT"
] | 1 | 2020-04-13T10:53:33.000Z | 2020-04-13T10:53:33.000Z | from django.contrib import messages
from django.contrib.auth import (authenticate, login, logout,
update_session_auth_hash)
from django.contrib.auth.decorators import login_required
from django.contrib.auth.forms import PasswordChangeForm
from django.contrib.auth.models import User
from... | 330.304878 | 73,738 | 0.683564 | 6,832 | 81,255 | 8.124561 | 0.883782 | 0.005153 | 0.004792 | 0.005189 | 0.016358 | 0.012935 | 0.006179 | 0.005441 | 0.005441 | 0.005441 | 0 | 0.612192 | 0.087502 | 81,255 | 245 | 73,739 | 331.653061 | 0.136435 | 0 | 0 | 0.302632 | 0 | 0.004386 | 0.634127 | 0.000898 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04386 | false | 0.109649 | 0.052632 | 0 | 0.223684 | 0.013158 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f82f7aefc4dc6217cf7f3f7d7c2702a859202a36 | 30 | py | Python | tests/test_inventory_service.py | accelero-cloud/tutorials | 9a9580e60bc216bf45ec0011f6d9b6b14d5a8d03 | [
"Apache-2.0"
] | 2 | 2019-08-09T16:15:40.000Z | 2020-01-12T09:46:28.000Z | tests/test_inventory_service.py | accelero-cloud/tutorials | 9a9580e60bc216bf45ec0011f6d9b6b14d5a8d03 | [
"Apache-2.0"
] | 2 | 2021-03-31T18:48:41.000Z | 2021-12-13T19:49:46.000Z | tests/test_inventory_service.py | accelero-cloud/tutorials | 9a9580e60bc216bf45ec0011f6d9b6b14d5a8d03 | [
"Apache-2.0"
] | null | null | null |
def test_default():
pass
| 7.5 | 19 | 0.633333 | 4 | 30 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 30 | 3 | 20 | 10 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f8892aaad6559f0cce09d9a2a58429a7d441eb47 | 101 | py | Python | Assignment.2/test.py | ash0x0/AUC-ProgrammingLanguagePython | 3fc64c6acac981eef30d5b48278f06086ef4212b | [
"Apache-2.0"
] | null | null | null | Assignment.2/test.py | ash0x0/AUC-ProgrammingLanguagePython | 3fc64c6acac981eef30d5b48278f06086ef4212b | [
"Apache-2.0"
] | null | null | null | Assignment.2/test.py | ash0x0/AUC-ProgrammingLanguagePython | 3fc64c6acac981eef30d5b48278f06086ef4212b | [
"Apache-2.0"
] | null | null | null | import pickle
file = open('file.txt.code' , 'rb')
print(pickle.load(file))
print(pickle.load(file))
| 16.833333 | 35 | 0.70297 | 16 | 101 | 4.4375 | 0.5625 | 0.309859 | 0.422535 | 0.535211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 101 | 5 | 36 | 20.2 | 0.78022 | 0 | 0 | 0.5 | 0 | 0 | 0.148515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
f8cc319ca37228c74b00557cef8f75231ad84c32 | 44 | py | Python | sdk/exception/service_exception.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | 1 | 2021-04-03T05:11:29.000Z | 2021-04-03T05:11:29.000Z | sdk/exception/service_exception.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | null | null | null | sdk/exception/service_exception.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | null | null | null |
class ServiceException(Exception):pass
| 14.666667 | 38 | 0.772727 | 4 | 44 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 3 | 39 | 14.666667 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
3e05b8b904f5b29089ee4f538ee5a7e43627430c | 7,243 | py | Python | src/micropython/microbit/__model/constants.py | julianrendell/vscode-python-devicesimulator | 8014a940c9a0551793bfb5694bff9a52df6c0155 | [
"MIT"
] | 151 | 2019-11-05T10:10:29.000Z | 2022-02-18T11:46:27.000Z | src/micropython/microbit/__model/constants.py | julianrendell/vscode-python-devicesimulator | 8014a940c9a0551793bfb5694bff9a52df6c0155 | [
"MIT"
] | 98 | 2019-11-09T17:41:30.000Z | 2021-12-17T23:05:01.000Z | src/micropython/microbit/__model/constants.py | julianrendell/vscode-python-devicesimulator | 8014a940c9a0551793bfb5694bff9a52df6c0155 | [
"MIT"
] | 42 | 2019-11-10T02:26:27.000Z | 2022-03-22T01:43:01.000Z | MICROBIT = "micro:bit"
# string arguments for constructor
BLANK_5X5 = "00000:00000:00000:00000:00000:"
# pre-defined image patterns
IMAGE_PATTERNS = {
"HEART": "09090:99999:99999:09990:00900:",
"HEART_SMALL": "00000:09090:09990:00900:00000:",
"HAPPY": "00000:09090:00000:90009:09990:",
"SMILE": "00000:... | 42.605882 | 1,914 | 0.677482 | 1,135 | 7,243 | 4.245815 | 0.266079 | 0.027392 | 0.022411 | 0.014941 | 0.023034 | 0 | 0 | 0 | 0 | 0 | 0 | 0.388801 | 0.127157 | 7,243 | 169 | 1,915 | 42.857988 | 0.373458 | 0.049013 | 0 | 0.013605 | 0 | 0.006803 | 0.701265 | 0.555313 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3e4aa6aa7b822f47c6496278e880676fb0f3eb6f | 64 | py | Python | tests/01_import_test.py | andybrice/Pypework | d71c46cd0dfb41660f776ce8d435bb6893466c25 | [
"MIT"
] | 3 | 2019-07-25T09:31:14.000Z | 2021-07-11T10:33:27.000Z | tests/01_import_test.py | andybrice/pypework | d71c46cd0dfb41660f776ce8d435bb6893466c25 | [
"MIT"
] | null | null | null | tests/01_import_test.py | andybrice/pypework | d71c46cd0dfb41660f776ce8d435bb6893466c25 | [
"MIT"
] | null | null | null | import pypework
def test_module_imports():
assert pypework
| 12.8 | 26 | 0.78125 | 8 | 64 | 6 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 4 | 27 | 16 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 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 |
e43f8bf6a885551c25ef6c760f3ee1e16ea80cd9 | 35 | py | Python | addons14/datamodel/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/datamodel/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/datamodel/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | from . import test_build_datamodel
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 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 |
e44c6a0598c6242a093a6f6d084b47ed8cf72c4a | 176 | py | Python | envs/water_tank/no_shield.py | safe-rl/safe-rl-shielding | 287d540df6b26928eed512a57297d44d72f19832 | [
"MIT"
] | 26 | 2018-12-30T20:32:45.000Z | 2022-03-15T06:11:40.000Z | envs/water_tank/no_shield.py | safe-rl/safe-rl-shielding | 287d540df6b26928eed512a57297d44d72f19832 | [
"MIT"
] | 20 | 2018-08-29T10:34:48.000Z | 2022-03-11T23:16:24.000Z | envs/water_tank/no_shield.py | safe-rl/safe-rl-shielding | 287d540df6b26928eed512a57297d44d72f19832 | [
"MIT"
] | 13 | 2019-05-11T01:59:58.000Z | 2022-03-15T14:12:40.000Z | class Shield:
def __init__(self):
self.water_level = 0
self.switch_state = 0
def tick(self, water_level, switch_state, action):
return action
| 19.555556 | 54 | 0.630682 | 23 | 176 | 4.478261 | 0.565217 | 0.174757 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.289773 | 176 | 8 | 55 | 22 | 0.808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e463045136a20cb2df10b62bfab5431c572d57b5 | 3,668 | py | Python | tests/test_image_array.py | deepgreenAN/tracking_annotation | f13e2dbf0bd6400db07b26a13715b24b5b4fd7aa | [
"Apache-2.0"
] | null | null | null | tests/test_image_array.py | deepgreenAN/tracking_annotation | f13e2dbf0bd6400db07b26a13715b24b5b4fd7aa | [
"Apache-2.0"
] | 1 | 2021-04-27T06:27:48.000Z | 2021-04-27T06:27:48.000Z | tests/test_image_array.py | deepgreenAN/tracking_annotation | f13e2dbf0bd6400db07b26a13715b24b5b4fd7aa | [
"Apache-2.0"
] | null | null | null | import unittest
from pathlib import Path
import time
from image_array import MovieImageArray, MovieImageArrayFile, MovieImageArrayRaw
class TestMovieImageArray(unittest.TestCase):
def setUp(self):
self.test_path = Path("tests")
self.test_path_contensts = set(list(self.test_path.iterdir(... | 39.869565 | 122 | 0.642039 | 411 | 3,668 | 5.469586 | 0.145985 | 0.107651 | 0.1121 | 0.121441 | 0.814502 | 0.804715 | 0.781584 | 0.781584 | 0.781584 | 0.781584 | 0 | 0.026667 | 0.263904 | 3,668 | 92 | 123 | 39.869565 | 0.805926 | 0.115049 | 0 | 0.580645 | 0 | 0 | 0.044005 | 0 | 0 | 0 | 0 | 0 | 0.241935 | 1 | 0.112903 | false | 0 | 0.064516 | 0 | 0.193548 | 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 |
e472de48e2bb67ff515fab4fb5d997f1e5a72731 | 69 | py | Python | datatypes/tuple_one.py | janbodnar/Python-Course | 51705ab5a2adef52bcdb99a800e94c0d67144a38 | [
"BSD-2-Clause"
] | 13 | 2017-08-22T12:26:07.000Z | 2021-07-29T16:13:50.000Z | datatypes/tuple_one.py | janbodnar/Python-Course | 51705ab5a2adef52bcdb99a800e94c0d67144a38 | [
"BSD-2-Clause"
] | 1 | 2021-02-08T10:24:33.000Z | 2021-02-08T10:24:33.000Z | datatypes/tuple_one.py | janbodnar/Python-Course | 51705ab5a2adef52bcdb99a800e94c0d67144a38 | [
"BSD-2-Clause"
] | 17 | 2018-08-13T11:10:33.000Z | 2021-07-29T16:14:02.000Z | #!/usr/bin/python
# tuple_one.py
print ((3 + 7))
print ((3 + 7, ))
| 9.857143 | 17 | 0.536232 | 12 | 69 | 3 | 0.75 | 0.333333 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0.202899 | 69 | 6 | 18 | 11.5 | 0.581818 | 0.42029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
e47f0d5e790cb4f203e804c47a4b4ce763015c33 | 85 | py | Python | pydale/utils/__init__.py | sz144/TPy | 689e38bdc2549015bc45cfacfe42e20a51c76e5a | [
"MIT"
] | 4 | 2018-08-20T13:38:13.000Z | 2020-08-31T08:57:12.000Z | pydale/utils/__init__.py | sz144/pydale | 689e38bdc2549015bc45cfacfe42e20a51c76e5a | [
"MIT"
] | null | null | null | pydale/utils/__init__.py | sz144/pydale | 689e38bdc2549015bc45cfacfe42e20a51c76e5a | [
"MIT"
] | 2 | 2021-09-28T08:24:30.000Z | 2022-01-29T08:29:46.000Z | from ._base import lap_norm
from ._base import mmd_coef
from ._base import base_init
| 21.25 | 28 | 0.823529 | 15 | 85 | 4.266667 | 0.533333 | 0.375 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 3 | 29 | 28.333333 | 0.876712 | 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 |
e485e0d5a58ff367650e9db686d5531ffd45d32a | 28,833 | py | Python | SchemaTerms/example-code/protobufs/schematerms_pb2.py | whiteslack/schemaorg | 1e382bf7b40c2f85a865d2b30f911bcdac4e6da3 | [
"Apache-2.0"
] | 4,768 | 2015-01-08T04:45:33.000Z | 2022-03-28T07:32:59.000Z | software/SchemaTerms/example-code/protobufs/schematerms_pb2.py | lioncorpo/schenmaorg | d863285fde9c50572b95ceca3f0391e46ea7ef88 | [
"Apache-2.0"
] | 2,599 | 2015-01-06T21:51:28.000Z | 2022-03-30T12:40:09.000Z | software/SchemaTerms/example-code/protobufs/schematerms_pb2.py | lioncorpo/schenmaorg | d863285fde9c50572b95ceca3f0391e46ea7ef88 | [
"Apache-2.0"
] | 878 | 2015-01-10T00:03:30.000Z | 2022-03-31T22:54:15.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: schematerms.proto
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflecti... | 46.1328 | 2,359 | 0.751847 | 3,588 | 28,833 | 5.737179 | 0.063266 | 0.055574 | 0.091377 | 0.076075 | 0.746223 | 0.727909 | 0.714064 | 0.694875 | 0.69094 | 0.663736 | 0 | 0.036553 | 0.12614 | 28,833 | 624 | 2,360 | 46.206731 | 0.780441 | 0.021573 | 0 | 0.709845 | 1 | 0.006908 | 0.152777 | 0.107313 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008636 | 0 | 0.008636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e499de222c437838f9677d111c351d2cc1d63933 | 80 | py | Python | Intensivo-Python/Cap-8/printing_functions.py | RodrigoTAbreu/Python-3 | 9bf0578c1ed52283c8d8516a9052557bde038947 | [
"MIT"
] | null | null | null | Intensivo-Python/Cap-8/printing_functions.py | RodrigoTAbreu/Python-3 | 9bf0578c1ed52283c8d8516a9052557bde038947 | [
"MIT"
] | null | null | null | Intensivo-Python/Cap-8/printing_functions.py | RodrigoTAbreu/Python-3 | 9bf0578c1ed52283c8d8516a9052557bde038947 | [
"MIT"
] | null | null | null | import print_models
print_models.unprinted_models=['android','xiaomi','iphone'] | 26.666667 | 59 | 0.8125 | 10 | 80 | 6.2 | 0.7 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 80 | 3 | 59 | 26.666667 | 0.805195 | 0 | 0 | 0 | 0 | 0 | 0.234568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e4a7a235a5923962364ee54071e94b926eb89812 | 262 | py | Python | src/Python/Stage_1/pbmodel.py | ananthsridharan/vtol_sizing | 3f754e1bd3cebdb5b5c68c8a2d84c47be1df2f02 | [
"MIT"
] | 10 | 2020-03-24T10:20:52.000Z | 2021-11-22T18:49:25.000Z | src/Python/Stage_1/pbmodel.py | ananthsridharan/vtol_sizing | 3f754e1bd3cebdb5b5c68c8a2d84c47be1df2f02 | [
"MIT"
] | 4 | 2020-12-08T10:26:41.000Z | 2021-10-04T18:19:59.000Z | src/Python/Stage_1/pbmodel.py | ananthsridharan/vtol_sizing | 3f754e1bd3cebdb5b5c68c8a2d84c47be1df2f02 | [
"MIT"
] | 5 | 2018-11-27T21:21:19.000Z | 2021-04-20T15:44:18.000Z | #====================================================================
# python function to predict weight of rotor blades and hub
# physics-based model for blades, parametric model for hubs
#====================================================================
| 43.666667 | 69 | 0.366412 | 19 | 262 | 5.052632 | 0.842105 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 262 | 5 | 70 | 52.4 | 0.403361 | 0.965649 | 0 | null | 0 | null | 0 | 0 | null | 1 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4de558f7701dcf21b7d815eebbda8a9ee4b1a1f | 103 | py | Python | pyqt_translucent_full_loading_screen_thread/__init__.py | yjg30737/pyqt-translucent-full-loading-screen-thread | 8b9fe1422d672b1fa78a540f88a7cb4de15dc2c9 | [
"MIT"
] | null | null | null | pyqt_translucent_full_loading_screen_thread/__init__.py | yjg30737/pyqt-translucent-full-loading-screen-thread | 8b9fe1422d672b1fa78a540f88a7cb4de15dc2c9 | [
"MIT"
] | null | null | null | pyqt_translucent_full_loading_screen_thread/__init__.py | yjg30737/pyqt-translucent-full-loading-screen-thread | 8b9fe1422d672b1fa78a540f88a7cb4de15dc2c9 | [
"MIT"
] | null | null | null | from .loadingThread import LoadingThread
from .loadingTranslucentScreen import LoadingTranslucentScreen | 51.5 | 62 | 0.912621 | 8 | 103 | 11.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067961 | 103 | 2 | 62 | 51.5 | 0.979167 | 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 |
90208d48667d3a1e10f22f8d4a1e064f41fb3829 | 9,510 | py | Python | tests/transformer/test_transformer_layers.py | vikua/time-series-experiments | 2f9d3fa842866c39c8c1a9906c8c5d4870a6f7da | [
"MIT"
] | null | null | null | tests/transformer/test_transformer_layers.py | vikua/time-series-experiments | 2f9d3fa842866c39c8c1a9906c8c5d4870a6f7da | [
"MIT"
] | 4 | 2020-10-11T15:14:48.000Z | 2022-02-10T02:28:07.000Z | tests/transformer/test_transformer_layers.py | vikua/time-series-experiments | 2f9d3fa842866c39c8c1a9906c8c5d4870a6f7da | [
"MIT"
] | null | null | null | import random
import pytest
import numpy as np
import tensorflow as tf
from tensorflow import keras
from time_series_experiments.transformer.layers import (
MultiHeadAttention,
PositionalEncoding,
)
from time_series_experiments.utils import get_initializer
from time_series_experiments.utils.metrics import rms... | 32.346939 | 88 | 0.656151 | 1,383 | 9,510 | 4.317426 | 0.120752 | 0.012728 | 0.010551 | 0.030481 | 0.803718 | 0.762854 | 0.738737 | 0.726344 | 0.717635 | 0.707252 | 0 | 0.043375 | 0.202419 | 9,510 | 293 | 89 | 32.457338 | 0.743837 | 0.012303 | 0 | 0.583333 | 0 | 0 | 0.018745 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.04386 | false | 0 | 0.039474 | 0.004386 | 0.092105 | 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 |
9038251a0e5fb0f56a43fbbb1f3e39dc241f7a62 | 15,789 | py | Python | 2021/09.py | almazkun/advent | bcc18f83e7eaf6579a7b6b47fa9f0f6f0d2b31b4 | [
"MIT"
] | null | null | null | 2021/09.py | almazkun/advent | bcc18f83e7eaf6579a7b6b47fa9f0f6f0d2b31b4 | [
"MIT"
] | null | null | null | 2021/09.py | almazkun/advent | bcc18f83e7eaf6579a7b6b47fa9f0f6f0d2b31b4 | [
"MIT"
] | null | null | null | from solution import Solution
class Point:
def __init__(self, loc: int, x: int, y: int):
self.loc = int(loc)
self.x = x
self.y = y
def __str__(self):
return f"{self.loc}"
def __repr__(self):
return self.__str__()
def lowest_x(self, field):
return self... | 50.605769 | 104 | 0.841219 | 875 | 15,789 | 15.118857 | 0.354286 | 0.004762 | 0.013606 | 0.018142 | 0.051553 | 0.041046 | 0.032807 | 0.028271 | 0.026457 | 0.010734 | 0 | 0.756176 | 0.133447 | 15,789 | 311 | 105 | 50.768489 | 0.210715 | 0.168915 | 0 | 0.100559 | 0 | 0 | 0.831611 | 0.78284 | 0 | 1 | 0 | 0 | 0 | 1 | 0.089385 | false | 0.011173 | 0.005587 | 0.03352 | 0.206704 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5f71be04bb4de360f940f744f1758c7d47fcb4fb | 93 | py | Python | lib/vpm/models/__init__.py | aligholami/kepler | a272ac427e09892cd44ade70e910272c4f69c638 | [
"Unlicense"
] | null | null | null | lib/vpm/models/__init__.py | aligholami/kepler | a272ac427e09892cd44ade70e910272c4f69c638 | [
"Unlicense"
] | null | null | null | lib/vpm/models/__init__.py | aligholami/kepler | a272ac427e09892cd44ade70e910272c4f69c638 | [
"Unlicense"
] | null | null | null | from .naive import NaiveViewpointMatching
from .quaternion import QuaternionViewpointMatching | 46.5 | 51 | 0.903226 | 8 | 93 | 10.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 93 | 2 | 51 | 46.5 | 0.976744 | 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 |
5f74f393f35e2c794a751b34f340e182dff67b73 | 128 | py | Python | math_lib.py | cu-swe4s-fall-2019/version-control-tprossiter0 | 8957b8905e5b4302e802e68b4c4e2ac61eea054b | [
"MIT"
] | null | null | null | math_lib.py | cu-swe4s-fall-2019/version-control-tprossiter0 | 8957b8905e5b4302e802e68b4c4e2ac61eea054b | [
"MIT"
] | null | null | null | math_lib.py | cu-swe4s-fall-2019/version-control-tprossiter0 | 8957b8905e5b4302e802e68b4c4e2ac61eea054b | [
"MIT"
] | null | null | null | def div(a, b):
if(b != 0):
return a/b
else:
print("cannot divide by 0")
return
def add(a,b):
return a+b | 14.222222 | 32 | 0.515625 | 24 | 128 | 2.75 | 0.541667 | 0.121212 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.328125 | 128 | 9 | 33 | 14.222222 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.625 | 0.125 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5fc764f6f305f1bef57aa8a36c50c0e2d3fb5f55 | 1,579 | py | Python | admin/admin.py | mischievousdev/cogs-for-you | fd590a8ea9d6b99179b67c272f88a04e30392e11 | [
"CC0-1.0"
] | 1 | 2020-02-21T15:59:21.000Z | 2020-02-21T15:59:21.000Z | admin/admin.py | mischievousdev/cogs-for-you | fd590a8ea9d6b99179b67c272f88a04e30392e11 | [
"CC0-1.0"
] | null | null | null | admin/admin.py | mischievousdev/cogs-for-you | fd590a8ea9d6b99179b67c272f88a04e30392e11 | [
"CC0-1.0"
] | null | null | null | import discord
from discord.ext import commands
class Admin(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command(hidden=True)
@commands.is_owner()
async def load(self, ctx, extension):
self.bot.load_extension(f"cogs.{extension}")
embed = discord.Embed(color=discord.Color.blurple())
e... | 41.552632 | 113 | 0.734642 | 224 | 1,579 | 5.071429 | 0.21875 | 0.114437 | 0.068662 | 0.089789 | 0.867077 | 0.860915 | 0.860915 | 0.860915 | 0.860915 | 0.818662 | 0 | 0 | 0.098163 | 1,579 | 38 | 114 | 41.552632 | 0.797753 | 0 | 0 | 0.5 | 0 | 0 | 0.274684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.15625 | 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 |
395e61093a2eacc092d2a5b10d7c0cd0efce05e0 | 2,672 | py | Python | alembic/versions/8c09a746d436_update_experiment_columns.py | jonathanzong/dmca | 70157cff983310e5951024aa80e99e7a5404d758 | [
"MIT"
] | 2 | 2022-02-16T22:50:06.000Z | 2022-02-21T19:38:02.000Z | alembic/versions/8c09a746d436_update_experiment_columns.py | jonathanzong/dmca | 70157cff983310e5951024aa80e99e7a5404d758 | [
"MIT"
] | 2 | 2022-02-01T05:48:07.000Z | 2022-02-01T05:49:29.000Z | alembic/versions/8c09a746d436_update_experiment_columns.py | jonathanzong/bartleby | 70157cff983310e5951024aa80e99e7a5404d758 | [
"MIT"
] | null | null | null | """Update experiment columns
Revision ID: 8c09a746d436
Revises: b6bb41e569e4
Create Date: 2017-12-19 14:23:51.293811
"""
# revision identifiers, used by Alembic.
revision = '8c09a746d436'
down_revision = 'b6bb41e569e4'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
from sqlalc... | 34.701299 | 128 | 0.708832 | 319 | 2,672 | 5.786834 | 0.225705 | 0.165764 | 0.053629 | 0.107259 | 0.796858 | 0.796858 | 0.796858 | 0.796858 | 0.796858 | 0.796858 | 0 | 0.026556 | 0.140344 | 2,672 | 76 | 129 | 35.157895 | 0.777101 | 0.230165 | 0 | 0.514286 | 0 | 0 | 0.234335 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.228571 | false | 0 | 0.085714 | 0 | 0.314286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
39a6aa5ed87f23c48f7da5f9292acc9eecda8404 | 7,660 | py | Python | src/conversation_analytics_toolkit/filtering.py | zzhang13/assistant-dialog-flow-analysis | d4e8d00ee0ff1aec33035ad654e7b5484d112040 | [
"Apache-2.0"
] | 19 | 2020-06-07T19:13:06.000Z | 2022-01-22T02:34:11.000Z | src/conversation_analytics_toolkit/filtering.py | watson-developer-cloud/assistant-dialog-flow-analysis | 0c7bcd9527636dce77c74b80f60dbe23e6682e13 | [
"Apache-2.0"
] | 32 | 2020-06-04T14:09:03.000Z | 2021-02-11T15:05:07.000Z | src/conversation_analytics_toolkit/filtering.py | zzhang13/assistant-dialog-flow-analysis | d4e8d00ee0ff1aec33035ad654e7b5484d112040 | [
"Apache-2.0"
] | 10 | 2020-06-04T18:49:53.000Z | 2021-11-26T12:42:08.000Z | # (C) Copyright IBM Corp. 2019, 2020.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 46.424242 | 137 | 0.715796 | 1,090 | 7,660 | 4.818349 | 0.166055 | 0.073115 | 0.106626 | 0.024372 | 0.740289 | 0.729246 | 0.729246 | 0.722963 | 0.714966 | 0.70773 | 0 | 0.00579 | 0.188251 | 7,660 | 165 | 138 | 46.424242 | 0.838855 | 0.176632 | 0 | 0.642105 | 0 | 0.021053 | 0.297458 | 0.038932 | 0 | 0 | 0 | 0.018182 | 0 | 1 | 0.052632 | false | 0 | 0.031579 | 0 | 0.136842 | 0.263158 | 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 |
f2dad5196463dee843f5096f0a717f3e7ebb43f5 | 178 | py | Python | polls/admin.py | bomzheg/drf-api-test-task | 00611073c198ab4fc3d601323587fce781123a3a | [
"MIT"
] | null | null | null | polls/admin.py | bomzheg/drf-api-test-task | 00611073c198ab4fc3d601323587fce781123a3a | [
"MIT"
] | null | null | null | polls/admin.py | bomzheg/drf-api-test-task | 00611073c198ab4fc3d601323587fce781123a3a | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Question, PossibleAnswer, Poll
admin.site.register(Poll)
admin.site.register(Question)
admin.site.register(PossibleAnswer)
| 22.25 | 50 | 0.825843 | 23 | 178 | 6.391304 | 0.478261 | 0.183673 | 0.346939 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08427 | 178 | 7 | 51 | 25.428571 | 0.90184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f2f19d35215945981d5761608e6c3d44716308ce | 137 | py | Python | notebooks/lib/__init__.py | timtyree/crypto | cc4e5fff15d02402edc4d157c4a74fcb1e2ae834 | [
"MIT"
] | null | null | null | notebooks/lib/__init__.py | timtyree/crypto | cc4e5fff15d02402edc4d157c4a74fcb1e2ae834 | [
"MIT"
] | null | null | null | notebooks/lib/__init__.py | timtyree/crypto | cc4e5fff15d02402edc4d157c4a74fcb1e2ae834 | [
"MIT"
] | null | null | null | from .utils import *
from .viewer import *
from .controller import *
from .model import *
from .measures import *
from .routines import * | 22.833333 | 25 | 0.744526 | 18 | 137 | 5.666667 | 0.444444 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167883 | 137 | 6 | 26 | 22.833333 | 0.894737 | 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 |
8408888717007f44a45ef85dbe032c0065a684fe | 116 | py | Python | dist/Basilisk/fswAlgorithms/magComm/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/fswAlgorithms/magComm/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/fswAlgorithms/magComm/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the magComm package is automatically generated by the build system
from magComm import * | 58 | 94 | 0.818966 | 18 | 116 | 5.055556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 116 | 2 | 95 | 58 | 0.928571 | 0.793103 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
840ee113fb8f7ba082479d0471050df70f548c78 | 646 | py | Python | autogen/openapi_server/models/__init__.py | jeanyjean/locatitude-api | b36759f372060a3726c63edb35516303d0e85d81 | [
"MIT"
] | null | null | null | autogen/openapi_server/models/__init__.py | jeanyjean/locatitude-api | b36759f372060a3726c63edb35516303d0e85d81 | [
"MIT"
] | null | null | null | autogen/openapi_server/models/__init__.py | jeanyjean/locatitude-api | b36759f372060a3726c63edb35516303d0e85d81 | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
from __future__ import absolute_import
# import models into model package
from openapi_server.models.all_details import AllDetails
from openapi_server.models.covid19 import Covid19
from openapi_server.models.covid_trend import CovidTrend
from openapi_server.models.lat_long import LatLong... | 40.375 | 68 | 0.871517 | 93 | 646 | 5.806452 | 0.387097 | 0.203704 | 0.314815 | 0.425926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016978 | 0.088235 | 646 | 15 | 69 | 43.066667 | 0.89983 | 0.091331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ffec802f4f43d7f3966e6705fa58059b934a3080 | 108 | py | Python | ratbagd.py | staticssleever668/ratbag-python | 285f73270cd3141a567f36536b96d24d747c6b27 | [
"MIT"
] | null | null | null | ratbagd.py | staticssleever668/ratbag-python | 285f73270cd3141a567f36536b96d24d747c6b27 | [
"MIT"
] | null | null | null | ratbagd.py | staticssleever668/ratbag-python | 285f73270cd3141a567f36536b96d24d747c6b27 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import ratbag.cli.ratbagd
if __name__ == "__main__":
ratbag.cli.ratbagd.main()
| 15.428571 | 29 | 0.703704 | 15 | 108 | 4.533333 | 0.733333 | 0.264706 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.138889 | 108 | 6 | 30 | 18 | 0.72043 | 0.194444 | 0 | 0 | 0 | 0 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
0832cf651bb687e158c907e0b630059b1f20f8ee | 179 | py | Python | demo_package/data/__init__.py | sdpython/demo_package | d057fe8e02a4c18b75696251b3e3bd4b3a9136a5 | [
"MIT"
] | null | null | null | demo_package/data/__init__.py | sdpython/demo_package | d057fe8e02a4c18b75696251b3e3bd4b3a9136a5 | [
"MIT"
] | 2 | 2020-12-14T14:48:46.000Z | 2020-12-14T15:00:18.000Z | demo_package/data/__init__.py | sdpython/demo_package | d057fe8e02a4c18b75696251b3e3bd4b3a9136a5 | [
"MIT"
] | null | null | null | """
Shortcuts to *data*.
"""
from .data_insee import ( # noqa
data_covid_france_departments_hospitals,
data_covid_france_departments_tests,
data_france_departments)
| 19.888889 | 44 | 0.759777 | 21 | 179 | 5.952381 | 0.571429 | 0.408 | 0.24 | 0.416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156425 | 179 | 8 | 45 | 22.375 | 0.827815 | 0.145251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
084f71e0cd63a232698b72a6a394d81d54b6d573 | 35 | py | Python | jduargs/__init__.py | jeandemeusy/jdu_args | cbaf69d70c4cc25492989787ff97b4642b58078f | [
"MIT"
] | null | null | null | jduargs/__init__.py | jeandemeusy/jdu_args | cbaf69d70c4cc25492989787ff97b4642b58078f | [
"MIT"
] | null | null | null | jduargs/__init__.py | jeandemeusy/jdu_args | cbaf69d70c4cc25492989787ff97b4642b58078f | [
"MIT"
] | null | null | null | from .parser import ArgumentParser
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
f25ba38ad9bc528a1cd74f62a8ce3c1bd7e1365a | 67,406 | py | Python | alerter/test/monitors/node/test_chainlink.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 41 | 2019-08-23T12:40:42.000Z | 2022-03-28T11:06:02.000Z | alerter/test/monitors/node/test_chainlink.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 147 | 2019-08-30T22:09:48.000Z | 2022-03-30T08:46:26.000Z | alerter/test/monitors/node/test_chainlink.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 3 | 2019-09-03T21:12:28.000Z | 2021-08-18T14:27:56.000Z | import copy
import json
import logging
import unittest
from collections import ChainMap
from datetime import datetime
from datetime import timedelta
from http.client import IncompleteRead
from typing import Dict
from unittest import mock
from unittest.mock import call
import pika
from freezegun import freeze_time
from... | 47.805674 | 80 | 0.658161 | 7,391 | 67,406 | 5.584224 | 0.058991 | 0.051947 | 0.070143 | 0.042522 | 0.833523 | 0.800863 | 0.779638 | 0.759407 | 0.73055 | 0.717006 | 0 | 0.012942 | 0.26063 | 67,406 | 1,409 | 81 | 47.839603 | 0.815201 | 0.080112 | 0 | 0.670951 | 0 | 0 | 0.151902 | 0.102555 | 0 | 0 | 0 | 0.001419 | 0.068552 | 1 | 0.03856 | false | 0.018852 | 0.020566 | 0.000857 | 0.059983 | 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 |
f2989a63525352cb9639a86eb6d55e031e5791e9 | 2,935 | py | Python | tests/test_projects.py | geraxe/dolib | 2728db044a65b0bba15e7bfbc633d24a21b955d0 | [
"MIT"
] | 5 | 2020-05-30T05:20:06.000Z | 2021-05-21T21:42:34.000Z | tests/test_projects.py | geraxe/dolib | 2728db044a65b0bba15e7bfbc633d24a21b955d0 | [
"MIT"
] | 17 | 2020-05-30T08:17:10.000Z | 2021-06-20T13:26:37.000Z | tests/test_projects.py | geraxe/dolib | 2728db044a65b0bba15e7bfbc633d24a21b955d0 | [
"MIT"
] | 3 | 2020-05-30T05:28:08.000Z | 2021-04-10T17:07:02.000Z | import pytest
from dolib.client import AsyncClient, Client
from dolib.models import Project
@pytest.mark.vcr
@pytest.mark.block_network()
def test_crud_projects(client: Client) -> None:
project = Project(
name="dolib-test",
description="Python library for digital ocean API",
purpose="For ... | 29.94898 | 75 | 0.707666 | 359 | 2,935 | 5.640669 | 0.169916 | 0.119506 | 0.06321 | 0.082963 | 0.879506 | 0.859753 | 0.825679 | 0.825679 | 0.784198 | 0.784198 | 0 | 0.004218 | 0.192164 | 2,935 | 97 | 76 | 30.257732 | 0.849852 | 0.069847 | 0 | 0.59375 | 0 | 0 | 0.083241 | 0.01547 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.015625 | false | 0 | 0.046875 | 0 | 0.0625 | 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 |
f2bf6f5f6f1b38f6e7f456740dadb32b5459f9e4 | 144 | py | Python | ionyweb/plugin_app/plugin_text/admin.py | makinacorpus/ionyweb | 2f18e3dc1fdc86c7e19bae3778e67e28a37567be | [
"BSD-3-Clause"
] | 4 | 2015-09-28T10:07:39.000Z | 2019-10-18T20:14:07.000Z | ionyweb/plugin_app/plugin_text/admin.py | makinacorpus/ionyweb | 2f18e3dc1fdc86c7e19bae3778e67e28a37567be | [
"BSD-3-Clause"
] | 1 | 2021-03-19T21:41:33.000Z | 2021-03-19T21:41:33.000Z | ionyweb/plugin_app/plugin_text/admin.py | makinacorpus/ionyweb | 2f18e3dc1fdc86c7e19bae3778e67e28a37567be | [
"BSD-3-Clause"
] | 1 | 2017-10-12T09:25:19.000Z | 2017-10-12T09:25:19.000Z | # -*- coding: utf-8 -*-
from django.contrib import admin
from ionyweb.plugin_app.plugin_text.models import *
admin.site.register(Plugin_Text)
| 20.571429 | 51 | 0.763889 | 21 | 144 | 5.095238 | 0.714286 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.111111 | 144 | 6 | 52 | 24 | 0.828125 | 0.145833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b4d6f551efd56925bdd292d5e3dd4563b2f53fb | 246 | py | Python | app/models/__init__.py | cmcunningham27/python-newsfeed | 3eef42d693a41807d36946af47ff7e6442185c5c | [
"MIT"
] | null | null | null | app/models/__init__.py | cmcunningham27/python-newsfeed | 3eef42d693a41807d36946af47ff7e6442185c5c | [
"MIT"
] | null | null | null | app/models/__init__.py | cmcunningham27/python-newsfeed | 3eef42d693a41807d36946af47ff7e6442185c5c | [
"MIT"
] | null | null | null | # syncs User model with the database
from .User import User
# syncs Post model with the database
from .Post import Post
# sync Comment model with the database
from .Comment import Comment
# sync Vote model with the database
from .Vote import Vote | 30.75 | 38 | 0.792683 | 40 | 246 | 4.875 | 0.3 | 0.184615 | 0.246154 | 0.410256 | 0.492308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174797 | 246 | 8 | 39 | 30.75 | 0.960591 | 0.569106 | 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 |
4b5a6b62ebb8551e0e1bd3c5bbdc61fe31bac4f5 | 57 | py | Python | ahvl/options/set/__init__.py | gardar/ahvl | 045b5882d94fc2d4ba7b194bf65ebfbf9d2e1d6d | [
"MIT"
] | 4 | 2019-10-12T12:11:23.000Z | 2021-12-20T13:53:28.000Z | ahvl/options/set/__init__.py | gardar/ahvl | 045b5882d94fc2d4ba7b194bf65ebfbf9d2e1d6d | [
"MIT"
] | 2 | 2021-02-05T12:52:55.000Z | 2022-02-11T10:58:52.000Z | ahvl/options/set/__init__.py | gardar/ahvl | 045b5882d94fc2d4ba7b194bf65ebfbf9d2e1d6d | [
"MIT"
] | 1 | 2020-08-13T07:52:27.000Z | 2020-08-13T07:52:27.000Z | from ahvl.options.set.password import OptionsSetPassword
| 28.5 | 56 | 0.877193 | 7 | 57 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4bc25cf81cee74db5d88de84d3613e690fbdf2a2 | 40 | py | Python | rdm/wrappers/wordification/__init__.py | Alshak/rdm | 0c969665a4a3c8e6258c3d603de8987bd9639fd1 | [
"MIT"
] | null | null | null | rdm/wrappers/wordification/__init__.py | Alshak/rdm | 0c969665a4a3c8e6258c3d603de8987bd9639fd1 | [
"MIT"
] | null | null | null | rdm/wrappers/wordification/__init__.py | Alshak/rdm | 0c969665a4a3c8e6258c3d603de8987bd9639fd1 | [
"MIT"
] | 1 | 2020-02-29T17:40:32.000Z | 2020-02-29T17:40:32.000Z | from wordification import Wordification
| 20 | 39 | 0.9 | 4 | 40 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4bc6239870be59dbed26ba81b2a0f52c2c74b8d6 | 4,824 | py | Python | bot.py | AviationTools/Weather-Bot | 44f946cef7d15428e2c4da8219ad609c56292727 | [
"MIT"
] | null | null | null | bot.py | AviationTools/Weather-Bot | 44f946cef7d15428e2c4da8219ad609c56292727 | [
"MIT"
] | null | null | null | bot.py | AviationTools/Weather-Bot | 44f946cef7d15428e2c4da8219ad609c56292727 | [
"MIT"
] | null | null | null | import os
import discord
import requests
import datetime
from PIL import Image
from dotenv import load_dotenv
load_dotenv()
TOKEN = os.getenv("DISCORD_TOKEN")
client = discord.Client()
@client.event
async def on_message(message):
if message.author == client.user:
return
if message.content == "!wea... | 40.2 | 417 | 0.566128 | 592 | 4,824 | 4.525338 | 0.27027 | 0.033595 | 0.053751 | 0.035834 | 0.822695 | 0.822695 | 0.822695 | 0.822695 | 0.822695 | 0.822695 | 0 | 0.133823 | 0.265755 | 4,824 | 119 | 418 | 40.537815 | 0.62253 | 0 | 0 | 0.640449 | 0 | 0.044944 | 0.270315 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.067416 | 0 | 0.078652 | 0.123596 | 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 |
29d22f41a246483051d3caf02752368e644d0615 | 174 | py | Python | hello.py | vanfalen/simple-pi-oled | b3534c795f7cda4fb67a6b844c311eedf3ba8525 | [
"Apache-2.0"
] | null | null | null | hello.py | vanfalen/simple-pi-oled | b3534c795f7cda4fb67a6b844c311eedf3ba8525 | [
"Apache-2.0"
] | null | null | null | hello.py | vanfalen/simple-pi-oled | b3534c795f7cda4fb67a6b844c311eedf3ba8525 | [
"Apache-2.0"
] | null | null | null | from flask import Flask
from flask import request
app = Flask(__name__)
@app.route("/terminal",methods=['POST'])
def hello():
return "Hello, %s"%(request.form["user"])
| 19.333333 | 45 | 0.689655 | 24 | 174 | 4.833333 | 0.666667 | 0.155172 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132184 | 174 | 8 | 46 | 21.75 | 0.768212 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
4b066366a9e2c33bf2584337f289d21864090178 | 117 | py | Python | rest_api/controller/__init__.py | ArzelaAscoIi/haystack | be8f50c9e3de4e264b3f345f5f4b9c9ec518ed08 | [
"Apache-2.0"
] | 4,544 | 2019-11-14T11:57:49.000Z | 2022-03-31T17:41:18.000Z | rest_api/controller/__init__.py | ArzelaAscoIi/haystack | be8f50c9e3de4e264b3f345f5f4b9c9ec518ed08 | [
"Apache-2.0"
] | 1,679 | 2020-01-14T15:55:58.000Z | 2022-03-31T20:55:25.000Z | rest_api/controller/__init__.py | ArzelaAscoIi/haystack | be8f50c9e3de4e264b3f345f5f4b9c9ec518ed08 | [
"Apache-2.0"
] | 820 | 2019-11-27T13:01:42.000Z | 2022-03-31T12:54:34.000Z | from rest_api.pipeline import custom_component # this import is required for the Custom Components to be registered
| 58.5 | 116 | 0.837607 | 18 | 117 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 117 | 1 | 117 | 117 | 0.96 | 0.564103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9a86d35609ccc5e41e5471a6be676f5d69ff793 | 5,262 | py | Python | Keras/1-Flowers/PhotoHandler.py | SSRMori/Tensorflow-Selflearning | 931a015c81b955ab68a7042490a728db1cd29ff2 | [
"MIT"
] | 1 | 2019-07-06T02:11:00.000Z | 2019-07-06T02:11:00.000Z | Keras/1-Flowers/PhotoHandler.py | SSRMori/Tensorflow-Selflearning | 931a015c81b955ab68a7042490a728db1cd29ff2 | [
"MIT"
] | null | null | null | Keras/1-Flowers/PhotoHandler.py | SSRMori/Tensorflow-Selflearning | 931a015c81b955ab68a7042490a728db1cd29ff2 | [
"MIT"
] | null | null | null | from __future__ import print_function
import tensorflow as tf
import numpy as np
import os
import math
from PIL import Image
data_top_path = "./flowers/"
flower_labels = os.listdir(data_top_path)
label_size = len(flower_labels)
jpg_width = 100
jpg_height = 100
def read_jpg_files(file_path):
origin_jpg_file = Ima... | 36.289655 | 101 | 0.702585 | 843 | 5,262 | 3.956109 | 0.104389 | 0.03988 | 0.028786 | 0.023088 | 0.837481 | 0.801199 | 0.769715 | 0.757721 | 0.724138 | 0.724138 | 0 | 0.010834 | 0.193082 | 5,262 | 144 | 102 | 36.541667 | 0.774611 | 0.052642 | 0 | 0.516667 | 0 | 0 | 0.006831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108333 | false | 0 | 0.05 | 0 | 0.266667 | 0.025 | 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 |
d9d5b91a01311b857fef40f3ab59bffc826a0995 | 17,948 | py | Python | polaris/polaris/tests/sep6/test_withdraw.py | lijamie98/django-polaris | 5cdda7434281988deb761b34f574dfcaf7ae9f5d | [
"Apache-2.0"
] | null | null | null | polaris/polaris/tests/sep6/test_withdraw.py | lijamie98/django-polaris | 5cdda7434281988deb761b34f574dfcaf7ae9f5d | [
"Apache-2.0"
] | null | null | null | polaris/polaris/tests/sep6/test_withdraw.py | lijamie98/django-polaris | 5cdda7434281988deb761b34f574dfcaf7ae9f5d | [
"Apache-2.0"
] | null | null | null | import pytest
import json
from typing import Dict
from unittest.mock import patch, Mock
from stellar_sdk.keypair import Keypair
from rest_framework.request import Request
from polaris.tests.conftest import USD_DISTRIBUTION_SEED
from polaris.tests.helpers import (
mock_check_auth_success,
mock_check_auth_succe... | 33.800377 | 87 | 0.673836 | 2,023 | 17,948 | 5.708354 | 0.088482 | 0.031174 | 0.02364 | 0.03637 | 0.85045 | 0.836941 | 0.815899 | 0.810097 | 0.791739 | 0.779702 | 0 | 0.015865 | 0.209828 | 17,948 | 530 | 88 | 33.864151 | 0.798406 | 0 | 0 | 0.655462 | 0 | 0 | 0.148875 | 0.056719 | 0 | 0 | 0 | 0 | 0.128151 | 1 | 0.052521 | false | 0 | 0.023109 | 0.006303 | 0.096639 | 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 |
d9e41d15c261b7b3a2fc68883869e9ef0cae31dc | 26 | py | Python | network_scanner_module/dns_scan.py | ikoyfman/Network---Tooling | 5654b818feabc82c9a58bd2aecbec7436a5fc764 | [
"MIT"
] | null | null | null | network_scanner_module/dns_scan.py | ikoyfman/Network---Tooling | 5654b818feabc82c9a58bd2aecbec7436a5fc764 | [
"MIT"
] | null | null | null | network_scanner_module/dns_scan.py | ikoyfman/Network---Tooling | 5654b818feabc82c9a58bd2aecbec7436a5fc764 | [
"MIT"
] | null | null | null | #FUTURE PORTION
import dns | 13 | 15 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 2 | 16 | 13 | 0.956522 | 0.538462 | 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 |
d9ec9c40e632c92d6734c77b36854b807c433979 | 12,832 | py | Python | dataio.py | sudo-michael/deepreach | a8affc4cc53b7671fda54dc159129315ec6b7ca8 | [
"MIT"
] | null | null | null | dataio.py | sudo-michael/deepreach | a8affc4cc53b7671fda54dc159129315ec6b7ca8 | [
"MIT"
] | null | null | null | dataio.py | sudo-michael/deepreach | a8affc4cc53b7671fda54dc159129315ec6b7ca8 | [
"MIT"
] | null | null | null | import csv
import glob
import math
import os
from unicodedata import normalize
import matplotlib.colors as colors
import numpy as np
import scipy.io as spio
import torch
from torch.utils.data import Dataset
from torchvision.transforms import Resize, Compose, ToTensor, Normalize
import utils
import pickle
def get_mg... | 31.221411 | 169 | 0.56515 | 1,559 | 12,832 | 4.481719 | 0.130212 | 0.056677 | 0.024045 | 0.03206 | 0.772435 | 0.757693 | 0.733505 | 0.719479 | 0.714613 | 0.704308 | 0 | 0.034341 | 0.3351 | 12,832 | 410 | 170 | 31.297561 | 0.784576 | 0.151496 | 0 | 0.713311 | 0 | 0 | 0.014021 | 0.006088 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044369 | false | 0 | 0.044369 | 0.017065 | 0.133106 | 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 |
8a258f9c0b65813f0d1f31d7bcfe33d60776054a | 121 | py | Python | django_uicomponents/settings.py | koenwoortman/django-uicomponents | 833dd219ebbbdaa7dc2b41730d5f21afa55641f1 | [
"MIT"
] | 3 | 2021-05-22T10:45:51.000Z | 2021-08-12T14:40:45.000Z | django_uicomponents/settings.py | koenwoortman/django-uicomponents | 833dd219ebbbdaa7dc2b41730d5f21afa55641f1 | [
"MIT"
] | null | null | null | django_uicomponents/settings.py | koenwoortman/django-uicomponents | 833dd219ebbbdaa7dc2b41730d5f21afa55641f1 | [
"MIT"
] | null | null | null | from django.conf import settings
if not hasattr(settings, 'COMPONENTS_DIR'):
settings.COMPONENTS_DIR = 'components'
| 24.2 | 43 | 0.77686 | 15 | 121 | 6.133333 | 0.666667 | 0.391304 | 0.456522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 121 | 4 | 44 | 30.25 | 0.87619 | 0 | 0 | 0 | 0 | 0 | 0.198347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
8a3d4ba2ae42ed05c83016768ef91833512499da | 21,899 | py | Python | app/models.py | JeremyKimotho/blogs | f0fc056032534dc93f1ac725b60c5ae46d9407ea | [
"MIT"
] | null | null | null | app/models.py | JeremyKimotho/blogs | f0fc056032534dc93f1ac725b60c5ae46d9407ea | [
"MIT"
] | null | null | null | app/models.py | JeremyKimotho/blogs | f0fc056032534dc93f1ac725b60c5ae46d9407ea | [
"MIT"
] | null | null | null | from . import db
from werkzeug.security import generate_password_hash, check_password_hash
from flask_login import UserMixin
from datetime import datetime
from . import login_manager
ACCESS = {
'user': 0,
'admin': 1
}
@login_manager.user_loader
def load_user(user_id):
return User.query.get(int(user_id))
class ... | 157.546763 | 5,231 | 0.784282 | 3,673 | 21,899 | 4.661312 | 0.280969 | 0.011039 | 0.009929 | 0.008411 | 0.066819 | 0.038199 | 0.02862 | 0.017581 | 0.007359 | 0.00514 | 0 | 0.004891 | 0.16914 | 21,899 | 139 | 5,232 | 157.546763 | 0.935532 | 0 | 0 | 0.175926 | 1 | 0.074074 | 0.808539 | 0.001279 | 0 | 0 | 0 | 0 | 0 | 1 | 0.175926 | false | 0.083333 | 0.064815 | 0.046296 | 0.564815 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8a50c79907852fccf1b106fa066ff0c1f6430154 | 9,187 | py | Python | UnityEngine/Collider/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/Collider/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/Collider/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from typing import overload
from UdonPie import System
from UdonPie import UnityEngine
from UdonPie.Undefined import *
class Collider:
def __new__(cls, arg1=None):
'''
:returns: Collider
:rtype: UnityEngine.Collider
'''
pass
@staticmethod
def op_Implicit(arg1):
... | 20.691441 | 77 | 0.53641 | 762 | 9,187 | 6.437008 | 0.094488 | 0.156575 | 0.127829 | 0.082569 | 0.763303 | 0.762691 | 0.717431 | 0.712742 | 0.602039 | 0.515596 | 0 | 0.024416 | 0.371394 | 9,187 | 443 | 78 | 20.738149 | 0.824935 | 0.384239 | 0 | 0.73494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.295181 | false | 0.295181 | 0.024096 | 0 | 0.325301 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8a5aa53a45f3630def4820dcdef3fb71478123ba | 28 | py | Python | test.py | ror-bot/ror-records | 3ed9b35afe6b49e7415d5609b7bf7106370808c8 | [
"MIT"
] | null | null | null | test.py | ror-bot/ror-records | 3ed9b35afe6b49e7415d5609b7bf7106370808c8 | [
"MIT"
] | null | null | null | test.py | ror-bot/ror-records | 3ed9b35afe6b49e7415d5609b7bf7106370808c8 | [
"MIT"
] | null | null | null | print("hi from the script")
| 14 | 27 | 0.714286 | 5 | 28 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 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 |
8ac814b7464d4c9e36a7f4f27861aefded46b663 | 7,889 | py | Python | test/test_processor_qa.py | skiran252/FARM | 8460d78910a20d19a5da12de6e9bff11f68332a7 | [
"Apache-2.0"
] | 1,551 | 2019-07-17T18:21:08.000Z | 2022-03-24T18:09:07.000Z | test/test_processor_qa.py | skiran252/FARM | 8460d78910a20d19a5da12de6e9bff11f68332a7 | [
"Apache-2.0"
] | 555 | 2019-07-23T09:00:54.000Z | 2022-03-31T15:31:06.000Z | test/test_processor_qa.py | skiran252/FARM | 8460d78910a20d19a5da12de6e9bff11f68332a7 | [
"Apache-2.0"
] | 259 | 2019-07-22T08:12:01.000Z | 2022-03-26T09:41:00.000Z | import logging
import json
from farm.data_handler.processor import SquadProcessor
from farm.modeling.tokenization import Tokenizer
# during inference (parameter return_baskets = False) we do not convert labels
def test_dataset_from_dicts_qa_inference(caplog=None):
if caplog:
caplog.set_level(logging.CRIT... | 61.155039 | 201 | 0.595259 | 949 | 7,889 | 4.818757 | 0.169652 | 0.050733 | 0.061229 | 0.083096 | 0.88607 | 0.875355 | 0.853051 | 0.820031 | 0.791166 | 0.767111 | 0 | 0.076113 | 0.26556 | 7,889 | 129 | 202 | 61.155039 | 0.713152 | 0.024084 | 0 | 0.623762 | 0 | 0 | 0.309843 | 0.111039 | 0 | 0 | 0 | 0 | 0.267327 | 1 | 0.019802 | false | 0.049505 | 0.039604 | 0 | 0.059406 | 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 |
76dbc2a44857973cf0480bc56f8bbef9179f5bc8 | 44 | py | Python | django/contrib/messages/__init__.py | egenerat/gae-django | f12379483cf3917ed3cb46ca5ff0b94daf89fc50 | [
"MIT"
] | 3 | 2016-07-08T23:49:32.000Z | 2018-04-15T22:55:01.000Z | django/contrib/messages/__init__.py | egenerat/gae-django | f12379483cf3917ed3cb46ca5ff0b94daf89fc50 | [
"MIT"
] | 27 | 2017-02-05T15:57:04.000Z | 2018-04-15T22:57:26.000Z | django/contrib/messages/__init__.py | egenerat/gae-django | f12379483cf3917ed3cb46ca5ff0b94daf89fc50 | [
"MIT"
] | null | null | null | from api import *
from constants import *
| 14.666667 | 24 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 44 | 2 | 25 | 22 | 0.941176 | 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 |
0a0517f8ec739a367f066c688a229f9ac1aa820f | 19,411 | py | Python | istio/datadog_checks/istio/metrics.py | grosser/integrations-core | 4afe8e448fec0e152e0e2a8deb70b1efff7b2128 | [
"BSD-3-Clause"
] | null | null | null | istio/datadog_checks/istio/metrics.py | grosser/integrations-core | 4afe8e448fec0e152e0e2a8deb70b1efff7b2128 | [
"BSD-3-Clause"
] | null | null | null | istio/datadog_checks/istio/metrics.py | grosser/integrations-core | 4afe8e448fec0e152e0e2a8deb70b1efff7b2128 | [
"BSD-3-Clause"
] | null | null | null | # (C) Datadog, Inc. 2020 - Present
# All rights reserved
# Licensed under Simplified BSD License (see LICENSE)
GENERIC_METRICS = {
'go_gc_duration_seconds': 'go.gc_duration_seconds',
'go_goroutines': 'go.goroutines',
'go_info': 'go.info',
'go_memstats_alloc_bytes': 'go.memstats.alloc_bytes',
'go_m... | 61.233438 | 120 | 0.798774 | 2,511 | 19,411 | 5.57268 | 0.092393 | 0.068606 | 0.07075 | 0.038591 | 0.893375 | 0.853212 | 0.798542 | 0.733938 | 0.646609 | 0.57343 | 0 | 0.00125 | 0.093555 | 19,411 | 316 | 121 | 61.427215 | 0.794032 | 0.019577 | 0 | 0.32069 | 0 | 0 | 0.81485 | 0.737025 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.006897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a0e09eca6f88004a43e7b6443d11f7c60dd37b9 | 159 | py | Python | src/bindings/python/__init__.py | Georepublic/valhalla | 079c11978093608e730b22a52c2363d39eefdc15 | [
"MIT"
] | 1 | 2022-02-19T05:31:55.000Z | 2022-02-19T05:31:55.000Z | src/bindings/python/__init__.py | Georepublic/valhalla | 079c11978093608e730b22a52c2363d39eefdc15 | [
"MIT"
] | null | null | null | src/bindings/python/__init__.py | Georepublic/valhalla | 079c11978093608e730b22a52c2363d39eefdc15 | [
"MIT"
] | null | null | null | try:
from .python_valhalla import *
except ModuleNotFoundError:
from python_valhalla import *
from .actor import Actor
from .config import get_config
| 19.875 | 34 | 0.779874 | 20 | 159 | 6.05 | 0.5 | 0.165289 | 0.297521 | 0.396694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176101 | 159 | 7 | 35 | 22.714286 | 0.923664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 |
0a29088fbf5324b45efa5699af22995f9ebcd2e8 | 45 | py | Python | sharpy/__init__.py | MadManSC2/sharpy-sc2 | 13950357df2db58033daab24f076e3ae83f0b2a8 | [
"MIT"
] | 1 | 2020-03-05T19:21:56.000Z | 2020-03-05T19:21:56.000Z | sharpy/__init__.py | MadManSC2/sharpy-sc2 | 13950357df2db58033daab24f076e3ae83f0b2a8 | [
"MIT"
] | null | null | null | sharpy/__init__.py | MadManSC2/sharpy-sc2 | 13950357df2db58033daab24f076e3ae83f0b2a8 | [
"MIT"
] | null | null | null | # re-export
from .constants import Constants | 22.5 | 32 | 0.8 | 6 | 45 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 2 | 32 | 22.5 | 0.923077 | 0.2 | 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 |
0a3d0752a0ca7e9afbc6e991f12468ea88b23894 | 216 | py | Python | Server/test/apply/extension/test_extension_map_get.py | miraedbswo/DMS-Backend-V3-Student | 37269d1d24b2c57b5edb96b69c74eecd3995fd2f | [
"MIT"
] | 10 | 2019-08-19T09:46:09.000Z | 2021-04-29T10:47:54.000Z | Server/test/apply/extension/test_extension_map_get.py | DSM-DMS/DMS-Backend-V3-Student | 3eedd071fab46ae29e9cc3d7b05ef9e5cfd446b6 | [
"MIT"
] | 6 | 2018-10-10T23:37:20.000Z | 2018-12-27T04:57:32.000Z | Server/test/apply/extension/test_extension_map_get.py | DSM-DMS/DMS-Backend-V3-Student | 3eedd071fab46ae29e9cc3d7b05ef9e5cfd446b6 | [
"MIT"
] | 3 | 2021-02-27T05:41:11.000Z | 2021-06-28T03:10:31.000Z | from flask import Response
from app.model.apply import ExtensionApplyModel
from test import TCBase, check_status_code
from test.request import ApplyRequest
class TestGetExtensionMap(TCBase, ApplyRequest):
pass | 24 | 48 | 0.837963 | 27 | 216 | 6.62963 | 0.666667 | 0.089385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 216 | 9 | 49 | 24 | 0.94709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.833333 | 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 |
6a7e8c4cb7dc46112f2a9c9d7d76bc7361af2318 | 3,137 | py | Python | tests/test_engine/test_update/test_update_currentDate.py | bobuk/montydb | 9ee299e7f1d3a7236abb683e0dfe4f7817859b2c | [
"BSD-3-Clause"
] | 478 | 2019-07-31T00:48:11.000Z | 2022-03-18T09:12:29.000Z | tests/test_engine/test_update/test_update_currentDate.py | bobuk/montydb | 9ee299e7f1d3a7236abb683e0dfe4f7817859b2c | [
"BSD-3-Clause"
] | 47 | 2019-07-28T10:12:22.000Z | 2022-01-04T16:25:12.000Z | tests/test_engine/test_update/test_update_currentDate.py | bobuk/montydb | 9ee299e7f1d3a7236abb683e0dfe4f7817859b2c | [
"BSD-3-Clause"
] | 26 | 2019-08-09T14:28:29.000Z | 2022-02-22T02:49:51.000Z |
import pytest
from pymongo.errors import WriteError as mongo_write_err
from montydb.errors import WriteError as monty_write_err
from ...conftest import skip_if_no_bson
def test_update_currentDate_1(monty_update, mongo_update):
docs = [
{"a": None}
]
spec = {"$currentDate": {"a": True}}
mont... | 25.504065 | 71 | 0.651897 | 445 | 3,137 | 4.303371 | 0.134831 | 0.109661 | 0.109661 | 0.087728 | 0.855875 | 0.849086 | 0.839164 | 0.839164 | 0.801567 | 0.801567 | 0 | 0.004067 | 0.21613 | 3,137 | 122 | 72 | 25.713115 | 0.774705 | 0.080969 | 0 | 0.620253 | 0 | 0 | 0.056367 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 1 | 0.088608 | false | 0 | 0.050633 | 0 | 0.139241 | 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 |
6aa6908338b46c742f8e827b7137e230aeec8285 | 14,116 | py | Python | dandi/tests/test_delete.py | TheChymera/dandi-cli | 9a42b1fa2f9af3be01254f7457f5a21d834c1864 | [
"Apache-2.0"
] | null | null | null | dandi/tests/test_delete.py | TheChymera/dandi-cli | 9a42b1fa2f9af3be01254f7457f5a21d834c1864 | [
"Apache-2.0"
] | null | null | null | dandi/tests/test_delete.py | TheChymera/dandi-cli | 9a42b1fa2f9af3be01254f7457f5a21d834c1864 | [
"Apache-2.0"
] | null | null | null | from pathlib import Path
from typing import List
import pytest
from pytest_mock import MockerFixture
from .fixtures import DandiAPI, SampleDandiset
from ..consts import DRAFT, dandiset_metadata_file
from ..dandiapi import RESTFullAPIClient
from ..delete import delete
from ..download import download
from ..exceptions ... | 33.371158 | 88 | 0.646642 | 1,563 | 14,116 | 5.595649 | 0.079335 | 0.073176 | 0.055568 | 0.065744 | 0.891265 | 0.880631 | 0.858335 | 0.843357 | 0.807798 | 0.789847 | 0 | 0.00674 | 0.232715 | 14,116 | 422 | 89 | 33.450237 | 0.800757 | 0 | 0 | 0.7 | 0 | 0 | 0.187164 | 0.100028 | 0 | 0 | 0 | 0 | 0.074359 | 1 | 0.038462 | false | 0 | 0.028205 | 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 |
6ab7543ed5b346a22795cdc057bf7a3272dc4fa1 | 58,222 | py | Python | ironic/tests/unit/drivers/modules/test_pxe.py | isabella232/ironic | 9a0bd8a774143e6f767aaa3031be6b70554bc332 | [
"Apache-2.0"
] | 2 | 2019-06-17T21:37:53.000Z | 2020-07-11T03:58:39.000Z | ironic/tests/unit/drivers/modules/test_pxe.py | openshift/ironic | 9a0bd8a774143e6f767aaa3031be6b70554bc332 | [
"Apache-2.0"
] | 1 | 2019-06-16T22:53:49.000Z | 2019-09-16T09:37:35.000Z | ironic/tests/unit/drivers/modules/test_pxe.py | isabella232/ironic | 9a0bd8a774143e6f767aaa3031be6b70554bc332 | [
"Apache-2.0"
] | 6 | 2019-06-13T12:49:33.000Z | 2021-04-17T16:33:19.000Z | # Copyright 2013 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2... | 49.719898 | 79 | 0.648466 | 6,961 | 58,222 | 5.075995 | 0.05459 | 0.035773 | 0.043726 | 0.039056 | 0.844767 | 0.823852 | 0.791759 | 0.769514 | 0.750495 | 0.732722 | 0 | 0.003633 | 0.257841 | 58,222 | 1,170 | 80 | 49.762393 | 0.814094 | 0.013998 | 0 | 0.667932 | 0 | 0 | 0.093456 | 0.020981 | 0 | 0 | 0 | 0 | 0.11575 | 1 | 0.065465 | false | 0.001898 | 0.024668 | 0 | 0.096774 | 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 |
6aea03aee927de9288877466e8b780cf42cff828 | 22,578 | py | Python | yardstick/tests/unit/benchmark/scenarios/networking/test_pktgen.py | mythwm/yardstick | ea13581f450c9c44f6f73d383e6a192697a95cc1 | [
"Apache-2.0"
] | null | null | null | yardstick/tests/unit/benchmark/scenarios/networking/test_pktgen.py | mythwm/yardstick | ea13581f450c9c44f6f73d383e6a192697a95cc1 | [
"Apache-2.0"
] | null | null | null | yardstick/tests/unit/benchmark/scenarios/networking/test_pktgen.py | mythwm/yardstick | ea13581f450c9c44f6f73d383e6a192697a95cc1 | [
"Apache-2.0"
] | null | null | null | ##############################################################################
# Copyright (c) 2015 Ericsson AB and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available... | 33.799401 | 81 | 0.601825 | 2,796 | 22,578 | 4.54721 | 0.065451 | 0.082586 | 0.087305 | 0.122227 | 0.900346 | 0.87266 | 0.845131 | 0.840412 | 0.83821 | 0.81603 | 0 | 0.028077 | 0.260165 | 22,578 | 667 | 82 | 33.850075 | 0.733058 | 0.012269 | 0 | 0.693252 | 0 | 0 | 0.102448 | 0.00786 | 0 | 0 | 0 | 0 | 0.083845 | 1 | 0.0818 | false | 0 | 0.00818 | 0 | 0.092025 | 0.006135 | 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 |
0a7afd02bf2f95c23824af798fe6e8b3168e798a | 47 | py | Python | sr/utils/__init__.py | marcocamma/sr | 221026b6e5bcaf1aab5e418260adf3724e517287 | [
"MIT"
] | null | null | null | sr/utils/__init__.py | marcocamma/sr | 221026b6e5bcaf1aab5e418260adf3724e517287 | [
"MIT"
] | null | null | null | sr/utils/__init__.py | marcocamma/sr | 221026b6e5bcaf1aab5e418260adf3724e517287 | [
"MIT"
] | null | null | null | from . import unicode
from . import conversion
| 15.666667 | 24 | 0.787234 | 6 | 47 | 6.166667 | 0.666667 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 25 | 23.5 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0a8197d1b7bc435e7e509cf003502a33ebc433f7 | 7,948 | py | Python | xlsxwriter/test/styles/test_write_font.py | haiyangd/XlsxWriter | 81f8c9435b3e03a1458bf9ba314b5d3f7508290f | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2018-02-26T12:31:41.000Z | 2020-10-10T14:14:11.000Z | xlsxwriter/test/styles/test_write_font.py | haiyangd/XlsxWriter | 81f8c9435b3e03a1458bf9ba314b5d3f7508290f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | xlsxwriter/test/styles/test_write_font.py | haiyangd/XlsxWriter | 81f8c9435b3e03a1458bf9ba314b5d3f7508290f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ###############################################################################
#
# Tests for XlsxWriter.
#
# Copyright (c), 2013-2017, John McNamara, jmcnamara@cpan.org
#
import unittest
from ...compatibility import StringIO
from ...styles import Styles
from ...format import Format
class TestWriteFont(unittest.Test... | 31.168627 | 199 | 0.576623 | 979 | 7,948 | 4.510725 | 0.100102 | 0.105978 | 0.061141 | 0.061594 | 0.800045 | 0.791214 | 0.717391 | 0.703804 | 0.703804 | 0.703804 | 0 | 0.02302 | 0.229366 | 7,948 | 254 | 200 | 31.291339 | 0.697959 | 0.110846 | 0 | 0.492754 | 0 | 0.123188 | 0.320401 | 0.079628 | 0 | 0 | 0 | 0 | 0.123188 | 1 | 0.130435 | false | 0 | 0.028986 | 0 | 0.166667 | 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 |
0abe383ca309301febf25e471bffd58ee3e40cd1 | 17,936 | py | Python | system/t09_repo/include.py | Yelp/aptly | 59a0c0140ba0f0f12554d57d99110511eb3e6229 | [
"MIT"
] | null | null | null | system/t09_repo/include.py | Yelp/aptly | 59a0c0140ba0f0f12554d57d99110511eb3e6229 | [
"MIT"
] | null | null | null | system/t09_repo/include.py | Yelp/aptly | 59a0c0140ba0f0f12554d57d99110511eb3e6229 | [
"MIT"
] | 1 | 2022-03-18T11:33:21.000Z | 2022-03-18T11:33:21.000Z | import tempfile
import shutil
import os
import inspect
import re
from lib import BaseTest
def gpgRemove(_, s):
return re.sub(r'Signature made .* using|gpgv: keyblock resource .*$|gpgv: Can\'t check signature: .*$', '', s, flags=re.MULTILINE)
def changesRemove(_, s):
return s.replace(os.path.join(os.path.dir... | 32.028571 | 145 | 0.630966 | 2,036 | 17,936 | 5.506385 | 0.09332 | 0.068683 | 0.033003 | 0.030417 | 0.850772 | 0.847114 | 0.809562 | 0.783605 | 0.717064 | 0.676122 | 0 | 0.035933 | 0.236619 | 17,936 | 559 | 146 | 32.085868 | 0.782866 | 0.077554 | 0 | 0.69209 | 0 | 0.059322 | 0.254843 | 0.125355 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118644 | false | 0 | 0.016949 | 0.056497 | 0.435028 | 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 |
0ac5b265377df4976a6598a69e82f04731e923b6 | 290 | py | Python | app/exception.py | zhangmingkai4315/ContactCli | 5a7030bed2374179b65b70d53f01eb7400ef865f | [
"MIT"
] | null | null | null | app/exception.py | zhangmingkai4315/ContactCli | 5a7030bed2374179b65b70d53f01eb7400ef865f | [
"MIT"
] | null | null | null | app/exception.py | zhangmingkai4315/ContactCli | 5a7030bed2374179b65b70d53f01eb7400ef865f | [
"MIT"
] | null | null | null | class UserNotValidException(Exception):
pass
class PhoneNotValidException(Exception):
pass
class ConfigFileParseException(Exception):
pass
class DuplicateUserException(Exception):
pass
class IndexOutofRangeException(Exception):
pass
class IndexNotGivenException(Exception):
pass | 24.166667 | 42 | 0.837931 | 24 | 290 | 10.125 | 0.375 | 0.320988 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 290 | 12 | 43 | 24.166667 | 0.931034 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0ac67a36c5cbacfbcd92145e7888c1052733f56f | 29,451 | py | Python | module_statistics.py | ambra-dipiano/thesis | c24bb1a19c2fad652202527145851f1b22980bfe | [
"BSD-3-Clause"
] | null | null | null | module_statistics.py | ambra-dipiano/thesis | c24bb1a19c2fad652202527145851f1b22980bfe | [
"BSD-3-Clause"
] | null | null | null | module_statistics.py | ambra-dipiano/thesis | c24bb1a19c2fad652202527145851f1b22980bfe | [
"BSD-3-Clause"
] | 1 | 2020-10-01T12:37:35.000Z | 2020-10-01T12:37:35.000Z | # MIT License
# ----------------------------- #
# Copyright 2020 Ambra Di Piano #
# ----------------------------- # -------------------------------------------------- #
# Redistribution and use in source and binary forms, with or without modification, #
# are permitted provided that the following conditions are met: ... | 38.751316 | 144 | 0.625446 | 4,375 | 29,451 | 4.178514 | 0.101714 | 0.072644 | 0.054045 | 0.045512 | 0.790766 | 0.767081 | 0.747716 | 0.730102 | 0.703463 | 0.676987 | 0 | 0.024605 | 0.192693 | 29,451 | 760 | 145 | 38.751316 | 0.74428 | 0.122203 | 0 | 0.728696 | 0 | 0 | 0.077455 | 0.003378 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026087 | false | 0.001739 | 0.027826 | 0 | 0.08 | 0.02087 | 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 |
0ad0134e50901402cc76e39899d74112cd4600f2 | 70,542 | py | Python | econml/ortho_iv.py | jaronowitz/EconML | 3df959d120d429537a62ebfb22a84b9b28530457 | [
"MIT"
] | null | null | null | econml/ortho_iv.py | jaronowitz/EconML | 3df959d120d429537a62ebfb22a84b9b28530457 | [
"MIT"
] | null | null | null | econml/ortho_iv.py | jaronowitz/EconML | 3df959d120d429537a62ebfb22a84b9b28530457 | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
"""Orthogonal IV for Heterogeneous Treatment Effects.
A Double/Orthogonal machine learning approach to estimation of heterogeneous
treatment effect with an endogenous treatment and an instrument. It
implements the DMLIV and ... | 46.562376 | 118 | 0.633523 | 9,710 | 70,542 | 4.426468 | 0.06241 | 0.034062 | 0.018008 | 0.02066 | 0.814267 | 0.79463 | 0.777762 | 0.764454 | 0.75203 | 0.725041 | 0 | 0.003821 | 0.280174 | 70,542 | 1,514 | 119 | 46.593131 | 0.842629 | 0.470202 | 0 | 0.578689 | 0 | 0 | 0.043238 | 0 | 0 | 0 | 0 | 0.002642 | 0.014754 | 1 | 0.121311 | false | 0.013115 | 0.018033 | 0.02459 | 0.277049 | 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 |
0ad14b028d2634f04a60d8f9deff786f998d6e8d | 26,643 | py | Python | tests/test_stream_xep_0060.py | imo/SleekXMPP | 8175ed572888551314fe43304ab8acd2278c809b | [
"BSD-3-Clause"
] | 3 | 2019-02-01T06:50:08.000Z | 2020-03-24T00:45:31.000Z | tests/test_stream_xep_0060.py | imo/SleekXMPP | 8175ed572888551314fe43304ab8acd2278c809b | [
"BSD-3-Clause"
] | null | null | null | tests/test_stream_xep_0060.py | imo/SleekXMPP | 8175ed572888551314fe43304ab8acd2278c809b | [
"BSD-3-Clause"
] | null | null | null | import sys
import time
import threading
from sleekxmpp.test import *
from sleekxmpp.stanza.atom import AtomEntry
from sleekxmpp.xmlstream import register_stanza_plugin
class TestStreamPubsub(SleekTest):
"""
Test using the XEP-0030 plugin.
"""
def setUp(self):
self.stream_start()
def te... | 33.513208 | 86 | 0.497504 | 2,627 | 26,643 | 4.992006 | 0.082223 | 0.080067 | 0.098826 | 0.080067 | 0.804713 | 0.774821 | 0.741116 | 0.686442 | 0.667683 | 0.63863 | 0 | 0.0176 | 0.351687 | 26,643 | 794 | 87 | 33.555416 | 0.74162 | 0.07608 | 0 | 0.784195 | 0 | 0 | 0.606462 | 0.088567 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.009119 | 0 | 0.074468 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c0e46978194e747d3d02077a5f5051129276bde | 22,513 | py | Python | tests/test_prior.py | jmeyers314/DP_SNe | d5a91e96425fe99c8f4450a9f11256f3abbd43eb | [
"BSD-2-Clause"
] | 20 | 2017-11-20T09:44:14.000Z | 2022-02-11T17:38:24.000Z | tests/test_prior.py | jmeyers314/DP_SNe | d5a91e96425fe99c8f4450a9f11256f3abbd43eb | [
"BSD-2-Clause"
] | 1 | 2016-07-08T01:12:51.000Z | 2016-07-08T01:12:51.000Z | tests/test_prior.py | jmeyers314/DP_SNe | d5a91e96425fe99c8f4450a9f11256f3abbd43eb | [
"BSD-2-Clause"
] | 9 | 2017-06-30T20:46:57.000Z | 2021-08-17T06:47:58.000Z | import warnings
import numpy as np
from scipy.integrate import quad, dblquad, tplquad
import dpmm
from test_utils import timer
@timer
def test_GaussianMeanKnownVariance():
mu_0 = 0.15
sigsqr_0 = 1.2
sigsqr = 0.15
model = dpmm.GaussianMeanKnownVariance(mu_0, sigsqr_0, sigsqr)
D = np.r_[1.0, 2.2, ... | 41.768089 | 113 | 0.596811 | 3,477 | 22,513 | 3.772793 | 0.057521 | 0.042689 | 0.034685 | 0.068837 | 0.815826 | 0.79349 | 0.75789 | 0.750724 | 0.725797 | 0.709636 | 0 | 0.055366 | 0.271532 | 22,513 | 538 | 114 | 41.845725 | 0.744512 | 0.158442 | 0 | 0.441417 | 0 | 0 | 0.186801 | 0.007951 | 0 | 0 | 0 | 0 | 0.160763 | 1 | 0.019074 | false | 0 | 0.016349 | 0 | 0.035422 | 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 |
7c21be921705f6079de57f15c3dd0aff925ce379 | 788 | py | Python | tests/test_equilibrium.py | MartinKliemank/lettuce | ee1b4dbfdbcf1bd87ac6b867b091a923d033403e | [
"MIT"
] | 53 | 2021-04-01T06:17:52.000Z | 2022-03-21T18:27:13.000Z | tests/test_equilibrium.py | MartinKliemank/lettuce | ee1b4dbfdbcf1bd87ac6b867b091a923d033403e | [
"MIT"
] | 48 | 2019-09-17T14:07:57.000Z | 2020-11-18T19:53:24.000Z | tests/test_equilibrium.py | MartinKliemank/lettuce | ee1b4dbfdbcf1bd87ac6b867b091a923d033403e | [
"MIT"
] | 9 | 2021-04-16T12:57:19.000Z | 2022-03-08T11:40:50.000Z | """
Tests for equilibria
"""
import pytest
from lettuce.equilibrium import *
@pytest.mark.parametrize("Equilibrium", [QuadraticEquilibrium])
def test_equilibrium_conserves_mass(f_all_lattices, Equilibrium):
f, lattice = f_all_lattices
equilibrium = Equilibrium(lattice)
feq = equilibrium(rho=lattice.rho(f... | 34.26087 | 94 | 0.736041 | 102 | 788 | 5.54902 | 0.303922 | 0.028269 | 0.084806 | 0.162544 | 0.819788 | 0.819788 | 0.713781 | 0.713781 | 0.713781 | 0.434629 | 0 | 0.002861 | 0.112944 | 788 | 22 | 95 | 35.818182 | 0.806867 | 0.025381 | 0 | 0.571429 | 0 | 0 | 0.028947 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c28fa168e1426d1c6f374e02c4e4454eab053d9 | 92 | py | Python | 02_ldprofile_pybind11/src/wrap/__init__.py | martinschwinzerl/pyhep2020-cxx-bindings | 27562b6500210dbb9066e86bba5dd3abe4a47328 | [
"MIT"
] | 1 | 2020-07-17T14:00:52.000Z | 2020-07-17T14:00:52.000Z | 02_ldprofile_pybind11/src/wrap/__init__.py | martinschwinzerl/pyhep2020-cxx-bindings | 27562b6500210dbb9066e86bba5dd3abe4a47328 | [
"MIT"
] | null | null | null | 02_ldprofile_pybind11/src/wrap/__init__.py | martinschwinzerl/pyhep2020-cxx-bindings | 27562b6500210dbb9066e86bba5dd3abe4a47328 | [
"MIT"
] | null | null | null | from .ldprofile_pybind11 import CoastingLDProfile, QGaussianLDProfile, LinInterpolLDProfile
| 46 | 91 | 0.902174 | 7 | 92 | 11.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.065217 | 92 | 1 | 92 | 92 | 0.930233 | 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 |
7c2a0a19a3350a841aa7362339722606e571f500 | 8,031 | py | Python | pjtk2/tests/api/test_project_points_polygons_api.py | AdamCottrill/Project-Tracker-2 | ba37441e1936b7825b2cfc1507858d207ff874f8 | [
"MIT"
] | null | null | null | pjtk2/tests/api/test_project_points_polygons_api.py | AdamCottrill/Project-Tracker-2 | ba37441e1936b7825b2cfc1507858d207ff874f8 | [
"MIT"
] | null | null | null | pjtk2/tests/api/test_project_points_polygons_api.py | AdamCottrill/Project-Tracker-2 | ba37441e1936b7825b2cfc1507858d207ff874f8 | [
"MIT"
] | null | null | null | from django.contrib.gis.geos import GEOSGeometry
from django.test import TestCase, Client, RequestFactory
from django.urls import reverse
from rest_framework import status
from pjtk2.models import SamplePoint, ProjectPolygon
from pjtk2.api.serializers import ProjectPolygonSerializer, ProjectPointSerializer
from pjtk2... | 36.504545 | 85 | 0.658199 | 962 | 8,031 | 5.334719 | 0.173597 | 0.070148 | 0.071707 | 0.038971 | 0.809821 | 0.801637 | 0.786048 | 0.763445 | 0.720187 | 0.720187 | 0 | 0.031439 | 0.239572 | 8,031 | 219 | 86 | 36.671233 | 0.808908 | 0.174449 | 0 | 0.655738 | 0 | 0 | 0.085893 | 0.014107 | 0 | 0 | 0 | 0 | 0.196721 | 1 | 0.090164 | false | 0 | 0.065574 | 0 | 0.163934 | 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 |
7c884e67d811cd4cebb9e894c032818c505e522d | 27 | py | Python | src/detector/__init__.py | ymlsam/deepgaau-detector | 3f6d8195b4b1857bc1317035d999e9bca226ce7c | [
"MIT"
] | null | null | null | src/detector/__init__.py | ymlsam/deepgaau-detector | 3f6d8195b4b1857bc1317035d999e9bca226ce7c | [
"MIT"
] | null | null | null | src/detector/__init__.py | ymlsam/deepgaau-detector | 3f6d8195b4b1857bc1317035d999e9bca226ce7c | [
"MIT"
] | null | null | null | from .detector import main
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 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 |
7cda91da3939985ac1873e9204a896cc248eac5e | 142 | py | Python | app/schema/mutations/todo/__init__.py | rjNemo/graphql_python_template | 14bc5fd657f6bdba8d7293f21cfcec821fa6374f | [
"MIT"
] | 1 | 2021-05-02T01:47:57.000Z | 2021-05-02T01:47:57.000Z | app/schema/mutations/todo/__init__.py | rjNemo/graphql_python_template | 14bc5fd657f6bdba8d7293f21cfcec821fa6374f | [
"MIT"
] | null | null | null | app/schema/mutations/todo/__init__.py | rjNemo/graphql_python_template | 14bc5fd657f6bdba8d7293f21cfcec821fa6374f | [
"MIT"
] | null | null | null | from .close_todo import CloseTodo
from .create_todo import CreateTodo
from .delete_todo import DeleteTodo
from .update_todo import UpdateTodo
| 28.4 | 35 | 0.859155 | 20 | 142 | 5.9 | 0.55 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 142 | 4 | 36 | 35.5 | 0.936508 | 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 |
7cef326530a204235c99ed313d3a473debe866ed | 47 | py | Python | taotao-cloud-python/taotao-cloud-oldboy/day42-python-js/test.py | shuigedeng/taotao-cloud-paren | 3d281b919490f7cbee4520211e2eee5da7387564 | [
"Apache-2.0"
] | 47 | 2021-04-13T10:32:13.000Z | 2022-03-31T10:30:30.000Z | taotao-cloud-python/taotao-cloud-oldboy/day42-python-js/test.py | shuigedeng/taotao-cloud-paren | 3d281b919490f7cbee4520211e2eee5da7387564 | [
"Apache-2.0"
] | 1 | 2021-11-01T07:41:04.000Z | 2021-11-01T07:41:10.000Z | taotao-cloud-python/taotao-cloud-oldboy/day42-python-js/test.py | shuigedeng/taotao-cloud-paren | 3d281b919490f7cbee4520211e2eee5da7387564 | [
"Apache-2.0"
] | 21 | 2021-04-13T10:32:17.000Z | 2022-03-26T07:43:22.000Z |
# def f():
# x=10
if 1:
x=10
print(x) | 6.714286 | 10 | 0.404255 | 10 | 47 | 1.9 | 0.7 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0.382979 | 47 | 7 | 11 | 6.714286 | 0.482759 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b1856d785c18d72b922e94ed4d2792383baa9d9 | 107 | py | Python | generator_app/__init__.py | badf00d21/JSD2021 | 0af83e671bdc2570b617ed29b395db4193dd7daf | [
"MIT"
] | null | null | null | generator_app/__init__.py | badf00d21/JSD2021 | 0af83e671bdc2570b617ed29b395db4193dd7daf | [
"MIT"
] | null | null | null | generator_app/__init__.py | badf00d21/JSD2021 | 0af83e671bdc2570b617ed29b395db4193dd7daf | [
"MIT"
] | null | null | null | import generator_app.generator_app as app
def call_generate():
print('call_generate')
app.main()
| 15.285714 | 41 | 0.728972 | 15 | 107 | 4.933333 | 0.6 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168224 | 107 | 6 | 42 | 17.833333 | 0.831461 | 0 | 0 | 0 | 1 | 0 | 0.121495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b219f509501b5473aa18d8201d2069a3706934f | 1,320 | py | Python | dusk/script/math.py | mroethlin/dusk | 7c494d5270b2a9ecd40ce90bd122d36d27cdc5d9 | [
"MIT"
] | null | null | null | dusk/script/math.py | mroethlin/dusk | 7c494d5270b2a9ecd40ce90bd122d36d27cdc5d9 | [
"MIT"
] | 1 | 2020-09-29T12:14:44.000Z | 2020-10-13T07:15:12.000Z | dusk/script/math.py | mroethlin/dusk | 7c494d5270b2a9ecd40ce90bd122d36d27cdc5d9 | [
"MIT"
] | null | null | null | __all__ = [
"max",
"min",
"pow",
"sqrt",
"exp",
"log",
"sin",
"cos",
"tan",
"arcsin",
"arccos",
"arctan",
"fabs",
"floor",
"ceil",
"isinf",
"isnan",
]
def max(a: float, b: float) -> float:
raise NotImplementedError
def min(a: float, b: float) -... | 15 | 42 | 0.637879 | 143 | 1,320 | 5.86014 | 0.181818 | 0.202864 | 0.304296 | 0.689737 | 0.817422 | 0.77327 | 0.105012 | 0.105012 | 0 | 0 | 0 | 0 | 0.239394 | 1,320 | 87 | 43 | 15.172414 | 0.834661 | 0 | 0 | 0.320755 | 0 | 0 | 0.052273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.320755 | false | 0 | 0 | 0 | 0.320755 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
862e2d8c378243ec96afd025d93354f3ade461cc | 187 | py | Python | include/const.py | Ayvytr/PythonBox | ab15c4fad79be827e7e04cdce30335d6a979655a | [
"Apache-2.0"
] | 1 | 2020-01-03T00:18:36.000Z | 2020-01-03T00:18:36.000Z | include/const.py | Ayvytr/PyBox | ab15c4fad79be827e7e04cdce30335d6a979655a | [
"Apache-2.0"
] | null | null | null | include/const.py | Ayvytr/PyBox | ab15c4fad79be827e7e04cdce30335d6a979655a | [
"Apache-2.0"
] | null | null | null | class Const:
GITHUB = "https://github.com/ayvytr/PythonBox"
ISSUE = "https://github.com/Ayvytr/PythonBox/issues"
MAIL = "mailto:ayvytr@163.com?subject=Bug-Report&body={}"
| 37.4 | 62 | 0.679144 | 24 | 187 | 5.291667 | 0.666667 | 0.173228 | 0.220472 | 0.314961 | 0.456693 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01875 | 0.144385 | 187 | 4 | 63 | 46.75 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0.68306 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8649d1c5e53f71e0eb876bb6163f00cb8e794a8f | 4,092 | py | Python | src/transformers/utils/dummy_flax_objects.py | theainerd/transformers | f7328de46dbeda4992a093a0501932bf0fc7b76f | [
"Apache-2.0"
] | 34 | 2021-07-05T02:44:31.000Z | 2022-03-28T14:39:57.000Z | src/transformers/utils/dummy_flax_objects.py | theainerd/transformers | f7328de46dbeda4992a093a0501932bf0fc7b76f | [
"Apache-2.0"
] | 3 | 2021-07-22T15:49:44.000Z | 2022-03-19T08:46:27.000Z | src/transformers/utils/dummy_flax_objects.py | theainerd/transformers | f7328de46dbeda4992a093a0501932bf0fc7b76f | [
"Apache-2.0"
] | 6 | 2021-07-05T02:44:32.000Z | 2022-02-14T10:10:13.000Z | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..file_utils import requires_flax
class FlaxPreTrainedModel:
def __init__(self, *args, **kwargs):
requires_flax(self)
@classmethod
def from_pretrained(self, *args, **kwargs):
requires_flax(self)
FLAX_MODEL_... | 21.536842 | 75 | 0.692326 | 432 | 4,092 | 6.168981 | 0.143519 | 0.166604 | 0.189118 | 0.297186 | 0.73546 | 0.665666 | 0.665666 | 0.665666 | 0.665666 | 0.634146 | 0 | 0 | 0.206989 | 4,092 | 189 | 76 | 21.650794 | 0.821263 | 0.01784 | 0 | 0.760684 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.008547 | 0 | 0.478632 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8696259ca5e3968fea17fb25752d8c6fd5fe54f1 | 103 | py | Python | personalcapital/exceptions.py | aagnone3/personalcapital | 55471602885c6c495a1dff9229c84213f2220ab2 | [
"MIT"
] | 9 | 2019-04-01T01:16:38.000Z | 2021-12-26T20:38:32.000Z | personalcapital/exceptions.py | Kpasha/personal-capital-plus | 55471602885c6c495a1dff9229c84213f2220ab2 | [
"MIT"
] | null | null | null | personalcapital/exceptions.py | Kpasha/personal-capital-plus | 55471602885c6c495a1dff9229c84213f2220ab2 | [
"MIT"
] | 3 | 2020-06-23T02:58:53.000Z | 2021-04-03T05:31:32.000Z | class RequireTwoFactorException(Exception):
pass
class LoginFailedException(Exception):
pass
| 14.714286 | 43 | 0.786408 | 8 | 103 | 10.125 | 0.625 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 6 | 44 | 17.166667 | 0.931034 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
86d17965ffceecd8ef98d35a760dfa3656b18a60 | 76 | py | Python | tinycat/__init__.py | kbobrowski/tinycat | 4f1e177530ac891123e1df6beeee6d7833936ddf | [
"MIT"
] | null | null | null | tinycat/__init__.py | kbobrowski/tinycat | 4f1e177530ac891123e1df6beeee6d7833936ddf | [
"MIT"
] | null | null | null | tinycat/__init__.py | kbobrowski/tinycat | 4f1e177530ac891123e1df6beeee6d7833936ddf | [
"MIT"
] | null | null | null | from .translate import generate_task, paragraph_parser, process_translation
| 38 | 75 | 0.881579 | 9 | 76 | 7.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 76 | 1 | 76 | 76 | 0.914286 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
811003e6d6c4c5ee2768dc99ff4b20f807b78bec | 19 | py | Python | pygridtools/viz/__init__.py | phobson/gridtools | 53c5792ed6826bb9487d3e6b8e943760ab421a75 | [
"BSD-3-Clause"
] | 26 | 2016-01-20T15:40:21.000Z | 2021-10-08T00:35:15.000Z | pygridtools/viz/__init__.py | phobson/gridtools | 53c5792ed6826bb9487d3e6b8e943760ab421a75 | [
"BSD-3-Clause"
] | 48 | 2015-10-01T02:51:52.000Z | 2021-05-05T15:31:11.000Z | pygridtools/viz/__init__.py | phobson/gridtools | 53c5792ed6826bb9487d3e6b8e943760ab421a75 | [
"BSD-3-Clause"
] | 8 | 2015-09-30T19:53:03.000Z | 2022-02-23T03:29:24.000Z | from .viz import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 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 |
d4f5a1d4f3f9712da91744b84ef61eda79f0d2e4 | 95 | py | Python | r2base/processors/readers/reader_cli.py | ariafyy/R2Base | 19c65a7907d2b40fcad15f31574f6d4e4901776c | [
"Apache-2.0"
] | null | null | null | r2base/processors/readers/reader_cli.py | ariafyy/R2Base | 19c65a7907d2b40fcad15f31574f6d4e4901776c | [
"Apache-2.0"
] | null | null | null | r2base/processors/readers/reader_cli.py | ariafyy/R2Base | 19c65a7907d2b40fcad15f31574f6d4e4901776c | [
"Apache-2.0"
] | 1 | 2021-08-02T05:07:44.000Z | 2021-08-02T05:07:44.000Z | from r2base.processors.bases import ProcessorBase
class ReaderClient(ProcessorBase):
pass | 19 | 49 | 0.821053 | 10 | 95 | 7.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.126316 | 95 | 5 | 50 | 19 | 0.927711 | 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 |
077310e94bb5a1b0bbcd1ef9b405981f93aeaf7e | 43 | py | Python | rofm/__init__.py | PurelyApplied/roll_one_for_me | 1130d6bb29db4795f3ef84ea0540e94290b6e58d | [
"Apache-2.0"
] | 13 | 2016-05-10T22:11:46.000Z | 2019-02-15T03:44:01.000Z | rofm/__init__.py | PurelyApplied/roll_one_for_me | 1130d6bb29db4795f3ef84ea0540e94290b6e58d | [
"Apache-2.0"
] | 6 | 2017-07-06T22:13:18.000Z | 2017-07-07T18:18:12.000Z | rofm/__init__.py | PurelyApplied/roll_one_for_me | 1130d6bb29db4795f3ef84ea0540e94290b6e58d | [
"Apache-2.0"
] | 10 | 2016-02-10T20:23:51.000Z | 2022-03-25T14:06:05.000Z | from . import classes
from . import legacy
| 14.333333 | 21 | 0.767442 | 6 | 43 | 5.5 | 0.666667 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 22 | 21.5 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
079cd6e8ac3bf0849751bf8fc8c9e7d66a644886 | 118 | py | Python | oommfc/tests/test_init.py | fgr1986/oommfc | 8c57683fd480b910c0eca0fbca57d8d0b009ed7a | [
"BSD-3-Clause"
] | 23 | 2019-09-18T10:58:00.000Z | 2022-02-07T07:05:49.000Z | oommfc/tests/test_init.py | fgr1986/oommfc | 8c57683fd480b910c0eca0fbca57d8d0b009ed7a | [
"BSD-3-Clause"
] | 43 | 2019-08-22T04:31:36.000Z | 2022-03-28T09:09:15.000Z | oommfc/tests/test_init.py | fgr1986/oommfc | 8c57683fd480b910c0eca0fbca57d8d0b009ed7a | [
"BSD-3-Clause"
] | 7 | 2020-04-25T13:25:25.000Z | 2021-12-06T15:06:28.000Z | import oommfc as oc
def test_version():
assert isinstance(oc.__version__, str)
assert '.' in oc.__version__
| 16.857143 | 42 | 0.711864 | 16 | 118 | 4.6875 | 0.6875 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194915 | 118 | 6 | 43 | 19.666667 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
079cdd52f25ed79982d9e2d2b0264a235121c7ed | 164 | py | Python | core/admin.py | johncmacy/django-react-graphql | 723ea2fb7d482d3d955e336dbd099b24cf0c6d3c | [
"MIT"
] | null | null | null | core/admin.py | johncmacy/django-react-graphql | 723ea2fb7d482d3d955e336dbd099b24cf0c6d3c | [
"MIT"
] | null | null | null | core/admin.py | johncmacy/django-react-graphql | 723ea2fb7d482d3d955e336dbd099b24cf0c6d3c | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Shape)
admin.site.register(Color)
admin.site.register(Thing)
admin.site.register(Widget) | 23.428571 | 32 | 0.810976 | 24 | 164 | 5.541667 | 0.5 | 0.270677 | 0.511278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 164 | 7 | 33 | 23.428571 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
07aab67200eaadf6a6aa65bb96d6f76c7a9f8e97 | 32 | py | Python | graff/query/__init__.py | apontzen/graff | edbc7dcb292bba5a723d5acd9478af75a601038c | [
"BSD-3-Clause"
] | 3 | 2020-08-28T18:52:16.000Z | 2020-09-05T01:51:40.000Z | graff/query/__init__.py | apontzen/graff | edbc7dcb292bba5a723d5acd9478af75a601038c | [
"BSD-3-Clause"
] | null | null | null | graff/query/__init__.py | apontzen/graff | edbc7dcb292bba5a723d5acd9478af75a601038c | [
"BSD-3-Clause"
] | null | null | null | from . import base, node, edge
| 10.666667 | 30 | 0.6875 | 5 | 32 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 2 | 31 | 16 | 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 |
07c118b365beb31deda561082ceb91d2f2e90d8a | 23,204 | py | Python | semi_supervised_learning_pca.py | hkaneko1985/semi_supervised_learning | b2d0cd2d6e734eccd591a4e5ad984c002bdc9476 | [
"MIT"
] | 4 | 2019-11-08T08:58:14.000Z | 2021-01-23T08:50:27.000Z | semi_supervised_learning_pca.py | 1309822673/semi_supervised_learning | b2d0cd2d6e734eccd591a4e5ad984c002bdc9476 | [
"MIT"
] | null | null | null | semi_supervised_learning_pca.py | 1309822673/semi_supervised_learning | b2d0cd2d6e734eccd591a4e5ad984c002bdc9476 | [
"MIT"
] | 1 | 2020-11-20T10:48:22.000Z | 2020-11-20T10:48:22.000Z | # -*- coding: utf-8 -*-
"""
@author: Hiromasa Kaneko
"""
import math
import warnings
import matplotlib.figure as figure
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from sklearn import model_selection, svm, tree
from sklearn.cross_decomposition import PLSRegression
from sklearn... | 63.572603 | 121 | 0.691777 | 3,315 | 23,204 | 4.456109 | 0.082353 | 0.043461 | 0.04143 | 0.047387 | 0.803412 | 0.776943 | 0.749526 | 0.724614 | 0.714189 | 0.71209 | 0 | 0.018354 | 0.199319 | 23,204 | 364 | 122 | 63.747253 | 0.776737 | 0.056628 | 0 | 0.640127 | 0 | 0 | 0.024784 | 0.002577 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.044586 | 0 | 0.044586 | 0.031847 | 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 |
07c8bd084ca8f2e3113088632c40e18e88256820 | 6,999 | py | Python | mobile/migrations/0001_initial.py | hyperoslo/django-mobile | 7ce65c51b45c167d096021852ce8f367732eb754 | [
"MIT"
] | 3 | 2016-10-04T08:03:26.000Z | 2017-06-30T10:25:35.000Z | mobile/migrations/0001_initial.py | hyperoslo/django-mobile | 7ce65c51b45c167d096021852ce8f367732eb754 | [
"MIT"
] | 1 | 2021-04-30T09:51:29.000Z | 2021-04-30T09:51:29.000Z | mobile/migrations/0001_initial.py | hyperoslo/django-mobile | 7ce65c51b45c167d096021852ce8f367732eb754 | [
"MIT"
] | 2 | 2016-10-04T08:03:28.000Z | 2017-09-21T02:12:56.000Z | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'OutgoingSMS'
db.create_table('mobile_outgoingsms', (
('id', self.gf('django.db... | 57.842975 | 133 | 0.588656 | 761 | 6,999 | 5.296978 | 0.111695 | 0.117093 | 0.201439 | 0.28777 | 0.774994 | 0.755148 | 0.750682 | 0.700074 | 0.679732 | 0.61027 | 0 | 0.016771 | 0.199171 | 6,999 | 120 | 134 | 58.325 | 0.702409 | 0.033005 | 0 | 0.395833 | 0 | 0 | 0.478396 | 0.297573 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.041667 | 0 | 0.09375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
58028b45994c9e5bc8269a5c988cb586f930ea3e | 3,249 | py | Python | tests/async/test_dealer_dealer.py | calcite/zmq_tubes | ab501639b310f818a85b4fa190f3a70ae28390ff | [
"MIT"
] | 1 | 2021-10-07T11:29:02.000Z | 2021-10-07T11:29:02.000Z | tests/async/test_dealer_dealer.py | calcite/tubes | ab501639b310f818a85b4fa190f3a70ae28390ff | [
"MIT"
] | null | null | null | tests/async/test_dealer_dealer.py | calcite/tubes | ab501639b310f818a85b4fa190f3a70ae28390ff | [
"MIT"
] | null | null | null | import asyncio
import zmq
from ..helpers import run_test_tasks
from zmq_tubes import Tube, TubeNode, TubeMessage
ADDR = 'ipc:///tmp/dealer_dealer.pipe'
TOPIC = 'req'
def test_dealer_dealer():
data = ['request-DEALER1_REQ-0', 'request-DEALER1_REQ-1',
'request-DEALER2_REQ-0', 'request-DEALER2_REQ-1']
... | 29.536364 | 78 | 0.614343 | 388 | 3,249 | 4.878866 | 0.149485 | 0.075541 | 0.047544 | 0.069731 | 0.824089 | 0.812995 | 0.812995 | 0.759641 | 0.759641 | 0.759641 | 0 | 0.026778 | 0.264389 | 3,249 | 109 | 79 | 29.807339 | 0.765272 | 0 | 0 | 0.636364 | 0 | 0 | 0.132348 | 0.060634 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.022727 | false | 0 | 0.045455 | 0 | 0.068182 | 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 |
ed09228aea18bcccf2db2b9eebc43a355daf1da7 | 130 | py | Python | __init__.py | smwa/round_robin_tournament | 8a2959e21d77f9fac722e787de57293062aa89dc | [
"MIT"
] | 1 | 2022-01-12T20:49:31.000Z | 2022-01-12T20:49:31.000Z | __init__.py | smwa/round_robin_tournament | 8a2959e21d77f9fac722e787de57293062aa89dc | [
"MIT"
] | null | null | null | __init__.py | smwa/round_robin_tournament | 8a2959e21d77f9fac722e787de57293062aa89dc | [
"MIT"
] | null | null | null | """
Import the classes Tournament, Match, and Participant.
"""
from .round_robin_tournament import Tournament, Match, Participant
| 26 | 66 | 0.792308 | 15 | 130 | 6.733333 | 0.666667 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 130 | 4 | 67 | 32.5 | 0.878261 | 0.415385 | 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 |
ed17458a8c8eeb8fcee3108042c2b829a5cde2c1 | 1,279 | py | Python | dbReports/iondb/bin/fix_experimentChipTypeWithExtraQuotes.py | sequencer2014/TS | 465804570349d46b47c1bdf131bdafea5c582dee | [
"Apache-2.0"
] | null | null | null | dbReports/iondb/bin/fix_experimentChipTypeWithExtraQuotes.py | sequencer2014/TS | 465804570349d46b47c1bdf131bdafea5c582dee | [
"Apache-2.0"
] | null | null | null | dbReports/iondb/bin/fix_experimentChipTypeWithExtraQuotes.py | sequencer2014/TS | 465804570349d46b47c1bdf131bdafea5c582dee | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright (C) 2013 Ion Torrent Systems, Inc. All Rights Reserved
from djangoinit import *
import sys
import os
from iondb.rundb import models
''' remove extra quotes or backslash in Experiment.chipType '''
chipTypes = models.Experiment.objects.all().values_list('chipType', flat=True).distin... | 34.567568 | 99 | 0.721658 | 162 | 1,279 | 5.648148 | 0.364198 | 0.104918 | 0.15082 | 0.113661 | 0.813115 | 0.813115 | 0.813115 | 0.813115 | 0.813115 | 0.813115 | 0 | 0.005495 | 0.146208 | 1,279 | 36 | 100 | 35.527778 | 0.832418 | 0.066458 | 0 | 0.5 | 0 | 0 | 0.152347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.1 | 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 |
ed2cb70329a751075a4ca3db338f273d7ae9e3c4 | 1,161 | py | Python | application/migrations/0035_auto_20200831_1609.py | City-of-Helsinki/events-helsinki-cms | 64e4c1ce6cc058fb3783e417560dc244bd753d05 | [
"MIT"
] | 2 | 2020-04-20T05:37:28.000Z | 2021-02-19T10:33:45.000Z | application/migrations/0035_auto_20200831_1609.py | City-of-Helsinki/events-helsinki-cms | 64e4c1ce6cc058fb3783e417560dc244bd753d05 | [
"MIT"
] | 6 | 2020-02-12T12:55:37.000Z | 2021-03-30T12:56:28.000Z | application/migrations/0035_auto_20200831_1609.py | City-of-Helsinki/events-helsinki-cms | 64e4c1ce6cc058fb3783e417560dc244bd753d05 | [
"MIT"
] | 1 | 2021-02-18T12:11:18.000Z | 2021-02-18T12:11:18.000Z | # Generated by Django 2.2.9 on 2020-08-31 16:09
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('application', '0034_auto_20200806_1101'),
]
operations = [
migrations.AlterField(
model_name='landingpages',
name='h... | 40.034483 | 175 | 0.61068 | 119 | 1,161 | 5.781513 | 0.428571 | 0.087209 | 0.109012 | 0.126453 | 0.767442 | 0.767442 | 0.767442 | 0.767442 | 0.767442 | 0.767442 | 0 | 0.04415 | 0.219638 | 1,161 | 28 | 176 | 41.464286 | 0.715232 | 0.03876 | 0 | 0.545455 | 1 | 0 | 0.280969 | 0.101436 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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.