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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
94731556c920289a514e9795ae24ba7e2367bdd5 | 200 | py | Python | nn/activation.py | prabhatnagarajan/rl_lib | 43fecc6ceb3b9299f6a55804e736a0a2b3247e9a | [
"MIT"
] | 1 | 2017-09-29T02:14:43.000Z | 2017-09-29T02:14:43.000Z | nn/activation.py | prabhatnagarajan/rl_lib | 43fecc6ceb3b9299f6a55804e736a0a2b3247e9a | [
"MIT"
] | null | null | null | nn/activation.py | prabhatnagarajan/rl_lib | 43fecc6ceb3b9299f6a55804e736a0a2b3247e9a | [
"MIT"
] | null | null | null | from enum import Enum
import numpy as np
# def sigmoid(value):
# return np.exp(value)/(np.exp(value) + 1)
class Activation():
def sigmoid(self, value):
return np.exp(value)/(np.exp(value) + 1)
| 18.181818 | 43 | 0.68 | 33 | 200 | 4.121212 | 0.454545 | 0.147059 | 0.294118 | 0.235294 | 0.470588 | 0.470588 | 0.470588 | 0.470588 | 0.470588 | 0 | 0 | 0.011905 | 0.16 | 200 | 10 | 44 | 20 | 0.797619 | 0.305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
84745ade7987c6321df2d5b27def25b655f517df | 45 | py | Python | tests/functional/test_functional/path-dependency/src/path_dependency/__init__.py | drhagen/nox-poetry | 1afc0a007cea88614ff1e0b8be1415e0f8e84253 | [
"MIT"
] | 77 | 2020-09-30T14:17:18.000Z | 2022-03-28T14:39:00.000Z | tests/functional/test_functional/path-dependency/src/path_dependency/__init__.py | drhagen/nox-poetry | 1afc0a007cea88614ff1e0b8be1415e0f8e84253 | [
"MIT"
] | 260 | 2020-05-27T05:23:54.000Z | 2022-03-30T23:28:55.000Z | tests/functional/test_functional/path-dependency/src/path_dependency/__init__.py | drhagen/nox-poetry | 1afc0a007cea88614ff1e0b8be1415e0f8e84253 | [
"MIT"
] | 9 | 2020-06-01T10:43:09.000Z | 2022-03-26T19:00:40.000Z | """Example package for path dependencies."""
| 22.5 | 44 | 0.733333 | 5 | 45 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.825 | 0.844444 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
847778e020feb1ce9c03286802e2123b789bde83 | 125 | py | Python | lib/JumpScale/baselib/codetools/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | null | null | null | lib/JumpScale/baselib/codetools/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 4 | 2016-08-25T12:08:39.000Z | 2018-04-12T12:36:01.000Z | lib/JumpScale/baselib/codetools/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 3 | 2016-03-08T07:49:34.000Z | 2018-10-19T13:56:43.000Z | from JumpScale import j
def cb():
from .CodeTools import CodeTools
return CodeTools()
j._register('codetools', cb)
| 15.625 | 36 | 0.712 | 16 | 125 | 5.5 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192 | 125 | 7 | 37 | 17.857143 | 0.871287 | 0 | 0 | 0 | 0 | 0 | 0.072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
84c5e51b0c7fb89be26b588cb386ddc89dcb31d3 | 134 | py | Python | docs/source/handbook/pyplots/softplus.py | tuttelikz/farabi | 5b65cdf39ceecbd69ae759d030b132ee74661b48 | [
"Apache-2.0"
] | 53 | 2021-04-06T17:57:12.000Z | 2022-03-07T17:45:45.000Z | docs/source/handbook/pyplots/softplus.py | tuttelikz/farabi | 5b65cdf39ceecbd69ae759d030b132ee74661b48 | [
"Apache-2.0"
] | 1 | 2022-03-07T19:48:44.000Z | 2022-03-07T19:49:47.000Z | docs/source/handbook/pyplots/softplus.py | tuttelikz/farabi | 5b65cdf39ceecbd69ae759d030b132ee74661b48 | [
"Apache-2.0"
] | 2 | 2021-12-06T14:42:44.000Z | 2021-12-07T11:33:14.000Z | from activfuncs import plot, x
import numpy as np
def softplus(x):
return np.log(1+np.exp(x))
plot(softplus, yaxis=(-0.4, 1.4))
| 16.75 | 33 | 0.679104 | 26 | 134 | 3.5 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044643 | 0.164179 | 134 | 7 | 34 | 19.142857 | 0.767857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
84dc7e87a792e8a69567110ac542679ef6f2c352 | 22 | py | Python | tccli/services/mvj/v20190926/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/mvj/v20190926/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/mvj/v20190926/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | version = "2019-09-26" | 22 | 22 | 0.681818 | 4 | 22 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.090909 | 22 | 1 | 22 | 22 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ca057d09f097148e2de84a08b4897399a17a0ffe | 78 | py | Python | helloworld.py | elijakotsi/second | 2b29e24467d2583cd72339cccf1bf87110f19b72 | [
"MIT"
] | null | null | null | helloworld.py | elijakotsi/second | 2b29e24467d2583cd72339cccf1bf87110f19b72 | [
"MIT"
] | null | null | null | helloworld.py | elijakotsi/second | 2b29e24467d2583cd72339cccf1bf87110f19b72 | [
"MIT"
] | null | null | null | print ('hello world')
print ('hello second time')
print ('Again and Again')
| 13 | 27 | 0.679487 | 11 | 78 | 4.818182 | 0.636364 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 78 | 5 | 28 | 15.6 | 0.815385 | 0 | 0 | 0 | 0 | 0 | 0.551282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ca0d6e6b4ab4d457a6e714e213bc3a5df6d118b7 | 449 | py | Python | Fancy_aggregations/dissimilarities.py | Fuminides/Fancy_aggregations | 9d7dbfa9b615ab6f582d8a36681ab24ccc94f759 | [
"MIT"
] | 10 | 2019-11-13T15:38:06.000Z | 2022-01-29T09:27:38.000Z | Fancy_aggregations/dissimilarities.py | Fuminides/Fancy_aggregations | 9d7dbfa9b615ab6f582d8a36681ab24ccc94f759 | [
"MIT"
] | null | null | null | Fancy_aggregations/dissimilarities.py | Fuminides/Fancy_aggregations | 9d7dbfa9b615ab6f582d8a36681ab24ccc94f759 | [
"MIT"
] | 4 | 2020-05-18T11:24:12.000Z | 2022-03-07T08:34:13.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jun 22 15:58:57 2021
@author: javier
"""
import numpy as np
def abs_v(x, y):
return np.abs(x - y)
def quadratic(x, y):
return (x-y) * (x-y)
def square(x, y):
return np.sqrt(abs_v(x, y))
def squarewise(x, y):
return np.abs(np.sqrt(x) ... | 17.269231 | 42 | 0.587973 | 90 | 449 | 2.888889 | 0.377778 | 0.084615 | 0.184615 | 0.192308 | 0.419231 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0.042135 | 0.207127 | 449 | 26 | 43 | 17.269231 | 0.688202 | 0.213808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.076923 | 0.461538 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ca336065770f9c254e2e396b01677feda749f1b6 | 123 | py | Python | pset_classes/class_basics/p1.py | mottaquikarim/pydev-psets | 9749e0d216ee0a5c586d0d3013ef481cc21dee27 | [
"MIT"
] | 5 | 2019-04-08T20:05:37.000Z | 2019-12-04T20:48:45.000Z | pset_classes/class_basics/p1.py | mottaquikarim/pydev-psets | 9749e0d216ee0a5c586d0d3013ef481cc21dee27 | [
"MIT"
] | 8 | 2019-04-15T15:16:05.000Z | 2022-02-12T10:33:32.000Z | pset_classes/class_basics/p1.py | mottaquikarim/pydev-psets | 9749e0d216ee0a5c586d0d3013ef481cc21dee27 | [
"MIT"
] | 2 | 2019-04-10T00:14:42.000Z | 2020-02-26T20:35:21.000Z | """
Person class
"""
# Create a Person class with the following properties
# 1. name
# 2. age
# 3. social security number
| 13.666667 | 53 | 0.691057 | 18 | 123 | 4.722222 | 0.888889 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030612 | 0.203252 | 123 | 8 | 54 | 15.375 | 0.836735 | 0.861789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ca5ad904805e88571cfce613f0ee3f00d303b335 | 100 | py | Python | microsockets/__init__.py | ParkerD559/microsockets-py | 587d39e598d42cc6ee829a7c98ddb715013ee1f8 | [
"MIT"
] | 3 | 2019-02-05T16:55:52.000Z | 2019-09-11T23:21:58.000Z | microsockets/__init__.py | ParkerD559/microsockets-py | 587d39e598d42cc6ee829a7c98ddb715013ee1f8 | [
"MIT"
] | 2 | 2019-09-03T02:37:08.000Z | 2019-09-03T02:37:30.000Z | microsockets/__init__.py | ParkerD559/microsockets-py | 587d39e598d42cc6ee829a7c98ddb715013ee1f8 | [
"MIT"
] | null | null | null | from .application import Application
from .events import EventRouter
from .rooms import RoomManager
| 25 | 36 | 0.85 | 12 | 100 | 7.083333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 3 | 37 | 33.333333 | 0.965909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
04711d3844781615dc883581221c12cc3450cf19 | 187 | py | Python | courseapp/admin.py | kumarisneha/coursebeta | fed0c42bdff60ebc5c5ee5a423e7ff930016c32b | [
"MIT"
] | null | null | null | courseapp/admin.py | kumarisneha/coursebeta | fed0c42bdff60ebc5c5ee5a423e7ff930016c32b | [
"MIT"
] | null | null | null | courseapp/admin.py | kumarisneha/coursebeta | fed0c42bdff60ebc5c5ee5a423e7ff930016c32b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import CourseCreate, SyllabusAddition
# Register your models here.
admin.site.register(CourseCreate)
admin.site.register(SyllabusAddition)
| 23.375 | 50 | 0.834225 | 22 | 187 | 7.090909 | 0.545455 | 0.115385 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096257 | 187 | 7 | 51 | 26.714286 | 0.923077 | 0.139037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 5 |
048db3fa8666debcf09d1ac4fe6d3fc7088ca2e4 | 112 | py | Python | src/remote_docker_aws/exceptions.py | lime-green/remote-docker-aws | bcbd8b72fa963187460c9658a0b83c6709f6cc18 | [
"MIT"
] | 16 | 2020-07-07T17:55:52.000Z | 2021-12-02T20:49:27.000Z | src/remote_docker_aws/exceptions.py | lime-green/remote-docker | 495c648868c112028b6ccdeed121b00b8b7c4a77 | [
"MIT"
] | 3 | 2020-12-19T17:33:55.000Z | 2021-07-22T19:27:41.000Z | src/remote_docker_aws/exceptions.py | lime-green/remote-docker | 495c648868c112028b6ccdeed121b00b8b7c4a77 | [
"MIT"
] | 3 | 2020-08-31T15:26:11.000Z | 2021-08-05T02:08:12.000Z | class RemoteDockerException(RuntimeError):
pass
class InstanceNotRunning(RemoteDockerException):
pass
| 16 | 48 | 0.803571 | 8 | 112 | 11.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 112 | 6 | 49 | 18.666667 | 0.9375 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0492c22df1907220b165a2a6356a3504f5581a22 | 143 | py | Python | asyncio_mqtt/__init__.py | MBradbury/asyncio-mqtt | 90647428097897c847fbeb6c4c57d30d952edde6 | [
"BSD-3-Clause"
] | null | null | null | asyncio_mqtt/__init__.py | MBradbury/asyncio-mqtt | 90647428097897c847fbeb6c4c57d30d952edde6 | [
"BSD-3-Clause"
] | null | null | null | asyncio_mqtt/__init__.py | MBradbury/asyncio-mqtt | 90647428097897c847fbeb6c4c57d30d952edde6 | [
"BSD-3-Clause"
] | null | null | null | # SPDX-License-Identifier: BSD-3-Clause
from .error import MqttError, MqttCodeError
from .client import Client
from .version import __version__ | 35.75 | 43 | 0.825175 | 19 | 143 | 6 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.104895 | 143 | 4 | 44 | 35.75 | 0.882813 | 0.258741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
04a2a4c9a9c78b3647c4a021c532c83ece73f9f6 | 252 | py | Python | tests/test_day12.py | khwilson/advent2020 | 066591265af5afe905fc583b9a67894d197297ae | [
"MIT"
] | null | null | null | tests/test_day12.py | khwilson/advent2020 | 066591265af5afe905fc583b9a67894d197297ae | [
"MIT"
] | null | null | null | tests/test_day12.py | khwilson/advent2020 | 066591265af5afe905fc583b9a67894d197297ae | [
"MIT"
] | null | null | null | from pathlib import Path
from advent import day12
def test_first(fixture_path: Path):
assert day12.first(fixture_path / "example12.txt") == 25
def test_second(fixture_path: Path):
assert day12.second(fixture_path / "example12.txt") == 286
| 21 | 62 | 0.742063 | 36 | 252 | 5.027778 | 0.444444 | 0.243094 | 0.176796 | 0.232044 | 0.287293 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 0.154762 | 252 | 11 | 63 | 22.909091 | 0.779343 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
04a9a236d2a98fdce6687b13b31be83648c7b96f | 317 | py | Python | src/openpersonen/api/views/partner_historie.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | 2 | 2020-08-26T11:24:43.000Z | 2021-07-28T09:46:40.000Z | src/openpersonen/api/views/partner_historie.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | 153 | 2020-08-26T10:45:35.000Z | 2021-12-10T17:33:16.000Z | src/openpersonen/api/views/partner_historie.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | null | null | null | from openpersonen.api.data_classes import PartnerHistorie
from openpersonen.api.serializers import PartnerHistorieSerializer
from openpersonen.api.views.base import HistorieViewSet
class PartnerHistorieViewSet(HistorieViewSet):
serializer_class = PartnerHistorieSerializer
instance_class = PartnerHistorie
| 31.7 | 66 | 0.864353 | 29 | 317 | 9.344828 | 0.551724 | 0.177122 | 0.210332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097792 | 317 | 9 | 67 | 35.222222 | 0.947552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b6c26fb1398689426594680c8358fda581a3a5a7 | 78 | py | Python | sabersql.py | dhuber34/sabersql | 27a4824d56dda9b7a8cd9b418fc06b3cc5dee935 | [
"MIT"
] | 1 | 2022-01-19T23:21:43.000Z | 2022-01-19T23:21:43.000Z | sabersql.py | dhuber34/sabersql | 27a4824d56dda9b7a8cd9b418fc06b3cc5dee935 | [
"MIT"
] | 2 | 2020-12-08T00:37:23.000Z | 2022-01-19T21:34:54.000Z | sabersql.py | dhuber34/sabersql | 27a4824d56dda9b7a8cd9b418fc06b3cc5dee935 | [
"MIT"
] | 1 | 2021-09-05T14:56:02.000Z | 2021-09-05T14:56:02.000Z | #!/usr/bin/env python3
import sys
from sabersql.__main__ import main
main()
| 11.142857 | 34 | 0.75641 | 12 | 78 | 4.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.141026 | 78 | 6 | 35 | 13 | 0.80597 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b6dca7b9c17edef79f9f306f11702fc7661fd018 | 25 | py | Python | spark-ingestion/test.py | philnandreoli/metadataingestion | 20870ab4703817acb59f8abd3c20b1638efe6b77 | [
"MIT"
] | null | null | null | spark-ingestion/test.py | philnandreoli/metadataingestion | 20870ab4703817acb59f8abd3c20b1638efe6b77 | [
"MIT"
] | 1 | 2020-09-02T22:18:50.000Z | 2020-09-02T22:18:50.000Z | spark-ingestion/test.py | philnandreoli/metadataingestion | 20870ab4703817acb59f8abd3c20b1638efe6b77 | [
"MIT"
] | null | null | null | from delta.table import * | 25 | 25 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b6e387d35a87b4f50c2a22334cb4a189a6017bd1 | 5,509 | py | Python | tests/st/ops/cpu/test_argminwithvalue_op.py | GuoSuiming/mindspore | 48afc4cfa53d970c0b20eedfb46e039db2a133d5 | [
"Apache-2.0"
] | 3,200 | 2020-02-17T12:45:41.000Z | 2022-03-31T20:21:16.000Z | tests/st/ops/cpu/test_argminwithvalue_op.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 176 | 2020-02-12T02:52:11.000Z | 2022-03-28T22:15:55.000Z | tests/st/ops/cpu/test_argminwithvalue_op.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 621 | 2020-03-09T01:31:41.000Z | 2022-03-30T03:43:19.000Z | # Copyright 2019 Huawei Technologies Co., Ltd
#
# 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 a... | 39.35 | 79 | 0.630968 | 788 | 5,509 | 4.340102 | 0.190355 | 0.046784 | 0.057895 | 0.042105 | 0.720468 | 0.715205 | 0.715205 | 0.715205 | 0.715205 | 0.715205 | 0 | 0.072912 | 0.195861 | 5,509 | 139 | 80 | 39.633094 | 0.699097 | 0.11581 | 0 | 0.683673 | 0 | 0 | 0.000636 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 1 | 0.05102 | false | 0 | 0.061224 | 0.010204 | 0.132653 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b6eecc44e1ba9e294320ab571d3acdc5599cdc2a | 164 | py | Python | tests/unit/test_app.py | shm-tar/Bachelors-Degree-Project | b924cdbe21e60f2260aa5f6e460fd44ccf5fd139 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_app.py | shm-tar/Bachelors-Degree-Project | b924cdbe21e60f2260aa5f6e460fd44ccf5fd139 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_app.py | shm-tar/Bachelors-Degree-Project | b924cdbe21e60f2260aa5f6e460fd44ccf5fd139 | [
"Apache-2.0"
] | null | null | null | def test_testing_config(app):
assert app.config['UPLOAD_PATH'] == 'static/uploads'
assert app.config['SQLALCHEMY_DATABASE_URI'] == 'sqlite:///test_site.db'
| 41 | 76 | 0.72561 | 22 | 164 | 5.136364 | 0.727273 | 0.159292 | 0.265487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 164 | 3 | 77 | 54.666667 | 0.773973 | 0 | 0 | 0 | 0 | 0 | 0.426829 | 0.27439 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8e40338e860f5ed0f03325d588347259fbaa9b11 | 152 | py | Python | tests/web_platform/css_flexbox_1/test_flexbox_flex_0_1_N.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_flexbox_1/test_flexbox_flex_0_1_N.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_flexbox_1/test_flexbox_flex_0_1_N.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | 1 | 2020-01-16T01:56:41.000Z | 2020-01-16T01:56:41.000Z | from tests.utils import W3CTestCase
class TestFlexbox_Flex01N(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'flexbox_flex-0-1-N'))
| 25.333333 | 73 | 0.789474 | 20 | 152 | 5.65 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050725 | 0.092105 | 152 | 5 | 74 | 30.4 | 0.768116 | 0 | 0 | 0 | 0 | 0 | 0.119205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6d010c71c0ecd2d1ddfaa24395a567846602d387 | 2,299 | py | Python | UnityEngine/HumanLimit/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/HumanLimit/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/HumanLimit/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from UdonPie import System
from UdonPie import UnityEngine
from UdonPie.Undefined import *
class HumanLimit:
def __new__(cls, arg1=None):
'''
:returns: HumanLimit
:rtype: UnityEngine.HumanLimit
'''
pass
@staticmethod
def get_useDefaultValues():
'''
... | 18.102362 | 42 | 0.492823 | 188 | 2,299 | 5.952128 | 0.207447 | 0.200179 | 0.237712 | 0.182306 | 0.431635 | 0.431635 | 0.431635 | 0.431635 | 0.340483 | 0.182306 | 0 | 0.025604 | 0.405394 | 2,299 | 126 | 43 | 18.246032 | 0.792977 | 0.320574 | 0 | 0.604167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0.3125 | 0.0625 | 0 | 0.395833 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6d1bbef02168a336cfae0f31eeb3a6fca95d4be5 | 1,060 | py | Python | stayhome/business/migrations/0036_auto_20200407_2349.py | mageo/stayhomech | 5afe922b13f0350a79eaff0401709f99c5a31e8b | [
"MIT"
] | 3 | 2020-03-20T11:01:57.000Z | 2020-03-20T16:29:12.000Z | stayhome/business/migrations/0036_auto_20200407_2349.py | stayhomech/stayhomech | 5afe922b13f0350a79eaff0401709f99c5a31e8b | [
"MIT"
] | 74 | 2020-03-23T21:35:07.000Z | 2020-04-27T12:55:50.000Z | stayhome/business/migrations/0036_auto_20200407_2349.py | mageo/stayhomech | 5afe922b13f0350a79eaff0401709f99c5a31e8b | [
"MIT"
] | 3 | 2020-03-20T11:02:35.000Z | 2020-03-20T16:29:23.000Z | # Generated by Django 3.0.4 on 2020-04-07 21:49
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('business', '0035_auto_20200328_1636'),
]
operations = [
migrations.AddIndex(
model_name='businesshistoryevent',
inde... | 35.333333 | 126 | 0.630189 | 109 | 1,060 | 5.825688 | 0.422018 | 0.113386 | 0.144882 | 0.170079 | 0.719685 | 0.714961 | 0.714961 | 0.664567 | 0.664567 | 0.664567 | 0 | 0.058824 | 0.230189 | 1,060 | 29 | 127 | 36.551724 | 0.719363 | 0.042453 | 0 | 0.521739 | 1 | 0 | 0.328727 | 0.141165 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6d5443689bd319ee0ac11297ab3a6a37f839f380 | 587 | py | Python | test/reflect/StubClass.py | pip-services-python/pip-services-commons-python | ecfe0aab2b1442ed3b550115dd2c2472537452de | [
"MIT"
] | null | null | null | test/reflect/StubClass.py | pip-services-python/pip-services-commons-python | ecfe0aab2b1442ed3b550115dd2c2472537452de | [
"MIT"
] | null | null | null | test/reflect/StubClass.py | pip-services-python/pip-services-commons-python | ecfe0aab2b1442ed3b550115dd2c2472537452de | [
"MIT"
] | 2 | 2020-03-11T21:41:13.000Z | 2020-03-14T00:26:20.000Z | import datetime
class StubClass:
_private_field = 123
public_field = "ABC"
_public_prop = datetime.datetime.now()
def __init__(self):
pass
def _get_private_prop(self):
return 543
def _set_private_prop(self, value):
pass
def get_public_prop(self):
return ... | 18.935484 | 60 | 0.655877 | 75 | 587 | 4.72 | 0.32 | 0.225989 | 0.062147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023364 | 0.270869 | 587 | 30 | 61 | 19.566667 | 0.803738 | 0 | 0 | 0.15 | 0 | 0 | 0.005111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0.15 | 0.05 | 0.15 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
edb0920c0024a744c3eb2a5c876cc1c52e470c96 | 48 | py | Python | 02_syntax/main.py | jmmedel/Python-tutorial-Youtube | d3319a8744cc636ad6a4fb3d90889278806a6cff | [
"MIT"
] | null | null | null | 02_syntax/main.py | jmmedel/Python-tutorial-Youtube | d3319a8744cc636ad6a4fb3d90889278806a6cff | [
"MIT"
] | null | null | null | 02_syntax/main.py | jmmedel/Python-tutorial-Youtube | d3319a8744cc636ad6a4fb3d90889278806a6cff | [
"MIT"
] | 2 | 2020-07-16T05:10:35.000Z | 2020-09-08T01:43:10.000Z |
if 5 > 2:
print("Hello World kagaya john") | 12 | 36 | 0.604167 | 8 | 48 | 3.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.270833 | 48 | 4 | 36 | 12 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0.489362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
edd4566a085dece97c4e5bc22da7f377b43d5c5e | 81 | py | Python | rmexp/client/__init__.py | junjuew/scalable-edge-native-applications | 1ace9ce71bef267880049633160e7cb74c57bddb | [
"Apache-2.0"
] | 1 | 2021-05-12T12:49:15.000Z | 2021-05-12T12:49:15.000Z | rmexp/client/__init__.py | junjuew/scalable-edge-native-applications | 1ace9ce71bef267880049633160e7cb74c57bddb | [
"Apache-2.0"
] | null | null | null | rmexp/client/__init__.py | junjuew/scalable-edge-native-applications | 1ace9ce71bef267880049633160e7cb74c57bddb | [
"Apache-2.0"
] | 1 | 2021-11-21T08:12:19.000Z | 2021-11-21T08:12:19.000Z | from rmexp.client.video import VideoClient, RTVideoClient, RTImageSequenceClient
| 40.5 | 80 | 0.876543 | 8 | 81 | 8.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 81 | 1 | 81 | 81 | 0.946667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
edef03ce6c08a09dd5595a733a6838c5a664cd81 | 178 | py | Python | project/core/profiles/admin.py | robwise1/birdr | fa6cf9036baebb735bff9a59abc4c04867e40d61 | [
"MIT"
] | null | null | null | project/core/profiles/admin.py | robwise1/birdr | fa6cf9036baebb735bff9a59abc4c04867e40d61 | [
"MIT"
] | null | null | null | project/core/profiles/admin.py | robwise1/birdr | fa6cf9036baebb735bff9a59abc4c04867e40d61 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from profiles.models import User
class UserAdmin(admin.ModelAdmin):
pass
admin.site.register(User, UserAdmin) | 19.777778 | 36 | 0.792135 | 24 | 178 | 5.875 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 178 | 9 | 36 | 19.777778 | 0.915584 | 0.146067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 | 0 | 0 | 0 | 5 |
edefdf7b031dd7b5ef7f4fe55e248f4ffe4cd823 | 40 | py | Python | scripts/extraction/__init__.py | johnsbuck/nanogiants-hackathon-2021 | de061db3827915b4c3389d6d666f956f059d7cb0 | [
"MIT"
] | null | null | null | scripts/extraction/__init__.py | johnsbuck/nanogiants-hackathon-2021 | de061db3827915b4c3389d6d666f956f059d7cb0 | [
"MIT"
] | null | null | null | scripts/extraction/__init__.py | johnsbuck/nanogiants-hackathon-2021 | de061db3827915b4c3389d6d666f956f059d7cb0 | [
"MIT"
] | null | null | null | from .extractor import extract_features
| 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 | 0 | 0 | 0 | 5 |
edf2a992a40bbcb3675650df8b6d393852631c63 | 337 | py | Python | main/middlewares.py | lesnik512/smena-school | f51149d9086b3e4bd625f743fc59767b14374edd | [
"MIT"
] | null | null | null | main/middlewares.py | lesnik512/smena-school | f51149d9086b3e4bd625f743fc59767b14374edd | [
"MIT"
] | null | null | null | main/middlewares.py | lesnik512/smena-school | f51149d9086b3e4bd625f743fc59767b14374edd | [
"MIT"
] | null | null | null | from main.utils import create_basket
class BasketMiddleware(object):
def __init__(self, get_response):
self.get_response = get_response
def __call__(self, request):
basket = create_basket(request)
setattr(request, 'basket', basket)
response = self.get_response(request)
... | 25.923077 | 45 | 0.691395 | 38 | 337 | 5.763158 | 0.473684 | 0.200913 | 0.205479 | 0.210046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228487 | 337 | 12 | 46 | 28.083333 | 0.842308 | 0 | 0 | 0 | 0 | 0 | 0.017804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 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 | 0 | 1 | 0 | 0 | 5 |
6110ea68081db700eb7141b857d960253b7b8816 | 4,367 | py | Python | python/flareapps/django/common/tests.py | flarebyte/wonderful-bazar | 810514cd7d73505b11d738f8b84d91842d18d074 | [
"MIT"
] | null | null | null | python/flareapps/django/common/tests.py | flarebyte/wonderful-bazar | 810514cd7d73505b11d738f8b84d91842d18d074 | [
"MIT"
] | null | null | null | python/flareapps/django/common/tests.py | flarebyte/wonderful-bazar | 810514cd7d73505b11d738f8b84d91842d18d074 | [
"MIT"
] | null | null | null | """
This file demonstrates two different styles of tests (one doctest and one
unittest). These will both pass when you run "manage.py test".
TODO: to transform this in unit test
Replace these with more appropriate tests for your application.
"""
from django.test import TestCase
import re
class SimpleTest(TestCase):
... | 45.020619 | 121 | 0.69384 | 601 | 4,367 | 4.975042 | 0.221298 | 0.120401 | 0.065552 | 0.098328 | 0.743478 | 0.671237 | 0.646823 | 0.641806 | 0.641806 | 0.641806 | 0 | 0.058291 | 0.088619 | 4,367 | 96 | 122 | 45.489583 | 0.692965 | 0.082894 | 0 | 0.246154 | 0 | 0.292308 | 0.589291 | 0.201685 | 0 | 0 | 0 | 0.010417 | 0 | 0 | null | null | 0 | 0.030769 | null | null | 0.461538 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
611a45f4bc40e1dd95b9bb217a4dc7d1f1128056 | 173 | py | Python | test/wait-until/test.py | Rippletek/fnfig | 156e87d23ab9a7521056c7d5059037fa2c15a274 | [
"Apache-2.0"
] | 1 | 2021-04-13T04:10:36.000Z | 2021-04-13T04:10:36.000Z | test/foreach/test.py | Rippletek/fnfig | 156e87d23ab9a7521056c7d5059037fa2c15a274 | [
"Apache-2.0"
] | 1 | 2021-04-09T03:43:38.000Z | 2021-04-09T03:43:38.000Z | test/wait/test.py | Rippletek/fnfig | 156e87d23ab9a7521056c7d5059037fa2c15a274 | [
"Apache-2.0"
] | null | null | null | import fig_runner
import main
from fig_utils import FakeFDL
if __name__ == "__main__":
fig_runner._initializer_runner()
FakeFDL(fig_runner._handler, {}, {}).run()
| 19.222222 | 46 | 0.734104 | 22 | 173 | 5.090909 | 0.545455 | 0.241071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150289 | 173 | 8 | 47 | 21.625 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.046243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
b6834a153c62da445d8df0e653190f65fe16163d | 212 | py | Python | Task1E.py | Yichen-Cai-yc539/Lab87-Flood-Warning-System | 22f741c5a14e3350923385d23358167782ad4354 | [
"MIT"
] | null | null | null | Task1E.py | Yichen-Cai-yc539/Lab87-Flood-Warning-System | 22f741c5a14e3350923385d23358167782ad4354 | [
"MIT"
] | null | null | null | Task1E.py | Yichen-Cai-yc539/Lab87-Flood-Warning-System | 22f741c5a14e3350923385d23358167782ad4354 | [
"MIT"
] | null | null | null | from floodsystem.stationdata import build_station_list
from floodsystem.geo import rivers_by_station_number
def run():
stations = build_station_list()
print(rivers_by_station_number(stations, 10))
run() | 26.5 | 54 | 0.811321 | 29 | 212 | 5.586207 | 0.551724 | 0.185185 | 0.197531 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010695 | 0.117925 | 212 | 8 | 55 | 26.5 | 0.855615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0.166667 | 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 | 0 | 0 | 0 | 5 |
b6a21260b2b06037d82300149df47572badf2e10 | 162 | py | Python | django_toyo_auth/providers/toyo/urls.py | ayame-q/django-toyo-auth | 8465d9ce79e9fab572e5a68492206ee981e7873e | [
"MIT"
] | null | null | null | django_toyo_auth/providers/toyo/urls.py | ayame-q/django-toyo-auth | 8465d9ce79e9fab572e5a68492206ee981e7873e | [
"MIT"
] | null | null | null | django_toyo_auth/providers/toyo/urls.py | ayame-q/django-toyo-auth | 8465d9ce79e9fab572e5a68492206ee981e7873e | [
"MIT"
] | null | null | null | from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
from .provider import ToyoProvider
urlpatterns = default_urlpatterns(ToyoProvider)
| 23.142857 | 75 | 0.864198 | 17 | 162 | 8.117647 | 0.647059 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.08642 | 162 | 6 | 76 | 27 | 0.925676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b6a5d03bd0fbbcad49efe79181f32a9c574c95d6 | 108 | py | Python | Test/Client.py | thekakodkar/Mapper | 341943d847157c4bc5e0c32965008f11071ed608 | [
"MIT"
] | 1 | 2021-08-09T12:10:40.000Z | 2021-08-09T12:10:40.000Z | Test/Client.py | thekakodkar/BODtoJSON | 341943d847157c4bc5e0c32965008f11071ed608 | [
"MIT"
] | null | null | null | Test/Client.py | thekakodkar/BODtoJSON | 341943d847157c4bc5e0c32965008f11071ed608 | [
"MIT"
] | null | null | null | from config import config
from BODtoJSON.BODtoJSON import convert
print(convert(config.input_var, 'Sync'))
| 21.6 | 40 | 0.814815 | 15 | 108 | 5.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 108 | 4 | 41 | 27 | 0.896907 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fcc4ce20572d1812444863f7088739fe143ab2a4 | 5,649 | py | Python | zakupki/core/models.py | kgazha/zakupki | 68ca4856fbf0dfc16ecd311460e46472482e5721 | [
"MIT"
] | null | null | null | zakupki/core/models.py | kgazha/zakupki | 68ca4856fbf0dfc16ecd311460e46472482e5721 | [
"MIT"
] | null | null | null | zakupki/core/models.py | kgazha/zakupki | 68ca4856fbf0dfc16ecd311460e46472482e5721 | [
"MIT"
] | null | null | null | from django.db import models
class Resource(models.Model):
code = models.CharField(max_length=255)
path = models.CharField(max_length=255)
description = models.CharField(max_length=255, blank=True, null=True)
def __str__(self):
return self.path
class PurchaseTypeControl(models.Model):
c... | 36.445161 | 116 | 0.743671 | 749 | 5,649 | 5.376502 | 0.108144 | 0.069282 | 0.100075 | 0.130867 | 0.803576 | 0.801589 | 0.773777 | 0.672461 | 0.61485 | 0.538366 | 0 | 0.015628 | 0.150469 | 5,649 | 154 | 117 | 36.681818 | 0.823505 | 0 | 0 | 0.530973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115044 | false | 0 | 0.00885 | 0.115044 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
fcd3db096351297de5fea1fb12c11e0237a8cee4 | 210 | py | Python | boucanpy/core/api_token/__init__.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 34 | 2019-11-16T17:22:15.000Z | 2022-02-11T23:12:46.000Z | boucanpy/core/api_token/__init__.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 1 | 2021-02-09T09:34:55.000Z | 2021-02-10T21:46:20.000Z | boucanpy/core/api_token/__init__.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 9 | 2019-11-18T22:18:07.000Z | 2021-02-08T13:23:51.000Z | from .repos import ApiTokenRepo
from .responses import ApiTokenResponse, ApiTokensResponse, SensitiveApiTokenResponse
from .data import ApiTokenData, SensitiveApiTokenData
from .forms import ApiTokenCreateForm
| 42 | 85 | 0.87619 | 19 | 210 | 9.684211 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090476 | 210 | 4 | 86 | 52.5 | 0.963351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1e3d15881b76267a95e0ce895586afe1ce713bf2 | 131 | py | Python | easy_dash/__init__.py | kmader/easy_dash | 1f98911c6fc7d1136e7d8b609d07a235227cc7c8 | [
"Apache-2.0"
] | 3 | 2019-04-03T20:47:33.000Z | 2021-02-09T21:21:22.000Z | easy_dash/__init__.py | kmader/easy_dash | 1f98911c6fc7d1136e7d8b609d07a235227cc7c8 | [
"Apache-2.0"
] | 5 | 2019-04-04T06:56:41.000Z | 2019-10-04T12:50:18.000Z | easy_dash/__init__.py | kmader/easy_dash | 1f98911c6fc7d1136e7d8b609d07a235227cc7c8 | [
"Apache-2.0"
] | 1 | 2020-07-18T06:13:32.000Z | 2020-07-18T06:13:32.000Z | from __future__ import print_function
from .easydash import EasyDash # noqa: F401
from .version import __version__ # noqa: F401
| 26.2 | 46 | 0.793893 | 17 | 131 | 5.588235 | 0.529412 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0.160305 | 131 | 4 | 47 | 32.75 | 0.809091 | 0.160305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1e70bd80aa0978153345eb922318b55e0ef734ff | 8,981 | py | Python | models/roberta_sr_simple.py | alibaba/Retrieval-based-Pre-training-for-Machine-Reading-Comprehension | b27dc55446a29a53af7fffdad8628ccb545420da | [
"Apache-2.0"
] | 7 | 2021-06-16T01:40:23.000Z | 2021-12-04T02:40:35.000Z | models/roberta_sr_simple.py | SparkJiao/Retrieval-based-Pre-training-for-Machine-Reading-Comprehension | 9ccad31bd0bf2216004cf729d1d511fc3e0b77c9 | [
"Apache-2.0"
] | 1 | 2021-08-16T09:10:05.000Z | 2021-08-25T08:44:44.000Z | models/roberta_sr_simple.py | SparkJiao/Retrieval-based-Pre-training-for-Machine-Reading-Comprehension | 9ccad31bd0bf2216004cf729d1d511fc3e0b77c9 | [
"Apache-2.0"
] | 3 | 2021-09-13T02:03:37.000Z | 2021-10-11T18:48:21.000Z | import torch
from torch import nn
from torch.nn import functional as F
from transformers import RobertaConfig, RobertaModel
from transformers.modeling_roberta import RobertaPreTrainedModel
from models.roberta_models import RobertaHAMCRCConfig
from modules import layers
from modules.layers import simple_circle_... | 37.11157 | 114 | 0.614408 | 1,125 | 8,981 | 4.605333 | 0.119111 | 0.09033 | 0.114264 | 0.069485 | 0.767419 | 0.755067 | 0.740398 | 0.740398 | 0.728045 | 0.707006 | 0 | 0.014275 | 0.282374 | 8,981 | 241 | 115 | 37.26556 | 0.789604 | 0.013028 | 0 | 0.677966 | 0 | 0 | 0.009397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039548 | false | 0 | 0.050847 | 0 | 0.169492 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1e76b40b4f8c0c286576dd6a9691fbb612cab54e | 167 | py | Python | Linear/Separate/test.py | jesusdalvarado/CalculiX-Examples | 79150c1167026cb6c0dfd2bd83f8abed144dcd75 | [
"MIT"
] | 2 | 2019-03-16T09:22:21.000Z | 2019-03-16T09:22:23.000Z | Linear/Separate/test.py | jesusdalvarado/CalculiX-Examples | 79150c1167026cb6c0dfd2bd83f8abed144dcd75 | [
"MIT"
] | null | null | null | Linear/Separate/test.py | jesusdalvarado/CalculiX-Examples | 79150c1167026cb6c0dfd2bd83f8abed144dcd75 | [
"MIT"
] | 1 | 2019-04-26T14:35:22.000Z | 2019-04-26T14:35:22.000Z | #!/usr/bin/python
import os
os.system("cgx -b pre.fbd")
os.system("ccx nodal")
os.system("ccx element")
os.system("cgx -b post-n.fbd")
os.system("cgx -b post-e.fbd")
| 18.555556 | 30 | 0.670659 | 33 | 167 | 3.393939 | 0.484848 | 0.357143 | 0.294643 | 0.321429 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101796 | 167 | 8 | 31 | 20.875 | 0.746667 | 0.095808 | 0 | 0 | 0 | 0 | 0.453333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
94cd78dd269ae2d8e12c28fb59fd1f1b671d6c89 | 812 | py | Python | tests/rater/test_full.py | bst-mug/acres | 46875edbb5619862064cf2380c8e167a418c1cac | [
"Apache-2.0"
] | 1 | 2018-06-19T08:53:22.000Z | 2018-06-19T08:53:22.000Z | tests/rater/test_full.py | bst-mug/acres | 46875edbb5619862064cf2380c8e167a418c1cac | [
"Apache-2.0"
] | 81 | 2018-05-15T13:36:00.000Z | 2020-08-19T14:47:05.000Z | tests/rater/test_full.py | bst-mug/acres | 46875edbb5619862064cf2380c8e167a418c1cac | [
"Apache-2.0"
] | 2 | 2018-02-12T10:42:11.000Z | 2018-02-17T11:35:15.000Z | from acres.rater import full
def test__contain_acronym():
# Baseline
assert not full._contain_acronym("Elektrokardiogramm")
assert full._contain_acronym("VSM Bypass")
assert full._contain_acronym("Gamma GT")
# Only acronym
assert full._contain_acronym("EKG")
def test__compute_full_valid():
... | 27.066667 | 58 | 0.705665 | 109 | 812 | 4.954128 | 0.40367 | 0.142593 | 0.207407 | 0.222222 | 0.192593 | 0.192593 | 0 | 0 | 0 | 0 | 0 | 0.012251 | 0.195813 | 812 | 29 | 59 | 28 | 0.814701 | 0.3633 | 0 | 0 | 0 | 0 | 0.134387 | 0 | 0 | 0 | 0 | 0 | 0.7 | 1 | 0.2 | true | 0.2 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
94ec7f5522879b03c7bdff61d29f61f2188f4bdf | 64 | py | Python | quadrant/__init__.py | e-champenois/quadrant | 6d25b8d2379a2739f1a7f60dcc4f2cbf4c556b07 | [
"MIT"
] | null | null | null | quadrant/__init__.py | e-champenois/quadrant | 6d25b8d2379a2739f1a7f60dcc4f2cbf4c556b07 | [
"MIT"
] | null | null | null | quadrant/__init__.py | e-champenois/quadrant | 6d25b8d2379a2739f1a7f60dcc4f2cbf4c556b07 | [
"MIT"
] | 1 | 2022-02-22T19:36:44.000Z | 2022-02-22T19:36:44.000Z | from .quadrant import foldQuadrant, unfoldQuadrant, resizeFolded | 64 | 64 | 0.875 | 6 | 64 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 64 | 1 | 64 | 64 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
94eeb8749e11e9543af8a4269a86e74b9f2402d3 | 14,824 | py | Python | fn_html2pdf/fn_html2pdf/util/customize.py | kennyleeshim1ibmcom/resilient-community-apps | fcbf6a9fbed912b0ca2620485bd2ba8cda7e9e92 | [
"MIT"
] | null | null | null | fn_html2pdf/fn_html2pdf/util/customize.py | kennyleeshim1ibmcom/resilient-community-apps | fcbf6a9fbed912b0ca2620485bd2ba8cda7e9e92 | [
"MIT"
] | null | null | null | fn_html2pdf/fn_html2pdf/util/customize.py | kennyleeshim1ibmcom/resilient-community-apps | fcbf6a9fbed912b0ca2620485bd2ba8cda7e9e92 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Generate the Resilient customizations required for fn_html2pdf"""
from __future__ import print_function
from resilient_circuits.util import *
def customization_data(client=None):
"""Produce any customization definitions (types, fields, message destinations, etc)
that should be ... | 68.948837 | 87 | 0.968025 | 284 | 14,824 | 50.478873 | 0.915493 | 0.001395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122664 | 0.025499 | 14,824 | 214 | 88 | 69.271028 | 0.869722 | 0.031503 | 0 | 0.010582 | 1 | 0 | 0.98373 | 0.970882 | 0 | 1 | 0 | 0 | 0 | 1 | 0.005291 | false | 0 | 0.015873 | 0 | 0.021164 | 0.005291 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a208c1ab81f06a501fc4be4cc5236ea278f84a39 | 29 | py | Python | base/__init__.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | base/__init__.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | base/__init__.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | from .base_day import BaseDay | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bf5bf15a25e816b94cdfbee417e58c162f8ae277 | 1,071 | py | Python | test/test_variables_group_update_dto.py | OpenSILEX/opensilexClientToolsPython | 41b1e7e707670ecf1b2c06d79bdd9749945788cb | [
"RSA-MD"
] | null | null | null | test/test_variables_group_update_dto.py | OpenSILEX/opensilexClientToolsPython | 41b1e7e707670ecf1b2c06d79bdd9749945788cb | [
"RSA-MD"
] | 7 | 2021-05-25T14:06:04.000Z | 2021-11-05T15:42:14.000Z | test/test_variables_group_update_dto.py | OpenSILEX/opensilexClientToolsPython | 41b1e7e707670ecf1b2c06d79bdd9749945788cb | [
"RSA-MD"
] | null | null | null | # coding: utf-8
"""
OpenSilex API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: INSTANCE-SNAPSHOT
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_imp... | 26.121951 | 119 | 0.746965 | 107 | 1,071 | 7.299065 | 0.560748 | 0.053777 | 0.035851 | 0.053777 | 0.238156 | 0.238156 | 0.097311 | 0 | 0 | 0 | 0 | 0.011338 | 0.176471 | 1,071 | 40 | 120 | 26.775 | 0.87415 | 0.47619 | 0 | 0.214286 | 1 | 0 | 0.015414 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
bf60f2f62b106d13b769bcab71f6c572f479fb8d | 152 | py | Python | ex13a.py | arunkumarang/python | 1960e285dfe2ef54d2e3ab37584bfef8b24ecca9 | [
"Apache-2.0"
] | null | null | null | ex13a.py | arunkumarang/python | 1960e285dfe2ef54d2e3ab37584bfef8b24ecca9 | [
"Apache-2.0"
] | null | null | null | ex13a.py | arunkumarang/python | 1960e285dfe2ef54d2e3ab37584bfef8b24ecca9 | [
"Apache-2.0"
] | null | null | null | from sys import argv
script, name, dob = argv
#print "Your Application:", script
print "Your Name: Mr/Mrs/Ms.", name
print "Your Date of birth:", dob
| 19 | 35 | 0.703947 | 25 | 152 | 4.28 | 0.64 | 0.252336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 152 | 7 | 36 | 21.714286 | 0.849206 | 0.217105 | 0 | 0 | 0 | 0 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
bf6f3f148cd5b4889df77edf5f1ed4d374a73fa7 | 139 | py | Python | groklog/filter_manager/__init__.py | apockill/groklog | 3d7de51086851fc68dba6ae77aafd3e5274549c7 | [
"MIT"
] | 2 | 2021-07-15T02:18:56.000Z | 2022-02-01T19:33:34.000Z | groklog/filter_manager/__init__.py | apockill/groklog | 3d7de51086851fc68dba6ae77aafd3e5274549c7 | [
"MIT"
] | 1 | 2022-03-08T23:24:00.000Z | 2022-03-08T23:24:00.000Z | groklog/filter_manager/__init__.py | apockill/groklog | 3d7de51086851fc68dba6ae77aafd3e5274549c7 | [
"MIT"
] | null | null | null | from .exceptions import DuplicateFilterError, FilterError, FilterNotFoundError
from .filter_manager import ROOT_FILTER_NAME, FilterManager
| 46.333333 | 78 | 0.884892 | 14 | 139 | 8.571429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079137 | 139 | 2 | 79 | 69.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
bfb93391c82389262270b8d04437ed7202d0f0bd | 4,045 | py | Python | posts/api/views.py | nishant-sachdeva/pause | 4d149922816413fa5c06e2afe6bd7000aff110b8 | [
"MIT"
] | null | null | null | posts/api/views.py | nishant-sachdeva/pause | 4d149922816413fa5c06e2afe6bd7000aff110b8 | [
"MIT"
] | null | null | null | posts/api/views.py | nishant-sachdeva/pause | 4d149922816413fa5c06e2afe6bd7000aff110b8 | [
"MIT"
] | 1 | 2021-05-26T14:19:26.000Z | 2021-05-26T14:19:26.000Z | from rest_framework.response import Response
from login.api.serializers import RegistrationSerializer
from rest_framework.authtoken.models import Token
from rest_framework import status
from login import models
from rest_framework.views import APIView
from django.contrib.auth.models import User
from posts.models imp... | 28.687943 | 91 | 0.753523 | 538 | 4,045 | 5.488848 | 0.154275 | 0.085337 | 0.097528 | 0.083644 | 0.774467 | 0.773112 | 0.763292 | 0.720623 | 0.697257 | 0.679309 | 0 | 0.015513 | 0.139431 | 4,045 | 141 | 92 | 28.687943 | 0.832807 | 0.024969 | 0 | 0.739583 | 0 | 0 | 0.086758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052083 | false | 0 | 0.104167 | 0 | 0.40625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
44d1a825d597266e76dce8f2ca15cac08f5bcb7c | 74 | py | Python | pyrigate/utils/__init__.py | pyrigate/pyrigate | 366e33ef46ebc7928cf35f2d51ed0855c59d1a68 | [
"MIT"
] | 1 | 2018-02-03T23:22:20.000Z | 2018-02-03T23:22:20.000Z | pyrigate/utils/__init__.py | pyrigate/pyrigate | 366e33ef46ebc7928cf35f2d51ed0855c59d1a68 | [
"MIT"
] | 1 | 2018-05-12T13:55:01.000Z | 2018-05-13T00:16:23.000Z | pyrigate/utils/__init__.py | pyrigate/pyrigate | 366e33ef46ebc7928cf35f2d51ed0855c59d1a68 | [
"MIT"
] | 1 | 2019-10-18T12:23:02.000Z | 2019-10-18T12:23:02.000Z | from .printing import print_dict, print_list, print_columns # noqa: F401
| 37 | 73 | 0.797297 | 11 | 74 | 5.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.135135 | 74 | 1 | 74 | 74 | 0.828125 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
44e6a269ad74f7d54605ec4a03f0ddf99db408c8 | 45 | py | Python | info/modules/__init__.py | m17630030204/flask_project | b3810a8ba56781061e91a61422581c48aaebf57e | [
"MIT"
] | null | null | null | info/modules/__init__.py | m17630030204/flask_project | b3810a8ba56781061e91a61422581c48aaebf57e | [
"MIT"
] | 4 | 2021-03-18T21:48:16.000Z | 2022-03-11T23:37:14.000Z | info/modules/__init__.py | m17630030204/flask_project | b3810a8ba56781061e91a61422581c48aaebf57e | [
"MIT"
] | null | null | null | # 该模块是用于保存当前项目所有的业务逻辑模块,比如首页,新闻详情页,个人中心,后天管理q | 45 | 45 | 0.866667 | 5 | 45 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 45 | 1 | 45 | 45 | 0.886364 | 0.955556 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
781a63ff3f57acfbbb5a48bb5bd453d08a83e3d9 | 2,811 | py | Python | ch20/EmulateZipMap.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2020-10-12T13:33:29.000Z | 2020-10-12T13:33:29.000Z | ch20/EmulateZipMap.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | null | null | null | ch20/EmulateZipMap.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2016-11-09T07:28:45.000Z | 2016-11-09T07:28:45.000Z | #!/usr/bin/python3.3
S1 = 'abc'
S2 = 'xyz123'
z = zip(S1, S2)
print(list(z))
print(list(zip([1, 2, 3], [2, 3, 4, 5])))
print(list(map(abs, [-2, -1, 0, 1, 2])))
print(list(map(pow, [1, 2, 3], [2, 3, 4, 5])))
print(list(map(lambda x, y: x+y, open('script2.py'), open('script2.py'))))
print([x+y for (x, y) in zip(ope... | 23.822034 | 83 | 0.55603 | 537 | 2,811 | 2.910615 | 0.115456 | 0.126679 | 0.053743 | 0.028151 | 0.846449 | 0.818298 | 0.761356 | 0.735125 | 0.683941 | 0.680102 | 0 | 0.065059 | 0.218072 | 2,811 | 117 | 84 | 24.025641 | 0.646042 | 0.006759 | 0 | 0.604938 | 0 | 0 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.148148 | false | 0 | 0 | 0.024691 | 0.246914 | 0.37037 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
781c48daadaa4ebc55dbe1ed19ed692f0e6746a9 | 94 | py | Python | certidude/api/utils/__init__.py | Korving-F/certidude | 6e50c85c8587d3e800d01ce1d1588965c29b2c46 | [
"MIT"
] | 119 | 2015-07-12T20:04:30.000Z | 2021-11-24T17:25:33.000Z | certidude/api/utils/__init__.py | Korving-F/certidude | 6e50c85c8587d3e800d01ce1d1588965c29b2c46 | [
"MIT"
] | 60 | 2015-07-27T06:43:08.000Z | 2021-02-03T04:13:05.000Z | certidude/api/utils/__init__.py | Korving-F/certidude | 6e50c85c8587d3e800d01ce1d1588965c29b2c46 | [
"MIT"
] | 36 | 2015-07-30T00:09:02.000Z | 2022-01-27T18:00:07.000Z | class AuthorityHandler:
def __init__(self, authority):
self.authority = authority
| 23.5 | 34 | 0.712766 | 9 | 94 | 7 | 0.666667 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 94 | 3 | 35 | 31.333333 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
784b36fe0394d9acc970d2ceb450b722ba5aed5a | 280 | py | Python | ETCetera/exceptions/nonlinear_systems_exceptions/LP_exceptions.py | ggleizer/ETCetera | 8fa9f3c82fd1944507a0c02d52a236244821f3ca | [
"MIT"
] | null | null | null | ETCetera/exceptions/nonlinear_systems_exceptions/LP_exceptions.py | ggleizer/ETCetera | 8fa9f3c82fd1944507a0c02d52a236244821f3ca | [
"MIT"
] | null | null | null | ETCetera/exceptions/nonlinear_systems_exceptions/LP_exceptions.py | ggleizer/ETCetera | 8fa9f3c82fd1944507a0c02d52a236244821f3ca | [
"MIT"
] | 1 | 2022-03-11T11:15:20.000Z | 2022-03-11T11:15:20.000Z | class LPGeneralException(Exception):
"""Raised when generic exceptions when using 'LPData' class"""
def __init__(self, msg):
self.msg = msg
class LPOptimizationFailedException(Exception):
"""Raised when optimization fails when using LPData class"""
pass
| 28 | 66 | 0.717857 | 30 | 280 | 6.566667 | 0.566667 | 0.152284 | 0.192893 | 0.203046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189286 | 280 | 9 | 67 | 31.111111 | 0.867841 | 0.396429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
784bbfde5525fb086fe7287922a911fb4e29f4c3 | 235 | py | Python | rexfw/test/cases/proposers/params.py | simeoncarstens/rexfw | b31e17a77767cd1357407a0343fb74d9c3247b16 | [
"Unlicense",
"MIT"
] | null | null | null | rexfw/test/cases/proposers/params.py | simeoncarstens/rexfw | b31e17a77767cd1357407a0343fb74d9c3247b16 | [
"Unlicense",
"MIT"
] | 7 | 2021-01-22T13:37:49.000Z | 2021-03-05T15:27:44.000Z | rexfw/test/cases/proposers/params.py | tweag/rexfw | b31e17a77767cd1357407a0343fb74d9c3247b16 | [
"Unlicense",
"MIT"
] | 1 | 2021-01-07T14:37:22.000Z | 2021-01-07T14:37:22.000Z | '''
'''
from rexfw.proposers.params import AbstractProposerParams
class MockProposerParams(AbstractProposerParams):
def __init__(self):
self.reverse_events = 0
def reverse(self):
self.reverse_events += 1
| 14.6875 | 57 | 0.697872 | 23 | 235 | 6.869565 | 0.652174 | 0.101266 | 0.189873 | 0.265823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.208511 | 235 | 15 | 58 | 15.666667 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
78a564ce5a42df6154fe0bb1b2c9bf6485415b96 | 18,204 | py | Python | models/develset/src/utils/levelset_utils.py | phdyang007/pytorch-CycleGAN-and-pix2pix | 8057392a37d47a17ac0e8f7cc4642bec86bf2e43 | [
"BSD-3-Clause"
] | 1 | 2022-01-26T00:45:06.000Z | 2022-01-26T00:45:06.000Z | models/develset/src/utils/levelset_utils.py | phdyang007/pytorch-CycleGAN-and-pix2pix | 8057392a37d47a17ac0e8f7cc4642bec86bf2e43 | [
"BSD-3-Clause"
] | null | null | null | models/develset/src/utils/levelset_utils.py | phdyang007/pytorch-CycleGAN-and-pix2pix | 8057392a37d47a17ac0e8f7cc4642bec86bf2e43 | [
"BSD-3-Clause"
] | null | null | null | '''
Author: Guojin Chen @ CUHK-CSE
Homepage: https://dekura.github.io/
Date: 2020-12-25 17:52:17
LastEditTime: 2021-04-16 13:14:40
Contact: cgjhaha@qq.com
Description: the utils to calculate levelset parameters
Input:
target
Output:
levelset params
'''
import os
import sys
sys.path.append('/home/guojin/projec... | 52.918605 | 208 | 0.652769 | 3,135 | 18,204 | 3.474641 | 0.077193 | 0.156798 | 0.123198 | 0.147434 | 0.791793 | 0.763793 | 0.739649 | 0.719453 | 0.713119 | 0.704489 | 0 | 0.046016 | 0.150022 | 18,204 | 344 | 209 | 52.918605 | 0.657985 | 0.091903 | 0 | 0.515748 | 0 | 0 | 0.013369 | 0.007973 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043307 | false | 0 | 0.043307 | 0 | 0.129921 | 0.011811 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
15477fe6c4b1e15106526403b212e4c52a8629ce | 80 | py | Python | kqueen/storages/exceptions.py | LaudateCorpus1/kqueen | 8841c069bb5a53ae18affc0222356956220bbd47 | [
"MIT"
] | 140 | 2017-09-28T06:07:40.000Z | 2022-01-17T09:10:39.000Z | kqueen/storages/exceptions.py | LaudateCorpus1/kqueen | 8841c069bb5a53ae18affc0222356956220bbd47 | [
"MIT"
] | 128 | 2017-09-26T06:51:30.000Z | 2018-10-11T13:15:13.000Z | kqueen/storages/exceptions.py | LaudateCorpus1/kqueen | 8841c069bb5a53ae18affc0222356956220bbd47 | [
"MIT"
] | 39 | 2017-10-02T13:57:19.000Z | 2021-11-30T05:30:52.000Z | class BackendError(Exception):
pass
class FieldError(Exception):
pass
| 11.428571 | 30 | 0.725 | 8 | 80 | 7.25 | 0.625 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 80 | 6 | 31 | 13.333333 | 0.90625 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1552d6f949aa86b82ed0d04812ecbee141ac3c77 | 1,339 | py | Python | src/jk_pathpatternmatcher2/ILocalDiskIOAdapter.py | jkpubsrc/python-module-jk-pathpatternmatcher2 | a46535bfb3ecb1ffac7ee1c7a71d275e76bf83de | [
"Apache-1.1"
] | null | null | null | src/jk_pathpatternmatcher2/ILocalDiskIOAdapter.py | jkpubsrc/python-module-jk-pathpatternmatcher2 | a46535bfb3ecb1ffac7ee1c7a71d275e76bf83de | [
"Apache-1.1"
] | null | null | null | src/jk_pathpatternmatcher2/ILocalDiskIOAdapter.py | jkpubsrc/python-module-jk-pathpatternmatcher2 | a46535bfb3ecb1ffac7ee1c7a71d275e76bf83de | [
"Apache-1.1"
] | null | null | null |
import os
from .IWalkIOAdapter import IWalkIOAdapter
class ILocalDiskIOAdapter(IWalkIOAdapter):
################################################################################################################################
## Constructor
###############################################################... | 26.78 | 129 | 0.154593 | 28 | 1,339 | 7.392857 | 0.642857 | 0.096618 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06348 | 1,339 | 49 | 130 | 27.326531 | 0.165072 | 0.044063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.285714 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
155eda9348c40df42ab83b3ab628d6e0c9801f79 | 2,603 | py | Python | openpose/core/backbone.py | calmisential/Pose_Estimation | f3546fcfdc81ef60708fbda5fc1eb499679fff2f | [
"MIT"
] | null | null | null | openpose/core/backbone.py | calmisential/Pose_Estimation | f3546fcfdc81ef60708fbda5fc1eb499679fff2f | [
"MIT"
] | null | null | null | openpose/core/backbone.py | calmisential/Pose_Estimation | f3546fcfdc81ef60708fbda5fc1eb499679fff2f | [
"MIT"
] | null | null | null | import tensorflow as tf
class VGG(tf.keras.layers.Layer):
def __init__(self):
super(VGG, self).__init__()
self.conv1 = tf.keras.layers.Conv2D(filters=64, kernel_size=3, strides=1, padding="same",
activation=tf.keras.activations.relu)
self.conv2 =... | 45.666667 | 99 | 0.55436 | 317 | 2,603 | 4.48265 | 0.164038 | 0.118227 | 0.128079 | 0.133709 | 0.757213 | 0.757213 | 0.757213 | 0.757213 | 0.757213 | 0.757213 | 0 | 0.055336 | 0.319631 | 2,603 | 57 | 100 | 45.666667 | 0.747036 | 0 | 0 | 0.227273 | 0 | 0 | 0.015361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068182 | false | 0 | 0.022727 | 0.022727 | 0.159091 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1570e63329ffc460ae60eecbacf580882e034c34 | 96 | py | Python | marcotti/etl/base/__init__.py | soccermetrics/marcotti | eda2f19bd6cbc6f9c7482e8fe31b2233b33aacfd | [
"MIT"
] | 30 | 2015-11-23T07:51:54.000Z | 2020-06-29T16:11:55.000Z | marcotti/etl/base/__init__.py | soccermetrics/marcotti | eda2f19bd6cbc6f9c7482e8fe31b2233b33aacfd | [
"MIT"
] | 1 | 2016-06-26T18:44:47.000Z | 2016-06-29T03:02:40.000Z | marcotti/etl/base/__init__.py | soccermetrics/marcotti | eda2f19bd6cbc6f9c7482e8fe31b2233b33aacfd | [
"MIT"
] | 8 | 2016-01-13T12:23:16.000Z | 2021-10-11T07:39:33.000Z | from workflows import ETL
from transform import MarcottiTransform
from load import MarcottiLoad
| 24 | 39 | 0.875 | 12 | 96 | 7 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 3 | 40 | 32 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1581f9ed41496472ad5cffe420879b2dcae70db7 | 1,368 | py | Python | moonrock/sites/localhost/helper.py | ToyokoLabs/moonrock | abd5de575713796d9b19a48fa447cdd7cef520cc | [
"BSD-2-Clause"
] | null | null | null | moonrock/sites/localhost/helper.py | ToyokoLabs/moonrock | abd5de575713796d9b19a48fa447cdd7cef520cc | [
"BSD-2-Clause"
] | null | null | null | moonrock/sites/localhost/helper.py | ToyokoLabs/moonrock | abd5de575713796d9b19a48fa447cdd7cef520cc | [
"BSD-2-Clause"
] | null | null | null | """
Constants and methods used in testing
"""
class Colors():
WHITE = 'rgba(255, 255, 255, 1)'
RED_ERROR = 'rgba(220, 53, 69, 1)'
users = {
'valid_user': {'first_name':'Shinji',
'last_name': 'Ikari',
'user_name': 'sikari',
'address1': '123 Main St.',
... | 30.4 | 50 | 0.427632 | 120 | 1,368 | 4.658333 | 0.416667 | 0.064401 | 0.080501 | 0.101968 | 0.760286 | 0.760286 | 0.710197 | 0.710197 | 0.710197 | 0.710197 | 0 | 0.115528 | 0.41155 | 1,368 | 44 | 51 | 31.090909 | 0.578882 | 0.027047 | 0 | 0.684211 | 0 | 0 | 0.418745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.078947 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
159bdc25900365d40e806718a99eecde1d03e191 | 39 | py | Python | asynchronous_qiwi/models/QIWIWallet/restrictions_m/__init__.py | LexLuthorReal/asynchronous_qiwi | 5847a8d4008493656e973e5283888a4e57234962 | [
"MIT"
] | 3 | 2021-05-20T02:36:30.000Z | 2021-11-28T16:00:15.000Z | asynchronous_qiwi/models/QIWIWallet/restrictions_m/__init__.py | LexLuthorReal/asynchronous_qiwi | 5847a8d4008493656e973e5283888a4e57234962 | [
"MIT"
] | null | null | null | asynchronous_qiwi/models/QIWIWallet/restrictions_m/__init__.py | LexLuthorReal/asynchronous_qiwi | 5847a8d4008493656e973e5283888a4e57234962 | [
"MIT"
] | 1 | 2021-11-28T16:00:20.000Z | 2021-11-28T16:00:20.000Z | from .restrictions import Restrictions
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
15a81d5059cb095d0ec8a330a0f78c0469ad23ba | 60 | py | Python | PDA/extra_assignments/5.7. Strings_ Remove fragment/main.py | EMbeDS-education/StatsAndComputing20212022 | 971e418882b206a1b5606d15d222cef1a5a04834 | [
"MIT"
] | 2 | 2022-02-24T09:35:15.000Z | 2022-03-14T20:34:33.000Z | PDA/extra_assignments/5.C. Strings_ Delete every third character/main.py | GeorgiosArg/StatsAndComputing20212022 | 798d39af6aa5ef5eef49d5d6f43191351e8a49f3 | [
"MIT"
] | null | null | null | PDA/extra_assignments/5.C. Strings_ Delete every third character/main.py | GeorgiosArg/StatsAndComputing20212022 | 798d39af6aa5ef5eef49d5d6f43191351e8a49f3 | [
"MIT"
] | 2 | 2022-03-15T21:40:35.000Z | 2022-03-26T14:51:31.000Z | # Read a string:
# s = input()
# Print a string:
# print(s)
| 12 | 17 | 0.583333 | 10 | 60 | 3.5 | 0.6 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 60 | 4 | 18 | 15 | 0.76087 | 0.85 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ec8f49d9a95b272bcd346b5f8a741100008e6e82 | 25,492 | py | Python | xintesis/template/project.py | J41R0/Xintesis | 022f23d0e54f1566de5114d9b142ef99e4f903a0 | [
"MIT"
] | 1 | 2020-10-12T01:08:40.000Z | 2020-10-12T01:08:40.000Z | xintesis/template/project.py | J41R0/Xintesis | 022f23d0e54f1566de5114d9b142ef99e4f903a0 | [
"MIT"
] | null | null | null | xintesis/template/project.py | J41R0/Xintesis | 022f23d0e54f1566de5114d9b142ef99e4f903a0 | [
"MIT"
] | null | null | null | __author__ = 'J41R0'
from jinja2 import Environment
project_template = """
# default imports
from flask import Blueprint, request, send_file, jsonify
from flask_restplus import Api, Resource, reqparse
from flask_jwt_extended import jwt_optional, jwt_required, decode_token, create_access_token, create_refresh_token
fr... | 57.544018 | 315 | 0.621999 | 2,932 | 25,492 | 5.151432 | 0.075375 | 0.110169 | 0.075477 | 0.095339 | 0.763506 | 0.738546 | 0.728085 | 0.697365 | 0.677767 | 0.650424 | 0 | 0.012006 | 0.225639 | 25,492 | 442 | 316 | 57.674208 | 0.753141 | 0.009572 | 0 | 0.506297 | 0 | 0.13602 | 0.981102 | 0.42423 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002519 | false | 0.010076 | 0.02267 | 0 | 0.128463 | 0.005038 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eca32162796912b661ede687c7e4a88256a4bbcb | 302 | py | Python | tests/test_code/py/chained/chained.py | FreddyZeng/code2flow | 37e45ca4340289f8ceec79b3fe5131c401387c58 | [
"MIT"
] | 2,248 | 2015-01-13T21:44:22.000Z | 2022-03-31T07:55:22.000Z | tests/test_code/py/chained/chained.py | FreddyZeng/code2flow | 37e45ca4340289f8ceec79b3fe5131c401387c58 | [
"MIT"
] | 44 | 2015-04-09T18:37:01.000Z | 2022-03-25T19:56:11.000Z | tests/test_code/py/chained/chained.py | FreddyZeng/code2flow | 37e45ca4340289f8ceec79b3fe5131c401387c58 | [
"MIT"
] | 220 | 2015-02-02T06:35:09.000Z | 2022-03-31T09:21:09.000Z | class Chain():
def __init__(self, val):
self.val = val
def add(self, b):
self.val += b
return self
def sub(self, b):
self.val -= b
return self
def mul(self, b):
self.val *= b
return self
print(Chain(5).add(5).sub(2).mul(10))
| 15.894737 | 37 | 0.493377 | 45 | 302 | 3.222222 | 0.333333 | 0.241379 | 0.186207 | 0.248276 | 0.517241 | 0.517241 | 0.517241 | 0.358621 | 0 | 0 | 0 | 0.026042 | 0.364238 | 302 | 18 | 38 | 16.777778 | 0.729167 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0 | 0.615385 | 0.076923 | 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 | 0 | 1 | 0 | 0 | 5 |
01b2e89093dbbe3af6dd3eb3df94f1758a68e244 | 85 | py | Python | recipe-bot.py | omedjaouri/recipe-bot | 6fb1766153dd9060ad99ecdee4a7f1754dacfec1 | [
"MIT"
] | null | null | null | recipe-bot.py | omedjaouri/recipe-bot | 6fb1766153dd9060ad99ecdee4a7f1754dacfec1 | [
"MIT"
] | null | null | null | recipe-bot.py | omedjaouri/recipe-bot | 6fb1766153dd9060ad99ecdee4a7f1754dacfec1 | [
"MIT"
] | null | null | null | import os
from app import app
#Run the app
if __name__ == "__main__":
app.run()
| 12.142857 | 26 | 0.670588 | 14 | 85 | 3.5 | 0.642857 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223529 | 85 | 6 | 27 | 14.166667 | 0.742424 | 0.129412 | 0 | 0 | 0 | 0 | 0.109589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
01b60af23f996aebd1236e194d6033949c5c6849 | 79 | py | Python | django-rgd-3d/rgd_3d/models/__init__.py | ResonantGeoData/ResonantGeoData | 72b3d4085cc5700d0ad5556f31b7eb96ed2d3b8a | [
"Apache-2.0"
] | 40 | 2020-05-07T17:15:26.000Z | 2022-02-27T14:45:04.000Z | django-rgd-3d/rgd_3d/models/__init__.py | ResonantGeoData/ResonantGeoData | 72b3d4085cc5700d0ad5556f31b7eb96ed2d3b8a | [
"Apache-2.0"
] | 408 | 2020-05-07T15:10:35.000Z | 2022-03-30T03:08:47.000Z | django-rgd-3d/rgd_3d/models/__init__.py | ResonantGeoData/ResonantGeoData | 72b3d4085cc5700d0ad5556f31b7eb96ed2d3b8a | [
"Apache-2.0"
] | 3 | 2021-04-12T20:16:22.000Z | 2021-06-22T14:03:46.000Z | from .point_cloud import PointCloud, PointCloudMeta, PointCloudSpatial # noqa
| 39.5 | 78 | 0.835443 | 8 | 79 | 8.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 79 | 1 | 79 | 79 | 0.928571 | 0.050633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bf01fc495168a8a03c3dc566600255af2fdad270 | 261 | py | Python | code/plots/config.py | geovanecomp/Masters-Degree | 6e816431f76abe576e75013e40fccf8928804a15 | [
"MIT"
] | null | null | null | code/plots/config.py | geovanecomp/Masters-Degree | 6e816431f76abe576e75013e40fccf8928804a15 | [
"MIT"
] | null | null | null | code/plots/config.py | geovanecomp/Masters-Degree | 6e816431f76abe576e75013e40fccf8928804a15 | [
"MIT"
] | null | null | null | """Common configs for plots"""
class Base():
font = {
'family': 'Times New Roman',
'size': 16,
}
class Legend(Base):
font = {**Base.font, 'weight': 'bold'}
class Tick(Base):
font = {**Base.font, 'size': 12}
| 15.352941 | 42 | 0.48659 | 29 | 261 | 4.37931 | 0.62069 | 0.314961 | 0.188976 | 0.251969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022599 | 0.321839 | 261 | 16 | 43 | 16.3125 | 0.694915 | 0.091954 | 0 | 0 | 0 | 0 | 0.168831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
bf0e635706dc0f0d8f5bd4a7ee53fda9aa672b95 | 205 | py | Python | jolla/__init__.py | Agent-Hellboy/jolla | 4aab9850c4ad88e23b7815cdf52c9ce149d299b9 | [
"Apache-2.0"
] | null | null | null | jolla/__init__.py | Agent-Hellboy/jolla | 4aab9850c4ad88e23b7815cdf52c9ce149d299b9 | [
"Apache-2.0"
] | null | null | null | jolla/__init__.py | Agent-Hellboy/jolla | 4aab9850c4ad88e23b7815cdf52c9ce149d299b9 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .server import WebApp, jolla_server, RouteError, RequestError, RequestValueError
from .plugins import *
from .HTTPerror import *
from .session import *
| 22.777778 | 85 | 0.736585 | 25 | 205 | 6 | 0.72 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0.141463 | 205 | 8 | 86 | 25.625 | 0.846591 | 0.204878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bf25dfd3268314acafa1238c2895d9310571440f | 151 | py | Python | spaced_repetition/gateways/django_gateway/django_project/apps/problem/admin.py | MBlistein/spaced-repetition | c10281d43e928f8d1799076190f962f8e49a405b | [
"MIT"
] | null | null | null | spaced_repetition/gateways/django_gateway/django_project/apps/problem/admin.py | MBlistein/spaced-repetition | c10281d43e928f8d1799076190f962f8e49a405b | [
"MIT"
] | null | null | null | spaced_repetition/gateways/django_gateway/django_project/apps/problem/admin.py | MBlistein/spaced-repetition | c10281d43e928f8d1799076190f962f8e49a405b | [
"MIT"
] | null | null | null | """ Register models here for visibility in admin view"""
from django.contrib import admin
from .models import Problem
admin.site.register(Problem)
| 16.777778 | 56 | 0.774834 | 21 | 151 | 5.571429 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145695 | 151 | 8 | 57 | 18.875 | 0.906977 | 0.324503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1766f3ab568db1f5ec6c13355edf72fef8172976 | 2,690 | py | Python | tests/request_sender_test.py | duongntbk/urchintai_client | 3a99db9348e970be28301f154fe67d724a6557f9 | [
"MIT"
] | null | null | null | tests/request_sender_test.py | duongntbk/urchintai_client | 3a99db9348e970be28301f154fe67d724a6557f9 | [
"MIT"
] | null | null | null | tests/request_sender_test.py | duongntbk/urchintai_client | 3a99db9348e970be28301f154fe67d724a6557f9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from unittest.mock import Mock
import pytest
from urchintai_client.request_sender import RequestSender
@pytest.mark.asyncio
async def test_should_return_content_if_post_ok():
'''
Test sending HTTP request using POST without error
'''
# Arrange
url = 'http://example.com'
... | 23.596491 | 96 | 0.679926 | 334 | 2,690 | 5.251497 | 0.221557 | 0.082098 | 0.038769 | 0.050171 | 0.842645 | 0.842645 | 0.842645 | 0.752566 | 0.696693 | 0.696693 | 0 | 0.006241 | 0.225651 | 2,690 | 113 | 97 | 23.80531 | 0.835814 | 0.036059 | 0 | 0.631579 | 0 | 0 | 0.124839 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 1 | 0.017544 | false | 0.017544 | 0.052632 | 0 | 0.122807 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
179d63c31db3d56282949d21ed51d7be954d76bc | 38 | py | Python | crawlib/tests/dummy_site/config.py | MacHu-GWU/crawlib-project | b2963b7f6a36ee7f1ef95a6bf9d8cb746d9da991 | [
"MIT"
] | 1 | 2020-06-19T09:45:20.000Z | 2020-06-19T09:45:20.000Z | crawlib/tests/dummy_site/config.py | MacHu-GWU/crawlib-project | b2963b7f6a36ee7f1ef95a6bf9d8cb746d9da991 | [
"MIT"
] | 1 | 2019-12-27T18:41:21.000Z | 2019-12-27T18:41:21.000Z | crawlib/tests/dummy_site/config.py | MacHu-GWU/crawlib-project | b2963b7f6a36ee7f1ef95a6bf9d8cb746d9da991 | [
"MIT"
] | 1 | 2018-08-22T01:27:32.000Z | 2018-08-22T01:27:32.000Z | # -*- coding: utf-8 -*-
PORT = 58461
| 9.5 | 23 | 0.5 | 5 | 38 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0.236842 | 38 | 3 | 24 | 12.666667 | 0.448276 | 0.552632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
179e1ac32a8b8a2457afbd20b8a1c0c00b09e0d3 | 262 | py | Python | delete_db.py | revalo/hush.mit.edu | e47c28c934dcfb94c52f6e12367869389e8ed7a8 | [
"MIT"
] | 21 | 2017-10-30T20:55:48.000Z | 2021-09-03T14:06:58.000Z | delete_db.py | revalo/hush.mit.edu | e47c28c934dcfb94c52f6e12367869389e8ed7a8 | [
"MIT"
] | 1 | 2021-11-08T02:05:34.000Z | 2021-11-08T06:54:41.000Z | delete_db.py | revalo/hush.mit.edu | e47c28c934dcfb94c52f6e12367869389e8ed7a8 | [
"MIT"
] | 3 | 2017-11-15T23:18:00.000Z | 2018-01-01T06:44:03.000Z | if __name__ == '__main__':
from confess.models import db
from confess.models.post import Post
from confess.models.vote import Vote
if raw_input('r u sure? ') == 'y':
Vote.query.delete()
Post.query.delete()
db.session.commit() | 29.111111 | 40 | 0.641221 | 36 | 262 | 4.416667 | 0.555556 | 0.207547 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236641 | 262 | 9 | 41 | 29.111111 | 0.795 | 0 | 0 | 0 | 0 | 0 | 0.072243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bd68b3f696d1db8f0dc01b755678f9dbb03d4767 | 105 | py | Python | qcdb/iface_cfour/__init__.py | vivacebelles/qcdb | 5bbdcb5c833277647a36bb0a5982abb56bf29b20 | [
"BSD-3-Clause"
] | 1 | 2019-02-20T20:18:02.000Z | 2019-02-20T20:18:02.000Z | qcdb/iface_cfour/__init__.py | vivacebelles/qcdb | 5bbdcb5c833277647a36bb0a5982abb56bf29b20 | [
"BSD-3-Clause"
] | null | null | null | qcdb/iface_cfour/__init__.py | vivacebelles/qcdb | 5bbdcb5c833277647a36bb0a5982abb56bf29b20 | [
"BSD-3-Clause"
] | null | null | null | from .runner import run_cfour
from .harvester import cfour_list, cfour_gradient_list, cfour_hessian_list
| 35 | 74 | 0.866667 | 16 | 105 | 5.3125 | 0.5625 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 105 | 2 | 75 | 52.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bd789b124be99ba7ae57e62a45507ab9c1c207e8 | 150 | py | Python | penin/bootstrap.py | fabaff/penin | 6a93984357b4478907746225bfadea0bfc8b681c | [
"Apache-2.0"
] | 4 | 2019-06-04T04:14:42.000Z | 2021-04-02T17:25:28.000Z | penin/bootstrap.py | fabaff/penin | 6a93984357b4478907746225bfadea0bfc8b681c | [
"Apache-2.0"
] | null | null | null | penin/bootstrap.py | fabaff/penin | 6a93984357b4478907746225bfadea0bfc8b681c | [
"Apache-2.0"
] | null | null | null | """Load the PenIn framework."""
from penin.controllers.base import Base
def load(app):
"""Load the framework."""
app.handler.register(Base)
| 18.75 | 39 | 0.686667 | 20 | 150 | 5.15 | 0.6 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 150 | 7 | 40 | 21.428571 | 0.81746 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bdcf493d16d58f4853727bf971409fe31f18bc7b | 113 | py | Python | filmoteca_api/admin.py | NelsonPenagos/filmoteca-app-api | 01d18a13fdb5a703c1fa07305df147668cead4c0 | [
"MIT"
] | null | null | null | filmoteca_api/admin.py | NelsonPenagos/filmoteca-app-api | 01d18a13fdb5a703c1fa07305df147668cead4c0 | [
"MIT"
] | null | null | null | filmoteca_api/admin.py | NelsonPenagos/filmoteca-app-api | 01d18a13fdb5a703c1fa07305df147668cead4c0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from filmoteca_api.models.movie_models import Movie
admin.site.register(Movie)
| 22.6 | 51 | 0.849558 | 17 | 113 | 5.529412 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088496 | 113 | 4 | 52 | 28.25 | 0.912621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bdda93b1bada4f564c2d0870ea9c181124897cea | 119 | py | Python | 00_Introduction/hello.py | sreecodeslayer/python3-tutorial | 399489ebe28a59bb9c10ac2cce7c64604d77c635 | [
"MIT"
] | null | null | null | 00_Introduction/hello.py | sreecodeslayer/python3-tutorial | 399489ebe28a59bb9c10ac2cce7c64604d77c635 | [
"MIT"
] | null | null | null | 00_Introduction/hello.py | sreecodeslayer/python3-tutorial | 399489ebe28a59bb9c10ac2cce7c64604d77c635 | [
"MIT"
] | null | null | null | # Hello world
'''
We will use this file to write our first statement in Python
Pretty simple:
print('Hello world')
''' | 17 | 60 | 0.722689 | 19 | 119 | 4.526316 | 0.894737 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 119 | 7 | 61 | 17 | 0.877551 | 0.92437 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bdef729803104fa8b18ef4112d2e114eddc8a0c0 | 723 | py | Python | tests/luna_pathology/cli/test_collect_tile_segment.py | msk-mind-apps/luna-pathology | f0e17ccfeb3dc93de150aed5bbef9fcd7443d6d0 | [
"Apache-2.0"
] | null | null | null | tests/luna_pathology/cli/test_collect_tile_segment.py | msk-mind-apps/luna-pathology | f0e17ccfeb3dc93de150aed5bbef9fcd7443d6d0 | [
"Apache-2.0"
] | 3 | 2021-07-21T20:28:37.000Z | 2021-08-02T18:52:32.000Z | tests/luna_pathology/cli/test_collect_tile_segment.py | msk-mind-apps/luna-pathology | f0e17ccfeb3dc93de150aed5bbef9fcd7443d6d0 | [
"Apache-2.0"
] | null | null | null | from click.testing import CliRunner
from luna_pathology.cli.collect_tile_segment import cli
import shutil, os
# @todo FIX: https://github.com/msk-mind-apps/luna-core/blob/main/luna_core/common/DataStore.py#L17
# def test_cli():
#
# runner = CliRunner()
# result = runner.invoke(cli, [
# '-a', 'tests/lu... | 34.428571 | 108 | 0.704011 | 101 | 723 | 4.871287 | 0.564356 | 0.132114 | 0.162602 | 0.170732 | 0.341463 | 0.223577 | 0.223577 | 0.223577 | 0.223577 | 0.223577 | 0 | 0.017742 | 0.142462 | 723 | 20 | 109 | 36.15 | 0.775806 | 0.80083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
da296efeece27ac6de4735fd08c828e286a248b0 | 29 | py | Python | src/GameTools/Tools/__init__.py | spidertyler2005/GameTools | f64a8ec0ebb4a357e04b90317136853d831d3553 | [
"MIT"
] | 1 | 2021-06-07T18:33:09.000Z | 2021-06-07T18:33:09.000Z | src/GameTools/Tools/__init__.py | spidertyler2005/GameTools | f64a8ec0ebb4a357e04b90317136853d831d3553 | [
"MIT"
] | null | null | null | src/GameTools/Tools/__init__.py | spidertyler2005/GameTools | f64a8ec0ebb4a357e04b90317136853d831d3553 | [
"MIT"
] | null | null | null | from . import Messaging,Math | 29 | 29 | 0.793103 | 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 | 0 | 0 | 0 | 5 |
da612f7db7fc0a0c1df66ca00f63f5eb10fd53ec | 10,389 | py | Python | tests/test_element_input.py | mate-code/alfred | e687e9318ecefe3a49565027841ca8d910647978 | [
"MIT"
] | 9 | 2020-05-11T08:13:12.000Z | 2022-01-20T11:35:14.000Z | tests/test_element_input.py | mate-code/alfred | e687e9318ecefe3a49565027841ca8d910647978 | [
"MIT"
] | 77 | 2019-02-22T07:34:58.000Z | 2022-02-23T15:32:34.000Z | tests/test_element_input.py | mate-code/alfred | e687e9318ecefe3a49565027841ca8d910647978 | [
"MIT"
] | 6 | 2020-11-11T16:51:04.000Z | 2022-02-21T10:29:02.000Z | import pytest
import alfred3 as al
import alfred3.element.input as inp
from alfred3.exceptions import AlfredError
from alfred3.testutil import get_exp_session, clear_db
@pytest.fixture
def exp(tmp_path):
script = "tests/res/script-hello_world.py"
secrets = "tests/res/secrets-default.conf"
exp = get_exp_se... | 29.019553 | 99 | 0.620753 | 1,249 | 10,389 | 5.005604 | 0.115292 | 0.191779 | 0.067179 | 0.086372 | 0.788708 | 0.770633 | 0.756238 | 0.739763 | 0.666987 | 0.629559 | 0 | 0.011436 | 0.234094 | 10,389 | 358 | 100 | 29.019553 | 0.774287 | 0.074694 | 0 | 0.605381 | 0 | 0 | 0.080467 | 0.006358 | 0 | 0 | 0 | 0 | 0.179372 | 1 | 0.134529 | false | 0.067265 | 0.022422 | 0 | 0.215247 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
da645a8124fa6fdddb3cff05ed8dca35314eb6e0 | 68 | py | Python | src/hommmer/features/lag.py | hammer-mt/hommmer | a02cb87841395f30911242a019f28f6ac15f27ec | [
"MIT"
] | 4 | 2021-11-09T21:27:30.000Z | 2021-11-23T00:38:20.000Z | src/hommmer/features/lag.py | hammer-mt/hommmer | a02cb87841395f30911242a019f28f6ac15f27ec | [
"MIT"
] | null | null | null | src/hommmer/features/lag.py | hammer-mt/hommmer | a02cb87841395f30911242a019f28f6ac15f27ec | [
"MIT"
] | null | null | null | def lag(series, periods):
return series.shift(periods).fillna(0) | 34 | 42 | 0.735294 | 10 | 68 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.117647 | 68 | 2 | 42 | 34 | 0.816667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
da7b4ec5e8fd5c5a3badd06f5f15138375590cb7 | 38 | py | Python | napari/layers/_labels_layer/view/__init__.py | donovanr/napari | 580b5eab8cc40af53aef780a65adb9216d968a32 | [
"BSD-3-Clause"
] | null | null | null | napari/layers/_labels_layer/view/__init__.py | donovanr/napari | 580b5eab8cc40af53aef780a65adb9216d968a32 | [
"BSD-3-Clause"
] | null | null | null | napari/layers/_labels_layer/view/__init__.py | donovanr/napari | 580b5eab8cc40af53aef780a65adb9216d968a32 | [
"BSD-3-Clause"
] | null | null | null | from .properties import QtLabelsLayer
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 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 | 0 | 0 | 0 | 5 |
da8802574c1434018bce5d57980a18f8fec7437e | 118 | py | Python | backend/db_update.py | VidithM/goto-music | 5e0901f46d0e82a6ca01025b766f87fe88e857d5 | [
"MIT"
] | null | null | null | backend/db_update.py | VidithM/goto-music | 5e0901f46d0e82a6ca01025b766f87fe88e857d5 | [
"MIT"
] | null | null | null | backend/db_update.py | VidithM/goto-music | 5e0901f46d0e82a6ca01025b766f87fe88e857d5 | [
"MIT"
] | null | null | null | def push(db, id, start):
curr = db.child('songs').get().val()
curr[id] = start
db.child('songs').set(curr) | 29.5 | 40 | 0.576271 | 19 | 118 | 3.578947 | 0.578947 | 0.205882 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 118 | 4 | 41 | 29.5 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.084034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
16f1a4618ff34f7853cbcf600950459863f51d24 | 130 | py | Python | codes/Ex021.py | BelfortJoao/Curso-phyton01 | 79376233be228f39bf548f90b8d9bd5419ac067a | [
"MIT"
] | 3 | 2021-08-17T14:02:14.000Z | 2021-08-19T02:37:30.000Z | codes/Ex021.py | BelfortJoao/Curso-phyton01 | 79376233be228f39bf548f90b8d9bd5419ac067a | [
"MIT"
] | null | null | null | codes/Ex021.py | BelfortJoao/Curso-phyton01 | 79376233be228f39bf548f90b8d9bd5419ac067a | [
"MIT"
] | null | null | null | import pygame
pygame.init()
pygame.mixer.music.load('E.mp3')
pygame.mixer.music.play()
pygame.event.wait()
print('boa musica ne?') | 21.666667 | 32 | 0.746154 | 21 | 130 | 4.619048 | 0.714286 | 0.226804 | 0.329897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.061538 | 130 | 6 | 33 | 21.666667 | 0.786885 | 0 | 0 | 0 | 0 | 0 | 0.145038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e503db1a3427c718c7e210a474c59fc244253a9f | 140 | py | Python | utils/__init__.py | mathandy/handwritten_digit_recognition | 37ca5cadfaa0b2554873b2a1bf9fb7b729776eac | [
"MIT"
] | 1 | 2018-06-01T10:51:03.000Z | 2018-06-01T10:51:03.000Z | utils/__init__.py | mathandy/handwritten_digit_recognition | 37ca5cadfaa0b2554873b2a1bf9fb7b729776eac | [
"MIT"
] | null | null | null | utils/__init__.py | mathandy/handwritten_digit_recognition | 37ca5cadfaa0b2554873b2a1bf9fb7b729776eac | [
"MIT"
] | 2 | 2018-03-27T13:39:39.000Z | 2018-07-16T18:02:51.000Z | from .diagnostic_tools import diagnostic
from .display_tools import printmat
from .load_data import load_data, k21hot, split_data, parentdir | 46.666667 | 63 | 0.857143 | 20 | 140 | 5.75 | 0.55 | 0.191304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.1 | 140 | 3 | 63 | 46.666667 | 0.896825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e5353b78a45f55ab034bc26393fbdcc7d2180cd0 | 96 | py | Python | anvil/sub_rig_templates/center_of_mass.py | AndresMWeber/Anvil | 9cd202183ac998983c2bf6e55cc46bbc0ca1a78e | [
"Apache-2.0"
] | 3 | 2019-11-22T04:38:06.000Z | 2022-01-19T08:27:18.000Z | anvil/sub_rig_templates/center_of_mass.py | AndresMWeber/Anvil | 9cd202183ac998983c2bf6e55cc46bbc0ca1a78e | [
"Apache-2.0"
] | 28 | 2018-02-01T20:39:42.000Z | 2018-04-26T17:25:23.000Z | anvil/sub_rig_templates/center_of_mass.py | AndresMWeber/Anvil | 9cd202183ac998983c2bf6e55cc46bbc0ca1a78e | [
"Apache-2.0"
] | 1 | 2018-03-11T06:47:26.000Z | 2018-03-11T06:47:26.000Z | from base_sub_rig_template import SubRigTemplate
class CenterOfMass(SubRigTemplate):
pass
| 16 | 48 | 0.833333 | 11 | 96 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 5 | 49 | 19.2 | 0.927711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
e54220e947404933da9a18d18cdfce725d2a0ab5 | 107 | py | Python | asyncns/utils/__init__.py | AavHRF/asyncns | 5b3e0abf612c034846154241636679c64c7e4bdf | [
"MIT"
] | null | null | null | asyncns/utils/__init__.py | AavHRF/asyncns | 5b3e0abf612c034846154241636679c64c7e4bdf | [
"MIT"
] | null | null | null | asyncns/utils/__init__.py | AavHRF/asyncns | 5b3e0abf612c034846154241636679c64c7e4bdf | [
"MIT"
] | null | null | null | from xml_parser import ShardParser
from ratelimit import Limiter
from param_generator import ParamGenerator | 35.666667 | 42 | 0.897196 | 14 | 107 | 6.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102804 | 107 | 3 | 42 | 35.666667 | 0.979167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e585a5fd495c33ec8080e2fd4d14f0bf659cd270 | 45 | py | Python | AsyncParse/exceptions.py | B0R0koko/asyncparse0.1.2 | 58a98aba9e3b21dd7e30ad2d3f5581a50c4fcf26 | [
"MIT"
] | null | null | null | AsyncParse/exceptions.py | B0R0koko/asyncparse0.1.2 | 58a98aba9e3b21dd7e30ad2d3f5581a50c4fcf26 | [
"MIT"
] | null | null | null | AsyncParse/exceptions.py | B0R0koko/asyncparse0.1.2 | 58a98aba9e3b21dd7e30ad2d3f5581a50c4fcf26 | [
"MIT"
] | null | null | null | class BadStatusException(Exception):
pass | 22.5 | 36 | 0.8 | 4 | 45 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 2 | 37 | 22.5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e5c04f4e35aa52d6a841a375bed2f1fe893c279b | 8,850 | py | Python | Protheus_WebApp/Modules/SIGAAGR/OGA250TestCase.py | 98llm/tir-script-samples | 0bff8393b79356aa562e9e6512c11ee6e039b177 | [
"MIT"
] | 17 | 2018-09-24T17:27:08.000Z | 2021-09-16T19:09:46.000Z | Protheus_WebApp/Modules/SIGAAGR/OGA250TestCase.py | 98llm/tir-script-samples | 0bff8393b79356aa562e9e6512c11ee6e039b177 | [
"MIT"
] | 4 | 2018-09-24T17:30:32.000Z | 2022-01-03T11:39:30.000Z | Protheus_WebApp/Modules/SIGAAGR/OGA250TestCase.py | 98llm/tir-script-samples | 0bff8393b79356aa562e9e6512c11ee6e039b177 | [
"MIT"
] | 18 | 2019-06-07T17:41:34.000Z | 2022-01-31T18:17:31.000Z | from tir import Webapp
import unittest
class OGA250(unittest.TestCase):
@classmethod
def setUpClass(inst):
from datetime import datetime
DateSystem = datetime.today().strftime('%d/%m/%Y')
inst.oHelper = Webapp()
inst.oHelper.Setup('SIGAAGR',DateSystem,'T1','D MG 01 ') ... | 46.09375 | 112 | 0.633333 | 962 | 8,850 | 5.778586 | 0.201663 | 0.294837 | 0.190682 | 0.067458 | 0.751754 | 0.740601 | 0.711279 | 0.66145 | 0.64454 | 0.634107 | 0 | 0.047207 | 0.202938 | 8,850 | 191 | 113 | 46.335079 | 0.740856 | 0.058983 | 0 | 0.608434 | 0 | 0 | 0.238668 | 0 | 0 | 0 | 0 | 0 | 0.03012 | 1 | 0.042169 | false | 0 | 0.018072 | 0 | 0.066265 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e5d524e9b2f6d925c686fc24e026a46906755d04 | 3,125 | py | Python | lifts/migrations/0002_cardio_cardioinstance_liftinstance_workout_workoutinstance.py | davishayden/gains | 8a9855537e8dd1a3cd5b938fa71bef79c40af1a2 | [
"MIT"
] | null | null | null | lifts/migrations/0002_cardio_cardioinstance_liftinstance_workout_workoutinstance.py | davishayden/gains | 8a9855537e8dd1a3cd5b938fa71bef79c40af1a2 | [
"MIT"
] | null | null | null | lifts/migrations/0002_cardio_cardioinstance_liftinstance_workout_workoutinstance.py | davishayden/gains | 8a9855537e8dd1a3cd5b938fa71bef79c40af1a2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2016-10-19 14:00
from __future__ import unicode_literals
import django.contrib.postgres.fields
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('lifts', '0001_initial'),
]
operations = [
... | 46.641791 | 122 | 0.59136 | 299 | 3,125 | 6.026756 | 0.234114 | 0.061043 | 0.09323 | 0.119867 | 0.750832 | 0.750832 | 0.750832 | 0.750832 | 0.697558 | 0.697558 | 0 | 0.01436 | 0.26464 | 3,125 | 66 | 123 | 47.348485 | 0.7698 | 0.02176 | 0 | 0.610169 | 1 | 0 | 0.09463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.050847 | 0 | 0.101695 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e5d6e134dd5e4e2d4291439689de364fc229eafd | 800 | py | Python | python/api/models.py | kellenschmidt/yelp-for-hair-stylists | 778cc39715cfd6eb7801925858a2c581fb492198 | [
"Apache-2.0"
] | null | null | null | python/api/models.py | kellenschmidt/yelp-for-hair-stylists | 778cc39715cfd6eb7801925858a2c581fb492198 | [
"Apache-2.0"
] | null | null | null | python/api/models.py | kellenschmidt/yelp-for-hair-stylists | 778cc39715cfd6eb7801925858a2c581fb492198 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models
class Review(models.Model):
comment = models.CharField(max_length=1000)
conversation = models.IntegerField()
title = models.CharField(max_length=100)
style = models.IntegerField()
satisfaction = models.IntegerField()
wo... | 25 | 48 | 0.7625 | 105 | 800 | 5.542857 | 0.371429 | 0.216495 | 0.185567 | 0.247423 | 0.37457 | 0.37457 | 0.37457 | 0.316151 | 0.316151 | 0.161512 | 0 | 0.02849 | 0.1225 | 800 | 32 | 49 | 25 | 0.80057 | 0.02625 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.083333 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f908dc5c5ead63cef0667ae548d2127d2a4bf82a | 46 | py | Python | smart_imports/__init__.py | Tiendil/smart-imports | c0d4b17394d3250520f0554c1f0164487a0a7971 | [
"BSD-3-Clause"
] | 32 | 2019-07-15T19:50:38.000Z | 2021-09-04T07:56:19.000Z | smart_imports/__init__.py | Tiendil/smart-imports | c0d4b17394d3250520f0554c1f0164487a0a7971 | [
"BSD-3-Clause"
] | 18 | 2018-06-12T17:41:08.000Z | 2021-11-08T21:42:48.000Z | smart_imports/__init__.py | Tiendil/smart-imports | c0d4b17394d3250520f0554c1f0164487a0a7971 | [
"BSD-3-Clause"
] | 8 | 2019-03-18T16:51:24.000Z | 2021-02-24T00:44:04.000Z |
from .importer import all
__all__ = (all,)
| 7.666667 | 25 | 0.673913 | 6 | 46 | 4.5 | 0.666667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 5 | 26 | 9.2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f920bb4f02f694adcd18c42cae5c7b8f8131802e | 24 | py | Python | Counting/__init__.py | Kthyeon/micronet_neurips_challenge | 9f71fb752e8fbd5abca07be530f7fb19e164125c | [
"MIT"
] | 19 | 2019-11-27T07:18:35.000Z | 2021-08-20T14:16:17.000Z | Counting/__init__.py | 3outeille/KAIST-AI-NeurIPS2019-MicroNet-2nd-place-solution | 9f71fb752e8fbd5abca07be530f7fb19e164125c | [
"MIT"
] | null | null | null | Counting/__init__.py | 3outeille/KAIST-AI-NeurIPS2019-MicroNet-2nd-place-solution | 9f71fb752e8fbd5abca07be530f7fb19e164125c | [
"MIT"
] | 6 | 2019-12-18T02:09:54.000Z | 2021-06-21T11:34:36.000Z | from .count import count | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 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 | 0 | 0 | 0 | 5 |
009b4cb40614c096d8704ba5aa66e4f8007bc605 | 23,374 | py | Python | struct2tensor/expression_impl/promote_test.py | jay90099/struct2tensor | 47d651757efa27586bf75f991b2174d8173a750b | [
"Apache-2.0"
] | 30 | 2019-10-07T21:31:44.000Z | 2022-03-30T17:11:44.000Z | struct2tensor/expression_impl/promote_test.py | jay90099/struct2tensor | 47d651757efa27586bf75f991b2174d8173a750b | [
"Apache-2.0"
] | 2 | 2020-03-23T20:48:14.000Z | 2021-04-16T15:05:33.000Z | struct2tensor/expression_impl/promote_test.py | jay90099/struct2tensor | 47d651757efa27586bf75f991b2174d8173a750b | [
"Apache-2.0"
] | 30 | 2019-07-16T13:01:53.000Z | 2022-03-01T22:04:36.000Z | # Copyright 2019 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, ... | 44.101887 | 95 | 0.73663 | 3,118 | 23,374 | 5.139833 | 0.074727 | 0.03694 | 0.078934 | 0.031199 | 0.823537 | 0.782104 | 0.751966 | 0.708848 | 0.664046 | 0.605703 | 0 | 0.007563 | 0.168435 | 23,374 | 529 | 96 | 44.185255 | 0.816947 | 0.088902 | 0 | 0.516129 | 0 | 0 | 0.026877 | 0 | 0 | 0 | 0 | 0 | 0.334988 | 1 | 0.042184 | false | 0 | 0.022333 | 0 | 0.07196 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
009d821be899514c984e0db4c4c1786ebc36fbf0 | 181 | py | Python | Python/05. Math/01. Polar Coordinates/Solution.py | AdityaSingh17/HackerRank-Solutions | 65b7fcd6e82be242fcc7e5b1771941206a8b7940 | [
"MIT"
] | null | null | null | Python/05. Math/01. Polar Coordinates/Solution.py | AdityaSingh17/HackerRank-Solutions | 65b7fcd6e82be242fcc7e5b1771941206a8b7940 | [
"MIT"
] | null | null | null | Python/05. Math/01. Polar Coordinates/Solution.py | AdityaSingh17/HackerRank-Solutions | 65b7fcd6e82be242fcc7e5b1771941206a8b7940 | [
"MIT"
] | null | null | null | # Polar Coordinates
# Problem Link: https://www.hackerrank.com/challenges/polar-coordinates/problem
import cmath
s = input()
print(abs(complex(s)))
print(cmath.phase(complex(s)))
| 20.111111 | 79 | 0.756906 | 25 | 181 | 5.48 | 0.68 | 0.233577 | 0.335766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088398 | 181 | 8 | 80 | 22.625 | 0.830303 | 0.524862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
00a1dc3a5ffffd78e6b379a65c502a3d2b1a62c2 | 201 | py | Python | apps/base/views/other_views.py | picsldev/pyerp | e998e3e99a4e45033d54a6b1df50697f7288f67f | [
"MIT"
] | null | null | null | apps/base/views/other_views.py | picsldev/pyerp | e998e3e99a4e45033d54a6b1df50697f7288f67f | [
"MIT"
] | null | null | null | apps/base/views/other_views.py | picsldev/pyerp | e998e3e99a4e45033d54a6b1df50697f7288f67f | [
"MIT"
] | null | null | null | # Librerias Future
from __future__ import unicode_literals
# Librerias Django
from django.shortcuts import HttpResponse, render
def IndexEasy(request):
return render(request, 'base/index.html')
| 20.1 | 49 | 0.79602 | 24 | 201 | 6.458333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 201 | 9 | 50 | 22.333333 | 0.890805 | 0.164179 | 0 | 0 | 0 | 0 | 0.090909 | 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 | 0 | 0 | 0 | 5 |
00a26e3a81a14ddf4bc1c40362accf8ff2c43b65 | 137 | py | Python | qe_tools/parsers/__init__.py | asle85/qe-tools | 359579ee4a88fb6920270de39f49524e9365fda2 | [
"MIT"
] | 17 | 2017-11-29T01:59:59.000Z | 2022-03-03T18:57:21.000Z | qe_tools/parsers/__init__.py | asle85/qe-tools | 359579ee4a88fb6920270de39f49524e9365fda2 | [
"MIT"
] | 36 | 2017-11-16T11:29:54.000Z | 2021-03-12T15:07:39.000Z | qe_tools/parsers/__init__.py | asle85/qe-tools | 359579ee4a88fb6920270de39f49524e9365fda2 | [
"MIT"
] | 7 | 2017-11-25T09:30:50.000Z | 2021-03-08T14:15:09.000Z | # -*- coding: utf-8 -*-
from ._pw_input import PwInputFile
from ._cp_input import CpInputFile
__all__ = ('PwInputFile', 'CpInputFile')
| 19.571429 | 40 | 0.722628 | 16 | 137 | 5.6875 | 0.6875 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.138686 | 137 | 6 | 41 | 22.833333 | 0.762712 | 0.153285 | 0 | 0 | 0 | 0 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
00e64a3c24b020a9314db678230d35e6d0736363 | 151 | py | Python | BetterCanvas/__init__.py | Podk88/BetterCanvas | 0d61c6a0323e590aa77ead0b0a33493116866605 | [
"MIT"
] | null | null | null | BetterCanvas/__init__.py | Podk88/BetterCanvas | 0d61c6a0323e590aa77ead0b0a33493116866605 | [
"MIT"
] | null | null | null | BetterCanvas/__init__.py | Podk88/BetterCanvas | 0d61c6a0323e590aa77ead0b0a33493116866605 | [
"MIT"
] | null | null | null | from .bettercanvas import BetterCanvas
from .items import (Arc, Bitmap, Image, Item, Line, Oval, Polygon, Rectangle,
Text, Window)
| 37.75 | 77 | 0.668874 | 17 | 151 | 5.941176 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245033 | 151 | 3 | 78 | 50.333333 | 0.885965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
daa642f1607b25043a962c53d482702208bc07a4 | 43 | py | Python | setup-database.py | TheBrokenEstate/dbcoursework | 0016f820ca8b0ea862e929337d8f7ad0fbfcf863 | [
"MIT"
] | null | null | null | setup-database.py | TheBrokenEstate/dbcoursework | 0016f820ca8b0ea862e929337d8f7ad0fbfcf863 | [
"MIT"
] | null | null | null | setup-database.py | TheBrokenEstate/dbcoursework | 0016f820ca8b0ea862e929337d8f7ad0fbfcf863 | [
"MIT"
] | null | null | null | from projectCode import db
db.create_all()
| 14.333333 | 26 | 0.813953 | 7 | 43 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 27 | 21.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dab6faf19efdff0c5cad267382dffd28873da216 | 625 | py | Python | src/mathlib.py | nhrade/Ispy | 5e014d8493c04a30a978d03f4b5943e349e6db1f | [
"WTFPL"
] | null | null | null | src/mathlib.py | nhrade/Ispy | 5e014d8493c04a30a978d03f4b5943e349e6db1f | [
"WTFPL"
] | null | null | null | src/mathlib.py | nhrade/Ispy | 5e014d8493c04a30a978d03f4b5943e349e6db1f | [
"WTFPL"
] | null | null | null | '''
Created on Jul 18, 2013
@author: noah
'''
import math
import main as m
def pi(args):
return math.pi
def sqrt_(args):
return math.sqrt(m.eval_(args[0]))
def sq(args):
return m.eval_(args[0])**2 ... | 18.382353 | 50 | 0.48 | 91 | 625 | 3.186813 | 0.362637 | 0.12069 | 0.217241 | 0.241379 | 0.334483 | 0.244828 | 0.244828 | 0.172414 | 0.172414 | 0 | 0 | 0.05168 | 0.3808 | 625 | 33 | 51 | 18.939394 | 0.697674 | 0.0608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0 | 0.111111 | 0.333333 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
daf0804763d4422976cfddfa4a587c8beb04cd34 | 12,369 | py | Python | tecmov-cartopy.py | mrinalghosh/gpstec | db6747844641a994d78740140da2138f71b75725 | [
"MIT"
] | 1 | 2020-12-09T05:39:26.000Z | 2020-12-09T05:39:26.000Z | tecmov-cartopy.py | mrinalghosh/gpstec | db6747844641a994d78740140da2138f71b75725 | [
"MIT"
] | null | null | null | tecmov-cartopy.py | mrinalghosh/gpstec | db6747844641a994d78740140da2138f71b75725 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Cartopy implementation of TEC plotting in polar coordinates
# author: @mrinalghosh
import matplotlib.pyplot as plt
import matplotlib.path as mpath
import numpy as np
import cartopy.feature as cfeature
import cartopy.crs as ccrs
import h5py
from argparse import ArgumentParser
from datetime impo... | 44.492806 | 116 | 0.549842 | 1,578 | 12,369 | 4.255387 | 0.166667 | 0.053611 | 0.0965 | 0.037528 | 0.762174 | 0.749218 | 0.745197 | 0.741325 | 0.717945 | 0.717945 | 0 | 0.039027 | 0.295659 | 12,369 | 277 | 117 | 44.65343 | 0.731749 | 0.026518 | 0 | 0.662222 | 0 | 0 | 0.073643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004444 | false | 0 | 0.048889 | 0 | 0.053333 | 0.026667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
972018a5056e1481b0059db638df50323b1cfffe | 17,960 | py | Python | extgen/capi.py | maedoc/inducer-f2py | fce51e6603f7474632d452437dbb8b194d6c879d | [
"BSD-3-Clause"
] | 57 | 2015-10-20T15:58:29.000Z | 2022-03-19T08:52:04.000Z | extgen/capi.py | maedoc/inducer-f2py | fce51e6603f7474632d452437dbb8b194d6c879d | [
"BSD-3-Clause"
] | 12 | 2016-03-14T16:02:42.000Z | 2022-03-23T11:15:50.000Z | extgen/capi.py | maedoc/inducer-f2py | fce51e6603f7474632d452437dbb8b194d6c879d | [
"BSD-3-Clause"
] | 12 | 2015-12-30T15:41:23.000Z | 2022-03-01T17:14:42.000Z | from __future__ import absolute_import
import numpy
implementation = dict()
typedefs = dict()
macros = dict()
typedefs['npy_unicode'] = dict(\
code = 'typedef struct { Py_UNICODE* data; Py_ssize_t size; } npy_unicode;')
typedefs['npy_string'] = dict(\
code = 'typedef struct { char* data; Py_ssize_t size; } n... | 33.822976 | 103 | 0.652673 | 2,286 | 17,960 | 4.841207 | 0.069116 | 0.083491 | 0.056926 | 0.042288 | 0.801301 | 0.741213 | 0.708593 | 0.643625 | 0.610192 | 0.593205 | 0 | 0.008929 | 0.195546 | 17,960 | 530 | 104 | 33.886792 | 0.75706 | 0 | 0 | 0.545272 | 0 | 0 | 0.845267 | 0.413586 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004024 | 0 | 0.038229 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
97350c90bae5d218c1ffc8633d7a1605cbb3170c | 94 | py | Python | requests_base/__init__.py | michaeltinsley/requests-base | ecd5de7aa808f0f1c18de6968cc1e9d264cda4f6 | [
"MIT"
] | null | null | null | requests_base/__init__.py | michaeltinsley/requests-base | ecd5de7aa808f0f1c18de6968cc1e9d264cda4f6 | [
"MIT"
] | 1 | 2021-08-30T09:29:49.000Z | 2021-08-30T09:44:32.000Z | requests_base/__init__.py | michaeltinsley/requests-base | ecd5de7aa808f0f1c18de6968cc1e9d264cda4f6 | [
"MIT"
] | null | null | null | """
A Requests Session with a base URL.
"""
from .requests_base import BaseUrlSession # noqa
| 18.8 | 49 | 0.734043 | 13 | 94 | 5.230769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 94 | 4 | 50 | 23.5 | 0.871795 | 0.43617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
973f98d98e3f41d8c4a8efbe15fd96195a1b5032 | 191 | py | Python | myawwards/admin.py | Bridgit-wairimu/Awwards | 285551161a3bf8ae06ad731c2b9feafae27b00e3 | [
"MIT"
] | null | null | null | myawwards/admin.py | Bridgit-wairimu/Awwards | 285551161a3bf8ae06ad731c2b9feafae27b00e3 | [
"MIT"
] | null | null | null | myawwards/admin.py | Bridgit-wairimu/Awwards | 285551161a3bf8ae06ad731c2b9feafae27b00e3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Profile,Post,Rating
# Register your models here.
admin.site.register(Profile)
admin.site.register(Post)
admin.site.register(Rating) | 27.285714 | 40 | 0.790576 | 27 | 191 | 5.592593 | 0.481481 | 0.178808 | 0.337748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115183 | 191 | 7 | 41 | 27.285714 | 0.893491 | 0.136126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.