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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ff7b58b6e4827e815ace89a2af8cf4fc2ffcfe0e | 113 | py | Python | pyslide/contour/__init__.py | sarthakpati/pyslide | 57a28ae3d236a30405814bfed6a89cac82a814d8 | [
"MIT"
] | 47 | 2017-11-03T03:10:06.000Z | 2022-02-13T14:42:57.000Z | pyslide/contour/__init__.py | sarthakpati/pyslide | 57a28ae3d236a30405814bfed6a89cac82a814d8 | [
"MIT"
] | 5 | 2017-11-03T03:40:29.000Z | 2021-04-13T20:31:56.000Z | pyslide/contour/__init__.py | sarthakpati/pyslide | 57a28ae3d236a30405814bfed6a89cac82a814d8 | [
"MIT"
] | 11 | 2017-11-03T03:10:10.000Z | 2021-04-13T13:55:29.000Z | # -*- coding: utf-8 -*-
from ._adjust import *
from ._check import *
from ._rela import *
from ._split import *
| 16.142857 | 23 | 0.654867 | 15 | 113 | 4.666667 | 0.6 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.19469 | 113 | 6 | 24 | 18.833333 | 0.758242 | 0.185841 | 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 |
ff7cbed85adf70a5a3eaa842a99f8ca081372761 | 40 | py | Python | haferml/__init__.py | emptymalei/haferml | ba193ce1c022c89fb4e88924b7bb7a05b676929a | [
"MIT"
] | 11 | 2021-04-17T18:51:45.000Z | 2021-06-25T19:42:25.000Z | haferml/__init__.py | emptymalei/haferml | ba193ce1c022c89fb4e88924b7bb7a05b676929a | [
"MIT"
] | 3 | 2021-04-29T19:24:15.000Z | 2021-05-21T04:30:54.000Z | haferml/__init__.py | emptymalei/haferml | ba193ce1c022c89fb4e88924b7bb7a05b676929a | [
"MIT"
] | 2 | 2021-06-10T00:55:43.000Z | 2021-12-30T07:37:07.000Z | from haferml.version import __version__
| 20 | 39 | 0.875 | 5 | 40 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.861111 | 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 |
ff9b2aae9f7014ffd50f7364000e88daf77b6432 | 123 | py | Python | tests/cases/resources/tests/async/__init__.py | cchmc-bmi-os/serrano | ffecaa8e866423386e8a8c2432f99dd02ae7b4c1 | [
"BSD-2-Clause"
] | 6 | 2015-01-16T14:27:54.000Z | 2020-08-27T16:32:52.000Z | tests/cases/resources/tests/async/__init__.py | cchmc-bmi-os/serrano | ffecaa8e866423386e8a8c2432f99dd02ae7b4c1 | [
"BSD-2-Clause"
] | 52 | 2015-01-05T19:11:18.000Z | 2017-02-16T14:28:38.000Z | tests/cases/resources/tests/async/__init__.py | cchmc-bmi-os/serrano | ffecaa8e866423386e8a8c2432f99dd02ae7b4c1 | [
"BSD-2-Clause"
] | 6 | 2015-07-29T18:52:04.000Z | 2020-01-02T16:04:01.000Z | from .base import * # noqa
from .exporter import * # noqa
from .preview import * # noqa
from .query import * # noqa
| 24.6 | 31 | 0.650407 | 16 | 123 | 5 | 0.4375 | 0.5 | 0.525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252033 | 123 | 4 | 32 | 30.75 | 0.869565 | 0.154472 | 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 |
440dde93a55ff4a7f3a8942d8ea45bb7ec048a03 | 314 | py | Python | integration/tests_ok/predicates_string.py | jleverenz/hurl | b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3 | [
"Apache-2.0"
] | null | null | null | integration/tests_ok/predicates_string.py | jleverenz/hurl | b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3 | [
"Apache-2.0"
] | null | null | null | integration/tests_ok/predicates_string.py | jleverenz/hurl | b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3 | [
"Apache-2.0"
] | null | null | null | from flask import request
from app import app
@app.route("/predicates-string")
def predicates_string():
return "Hello World!"
@app.route("/predicates-string-empty")
def predicates_string_empty():
return ""
@app.route("/predicates-string-unicode")
def predicates_string_unicode():
return "\u2708"
| 17.444444 | 40 | 0.729299 | 39 | 314 | 5.74359 | 0.384615 | 0.428571 | 0.241071 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.133758 | 314 | 17 | 41 | 18.470588 | 0.808824 | 0 | 0 | 0 | 0 | 0 | 0.273885 | 0.159236 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.181818 | 0.272727 | 0.727273 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
441084d18db6660b6c3ce4efb0a657dd1f3a4613 | 36 | py | Python | scidb/plugins/sandbox/__init__.py | oxdc/sci.db | 0a751a0e05e7ad4c83c350e32e32ea9ce5831cbb | [
"MIT"
] | null | null | null | scidb/plugins/sandbox/__init__.py | oxdc/sci.db | 0a751a0e05e7ad4c83c350e32e32ea9ce5831cbb | [
"MIT"
] | null | null | null | scidb/plugins/sandbox/__init__.py | oxdc/sci.db | 0a751a0e05e7ad4c83c350e32e32ea9ce5831cbb | [
"MIT"
] | null | null | null | from .sandbox import SandboxManager
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
443cc1c6e2d990e86edc9ab3e69d68e2403f006a | 33 | py | Python | devin/__init__.py | peterskipper/devin | 9822637ebcee64ae22f5180030715e9583e97243 | [
"MIT"
] | null | null | null | devin/__init__.py | peterskipper/devin | 9822637ebcee64ae22f5180030715e9583e97243 | [
"MIT"
] | null | null | null | devin/__init__.py | peterskipper/devin | 9822637ebcee64ae22f5180030715e9583e97243 | [
"MIT"
] | null | null | null | from devin.cli import devin_main
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4477f699cabfdb87f1d308d97c9bb6d1ee56a275 | 4,612 | py | Python | pokemons/tests/mocks.py | vanessa/pokebattle | 3017ad226bc05cc06cb5eb34455c13d959be10ab | [
"MIT"
] | 2 | 2018-03-16T15:33:31.000Z | 2018-05-08T17:53:22.000Z | pokemons/tests/mocks.py | vanessa/pokebattle | 3017ad226bc05cc06cb5eb34455c13d959be10ab | [
"MIT"
] | 3 | 2018-05-02T18:38:51.000Z | 2018-05-08T20:03:43.000Z | pokemons/tests/mocks.py | vanessa/pokebattle | 3017ad226bc05cc06cb5eb34455c13d959be10ab | [
"MIT"
] | 2 | 2018-03-16T02:32:20.000Z | 2018-03-16T14:17:15.000Z | # pylint: skip-file
POKEAPI_POKEMON_LIST_EXAMPLE = {
"count": 949,
"previous": None,
"results": [
{
"url": "https://pokeapi.co/api/v2/pokemon/21/",
"name": "spearow"
},
{
"url": "https://pokeapi.co/api/v2/pokemon/22/",
"name": "fearow"... | 27.951515 | 115 | 0.429965 | 428 | 4,612 | 4.528037 | 0.158879 | 0.066047 | 0.123839 | 0.140351 | 0.861713 | 0.837977 | 0.837977 | 0.80805 | 0.80805 | 0.768834 | 0 | 0.039026 | 0.394406 | 4,612 | 164 | 116 | 28.121951 | 0.654851 | 0.003686 | 0 | 0.4875 | 0 | 0.05 | 0.44263 | 0 | 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 |
44810194b180375091ee63be340de197449a8b8e | 6,553 | py | Python | nyuseu/tests/test_views.py | foxmask/nyuseu | e563bec3be46be0f0430987560b1126872f97a5f | [
"BSD-3-Clause"
] | 1 | 2020-09-04T20:41:33.000Z | 2020-09-04T20:41:33.000Z | nyuseu/tests/test_views.py | foxmask/nyuseu | e563bec3be46be0f0430987560b1126872f97a5f | [
"BSD-3-Clause"
] | 4 | 2020-09-06T20:30:20.000Z | 2020-09-09T12:08:35.000Z | nyuseu/tests/test_views.py | foxmask/nyuseu | e563bec3be46be0f0430987560b1126872f97a5f | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
from django.test import RequestFactory, TestCase
from django.contrib.messages.storage.fallback import FallbackStorage
from nyuseu.models import Feeds, Folders, Articles
from nyuseu.views import ArticlesListView, ArticlesDetailView,\
marked_as_read, marked_as_unread, read_later, unread_later
class... | 37.022599 | 102 | 0.650542 | 737 | 6,553 | 5.660787 | 0.130258 | 0.044823 | 0.055129 | 0.040988 | 0.834372 | 0.827421 | 0.819032 | 0.819032 | 0.805609 | 0.794104 | 0 | 0.006796 | 0.236533 | 6,553 | 176 | 103 | 37.232955 | 0.827104 | 0.070655 | 0 | 0.697479 | 0 | 0 | 0.107903 | 0.041907 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.12605 | false | 0.02521 | 0.033613 | 0 | 0.210084 | 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 |
448b301ed671bfb542b24261be4858e0ba91ffaa | 4,939 | py | Python | tests/test_cog.py | vlro/terracotta | 26ef2f61bd8306fd8fecd27288df6426a6751534 | [
"MIT"
] | 448 | 2018-03-06T09:38:42.000Z | 2022-03-31T12:58:02.000Z | tests/test_cog.py | vlro/terracotta | 26ef2f61bd8306fd8fecd27288df6426a6751534 | [
"MIT"
] | 154 | 2018-11-28T08:13:18.000Z | 2022-03-31T09:01:26.000Z | tests/test_cog.py | vlro/terracotta | 26ef2f61bd8306fd8fecd27288df6426a6751534 | [
"MIT"
] | 59 | 2018-12-14T15:41:17.000Z | 2022-02-17T23:55:52.000Z | import pytest
import affine
import rasterio
from rasterio.io import MemoryFile
from rasterio.shutil import copy
from rasterio.enums import Resampling
import numpy as np
BASE_PROFILE = {
'driver': 'GTiff',
'dtype': 'uint16',
'nodata': 0,
'count': 1,
'crs': {'init': 'epsg:32637'},
'transform': ... | 24.944444 | 69 | 0.644665 | 650 | 4,939 | 4.789231 | 0.152308 | 0.102795 | 0.077096 | 0.059107 | 0.820752 | 0.812078 | 0.812078 | 0.78895 | 0.78895 | 0.772567 | 0 | 0.049722 | 0.23446 | 4,939 | 197 | 70 | 25.071066 | 0.773605 | 0 | 0 | 0.692857 | 0 | 0 | 0.040494 | 0 | 0 | 0 | 0 | 0 | 0.064286 | 1 | 0.057143 | false | 0 | 0.114286 | 0 | 0.171429 | 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 |
448b897dfde902dacd8aedc31d7581f16773d4cf | 266 | py | Python | tests/test_customrest.py | hexatester/dapodik | d89c0fb899c89e866527f6b7b57f741abd6444ea | [
"MIT"
] | 4 | 2021-02-01T15:19:35.000Z | 2022-01-26T02:47:21.000Z | tests/test_customrest.py | hexatester/dapodik | d89c0fb899c89e866527f6b7b57f741abd6444ea | [
"MIT"
] | 3 | 2020-01-08T17:07:15.000Z | 2020-01-08T18:05:12.000Z | tests/test_customrest.py | hexatester/dapodik | d89c0fb899c89e866527f6b7b57f741abd6444ea | [
"MIT"
] | 2 | 2021-08-04T13:48:08.000Z | 2021-12-25T02:36:49.000Z | import attr
from dapodik.base import BaseDapodik
from dapodik.customrest import BaseCustomrest
from dapodik.customrest import Wilayah
def test_base_customresr():
assert issubclass(BaseCustomrest, BaseDapodik)
def test_member():
assert attr.has(Wilayah)
| 19 | 50 | 0.808271 | 32 | 266 | 6.625 | 0.5 | 0.15566 | 0.198113 | 0.254717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135338 | 266 | 13 | 51 | 20.461538 | 0.921739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9232eff87a2e080d05efe86d1cb469205597f43c | 13,755 | py | Python | pyne/tests/test_fluka.py | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | 1 | 2022-03-26T20:01:13.000Z | 2022-03-26T20:01:13.000Z | pyne/tests/test_fluka.py | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | null | null | null | pyne/tests/test_fluka.py | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | 1 | 2022-03-26T19:59:13.000Z | 2022-03-26T19:59:13.000Z | #!/usr/bin/python
import os
import nose.tools
from nose.plugins.skip import SkipTest
from nose.tools import assert_equal
from pyne import fluka
# Mesh specific imports
from pyne.mesh import Mesh, StatMesh, MeshError, HAVE_PYMOAB
# Test Usrbin and UsrbinTally classes
def test_single_usrbin():
"""Test a usrbin ... | 29.265957 | 88 | 0.611487 | 1,897 | 13,755 | 4.198735 | 0.134423 | 0.116008 | 0.155807 | 0.115505 | 0.833522 | 0.830508 | 0.792844 | 0.745637 | 0.712367 | 0.623101 | 0 | 0.155271 | 0.262087 | 13,755 | 469 | 89 | 29.328358 | 0.629458 | 0.054671 | 0 | 0.543147 | 0 | 0 | 0.067861 | 0.007566 | 0 | 0 | 0 | 0 | 0.154822 | 1 | 0.010152 | false | 0 | 0.015228 | 0 | 0.025381 | 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 |
925055150527191de22b372bad8f3d205df1a42c | 4,742 | py | Python | tt/test/test_datatable.py | anthonyoteri/timetrack2 | 3d246f640647ff9e231b37eefb5d75ca4186efcd | [
"BSD-3-Clause"
] | null | null | null | tt/test/test_datatable.py | anthonyoteri/timetrack2 | 3d246f640647ff9e231b37eefb5d75ca4186efcd | [
"BSD-3-Clause"
] | 68 | 2018-01-30T13:57:25.000Z | 2018-05-02T16:08:08.000Z | tt/test/test_datatable.py | anthonyoteri/timetrack2 | 3d246f640647ff9e231b37eefb5d75ca4186efcd | [
"BSD-3-Clause"
] | null | null | null | # Copyright (C) 2018, Anthony Oteri
# All rights reserved
from tt.datatable import Datatable
from unittest import mock
def test_basic_table():
rows = [
{"col_1": "1", "col_2": "2", "col_3": "3"},
{"col_1": "4", "col_2": "5", "col_3": "6"},
]
t = Datatable(table=rows)
headers, table... | 25.771739 | 85 | 0.507592 | 709 | 4,742 | 3.118477 | 0.09732 | 0.065129 | 0.052013 | 0.048847 | 0.826775 | 0.816373 | 0.793306 | 0.76436 | 0.758933 | 0.701945 | 0 | 0.072336 | 0.236187 | 4,742 | 183 | 86 | 25.912568 | 0.538101 | 0.011177 | 0 | 0.588235 | 0 | 0 | 0.176697 | 0 | 0 | 0 | 0 | 0 | 0.184874 | 1 | 0.10084 | false | 0 | 0.016807 | 0 | 0.117647 | 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 |
2b9c782a0a2b6ec6959bf4d956e206bf03ae2d04 | 61 | py | Python | tests/test_code/py/subset_find_exception/zero.py | FreddyZeng/code2flow | 37e45ca4340289f8ceec79b3fe5131c401387c58 | [
"MIT"
] | 1 | 2022-03-16T13:44:35.000Z | 2022-03-16T13:44:35.000Z | tests/test_code/py/subset_find_exception/zero.py | FreddyZeng/code2flow | 37e45ca4340289f8ceec79b3fe5131c401387c58 | [
"MIT"
] | null | null | null | tests/test_code/py/subset_find_exception/zero.py | FreddyZeng/code2flow | 37e45ca4340289f8ceec79b3fe5131c401387c58 | [
"MIT"
] | null | null | null | def private():
pass
class Abra:
def other():
private()
| 7.625 | 14 | 0.622951 | 8 | 61 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229508 | 61 | 7 | 15 | 8.714286 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0.2 | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
2beebd4d3a25c80fdd642652ef4fdba1a26d0c17 | 41 | py | Python | patheng/__init__.py | kamakazikamikaze/patheng | 956237bb50259d2536d772302dda6ecf8901b4a0 | [
"Unlicense"
] | null | null | null | patheng/__init__.py | kamakazikamikaze/patheng | 956237bb50259d2536d772302dda6ecf8901b4a0 | [
"Unlicense"
] | null | null | null | patheng/__init__.py | kamakazikamikaze/patheng | 956237bb50259d2536d772302dda6ecf8901b4a0 | [
"Unlicense"
] | null | null | null | from . import elk, utils, crypto, oauth2
| 20.5 | 40 | 0.731707 | 6 | 41 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.170732 | 41 | 1 | 41 | 41 | 0.852941 | 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 |
a600e4270c26cf31d45d138f16a50b5679bb7805 | 24 | py | Python | tools/processor/engines/lib/__init__.py | Skarlett/tumblr_boobs | bdbb7ebabfb6d6290ce830f6c4b32711f2911d6a | [
"MIT"
] | null | null | null | tools/processor/engines/lib/__init__.py | Skarlett/tumblr_boobs | bdbb7ebabfb6d6290ce830f6c4b32711f2911d6a | [
"MIT"
] | null | null | null | tools/processor/engines/lib/__init__.py | Skarlett/tumblr_boobs | bdbb7ebabfb6d6290ce830f6c4b32711f2911d6a | [
"MIT"
] | null | null | null | from . import imagehash
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 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 |
a62a916cbf34239ac1ef60a49e9b83e93b4cc309 | 1,217 | py | Python | agent_admin_sdk/client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | 5 | 2019-07-31T04:11:05.000Z | 2021-01-07T03:23:20.000Z | agent_admin_sdk/client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | agent_admin_sdk/client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import agent_admin_sdk.api.admin_task.admin_task_client
import agent_admin_sdk.api.agent.agent_client
import agent_admin_sdk.api.org.org_client
import agent_admin_sdk.api.org_init.org_init_client
import agent_admin_sdk.api.plugin.plugin_client
import agent_admin_sdk.api.plugin_version.plug... | 38.03125 | 144 | 0.769104 | 175 | 1,217 | 4.914286 | 0.171429 | 0.139535 | 0.181395 | 0.223256 | 0.795349 | 0.788372 | 0.747674 | 0.462791 | 0.288372 | 0 | 0 | 0.001925 | 0.146261 | 1,217 | 31 | 145 | 39.258065 | 0.825794 | 0.017256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a65943876f77c68f170860bc377af66b6737a2b7 | 43 | py | Python | sewer/http_providers/__init__.py | aphexer/sewer | 1012d76349c6a369132c6b0201d5fc3322072f4c | [
"MIT"
] | null | null | null | sewer/http_providers/__init__.py | aphexer/sewer | 1012d76349c6a369132c6b0201d5fc3322072f4c | [
"MIT"
] | null | null | null | sewer/http_providers/__init__.py | aphexer/sewer | 1012d76349c6a369132c6b0201d5fc3322072f4c | [
"MIT"
] | null | null | null | from .common import BaseHttp # noqa: F401
| 21.5 | 42 | 0.744186 | 6 | 43 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.186047 | 43 | 1 | 43 | 43 | 0.828571 | 0.232558 | 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 |
a6cb637a32c30bdb8286f5f2422fc36dfaa23f49 | 184 | py | Python | tests/experimental-features/environment.py | stevegibson/behave-webdriver | c0130bb59217d5a32a44efe9d9c588851a7b9f58 | [
"MIT"
] | null | null | null | tests/experimental-features/environment.py | stevegibson/behave-webdriver | c0130bb59217d5a32a44efe9d9c588851a7b9f58 | [
"MIT"
] | null | null | null | tests/experimental-features/environment.py | stevegibson/behave-webdriver | c0130bb59217d5a32a44efe9d9c588851a7b9f58 | [
"MIT"
] | null | null | null | from behave_webdriver import BehaveDriver
def before_all(context):
context.behave_driver = BehaveDriver.headless_chrome()
def after_all(context):
context.behave_driver.quit()
| 26.285714 | 58 | 0.804348 | 23 | 184 | 6.173913 | 0.608696 | 0.140845 | 0.239437 | 0.323944 | 0.408451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11413 | 184 | 6 | 59 | 30.666667 | 0.871166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4700533085bb891e8070034702468cd15220387e | 249 | py | Python | examples/docs_snippets/docs_snippets/concepts/partitions_schedules_sensors/schedule_from_partitions.py | rpatil524/dagster | 6f918d94cbd543ab752ab484a65e3a40fd441716 | [
"Apache-2.0"
] | 4,606 | 2018-06-21T17:45:20.000Z | 2022-03-31T23:39:42.000Z | examples/docs_snippets/docs_snippets/concepts/partitions_schedules_sensors/schedule_from_partitions.py | rpatil524/dagster | 6f918d94cbd543ab752ab484a65e3a40fd441716 | [
"Apache-2.0"
] | 6,221 | 2018-06-12T04:36:01.000Z | 2022-03-31T21:43:05.000Z | examples/docs_snippets/docs_snippets/concepts/partitions_schedules_sensors/schedule_from_partitions.py | rpatil524/dagster | 6f918d94cbd543ab752ab484a65e3a40fd441716 | [
"Apache-2.0"
] | 619 | 2018-08-22T22:43:09.000Z | 2022-03-31T22:48:06.000Z | """isort:skip_file"""
from .partitioned_job import do_stuff_partitioned
# start_marker
from dagster import build_schedule_from_partitioned_job
do_stuff_partitioned_schedule = build_schedule_from_partitioned_job(do_stuff_partitioned)
# end_marker
| 24.9 | 89 | 0.871486 | 34 | 249 | 5.823529 | 0.441176 | 0.227273 | 0.272727 | 0.282828 | 0.494949 | 0.494949 | 0.494949 | 0.494949 | 0 | 0 | 0 | 0 | 0.076305 | 249 | 9 | 90 | 27.666667 | 0.86087 | 0.160643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4714102eff9848074a5d3fea3ea31ecabbd7c603 | 177 | py | Python | tests/components/default_config/conftest.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/default_config/conftest.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/default_config/conftest.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """default_config session fixtures."""
import pytest
@pytest.fixture(autouse=True)
def default_config_mock_async_zeroconf(mock_async_zeroconf):
"""Auto mock zeroconf."""
| 19.666667 | 60 | 0.774011 | 22 | 177 | 5.909091 | 0.636364 | 0.2 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 177 | 8 | 61 | 22.125 | 0.81761 | 0.293785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 |
5b320a772745ff439dd87cb2e156a326154b897a | 269 | py | Python | snmpagent_unity/unity_impl/PoolRaidLevels.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:14:59.000Z | 2019-10-02T17:47:59.000Z | snmpagent_unity/unity_impl/PoolRaidLevels.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:26:29.000Z | 2019-10-11T18:56:54.000Z | snmpagent_unity/unity_impl/PoolRaidLevels.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 1 | 2019-10-03T21:09:17.000Z | 2019-10-03T21:09:17.000Z | class PoolRaidLevels(object):
def read_get(self, name, idx_name, unity_client):
return unity_client.get_pool_raid_levels(idx_name)
class PoolRaidLevelsColumn(object):
def get_idx(self, name, idx, unity_client):
return unity_client.get_pools()
| 29.888889 | 58 | 0.747212 | 37 | 269 | 5.108108 | 0.459459 | 0.232804 | 0.116402 | 0.232804 | 0.328042 | 0.328042 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163569 | 269 | 8 | 59 | 33.625 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5b50bd49d0f319efdbee540aa7b5b1a6d4e7be51 | 67 | py | Python | qmotor/message/__init__.py | yulinfeng000/qmotor | ad3e9eea291f5b87e09fcdd5e42f1eb13d752565 | [
"MIT"
] | null | null | null | qmotor/message/__init__.py | yulinfeng000/qmotor | ad3e9eea291f5b87e09fcdd5e42f1eb13d752565 | [
"MIT"
] | null | null | null | qmotor/message/__init__.py | yulinfeng000/qmotor | ad3e9eea291f5b87e09fcdd5e42f1eb13d752565 | [
"MIT"
] | null | null | null | from .common import *
from .matcher import *
from .builder import * | 22.333333 | 22 | 0.746269 | 9 | 67 | 5.555556 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 3 | 23 | 22.333333 | 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 |
5b6b00405a78b2f835ea67732a929c0b3ad3172b | 42 | py | Python | thespian/__init__.py | dendron2000/Thespian | 0acbc5a0803f6d2be3421ea6eb08c6beecbf3802 | [
"MIT"
] | 210 | 2015-08-31T19:39:34.000Z | 2020-01-10T08:07:48.000Z | thespian/__init__.py | dendron2000/Thespian | 0acbc5a0803f6d2be3421ea6eb08c6beecbf3802 | [
"MIT"
] | 85 | 2017-04-08T19:28:42.000Z | 2022-03-23T15:25:49.000Z | thespian/__init__.py | dendron2000/Thespian | 0acbc5a0803f6d2be3421ea6eb08c6beecbf3802 | [
"MIT"
] | 47 | 2015-09-01T19:24:20.000Z | 2020-01-02T20:03:05.000Z | "Actor System for concurrent execution."
| 14 | 40 | 0.785714 | 5 | 42 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 2 | 41 | 21 | 0.916667 | 0.904762 | 0 | 0 | 0 | 0 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5b7b5fbf0c4582cdbe06b98044a020bcfc799c08 | 154 | py | Python | daiquiri/exceptions.py | aipescience/daiquiri-admin | 63d93bbbee0617178deb2e329e294c447d44137c | [
"Apache-2.0"
] | null | null | null | daiquiri/exceptions.py | aipescience/daiquiri-admin | 63d93bbbee0617178deb2e329e294c447d44137c | [
"Apache-2.0"
] | null | null | null | daiquiri/exceptions.py | aipescience/daiquiri-admin | 63d93bbbee0617178deb2e329e294c447d44137c | [
"Apache-2.0"
] | null | null | null | class DaiquiriException(Exception):
def __init__(self, errors):
self.errors = errors
def __str__(self):
return repr(self.errors)
| 22 | 35 | 0.662338 | 17 | 154 | 5.529412 | 0.588235 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24026 | 154 | 6 | 36 | 25.666667 | 0.803419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5b9949671e74aec3cfcb695b8712b55493527378 | 13,248 | py | Python | update_evolution_markets.py | youth4ever/bittrex | 9d6b70f81b74df7377d39414408eb0d8a4ed8b15 | [
"MIT"
] | null | null | null | update_evolution_markets.py | youth4ever/bittrex | 9d6b70f81b74df7377d39414408eb0d8a4ed8b15 | [
"MIT"
] | null | null | null | update_evolution_markets.py | youth4ever/bittrex | 9d6b70f81b74df7377d39414408eb0d8a4ed8b15 | [
"MIT"
] | null | null | null | # Created by Bogdan Trif on 25-01-2018 , 7:10 PM.
import time
import pymysql
from conf.db_conn import *
from includes.DB_functions import *
from includes.app_functions import *
t1 = time.time()
debug_level = 0
date = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime() )
connection = pymysql.connect( host= HOST,... | 51.548638 | 190 | 0.530571 | 1,441 | 13,248 | 4.563498 | 0.129771 | 0.057786 | 0.067518 | 0.06326 | 0.909519 | 0.909519 | 0.909519 | 0.909519 | 0.903285 | 0.903285 | 0 | 0.016137 | 0.354469 | 13,248 | 256 | 191 | 51.75 | 0.752806 | 0.569897 | 0 | 0 | 0 | 0 | 0.111978 | 0.028412 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014925 | false | 0.014925 | 0.074627 | 0 | 0.089552 | 0.029851 | 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 |
5bac72a378e411fc11d06f0cd1fa9428a642f70a | 66 | py | Python | acq4/analysis/tools/poissonScore/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 47 | 2015-01-05T16:18:10.000Z | 2022-03-16T13:09:30.000Z | acq4/analysis/tools/poissonScore/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 48 | 2015-04-19T16:51:41.000Z | 2022-03-31T14:48:16.000Z | acq4/analysis/tools/poissonScore/__init__.py | sensapex/acq4 | 9561ba73caff42c609bd02270527858433862ad8 | [
"MIT"
] | 32 | 2015-01-15T14:11:49.000Z | 2021-07-15T13:44:52.000Z | from __future__ import print_function
from .poissonScore import *
| 22 | 37 | 0.848485 | 8 | 66 | 6.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 38 | 33 | 0.87931 | 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 |
f348a58e791f17d20237fb104fe99ee9fe0419f5 | 170 | py | Python | Important-Backend/pluscodedecoder.py | taaaahahaha/SIH-Ignite | 91cc84f34825fc5c0cf8c1ef2e2698b1020a1ae1 | [
"MIT"
] | null | null | null | Important-Backend/pluscodedecoder.py | taaaahahaha/SIH-Ignite | 91cc84f34825fc5c0cf8c1ef2e2698b1020a1ae1 | [
"MIT"
] | null | null | null | Important-Backend/pluscodedecoder.py | taaaahahaha/SIH-Ignite | 91cc84f34825fc5c0cf8c1ef2e2698b1020a1ae1 | [
"MIT"
] | null | null | null | import openlocationcode
openlocationcode.decode('8F6CCQCW+2F')
# [34.42, 8.796125, 34.420125, 8.79625, 34.4200625, 8.7961875, 10]
# openlocationcode.decode('7JFJ4V47+PH') | 42.5 | 66 | 0.764706 | 23 | 170 | 5.652174 | 0.695652 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322785 | 0.070588 | 170 | 4 | 67 | 42.5 | 0.5 | 0.605882 | 0 | 0 | 0 | 0 | 0.169231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
f35132a119852ddb054ec81ac665a34cd0fdf0e9 | 167 | py | Python | pyllusion/psychopy/__init__.py | RebeccaHirst/Pyllusion | 9944076e38bced0eabb49c607482b71809150bdb | [
"MIT"
] | null | null | null | pyllusion/psychopy/__init__.py | RebeccaHirst/Pyllusion | 9944076e38bced0eabb49c607482b71809150bdb | [
"MIT"
] | null | null | null | pyllusion/psychopy/__init__.py | RebeccaHirst/Pyllusion | 9944076e38bced0eabb49c607482b71809150bdb | [
"MIT"
] | null | null | null | """
Pyllusion submodule.
"""
from .psychopy_line import psychopy_line
from .psychopy_circles import psychopy_circle
from .psychopy_rectangle import psychopy_rectangle
| 23.857143 | 50 | 0.844311 | 20 | 167 | 6.75 | 0.45 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095808 | 167 | 6 | 51 | 27.833333 | 0.89404 | 0.11976 | 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 |
f35722427c11be156da9bffcb3b983df53536ac3 | 324 | py | Python | asserts/sourse/test_base_app.py | gresm/pygame_february | e6a59ba3a98d1d12bbbf13e30e676fd52721abb6 | [
"Apache-2.0"
] | 2 | 2021-04-07T12:47:47.000Z | 2021-04-08T10:40:02.000Z | asserts/sourse/test_base_app.py | gresm/pygame_february | e6a59ba3a98d1d12bbbf13e30e676fd52721abb6 | [
"Apache-2.0"
] | null | null | null | asserts/sourse/test_base_app.py | gresm/pygame_february | e6a59ba3a98d1d12bbbf13e30e676fd52721abb6 | [
"Apache-2.0"
] | 1 | 2021-04-04T14:57:41.000Z | 2021-04-04T14:57:41.000Z | from unittest import TestCase
class TestBaseApp(TestCase):
def test_run(self):
pass
def test_loop(self):
pass
def test_handle_input(self):
pass
def test_check_events(self):
pass
def test_handle_event(self):
pass
def test_key_pressed(self):
p... | 14.727273 | 32 | 0.617284 | 41 | 324 | 4.634146 | 0.463415 | 0.221053 | 0.289474 | 0.394737 | 0.221053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.317901 | 324 | 21 | 33 | 15.428571 | 0.859729 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0.071429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f377c94809000c9e51ccf4374552bce10f13dffb | 70 | py | Python | example/test_all.py | waiteperspectives/Morelia | e6e6180d688c6bdf538f6b43a97755c76329646a | [
"MIT"
] | 17 | 2015-11-18T02:49:47.000Z | 2019-12-22T08:46:26.000Z | example/test_all.py | waiteperspectives/Morelia | e6e6180d688c6bdf538f6b43a97755c76329646a | [
"MIT"
] | 230 | 2015-04-28T16:48:20.000Z | 2022-03-25T13:01:07.000Z | example/test_all.py | waiteperspectives/Morelia | e6e6180d688c6bdf538f6b43a97755c76329646a | [
"MIT"
] | 8 | 2015-04-16T07:45:35.000Z | 2019-06-20T17:09:49.000Z | from test_acceptance import * # noqa
from test_unit import * # noqa
| 23.333333 | 37 | 0.742857 | 10 | 70 | 5 | 0.6 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 70 | 2 | 38 | 35 | 0.892857 | 0.128571 | 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 |
f3c988bf69533063a1949c4c935878ce6cc8183c | 80 | py | Python | bert/etl/security.py | jbcurtin/bert | 956e1647b590ac13b679579231b085895778d807 | [
"MIT"
] | 2 | 2019-08-28T21:39:50.000Z | 2019-12-17T10:53:28.000Z | bert/etl/security.py | jbcurtin/bert | 956e1647b590ac13b679579231b085895778d807 | [
"MIT"
] | 19 | 2019-09-04T21:19:12.000Z | 2021-03-28T22:10:32.000Z | bert/etl/security.py | jbcurtin/bert | 956e1647b590ac13b679579231b085895778d807 | [
"MIT"
] | 1 | 2019-08-28T21:39:53.000Z | 2019-08-28T21:39:53.000Z | import enum
class AccessLevel(enum.Enum):
PUBLIC_READ: str = 'public-read'
| 16 | 36 | 0.725 | 11 | 80 | 5.181818 | 0.636364 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 80 | 4 | 37 | 20 | 0.850746 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 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 |
344feefc2f2389cc0134f488b74560650e430245 | 17,895 | py | Python | donkeycar/parts/ml/keras.py | alanwells/donkey | 8ea6d255266923fa819e04bc7c6b37800184bb22 | [
"MIT"
] | null | null | null | donkeycar/parts/ml/keras.py | alanwells/donkey | 8ea6d255266923fa819e04bc7c6b37800184bb22 | [
"MIT"
] | null | null | null | donkeycar/parts/ml/keras.py | alanwells/donkey | 8ea6d255266923fa819e04bc7c6b37800184bb22 | [
"MIT"
] | 1 | 2018-11-07T12:06:09.000Z | 2018-11-07T12:06:09.000Z | '''
pilots.py
Methods to create, use, save and load pilots. Pilots
contain the highlevel logic used to determine the angle
and throttle of a vehicle. Pilots can include one or more
models to help direct the vehicles motion.
'''
import os
import numpy as np
import keras
from ... import utils
import donkeycar... | 47.34127 | 236 | 0.601565 | 2,266 | 17,895 | 4.654899 | 0.120035 | 0.022279 | 0.058305 | 0.030338 | 0.821767 | 0.811244 | 0.805176 | 0.796265 | 0.784225 | 0.755783 | 0 | 0.047217 | 0.278067 | 17,895 | 378 | 237 | 47.34127 | 0.769255 | 0.224364 | 0 | 0.614504 | 0 | 0 | 0.06838 | 0.005226 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064886 | false | 0 | 0.129771 | 0 | 0.259542 | 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 |
34761e254f2cd259d2e56d742bfbf5bd6555b33d | 33 | py | Python | twads/__init__.py | jdgillespie91/twitter-ads | 9485fd2a196e47b012bb1209634a76b89732dfca | [
"MIT"
] | null | null | null | twads/__init__.py | jdgillespie91/twitter-ads | 9485fd2a196e47b012bb1209634a76b89732dfca | [
"MIT"
] | null | null | null | twads/__init__.py | jdgillespie91/twitter-ads | 9485fd2a196e47b012bb1209634a76b89732dfca | [
"MIT"
] | null | null | null | from .main import Client # noqa
| 16.5 | 32 | 0.727273 | 5 | 33 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 1 | 33 | 33 | 0.923077 | 0.121212 | 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 |
caeae76e7965a56ae806a43727a368925d059f6e | 234 | py | Python | code/node/models/__init__.py | Intelligent-Systems-Phystech/2022-Project-109 | 14ff4c844afd817e37c803af87c95fabc505fb10 | [
"MIT"
] | null | null | null | code/node/models/__init__.py | Intelligent-Systems-Phystech/2022-Project-109 | 14ff4c844afd817e37c803af87c95fabc505fb10 | [
"MIT"
] | null | null | null | code/node/models/__init__.py | Intelligent-Systems-Phystech/2022-Project-109 | 14ff4c844afd817e37c803af87c95fabc505fb10 | [
"MIT"
] | null | null | null | from .cde import NeuralCde # noqa: F401
from .eegnet import EegNet # noqa: F401
#from .erpcov_ts_lr import erpcov_ts_lr # noqa: F401
from .lmu import LmuLstm # noqa: F401
from .ode_lstm import OdeLstm # noqa: F401
#import numpy
| 33.428571 | 53 | 0.74359 | 37 | 234 | 4.567568 | 0.432432 | 0.236686 | 0.284024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078534 | 0.183761 | 234 | 6 | 54 | 39 | 0.806283 | 0.452991 | 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 |
1b190b2bab3f735dbd056881bf99ddc6a573d34a | 26 | py | Python | segmentation_models_pytorch/unet_3D/__init__.py | bartoszptak/segmentation_models.pytorch | 7f443f7ae39a58841adce1f3a7973d6f4bcd052a | [
"MIT"
] | null | null | null | segmentation_models_pytorch/unet_3D/__init__.py | bartoszptak/segmentation_models.pytorch | 7f443f7ae39a58841adce1f3a7973d6f4bcd052a | [
"MIT"
] | null | null | null | segmentation_models_pytorch/unet_3D/__init__.py | bartoszptak/segmentation_models.pytorch | 7f443f7ae39a58841adce1f3a7973d6f4bcd052a | [
"MIT"
] | null | null | null | from .model import Unet_3D | 26 | 26 | 0.846154 | 5 | 26 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.115385 | 26 | 1 | 26 | 26 | 0.869565 | 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 |
1b6f8f779eb0f6eae6d667985ba6793ea818f112 | 141 | py | Python | semana_03/django/produtos/views.py | luispaulojr/cursoPython | 24aaa73741508986d7f747be8f3822889be81025 | [
"MIT"
] | null | null | null | semana_03/django/produtos/views.py | luispaulojr/cursoPython | 24aaa73741508986d7f747be8f3822889be81025 | [
"MIT"
] | null | null | null | semana_03/django/produtos/views.py | luispaulojr/cursoPython | 24aaa73741508986d7f747be8f3822889be81025 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def metodoProdutos(request):
return render(request, 'produtox/index.html') | 28.2 | 49 | 0.780142 | 18 | 141 | 6.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 141 | 5 | 49 | 28.2 | 0.894309 | 0.163121 | 0 | 0 | 0 | 0 | 0.162393 | 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 |
1b95aa9e811447e64c036c9cc15164619556c939 | 165 | py | Python | retrobiocat_web/__init__.py | ihayhurst/RetroBioCat | d674897459c0ab65faad5ed3017c55cf51bcc020 | [
"MIT"
] | 9 | 2020-12-01T16:33:02.000Z | 2022-01-19T20:02:42.000Z | retrobiocat_web/__init__.py | ihayhurst/RetroBioCat | d674897459c0ab65faad5ed3017c55cf51bcc020 | [
"MIT"
] | 4 | 2020-10-02T14:38:32.000Z | 2021-08-02T09:23:58.000Z | retrobiocat_web/__init__.py | ihayhurst/RetroBioCat | d674897459c0ab65faad5ed3017c55cf51bcc020 | [
"MIT"
] | 6 | 2021-01-14T07:48:36.000Z | 2022-03-20T17:34:27.000Z | import datetime
from retrobiocat_web.version import version
__version__ = version
from retrobiocat_web.retro.generation.network_generation.network import Network
| 20.625 | 79 | 0.866667 | 20 | 165 | 6.8 | 0.45 | 0.220588 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09697 | 165 | 7 | 80 | 23.571429 | 0.912752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
59f80c094a13e43dfd8dea3fd281c8c0ba20d523 | 197 | py | Python | tccli/services/bm/__init__.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | tccli/services/bm/__init__.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | tccli/services/bm/__init__.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from tccli.services.bm.bm_client import register_arg
from tccli.services.bm.bm_client import get_actions_info
from tccli.services.bm.bm_client import AVAILABLE_VERSION_LIST
| 39.4 | 62 | 0.822335 | 32 | 197 | 4.8125 | 0.53125 | 0.175325 | 0.331169 | 0.37013 | 0.642857 | 0.642857 | 0.642857 | 0 | 0 | 0 | 0 | 0.005556 | 0.086294 | 197 | 4 | 63 | 49.25 | 0.85 | 0.106599 | 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 |
941ac4e51bbf4b819863cb15fa660c554db5d2d8 | 35 | py | Python | rpyg/__init__.py | mimiflynn/pyrpg | f61904c0ccd336ec1ab2a408d7a9add6a5c433b5 | [
"MIT"
] | null | null | null | rpyg/__init__.py | mimiflynn/pyrpg | f61904c0ccd336ec1ab2a408d7a9add6a5c433b5 | [
"MIT"
] | 3 | 2018-05-31T16:15:03.000Z | 2018-06-05T19:02:34.000Z | rpyg/__init__.py | mimiflynn/pyrpg | f61904c0ccd336ec1ab2a408d7a9add6a5c433b5 | [
"MIT"
] | null | null | null | from rpyg.engine.core import Rpyg
| 11.666667 | 33 | 0.8 | 6 | 35 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 34 | 17.5 | 0.933333 | 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 |
942183719279e597d730d2d4344702f539100b6a | 4,983 | py | Python | blaze/chrome/devtools.py | muralisr/blaze | e0d183af441cfe63ba1346cd0d6d8ac76ff494ca | [
"MIT"
] | 5 | 2020-12-16T03:13:59.000Z | 2022-03-06T07:16:39.000Z | blaze/chrome/devtools.py | muralisr/blaze | e0d183af441cfe63ba1346cd0d6d8ac76ff494ca | [
"MIT"
] | 9 | 2020-09-25T23:25:59.000Z | 2022-03-11T23:45:14.000Z | blaze/chrome/devtools.py | muralisr/blaze | e0d183af441cfe63ba1346cd0d6d8ac76ff494ca | [
"MIT"
] | 3 | 2019-10-16T21:22:07.000Z | 2020-07-21T13:38:22.000Z | """ This module implements methods interacting with Chrome DevTools """
import json
import os
import subprocess
import sys
import tempfile
from typing import Optional
from blaze.action.policy import Policy
from blaze.config.client import ClientEnvironment
from blaze.config.config import Config
from blaze.logger import... | 38.929688 | 97 | 0.692153 | 675 | 4,983 | 4.887407 | 0.195556 | 0.049106 | 0.020006 | 0.025462 | 0.842073 | 0.80388 | 0.788724 | 0.788724 | 0.788724 | 0.788724 | 0 | 0.000777 | 0.224764 | 4,983 | 127 | 98 | 39.23622 | 0.853223 | 0.168372 | 0 | 0.622222 | 0 | 0 | 0.087255 | 0.01348 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0 | 0.133333 | 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 |
945c4fb23a2432481d6edb642d0cdf70926877c8 | 171 | py | Python | python/8kyu/pick_a_set_of_first_elements.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 3 | 2021-06-08T01:57:13.000Z | 2021-06-26T10:52:47.000Z | python/8kyu/pick_a_set_of_first_elements.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | null | null | null | python/8kyu/pick_a_set_of_first_elements.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 2 | 2021-06-10T21:20:13.000Z | 2021-06-30T10:13:26.000Z | """Kata url: https://www.codewars.com/kata/572b77262bedd351e9000076."""
from typing import List
def first(seq: List[int], n: int = 1) -> List[int]:
return seq[:n]
| 19 | 71 | 0.666667 | 25 | 171 | 4.56 | 0.72 | 0.122807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131034 | 0.152047 | 171 | 8 | 72 | 21.375 | 0.655172 | 0.380117 | 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 |
946bdf8246dab017eabdf2063218f70f474666b2 | 27 | py | Python | brian2/codegen/runtime/GSLweave_rt/__init__.py | rgerkin/brian2 | 34761a58b0d4c2275194e648449419b3dd73286b | [
"BSD-2-Clause"
] | 2 | 2020-03-20T13:30:19.000Z | 2020-03-20T13:30:57.000Z | brian2/codegen/runtime/GSLweave_rt/__init__.py | rgerkin/brian2 | 34761a58b0d4c2275194e648449419b3dd73286b | [
"BSD-2-Clause"
] | null | null | null | brian2/codegen/runtime/GSLweave_rt/__init__.py | rgerkin/brian2 | 34761a58b0d4c2275194e648449419b3dd73286b | [
"BSD-2-Clause"
] | null | null | null | from .GSLweave_rt import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 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 |
9480e31abe67aa3ee41e23dd8246e47620979bef | 130 | py | Python | testing/ejemplo/config.py | rauljrz/curso_python | f241125f0a51c39899f5d59537dca9e7b4c53489 | [
"Apache-2.0"
] | null | null | null | testing/ejemplo/config.py | rauljrz/curso_python | f241125f0a51c39899f5d59537dca9e7b4c53489 | [
"Apache-2.0"
] | null | null | null | testing/ejemplo/config.py | rauljrz/curso_python | f241125f0a51c39899f5d59537dca9e7b4c53489 | [
"Apache-2.0"
] | null | null | null | from pathlib import Path
def carpeta_ssh():
"""Funcion que devuelve ruta de configuracion ssh."""
return Path.home() / ".ssh" | 26 | 55 | 0.707692 | 18 | 130 | 5.055556 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161538 | 130 | 5 | 56 | 26 | 0.834862 | 0.361538 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
849b41cadb555aabaf7db3f7f686222807c3c6f5 | 21 | py | Python | cadence/langs/__init__.py | tomaarsen/cadence | c6878c6224aac6c26efc9dbd59a1de551df85e8f | [
"MIT"
] | 12 | 2021-03-29T17:41:26.000Z | 2022-02-03T07:30:05.000Z | cadence/langs/__init__.py | tomaarsen/cadence | c6878c6224aac6c26efc9dbd59a1de551df85e8f | [
"MIT"
] | 1 | 2021-03-30T11:12:44.000Z | 2021-03-30T14:56:50.000Z | cadence/langs/__init__.py | tomaarsen/cadence | c6878c6224aac6c26efc9dbd59a1de551df85e8f | [
"MIT"
] | 3 | 2021-03-29T18:52:27.000Z | 2022-01-15T06:50:21.000Z | from .langs import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
84c878711ca48396e667dba1ae087abf0eea4bba | 12,022 | py | Python | src/cm/migrations/0001_initial.py | didorothy/Consulting | f8943f5275c75a1ca1a1bf2b36743e47ba921625 | [
"BSD-3-Clause"
] | null | null | null | src/cm/migrations/0001_initial.py | didorothy/Consulting | f8943f5275c75a1ca1a1bf2b36743e47ba921625 | [
"BSD-3-Clause"
] | null | null | null | src/cm/migrations/0001_initial.py | didorothy/Consulting | f8943f5275c75a1ca1a1bf2b36743e47ba921625 | [
"BSD-3-Clause"
] | 1 | 2022-03-06T21:16:52.000Z | 2022-03-06T21:16:52.000Z | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Customer'
db.create_table('cm_customer', (
('id', self.gf('django.db.models.fiel... | 62.614583 | 154 | 0.58526 | 1,342 | 12,022 | 5.132638 | 0.084948 | 0.11266 | 0.195122 | 0.278746 | 0.799797 | 0.791376 | 0.77381 | 0.744048 | 0.686702 | 0.644599 | 0 | 0.014449 | 0.194061 | 12,022 | 192 | 155 | 62.614583 | 0.69646 | 0.031526 | 0 | 0.286624 | 0 | 0 | 0.489508 | 0.301256 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012739 | false | 0 | 0.025478 | 0 | 0.057325 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1708893273dfec468ba0752033c479f85d9c81aa | 19 | py | Python | neo_backend/api/views/__init__.py | what-digital/blockselfie-bacckend | 231ffd92b1fc570a58ec5058d7f04d065c3866ba | [
"MIT"
] | 2 | 2018-11-04T17:51:32.000Z | 2018-11-05T14:21:41.000Z | neo_backend/api/views/__init__.py | what-digital/blockselfie-backend | 231ffd92b1fc570a58ec5058d7f04d065c3866ba | [
"MIT"
] | null | null | null | neo_backend/api/views/__init__.py | what-digital/blockselfie-backend | 231ffd92b1fc570a58ec5058d7f04d065c3866ba | [
"MIT"
] | null | null | null | from .sc import *
| 6.333333 | 17 | 0.631579 | 3 | 19 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 19 | 2 | 18 | 9.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ca63a0e350d108aa4c218f1721388238b1b8c7fa | 11,035 | py | Python | iridauploader/tests/parsers/directory/test_sample_parser.py | COMBAT-SARS-COV-2/irida-uploader | b9d04d187d6a5a9fdcaef5b27135965ffac99db0 | [
"Apache-2.0"
] | 7 | 2019-01-25T16:56:11.000Z | 2021-01-12T15:32:08.000Z | iridauploader/tests/parsers/directory/test_sample_parser.py | COMBAT-SARS-COV-2/irida-uploader | b9d04d187d6a5a9fdcaef5b27135965ffac99db0 | [
"Apache-2.0"
] | 80 | 2019-01-29T14:54:26.000Z | 2022-03-25T18:51:51.000Z | iridauploader/tests/parsers/directory/test_sample_parser.py | COMBAT-SARS-COV-2/irida-uploader | b9d04d187d6a5a9fdcaef5b27135965ffac99db0 | [
"Apache-2.0"
] | 9 | 2019-03-14T09:58:05.000Z | 2022-01-06T20:14:45.000Z | import unittest
from os import path
from unittest.mock import patch
import iridauploader.parsers.directory.sample_parser as sample_parser
from iridauploader.parsers.exceptions import SampleSheetError
import iridauploader.model as model
path_to_module = path.abspath(path.dirname(__file__))
if len(path_to_module) == 0:... | 37.920962 | 111 | 0.659085 | 1,421 | 11,035 | 4.751583 | 0.097115 | 0.045024 | 0.063981 | 0.067536 | 0.839307 | 0.81561 | 0.813537 | 0.794135 | 0.794135 | 0.794135 | 0 | 0.010741 | 0.240689 | 11,035 | 290 | 112 | 38.051724 | 0.795083 | 0.113276 | 0 | 0.639241 | 0 | 0 | 0.125773 | 0.02249 | 0 | 0 | 0 | 0 | 0.240506 | 1 | 0.132911 | false | 0 | 0.037975 | 0 | 0.202532 | 0.031646 | 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 |
ca888d85992f8704708691da1b48ab497161d8ce | 128 | py | Python | wallpaper/monitor/generic.py | gabbpuy/wallpaper | ec5fdeeb92d1a6285e1ac2ec3b0164929b7ea305 | [
"BSD-2-Clause"
] | 1 | 2021-06-01T21:24:42.000Z | 2021-06-01T21:24:42.000Z | wallpaper/monitor/generic.py | gabbpuy/wallpaper | ec5fdeeb92d1a6285e1ac2ec3b0164929b7ea305 | [
"BSD-2-Clause"
] | null | null | null | wallpaper/monitor/generic.py | gabbpuy/wallpaper | ec5fdeeb92d1a6285e1ac2ec3b0164929b7ea305 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from .monitor import Monitor
def get_monitors(size):
return Monitor("Generic", size, size, 1, 0),
| 18.285714 | 48 | 0.648438 | 18 | 128 | 4.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.179688 | 128 | 6 | 49 | 21.333333 | 0.752381 | 0.164063 | 0 | 0 | 0 | 0 | 0.066667 | 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 |
ca992bf92d5d1b8735d16f79e78a5bc00a1c2a61 | 114 | py | Python | db_conn/query/sc_soccer/__init__.py | szkkteam/db_conn | 06cf0bc98b92ce542e7475afdd33eb5eb9f27645 | [
"MIT"
] | null | null | null | db_conn/query/sc_soccer/__init__.py | szkkteam/db_conn | 06cf0bc98b92ce542e7475afdd33eb5eb9f27645 | [
"MIT"
] | null | null | null | db_conn/query/sc_soccer/__init__.py | szkkteam/db_conn | 06cf0bc98b92ce542e7475afdd33eb5eb9f27645 | [
"MIT"
] | null | null | null | from .tables import *
from .insert import *
from .update import *
from .select import *
from .complex import * | 22.8 | 22 | 0.710526 | 15 | 114 | 5.4 | 0.466667 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201754 | 114 | 5 | 23 | 22.8 | 0.89011 | 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 |
04a44ded7b0346c2d6cca43cf66bbd67e1c16e35 | 16,404 | py | Python | tests/unit/dataactvalidator/test_b9_object_class_program_activity.py | COEJKnight/one | 6a5f8cd9468ab368019eb2597821b7837f74d9e2 | [
"CC0-1.0"
] | 1 | 2018-10-29T12:54:44.000Z | 2018-10-29T12:54:44.000Z | tests/unit/dataactvalidator/test_b9_object_class_program_activity.py | COEJKnight/one | 6a5f8cd9468ab368019eb2597821b7837f74d9e2 | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_b9_object_class_program_activity.py | COEJKnight/one | 6a5f8cd9468ab368019eb2597821b7837f74d9e2 | [
"CC0-1.0"
] | null | null | null | from tests.unit.dataactcore.factories.staging import ObjectClassProgramActivityFactory
from tests.unit.dataactcore.factories.domain import ProgramActivityFactory
from tests.unit.dataactcore.factories.job import SubmissionFactory
from tests.unit.dataactvalidator.utils import number_of_errors, query_columns
_FILE = 'b9... | 71.321739 | 119 | 0.623506 | 1,702 | 16,404 | 5.548766 | 0.091657 | 0.028801 | 0.072427 | 0.053579 | 0.846569 | 0.804638 | 0.794896 | 0.792143 | 0.792143 | 0.763342 | 0 | 0.071058 | 0.305962 | 16,404 | 229 | 120 | 71.633188 | 0.758454 | 0.04377 | 0 | 0.624204 | 0 | 0 | 0.042235 | 0.004735 | 0 | 0 | 0 | 0 | 0.076433 | 1 | 0.063694 | false | 0 | 0.025478 | 0 | 0.089172 | 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 |
04a5a695a5fcabe7083d7e5122e03dfb9ec66d54 | 2,775 | py | Python | python/problem8.py | arthurshmidt/euler | de3676364722241e7ef454b7dd47dc2692279114 | [
"MIT"
] | null | null | null | python/problem8.py | arthurshmidt/euler | de3676364722241e7ef454b7dd47dc2692279114 | [
"MIT"
] | null | null | null | python/problem8.py | arthurshmidt/euler | de3676364722241e7ef454b7dd47dc2692279114 | [
"MIT"
] | null | null | null | # The four adjacent digits in the 1000-digit number that have the greatest
# product are 9 × 9 × 8 × 9 = 5832.
#
# 73167176531330624919225119674426574742355349194934
# 96983520312774506326239578318016984801869478851843
# 85861560789112949495459501737958331952853208805511
# 12540698747158523863050715693290963295227443... | 57.8125 | 1,012 | 0.868829 | 131 | 2,775 | 18.335878 | 0.48855 | 0.014988 | 0.009992 | 0.01582 | 0.049958 | 0.049958 | 0.049958 | 0.049958 | 0.049958 | 0.049958 | 0 | 0.808045 | 0.095135 | 2,775 | 47 | 1,013 | 59.042553 | 0.147352 | 0.452252 | 0 | 0.117647 | 0 | 0 | 0.713137 | 0.670241 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
04a6a60e4ed36e0b207d2c0550af17a2348ddd4b | 2,040 | py | Python | python/tests/explainer/perpendicular_bisector.py | geometer/sandbox | 373ec96e69df76744a19b51f7caa865cbc6b58cd | [
"Apache-2.0"
] | 6 | 2020-04-19T11:26:18.000Z | 2021-06-21T18:42:51.000Z | python/tests/explainer/perpendicular_bisector.py | geometer/sandbox | 373ec96e69df76744a19b51f7caa865cbc6b58cd | [
"Apache-2.0"
] | 31 | 2020-04-21T17:24:39.000Z | 2020-08-27T15:59:12.000Z | python/tests/explainer/perpendicular_bisector.py | geometer/sandbox | 373ec96e69df76744a19b51f7caa865cbc6b58cd | [
"Apache-2.0"
] | null | null | null | from sandbox import Scene
from sandbox.property import PointsCollinearityProperty, SameOrOppositeSideProperty
from .base import ExplainerTest
class ThreePointsOnPerpendicularBisectorCollinearity1(ExplainerTest):
def createScene(self):
scene = Scene()
A, B, C = scene.nondegenerate_triangle(labels=... | 37.090909 | 87 | 0.642647 | 252 | 2,040 | 5.142857 | 0.198413 | 0.083333 | 0.092593 | 0.125 | 0.704475 | 0.704475 | 0.704475 | 0.704475 | 0.704475 | 0.704475 | 0 | 0.007524 | 0.218137 | 2,040 | 54 | 88 | 37.777778 | 0.805016 | 0 | 0 | 0.8 | 0 | 0 | 0.009804 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.088889 | false | 0 | 0.066667 | 0 | 0.244444 | 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 |
04c79fd8181fb7085179cad9a55e285699a28f9b | 48 | py | Python | brutelogger/__init__.py | giuse/brutelogger | 1979576b7d78f2e35cdf12b936d912783f7a1d34 | [
"MIT"
] | 1 | 2021-05-14T10:21:35.000Z | 2021-05-14T10:21:35.000Z | brutelogger/__init__.py | giuse/brutelogger | 1979576b7d78f2e35cdf12b936d912783f7a1d34 | [
"MIT"
] | null | null | null | brutelogger/__init__.py | giuse/brutelogger | 1979576b7d78f2e35cdf12b936d912783f7a1d34 | [
"MIT"
] | null | null | null | from brutelogger.brutelogger import BruteLogger
| 24 | 47 | 0.895833 | 5 | 48 | 8.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.977273 | 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 |
04cc1c4ea7eddf281db797b317f9a62bf677dac7 | 74 | py | Python | src/bitstream_python/__init__.py | devast8a/bitstream | b834b31083bfff0d42c508363bd97fba78161d92 | [
"MIT"
] | null | null | null | src/bitstream_python/__init__.py | devast8a/bitstream | b834b31083bfff0d42c508363bd97fba78161d92 | [
"MIT"
] | 2 | 2016-02-27T04:49:57.000Z | 2016-02-27T04:50:58.000Z | src/bitstream_python/__init__.py | devast8a/bitstream_python | b834b31083bfff0d42c508363bd97fba78161d92 | [
"MIT"
] | null | null | null | from bitstream import *
import types_python_primitives
import types_numpy
| 18.5 | 30 | 0.878378 | 10 | 74 | 6.2 | 0.7 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 3 | 31 | 24.666667 | 0.939394 | 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 |
04ea8f3034f0d15cde9f6b3005d6282d7a547dee | 32 | py | Python | littleweb/__init__.py | lujin123/asynclittle | b215113d63a99b1ece0948acf860d405e45d74c2 | [
"Apache-2.0"
] | 1 | 2019-06-20T15:55:49.000Z | 2019-06-20T15:55:49.000Z | littleweb/__init__.py | lujin123/asynclittle | b215113d63a99b1ece0948acf860d405e45d74c2 | [
"Apache-2.0"
] | null | null | null | littleweb/__init__.py | lujin123/asynclittle | b215113d63a99b1ece0948acf860d405e45d74c2 | [
"Apache-2.0"
] | null | null | null | # Created by lujin at 10/12/2017 | 32 | 32 | 0.75 | 7 | 32 | 3.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 0.15625 | 32 | 1 | 32 | 32 | 0.592593 | 0.9375 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
b6e4bb1815f48df5f13bb1d170b1b0b61834b332 | 154 | py | Python | zzr_mailer/content/models/__init__.py | AHRJ/mailer | a16f66b45b782676d5138c5102734573fded8a48 | [
"MIT"
] | null | null | null | zzr_mailer/content/models/__init__.py | AHRJ/mailer | a16f66b45b782676d5138c5102734573fded8a48 | [
"MIT"
] | 10 | 2021-07-09T08:26:33.000Z | 2022-03-31T07:17:52.000Z | zzr_mailer/content/models/__init__.py | AHRJ/mailer | a16f66b45b782676d5138c5102734573fded8a48 | [
"MIT"
] | null | null | null | from .advertisement import Advertisement # noqa
from .article import Article # noqa
from .journal import Journal # noqa
from .news import News # noqa
| 30.8 | 48 | 0.766234 | 20 | 154 | 5.9 | 0.35 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 154 | 4 | 49 | 38.5 | 0.936508 | 0.123377 | 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 |
b6e577df84a5880325f470701d06927e94aa872f | 292 | py | Python | molecule/resources/tests/default_pyenv_root.py | hurricanehrndz/ansible-pyenv | fd1db76d1baf98ba70d801725097a752071fcda3 | [
"MIT"
] | null | null | null | molecule/resources/tests/default_pyenv_root.py | hurricanehrndz/ansible-pyenv | fd1db76d1baf98ba70d801725097a752071fcda3 | [
"MIT"
] | null | null | null | molecule/resources/tests/default_pyenv_root.py | hurricanehrndz/ansible-pyenv | fd1db76d1baf98ba70d801725097a752071fcda3 | [
"MIT"
] | null | null | null | def get_pyenv_root():
return "/usr/local/pyenv"
def get_user():
return "root"
def get_group():
return "root"
def get_rc_file():
return "/etc/profile.d/pyenv.sh"
def get_python_test_case():
return "3.9.0", True
def get_venv_test_case():
return "neovim", True
| 12.695652 | 36 | 0.650685 | 46 | 292 | 3.869565 | 0.521739 | 0.202247 | 0.146067 | 0.179775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012931 | 0.205479 | 292 | 22 | 37 | 13.272727 | 0.75431 | 0 | 0 | 0.166667 | 0 | 0 | 0.19863 | 0.078767 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8e116a521cc2e4cd114d40fbf4676381c32fce31 | 188 | py | Python | backend/db/entities/laporan/shift.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | backend/db/entities/laporan/shift.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | backend/db/entities/laporan/shift.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | from sqlalchemy.orm import reconstructor
from .base import DbLaporanEntity
from ..mixin import MxShiftBase, MxCommited
class DbShift(MxCommited, MxShiftBase, DbLaporanEntity):
pass
| 20.888889 | 56 | 0.81383 | 20 | 188 | 7.65 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132979 | 188 | 8 | 57 | 23.5 | 0.93865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f3e9fd893919c29001a1515fb29a637eb4f50c48 | 131 | py | Python | generate_zip.py | tormak/zipper-swapper | ecd342d82dcc762ea71022fa03868c82759d157e | [
"Apache-2.0"
] | null | null | null | generate_zip.py | tormak/zipper-swapper | ecd342d82dcc762ea71022fa03868c82759d157e | [
"Apache-2.0"
] | null | null | null | generate_zip.py | tormak/zipper-swapper | ecd342d82dcc762ea71022fa03868c82759d157e | [
"Apache-2.0"
] | null | null | null | import zipfile
import sys
with zipfile.ZipFile('test.zip', 'a') as file_zip:
file_zip.write('12.txt')
file_zip.write('2')
| 18.714286 | 50 | 0.687023 | 22 | 131 | 3.954545 | 0.590909 | 0.241379 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.152672 | 131 | 6 | 51 | 21.833333 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.122137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
6d133ca2afa0576d2090debedeb9334e295f706c | 3,934 | py | Python | panel_disconnect.py | RentadroneCL/model-definition | 9dab1f1a808a1efc54d64144745277396c145ff7 | [
"MIT"
] | 2 | 2020-01-22T19:54:16.000Z | 2020-02-07T12:20:17.000Z | panel_disconnect.py | RentadroneCL/model-definition | 9dab1f1a808a1efc54d64144745277396c145ff7 | [
"MIT"
] | 4 | 2020-06-03T00:27:22.000Z | 2020-07-15T17:15:23.000Z | panel_disconnect.py | RentadroneCL/model-definition | 9dab1f1a808a1efc54d64144745277396c145ff7 | [
"MIT"
] | 1 | 2020-01-21T22:38:22.000Z | 2020-01-21T22:38:22.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 17 13:55:42 2020
@author: dlsaavedra
"""
import numpy as np
def disconnect(image, boxes, obj_thresh = 0.5, area_min = 400, merge = 0, z_thresh = 1.8):
new_boxes = []
for num, box in enumerate(boxes):
xmin = box.xmin + merge
... | 34.208696 | 134 | 0.577529 | 603 | 3,934 | 3.595357 | 0.177446 | 0.063653 | 0.045664 | 0.050738 | 0.756458 | 0.728782 | 0.718635 | 0.718635 | 0.707103 | 0.707103 | 0 | 0.023835 | 0.274784 | 3,934 | 114 | 135 | 34.508772 | 0.736067 | 0.283172 | 0 | 0.735849 | 0 | 0 | 0.012195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.018868 | 0 | 0.09434 | 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 |
6d2b1536c336b2641205033f93ad4d4f5e9297c7 | 133 | py | Python | mindefuse/problem/secret/__init__.py | sinistro14/mindefuse | c7371a81731d0b9a03d3ef18f91c336e4135c17d | [
"MIT"
] | null | null | null | mindefuse/problem/secret/__init__.py | sinistro14/mindefuse | c7371a81731d0b9a03d3ef18f91c336e4135c17d | [
"MIT"
] | 1 | 2019-08-22T19:51:12.000Z | 2019-08-22T19:51:12.000Z | mindefuse/problem/secret/__init__.py | sinistro14/mindefuse | c7371a81731d0b9a03d3ef18f91c336e4135c17d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.7
from .secret import Secret
from .secret_types import SecretTypes
from .secret_factory import SecretFactory
| 22.166667 | 41 | 0.819549 | 19 | 133 | 5.631579 | 0.631579 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.112782 | 133 | 5 | 42 | 26.6 | 0.889831 | 0.172932 | 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 |
edb5aac8197239c588429007ced012e9659b4a1f | 196 | py | Python | vcauth/admin.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 5 | 2021-01-14T03:34:42.000Z | 2022-03-07T15:34:18.000Z | vcauth/admin.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 551 | 2020-10-19T00:02:38.000Z | 2022-03-30T02:18:22.000Z | vcauth/admin.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | null | null | null | from django.contrib import admin
from django.contrib.auth.models import User
from vcauth.user_admin import CustomUserAdmin
admin.site.unregister(User)
admin.site.register(User, CustomUserAdmin)
| 24.5 | 45 | 0.841837 | 27 | 196 | 6.074074 | 0.481481 | 0.121951 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086735 | 196 | 7 | 46 | 28 | 0.916201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
6121c390b795f28167daa872759644b141c80430 | 515 | py | Python | uk_election_timetables/elections/__init__.py | DemocracyClub/uk-election-timetables | 2541f9e5050a393906bafa2b70709fe650de3f32 | [
"MIT"
] | 2 | 2020-11-14T15:56:56.000Z | 2021-01-11T11:11:09.000Z | uk_election_timetables/elections/__init__.py | DemocracyClub/uk-election-timetables | 2541f9e5050a393906bafa2b70709fe650de3f32 | [
"MIT"
] | 12 | 2020-11-18T20:27:43.000Z | 2021-12-15T10:47:01.000Z | uk_election_timetables/elections/__init__.py | DemocracyClub/uk-election-timetables | 2541f9e5050a393906bafa2b70709fe650de3f32 | [
"MIT"
] | null | null | null | from uk_election_timetables.elections.scottish_parliament import *
from uk_election_timetables.elections.senedd_cymru import *
from uk_election_timetables.elections.greater_london_assembly import *
from uk_election_timetables.elections.northern_ireland_assembly import *
from uk_election_timetables.elections.local impor... | 57.222222 | 76 | 0.891262 | 66 | 515 | 6.560606 | 0.318182 | 0.110855 | 0.258661 | 0.443418 | 0.789838 | 0.713626 | 0.443418 | 0 | 0 | 0 | 0 | 0 | 0.062136 | 515 | 8 | 77 | 64.375 | 0.89648 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
612a97a90be2b64abb318b18fd0688833b207c63 | 166 | py | Python | 01-Deploy-To-AWS/sls-flask-ml-test/utils/__init__.py | amitkml/TSAI-DeepVision-EVA4.0-Phase-2 | f9e232b3eb6ce20f522136523e79208ed85a1f28 | [
"MIT"
] | 1 | 2021-03-21T08:45:05.000Z | 2021-03-21T08:45:05.000Z | 01-Deploy-To-AWS/sls-flask-ml-test/utils/__init__.py | amitkml/TSAI-DeepVision-EVA4.0-Phase-2 | f9e232b3eb6ce20f522136523e79208ed85a1f28 | [
"MIT"
] | null | null | null | 01-Deploy-To-AWS/sls-flask-ml-test/utils/__init__.py | amitkml/TSAI-DeepVision-EVA4.0-Phase-2 | f9e232b3eb6ce20f522136523e79208ed85a1f28 | [
"MIT"
] | null | null | null | from .imagenet_utils import idx2label
from .model_utils import transform_image, classify_image
from .logger import setup_logger
from .upload_utils import allowed_file | 41.5 | 56 | 0.873494 | 24 | 166 | 5.75 | 0.583333 | 0.23913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.096386 | 166 | 4 | 57 | 41.5 | 0.913333 | 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 |
b63f1f74164c085ea50cbab7a7c7b3c78e2d8ec3 | 20 | py | Python | pymm/__init__.py | lancekindle/pymm | 77f0cfc32a6819781cf61e3c311f1340406e3fba | [
"MIT"
] | 12 | 2015-09-26T07:52:49.000Z | 2021-07-09T00:26:09.000Z | pymm/__init__.py | lancekindle/pymm | 77f0cfc32a6819781cf61e3c311f1340406e3fba | [
"MIT"
] | 2 | 2015-10-06T12:54:25.000Z | 2015-10-29T17:50:34.000Z | pymm/__init__.py | lancekindle/pymm | 77f0cfc32a6819781cf61e3c311f1340406e3fba | [
"MIT"
] | 7 | 2015-10-05T13:22:26.000Z | 2021-09-03T18:32:41.000Z | from .pymm import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fcacfa149dcd871ed680e984e72f46019265f5af | 3,437 | py | Python | backend/tests/test_passport.py | ryanmahan/police-data-trust | e001e699adbc416f26a4f8fa64d56a1ef17e76fb | [
"MIT"
] | null | null | null | backend/tests/test_passport.py | ryanmahan/police-data-trust | e001e699adbc416f26a4f8fa64d56a1ef17e76fb | [
"MIT"
] | null | null | null | backend/tests/test_passport.py | ryanmahan/police-data-trust | e001e699adbc416f26a4f8fa64d56a1ef17e76fb | [
"MIT"
] | null | null | null | import pytest
from backend.database.models.passport_request import RequestStatus
from backend.database.models.types.enums import UserRole
from ..database import PassportRequest, User
from .conftest import example_password
def test_create_request(client, db_session, example_user):
res = client.post(
"api/v1... | 26.037879 | 109 | 0.664533 | 421 | 3,437 | 5.218527 | 0.15677 | 0.060082 | 0.071006 | 0.077378 | 0.79381 | 0.781065 | 0.76832 | 0.76832 | 0.7401 | 0.7401 | 0 | 0.011709 | 0.20483 | 3,437 | 132 | 110 | 26.037879 | 0.79217 | 0 | 0 | 0.566372 | 0 | 0 | 0.120128 | 0.04712 | 0 | 0 | 0 | 0 | 0.115044 | 1 | 0.044248 | false | 0.221239 | 0.044248 | 0 | 0.088496 | 0.00885 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fcdbcb6e97797fdf0895dab3bb21f3eb00c82cfa | 2,988 | gyp | Python | Deps/libmikmod-gyp/libmikmod.gyp | Marisa-Chan/surreal | fd8136209941347a4f83645c461a0249dc85a281 | [
"Artistic-1.0"
] | 4 | 2016-12-22T01:42:44.000Z | 2018-09-21T22:13:23.000Z | Deps/libmikmod-gyp/libmikmod.gyp | Marisa-Chan/surreal | fd8136209941347a4f83645c461a0249dc85a281 | [
"Artistic-1.0"
] | null | null | null | Deps/libmikmod-gyp/libmikmod.gyp | Marisa-Chan/surreal | fd8136209941347a4f83645c461a0249dc85a281 | [
"Artistic-1.0"
] | null | null | null | {
"variables": {
"library%": "shared_library",
"mikmod_dir%": "../libmikmod"
},
"target_defaults": {
"include_dirs": [
"include",
"<(mikmod_dir)/include"
],
"defines": [
"HAVE_CONFIG_H"
],
"cflags": [
"-Wall",
"-finline-functions",
"-funroll-loops",
"-ffast-math"
],
"target_... | 24.491803 | 52 | 0.568942 | 333 | 2,988 | 4.837838 | 0.312312 | 0.24581 | 0.248293 | 0.211049 | 0.399752 | 0.04221 | 0 | 0 | 0 | 0 | 0 | 0.005831 | 0.196452 | 2,988 | 121 | 53 | 24.694215 | 0.66514 | 0 | 0 | 0.189655 | 0 | 0 | 0.677711 | 0.469545 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1e36d20a0a23b9c0c70b4721dede26bafed354f4 | 5,211 | py | Python | ckan/ckanext-spatial/ckanext/spatial/tests/functional/test_package.py | lorenzoeusepi77/ckan | 3a620e9c81ba1750d12941c02184092d507f71df | [
"Apache-2.0"
] | null | null | null | ckan/ckanext-spatial/ckanext/spatial/tests/functional/test_package.py | lorenzoeusepi77/ckan | 3a620e9c81ba1750d12941c02184092d507f71df | [
"Apache-2.0"
] | null | null | null | ckan/ckanext-spatial/ckanext/spatial/tests/functional/test_package.py | lorenzoeusepi77/ckan | 3a620e9c81ba1750d12941c02184092d507f71df | [
"Apache-2.0"
] | null | null | null | import json
from nose.tools import assert_equals
from ckan.model import Session
from ckan.lib.helpers import url_for
try:
import ckan.new_tests.helpers as helpers
import ckan.new_tests.factories as factories
except ImportError:
import ckan.tests.helpers as helpers
import ckan.tests.factories as factor... | 35.209459 | 79 | 0.625216 | 633 | 5,211 | 4.908373 | 0.157978 | 0.058577 | 0.035404 | 0.064371 | 0.812037 | 0.797554 | 0.753138 | 0.753138 | 0.710332 | 0.710332 | 0 | 0.005929 | 0.255613 | 5,211 | 147 | 80 | 35.44898 | 0.79505 | 0 | 0 | 0.697248 | 0 | 0 | 0.108233 | 0.005373 | 0 | 0 | 0 | 0 | 0.201835 | 1 | 0.036697 | false | 0 | 0.12844 | 0 | 0.174312 | 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 |
1e4807ed7d647e37b97a0870abc07079c3523802 | 65 | py | Python | windowsbuild/MSVC2017/python/3.7.7/Lib/site-packages/shiboken2_generator/__init__.py | Tech-XCorp/visit-deps | 23e2bd534bf9c332d6b7d32310495f1f65b1b936 | [
"BSD-3-Clause"
] | null | null | null | windowsbuild/MSVC2017/python/3.7.7/Lib/site-packages/shiboken2_generator/__init__.py | Tech-XCorp/visit-deps | 23e2bd534bf9c332d6b7d32310495f1f65b1b936 | [
"BSD-3-Clause"
] | null | null | null | windowsbuild/MSVC2017/python/3.7.7/Lib/site-packages/shiboken2_generator/__init__.py | Tech-XCorp/visit-deps | 23e2bd534bf9c332d6b7d32310495f1f65b1b936 | [
"BSD-3-Clause"
] | null | null | null | __version__ = "5.14.2.3"
__version_info__ = (5, 14, 2.3, "", "")
| 21.666667 | 39 | 0.569231 | 11 | 65 | 2.545455 | 0.545455 | 0.214286 | 0.285714 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.153846 | 65 | 2 | 40 | 32.5 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1e72af6c4aabdc9305c193502b0bdc6784946984 | 128 | py | Python | app/app/calc.py | JosephKithome/recipeApi | 98497f8bf6e9a36a50c26cbc573b0b2fdab826d3 | [
"MIT"
] | null | null | null | app/app/calc.py | JosephKithome/recipeApi | 98497f8bf6e9a36a50c26cbc573b0b2fdab826d3 | [
"MIT"
] | null | null | null | app/app/calc.py | JosephKithome/recipeApi | 98497f8bf6e9a36a50c26cbc573b0b2fdab826d3 | [
"MIT"
] | null | null | null | def add(x, y):
"""Sum two numbers"""
return x + y
def subtract(x, y):
"""Subtract two numbers"""
return x - y
| 14.222222 | 30 | 0.53125 | 20 | 128 | 3.4 | 0.45 | 0.117647 | 0.470588 | 0.5 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296875 | 128 | 8 | 31 | 16 | 0.755556 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1e8434aad3565280ab8d9cfa93aba80060cb6017 | 23,147 | py | Python | unit_tests/web_tests/test_web_config.py | hep-gc/cloud-scheduler-2 | 180d9dc4f8751cf8c8254518e46f83f118187e84 | [
"Apache-2.0"
] | null | null | null | unit_tests/web_tests/test_web_config.py | hep-gc/cloud-scheduler-2 | 180d9dc4f8751cf8c8254518e46f83f118187e84 | [
"Apache-2.0"
] | null | null | null | unit_tests/web_tests/test_web_config.py | hep-gc/cloud-scheduler-2 | 180d9dc4f8751cf8c8254518e46f83f118187e84 | [
"Apache-2.0"
] | null | null | null | if __name__ == "__main__" or __name__ == "test_web_config":
__package__ = 'cloudscheduler.unit_tests.web_tests'
import unittest
import sys
from . import web_test_setup_cleanup as wtsc
from . import web_test_assertions_v2 as wta
from . import web_test_page_objects as pages
from . import web_test_helpers as helpers
... | 50.760965 | 112 | 0.723722 | 3,116 | 23,147 | 5.053915 | 0.059371 | 0.118364 | 0.093282 | 0.053086 | 0.898209 | 0.882906 | 0.860554 | 0.815405 | 0.802451 | 0.793434 | 0 | 0.007396 | 0.182183 | 23,147 | 455 | 113 | 50.872527 | 0.824511 | 0.143993 | 0 | 0.531792 | 0 | 0 | 0.099362 | 0.001773 | 0 | 0 | 0 | 0.002198 | 0.196532 | 1 | 0.121387 | false | 0.00289 | 0.017341 | 0 | 0.153179 | 0.023121 | 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 |
1eb8c42283005adaaac6f07c7c289aa0b7535c66 | 171 | py | Python | python/testData/inspections/AddCallSuperSingleStarParamInSuperInit_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/AddCallSuperSingleStarParamInSuperInit_after.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/AddCallSuperSingleStarParamInSuperInit_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
def __init__(self, *, kw_only, optional_kw_only=None):
pass
class B(A):
def __init__(self, *, kw_only):
super().__init__(kw_only=kw_only) | 24.428571 | 58 | 0.631579 | 26 | 171 | 3.461538 | 0.461538 | 0.333333 | 0.177778 | 0.266667 | 0.4 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 171 | 7 | 59 | 24.428571 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0 | 0.666667 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1ec860624124c8102d6b14fdef152255cdd04425 | 146 | py | Python | gits/preprocess/crawlers/crawler.py | BabyCakes13/GlacierImagePredictor | 07665dee1a6f77cf5b10da81df5cca880e2e8551 | [
"Apache-2.0"
] | null | null | null | gits/preprocess/crawlers/crawler.py | BabyCakes13/GlacierImagePredictor | 07665dee1a6f77cf5b10da81df5cca880e2e8551 | [
"Apache-2.0"
] | 38 | 2021-03-08T16:03:56.000Z | 2021-06-28T12:46:22.000Z | gits/preprocess/crawlers/crawler.py | BabyCakes13/GlacierImagePredictor | 07665dee1a6f77cf5b10da81df5cca880e2e8551 | [
"Apache-2.0"
] | null | null | null | class Crawler:
def __init__(self, root):
self._root = root
def crawl(self):
pass
def crawl_into(self):
pass
| 14.6 | 29 | 0.554795 | 18 | 146 | 4.166667 | 0.5 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.356164 | 146 | 9 | 30 | 16.222222 | 0.797872 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.285714 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 1 | 0 | 0 | 6 |
1ed31225d65e2bb025d8d6baff027959ecb0a34a | 43 | py | Python | optimus/validation/__init__.py | ctsit/optimus | e073edf36228c78bb7fb5a863a8808c47bf53496 | [
"Apache-2.0"
] | null | null | null | optimus/validation/__init__.py | ctsit/optimus | e073edf36228c78bb7fb5a863a8808c47bf53496 | [
"Apache-2.0"
] | 4 | 2017-05-16T15:49:56.000Z | 2018-09-18T20:02:24.000Z | optimus/validation/__init__.py | ctsit/optimus | e073edf36228c78bb7fb5a863a8808c47bf53496 | [
"Apache-2.0"
] | 3 | 2017-05-16T13:59:50.000Z | 2018-10-01T14:19:53.000Z | from optimus.validation.validator import *
| 21.5 | 42 | 0.837209 | 5 | 43 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ed32df848a71f3683fc504fca07c621c5d5a412 | 59,022 | py | Python | tests/test_compiler.py | Bakuriu/feanor-csv | e69929ae333d118771db4f3a91067d3b5ed84bf3 | [
"Apache-2.0"
] | 1 | 2018-10-05T02:03:35.000Z | 2018-10-05T02:03:35.000Z | tests/test_compiler.py | Bakuriu/feanor-csv | e69929ae333d118771db4f3a91067d3b5ed84bf3 | [
"Apache-2.0"
] | 30 | 2018-07-09T20:37:53.000Z | 2018-10-05T07:04:55.000Z | tests/test_compiler.py | Bakuriu/feanor-csv | e69929ae333d118771db4f3a91067d3b5ed84bf3 | [
"Apache-2.0"
] | null | null | null | import unittest
from feanor.builtin import BuiltInLibrary
from feanor.dsl.ast import *
from feanor.dsl.compiler import *
from feanor.dsl.types import *
from feanor.library import MockLibrary
from feanor.schema import *
class TestTypeInferencer(unittest.TestCase):
def setUp(self):
self.library = BuiltInLi... | 51.547598 | 138 | 0.652011 | 6,610 | 59,022 | 5.570045 | 0.037065 | 0.049785 | 0.038785 | 0.023222 | 0.89937 | 0.872019 | 0.838231 | 0.800532 | 0.760416 | 0.701939 | 0 | 0.007365 | 0.206296 | 59,022 | 1,144 | 139 | 51.592657 | 0.778572 | 0.003982 | 0 | 0.574037 | 0 | 0 | 0.091209 | 0 | 0 | 0 | 0 | 0.000874 | 0.182556 | 1 | 0.134888 | false | 0 | 0.007099 | 0 | 0.147059 | 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 |
94a44723921718171c92b4b68b7e734d4fc957ed | 749 | py | Python | app/admin/forms.py | lbgutierrez/kimble | 35a5eb9a6899bd5840dbf88060cadbb60c52f946 | [
"Apache-2.0"
] | null | null | null | app/admin/forms.py | lbgutierrez/kimble | 35a5eb9a6899bd5840dbf88060cadbb60c52f946 | [
"Apache-2.0"
] | null | null | null | app/admin/forms.py | lbgutierrez/kimble | 35a5eb9a6899bd5840dbf88060cadbb60c52f946 | [
"Apache-2.0"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms.fields.core import StringField
from wtforms.widgets import TextArea
from wtforms.validators import DataRequired, Length
class CategoryForm( FlaskForm ):
name = StringField( "Nombre", validators=[ DataRequired(), Length( 1, 64 ) ] )
alias = StringField( "Alias", val... | 53.5 | 113 | 0.708945 | 75 | 749 | 7.066667 | 0.346667 | 0.203774 | 0.264151 | 0.273585 | 0.662264 | 0.603774 | 0.603774 | 0.603774 | 0.603774 | 0.603774 | 0 | 0.02381 | 0.158879 | 749 | 14 | 113 | 53.5 | 0.81746 | 0 | 0 | 0.333333 | 0 | 0 | 0.058667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
94e36ba1cc9f80daa04caae769647906fb7dfdb7 | 130 | py | Python | redirector/schemas.py | dyakovri/redirector-api | cd576d9b27b4de5777dd2112e9e355e8585dc44e | [
"BSD-2-Clause"
] | 1 | 2022-03-23T17:56:15.000Z | 2022-03-23T17:56:15.000Z | redirector/schemas.py | dyakovri/redirector-api | cd576d9b27b4de5777dd2112e9e355e8585dc44e | [
"BSD-2-Clause"
] | null | null | null | redirector/schemas.py | dyakovri/redirector-api | cd576d9b27b4de5777dd2112e9e355e8585dc44e | [
"BSD-2-Clause"
] | null | null | null | from pydantic import BaseModel
from pydantic.networks import AnyHttpUrl
class NewRedirectUrl(BaseModel):
url_to: AnyHttpUrl
| 18.571429 | 40 | 0.823077 | 15 | 130 | 7.066667 | 0.666667 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 130 | 6 | 41 | 21.666667 | 0.946429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
94f80617de0ce79422651cb5bc79ab954d675f56 | 11,154 | py | Python | 2021/2021_09b.py | davidxiao93/Advent-of-Code | 29503100ae4eb46b048fc3ab68ff0181c6f00ee5 | [
"MIT"
] | null | null | null | 2021/2021_09b.py | davidxiao93/Advent-of-Code | 29503100ae4eb46b048fc3ab68ff0181c6f00ee5 | [
"MIT"
] | null | null | null | 2021/2021_09b.py | davidxiao93/Advent-of-Code | 29503100ae4eb46b048fc3ab68ff0181c6f00ee5 | [
"MIT"
] | null | null | null | from functools import reduce
input = """9876543234679310943456798433456798998764321357921025689921987899896498799923491297654545679876212347
6987675036678939874567987012567897899975532467892334567890996789789989679895989398743236789865101456
55989831245895987656897654236789567898765435689435656789997653956798765987896... | 79.106383 | 111 | 0.948718 | 259 | 11,154 | 40.745174 | 0.606178 | 0.006633 | 0.006823 | 0.000758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.93477 | 0.039268 | 11,154 | 140 | 112 | 79.671429 | 0.050019 | 0.001255 | 0 | 0 | 0 | 0 | 0.906716 | 0.897827 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007519 | 0 | 0.007519 | 0.007519 | 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 |
a21f190e1efc65909a85eda327b1f918c610e978 | 20,943 | py | Python | src/nanopie/services/http/base.py | michaelawyu/nanopie | 32e84f072d03a6b3eff33920c929546c81969a64 | [
"Apache-2.0"
] | 1 | 2020-09-02T22:34:10.000Z | 2020-09-02T22:34:10.000Z | src/nanopie/services/http/base.py | michaelawyu/nanopie | 32e84f072d03a6b3eff33920c929546c81969a64 | [
"Apache-2.0"
] | null | null | null | src/nanopie/services/http/base.py | michaelawyu/nanopie | 32e84f072d03a6b3eff33920c929546c81969a64 | [
"Apache-2.0"
] | null | null | null | """This module includes the base class for nanopie HTTP services.
"""
from abc import abstractmethod
from typing import Callable, Dict, Optional
from ..base import RPCService
from .foundation import HTTPFoundationHandler
from ...handler import SimpleHandler
from .io import HTTPEndpoint
from .methods import HTTPMethod... | 38.855288 | 86 | 0.600917 | 2,074 | 20,943 | 5.924783 | 0.066538 | 0.034912 | 0.023438 | 0.037598 | 0.835693 | 0.81307 | 0.806071 | 0.777832 | 0.761556 | 0.736003 | 0 | 0.00007 | 0.318484 | 20,943 | 538 | 87 | 38.927509 | 0.860856 | 0.428974 | 0 | 0.661654 | 0 | 0 | 0.064159 | 0.014399 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06015 | false | 0.003759 | 0.033835 | 0 | 0.146617 | 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 |
bf74d45a88cd276b17089e1d4afc5bb933924be4 | 41 | py | Python | models/__init__.py | mlunax/shrtner-api | 373e08863145b40ec7e52eccddd911da3f79540a | [
"MIT"
] | null | null | null | models/__init__.py | mlunax/shrtner-api | 373e08863145b40ec7e52eccddd911da3f79540a | [
"MIT"
] | null | null | null | models/__init__.py | mlunax/shrtner-api | 373e08863145b40ec7e52eccddd911da3f79540a | [
"MIT"
] | null | null | null | from .redirect_model import RedirectModel | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
44ba6ab507bee531594dc45e9b92cf3753e9c32c | 179 | py | Python | paulmann/__init__.py | mjekovec2/paulmann-lights | b41b9caef611db7461d62fcf17bc7de71ec4e0bd | [
"MIT"
] | 1 | 2020-10-13T09:42:01.000Z | 2020-10-13T09:42:01.000Z | paulmann/__init__.py | mjekovec2/paulmann-lights | b41b9caef611db7461d62fcf17bc7de71ec4e0bd | [
"MIT"
] | 1 | 2021-12-26T01:54:41.000Z | 2022-01-03T07:43:20.000Z | paulmann/__init__.py | mjekovec2/paulmann-lights | b41b9caef611db7461d62fcf17bc7de71ec4e0bd | [
"MIT"
] | 2 | 2020-04-21T11:39:30.000Z | 2021-12-28T20:40:52.000Z | from paulmann.paulmann import Paulmann
from paulmann.models import State, Info
from paulmann.exceptions import PaulmannAuthenticationError, PaulmannConnectionError, PaulmannError
| 44.75 | 99 | 0.882682 | 18 | 179 | 8.777778 | 0.555556 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083799 | 179 | 3 | 100 | 59.666667 | 0.963415 | 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 |
44c69b81a108f1cde0b86a8f52fe4db2f7891714 | 335 | py | Python | app/main/__init__.py | DuncanArani/NEWS | b6cbd2794d5b3f71f66bcfb7feac1510d02c410c | [
"MIT"
] | null | null | null | app/main/__init__.py | DuncanArani/NEWS | b6cbd2794d5b3f71f66bcfb7feac1510d02c410c | [
"MIT"
] | null | null | null | app/main/__init__.py | DuncanArani/NEWS | b6cbd2794d5b3f71f66bcfb7feac1510d02c410c | [
"MIT"
] | null | null | null | # We import the Blueprint class from flask. We then initialize the Blueprint class by creating a variable main. The Blueprint class takes in 2 arguments. The name of the blueprint and the __name__ variable to find the location of the blueprint.
from flask import Blueprint
main = Blueprint('main',__name__)
from . impor... | 55.833333 | 244 | 0.8 | 53 | 335 | 4.90566 | 0.490566 | 0.230769 | 0.196154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003559 | 0.161194 | 335 | 5 | 245 | 67 | 0.921708 | 0.722388 | 0 | 0 | 0 | 0 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
78097666ad3a75f21be90197ad3b55483be0b372 | 106 | py | Python | lectures/code/dict_del.py | naskoch/python_course | 84adfd3f8d48ca3ad5837f7acc59d2fa051e95d3 | [
"MIT"
] | 4 | 2015-08-10T17:46:55.000Z | 2020-04-18T21:09:03.000Z | lectures/code/dict_del.py | naskoch/python_course | 84adfd3f8d48ca3ad5837f7acc59d2fa051e95d3 | [
"MIT"
] | null | null | null | lectures/code/dict_del.py | naskoch/python_course | 84adfd3f8d48ca3ad5837f7acc59d2fa051e95d3 | [
"MIT"
] | 2 | 2019-04-24T03:31:02.000Z | 2019-05-13T07:36:06.000Z | >>> d = {1: 'one', 2: 'two', 3: 'three'}
>>> del d[1]
>>> d
{2: 'two', 3: 'three'}
>>> d.clear()
>>> d
{}
| 13.25 | 40 | 0.358491 | 18 | 106 | 2.111111 | 0.5 | 0.105263 | 0.263158 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 0.216981 | 106 | 7 | 41 | 15.142857 | 0.385542 | 0 | 0 | 0.285714 | 0 | 0 | 0.179245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
788d2f19cccfe2382f259ab8e0e6e4a79001b1f8 | 155 | py | Python | src/processor/processing_node.py | PearCoding/SpriteRecourceCompiler | 34dcd9175f92e580705a2f07998046a05a19329b | [
"MIT"
] | 1 | 2016-04-16T21:33:58.000Z | 2016-04-16T21:33:58.000Z | src/processor/processing_node.py | PearCoding/SpriteRecourceCompiler | 34dcd9175f92e580705a2f07998046a05a19329b | [
"MIT"
] | null | null | null | src/processor/processing_node.py | PearCoding/SpriteRecourceCompiler | 34dcd9175f92e580705a2f07998046a05a19329b | [
"MIT"
] | null | null | null | class ProcessingNode:
def execute(self, processor, img):
raise NotImplementedError()
def dependencies(self, processor):
return []
| 22.142857 | 38 | 0.664516 | 14 | 155 | 7.357143 | 0.785714 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245161 | 155 | 6 | 39 | 25.833333 | 0.880342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
78ab2a69ced3931fa292f1e6e726c05b71d01b38 | 703 | py | Python | app/email.py | kilonzijnr/personal-blog | c26258a2b5494c0621d663a258213a6990f45e4e | [
"MIT"
] | null | null | null | app/email.py | kilonzijnr/personal-blog | c26258a2b5494c0621d663a258213a6990f45e4e | [
"MIT"
] | null | null | null | app/email.py | kilonzijnr/personal-blog | c26258a2b5494c0621d663a258213a6990f45e4e | [
"MIT"
] | null | null | null | from flask_mail import Message
from flask import render_template
from .import mail
def mail_message(subject,template,to,**kwargs):
sender_email = 'vkilonzi05@gmail.com'
email = Message(subject, sender=sender_email, recipients=[to])
email.body = render_template(template + ".txt",**kwargs)
email.html = ... | 35.15 | 66 | 0.71835 | 87 | 703 | 5.666667 | 0.252874 | 0.141988 | 0.178499 | 0.097363 | 0.815416 | 0.815416 | 0.815416 | 0.815416 | 0.815416 | 0.815416 | 0 | 0.006667 | 0.146515 | 703 | 19 | 67 | 37 | 0.815 | 0 | 0 | 0.666667 | 0 | 0 | 0.082504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.2 | 0 | 0.333333 | 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 |
78b60f967f9cb54900f2792e459f29d96c09a302 | 7,971 | py | Python | Graphs.py | KrishnarajT/IP-Project-Youtube-Video-Downloader | 12f3e829f82ee96fdc0ec68c79665f85f3725007 | [
"MIT"
] | 1 | 2020-11-22T06:49:23.000Z | 2020-11-22T06:49:23.000Z | Graphs.py | KrishnarajT/IP-Project-Youtube-Video-Downloader | 12f3e829f82ee96fdc0ec68c79665f85f3725007 | [
"MIT"
] | 5 | 2021-04-06T18:39:13.000Z | 2022-03-12T00:55:47.000Z | Graphs.py | KrishnarajT/IP-Project-Youtube-Video-Downloader | 12f3e829f82ee96fdc0ec68c79665f85f3725007 | [
"MIT"
] | 2 | 2020-11-12T13:25:19.000Z | 2020-11-12T13:33:29.000Z | # here is an example graph
import numpy as np
import File_IO as fio
import matplotlib.pyplot as plt
# All These functions plot the graph, and then save the figure in a folder.
# These figues are then accessed by main.py to show in the statistics page.
def plot_views_vs_videos():
"""
Plots a graph by looking at the... | 31.505929 | 130 | 0.711078 | 1,364 | 7,971 | 4.008065 | 0.102639 | 0.05707 | 0.02195 | 0.034205 | 0.872691 | 0.792574 | 0.773185 | 0.711359 | 0.702579 | 0.697823 | 0 | 0.010241 | 0.16698 | 7,971 | 252 | 131 | 31.630952 | 0.813102 | 0.306988 | 0 | 0.52 | 0 | 0 | 0.182037 | 0.072037 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073333 | false | 0 | 0.02 | 0 | 0.093333 | 0.006667 | 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 |
78ba7c9b0000987d9dad7d9a89b0b4459b1456c9 | 171 | py | Python | PythonModules/SlicerVmtkCommonLib/__init__.py | jcfr/SlicerExtension-VMTK | bd031746a645744f150de343f128203ce747ee57 | [
"Apache-2.0"
] | null | null | null | PythonModules/SlicerVmtkCommonLib/__init__.py | jcfr/SlicerExtension-VMTK | bd031746a645744f150de343f128203ce747ee57 | [
"Apache-2.0"
] | null | null | null | PythonModules/SlicerVmtkCommonLib/__init__.py | jcfr/SlicerExtension-VMTK | bd031746a645744f150de343f128203ce747ee57 | [
"Apache-2.0"
] | null | null | null | # import the vmtk common libs
from Helper import *
from LevelSetSegmentationLogic import *
from VesselnessFilteringLogic import *
from CenterlineComputationLogic import *
| 28.5 | 40 | 0.842105 | 17 | 171 | 8.470588 | 0.588235 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128655 | 171 | 5 | 41 | 34.2 | 0.966443 | 0.157895 | 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 |
15501f2e452f86b41baded5e1a494db3bbe7ea02 | 11,547 | py | Python | data_log/tests/test_dungeon_log.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 66 | 2017-09-11T04:46:00.000Z | 2021-03-13T00:02:42.000Z | data_log/tests/test_dungeon_log.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 133 | 2017-09-24T21:28:59.000Z | 2021-04-02T10:35:31.000Z | data_log/tests/test_dungeon_log.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 28 | 2017-08-30T19:04:32.000Z | 2020-11-16T04:09:00.000Z | from bestiary.models import Level, GameItem
from data_log import models
from .test_log_views import BaseLogTest
class CairosLogTests(BaseLogTest):
fixtures = ['test_game_items', 'test_levels', 'test_summon_monsters']
def test_dungeon_result(self):
self._do_log('BattleDungeonResult_V2/giants_b10_rune_... | 47.130612 | 118 | 0.729454 | 1,426 | 11,547 | 5.596774 | 0.107994 | 0.095853 | 0.047362 | 0.114021 | 0.883724 | 0.850019 | 0.80228 | 0.747149 | 0.705049 | 0.660068 | 0 | 0.019545 | 0.162553 | 11,547 | 244 | 119 | 47.32377 | 0.805791 | 0.006928 | 0 | 0.535354 | 0 | 0 | 0.199581 | 0.189288 | 0 | 0 | 0 | 0 | 0.378788 | 1 | 0.151515 | false | 0 | 0.015152 | 0 | 0.19697 | 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 |
1552a6105e4adeba0130c66f46fab3a30af9b9ee | 38 | py | Python | newfile.py | Alexander-Goossens/cs3240-labdemo | 505b768dc6fc33f4f6c247aa07be847d8d6863c9 | [
"MIT"
] | null | null | null | newfile.py | Alexander-Goossens/cs3240-labdemo | 505b768dc6fc33f4f6c247aa07be847d8d6863c9 | [
"MIT"
] | null | null | null | newfile.py | Alexander-Goossens/cs3240-labdemo | 505b768dc6fc33f4f6c247aa07be847d8d6863c9 | [
"MIT"
] | null | null | null |
print("New file with the new branch") | 19 | 37 | 0.736842 | 7 | 38 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 2 | 37 | 19 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
157d528f821e02dc87dbc1ef7d308c6c6a3f83f6 | 32 | py | Python | ofdft_ml/statslib/loader/__init__.py | HamletWantToCode/ofdft-ml | 4115405b6f530cdf8956d0b5b353569ce7c09496 | [
"MIT"
] | 6 | 2019-01-16T07:00:27.000Z | 2022-03-18T07:09:25.000Z | ofdft_ml/statslib/loader/__init__.py | HamletWantToCode/ofdft-ml | 4115405b6f530cdf8956d0b5b353569ce7c09496 | [
"MIT"
] | null | null | null | ofdft_ml/statslib/loader/__init__.py | HamletWantToCode/ofdft-ml | 4115405b6f530cdf8956d0b5b353569ce7c09496 | [
"MIT"
] | null | null | null | from .loader import Model_loader | 32 | 32 | 0.875 | 5 | 32 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
158e0a71c912ad047f0146c304338dd50130a4d5 | 59 | py | Python | simy/record/__init__.py | faical-yannick-congo/similarity | 4b447a69294e89eb573af16e1153ede0cbdb3b9e | [
"MIT"
] | null | null | null | simy/record/__init__.py | faical-yannick-congo/similarity | 4b447a69294e89eb573af16e1153ede0cbdb3b9e | [
"MIT"
] | 10 | 2019-05-01T13:50:30.000Z | 2019-05-09T18:11:24.000Z | simy/record/__init__.py | faical-yannick-congo/similarity | 4b447a69294e89eb573af16e1153ede0cbdb3b9e | [
"MIT"
] | 2 | 2019-05-01T13:47:34.000Z | 2019-05-01T14:03:52.000Z |
from .CalculationRelaxStatic import CalculationRelaxStatic | 29.5 | 58 | 0.915254 | 4 | 59 | 13.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 2 | 58 | 29.5 | 0.981818 | 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 |
15bb4a5ec76ee9218457fc33cedac638ef0a923a | 27,553 | py | Python | testing/test_util.py | matthewrsj/clisync | d89a0b2840494cc6622d45bc046b0589d0023e2e | [
"Apache-2.0"
] | null | null | null | testing/test_util.py | matthewrsj/clisync | d89a0b2840494cc6622d45bc046b0589d0023e2e | [
"Apache-2.0"
] | null | null | null | testing/test_util.py | matthewrsj/clisync | d89a0b2840494cc6622d45bc046b0589d0023e2e | [
"Apache-2.0"
] | null | null | null | from datetime import datetime
import stat
import ConfigParser
from StringIO import StringIO
import unittest
from climesync import util
from mock import patch, MagicMock
class UtilTest(unittest.TestCase):
def test_ts_error_no_error(self):
ts_objects = [{"example": "object"}]
assert not util.ts... | 30.716834 | 79 | 0.60262 | 3,119 | 27,553 | 4.996153 | 0.080154 | 0.035937 | 0.078547 | 0.026952 | 0.836874 | 0.780466 | 0.749984 | 0.715716 | 0.688314 | 0.648271 | 0 | 0.017107 | 0.280768 | 27,553 | 896 | 80 | 30.751116 | 0.769239 | 0.001887 | 0 | 0.568289 | 0 | 0 | 0.166479 | 0.065275 | 0 | 0 | 0 | 0 | 0.139717 | 0 | null | null | 0 | 0.010989 | null | null | 0.009419 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ec61dda6419c5d74844abdcf6c1b6669a0586893 | 28 | py | Python | bento/bars/system/__init__.py | mrkgnao/bento | 4c1a06e26a206e3d94a126add810d834a4046ba0 | [
"MIT"
] | null | null | null | bento/bars/system/__init__.py | mrkgnao/bento | 4c1a06e26a206e3d94a126add810d834a4046ba0 | [
"MIT"
] | null | null | null | bento/bars/system/__init__.py | mrkgnao/bento | 4c1a06e26a206e3d94a126add810d834a4046ba0 | [
"MIT"
] | null | null | null | from .cpu_bar import CPUBar
| 14 | 27 | 0.821429 | 5 | 28 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
ec7a0a8fd394278db5dc2a415d6d8bca171e88f2 | 2,748 | py | Python | Mock Object/Tweet Checker/OrderedMockObjects.py | ElizaLo/Software-Testing | 80561a09ac7e41c64cdb3b3579b61e5130f6d34f | [
"MIT"
] | null | null | null | Mock Object/Tweet Checker/OrderedMockObjects.py | ElizaLo/Software-Testing | 80561a09ac7e41c64cdb3b3579b61e5130f6d34f | [
"MIT"
] | null | null | null | Mock Object/Tweet Checker/OrderedMockObjects.py | ElizaLo/Software-Testing | 80561a09ac7e41c64cdb3b3579b61e5130f6d34f | [
"MIT"
] | null | null | null | import unittest
import pytest
from mock import Mock
import TweetChecker
class TweetTest(unittest.TestCase):
@pytest.mark.run('first')
def test_1(self):
mock_twitter = Mock()
TweetChecker.tweet(mock_twitter, "message")
mock_twitter.PostUpdate.assert_called_with("message")
@pytest... | 53.882353 | 646 | 0.726346 | 427 | 2,748 | 4.592506 | 0.285714 | 0.100969 | 0.045895 | 0.058134 | 0.848037 | 0.848037 | 0.810301 | 0.784294 | 0.736359 | 0.735339 | 0 | 0.00271 | 0.194323 | 2,748 | 50 | 647 | 54.96 | 0.878049 | 0 | 0 | 0.148148 | 0 | 0.074074 | 0.237467 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.148148 | false | 0 | 0.148148 | 0 | 0.333333 | 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 |
ecab81877859930e9054d8a942e9445b80cd23c0 | 68 | py | Python | gpvdm_gui/gui/const_ver.py | roderickmackenzie/gpvdm | 914fd2ee93e7202339853acaec1d61d59b789987 | [
"BSD-3-Clause"
] | 12 | 2016-09-13T08:58:13.000Z | 2022-01-17T07:04:52.000Z | gpvdm_gui/gui/const_ver.py | roderickmackenzie/gpvdm | 914fd2ee93e7202339853acaec1d61d59b789987 | [
"BSD-3-Clause"
] | 3 | 2017-11-11T12:33:02.000Z | 2019-03-08T00:48:08.000Z | gpvdm_gui/gui/const_ver.py | roderickmackenzie/gpvdm | 914fd2ee93e7202339853acaec1d61d59b789987 | [
"BSD-3-Clause"
] | 6 | 2019-01-03T06:17:12.000Z | 2022-01-01T15:59:00.000Z | def const_ver():
return "v8.0"
def is_gpvdm_next():
return False
| 11.333333 | 20 | 0.705882 | 12 | 68 | 3.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.161765 | 68 | 5 | 21 | 13.6 | 0.754386 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ecb63eb2bf383c2b250e776e195296d530ee5ead | 12,468 | py | Python | qa/rpc-tests/dao-light-voting-cfund.py | mellowsharp/navcoin-core | 6d4c580efa1e73791a18d8d2d8e9c9e90fd8e780 | [
"MIT"
] | 1 | 2020-08-28T02:32:47.000Z | 2020-08-28T02:32:47.000Z | qa/rpc-tests/dao-light-voting-cfund.py | mellowsharp/navcoin-core | 6d4c580efa1e73791a18d8d2d8e9c9e90fd8e780 | [
"MIT"
] | null | null | null | qa/rpc-tests/dao-light-voting-cfund.py | mellowsharp/navcoin-core | 6d4c580efa1e73791a18d8d2d8e9c9e90fd8e780 | [
"MIT"
] | 2 | 2020-09-06T20:02:00.000Z | 2020-11-19T18:47:42.000Z | #!/usr/bin/env python3
# Copyright (c) 2019 The Navcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
from test_framework.test_framework import NavCoinTestFramework
from test_framework.cfund_util import *
import... | 41.838926 | 128 | 0.646214 | 1,515 | 12,468 | 5.208581 | 0.124752 | 0.183627 | 0.081105 | 0.077557 | 0.771892 | 0.763148 | 0.760233 | 0.760233 | 0.73134 | 0.73134 | 0 | 0.042301 | 0.209336 | 12,468 | 297 | 129 | 41.979798 | 0.758166 | 0.079082 | 0 | 0.741627 | 0 | 0 | 0.050944 | 0 | 0.038278 | 0 | 0 | 0 | 0.114833 | 1 | 0.019139 | false | 0 | 0.014354 | 0 | 0.043062 | 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 |
bf03d9c33206f371612a12551af8879ea4a23748 | 3,546 | py | Python | main.py | vedenev/receptive_field_research | 0811daeef16f47ead99be56e6e497261d822c242 | [
"MIT"
] | null | null | null | main.py | vedenev/receptive_field_research | 0811daeef16f47ead99be56e6e497261d822c242 | [
"MIT"
] | null | null | null | main.py | vedenev/receptive_field_research | 0811daeef16f47ead99be56e6e497261d822c242 | [
"MIT"
] | null | null | null | import fire
DEFAULT_SCRIPT = "scripts_list"
def run_script(script: str = DEFAULT_SCRIPT) -> None:
"""
Type python3 main.py to get list of script names
"""
if script == DEFAULT_SCRIPT:
from utils import print_scripts_list
print_scripts_list()
elif script == "experiment_field_size... | 49.943662 | 91 | 0.788494 | 464 | 3,546 | 5.400862 | 0.114224 | 0.172386 | 0.272945 | 0.150838 | 0.865922 | 0.836393 | 0.765363 | 0.610136 | 0.403033 | 0.184358 | 0 | 0.004743 | 0.167513 | 3,546 | 71 | 92 | 49.943662 | 0.844173 | 0.013536 | 0 | 0 | 0 | 0 | 0.208441 | 0.183175 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0.393443 | 0.311475 | 0 | 0.327869 | 0.04918 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
bf27d8c9ec0a227958812eb7bf0c4130a1b0cafe | 34 | py | Python | src/modeci_mdf/interfaces/actr/__init__.py | singular-value/MDF | 227216ffb2c9beea8539829b0b891196787d33ee | [
"Apache-2.0"
] | null | null | null | src/modeci_mdf/interfaces/actr/__init__.py | singular-value/MDF | 227216ffb2c9beea8539829b0b891196787d33ee | [
"Apache-2.0"
] | null | null | null | src/modeci_mdf/interfaces/actr/__init__.py | singular-value/MDF | 227216ffb2c9beea8539829b0b891196787d33ee | [
"Apache-2.0"
] | null | null | null | from .exporter import actr_to_mdf
| 17 | 33 | 0.852941 | 6 | 34 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
170af1ca77ba8393a26f612ee7d389872a5429bb | 26 | py | Python | handlers/errors/__init__.py | roomdie/KingsEmpiresBot | 6de6d033318fef1d243dc3347d91b67e84ee285a | [
"MIT"
] | null | null | null | handlers/errors/__init__.py | roomdie/KingsEmpiresBot | 6de6d033318fef1d243dc3347d91b67e84ee285a | [
"MIT"
] | null | null | null | handlers/errors/__init__.py | roomdie/KingsEmpiresBot | 6de6d033318fef1d243dc3347d91b67e84ee285a | [
"MIT"
] | null | null | null | from . import retry_after
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 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 |
1717b9c87c8169fbcbf8eab32fe3d1122a46d802 | 24 | py | Python | hycohanz/__init__.py | Pablo097/hycohanz | 123cd6b270ea28fd6dd8b7e85c7af53d512717d4 | [
"BSD-2-Clause"
] | null | null | null | hycohanz/__init__.py | Pablo097/hycohanz | 123cd6b270ea28fd6dd8b7e85c7af53d512717d4 | [
"BSD-2-Clause"
] | null | null | null | hycohanz/__init__.py | Pablo097/hycohanz | 123cd6b270ea28fd6dd8b7e85c7af53d512717d4 | [
"BSD-2-Clause"
] | 1 | 2022-03-03T15:41:57.000Z | 2022-03-03T15:41:57.000Z | from .hycohanz import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.