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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
80ad871d44f6d1c870d694b6ce07e178ee41e5e0 | 52 | py | Python | guild/tests/samples/projects/simple/simple.py | wheatdog/guildai | 817cf179d0b6910d3d4fca522045a8139aef6c9e | [
"Apache-2.0"
] | 694 | 2018-11-30T01:06:30.000Z | 2022-03-31T14:46:26.000Z | guild/tests/samples/projects/simple/simple.py | wheatdog/guildai | 817cf179d0b6910d3d4fca522045a8139aef6c9e | [
"Apache-2.0"
] | 323 | 2018-11-05T17:44:34.000Z | 2022-03-31T16:56:41.000Z | guild/tests/samples/projects/simple/simple.py | wheatdog/guildai | 817cf179d0b6910d3d4fca522045a8139aef6c9e | [
"Apache-2.0"
] | 68 | 2019-04-01T04:24:47.000Z | 2022-02-24T17:22:04.000Z | x = 1.0
print("x: %s" % x)
print("y: %s" % (x + 1))
| 13 | 24 | 0.384615 | 12 | 52 | 1.666667 | 0.5 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.25 | 52 | 3 | 25 | 17.333333 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
03a7c7b783e0bd7d1e50d7e9ad2a54c007ade91a | 232 | py | Python | tests/test_meta.py | mskcc/cwl-utils | 812d7a7df470bc116fae7f2a43fca2824d623400 | [
"Apache-2.0"
] | 21 | 2018-08-15T06:45:29.000Z | 2021-11-13T23:31:04.000Z | tests/test_meta.py | mskcc/cwl-utils | 812d7a7df470bc116fae7f2a43fca2824d623400 | [
"Apache-2.0"
] | 112 | 2019-01-25T08:51:33.000Z | 2022-03-22T03:24:47.000Z | tests/test_meta.py | mskcc/cwl-utils | 812d7a7df470bc116fae7f2a43fca2824d623400 | [
"Apache-2.0"
] | 11 | 2019-05-27T12:34:23.000Z | 2021-09-08T14:00:34.000Z | """Test __meta__ properties."""
from cwl_utils.__meta__ import __version__
def test_graph_split() -> None:
"""Confirm that __version__ exists and is a string."""
assert __version__
assert isinstance(__version__, str)
| 23.2 | 58 | 0.732759 | 28 | 232 | 5.107143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168103 | 232 | 9 | 59 | 25.777778 | 0.740933 | 0.318966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
03cf77eb00b1fca2f93d6fcc5e07cd97bec2432e | 573 | py | Python | source/scrapy/klse/main.py | mengwangk/myinvestor-toolkit | 3dca9e1accfccf1583dcdbec80d1a0fe9dae2e81 | [
"MIT"
] | 7 | 2019-10-13T18:58:33.000Z | 2021-08-07T12:46:22.000Z | source/scrapy/klse/main.py | mengwangk/myinvestor-toolkit | 3dca9e1accfccf1583dcdbec80d1a0fe9dae2e81 | [
"MIT"
] | 7 | 2019-12-16T21:25:34.000Z | 2022-02-10T00:11:22.000Z | source/scrapy/klse/main.py | mengwangk/myinvestor-toolkit | 3dca9e1accfccf1583dcdbec80d1a0fe9dae2e81 | [
"MIT"
] | 4 | 2020-02-01T11:23:51.000Z | 2021-12-13T12:27:18.000Z | # -*- coding: utf-8 -*-
from scrapy import cmdline
#cmdline.execute("scrapy crawl dividend_history".split())
# Grab the stock quotes
# cmdline.execute("scrapy crawl quotes_investing".split())
# Grab dividend histories
# cmdline.execute("scrapy crawl dividend_history_investing".split())
# Grab historical prices
#... | 26.045455 | 72 | 0.776614 | 70 | 573 | 6.228571 | 0.385714 | 0.192661 | 0.275229 | 0.344037 | 0.275229 | 0.275229 | 0 | 0 | 0 | 0 | 0 | 0.001953 | 0.106457 | 573 | 22 | 73 | 26.045455 | 0.849609 | 0.802792 | 0 | 0 | 0 | 0 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
03cfe71025e26d7b739b1a5282c84c4ee77a93f5 | 39 | py | Python | improc/utils/const.py | antsfamily/improc | ceab171b0e61187fa2ced7c58540d5ffde79ebac | [
"MIT"
] | 2 | 2019-09-29T08:43:31.000Z | 2022-01-12T09:46:18.000Z | improc/utils/const.py | antsfamily/improc | ceab171b0e61187fa2ced7c58540d5ffde79ebac | [
"MIT"
] | null | null | null | improc/utils/const.py | antsfamily/improc | ceab171b0e61187fa2ced7c58540d5ffde79ebac | [
"MIT"
] | null | null | null |
EPS = 1.0e-16
PI = 3.141592653589793
| 7.8 | 22 | 0.666667 | 7 | 39 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.645161 | 0.205128 | 39 | 4 | 23 | 9.75 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
03d99c746742f5d55164a8acbec96e13619c89b8 | 230 | py | Python | blackfrost_analytics/blackfrost_analytics/doctype/blackfrost_analytics_settings/test_blackfrost_analytics_settings.py | hrazaBFT/blackfrost_analytics | bfe962495fb194e70fe90526871393dcd11097d9 | [
"MIT"
] | null | null | null | blackfrost_analytics/blackfrost_analytics/doctype/blackfrost_analytics_settings/test_blackfrost_analytics_settings.py | hrazaBFT/blackfrost_analytics | bfe962495fb194e70fe90526871393dcd11097d9 | [
"MIT"
] | null | null | null | blackfrost_analytics/blackfrost_analytics/doctype/blackfrost_analytics_settings/test_blackfrost_analytics_settings.py | hrazaBFT/blackfrost_analytics | bfe962495fb194e70fe90526871393dcd11097d9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2021, Hasan Raza and Contributors
# See license.txt
from __future__ import unicode_literals
# import frappe
import unittest
class TestBlackfrostAnalyticsSettings(unittest.TestCase):
pass
| 20.909091 | 57 | 0.778261 | 27 | 230 | 6.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025126 | 0.134783 | 230 | 10 | 58 | 23 | 0.849246 | 0.430435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
03f11f7531b9746d3a44d588e157a254de3f9722 | 36 | py | Python | npose_util_pyrosetta/__init__.py | bcov77/npose | 0b448b8a5d0ee18f991c9dc00c914def351af548 | [
"MIT"
] | 1 | 2021-12-10T02:02:22.000Z | 2021-12-10T02:02:22.000Z | npose_util_pyrosetta/__init__.py | bcov77/npose | 0b448b8a5d0ee18f991c9dc00c914def351af548 | [
"MIT"
] | null | null | null | npose_util_pyrosetta/__init__.py | bcov77/npose | 0b448b8a5d0ee18f991c9dc00c914def351af548 | [
"MIT"
] | 2 | 2020-05-05T20:03:41.000Z | 2020-06-13T15:31:35.000Z | from .npose_util_pyrosetta import *
| 18 | 35 | 0.833333 | 5 | 36 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ff0ba4a03cfcf2e9dbfb67474a4a1086f650ea91 | 52 | py | Python | Dreya/Security/Capture.py | esemve/Dreya | 76900d1bdf93fa3f8af35013c897c6f888e7619f | [
"MIT"
] | 1 | 2017-02-05T22:33:37.000Z | 2017-02-05T22:33:37.000Z | Dreya/Security/Capture.py | esemve/Dreya | 76900d1bdf93fa3f8af35013c897c6f888e7619f | [
"MIT"
] | null | null | null | Dreya/Security/Capture.py | esemve/Dreya | 76900d1bdf93fa3f8af35013c897c6f888e7619f | [
"MIT"
] | null | null | null | class Capture:
def capture(self):
pass
| 10.4 | 22 | 0.576923 | 6 | 52 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 52 | 4 | 23 | 13 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
ff0e80cad9d0a7793279a546c98f06acbbd6cbcc | 393 | py | Python | unicode_escape_decode.py | DazEB2/SimplePyScripts | 1dde0a42ba93fe89609855d6db8af1c63b1ab7cc | [
"CC-BY-4.0"
] | 117 | 2015-12-18T07:18:27.000Z | 2022-03-28T00:25:54.000Z | unicode_escape_decode.py | DazEB2/SimplePyScripts | 1dde0a42ba93fe89609855d6db8af1c63b1ab7cc | [
"CC-BY-4.0"
] | 8 | 2018-10-03T09:38:46.000Z | 2021-12-13T19:51:09.000Z | unicode_escape_decode.py | DazEB2/SimplePyScripts | 1dde0a42ba93fe89609855d6db8af1c63b1ab7cc | [
"CC-BY-4.0"
] | 28 | 2016-08-02T17:43:47.000Z | 2022-03-21T08:31:12.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = 'ipetrash'
text = '\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 (username)'
import codecs
print(codecs.unicode_i... | 35.727273 | 208 | 0.765903 | 55 | 393 | 5.363636 | 0.727273 | 0.067797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324176 | 0.073791 | 393 | 10 | 209 | 39.3 | 0.486264 | 0.223919 | 0 | 0 | 0 | 0.25 | 0.68543 | 0.615894 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ff1d4b9fea676310714144507b555a00bf5c91e3 | 169 | py | Python | bookmyslot/admin.py | varunbkk/myportfolio_bookmyslot | bbada313868a8dd164ab04f868470d2b053d401c | [
"MIT"
] | null | null | null | bookmyslot/admin.py | varunbkk/myportfolio_bookmyslot | bbada313868a8dd164ab04f868470d2b053d401c | [
"MIT"
] | null | null | null | bookmyslot/admin.py | varunbkk/myportfolio_bookmyslot | bbada313868a8dd164ab04f868470d2b053d401c | [
"MIT"
] | null | null | null | from django.contrib import admin
from bookmyslot.models import Booking,Customer
# Register your models here.
admin.site.register(Booking)
admin.site.register(Customer)
| 24.142857 | 46 | 0.828402 | 23 | 169 | 6.086957 | 0.565217 | 0.128571 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094675 | 169 | 6 | 47 | 28.166667 | 0.915033 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2079ced8baa9c10c70de9ff12cf52a4e00493905 | 54 | py | Python | fry.py | webbo89/halloween | cec43974e2ec096afd7368099cd6c18548d372f4 | [
"MIT"
] | null | null | null | fry.py | webbo89/halloween | cec43974e2ec096afd7368099cd6c18548d372f4 | [
"MIT"
] | 2 | 2018-10-31T20:02:12.000Z | 2018-11-04T02:58:34.000Z | fry.py | webbo89/halloween | cec43974e2ec096afd7368099cd6c18548d372f4 | [
"MIT"
] | null | null | null |
def fry():
print('The eggs have been fried')
| 6.75 | 37 | 0.574074 | 8 | 54 | 3.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 54 | 7 | 38 | 7.714286 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
208fd37389401926732c602ead2d7231ce24c5ee | 141 | py | Python | test-mock/example5.py | Cheukting/pytest-examples | 2b30bd375e02b115fb85463584590816e4b9a932 | [
"MIT"
] | null | null | null | test-mock/example5.py | Cheukting/pytest-examples | 2b30bd375e02b115fb85463584590816e4b9a932 | [
"MIT"
] | null | null | null | test-mock/example5.py | Cheukting/pytest-examples | 2b30bd375e02b115fb85463584590816e4b9a932 | [
"MIT"
] | null | null | null | from unittest import mock
from b import some_func
@mock.patch('a.SomeClass')
def test_some_func(mock_func):
some_func()
assert False | 20.142857 | 30 | 0.758865 | 23 | 141 | 4.434783 | 0.608696 | 0.235294 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156028 | 141 | 7 | 31 | 20.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.077465 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
457dd5186a35362450a41027ddabadee9a984e66 | 83 | py | Python | dashboard/models/__init__.py | muttiopenbts/cascade_spit | 27b722390977cb9bd677789617cf049fc5b90539 | [
"Apache-2.0"
] | null | null | null | dashboard/models/__init__.py | muttiopenbts/cascade_spit | 27b722390977cb9bd677789617cf049fc5b90539 | [
"Apache-2.0"
] | null | null | null | dashboard/models/__init__.py | muttiopenbts/cascade_spit | 27b722390977cb9bd677789617cf049fc5b90539 | [
"Apache-2.0"
] | null | null | null | from .job import Job
from .rpc import Rpc
from .userpublickey import UserPublicKey
| 20.75 | 40 | 0.819277 | 12 | 83 | 5.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 41 | 27.666667 | 0.957746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
45cd09ca63467383a7bc67fdaadb86eca1454a7c | 340 | py | Python | chrono/refiners/filter.py | wanasit/chrono-python | 2e3bb44f876fc381a73050d9dda58de296306dc0 | [
"MIT"
] | 20 | 2016-07-21T11:27:46.000Z | 2022-01-30T16:12:46.000Z | chrono/refiners/filter.py | wanasit/chrono-python | 2e3bb44f876fc381a73050d9dda58de296306dc0 | [
"MIT"
] | 2 | 2016-11-21T05:46:19.000Z | 2019-03-23T06:41:21.000Z | chrono/refiners/filter.py | wanasit/chrono-python | 2e3bb44f876fc381a73050d9dda58de296306dc0 | [
"MIT"
] | 5 | 2015-06-28T07:21:31.000Z | 2020-07-28T19:54:29.000Z | #!/usr/bin/env python
# -*- coding: utf8 -*-
from ..parsed_result import ParsedResult
from ..parsed_result import ParsedComponent
from refiner import Refiner
class Filter (Refiner):
def verify(self, result):
return True
def refine(self, results, text, options):
return [r for r in results... | 22.666667 | 53 | 0.685294 | 45 | 340 | 5.133333 | 0.622222 | 0.08658 | 0.138528 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003731 | 0.211765 | 340 | 14 | 54 | 24.285714 | 0.858209 | 0.120588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
afd7e3e99c48a97809f791c5d45319f9964b651a | 542 | py | Python | ABC151-200/ABC195/abc195_c.py | billyio/atcoder | 9d16765f91f28deeb7328fcc6c19541ee790941f | [
"MIT"
] | 1 | 2021-02-01T08:48:07.000Z | 2021-02-01T08:48:07.000Z | ABC151-200/ABC195/abc195_c.py | billyio/atcoder | 9d16765f91f28deeb7328fcc6c19541ee790941f | [
"MIT"
] | null | null | null | ABC151-200/ABC195/abc195_c.py | billyio/atcoder | 9d16765f91f28deeb7328fcc6c19541ee790941f | [
"MIT"
] | null | null | null | N = int(input())
ans = 0
if N < 10 ** 3:
print(0)
elif 10 ** 3 <= N < 10 ** 6:
print(N - 10 ** 3 + 1)
elif 10 ** 6 <= N < 10 ** 9:
print(10 ** 6 - 10 ** 3 + (N - 10 ** 6 + 1)*2)
elif 10 ** 9 <= N < 10 ** 12:
print(10 ** 6 - 10 ** 3 + (10 ** 9 - 10 ** 6)*2 + (N - 10 ** 9 + 1)*3)
elif 10 ** 12 <= N < 10 ... | 36.133333 | 108 | 0.361624 | 107 | 542 | 1.831776 | 0.17757 | 0.153061 | 0.163265 | 0.204082 | 0.469388 | 0.357143 | 0.357143 | 0.357143 | 0.357143 | 0.357143 | 0 | 0.347458 | 0.346863 | 542 | 15 | 108 | 36.133333 | 0.206215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
affefca91e256d401fec78e3110721d28e53e165 | 66 | py | Python | fissix/__main__.py | orsinium/fissix-py35 | 48914fcb69842c9fe3c97652870c7610a2cc639b | [
"PSF-2.0"
] | 32 | 2018-07-07T23:55:16.000Z | 2022-01-31T03:47:51.000Z | fissix/__main__.py | orsinium/fissix-py35 | 48914fcb69842c9fe3c97652870c7610a2cc639b | [
"PSF-2.0"
] | 35 | 2018-09-18T22:58:16.000Z | 2021-11-13T23:28:21.000Z | fissix/__main__.py | orsinium/fissix-py35 | 48914fcb69842c9fe3c97652870c7610a2cc639b | [
"PSF-2.0"
] | 18 | 2018-09-21T11:46:32.000Z | 2021-11-26T18:08:37.000Z | import sys
from .main import main
sys.exit(main("fissix.fixes"))
| 13.2 | 30 | 0.742424 | 11 | 66 | 4.454545 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 4 | 31 | 16.5 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b309dd29bad83acb06b9accf489079aaba6588c6 | 20 | py | Python | new.py | pjp8yf/cs3240-labdemo | 23e56df20183795065f0d368be4f0b1d6f63bb18 | [
"MIT"
] | null | null | null | new.py | pjp8yf/cs3240-labdemo | 23e56df20183795065f0d368be4f0b1d6f63bb18 | [
"MIT"
] | null | null | null | new.py | pjp8yf/cs3240-labdemo | 23e56df20183795065f0d368be4f0b1d6f63bb18 | [
"MIT"
] | null | null | null | print ("new branch") | 20 | 20 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
2fa3d9dca0dd00879209e5fee9cf6e72761fd389 | 115 | py | Python | cloudentries/fusioncompute/lifecycles/fc_rest_client/common/__init__.py | CloudChef/CloudEntries | a890e2eb96cc537db131e7ca8a0e6e1edc0b6ebd | [
"Apache-2.0"
] | null | null | null | cloudentries/fusioncompute/lifecycles/fc_rest_client/common/__init__.py | CloudChef/CloudEntries | a890e2eb96cc537db131e7ca8a0e6e1edc0b6ebd | [
"Apache-2.0"
] | null | null | null | cloudentries/fusioncompute/lifecycles/fc_rest_client/common/__init__.py | CloudChef/CloudEntries | a890e2eb96cc537db131e7ca8a0e6e1edc0b6ebd | [
"Apache-2.0"
] | 1 | 2021-03-26T05:45:00.000Z | 2021-03-26T05:45:00.000Z | # Copyright (c) 2021 Qianyun, Inc. All rights reserved.
from .client import RestClient, FusionComputeBase # NOQA
| 28.75 | 57 | 0.765217 | 14 | 115 | 6.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0.156522 | 115 | 3 | 58 | 38.333333 | 0.865979 | 0.504348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2fb7f567bd14d7a071a0487cc4777ee410fb97c6 | 220 | py | Python | receipt_split/helpers.py | isaaclo123/reciept-split | 331a6f16c05d2ee77a2668060c062cbd836939e4 | [
"CC-BY-3.0"
] | 1 | 2020-06-27T21:43:56.000Z | 2020-06-27T21:43:56.000Z | receipt_split/helpers.py | isaaclo123/reciept-split | 331a6f16c05d2ee77a2668060c062cbd836939e4 | [
"CC-BY-3.0"
] | 1 | 2021-03-27T20:26:04.000Z | 2021-03-27T20:26:04.000Z | receipt_split/helpers.py | isaaclo123/reciept-split | 331a6f16c05d2ee77a2668060c062cbd836939e4 | [
"CC-BY-3.0"
] | null | null | null | def ok(msg):
"""OK message
:msg: TODO
:returns: TODO
"""
return {"message": str(msg)}
def err(msg):
"""Error message
:msg: TODO
:returns: TODO
"""
return {"error": str(msg)}
| 11.578947 | 32 | 0.5 | 26 | 220 | 4.230769 | 0.384615 | 0.181818 | 0.254545 | 0.381818 | 0.563636 | 0.563636 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 220 | 18 | 33 | 12.222222 | 0.733333 | 0.354545 | 0 | 0 | 0 | 0 | 0.116505 | 0 | 0 | 0 | 0 | 0.222222 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2fb80d725a7ccc6993867726b137062c62503e12 | 117 | py | Python | tests/dependency-classic/setup.py | benbacardi/poetry-dynamic-versioning | 343c782ad72ceb42b155adf92b64af01750d4632 | [
"MIT"
] | 266 | 2019-06-11T14:49:44.000Z | 2022-03-31T16:41:28.000Z | tests/dependency-classic/setup.py | benbacardi/poetry-dynamic-versioning | 343c782ad72ceb42b155adf92b64af01750d4632 | [
"MIT"
] | 70 | 2019-09-02T17:23:57.000Z | 2022-03-18T17:37:13.000Z | tests/dependency-classic/setup.py | benbacardi/poetry-dynamic-versioning | 343c782ad72ceb42b155adf92b64af01750d4632 | [
"MIT"
] | 20 | 2019-11-28T10:32:15.000Z | 2022-02-22T17:19:32.000Z | from setuptools import setup
setup(name="dependency-classic", version="0.0.666", py_modules=["dependency_classic"])
| 29.25 | 86 | 0.777778 | 16 | 117 | 5.5625 | 0.75 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045872 | 0.068376 | 117 | 3 | 87 | 39 | 0.770642 | 0 | 0 | 0 | 0 | 0 | 0.367521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2fecabe320f42d81bb34bf9a720dd120257db319 | 92 | py | Python | setup.py | dheepdatascigit/pdclean | 688185d70511094d24db8c7e3043150ea266ce08 | [
"MIT"
] | null | null | null | setup.py | dheepdatascigit/pdclean | 688185d70511094d24db8c7e3043150ea266ce08 | [
"MIT"
] | null | null | null | setup.py | dheepdatascigit/pdclean | 688185d70511094d24db8c7e3043150ea266ce08 | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(name="pdtools", packages=find_packages()) | 30.666667 | 47 | 0.815217 | 12 | 92 | 6.083333 | 0.666667 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 92 | 3 | 47 | 30.666667 | 0.858824 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
64234d92ff5b2fb9becec317149789cb18bf7a03 | 108 | py | Python | pysparkle/frontend/__init__.py | macdems/pysparkle | 7d6018e5f2010d6a79fe71bc972bd29c61a113bc | [
"MIT"
] | 1 | 2015-12-19T19:25:15.000Z | 2015-12-19T19:25:15.000Z | pysparkle/frontend/__init__.py | macdems/pysparkle | 7d6018e5f2010d6a79fe71bc972bd29c61a113bc | [
"MIT"
] | null | null | null | pysparkle/frontend/__init__.py | macdems/pysparkle | 7d6018e5f2010d6a79fe71bc972bd29c61a113bc | [
"MIT"
] | null | null | null | # Copyright (c) 2015-2016 Maciej Dems <maciej.dems@p.lodz.pl>
# See LICENSE file for copyright information.
| 36 | 61 | 0.759259 | 17 | 108 | 4.823529 | 0.823529 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0.12963 | 108 | 2 | 62 | 54 | 0.787234 | 0.953704 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
642d45a7c0bbac137d56c32f85e8564e4375cfce | 5,278 | py | Python | tests/apps/slack_integration/slash_command_test.py | BinSquare/busy-beaver | b8063a7e434eb47e638697719896880781f9783f | [
"MIT"
] | null | null | null | tests/apps/slack_integration/slash_command_test.py | BinSquare/busy-beaver | b8063a7e434eb47e638697719896880781f9783f | [
"MIT"
] | null | null | null | tests/apps/slack_integration/slash_command_test.py | BinSquare/busy-beaver | b8063a7e434eb47e638697719896880781f9783f | [
"MIT"
] | null | null | null | import pytest
from busy_beaver.apps.slack_integration.slash_command import (
command_not_found,
disconnect_github,
display_help_text,
link_github,
next_event,
relink_github,
upcoming_events,
)
from busy_beaver.config import FULL_INSTALLATION_WORKSPACE_IDS
from busy_beaver.models import GitH... | 29.160221 | 86 | 0.730011 | 633 | 5,278 | 5.759874 | 0.139021 | 0.082282 | 0.131651 | 0.177729 | 0.834888 | 0.778387 | 0.7548 | 0.709819 | 0.59819 | 0.566374 | 0 | 0.004409 | 0.140584 | 5,278 | 180 | 87 | 29.322222 | 0.799383 | 0.016484 | 0 | 0.570248 | 0 | 0 | 0.11988 | 0.006194 | 0 | 0 | 0 | 0 | 0.157025 | 1 | 0.099174 | false | 0 | 0.033058 | 0 | 0.132231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
643a178b200206705476e101175f6f97ed9e858d | 132 | py | Python | src/io.py | tbjohns/python-util | b7115f78a12d1dff7227f46a046b9edde28fa2a9 | [
"MIT"
] | null | null | null | src/io.py | tbjohns/python-util | b7115f78a12d1dff7227f46a046b9edde28fa2a9 | [
"MIT"
] | null | null | null | src/io.py | tbjohns/python-util | b7115f78a12d1dff7227f46a046b9edde28fa2a9 | [
"MIT"
] | null | null | null | import cPickle
def pickle(obj, path):
cPickle.dump(obj, open(path, "w"))
def unpickle(path):
return cPickle.load(open(path))
| 14.666667 | 36 | 0.69697 | 20 | 132 | 4.6 | 0.6 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143939 | 132 | 8 | 37 | 16.5 | 0.814159 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ff7d241b47059bdafd3cd790fe33c5aab2294ede | 149 | py | Python | cowsay_app/admin.py | BethanyFolino/cowsay | 0608eff760adc29f32db3a4868e9fcfb57c8992b | [
"MIT"
] | null | null | null | cowsay_app/admin.py | BethanyFolino/cowsay | 0608eff760adc29f32db3a4868e9fcfb57c8992b | [
"MIT"
] | null | null | null | cowsay_app/admin.py | BethanyFolino/cowsay | 0608eff760adc29f32db3a4868e9fcfb57c8992b | [
"MIT"
] | null | null | null | from django.contrib import admin
from cowsay_app.models import WhatDoesTheCowSay
# Register your models here.
admin.site.register(WhatDoesTheCowSay) | 29.8 | 47 | 0.852349 | 19 | 149 | 6.631579 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09396 | 149 | 5 | 48 | 29.8 | 0.933333 | 0.174497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ff85f65052328b15ec8cb818ec43b859f19cd08c | 91 | py | Python | src/SEIRcity/cli/ptypes/__init__.py | UT-Covid/compartmental_model_case_studies | 324e2c92453c928e64c637d6e6fbe570fb714cdb | [
"BSD-3-Clause-Clear"
] | 1 | 2021-02-04T14:59:32.000Z | 2021-02-04T14:59:32.000Z | src/SEIRcity/cli/ptypes/__init__.py | UT-Covid/compartmental_model_case_studies | 324e2c92453c928e64c637d6e6fbe570fb714cdb | [
"BSD-3-Clause-Clear"
] | null | null | null | src/SEIRcity/cli/ptypes/__init__.py | UT-Covid/compartmental_model_case_studies | 324e2c92453c928e64c637d6e6fbe570fb714cdb | [
"BSD-3-Clause-Clear"
] | null | null | null | """Parameter types
"""
from .input import *
from .param import *
from .composite import *
| 13 | 24 | 0.692308 | 11 | 91 | 5.727273 | 0.636364 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175824 | 91 | 6 | 25 | 15.166667 | 0.84 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ff9a8bad5cfaa702fb8947ef6c59579a3d784f45 | 310 | py | Python | api/models.py | nikochiko/server | 299953687be7adbd35df608b288546c8df90371c | [
"MIT"
] | 43 | 2018-05-23T10:03:40.000Z | 2021-09-02T15:55:52.000Z | api/models.py | nikochiko/server | 299953687be7adbd35df608b288546c8df90371c | [
"MIT"
] | 141 | 2018-05-24T16:03:12.000Z | 2021-04-30T23:47:59.000Z | api/models.py | nikochiko/server | 299953687be7adbd35df608b288546c8df90371c | [
"MIT"
] | 77 | 2018-06-13T13:51:31.000Z | 2021-06-16T16:10:18.000Z | from api.modules.city.model import City, CityFact, CityImage, CityVisitLog
from api.modules.trips.model import Trip
from api.modules.feedback.model import Feedback
from api.modules.users.model import Profile, PasswordVerification
from api.modules.notification.model import Notification, NotificationTypeChoice
| 51.666667 | 79 | 0.854839 | 40 | 310 | 6.625 | 0.425 | 0.132075 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 310 | 5 | 80 | 62 | 0.929825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
4428743c6625514a61bae6401758d954b54c190f | 4,226 | py | Python | Testing/test_Timoshenko.py | JWock82/PyNite | 4338f92dd981ca0cc275799ee5727a49d0e3d2d1 | [
"MIT"
] | 199 | 2019-04-12T05:30:43.000Z | 2022-03-29T23:42:01.000Z | Testing/test_Timoshenko.py | mohashrafy/PyNite | efffccdbff6727d3b271ba2937e35892d9df8c00 | [
"MIT"
] | 103 | 2019-07-22T19:41:26.000Z | 2022-03-31T22:18:32.000Z | Testing/test_Timoshenko.py | mohashrafy/PyNite | efffccdbff6727d3b271ba2937e35892d9df8c00 | [
"MIT"
] | 69 | 2019-02-07T12:02:01.000Z | 2022-03-24T13:24:38.000Z | import unittest
from PyNite import FEModel3D
from PyNite.Mesh import FrustrumMesh, CylinderMesh, RectangleMesh
import math
import sys
from io import StringIO
class Test_Timoshenko(unittest.TestCase):
# Tests against problems with known solutions from `Theory of Plates & Shells` by Timoshenko
def setUp(self):
... | 37.732143 | 117 | 0.605064 | 607 | 4,226 | 4.098847 | 0.2257 | 0.072347 | 0.038585 | 0.038585 | 0.799035 | 0.799035 | 0.799035 | 0.799035 | 0.799035 | 0.799035 | 0 | 0.035581 | 0.301704 | 4,226 | 111 | 118 | 38.072072 | 0.807523 | 0.267866 | 0 | 0.655738 | 0 | 0 | 0.049052 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 1 | 0.065574 | false | 0 | 0.098361 | 0 | 0.180328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
443893a90c52b21bd2c1099c0d7a63d6618d0ef5 | 38 | py | Python | jsnapshot_cron/__init__.py | melianmiko/JustSnapshot | 4e0fd76c66c81113f7507944a6719607945be50d | [
"BSD-2-Clause"
] | 1 | 2022-01-25T19:34:30.000Z | 2022-01-25T19:34:30.000Z | jsnapshot_cron/__init__.py | melianmiko/JustSnapshot | 4e0fd76c66c81113f7507944a6719607945be50d | [
"BSD-2-Clause"
] | null | null | null | jsnapshot_cron/__init__.py | melianmiko/JustSnapshot | 4e0fd76c66c81113f7507944a6719607945be50d | [
"BSD-2-Clause"
] | null | null | null | """This is CLI module for cron job"""
| 19 | 37 | 0.657895 | 7 | 38 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 1 | 38 | 38 | 0.806452 | 0.815789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
444524c5ac7008a2aa87fd83dea7dd4325dd8101 | 39 | py | Python | ex02/name.py | CoderDojo-Karlskrona/python-exercises | b22dd8a642b67d1c18790643718f133d7fc470fe | [
"Apache-2.0"
] | null | null | null | ex02/name.py | CoderDojo-Karlskrona/python-exercises | b22dd8a642b67d1c18790643718f133d7fc470fe | [
"Apache-2.0"
] | null | null | null | ex02/name.py | CoderDojo-Karlskrona/python-exercises | b22dd8a642b67d1c18790643718f133d7fc470fe | [
"Apache-2.0"
] | null | null | null | print "Peter Nerg"
print "supergammal"
| 13 | 19 | 0.769231 | 5 | 39 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 20 | 19.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
448111ab9c798457c5e1f7c0810b78dc20e53908 | 6,189 | py | Python | tests/test_api_functional.py | Zenlytic/granite | 93cc523954b1b900d7893af803a8fb3e5fc7d343 | [
"Apache-2.0"
] | null | null | null | tests/test_api_functional.py | Zenlytic/granite | 93cc523954b1b900d7893af803a8fb3e5fc7d343 | [
"Apache-2.0"
] | null | null | null | tests/test_api_functional.py | Zenlytic/granite | 93cc523954b1b900d7893af803a8fb3e5fc7d343 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
from metrics_layer.core.model import Project
from metrics_layer.core.parse import MetricsLayerConfiguration
from metrics_layer.core.sql import QueryRunner
def test_api_query(client, monkeypatch, models, views, add_user_and_get_auth):
_, token = add_user_and_get_auth("query@test.com", "test")
... | 41.536913 | 109 | 0.677169 | 739 | 6,189 | 5.385656 | 0.163735 | 0.069347 | 0.030151 | 0.039196 | 0.775879 | 0.764322 | 0.742714 | 0.727136 | 0.727136 | 0.714322 | 0 | 0.005271 | 0.172403 | 6,189 | 148 | 110 | 41.817568 | 0.771769 | 0.010503 | 0 | 0.495575 | 0 | 0 | 0.319556 | 0.092959 | 0 | 0 | 0 | 0 | 0.123894 | 1 | 0.053097 | false | 0.017699 | 0.035398 | 0 | 0.088496 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
926014d93bd038af4a6058f1c5764e6513407f20 | 71 | py | Python | helpers.py | georgknabl/human-password-classifier | 14470998e2e05fc5c61776250c4edb0edb397fd0 | [
"MIT"
] | 5 | 2018-11-09T08:08:26.000Z | 2021-08-09T10:03:36.000Z | helpers.py | georgknabl/human-password-classifier | 14470998e2e05fc5c61776250c4edb0edb397fd0 | [
"MIT"
] | null | null | null | helpers.py | georgknabl/human-password-classifier | 14470998e2e05fc5c61776250c4edb0edb397fd0 | [
"MIT"
] | 2 | 2018-11-14T18:47:06.000Z | 2020-12-15T07:36:03.000Z | def tokenizer(text):
# character-based tokens
return list(text) | 23.666667 | 28 | 0.704225 | 9 | 71 | 5.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 71 | 3 | 29 | 23.666667 | 0.877193 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
92b47758e4106dc31aea5a6145c188bca6cb114e | 358 | py | Python | tests/pymath/test_population_growth.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 3 | 2017-05-02T10:28:13.000Z | 2019-02-06T09:10:11.000Z | tests/pymath/test_population_growth.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 2 | 2017-06-21T20:39:14.000Z | 2020-02-25T10:28:57.000Z | tests/pymath/test_population_growth.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 2 | 2016-07-29T04:35:22.000Z | 2017-01-18T17:05:36.000Z | import unittest
from pymath.population_growth import nb_year
class Tests(unittest.TestCase):
def test_1(self):
self.assertEqual(nb_year(1500, 5, 100, 5000), 15)
def test_2(self):
self.assertEqual(nb_year(1500000, 2.5, 10000, 2000000), 10)
def test_3(self):
self.assertEqual(nb_ye... | 23.866667 | 67 | 0.684358 | 54 | 358 | 4.388889 | 0.574074 | 0.101266 | 0.240506 | 0.265823 | 0.375527 | 0.270042 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 0.195531 | 358 | 14 | 68 | 25.571429 | 0.604167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
2ba8442b4c6e36c13ad1f34ad78b9bb605f70fd7 | 72 | py | Python | ex2.py | MayThuHtun/python-exercises | 0f4e85aa9d78855bfdb5c04ff9278799c338e0e5 | [
"MIT"
] | null | null | null | ex2.py | MayThuHtun/python-exercises | 0f4e85aa9d78855bfdb5c04ff9278799c338e0e5 | [
"MIT"
] | null | null | null | ex2.py | MayThuHtun/python-exercises | 0f4e85aa9d78855bfdb5c04ff9278799c338e0e5 | [
"MIT"
] | null | null | null | print("I could have code like this.")
print("This will run this text.")
| 24 | 37 | 0.708333 | 13 | 72 | 3.923077 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 2 | 38 | 36 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
2bae6d5aa43b5cc99b94417ab86dbdf6ef7e65cf | 159 | py | Python | misago/misago/cache/apps.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | 2 | 2021-03-06T21:06:13.000Z | 2021-03-09T15:05:12.000Z | misago/misago/cache/apps.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | misago/misago/cache/apps.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MisagoCacheConfig(AppConfig):
name = "misago.cache"
label = "misago_cache"
verbose_name = "Misago Cache"
| 19.875 | 35 | 0.72327 | 18 | 159 | 6.277778 | 0.666667 | 0.292035 | 0.265487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 159 | 7 | 36 | 22.714286 | 0.875969 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
2bf1ef64588e8705c51f6e684139279d7b319a53 | 139 | py | Python | dvc/dependency/gs.py | kaiogu/dvc | ffa8fe5888dbbb3d37b3874562f99fd77d4bbcb7 | [
"Apache-2.0"
] | 3 | 2020-01-31T05:33:14.000Z | 2021-05-20T08:19:25.000Z | dvc/dependency/gs.py | kaiogu/dvc | ffa8fe5888dbbb3d37b3874562f99fd77d4bbcb7 | [
"Apache-2.0"
] | null | null | null | dvc/dependency/gs.py | kaiogu/dvc | ffa8fe5888dbbb3d37b3874562f99fd77d4bbcb7 | [
"Apache-2.0"
] | null | null | null | from dvc.dependency.base import DependencyBase
from dvc.output.gs import OutputGS
class DependencyGS(DependencyBase, OutputGS):
pass
| 19.857143 | 46 | 0.81295 | 17 | 139 | 6.647059 | 0.705882 | 0.123894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129496 | 139 | 6 | 47 | 23.166667 | 0.933884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
2bf39b1100e99a03e4f6d672181c864c68370538 | 46 | py | Python | minos/api_gateway/discovery/database/__init__.py | Clariteia/discovery | e1ae93a1e9cc12f345fd01bd7feef46e28de125d | [
"MIT"
] | 3 | 2021-05-14T09:11:21.000Z | 2021-10-04T08:37:51.000Z | minos/api_gateway/discovery/database/__init__.py | Clariteia/discovery | e1ae93a1e9cc12f345fd01bd7feef46e28de125d | [
"MIT"
] | 45 | 2021-05-14T08:46:58.000Z | 2022-01-27T13:00:45.000Z | minos/api_gateway/discovery/database/__init__.py | Clariteia/discovery | e1ae93a1e9cc12f345fd01bd7feef46e28de125d | [
"MIT"
] | 1 | 2022-03-03T10:32:55.000Z | 2022-03-03T10:32:55.000Z | from .client import (
MinosRedisClient,
)
| 11.5 | 21 | 0.695652 | 4 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 3 | 22 | 15.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
92180338667153c14f6a78952d4a7a68212e5f2d | 7,479 | py | Python | velos.py | fsiamp/velos-generator | 2faf82a508ab6b1f07edce23a2e3402ff35b165b | [
"MIT"
] | 5 | 2018-01-04T06:46:39.000Z | 2018-08-12T08:00:21.000Z | velos.py | fsiamp/velos-generator | 2faf82a508ab6b1f07edce23a2e3402ff35b165b | [
"MIT"
] | 2 | 2016-09-17T06:48:44.000Z | 2016-09-17T08:10:24.000Z | velos.py | fsiamp/velos | 2faf82a508ab6b1f07edce23a2e3402ff35b165b | [
"MIT"
] | null | null | null | #!/usr/bin/python
import random
import decimal
import time
from random import randint
attack = ['attempted-admin','attempted-user','inappropriate-content','policy-violationn','shellcode-detect','successful-admin','successful-user', 'trojan-activity','unsuccessful-user','web-application-attack','attempted-dos','attempt... | 77.90625 | 1,744 | 0.670277 | 892 | 7,479 | 5.419283 | 0.269058 | 0.258171 | 0.383533 | 0.506413 | 0.407323 | 0.341746 | 0.31899 | 0.30782 | 0.30782 | 0.296649 | 0 | 0.061066 | 0.137318 | 7,479 | 95 | 1,745 | 78.726316 | 0.688159 | 0.002139 | 0 | 0.038961 | 0 | 0 | 0.321539 | 0.113792 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.051948 | null | null | 0.077922 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a6106143f97e1c868ca5882e4d27a315b1449f80 | 223 | py | Python | scripts/item/consume_2433184.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/item/consume_2433184.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/item/consume_2433184.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Created by MechAviv
# Wicked Witch Damage Skin | (2433184)
if sm.addDamageSkin(2433184):
sm.chat("'Wicked Witch Damage Skin' Damage Skin has been added to your account's damage skin collection.")
sm.consumeItem() | 44.6 | 111 | 0.73991 | 32 | 223 | 5.15625 | 0.65625 | 0.242424 | 0.206061 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 0.165919 | 223 | 5 | 112 | 44.6 | 0.811828 | 0.251121 | 0 | 0 | 0 | 0 | 0.581818 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a621225802ebe987ecb3dc6ed861b498df1214f1 | 91 | py | Python | pyogcapi/component/__init__.py | ashleysommer/pyogcapi | 9ffac35e76993f2cb5d9929e4b12923f9d767675 | [
"Apache-2.0"
] | null | null | null | pyogcapi/component/__init__.py | ashleysommer/pyogcapi | 9ffac35e76993f2cb5d9929e4b12923f9d767675 | [
"Apache-2.0"
] | null | null | null | pyogcapi/component/__init__.py | ashleysommer/pyogcapi | 9ffac35e76993f2cb5d9929e4b12923f9d767675 | [
"Apache-2.0"
] | null | null | null | # -*- coding: latin-1 -*-
#
import pkg_resources
pkg_resources.declare_namespace(__name__)
| 18.2 | 41 | 0.758242 | 11 | 91 | 5.636364 | 0.818182 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.098901 | 91 | 4 | 42 | 22.75 | 0.743902 | 0.252747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
471c7df8223afb6327e2202d7eec49eb4a3e4ad6 | 48 | py | Python | pyeccodes/defs/grib2/template_second_order_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 7 | 2020-04-14T09:41:17.000Z | 2021-08-06T09:38:19.000Z | pyeccodes/defs/grib2/template_second_order_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | null | null | null | pyeccodes/defs/grib2/template_second_order_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 3 | 2020-04-30T12:44:48.000Z | 2020-12-15T08:40:26.000Z | import pyeccodes.accessors as _
def load(h):
| 8 | 31 | 0.729167 | 7 | 48 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 5 | 32 | 9.6 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5b64ad63ebd98df5e1a1d1017edcf99d3244a937 | 93 | py | Python | boards/admin.py | lucaswilliamgomes/Beginner-django | db688cc1e2902d7fc0365c8b6d2f9b86f93a3dac | [
"MIT"
] | null | null | null | boards/admin.py | lucaswilliamgomes/Beginner-django | db688cc1e2902d7fc0365c8b6d2f9b86f93a3dac | [
"MIT"
] | null | null | null | boards/admin.py | lucaswilliamgomes/Beginner-django | db688cc1e2902d7fc0365c8b6d2f9b86f93a3dac | [
"MIT"
] | null | null | null | from django.contrib import admin
from boards.models import Board
admin.site.register(Board)
| 18.6 | 32 | 0.827957 | 14 | 93 | 5.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 93 | 4 | 33 | 23.25 | 0.927711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5b64e76b2854b2464955b19aebf27c5b3f567285 | 19 | py | Python | igloader/__init__.py | pvnmurthy/igloader | ad57300f7aaf05706f0dee0735fac449fc512a81 | [
"Apache-2.0"
] | 4 | 2021-01-26T01:06:06.000Z | 2021-05-26T13:07:34.000Z | igloader/__init__.py | pvnmurthy/igloader | ad57300f7aaf05706f0dee0735fac449fc512a81 | [
"Apache-2.0"
] | null | null | null | igloader/__init__.py | pvnmurthy/igloader | ad57300f7aaf05706f0dee0735fac449fc512a81 | [
"Apache-2.0"
] | 1 | 2020-11-06T16:59:58.000Z | 2020-11-06T16:59:58.000Z | # empty __init__.py | 19 | 19 | 0.789474 | 3 | 19 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 19 | 1 | 19 | 19 | 0.647059 | 0.894737 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5b7bc231c2ab5b0cc096f8095cfd25a029faa934 | 1,187 | bzl | Python | source/bazel/deps/glib/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 33 | 2019-05-30T07:43:32.000Z | 2021-12-30T13:12:32.000Z | source/bazel/deps/glib/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 371 | 2019-05-16T15:23:50.000Z | 2021-09-04T15:45:27.000Z | source/bazel/deps/glib/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 6 | 2019-08-22T17:37:36.000Z | 2020-11-07T07:15:32.000Z | # Do not edit this file directly.
# It was auto-generated by: code/programs/reflexivity/reflexive_refresh
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def glib():
http_archive(
name="glib" ,
build_file="//bazel/deps/glib:build.BUILD" ,
sha256="80753e02bd0baddfa0380... | 38.290323 | 102 | 0.627633 | 120 | 1,187 | 6.091667 | 0.466667 | 0.123119 | 0.177839 | 0.246238 | 0.331053 | 0.161423 | 0 | 0 | 0 | 0 | 0 | 0.097374 | 0.229992 | 1,187 | 30 | 103 | 39.566667 | 0.702407 | 0.085088 | 0 | 0.083333 | 1 | 0 | 0.620499 | 0.522622 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | true | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5bc07fc8f42d256b1d93cc4a76f6d607dbd62ab6 | 36 | py | Python | isleservice_objects/fields.py | illuscio-dev/isleservice_objects-py | 76abfe223dcf79847f29d9c0b96873de79cb792a | [
"MIT"
] | null | null | null | isleservice_objects/fields.py | illuscio-dev/isleservice_objects-py | 76abfe223dcf79847f29d9c0b96873de79cb792a | [
"MIT"
] | null | null | null | isleservice_objects/fields.py | illuscio-dev/isleservice_objects-py | 76abfe223dcf79847f29d9c0b96873de79cb792a | [
"MIT"
] | null | null | null | # custom marshmallow fields go here
| 18 | 35 | 0.805556 | 5 | 36 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 1 | 36 | 36 | 0.966667 | 0.916667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5be2dc95f1c0638630850cfd63ccf2a8eb176e61 | 17,897 | py | Python | plaso/winnt/known_folder_ids.py | Defense-Cyber-Crime-Center/plaso | 4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47 | [
"Apache-2.0"
] | 2 | 2016-02-18T12:46:29.000Z | 2022-03-13T03:04:59.000Z | plaso/winnt/known_folder_ids.py | CNR-ITTIG/plasodfaxp | 923797fc00664fa9e3277781b0334d6eed5664fd | [
"Apache-2.0"
] | null | null | null | plaso/winnt/known_folder_ids.py | CNR-ITTIG/plasodfaxp | 923797fc00664fa9e3277781b0334d6eed5664fd | [
"Apache-2.0"
] | 6 | 2016-12-18T08:05:36.000Z | 2021-04-06T14:19:11.000Z | # -*- coding: utf-8 -*-
"""This file contains the Windows NT Known Folder identifier definitions."""
# For now ignore the line too long errors.
# pylint: disable=line-too-long
# For now copied from:
# https://code.google.com/p/libfwsi/wiki/KnownFolderIdentifiers
# TODO: store these in a database or equiv.
DESCRIPTI... | 70.184314 | 137 | 0.728725 | 2,364 | 17,897 | 5.51692 | 0.335025 | 0.045392 | 0.024766 | 0.029443 | 0.767444 | 0.742217 | 0.738077 | 0.38284 | 0.188621 | 0.053213 | 0 | 0.296111 | 0.09482 | 17,897 | 254 | 138 | 70.46063 | 0.508951 | 0.016148 | 0 | 0 | 0 | 0 | 0.806899 | 0.653407 | 0 | 0 | 0 | 0.003937 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
750c84c56b4d82453bbdb114355eae27fa8f5b9d | 86 | py | Python | bugtests/test402n.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 577 | 2020-06-04T16:34:44.000Z | 2022-03-31T11:46:07.000Z | bugtests/test402n.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 174 | 2015-01-08T20:37:09.000Z | 2020-06-03T16:48:59.000Z | bugtests/test402n.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 162 | 2015-02-07T02:14:38.000Z | 2020-05-30T16:42:03.000Z | import sys
sys.path.append('simplejar/simple.jar')
from javapackage import JavaClass
| 17.2 | 39 | 0.813953 | 12 | 86 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 4 | 40 | 21.5 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
750ff360bf1144e88cb0cfa558c880d530398fc6 | 83 | py | Python | python/testData/completion/classNameFromVarName.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/classNameFromVarName.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/completion/classNameFromVarName.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class Product:
def doStuff(self): pass
def foo(product):
product.doStuff() | 16.6 | 27 | 0.686747 | 11 | 83 | 5.181818 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 83 | 5 | 28 | 16.6 | 0.850746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.25 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
75288434d350cf76348664694ff11aad10f29fb4 | 94 | py | Python | test/hello.py | Progyan1997/Machine-Learning | f2231dc53005181c61b13996bc1bbb13bc448354 | [
"MIT"
] | null | null | null | test/hello.py | Progyan1997/Machine-Learning | f2231dc53005181c61b13996bc1bbb13bc448354 | [
"MIT"
] | null | null | null | test/hello.py | Progyan1997/Machine-Learning | f2231dc53005181c61b13996bc1bbb13bc448354 | [
"MIT"
] | null | null | null | # Test Program
# This program prints "Hello World!" to Standard Output
print('Hello World!')
| 18.8 | 55 | 0.734043 | 13 | 94 | 5.307692 | 0.769231 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 4 | 56 | 23.5 | 0.873418 | 0.702128 | 0 | 0 | 0 | 0 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
752e5162bee25cb215ebfbc73df4542830a633c7 | 19,777 | py | Python | python/athena/gpu_ops/Conv2d.py | DMALab/TSplit | 8f86f987163aa06521bfeeb174616eb4a0a81b47 | [
"Apache-2.0"
] | 2 | 2021-05-29T11:18:14.000Z | 2021-09-09T14:29:21.000Z | python/athena/gpu_ops/Conv2d.py | DMALab/TSplit | 8f86f987163aa06521bfeeb174616eb4a0a81b47 | [
"Apache-2.0"
] | null | null | null | python/athena/gpu_ops/Conv2d.py | DMALab/TSplit | 8f86f987163aa06521bfeeb174616eb4a0a81b47 | [
"Apache-2.0"
] | 1 | 2021-05-01T16:34:37.000Z | 2021-05-01T16:34:37.000Z | from __future__ import absolute_import
import numpy as np
from .Node import Op, NAME_RULE, PROFILING_MODE
from .. import profiler
from .._base import get_array_memory
class Conv2dOp(Op):
# nodeA : x nodeB : filter
def __call__(self, node_A, node_B, padding=0, padding2 = None, stride=1, For_ResNet = False):
... | 41.900424 | 166 | 0.574809 | 2,663 | 19,777 | 3.993616 | 0.056327 | 0.045698 | 0.042125 | 0.017113 | 0.854161 | 0.789845 | 0.771415 | 0.702022 | 0.652374 | 0.63244 | 0 | 0.024242 | 0.324215 | 19,777 | 471 | 167 | 41.989384 | 0.771493 | 0.090762 | 0 | 0.646154 | 0 | 0 | 0.016241 | 0.012406 | 0 | 0 | 0 | 0.002123 | 0.052308 | 1 | 0.073846 | false | 0 | 0.061538 | 0.003077 | 0.193846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f32f60990485375c0c02caad217c70dd4decf3dc | 7,874 | py | Python | Classification/models/simple.py | amazon-research/network-deconvolution-pp | 99e27ecec7d27c7c4c3fb230e96005bdcbf6f2ce | [
"Apache-2.0"
] | 6 | 2021-10-16T15:29:06.000Z | 2022-02-17T12:33:52.000Z | Classification/models/simple.py | amazon-research/network-deconvolution-pp | 99e27ecec7d27c7c4c3fb230e96005bdcbf6f2ce | [
"Apache-2.0"
] | 3 | 2021-04-02T19:47:05.000Z | 2021-10-12T23:11:18.000Z | Classification/models/simple.py | amazon-research/network-deconvolution-pp | 99e27ecec7d27c7c4c3fb230e96005bdcbf6f2ce | [
"Apache-2.0"
] | 1 | 2021-10-30T04:50:14.000Z | 2021-10-30T04:50:14.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from .deconv import *
class SimpleCNN_v1(nn.Module):
def __init__(self, channels_in=3,kernel_size=32,num_outputs=10,method=2):
super(SimpleCNN_v1, self).__init__()
if method==1:
self.conv = nn.Conv2d(channels_in, num_ou... | 44.485876 | 182 | 0.625349 | 1,027 | 7,874 | 4.607595 | 0.09445 | 0.121302 | 0.077768 | 0.087489 | 0.776205 | 0.746619 | 0.730347 | 0.719992 | 0.700549 | 0.654057 | 0 | 0.02294 | 0.252604 | 7,874 | 176 | 183 | 44.738636 | 0.781138 | 0.017526 | 0 | 0.495935 | 0 | 0 | 0.011023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.03252 | 0 | 0.130081 | 0.02439 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f33236b5ee6ac9ea2ecec2c6df7d338d1270dba6 | 42 | py | Python | tests/__init__.py | braedon/oauthlib | 6875e3ac513a3828c3328d4f585d4c38b2b2c698 | [
"BSD-3-Clause"
] | 954 | 2018-01-27T11:00:51.000Z | 2022-03-31T16:04:42.000Z | tests/__init__.py | braedon/oauthlib | 6875e3ac513a3828c3328d4f585d4c38b2b2c698 | [
"BSD-3-Clause"
] | 274 | 2018-01-27T08:36:01.000Z | 2022-03-22T04:40:40.000Z | tests/__init__.py | braedon/oauthlib | 6875e3ac513a3828c3328d4f585d4c38b2b2c698 | [
"BSD-3-Clause"
] | 191 | 2018-02-15T12:12:45.000Z | 2022-03-31T22:38:13.000Z | import oauthlib
oauthlib.set_debug(True)
| 10.5 | 24 | 0.833333 | 6 | 42 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 3 | 25 | 14 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f36e4fe951b9fad7685cd6a951352d4db7e4f77d | 20 | py | Python | tests/test_bad_app/telegrambot.py | gassan/django-telegrambot | e38076b4fc0e100700de8640ed3c1a2fa2985fe0 | [
"BSD-3-Clause"
] | 245 | 2016-01-26T16:24:41.000Z | 2022-03-07T08:00:36.000Z | tests/test_bad_app/telegrambot.py | gassan/django-telegrambot | e38076b4fc0e100700de8640ed3c1a2fa2985fe0 | [
"BSD-3-Clause"
] | 49 | 2016-09-17T02:26:50.000Z | 2021-12-20T06:53:19.000Z | tests/test_bad_app/telegrambot.py | gassan/django-telegrambot | e38076b4fc0e100700de8640ed3c1a2fa2985fe0 | [
"BSD-3-Clause"
] | 97 | 2016-04-17T22:05:19.000Z | 2022-03-24T11:04:48.000Z | raise ImportError()
| 10 | 19 | 0.8 | 2 | 20 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f3897fd1c4851d664df67ce0c53b269e95e4785b | 90,167 | py | Python | test_main.py | jrmh96/algorithm_toolkit | 4a39e26d89973c6d1e229952f46d413b93c27df9 | [
"MIT"
] | 9 | 2019-02-25T03:41:14.000Z | 2021-02-04T19:47:58.000Z | test_main.py | jrmh96/algorithm_toolkit | 4a39e26d89973c6d1e229952f46d413b93c27df9 | [
"MIT"
] | 24 | 2019-08-23T17:04:00.000Z | 2022-03-11T23:41:08.000Z | test_main.py | jrmh96/algorithm_toolkit | 4a39e26d89973c6d1e229952f46d413b93c27df9 | [
"MIT"
] | 4 | 2019-03-05T02:14:20.000Z | 2020-02-12T20:11:16.000Z | import json
import os
import re
import shutil
import subprocess
import sys
import unittest
import warnings
from logging import StreamHandler
from flask_testing import TestCase
from wtforms.fields import core as wtfields
from wtforms import widgets as wtwidgets
from wtforms.validators import InputRequired, Optional
... | 38.368936 | 79 | 0.598257 | 10,194 | 90,167 | 5.071218 | 0.060624 | 0.059773 | 0.034123 | 0.025186 | 0.816698 | 0.768899 | 0.736072 | 0.706186 | 0.674056 | 0.649509 | 0 | 0.023666 | 0.283463 | 90,167 | 2,349 | 80 | 38.38527 | 0.776483 | 0.026451 | 0 | 0.610254 | 0 | 0 | 0.246229 | 0.043741 | 0 | 0 | 0 | 0.000426 | 0.197113 | 1 | 0.047287 | false | 0.003484 | 0.015928 | 0 | 0.076157 | 0.035839 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f38c106cc17e94aaa22774b0a12f3e2216fd12f8 | 223 | py | Python | elif_bayindir/phase_1/python_basic_1/day_8/q10.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | elif_bayindir/phase_1/python_basic_1/day_8/q10.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | elif_bayindir/phase_1/python_basic_1/day_8/q10.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | # Question 10
# Sort files by date
import os
import time
from pprint import pprint
pprint([(x[0], time.ctime(x[1].st_ctime)) for x in sorted([(fn, os.stat(fn)) for fn in os.listdir(".")], key = lambda x: x[1].st_ctime)])
| 24.777778 | 137 | 0.672646 | 43 | 223 | 3.44186 | 0.55814 | 0.027027 | 0.054054 | 0.121622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026455 | 0.152466 | 223 | 8 | 138 | 27.875 | 0.756614 | 0.134529 | 0 | 0 | 0 | 0 | 0.005263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.5 | 0 | 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 | 5 |
f39dd6127b925fced9de3ed35ce8f00f12f55551 | 1,631 | py | Python | kw_sorter/interfaces.py | alex-kalanis/sorter | d6349c3eac16ebaa039d9b558ba85fdf33074074 | [
"BSD-3-Clause"
] | null | null | null | kw_sorter/interfaces.py | alex-kalanis/sorter | d6349c3eac16ebaa039d9b558ba85fdf33074074 | [
"BSD-3-Clause"
] | null | null | null | kw_sorter/interfaces.py | alex-kalanis/sorter | d6349c3eac16ebaa039d9b558ba85fdf33074074 | [
"BSD-3-Clause"
] | null | null | null |
class ISortEntry:
"""
* Basic necessity to sort anything
"""
DIRECTION_ASC = 'ASC'
DIRECTION_DESC = 'DESC'
def set_key(self, key: str):
"""
* Set by which key the entry will be sorted
"""
raise NotImplementedError('TBA')
def get_key(self) -> str:
... | 22.652778 | 69 | 0.545677 | 159 | 1,631 | 5.534591 | 0.377358 | 0.245455 | 0.276136 | 0.238636 | 0.409091 | 0.122727 | 0.122727 | 0 | 0 | 0 | 0 | 0 | 0.352544 | 1,631 | 71 | 70 | 22.971831 | 0.833333 | 0.297364 | 0 | 0.409091 | 0 | 0 | 0.038946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.409091 | false | 0 | 0 | 0 | 0.590909 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
45fd1d73b6a04f0f3a7ca674ade4ce18ec945084 | 3,652 | py | Python | zotapaysdk/tests/local/test_client_configuration.py | zotapay/python-sdk | 8d8a426679263222a3f805bbb56ebb3087b17c2c | [
"Apache-2.0"
] | null | null | null | zotapaysdk/tests/local/test_client_configuration.py | zotapay/python-sdk | 8d8a426679263222a3f805bbb56ebb3087b17c2c | [
"Apache-2.0"
] | null | null | null | zotapaysdk/tests/local/test_client_configuration.py | zotapay/python-sdk | 8d8a426679263222a3f805bbb56ebb3087b17c2c | [
"Apache-2.0"
] | null | null | null | import pytest
from zotapaysdk.client import MGClient
from zotapaysdk.config import CredentialsKeys, MGCredentialsManager
from zotapaysdk.exceptions import MGMissingCredentialsException
def test_client_environment_configuration_fail_request_url(monkeypatch):
"""
Checks if env var test fails for missing reques... | 31.482759 | 111 | 0.737404 | 371 | 3,652 | 7.053908 | 0.148248 | 0.12992 | 0.244555 | 0.267482 | 0.816202 | 0.816202 | 0.748949 | 0.611769 | 0.611769 | 0.594956 | 0 | 0 | 0.170865 | 3,652 | 115 | 112 | 31.756522 | 0.864267 | 0.140471 | 0 | 0.6 | 0 | 0 | 0.052862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.14 | false | 0 | 0.08 | 0 | 0.22 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
34097bf03a9e6f511e570fde14ccc907538f2773 | 224 | py | Python | c3d/demo_load_file.py | johndpope/FacialRetargeting | 5fb0c1da6af6c3d59aef264f567bfa7a244d0764 | [
"MIT"
] | 21 | 2020-08-19T02:52:16.000Z | 2022-02-25T12:35:04.000Z | c3d/demo_load_file.py | johndpope/FacialRetargeting | 5fb0c1da6af6c3d59aef264f567bfa7a244d0764 | [
"MIT"
] | 3 | 2020-10-16T07:11:25.000Z | 2021-06-30T10:26:04.000Z | c3d/demo_load_file.py | johndpope/FacialRetargeting | 5fb0c1da6af6c3d59aef264f567bfa7a244d0764 | [
"MIT"
] | 7 | 2020-08-24T08:30:53.000Z | 2022-03-28T15:55:24.000Z | from pyc3d import pyC3D
from maya import cmds
if __name__ == '__main__':
c3dFile = pyC3D.C3DReader('C:\Users\David\Documents\Viccon_david\FacialExpressionsTracking\Test\NewSession_labeled\m_test.c3d', normalize=True)
| 28 | 147 | 0.794643 | 29 | 224 | 5.758621 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.102679 | 224 | 7 | 148 | 32 | 0.800995 | 0 | 0 | 0 | 0 | 0 | 0.477477 | 0.441441 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
340aae16602bc8cf9891372e068ff495ad234aa3 | 135 | py | Python | __init__.py | at86/cefpython3wx | f1a07f7e071360b39d7baccb201c2e6a582c4cf0 | [
"BSD-3-Clause"
] | 1 | 2019-10-02T21:22:44.000Z | 2019-10-02T21:22:44.000Z | __init__.py | at86/cefpython3wx | f1a07f7e071360b39d7baccb201c2e6a582c4cf0 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | at86/cefpython3wx | f1a07f7e071360b39d7baccb201c2e6a582c4cf0 | [
"BSD-3-Clause"
] | null | null | null | # This dummy file is overwritten by "__init__.py.template", see:
# cefpython/cef3/windows/installer/
# cefpython/cef3/linux/installer/
| 33.75 | 64 | 0.777778 | 18 | 135 | 5.611111 | 0.833333 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.096296 | 135 | 3 | 65 | 45 | 0.811475 | 0.948148 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cab9d915121b29376b5abbd35405538d28ece776 | 37 | py | Python | tests/__init__.py | kevihiiin/kpm-api | 65d14fa380b45dc9237a7f4460c8c3db9ba2be93 | [
"MIT"
] | null | null | null | tests/__init__.py | kevihiiin/kpm-api | 65d14fa380b45dc9237a7f4460c8c3db9ba2be93 | [
"MIT"
] | null | null | null | tests/__init__.py | kevihiiin/kpm-api | 65d14fa380b45dc9237a7f4460c8c3db9ba2be93 | [
"MIT"
] | null | null | null | """Unit test package for kpm_api."""
| 18.5 | 36 | 0.675676 | 6 | 37 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.75 | 0.810811 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cad8038feab53f82622c91e3b95c2accd4213bf1 | 160 | py | Python | eogrow/core/area/__init__.py | sentinel-hub/eo-grow | 458202fc55c01cc95a17b442144ef2c935103c80 | [
"MIT"
] | 17 | 2022-01-27T11:50:23.000Z | 2022-02-12T10:01:03.000Z | eogrow/core/area/__init__.py | sentinel-hub/eo-grow | 458202fc55c01cc95a17b442144ef2c935103c80 | [
"MIT"
] | 5 | 2022-02-10T11:15:09.000Z | 2022-02-28T10:46:47.000Z | eogrow/core/area/__init__.py | sentinel-hub/eo-grow | 458202fc55c01cc95a17b442144ef2c935103c80 | [
"MIT"
] | null | null | null | """
A subfolder for area management
"""
from .batch import BatchAreaManager
from .custom_grid import CustomGridAreaManager
from .utm import UtmZoneAreaManager
| 20 | 46 | 0.81875 | 18 | 160 | 7.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 160 | 7 | 47 | 22.857143 | 0.928571 | 0.19375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1b07584e42f0918265ba1e5d736e2b85c1ece379 | 85 | py | Python | server/imageProcessor/common/__init__.py | perryjiang/similo | 48866f5c619efb6a11130f59daa15456f2c1ee1a | [
"MIT"
] | null | null | null | server/imageProcessor/common/__init__.py | perryjiang/similo | 48866f5c619efb6a11130f59daa15456f2c1ee1a | [
"MIT"
] | 1 | 2021-03-31T18:51:37.000Z | 2021-03-31T18:51:37.000Z | server/imageProcessor/common/__init__.py | vimmada/similo | 48866f5c619efb6a11130f59daa15456f2c1ee1a | [
"MIT"
] | 1 | 2018-08-01T23:57:33.000Z | 2018-08-01T23:57:33.000Z | """
Common functions and constants across application
"""
from .util import Response
| 17 | 49 | 0.776471 | 10 | 85 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 4 | 50 | 21.25 | 0.90411 | 0.576471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1b11f7bd01670ee36cfc5b95c3a1994cc652787e | 83 | py | Python | src/static/code_stubs/python/blood_types.py | basimr/lovelace | 3456e0dc2e155eda7f8e34e1cf7ad816af5c5feb | [
"MIT"
] | 28 | 2019-01-06T11:39:13.000Z | 2022-02-28T03:35:55.000Z | src/static/code_stubs/python/blood_types.py | basimr/project-lovelace | 3456e0dc2e155eda7f8e34e1cf7ad816af5c5feb | [
"MIT"
] | 88 | 2017-04-01T15:18:36.000Z | 2021-09-22T19:41:11.000Z | src/static/code_stubs/python/blood_types.py | basimr/project-lovelace | 3456e0dc2e155eda7f8e34e1cf7ad816af5c5feb | [
"MIT"
] | 4 | 2019-08-11T14:51:16.000Z | 2021-04-30T16:37:52.000Z | def survive(blood_type, donated_blood):
# Your code goes here!
return True
| 20.75 | 39 | 0.710843 | 12 | 83 | 4.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216867 | 83 | 3 | 40 | 27.666667 | 0.876923 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1b20533e6dda035be18d3fb03be028d43a6bee93 | 43 | py | Python | recipes/fiji/hello.py | corneliusroemer/bioconda-recipes | e1eced9063e15f6a97ab2b8e42cf3e38af4c93ba | [
"MIT"
] | null | null | null | recipes/fiji/hello.py | corneliusroemer/bioconda-recipes | e1eced9063e15f6a97ab2b8e42cf3e38af4c93ba | [
"MIT"
] | null | null | null | recipes/fiji/hello.py | corneliusroemer/bioconda-recipes | e1eced9063e15f6a97ab2b8e42cf3e38af4c93ba | [
"MIT"
] | null | null | null | #!/usr/bin/env python
print "Hello Bjoern"
| 14.333333 | 21 | 0.72093 | 7 | 43 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 22 | 21.5 | 0.815789 | 0.465116 | 0 | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1b532bcaa012e2ea57788f1c801bd03a3be11828 | 76 | py | Python | ftp2http/__init__.py | brn73/ftp2http | 441530c02fb328b9b41247134f39194a9ab1a895 | [
"MIT"
] | 4 | 2015-08-13T08:41:59.000Z | 2021-04-23T14:00:48.000Z | ftp2http/__init__.py | brn73/ftp2http | 441530c02fb328b9b41247134f39194a9ab1a895 | [
"MIT"
] | 1 | 2015-08-30T22:53:37.000Z | 2015-08-30T22:53:37.000Z | ftp2http/__init__.py | brn73/ftp2http | 441530c02fb328b9b41247134f39194a9ab1a895 | [
"MIT"
] | 3 | 2016-08-01T23:16:43.000Z | 2020-02-13T00:53:50.000Z | from . import * # noqa
from .version import version as __version__ # noqa
| 25.333333 | 51 | 0.723684 | 10 | 76 | 5.1 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 76 | 2 | 52 | 38 | 0.85 | 0.118421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1b604a63fd33c9f9a0eda23549de4fb3e911e1e5 | 314 | py | Python | website/sharedgames/views.py | 14gaby14/sharedgames | 9102b1d6cb18f69383486e6db2e45141d0da5d2f | [
"Apache-2.0"
] | null | null | null | website/sharedgames/views.py | 14gaby14/sharedgames | 9102b1d6cb18f69383486e6db2e45141d0da5d2f | [
"Apache-2.0"
] | null | null | null | website/sharedgames/views.py | 14gaby14/sharedgames | 9102b1d6cb18f69383486e6db2e45141d0da5d2f | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return HttpResponse("This should be the shared games index.")
def detail(request, group_id):
return HttpResponse("The code is %s." % group_id)
def example(request):
return HttpResponse("This is an example") | 28.545455 | 65 | 0.754777 | 44 | 314 | 5.340909 | 0.568182 | 0.229787 | 0.212766 | 0.246809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156051 | 314 | 11 | 66 | 28.545455 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.225397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.25 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
1b9abafbad973d033641b205497922d24a496623 | 42 | py | Python | telegramcleaner/errors.py | Abstract-X/telegram-cleaner | dc3ae6597722f7369e3b092652a705417a337b63 | [
"MIT"
] | 1 | 2022-03-16T08:34:32.000Z | 2022-03-16T08:34:32.000Z | telegramcleaner/errors.py | Abstract-X/telegram-cleaner | dc3ae6597722f7369e3b092652a705417a337b63 | [
"MIT"
] | 1 | 2022-03-18T18:12:36.000Z | 2022-03-18T18:12:36.000Z | telegramcleaner/errors.py | Abstract-X/telegram-cleaner | dc3ae6597722f7369e3b092652a705417a337b63 | [
"MIT"
] | 1 | 2022-03-16T09:36:58.000Z | 2022-03-16T09:36:58.000Z |
class ParsingError(Exception):
pass
| 8.4 | 30 | 0.714286 | 4 | 42 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 42 | 4 | 31 | 10.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1bb628e1c8a6d39dd3e698e77d7115a8eca72204 | 1,483 | py | Python | general/erode_and_dilate.py | j-lazo/lumen_segmentation | 442b6e642b4743e6b7bf56ab77e11e8e95062ed7 | [
"CC0-1.0"
] | null | null | null | general/erode_and_dilate.py | j-lazo/lumen_segmentation | 442b6e642b4743e6b7bf56ab77e11e8e95062ed7 | [
"CC0-1.0"
] | null | null | null | general/erode_and_dilate.py | j-lazo/lumen_segmentation | 442b6e642b4743e6b7bf56ab77e11e8e95062ed7 | [
"CC0-1.0"
] | null | null | null | import os
import numpy as np
import cv2
def dilate(folder, output_folder, kernel_size=3):
kernel = np.ones((kernel_size, kernel_size), np.uint8)
img_list = sorted(os.listdir(folder))
if not(os.path.isdir(output_folder)):
os.mkdir(output_folder)
for j, image in enumerate(img_list[:]):
... | 28.519231 | 60 | 0.632502 | 198 | 1,483 | 4.510101 | 0.272727 | 0.107503 | 0.053751 | 0.057111 | 0.788354 | 0.788354 | 0.788354 | 0.788354 | 0.788354 | 0.788354 | 0 | 0.018502 | 0.234659 | 1,483 | 52 | 61 | 28.519231 | 0.768282 | 0 | 0 | 0.457143 | 0 | 0 | 0.128706 | 0.110512 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0 | 0.085714 | 0 | 0.171429 | 0.057143 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1bb930321e027db025ca444dbdb0094865d71bed | 115 | py | Python | openforcefield/typing/chemistry/__init__.py | jaimergp/openforcefield | 0e8bfd55730f585a5215ef3fb836f023c71ebfb0 | [
"MIT"
] | 1 | 2020-04-15T05:24:22.000Z | 2020-04-15T05:24:22.000Z | openforcefield/typing/chemistry/__init__.py | jaimergp/openforcefield | 0e8bfd55730f585a5215ef3fb836f023c71ebfb0 | [
"MIT"
] | null | null | null | openforcefield/typing/chemistry/__init__.py | jaimergp/openforcefield | 0e8bfd55730f585a5215ef3fb836f023c71ebfb0 | [
"MIT"
] | 1 | 2020-03-29T04:19:37.000Z | 2020-03-29T04:19:37.000Z | # Tools dealing with chemical environments or chemistry
from openforcefield.typing.chemistry.environment import *
| 28.75 | 57 | 0.843478 | 13 | 115 | 7.461538 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 115 | 3 | 58 | 38.333333 | 0.95098 | 0.46087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
848c5f5566d980a9e8daacb6057d3cd0a2bd3e88 | 146 | py | Python | docx_microreader/translators/html/marks.py | DudaEugen/docx_microreader | cc524ff5233b0c074786f2a5c378ea542607359a | [
"MIT"
] | null | null | null | docx_microreader/translators/html/marks.py | DudaEugen/docx_microreader | cc524ff5233b0c074786f2a5c378ea542607359a | [
"MIT"
] | null | null | null | docx_microreader/translators/html/marks.py | DudaEugen/docx_microreader | cc524ff5233b0c074786f2a5c378ea542607359a | [
"MIT"
] | null | null | null | from enum import Enum, unique, auto
@unique
class ParagraphMark(Enum):
FIRST_ELEMENT_NUMBERING = auto()
LAST_ELEMENT_NUMBERING = auto()
| 18.25 | 36 | 0.746575 | 18 | 146 | 5.833333 | 0.611111 | 0.304762 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171233 | 146 | 7 | 37 | 20.857143 | 0.867769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
84a7c758d3de718046aafc38a92c589d0036fa24 | 1,000 | py | Python | tests/kyu_7_tests/test_power_of_two.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | tests/kyu_7_tests/test_power_of_two.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | tests/kyu_7_tests/test_power_of_two.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | import unittest
from katas.kyu_7.power_of_two import power_of_two
class PowerOfTwoTestCase(unittest.TestCase):
def test_true(self):
self.assertTrue(power_of_two(1))
def test_true_2(self):
self.assertTrue(power_of_two(2))
def test_true_3(self):
self.assertTrue(power_of_two(4096))... | 23.809524 | 49 | 0.696 | 147 | 1,000 | 4.387755 | 0.231293 | 0.151938 | 0.217054 | 0.285271 | 0.582946 | 0.582946 | 0.142636 | 0.142636 | 0.142636 | 0.142636 | 0 | 0.097744 | 0.202 | 1,000 | 41 | 50 | 24.390244 | 0.710526 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | false | 0 | 0.074074 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
84c62c6d03db99b9540590a39b2cfc72168fada4 | 137 | py | Python | archive/MCQ/utils/__init__.py | dreinq/DeepQ | abb6d8b492f802fefbc0095e8719377dc708069c | [
"Apache-2.0"
] | null | null | null | archive/MCQ/utils/__init__.py | dreinq/DeepQ | abb6d8b492f802fefbc0095e8719377dc708069c | [
"Apache-2.0"
] | null | null | null | archive/MCQ/utils/__init__.py | dreinq/DeepQ | abb6d8b492f802fefbc0095e8719377dc708069c | [
"Apache-2.0"
] | 1 | 2020-11-23T09:13:58.000Z | 2020-11-23T09:13:58.000Z | from .runtime import LoggingDisabler, ConfigLogging, QueryGPU, SplitToVirtualGPUs, RotateItems, HotPatch
from .ckpt import SaveAndRestore | 68.5 | 104 | 0.861314 | 13 | 137 | 9.076923 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087591 | 137 | 2 | 105 | 68.5 | 0.944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
84d526f82006b70e737dcc45ff66841cd9cf508f | 72 | py | Python | run_server.py | scherniavsky/lizzy | b2bca022967042032aa5e4c3226d760cadc8db49 | [
"Apache-2.0"
] | 21 | 2015-06-01T13:54:04.000Z | 2017-06-04T01:04:25.000Z | run_server.py | scherniavsky/lizzy | b2bca022967042032aa5e4c3226d760cadc8db49 | [
"Apache-2.0"
] | 187 | 2015-06-02T06:29:35.000Z | 2017-05-27T12:37:54.000Z | run_server.py | scherniavsky/lizzy | b2bca022967042032aa5e4c3226d760cadc8db49 | [
"Apache-2.0"
] | 12 | 2017-06-09T01:10:24.000Z | 2019-05-16T10:44:34.000Z | #!/usr/bin/env python3
import lizzy.wsgi
lizzy.wsgi.application.run()
| 12 | 28 | 0.75 | 11 | 72 | 4.909091 | 0.818182 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.097222 | 72 | 5 | 29 | 14.4 | 0.815385 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
84e463cf96981c635d024aa6cdd59a5eacb47c26 | 12,058 | py | Python | tests/test_cz_customize.py | TheNomet/commitizen | 5f973989a81660c78f7b2077220ba0beb0022129 | [
"MIT"
] | 95 | 2017-10-09T16:36:48.000Z | 2020-03-14T18:54:25.000Z | tests/test_cz_customize.py | TheNomet/commitizen | 5f973989a81660c78f7b2077220ba0beb0022129 | [
"MIT"
] | 108 | 2017-11-04T11:09:22.000Z | 2020-03-17T13:34:48.000Z | tests/test_cz_customize.py | TheNomet/commitizen | 5f973989a81660c78f7b2077220ba0beb0022129 | [
"MIT"
] | 25 | 2017-11-06T10:29:31.000Z | 2020-01-23T09:06:30.000Z | import pytest
from commitizen.config import BaseConfig, JsonConfig, TomlConfig, YAMLConfig
from commitizen.cz.customize import CustomizeCommitsCz
from commitizen.exceptions import MissingCzCustomizeConfigError
TOML_STR = r"""
[tool.commitizen.customize]
message_template = "{{change_type}}:{% if show_message %... | 31.157623 | 99 | 0.551501 | 1,234 | 12,058 | 5.230956 | 0.099676 | 0.041828 | 0.060418 | 0.052363 | 0.813943 | 0.769171 | 0.736948 | 0.679318 | 0.636871 | 0.616731 | 0 | 0.000715 | 0.304362 | 12,058 | 386 | 100 | 31.238342 | 0.768836 | 0.010698 | 0 | 0.434251 | 0 | 0.009174 | 0.684551 | 0.055668 | 0 | 0 | 0 | 0 | 0.04893 | 1 | 0.055046 | false | 0 | 0.012232 | 0.006116 | 0.076453 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
84e9715b67ca2df81ccd5ae034dfaa3e952835d2 | 77 | py | Python | z3py/examples/expr.3.py | rainoftime/rainoftime.github.io | d6316f153db0ed96309d81a5f32af9887c6f1a9a | [
"MIT"
] | 1 | 2021-08-01T07:28:03.000Z | 2021-08-01T07:28:03.000Z | z3py/examples/expr.3.py | rainoftime/rainoftime.github.io | d6316f153db0ed96309d81a5f32af9887c6f1a9a | [
"MIT"
] | null | null | null | z3py/examples/expr.3.py | rainoftime/rainoftime.github.io | d6316f153db0ed96309d81a5f32af9887c6f1a9a | [
"MIT"
] | null | null | null | x = Int('x')
print (x + 1).hash()
print (1 + x).hash()
print x.sort().hash()
| 15.4 | 21 | 0.532468 | 15 | 77 | 2.733333 | 0.4 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.168831 | 77 | 4 | 22 | 19.25 | 0.609375 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.75 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ca0bc394a1edaf61588477eb148e5bc80ec18f96 | 122 | py | Python | tcplite/__init__.py | Vincent0700/tcplite | 65031b261cd57325403d0663ee92e5fb3f99a19b | [
"MIT"
] | 2 | 2019-01-17T02:16:15.000Z | 2019-01-17T02:17:39.000Z | tcplite/__init__.py | Vincent0700/tcplite | 65031b261cd57325403d0663ee92e5fb3f99a19b | [
"MIT"
] | null | null | null | tcplite/__init__.py | Vincent0700/tcplite | 65031b261cd57325403d0663ee92e5fb3f99a19b | [
"MIT"
] | null | null | null | # coding=utf-8
__author__ = 'wang.yuanqiu007@gmail.com'
from .server import *
from .client import *
from .packet import * | 20.333333 | 40 | 0.737705 | 17 | 122 | 5.058824 | 0.764706 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0.139344 | 122 | 6 | 41 | 20.333333 | 0.780952 | 0.098361 | 0 | 0 | 0 | 0 | 0.229358 | 0.229358 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ca2e2027d5295041decfee9d79576129a733fdcd | 182 | py | Python | rpi/lcd/__init__.py | irahorecka/rpi-stocks | ecf0e3289d843977e68604a966e71287b7341e8b | [
"MIT"
] | null | null | null | rpi/lcd/__init__.py | irahorecka/rpi-stocks | ecf0e3289d843977e68604a966e71287b7341e8b | [
"MIT"
] | null | null | null | rpi/lcd/__init__.py | irahorecka/rpi-stocks | ecf0e3289d843977e68604a966e71287b7341e8b | [
"MIT"
] | null | null | null | from .lcd import LCD
lcd = LCD()
def display(*args, **kwargs):
lcd.display(*args, **kwargs)
def display_datetime(*args, **kwargs):
lcd.display_datetime(*args, **kwargs)
| 15.166667 | 41 | 0.659341 | 24 | 182 | 4.916667 | 0.333333 | 0.338983 | 0.288136 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 182 | 11 | 42 | 16.545455 | 0.776316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ca3380c1b537cbe778d572fb4b569286f0719c97 | 289 | py | Python | trading_system/common/__init__.py | djy-git/trading-system | d2e2ba602cad5604710d8f96d914d4268210e730 | [
"MIT"
] | null | null | null | trading_system/common/__init__.py | djy-git/trading-system | d2e2ba602cad5604710d8f96d914d4268210e730 | [
"MIT"
] | null | null | null | trading_system/common/__init__.py | djy-git/trading-system | d2e2ba602cad5604710d8f96d914d4268210e730 | [
"MIT"
] | null | null | null | """Import all modules in the ``common`` package
"""
from common.config import *
from common.DBHandler import *
from common.env import *
from common.LoggerFactory import *
from common.metrics import *
from common.SignalHandler import *
from common.Timer import *
from common.util import *
| 24.083333 | 47 | 0.768166 | 39 | 289 | 5.692308 | 0.410256 | 0.36036 | 0.504505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141869 | 289 | 11 | 48 | 26.272727 | 0.895161 | 0.152249 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ca8aa97abcc6c959b8987325f11d2c0f5476bf64 | 7,778 | py | Python | icn-scapy/icnscapy/packet.py | westbook1006/H2C-reference | a27f98d7bde313edec09e6da0331e6960c66d44b | [
"BSD-3-Clause-Clear"
] | 5 | 2017-06-02T16:35:02.000Z | 2019-12-16T10:59:03.000Z | icn-scapy/icnscapy/packet.py | westbook1006/H2C-reference | a27f98d7bde313edec09e6da0331e6960c66d44b | [
"BSD-3-Clause-Clear"
] | null | null | null | icn-scapy/icnscapy/packet.py | westbook1006/H2C-reference | a27f98d7bde313edec09e6da0331e6960c66d44b | [
"BSD-3-Clause-Clear"
] | 1 | 2016-11-23T06:24:18.000Z | 2016-11-23T06:24:18.000Z | """
Lorenzo Saino, Massimo Gallo
Copyright (c) 2016 Alcatel-Lucent, Bell Labs
ICN packet formats implemented on Scapy and related utility functions
"""
import zlib
import struct
from scapy.all import *
__all__ = [
'IcnInterest',
'IcnData',
'interest_over_ip',
'data_over_ip',
]
# IP proto... | 34.568889 | 101 | 0.641939 | 1,128 | 7,778 | 4.245567 | 0.184397 | 0.045103 | 0.016705 | 0.012529 | 0.745667 | 0.73293 | 0.73293 | 0.73293 | 0.712884 | 0.703278 | 0 | 0.023982 | 0.254821 | 7,778 | 224 | 102 | 34.723214 | 0.802277 | 0.387632 | 0 | 0.606061 | 0 | 0 | 0.080983 | 0 | 0 | 0 | 0.00273 | 0 | 0 | 1 | 0.070707 | false | 0 | 0.030303 | 0 | 0.252525 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
04c8ebc674f865c2939867088f95f26cdedda054 | 5,992 | py | Python | nevow/test/test_useragent.py | wthie/nevow | e630de8f640f27df85c38bc37ecdaf4e7b931afc | [
"MIT"
] | 49 | 2015-03-18T15:29:16.000Z | 2021-11-17T12:30:51.000Z | src/nevow/test/test_useragent.py | winjer/squeal | 20401986e0d1698776f5b482b28e14c57b11833c | [
"Apache-2.0"
] | 62 | 2015-01-21T08:48:08.000Z | 2021-04-02T17:31:29.000Z | src/nevow/test/test_useragent.py | winjer/squeal | 20401986e0d1698776f5b482b28e14c57b11833c | [
"Apache-2.0"
] | 30 | 2015-02-26T09:35:39.000Z | 2021-07-24T12:45:04.000Z |
"""
Tests for L{nevow.useragent}.
"""
from twisted.trial.unittest import TestCase
from nevow.useragent import UserAgent, browsers
class UserAgentTests(TestCase):
"""
Tests for L{UserAgent}.
"""
def test_parseNetscape71(self):
"""
L{UserAgent.parse_GECKO} should return a UserAgent in... | 35.455621 | 79 | 0.620828 | 753 | 5,992 | 4.889774 | 0.152722 | 0.091255 | 0.130364 | 0.102662 | 0.791146 | 0.791146 | 0.772678 | 0.762086 | 0.725149 | 0.714557 | 0 | 0.064135 | 0.266188 | 5,992 | 168 | 80 | 35.666667 | 0.773254 | 0.244159 | 0 | 0.48 | 0 | 0.146667 | 0.267256 | 0 | 0 | 0 | 0 | 0 | 0.32 | 1 | 0.186667 | false | 0 | 0.026667 | 0 | 0.226667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
04e0bb0adeede79780bab39de27aed691122d532 | 127 | py | Python | tests/test_pipeline.py | germaneduardo/sentiment-classification-models | dee6e74eeea92c79ec4d77b08edf4c3632ec6a98 | [
"MIT"
] | null | null | null | tests/test_pipeline.py | germaneduardo/sentiment-classification-models | dee6e74eeea92c79ec4d77b08edf4c3632ec6a98 | [
"MIT"
] | null | null | null | tests/test_pipeline.py | germaneduardo/sentiment-classification-models | dee6e74eeea92c79ec4d77b08edf4c3632ec6a98 | [
"MIT"
] | null | null | null | from sentiment_analysis_models.data import pipeline
def test_process_tweet():
pipeline.process_tweet("a")
assert True | 21.166667 | 51 | 0.787402 | 17 | 127 | 5.588235 | 0.823529 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141732 | 127 | 6 | 52 | 21.166667 | 0.87156 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b6f86aa79a9b62e04ad6e807e5611a6d80bfda12 | 215 | py | Python | Learn/30-Days-Of-Code/Day 27/testing.py | Adriel-M/HackerRank | 0f361bb7eaa3d2db3dd96de511c4b7fa02efa8c5 | [
"MIT"
] | 1 | 2021-11-24T16:43:10.000Z | 2021-11-24T16:43:10.000Z | Learn/30-Days-Of-Code/Day 27/testing.py | Adriel-M/HackerRank | 0f361bb7eaa3d2db3dd96de511c4b7fa02efa8c5 | [
"MIT"
] | null | null | null | Learn/30-Days-Of-Code/Day 27/testing.py | Adriel-M/HackerRank | 0f361bb7eaa3d2db3dd96de511c4b7fa02efa8c5 | [
"MIT"
] | null | null | null | # https://www.hackerrank.com/challenges/30-testing/forum/comments/138775
print("5")
print("5 3\n-1 90 999 100 0")
print("4 2\n0 -1 2 1")
print("3 3\n-1 0 1")
print("6 1\n-1 0 1 -1 2 3")
print("7 3\n-1 0 1 2 3 4 5")
| 26.875 | 72 | 0.627907 | 56 | 215 | 2.410714 | 0.428571 | 0.059259 | 0.066667 | 0.088889 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 0.153488 | 215 | 7 | 73 | 30.714286 | 0.472527 | 0.325581 | 0 | 0 | 0 | 0 | 0.573427 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
8e149b61cb295ace529fdb7658d3201ffb678b2f | 105 | py | Python | solumdashboard/applications/workflows/__init__.py | openstack/solum-dashboard | 8e4c80b91b6bcf724e91b3f102cddbdb15b7369c | [
"Apache-2.0"
] | 16 | 2015-09-24T07:35:11.000Z | 2019-01-28T22:11:35.000Z | solumdashboard/applications/workflows/__init__.py | stackforge/solum-dashboard | f2d61f2e0258e30285731cc5fa66e86dacc9cb3e | [
"Apache-2.0"
] | 1 | 2019-12-04T21:50:19.000Z | 2019-12-04T21:50:22.000Z | solumdashboard/applications/workflows/__init__.py | stackforge/solum-dashboard | f2d61f2e0258e30285731cc5fa66e86dacc9cb3e | [
"Apache-2.0"
] | 1 | 2016-05-30T10:00:53.000Z | 2016-05-30T10:00:53.000Z | # Importing non-modules that are not used explicitly
from .update import UpdateApplicationClass # noqa
| 26.25 | 52 | 0.809524 | 13 | 105 | 6.538462 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152381 | 105 | 3 | 53 | 35 | 0.955056 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8e3ebe11c8eba8be3bd2a7cf9e47325898fea468 | 513 | py | Python | wol_control/models.py | TheLastBilly/wol_control | 0e16c4ee0b89de3d0870e7dcc9026c55b9fd92b6 | [
"BSD-2-Clause"
] | null | null | null | wol_control/models.py | TheLastBilly/wol_control | 0e16c4ee0b89de3d0870e7dcc9026c55b9fd92b6 | [
"BSD-2-Clause"
] | null | null | null | wol_control/models.py | TheLastBilly/wol_control | 0e16c4ee0b89de3d0870e7dcc9026c55b9fd92b6 | [
"BSD-2-Clause"
] | null | null | null | from flask_login import UserMixin
from . import db
class User(UserMixin, db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(100))
password = db.Column(db.String(100))
admin = db.Column(db.Boolean())
class Mac(UserMixin, db.Model):
id = db.Column(db.Integer, primary_... | 32.0625 | 48 | 0.672515 | 81 | 513 | 4.209877 | 0.320988 | 0.234604 | 0.293255 | 0.281525 | 0.662757 | 0.422287 | 0.422287 | 0.422287 | 0.422287 | 0.422287 | 0 | 0.037559 | 0.169591 | 513 | 16 | 49 | 32.0625 | 0.762911 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
6d41d8666e851b2203f25e56f9a0a7d722d8199e | 89 | py | Python | alliancewar/__init__.py | Trapavko/CollectorDevTeam-mcoc-v3 | c81594527ff2a774438a1823ab2d9fea4d2f5d5f | [
"MIT"
] | null | null | null | alliancewar/__init__.py | Trapavko/CollectorDevTeam-mcoc-v3 | c81594527ff2a774438a1823ab2d9fea4d2f5d5f | [
"MIT"
] | null | null | null | alliancewar/__init__.py | Trapavko/CollectorDevTeam-mcoc-v3 | c81594527ff2a774438a1823ab2d9fea4d2f5d5f | [
"MIT"
] | null | null | null | from .alliancewar import AllianceWar
def setup(bot):
bot.add_cog(AllianceWar())
| 17.8 | 37 | 0.719101 | 11 | 89 | 5.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 4 | 38 | 22.25 | 0.863014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6d5f86c914c71c187e914ac38fbfe1b977bb89d5 | 33,486 | py | Python | ssa_sim_v2/result_aggregators/experiment_plot_visualizer.py | donghun2018/adclick-simulator-v2 | ade886e9dcbde9fcea218a19f0130cc09f81e55e | [
"MIT"
] | null | null | null | ssa_sim_v2/result_aggregators/experiment_plot_visualizer.py | donghun2018/adclick-simulator-v2 | ade886e9dcbde9fcea218a19f0130cc09f81e55e | [
"MIT"
] | null | null | null | ssa_sim_v2/result_aggregators/experiment_plot_visualizer.py | donghun2018/adclick-simulator-v2 | ade886e9dcbde9fcea218a19f0130cc09f81e55e | [
"MIT"
] | null | null | null | # Fix paths for imports to work in unit tests ----------------
if __name__ == "__main__":
from _fix_paths import fix_paths
fix_paths()
# ------------------------------------------------------------
# Load libraries ---------------------------------------------
import pandas as pd
import numpy as np
import ... | 46.251381 | 155 | 0.664905 | 4,073 | 33,486 | 5.114166 | 0.0685 | 0.096111 | 0.040615 | 0.044359 | 0.844695 | 0.816419 | 0.780653 | 0.752712 | 0.691647 | 0.66313 | 0 | 0.008007 | 0.250314 | 33,486 | 723 | 156 | 46.315353 | 0.821742 | 0.206056 | 0 | 0.526316 | 0 | 0 | 0.084545 | 0.022045 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142105 | false | 0.002632 | 0.021053 | 0 | 0.184211 | 0.002632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eda88884e2c565b6324e72af1702e9a25d6b0643 | 138 | py | Python | tests/test_r_freeze.py | chinmayshah99/r_freeze | 48110e8f021b2adb9ec5b3bac152ca1b73bcc34e | [
"MIT"
] | 1 | 2021-01-13T04:10:54.000Z | 2021-01-13T04:10:54.000Z | tests/test_r_freeze.py | chinmayshah99/r_freeze | 48110e8f021b2adb9ec5b3bac152ca1b73bcc34e | [
"MIT"
] | 5 | 2020-10-03T14:07:40.000Z | 2021-02-13T13:30:08.000Z | tests/test_r_freeze.py | chinmayshah99/r_freeze | 48110e8f021b2adb9ec5b3bac152ca1b73bcc34e | [
"MIT"
] | 1 | 2020-10-03T17:26:35.000Z | 2020-10-03T17:26:35.000Z | #!/usr/bin/env python
"""Tests for `r_freeze` package."""
import pytest
from r_freeze import r_freeze
def test_ok():
print("ok")
| 11.5 | 35 | 0.673913 | 22 | 138 | 4.045455 | 0.727273 | 0.235955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 138 | 11 | 36 | 12.545455 | 0.780702 | 0.362319 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ede7876a23748b110f274356bdbe6738fd5c2868 | 24 | py | Python | __init__.py | IJMTutorSES/ftrobopy | 7e41aeba7ce41b291690af252b567928024495dd | [
"MIT"
] | 24 | 2015-10-01T21:51:25.000Z | 2022-02-17T12:45:35.000Z | __init__.py | IJMTutorSES/ftrobopy | 7e41aeba7ce41b291690af252b567928024495dd | [
"MIT"
] | 18 | 2016-03-01T13:38:34.000Z | 2021-12-07T22:24:46.000Z | __init__.py | IJMTutorSES/ftrobopy | 7e41aeba7ce41b291690af252b567928024495dd | [
"MIT"
] | 16 | 2016-02-12T20:24:22.000Z | 2021-12-03T13:09:47.000Z | from .ftrobopy 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 | 0 | 0 | 0 | 5 |
61084d27653675bb9585b94fea26ac0c03bebc68 | 4,071 | py | Python | oldAI.py | edu-fr/checkers-AI | 88973d540eb96e091ea617a7355eb8994bab68c4 | [
"CC0-1.0"
] | null | null | null | oldAI.py | edu-fr/checkers-AI | 88973d540eb96e091ea617a7355eb8994bab68c4 | [
"CC0-1.0"
] | null | null | null | oldAI.py | edu-fr/checkers-AI | 88973d540eb96e091ea617a7355eb8994bab68c4 | [
"CC0-1.0"
] | null | null | null | import math
from copy import deepcopy
import pygame
from checkers.board import Board
from checkers.constants import ROWS, COLS, RED, WHITE
from checkers.piece import Piece
class Movement:
def __init__(self, move, piece, skip):
self.move = move
self.piece = piece
self.skip = skip
def mini... | 44.25 | 116 | 0.507246 | 446 | 4,071 | 4.374439 | 0.139013 | 0.098411 | 0.079959 | 0.049206 | 0.735008 | 0.708355 | 0.708355 | 0.708355 | 0.708355 | 0.670425 | 0 | 0.005978 | 0.424711 | 4,071 | 91 | 117 | 44.736264 | 0.827071 | 0.002211 | 0 | 0.634146 | 0 | 0 | 0.001971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0 | 0.073171 | 0 | 0.146341 | 0.02439 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b67d3322f81d35a59eed389a6b1f5c72bcb13fb4 | 141 | py | Python | ch04/ex6.py | gama79530/Coursera_Python_for_Everybody_2019 | 16a03db48accc4593dda085352f166874b39c874 | [
"MIT"
] | null | null | null | ch04/ex6.py | gama79530/Coursera_Python_for_Everybody_2019 | 16a03db48accc4593dda085352f166874b39c874 | [
"MIT"
] | null | null | null | ch04/ex6.py | gama79530/Coursera_Python_for_Everybody_2019 | 16a03db48accc4593dda085352f166874b39c874 | [
"MIT"
] | null | null | null | def pay(hours,rate) :
return hours * rate
hours = float(input('Enter Hours:'))
rate = float(input('Enter Rate:'))
print(pay(hours,rate)) | 23.5 | 36 | 0.673759 | 21 | 141 | 4.52381 | 0.428571 | 0.378947 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 141 | 6 | 37 | 23.5 | 0.785124 | 0 | 0 | 0 | 0 | 0 | 0.161972 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
b6ae820e5b1ffd493dcca1c116b9036e87e194b9 | 100 | py | Python | dnc/globals.py | Jeffrey-Ede/adaptive-scans | a4f8f0275d5f894c34f7ae9bbd64222f635fb73e | [
"MIT"
] | 4 | 2020-12-04T22:20:46.000Z | 2022-02-25T17:13:41.000Z | 99/dnc/globals.py | Jeffrey-Ede/intelligent-partial-STEM | dc13e64ba3fb8266d39a260780af615b170a3c88 | [
"MIT"
] | null | null | null | 99/dnc/globals.py | Jeffrey-Ede/intelligent-partial-STEM | dc13e64ba3fb8266d39a260780af615b170a3c88 | [
"MIT"
] | null | null | null | import numpy as np
global full_scans
global_full_scans = np.ones((32,96,96,1), dtype=np.float32) | 25 | 59 | 0.75 | 19 | 100 | 3.789474 | 0.684211 | 0.277778 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.13 | 100 | 4 | 59 | 25 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fcd119cabc16edc11713dbac6008e48ebed101a0 | 232 | py | Python | web/routes/web.py | testdrivenio/masonite-on-docker | fb23e30f3dbaa9a873604c3b0da4df98884518ad | [
"MIT"
] | 4 | 2021-03-25T14:56:07.000Z | 2021-10-31T12:28:54.000Z | web/routes/web.py | testdrivenio/masonite-on-docker | fb23e30f3dbaa9a873604c3b0da4df98884518ad | [
"MIT"
] | 3 | 2019-12-06T04:02:04.000Z | 2021-05-13T09:38:44.000Z | web/routes/web.py | testdrivenio/masonite-on-docker | fb23e30f3dbaa9a873604c3b0da4df98884518ad | [
"MIT"
] | 3 | 2020-11-14T16:55:09.000Z | 2021-03-26T18:59:06.000Z | """Web Routes."""
from masonite.routes import Get, Post
ROUTES = [
Get("/", "WelcomeController@show").name("welcome"),
Get("/sample", "WelcomeController@show").name("welcome"),
Post("/", "WelcomeController@upload"),
]
| 23.2 | 61 | 0.642241 | 23 | 232 | 6.478261 | 0.565217 | 0.281879 | 0.33557 | 0.42953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133621 | 232 | 9 | 62 | 25.777778 | 0.741294 | 0.047414 | 0 | 0 | 0 | 0 | 0.423256 | 0.316279 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fcde9dc7737ee3be9565ede9d56f9ea3ad37bcf9 | 42 | py | Python | python/testData/keywordCompletion/noNonLiteralExpressionKeywordsAfterPattern.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/keywordCompletion/noNonLiteralExpressionKeywordsAfterPattern.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/keywordCompletion/noNonLiteralExpressionKeywordsAfterPattern.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | match x:
case [] <caret>:
pass | 14 | 20 | 0.452381 | 5 | 42 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.404762 | 42 | 3 | 21 | 14 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.333333 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1e2a6103ead2c730b423e00496685bd1f2c207b7 | 111 | py | Python | src/applications/api/models/__init__.py | luisito666/M2-API-REST | 238837c2cbd0e9aadcce29def0dd9935b888047b | [
"MIT"
] | null | null | null | src/applications/api/models/__init__.py | luisito666/M2-API-REST | 238837c2cbd0e9aadcce29def0dd9935b888047b | [
"MIT"
] | 3 | 2021-04-08T19:14:52.000Z | 2022-03-12T01:05:15.000Z | src/applications/api/models/__init__.py | luisito666/M2-API-REST | 238837c2cbd0e9aadcce29def0dd9935b888047b | [
"MIT"
] | 1 | 2020-12-25T20:34:09.000Z | 2020-12-25T20:34:09.000Z | from .download import Download
from .pages import Pages
from .token import Token
from .site import Site, Image
| 22.2 | 30 | 0.801802 | 17 | 111 | 5.235294 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 111 | 4 | 31 | 27.75 | 0.946809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1e31dbfdde55b50d1f1bd1689879648007126dc1 | 119 | py | Python | bempy/django/blocks/attach/__init__.py | svetlyak40wt/bempy | ad87982d17c2d14c344d9e3d91a48c37dfb72535 | [
"BSD-3-Clause"
] | 1 | 2015-04-29T15:19:45.000Z | 2015-04-29T15:19:45.000Z | bempy/django/blocks/attach/__init__.py | svetlyak40wt/bempy | ad87982d17c2d14c344d9e3d91a48c37dfb72535 | [
"BSD-3-Clause"
] | null | null | null | bempy/django/blocks/attach/__init__.py | svetlyak40wt/bempy | ad87982d17c2d14c344d9e3d91a48c37dfb72535 | [
"BSD-3-Clause"
] | 1 | 2019-06-10T16:08:54.000Z | 2019-06-10T16:08:54.000Z | from bempy import block
@block()
def attach():
return dict(button='The Button',
text='The Text')
| 14.875 | 36 | 0.588235 | 15 | 119 | 4.666667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 119 | 7 | 37 | 17 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1ec565030ac49621a9c7db306b7a06e569e8ab57 | 43 | py | Python | tests/__init__.py | davidmayes5/balloons-for-blinds | ae02f79cab8aa7079e12b6c9a36162b93fa04883 | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | davidmayes5/balloons-for-blinds | ae02f79cab8aa7079e12b6c9a36162b93fa04883 | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | davidmayes5/balloons-for-blinds | ae02f79cab8aa7079e12b6c9a36162b93fa04883 | [
"BSD-3-Clause"
] | null | null | null | # python -m unittest tests.titlescreentests | 43 | 43 | 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.953488 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1ee1c9735ef2617983659d05052b9fb9288161d7 | 143 | py | Python | image_registration/matching/keypoint/__init__.py | hakaboom/image_registration | 7ec286c5e81670d7599f925c5279e162804278c6 | [
"Apache-2.0"
] | null | null | null | image_registration/matching/keypoint/__init__.py | hakaboom/image_registration | 7ec286c5e81670d7599f925c5279e162804278c6 | [
"Apache-2.0"
] | null | null | null | image_registration/matching/keypoint/__init__.py | hakaboom/image_registration | 7ec286c5e81670d7599f925c5279e162804278c6 | [
"Apache-2.0"
] | null | null | null | #! usr/bin/python
# -*- coding:utf-8 -*-
from .akaze import AKAZE
from .sift import SIFT
from .orb import ORB, CUDA_ORB
from .surf import SURF
| 20.428571 | 30 | 0.713287 | 24 | 143 | 4.208333 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.160839 | 143 | 6 | 31 | 23.833333 | 0.833333 | 0.258741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9496a24ca6df90b4c2fb6dfe720ae23bb7dc76de | 65 | py | Python | dlm/models/models3D/__init__.py | romainloiseau/deep-linear-shapes | faed8e14a8f66ab1c780972f616543552295cb1e | [
"MIT"
] | 20 | 2021-08-31T15:10:48.000Z | 2021-12-01T19:25:13.000Z | dlm/models/models3D/__init__.py | romainloiseau/deep-linear-shapes | faed8e14a8f66ab1c780972f616543552295cb1e | [
"MIT"
] | null | null | null | dlm/models/models3D/__init__.py | romainloiseau/deep-linear-shapes | faed8e14a8f66ab1c780972f616543552295cb1e | [
"MIT"
] | null | null | null | from .pointnet import PointNetfeat, PointNetCls, PointNetDenseCls | 65 | 65 | 0.876923 | 6 | 65 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 65 | 1 | 65 | 65 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9499d7ab22e7c763b9548cb323966aa988e3af52 | 74 | py | Python | algomorphism/datasets/__init__.py | efth-mcl/algomorphism | 5b69d19701e450020a539196215575706e7ff675 | [
"MIT"
] | null | null | null | algomorphism/datasets/__init__.py | efth-mcl/algomorphism | 5b69d19701e450020a539196215575706e7ff675 | [
"MIT"
] | null | null | null | algomorphism/datasets/__init__.py | efth-mcl/algomorphism | 5b69d19701e450020a539196215575706e7ff675 | [
"MIT"
] | null | null | null | from .graph_base import GraphBaseDataset
from .base import SeenUnseenBase
| 24.666667 | 40 | 0.864865 | 9 | 74 | 7 | 0.666667 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 41 | 37 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
94d1019ab3a782460c0dacd4d74cef5f482140eb | 84 | py | Python | explorer/models/worker_task.py | cryptassic/dex-explorer | 1588011db1666b8f1ffb6499d909e4eff3f6b09b | [
"MIT"
] | null | null | null | explorer/models/worker_task.py | cryptassic/dex-explorer | 1588011db1666b8f1ffb6499d909e4eff3f6b09b | [
"MIT"
] | null | null | null | explorer/models/worker_task.py | cryptassic/dex-explorer | 1588011db1666b8f1ffb6499d909e4eff3f6b09b | [
"MIT"
] | null | null | null |
from typing import NamedTuple
class WorkerTask(NamedTuple):
block_number: int
| 14 | 29 | 0.785714 | 10 | 84 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 84 | 5 | 30 | 16.8 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
94f653367f51b787aa7e4082641cc9ac3b00b585 | 64 | py | Python | src/static/code_stubs/python/babylonian_square_roots.py | basimr/lovelace | 3456e0dc2e155eda7f8e34e1cf7ad816af5c5feb | [
"MIT"
] | 28 | 2019-01-06T11:39:13.000Z | 2022-02-28T03:35:55.000Z | src/static/code_stubs/python/babylonian_square_roots.py | basimr/project-lovelace | 3456e0dc2e155eda7f8e34e1cf7ad816af5c5feb | [
"MIT"
] | 88 | 2017-04-01T15:18:36.000Z | 2021-09-22T19:41:11.000Z | src/static/code_stubs/python/babylonian_square_roots.py | basimr/project-lovelace | 3456e0dc2e155eda7f8e34e1cf7ad816af5c5feb | [
"MIT"
] | 4 | 2019-08-11T14:51:16.000Z | 2021-04-30T16:37:52.000Z | def babylonian_sqrt(S):
# Your code goes here!
return 0
| 16 | 26 | 0.65625 | 10 | 64 | 4.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.265625 | 64 | 3 | 27 | 21.333333 | 0.851064 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.