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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8bc5ad6bfc3bfcb721c19a75ba13eb4241f417d9 | 73 | py | Python | vae_lm/models/nonauto_lm/priors/__init__.py | Nemexur/nonauto-lm | 6f237e4fc2b3b679cd92126ea5facd58d3cf6e75 | [
"Apache-2.0"
] | 3 | 2021-05-04T09:41:20.000Z | 2021-12-14T07:41:40.000Z | vae_lm/models/nonauto_lm/priors/__init__.py | Nemexur/nonauto-lm | 6f237e4fc2b3b679cd92126ea5facd58d3cf6e75 | [
"Apache-2.0"
] | null | null | null | vae_lm/models/nonauto_lm/priors/__init__.py | Nemexur/nonauto-lm | 6f237e4fc2b3b679cd92126ea5facd58d3cf6e75 | [
"Apache-2.0"
] | null | null | null | from .prior import Prior, DefaultPrior
from .flow_prior import FlowPrior
| 24.333333 | 38 | 0.835616 | 10 | 73 | 6 | 0.6 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 2 | 39 | 36.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8be8cfd7e53237394367a9d6c5fa19a6eafb951f | 74 | py | Python | dp_conceptual_search/search/client/__init__.py | flaxandteal/dp-conceptual-search | 16c6383a61ba5b7069337c2626a0dc243bfe9d35 | [
"MIT"
] | 3 | 2018-05-10T16:49:27.000Z | 2022-03-29T15:23:04.000Z | dp_conceptual_search/search/client/__init__.py | flaxandteal/dp-conceptual-search | 16c6383a61ba5b7069337c2626a0dc243bfe9d35 | [
"MIT"
] | 2 | 2018-09-20T06:37:27.000Z | 2018-11-12T12:05:08.000Z | dp_conceptual_search/search/client/__init__.py | flaxandteal/dp-conceptual-search | 16c6383a61ba5b7069337c2626a0dc243bfe9d35 | [
"MIT"
] | 3 | 2018-06-25T10:48:43.000Z | 2021-04-11T08:01:27.000Z | from dp_conceptual_search.search.client.search_client import SearchClient
| 37 | 73 | 0.905405 | 10 | 74 | 6.4 | 0.7 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 74 | 1 | 74 | 74 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
4745b23b7cfdd8e27f90b0199a4797b00579ec6f | 32 | py | Python | realtime_api/__init__.py | mmartin/ogs_api | a1ad0753d5922b93bbb27c427f8ee68ebc4a23a3 | [
"MIT"
] | 4 | 2020-05-01T15:17:21.000Z | 2021-07-10T05:49:39.000Z | realtime_api/__init__.py | mmartin/ogs_api | a1ad0753d5922b93bbb27c427f8ee68ebc4a23a3 | [
"MIT"
] | null | null | null | realtime_api/__init__.py | mmartin/ogs_api | a1ad0753d5922b93bbb27c427f8ee68ebc4a23a3 | [
"MIT"
] | 1 | 2021-02-07T20:33:28.000Z | 2021-02-07T20:33:28.000Z | from .socket import comm_socket
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4752ed461dfde14c67b5d1b34f22a908eb95b21a | 48 | py | Python | sqlite3paramstyle/__init__.py | shrkw/sqlite3-printf-format | f1f4447e44b854d192772b4b02bb4afe458565e2 | [
"MIT"
] | 3 | 2016-12-09T14:16:28.000Z | 2020-08-29T17:50:14.000Z | sqlite3paramstyle/__init__.py | shrkw/sqlite3-printf-format | f1f4447e44b854d192772b4b02bb4afe458565e2 | [
"MIT"
] | 1 | 2016-12-09T14:56:39.000Z | 2016-12-09T14:56:39.000Z | sqlite3paramstyle/__init__.py | shrkw/sqlite3-printf-format | f1f4447e44b854d192772b4b02bb4afe458565e2 | [
"MIT"
] | null | null | null | # coding:utf-8
from .connection import connect
| 12 | 31 | 0.770833 | 7 | 48 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.145833 | 48 | 3 | 32 | 16 | 0.878049 | 0.25 | 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 |
4777562fb758b176b96ee869413b9d8d7b080f35 | 2,607 | py | Python | python class.py | karanjakhar/python-programs | 316cd4e83ae39c1d1e70c2a5e8a9329641bad9e1 | [
"MIT"
] | 1 | 2019-09-02T15:56:38.000Z | 2019-09-02T15:56:38.000Z | python class.py | karanjakhar/python-programs | 316cd4e83ae39c1d1e70c2a5e8a9329641bad9e1 | [
"MIT"
] | null | null | null | python class.py | karanjakhar/python-programs | 316cd4e83ae39c1d1e70c2a5e8a9329641bad9e1 | [
"MIT"
] | null | null | null | #classs
class a:
def root(self):
print("Welcome to Chandigarh University");
obj=a()
obj.root();
#inheritance
#single
class abc:
def sum(self):
self.a=10;
self.b=20;
result=self.a+self.b
print(result);
class xyz(abc):
def mul(self):
self... | 14.897143 | 51 | 0.484081 | 351 | 2,607 | 3.595442 | 0.116809 | 0.07607 | 0.126783 | 0.066561 | 0.774168 | 0.774168 | 0.774168 | 0.732964 | 0.709192 | 0.709192 | 0 | 0.038624 | 0.364404 | 2,607 | 174 | 52 | 14.982759 | 0.722993 | 0.03107 | 0 | 0.838983 | 0 | 0 | 0.040361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.152542 | false | 0 | 0 | 0 | 0.305085 | 0.152542 | 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 |
477db8e1c99bd554fb83426190322a63e84cb5d2 | 137 | py | Python | app/main/forms.py | r4gus/Blogger | 439256b9d7703182185aeadbd3010f3153db5304 | [
"MIT"
] | null | null | null | app/main/forms.py | r4gus/Blogger | 439256b9d7703182185aeadbd3010f3153db5304 | [
"MIT"
] | null | null | null | app/main/forms.py | r4gus/Blogger | 439256b9d7703182185aeadbd3010f3153db5304 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, PasswordField
from wtforms.validators import DataRequired
| 27.4 | 59 | 0.868613 | 16 | 137 | 7.375 | 0.6875 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109489 | 137 | 4 | 60 | 34.25 | 0.967213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 |
9a62213af70a8f9fbc84779276df4056756e0a15 | 82 | py | Python | src/installation/utils/src.py | aminya/Amin-Latex-Package | bc1854151af23658ef53ff4d63d3a85b4bedaabc | [
"MIT"
] | 2 | 2021-08-06T07:31:22.000Z | 2021-10-31T11:04:17.000Z | src/installation/utils/src.py | aminya/Amin-Latex-Package | bc1854151af23658ef53ff4d63d3a85b4bedaabc | [
"MIT"
] | null | null | null | src/installation/utils/src.py | aminya/Amin-Latex-Package | bc1854151af23658ef53ff4d63d3a85b4bedaabc | [
"MIT"
] | null | null | null | import os
src_path = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
| 20.5 | 70 | 0.768293 | 14 | 82 | 4.142857 | 0.428571 | 0.310345 | 0.672414 | 0.517241 | 0.672414 | 0.672414 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 82 | 3 | 71 | 27.333333 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d016cbbb1be4bd24326dee41c0a6357584217731 | 258 | py | Python | sktime/transformations/panel/dictionary_based/__init__.py | mikofski/sktime | 87bdf36dbc0990f29942eb6f7fa56a8e6c5fa7b7 | [
"BSD-3-Clause"
] | 5,349 | 2019-03-21T14:56:50.000Z | 2022-03-31T11:25:30.000Z | sktime/transformations/panel/dictionary_based/__init__.py | abhishek-parashar/sktime | 1dfce6b41c2acdb576acfc04b09d11bf115c92d1 | [
"BSD-3-Clause"
] | 1,803 | 2019-03-26T13:33:53.000Z | 2022-03-31T23:58:10.000Z | sktime/transformations/panel/dictionary_based/__init__.py | abhishek-parashar/sktime | 1dfce6b41c2acdb576acfc04b09d11bf115c92d1 | [
"BSD-3-Clause"
] | 911 | 2019-03-25T01:21:30.000Z | 2022-03-31T04:45:51.000Z | # -*- coding: utf-8 -*-
__all__ = ["PAA", "SFA", "SAX"]
from sktime.transformations.panel.dictionary_based._paa import PAA
from sktime.transformations.panel.dictionary_based._sax import SAX
from sktime.transformations.panel.dictionary_based._sfa import SFA
| 36.857143 | 66 | 0.786822 | 34 | 258 | 5.676471 | 0.411765 | 0.15544 | 0.388601 | 0.466321 | 0.73057 | 0.73057 | 0.497409 | 0 | 0 | 0 | 0 | 0.004255 | 0.089147 | 258 | 6 | 67 | 43 | 0.817021 | 0.081395 | 0 | 0 | 0 | 0 | 0.038298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d022aca7c028551382c577dc214cb3fc1e418641 | 628 | py | Python | genrl/agents/bandits/multiarmed/__init__.py | mehulrastogi/genrl | 589a3619497b38eaa376168c78b9f84d4ff434e5 | [
"MIT"
] | null | null | null | genrl/agents/bandits/multiarmed/__init__.py | mehulrastogi/genrl | 589a3619497b38eaa376168c78b9f84d4ff434e5 | [
"MIT"
] | null | null | null | genrl/agents/bandits/multiarmed/__init__.py | mehulrastogi/genrl | 589a3619497b38eaa376168c78b9f84d4ff434e5 | [
"MIT"
] | null | null | null | from genrl.agents.bandits.multiarmed.bayesian import BayesianUCBMABAgent # noqa
from genrl.agents.bandits.multiarmed.bernoulli_mab import BernoulliMAB # noqa
from genrl.agents.bandits.multiarmed.epsgreedy import EpsGreedyMABAgent # noqa
from genrl.agents.bandits.multiarmed.gaussian_mab import GaussianMAB # noqa
fro... | 62.8 | 85 | 0.839172 | 76 | 628 | 6.907895 | 0.315789 | 0.137143 | 0.228571 | 0.335238 | 0.540952 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093949 | 628 | 9 | 86 | 69.777778 | 0.922671 | 0.08121 | 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 |
d04dccd500247c770a25cfc0e1017d3029019e0b | 1,067 | py | Python | venv/lib/python2.7/posixpath.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | venv/lib/python2.7/posixpath.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | venv/lib/python2.7/posixpath.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | XSym
0037
56c3624a443ab53b820765dcb3fa70a7
/anaconda2/lib/python2.7/posixpath.py
... | 213.4 | 986 | 0.066542 | 9 | 1,067 | 7.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0.927835 | 1,067 | 5 | 986 | 213.4 | 0.558442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d08dab5d18a72fdb199c543f3aa3f9b0179b80f1 | 19,912 | py | Python | generator.py | manideep2510/Lipreading-Keras | d5b41a62599a68e6506cbf8d25779f770505f6b7 | [
"Apache-2.0"
] | 6 | 2020-05-17T12:07:16.000Z | 2021-03-24T16:29:55.000Z | generator.py | manideep2510/Lipreading-Keras | d5b41a62599a68e6506cbf8d25779f770505f6b7 | [
"Apache-2.0"
] | 12 | 2020-02-24T18:49:45.000Z | 2022-03-12T00:17:08.000Z | generator.py | manideep2510/Lipreading-Keras | d5b41a62599a68e6506cbf8d25779f770505f6b7 | [
"Apache-2.0"
] | 3 | 2020-04-25T18:03:17.000Z | 2020-10-30T11:03:34.000Z | import os
from os.path import join
import glob
import random
import shutil
import numpy as np
from pydub import AudioSegment
import tensorflow as tf
from scipy.io import wavfile
from scipy import signal
import math
from PIL import Image
import dlib
import skvideo.io
import time
import glob
import subprocess
import rand... | 35.056338 | 122 | 0.528526 | 2,361 | 19,912 | 4.238882 | 0.096146 | 0.040468 | 0.030775 | 0.019784 | 0.846323 | 0.838329 | 0.829536 | 0.820244 | 0.816647 | 0.802858 | 0 | 0.022116 | 0.346023 | 19,912 | 567 | 123 | 35.118166 | 0.746429 | 0.381428 | 0 | 0.599237 | 0 | 0 | 0.010871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022901 | false | 0 | 0.129771 | 0 | 0.164122 | 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 |
d0de3034cf0e2d5dff1c74b922e50401943b3edc | 1,860 | py | Python | learnr/losses.py | CosmoStat/LearnR | 75332c00c0304d8c09ee6cfcb92f44a2c79882e8 | [
"MIT"
] | null | null | null | learnr/losses.py | CosmoStat/LearnR | 75332c00c0304d8c09ee6cfcb92f44a2c79882e8 | [
"MIT"
] | 4 | 2022-03-23T18:15:35.000Z | 2022-03-23T20:29:16.000Z | learnr/losses.py | CosmoStat/LearnR | 75332c00c0304d8c09ee6cfcb92f44a2c79882e8 | [
"MIT"
] | null | null | null | import tensorflow as tf
from autometacal import get_metacal_response_finitediff
@tf.function
def loss_fd(batch,model,reconv_psf_image,step=0.01):
"""
Defines a loss respective to unit shear response
Args:
batch: tf batch
Image stamps as ['obs_image'] and psf models as ['psf_image']
reconv_psf... | 26.571429 | 68 | 0.56129 | 220 | 1,860 | 4.6 | 0.309091 | 0.079051 | 0.083004 | 0.067194 | 0.810277 | 0.810277 | 0.810277 | 0.810277 | 0.810277 | 0.810277 | 0 | 0.016653 | 0.354301 | 1,860 | 69 | 69 | 26.956522 | 0.825978 | 0.362366 | 0 | 0.666667 | 0 | 0 | 0.057606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.25 | 0.041667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
efd67f0fc93173207ce7648314e792bc2aa15fe6 | 168 | py | Python | hubot/signals.py | kilinger/marathon-rocketchat-hubot | 682454b90265eb2c66ea222cf0c970370816a9e1 | [
"BSD-3-Clause"
] | 1 | 2018-07-10T07:03:12.000Z | 2018-07-10T07:03:12.000Z | hubot/signals.py | kilinger/marathon-rocketchat-hubot | 682454b90265eb2c66ea222cf0c970370816a9e1 | [
"BSD-3-Clause"
] | null | null | null | hubot/signals.py | kilinger/marathon-rocketchat-hubot | 682454b90265eb2c66ea222cf0c970370816a9e1 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.dispatch import Signal
status_update_event = Signal(providing_args=["data"])
deployment_success = Signal(providing_args=["data"])
| 24 | 53 | 0.744048 | 21 | 168 | 5.714286 | 0.761905 | 0.25 | 0.316667 | 0.383333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.10119 | 168 | 6 | 54 | 28 | 0.788079 | 0.125 | 0 | 0 | 0 | 0 | 0.055172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4beb3813f7e94309766d17e944450297776fee87 | 2,645 | py | Python | daily_menu/classification/migrations/0002_auto_20190508_1823.py | michalkvacek/at-chutna | bd34deaab62378d4f6598ac497de7a4a8bd41263 | [
"MIT"
] | null | null | null | daily_menu/classification/migrations/0002_auto_20190508_1823.py | michalkvacek/at-chutna | bd34deaab62378d4f6598ac497de7a4a8bd41263 | [
"MIT"
] | null | null | null | daily_menu/classification/migrations/0002_auto_20190508_1823.py | michalkvacek/at-chutna | bd34deaab62378d4f6598ac497de7a4a8bd41263 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.4 on 2019-05-08 16:23
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('classification', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='dailymenuclassification',
nam... | 31.86747 | 73 | 0.567108 | 213 | 2,645 | 6.967136 | 0.201878 | 0.09097 | 0.139488 | 0.163747 | 0.897574 | 0.897574 | 0.617251 | 0.617251 | 0.617251 | 0.617251 | 0 | 0.010579 | 0.320983 | 2,645 | 82 | 74 | 32.256098 | 0.815702 | 0.017013 | 0 | 0.907895 | 1 | 0 | 0.168591 | 0.090454 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013158 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ef461700553e8bcdb4a447bb0c419c4af5597dc0 | 23 | py | Python | nucanvas/__init__.py | JacoboSpain/symbolator | a9b24e4d6cf2a5369cd2a4a9604025f1c9e2ecdb | [
"MIT"
] | 124 | 2017-06-07T15:08:26.000Z | 2022-03-21T06:10:32.000Z | nucanvas/__init__.py | JacoboSpain/symbolator | a9b24e4d6cf2a5369cd2a4a9604025f1c9e2ecdb | [
"MIT"
] | 13 | 2017-12-21T07:18:07.000Z | 2022-01-06T15:42:39.000Z | nucanvas/__init__.py | JacoboSpain/symbolator | a9b24e4d6cf2a5369cd2a4a9604025f1c9e2ecdb | [
"MIT"
] | 33 | 2018-06-25T07:28:59.000Z | 2022-02-16T11:59:39.000Z | from nucanvas import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
323696637d0736dc5114c559c0628837989df89e | 93 | py | Python | readfile.py | hannahedeen/finishline | 095fb3106b27958ad4e09877decb35fbe472624e | [
"MIT"
] | null | null | null | readfile.py | hannahedeen/finishline | 095fb3106b27958ad4e09877decb35fbe472624e | [
"MIT"
] | null | null | null | readfile.py | hannahedeen/finishline | 095fb3106b27958ad4e09877decb35fbe472624e | [
"MIT"
] | null | null | null | with open("D:\\xampp\\htdocs\\chatBotShopAss\\cache.txt", "r") as a:
print(a.readline())
| 31 | 68 | 0.645161 | 14 | 93 | 4.285714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 93 | 2 | 69 | 46.5 | 0.722892 | 0 | 0 | 0 | 0 | 0 | 0.483871 | 0.473118 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0 | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
323db2c428c367f763c88ebd99600f6bcad8d22d | 325 | py | Python | tests/test_report.py | LucaCappelletti94/repairing_genomic_gaps | 38d43c732cbd092b52c1eaf0b33a9bd47a14ebd4 | [
"MIT"
] | null | null | null | tests/test_report.py | LucaCappelletti94/repairing_genomic_gaps | 38d43c732cbd092b52c1eaf0b33a9bd47a14ebd4 | [
"MIT"
] | null | null | null | tests/test_report.py | LucaCappelletti94/repairing_genomic_gaps | 38d43c732cbd092b52c1eaf0b33a9bd47a14ebd4 | [
"MIT"
] | null | null | null | import repairing_genomic_gaps
from repairing_genomic_gaps import build_reports, build_synthetic_dataset_cae, build_synthetic_dataset_cnn
def test_report():
#build_reports(
# root="test_reports",
# training_chromosomes=("chrM",),
# testing_chromosomes=("chrM",),
# batch_size=1
#)
... | 29.545455 | 106 | 0.713846 | 37 | 325 | 5.810811 | 0.621622 | 0.148837 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003788 | 0.187692 | 325 | 11 | 107 | 29.545455 | 0.810606 | 0.381538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
327770f23fbdf7de1641f8b54d4885dd27c86561 | 61,679 | py | Python | run_nerf_helpers.py | yashbhalgat/NeuralDiff | a480f2103384a4f5d77eb84abd977a200e6e6405 | [
"MIT"
] | 1 | 2022-02-22T13:54:41.000Z | 2022-02-22T13:54:41.000Z | run_nerf_helpers.py | yashbhalgat/NeuralDiff | a480f2103384a4f5d77eb84abd977a200e6e6405 | [
"MIT"
] | null | null | null | run_nerf_helpers.py | yashbhalgat/NeuralDiff | a480f2103384a4f5d77eb84abd977a200e6e6405 | [
"MIT"
] | null | null | null | import torch
# torch.autograd.set_detect_anomaly(True)
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
import pdb
from skimage.metrics import structural_similarity, peak_signal_noise_ratio
from lpips import LPIPS
from hash_encoding import HashEmbedder, SHEncoder, XYZplusT_HashEmbedder
from tim... | 49.781275 | 169 | 0.564147 | 7,895 | 61,679 | 4.084231 | 0.050918 | 0.05024 | 0.032749 | 0.020096 | 0.816313 | 0.781454 | 0.754753 | 0.748023 | 0.72098 | 0.707924 | 0 | 0.02047 | 0.337846 | 61,679 | 1,238 | 170 | 49.821486 | 0.769056 | 0.091749 | 0 | 0.664171 | 0 | 0 | 0.00268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035294 | false | 0 | 0.009626 | 0.00107 | 0.095187 | 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 |
32865392fd252fa90443524fa217d72804942456 | 184 | py | Python | config.py | AmineSoukara/PyTranslateBot | aaf9078af60cc7f6c8c8d1f1508fa22e2bf9a655 | [
"MIT"
] | null | null | null | config.py | AmineSoukara/PyTranslateBot | aaf9078af60cc7f6c8c8d1f1508fa22e2bf9a655 | [
"MIT"
] | null | null | null | config.py | AmineSoukara/PyTranslateBot | aaf9078af60cc7f6c8c8d1f1508fa22e2bf9a655 | [
"MIT"
] | 2 | 2021-09-04T06:14:20.000Z | 2021-09-08T13:21:09.000Z | # (c) @AmineSoukara
import os
class Config(object):
API_ID = int(os.environ.get("API_ID"))
API_HASH = os.environ.get("API_HASH")
BOT_TOKEN = os.environ.get("BOT_TOKEN")
| 18.4 | 43 | 0.668478 | 29 | 184 | 4.034483 | 0.517241 | 0.230769 | 0.307692 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168478 | 184 | 9 | 44 | 20.444444 | 0.764706 | 0.092391 | 0 | 0 | 0 | 0 | 0.139394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
329d00aaab124a629359b604b3310e75c6ca522b | 293 | py | Python | allennlp_models/lm/models/__init__.py | matt-peters/allennlp-models | cdd505ed539fdc2b82e4cc0a23eae4bfd3368e7e | [
"Apache-2.0"
] | 402 | 2020-03-11T22:58:35.000Z | 2022-03-29T09:05:27.000Z | allennlp_models/lm/models/__init__.py | matt-peters/allennlp-models | cdd505ed539fdc2b82e4cc0a23eae4bfd3368e7e | [
"Apache-2.0"
] | 116 | 2020-03-11T01:26:57.000Z | 2022-03-25T13:03:56.000Z | allennlp_models/lm/models/__init__.py | matt-peters/allennlp-models | cdd505ed539fdc2b82e4cc0a23eae4bfd3368e7e | [
"Apache-2.0"
] | 140 | 2020-03-11T00:51:35.000Z | 2022-03-29T09:05:36.000Z | from allennlp_models.lm.models.bidirectional_lm import BidirectionalLanguageModel
from allennlp_models.lm.models.language_model import LanguageModel
from allennlp_models.lm.models.masked_language_model import MaskedLanguageModel
from allennlp_models.lm.models.next_token_lm import NextTokenLM
| 58.6 | 81 | 0.904437 | 38 | 293 | 6.710526 | 0.394737 | 0.188235 | 0.282353 | 0.313725 | 0.407843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054608 | 293 | 4 | 82 | 73.25 | 0.920578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
08c483209fa6259bf12c961f1171463d42b80ff7 | 12,996 | py | Python | tests/unit/ecs_tasks/test_json.py | guvenbz/amazon-s3-find-and-forget | 398f7d86d38068c8a9d77ddc9183758946c9dbe4 | [
"Apache-2.0"
] | 165 | 2020-05-29T08:12:17.000Z | 2022-03-30T22:35:57.000Z | tests/unit/ecs_tasks/test_json.py | guvenbz/amazon-s3-find-and-forget | 398f7d86d38068c8a9d77ddc9183758946c9dbe4 | [
"Apache-2.0"
] | 101 | 2020-06-24T12:59:49.000Z | 2022-03-28T13:32:15.000Z | tests/unit/ecs_tasks/test_json.py | guvenbz/amazon-s3-find-and-forget | 398f7d86d38068c8a9d77ddc9183758946c9dbe4 | [
"Apache-2.0"
] | 23 | 2020-06-18T10:53:49.000Z | 2022-03-29T03:38:04.000Z | from mock import patch
import gzip
import pyarrow as pa
import pyarrow.parquet as pq
import pytest
import pandas as pd
import tempfile
from backend.ecs_tasks.delete_files.json_handler import delete_matches_from_json_file
pytestmark = [pytest.mark.unit, pytest.mark.ecs_tasks]
def test_it_generates_new_json_file_with... | 38.79403 | 106 | 0.582795 | 1,620 | 12,996 | 4.42037 | 0.109259 | 0.064237 | 0.043011 | 0.043988 | 0.824745 | 0.80296 | 0.77154 | 0.769725 | 0.749895 | 0.743611 | 0 | 0.067139 | 0.20691 | 12,996 | 334 | 107 | 38.91018 | 0.627632 | 0.015235 | 0 | 0.588015 | 0 | 0.142322 | 0.413769 | 0.006579 | 0 | 0 | 0 | 0 | 0.149813 | 1 | 0.067416 | false | 0 | 0.029963 | 0.007491 | 0.11236 | 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 |
3ee0de63faf9f0d7241c5e3b71bda176c49af5d0 | 33 | py | Python | opengraph/__init__.py | dark64/opengraph | 3e69caf5f10d3d0be8c90c8248443693d907258b | [
"MIT"
] | 182 | 2015-01-27T06:21:01.000Z | 2022-03-26T10:57:06.000Z | opengraph/__init__.py | dark64/opengraph | 3e69caf5f10d3d0be8c90c8248443693d907258b | [
"MIT"
] | 13 | 2015-07-02T20:16:02.000Z | 2022-02-03T04:30:47.000Z | opengraph/__init__.py | dark64/opengraph | 3e69caf5f10d3d0be8c90c8248443693d907258b | [
"MIT"
] | 83 | 2015-02-01T20:04:39.000Z | 2022-01-23T16:29:01.000Z | from .opengraph import OpenGraph
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
3efa61f845fd292f9b64f2b971fe02343ba5f45d | 25 | py | Python | storage/tasks/__init__.py | Bibliotecaio/biblioteca | 584268b7615f2be5f011fad09b472ee8a06914e0 | [
"MIT"
] | null | null | null | storage/tasks/__init__.py | Bibliotecaio/biblioteca | 584268b7615f2be5f011fad09b472ee8a06914e0 | [
"MIT"
] | null | null | null | storage/tasks/__init__.py | Bibliotecaio/biblioteca | 584268b7615f2be5f011fad09b472ee8a06914e0 | [
"MIT"
] | null | null | null | from .pdf_tasks import *
| 12.5 | 24 | 0.76 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 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 |
4116bc88bb54874f20807731457c7019cdb7d39a | 3,797 | py | Python | tests/handlers/test_template.py | j4mie/sqlsite | f2dadb8db5ed7880f8872b6591d8cb1487f777ea | [
"Unlicense"
] | 192 | 2020-01-13T17:12:07.000Z | 2021-08-13T21:44:38.000Z | tests/handlers/test_template.py | j4mie/sqlsite | f2dadb8db5ed7880f8872b6591d8cb1487f777ea | [
"Unlicense"
] | 6 | 2020-01-12T15:55:32.000Z | 2020-02-08T03:29:26.000Z | tests/handlers/test_template.py | j4mie/sqlsite | f2dadb8db5ed7880f8872b6591d8cb1487f777ea | [
"Unlicense"
] | 3 | 2020-01-16T18:42:33.000Z | 2022-02-06T23:21:38.000Z | from ..utils import create_route, create_sqlar_file
from sqlsite.wsgi import make_app
from textwrap import dedent
import httpx
def test_template_handler(db):
create_route(db, "<str:name>/", "template", config="template.html")
create_sqlar_file(db, "template.html", b"<h1>hello {{ url.name }}</h1>")
app = ... | 37.22549 | 76 | 0.652094 | 499 | 3,797 | 4.831663 | 0.138277 | 0.127748 | 0.095811 | 0.127748 | 0.820821 | 0.802572 | 0.778515 | 0.778515 | 0.742016 | 0.701369 | 0 | 0.018916 | 0.164604 | 3,797 | 101 | 77 | 37.594059 | 0.741173 | 0 | 0 | 0.639535 | 0 | 0.011628 | 0.304188 | 0.013958 | 0 | 0 | 0 | 0 | 0.255814 | 1 | 0.081395 | false | 0 | 0.046512 | 0 | 0.127907 | 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 |
f5d5f9bafd9a71e81dd98aded0b8c7f28766553c | 194 | py | Python | unisender/settings.py | ITCase-django/django-unisender | d9d269cb5074967c22a756bff01db48c94b044bc | [
"MIT"
] | 2 | 2015-04-09T13:16:41.000Z | 2017-12-06T10:07:09.000Z | unisender/settings.py | ITCase-django/django-unisender | d9d269cb5074967c22a756bff01db48c94b044bc | [
"MIT"
] | 2 | 2015-01-20T12:02:50.000Z | 2017-04-07T07:16:48.000Z | unisender/settings.py | ITCase-django/django-unisender | d9d269cb5074967c22a756bff01db48c94b044bc | [
"MIT"
] | 1 | 2022-02-22T13:34:40.000Z | 2022-02-22T13:34:40.000Z | # -*- coding: utf-8 -*-
from django.conf import settings
UNISENDER_API_KEY = getattr(settings, 'UNISENDER_API_KEY', None)
UNISENDER_TEST_MODE = getattr(settings, 'UNISENDER_TEST_MODE', False)
| 27.714286 | 69 | 0.768041 | 26 | 194 | 5.423077 | 0.615385 | 0.361702 | 0.283688 | 0.326241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 0.108247 | 194 | 6 | 70 | 32.333333 | 0.809249 | 0.108247 | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
eb20bd921e5e926eef3b6ecfe8517b32a7b0c889 | 74 | py | Python | tests/test_db.py | ivansabik/mandroobi | b12325d5afe83cbf54db4063ecddc2950ed60431 | [
"Apache-2.0"
] | 8 | 2017-05-01T10:20:48.000Z | 2021-07-02T20:27:28.000Z | tests/test_db.py | ivansabik/mandroobi | b12325d5afe83cbf54db4063ecddc2950ed60431 | [
"Apache-2.0"
] | 2 | 2017-05-01T06:36:46.000Z | 2017-05-30T15:17:01.000Z | tests/test_db.py | ivansabik/mandroobi | b12325d5afe83cbf54db4063ecddc2950ed60431 | [
"Apache-2.0"
] | 3 | 2019-10-24T20:51:23.000Z | 2020-06-14T05:16:25.000Z | from mandroobi.db import session
def test_session():
assert session
| 12.333333 | 32 | 0.756757 | 10 | 74 | 5.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 74 | 5 | 33 | 14.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 |
eb31d9a26bb478a1bd355e47721b85e62d7dd2e5 | 103 | py | Python | utils/classes/__init__.py | fennr/Samuro-HotsBot | 81e7a65a08d50602442094e52d6d2e405c98ac1a | [
"Apache-2.0"
] | 1 | 2022-03-26T11:28:00.000Z | 2022-03-26T11:28:00.000Z | utils/classes/__init__.py | fennr/Samuro-HotsBot | 81e7a65a08d50602442094e52d6d2e405c98ac1a | [
"Apache-2.0"
] | null | null | null | utils/classes/__init__.py | fennr/Samuro-HotsBot | 81e7a65a08d50602442094e52d6d2e405c98ac1a | [
"Apache-2.0"
] | null | null | null | from .Const import *
from .Hero import *
from .Player import *
from .Stats import *
from .Team import * | 20.6 | 21 | 0.718447 | 15 | 103 | 4.933333 | 0.466667 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 103 | 5 | 22 | 20.6 | 0.880952 | 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 |
de5767e20389f5c1b1e1a29ca2b051580cb46b7e | 20,298 | py | Python | attack/attack_algorithms/pwws_attack.py | dongxinshuai/RIFT-NeurIPS2021 | 633ba92d6951432e03956f942c53cacf575e15c9 | [
"MIT"
] | 7 | 2021-12-04T15:33:21.000Z | 2022-03-06T02:50:30.000Z | attack/attack_algorithms/pwws_attack.py | dongxinshuai/RIFT-NeurIPS2021 | 633ba92d6951432e03956f942c53cacf575e15c9 | [
"MIT"
] | 1 | 2021-12-28T15:35:05.000Z | 2022-03-06T02:53:32.000Z | attack/attack_algorithms/pwws_attack.py | dongxinshuai/RIFT-NeurIPS2021 | 633ba92d6951432e03956f942c53cacf575e15c9 | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import sys
import os
import numpy as np
import time
import random
import torch
import torch.nn.functional as F
from functools import partial
import attr
import nltk
import spacy
try:
import ... | 42.024845 | 180 | 0.641837 | 2,654 | 20,298 | 4.56104 | 0.094951 | 0.021066 | 0.0209 | 0.019827 | 0.847253 | 0.821231 | 0.783395 | 0.754399 | 0.710946 | 0.661545 | 0 | 0.003183 | 0.27249 | 20,298 | 483 | 181 | 42.024845 | 0.81655 | 0.134447 | 0 | 0.576687 | 0 | 0 | 0.010618 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 1 | 0.064417 | false | 0.01227 | 0.058282 | 0 | 0.220859 | 0.01227 | 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 |
de721c2ff8f6112e561d1d18ae9023be1b798197 | 20 | py | Python | src/conversations/serializers/__init__.py | earth-emoji/august | 065d4b449a138ead1557293bffcb20cd2db90a41 | [
"BSD-2-Clause"
] | null | null | null | src/conversations/serializers/__init__.py | earth-emoji/august | 065d4b449a138ead1557293bffcb20cd2db90a41 | [
"BSD-2-Clause"
] | 10 | 2021-03-19T10:47:13.000Z | 2022-03-12T00:28:30.000Z | src/conversations/serializers/__init__.py | earth-emoji/august | 065d4b449a138ead1557293bffcb20cd2db90a41 | [
"BSD-2-Clause"
] | null | null | null | from .rooms import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de7502fb39da003958c4cd96e8de1ae20c98775f | 17 | py | Python | vowpal_platypus/__init__.py | jasco/vowpal_platypus | 528f5ee6e0eca9be1c99a7636750da8866e1cee1 | [
"Apache-2.0"
] | 23 | 2016-12-06T20:48:07.000Z | 2021-09-06T15:00:19.000Z | vowpal_platypus/__init__.py | jasco/vowpal_platypus | 528f5ee6e0eca9be1c99a7636750da8866e1cee1 | [
"Apache-2.0"
] | 9 | 2016-12-06T21:18:07.000Z | 2021-03-20T20:45:34.000Z | vowpal_platypus/__init__.py | jasco/vowpal_platypus | 528f5ee6e0eca9be1c99a7636750da8866e1cee1 | [
"Apache-2.0"
] | 8 | 2017-02-28T05:00:27.000Z | 2021-09-06T15:01:24.000Z | from vw import *
| 8.5 | 16 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 17 | 1 | 17 | 17 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
deb784873baad0be7989c8095e59b5d1d1682148 | 1,151 | py | Python | tests/test_dense_features.py | lusterck/spacy_crfsuite | 21acb6431b8c3c98528d6994880ca7bb3b69f499 | [
"MIT"
] | 12 | 2020-07-29T17:08:06.000Z | 2022-03-28T10:39:39.000Z | tests/test_dense_features.py | marzi-heidari/spacy_crfsuite | b9f31aac9e727245791197aed4245f03a57a89ba | [
"MIT"
] | 5 | 2020-07-29T17:08:03.000Z | 2022-03-28T07:16:19.000Z | tests/test_dense_features.py | marzi-heidari/spacy_crfsuite | b9f31aac9e727245791197aed4245f03a57a89ba | [
"MIT"
] | 7 | 2020-08-06T11:08:30.000Z | 2022-01-20T14:25:19.000Z | from spacy_crfsuite.features import Featurizer
from spacy_crfsuite.tokenizer import SpacyTokenizer
def test_dense_features_with_spacy_sm(en_core_web_sm):
message = {"text": "hello world"}
tokenizer = SpacyTokenizer(en_core_web_sm)
tokenizer.tokenize(message)
featurizer = Featurizer(use_dense_features... | 32.885714 | 72 | 0.78106 | 150 | 1,151 | 5.6 | 0.24 | 0.263095 | 0.064286 | 0.052381 | 0.783333 | 0.783333 | 0.74881 | 0.74881 | 0.74881 | 0.685714 | 0 | 0.005051 | 0.139878 | 1,151 | 34 | 73 | 33.852941 | 0.843434 | 0 | 0 | 0.625 | 0 | 0 | 0.055604 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.125 | false | 0 | 0.083333 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
deddf3bee0fa2016a8043548f48885bbcc8aafd2 | 96 | py | Python | venv/lib/python3.8/site-packages/yapftests/reformatter_style_config_test.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/yapftests/reformatter_style_config_test.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/yapftests/reformatter_style_config_test.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ea/a5/2f/7f48105f6f5f352e799880d111018c8c33d37a8fdbc434dd9a889c117d | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
def934d3be610526e74b3ce02f1e30a0e65c9da5 | 225 | py | Python | sdn_mysite/controller/models.py | ray6/sdn | b58926d0230e25468d59f7364e86cabf0758caee | [
"MIT"
] | 4 | 2016-09-27T07:00:25.000Z | 2017-04-01T08:52:45.000Z | sdn_mysite/controller/models.py | ray6/sdn | b58926d0230e25468d59f7364e86cabf0758caee | [
"MIT"
] | null | null | null | sdn_mysite/controller/models.py | ray6/sdn | b58926d0230e25468d59f7364e86cabf0758caee | [
"MIT"
] | null | null | null | from django.db import models
class Usertable(models.Model):
name = models.CharField(max_length=255)
address = models.CharField(max_length=20)
vlan = models.CharField(max_length=20)
def __str__(self):
return self.name
| 25 | 42 | 0.773333 | 33 | 225 | 5.060606 | 0.606061 | 0.269461 | 0.323353 | 0.431138 | 0.311377 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035354 | 0.12 | 225 | 8 | 43 | 28.125 | 0.808081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
724692a00bb545ae2b12aadf7dd1eb76280c7c75 | 129 | py | Python | simmod/wrappers/__init__.py | MoritzTaylor/simmod | 76b2186c39940ce2d08aa36f3d06bfe3640d6c00 | [
"MIT"
] | 2 | 2021-07-05T14:08:09.000Z | 2021-10-01T09:48:37.000Z | simmod/wrappers/__init__.py | MoritzTaylor/simmod | 76b2186c39940ce2d08aa36f3d06bfe3640d6c00 | [
"MIT"
] | null | null | null | simmod/wrappers/__init__.py | MoritzTaylor/simmod | 76b2186c39940ce2d08aa36f3d06bfe3640d6c00 | [
"MIT"
] | null | null | null | from simmod.wrappers.alg_wrappers import UDRMujocoWrapper
from simmod.wrappers.wrappers import ActionWrapper, ObservationWrapper
| 43 | 70 | 0.891473 | 14 | 129 | 8.142857 | 0.571429 | 0.175439 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 129 | 2 | 71 | 64.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
72513b3dff7b9d2864fdd06e2bdbe658554b23ad | 4,110 | py | Python | fineTuning.py | PGiagkoulas/DeepLearning_Pract2 | 05637b27fc2a8cf5478f6ce3f37f9a77e698ddb9 | [
"MIT"
] | 1 | 2019-07-02T10:44:31.000Z | 2019-07-02T10:44:31.000Z | fineTuning.py | PGiagkoulas/DeepLearning_Pract2 | 05637b27fc2a8cf5478f6ce3f37f9a77e698ddb9 | [
"MIT"
] | null | null | null | fineTuning.py | PGiagkoulas/DeepLearning_Pract2 | 05637b27fc2a8cf5478f6ce3f37f9a77e698ddb9 | [
"MIT"
] | null | null | null | from keras.models import load_model
from keras.models import Model
from all_utils import load_dataset
from keras.callbacks import ModelCheckpoint
# fine-tuning FC layers of ConvLSTM
def fine_tune_convlstm():
# load data
trainX, trainy, testX, testy, aux_trainX, aux_trainy, aux_testX, aux_testy = load_dataset()... | 53.376623 | 118 | 0.679805 | 554 | 4,110 | 4.777978 | 0.200361 | 0.024178 | 0.03929 | 0.043068 | 0.924443 | 0.908954 | 0.898376 | 0.898376 | 0.898376 | 0.838685 | 0 | 0.02047 | 0.191727 | 4,110 | 77 | 119 | 53.376623 | 0.77634 | 0.118978 | 0 | 0.576923 | 0 | 0 | 0.11531 | 0.013337 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.076923 | 0 | 0.115385 | 0.115385 | 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 |
a0cb578f35ca69c1b220d8b764a2e917582c09a6 | 26 | py | Python | schemas/user.py | TechPenguineer/Mongodb-configuration-and-schemas | 858bcd92412c8699546afd6a9fe6c1b69f061cb0 | [
"BSD-3-Clause"
] | 1 | 2021-09-02T12:11:30.000Z | 2021-09-02T12:11:30.000Z | schemas/user.py | TechPenguineer/Mongodb-configuration-and-schemas | 858bcd92412c8699546afd6a9fe6c1b69f061cb0 | [
"BSD-3-Clause"
] | null | null | null | schemas/user.py | TechPenguineer/Mongodb-configuration-and-schemas | 858bcd92412c8699546afd6a9fe6c1b69f061cb0 | [
"BSD-3-Clause"
] | 1 | 2021-09-02T12:11:27.000Z | 2021-09-02T12:11:27.000Z | import sys
import pymongo | 13 | 14 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 2 | 14 | 13 | 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 |
a0d21fa37169d3eabf1da7d2238a9d72ef8c1327 | 46 | py | Python | src/compiler/modules/__init__.py | Ph0enixKM/Jacuzzi | a583ee2b0ac5d618d86ab0c434540f98528c82a9 | [
"MIT"
] | 1 | 2022-02-14T14:47:56.000Z | 2022-02-14T14:47:56.000Z | src/compiler/modules/__init__.py | Ph0enixKM/Jacuzzi | a583ee2b0ac5d618d86ab0c434540f98528c82a9 | [
"MIT"
] | null | null | null | src/compiler/modules/__init__.py | Ph0enixKM/Jacuzzi | a583ee2b0ac5d618d86ab0c434540f98528c82a9 | [
"MIT"
] | null | null | null | from .syntax_module import Block, SyntaxModule | 46 | 46 | 0.869565 | 6 | 46 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0efa87b3dfe82a3e28f5aaa07217fbf6723b763 | 269 | py | Python | DemoApp/views.py | gaurav-karna/HeadsUp | d5b6a61cf3036d3a8497667f3fdcd3fce33fc4a8 | [
"MIT"
] | 1 | 2019-02-10T17:49:08.000Z | 2019-02-10T17:49:08.000Z | DemoApp/views.py | gaurav-karna/HeadsUp | d5b6a61cf3036d3a8497667f3fdcd3fce33fc4a8 | [
"MIT"
] | 3 | 2019-02-02T16:41:57.000Z | 2019-02-02T23:35:26.000Z | DemoApp/views.py | gaurav-karna/HeadsUp | d5b6a61cf3036d3a8497667f3fdcd3fce33fc4a8 | [
"MIT"
] | null | null | null | from django.shortcuts import render, redirect
# Create your views here.
def index(request):
return render(request, 'home.html', {})
def devpost(request):
return redirect('https://devpost.com/')
def team(request):
return render(request, 'team.html', {})
| 20.692308 | 45 | 0.695167 | 34 | 269 | 5.5 | 0.588235 | 0.208556 | 0.203209 | 0.278075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156134 | 269 | 12 | 46 | 22.416667 | 0.823789 | 0.085502 | 0 | 0 | 0 | 0 | 0.155738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9d1dd23bc4aef18691afeb35740d235d7fc031bb | 168 | py | Python | atnlp/data/__init__.py | wedavey/atnlp | 002497f27abfcdac9701aa324301d482dbf4df0e | [
"MIT"
] | null | null | null | atnlp/data/__init__.py | wedavey/atnlp | 002497f27abfcdac9701aa324301d482dbf4df0e | [
"MIT"
] | null | null | null | atnlp/data/__init__.py | wedavey/atnlp | 002497f27abfcdac9701aa324301d482dbf4df0e | [
"MIT"
] | null | null | null | """Data io and parsing
.. automodule:: atnlp.data.io
:members:
.. automodule:: atnlp.data.parse
:members:
.. automodule:: atnlp.data.reuters
:members:
""" | 16.8 | 34 | 0.642857 | 19 | 168 | 5.684211 | 0.473684 | 0.416667 | 0.527778 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 168 | 10 | 35 | 16.8 | 0.782609 | 0.952381 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
19d55504cf8d9ada11aa62830182e643f93eccc8 | 7,651 | py | Python | src/permission/tests/test_backends.py | dkopitsa/django-permission | 0319ea3bf0993ca1bd7232e4d60c4b8ec635787d | [
"MIT"
] | 234 | 2015-01-05T17:09:08.000Z | 2021-11-15T09:52:43.000Z | src/permission/tests/test_backends.py | dkopitsa/django-permission | 0319ea3bf0993ca1bd7232e4d60c4b8ec635787d | [
"MIT"
] | 54 | 2015-02-13T08:06:32.000Z | 2021-05-19T14:07:03.000Z | src/permission/tests/test_backends.py | dkopitsa/django-permission | 0319ea3bf0993ca1bd7232e4d60c4b8ec635787d | [
"MIT"
] | 35 | 2015-04-13T09:10:38.000Z | 2022-02-15T01:43:03.000Z | from django.test import TestCase, override_settings
from django.core.exceptions import ObjectDoesNotExist
from ..backends import PermissionBackend
from ..utils.handlers import registry
from .compat import MagicMock
from .utils import create_user, create_article
from .models import Article
@override_settings(
AUTH... | 42.270718 | 85 | 0.684486 | 796 | 7,651 | 6.281407 | 0.089196 | 0.0858 | 0.1406 | 0.078 | 0.8198 | 0.8142 | 0.8114 | 0.7816 | 0.7532 | 0.7354 | 0 | 0.004838 | 0.216573 | 7,651 | 180 | 86 | 42.505556 | 0.829329 | 0 | 0 | 0.636943 | 0 | 0 | 0.1043 | 0.10064 | 0 | 0 | 0 | 0 | 0.242038 | 1 | 0.070064 | false | 0 | 0.044586 | 0 | 0.121019 | 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 |
19f32d72694700a2867beae71ae6374a672d0c5a | 159 | py | Python | apps/commands/admin.py | l3l3l/vulnman | f9d520dbf9f6838c459741bb1173a0382d5ecfd6 | [
"MIT"
] | 3 | 2021-12-22T07:02:24.000Z | 2022-01-27T20:19:11.000Z | apps/commands/admin.py | l3l3l/vulnman | f9d520dbf9f6838c459741bb1173a0382d5ecfd6 | [
"MIT"
] | 44 | 2021-12-14T07:24:29.000Z | 2022-03-23T07:01:16.000Z | apps/commands/admin.py | l3l3l/vulnman | f9d520dbf9f6838c459741bb1173a0382d5ecfd6 | [
"MIT"
] | 1 | 2022-01-21T16:29:56.000Z | 2022-01-21T16:29:56.000Z | from django.contrib import admin
from apps.commands import models
admin.site.register(models.CommandTemplate)
admin.site.register(models.CommandHistoryItem)
| 22.714286 | 46 | 0.849057 | 20 | 159 | 6.75 | 0.6 | 0.133333 | 0.251852 | 0.340741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 159 | 6 | 47 | 26.5 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 |
19fbe846817a0a2d0ca6f6e0f5b497fcddc449de | 35,713 | py | Python | pyswitch/os/nos/base/interface.py | mfeed/PySwitchLib | 54e872bcbe77f2ae840d845dadb7c5b9c12482ed | [
"Apache-2.0"
] | 6 | 2017-10-02T21:02:02.000Z | 2018-07-04T13:56:55.000Z | pyswitch/os/nos/base/interface.py | mfeed/PySwitchLib | 54e872bcbe77f2ae840d845dadb7c5b9c12482ed | [
"Apache-2.0"
] | 23 | 2017-10-03T18:49:11.000Z | 2019-07-20T00:25:44.000Z | pyswitch/os/nos/base/interface.py | mfeed/PySwitchLib | 54e872bcbe77f2ae840d845dadb7c5b9c12482ed | [
"Apache-2.0"
] | 4 | 2018-02-27T05:43:37.000Z | 2019-06-30T13:30:25.000Z | from ipaddress import ip_interface
import pyswitch.utilities
from pyswitch.utilities import Util
from pyswitch.exceptions import InvalidVlanId
from pyswitch.os.base.interface import Interface as BaseInterface
class Interface(BaseInterface):
"""
The Interface class holds all the actions assocaiated with the... | 41.867526 | 82 | 0.540279 | 3,917 | 35,713 | 4.707174 | 0.069186 | 0.035579 | 0.024406 | 0.015457 | 0.846947 | 0.816249 | 0.777579 | 0.736794 | 0.716618 | 0.703493 | 0 | 0.022079 | 0.353205 | 35,713 | 852 | 83 | 41.916667 | 0.776138 | 0.386862 | 0 | 0.679426 | 0 | 0.004785 | 0.15635 | 0.04873 | 0 | 0 | 0 | 0.001174 | 0 | 1 | 0.038278 | false | 0 | 0.011962 | 0.007177 | 0.131579 | 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 |
c20025ba70dd857aa66cf3a456fff0f4216bc0e4 | 38 | py | Python | supersid/tests/test_example.py | hayesla/supersid | 2f9886a0a0a065fa15689fe84ce6759cb7def9a8 | [
"BSD-3-Clause"
] | null | null | null | supersid/tests/test_example.py | hayesla/supersid | 2f9886a0a0a065fa15689fe84ce6759cb7def9a8 | [
"BSD-3-Clause"
] | null | null | null | supersid/tests/test_example.py | hayesla/supersid | 2f9886a0a0a065fa15689fe84ce6759cb7def9a8 | [
"BSD-3-Clause"
] | null | null | null | def test_example():
assert 5 == 5
| 12.666667 | 19 | 0.605263 | 6 | 38 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.263158 | 38 | 2 | 20 | 19 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c20afdaf2e1325ddb6f6220a95a4464557a55934 | 2,012 | py | Python | multiProcess/threads/multilock2.py | bruce1408/detectron2_modify | 815df8c3cd68b1450e039fbafc27c6ab302d620b | [
"Apache-2.0"
] | null | null | null | multiProcess/threads/multilock2.py | bruce1408/detectron2_modify | 815df8c3cd68b1450e039fbafc27c6ab302d620b | [
"Apache-2.0"
] | null | null | null | multiProcess/threads/multilock2.py | bruce1408/detectron2_modify | 815df8c3cd68b1450e039fbafc27c6ab302d620b | [
"Apache-2.0"
] | null | null | null | # import threading
# import time
#
# lock_apple = threading.Lock()
# lock_banana = threading.Lock()
#
#
# class MyThread(threading.Thread):
#
# def __init__(self):
# threading.Thread.__init__(self)
#
# def run(self):
# self.fun1()
# self.fun2()
#
# def fun1(self):
# lock_appl... | 23.126437 | 71 | 0.533797 | 244 | 2,012 | 4.213115 | 0.180328 | 0.054475 | 0.062257 | 0.077821 | 0.891051 | 0.80642 | 0.77821 | 0.77821 | 0.77821 | 0.77821 | 0 | 0.015141 | 0.277833 | 2,012 | 86 | 72 | 23.395349 | 0.692361 | 0.522366 | 0 | 0.428571 | 0 | 0 | 0.096597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.071429 | 0 | 0.25 | 0.142857 | 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 |
c2361340939595f00f8c8bad33360181a1e2fb31 | 10,251 | py | Python | mayan/apps/documents/tests/test_document_search.py | bonitobonita24/Mayan-EDMS | 7845fe0e1e83c81f5d227a16116397a3d3883b85 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/documents/tests/test_document_search.py | bonitobonita24/Mayan-EDMS | 7845fe0e1e83c81f5d227a16116397a3d3883b85 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/documents/tests/test_document_search.py | bonitobonita24/Mayan-EDMS | 7845fe0e1e83c81f5d227a16116397a3d3883b85 | [
"Apache-2.0"
] | 114 | 2015-01-08T20:21:05.000Z | 2018-12-10T19:07:53.000Z | from mayan.apps.dynamic_search.tests.mixins import SearchTestMixin
from ..permissions import permission_document_view
from ..search import document_search
from .base import GenericDocumentViewTestCase
class DocumentSearchTestCase(SearchTestMixin, GenericDocumentViewTestCase):
auto_upload_test_document = False
... | 30.876506 | 83 | 0.665496 | 1,167 | 10,251 | 5.432734 | 0.06084 | 0.149527 | 0.158991 | 0.076183 | 0.921609 | 0.921609 | 0.921609 | 0.915615 | 0.915615 | 0.915615 | 0 | 0.002852 | 0.247488 | 10,251 | 331 | 84 | 30.969789 | 0.81903 | 0 | 0 | 0.683333 | 0 | 0 | 0.023705 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 1 | 0.095833 | false | 0 | 0.016667 | 0 | 0.125 | 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 |
5f00873c3dfd1db8cc6293d0ea7431a49c925a05 | 181 | py | Python | api/admin.py | MarianoGigli/geojson | d63071e024ddebedc3088ac8fe2b43835c8555e5 | [
"MIT"
] | null | null | null | api/admin.py | MarianoGigli/geojson | d63071e024ddebedc3088ac8fe2b43835c8555e5 | [
"MIT"
] | null | null | null | api/admin.py | MarianoGigli/geojson | d63071e024ddebedc3088ac8fe2b43835c8555e5 | [
"MIT"
] | null | null | null | from django.contrib.gis import admin
from models import Provider, ServiceArea
admin.site.register(Provider, admin.ModelAdmin)
admin.site.register(ServiceArea, admin.GeoModelAdmin)
| 30.166667 | 53 | 0.839779 | 23 | 181 | 6.608696 | 0.565217 | 0.210526 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077348 | 181 | 5 | 54 | 36.2 | 0.91018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
260829fe218d143e867c05e6b17f681120ce88bb | 90 | py | Python | src/browserist/browser/get/url/current.py | jakob-bagterp/browserist | 76bd916dd217b7da3759fd6ec3374191002dc091 | [
"Apache-2.0"
] | 2 | 2022-02-20T10:03:19.000Z | 2022-03-22T11:17:10.000Z | src/browserist/browser/get/url/current.py | jakob-bagterp/browserist | 76bd916dd217b7da3759fd6ec3374191002dc091 | [
"Apache-2.0"
] | null | null | null | src/browserist/browser/get/url/current.py | jakob-bagterp/browserist | 76bd916dd217b7da3759fd6ec3374191002dc091 | [
"Apache-2.0"
] | null | null | null | def get_current_url(driver: object) -> str:
return driver.current_url # type: ignore
| 30 | 45 | 0.733333 | 13 | 90 | 4.846154 | 0.769231 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 2 | 46 | 45 | 0.84 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
261bbab212da6d44aeea3865f9fc5228066f2ec4 | 2,364 | py | Python | examples/Palau_HYCOM/make_remap_weights_file.py | ESMG/PyCNAL_legacy | a4f6547bce872068a5bb5751231017bc3e4a4503 | [
"BSD-3-Clause"
] | null | null | null | examples/Palau_HYCOM/make_remap_weights_file.py | ESMG/PyCNAL_legacy | a4f6547bce872068a5bb5751231017bc3e4a4503 | [
"BSD-3-Clause"
] | 3 | 2018-01-23T23:23:24.000Z | 2018-02-07T22:37:28.000Z | examples/Palau_HYCOM/make_remap_weights_file.py | ESMG/PyCNAL_legacy | a4f6547bce872068a5bb5751231017bc3e4a4503 | [
"BSD-3-Clause"
] | null | null | null | import matplotlib
matplotlib.use('Agg')
import pycnal
import pycnal_toolbox
# load the grid
srcgrd = pycnal_toolbox.Grid_HYCOM.get_nc_Grid_HYCOM('/archive/u1/uaf/kate/HYCOM/SCS/HYCOM_GLBa0.08_PALAU_grid.nc')
dstgrd = pycnal.grid.get_ROMS_grid('PALAU1')
# make remap grid file for scrip
pycnal_toolbox.Grid_HYCOM.make_r... | 37.52381 | 115 | 0.792724 | 374 | 2,364 | 4.614973 | 0.157754 | 0.06489 | 0.066049 | 0.052144 | 0.834299 | 0.834299 | 0.834299 | 0.834299 | 0.761298 | 0.761298 | 0 | 0.050242 | 0.124365 | 2,364 | 62 | 116 | 38.129032 | 0.783575 | 0.125212 | 0 | 0.55814 | 0 | 0 | 0.373664 | 0.253158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.069767 | 0 | 0.069767 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
267cd02af953910d7e06c13a7283a299ff24a9fa | 39 | py | Python | datasets/__init__.py | kunalsinha/wings | a28b4ca67bcccfd45d6125bd9c4784a42c157d4c | [
"MIT"
] | null | null | null | datasets/__init__.py | kunalsinha/wings | a28b4ca67bcccfd45d6125bd9c4784a42c157d4c | [
"MIT"
] | null | null | null | datasets/__init__.py | kunalsinha/wings | a28b4ca67bcccfd45d6125bd9c4784a42c157d4c | [
"MIT"
] | null | null | null | from .mnist import MNIST, FashionMNIST
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 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 |
2687c8e0d8d5fa11009aa53924bc5e1296b75c34 | 28 | py | Python | rogue/api/config/__init__.py | 4383/rogue | faafec989145c301459e87c67af6c4728950fb3c | [
"MIT"
] | null | null | null | rogue/api/config/__init__.py | 4383/rogue | faafec989145c301459e87c67af6c4728950fb3c | [
"MIT"
] | null | null | null | rogue/api/config/__init__.py | 4383/rogue | faafec989145c301459e87c67af6c4728950fb3c | [
"MIT"
] | null | null | null | import rogue.api.config.add
| 14 | 27 | 0.821429 | 5 | 28 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 28 | 1 | 28 | 28 | 0.884615 | 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 |
13fbeda4ff7bf87261dc5a3ffa9c7d6d25f05106 | 166 | py | Python | bookorbooks/country/models/__init__.py | talhakoylu/SummerInternshipBackend | 4ecedf5c97f73e3d32d5a534769e86aac3e4b6d3 | [
"MIT"
] | 1 | 2021-08-10T22:24:17.000Z | 2021-08-10T22:24:17.000Z | bookorbooks/country/models/__init__.py | talhakoylu/SummerInternshipBackend | 4ecedf5c97f73e3d32d5a534769e86aac3e4b6d3 | [
"MIT"
] | null | null | null | bookorbooks/country/models/__init__.py | talhakoylu/SummerInternshipBackend | 4ecedf5c97f73e3d32d5a534769e86aac3e4b6d3 | [
"MIT"
] | null | null | null | from .abstract_country_base_model import AbstractCountryBaseModel
from .country_model import Country
from .city_model import City
from .district_model import District | 41.5 | 65 | 0.885542 | 22 | 166 | 6.409091 | 0.409091 | 0.312057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090361 | 166 | 4 | 66 | 41.5 | 0.933775 | 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 |
cd114dbe993c99751f1198de41939a08e8499cbd | 8,360 | py | Python | src/CRF/crfs_cpu.py | netw0rkf10w/CRF | 13a123f7cd3ea1f975e6c483b1e7c52112d7c151 | [
"Apache-2.0"
] | 12 | 2021-11-04T07:02:33.000Z | 2022-03-11T14:08:38.000Z | src/CRF/crfs_cpu.py | netw0rkf10w/CRF | 13a123f7cd3ea1f975e6c483b1e7c52112d7c151 | [
"Apache-2.0"
] | 4 | 2021-12-02T03:50:01.000Z | 2022-03-05T13:23:02.000Z | src/CRF/crfs_cpu.py | netw0rkf10w/CRF | 13a123f7cd3ea1f975e6c483b1e7c52112d7c151 | [
"Apache-2.0"
] | 1 | 2021-12-21T10:26:43.000Z | 2021-12-21T10:26:43.000Z | """
Python wrapper for DenseCRF
D. Khue Le-Huu
"""
import os
import numpy as np
from ctypes import *
def crf_inference():
lib_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'DenseCRF', 'libdensecrf.so')
libc = CDLL(lib_path)
ADGM = libc.ADGM_C4
def adgm_C4(affinityMatrix, n1, n2,
... | 33.846154 | 101 | 0.599282 | 1,220 | 8,360 | 3.892623 | 0.120492 | 0.08844 | 0.025268 | 0.020846 | 0.931565 | 0.916193 | 0.905875 | 0.905875 | 0.899347 | 0.878922 | 0 | 0.031015 | 0.251794 | 8,360 | 246 | 102 | 33.98374 | 0.728217 | 0.448445 | 0 | 0.675926 | 0 | 0 | 0.030838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046296 | false | 0 | 0.027778 | 0 | 0.101852 | 0.101852 | 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 |
cd146784dd96d12abf599b159dc9edc4adf376ec | 32 | py | Python | src/odict/__init__.py | vishalbelsare/odict | 4647ef57808d479ed49bb7ef8263f6e6ca9de4f5 | [
"PSF-2.0"
] | null | null | null | src/odict/__init__.py | vishalbelsare/odict | 4647ef57808d479ed49bb7ef8263f6e6ca9de4f5 | [
"PSF-2.0"
] | 1 | 2021-06-24T13:49:42.000Z | 2021-06-24T13:49:42.000Z | src/odict/__init__.py | vishalbelsare/odict | 4647ef57808d479ed49bb7ef8263f6e6ca9de4f5 | [
"PSF-2.0"
] | null | null | null | from odict.pyodict import odict
| 16 | 31 | 0.84375 | 5 | 32 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd31fe793bc7cf1f6a465e48d7e1f6ef989d041e | 32 | py | Python | adversary/misc/__init__.py | felixludos/adversary | bda1d7a07da736056b69903cb51b29ccdf1eb95e | [
"MIT"
] | null | null | null | adversary/misc/__init__.py | felixludos/adversary | bda1d7a07da736056b69903cb51b29ccdf1eb95e | [
"MIT"
] | null | null | null | adversary/misc/__init__.py | felixludos/adversary | bda1d7a07da736056b69903cb51b29ccdf1eb95e | [
"MIT"
] | null | null | null | from .models import GAN_Like
| 10.666667 | 29 | 0.75 | 5 | 32 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 2 | 30 | 16 | 0.92 | 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 |
26951fa2013a66e1675568f5a79f5cba9727ab01 | 10,813 | py | Python | 7. N Step Bootstrapping/algorithms.py | A-Pai/Reinforcement-Learning | ff460e9df09f508f7bf8eddc99943b617a0915ba | [
"MIT"
] | 101 | 2017-12-07T14:14:30.000Z | 2022-02-24T09:41:05.000Z | 7. N Step Bootstrapping/algorithms.py | sierxue/Reinforcement-Learning-1 | ff460e9df09f508f7bf8eddc99943b617a0915ba | [
"MIT"
] | 4 | 2019-05-18T05:05:29.000Z | 2020-06-25T06:49:56.000Z | 7. N Step Bootstrapping/algorithms.py | sierxue/Reinforcement-Learning-1 | ff460e9df09f508f7bf8eddc99943b617a0915ba | [
"MIT"
] | 33 | 2018-05-20T15:52:05.000Z | 2022-03-29T08:42:50.000Z | import sys, random
sys.path.append('../..')
sys.path.append('..')
import classes as c
import utils as u
def n_step_sarsa(num_steps, env, num_episodes, policy=None, step_size=.5, discount_rate=.9, epsilon=.3):
"""
Returns the Q-value estimates for an environment by using the On-Policy N-Step SARSA algorithm
... | 38.208481 | 148 | 0.599926 | 1,422 | 10,813 | 4.416315 | 0.107595 | 0.062102 | 0.026752 | 0.035032 | 0.869108 | 0.854459 | 0.841083 | 0.816083 | 0.810032 | 0.810032 | 0 | 0.013984 | 0.312217 | 10,813 | 283 | 149 | 38.208481 | 0.830442 | 0.342828 | 0 | 0.664 | 0 | 0 | 0.002376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024 | false | 0 | 0.056 | 0 | 0.104 | 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 |
f88dd894a725842922967694267a30d591e949fa | 27 | py | Python | __init__.py | dvp2015/nuclide-data | 6f33831220b5f9cb9e82bb7917bfb53dee2c8bc3 | [
"BSD-2-Clause"
] | 28 | 2015-02-10T05:27:41.000Z | 2022-02-20T22:39:45.000Z | __init__.py | dvp2015/nuclide-data | 6f33831220b5f9cb9e82bb7917bfb53dee2c8bc3 | [
"BSD-2-Clause"
] | 3 | 2018-06-05T02:46:07.000Z | 2021-01-16T01:54:33.000Z | __init__.py | dvp2015/nuclide-data | 6f33831220b5f9cb9e82bb7917bfb53dee2c8bc3 | [
"BSD-2-Clause"
] | 20 | 2015-10-24T23:39:16.000Z | 2021-08-30T22:06:31.000Z | from nuclide_data import *
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6efd13f0a4673339b8d6799f4369eb552f11f84e | 67 | py | Python | printLeapYears.py | zsarge/MayInterallianceCodeGolf | 3fdc85f12392703b9dccbede512f7bb12c0e5d4b | [
"MIT"
] | null | null | null | printLeapYears.py | zsarge/MayInterallianceCodeGolf | 3fdc85f12392703b9dccbede512f7bb12c0e5d4b | [
"MIT"
] | null | null | null | printLeapYears.py | zsarge/MayInterallianceCodeGolf | 3fdc85f12392703b9dccbede512f7bb12c0e5d4b | [
"MIT"
] | null | null | null | print(filter(lambda x:(x%400and x%100<1or x%4)<1,range(2021,2105))) | 67 | 67 | 0.716418 | 15 | 67 | 3.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265625 | 0.044776 | 67 | 1 | 67 | 67 | 0.484375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6efe19f53ac5f234e3af07e13f8131e331d54e07 | 299 | py | Python | source/utils/__init__.py | koichi-murakami/g4python | 8fc4b88e6c6ff80a4993d29794feee19ec766d5f | [
"BSD-2-Clause"
] | 4 | 2021-11-27T08:06:35.000Z | 2022-03-23T03:05:48.000Z | source/utils/__init__.py | koichi-murakami/g4python | 8fc4b88e6c6ff80a4993d29794feee19ec766d5f | [
"BSD-2-Clause"
] | 4 | 2021-11-27T18:13:46.000Z | 2021-12-01T04:37:02.000Z | source/utils/__init__.py | koichi-murakami/g4python | 8fc4b88e6c6ff80a4993d29794feee19ec766d5f | [
"BSD-2-Clause"
] | null | null | null | """
# ==================================================================
# [geant4.utils] module package
# ==================================================================
"""
# import submodules
from .G4utils import *
from .colortable import *
from .g4viscp import *
from .emcalculator import *
| 27.181818 | 68 | 0.38796 | 18 | 299 | 6.444444 | 0.611111 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011152 | 0.100334 | 299 | 10 | 69 | 29.9 | 0.420074 | 0.632107 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e578ac73becb70893e6728407759e82ad9ce7e1 | 9,765 | py | Python | ModelTrainer/reporting/test_classification.py | BrianBartling/MusicSymbolClassifier | 85042c305a2d0123149bc2e9ffea7f4dc5b4b839 | [
"MIT"
] | 26 | 2017-07-09T19:55:43.000Z | 2021-11-11T01:15:16.000Z | ModelTrainer/reporting/test_classification.py | BrianBartling/MusicSymbolClassifier | 85042c305a2d0123149bc2e9ffea7f4dc5b4b839 | [
"MIT"
] | 17 | 2019-03-22T05:04:39.000Z | 2021-11-11T09:30:04.000Z | ModelTrainer/reporting/test_classification.py | BrianBartling/MusicSymbolClassifier | 85042c305a2d0123149bc2e9ffea7f4dc5b4b839 | [
"MIT"
] | 10 | 2019-03-11T08:28:12.000Z | 2022-01-16T10:04:52.000Z | from sklearn import datasets
from sklearn.datasets import make_multilabel_classification
from sklearn.metrics.tests.test_classification import make_prediction
from sklearn.utils.testing import assert_warns_message, assert_equal
from reporting.sklearn_reporting import classification_report
import numpy as np
def test... | 35.252708 | 72 | 0.541116 | 1,226 | 9,765 | 4.097879 | 0.116639 | 0.131369 | 0.028662 | 0.047771 | 0.825836 | 0.798965 | 0.778662 | 0.765725 | 0.730096 | 0.718551 | 0 | 0.116086 | 0.382488 | 9,765 | 276 | 73 | 35.380435 | 0.717081 | 0.047209 | 0 | 0.694301 | 0 | 0 | 0.410783 | 0.00269 | 0 | 0 | 0 | 0 | 0.07772 | 1 | 0.056995 | false | 0 | 0.031088 | 0 | 0.088083 | 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 |
3e88320047028db76c831ddf5ef0464e17a956a4 | 13,459 | py | Python | plugin.video.fanfilm/resources/lib/sources/szukajkatv_mv_tv.py | mrknow/filmkodi | 0162cde9ae25ddbf4a69330948714833ff2f78c9 | [
"Apache-2.0"
] | 105 | 2015-11-28T00:03:11.000Z | 2021-05-05T20:47:42.000Z | plugin.video.fanfilm/resources/lib/sources/szukajkatv_mv_tv.py | rrosajp/filmkodi | 0162cde9ae25ddbf4a69330948714833ff2f78c9 | [
"Apache-2.0"
] | 918 | 2015-11-28T14:12:40.000Z | 2022-03-23T20:24:49.000Z | plugin.video.fanfilm/resources/lib/sources/szukajkatv_mv_tv.py | rrosajp/filmkodi | 0162cde9ae25ddbf4a69330948714833ff2f78c9 | [
"Apache-2.0"
] | 111 | 2015-12-01T14:06:10.000Z | 2020-08-01T10:44:39.000Z | # -*- coding: utf-8 -*-
'''
FanFilm Add-on
Copyright (C) 2016 mrknow
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any ... | 80.113095 | 7,540 | 0.816034 | 734 | 13,459 | 14.861035 | 0.344687 | 0.006601 | 0.010268 | 0.011459 | 0.055831 | 0.010634 | 0 | 0 | 0 | 0 | 0 | 0.044723 | 0.127796 | 13,459 | 168 | 7,541 | 80.113095 | 0.884488 | 0.00156 | 0 | 0.072072 | 0 | 0 | 0.625629 | 0.591138 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.072072 | null | null | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e44d80a0888206e4cf9735519accc482174393cd | 38 | py | Python | src/040-champernownes-constant/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | 1 | 2018-01-26T21:18:12.000Z | 2018-01-26T21:18:12.000Z | src/040-champernownes-constant/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | 3 | 2017-12-09T14:49:30.000Z | 2017-12-09T14:59:39.000Z | src/040-champernownes-constant/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | null | null | null | import solver
print(solver.solve(7))
| 9.5 | 22 | 0.763158 | 6 | 38 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.105263 | 38 | 3 | 23 | 12.666667 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e473115b9bf8d3f5e86f0f21aaa719fb47289f7c | 108 | py | Python | python/dataingest/feedback/dmo/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/dataingest/feedback/dmo/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/dataingest/feedback/dmo/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | from .regional_rollup_mapper import RegionalRollupMapper
from .tenure_value_mapper import TenureValueMapper
| 36 | 56 | 0.907407 | 12 | 108 | 7.833333 | 0.75 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 2 | 57 | 54 | 0.94 | 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 |
5f531fbea300b6b30e45cb7d4ebde028ade63bb1 | 29 | py | Python | multi_rq/__init__.py | russellromney/multi-rq | c391fae389a20c48c882d0d03e51c170fecb1977 | [
"MIT"
] | 6 | 2019-08-06T18:46:41.000Z | 2021-11-05T00:12:07.000Z | multi_rq/__init__.py | russellromney/multi-rq | c391fae389a20c48c882d0d03e51c170fecb1977 | [
"MIT"
] | null | null | null | multi_rq/__init__.py | russellromney/multi-rq | c391fae389a20c48c882d0d03e51c170fecb1977 | [
"MIT"
] | null | null | null | from .multi_rq import MultiRQ | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3991f4c316b224dcb20d48e85e2a3b7055b0f4be | 123 | py | Python | app/blueprint/medication/__init__.py | NTUT-108-SE/CMS-Backend | 1daa37960ba61f935da5174516f0a2e411b68706 | [
"MIT"
] | null | null | null | app/blueprint/medication/__init__.py | NTUT-108-SE/CMS-Backend | 1daa37960ba61f935da5174516f0a2e411b68706 | [
"MIT"
] | null | null | null | app/blueprint/medication/__init__.py | NTUT-108-SE/CMS-Backend | 1daa37960ba61f935da5174516f0a2e411b68706 | [
"MIT"
] | 1 | 2019-10-12T02:48:16.000Z | 2019-10-12T02:48:16.000Z | from flask import Blueprint
medication = Blueprint('medication', __name__, url_prefix='/medication')
from . import index
| 20.5 | 72 | 0.780488 | 14 | 123 | 6.5 | 0.642857 | 0.417582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 123 | 5 | 73 | 24.6 | 0.842593 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
84190f667b38ae0aa0bcfdfb548621e901c9bb2c | 42 | py | Python | illuminate_core/contract/__init__.py | tonyhhyip/py-illuminate | 173162c8b6e5a49472515142d5446fae543ff7b4 | [
"MIT"
] | null | null | null | illuminate_core/contract/__init__.py | tonyhhyip/py-illuminate | 173162c8b6e5a49472515142d5446fae543ff7b4 | [
"MIT"
] | null | null | null | illuminate_core/contract/__init__.py | tonyhhyip/py-illuminate | 173162c8b6e5a49472515142d5446fae543ff7b4 | [
"MIT"
] | null | null | null | import illuminate_core.contract.container
| 21 | 41 | 0.904762 | 5 | 42 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 42 | 1 | 42 | 42 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
083457c7a4579aa2504fd77f4701907df4ed2bd1 | 5,916 | py | Python | vectorhub/encoders/image/tfhub/bit.py | NanaAkwasiAbayieBoateng/vectorhub | 265933521cf0a3113a47182a30b0037bf163584b | [
"Apache-2.0"
] | 1 | 2020-11-04T16:02:39.000Z | 2020-11-04T16:02:39.000Z | vectorhub/encoders/image/tfhub/bit.py | NanaAkwasiAbayieBoateng/vectorhub | 265933521cf0a3113a47182a30b0037bf163584b | [
"Apache-2.0"
] | null | null | null | vectorhub/encoders/image/tfhub/bit.py | NanaAkwasiAbayieBoateng/vectorhub | 265933521cf0a3113a47182a30b0037bf163584b | [
"Apache-2.0"
] | null | null | null | from ..base import BaseImage2Vec
from ....base import catch_vector_errors
from ....doc_utils import ModelDefinition
from ....import_utils import *
if is_all_dependency_installed('encoders-image-tfhub'):
import tensorflow as tf
import tensorflow_hub as hub
import traceback
from datetime import date
BITModel... | 56.884615 | 146 | 0.710446 | 829 | 5,916 | 4.973462 | 0.243667 | 0.046568 | 0.04099 | 0.059908 | 0.793112 | 0.778559 | 0.75091 | 0.75091 | 0.749939 | 0.749939 | 0 | 0.053185 | 0.18002 | 5,916 | 103 | 147 | 57.436893 | 0.796743 | 0.030257 | 0 | 0.468085 | 0 | 0.148936 | 0.62452 | 0.032134 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053191 | false | 0 | 0.106383 | 0.021277 | 0.223404 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
083dd05cfc307ea22b7ddab9b0d03f50f2802604 | 40 | py | Python | synchCams/__init__.py | ateshkoul/synchCams | 3f73cf593e27d57b72f65d453d13cc535646e86d | [
"MIT"
] | null | null | null | synchCams/__init__.py | ateshkoul/synchCams | 3f73cf593e27d57b72f65d453d13cc535646e86d | [
"MIT"
] | null | null | null | synchCams/__init__.py | ateshkoul/synchCams | 3f73cf593e27d57b72f65d453d13cc535646e86d | [
"MIT"
] | null | null | null | from . import utils
from .utils import * | 20 | 20 | 0.75 | 6 | 40 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 20 | 20 | 0.909091 | 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 |
0841f5f000664481b779b9d7f83d275b1812073f | 33 | py | Python | ajenga/sync/__init__.py | project-ajenga/Core | 10a866f541d86298f7ed3922754d5232fe820b25 | [
"MIT"
] | null | null | null | ajenga/sync/__init__.py | project-ajenga/Core | 10a866f541d86298f7ed3922754d5232fe820b25 | [
"MIT"
] | null | null | null | ajenga/sync/__init__.py | project-ajenga/Core | 10a866f541d86298f7ed3922754d5232fe820b25 | [
"MIT"
] | null | null | null | from multiprocessing import Lock
| 16.5 | 32 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 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 |
0846eb4ffdd6b05aa2c7e835b2168410871f00a1 | 10,269 | py | Python | final project.py | manish257/Sample-LMS-student-management-system | 0aeaa39e31f10749aa59f9be1fbd3a61b5d946b5 | [
"Apache-2.0"
] | null | null | null | final project.py | manish257/Sample-LMS-student-management-system | 0aeaa39e31f10749aa59f9be1fbd3a61b5d946b5 | [
"Apache-2.0"
] | null | null | null | final project.py | manish257/Sample-LMS-student-management-system | 0aeaa39e31f10749aa59f9be1fbd3a61b5d946b5 | [
"Apache-2.0"
] | null | null | null | #This Program is about the information of the foreign students in any university.
#you can insert,view,search,delete,count the student details.
Total_Student = []
#function is defined to insert data:
def insert():
University_Name =input("Enter University Name of the Student :")
Student_Name=input("Enter... | 45.64 | 163 | 0.430811 | 943 | 10,269 | 4.560976 | 0.132556 | 0.01395 | 0.01674 | 0.01674 | 0.742153 | 0.727738 | 0.722855 | 0.71309 | 0.71309 | 0.703325 | 0 | 0 | 0.352615 | 10,269 | 224 | 164 | 45.84375 | 0.646961 | 0.061058 | 0 | 0.833333 | 0 | 0.015152 | 0.37956 | 0.082314 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0.010101 | 0 | 0 | 0.030303 | 0.373737 | 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 |
085b92b49baa5b8520ee536dcff3258539e69d33 | 231 | py | Python | projectLibrary/books/admin.py | GrishenkovP/Django_REST_API | df1ff53d1687c8c9f1beed06151dbf5e6efcf065 | [
"MIT"
] | null | null | null | projectLibrary/books/admin.py | GrishenkovP/Django_REST_API | df1ff53d1687c8c9f1beed06151dbf5e6efcf065 | [
"MIT"
] | null | null | null | projectLibrary/books/admin.py | GrishenkovP/Django_REST_API | df1ff53d1687c8c9f1beed06151dbf5e6efcf065 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Book
@admin.register(Book)
class BookAdmin(admin.ModelAdmin):
fields = ('title','subtitle','author','isbn',)
list_display = ('title','subtitle','author','isbn',) | 28.875 | 56 | 0.683983 | 27 | 231 | 5.814815 | 0.666667 | 0.165605 | 0.242038 | 0.292994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 231 | 8 | 56 | 28.875 | 0.792929 | 0 | 0 | 0 | 0 | 0 | 0.204444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f23a3a701bf932be1caa993acc28dd29d9a45855 | 366 | py | Python | account_withholding/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | 1 | 2021-01-25T15:57:58.000Z | 2021-01-25T15:57:58.000Z | account_withholding/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | null | null | null | account_withholding/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | 2 | 2020-10-17T16:36:02.000Z | 2021-01-24T10:20:05.000Z | ##############################################################################
# For copyright and license notices, see __manifest__.py file in module root
# directory
##############################################################################
from . import res_company
from . import account_tax
from . import account... | 40.666667 | 78 | 0.464481 | 30 | 366 | 5.366667 | 0.733333 | 0.248447 | 0.31677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087432 | 366 | 8 | 79 | 45.75 | 0.482036 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f26d03f8b2940fd2751b2bd4a263324e31a85475 | 11,921 | py | Python | mentorprise/docker/backend/app/migrations/0001_initial.py | CS261-Group-17/Mentoring-Site | b0425ec967c3241561ab8eb65cce75a35f3e5814 | [
"MIT"
] | null | null | null | mentorprise/docker/backend/app/migrations/0001_initial.py | CS261-Group-17/Mentoring-Site | b0425ec967c3241561ab8eb65cce75a35f3e5814 | [
"MIT"
] | null | null | null | mentorprise/docker/backend/app/migrations/0001_initial.py | CS261-Group-17/Mentoring-Site | b0425ec967c3241561ab8eb65cce75a35f3e5814 | [
"MIT"
] | null | null | null | # Generated by Django 4.0.2 on 2022-03-12 00:21
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 53.21875 | 169 | 0.582921 | 1,100 | 11,921 | 6.153636 | 0.124545 | 0.034274 | 0.057911 | 0.091003 | 0.772492 | 0.763481 | 0.719309 | 0.716354 | 0.70099 | 0.70099 | 0 | 0.002425 | 0.273467 | 11,921 | 223 | 170 | 53.457399 | 0.779125 | 0.003775 | 0 | 0.657407 | 1 | 0 | 0.121442 | 0.018781 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.00463 | 0.013889 | 0 | 0.032407 | 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 |
f29157990cec50ba579bba28e3251311ae3b5d19 | 28 | py | Python | model/__init__.py | RAYTRAC3R/mlp-singer | a68299b943815353fcc177e4873d24d1d0937cfb | [
"MIT"
] | 82 | 2021-05-25T04:20:58.000Z | 2022-03-17T15:03:43.000Z | model/__init__.py | RAYTRAC3R/mlp-singer | a68299b943815353fcc177e4873d24d1d0937cfb | [
"MIT"
] | 7 | 2021-06-17T14:45:55.000Z | 2022-02-27T06:30:25.000Z | model/__init__.py | RAYTRAC3R/mlp-singer | a68299b943815353fcc177e4873d24d1d0937cfb | [
"MIT"
] | 24 | 2021-05-25T06:48:20.000Z | 2022-03-30T13:21:57.000Z | from .core import MLPSinger
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f2a3dafab9ead555146dfbfbd44ea530db9acf13 | 17,327 | py | Python | tests/resolver/test_validators.py | factomatic/py-factom-did | 254d881afecdbc66304890175d3a4b08c2872868 | [
"MIT"
] | 8 | 2019-08-06T22:58:52.000Z | 2021-01-12T15:03:39.000Z | tests/resolver/test_validators.py | sigrlami/py-factom-did | 254d881afecdbc66304890175d3a4b08c2872868 | [
"MIT"
] | 30 | 2019-09-10T20:17:11.000Z | 2021-06-02T00:35:51.000Z | tests/resolver/test_validators.py | sigrlami/py-factom-did | 254d881afecdbc66304890175d3a4b08c2872868 | [
"MIT"
] | 4 | 2020-01-12T18:20:07.000Z | 2021-07-12T18:32:20.000Z | import json
import secrets
from jsonschema.exceptions import ValidationError
import pytest
from factom_did.client.constants import DID_METHOD_NAME
from factom_did.client.enums import DIDKeyPurpose, KeyType
from factom_did.client.keys.did import DIDKey
from factom_did.client.keys.management import ManagementKey
from f... | 35.074899 | 88 | 0.472557 | 1,563 | 17,327 | 4.997441 | 0.088292 | 0.032262 | 0.034567 | 0.03239 | 0.842274 | 0.81078 | 0.792984 | 0.770324 | 0.752272 | 0.742543 | 0 | 0.026957 | 0.424078 | 17,327 | 493 | 89 | 35.146045 | 0.755787 | 0.020892 | 0 | 0.672055 | 0 | 0 | 0.11661 | 0.011738 | 0 | 0 | 0.000354 | 0 | 0.046189 | 1 | 0.039261 | false | 0 | 0.027714 | 0 | 0.083141 | 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 |
4b3edab35c9f4501100062d2fad4422f5729ea63 | 41 | py | Python | rutermextract/__init__.py | nivedano/rutermextract | 9770a2f830e5f02ad3c6e2ce26cbf4263de04598 | [
"MIT"
] | 72 | 2015-01-05T19:18:40.000Z | 2022-02-08T13:21:00.000Z | rutermextract/__init__.py | nivedano/rutermextract | 9770a2f830e5f02ad3c6e2ce26cbf4263de04598 | [
"MIT"
] | 5 | 2017-10-05T16:43:52.000Z | 2021-01-26T12:55:44.000Z | rutermextract/__init__.py | nivedano/rutermextract | 9770a2f830e5f02ad3c6e2ce26cbf4263de04598 | [
"MIT"
] | 16 | 2016-07-02T17:34:52.000Z | 2021-12-23T18:07:25.000Z | from .term_extractor import TermExtractor | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b488da02ae6a81fa69eb89e4f435f2583db2764 | 33 | py | Python | myproject/settings.py | jbking/demo-appengine-django-golang | 99b185754af41f69f3f4c3aef76b0dc92a13dc8b | [
"MIT"
] | 2 | 2017-12-11T03:56:46.000Z | 2018-03-23T20:39:11.000Z | 2014/03/buildout/example/myproject/production.py | stephanpoetschner/django-vienna | 6045832e2ebf095896c62db2f1341b65f2acfa73 | [
"MIT"
] | null | null | null | 2014/03/buildout/example/myproject/production.py | stephanpoetschner/django-vienna | 6045832e2ebf095896c62db2f1341b65f2acfa73 | [
"MIT"
] | null | null | null | from myproject.settings import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
4b6d98521ea68e454b86a17729b894b841bc286c | 24 | py | Python | python/tak/symmetry/__init__.py | Innoviox/taktician | c2997342264a8c9dba33b401984a2cba45d91386 | [
"MIT"
] | 55 | 2016-05-03T04:24:12.000Z | 2022-03-11T02:36:22.000Z | python/tak/symmetry/__init__.py | Innoviox/taktician | c2997342264a8c9dba33b401984a2cba45d91386 | [
"MIT"
] | 19 | 2016-05-22T02:13:21.000Z | 2021-11-10T21:46:58.000Z | python/tak/symmetry/__init__.py | Innoviox/taktician | c2997342264a8c9dba33b401984a2cba45d91386 | [
"MIT"
] | 13 | 2016-05-22T00:42:20.000Z | 2021-06-21T12:36:50.000Z | from .symmetry import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b96dfc28bdcdaf218779e47c32ac494a515547a | 377 | py | Python | qmctorch/wavefunction/orbitals/backflow/kernels/__init__.py | NLESC-JCER/QMCTorch | c56472cd3e9cc59f2e01a880e674b7270d2cdc2b | [
"Apache-2.0"
] | 16 | 2020-06-26T17:43:38.000Z | 2022-03-03T14:16:02.000Z | qmctorch/wavefunction/orbitals/backflow/kernels/__init__.py | NLESC-JCER/QMCTorch | c56472cd3e9cc59f2e01a880e674b7270d2cdc2b | [
"Apache-2.0"
] | 57 | 2020-05-01T07:13:49.000Z | 2021-07-13T19:51:55.000Z | qmctorch/wavefunction/orbitals/backflow/kernels/__init__.py | NLESC-JCER/QMCTorch | c56472cd3e9cc59f2e01a880e674b7270d2cdc2b | [
"Apache-2.0"
] | 3 | 2020-07-30T09:56:04.000Z | 2021-08-12T02:55:45.000Z | from .backflow_kernel_base import BackFlowKernelBase
from .backflow_kernel_autodiff_inverse import BackFlowKernelAutoInverse
from .backflow_kernel_fully_connected import BackFlowKernelFullyConnected
from .backflow_kernel_inverse import BackFlowKernelInverse
from .backflow_kernel_power_sum import BackFlowKernelPowerSum
... | 53.857143 | 73 | 0.920424 | 39 | 377 | 8.512821 | 0.461538 | 0.216867 | 0.325301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06366 | 377 | 6 | 74 | 62.833333 | 0.94051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4b9db94d6f01ba8d2e97f38215ad8d3c2dad224c | 196 | py | Python | django_bootstrap3_form/__init__.py | mbraak/django-bootstrap3-form | 937d396a5fa74317644c45455bd36441c498be6f | [
"Apache-2.0"
] | 2 | 2015-02-28T00:44:21.000Z | 2015-10-19T03:18:49.000Z | django_bootstrap3_form/__init__.py | mbraak/django-bootstrap3-form | 937d396a5fa74317644c45455bd36441c498be6f | [
"Apache-2.0"
] | 111 | 2015-01-27T21:15:51.000Z | 2021-03-25T22:15:39.000Z | django_bootstrap3_form/__init__.py | mbraak/django-bootstrap3-form | 937d396a5fa74317644c45455bd36441c498be6f | [
"Apache-2.0"
] | 1 | 2016-01-12T12:56:30.000Z | 2016-01-12T12:56:30.000Z | from .form import BootstrapForm, BootstrapFormMixin
from .fields import BooleanField, CharField, ChoiceField, DateField
from .widgets import PasswordInput, Textarea, Select, RadioSelect, TextInput | 65.333333 | 76 | 0.846939 | 20 | 196 | 8.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096939 | 196 | 3 | 76 | 65.333333 | 0.937853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 |
4ba5c34d904c33e3f5c5d5dbba25a6a2a14d5df6 | 45 | py | Python | swiper/__init__.py | BreakUnrealGod/TanTan | 043454a76ee27d61e7d9aede7818f9127e34aaf2 | [
"MIT"
] | null | null | null | swiper/__init__.py | BreakUnrealGod/TanTan | 043454a76ee27d61e7d9aede7818f9127e34aaf2 | [
"MIT"
] | 10 | 2019-12-04T23:38:04.000Z | 2022-02-10T09:53:59.000Z | swiper/swiper/__init__.py | lijiaqipy/test1 | ab628a794ab67e153b929c819c876c5a676ab068 | [
"MIT"
] | null | null | null | from libs.orm import path_model
path_model() | 15 | 31 | 0.822222 | 8 | 45 | 4.375 | 0.75 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 3 | 32 | 15 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
298e4da67c808d0964e0e7ca4239792fd9519f9d | 30 | py | Python | python/eth/server/__init__.py | apolloFER/eth-client-server-demo | 506d704d4c4960a81ac146e7c8fef85aa7274cd1 | [
"Apache-2.0"
] | null | null | null | python/eth/server/__init__.py | apolloFER/eth-client-server-demo | 506d704d4c4960a81ac146e7c8fef85aa7274cd1 | [
"Apache-2.0"
] | 4 | 2021-10-06T19:13:16.000Z | 2021-10-08T02:45:51.000Z | eventhubscore/eventhubcore/__init__.py | bquantump/hackathon2021 | 56c1f2e80977d8ff65c85d3016fc3d295a977c97 | [
"MIT"
] | null | null | null | from .server import run_server | 30 | 30 | 0.866667 | 5 | 30 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 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 |
29b61fdccb7ec6d92405455e02fba4526de27ab9 | 21 | py | Python | src/__init__.py | AtsushiOhno/python-pygsvd | e92aff98d6cea4f1129fa12a774932b6545b9909 | [
"MIT"
] | null | null | null | src/__init__.py | AtsushiOhno/python-pygsvd | e92aff98d6cea4f1129fa12a774932b6545b9909 | [
"MIT"
] | null | null | null | src/__init__.py | AtsushiOhno/python-pygsvd | e92aff98d6cea4f1129fa12a774932b6545b9909 | [
"MIT"
] | null | null | null | from .pygsvd import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29d2af05dc6efa8dd9ccecd5c9a1c345012c0b17 | 2,801 | py | Python | test/orangebook/test_merge.py | pharmaDB/scoring_data_processor | f433d725754aaf9cfca7ff6ddff623555cb1cb1c | [
"Apache-2.0"
] | null | null | null | test/orangebook/test_merge.py | pharmaDB/scoring_data_processor | f433d725754aaf9cfca7ff6ddff623555cb1cb1c | [
"Apache-2.0"
] | null | null | null | test/orangebook/test_merge.py | pharmaDB/scoring_data_processor | f433d725754aaf9cfca7ff6ddff623555cb1cb1c | [
"Apache-2.0"
] | null | null | null | import unittest
from orangebook.merge import OrangeBookMap
from db.mongo import MongoClient
import datetime
from utils.logging import getLogger
_logger = getLogger(__name__)
class Test_merge_with_orangebook_collection(unittest.TestCase):
maxDiff = None
# initial setup of unittest database
mongo_client ... | 30.445652 | 76 | 0.717958 | 364 | 2,801 | 5.134615 | 0.186813 | 0.094168 | 0.057785 | 0.096308 | 0.853933 | 0.841091 | 0.841091 | 0.783307 | 0.783307 | 0.783307 | 0 | 0.01913 | 0.178865 | 2,801 | 91 | 77 | 30.78022 | 0.793478 | 0.068904 | 0 | 0.640625 | 0 | 0 | 0.12524 | 0.075298 | 0 | 0 | 0 | 0 | 0.15625 | 1 | 0.15625 | false | 0 | 0.15625 | 0 | 0.4375 | 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 |
4b21d6cf5c47982a28a7fabb97e057226a0137dd | 39 | py | Python | receptorctl/receptorctl/__main__.py | simaishi/receptor | c40034f7116062a6f8dfb747a75e458aa4b6d731 | [
"Apache-2.0"
] | 1 | 2021-05-14T02:49:42.000Z | 2021-05-14T02:49:42.000Z | receptorctl/receptorctl/__main__.py | simaishi/receptor | c40034f7116062a6f8dfb747a75e458aa4b6d731 | [
"Apache-2.0"
] | 5 | 2022-03-03T22:25:11.000Z | 2022-03-17T05:29:55.000Z | receptorctl/receptorctl/__main__.py | simaishi/receptor | c40034f7116062a6f8dfb747a75e458aa4b6d731 | [
"Apache-2.0"
] | null | null | null | import sys
from .cli import run
run()
| 7.8 | 20 | 0.717949 | 7 | 39 | 4 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 4 | 21 | 9.75 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9a0fc9e4d7c30f213a7173778066edbfa0e24d1 | 7,942 | py | Python | simpleml/migrations/versions/9df691c76c63_base_schema.py | aolopez/SimpleML | 9e3237c243863400372a493164a107b74f770ef0 | [
"BSD-3-Clause"
] | 15 | 2018-08-19T19:36:23.000Z | 2021-11-09T17:47:18.000Z | simpleml/migrations/versions/9df691c76c63_base_schema.py | aolopez/SimpleML | 9e3237c243863400372a493164a107b74f770ef0 | [
"BSD-3-Clause"
] | 75 | 2020-10-11T17:58:59.000Z | 2022-03-29T22:34:54.000Z | simpleml/migrations/versions/9df691c76c63_base_schema.py | aolopez/SimpleML | 9e3237c243863400372a493164a107b74f770ef0 | [
"BSD-3-Clause"
] | 4 | 2018-04-30T23:09:42.000Z | 2022-01-19T08:03:18.000Z | """Base Schema
Revision ID: 9df691c76c63
Revises:
Create Date: 2019-02-17 21:46:53.755263
"""
from alembic import op
import sqlalchemy as sa
import simpleml
# revision identifiers, used by Alembic.
revision = '9df691c76c63'
down_revision = '0680f18b52ca'
branch_labels = None
depends_on = None
def upgrade():
# ... | 56.728571 | 113 | 0.684085 | 937 | 7,942 | 5.599787 | 0.116329 | 0.091481 | 0.09434 | 0.132075 | 0.86335 | 0.858395 | 0.810177 | 0.799504 | 0.773585 | 0.753192 | 0 | 0.00665 | 0.166835 | 7,942 | 139 | 114 | 57.136691 | 0.786308 | 0.039285 | 0 | 0.644628 | 0 | 0 | 0.186432 | 0.039443 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016529 | false | 0 | 0.024793 | 0 | 0.041322 | 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 |
d9d96e402b509d80efdac4e684909768acfae75f | 13,985 | py | Python | tests/test_client.py | lindarte727/python-asana | 7475f9419619da628b7122271e36a13196068ecb | [
"MIT"
] | null | null | null | tests/test_client.py | lindarte727/python-asana | 7475f9419619da628b7122271e36a13196068ecb | [
"MIT"
] | null | null | null | tests/test_client.py | lindarte727/python-asana | 7475f9419619da628b7122271e36a13196068ecb | [
"MIT"
] | null | null | null | from .helpers import *
from mock import patch, call
class TestClient(ClientTestCase):
def test_version_values(self):
values = self.client._versionValues()
self.assertEqual('Python', values['language'])
self.assertRegexpMatches(values['version'], r'[0-9]+[.][0-9]+[.][0-9]+')
self.as... | 50.487365 | 241 | 0.60522 | 1,679 | 13,985 | 4.907088 | 0.119119 | 0.065542 | 0.033985 | 0.055347 | 0.807744 | 0.784683 | 0.762228 | 0.739532 | 0.710038 | 0.658575 | 0 | 0.043176 | 0.218305 | 13,985 | 276 | 242 | 50.67029 | 0.710483 | 0.012156 | 0 | 0.407895 | 0 | 0.008772 | 0.211456 | 0.035267 | 0 | 0 | 0 | 0 | 0.232456 | 1 | 0.114035 | false | 0 | 0.008772 | 0 | 0.127193 | 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 |
d9d9dd270b5e313b2fa9b4b5b28c02f7cc6876a7 | 2,759 | py | Python | test/test_movie.py | h3llrais3r/tvdbapi-v2-client | 1210df9dd5869ccc5b63149b1b80630310a14f40 | [
"MIT"
] | 2 | 2021-01-24T07:45:22.000Z | 2021-11-15T11:29:25.000Z | test/test_movie.py | h3llrais3r/tvdb_api_v2 | 1210df9dd5869ccc5b63149b1b80630310a14f40 | [
"MIT"
] | null | null | null | test/test_movie.py | h3llrais3r/tvdb_api_v2 | 1210df9dd5869ccc5b63149b1b80630310a14f40 | [
"MIT"
] | 1 | 2020-05-07T10:16:15.000Z | 2020-05-07T10:16:15.000Z | # coding: utf-8
"""
TheTVDB API v2
API v3 targets v2 functionality with a few minor additions. The API is accessible via https://api.thetvdb.com and provides the following REST endpoints in JSON format. How to use this API documentation ---------------- You may browse the API routes without authentication... | 67.292683 | 2,040 | 0.722001 | 416 | 2,759 | 4.745192 | 0.447115 | 0.018237 | 0.008105 | 0.016211 | 0.025329 | 0.025329 | 0.025329 | 0 | 0 | 0 | 0 | 0.008901 | 0.185574 | 2,759 | 40 | 2,041 | 68.975 | 0.869604 | 0.838347 | 0 | 0.214286 | 0 | 0 | 0.020513 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
8a280731abc6d1d213fc02c72681f677ee048296 | 135 | py | Python | patton_client/__init__.py | directionless/patton-cli | 87a9ea86cbc32fe2f0f671b5e8f44f04d56b15e3 | [
"Apache-2.0"
] | 42 | 2018-02-05T15:52:19.000Z | 2021-04-17T22:24:18.000Z | patton_client/__init__.py | directionless/patton-cli | 87a9ea86cbc32fe2f0f671b5e8f44f04d56b15e3 | [
"Apache-2.0"
] | 11 | 2018-04-24T13:26:59.000Z | 2020-02-12T01:16:34.000Z | patton_client/__init__.py | directionless/patton-cli | 87a9ea86cbc32fe2f0f671b5e8f44f04d56b15e3 | [
"Apache-2.0"
] | 10 | 2018-02-05T16:34:47.000Z | 2020-12-09T14:37:02.000Z | from .model import *
from .exceptions import *
from .helpers import *
from .check_dependencies import *
from .check_banners import *
| 16.875 | 33 | 0.762963 | 17 | 135 | 5.941176 | 0.470588 | 0.39604 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162963 | 135 | 7 | 34 | 19.285714 | 0.893805 | 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 |
8a3506aff75dd587d578e37620ae2599e08dfb30 | 22 | py | Python | reguests_http/hello2.py | Zapel/python_traning | c13051867cda84246443947a9c7559248634a325 | [
"Apache-2.0"
] | null | null | null | reguests_http/hello2.py | Zapel/python_traning | c13051867cda84246443947a9c7559248634a325 | [
"Apache-2.0"
] | null | null | null | reguests_http/hello2.py | Zapel/python_traning | c13051867cda84246443947a9c7559248634a325 | [
"Apache-2.0"
] | null | null | null | print 'Hello2, Zapel!' | 22 | 22 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.090909 | 22 | 1 | 22 | 22 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8a7454c9422470c20d9701a4ed0fe47c48f9fd09 | 34,964 | py | Python | src/utils/plots.py | MelvinYin/Defined_Proteins | 75da20be82a47d85d27176db29580ab87d52b670 | [
"BSD-3-Clause"
] | 2 | 2021-01-05T02:55:57.000Z | 2021-04-16T15:49:08.000Z | src/utils/plots.py | MelvinYin/Defined_Proteins | 75da20be82a47d85d27176db29580ab87d52b670 | [
"BSD-3-Clause"
] | null | null | null | src/utils/plots.py | MelvinYin/Defined_Proteins | 75da20be82a47d85d27176db29580ab87d52b670 | [
"BSD-3-Clause"
] | 1 | 2021-01-05T08:12:38.000Z | 2021-01-05T08:12:38.000Z | from collections import defaultdict, Counter
import math
import matplotlib.pyplot as plt
import numpy as np
from operator import itemgetter
import os
from utils import seq_logo, generic
def plot_dihedral_for_diff_res(descr_full, sno_position):
descr_full = descr_full.groupby('relative_sno')
descr_for_sno = d... | 38.762749 | 79 | 0.620181 | 4,873 | 34,964 | 4.225323 | 0.068541 | 0.040602 | 0.038514 | 0.025158 | 0.808208 | 0.782564 | 0.758135 | 0.7339 | 0.716416 | 0.689898 | 0 | 0.020413 | 0.248999 | 34,964 | 901 | 80 | 38.805771 | 0.763729 | 0.108569 | 0 | 0.682788 | 0 | 0 | 0.067686 | 0.000709 | 0 | 0 | 0 | 0 | 0.024182 | 1 | 0.038407 | false | 0 | 0.009957 | 0.001422 | 0.049787 | 0.001422 | 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 |
76d4d2da118222350237ce53df21de492c687e5f | 33 | py | Python | token_contracts/bnDOGE/__init__.py | subba72/balanced-contracts | 23d2c283c26ce78985b169a204db187f0956b35b | [
"MIT"
] | 12 | 2020-08-05T00:28:33.000Z | 2022-03-15T03:55:05.000Z | token_contracts/bnDOGE/__init__.py | subba72/balanced-contracts | 23d2c283c26ce78985b169a204db187f0956b35b | [
"MIT"
] | 212 | 2021-04-20T01:06:45.000Z | 2022-02-04T03:38:28.000Z | token_contracts/bnDOGE/__init__.py | subba72/balanced-contracts | 23d2c283c26ce78985b169a204db187f0956b35b | [
"MIT"
] | 10 | 2021-01-15T03:01:58.000Z | 2022-02-13T03:20:48.000Z | from .bnDOGE import BalancedDoge
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
0a40d1199167c1a4597064fb8a0afeec0333fefd | 109 | py | Python | flack/api/__init__.py | Pythonian/flack | b79fa2066a96b399a48b021c7729c268d02c1e6f | [
"MIT"
] | 533 | 2016-05-11T19:42:50.000Z | 2022-03-20T15:49:39.000Z | flack/api/__init__.py | Pythonian/flack | b79fa2066a96b399a48b021c7729c268d02c1e6f | [
"MIT"
] | 15 | 2016-06-04T08:56:13.000Z | 2021-02-02T21:42:13.000Z | flack/api/__init__.py | amirjankar/graph-analysis | f16f0ffa34e295870ccc1fac2adfcefe11783524 | [
"MIT"
] | 163 | 2016-05-15T06:05:22.000Z | 2022-01-15T19:32:42.000Z | from flask import Blueprint
api = Blueprint('api', __name__)
from . import tokens, users, messages # noqa
| 18.166667 | 45 | 0.733945 | 14 | 109 | 5.428571 | 0.714286 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174312 | 109 | 5 | 46 | 21.8 | 0.844444 | 0.036697 | 0 | 0 | 0 | 0 | 0.029126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
0a6c8980f0c7b9f48d1e0027f46b87e3fdabaaa5 | 115 | py | Python | python/testData/mover/nestedTry_afterDown.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/mover/nestedTry_afterDown.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/mover/nestedTry_afterDown.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | try:
try:
zoo(3)
print(zoo(1).foo(2))
except:
print(zoo(0).foo(2))
except:
pass | 14.375 | 28 | 0.452174 | 17 | 115 | 3.058824 | 0.588235 | 0.307692 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 0.373913 | 115 | 8 | 29 | 14.375 | 0.652778 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0 | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6a9feaa4410782f49786821f2afea7e47420d37c | 15,801 | py | Python | democracy/tests/test_section_poll.py | City-of-Turku/kerrokantasi | 154dbd97f13903d58093c29c7b3a3b52a3ed89ec | [
"MIT"
] | null | null | null | democracy/tests/test_section_poll.py | City-of-Turku/kerrokantasi | 154dbd97f13903d58093c29c7b3a3b52a3ed89ec | [
"MIT"
] | 4 | 2021-09-01T09:49:04.000Z | 2022-03-12T01:09:43.000Z | democracy/tests/test_section_poll.py | City-of-Turku/kerrokantasi | 154dbd97f13903d58093c29c7b3a3b52a3ed89ec | [
"MIT"
] | 1 | 2020-01-31T07:41:04.000Z | 2020-01-31T07:41:04.000Z |
import datetime
from copy import deepcopy
import pytest
from democracy.factories.poll import SectionPollFactory, SectionPollOptionFactory
from democracy.models import SectionPoll, SectionPollAnswer
from democracy.tests.test_comment import get_comment_data
from democracy.tests.test_hearing import valid_hearing_json
f... | 43.770083 | 125 | 0.663819 | 1,980 | 15,801 | 5.029798 | 0.071212 | 0.032132 | 0.0488 | 0.04639 | 0.869666 | 0.833116 | 0.784115 | 0.764735 | 0.753088 | 0.732503 | 0 | 0.021402 | 0.183849 | 15,801 | 360 | 126 | 43.891667 | 0.750853 | 0.003164 | 0 | 0.662379 | 0 | 0 | 0.148111 | 0.02477 | 0 | 0 | 0 | 0 | 0.160772 | 1 | 0.041801 | false | 0 | 0.025723 | 0 | 0.07074 | 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 |
6ac4baaf5bb6e12ea420b995706ac283b106e260 | 197 | py | Python | src/interpreter/type.py | BowlingPizzaBall/b-star | 3e614443281702e124309ea7496314519b707b5f | [
"MIT"
] | null | null | null | src/interpreter/type.py | BowlingPizzaBall/b-star | 3e614443281702e124309ea7496314519b707b5f | [
"MIT"
] | null | null | null | src/interpreter/type.py | BowlingPizzaBall/b-star | 3e614443281702e124309ea7496314519b707b5f | [
"MIT"
] | null | null | null | def isBlock(line: str):
return line[0] == '[' or line[-1] == ']'
def isLiteral(line: str):
return line[0] == '"' or line[-1] == '"'
def isNumber(line: str):
return line.isnumeric()
| 17.909091 | 44 | 0.553299 | 27 | 197 | 4.037037 | 0.407407 | 0.192661 | 0.357798 | 0.46789 | 0.513761 | 0.513761 | 0.513761 | 0.513761 | 0.513761 | 0 | 0 | 0.025974 | 0.218274 | 197 | 10 | 45 | 19.7 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.020305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0a72e9960f074e4aaf6dc215d8be57ad31fa65c2 | 16,298 | py | Python | tests/commands/grade_tests.py | fng-coursera/courseraprogramming | c7d8040c8d5a35eaa446d85d8680197d56fa4235 | [
"Apache-2.0"
] | 40 | 2015-09-29T20:26:47.000Z | 2021-07-13T07:53:23.000Z | tests/commands/grade_tests.py | fng-coursera/courseraprogramming | c7d8040c8d5a35eaa446d85d8680197d56fa4235 | [
"Apache-2.0"
] | 59 | 2015-07-27T23:07:00.000Z | 2020-12-11T06:32:32.000Z | tests/commands/grade_tests.py | fng-coursera/courseraprogramming | c7d8040c8d5a35eaa446d85d8680197d56fa4235 | [
"Apache-2.0"
] | 24 | 2015-10-16T14:35:04.000Z | 2020-10-14T08:40:38.000Z | #!/usr/bin/env python
# Copyright 2015 Coursera
#
# 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 ag... | 31.832031 | 76 | 0.612836 | 1,838 | 16,298 | 5.245919 | 0.113166 | 0.079859 | 0.060154 | 0.084422 | 0.867766 | 0.85532 | 0.85532 | 0.842045 | 0.842045 | 0.842045 | 0 | 0.010713 | 0.261136 | 16,298 | 511 | 77 | 31.894325 | 0.789985 | 0.067248 | 0 | 0.695238 | 0 | 0 | 0.243177 | 0.076599 | 0 | 0 | 0 | 0.001957 | 0.07619 | 1 | 0.045238 | false | 0 | 0.016667 | 0 | 0.061905 | 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 |
0aad983d6b75d11fbc6cdce5c3967c7d2257223a | 56 | py | Python | com.pixel.game/2/code/game_data.py | mimiPIlloW/pixel-game | 20920696ce0a4702e783e1767f007f6435af1882 | [
"MIT"
] | null | null | null | com.pixel.game/2/code/game_data.py | mimiPIlloW/pixel-game | 20920696ce0a4702e783e1767f007f6435af1882 | [
"MIT"
] | null | null | null | com.pixel.game/2/code/game_data.py | mimiPIlloW/pixel-game | 20920696ce0a4702e783e1767f007f6435af1882 | [
"MIT"
] | null | null | null | level_0 = {'terrain': '../levels/0/level_0_terrain.csv'} | 56 | 56 | 0.696429 | 9 | 56 | 4 | 0.555556 | 0.333333 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.053571 | 56 | 1 | 56 | 56 | 0.622642 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.54386 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ab59dd8984c35aeacef529b0d00447e080b1b48 | 40 | py | Python | src/gtk/toga_gtk/libs/__init__.py | xueqihui/toga | fc014d6263d0ab5da81060d489ce290957f77665 | [
"BSD-3-Clause"
] | 1 | 2021-05-05T14:36:08.000Z | 2021-05-05T14:36:08.000Z | src/gtk/toga_gtk/libs/__init__.py | xueqihui/toga | fc014d6263d0ab5da81060d489ce290957f77665 | [
"BSD-3-Clause"
] | null | null | null | src/gtk/toga_gtk/libs/__init__.py | xueqihui/toga | fc014d6263d0ab5da81060d489ce290957f77665 | [
"BSD-3-Clause"
] | null | null | null | from .gtk import *
from .utils import *
| 13.333333 | 20 | 0.7 | 6 | 40 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 21 | 20 | 0.875 | 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 |
0adc4d3d1918508565cad670b215c42c209f800f | 29,787 | py | Python | netcdf_utils/NetCDF_Time_Tools.py | shaunwbell/EcoFOCI_MooringAnalysis | 369617cac20b41c1606aeac83fbd9131b77e1c15 | [
"MIT"
] | 2 | 2017-03-07T20:50:31.000Z | 2019-06-06T04:20:49.000Z | netcdf_utils/NetCDF_Time_Tools.py | shaunwbell/EcoFOCI_MooringAnalysis | 369617cac20b41c1606aeac83fbd9131b77e1c15 | [
"MIT"
] | 43 | 2017-04-03T23:12:52.000Z | 2022-01-28T16:04:34.000Z | netcdf_utils/NetCDF_Time_Tools.py | shaunwbell/EcoFOCI_MooringAnalysis | 369617cac20b41c1606aeac83fbd9131b77e1c15 | [
"MIT"
] | 2 | 2018-08-29T23:54:36.000Z | 2022-03-08T11:17:33.000Z | #!/usr/bin/env python
"""
Background:
===========
NetCDF_Time_Tools.py
Purpose:
========
Collection of various time tools
Convert EPIC file to CF file (in time)
Round to nearest Hour
Interpolate to nearest Hour (modifies data too)
Trim to specified start and end dates
Trim Vertical Range
Usage:
==... | 31.520635 | 112 | 0.575419 | 3,365 | 29,787 | 4.869837 | 0.111441 | 0.056142 | 0.017575 | 0.018795 | 0.794288 | 0.77592 | 0.765485 | 0.741197 | 0.72588 | 0.713675 | 0 | 0.011061 | 0.314063 | 29,787 | 944 | 113 | 31.554025 | 0.790965 | 0.079162 | 0 | 0.745968 | 0 | 0 | 0.121702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.004032 | 0.016129 | 0 | 0.016129 | 0.004032 | 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 |
7c14c0791c73e232b643395ae2000168694ad771 | 272 | py | Python | app/tests/utils.py | ardihikaru/login-boilerplate | e10d077de0aefa9cb7a4633f915304e805c3f982 | [
"MIT"
] | null | null | null | app/tests/utils.py | ardihikaru/login-boilerplate | e10d077de0aefa9cb7a4633f915304e805c3f982 | [
"MIT"
] | null | null | null | app/tests/utils.py | ardihikaru/login-boilerplate | e10d077de0aefa9cb7a4633f915304e805c3f982 | [
"MIT"
] | null | null | null | import random
import string
def random_lower_string(length: int = 32) -> str:
return "".join(random.choices(string.ascii_lowercase, k=length))
def random_email(length: int = 10) -> str:
return f"{random_lower_string(length)}@{random_lower_string(length)}.com"
| 24.727273 | 77 | 0.735294 | 39 | 272 | 4.923077 | 0.487179 | 0.171875 | 0.265625 | 0.359375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016878 | 0.128676 | 272 | 10 | 78 | 27.2 | 0.793249 | 0 | 0 | 0 | 0 | 0 | 0.231618 | 0.231618 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.