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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cb449631006b621472a513aa4e7dbf4b96c22827 | 73 | py | Python | tests/test_utils.py | nyue/MyActionPipeline | c730cd0442b8761cf7d2e082d328b0a3fbcd2641 | [
"Apache-2.0"
] | null | null | null | tests/test_utils.py | nyue/MyActionPipeline | c730cd0442b8761cf7d2e082d328b0a3fbcd2641 | [
"Apache-2.0"
] | null | null | null | tests/test_utils.py | nyue/MyActionPipeline | c730cd0442b8761cf7d2e082d328b0a3fbcd2641 | [
"Apache-2.0"
] | null | null | null | from snetwork import utils
def test_utils():
assert(utils.status())
| 14.6 | 26 | 0.726027 | 10 | 73 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 4 | 27 | 18.25 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb896461ccc070c99bc2875d139bfa9f8bcafab8 | 154 | py | Python | python/AStar/Graph.py | alexwhb/algorithm-practice | b15cffcefbd2b68ad280dd37ef1afc0305bf9d62 | [
"MIT"
] | 1 | 2015-10-29T01:51:48.000Z | 2015-10-29T01:51:48.000Z | python/AStar/Graph.py | alexwhb/algorithm-practice | b15cffcefbd2b68ad280dd37ef1afc0305bf9d62 | [
"MIT"
] | null | null | null | python/AStar/Graph.py | alexwhb/algorithm-practice | b15cffcefbd2b68ad280dd37ef1afc0305bf9d62 | [
"MIT"
] | null | null | null | __author__ = 'Winston'
class Graph(object):
def __init__(self):
self.edges = {}
def neighbors(self, id):
return self.edges[id]
| 15.4 | 29 | 0.597403 | 18 | 154 | 4.666667 | 0.666667 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 154 | 9 | 30 | 17.111111 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 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 | 1 | 1 | 0 | 0 | 6 |
1debe6ce21c49d1b2239ad82226af197630b0697 | 54 | py | Python | university/tests.py | santiagofmunoz/ums_be | e788d2c7b0db8d571faeb4b673a9e16ebee74d32 | [
"MIT"
] | null | null | null | university/tests.py | santiagofmunoz/ums_be | e788d2c7b0db8d571faeb4b673a9e16ebee74d32 | [
"MIT"
] | null | null | null | university/tests.py | santiagofmunoz/ums_be | e788d2c7b0db8d571faeb4b673a9e16ebee74d32 | [
"MIT"
] | null | null | null | from django.test import TestCase
#TODO CREATE TESTS!
| 13.5 | 32 | 0.796296 | 8 | 54 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 3 | 33 | 18 | 0.934783 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38103bcee072b416507fd6181dbec6bc522b8ce0 | 327 | py | Python | app/views/backend/dashboard.py | mrefawaladam/eccomece-wiht-flask | c2e9df36970929935b103fc69c5c45b970b130b2 | [
"MIT"
] | null | null | null | app/views/backend/dashboard.py | mrefawaladam/eccomece-wiht-flask | c2e9df36970929935b103fc69c5c45b970b130b2 | [
"MIT"
] | null | null | null | app/views/backend/dashboard.py | mrefawaladam/eccomece-wiht-flask | c2e9df36970929935b103fc69c5c45b970b130b2 | [
"MIT"
] | null | null | null | from flask import render_template, request, jsonify,session
from app import app
from app import db
import bcrypt
from werkzeug.security import generate_password_hash, check_password_hash
@app.route("/dashboard-admin", methods=['GET'])
def dashboard_admin():
return render_template("backend/layouts/app.html")
... | 25.153846 | 73 | 0.7737 | 44 | 327 | 5.590909 | 0.613636 | 0.113821 | 0.105691 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 327 | 12 | 74 | 27.25 | 0.87234 | 0 | 0 | 0 | 1 | 0 | 0.131498 | 0.073395 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0.125 | 0.625 | 0.125 | 0.875 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 6 |
3813961bcbb444f51ee742ae98ae59b62ca109e9 | 57 | py | Python | template/language/__init__.py | clayne/syringe-1 | 4a431aa65c371a2018fca95145a3952ba802a609 | [
"BSD-2-Clause"
] | 25 | 2015-04-14T21:53:46.000Z | 2022-03-30T19:15:24.000Z | template/language/__init__.py | clayne/syringe-1 | 4a431aa65c371a2018fca95145a3952ba802a609 | [
"BSD-2-Clause"
] | 5 | 2020-03-23T20:19:59.000Z | 2021-05-24T19:38:31.000Z | template/language/__init__.py | clayne/syringe-1 | 4a431aa65c371a2018fca95145a3952ba802a609 | [
"BSD-2-Clause"
] | 7 | 2015-07-31T13:26:37.000Z | 2021-03-05T19:35:37.000Z | from . import vc
from . import vb
from . import python26
| 14.25 | 22 | 0.736842 | 9 | 57 | 4.666667 | 0.555556 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.210526 | 57 | 3 | 23 | 19 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
383b02e1edc04695201571af9d06260aa169ef7f | 567 | py | Python | invariance.py | kyeser/scTools | c4c7dee0c41c8afe1da6350243df5f9d9b929c7f | [
"MIT"
] | null | null | null | invariance.py | kyeser/scTools | c4c7dee0c41c8afe1da6350243df5f9d9b929c7f | [
"MIT"
] | null | null | null | invariance.py | kyeser/scTools | c4c7dee0c41c8afe1da6350243df5f9d9b929c7f | [
"MIT"
] | null | null | null | from tto import *
def matrixT(a, b):
l = [(y-x)%12 for x in a for y in b]
return [l.count(z) for z in range(12)]
def matrixTI(a, b):
l = [(y+x)%12 for x in a for y in b]
return [l.count(z) for z in range(12)]
def matrixM(a, b):
ma = M5(a)
l = [(y-x)%12 for x in ma for y in b]
return [l.co... | 23.625 | 42 | 0.544974 | 133 | 567 | 2.323308 | 0.180451 | 0.080906 | 0.097087 | 0.12945 | 0.770227 | 0.770227 | 0.770227 | 0.770227 | 0.770227 | 0.686084 | 0 | 0.054321 | 0.285714 | 567 | 23 | 43 | 24.652174 | 0.708642 | 0 | 0 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.055556 | 0 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0e050af7a7db1bc2ac62ff3d980e30d67039c27b | 32 | py | Python | datamodelutils/__init__.py | bwalsh/datamodelutils | 1bc23014802ee7fcafbeda28a2146cd2c6dc5e85 | [
"Apache-2.0"
] | null | null | null | datamodelutils/__init__.py | bwalsh/datamodelutils | 1bc23014802ee7fcafbeda28a2146cd2c6dc5e85 | [
"Apache-2.0"
] | null | null | null | datamodelutils/__init__.py | bwalsh/datamodelutils | 1bc23014802ee7fcafbeda28a2146cd2c6dc5e85 | [
"Apache-2.0"
] | null | null | null | import models
import validators
| 10.666667 | 17 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 2 | 18 | 16 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3871321c6f01b510e4cdef1a5e6fd9b894c46711 | 68 | py | Python | tradester/finance/assets/__init__.py | wrieg123/tradester | 440210940f80e94fde4d43841c729f63b05f597d | [
"MIT"
] | 5 | 2020-11-11T14:54:59.000Z | 2020-11-13T04:00:25.000Z | tradester/finance/assets/__init__.py | wrieg123/tradester | 440210940f80e94fde4d43841c729f63b05f597d | [
"MIT"
] | null | null | null | tradester/finance/assets/__init__.py | wrieg123/tradester | 440210940f80e94fde4d43841c729f63b05f597d | [
"MIT"
] | null | null | null | from .future import *
from .security import *
from .option import *
| 17 | 23 | 0.735294 | 9 | 68 | 5.555556 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 68 | 3 | 24 | 22.666667 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38728600087826cabe3cd5117092219308aab361 | 110 | py | Python | python/snowflake/test3.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 1 | 2021-01-11T06:30:44.000Z | 2021-01-11T06:30:44.000Z | python/snowflake/test3.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 23 | 2020-02-12T02:35:49.000Z | 2022-02-11T03:45:40.000Z | python/snowflake/test3.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 2 | 2020-04-08T15:39:46.000Z | 2020-10-10T10:13:09.000Z |
fp = open("1.txt", 'rb')
lines = fp.readlines()
print lines
print len(lines)
print len(set(lines))
| 12.222222 | 25 | 0.609091 | 17 | 110 | 3.941176 | 0.588235 | 0.298507 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.218182 | 110 | 8 | 26 | 13.75 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0.07 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
38d71120f85c38b6694284efb7ef6aa4c4ae8c33 | 7,632 | py | Python | leetcode_python/String/compare-version-numbers.py | yennanliu/CS_basics | 3c50c819897a572ff38179bfb0083a19b2325fde | [
"Unlicense"
] | 18 | 2019-08-01T07:45:02.000Z | 2022-03-31T18:05:44.000Z | leetcode_python/String/compare-version-numbers.py | yennanliu/CS_basics | 3c50c819897a572ff38179bfb0083a19b2325fde | [
"Unlicense"
] | null | null | null | leetcode_python/String/compare-version-numbers.py | yennanliu/CS_basics | 3c50c819897a572ff38179bfb0083a19b2325fde | [
"Unlicense"
] | 15 | 2019-12-29T08:46:20.000Z | 2022-03-08T14:14:05.000Z | # Time: O(n)
# Space: O(1)
# Compare two version numbers version1 and version1.
# If version1 > version2 return 1, if version1 < version2
# return -1, otherwise return 0.
#
# You may assume that the version strings are non-empty and
# contain only digits and the . character.
# The . character does not represent a dec... | 29.8125 | 103 | 0.500524 | 974 | 7,632 | 3.868583 | 0.13963 | 0.023885 | 0.026008 | 0.026539 | 0.804406 | 0.78397 | 0.751062 | 0.744161 | 0.697983 | 0.697983 | 0 | 0.08396 | 0.355477 | 7,632 | 255 | 104 | 29.929412 | 0.682049 | 0.148192 | 0 | 0.844721 | 0 | 0 | 0.017929 | 0 | 0 | 0 | 0 | 0 | 0.055901 | 1 | 0.086957 | false | 0.006211 | 0.012422 | 0.006211 | 0.304348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
2a108fe22bcef6c5198524f1c09b058da68f2679 | 44 | py | Python | myelin/mdps/__init__.py | davidrobles/myelin | af76d4ec41f9b4f9be42fc12094aab6f879db770 | [
"MIT"
] | null | null | null | myelin/mdps/__init__.py | davidrobles/myelin | af76d4ec41f9b4f9be42fc12094aab6f879db770 | [
"MIT"
] | 9 | 2020-03-24T15:46:12.000Z | 2021-09-11T16:23:59.000Z | myelin/mdps/__init__.py | davidrobles/myelin | af76d4ec41f9b4f9be42fc12094aab6f879db770 | [
"MIT"
] | null | null | null | from myelin.mdps.gridworld import GridWorld
| 22 | 43 | 0.863636 | 6 | 44 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a4e49d5da9cd5bb9638f669ab41fcf128f1e6db | 1,016 | py | Python | dicom_to_cnn/enums/SopClassUID.py | wendyrvllr/Dicom-To-CNN | 56619b47877ad912d7fe33616d6596ce542705bb | [
"MIT"
] | 15 | 2020-06-16T07:08:44.000Z | 2021-11-18T10:45:57.000Z | dicom_to_cnn/enums/SopClassUID.py | wendyrvllr/Dicom-To-CNN | 56619b47877ad912d7fe33616d6596ce542705bb | [
"MIT"
] | 13 | 2020-04-30T08:57:06.000Z | 2020-05-11T21:19:55.000Z | dicom_to_cnn/enums/SopClassUID.py | salimkanoun/library-DICOM | be7976d122c238fe43b5b90230682d99e7250bbe | [
"MIT"
] | 4 | 2020-05-19T10:04:39.000Z | 2022-03-30T14:22:13.000Z | from enum import Enum
class CapturesSOPClass(Enum):
SecondaryCaptureImageStorage = '1.2.840.10008.5.1.4.1.1.7'
MultiframeSingleBitSecondaryCaptureImageStorage = '1.2.840.10008.5.1.4.1.1.7.1'
MultiframeGrayscaleByteSecondaryCaptureImageStorage = '1.2.840.10008.5.1.4.1.1.7.2'
MultiframeGrayscaleWordSeco... | 37.62963 | 88 | 0.66437 | 199 | 1,016 | 3.39196 | 0.175879 | 0.056296 | 0.075556 | 0.237037 | 0.386667 | 0.386667 | 0.386667 | 0.386667 | 0.386667 | 0.32 | 0 | 0.312289 | 0.126969 | 1,016 | 27 | 89 | 37.62963 | 0.448703 | 0 | 0 | 0 | 0 | 0.5 | 0.423795 | 0.423795 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
2a58dfd185185d7d95fcfe1472f02aeb62958c3c | 129 | py | Python | Part_2_intermediate/mod_2/lesson_6/ex_4_workaround/estudent/grade.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_2_intermediate/mod_2/lesson_6/ex_4_workaround/estudent/grade.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_2_intermediate/mod_2/lesson_6/ex_4_workaround/estudent/grade.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | class Grade:
def __init__(self, value):
self.value = value
def is_passing(self):
return self.value > 1
| 16.125 | 30 | 0.596899 | 17 | 129 | 4.235294 | 0.588235 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.310078 | 129 | 7 | 31 | 18.428571 | 0.797753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
2a7dd1302a69a15359cb3e0e7ef7429ecd9371d4 | 42,259 | py | Python | tests/test_init_tools.py | ericbarefoot/pyDeltaRCM | ab602a3153b203d0a0c1dd807713638622831411 | [
"MIT"
] | null | null | null | tests/test_init_tools.py | ericbarefoot/pyDeltaRCM | ab602a3153b203d0a0c1dd807713638622831411 | [
"MIT"
] | 1 | 2020-04-22T21:53:27.000Z | 2020-04-22T22:11:22.000Z | tests/test_init_tools.py | ericbarefoot/pyDeltaRCM | ab602a3153b203d0a0c1dd807713638622831411 | [
"MIT"
] | null | null | null | # unit tests for init_tools.py
import pytest
import unittest.mock as mock
import numpy as np
import os
from netCDF4 import Dataset
from pyDeltaRCM.model import DeltaModel
from . import utilities
class TestModelDomainSetup:
def test_inlet_size_specified(self, tmp_path):
file_name = 'user_parameters.ya... | 40.246667 | 78 | 0.571855 | 5,303 | 42,259 | 4.248727 | 0.07788 | 0.070214 | 0.099419 | 0.119302 | 0.81683 | 0.808575 | 0.796813 | 0.777107 | 0.733833 | 0.712441 | 0 | 0.029025 | 0.323316 | 42,259 | 1,049 | 79 | 40.285033 | 0.758882 | 0.062851 | 0 | 0.583438 | 0 | 0 | 0.081839 | 0.006428 | 0 | 0 | 0 | 0 | 0.289837 | 1 | 0.136763 | false | 0 | 0.008783 | 0 | 0.155583 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2a87638af1d3fb7a7a4c3159f691e9a68b7c8243 | 96 | py | Python | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_timeout.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_timeout.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_timeout.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/8c/19/c1/58f90b4770383d88804694a46b94ad40cc109101f95d8e58114ddf4648 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.489583 | 0 | 96 | 1 | 96 | 96 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2a8d35be5ce39e40548c525327caff06670910fd | 135 | py | Python | migrations/826-add-bd-region.py | muffinresearch/zamboni | 045a6f07c775b99672af6d9857d295ed02fe5dd9 | [
"BSD-3-Clause"
] | null | null | null | migrations/826-add-bd-region.py | muffinresearch/zamboni | 045a6f07c775b99672af6d9857d295ed02fe5dd9 | [
"BSD-3-Clause"
] | null | null | null | migrations/826-add-bd-region.py | muffinresearch/zamboni | 045a6f07c775b99672af6d9857d295ed02fe5dd9 | [
"BSD-3-Clause"
] | null | null | null | from mkt.constants import regions
from mkt.developers.cron import exclude_new_region
def run():
exclude_new_region([regions.BD])
| 19.285714 | 50 | 0.792593 | 20 | 135 | 5.15 | 0.65 | 0.135922 | 0.31068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125926 | 135 | 6 | 51 | 22.5 | 0.872881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
aa783fe2ff3963a92e111b4e833c86b5a211d9b9 | 170 | py | Python | tinydb_encrypted_jsonstorage/__init__.py | stefanthaler/tinydb-encrypted-jsonstorage | f2931c4ffafb9610d842cec9272c41d67e6a73d3 | [
"MIT"
] | 2 | 2020-11-06T19:01:54.000Z | 2021-01-17T23:56:50.000Z | tinydb_encrypted_jsonstorage/__init__.py | stefanthaler/tinydb-encrypted-jsonstorage | f2931c4ffafb9610d842cec9272c41d67e6a73d3 | [
"MIT"
] | null | null | null | tinydb_encrypted_jsonstorage/__init__.py | stefanthaler/tinydb-encrypted-jsonstorage | f2931c4ffafb9610d842cec9272c41d67e6a73d3 | [
"MIT"
] | 1 | 2022-02-06T07:09:49.000Z | 2022-02-06T07:09:49.000Z | # -*- coding: utf-8 -*-
"""
EncryptedJSONStorage class
Stores the data in an encrypted JSON file.
"""
from .encrypted_json_storage import EncryptedJSONStorage
| 17 | 56 | 0.711765 | 19 | 170 | 6.263158 | 0.842105 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.188235 | 170 | 9 | 57 | 18.888889 | 0.855072 | 0.547059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa81edfe46ea91849a04bb00f68df5e0b197ce8a | 182 | py | Python | mmtbx/command_line/superpose.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | mmtbx/command_line/superpose.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | mmtbx/command_line/superpose.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | # LIBTBX_SET_DISPATCHER_NAME mmtbx.superpose
from __future__ import division
import sys
import mmtbx.superpose
if __name__ == "__main__":
mmtbx.superpose.run(args=sys.argv[1:])
| 18.2 | 44 | 0.791209 | 25 | 182 | 5.16 | 0.68 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.115385 | 182 | 9 | 45 | 20.222222 | 0.795031 | 0.230769 | 0 | 0 | 0 | 0 | 0.058394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aaa2da4676e52cf0633c27035119dd8986454e55 | 104 | py | Python | src/hub/dataload/sources/dbnsfp/__init__.py | erikyao/myvariant.info | a4eaaca7ab6c069199f8942d5afae2dece908147 | [
"Apache-2.0"
] | 39 | 2017-07-01T22:34:39.000Z | 2022-03-15T22:25:59.000Z | src/hub/dataload/sources/dbnsfp/__init__.py | erikyao/myvariant.info | a4eaaca7ab6c069199f8942d5afae2dece908147 | [
"Apache-2.0"
] | 105 | 2017-06-28T17:26:06.000Z | 2022-03-17T17:49:53.000Z | src/hub/dataload/sources/dbnsfp/__init__.py | erikyao/myvariant.info | a4eaaca7ab6c069199f8942d5afae2dece908147 | [
"Apache-2.0"
] | 15 | 2015-10-15T20:46:50.000Z | 2021-07-12T19:17:49.000Z | from .dbnsfp_upload import DBNSFPHG38Uploader, DBNSFPHG19Uploader
from .dbnsfp_dump import DBNSFPDumper
| 34.666667 | 65 | 0.884615 | 11 | 104 | 8.181818 | 0.727273 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0.086538 | 104 | 2 | 66 | 52 | 0.905263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aaa3699dfa793735299ecf5818073f9df4c654b4 | 5,714 | py | Python | chipseq_BH_PKi.py | rogerzou/chipseq_pcRNA | 555af5752a21ceb911f5aba2ceb604f8334aac63 | [
"MIT"
] | 1 | 2020-06-18T04:55:19.000Z | 2020-06-18T04:55:19.000Z | chipseq_BH_PKi.py | rogerzou/chipseq_pcRNA | 555af5752a21ceb911f5aba2ceb604f8334aac63 | [
"MIT"
] | null | null | null | chipseq_BH_PKi.py | rogerzou/chipseq_pcRNA | 555af5752a21ceb911f5aba2ceb604f8334aac63 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
""" 53BP1 and gH2AX ChIP-seq analysis for Cas9/pcRNA - DNA-PKcs inhibitor effect """
import src.chipseq as c
""" Home directory of BAM files and 'analysis' output directory; MODIFY AS APPROPRIATE. """
bs = "/Volumes/Lab-Home/rzou4/NGS_data/2_pcl/pcRNA_SRA1/"
bs_a = "/Volumes/Lab-Home/rzou4/NGS... | 68.843373 | 110 | 0.673609 | 1,202 | 5,714 | 3.079867 | 0.076539 | 0.068071 | 0.095084 | 0.070232 | 0.901945 | 0.874122 | 0.861967 | 0.750135 | 0.71637 | 0.627229 | 0 | 0.090821 | 0.10203 | 5,714 | 82 | 111 | 69.682927 | 0.630676 | 0.017501 | 0 | 0 | 0 | 0 | 0.483002 | 0.27903 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016667 | 0 | 0.016667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aabb684723ac2d422bf1952ed4e0090e44e8a494 | 205 | py | Python | tzcode/hook/purchase_invoice.py | Lewinta/TZCode | 4a44ed85ec202446fdba0fd54e20680ed56b8ad3 | [
"MIT"
] | null | null | null | tzcode/hook/purchase_invoice.py | Lewinta/TZCode | 4a44ed85ec202446fdba0fd54e20680ed56b8ad3 | [
"MIT"
] | null | null | null | tzcode/hook/purchase_invoice.py | Lewinta/TZCode | 4a44ed85ec202446fdba0fd54e20680ed56b8ad3 | [
"MIT"
] | null | null | null | import frappe
from tzcode.hook.accounts_controller import cancel_gl_entries, delete_gl_entries
def on_cancel(doc, method):
cancel_gl_entries(doc)
def on_trash(doc, method):
delete_gl_entries(doc) | 25.625 | 80 | 0.809756 | 32 | 205 | 4.84375 | 0.5 | 0.232258 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117073 | 205 | 8 | 81 | 25.625 | 0.856354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aacf4e5b9c11c6565361558bd4d7f7d83518cf41 | 16,436 | py | Python | test/pyehr/ehr/services/dbmanager/querymanager/test_querymanager.py | madineniguna/EHR | 54ab760ca9a52e5c6c32b861ad6cbce41075d59f | [
"MIT"
] | 23 | 2015-01-29T00:15:05.000Z | 2021-01-23T18:21:00.000Z | test/pyehr/ehr/services/dbmanager/querymanager/test_querymanager.py | madineniguna/EHR | 54ab760ca9a52e5c6c32b861ad6cbce41075d59f | [
"MIT"
] | 2 | 2015-07-22T13:58:00.000Z | 2017-05-02T15:40:33.000Z | test/pyehr/ehr/services/dbmanager/querymanager/test_querymanager.py | madineniguna/EHR | 54ab760ca9a52e5c6c32b861ad6cbce41075d59f | [
"MIT"
] | 7 | 2015-07-10T13:02:01.000Z | 2021-02-19T10:51:52.000Z | import unittest, os, sys
from random import randint
from pyehr.ehr.services.dbmanager.querymanager import QueryManager
from pyehr.ehr.services.dbmanager.dbservices import DBServices
from pyehr.ehr.services.dbmanager.dbservices.wrappers import PatientRecord,\
ClinicalRecord, ArchetypeInstance
from pyehr.utils.servic... | 50.885449 | 118 | 0.651132 | 2,028 | 16,436 | 5.10355 | 0.088264 | 0.041546 | 0.066473 | 0.082899 | 0.831884 | 0.796522 | 0.752271 | 0.733333 | 0.714879 | 0.714396 | 0 | 0.076473 | 0.219518 | 16,436 | 323 | 119 | 50.885449 | 0.730355 | 0 | 0 | 0.62963 | 0 | 0.127946 | 0.373 | 0.228752 | 0 | 0 | 0 | 0 | 0.040404 | 1 | 0.070707 | false | 0.006734 | 0.020202 | 0.003367 | 0.114478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2aa21b67138fe51edb49f16d7da5c2f2ab50b449 | 3,381 | py | Python | core/permissions.py | ahmedemad3965/TodoAPI | a82cabbb580e13a14c899a1e08339783def835c6 | [
"Apache-2.0"
] | 1 | 2020-03-04T22:30:57.000Z | 2020-03-04T22:30:57.000Z | core/permissions.py | ahmedemad3965/TodoAPI | a82cabbb580e13a14c899a1e08339783def835c6 | [
"Apache-2.0"
] | 2 | 2020-06-23T15:15:18.000Z | 2022-01-13T02:19:51.000Z | core/permissions.py | ahmedemad3965/TodoAPI | a82cabbb580e13a14c899a1e08339783def835c6 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) Code Written and Tested by Ahmed Emad in 02/03/2020, 12:30
from rest_framework import permissions
from core.models import UserProfileModel, TodoGroupModel, TodoModel
class UserProfilePermissions(permissions.BasePermission):
"""The Permission class used by UserProfileView."""
safe_methods ... | 33.147059 | 78 | 0.629991 | 398 | 3,381 | 5.301508 | 0.193467 | 0.083412 | 0.090995 | 0.119431 | 0.795261 | 0.795261 | 0.781991 | 0.6891 | 0.654976 | 0.605213 | 0 | 0.004992 | 0.288968 | 3,381 | 101 | 79 | 33.475248 | 0.872712 | 0.241644 | 0 | 0.807018 | 0 | 0 | 0.018953 | 0 | 0 | 0 | 0 | 0.059406 | 0 | 1 | 0.140351 | false | 0 | 0.035088 | 0 | 0.701754 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
2ae3803929be0ab8ae295cf2d1e1e1970535a8e7 | 75 | py | Python | melodic/lib/python2.7/dist-packages/control_msgs/srv/__init__.py | Dieptranivsr/Ros_Diep | d790e75e6f5da916701b11a2fdf3e03b6a47086b | [
"MIT"
] | null | null | null | melodic/lib/python2.7/dist-packages/control_msgs/srv/__init__.py | Dieptranivsr/Ros_Diep | d790e75e6f5da916701b11a2fdf3e03b6a47086b | [
"MIT"
] | 1 | 2021-07-08T10:26:06.000Z | 2021-07-08T10:31:11.000Z | melodic/lib/python2.7/dist-packages/control_msgs/srv/__init__.py | Dieptranivsr/Ros_Diep | d790e75e6f5da916701b11a2fdf3e03b6a47086b | [
"MIT"
] | null | null | null | from ._QueryCalibrationState import *
from ._QueryTrajectoryState import *
| 25 | 37 | 0.84 | 6 | 75 | 10.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 38 | 37.5 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d5e68e12b0ef30cd4df05542b9d7cb4e0fa7f95 | 4,270 | py | Python | Fall.py | gr0mph/FallChallenge2020 | 1c98d61276120d230c64c8062d248ed78eaabb3a | [
"MIT"
] | null | null | null | Fall.py | gr0mph/FallChallenge2020 | 1c98d61276120d230c64c8062d248ed78eaabb3a | [
"MIT"
] | null | null | null | Fall.py | gr0mph/FallChallenge2020 | 1c98d61276120d230c64c8062d248ed78eaabb3a | [
"MIT"
] | null | null | null | import sys, copy, heapq
import math, random
import numpy as np
################################################################################
#
################################################################################
class KanbanBoard():
def __init__(self,clone):
if clone is not None:
... | 24.124294 | 96 | 0.480328 | 412 | 4,270 | 4.740291 | 0.143204 | 0.107015 | 0.092166 | 0.077829 | 0.757296 | 0.74296 | 0.710189 | 0.685612 | 0.634921 | 0.634921 | 0 | 0.002197 | 0.253864 | 4,270 | 176 | 97 | 24.261364 | 0.610797 | 0.000937 | 0 | 0.734513 | 0 | 0 | 0.002314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.185841 | 0.026549 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2d60dfa5c6325689a1a4f78636ef8874de7328c0 | 129 | py | Python | src/augraphy/__init__.py | azf99/augraphy | 5266c60606f47ea5b25b4be254c46d5561883431 | [
"MIT"
] | null | null | null | src/augraphy/__init__.py | azf99/augraphy | 5266c60606f47ea5b25b4be254c46d5561883431 | [
"MIT"
] | null | null | null | src/augraphy/__init__.py | azf99/augraphy | 5266c60606f47ea5b25b4be254c46d5561883431 | [
"MIT"
] | null | null | null | from augraphy.base import *
from augraphy.augmentations import *
from augraphy.default import *
from augraphy.utilities import *
| 25.8 | 36 | 0.813953 | 16 | 129 | 6.5625 | 0.4375 | 0.457143 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124031 | 129 | 4 | 37 | 32.25 | 0.929204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2d61d204bc30f261ce8374dc831012424f8bc665 | 251 | py | Python | inac8hr/entities/__init__.py | th-bunratta/8hr.insomniac | 5173500a1ad7197096d513b38258aa65b035fcf3 | [
"BSD-3-Clause"
] | null | null | null | inac8hr/entities/__init__.py | th-bunratta/8hr.insomniac | 5173500a1ad7197096d513b38258aa65b035fcf3 | [
"BSD-3-Clause"
] | null | null | null | inac8hr/entities/__init__.py | th-bunratta/8hr.insomniac | 5173500a1ad7197096d513b38258aa65b035fcf3 | [
"BSD-3-Clause"
] | null | null | null | from inac8hr.entities.units import *
from inac8hr.entities.defenders import *
from inac8hr.entities.agents import AgentUnit, Ballot
from inac8hr.entities.info import *
from inac8hr.entities.generators import *
from inac8hr.entities.particles import *
| 35.857143 | 53 | 0.828685 | 32 | 251 | 6.5 | 0.375 | 0.317308 | 0.548077 | 0.480769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.099602 | 251 | 6 | 54 | 41.833333 | 0.893805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2d9c87724b09012c1a39c7b4eecb1c4174ed45cd | 35 | py | Python | modules/src/modules/builder/robots/__init__.py | Crazy-Ginger/MOSAR | 74f1a7ca1f17a90ede61f37d223a2ae4de6a1088 | [
"MIT"
] | null | null | null | modules/src/modules/builder/robots/__init__.py | Crazy-Ginger/MOSAR | 74f1a7ca1f17a90ede61f37d223a2ae4de6a1088 | [
"MIT"
] | null | null | null | modules/src/modules/builder/robots/__init__.py | Crazy-Ginger/MOSAR | 74f1a7ca1f17a90ede61f37d223a2ae4de6a1088 | [
"MIT"
] | 2 | 2020-09-18T00:02:16.000Z | 2021-02-22T23:42:30.000Z | from .cubemodule import CubeModule
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2def04cfae383d3df740ada0f5ac9e3895439455 | 32 | py | Python | python/testData/inspections/PyUnboundLocalVariableInspection/StarImportTopLevel.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyUnboundLocalVariableInspection/StarImportTopLevel.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyUnboundLocalVariableInspection/StarImportTopLevel.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from re import *
print(UNICODE)
| 10.666667 | 16 | 0.75 | 5 | 32 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 17 | 16 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
9322642d5065647ebeabe99aad0ac378b4ce9bf6 | 35 | py | Python | uberfare/__init__.py | GustavoRPS/uberfare | b41b001d6c49b64534b12c6a73f85262af722a28 | [
"MIT"
] | 9 | 2018-02-27T17:37:43.000Z | 2020-12-15T01:48:40.000Z | uberfare/__init__.py | GustavoRPS/uberfare | b41b001d6c49b64534b12c6a73f85262af722a28 | [
"MIT"
] | 6 | 2018-02-27T07:00:16.000Z | 2019-05-09T18:53:59.000Z | philip/__init__.py | taion/pipf | a15c1a97757d7be172f0c82112dfd48004f337b9 | [
"MIT"
] | 1 | 2018-10-30T17:32:02.000Z | 2018-10-30T17:32:02.000Z | from .cli import cli # noqa: F401
| 17.5 | 34 | 0.685714 | 6 | 35 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.228571 | 35 | 1 | 35 | 35 | 0.777778 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
934b2945cf2d0be950c90c95a4de14b9e74f1254 | 72 | py | Python | geoapps/simpegPF/EM/Static/__init__.py | RichardScottOZ/geoapps | 5b3c1d4fd11add45992e8b2497312ac014272b69 | [
"MIT"
] | 3 | 2020-11-27T03:18:28.000Z | 2022-03-18T01:29:58.000Z | geoapps/simpegPF/EM/Static/__init__.py | sebhmg/geoapps | 1463ba4ec3c914abdc7403e54eca0ee2bbc3f4f4 | [
"MIT"
] | null | null | null | geoapps/simpegPF/EM/Static/__init__.py | sebhmg/geoapps | 1463ba4ec3c914abdc7403e54eca0ee2bbc3f4f4 | [
"MIT"
] | 1 | 2021-03-21T09:54:33.000Z | 2021-03-21T09:54:33.000Z | from . import DC
from . import IP
from . import SIP
from . import Utils
| 14.4 | 19 | 0.722222 | 12 | 72 | 4.333333 | 0.5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 72 | 4 | 20 | 18 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
93634f70f17efcdce76e0401de979900d95c618e | 3,246 | py | Python | pyzohoapi/inventory.py | s-agawane/pyZohoAPI | 5333ca2ca62bae151e06f7c4018b697bb4a72537 | [
"MIT"
] | 7 | 2021-03-10T11:05:59.000Z | 2022-01-22T23:08:27.000Z | pyzohoapi/inventory.py | s-agawane/pyZohoAPI | 5333ca2ca62bae151e06f7c4018b697bb4a72537 | [
"MIT"
] | 2 | 2021-03-11T00:28:30.000Z | 2022-01-17T18:33:33.000Z | pyzohoapi/inventory.py | s-agawane/pyZohoAPI | 5333ca2ca62bae151e06f7c4018b697bb4a72537 | [
"MIT"
] | 3 | 2021-03-10T14:06:02.000Z | 2021-11-19T06:27:29.000Z | # This file is part of pyZohoAPI, Copyright (C) Todd D. Esposito 2021.
# Distributed under the MIT License (see https://opensource.org/licenses/MIT).
from .core import ZohoAPIBase
from . import objecttypes
class ZohoInventory(ZohoAPIBase):
_scope = "ZohoInventory.FullAccess.all"
def get_endpoint(self, region... | 75.488372 | 105 | 0.709489 | 382 | 3,246 | 6.020942 | 0.198953 | 0.208696 | 0.365217 | 0.26087 | 0.404348 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001769 | 0.129082 | 3,246 | 42 | 106 | 77.285714 | 0.811815 | 0.04467 | 0 | 0 | 0 | 0 | 0.026791 | 0.009038 | 0 | 0 | 0 | 0 | 0 | 1 | 0.861111 | false | 0 | 0.055556 | 0.861111 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fae32204ce2bdf3a6e223dcf03448a0f804c7a21 | 2,262 | py | Python | src/evolvepy/generator/mutation/numeric_mutation.py | EltonCN/evolvepy | 4489264d6c03ea4f3c23ea665fdf12fe4ead1ccc | [
"MIT"
] | 1 | 2022-01-13T21:11:53.000Z | 2022-01-13T21:11:53.000Z | src/evolvepy/generator/mutation/numeric_mutation.py | EltonCN/evolvepy | 4489264d6c03ea4f3c23ea665fdf12fe4ead1ccc | [
"MIT"
] | null | null | null | src/evolvepy/generator/mutation/numeric_mutation.py | EltonCN/evolvepy | 4489264d6c03ea4f3c23ea665fdf12fe4ead1ccc | [
"MIT"
] | null | null | null | from numba.core.utils import chain_exception
import numpy as np
from numpy.typing import ArrayLike
import numba
from typing import Tuple
@numba.njit
def sum_mutation(chromosome:ArrayLike, existence_rate:float, gene_rate:float, mutation_range:Tuple[float, float]):
'''
It takes a chromosome and add a random val... | 35.34375 | 123 | 0.689655 | 286 | 2,262 | 5.342657 | 0.241259 | 0.085079 | 0.04712 | 0.060209 | 0.853403 | 0.853403 | 0.853403 | 0.853403 | 0.853403 | 0.853403 | 0 | 0.006279 | 0.225464 | 2,262 | 64 | 124 | 35.34375 | 0.865868 | 0.376658 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.178571 | 0 | 0.321429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8786d2ae8435362c7e89cd9591d41a2a4207c6cf | 24 | py | Python | tianye/dpcnv.py | Smaller-T/tianye | ddcb7276d37458c9e0445095fd2b6853e1aefe13 | [
"BSD-2-Clause"
] | null | null | null | tianye/dpcnv.py | Smaller-T/tianye | ddcb7276d37458c9e0445095fd2b6853e1aefe13 | [
"BSD-2-Clause"
] | null | null | null | tianye/dpcnv.py | Smaller-T/tianye | ddcb7276d37458c9e0445095fd2b6853e1aefe13 | [
"BSD-2-Clause"
] | null | null | null | import time
print(time)
| 8 | 11 | 0.791667 | 4 | 24 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 2 | 12 | 12 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
87910f90a9219e6b5327662e7d1ac6fcf57336b3 | 21 | py | Python | utils/__init__.py | kyanome/stats_models | 81e01d052eed1b734cef484ec1094e56ea425bc8 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | kyanome/stats_models | 81e01d052eed1b734cef484ec1094e56ea425bc8 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | kyanome/stats_models | 81e01d052eed1b734cef484ec1094e56ea425bc8 | [
"Apache-2.0"
] | null | null | null | from .types_ import * | 21 | 21 | 0.761905 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87996dde7a6c437b60120e11cd4ecd561eef0d22 | 183 | py | Python | facebook/admin.py | Lh4cKg/django-facebook | 6fd4035c3bbfc4a5eb3a831e0de57a58893c8672 | [
"MIT"
] | 1 | 2016-05-29T16:44:17.000Z | 2016-05-29T16:44:17.000Z | facebook/admin.py | Lh4cKg/django-facebook | 6fd4035c3bbfc4a5eb3a831e0de57a58893c8672 | [
"MIT"
] | 1 | 2021-06-10T18:40:26.000Z | 2021-06-10T18:40:26.000Z | facebook/admin.py | Lh4cKg/django-facebook | 6fd4035c3bbfc4a5eb3a831e0de57a58893c8672 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib import admin
from .models import FacebookProfile
@admin.register(FacebookProfile)
class FacebookProfileAdmin(admin.ModelAdmin):
pass
| 18.3 | 45 | 0.770492 | 20 | 183 | 7.05 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00625 | 0.125683 | 183 | 9 | 46 | 20.333333 | 0.875 | 0.114754 | 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 | 1 | 0 | 0 | 6 |
87ce8f7e247a14c067ad39d409d04cd71352ae46 | 36 | py | Python | tests/__init__.py | pudumagico/RLASP | bce5b87404fdca60e983e4a187e734c49ac923fa | [
"MIT"
] | null | null | null | tests/__init__.py | pudumagico/RLASP | bce5b87404fdca60e983e4a187e734c49ac923fa | [
"MIT"
] | 1 | 2021-06-02T16:55:33.000Z | 2021-06-04T14:30:54.000Z | tests/__init__.py | pudumagico/RLASP | bce5b87404fdca60e983e4a187e734c49ac923fa | [
"MIT"
] | 2 | 2021-03-22T14:46:49.000Z | 2021-03-31T16:12:12.000Z | from .test_mdp_blocksworld import *
| 18 | 35 | 0.833333 | 5 | 36 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35629128c2b2095f25cc33bddc2154559bc8fbfa | 98 | py | Python | Course_work/screen/screen_manager_app.py | ZayJob/OS-and-N | a1f24382c791b76ac82bd7c86fe8c6f834f620f1 | [
"MIT"
] | null | null | null | Course_work/screen/screen_manager_app.py | ZayJob/OS-and-N | a1f24382c791b76ac82bd7c86fe8c6f834f620f1 | [
"MIT"
] | null | null | null | Course_work/screen/screen_manager_app.py | ZayJob/OS-and-N | a1f24382c791b76ac82bd7c86fe8c6f834f620f1 | [
"MIT"
] | null | null | null | from kivy.uix.screenmanager import ScreenManager
class ScreenManagerApp(ScreenManager):
pass | 19.6 | 48 | 0.826531 | 10 | 98 | 8.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 5 | 49 | 19.6 | 0.94186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3575a86180b86fd445e33384fa06b9b6f7456998 | 27,262 | py | Python | users/tests/test_permissions.py | thibaudcolas/directory-cms | d958360fe5491a92977d754cfd0d7f8a4695639e | [
"MIT"
] | null | null | null | users/tests/test_permissions.py | thibaudcolas/directory-cms | d958360fe5491a92977d754cfd0d7f8a4695639e | [
"MIT"
] | null | null | null | users/tests/test_permissions.py | thibaudcolas/directory-cms | d958360fe5491a92977d754cfd0d7f8a4695639e | [
"MIT"
] | null | null | null | import pytest
from django.urls import reverse
from rest_framework import status
from export_readiness.tests.factories import ArticlePageFactory
from users.tests.factories import (
AdminFactory,
BranchEditorFactory,
BranchModeratorFactory,
two_branches_with_users,
)
@pytest.mark.CMS_837
@pytest.mark.d... | 32.610048 | 103 | 0.686853 | 3,732 | 27,262 | 4.714898 | 0.075295 | 0.048306 | 0.044556 | 0.055694 | 0.850818 | 0.819277 | 0.788759 | 0.761707 | 0.727381 | 0.685383 | 0 | 0.026716 | 0.202296 | 27,262 | 835 | 104 | 32.649102 | 0.782407 | 0.081909 | 0 | 0.658718 | 0 | 0 | 0.196234 | 0.114916 | 0 | 0 | 0 | 0 | 0.154993 | 1 | 0.040238 | false | 0 | 0.007452 | 0 | 0.04769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35963e29d7ff5b631deca84203925ec2dd4748ce | 23 | py | Python | pixel_exps/models/mnist/__init__.py | THUYimingLi/Semi-supervised_Robust_Training | 17a6d6fbb4ff3bc4951c1506981dbb6f87f1c26a | [
"Apache-2.0"
] | 14 | 2020-03-17T02:47:56.000Z | 2022-02-26T02:17:34.000Z | pixel_exps/models/mnist/__init__.py | THUYimingLi/Semi-supervised_Robust_Training | 17a6d6fbb4ff3bc4951c1506981dbb6f87f1c26a | [
"Apache-2.0"
] | 3 | 2020-09-25T22:34:41.000Z | 2022-02-09T23:34:55.000Z | pixel_exps/models/mnist/__init__.py | THUYimingLi/Semi-supervised_Robust_Training | 17a6d6fbb4ff3bc4951c1506981dbb6f87f1c26a | [
"Apache-2.0"
] | 4 | 2020-03-19T03:28:03.000Z | 2022-01-20T03:06:59.000Z | from . import small_cnn | 23 | 23 | 0.826087 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35b3b700e1829f6202883ffe961bc8d0579a9e73 | 159 | py | Python | Raw_String.py | BeenashPervaiz/Command_Line_Task | a603fbdd06717ff157ecd72881d08329413fd82c | [
"MIT"
] | null | null | null | Raw_String.py | BeenashPervaiz/Command_Line_Task | a603fbdd06717ff157ecd72881d08329413fd82c | [
"MIT"
] | null | null | null | Raw_String.py | BeenashPervaiz/Command_Line_Task | a603fbdd06717ff157ecd72881d08329413fd82c | [
"MIT"
] | null | null | null | # output: Line A \n Line B
print(r"Line A \n Line B")
# output: \" \n \t \'
print(r"\" \n \t \'")
#output: /\/\/\/\/\/
print(r"these are /\/\/\\/\/\mountains") | 26.5 | 40 | 0.496855 | 26 | 159 | 3.038462 | 0.423077 | 0.227848 | 0.151899 | 0.253165 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163522 | 159 | 6 | 40 | 26.5 | 0.593985 | 0.396226 | 0 | 0 | 0 | 0 | 0.505376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
35bb96de1939578fdd84fa8bcfce820bdd0e9e4b | 195 | py | Python | Codewars/8kyu/third-angle-of-a-triangle/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/third-angle-of-a-triangle/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/third-angle-of-a-triangle/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.assert_equals(other_angle(30, 60), 90)
Test.assert_equals(other_angle(60, 60), 60)
Test.assert_equals(other_angle(43, 78), 59)
Test.assert_equals(other_angle(10, 20), 150)
| 27.857143 | 44 | 0.748718 | 36 | 195 | 3.833333 | 0.5 | 0.289855 | 0.463768 | 0.608696 | 0.753623 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 0.087179 | 195 | 6 | 45 | 32.5 | 0.617978 | 0.071795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ea2a5ecc8c9c6f2a008c085f932e0bf6aff80444 | 6,910 | py | Python | tests/auto_cluster_test.py | SeaOfOcean/EasyParallelLibrary | 93baaa851f5ce078b1c55032a27398a588ca4107 | [
"Apache-2.0"
] | 100 | 2022-02-23T08:54:35.000Z | 2022-03-31T04:02:38.000Z | tests/auto_cluster_test.py | chenyang472043503/EasyParallelLibrary | cd2873fe04c86c62e55418129ba2f1dc83d222b4 | [
"Apache-2.0"
] | null | null | null | tests/auto_cluster_test.py | chenyang472043503/EasyParallelLibrary | cd2873fe04c86c62e55418129ba2f1dc83d222b4 | [
"Apache-2.0"
] | 22 | 2022-02-23T09:02:01.000Z | 2022-03-18T03:24:00.000Z | # Copyright 2021 Alibaba Group Holding Limited. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | 48.661972 | 118 | 0.668162 | 943 | 6,910 | 4.73913 | 0.208908 | 0.021929 | 0.040725 | 0.045648 | 0.788991 | 0.788991 | 0.788767 | 0.766391 | 0.766391 | 0.766167 | 0 | 0.028663 | 0.18712 | 6,910 | 141 | 119 | 49.007092 | 0.766957 | 0.127786 | 0 | 0.794643 | 0 | 0 | 0.089107 | 0.081945 | 0 | 0 | 0 | 0 | 0.151786 | 1 | 0.026786 | false | 0 | 0.089286 | 0 | 0.125 | 0.035714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ea4f21c943d9bfc2f63cd61ae1973dc65b42d081 | 2,764 | py | Python | advent2017_day1.py | coandco/advent2017 | 1613b0bc4a5c857cd89c739436a7318203eebee5 | [
"MIT"
] | null | null | null | advent2017_day1.py | coandco/advent2017 | 1613b0bc4a5c857cd89c739436a7318203eebee5 | [
"MIT"
] | null | null | null | advent2017_day1.py | coandco/advent2017 | 1613b0bc4a5c857cd89c739436a7318203eebee5 | [
"MIT"
] | null | null | null | INPUT_DATA = ["23736999148234612466339528635467298545732686574853341217977818839783527958414997199979851227942926872717"
"17554614189745585382464299867475324178461575265232389313518985482795494566944884334389827447822582791733"
"2338157198545423656939397573571533143825679557951415994653786... | 76.777778 | 121 | 0.824891 | 77 | 2,764 | 29.441558 | 0.61039 | 0.019409 | 0.014116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.843277 | 0.138929 | 2,764 | 35 | 122 | 78.971429 | 0.109244 | 0 | 0 | 0 | 0 | 0 | 0.741297 | 0.734335 | 0 | 1 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0 | 0 | 0.068966 | 0.068966 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57c16404b1718f28eceb2e3222b58cb81adf72ed | 889 | py | Python | happyplace/blog/views.py | RifatPiyal/Happy_Place_Online | 2b3c0e3972d0d49a292646567f0ee81ca937577d | [
"MIT"
] | null | null | null | happyplace/blog/views.py | RifatPiyal/Happy_Place_Online | 2b3c0e3972d0d49a292646567f0ee81ca937577d | [
"MIT"
] | null | null | null | happyplace/blog/views.py | RifatPiyal/Happy_Place_Online | 2b3c0e3972d0d49a292646567f0ee81ca937577d | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.contrib.auth.decorators import login_required
# request and the html files locations to render
def home(request):
return render(request, 'blog/index.html')
def about(request):
return render(request, 'blog/about.html')
def contact(request):
return rende... | 18.520833 | 57 | 0.732283 | 114 | 889 | 5.684211 | 0.280702 | 0.200617 | 0.29321 | 0.401235 | 0.490741 | 0.12037 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148481 | 889 | 47 | 58 | 18.914894 | 0.856011 | 0.051744 | 0 | 0 | 0 | 0 | 0.205251 | 0.02864 | 0 | 0 | 0 | 0 | 0 | 1 | 0.434783 | false | 0 | 0.086957 | 0.434783 | 0.956522 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
57d94bc7c962cc43424a145f6260aeacfc6a3f7e | 4,737 | py | Python | app/main/tests/test_step_ab_3.py | spetrovic450/ksvotes.org | 1fa25a4098657b5f2f89e345332a26b92b993ecd | [
"MIT"
] | 10 | 2018-08-28T13:35:27.000Z | 2021-07-17T18:01:04.000Z | app/main/tests/test_step_ab_3.py | spetrovic450/ksvotes.org | 1fa25a4098657b5f2f89e345332a26b92b993ecd | [
"MIT"
] | 253 | 2018-05-14T14:51:35.000Z | 2021-07-23T00:49:04.000Z | app/main/tests/test_step_ab_3.py | spetrovic450/ksvotes.org | 1fa25a4098657b5f2f89e345332a26b92b993ecd | [
"MIT"
] | 5 | 2019-09-05T15:10:32.000Z | 2021-09-30T23:37:04.000Z | from app.models import *
def create_registrant(db_session):
registrant = Registrant(
registration_value={
"name_first": "foo",
"name_last": "bar",
"dob": "01/01/2000",
"email": "foo@example.com",
"elections": "General",
},
county="... | 38.512195 | 108 | 0.682499 | 552 | 4,737 | 5.568841 | 0.177536 | 0.0527 | 0.096617 | 0.110605 | 0.833767 | 0.79473 | 0.784971 | 0.766103 | 0.766103 | 0.748861 | 0 | 0.019433 | 0.196116 | 4,737 | 122 | 109 | 38.827869 | 0.787815 | 0 | 0 | 0.578431 | 0 | 0 | 0.169939 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.058824 | false | 0 | 0.009804 | 0 | 0.078431 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57dedec6856d1172552f63efe478e30ae3f0e2e5 | 38 | py | Python | configs/__init__.py | Longqi-S/keras_cpn | 53d241ecde4bff5073832dfb1ea9c1e08931520e | [
"MIT"
] | 23 | 2018-09-14T08:03:32.000Z | 2021-04-09T07:07:44.000Z | configs/__init__.py | JasonDu1993/keras_cpn | 53d241ecde4bff5073832dfb1ea9c1e08931520e | [
"MIT"
] | 3 | 2018-12-29T04:39:03.000Z | 2022-02-03T16:38:38.000Z | configs/__init__.py | JasonDu1993/keras_cpn | 53d241ecde4bff5073832dfb1ea9c1e08931520e | [
"MIT"
] | 8 | 2018-11-16T02:06:37.000Z | 2021-11-11T09:59:00.000Z | from . import e2e_CPN_ResNet50_FPN_cfg | 38 | 38 | 0.894737 | 7 | 38 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.078947 | 38 | 1 | 38 | 38 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
57e4f6f8454e17a3f6b523a8b0739ccb806c7cb5 | 40,735 | py | Python | model.py | arthurmeyer/Saliency_Detection_Convolutional_Autoencoder | 4d27f24731dc6ab0086d2ee639a237b62d4bbe15 | [
"MIT"
] | 30 | 2017-06-20T02:32:58.000Z | 2021-03-10T02:37:13.000Z | model.py | arthurmeyer/Saliency_Detection_Convolutional_Autoencoder | 4d27f24731dc6ab0086d2ee639a237b62d4bbe15 | [
"MIT"
] | 2 | 2017-06-16T13:04:48.000Z | 2017-06-26T04:59:44.000Z | model.py | arthurmeyer/Saliency_Detection_Convolutional_Autoencoder | 4d27f24731dc6ab0086d2ee639a237b62d4bbe15 | [
"MIT"
] | 6 | 2017-12-04T09:28:48.000Z | 2019-09-03T12:34:37.000Z | """ --------------------------------------------------
author: arthur meyer
email: arthur.meyer.38@gmail.com
status: final
version: v2.0
--------------------------------------------------"""
from __future__ import division
import tensorflow as tf
import numpy as np
class MODEL(object):
"""... | 52.971391 | 210 | 0.625948 | 5,913 | 40,735 | 4.137325 | 0.055978 | 0.024853 | 0.064666 | 0.048152 | 0.829096 | 0.821575 | 0.806859 | 0.799869 | 0.786094 | 0.775548 | 0 | 0.06324 | 0.220916 | 40,735 | 769 | 211 | 52.971391 | 0.707619 | 0.0626 | 0 | 0.639313 | 0 | 0.001908 | 0.041422 | 0.007186 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009542 | false | 0 | 0.005725 | 0 | 0.022901 | 0.017176 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
17bb6ae46a339ba6b506e57521511c945633846b | 1,729 | py | Python | 8.py | juandarr/ProjectEuler | 951705ac62f550d7fbecdc3f35ab8c38b53b9225 | [
"MIT"
] | null | null | null | 8.py | juandarr/ProjectEuler | 951705ac62f550d7fbecdc3f35ab8c38b53b9225 | [
"MIT"
] | null | null | null | 8.py | juandarr/ProjectEuler | 951705ac62f550d7fbecdc3f35ab8c38b53b9225 | [
"MIT"
] | null | null | null | """
Finds the biggest product of n consecutive digits from a string of numbers
Author: Juan Rios
"""
import math
d = "731671765313306249192251196744265747423553491949349698352031277450"\
"6326239578318016984801869478851843858615607891129494954595017379583"\
"3195285320880551112540698747158523863050715693290963... | 45.5 | 113 | 0.802198 | 106 | 1,729 | 12.95283 | 0.509434 | 0.050983 | 0.037145 | 0.041515 | 0.06118 | 0.06118 | 0.06118 | 0.06118 | 0 | 0 | 0 | 0.677181 | 0.13823 | 1,729 | 38 | 113 | 45.5 | 0.244295 | 0.082707 | 0 | 0 | 0 | 0 | 0.681444 | 0.633312 | 0 | 1 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.033333 | 0 | 0.1 | 0.033333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
17bbeec9328f757734c05c7b616c529e7eebb14c | 4,023 | py | Python | states/base.py | ILoveAndLikePizza/lichtkrant | 3165c0f0ffd6587c17f33ef5a858ed3b8e937d3e | [
"MIT"
] | 1 | 2021-10-16T10:19:26.000Z | 2021-10-16T10:19:26.000Z | states/base.py | ILoveAndLikePizza/lichtkrant | 3165c0f0ffd6587c17f33ef5a858ed3b8e937d3e | [
"MIT"
] | 5 | 2021-06-15T19:09:47.000Z | 2021-11-21T13:03:26.000Z | states/base.py | ILoveAndLikePizza/lichtkrant | 3165c0f0ffd6587c17f33ef5a858ed3b8e937d3e | [
"MIT"
] | 8 | 2021-07-08T15:29:28.000Z | 2022-03-18T07:57:24.000Z | from threading import Thread
from sys import stdout
from shutil import which
class BaseState(Thread):
name = "base"
def __init__(self):
super().__init__()
self.killed = False
self.on_pi = which("rpi-update")
def kill(self):
self.killed = True
def output_image(self, p... | 49.060976 | 73 | 0.305245 | 757 | 4,023 | 1.59181 | 0.116248 | 0.303734 | 0.234025 | 0.169295 | 0.487137 | 0.487137 | 0.481328 | 0.472199 | 0.441494 | 0.390041 | 0 | 0.235938 | 0.363659 | 4,023 | 81 | 74 | 49.666667 | 0.234766 | 0 | 0 | 0 | 0 | 0 | 0.013174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082192 | false | 0 | 0.041096 | 0 | 0.205479 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
17f286e3dd70dc4498bd512ddb9cca82f1d9f717 | 31 | py | Python | livemark/plugins/task/__init__.py | gabrielbdornas/livemark | 1c717e14e05e29f6feda4900d1e8e79025b8117d | [
"MIT"
] | 73 | 2021-06-07T13:28:36.000Z | 2022-03-26T05:37:59.000Z | livemark/plugins/task/__init__.py | gabrielbdornas/livemark | 1c717e14e05e29f6feda4900d1e8e79025b8117d | [
"MIT"
] | 120 | 2021-06-04T12:51:01.000Z | 2022-03-21T11:11:36.000Z | livemark/plugins/task/__init__.py | gabrielbdornas/livemark | 1c717e14e05e29f6feda4900d1e8e79025b8117d | [
"MIT"
] | 7 | 2021-09-22T11:38:26.000Z | 2022-03-26T05:35:58.000Z | from .plugin import TaskPlugin
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa40362ee15552b836203c2d186c02fa7123ff45 | 25 | py | Python | pygpulab/__init__.py | grnydawn/pygpulab | 4edaf0fd46f31421c447de4b7835aa63563213a9 | [
"MIT"
] | 1 | 2020-10-17T19:44:21.000Z | 2020-10-17T19:44:21.000Z | pygpulab/__init__.py | grnydawn/pygpulab | 4edaf0fd46f31421c447de4b7835aa63563213a9 | [
"MIT"
] | null | null | null | pygpulab/__init__.py | grnydawn/pygpulab | 4edaf0fd46f31421c447de4b7835aa63563213a9 | [
"MIT"
] | null | null | null | from .main import GPULab
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 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 | 1 | 0 | 0 | 6 |
a4d421d15a52c8065b953b5959c708e541073a32 | 210 | py | Python | Solutions/Training/Lesson_04/__init__.py | dev-11/codility-solutions | 01b0ce4a43b1390fe15f2daabea95e90b834fbfc | [
"MIT"
] | null | null | null | Solutions/Training/Lesson_04/__init__.py | dev-11/codility-solutions | 01b0ce4a43b1390fe15f2daabea95e90b834fbfc | [
"MIT"
] | null | null | null | Solutions/Training/Lesson_04/__init__.py | dev-11/codility-solutions | 01b0ce4a43b1390fe15f2daabea95e90b834fbfc | [
"MIT"
] | null | null | null | from .frog_river_one import solution as frog_river_one
from .perm_check import solution as perm_check
from .missing_integer import solution as missing_integer
from .max_counters import solution as max_counters
| 42 | 56 | 0.866667 | 34 | 210 | 5.058824 | 0.382353 | 0.325581 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 210 | 4 | 57 | 52.5 | 0.924731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10291982e8ef2524fa123efa3d5a5aed88ce491d | 675 | py | Python | openapi_netdisco/models/__init__.py | mksoska/openapi-client-netdisco | d6444505307e4897a9fef1ded60a180eb764d4b8 | [
"MIT"
] | null | null | null | openapi_netdisco/models/__init__.py | mksoska/openapi-client-netdisco | d6444505307e4897a9fef1ded60a180eb764d4b8 | [
"MIT"
] | null | null | null | openapi_netdisco/models/__init__.py | mksoska/openapi-client-netdisco | d6444505307e4897a9fef1ded60a180eb764d4b8 | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
App::Netdisco
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 2.050003
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_im... | 29.347826 | 124 | 0.804444 | 90 | 675 | 5.888889 | 0.477778 | 0.124528 | 0.215094 | 0.283019 | 0.109434 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.128889 | 675 | 22 | 125 | 30.681818 | 0.880952 | 0.426667 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1096426e9c04a02a11d912c98901a7c75900448f | 760 | py | Python | hack/transistors/data/make_part_by_doc.py | lukehsiao/lctes-hack | 9603646bfd5ee2832b0f4040f1924ec0409d550d | [
"MIT"
] | 3 | 2019-05-02T01:24:43.000Z | 2020-04-24T08:40:16.000Z | hack/transistors/data/make_part_by_doc.py | fonduer-apps/hack | d5b82140f3826b6d90156b20d9c6731b7fe07e8c | [
"MIT"
] | 2 | 2019-11-22T11:35:09.000Z | 2019-11-26T22:50:48.000Z | hack/transistors/data/make_part_by_doc.py | fonduer-apps/hack | d5b82140f3826b6d90156b20d9c6731b7fe07e8c | [
"MIT"
] | 1 | 2019-11-29T05:51:03.000Z | 2019-11-29T05:51:03.000Z | import csv
import pickle
parts_by_doc = dict()
with open("dev/dev_gold.csv") as csv_file:
csv_reader = csv.reader(csv_file, delimiter=",")
for row in csv_reader:
doc_name = row[0].upper()
part_num = row[2]
if doc_name not in parts_by_doc:
parts_by_doc[doc_name] = set()
... | 28.148148 | 61 | 0.651316 | 128 | 760 | 3.53125 | 0.265625 | 0.154867 | 0.221239 | 0.115044 | 0.730089 | 0.730089 | 0.730089 | 0.730089 | 0.730089 | 0.730089 | 0 | 0.006826 | 0.228947 | 760 | 26 | 62 | 29.230769 | 0.764505 | 0 | 0 | 0.666667 | 0 | 0 | 0.076316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.095238 | 0 | 0.095238 | 0.047619 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
10aa9060329bcb0a7d2aa24adaf177d1fe6e0c2e | 27 | py | Python | aos_sw_api/syslog/__init__.py | KennethSoelberg/AOS-Switch | a5a2c54917bbb69fab044bf0b313bcf795642d30 | [
"MIT"
] | null | null | null | aos_sw_api/syslog/__init__.py | KennethSoelberg/AOS-Switch | a5a2c54917bbb69fab044bf0b313bcf795642d30 | [
"MIT"
] | 1 | 2020-12-24T15:36:56.000Z | 2021-01-28T23:19:57.000Z | aos_sw_api/syslog/__init__.py | KennethSoelberg/AOS-Switch | a5a2c54917bbb69fab044bf0b313bcf795642d30 | [
"MIT"
] | 1 | 2021-02-16T23:26:28.000Z | 2021-02-16T23:26:28.000Z | from ._syslog import Syslog | 27 | 27 | 0.851852 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10b016e0388f12c87107b414f8009ea8e9f31803 | 255 | py | Python | Django2YingOps/conf/ibm.py | xiaoqying/YingOps | 5f7dae253d0f10c994a59f6b92e8795cd6230874 | [
"Apache-2.0"
] | 4 | 2020-04-10T00:18:47.000Z | 2020-06-14T01:38:34.000Z | Django2YingOps/conf/ibm.py | xiaoqying/YingOps | 5f7dae253d0f10c994a59f6b92e8795cd6230874 | [
"Apache-2.0"
] | 8 | 2020-05-12T01:25:47.000Z | 2022-02-10T10:29:26.000Z | Django2YingOps/conf/ibm.py | xiaoqying/YingOps | 5f7dae253d0f10c994a59f6b92e8795cd6230874 | [
"Apache-2.0"
] | 5 | 2020-07-09T13:30:08.000Z | 2022-01-30T01:13:04.000Z | def return_ibm_list():
ibm__ip_list = ['192.168.127.71', '192.168.127.72', '192.168.127.73', '192.168.127.74', '192.168.101.1',
'192.168.101.2', '192.168.101.3', '192.168.101.4', '192.168.101.5', '192.168.101.6']
return ibm__ip_list | 63.75 | 108 | 0.596078 | 51 | 255 | 2.823529 | 0.372549 | 0.416667 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.479263 | 0.14902 | 255 | 4 | 109 | 63.75 | 0.184332 | 0 | 0 | 0 | 0 | 0 | 0.523438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
52dbb2bdf27880f7211c8fd4c67444978fd72c1b | 3,905 | py | Python | src/genie/libs/parser/iosxe/tests/ShowCryptoMibIpsecFlowmibTunnel/cli/equal/golden_1_expected.py | ykoehler/genieparser | b62cf622c3d8eab77c7b69e932c214ed04a2565a | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowCryptoMibIpsecFlowmibTunnel/cli/equal/golden_1_expected.py | ykoehler/genieparser | b62cf622c3d8eab77c7b69e932c214ed04a2565a | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowCryptoMibIpsecFlowmibTunnel/cli/equal/golden_1_expected.py | ykoehler/genieparser | b62cf622c3d8eab77c7b69e932c214ed04a2565a | [
"Apache-2.0"
] | null | null | null | expected_output = {
'ipsec_flowmib_tunnel': {
'total_vrf': 1,
'CC-INTERNET': {
'2': {
'out_sa_uncompress_algorithm': 'None',
'out_octets': 195339,
'lifetime_kb': 4608000,
'no_of_refresh': 0,
'out_drops': ... | 39.846939 | 55 | 0.445839 | 356 | 3,905 | 4.441011 | 0.219101 | 0.098672 | 0.086022 | 0.072106 | 0.827324 | 0.827324 | 0.827324 | 0.780519 | 0.703352 | 0.703352 | 0 | 0.091865 | 0.439693 | 3,905 | 97 | 56 | 40.257732 | 0.630713 | 0 | 0 | 0.618557 | 0 | 0 | 0.406658 | 0.169526 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
52efc58221641e011eecddfd3d4b3ec9b1825541 | 93,690 | py | Python | tests/integration/test_schema.py | dswiecki/karapace | b3cc47ee5cd14ed7113748e7fb36744c808f7131 | [
"Apache-2.0"
] | null | null | null | tests/integration/test_schema.py | dswiecki/karapace | b3cc47ee5cd14ed7113748e7fb36744c808f7131 | [
"Apache-2.0"
] | null | null | null | tests/integration/test_schema.py | dswiecki/karapace | b3cc47ee5cd14ed7113748e7fb36744c808f7131 | [
"Apache-2.0"
] | null | null | null | """
karapace - schema tests
Copyright (c) 2019 Aiven Ltd
See LICENSE for details
"""
from http import HTTPStatus
from kafka import KafkaProducer
from karapace import config
from karapace.rapu import is_success
from karapace.schema_registry_apis import KarapaceSchemaRegistry, SchemaErrorMessages
from karapace.utils imp... | 39.766553 | 125 | 0.619351 | 10,970 | 93,690 | 5.092799 | 0.051504 | 0.054128 | 0.107468 | 0.103959 | 0.830994 | 0.804378 | 0.785387 | 0.761223 | 0.726946 | 0.689303 | 0 | 0.018166 | 0.235596 | 93,690 | 2,355 | 126 | 39.783439 | 0.761928 | 0.04405 | 0 | 0.587892 | 0 | 0.002655 | 0.24011 | 0.099219 | 0 | 0 | 0 | 0.000425 | 0.225704 | 1 | 0.000531 | false | 0 | 0.007435 | 0 | 0.008497 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e26822ca73448a2af4561529c0f6af08019f62d | 204 | py | Python | code/hiking/__init__.py | david-liu/hiking | a031ba66472809d2a01201fea9bdd5f12fcc19de | [
"Apache-2.0"
] | null | null | null | code/hiking/__init__.py | david-liu/hiking | a031ba66472809d2a01201fea9bdd5f12fcc19de | [
"Apache-2.0"
] | 1 | 2018-11-07T08:33:17.000Z | 2018-11-07T08:33:17.000Z | code/hiking/__init__.py | david-liu/hiking | a031ba66472809d2a01201fea9bdd5f12fcc19de | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from hiking.application import HikingApplication
from hiking import service as hiking_service | 29.142857 | 48 | 0.882353 | 26 | 204 | 6.346154 | 0.461538 | 0.181818 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112745 | 204 | 7 | 49 | 29.142857 | 0.911602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eabd80905af39789f4fdebf327d38313aba790ab | 15,441 | py | Python | tests/test_cli/test_add/test_connection.py | cyenyxe/agents-aea | c2aec9127028ae13def3f69fbc80d35400de1565 | [
"Apache-2.0"
] | null | null | null | tests/test_cli/test_add/test_connection.py | cyenyxe/agents-aea | c2aec9127028ae13def3f69fbc80d35400de1565 | [
"Apache-2.0"
] | 1 | 2020-02-21T14:28:13.000Z | 2020-03-05T14:53:53.000Z | tests/test_cli/test_add/test_connection.py | cyenyxe/agents-aea | c2aec9127028ae13def3f69fbc80d35400de1565 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
#
# Copyright 2018-2019 Fetch.AI Limited
#
# 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 ... | 35.334096 | 120 | 0.610712 | 1,843 | 15,441 | 4.941942 | 0.123711 | 0.048529 | 0.025033 | 0.029644 | 0.74473 | 0.74473 | 0.74473 | 0.72881 | 0.72881 | 0.715195 | 0 | 0.00586 | 0.270578 | 15,441 | 436 | 121 | 35.415138 | 0.802806 | 0.221488 | 0 | 0.713333 | 0 | 0 | 0.079516 | 0.009961 | 0 | 0 | 0 | 0 | 0.073333 | 1 | 0.083333 | false | 0.02 | 0.04 | 0 | 0.143333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eac2a7e78e61c38796b31d44b94b976ad8a1c7ed | 1,230 | py | Python | tests/test_func.py | Cologler/bytecode2ast-python | 407b261a493e018bc86388040ddfb6fb0e4b96d9 | [
"MIT"
] | null | null | null | tests/test_func.py | Cologler/bytecode2ast-python | 407b261a493e018bc86388040ddfb6fb0e4b96d9 | [
"MIT"
] | null | null | null | tests/test_func.py | Cologler/bytecode2ast-python | 407b261a493e018bc86388040ddfb6fb0e4b96d9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (c) 2019~2999 - Cologler <skyoflw@gmail.com>
# ----------
#
# ----------
from utils import get_instrs_from_b2a, get_instrs
def test_func_pass():
def func():
pass
assert get_instrs(func) == get_instrs_from_b2a(func)
def test_func_posarg_bin_op():
def func(x):... | 21.206897 | 56 | 0.61626 | 191 | 1,230 | 3.65445 | 0.246073 | 0.232092 | 0.167622 | 0.206304 | 0.630372 | 0.611748 | 0.611748 | 0.611748 | 0.611748 | 0.611748 | 0 | 0.026399 | 0.230081 | 1,230 | 57 | 57 | 21.578947 | 0.710665 | 0.079675 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.470588 | false | 0.058824 | 0.029412 | 0.058824 | 0.588235 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 6 |
d828ef6cecd1f0cbb8c8e1614940796271327c5a | 2,914 | py | Python | Q52NQueensII.py | ChenliangLi205/LeetCode | 6c547c338eb05042cb68f57f737dce483964e2fd | [
"MIT"
] | null | null | null | Q52NQueensII.py | ChenliangLi205/LeetCode | 6c547c338eb05042cb68f57f737dce483964e2fd | [
"MIT"
] | null | null | null | Q52NQueensII.py | ChenliangLi205/LeetCode | 6c547c338eb05042cb68f57f737dce483964e2fd | [
"MIT"
] | null | null | null | class Solution:
def totalNQueens(self, n):
"""
:type n: int
:rtype: int
"""
if n == 1:
return 1
if n < 4:
return 0
vboard = [[0]*n for _ in range(n)]
results = [0]
def BackTrack(k):
if k >= n:
... | 34.690476 | 59 | 0.418668 | 290 | 2,914 | 4.203448 | 0.117241 | 0.183757 | 0.111567 | 0.11813 | 0.813782 | 0.813782 | 0.802297 | 0.802297 | 0.802297 | 0.802297 | 0 | 0.030831 | 0.487989 | 2,914 | 84 | 60 | 34.690476 | 0.786193 | 0.008236 | 0 | 0.671053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0 | 0 | 0.118421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d82ed315f751b6c61c35bb5e8407acd17ffa89cf | 28 | py | Python | maec/vocabs/__init__.py | colbyprior/python-maec | 109d4517b0123a5f01e31c15818f35772d451705 | [
"BSD-3-Clause"
] | 22 | 2015-02-19T14:07:05.000Z | 2021-03-25T00:34:12.000Z | maec/vocabs/__init__.py | colbyprior/python-maec | 109d4517b0123a5f01e31c15818f35772d451705 | [
"BSD-3-Clause"
] | 28 | 2015-02-21T03:06:48.000Z | 2019-09-17T17:27:31.000Z | maec/vocabs/__init__.py | colbyprior/python-maec | 109d4517b0123a5f01e31c15818f35772d451705 | [
"BSD-3-Clause"
] | 15 | 2015-06-19T18:10:32.000Z | 2021-02-17T05:59:06.000Z | from .vocabs import * # noqa | 28 | 28 | 0.714286 | 4 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.869565 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc4bb09e24833bf8a8cf498711cd417f2e2e9bd7 | 101 | py | Python | scitbx/__init__.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | scitbx/__init__.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | scitbx/__init__.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | from __future__ import absolute_import, division, print_function
import libtbx.forward_compatibility
| 33.666667 | 64 | 0.891089 | 12 | 101 | 6.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 101 | 2 | 65 | 50.5 | 0.892473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
dc588af25823fa925e78af37bd0f99831c9c7b3b | 47 | py | Python | devops_env/models.py | angelquin1986/DevopsTestBP | b1136f792879df0c8f7cd06db5febed3b686d12f | [
"Apache-2.0"
] | null | null | null | devops_env/models.py | angelquin1986/DevopsTestBP | b1136f792879df0c8f7cd06db5febed3b686d12f | [
"Apache-2.0"
] | 4 | 2020-01-23T22:20:33.000Z | 2021-06-10T21:31:51.000Z | devops_env/models.py | angelquin1986/DevopsTestBP | b1136f792879df0c8f7cd06db5febed3b686d12f | [
"Apache-2.0"
] | null | null | null | """
Se registran todos los modelos del ORM
""" | 15.666667 | 39 | 0.680851 | 7 | 47 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 3 | 40 | 15.666667 | 0.842105 | 0.829787 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc850764597a1427d50dfe3dbf6cddd95136879b | 77 | py | Python | voronoiz/__init__.py | WarrenWeckesser/voronoiz | aad2b62bda3015bfb998142b8694c555a518d748 | [
"MIT"
] | 1 | 2022-03-23T18:11:34.000Z | 2022-03-23T18:11:34.000Z | voronoiz/__init__.py | WarrenWeckesser/voronoiz | aad2b62bda3015bfb998142b8694c555a518d748 | [
"MIT"
] | null | null | null | voronoiz/__init__.py | WarrenWeckesser/voronoiz | aad2b62bda3015bfb998142b8694c555a518d748 | [
"MIT"
] | null | null | null |
from ._voronoi_l1 import voronoi_l1
from ._voronoi_grid import voronoi_grid
| 19.25 | 39 | 0.857143 | 12 | 77 | 5 | 0.416667 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.116883 | 77 | 3 | 40 | 25.666667 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4f1d7c99e91f87f2c316ea2f696eff3196d4cc5 | 2,141 | py | Python | 04-FaceRecognition-II/thetensorclan-backend-heroku/models/classifiers.py | amitkml/TSAI-DeepVision-EVA4.0-Phase-2 | f9e232b3eb6ce20f522136523e79208ed85a1f28 | [
"MIT"
] | 1 | 2021-03-21T08:45:05.000Z | 2021-03-21T08:45:05.000Z | 04-FaceRecognition-II/thetensorclan-backend-heroku/models/classifiers.py | amitkml/TSAI-DeepVision-EVA4.0-Phase-2 | f9e232b3eb6ce20f522136523e79208ed85a1f28 | [
"MIT"
] | null | null | null | 04-FaceRecognition-II/thetensorclan-backend-heroku/models/classifiers.py | amitkml/TSAI-DeepVision-EVA4.0-Phase-2 | f9e232b3eb6ce20f522136523e79208ed85a1f28 | [
"MIT"
] | null | null | null | import torchvision.transforms as T
from torchvision.transforms import Compose
import torch.nn.functional as F
from utils import setup_logger
logger = setup_logger(__name__)
def classify_resnet34_imagenet(model, classes, image):
trans: Compose = T.Compose([
T.Resize(256),
T.CenterCrop(224),
... | 31.028986 | 146 | 0.668846 | 281 | 2,141 | 4.982206 | 0.291815 | 0.068571 | 0.036429 | 0.042857 | 0.722143 | 0.722143 | 0.702857 | 0.702857 | 0.702857 | 0.702857 | 0 | 0.102331 | 0.178421 | 2,141 | 68 | 147 | 31.485294 | 0.693576 | 0.017749 | 0 | 0.733333 | 0 | 0 | 0.041707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.088889 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76019db36d48b54abaf8d87b8e9ae45148612d5e | 226 | py | Python | language-learning/python/tricks/type_annotation.py | imteekay/programming-language-research | a9b05d70a669d789d79e1bd916bcc088958ff9df | [
"MIT"
] | 24 | 2019-05-24T03:22:42.000Z | 2021-09-30T01:04:17.000Z | language-learning/python/tricks/type_annotation.py | imteekay/programming-language-research | a9b05d70a669d789d79e1bd916bcc088958ff9df | [
"MIT"
] | null | null | null | language-learning/python/tricks/type_annotation.py | imteekay/programming-language-research | a9b05d70a669d789d79e1bd916bcc088958ff9df | [
"MIT"
] | 3 | 2019-11-22T19:04:23.000Z | 2021-04-15T19:40:47.000Z | def add_this(a, b):
return a + b
print(add_this('hello ', 'world'))
print(add_this(1, 2))
def typed_add_this(a: int, b: int) -> int:
return a + b
print(typed_add_this('hello ', 'world'))
print(typed_add_this(1, 2))
| 18.833333 | 42 | 0.641593 | 42 | 226 | 3.238095 | 0.309524 | 0.308824 | 0.264706 | 0.191176 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02139 | 0.172566 | 226 | 11 | 43 | 20.545455 | 0.705882 | 0 | 0 | 0.25 | 0 | 0 | 0.097345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
5210c372b2e10e5e56666f87dd9a84412549fea7 | 26 | py | Python | axelrod/strategies/__init__.py | DumisaniZA/Axelrod | e59fc40ebb705afe05cea6f30e282d1e9c621259 | [
"MIT"
] | 33 | 2015-02-20T11:36:48.000Z | 2022-02-16T17:02:06.000Z | axelrod/strategies/__init__.py | DumisaniZA/Axelrod | e59fc40ebb705afe05cea6f30e282d1e9c621259 | [
"MIT"
] | 108 | 2015-02-18T14:15:44.000Z | 2020-05-08T10:39:58.000Z | axelrod/strategies/__init__.py | DumisaniZA/Axelrod | e59fc40ebb705afe05cea6f30e282d1e9c621259 | [
"MIT"
] | 41 | 2015-02-18T13:40:04.000Z | 2021-05-31T06:08:10.000Z | from _strategies import *
| 13 | 25 | 0.807692 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
52557d76dfc907893245be4a7bf8324b8feaa2c7 | 459 | py | Python | openrec/modules/extractions/__init__.py | BoData-Bot/openrec | 3d655d21b762b40d50e53cea96d7802fd49c74ad | [
"Apache-2.0"
] | null | null | null | openrec/modules/extractions/__init__.py | BoData-Bot/openrec | 3d655d21b762b40d50e53cea96d7802fd49c74ad | [
"Apache-2.0"
] | null | null | null | openrec/modules/extractions/__init__.py | BoData-Bot/openrec | 3d655d21b762b40d50e53cea96d7802fd49c74ad | [
"Apache-2.0"
] | null | null | null | from openrec.modules.extractions.extraction import Extraction
from openrec.modules.extractions.identity_mapping import IdentityMapping
from openrec.modules.extractions.latent_factor import LatentFactor
from openrec.modules.extractions.look_up import LookUp
from openrec.modules.extractions.multi_layer_fc import MultiLay... | 57.375 | 83 | 0.893246 | 56 | 459 | 7.196429 | 0.392857 | 0.191067 | 0.312655 | 0.503722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061002 | 459 | 7 | 84 | 65.571429 | 0.935035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8729bfef06b7dc5a56687f2a5718d7529d8f872f | 214 | py | Python | treadmill/plugins/scheduler/algorithm/__init__.py | gaocegege/treadmill | 04325d319c0ee912c066f07b88b674e84485f154 | [
"Apache-2.0"
] | 2 | 2017-03-20T07:13:33.000Z | 2017-05-03T03:39:53.000Z | treadmill/plugins/scheduler/algorithm/__init__.py | gaocegege/treadmill | 04325d319c0ee912c066f07b88b674e84485f154 | [
"Apache-2.0"
] | 12 | 2017-07-10T07:04:06.000Z | 2017-07-26T09:32:54.000Z | treadmill/plugins/scheduler/algorithm/__init__.py | gaocegege/treadmill | 04325d319c0ee912c066f07b88b674e84485f154 | [
"Apache-2.0"
] | 2 | 2017-05-04T11:25:32.000Z | 2017-07-11T09:10:01.000Z | from .predicates import match_app_constraints, match_app_lifetime,\
alive_servers
from .priorities import spread
__all__ = ['match_app_constraints', 'match_app_lifetime',
'alive_servers', 'spread']
| 30.571429 | 67 | 0.761682 | 25 | 214 | 5.96 | 0.48 | 0.214765 | 0.255034 | 0.322148 | 0.630872 | 0.630872 | 0.630872 | 0.630872 | 0 | 0 | 0 | 0 | 0.149533 | 214 | 6 | 68 | 35.666667 | 0.818681 | 0 | 0 | 0 | 0 | 0 | 0.271028 | 0.098131 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
875e180f24a328c589a7596a3781009ff29c77f6 | 36 | py | Python | backend/vobla/schemas/args/__init__.py | Nuqlear/voila | 05ada753425ee62e1edd06f945e58e29e808409b | [
"MIT"
] | 2 | 2017-12-12T14:28:43.000Z | 2018-01-24T10:58:27.000Z | backend/vobla/schemas/args/__init__.py | Nuqlear/voila | 05ada753425ee62e1edd06f945e58e29e808409b | [
"MIT"
] | 21 | 2020-03-05T18:58:11.000Z | 2022-02-02T20:00:34.000Z | backend/vobla/schemas/args/__init__.py | Nuqlear/voila | 05ada753425ee62e1edd06f945e58e29e808409b | [
"MIT"
] | 2 | 2017-12-13T22:43:56.000Z | 2018-01-24T17:14:29.000Z | from vobla.schemas.args import auth
| 18 | 35 | 0.833333 | 6 | 36 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e758d2f77b738567fcd384667e214f87b969c25 | 3,971 | py | Python | onionperf/tests/test_reprocessing.py | amaleewilson/onionperf | 34da5e8c2aa764d70141972ea2520f881e90cb03 | [
"BSD-3-Clause"
] | 1 | 2020-05-07T16:58:22.000Z | 2020-05-07T16:58:22.000Z | onionperf/tests/test_reprocessing.py | NullHypothesis/onionperf | 17b0cf422adc81d356d1db4aba46b495e9487d0b | [
"BSD-3-Clause"
] | null | null | null | onionperf/tests/test_reprocessing.py | NullHypothesis/onionperf | 17b0cf422adc81d356d1db4aba46b495e9487d0b | [
"BSD-3-Clause"
] | null | null | null | import os
import pkg_resources
import datetime
import tempfile
import shutil
from nose.tools import *
from onionperf import analysis
from onionperf import reprocessing
def absolute_data_path(relative_path=""):
"""
Returns an absolute path for test data given a relative path.
"""
return pkg_resources.r... | 46.174419 | 180 | 0.737346 | 603 | 3,971 | 4.545605 | 0.119403 | 0.063845 | 0.037942 | 0.118205 | 0.831448 | 0.831448 | 0.831448 | 0.771981 | 0.73039 | 0.713243 | 0 | 0.062117 | 0.13649 | 3,971 | 85 | 181 | 46.717647 | 0.737241 | 0.015361 | 0 | 0.507246 | 0 | 0 | 0.192347 | 0.153826 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.144928 | false | 0 | 0.115942 | 0 | 0.275362 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e79b6b9cbd482baf0b6f7d587a144653085dd75 | 26 | py | Python | src/pingem/__init__.py | sandernes/pingem | 027d070ff30ca888752382967d75e59236ae728e | [
"MIT"
] | null | null | null | src/pingem/__init__.py | sandernes/pingem | 027d070ff30ca888752382967d75e59236ae728e | [
"MIT"
] | null | null | null | src/pingem/__init__.py | sandernes/pingem | 027d070ff30ca888752382967d75e59236ae728e | [
"MIT"
] | null | null | null | from pinger import Pinger
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5ec3eae29e1a38fda77b556ce1dd97613156e9fd | 16,358 | py | Python | pyVmomi/_typeinfo_lookup.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | pyVmomi/_typeinfo_lookup.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | pyVmomi/_typeinfo_lookup.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | # ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT *******
from .VmomiSupport import CreateDataType, CreateManagedType
from .VmomiSupport import CreateEnumType
from .VmomiSupport import AddVersion, AddVersionParent
from .VmomiSupport import AddBreakingChangesInfo
from .VmomiSupport import F_LINK, F_LINKABLE
from .Vm... | 188.022989 | 1,999 | 0.761279 | 1,576 | 16,358 | 7.847716 | 0.11231 | 0.1913 | 0.14772 | 0.055142 | 0.675614 | 0.55967 | 0.443645 | 0.371928 | 0.250162 | 0.158069 | 0 | 0.022124 | 0.049456 | 16,358 | 86 | 2,000 | 190.209302 | 0.773297 | 0.003607 | 0 | 0 | 1 | 0 | 0.677364 | 0.526109 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.012195 | 0.097561 | 0 | 0.097561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ecfafcadc1c3932bc3b30e9b30dd204b3e706f7 | 442 | py | Python | cell2cell/datasets/__init__.py | ckmah/cell2cell | ce18bbb63e12f9b1da8699567dec9a2a8b78f824 | [
"BSD-3-Clause"
] | 16 | 2020-09-30T01:53:43.000Z | 2022-03-25T09:58:54.000Z | cell2cell/datasets/__init__.py | ckmah/cell2cell | ce18bbb63e12f9b1da8699567dec9a2a8b78f824 | [
"BSD-3-Clause"
] | 2 | 2021-08-09T21:26:54.000Z | 2021-11-08T14:47:39.000Z | cell2cell/datasets/__init__.py | ckmah/cell2cell | ce18bbb63e12f9b1da8699567dec9a2a8b78f824 | [
"BSD-3-Clause"
] | 3 | 2021-11-08T07:47:44.000Z | 2022-03-30T18:40:00.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from cell2cell.datasets.heuristic_data import (HeuristicGOTerms)
from cell2cell.datasets.random_data import (generate_random_rnaseq, generate_random_ppi, generate_random_cci_scores,
generate_random_metadata)
fro... | 55.25 | 125 | 0.776018 | 52 | 442 | 6.115385 | 0.403846 | 0.176101 | 0.198113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010811 | 0.162896 | 442 | 8 | 125 | 55.25 | 0.848649 | 0.047511 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0df34dbf6775b3c40bd4ab5fb49417cfd81cac8b | 6,109 | py | Python | geonode/geonode/themes/migrations/0002_auto_20181015_1208.py | ttungbmt/BecaGIS_GeoPortal | 6c05f9fc020ec4ccf600ba2503a06c2231443920 | [
"MIT"
] | null | null | null | geonode/geonode/themes/migrations/0002_auto_20181015_1208.py | ttungbmt/BecaGIS_GeoPortal | 6c05f9fc020ec4ccf600ba2503a06c2231443920 | [
"MIT"
] | null | null | null | geonode/geonode/themes/migrations/0002_auto_20181015_1208.py | ttungbmt/BecaGIS_GeoPortal | 6c05f9fc020ec4ccf600ba2503a06c2231443920 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.15 on 2018-10-15 00:08
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('geonode_themes', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='geonodethemecus... | 41 | 175 | 0.616468 | 570 | 6,109 | 6.438596 | 0.201754 | 0.066213 | 0.222343 | 0.248501 | 0.814986 | 0.777384 | 0.719074 | 0.634605 | 0.456948 | 0.456948 | 0 | 0.017191 | 0.276314 | 6,109 | 148 | 176 | 41.277027 | 0.812938 | 0.011295 | 0 | 0.673759 | 1 | 0 | 0.244492 | 0.123406 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007092 | 0 | 0.028369 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21c519e91a853baad22df5f76771efbf62708c6e | 104 | py | Python | Comic-Con and k-means/Conclusion/distances.py | jetbrains-academy/Machine-Learning-101 | 7b583dbff1e90115296dcaeac78ca88363c158c9 | [
"MIT"
] | null | null | null | Comic-Con and k-means/Conclusion/distances.py | jetbrains-academy/Machine-Learning-101 | 7b583dbff1e90115296dcaeac78ca88363c158c9 | [
"MIT"
] | 10 | 2021-11-22T16:51:52.000Z | 2022-02-14T12:57:57.000Z | Comic-Con and k-means/Reading an image/distances.py | jetbrains-academy/Machine-Learning-101 | 7b583dbff1e90115296dcaeac78ca88363c158c9 | [
"MIT"
] | null | null | null | import numpy as np
def euclidean_distance(A, B):
return np.sqrt(np.sum(np.square(A - B), axis=1))
| 17.333333 | 52 | 0.673077 | 20 | 104 | 3.45 | 0.75 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.173077 | 104 | 5 | 53 | 20.8 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
df444ee0974b62adfae498b528c0fb8786edef20 | 381 | py | Python | gaphor/UML/diagramitems.py | bertob/gaphor | a1d6f8dd8c878f299980bba6c055436148573274 | [
"Apache-2.0"
] | 867 | 2018-01-09T00:19:09.000Z | 2022-03-31T02:49:23.000Z | gaphor/UML/diagramitems.py | burakozturk16/gaphor | 86267a5200ac4439626d35d306dbb376c3800107 | [
"Apache-2.0"
] | 790 | 2018-01-13T23:47:07.000Z | 2022-03-31T16:04:27.000Z | gaphor/UML/diagramitems.py | burakozturk16/gaphor | 86267a5200ac4439626d35d306dbb376c3800107 | [
"Apache-2.0"
] | 117 | 2018-01-09T02:24:49.000Z | 2022-03-23T08:07:42.000Z | """All Item's defined in the diagram package.
This module makes it easier to load a diagram item.
"""
from gaphor.diagram.general import *
from gaphor.UML.actions import *
from gaphor.UML.classes import *
from gaphor.UML.components import *
from gaphor.UML.interactions import *
from gaphor.UML.profiles import *
from ... | 27.214286 | 51 | 0.776903 | 58 | 381 | 5.103448 | 0.482759 | 0.27027 | 0.378378 | 0.449324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136483 | 381 | 13 | 52 | 29.307692 | 0.899696 | 0.249344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10d99b3035afd2d9b23e9e982e651a8acd30df6c | 61,186 | py | Python | tests/integration/test_api.py | neuro-inc/platform-monitoring | 4b9127c7ca56a64ff4c6142093663318d06918b9 | [
"Apache-2.0"
] | null | null | null | tests/integration/test_api.py | neuro-inc/platform-monitoring | 4b9127c7ca56a64ff4c6142093663318d06918b9 | [
"Apache-2.0"
] | 52 | 2021-11-15T03:14:13.000Z | 2022-03-31T03:16:01.000Z | tests/integration/test_api.py | neuro-inc/platform-monitoring | 4b9127c7ca56a64ff4c6142093663318d06918b9 | [
"Apache-2.0"
] | null | null | null | import asyncio
import json
import re
import signal
import textwrap
import time
from collections.abc import AsyncIterator, Awaitable, Callable, Iterator
from dataclasses import dataclass
from typing import Any, Union
from unittest import mock
from uuid import uuid4
import aiohttp
import aiohttp.hdrs
import pytest
from ... | 35.614668 | 88 | 0.608227 | 7,049 | 61,186 | 5.066534 | 0.065683 | 0.02352 | 0.03066 | 0.044772 | 0.816235 | 0.784678 | 0.762082 | 0.738646 | 0.715714 | 0.693874 | 0 | 0.008012 | 0.296195 | 61,186 | 1,717 | 89 | 35.635411 | 0.821332 | 0.016883 | 0 | 0.689922 | 0 | 0.005638 | 0.063499 | 0.011716 | 0 | 0 | 0 | 0.000582 | 0.105004 | 1 | 0.021142 | false | 0.003524 | 0.017618 | 0.016209 | 0.07611 | 0.000705 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
800e6c29ffa3d080f6d4d07198193d958bb5dfa3 | 349 | py | Python | django/pages/views.py | wanyaworld/SearchThis | ea172d303679595158c55df6ec06168693e5c141 | [
"MIT"
] | null | null | null | django/pages/views.py | wanyaworld/SearchThis | ea172d303679595158c55df6ec06168693e5c141 | [
"MIT"
] | null | null | null | django/pages/views.py | wanyaworld/SearchThis | ea172d303679595158c55df6ec06168693e5c141 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def homePageView(request):
return HttpResponse('Hello, World!')
def documentPageView(request):
return HttpResponse('This is document.')
def queryPageView(request, arg):
return HttpResponse('This is query re... | 26.846154 | 69 | 0.759312 | 43 | 349 | 6.162791 | 0.581395 | 0.203774 | 0.188679 | 0.181132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148997 | 349 | 12 | 70 | 29.083333 | 0.892256 | 0.065903 | 0 | 0 | 0 | 0 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.25 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3380b8672496719da6bac16383479c73c4d3940a | 22 | py | Python | eve_rights/__init__.py | SakiiR/eve-rights | 8af4be16c7afe7d99a42b8c5d2407f17a22866fb | [
"MIT"
] | null | null | null | eve_rights/__init__.py | SakiiR/eve-rights | 8af4be16c7afe7d99a42b8c5d2407f17a22866fb | [
"MIT"
] | null | null | null | eve_rights/__init__.py | SakiiR/eve-rights | 8af4be16c7afe7d99a42b8c5d2407f17a22866fb | [
"MIT"
] | null | null | null | from .main import Eve
| 11 | 21 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33b0b081865040bee5fc91dcecd37602efac9f4b | 35,565 | py | Python | tests/naif_pds4_bundler/functional/test_insight.py | NASA-PDS/naif-pds4-bundler | bd7207d157ec9cae60f42cb9ea387ac194b1671c | [
"Apache-2.0"
] | null | null | null | tests/naif_pds4_bundler/functional/test_insight.py | NASA-PDS/naif-pds4-bundler | bd7207d157ec9cae60f42cb9ea387ac194b1671c | [
"Apache-2.0"
] | null | null | null | tests/naif_pds4_bundler/functional/test_insight.py | NASA-PDS/naif-pds4-bundler | bd7207d157ec9cae60f42cb9ea387ac194b1671c | [
"Apache-2.0"
] | null | null | null | """Functional Test Family for InSight Archive Generation."""
import glob
import os
import shutil
from pds.naif_pds4_bundler.__main__ import main
def test_insight_basic(self):
"""Test for basic execution of the pipeline.
Test complete pipeline with basic Insight data: FKs, IKs and a SCLK.
Test is succes... | 35.004921 | 128 | 0.613721 | 4,570 | 35,565 | 4.652735 | 0.076805 | 0.03673 | 0.039787 | 0.029488 | 0.789117 | 0.766214 | 0.739548 | 0.723416 | 0.702911 | 0.689178 | 0 | 0.022669 | 0.260762 | 35,565 | 1,015 | 129 | 35.039409 | 0.786086 | 0.26976 | 0 | 0.756849 | 0 | 0.001712 | 0.32341 | 0.218465 | 0 | 0 | 0 | 0 | 0.017123 | 1 | 0.047945 | false | 0.010274 | 0.006849 | 0 | 0.054795 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33f04180224c13decfecdcc16acf9d09bf9360b5 | 154 | py | Python | prngmgr_inventory/__init__.py | wolcomm/ansible-prngmgr-inventory | 1277ceb9a3911e43b62d26f29e26a52f029a55e8 | [
"Apache-2.0"
] | 1 | 2019-05-15T16:00:59.000Z | 2019-05-15T16:00:59.000Z | prngmgr_inventory/__init__.py | wolcomm/ansible-prngmgr-inventory | 1277ceb9a3911e43b62d26f29e26a52f029a55e8 | [
"Apache-2.0"
] | null | null | null | prngmgr_inventory/__init__.py | wolcomm/ansible-prngmgr-inventory | 1277ceb9a3911e43b62d26f29e26a52f029a55e8 | [
"Apache-2.0"
] | null | null | null | """
PrngMgr dynamic inventory module
================================
An ansible dynamic inventory module to fetch peering session data from prngmgr
"""
| 22 | 78 | 0.623377 | 16 | 154 | 6 | 0.75 | 0.333333 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 154 | 6 | 79 | 25.666667 | 0.716418 | 0.941558 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 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 | 6 |
33f5c7c095ae530d3dd37b4637ff50a4ac0f7267 | 54,884 | py | Python | events/tests/snapshots/snap_test_api.py | City-of-Helsinki/kukkuu | 61f26bc622928fd04f6a397f832aaffff789e806 | [
"MIT"
] | null | null | null | events/tests/snapshots/snap_test_api.py | City-of-Helsinki/kukkuu | 61f26bc622928fd04f6a397f832aaffff789e806 | [
"MIT"
] | 157 | 2019-10-08T07:58:59.000Z | 2022-03-20T23:00:17.000Z | events/tests/snapshots/snap_test_api.py | City-of-Helsinki/kukkuu | 61f26bc622928fd04f6a397f832aaffff789e806 | [
"MIT"
] | 3 | 2019-10-07T12:06:26.000Z | 2022-01-25T14:03:14.000Z | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots["test_add_event_group[model_perm] 1"] = {
"data": {
"addEventGroup": {
"eventGroup": {
"image": "",
... | 39.541787 | 206 | 0.444374 | 4,158 | 54,884 | 5.770322 | 0.122655 | 0.035677 | 0.03301 | 0.02134 | 0.89026 | 0.847622 | 0.825491 | 0.795524 | 0.761764 | 0.744175 | 0 | 0.058609 | 0.431401 | 54,884 | 1,387 | 207 | 39.570296 | 0.710225 | 0.00113 | 0 | 0.580153 | 0 | 0.00687 | 0.471588 | 0.108539 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.003053 | 0.001527 | 0 | 0.001527 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33f6e6f39e443cb0a6cd934ece280e6f40c20801 | 77 | py | Python | src/web/modules/auth/services/None.py | unkyulee/elastic-cms | 3ccf4476c3523d4fefc0d8d9dee0196815b81489 | [
"MIT"
] | 2 | 2017-04-30T07:29:23.000Z | 2017-04-30T07:36:27.000Z | src/web/modules/auth/services/None.py | unkyulee/elastic-cms | 3ccf4476c3523d4fefc0d8d9dee0196815b81489 | [
"MIT"
] | null | null | null | src/web/modules/auth/services/None.py | unkyulee/elastic-cms | 3ccf4476c3523d4fefc0d8d9dee0196815b81489 | [
"MIT"
] | null | null | null | # ldap authenticate
def authenticate(p, username, password):
return True
| 19.25 | 40 | 0.753247 | 9 | 77 | 6.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 3 | 41 | 25.666667 | 0.90625 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
33ffe2b17a11ee2112b85e091637306d10da3b8b | 6,068 | py | Python | satellite/tests/controller/test_flow_handlers.py | aslepakurov/vgs-satellite | 9865a51a88987a32ea0ef89e7c39d2acea5f039a | [
"Apache-2.0"
] | null | null | null | satellite/tests/controller/test_flow_handlers.py | aslepakurov/vgs-satellite | 9865a51a88987a32ea0ef89e7c39d2acea5f039a | [
"Apache-2.0"
] | null | null | null | satellite/tests/controller/test_flow_handlers.py | aslepakurov/vgs-satellite | 9865a51a88987a32ea0ef89e7c39d2acea5f039a | [
"Apache-2.0"
] | null | null | null | import json
from datetime import datetime
from unittest.mock import Mock
from mitmproxy.flow import Error
from satellite.proxy import exceptions
from .base import BaseHandlerTestCase
from ..factories import load_flow
class TestFlowsHandler(BaseHandlerTestCase):
def test_ok(self):
self.proxy_manager.get... | 38.405063 | 95 | 0.658207 | 741 | 6,068 | 5.140351 | 0.11336 | 0.066159 | 0.088212 | 0.071672 | 0.824101 | 0.801785 | 0.760567 | 0.750591 | 0.746653 | 0.744815 | 0 | 0.054031 | 0.22528 | 6,068 | 157 | 96 | 38.649682 | 0.756222 | 0 | 0 | 0.622222 | 0 | 0 | 0.136618 | 0.081411 | 0 | 0 | 0 | 0 | 0.207407 | 1 | 0.096296 | false | 0 | 0.051852 | 0 | 0.177778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d5cd852359c1fdca30a625410239f440aa35e3a | 277 | py | Python | copypaster/stories/__init__.py | kr1surb4n/copypaster | f4dd696a2f4332ec0120305f6db314d5ff2854cb | [
"MIT"
] | null | null | null | copypaster/stories/__init__.py | kr1surb4n/copypaster | f4dd696a2f4332ec0120305f6db314d5ff2854cb | [
"MIT"
] | null | null | null | copypaster/stories/__init__.py | kr1surb4n/copypaster | f4dd696a2f4332ec0120305f6db314d5ff2854cb | [
"MIT"
] | null | null | null | """Here we load all the stories.
We do that by importing whole file.
The order is probably important.
"""
from .button_grid import * # noqa
from .buttons import * # noqa
from .clipboard import * # noqa
from .state_buttons import * # noqa
from .gtk_events import * # noqa
| 25.181818 | 36 | 0.714801 | 41 | 277 | 4.756098 | 0.634146 | 0.25641 | 0.287179 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198556 | 277 | 10 | 37 | 27.7 | 0.878378 | 0.451264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d600836a0ca18e838c016f5dea9a5d9990de605 | 269 | py | Python | info/serializers.py | barretto-c/django-covid-19 | ef0b2ef47ec39a35c47d42f8f56d361af4f032c1 | [
"MIT"
] | null | null | null | info/serializers.py | barretto-c/django-covid-19 | ef0b2ef47ec39a35c47d42f8f56d361af4f032c1 | [
"MIT"
] | 5 | 2021-03-30T13:51:04.000Z | 2021-09-22T19:23:23.000Z | info/serializers.py | barretto-c/django-covid-19 | ef0b2ef47ec39a35c47d42f8f56d361af4f032c1 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from info.models import CovidData
# class CovidDataSerializer(serializers.HyperlinkedModelSerializer):
class CovidDataSerializer(serializers.ModelSerializer):
class Meta:
model = CovidData
fields = '__all__'
| 26.9 | 68 | 0.784387 | 24 | 269 | 8.583333 | 0.666667 | 0.23301 | 0.339806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159851 | 269 | 9 | 69 | 29.888889 | 0.911504 | 0.245353 | 0 | 0 | 0 | 0 | 0.034826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d81c751b59dd2fc31d3f0da9f37f2f4c8b9ae91 | 145 | py | Python | eth_scapy_someip/__init__.py | jamores/eth-scapy-someip | 1f62c0e3e86a3669975d8d8e52a807fdb2dc5cd3 | [
"MIT"
] | 49 | 2018-03-26T08:33:49.000Z | 2022-03-31T08:42:55.000Z | eth_scapy_someip/__init__.py | jamores/eth-scapy-someip | 1f62c0e3e86a3669975d8d8e52a807fdb2dc5cd3 | [
"MIT"
] | 8 | 2018-12-20T12:37:32.000Z | 2021-05-18T06:43:00.000Z | eth_scapy_someip/__init__.py | jamores/eth-scapy-someip | 1f62c0e3e86a3669975d8d8e52a807fdb2dc5cd3 | [
"MIT"
] | 19 | 2018-07-23T12:40:54.000Z | 2022-03-11T07:38:51.000Z | from .eth_scapy_someip import SOMEIP
from .eth_scapy_sd import SD
from scapy.packet import bind_layers
# Layer binding
bind_layers(SOMEIP,SD)
| 18.125 | 36 | 0.82069 | 24 | 145 | 4.708333 | 0.458333 | 0.123894 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131034 | 145 | 7 | 37 | 20.714286 | 0.896825 | 0.089655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d516d53b8e181aa51108c9b4f760cf3e90f5c7ed | 168 | py | Python | notebooks/qnlpws_utils/__init__.py | sntownsend/QuantumComputingProject2021 | 9c43227b01e44b117e8fe39472e5d74a785f4711 | [
"MIT"
] | null | null | null | notebooks/qnlpws_utils/__init__.py | sntownsend/QuantumComputingProject2021 | 9c43227b01e44b117e8fe39472e5d74a785f4711 | [
"MIT"
] | null | null | null | notebooks/qnlpws_utils/__init__.py | sntownsend/QuantumComputingProject2021 | 9c43227b01e44b117e8fe39472e5d74a785f4711 | [
"MIT"
] | null | null | null | from collections import namedtuple
Vocab = namedtuple('Vocab', ['noun', 'unamb_verb', 'amb_verb'])
Params = namedtuple('Params', ['noun', 'unamb_verb', 'amb_verb'])
| 24 | 65 | 0.696429 | 20 | 168 | 5.65 | 0.5 | 0.265487 | 0.230089 | 0.283186 | 0.353982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113095 | 168 | 6 | 66 | 28 | 0.758389 | 0 | 0 | 0 | 0 | 0 | 0.331325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d52c4ec6bed5ed08c6b34567645d0fbfb63e83ce | 154 | py | Python | indy_node/server/req_handlers/read_req_handlers/get_nym_handler.py | rantwijk/indy-node | 3cb77dab5482c8b721535020fec41506de819d2e | [
"Apache-2.0"
] | null | null | null | indy_node/server/req_handlers/read_req_handlers/get_nym_handler.py | rantwijk/indy-node | 3cb77dab5482c8b721535020fec41506de819d2e | [
"Apache-2.0"
] | null | null | null | indy_node/server/req_handlers/read_req_handlers/get_nym_handler.py | rantwijk/indy-node | 3cb77dab5482c8b721535020fec41506de819d2e | [
"Apache-2.0"
] | null | null | null | from plenum.server.request_handlers.handler_interfaces.read_request_handler import ReadRequestHandler
class GetNymHandler(ReadRequestHandler):
pass
| 25.666667 | 101 | 0.87013 | 16 | 154 | 8.125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084416 | 154 | 5 | 102 | 30.8 | 0.921986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d55686cc00e190de33f90f39bb74a0ed38f5fa4a | 154 | py | Python | components/shopkeep.py | DavidKohler/Roguelike-Python-Game | 6fbeeb109e6a61042f74cde2329bc4a0ef7b76ff | [
"MIT"
] | null | null | null | components/shopkeep.py | DavidKohler/Roguelike-Python-Game | 6fbeeb109e6a61042f74cde2329bc4a0ef7b76ff | [
"MIT"
] | null | null | null | components/shopkeep.py | DavidKohler/Roguelike-Python-Game | 6fbeeb109e6a61042f74cde2329bc4a0ef7b76ff | [
"MIT"
] | null | null | null | class Shopkeep:
'''
Component that defines entity as shopkeep
'''
def __init__(self, is_keeper=False):
self.is_keeper = is_keeper
| 22 | 45 | 0.649351 | 19 | 154 | 4.894737 | 0.684211 | 0.258065 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25974 | 154 | 6 | 46 | 25.666667 | 0.815789 | 0.266234 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d5994631a6b176f48b6274020239e1caa908953f | 5,565 | py | Python | temp/badprint.py | mjm2129/osscap2020 | 7edb83e09168bdbc80b863aecc65da5efbb966cd | [
"Apache-2.0"
] | null | null | null | temp/badprint.py | mjm2129/osscap2020 | 7edb83e09168bdbc80b863aecc65da5efbb966cd | [
"Apache-2.0"
] | 10 | 2020-10-11T09:51:43.000Z | 2020-11-29T13:45:36.000Z | temp/badprint.py | mjm2129/osscap2020 | 7edb83e09168bdbc80b863aecc65da5efbb966cd | [
"Apache-2.0"
] | null | null | null | num_1=[[0,1,0,0],
[1,1,0,0],
[0,1,0,0],
[0,1,0,0],
[1,1,1,0],
[0,0,0,0]]
num_2=[[0,1,0,0],
[1,0,1,0],
[0,0,1,0],
[0,1,0,0],
[1,1,1,0],
[0,0,0,0]]
num_3=[[1,1,1,0],
[0,0,1,0],
[0,1,0,0],
[0,0,1,0],
[1,1,... | 21 | 141 | 0.311411 | 991 | 5,565 | 1.684157 | 0.066599 | 0.22888 | 0.199521 | 0.155782 | 0.624326 | 0.591372 | 0.591372 | 0.571001 | 0.545237 | 0.545237 | 0 | 0.221157 | 0.456424 | 5,565 | 264 | 142 | 21.079545 | 0.330579 | 0 | 0 | 0.71123 | 0 | 0 | 0.004519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02139 | false | 0 | 0 | 0 | 0.02139 | 0.010695 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63a820c6777ddcd0f40c679094dbf18f1bd7cd3b | 2,160 | py | Python | app/grandchallenge/cases/migrations/0004_auto_20210929_1055.py | nlessmann/grand-challenge.org | 36abf6ccb40e2fc3fd3ff00e81deabd76f7e1ef8 | [
"Apache-2.0"
] | 101 | 2018-04-11T14:48:04.000Z | 2022-03-28T00:29:48.000Z | app/grandchallenge/cases/migrations/0004_auto_20210929_1055.py | nlessmann/grand-challenge.org | 36abf6ccb40e2fc3fd3ff00e81deabd76f7e1ef8 | [
"Apache-2.0"
] | 1,733 | 2018-03-21T11:56:16.000Z | 2022-03-31T14:58:30.000Z | app/grandchallenge/cases/migrations/0004_auto_20210929_1055.py | nlessmann/grand-challenge.org | 36abf6ccb40e2fc3fd3ff00e81deabd76f7e1ef8 | [
"Apache-2.0"
] | 42 | 2018-06-08T05:49:07.000Z | 2022-03-29T08:43:01.000Z | # Generated by Django 3.1.13 on 2021-09-29 10:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("cases", "0003_auto_20210406_0753"),
]
operations = [
migrations.AddField(
model_name="image",
name="patient_age",
... | 31.304348 | 75 | 0.531481 | 205 | 2,160 | 5.434146 | 0.292683 | 0.16158 | 0.206463 | 0.24237 | 0.809695 | 0.783662 | 0.783662 | 0.60772 | 0.52693 | 0.52693 | 0 | 0.032775 | 0.336111 | 2,160 | 68 | 76 | 31.764706 | 0.744073 | 0.021296 | 0 | 0.612903 | 1 | 0 | 0.113636 | 0.01089 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016129 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
892fd11fa107da2aa9eb53a557b1a0ce360d9660 | 27 | py | Python | bentoml/evalml.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | 1 | 2021-06-12T17:04:07.000Z | 2021-06-12T17:04:07.000Z | bentoml/evalml.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | 4 | 2021-05-16T08:06:25.000Z | 2021-11-13T08:46:36.000Z | bentoml/evalml.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | null | null | null | # TODO: add evalml support
| 13.5 | 26 | 0.740741 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.909091 | 0.888889 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8933dc823629c1390cba4f6f9b0075e909d8e740 | 14,447 | py | Python | tests/Parser/TestFoplParser.py | oIi123/TableauxProver | cb527f91f5c2d0393fbfcb3fb501b4480e0c9031 | [
"MIT"
] | null | null | null | tests/Parser/TestFoplParser.py | oIi123/TableauxProver | cb527f91f5c2d0393fbfcb3fb501b4480e0c9031 | [
"MIT"
] | null | null | null | tests/Parser/TestFoplParser.py | oIi123/TableauxProver | cb527f91f5c2d0393fbfcb3fb501b4480e0c9031 | [
"MIT"
] | null | null | null | import unittest
from antlr4 import RecognitionException
from src.Model.FoplExpressionTree import Predicate, Var, Func, Not, And, Or, Impl, Eq, AllQuantor, ExistentialQuantor, \
Const
from src.Parser.FoplParser import FoplParser
class TestCorrectFoplParser(unittest.TestCase):
def test_atom_1(self):
w... | 30.478903 | 122 | 0.518378 | 1,654 | 14,447 | 4.454051 | 0.045949 | 0.138455 | 0.175377 | 0.116465 | 0.906475 | 0.87634 | 0.837926 | 0.818379 | 0.806977 | 0.79001 | 0 | 0.005539 | 0.300132 | 14,447 | 473 | 123 | 30.54334 | 0.723074 | 0 | 0 | 0.628319 | 0 | 0.011799 | 0.09829 | 0.015851 | 0 | 0 | 0 | 0 | 0.233038 | 1 | 0.147493 | false | 0 | 0.011799 | 0 | 0.165192 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8951a8f9d183c16451e19ff8822b66bacbcb6c14 | 39 | py | Python | pynq_computervision/overlays/bare_hdmi/__init__.py | xupsh/PYNQ-ComputerVision | bccbc43838922f81bd0fa0c57807ad9622b904df | [
"BSD-3-Clause"
] | 2 | 2019-01-01T15:30:53.000Z | 2022-03-29T23:18:16.000Z | pynq_computervision/overlays/bare_hdmi/__init__.py | xupsh/PYNQ-ComputerVision | bccbc43838922f81bd0fa0c57807ad9622b904df | [
"BSD-3-Clause"
] | 1 | 2020-02-04T12:16:20.000Z | 2020-02-04T12:16:20.000Z | pynq_computervision/overlays/bare_hdmi/__init__.py | budaidai/PYNQ | 18386878544e71dbac743a69ba2dc0ff73f39c7b | [
"BSD-3-Clause"
] | 1 | 2018-05-29T12:18:18.000Z | 2018-05-29T12:18:18.000Z | from .bare_hdmi import BareHDMIOverlay
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
895d6f2a4150409b7e1042f72b7daf9799d381fb | 46 | py | Python | terrascript/http/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/http/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/http/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/http/r.py
import terrascript
| 9.2 | 24 | 0.76087 | 6 | 46 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 4 | 25 | 11.5 | 0.897436 | 0.456522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.