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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dc78cb8eacd1e2ba7a7bcac0e6e1bf090076222c | 136 | py | Python | bot/cogs/__init__.py | zd4y/discordbot | 57432b4e577241058e02c609ca36eae4b52911dc | [
"MIT"
] | null | null | null | bot/cogs/__init__.py | zd4y/discordbot | 57432b4e577241058e02c609ca36eae4b52911dc | [
"MIT"
] | null | null | null | bot/cogs/__init__.py | zd4y/discordbot | 57432b4e577241058e02c609ca36eae4b52911dc | [
"MIT"
] | null | null | null | from .loops import Loops
from .listeners import Listeners
def setup(bot):
bot.add_cog(Listeners(bot))
bot.add_cog(Loops(bot))
| 17 | 32 | 0.727941 | 21 | 136 | 4.619048 | 0.428571 | 0.123711 | 0.185567 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 136 | 7 | 33 | 19.428571 | 0.850877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 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 |
dc7b2db35c01a18588a8b2bb95431a5df601ff78 | 2,960 | py | Python | src/newlist.py | Eandreas1857/dsgrn_acdc | cfbccbd6cc27ffa4b0bd570ffb4f206b2ca9705c | [
"MIT"
] | null | null | null | src/newlist.py | Eandreas1857/dsgrn_acdc | cfbccbd6cc27ffa4b0bd570ffb4f206b2ca9705c | [
"MIT"
] | null | null | null | src/newlist.py | Eandreas1857/dsgrn_acdc | cfbccbd6cc27ffa4b0bd570ffb4f206b2ca9705c | [
"MIT"
] | null | null | null |
import DSGRN
from copy import deepcopy
def Hb_high2low(network, paramslist):
g = deepcopy(paramslist)
pg = DSGRN.ParameterGraph(network)
new_start = []
for i in paramslist[0]:
params = pg.parameter(i[1])
s = params.logic()
b = s[0].stringify()
if b[6:-2] == 'F'*len(b[6:... | 27.407407 | 68 | 0.486149 | 394 | 2,960 | 3.576142 | 0.142132 | 0.019872 | 0.021292 | 0.090845 | 0.779276 | 0.779276 | 0.779276 | 0.779276 | 0.770759 | 0.770759 | 0 | 0.038462 | 0.367568 | 2,960 | 107 | 69 | 27.663551 | 0.714209 | 0 | 0 | 0.835294 | 0 | 0 | 0.081502 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035294 | false | 0 | 0.023529 | 0 | 0.094118 | 0.094118 | 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 |
dc8c0bc40ee7b1e9ca7b074e86a0c305b7b1eb3d | 29 | py | Python | mmic/components/base/__init__.py | MolSSI/MMComponents | 691a0535d1d3c421bc2d9c38c41864554317bcd0 | [
"BSD-3-Clause"
] | 3 | 2021-02-20T22:29:24.000Z | 2021-08-08T05:40:16.000Z | mmic/components/base/__init__.py | MolSSI/MMComponents | 691a0535d1d3c421bc2d9c38c41864554317bcd0 | [
"BSD-3-Clause"
] | 2 | 2021-09-23T16:17:43.000Z | 2021-11-10T03:30:42.000Z | mmic/components/base/__init__.py | MolSSI/MMComponents | 691a0535d1d3c421bc2d9c38c41864554317bcd0 | [
"BSD-3-Clause"
] | 2 | 2021-04-09T23:05:42.000Z | 2021-10-09T14:27:19.000Z | from . import base_component
| 14.5 | 28 | 0.827586 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 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 |
f4b104ec04332aacfef12e2ea20d5bc68e97910a | 54,469 | py | Python | resources/robot/project_files/robot_drivers/hex_walker_data.py | ramk94/Thief_Policemen | 557701909a20f9a50c9bebed8532873a1910e599 | [
"MIT"
] | 3 | 2018-11-25T02:45:54.000Z | 2019-02-13T04:27:40.000Z | resources/robot/project_files/robot_drivers/hex_walker_data.py | ramk94/Thief_Policemen | 557701909a20f9a50c9bebed8532873a1910e599 | [
"MIT"
] | null | null | null | resources/robot/project_files/robot_drivers/hex_walker_data.py | ramk94/Thief_Policemen | 557701909a20f9a50c9bebed8532873a1910e599 | [
"MIT"
] | null | null | null | from leg_data import *
class Hex_Walker_Position(object): # Class name should be camelcase but I'll let it go
"""
Object to store the positions of all legs for a desired stance. Also has a list of all save
moves that the hexapod can make from this stance.
"""
def __init__(self, rf_pos, rm_pos, rr... | 52.223394 | 111 | 0.521416 | 5,463 | 54,469 | 4.568552 | 0.041186 | 0.08947 | 0.103854 | 0.055293 | 0.921188 | 0.915097 | 0.891177 | 0.828151 | 0.804672 | 0.766127 | 0 | 0.00776 | 0.422699 | 54,469 | 1,042 | 112 | 52.273512 | 0.785944 | 0.051828 | 0 | 0.677928 | 0 | 0 | 0.090545 | 0.001128 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002252 | false | 0 | 0.001126 | 0 | 0.005631 | 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 |
f4ec41146cec996f07097b56ade6a998c59320b4 | 142 | pyw | Python | main.pyw | DavidddM/ReverseLookup | 0c40e785490c96e4603e6f57d0a2276c1d74f1ee | [
"MIT"
] | null | null | null | main.pyw | DavidddM/ReverseLookup | 0c40e785490c96e4603e6f57d0a2276c1d74f1ee | [
"MIT"
] | null | null | null | main.pyw | DavidddM/ReverseLookup | 0c40e785490c96e4603e6f57d0a2276c1d74f1ee | [
"MIT"
] | null | null | null | from PythonGUI import get_form_root
from config import init_gui
form_root = get_form_root()
init_gui(form_root[0])
form_root[1].mainloop()
| 15.777778 | 35 | 0.802817 | 25 | 142 | 4.2 | 0.48 | 0.380952 | 0.209524 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.112676 | 142 | 8 | 36 | 17.75 | 0.81746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
f4f0e1e8c9b1228e093be19b38ae16f521de057f | 76 | py | Python | great_expectations/rule_based_profiler/domain_builder/types/__init__.py | victorcouste/great_expectations | 9ee46d83feb87e13c769e2ae35b899b3f18d73a4 | [
"Apache-2.0"
] | 6,451 | 2017-09-11T16:32:53.000Z | 2022-03-31T23:27:49.000Z | great_expectations/rule_based_profiler/domain_builder/types/__init__.py | victorcouste/great_expectations | 9ee46d83feb87e13c769e2ae35b899b3f18d73a4 | [
"Apache-2.0"
] | 3,892 | 2017-09-08T18:57:50.000Z | 2022-03-31T23:15:20.000Z | great_expectations/rule_based_profiler/domain_builder/types/__init__.py | victorcouste/great_expectations | 9ee46d83feb87e13c769e2ae35b899b3f18d73a4 | [
"Apache-2.0"
] | 1,023 | 2017-09-08T15:22:05.000Z | 2022-03-31T21:17:08.000Z | from .domain import Domain, InferredSemanticDomainType, SemanticDomainTypes
| 38 | 75 | 0.881579 | 6 | 76 | 11.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 76 | 1 | 76 | 76 | 0.957143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76082194ca949b56fe80c644af0dcb0e2ba47867 | 31 | py | Python | imtools/__init__.py | clavicule/periscope | 8d2613c112e1fed52ae241db9bec315f04074e77 | [
"Apache-2.0"
] | null | null | null | imtools/__init__.py | clavicule/periscope | 8d2613c112e1fed52ae241db9bec315f04074e77 | [
"Apache-2.0"
] | null | null | null | imtools/__init__.py | clavicule/periscope | 8d2613c112e1fed52ae241db9bec315f04074e77 | [
"Apache-2.0"
] | null | null | null | from .scissors import Scissors
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5208c2769760ab08e17812cc831fd9853ff12ec9 | 178 | py | Python | scripts/necklace/gui/__init__.py | r4inm4ker/neklace | 93d7ee3d3b9017144fcda16a34959933b4a48a06 | [
"Apache-2.0"
] | null | null | null | scripts/necklace/gui/__init__.py | r4inm4ker/neklace | 93d7ee3d3b9017144fcda16a34959933b4a48a06 | [
"Apache-2.0"
] | null | null | null | scripts/necklace/gui/__init__.py | r4inm4ker/neklace | 93d7ee3d3b9017144fcda16a34959933b4a48a06 | [
"Apache-2.0"
] | 1 | 2017-12-08T15:21:31.000Z | 2017-12-08T15:21:31.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author: Jefri Haryono
# @Email : jefri.yeh@gmail.com
def launch():
from necklace.gui import simple_ui
simple_ui.launch() | 22.25 | 38 | 0.662921 | 26 | 178 | 4.461538 | 0.846154 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.168539 | 178 | 8 | 39 | 22.25 | 0.777027 | 0.52809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
520ab492c50d7771ff6f05d002cc0e999b4ab58d | 1,669 | py | Python | Code Examples/Z3 Examples/z3_quantified_unknown.py | codersguild/Formal-Methods | d96429a68f67c57107820d4c9a08849a939e5895 | [
"Apache-2.0"
] | 7 | 2021-06-10T21:38:24.000Z | 2022-03-06T15:53:06.000Z | Code Examples/Z3 Examples/z3_quantified_unknown.py | codersguild/Formal-Methods | d96429a68f67c57107820d4c9a08849a939e5895 | [
"Apache-2.0"
] | null | null | null | Code Examples/Z3 Examples/z3_quantified_unknown.py | codersguild/Formal-Methods | d96429a68f67c57107820d4c9a08849a939e5895 | [
"Apache-2.0"
] | 2 | 2021-10-02T08:17:57.000Z | 2022-03-06T15:47:41.000Z | from z3 import *
x, y, z = Reals('x y z')
m, n, l = Reals('m n l')
u, v = Ints('u v')
S = SolverFor("NRA")
S.add(x >= 0)
S.add(y >= 30, z <= 50)
S.add(m >= 5, n >= 5)
S.add(m * x + n * y + l > 300)
print(S.check())
print(S.model())
S.add(ForAll((u, v), Implies(m * u + n * v + l > 400, u + v + z <= 100)))
print(S.c... | 19.635294 | 125 | 0.513481 | 323 | 1,669 | 2.622291 | 0.164087 | 0.141677 | 0.165289 | 0.01889 | 0.829988 | 0.769776 | 0.769776 | 0.769776 | 0.769776 | 0.769776 | 0 | 0.061086 | 0.205512 | 1,669 | 84 | 126 | 19.869048 | 0.577677 | 0 | 0 | 0.625 | 0 | 0 | 0.030744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0.333333 | 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 |
52134cfd30ea1a9668c66890beadbd51e745413b | 47 | py | Python | almanak/_helpers/__init__.py | clausjuhl/almanak | e29f98e2ebc7150930602b9dccb222354954fdc8 | [
"MIT"
] | null | null | null | almanak/_helpers/__init__.py | clausjuhl/almanak | e29f98e2ebc7150930602b9dccb222354954fdc8 | [
"MIT"
] | 1 | 2021-04-30T20:58:01.000Z | 2021-04-30T20:58:01.000Z | almanak/_helpers/__init__.py | clausjuhl/almanak | e29f98e2ebc7150930602b9dccb222354954fdc8 | [
"MIT"
] | null | null | null | from .response_handlers import response_handler | 47 | 47 | 0.914894 | 6 | 47 | 6.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.931818 | 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 |
521afd2480f1bf2a63c4d291e9ccbff9bce1488b | 298 | py | Python | ku/backend_ext/__init__.py | tonandr/keras_unsupervised | fd2a2494bca2eb745027178e220b42b5e5882f94 | [
"BSD-3-Clause"
] | 4 | 2019-07-28T11:56:01.000Z | 2021-11-06T02:50:58.000Z | ku/backend_ext/__init__.py | tonandr/keras_unsupervised | fd2a2494bca2eb745027178e220b42b5e5882f94 | [
"BSD-3-Clause"
] | 2 | 2021-06-30T01:00:07.000Z | 2021-07-21T08:04:40.000Z | ku/backend_ext/__init__.py | tonandr/keras_unsupervised | fd2a2494bca2eb745027178e220b42b5e5882f94 | [
"BSD-3-Clause"
] | null | null | null | from .tensorflow_backend import pad
from .tensorflow_backend import transpose
from .tensorflow_backend import multivariate_normal_diag
from .tensorflow_backend import where
from .tensorflow_backend import cond
from .tensorflow_backend import broadcast_to
from .tensorflow_backend import add_n | 42.571429 | 57 | 0.865772 | 39 | 298 | 6.333333 | 0.384615 | 0.396761 | 0.595142 | 0.765182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110738 | 298 | 7 | 58 | 42.571429 | 0.932075 | 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 | 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 |
524f2a3eb8d1c3977d0b92de6758d568a0ef1f7b | 12,694 | py | Python | suites/API/NetworkBroadcastApi/BroadcastTransactionWithCallback.py | echoprotocol/pytests | 5dce698558c2ba703aea03aab79906af1437da5d | [
"MIT"
] | 1 | 2021-03-12T05:17:02.000Z | 2021-03-12T05:17:02.000Z | suites/API/NetworkBroadcastApi/BroadcastTransactionWithCallback.py | echoprotocol/pytests | 5dce698558c2ba703aea03aab79906af1437da5d | [
"MIT"
] | 1 | 2019-11-19T12:10:59.000Z | 2019-11-19T12:10:59.000Z | suites/API/NetworkBroadcastApi/BroadcastTransactionWithCallback.py | echoprotocol/pytests | 5dce698558c2ba703aea03aab79906af1437da5d | [
"MIT"
] | 2 | 2019-04-29T10:46:48.000Z | 2019-10-29T10:01:03.000Z | # -*- coding: utf-8 -*-
import json
from common.base_test import BaseTest
import lemoncheesecake.api as lcc
from lemoncheesecake.matching import check_that, check_that_in, equal_to, is_none
SUITE = {
"description": "Method 'broadcast_transaction_with_callback'"
}
@lcc.prop("main", "type")
@lcc.prop("negative",... | 50.173913 | 120 | 0.713802 | 1,513 | 12,694 | 5.564442 | 0.110377 | 0.049412 | 0.037415 | 0.062359 | 0.835491 | 0.814824 | 0.786079 | 0.767787 | 0.755672 | 0.755672 | 0 | 0.003104 | 0.187805 | 12,694 | 252 | 121 | 50.373016 | 0.813482 | 0.001654 | 0 | 0.62212 | 0 | 0 | 0.218688 | 0.060848 | 0 | 0 | 0 | 0 | 0.004608 | 1 | 0.069124 | false | 0 | 0.018433 | 0 | 0.115207 | 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 |
528f7e4864d8d239a3a307054e4a0a702c9bd655 | 116 | py | Python | Statistics/StandardDeviation.py | dahliamusa/statsCalculator | b9aeca9519ecb2e2d22fada35b5bd23adcfc1df5 | [
"MIT"
] | 1 | 2020-11-07T07:47:29.000Z | 2020-11-07T07:47:29.000Z | Statistics/StandardDeviation.py | dahliamusa/statsCalculator | b9aeca9519ecb2e2d22fada35b5bd23adcfc1df5 | [
"MIT"
] | 17 | 2020-11-09T01:07:43.000Z | 2020-11-09T01:09:31.000Z | Statistics/StandardDeviation.py | dahliamusa/statsCalculator-601 | b9aeca9519ecb2e2d22fada35b5bd23adcfc1df5 | [
"MIT"
] | null | null | null | from math import pow
from Statistics.Variance import variance
def stdev(data):
return pow(variance(data), 0.5) | 19.333333 | 40 | 0.758621 | 18 | 116 | 4.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.155172 | 116 | 6 | 41 | 19.333333 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
8743fd88635b996bcada9ee7f74d887902ad3484 | 98 | py | Python | story/story_module.py | chimpdude2/pyrpg | 1f8d14a1e646cb6763330a5614ab8bbadceed8aa | [
"MIT"
] | null | null | null | story/story_module.py | chimpdude2/pyrpg | 1f8d14a1e646cb6763330a5614ab8bbadceed8aa | [
"MIT"
] | null | null | null | story/story_module.py | chimpdude2/pyrpg | 1f8d14a1e646cb6763330a5614ab8bbadceed8aa | [
"MIT"
] | null | null | null | class StoryModule:
def executeModule(self):
print
def executeModule(self, character):
print | 16.333333 | 36 | 0.765306 | 11 | 98 | 6.818182 | 0.636364 | 0.426667 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 6 | 37 | 16.333333 | 0.903614 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5ea67a426278315c73c1cd154734fa7f5a4f6943 | 77 | py | Python | tmp.py | skokal01/Interview-Practice | 3432f31e45ac70c3e570bd8f832c828b2836e622 | [
"Apache-2.0"
] | null | null | null | tmp.py | skokal01/Interview-Practice | 3432f31e45ac70c3e570bd8f832c828b2836e622 | [
"Apache-2.0"
] | null | null | null | tmp.py | skokal01/Interview-Practice | 3432f31e45ac70c3e570bd8f832c828b2836e622 | [
"Apache-2.0"
] | null | null | null | arr = [0,1,2,3,4,5,6,7,8,9,10]
for i in xrange(10,4,-1):
print arr[i]
| 19.25 | 31 | 0.519481 | 22 | 77 | 1.818182 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262295 | 0.207792 | 77 | 3 | 32 | 25.666667 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ed3af9b941586fac5901c611df65051a44b1df8 | 38,074 | py | Python | allel/stats/diversity.py | yakkoroma/scikit-allel | ee2362c6bd4c3e39d2bd5e7ed890a9e3116d5367 | [
"MIT"
] | null | null | null | allel/stats/diversity.py | yakkoroma/scikit-allel | ee2362c6bd4c3e39d2bd5e7ed890a9e3116d5367 | [
"MIT"
] | null | null | null | allel/stats/diversity.py | yakkoroma/scikit-allel | ee2362c6bd4c3e39d2bd5e7ed890a9e3116d5367 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, division
import logging
import numpy as np
from allel.model.ndarray import SortedIndex, AlleleCountsArray
from allel.model.util import locate_fixed_differences
from allel.util import asarray_ndim, ignore_invalid, check_dim0_aligned, \... | 34.116487 | 97 | 0.559017 | 4,902 | 38,074 | 4.247654 | 0.066095 | 0.014024 | 0.014696 | 0.015368 | 0.861445 | 0.834886 | 0.807127 | 0.774517 | 0.752617 | 0.727692 | 0 | 0.045685 | 0.321033 | 38,074 | 1,115 | 98 | 34.147085 | 0.759777 | 0.658533 | 0 | 0.614754 | 0 | 0 | 0.006445 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053279 | false | 0 | 0.028689 | 0 | 0.143443 | 0.004098 | 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 |
21b243351c8ab427bb1121e581a44eba454d04d2 | 29 | py | Python | Topsis-101903213/__init__.py | om-guptaa/Topsis-101903213 | a8333d6f90a201e0e4541971c5e13455bfb9a79e | [
"MIT"
] | null | null | null | Topsis-101903213/__init__.py | om-guptaa/Topsis-101903213 | a8333d6f90a201e0e4541971c5e13455bfb9a79e | [
"MIT"
] | null | null | null | Topsis-101903213/__init__.py | om-guptaa/Topsis-101903213 | a8333d6f90a201e0e4541971c5e13455bfb9a79e | [
"MIT"
] | null | null | null | from .101903213 import topsis | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0.103448 | 29 | 1 | 29 | 29 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
21e97f178a7d1f39d326b61c05bd1ce747f63f2c | 10,966 | py | Python | Software/VGG19.py | gkrish19/SIAM | 1e530d4c070054045fc2e8e7fe4ce82a54755132 | [
"MIT"
] | 4 | 2021-02-02T06:50:43.000Z | 2022-01-29T12:25:32.000Z | Software/VGG19.py | gkrish19/SIAM | 1e530d4c070054045fc2e8e7fe4ce82a54755132 | [
"MIT"
] | null | null | null | Software/VGG19.py | gkrish19/SIAM | 1e530d4c070054045fc2e8e7fe4ce82a54755132 | [
"MIT"
] | 2 | 2021-07-07T19:58:40.000Z | 2022-01-27T22:51:20.000Z | from utils import *
from pact_dorefa import *
import tensorflow as tf
import numpy as np
def build_VGG19(images, n_classes, is_training, keep_prob, wb, ab, quant, rram, xbar_size, adc_bits):
W_conv1_1 = tf.get_variable('conv1_1', shape=[3, 3, 3, 64], initializer=tf.contrib.keras.initializers.he_normal())
... | 42.669261 | 121 | 0.5911 | 1,613 | 10,966 | 3.739616 | 0.049597 | 0.015915 | 0.015915 | 0.047248 | 0.822944 | 0.822944 | 0.819131 | 0.743866 | 0.73193 | 0.717341 | 0 | 0.073211 | 0.287525 | 10,966 | 256 | 122 | 42.835938 | 0.698835 | 0 | 0 | 0.56962 | 0 | 0 | 0.018394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004219 | false | 0 | 0.016878 | 0 | 0.025316 | 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 |
0dfc30f38978efe05aafd51cb066548caeb508e2 | 130 | py | Python | src/lib/Bcfg2/Server/Hostbase/test/test_settings.py | amplify-education/bcfg2 | 02d7f574babfeb2da99e2aad3a92b4e8d6494f07 | [
"mpich2"
] | null | null | null | src/lib/Bcfg2/Server/Hostbase/test/test_settings.py | amplify-education/bcfg2 | 02d7f574babfeb2da99e2aad3a92b4e8d6494f07 | [
"mpich2"
] | null | null | null | src/lib/Bcfg2/Server/Hostbase/test/test_settings.py | amplify-education/bcfg2 | 02d7f574babfeb2da99e2aad3a92b4e8d6494f07 | [
"mpich2"
] | null | null | null | import sys
import os
import Hostbase.settings
def setup():
pass
def teardown():
pass
def test_mcs_settings():
pass
| 10 | 24 | 0.692308 | 18 | 130 | 4.888889 | 0.611111 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 130 | 12 | 25 | 10.833333 | 0.88 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
df008c743835903c2b123a246bcd0e39579e3009 | 18,293 | py | Python | quality/views.py | hisham2k9/IMS-and-CAPA | 9f70988a6411c72ab4f0cbc818b84db58a28076f | [
"MIT"
] | null | null | null | quality/views.py | hisham2k9/IMS-and-CAPA | 9f70988a6411c72ab4f0cbc818b84db58a28076f | [
"MIT"
] | 15 | 2021-03-19T03:43:56.000Z | 2022-03-12T00:30:55.000Z | quality/views.py | hisham2k9/IMS-and-CAPA | 9f70988a6411c72ab4f0cbc818b84db58a28076f | [
"MIT"
] | null | null | null | from django.shortcuts import render
from . import models
from hicdata import models
from nursequalitydata import models
from accounts import models
import hicdata
import nursequalitydata
import datetime
# Create your views here.
def quality(request):
##location list derived from query.
LocationList=model... | 56.113497 | 136 | 0.603783 | 1,507 | 18,293 | 7.160584 | 0.090909 | 0.031878 | 0.046706 | 0.033361 | 0.909554 | 0.905477 | 0.894727 | 0.894727 | 0.84969 | 0.823186 | 0 | 0.00325 | 0.327174 | 18,293 | 325 | 137 | 56.286154 | 0.873497 | 0.094736 | 0 | 0.660194 | 0 | 0 | 0.054121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004854 | false | 0 | 0.038835 | 0 | 0.053398 | 0.009709 | 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 |
df8ff71112795f8e9c85056f797e92b2cb0aab34 | 39 | py | Python | serial_scripts/discovery_regression/__init__.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | 1 | 2017-06-13T04:42:34.000Z | 2017-06-13T04:42:34.000Z | serial_scripts/discovery_regression/__init__.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | null | null | null | serial_scripts/discovery_regression/__init__.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | null | null | null | 'Discovery regression tests in serial'
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.941176 | 0.923077 | 0 | 0 | 0 | 0 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
10e8f67025f2afac07cb05e115d40401a78922ce | 227 | py | Python | tests/test_compatibility.py | python-pipe/hellp | 51fd7c9143ee8ce6392b9b877036ad4347ad29a5 | [
"MIT"
] | 123 | 2018-07-31T19:17:27.000Z | 2022-03-18T15:29:07.000Z | tests/test_compatibility.py | python-pipe/hellp | 51fd7c9143ee8ce6392b9b877036ad4347ad29a5 | [
"MIT"
] | 11 | 2019-05-01T18:01:59.000Z | 2022-01-01T06:43:36.000Z | tests/test_compatibility.py | python-pipe/hellp | 51fd7c9143ee8ce6392b9b877036ad4347ad29a5 | [
"MIT"
] | 4 | 2019-06-07T12:03:53.000Z | 2021-05-10T20:29:44.000Z | from sspipe import p, px
def test_simple():
assert range(3) | p.select(lambda x: x + 1) | p(list) | (px == [1, 2, 3])
def test_integration_with_px():
assert range(3) | p.select(px + 1) | p(list) | (px == [1, 2, 3])
| 22.7 | 77 | 0.572687 | 41 | 227 | 3.073171 | 0.463415 | 0.071429 | 0.190476 | 0.206349 | 0.47619 | 0.174603 | 0.174603 | 0 | 0 | 0 | 0 | 0.056818 | 0.22467 | 227 | 9 | 78 | 25.222222 | 0.659091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
10fda39d56cb3fe36543943a49a0b04172d4bccd | 8,122 | py | Python | test_life.py | fallonni/game-of-life | 13669c08b7c4d1d27adbdf518d9ad0b00047e7f0 | [
"MIT"
] | null | null | null | test_life.py | fallonni/game-of-life | 13669c08b7c4d1d27adbdf518d9ad0b00047e7f0 | [
"MIT"
] | null | null | null | test_life.py | fallonni/game-of-life | 13669c08b7c4d1d27adbdf518d9ad0b00047e7f0 | [
"MIT"
] | null | null | null | import unittest
import life
import random
from itertools import chain
class TestLife(unittest.TestCase):
def setUp(self):
self.board = life.create_dead_board(3, 3)
def initialise_neighbours(self, board, neighbours):
locations = random.sample(list(chain(range(4), range(5, 9))), neighbours)
... | 40.40796 | 100 | 0.535705 | 957 | 8,122 | 4.38767 | 0.07419 | 0.154322 | 0.083591 | 0.094308 | 0.840438 | 0.788521 | 0.743749 | 0.741367 | 0.739224 | 0.619195 | 0 | 0.028646 | 0.338094 | 8,122 | 200 | 101 | 40.61 | 0.752418 | 0.082861 | 0 | 0.508065 | 0 | 0 | 0.207859 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 1 | 0.096774 | false | 0 | 0.032258 | 0 | 0.145161 | 0.072581 | 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 |
33abf566e70c3c653c73683ce7265c7418320d35 | 50,360 | py | Python | macauff/tests/test_matching.py | lsst-uk/macauff | 02ce5caeaa1523957f914155dd433c7d1bf65869 | [
"BSD-3-Clause"
] | 5 | 2021-03-03T22:03:03.000Z | 2022-03-11T05:42:18.000Z | macauff/tests/test_matching.py | lsst-uk/macauff | 02ce5caeaa1523957f914155dd433c7d1bf65869 | [
"BSD-3-Clause"
] | 8 | 2020-07-09T09:26:17.000Z | 2022-03-30T14:24:11.000Z | macauff/tests/test_matching.py | lsst-uk/macauff | 02ce5caeaa1523957f914155dd433c7d1bf65869 | [
"BSD-3-Clause"
] | 1 | 2022-01-24T13:21:37.000Z | 2022-01-24T13:21:37.000Z | # Licensed under a 3-clause BSD style license - see LICENSE
'''
Tests for the "matching" module.
'''
import pytest
import os
from configparser import ConfigParser
from numpy.testing import assert_allclose
import numpy as np
from ..matching import CrossMatch
def _replace_line(file_name, line_num, text, out_file=None... | 64.481434 | 99 | 0.540886 | 6,481 | 50,360 | 3.878414 | 0.049529 | 0.101687 | 0.084341 | 0.101209 | 0.834739 | 0.80514 | 0.775263 | 0.742919 | 0.705761 | 0.691279 | 0 | 0.025318 | 0.318427 | 50,360 | 780 | 100 | 64.564103 | 0.706998 | 0.035048 | 0 | 0.569715 | 0 | 0 | 0.224957 | 0.085905 | 0 | 0 | 0 | 0 | 0.089955 | 1 | 0.026987 | false | 0 | 0.008996 | 0 | 0.037481 | 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 |
33bdd4ef20d9c0dc10a6776e939d8e7ced47d3de | 1,718 | py | Python | Algo and DSA/LeetCode-Solutions-master/Python/course-schedule.py | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | Algo and DSA/LeetCode-Solutions-master/Python/course-schedule.py | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | Algo and DSA/LeetCode-Solutions-master/Python/course-schedule.py | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | # Time: O(|V| + |E|)
# Space: O(|E|)
import collections
# bfs solution
class Solution(object):
def canFinish(self, numCourses, prerequisites):
"""
:type numCourses: int
:type prerequisites: List[List[int]]
:rtype: List[int]
"""
in_degree = collections.defaultdict(... | 30.140351 | 84 | 0.538999 | 216 | 1,718 | 4.175926 | 0.212963 | 0.124169 | 0.079823 | 0.137472 | 0.871397 | 0.871397 | 0.871397 | 0.840355 | 0.840355 | 0.840355 | 0 | 0.000902 | 0.354482 | 1,718 | 56 | 85 | 30.678571 | 0.812444 | 0.144354 | 0 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.028571 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33f7cfc2c5db216e323701fb7628e1c2e98a415a | 13,826 | py | Python | tests/unit_tests/grid/test_cell_properties.py | poc11/resqpy | 5dfbfb924f8ee9b2712fb8e38bff96ee8ee9d8e2 | [
"MIT"
] | null | null | null | tests/unit_tests/grid/test_cell_properties.py | poc11/resqpy | 5dfbfb924f8ee9b2712fb8e38bff96ee8ee9d8e2 | [
"MIT"
] | null | null | null | tests/unit_tests/grid/test_cell_properties.py | poc11/resqpy | 5dfbfb924f8ee9b2712fb8e38bff96ee8ee9d8e2 | [
"MIT"
] | null | null | null | import numpy as np
import pytest
from resqpy.grid import Grid
import resqpy.grid as grr
from resqpy.model import Model
import resqpy.grid._cell_properties as cp
import resqpy.property.grid_property_collection as gpc
def test_thickness_array_thickness_already_set(basic_regular_grid: Grid):
# Arrange
extent = ... | 42.411043 | 119 | 0.562419 | 1,462 | 13,826 | 5.009576 | 0.082079 | 0.043146 | 0.0639 | 0.084107 | 0.858547 | 0.836838 | 0.829601 | 0.779492 | 0.762425 | 0.695658 | 0 | 0.108535 | 0.3356 | 13,826 | 325 | 120 | 42.541538 | 0.688766 | 0.029654 | 0 | 0.554455 | 0 | 0 | 0.033388 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 1 | 0.089109 | false | 0 | 0.10396 | 0 | 0.193069 | 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 |
1d60f71c2b5f26018091b936e7b5870703ae7754 | 86 | py | Python | 14-Python/Demos/Day-01/test_my_math.py | helghareeb/OSTrack2019 | 3ef5af0f56f8640e92c1f3c3b3d76b8df2783f48 | [
"MIT"
] | 5 | 2019-08-04T22:30:35.000Z | 2020-02-24T11:18:22.000Z | 14-Python/Demos/Day-01/test_my_math.py | helghareeb/OSTrack2019 | 3ef5af0f56f8640e92c1f3c3b3d76b8df2783f48 | [
"MIT"
] | 2 | 2019-08-11T21:51:32.000Z | 2019-08-21T11:12:22.000Z | 14-Python/Demos/Day-01/test_my_math.py | helghareeb/OSTrack2019 | 3ef5af0f56f8640e92c1f3c3b3d76b8df2783f48 | [
"MIT"
] | 14 | 2019-08-05T21:11:03.000Z | 2019-09-29T16:05:52.000Z | # بسم الله الرحمن الرحيم
from my_math import add_numbers
# print(add_numbers(10,11)) | 17.2 | 31 | 0.77907 | 15 | 86 | 4.266667 | 0.866667 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.139535 | 86 | 5 | 32 | 17.2 | 0.810811 | 0.55814 | 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 |
1d76018f94034c229916255e70750289c18eea0c | 86 | py | Python | rackio_AI/readers/__init__.py | JesusDBS/RackioAI | 01bcb0c06e73ae6f3ed0bdcf25ce3328456d6786 | [
"MIT"
] | null | null | null | rackio_AI/readers/__init__.py | JesusDBS/RackioAI | 01bcb0c06e73ae6f3ed0bdcf25ce3328456d6786 | [
"MIT"
] | null | null | null | rackio_AI/readers/__init__.py | JesusDBS/RackioAI | 01bcb0c06e73ae6f3ed0bdcf25ce3328456d6786 | [
"MIT"
] | 1 | 2021-05-19T22:32:44.000Z | 2021-05-19T22:32:44.000Z | from .readers_core import *
from .tpl import *
from ._csv_ import *
from .exl import * | 21.5 | 27 | 0.732558 | 13 | 86 | 4.615385 | 0.538462 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174419 | 86 | 4 | 28 | 21.5 | 0.84507 | 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 |
d54416d18ffbe3b86a82941ddbc47f68c157f8b2 | 2,450 | py | Python | code/dataprocess/unzip.py | chenyangjun45/Mutimode-language-generation | e8fa0379768e2a1cb7dca70eceeac334b605a4e8 | [
"MIT"
] | 5 | 2020-10-22T01:25:47.000Z | 2020-12-21T10:38:46.000Z | code/dataprocess/unzip.py | woyaonidsh/Mutimode | 42cbcddb472f0f162ff546ee1107ee26b5c5e47e | [
"MIT"
] | 1 | 2021-04-15T02:35:48.000Z | 2021-04-15T13:17:48.000Z | code/dataprocess/unzip.py | woyaonidsh/Mutimode | 42cbcddb472f0f162ff546ee1107ee26b5c5e47e | [
"MIT"
] | 1 | 2021-04-14T12:13:58.000Z | 2021-04-14T12:13:58.000Z | import os
import zipfile
text_path = '../data/text/'
image_path = '../data/image/'
annotation_path = '../data/image/annotations/'
def unzip_text(filepath=text_path):
datasets = ['val.zip', 'val_sentence.zip', 'val_parents.zip']
jishu = 0
for data in datasets:
try:
file = zipfile.ZipFi... | 37.692308 | 98 | 0.546531 | 259 | 2,450 | 5.108108 | 0.200772 | 0.054422 | 0.095238 | 0.14966 | 0.7226 | 0.7226 | 0.7226 | 0.7226 | 0.7226 | 0.7226 | 0 | 0.010186 | 0.318776 | 2,450 | 64 | 99 | 38.28125 | 0.782504 | 0.026531 | 0 | 0.722222 | 0 | 0 | 0.255775 | 0.102478 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.037037 | 0 | 0.092593 | 0.166667 | 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 |
d592cd8f7d4efae974512be75f2d4566d4127b20 | 4,662 | py | Python | rkn/acrkn/Decoder.py | rohits5496/action-conditional-rkn | 91ed35ccb0aeb410ed817e0c30b2a31cb264ac47 | [
"MIT"
] | 3 | 2021-10-15T17:44:10.000Z | 2022-03-04T17:00:26.000Z | rkn/acrkn/Decoder.py | rohits5496/action-conditional-rkn | 91ed35ccb0aeb410ed817e0c30b2a31cb264ac47 | [
"MIT"
] | null | null | null | rkn/acrkn/Decoder.py | rohits5496/action-conditional-rkn | 91ed35ccb0aeb410ed817e0c30b2a31cb264ac47 | [
"MIT"
] | 3 | 2021-07-04T05:47:46.000Z | 2022-03-04T17:00:15.000Z | import torch
from typing import Tuple, Iterable
nn = torch.nn
def elup1(x: torch.Tensor) -> torch.Tensor:
return torch.exp(x).where(x < 0.0, x + 1.0)
class SplitDiagGaussianDecoder(nn.Module):
def __init__(self, out_dim: int):
""" Decoder for low dimensional outputs as described in the paper. This... | 43.570093 | 119 | 0.62248 | 587 | 4,662 | 4.681431 | 0.172061 | 0.104803 | 0.058224 | 0.043668 | 0.80786 | 0.770015 | 0.760553 | 0.723071 | 0.723071 | 0.706696 | 0 | 0.001854 | 0.305877 | 4,662 | 107 | 120 | 43.570093 | 0.847342 | 0.265337 | 0 | 0.509434 | 0 | 0 | 0.114322 | 0.023869 | 0 | 0 | 0 | 0 | 0.056604 | 1 | 0.150943 | false | 0 | 0.037736 | 0.018868 | 0.283019 | 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 |
6379da1ada3a56665e1522ad571ef818ad2bee0b | 184 | py | Python | openpeerpower/components/websocket_api/error.py | pcaston/Open-Peer-Power | 81805d455c548e0f86b0f7fedc793b588b2afdfd | [
"Apache-2.0"
] | null | null | null | openpeerpower/components/websocket_api/error.py | pcaston/Open-Peer-Power | 81805d455c548e0f86b0f7fedc793b588b2afdfd | [
"Apache-2.0"
] | null | null | null | openpeerpower/components/websocket_api/error.py | pcaston/Open-Peer-Power | 81805d455c548e0f86b0f7fedc793b588b2afdfd | [
"Apache-2.0"
] | 1 | 2019-04-24T14:10:08.000Z | 2019-04-24T14:10:08.000Z | """WebSocket API related errors."""
from openpeerpower.exceptions import OpenPeerPowerError
class Disconnect(OpenPeerPowerError):
"""Disconnect the current session."""
pass
| 20.444444 | 55 | 0.76087 | 17 | 184 | 8.235294 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 184 | 8 | 56 | 23 | 0.886076 | 0.331522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
637e3e115488c2ae453cc1ece8e9704d42e872a8 | 213 | py | Python | pykotor/resource/formats/rim/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | 1 | 2022-02-21T15:17:28.000Z | 2022-02-21T15:17:28.000Z | pykotor/resource/formats/rim/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | 1 | 2022-03-12T16:06:23.000Z | 2022-03-12T16:06:23.000Z | pykotor/resource/formats/rim/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | null | null | null | from pykotor.resource.formats.rim.data import RIM, RIMResource
from pykotor.resource.formats.rim.io_binary import RIMBinaryReader, RIMBinaryWriter
from pykotor.resource.formats.rim.auto import load_rim, write_rim
| 53.25 | 83 | 0.859155 | 30 | 213 | 6 | 0.5 | 0.183333 | 0.316667 | 0.433333 | 0.483333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 213 | 3 | 84 | 71 | 0.909091 | 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 |
63963559ced24d8a29a238c3ccbed5856379412a | 165 | py | Python | src/DataReader.py | PavelStupnitski/Student-Rating | 41e038e6ce4a1ece8dffbd9373a61b1009801aa2 | [
"Apache-2.0"
] | null | null | null | src/DataReader.py | PavelStupnitski/Student-Rating | 41e038e6ce4a1ece8dffbd9373a61b1009801aa2 | [
"Apache-2.0"
] | 1 | 2021-12-12T16:00:29.000Z | 2021-12-12T16:00:29.000Z | src/DataReader.py | PavelStupnitski/Student-Rating | 41e038e6ce4a1ece8dffbd9373a61b1009801aa2 | [
"Apache-2.0"
] | null | null | null | from Types import DataType
from abc import ABC, abstractmethod
class DataReader(ABC):
@abstractmethod
def read(self, path: str) -> DataType:
pass
| 16.5 | 42 | 0.69697 | 20 | 165 | 5.75 | 0.7 | 0.295652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230303 | 165 | 9 | 43 | 18.333333 | 0.905512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6398c5430b4e4bdc693e75b25c075d51bce6a790 | 1,057 | py | Python | units/volume/teaspoons.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | units/volume/teaspoons.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | units/volume/teaspoons.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | # <auto-generated>
# This code was generated by the UnitCodeGenerator tool
#
# Changes to this file will be lost if the code is regenerated
# </auto-generated>
def to_millilitres(value):
return value * 5.9193904674479161344
def to_litres(value):
return value * 0.005919390467447916134
def to_kilolitres(value):
re... | 27.815789 | 62 | 0.776727 | 160 | 1,057 | 4.9375 | 0.35625 | 0.094937 | 0.303797 | 0.062025 | 0.070886 | 0.070886 | 0 | 0 | 0 | 0 | 0 | 0.242291 | 0.140965 | 1,057 | 37 | 63 | 28.567568 | 0.627753 | 0.140965 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8936321a109f98e668a6494d8b1440bec2bb7347 | 10,522 | py | Python | metrics.py | Chen-Yifan/DEM_building_segmentation | 1e9a41e87ec0ab1777a65146c5b31d88938480b7 | [
"MIT"
] | null | null | null | metrics.py | Chen-Yifan/DEM_building_segmentation | 1e9a41e87ec0ab1777a65146c5b31d88938480b7 | [
"MIT"
] | null | null | null | metrics.py | Chen-Yifan/DEM_building_segmentation | 1e9a41e87ec0ab1777a65146c5b31d88938480b7 | [
"MIT"
] | null | null | null | import keras.backend as K
import numpy as np
import os
import glob
import skimage.io as io
import tensorflow as tf
import cv2
from itertools import product
from skimage.morphology import skeletonize
def centerline_acc(y_true, y_pred):
"""
acc = (#( y_true_center & y_pred ) / #y_true_center + #( y_pred_center &... | 37.049296 | 124 | 0.649401 | 1,742 | 10,522 | 3.684271 | 0.097015 | 0.095824 | 0.046276 | 0.045185 | 0.809754 | 0.77345 | 0.742911 | 0.73512 | 0.731225 | 0.726706 | 0 | 0.023579 | 0.214028 | 10,522 | 283 | 125 | 37.180212 | 0.752479 | 0.26915 | 0 | 0.549708 | 0 | 0 | 0.012441 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128655 | false | 0 | 0.052632 | 0 | 0.321637 | 0.017544 | 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 |
896865224d961a4828bb69bec7ae530d89805e1b | 245 | py | Python | materials/class_and_instance.py | vyahello/python-classes-cheetsheet | c5c5f0e87a0988380345601b1209865f0b4d8f24 | [
"Apache-2.0"
] | null | null | null | materials/class_and_instance.py | vyahello/python-classes-cheetsheet | c5c5f0e87a0988380345601b1209865f0b4d8f24 | [
"Apache-2.0"
] | null | null | null | materials/class_and_instance.py | vyahello/python-classes-cheetsheet | c5c5f0e87a0988380345601b1209865f0b4d8f24 | [
"Apache-2.0"
] | null | null | null | class ClassName:
def method(self):
pass
print(dir(ClassName))
print(ClassName)
print(type(ClassName))
print(ClassName())
print(type(ClassName()))
print(isinstance(ClassName(), ClassName))
print(isinstance(ClassName, ClassName))
| 15.3125 | 41 | 0.726531 | 27 | 245 | 6.592593 | 0.37037 | 0.47191 | 0.258427 | 0.314607 | 0.780899 | 0.438202 | 0.438202 | 0 | 0 | 0 | 0 | 0 | 0.126531 | 245 | 15 | 42 | 16.333333 | 0.831776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.1 | 0 | 0 | 0.2 | 0.7 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
8985f34694f27674e79472608651422a4a29bac0 | 15,020 | py | Python | sgtpy/vrmie_mixtures/a1sB_monomer.py | MatKie/SGTPy | 8e98d92fedd2b07d834e547e5154ec8f70d80728 | [
"MIT"
] | 12 | 2020-12-27T17:04:33.000Z | 2021-07-19T06:28:28.000Z | sgtpy/vrmie_mixtures/a1sB_monomer.py | MatKie/SGTPy | 8e98d92fedd2b07d834e547e5154ec8f70d80728 | [
"MIT"
] | 2 | 2021-05-15T14:27:57.000Z | 2021-08-19T15:42:24.000Z | sgtpy/vrmie_mixtures/a1sB_monomer.py | MatKie/SGTPy | 8e98d92fedd2b07d834e547e5154ec8f70d80728 | [
"MIT"
] | 5 | 2021-02-21T01:33:29.000Z | 2021-07-26T15:11:08.000Z | from __future__ import division, print_function, absolute_import
import numpy as np
from .a1s_monomer import a1s, da1s_dxhi00, d2a1s_dxhi00, d3a1s_dxhi00
from .B_monomer import B, dB_dxhi00, d2B_dxhi00, d3B_dxhi00
from .a1s_monomer import da1s_dx_dxhi00_dxxhi, da1s_dx_d2xhi00_dxxhi
from .B_monomer import dB_dx_dxhi00_d... | 46.215385 | 79 | 0.601065 | 2,131 | 15,020 | 3.839043 | 0.051619 | 0.059406 | 0.052805 | 0.082142 | 0.905879 | 0.893289 | 0.884611 | 0.867131 | 0.844273 | 0.842807 | 0 | 0.11237 | 0.312716 | 15,020 | 324 | 80 | 46.358025 | 0.680132 | 0.01012 | 0 | 0.479675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052846 | false | 0 | 0.02439 | 0 | 0.130081 | 0.004065 | 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 |
89a46bf97794ad51f213719a9e8e8977eff47815 | 42 | py | Python | app/schemas/__init__.py | serchip/test_py | 5ebb7498034364bbaa764cd3fb59f7868154cccb | [
"MIT"
] | null | null | null | app/schemas/__init__.py | serchip/test_py | 5ebb7498034364bbaa764cd3fb59f7868154cccb | [
"MIT"
] | null | null | null | app/schemas/__init__.py | serchip/test_py | 5ebb7498034364bbaa764cd3fb59f7868154cccb | [
"MIT"
] | null | null | null | from .balance import *
from .auth import * | 21 | 22 | 0.738095 | 6 | 42 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 23 | 21 | 0.885714 | 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 |
983771fe543a37c06717e5bbdb8108d4f7d6f40b | 12,527 | py | Python | pencilsketch_webapp.py | BandiSamuel/glowing-adventure | 3f7e66bf87561ad6ca02f0e71ba04c526baa86df | [
"Apache-2.0"
] | null | null | null | pencilsketch_webapp.py | BandiSamuel/glowing-adventure | 3f7e66bf87561ad6ca02f0e71ba04c526baa86df | [
"Apache-2.0"
] | null | null | null | pencilsketch_webapp.py | BandiSamuel/glowing-adventure | 3f7e66bf87561ad6ca02f0e71ba04c526baa86df | [
"Apache-2.0"
] | null | null | null | import streamlit as st
import numpy as np
from PIL import Image
import cv2
def dodgeV2(x, y):
return cv2.divide(x, 255 - y, scale=256)
def pencilsketch(inp_img):
img_gray = cv2.cvtColor(inp_img, cv2.COLOR_BGR2GRAY)
img_invert = cv2.bitwise_not(img_gray)
img_smoothing = cv2.GaussianBlur(img_invert, (21... | 313.175 | 11,291 | 0.947314 | 482 | 12,527 | 24.558091 | 0.80083 | 0.003548 | 0.00169 | 0.00321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136065 | 0.016125 | 12,527 | 39 | 11,292 | 321.205128 | 0.824341 | 0 | 0 | 0 | 0 | 0.033333 | 0.926479 | 0.900136 | 0 | 1 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.133333 | 0.033333 | 0.233333 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f2cb4d15e898bd800da1437d78ce1b3cbfd9228 | 3,945 | py | Python | great_international/migrations/0042_auto_20190617_1133.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2018-03-20T11:19:07.000Z | 2021-10-05T07:53:11.000Z | great_international/migrations/0042_auto_20190617_1133.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 802 | 2018-02-05T14:16:13.000Z | 2022-02-10T10:59:21.000Z | great_international/migrations/0042_auto_20190617_1133.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2019-01-22T13:19:37.000Z | 2019-07-01T10:35:26.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.21 on 2019-06-17 11:33
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('great_international', '0041_auto_20190613_1346'),
]
operations = [
migrati... | 36.869159 | 72 | 0.625856 | 341 | 3,945 | 6.885631 | 0.193548 | 0.068995 | 0.337308 | 0.114991 | 0.768739 | 0.768739 | 0.768739 | 0.768739 | 0.751704 | 0.369676 | 0 | 0.02154 | 0.282129 | 3,945 | 106 | 73 | 37.216981 | 0.807557 | 0.01749 | 0 | 0.626263 | 1 | 0 | 0.309837 | 0.230571 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020202 | 0 | 0.050505 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f395b06b61df7aff02568e119bdac56b3e17f61 | 82 | py | Python | i18n/__init__.py | LeiQiao/Parasite-Plugins | 96a20819f2cf625f22e06be9dc03a997291e1fc6 | [
"MIT"
] | null | null | null | i18n/__init__.py | LeiQiao/Parasite-Plugins | 96a20819f2cf625f22e06be9dc03a997291e1fc6 | [
"MIT"
] | null | null | null | i18n/__init__.py | LeiQiao/Parasite-Plugins | 96a20819f2cf625f22e06be9dc03a997291e1fc6 | [
"MIT"
] | null | null | null | from .i18n_plugin import I18nPlugin
from .i18n import I18n, i18n, i18n_set_locale
| 27.333333 | 45 | 0.829268 | 13 | 82 | 5 | 0.538462 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.121951 | 82 | 2 | 46 | 41 | 0.736111 | 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 |
7f7240cdb8df36630e93cab281e9dab1f1c414a0 | 202 | py | Python | templates/email_templates.py | Gumbew/mr-client | 3ccd08c1c4191a6f281505a1b86c11422870b3ae | [
"MIT"
] | null | null | null | templates/email_templates.py | Gumbew/mr-client | 3ccd08c1c4191a6f281505a1b86c11422870b3ae | [
"MIT"
] | 1 | 2021-05-08T12:30:56.000Z | 2021-05-08T12:30:56.000Z | templates/email_templates.py | Gumbew/mr-client | 3ccd08c1c4191a6f281505a1b86c11422870b3ae | [
"MIT"
] | null | null | null | RESET_PASSWORD_REQUEST = {
"from": "The MapReduce Service Team",
"subject": "[MapReduce] Reset Password Request",
"template_path": "templates/email_templates/reset-password-template.html"
}
| 33.666667 | 77 | 0.727723 | 22 | 202 | 6.5 | 0.636364 | 0.272727 | 0.27972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138614 | 202 | 5 | 78 | 40.4 | 0.821839 | 0 | 0 | 0 | 0 | 0 | 0.683168 | 0.267327 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.6 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7f74ded55335c9c41b30149f7ab0c423a7fd69bf | 8,228 | py | Python | jira/tests/test_sprints.py | danrneal/jackbot | 318ca1d10476c0a3ca38e9ab625c79adf6e5d37a | [
"MIT"
] | 1 | 2020-02-08T22:26:35.000Z | 2020-02-08T22:26:35.000Z | jira/tests/test_sprints.py | danrneal/JackBot | 318ca1d10476c0a3ca38e9ab625c79adf6e5d37a | [
"MIT"
] | null | null | null | jira/tests/test_sprints.py | danrneal/JackBot | 318ca1d10476c0a3ca38e9ab625c79adf6e5d37a | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import patch
from jira import jira
from jira.sprints import (
sprint_event, get_sprint_issues_by_type, get_message_info,
get_active_sprint_info
)
@patch('jira.sprints.get_sprint_issues_by_type')
class SprintsTest(unittest.TestCase):
sprint = {
"id": 1,
"... | 36.568889 | 80 | 0.611084 | 980 | 8,228 | 4.721429 | 0.1 | 0.09142 | 0.051869 | 0.073482 | 0.815647 | 0.803761 | 0.780635 | 0.751675 | 0.735682 | 0.702399 | 0 | 0.010834 | 0.24842 | 8,228 | 224 | 81 | 36.732143 | 0.737387 | 0 | 0 | 0.560606 | 0 | 0 | 0.188989 | 0.033787 | 0 | 0 | 0 | 0 | 0.065657 | 1 | 0.065657 | false | 0.015152 | 0.020202 | 0 | 0.131313 | 0.363636 | 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 |
7f98efcee5d5596688774e4b9f44fa826ff399fd | 44 | py | Python | examples/math.isnan/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.isnan/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.isnan/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | import math
print(math.isnan(float('nan')))
| 14.666667 | 31 | 0.727273 | 7 | 44 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 2 | 32 | 22 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 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 |
7f9faaa656fb0aa233baeaaa23ce6aedc3484601 | 84 | py | Python | shipyard2/rules/py/g1/devtools/buildtools/build.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | 3 | 2016-01-04T06:28:52.000Z | 2020-09-20T13:18:40.000Z | shipyard2/rules/py/g1/devtools/buildtools/build.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | shipyard2/rules/py/g1/devtools/buildtools/build.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | import shipyard2.rules.pythons
shipyard2.rules.pythons.define_build_time_package()
| 21 | 51 | 0.869048 | 11 | 84 | 6.363636 | 0.727273 | 0.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.047619 | 84 | 3 | 52 | 28 | 0.85 | 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 |
7fb10947720cf2335f3129624fb64550d66e7530 | 1,365 | py | Python | Cw2/Cw2 - perceptron usage.py | deadsmond/SieciNeuronowe | 48d2c337b58b72dc2a7218c63dbec6d2a1e0eebb | [
"MIT"
] | null | null | null | Cw2/Cw2 - perceptron usage.py | deadsmond/SieciNeuronowe | 48d2c337b58b72dc2a7218c63dbec6d2a1e0eebb | [
"MIT"
] | null | null | null | Cw2/Cw2 - perceptron usage.py | deadsmond/SieciNeuronowe | 48d2c337b58b72dc2a7218c63dbec6d2a1e0eebb | [
"MIT"
] | null | null | null | # Cw. 2
# Python
u1 = [0,0,0,0,0,
0,1,1,0,0,
0,0,1,0,0,
0,0,1,0,0,
0,0,1,0,0,1]
u2 = [0,0,1,1,0,
0,0,0,1,0,
0,0,0,1,0,
0,0,0,0,0,
0,0,0,0,0,1]
u3 = [0,0,0,0,0,
1,1,0,0,0,
0,1,0,0,0,
0,1,0,0,0,
0,1,0,0,0,1]
u4 = [0,0,0,0,0,
... | 18.69863 | 76 | 0.350916 | 275 | 1,365 | 1.72 | 0.141818 | 0.334038 | 0.323467 | 0.295983 | 0.44186 | 0.44186 | 0.44186 | 0.43129 | 0.315011 | 0.315011 | 0 | 0.253595 | 0.43956 | 1,365 | 72 | 77 | 18.958333 | 0.364706 | 0.042491 | 0 | 0.38 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0 | 0 | 0.06 | 0.02 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6a9560796cbe0298ac1d6278774fd0deb12cc7b | 176 | py | Python | torchpie/metrics/__init__.py | kiototeko/Torchpie | a2f7d8c7fcab2224dd56925f8db0d329166ec744 | [
"BSD-3-Clause"
] | 1 | 2022-02-18T15:50:11.000Z | 2022-02-18T15:50:11.000Z | torchpie/metrics/__init__.py | kiototeko/Torchpie | a2f7d8c7fcab2224dd56925f8db0d329166ec744 | [
"BSD-3-Clause"
] | null | null | null | torchpie/metrics/__init__.py | kiototeko/Torchpie | a2f7d8c7fcab2224dd56925f8db0d329166ec744 | [
"BSD-3-Clause"
] | null | null | null | class Metric:
def __init__(self, compute_fn):
self.compute_fn = compute_fn
def update(self, output, target):
pass
def compute(self):
pass
| 17.6 | 37 | 0.607955 | 22 | 176 | 4.545455 | 0.5 | 0.27 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306818 | 176 | 9 | 38 | 19.555556 | 0.819672 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.285714 | 0 | 0 | 0.571429 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f6b7d83a0db162a9da15237e3daad24ad481c61b | 208 | py | Python | rasa_nlu/__init__.py | dharampal/rasa_nlu | 202b9041393a3f0e5667e3a33e18c661bd695232 | [
"Apache-2.0"
] | 1 | 2019-06-12T08:21:32.000Z | 2019-06-12T08:21:32.000Z | rasa_nlu/__init__.py | dharampal/rasa_nlu | 202b9041393a3f0e5667e3a33e18c661bd695232 | [
"Apache-2.0"
] | null | null | null | rasa_nlu/__init__.py | dharampal/rasa_nlu | 202b9041393a3f0e5667e3a33e18c661bd695232 | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
import rasa_nlu.version
__version__ = version.__version__
| 26 | 39 | 0.879808 | 26 | 208 | 5.961538 | 0.461538 | 0.258065 | 0.412903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 208 | 7 | 40 | 29.714286 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6d584392958cb43c77c94468c1d5feb053fe60a | 27 | py | Python | linum/loader/__init__.py | chabErch/Linum | e32ec01f0b43cfb03fd33ad90cf25df9a0c6565f | [
"MIT"
] | null | null | null | linum/loader/__init__.py | chabErch/Linum | e32ec01f0b43cfb03fd33ad90cf25df9a0c6565f | [
"MIT"
] | null | null | null | linum/loader/__init__.py | chabErch/Linum | e32ec01f0b43cfb03fd33ad90cf25df9a0c6565f | [
"MIT"
] | null | null | null | from .loader import Loader
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6de517a7e75524bed342d79016a130c40443edd | 40 | py | Python | holobot/sdk/network/resilience/models/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/sdk/network/resilience/models/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/sdk/network/resilience/models/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .circuit_state import CircuitState
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
1011251ffedc098e7916a85664b26cf90b7368df | 32 | py | Python | coffeeRequests/__init__.py | chenjiahui0131/coffeeRequests | 9786aa248b19b2d839d375f3a18365bc5628d964 | [
"MIT"
] | 1 | 2020-04-25T16:33:31.000Z | 2020-04-25T16:33:31.000Z | coffeeRequests/__init__.py | chenjiahui0131/coffeeRequests | 9786aa248b19b2d839d375f3a18365bc5628d964 | [
"MIT"
] | 6 | 2020-04-25T10:23:09.000Z | 2020-05-15T14:27:53.000Z | coffeeRequests/__init__.py | chenjiahui0131/coffeeRequests | 9786aa248b19b2d839d375f3a18365bc5628d964 | [
"MIT"
] | null | null | null | from .coffeeRequests import get
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 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 |
63e2ec195f9b5327f2475d85083bf389cf468120 | 5,921 | py | Python | riskanalysis/src/api/tilt_resource.py | dittmanndennis/tilt-riskanalysis | 26f1d561cf3a3cb451a375f0d63b2e07aeaa537c | [
"MIT"
] | null | null | null | riskanalysis/src/api/tilt_resource.py | dittmanndennis/tilt-riskanalysis | 26f1d561cf3a3cb451a375f0d63b2e07aeaa537c | [
"MIT"
] | null | null | null | riskanalysis/src/api/tilt_resource.py | dittmanndennis/tilt-riskanalysis | 26f1d561cf3a3cb451a375f0d63b2e07aeaa537c | [
"MIT"
] | null | null | null | import falcon
import json
import validators as val
from ..common.constants import *
from ..controller.controller import *
# Falcon follows the REST architectural style, meaning (among
# other things) that you think in terms of resources and state
# transitions, which map to HTTP verbs.
class TILTResource:
async... | 39.473333 | 67 | 0.557169 | 676 | 5,921 | 4.77071 | 0.139053 | 0.064496 | 0.096744 | 0.137054 | 0.767442 | 0.724031 | 0.724031 | 0.724031 | 0.724031 | 0.701085 | 0 | 0.020031 | 0.342341 | 5,921 | 150 | 68 | 39.473333 | 0.808166 | 0.026685 | 0 | 0.759399 | 0 | 0 | 0.071528 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037594 | 0 | 0.045113 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
121610cb0980e5f94f4bee4da76dc6af10136baf | 195 | py | Python | weather/test/conftest.py | tobiasli/my_weather | 6e2b82bd94ab61e9e091f4f7565fd7d2f78cfd61 | [
"MIT"
] | null | null | null | weather/test/conftest.py | tobiasli/my_weather | 6e2b82bd94ab61e9e091f4f7565fd7d2f78cfd61 | [
"MIT"
] | 14 | 2019-02-23T13:02:21.000Z | 2019-08-28T21:14:50.000Z | weather/test/conftest.py | tobiasli/my_weather | 6e2b82bd94ab61e9e091f4f7565fd7d2f78cfd61 | [
"MIT"
] | null | null | null | """Configuration of pytest for weather."""
def pytest_addoption(parser):
parser.addoption("--password", action="store", default="")
parser.addoption("--salt", action="store", default="") | 39 | 62 | 0.687179 | 21 | 195 | 6.333333 | 0.619048 | 0.225564 | 0.270677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 195 | 5 | 63 | 39 | 0.764368 | 0.184615 | 0 | 0 | 0 | 0 | 0.168831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1239b0933a02960b50668de30a54bcd0308fc658 | 29 | py | Python | astropy/wcs/wcsapi/__init__.py | PriyankaH21/astropy | 159fb9637ce4acdc60329d20517ed3dc7ba79581 | [
"BSD-3-Clause"
] | null | null | null | astropy/wcs/wcsapi/__init__.py | PriyankaH21/astropy | 159fb9637ce4acdc60329d20517ed3dc7ba79581 | [
"BSD-3-Clause"
] | null | null | null | astropy/wcs/wcsapi/__init__.py | PriyankaH21/astropy | 159fb9637ce4acdc60329d20517ed3dc7ba79581 | [
"BSD-3-Clause"
] | null | null | null | from .low_level_api import *
| 14.5 | 28 | 0.793103 | 5 | 29 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.84 | 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 |
123e684eb47fe7763d698ca68e8f3568e7ef09c5 | 78 | py | Python | src/helper_functions/feval.py | Sascha0912/MAP_Elites | 13e411a3cec8eb5ec8d467f7275a372ed231e701 | [
"MIT"
] | 2 | 2019-06-25T06:51:36.000Z | 2020-09-30T12:40:20.000Z | src/helper_functions/feval.py | Sascha0912/MAP_Elites | 13e411a3cec8eb5ec8d467f7275a372ed231e701 | [
"MIT"
] | null | null | null | src/helper_functions/feval.py | Sascha0912/MAP_Elites | 13e411a3cec8eb5ec8d467f7275a372ed231e701 | [
"MIT"
] | null | null | null | from math import *
def feval(funcName,*args):
return eval(funcName)(*args) | 26 | 32 | 0.717949 | 11 | 78 | 5.090909 | 0.818182 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 78 | 3 | 32 | 26 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 6 |
1251764f0a6a3987cab7d3cd8dd3a3c3cc90f2cd | 22 | py | Python | src/__init__.py | Otumian-empire/extended-set | 45adbebe5ba643f09663bc9e1e826d9a18576ce3 | [
"MIT"
] | 1 | 2019-09-09T15:21:28.000Z | 2019-09-09T15:21:28.000Z | src/__init__.py | Otumian-empire/extended-set | 45adbebe5ba643f09663bc9e1e826d9a18576ce3 | [
"MIT"
] | null | null | null | src/__init__.py | Otumian-empire/extended-set | 45adbebe5ba643f09663bc9e1e826d9a18576ce3 | [
"MIT"
] | null | null | null | from .setX import Setx | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c389a9d46b5ecf9f3fb2a661fd0484fcaa9d9123 | 91 | py | Python | cflearn/api/cv/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 400 | 2020-07-05T18:55:49.000Z | 2022-02-21T02:33:08.000Z | cflearn/api/cv/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 82 | 2020-08-01T13:29:38.000Z | 2021-10-09T07:13:44.000Z | cflearn/api/cv/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 34 | 2020-07-05T21:15:34.000Z | 2021-12-20T08:45:17.000Z | from .data import *
from .models import *
from .pipeline import *
from .interface import *
| 18.2 | 24 | 0.736264 | 12 | 91 | 5.583333 | 0.5 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175824 | 91 | 4 | 25 | 22.75 | 0.893333 | 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 |
613d75fc15d7cc447100ba07133472bcf7ad2d87 | 200 | py | Python | Ogrenciler/Ersan/carpimtablosu.py | ProEgitim/Python-Dersleri-BEM | b25e9fdb1fa3026925a46b2fcbcba348726b775c | [
"MIT"
] | 1 | 2021-04-18T17:35:22.000Z | 2021-04-18T17:35:22.000Z | Ogrenciler/Ersan/carpimtablosu.py | waroi/Python-Dersleri-BEM | b25e9fdb1fa3026925a46b2fcbcba348726b775c | [
"MIT"
] | null | null | null | Ogrenciler/Ersan/carpimtablosu.py | waroi/Python-Dersleri-BEM | b25e9fdb1fa3026925a46b2fcbcba348726b775c | [
"MIT"
] | 2 | 2021-04-18T18:22:26.000Z | 2021-04-24T17:16:19.000Z | print("\n---------- Çarpım Tablosu ----------")
for e in range(1,10):
print("""\n---------------------------
\n""")
for p in range(1,10):
print("{} x {} = {}".format(e,p,e*p)) | 28.571429 | 47 | 0.35 | 26 | 200 | 2.692308 | 0.5 | 0.171429 | 0.228571 | 0.285714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038217 | 0.215 | 200 | 7 | 48 | 28.571429 | 0.407643 | 0 | 0 | 0 | 0 | 0 | 0.427861 | 0.144279 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f606da03484e46d67e4eb29b2c46e25975fec36f | 8,416 | py | Python | rl_sandbox/model_architectures/actor_critics/fully_connected_q_actor_critic.py | chanb/rl_sandbox_public | e55f954a29880f83a5b0c3358badda4d900f1564 | [
"MIT"
] | 14 | 2020-11-09T22:05:37.000Z | 2022-02-11T12:41:33.000Z | rl_sandbox/model_architectures/actor_critics/fully_connected_q_actor_critic.py | chanb/rl_sandbox_public | e55f954a29880f83a5b0c3358badda4d900f1564 | [
"MIT"
] | null | null | null | rl_sandbox/model_architectures/actor_critics/fully_connected_q_actor_critic.py | chanb/rl_sandbox_public | e55f954a29880f83a5b0c3358badda4d900f1564 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.distributions import Categorical, Normal
from rl_sandbox.constants import OBS_RMS, CPU
from rl_sandbox.model_architectures.actor_critics.actor_critic import QActorCritic
from rl_sandbox.model_architectures.shared import Flatten
from rl_sand... | 38.962963 | 202 | 0.543132 | 1,016 | 8,416 | 4.233268 | 0.133858 | 0.039061 | 0.02511 | 0.030691 | 0.764938 | 0.743316 | 0.732853 | 0.725878 | 0.725878 | 0.725878 | 0 | 0.023692 | 0.348028 | 8,416 | 215 | 203 | 39.144186 | 0.76016 | 0.057747 | 0 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.099415 | false | 0 | 0.046784 | 0.040936 | 0.245614 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f614291f9e268ea12df8b3097d906210c4bdf8f8 | 23 | py | Python | pypesto/sample/__init__.py | LukasSp/pyPESTO | f4260ff6cacce982bb25fe104e04fb761efdf0ec | [
"BSD-3-Clause"
] | null | null | null | pypesto/sample/__init__.py | LukasSp/pyPESTO | f4260ff6cacce982bb25fe104e04fb761efdf0ec | [
"BSD-3-Clause"
] | null | null | null | pypesto/sample/__init__.py | LukasSp/pyPESTO | f4260ff6cacce982bb25fe104e04fb761efdf0ec | [
"BSD-3-Clause"
] | null | null | null | """
Sample
======
"""
| 3.833333 | 6 | 0.26087 | 1 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 5 | 7 | 4.6 | 0.333333 | 0.565217 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6236b4e31621d0c649b6fdf67488c793be6f36d | 448 | py | Python | addin_assistant/projects_codes/KeyBoardEffects/Install/KeyBoardEffects_addin.py | chenjl0710/arcpyTools | 4f31e79f402cc2a0827450ab3aaba8f8d9a5f502 | [
"MIT"
] | 1 | 2019-07-07T17:46:55.000Z | 2019-07-07T17:46:55.000Z | addin_assistant/projects_codes/KeyBoardEffects/Install/KeyBoardEffects_addin.py | chenjl0710/arcpyTools | 4f31e79f402cc2a0827450ab3aaba8f8d9a5f502 | [
"MIT"
] | 7 | 2021-03-31T18:45:40.000Z | 2022-03-11T23:25:36.000Z | addin_assistant/projects_codes/KeyBoardEffects/Install/KeyBoardEffects_addin.py | chenjl0710/arcpyTools | 4f31e79f402cc2a0827450ab3aaba8f8d9a5f502 | [
"MIT"
] | 1 | 2020-07-21T00:13:07.000Z | 2020-07-21T00:13:07.000Z | import arcpy
import pythonaddins
class End_Effect(object):
"""Implementation for End_Effect_addin.button (Button)"""
def __init__(self):
self.enabled = True
self.checked = False
def onClick(self):
pass
class Start_Effect(object):
"""Implementation for Start_Effect_addin.button ... | 24.888889 | 63 | 0.654018 | 52 | 448 | 5.365385 | 0.403846 | 0.064516 | 0.18638 | 0.207885 | 0.594982 | 0.594982 | 0.594982 | 0.594982 | 0.594982 | 0.594982 | 0 | 0 | 0.247768 | 448 | 18 | 64 | 24.888889 | 0.827893 | 0.234375 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f64e8e797953d471ba69081078965a615f16fe08 | 13,034 | py | Python | src/commands/setup.py | Tauseef-Hilal/iCODE-BOT | dd4efa9084c35d238f1170ff3af69eeeb055abec | [
"MIT"
] | 1 | 2022-03-31T15:31:10.000Z | 2022-03-31T15:31:10.000Z | src/commands/setup.py | Tauseef-Hilal/iCODE-BOT | dd4efa9084c35d238f1170ff3af69eeeb055abec | [
"MIT"
] | null | null | null | src/commands/setup.py | Tauseef-Hilal/iCODE-BOT | dd4efa9084c35d238f1170ff3af69eeeb055abec | [
"MIT"
] | null | null | null | from discord import (
Cog,
Embed,
Guild,
Interaction,
Option,
Role,
SlashCommandGroup,
ApplicationContext,
TextChannel
)
from ..utils.color import Colors
from ..bot import ICodeBot
from ..utils.checks import (
maintenance_check,
permission_check
)
class SetupCommands(Cog):... | 31.407229 | 73 | 0.467546 | 1,111 | 13,034 | 5.292529 | 0.10441 | 0.032143 | 0.057823 | 0.028912 | 0.865136 | 0.855952 | 0.831803 | 0.816837 | 0.762075 | 0.735204 | 0 | 0.000689 | 0.442919 | 13,034 | 414 | 74 | 31.483092 | 0.809117 | 0.019181 | 0 | 0.620795 | 0 | 0 | 0.136287 | 0.005287 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003058 | false | 0 | 0.012232 | 0 | 0.021407 | 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 |
1434f07ce6c572a162727d01fbca23824a887ba1 | 130 | py | Python | pyavreceiver/template/http_api.py | JPHutchins/pyavreceiver | 2c86d0ab1f3bca886d2a876096ac760ffb1dcd5f | [
"Apache-2.0"
] | 2 | 2020-12-28T06:09:18.000Z | 2021-01-09T22:36:57.000Z | pyavreceiver/template/http_api.py | JPHutchins/pyavreceiver | 2c86d0ab1f3bca886d2a876096ac760ffb1dcd5f | [
"Apache-2.0"
] | 1 | 2021-02-03T22:59:49.000Z | 2021-02-03T22:59:49.000Z | pyavreceiver/template/http_api.py | JPHutchins/pyavreceiver | 2c86d0ab1f3bca886d2a876096ac760ffb1dcd5f | [
"Apache-2.0"
] | null | null | null | """Define HTTP API."""
from pyavreceiver.http_api import HTTPApi
class TemplateHTTPApi(HTTPApi):
"""Define the HTTP API."""
| 18.571429 | 41 | 0.715385 | 16 | 130 | 5.75 | 0.625 | 0.228261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146154 | 130 | 6 | 42 | 21.666667 | 0.828829 | 0.284615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 |
14744221d646f011d814c71304325a8222de8e19 | 9,436 | py | Python | src/putils/findDiagonal/find5dRotation.py | dmft-wien2k/dmft-wien2k-v2 | 83481be27e8a9ff14b9635d6cc1cd9d96f053487 | [
"Apache-2.0"
] | 5 | 2021-05-13T13:04:26.000Z | 2022-01-18T10:08:09.000Z | src/putils/findDiagonal/find5dRotation.py | dmft-wien2k/dmft-wien2k-v2 | 83481be27e8a9ff14b9635d6cc1cd9d96f053487 | [
"Apache-2.0"
] | 2 | 2016-07-12T21:37:53.000Z | 2016-07-12T21:42:01.000Z | src/putils/findDiagonal/find5dRotation.py | dmft-wien2k/dmft-wien2k | 83481be27e8a9ff14b9635d6cc1cd9d96f053487 | [
"Apache-2.0"
] | 2 | 2016-07-22T15:46:56.000Z | 2016-08-02T15:05:12.000Z | #!/usr/bin/env python
# @Copyright 2007 Kristjan Haule
from scipy import *
from scipy import linalg
import copy
import sys
def mprint(Us):
for i in range(shape(Us)[0]):
for j in range(shape(Us)[1]):
print "%11.8f %11.8f " % (real(Us[i,j]), imag(Us[i,j])),
print
def MakeOrthogonal(a, b,... | 46.945274 | 264 | 0.58298 | 1,317 | 9,436 | 4.159453 | 0.159453 | 0.476451 | 0.505659 | 0.824754 | 0.582329 | 0.566448 | 0.553669 | 0.553669 | 0.553669 | 0.553304 | 0 | 0.48373 | 0.296524 | 9,436 | 200 | 265 | 47.18 | 0.341519 | 0.600042 | 0 | 0.04386 | 0 | 0 | 0.090616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.035088 | null | null | 0.22807 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1493e193bda34613f5a54ac01f0761b787035c24 | 6,478 | py | Python | spinoffs/oryx/oryx/experimental/nn/convolution_test.py | bourov/probability | 1e4053a0938b4773c3425bcbb07b3f1e5d50c7e2 | [
"Apache-2.0"
] | 2 | 2020-12-17T20:43:24.000Z | 2021-06-11T22:09:16.000Z | spinoffs/oryx/oryx/experimental/nn/convolution_test.py | bourov/probability | 1e4053a0938b4773c3425bcbb07b3f1e5d50c7e2 | [
"Apache-2.0"
] | 2 | 2021-08-25T16:14:51.000Z | 2022-02-10T04:47:11.000Z | spinoffs/oryx/oryx/experimental/nn/convolution_test.py | bourov/probability | 1e4053a0938b4773c3425bcbb07b3f1e5d50c7e2 | [
"Apache-2.0"
] | 1 | 2021-01-03T20:23:52.000Z | 2021-01-03T20:23:52.000Z | # Copyright 2020 The TensorFlow Probability Authors.
#
# 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 o... | 32.228856 | 81 | 0.629515 | 969 | 6,478 | 4.040248 | 0.133127 | 0.038825 | 0.045977 | 0.085824 | 0.778289 | 0.772925 | 0.772925 | 0.772925 | 0.75249 | 0.75249 | 0 | 0.064963 | 0.208706 | 6,478 | 200 | 82 | 32.39 | 0.69879 | 0.112072 | 0 | 0.716129 | 0 | 0 | 0.011512 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 1 | 0.070968 | false | 0 | 0.032258 | 0 | 0.109677 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14a1733092529e7add1ebf0bd8be51a8ab9e8053 | 30 | py | Python | box/models/common/__init__.py | mamalmaleki/maktab-community | 8ce25053ea0f6f0a6c082617c9ff306d1ada9707 | [
"MIT"
] | null | null | null | box/models/common/__init__.py | mamalmaleki/maktab-community | 8ce25053ea0f6f0a6c082617c9ff306d1ada9707 | [
"MIT"
] | null | null | null | box/models/common/__init__.py | mamalmaleki/maktab-community | 8ce25053ea0f6f0a6c082617c9ff306d1ada9707 | [
"MIT"
] | null | null | null | from .image import ImageModel
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
1ae9f7e5fb316fa032cff2788291314107d5a11b | 153 | py | Python | A-Byte-of-Python/9_3_for.py | anklav24/Python-Education | 49ebcfabda1376390ee71e1fe321a51e33831f9e | [
"Apache-2.0"
] | null | null | null | A-Byte-of-Python/9_3_for.py | anklav24/Python-Education | 49ebcfabda1376390ee71e1fe321a51e33831f9e | [
"Apache-2.0"
] | null | null | null | A-Byte-of-Python/9_3_for.py | anklav24/Python-Education | 49ebcfabda1376390ee71e1fe321a51e33831f9e | [
"Apache-2.0"
] | null | null | null | for i in range(1, 5):
print(i)
else:
print('Loop \'for\' finish')
for i in range(1, 10, 2):
print(i)
else:
print('Loop \'for\' finish')
| 15.3 | 32 | 0.54902 | 27 | 153 | 3.111111 | 0.444444 | 0.095238 | 0.142857 | 0.261905 | 0.952381 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0.052174 | 0.248366 | 153 | 9 | 33 | 17 | 0.678261 | 0 | 0 | 0.75 | 0 | 0 | 0.169935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2126770adf35c5a929e22362fdbb1924a60794fa | 6,517 | py | Python | test/programytest/parser/template/node_tests/test_attrib.py | cdoebler1/AIML2 | ee692ec5ea3794cd1bc4cc8ec2a6b5e5c20a0d6a | [
"MIT"
] | 345 | 2016-11-23T22:37:04.000Z | 2022-03-30T20:44:44.000Z | test/programytest/parser/template/node_tests/test_attrib.py | MikeyBeez/program-y | 00d7a0c7d50062f18f0ab6f4a041068e119ef7f0 | [
"MIT"
] | 275 | 2016-12-07T10:30:28.000Z | 2022-02-08T21:28:33.000Z | test/programytest/parser/template/node_tests/test_attrib.py | VProgramMist/modified-program-y | f32efcafafd773683b3fe30054d5485fe9002b7d | [
"MIT"
] | 159 | 2016-11-28T18:59:30.000Z | 2022-03-20T18:02:44.000Z | import xml.etree.ElementTree as ET
from programy.parser.template.nodes.attrib import TemplateAttribNode
from programytest.parser.base import ParserTestsBaseClass
class TestTemplateAttribNode(TemplateAttribNode):
def __init__(self):
TemplateAttribNode.__init__(self)
self.pairs = {}
def set_a... | 39.023952 | 102 | 0.707381 | 764 | 6,517 | 5.734293 | 0.08377 | 0.070304 | 0.071217 | 0.043826 | 0.86236 | 0.852773 | 0.851176 | 0.847523 | 0.83885 | 0.810774 | 0 | 0.011028 | 0.17907 | 6,517 | 166 | 103 | 39.259036 | 0.80785 | 0 | 0 | 0.609091 | 0 | 0.018182 | 0.100813 | 0.032377 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.136364 | false | 0 | 0.027273 | 0 | 0.181818 | 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 |
2140ba2a2ce8589f0238a4916a298db9d4c667b1 | 14,302 | py | Python | src/util/create_graph.py | imagexdsearch/imagesearch | 7f4d18906d6ebd9f5d7b4e0db4bc6c7e675fbb1d | [
"BSD-2-Clause"
] | null | null | null | src/util/create_graph.py | imagexdsearch/imagesearch | 7f4d18906d6ebd9f5d7b4e0db4bc6c7e675fbb1d | [
"BSD-2-Clause"
] | null | null | null | src/util/create_graph.py | imagexdsearch/imagesearch | 7f4d18906d6ebd9f5d7b4e0db4bc6c7e675fbb1d | [
"BSD-2-Clause"
] | null | null | null | '''
Created on Nov 18, 2016
@author: flavio
'''
import util.convert_database_to_files
from evaluation.evaluation import evaluation
import run
import numpy as np
import glob
import os
import math
def remove_files_pickle(path_output):
#name_files = glob.glob(path_output + '*.ckpt')
name_files = glob.glob(path_... | 49.832753 | 359 | 0.668648 | 1,972 | 14,302 | 4.48073 | 0.087221 | 0.050249 | 0.007469 | 0.03531 | 0.883658 | 0.852535 | 0.836464 | 0.801041 | 0.799683 | 0.793572 | 0 | 0.043675 | 0.21074 | 14,302 | 287 | 360 | 49.832753 | 0.739103 | 0.11411 | 0 | 0.546154 | 0 | 0 | 0.115193 | 0.082593 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061538 | false | 0 | 0.053846 | 0.015385 | 0.138462 | 0.030769 | 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 |
214b446017db4dd73f3fcdf587e49f196feba2bf | 292 | py | Python | src/jk_commentjson/__init__.py | jkpubsrc/python-module-jk-commentjson | 7727e325b949f447c902e1a1f32e4c22e07264e1 | [
"Apache-1.1"
] | null | null | null | src/jk_commentjson/__init__.py | jkpubsrc/python-module-jk-commentjson | 7727e325b949f447c902e1a1f32e4c22e07264e1 | [
"Apache-1.1"
] | null | null | null | src/jk_commentjson/__init__.py | jkpubsrc/python-module-jk-commentjson | 7727e325b949f447c902e1a1f32e4c22e07264e1 | [
"Apache-1.1"
] | null | null | null | from jk_commentjson.commentjson import dump
from jk_commentjson.commentjson import dumps
from jk_commentjson.commentjson import JSONLibraryException
from jk_commentjson.commentjson import load
from jk_commentjson.commentjson import loads
from jk_commentjson.commentjson import loadFromFile
| 32.444444 | 59 | 0.890411 | 36 | 292 | 7.055556 | 0.277778 | 0.141732 | 0.401575 | 0.661417 | 0.80315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089041 | 292 | 8 | 60 | 36.5 | 0.954887 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
215b4b2d0b9293116f6e72abe2b09465db9cd22c | 67 | py | Python | terrapin/plot.py | dharhas/terrapin | a448e89e111055795db2d9ec4c04864b04b9f177 | [
"BSD-2-Clause"
] | 1 | 2020-02-12T01:03:55.000Z | 2020-02-12T01:03:55.000Z | terrapin/plot.py | dharhas/terrapin | a448e89e111055795db2d9ec4c04864b04b9f177 | [
"BSD-2-Clause"
] | null | null | null | terrapin/plot.py | dharhas/terrapin | a448e89e111055795db2d9ec4c04864b04b9f177 | [
"BSD-2-Clause"
] | 2 | 2015-02-15T18:14:01.000Z | 2019-07-28T12:26:38.000Z | import matplotlib.pyplot as plt
def flow_grid(dem, angles):
pass | 13.4 | 31 | 0.776119 | 11 | 67 | 4.636364 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 67 | 5 | 32 | 13.4 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
21647268efcb6b6bcee747e62603eb1783262fc3 | 152 | py | Python | pub_site/src/pub_site/api/account/__init__.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | 1 | 2019-10-14T11:51:49.000Z | 2019-10-14T11:51:49.000Z | pub_site/src/pub_site/api/account/__init__.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | null | null | null | pub_site/src/pub_site/api/account/__init__.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | null | null | null | # coding=utf-8
from ..utils import SubBlueprint
from .. import api_mod
account_mod = SubBlueprint('account', api_mod, '/account')
from . import views | 19 | 58 | 0.743421 | 21 | 152 | 5.238095 | 0.52381 | 0.181818 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.138158 | 152 | 8 | 59 | 19 | 0.832061 | 0.078947 | 0 | 0 | 0 | 0 | 0.107914 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
216c93af0f5cbf3f010be3b7c855e7e5ef10faf4 | 2,095 | py | Python | tests/test_softmax.py | wakamezake/deep-learning-from-scratch-3 | 92614028be0bcd0f0b2b6ada419a20110bae7ea7 | [
"MIT"
] | null | null | null | tests/test_softmax.py | wakamezake/deep-learning-from-scratch-3 | 92614028be0bcd0f0b2b6ada419a20110bae7ea7 | [
"MIT"
] | null | null | null | tests/test_softmax.py | wakamezake/deep-learning-from-scratch-3 | 92614028be0bcd0f0b2b6ada419a20110bae7ea7 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
from dezero import Variable
import dezero.functions as F
from dezero.utils import check_backward
import chainer.functions as CF
class TestSoftmax(unittest.TestCase):
def test_forward1(self):
x = np.array([[0, 1, 2], [0, 2, 4]], np.float32)
y2 = CF.softmax(x, axis... | 32.734375 | 69 | 0.589976 | 327 | 2,095 | 3.697248 | 0.165138 | 0.046319 | 0.059553 | 0.064516 | 0.803143 | 0.74359 | 0.74359 | 0.716294 | 0.706369 | 0.641026 | 0 | 0.056483 | 0.256325 | 2,095 | 64 | 70 | 32.734375 | 0.719512 | 0 | 0 | 0.574074 | 0 | 0 | 0.000954 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.148148 | false | 0 | 0.111111 | 0 | 0.296296 | 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 |
0d07294f5680e269b86dc38791d465897b102073 | 11,904 | py | Python | mstrio/api/monitors.py | LLejoly/mstrio-py | 497fb041318d0def12cf72917ede2c02c1808067 | [
"Apache-2.0"
] | null | null | null | mstrio/api/monitors.py | LLejoly/mstrio-py | 497fb041318d0def12cf72917ede2c02c1808067 | [
"Apache-2.0"
] | null | null | null | mstrio/api/monitors.py | LLejoly/mstrio-py | 497fb041318d0def12cf72917ede2c02c1808067 | [
"Apache-2.0"
] | null | null | null | from mstrio.utils.helper import response_handler
def get_projects(connection, offset=0, limit=-1, error_msg=None):
"""Get list of all projects from metadata.
Args:
connection(object): MicroStrategy connection object returned by
`connection.Connection()`.
offset(int): Starting point... | 44.75188 | 116 | 0.645749 | 1,378 | 11,904 | 5.497823 | 0.156749 | 0.040127 | 0.035903 | 0.043559 | 0.813358 | 0.813358 | 0.788147 | 0.765971 | 0.721489 | 0.692186 | 0 | 0.005533 | 0.271169 | 11,904 | 265 | 117 | 44.920755 | 0.867681 | 0.524278 | 0 | 0.604651 | 0 | 0 | 0.190075 | 0.05355 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116279 | false | 0 | 0.011628 | 0 | 0.244186 | 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 |
b4df2cdf988a4ecf3368cf78f3327edd7575cf1d | 30 | py | Python | __init__.py | drakkhen/python-adafruitdisplay | 9705cad68dd6e7834219a3b68f38ff67a99a0604 | [
"MIT"
] | null | null | null | __init__.py | drakkhen/python-adafruitdisplay | 9705cad68dd6e7834219a3b68f38ff67a99a0604 | [
"MIT"
] | null | null | null | __init__.py | drakkhen/python-adafruitdisplay | 9705cad68dd6e7834219a3b68f38ff67a99a0604 | [
"MIT"
] | null | null | null | from adafruitdisplay import *
| 15 | 29 | 0.833333 | 3 | 30 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
371360a378c6ca6de14d5076b2b4232f54d11c9f | 31 | py | Python | Hello World Programs/Python/helloWorld_python.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 256 | 2020-09-30T19:31:34.000Z | 2021-11-20T18:09:15.000Z | Hello World Programs/Python/helloWorld_python.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 293 | 2020-09-30T19:14:54.000Z | 2021-06-06T02:34:47.000Z | Hello World Programs/Python/helloWorld_python.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 1,620 | 2020-09-30T18:37:44.000Z | 2022-03-03T20:54:22.000Z | print("Hello World! Welcome!")
| 15.5 | 30 | 0.709677 | 4 | 31 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2ed2f8c395ef091938cdb64973bfc057dbdd2f8a | 98 | py | Python | users/urls.py | Nizhuuum/CSE_303_SEC_02_GROUP_07 | d53ca01cace500851840696d1d8943f4447f5297 | [
"MIT"
] | null | null | null | users/urls.py | Nizhuuum/CSE_303_SEC_02_GROUP_07 | d53ca01cace500851840696d1d8943f4447f5297 | [
"MIT"
] | null | null | null | users/urls.py | Nizhuuum/CSE_303_SEC_02_GROUP_07 | d53ca01cace500851840696d1d8943f4447f5297 | [
"MIT"
] | 3 | 2021-09-04T17:40:27.000Z | 2021-09-11T05:44:59.000Z | from django.urls import path, include
from . import views
#from users import views as user_views
| 19.6 | 38 | 0.795918 | 16 | 98 | 4.8125 | 0.625 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 4 | 39 | 24.5 | 0.939024 | 0.377551 | 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 |
25a59ed495e0114de5d6eedac28a261f3824e71f | 506 | py | Python | ysl/twisted/log.py | jianingy/sitebase | 7afe00b7e2c642461207786e9ab851e1d3b59015 | [
"BSD-3-Clause"
] | 1 | 2021-02-19T06:31:43.000Z | 2021-02-19T06:31:43.000Z | ysl/twisted/log.py | jianingy/sitebase | 7afe00b7e2c642461207786e9ab851e1d3b59015 | [
"BSD-3-Clause"
] | null | null | null | ysl/twisted/log.py | jianingy/sitebase | 7afe00b7e2c642461207786e9ab851e1d3b59015 | [
"BSD-3-Clause"
] | 2 | 2015-09-18T02:21:32.000Z | 2021-02-19T06:31:47.000Z | #!/usr/bin/env python2.6
from twisted.python.log import msg as _log
import logging
__all__ = ["debug", "info", "warn", "error", "crit"]
def debug(msg, *args):
return _log(msg, *args, level=logging.DEBUG)
def info(msg, *args):
return _log(msg, *args, level=logging.INFO)
def warn(msg, *args):
return _lo... | 21.083333 | 52 | 0.671937 | 76 | 506 | 4.342105 | 0.328947 | 0.212121 | 0.19697 | 0.242424 | 0.530303 | 0.530303 | 0.530303 | 0.530303 | 0 | 0 | 0 | 0.004706 | 0.160079 | 506 | 23 | 53 | 22 | 0.771765 | 0.045455 | 0 | 0 | 0 | 0 | 0.045738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.153846 | 0.384615 | 0.923077 | 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 |
25c3126a6437ada5baf57a627a918d26488a22a7 | 23,128 | py | Python | test/unit/findings_api_v1_tests/test_findings_api_v1.py | prince737/security-advisor-sdk-python | a06f6fe8180377a6ca8291ba74cff326cb56b539 | [
"Apache-2.0"
] | null | null | null | test/unit/findings_api_v1_tests/test_findings_api_v1.py | prince737/security-advisor-sdk-python | a06f6fe8180377a6ca8291ba74cff326cb56b539 | [
"Apache-2.0"
] | 17 | 2020-05-30T11:21:06.000Z | 2021-04-20T10:01:09.000Z | test/unit/findings_api_v1_tests/test_findings_api_v1.py | prince737/security-advisor-sdk-python | a06f6fe8180377a6ca8291ba74cff326cb56b539 | [
"Apache-2.0"
] | 4 | 2020-05-18T12:38:03.000Z | 2021-04-20T07:13:47.000Z | # coding: utf-8
# Copyright 2020 IBM All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 40.013841 | 123 | 0.658207 | 2,605 | 23,128 | 5.495969 | 0.065259 | 0.081092 | 0.073758 | 0.14605 | 0.900678 | 0.87679 | 0.868338 | 0.866243 | 0.863309 | 0.852413 | 0 | 0.00354 | 0.2305 | 23,128 | 577 | 124 | 40.083189 | 0.800922 | 0.032039 | 0 | 0.536817 | 0 | 0 | 0.128373 | 0.011795 | 0 | 0 | 0 | 0 | 0.123515 | 1 | 0.168646 | false | 0.002375 | 0.016627 | 0 | 0.190024 | 0.004751 | 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 |
25ea23445c1cf05673cc1c187abfd497d1c9b759 | 75 | py | Python | tests/test_cockroach/test_init.py | chatties-io/cockroach | 611f9cd855be89bb31d727e60af82cf5697aef04 | [
"MIT"
] | null | null | null | tests/test_cockroach/test_init.py | chatties-io/cockroach | 611f9cd855be89bb31d727e60af82cf5697aef04 | [
"MIT"
] | null | null | null | tests/test_cockroach/test_init.py | chatties-io/cockroach | 611f9cd855be89bb31d727e60af82cf5697aef04 | [
"MIT"
] | null | null | null | from cockroach import hello
def test_hello():
assert hello() is None
| 12.5 | 27 | 0.72 | 11 | 75 | 4.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213333 | 75 | 5 | 28 | 15 | 0.898305 | 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 |
6c9dbe018381c9d9ea68e1f4452c831ddcbb22ae | 38 | py | Python | python/tvm/tools/__init__.py | dayanandasiet/tvmdbg | 5e3266a65422990d385c43424d51a4e5e8dfe6ee | [
"Apache-2.0"
] | null | null | null | python/tvm/tools/__init__.py | dayanandasiet/tvmdbg | 5e3266a65422990d385c43424d51a4e5e8dfe6ee | [
"Apache-2.0"
] | null | null | null | python/tvm/tools/__init__.py | dayanandasiet/tvmdbg | 5e3266a65422990d385c43424d51a4e5e8dfe6ee | [
"Apache-2.0"
] | null | null | null | """TVM: Tools."""
from . import debug
| 12.666667 | 19 | 0.605263 | 5 | 38 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 2 | 20 | 19 | 0.71875 | 0.289474 | 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 |
6cadc2a453747487ca9c1633c543b6224becc538 | 133 | py | Python | tests/test_readme.py | grzegorzwojdyga/ESIM | 8a385e41d1ac39dd841d4630ca217102a5797788 | [
"Apache-2.0"
] | 1 | 2019-08-09T15:44:12.000Z | 2019-08-09T15:44:12.000Z | tests/test_readme.py | grzegorzwojdyga/ESIM | 8a385e41d1ac39dd841d4630ca217102a5797788 | [
"Apache-2.0"
] | null | null | null | tests/test_readme.py | grzegorzwojdyga/ESIM | 8a385e41d1ac39dd841d4630ca217102a5797788 | [
"Apache-2.0"
] | null | null | null | import pytest
import os
def test_if_readme_exists():
"""Check if README file exitst"""
assert os.path.isfile('./README.md')
| 19 | 40 | 0.699248 | 20 | 133 | 4.5 | 0.75 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165414 | 133 | 6 | 41 | 22.166667 | 0.810811 | 0.203008 | 0 | 0 | 0 | 0 | 0.11 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6cf678441eb878d8a63c51901b32fa247511a746 | 1,782 | py | Python | terrascript/newrelic/r.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/newrelic/r.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/newrelic/r.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/newrelic/r.py
# Automatically generated by tools/makecode.py ()
import warnings
warnings.warn(
"using the 'legacy layout' is deprecated", DeprecationWarning, stacklevel=2
)
import terrascript
class newrelic_alert_channel(terrascript.Resource):
pass
class newrelic_alert_condition(terrascript.... | 17.470588 | 79 | 0.805836 | 199 | 1,782 | 6.919598 | 0.281407 | 0.217139 | 0.384168 | 0.447349 | 0.750908 | 0.620189 | 0.421206 | 0.130719 | 0 | 0 | 0 | 0.000646 | 0.131874 | 1,782 | 101 | 80 | 17.643564 | 0.889463 | 0.040965 | 0 | 0.45098 | 1 | 0 | 0.02286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.45098 | 0.039216 | 0 | 0.490196 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9f5c5b538a6688e0a7fee58099e643cbcd2a72c7 | 38 | py | Python | circa/__init__.py | fnamer/circa | 3db09df4cd889225b03c65198118703f5efa999d | [
"MIT"
] | null | null | null | circa/__init__.py | fnamer/circa | 3db09df4cd889225b03c65198118703f5efa999d | [
"MIT"
] | null | null | null | circa/__init__.py | fnamer/circa | 3db09df4cd889225b03c65198118703f5efa999d | [
"MIT"
] | null | null | null | from .main import trace # noqa: F401
| 19 | 37 | 0.710526 | 6 | 38 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.210526 | 38 | 1 | 38 | 38 | 0.8 | 0.263158 | 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 |
9f78e260e83739820567ced2e180c0b5c92b03b9 | 28 | py | Python | micra_scheduler/__init__.py | xyla-io/micra_scheduler | 56f93e6f0e69d0278be25729bc061e3390fd707c | [
"MIT"
] | null | null | null | micra_scheduler/__init__.py | xyla-io/micra_scheduler | 56f93e6f0e69d0278be25729bc061e3390fd707c | [
"MIT"
] | null | null | null | micra_scheduler/__init__.py | xyla-io/micra_scheduler | 56f93e6f0e69d0278be25729bc061e3390fd707c | [
"MIT"
] | null | null | null | from .base import Scheduler
| 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 |
9f89e00cff6a8ce2cedac4d0ccbe3393cc85bf1e | 6,110 | py | Python | scripts/training_ner.py | jianlins/SDoH_SODA | 2842a9e1f36f26b9bfc66df888ae97019a21793f | [
"MIT"
] | null | null | null | scripts/training_ner.py | jianlins/SDoH_SODA | 2842a9e1f36f26b9bfc66df888ae97019a21793f | [
"MIT"
] | null | null | null | scripts/training_ner.py | jianlins/SDoH_SODA | 2842a9e1f36f26b9bfc66df888ae97019a21793f | [
"MIT"
] | null | null | null | # create training and test bio for NER
import sys
sys.path.append("../ClinicalTransformerNER/")
sys.path.append("../NLPreprocessing/")
import os
from pathlib import Path
from collections import defaultdict, Counter
import numpy as np
from sklearn.model_selection import train_test_split
import shutil
import fileinput
f... | 35.317919 | 125 | 0.700655 | 975 | 6,110 | 4.100513 | 0.137436 | 0.052026 | 0.038519 | 0.032516 | 0.805403 | 0.783892 | 0.758879 | 0.758879 | 0.758879 | 0.758879 | 0 | 0.017127 | 0.159083 | 6,110 | 172 | 126 | 35.523256 | 0.760997 | 0.059083 | 0 | 0.692308 | 0 | 0 | 0.096611 | 0.012928 | 0.030769 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.069231 | 0 | 0.069231 | 0.038462 | 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 |
9fb08df4704ced33327884c86b3f54dbe64fd5b3 | 5,057 | py | Python | paz/core/sequencer.py | SushmaDG/MaskRCNN | 10f27fed31a2927b585aa1815cb5e096da540952 | [
"MIT"
] | 1 | 2021-11-30T03:40:35.000Z | 2021-11-30T03:40:35.000Z | paz/core/sequencer.py | SushmaDG/MaskRCNN | 10f27fed31a2927b585aa1815cb5e096da540952 | [
"MIT"
] | null | null | null | paz/core/sequencer.py | SushmaDG/MaskRCNN | 10f27fed31a2927b585aa1815cb5e096da540952 | [
"MIT"
] | 1 | 2021-12-22T01:54:31.000Z | 2021-12-22T01:54:31.000Z | from tensorflow.keras.utils import Sequence
import numpy as np
class ProcessingSequencer(Sequence):
"""Base sequencer class for processing or generating batches.
If data is ``None`` the sequencer assumes that ``processor``
generates the data. If data is not ``None`` the sequencer
assumes the `... | 46.394495 | 79 | 0.645244 | 654 | 5,057 | 4.813456 | 0.172783 | 0.042884 | 0.048285 | 0.032402 | 0.814485 | 0.784625 | 0.784625 | 0.784625 | 0.784625 | 0.784625 | 0 | 0.002677 | 0.26142 | 5,057 | 108 | 80 | 46.824074 | 0.840161 | 0.371564 | 0 | 0.634921 | 0 | 0 | 0.009549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.031746 | 0.047619 | 0.31746 | 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 |
9fb9bd03215572acffa67793b8864337d13fe3af | 52,356 | py | Python | SMS-Back-End/apigateway/helloworld_api.py | mresti/StudentsManagementSystem | a1d67af517379b249630cac70a55bdfd9f77c54a | [
"Apache-2.0"
] | null | null | null | SMS-Back-End/apigateway/helloworld_api.py | mresti/StudentsManagementSystem | a1d67af517379b249630cac70a55bdfd9f77c54a | [
"Apache-2.0"
] | null | null | null | SMS-Back-End/apigateway/helloworld_api.py | mresti/StudentsManagementSystem | a1d67af517379b249630cac70a55bdfd9f77c54a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Hello World API implemented using Google Cloud Endpoints.
Defined here are the ProtoRPC messages needed to define Schemas for methods
as well as those methods defined in an API.
"""
import endpoints
from protorpc import messages
from protorpc import message_types
from protorpc import remot... | 40.18112 | 241 | 0.637673 | 5,926 | 52,356 | 5.590449 | 0.089099 | 0.005524 | 0.01473 | 0.01467 | 0.784992 | 0.741103 | 0.72266 | 0.707477 | 0.697154 | 0.685864 | 0 | 0.008746 | 0.266216 | 52,356 | 1,302 | 242 | 40.211982 | 0.853584 | 0.185518 | 0 | 0.696343 | 0 | 0 | 0.15634 | 0.034517 | 0 | 0 | 0 | 0.020737 | 0 | 0 | null | null | 0 | 0.015898 | null | null | 0.260731 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c82e6679e4f01663f994fb0aa852f85c864460a | 1,229 | py | Python | warriors/iscsi_warrior.py | alegrey91/legion | c234c54cc6255e744a0cfde9a9d5909263850480 | [
"MIT"
] | 430 | 2019-06-10T09:43:39.000Z | 2022-03-31T19:46:11.000Z | warriors/iscsi_warrior.py | alegrey91/legion | c234c54cc6255e744a0cfde9a9d5909263850480 | [
"MIT"
] | 10 | 2019-09-17T15:48:47.000Z | 2021-02-17T11:09:59.000Z | warriors/iscsi_warrior.py | alegrey91/legion | c234c54cc6255e744a0cfde9a9d5909263850480 | [
"MIT"
] | 110 | 2019-06-10T17:22:17.000Z | 2022-03-28T03:23:08.000Z | # -*- coding: utf-8 -*-
from warriors.warrior import Warrior
class Iscsi_warrior (Warrior):
def __init__(self, host, port, workdir, protocol, intensity, username, ulist, password, plist, notuse, extensions, path, reexec, ipv6, domain, interactive, verbose, executed, exec):
Warrior.__init__(self, host, po... | 61.45 | 241 | 0.62083 | 151 | 1,229 | 4.940397 | 0.350993 | 0.064343 | 0.048257 | 0.064343 | 0.789544 | 0.761394 | 0.761394 | 0.761394 | 0.761394 | 0.713137 | 0 | 0.00404 | 0.194467 | 1,229 | 19 | 242 | 64.684211 | 0.749495 | 0.017087 | 0 | 0 | 0 | 0 | 0.204809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.333333 | 0.083333 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4ca5613ff47ac7f36a25e7eab65b347595df9d0a | 187 | py | Python | app/apps/page/tasks.py | atseplyaev/django-flatpages-api | 29479e8e4f5844b53fb04279f8456241458227fa | [
"MIT"
] | null | null | null | app/apps/page/tasks.py | atseplyaev/django-flatpages-api | 29479e8e4f5844b53fb04279f8456241458227fa | [
"MIT"
] | null | null | null | app/apps/page/tasks.py | atseplyaev/django-flatpages-api | 29479e8e4f5844b53fb04279f8456241458227fa | [
"MIT"
] | null | null | null | from celery import shared_task
@shared_task
def increment_show_counter_task(page_id: int) -> None:
from .services import increment_show_counter
increment_show_counter(page_id)
| 20.777778 | 54 | 0.807487 | 27 | 187 | 5.185185 | 0.518519 | 0.278571 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139037 | 187 | 8 | 55 | 23.375 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cbe0ae8e376972d8c9a6a87fd6b31ec263ff032 | 88,554 | py | Python | intronserter.py | djaeg/ChlamyIntronserter | ee1308e31bd31acf6d739587b0f5835d1afc7366 | [
"BSD-3-Clause"
] | 2 | 2019-06-26T16:48:56.000Z | 2019-07-31T19:45:21.000Z | intronserter.py | djaeg/ChlamyIntronserter | ee1308e31bd31acf6d739587b0f5835d1afc7366 | [
"BSD-3-Clause"
] | 1 | 2019-07-11T19:21:44.000Z | 2019-07-11T19:21:44.000Z | intronserter.py | djaeg/ChlamyIntronserter | ee1308e31bd31acf6d739587b0f5835d1afc7366 | [
"BSD-3-Clause"
] | 1 | 2019-03-13T09:39:45.000Z | 2019-03-13T09:39:45.000Z | #!/usr/bin/env python3
#BSD 3-Clause License
#
#Copyright (c) 2019, Daniel Jaeger
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are met:
#
#* Redistributions of source code must retain the above copyright ... | 139.675079 | 52,168 | 0.836371 | 6,349 | 88,554 | 11.496456 | 0.32005 | 0.008152 | 0.006288 | 0.003836 | 0.143497 | 0.112822 | 0.092409 | 0.079366 | 0.06309 | 0.0555 | 0 | 0.103712 | 0.099205 | 88,554 | 633 | 52,169 | 139.895735 | 0.811318 | 0.032161 | 0 | 0.230174 | 0 | 0.071567 | 0.748862 | 0.630567 | 0 | 1 | 0 | 0 | 0.009671 | 1 | 0.007737 | false | 0 | 0.027079 | 0 | 0.044487 | 0.027079 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4cf7430a2e377cf00400a1db709c684c95a7dfd4 | 26 | py | Python | ovcfg/__init__.py | jok4r/ovcfg | 61dd26f924c8a47df1c2c1e68a7e111441f3aef7 | [
"MIT"
] | 1 | 2021-12-19T11:44:33.000Z | 2021-12-19T11:44:33.000Z | ovcfg/__init__.py | jok4r/ovcfg | 61dd26f924c8a47df1c2c1e68a7e111441f3aef7 | [
"MIT"
] | null | null | null | ovcfg/__init__.py | jok4r/ovcfg | 61dd26f924c8a47df1c2c1e68a7e111441f3aef7 | [
"MIT"
] | null | null | null | from .ovcfg import Config
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 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 |
e278080e41acc01f4c8b740598c089bfdccab89f | 27,985 | py | Python | tests/autodiff_test.py | ByzanTine/AutoHOOT | 007bb423bfc8eefa64e4d1b0f8dad80b440bcf7a | [
"Apache-2.0"
] | null | null | null | tests/autodiff_test.py | ByzanTine/AutoHOOT | 007bb423bfc8eefa64e4d1b0f8dad80b440bcf7a | [
"Apache-2.0"
] | null | null | null | tests/autodiff_test.py | ByzanTine/AutoHOOT | 007bb423bfc8eefa64e4d1b0f8dad80b440bcf7a | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 32.019451 | 81 | 0.578167 | 4,472 | 27,985 | 3.367844 | 0.044723 | 0.037182 | 0.063741 | 0.090299 | 0.882013 | 0.861297 | 0.838723 | 0.808711 | 0.779298 | 0.761968 | 0 | 0.044524 | 0.27529 | 27,985 | 873 | 82 | 32.056128 | 0.698092 | 0.023155 | 0 | 0.622549 | 0 | 0 | 0.014358 | 0 | 0 | 0 | 0 | 0 | 0.184641 | 1 | 0.058824 | false | 0 | 0.004902 | 0 | 0.063725 | 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 |
2c46a07a7de047964a0d7cee700042e563701ff5 | 142 | py | Python | data/__init__.py | ShiQiu0419/DRNet | edd9adceefbf8f6871abc565626d5f5cfb9571e0 | [
"MIT"
] | 23 | 2020-05-14T06:43:32.000Z | 2022-02-24T03:09:28.000Z | data/__init__.py | ShiQiu0419/DRNet | edd9adceefbf8f6871abc565626d5f5cfb9571e0 | [
"MIT"
] | 4 | 2021-04-14T14:38:03.000Z | 2021-09-22T14:44:15.000Z | data/__init__.py | ShiQiu0419/DRNet | edd9adceefbf8f6871abc565626d5f5cfb9571e0 | [
"MIT"
] | 1 | 2020-05-24T13:41:05.000Z | 2020-05-24T13:41:05.000Z | # from .ModelNet40Loader import ModelNet40Cls
from .ShapeNetPartLoader import ShapeNetPart
# from .Indoor3DSemSegLoader import Indoor3DSemSeg
| 35.5 | 50 | 0.866197 | 12 | 142 | 10.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.098592 | 142 | 3 | 51 | 47.333333 | 0.914063 | 0.647887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2c48869641c4429c305becb3ef8cf5d2cdd64198 | 211 | py | Python | quotas/admin.py | msenoville/hbp_neuromorphic_platform | 897675af3a9928da0cf3abcfeac3d7f508a859e1 | [
"Apache-2.0"
] | 13 | 2017-09-03T19:57:29.000Z | 2021-11-17T11:25:28.000Z | quotas/admin.py | msenoville/hbp_neuromorphic_platform | 897675af3a9928da0cf3abcfeac3d7f508a859e1 | [
"Apache-2.0"
] | 30 | 2017-06-27T08:36:41.000Z | 2022-02-14T16:04:32.000Z | quotas/admin.py | msenoville/hbp_neuromorphic_platform | 897675af3a9928da0cf3abcfeac3d7f508a859e1 | [
"Apache-2.0"
] | 6 | 2017-06-11T20:16:57.000Z | 2021-05-05T12:49:01.000Z | from django.contrib import admin
from .models import Project, Quota, Review, ProjectMember
admin.site.register(Quota)
admin.site.register(Project)
admin.site.register(Review)
admin.site.register(ProjectMember)
| 26.375 | 57 | 0.824645 | 28 | 211 | 6.214286 | 0.428571 | 0.206897 | 0.390805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075829 | 211 | 7 | 58 | 30.142857 | 0.892308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2c9567467d8ebe28bf67b83ec3c62ba8567f37f7 | 3,368 | py | Python | test.py | xzx482/captcha_identify.pytorch_fork | 8c2ff599c6afb196dddca3d4bc477ac78c95992e | [
"MIT"
] | 64 | 2019-11-05T08:06:08.000Z | 2022-03-24T05:05:58.000Z | test.py | xzx482/captcha_identify.pytorch_fork | 8c2ff599c6afb196dddca3d4bc477ac78c95992e | [
"MIT"
] | 11 | 2019-11-17T18:10:00.000Z | 2021-12-15T09:35:15.000Z | test.py | xzx482/captcha_identify.pytorch_fork | 8c2ff599c6afb196dddca3d4bc477ac78c95992e | [
"MIT"
] | 21 | 2019-11-04T16:18:46.000Z | 2022-03-10T01:22:24.000Z | # -*- coding: UTF-8 -*-
import numpy as np
import torch
from torch.autograd import Variable
import settings
import datasets
from models import *
import one_hot_encoding
import argparse
import torch_util
import os
from models import *
from tqdm import *
# os.environ["CUDA_VISIBLE_DEVICES"] = "1"
device = torch.device(... | 37.842697 | 137 | 0.66924 | 499 | 3,368 | 4.270541 | 0.200401 | 0.113562 | 0.154857 | 0.185828 | 0.778508 | 0.778508 | 0.778508 | 0.778508 | 0.740028 | 0.740028 | 0 | 0.027067 | 0.199228 | 3,368 | 88 | 138 | 38.272727 | 0.76307 | 0.11639 | 0 | 0.634921 | 0 | 0 | 0.044504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031746 | false | 0 | 0.190476 | 0 | 0.238095 | 0.031746 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c9b3dfa295c42f3fb88316d169f08e5b78c5459 | 16,110 | py | Python | tests/test_inputs_searches.py | olga-clarifai/clarifai-python-grpc | c1d45ea965f781de5ccf682b142049c7628d0480 | [
"Apache-2.0"
] | 44 | 2020-01-30T16:14:06.000Z | 2022-03-21T16:00:48.000Z | tests/test_inputs_searches.py | olga-clarifai/clarifai-python-grpc | c1d45ea965f781de5ccf682b142049c7628d0480 | [
"Apache-2.0"
] | 13 | 2020-04-21T05:42:26.000Z | 2022-03-23T14:50:51.000Z | tests/test_inputs_searches.py | olga-clarifai/clarifai-python-grpc | c1d45ea965f781de5ccf682b142049c7628d0480 | [
"Apache-2.0"
] | 11 | 2020-01-30T16:14:10.000Z | 2022-02-16T12:07:12.000Z | import urllib.request
import uuid
from google.protobuf import struct_pb2
from clarifai_grpc.grpc.api import service_pb2_grpc, service_pb2, resources_pb2
from clarifai_grpc.grpc.api.resources_pb2 import (
Search,
Query,
Rank,
Annotation,
Data,
Concept,
Filter,
Image,
)
from clarifai_grp... | 36.613636 | 99 | 0.407697 | 1,155 | 16,110 | 5.447619 | 0.109957 | 0.044501 | 0.033376 | 0.048951 | 0.79323 | 0.762556 | 0.745391 | 0.732676 | 0.724889 | 0.724889 | 0 | 0.023101 | 0.524395 | 16,110 | 439 | 100 | 36.697039 | 0.798094 | 0.002731 | 0 | 0.603053 | 0 | 0 | 0.008902 | 0 | 0 | 0 | 0 | 0 | 0.050891 | 1 | 0.035623 | false | 0 | 0.017812 | 0 | 0.058524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2cc03faf8d4ec7fc6507944e4fe16c8e41f65a6a | 196 | py | Python | modelsProject/modelsApp/admin.py | cs-fullstack-2019-spring/django-models3-cw-PorcheWooten | c25fe7420f7f0586cbaccd2a25237651f7a69827 | [
"Apache-2.0"
] | null | null | null | modelsProject/modelsApp/admin.py | cs-fullstack-2019-spring/django-models3-cw-PorcheWooten | c25fe7420f7f0586cbaccd2a25237651f7a69827 | [
"Apache-2.0"
] | null | null | null | modelsProject/modelsApp/admin.py | cs-fullstack-2019-spring/django-models3-cw-PorcheWooten | c25fe7420f7f0586cbaccd2a25237651f7a69827 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from django.contrib import admin
from .models import Book
from .models import Car
admin.site.register(Book)
admin.site.register(Car) | 21.777778 | 32 | 0.806122 | 30 | 196 | 5.266667 | 0.4 | 0.126582 | 0.21519 | 0.291139 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 196 | 9 | 33 | 21.777778 | 0.918605 | 0.132653 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
2cc91ae3fe91c308b66433c84bb5b0aaed08337c | 9,587 | py | Python | src/backend/api/handlers/tests/update_event_rankings_test.py | bovlb/the-blue-alliance | 29389649d96fe060688f218d463e642dcebfd6cc | [
"MIT"
] | 266 | 2015-01-04T00:10:48.000Z | 2022-03-28T18:42:05.000Z | src/backend/api/handlers/tests/update_event_rankings_test.py | bovlb/the-blue-alliance | 29389649d96fe060688f218d463e642dcebfd6cc | [
"MIT"
] | 2,673 | 2015-01-01T20:14:33.000Z | 2022-03-31T18:17:16.000Z | src/backend/api/handlers/tests/update_event_rankings_test.py | bovlb/the-blue-alliance | 29389649d96fe060688f218d463e642dcebfd6cc | [
"MIT"
] | 230 | 2015-01-04T00:10:48.000Z | 2022-03-26T18:12:04.000Z | import json
from typing import Dict, List, Optional
from google.appengine.ext import ndb
from werkzeug.test import Client
from backend.api.trusted_api_auth_helper import TrustedApiAuthHelper
from backend.common.consts.auth_type import AuthType
from backend.common.consts.event_type import EventType
from backend.common... | 27.869186 | 84 | 0.573381 | 1,092 | 9,587 | 4.777473 | 0.108059 | 0.073797 | 0.040253 | 0.053671 | 0.810427 | 0.799885 | 0.7834 | 0.774391 | 0.767874 | 0.758865 | 0 | 0.04333 | 0.297069 | 9,587 | 343 | 85 | 27.950437 | 0.730821 | 0 | 0 | 0.657343 | 0 | 0 | 0.110253 | 0.018775 | 0 | 0 | 0 | 0 | 0.08042 | 1 | 0.059441 | false | 0 | 0.031469 | 0.003497 | 0.094406 | 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 |
2ccf36f836bc4080554dfe73f7ab1f489e130bd1 | 6,094 | py | Python | tests/test_schema_validation.py | ThiefMaster/cern-search | fb8adef358dad5267ed36e771adb94f2ccac28c2 | [
"MIT"
] | null | null | null | tests/test_schema_validation.py | ThiefMaster/cern-search | fb8adef358dad5267ed36e771adb94f2ccac28c2 | [
"MIT"
] | null | null | null | tests/test_schema_validation.py | ThiefMaster/cern-search | fb8adef358dad5267ed36e771adb94f2ccac28c2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# This file is part of CERN Search.
# Copyright (C) 2018-2019 CERN.
#
# CERN Search is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
import json
import pytest
import requests
HEADERS = {
"Accept": "applic... | 35.637427 | 131 | 0.621595 | 661 | 6,094 | 5.565809 | 0.163389 | 0.074205 | 0.091329 | 0.097853 | 0.806741 | 0.786899 | 0.763251 | 0.740419 | 0.734982 | 0.733895 | 0 | 0.007959 | 0.237118 | 6,094 | 170 | 132 | 35.847059 | 0.783394 | 0.089104 | 0 | 0.631148 | 0 | 0 | 0.358937 | 0.147117 | 0 | 0 | 0 | 0 | 0.163934 | 1 | 0.02459 | false | 0 | 0.02459 | 0 | 0.04918 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.