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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
292172c4f74da4e8ff4c1c9d3aeec575d25e283b | 93 | py | Python | test/__init__.py | wanidon/Ra | 69bf103362435261e41fdc19995a5835a90d9117 | [
"MIT"
] | 11 | 2020-06-05T01:13:04.000Z | 2021-12-01T04:28:35.000Z | test/__init__.py | wanidon/Ra | 69bf103362435261e41fdc19995a5835a90d9117 | [
"MIT"
] | 1 | 2021-08-09T08:56:40.000Z | 2021-08-17T10:30:25.000Z | test/__init__.py | wanidon/Ra | 69bf103362435261e41fdc19995a5835a90d9117 | [
"MIT"
] | 4 | 2020-07-22T14:29:49.000Z | 2020-12-31T16:53:28.000Z | from pathlib import Path
from sys import path
path.append(str(Path(__file__).parent.parent))
| 23.25 | 46 | 0.806452 | 15 | 93 | 4.733333 | 0.6 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 93 | 3 | 47 | 31 | 0.845238 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29335ea1337a609720cc93b4321ddd96ceeb3ef1 | 52,692 | py | Python | discordbot.py | Siroino/discordpy-startup | d88527d935d27527cb4c5bada448e6eaf21460a7 | [
"MIT"
] | null | null | null | discordbot.py | Siroino/discordpy-startup | d88527d935d27527cb4c5bada448e6eaf21460a7 | [
"MIT"
] | null | null | null | discordbot.py | Siroino/discordpy-startup | d88527d935d27527cb4c5bada448e6eaf21460a7 | [
"MIT"
] | null | null | null | #coding: UTF-8
import discord
import random
import ssl
import os
import traceback
import emoji
token = os.environ['DISCORD_BOT_TOKEN']
client = discord.Client()
pile = ["攻撃1 落とし物 "+"\n"+" 念運空 "+"\n"+" 任意のプレイヤーに運命干渉を行う。"+"\n"+"\n",
"攻撃1 占術 "+"\n"+" 運空精 "+"\n"+" 相手にダメージを与えたら、あなたの手札のカード1枚で精神感応を試みてもよい。"+"\n"+"\n",
"攻撃1... | 48.2086 | 1,140 | 0.59529 | 6,233 | 52,692 | 5.029681 | 0.147762 | 0.058501 | 0.057576 | 0.069697 | 0.804689 | 0.77815 | 0.736204 | 0.717161 | 0.69681 | 0.677065 | 0 | 0.028525 | 0.187638 | 52,692 | 1,092 | 1,141 | 48.252747 | 0.702838 | 0.007876 | 0 | 0.490503 | 0 | 0.001117 | 0.378332 | 0.171945 | 0.004469 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006704 | 0 | 0.008939 | 0.004469 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
294b35f11e7911d9541113854cf8d1a41f9fda45 | 77 | py | Python | BeeVeeH/__init__.py | wghou/BeeVeeH | 04148f83e03e9719b2fe0e80d2ec9a0b075cb525 | [
"MIT"
] | 11 | 2019-01-22T07:50:53.000Z | 2022-03-14T00:44:03.000Z | BeeVeeH/__init__.py | edvardHua/BeeVeeH | d24c1355ae9b08baba450681aeb171abbbabae71 | [
"MIT"
] | 2 | 2017-12-15T21:16:38.000Z | 2017-12-16T04:28:10.000Z | BeeVeeH/__init__.py | edvardHua/BeeVeeH | d24c1355ae9b08baba450681aeb171abbbabae71 | [
"MIT"
] | 5 | 2018-09-25T10:33:00.000Z | 2021-06-29T02:04:50.000Z | import sys
sys.path = ['lib'] + sys.path
from BeeVeeH.frame_app import start | 19.25 | 35 | 0.74026 | 13 | 77 | 4.307692 | 0.692308 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 77 | 4 | 35 | 19.25 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
467c2d188338425791023e42fb7aad0035cf6c83 | 42 | py | Python | tcp_connectors/base/__init__.py | evocount/connectors | 966007b92a98a6e921a3c127f1b9f8ee1aca3d1b | [
"MIT"
] | 2 | 2020-08-11T02:45:09.000Z | 2021-02-26T01:25:23.000Z | tcp_connectors/base/__init__.py | evocount/tcp-connectors | 966007b92a98a6e921a3c127f1b9f8ee1aca3d1b | [
"MIT"
] | null | null | null | tcp_connectors/base/__init__.py | evocount/tcp-connectors | 966007b92a98a6e921a3c127f1b9f8ee1aca3d1b | [
"MIT"
] | null | null | null | from .base_connector import BaseConnector
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
467d0b1a0015462385148aa425c445395d53da29 | 734 | py | Python | meerschaum/api/routes/__init__.py | bmeares/Meerschaum | 37bd7a9923efce53e91c6a1d9c31f9533b9b4463 | [
"Apache-2.0"
] | 32 | 2020-09-14T16:29:19.000Z | 2022-03-08T00:51:28.000Z | meerschaum/api/routes/__init__.py | bmeares/Meerschaum | 37bd7a9923efce53e91c6a1d9c31f9533b9b4463 | [
"Apache-2.0"
] | 3 | 2020-10-04T20:03:30.000Z | 2022-02-02T21:04:46.000Z | meerschaum/api/routes/__init__.py | bmeares/Meerschaum | 37bd7a9923efce53e91c6a1d9c31f9533b9b4463 | [
"Apache-2.0"
] | 5 | 2021-04-22T23:49:21.000Z | 2022-02-02T12:59:08.000Z | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
"""
Import all routes from other modules in package
"""
### Although import_children works well, it's fairly ambiguous and does not
### freeze well. It will be depreciated in a future release.
# from meerschaum.utils.packages import import_children
# im... | 30.583333 | 75 | 0.775204 | 104 | 734 | 5.355769 | 0.461538 | 0.251347 | 0.274686 | 0.371634 | 0.416517 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003101 | 0.121253 | 734 | 23 | 76 | 31.913043 | 0.860465 | 0.418256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d3d258f9256797b2b59550c40d33b9f753e7957e | 10,196 | py | Python | software/tests/test_utilities.py | adellanno/MetaXcan | cfc9e369bbf5630e0c9488993cd877f231c5d02e | [
"MIT"
] | 83 | 2016-07-19T20:14:52.000Z | 2022-03-28T17:02:39.000Z | software/tests/test_utilities.py | adellanno/MetaXcan | cfc9e369bbf5630e0c9488993cd877f231c5d02e | [
"MIT"
] | 75 | 2016-02-25T16:43:17.000Z | 2022-03-30T14:19:03.000Z | software/tests/test_utilities.py | adellanno/MetaXcan | cfc9e369bbf5630e0c9488993cd877f231c5d02e | [
"MIT"
] | 71 | 2016-02-11T17:10:32.000Z | 2022-03-30T20:15:19.000Z | import unittest
import sys
import re
if "DEBUG" in sys.argv:
sys.path.insert(0, "..")
sys.path.insert(0, "../../")
sys.path.insert(0, ".")
sys.argv.remove("DEBUG")
import metax.Utilities as Utilities
import metax.Exceptions as Exceptions
class TestUtilities(unittest.TestCase):
def testHapName(sel... | 43.20339 | 200 | 0.551098 | 1,299 | 10,196 | 4.221709 | 0.106236 | 0.03647 | 0.043764 | 0.043764 | 0.805069 | 0.778993 | 0.765682 | 0.753465 | 0.723377 | 0.715171 | 0 | 0.111334 | 0.2653 | 10,196 | 235 | 201 | 43.387234 | 0.620745 | 0 | 0 | 0.40404 | 0 | 0.010101 | 0.29747 | 0.077089 | 0 | 0 | 0 | 0 | 0.151515 | 1 | 0.085859 | false | 0 | 0.025253 | 0 | 0.126263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3e9727ce9469003693852a6d39fe5c2bbbd0155 | 448 | py | Python | result_linker/api/__init__.py | akshayAithal/result_linker | 5dd051ef355f9e50c735cffbbf14e5f20f677699 | [
"Apache-2.0"
] | null | null | null | result_linker/api/__init__.py | akshayAithal/result_linker | 5dd051ef355f9e50c735cffbbf14e5f20f677699 | [
"Apache-2.0"
] | null | null | null | result_linker/api/__init__.py | akshayAithal/result_linker | 5dd051ef355f9e50c735cffbbf14e5f20f677699 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Blueprints for the application.
"""
from result_linker.api.home import home_blueprint
from result_linker.api.user import user_blueprint
from result_linker.api.svn import svn_blueprint
from result_linker.api.download import download_blueprint
from result_linker.api.sh... | 29.866667 | 57 | 0.825893 | 67 | 448 | 5.313433 | 0.358209 | 0.196629 | 0.314607 | 0.373596 | 0.47191 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002469 | 0.095982 | 448 | 15 | 58 | 29.866667 | 0.876543 | 0.165179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
3135d5909c56b0c9a8764ca0a2a27cb224b76bcf | 104 | py | Python | data_interrogator/exceptions.py | s-i-l-k-e/django-data-interrogator | 0284168b81aaa31a8df84f3ea52166eded8a4362 | [
"MIT"
] | null | null | null | data_interrogator/exceptions.py | s-i-l-k-e/django-data-interrogator | 0284168b81aaa31a8df84f3ea52166eded8a4362 | [
"MIT"
] | null | null | null | data_interrogator/exceptions.py | s-i-l-k-e/django-data-interrogator | 0284168b81aaa31a8df84f3ea52166eded8a4362 | [
"MIT"
] | null | null | null | class ModelNotAllowedException(Exception):
pass
class InvalidAnnotationError(Exception):
pass
| 14.857143 | 42 | 0.788462 | 8 | 104 | 10.25 | 0.625 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 6 | 43 | 17.333333 | 0.931818 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9ed9fc5765637a558a491d94aa347a7372a30ae3 | 95 | py | Python | la_stopwatch/__init__.py | thiagola92/la-stopwatch | ada0f5cb65b236ff958f446dc0801159a17327b9 | [
"MIT"
] | null | null | null | la_stopwatch/__init__.py | thiagola92/la-stopwatch | ada0f5cb65b236ff958f446dc0801159a17327b9 | [
"MIT"
] | null | null | null | la_stopwatch/__init__.py | thiagola92/la-stopwatch | ada0f5cb65b236ff958f446dc0801159a17327b9 | [
"MIT"
] | null | null | null | from la_stopwatch.stopwatch import Stopwatch
from la_stopwatch.stopwatch_ns import StopwatchNS
| 31.666667 | 49 | 0.894737 | 13 | 95 | 6.307692 | 0.461538 | 0.146341 | 0.365854 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 95 | 2 | 50 | 47.5 | 0.942529 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7311bfd8e2a795ca1e60404f7893b614fdaffe6f | 79 | py | Python | backend/family_app/models.py | berserg2010/family_and_history_backend | 08fd5901e6e0c9cbd75a72e46d69ac53c737786a | [
"Apache-2.0"
] | null | null | null | backend/family_app/models.py | berserg2010/family_and_history_backend | 08fd5901e6e0c9cbd75a72e46d69ac53c737786a | [
"Apache-2.0"
] | null | null | null | backend/family_app/models.py | berserg2010/family_and_history_backend | 08fd5901e6e0c9cbd75a72e46d69ac53c737786a | [
"Apache-2.0"
] | null | null | null | from .family.models import Family
from .events.marriage.models import Marriage
| 26.333333 | 44 | 0.835443 | 11 | 79 | 6 | 0.545455 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 2 | 45 | 39.5 | 0.929577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b405cdf7b653878aabc3dbd1bb26b03bb3616234 | 2,708 | py | Python | src/algorithms/kalman_filter.py | Brechard/Robot-Simulator | 201256fdae6d6d1bd7221832ed4646afbe0779aa | [
"MIT"
] | null | null | null | src/algorithms/kalman_filter.py | Brechard/Robot-Simulator | 201256fdae6d6d1bd7221832ed4646afbe0779aa | [
"MIT"
] | null | null | null | src/algorithms/kalman_filter.py | Brechard/Robot-Simulator | 201256fdae6d6d1bd7221832ed4646afbe0779aa | [
"MIT"
] | null | null | null | import numpy as np
default_Q_t = np.identity(3) * np.random.rand(3, 1) * 0.1
default_R = np.identity(3) * np.random.rand(3, 1) * 0.1
class kalman_filter():
def __init__(self, Q_t = default_Q_t, R = default_R):
"""
:param Q_t: Covariance matrix defining noise of motion model deltax§
:param... | 34.278481 | 116 | 0.580502 | 366 | 2,708 | 4.185792 | 0.177596 | 0.104439 | 0.057441 | 0.033943 | 0.877937 | 0.877937 | 0.877937 | 0.850522 | 0.850522 | 0.824413 | 0 | 0.014403 | 0.282127 | 2,708 | 78 | 117 | 34.717949 | 0.772634 | 0.544682 | 0 | 0 | 0 | 0 | 0.004562 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.045455 | 0 | 0.227273 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b40982b495157dab0d11669c9d34f18dbe1674c8 | 1,403 | py | Python | reference/NumpyDL-master/tests/test_layers/test_pooling.py | code4bw/deep-np | f477d7d3bd88bae8cea408926b3cc4509f78c9d0 | [
"MIT"
] | 186 | 2017-04-04T07:37:00.000Z | 2021-02-25T11:56:48.000Z | reference/NumpyDL-master/tests/test_layers/test_pooling.py | code4bw/deep-np | f477d7d3bd88bae8cea408926b3cc4509f78c9d0 | [
"MIT"
] | 9 | 2017-05-07T12:42:45.000Z | 2019-11-06T19:45:33.000Z | reference/NumpyDL-master/tests/test_layers/test_pooling.py | code4bw/deep-np | f477d7d3bd88bae8cea408926b3cc4509f78c9d0 | [
"MIT"
] | 74 | 2017-04-04T06:41:07.000Z | 2021-02-19T12:58:36.000Z | # -*- coding: utf-8 -*-
import pytest
import numpy as np
class PreLayer:
def __init__(self, out_shape):
self.out_shape = out_shape
def test_MeanPooling():
from npdl.layers import MeanPooling
pool = MeanPooling((2, 2))
pool.connect_to(PreLayer((10, 1, 20, 30)))
assert pool.out_shape =... | 26.980769 | 69 | 0.637919 | 221 | 1,403 | 3.99095 | 0.18552 | 0.108844 | 0.163265 | 0.190476 | 0.75737 | 0.75737 | 0.75737 | 0.75737 | 0.75737 | 0.75737 | 0 | 0.096375 | 0.19387 | 1,403 | 51 | 70 | 27.509804 | 0.683466 | 0.014968 | 0 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322581 | 1 | 0.096774 | false | 0 | 0.129032 | 0 | 0.258065 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b40bdfd650c53715cc151b8757e8ea4313ea806b | 91 | py | Python | taxstats/__init__.py | raheem03/taxstats | 23537030d7fb84b72ad1d514f7fd7f4ba6cd3ca3 | [
"MIT"
] | null | null | null | taxstats/__init__.py | raheem03/taxstats | 23537030d7fb84b72ad1d514f7fd7f4ba6cd3ca3 | [
"MIT"
] | null | null | null | taxstats/__init__.py | raheem03/taxstats | 23537030d7fb84b72ad1d514f7fd7f4ba6cd3ca3 | [
"MIT"
] | null | null | null | from taxstats.core import (taxstats)
from taxstats.utils import (parse_docs, create_labels) | 45.5 | 54 | 0.835165 | 13 | 91 | 5.692308 | 0.692308 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 54 | 45.5 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b44c6c17f657304df05c9541067bf5b9f850ff15 | 14,305 | py | Python | iter8_analytics/api/analytics/endpoints/examples.py | huang195/iter8-analytics | 6d03128ac3fc3f4e9754d41e44baa72f411f29e5 | [
"Apache-2.0"
] | null | null | null | iter8_analytics/api/analytics/endpoints/examples.py | huang195/iter8-analytics | 6d03128ac3fc3f4e9754d41e44baa72f411f29e5 | [
"Apache-2.0"
] | null | null | null | iter8_analytics/api/analytics/endpoints/examples.py | huang195/iter8-analytics | 6d03128ac3fc3f4e9754d41e44baa72f411f29e5 | [
"Apache-2.0"
] | null | null | null | import copy
eip_example = {
'start_time': "2020-04-03T12:55:50.568Z",
'iteration_number': 1,
'service_name': "reviews",
"metric_specs": {
"counter_metrics": [
{
"id": "iter8_request_count",
"query_template": "sum(increase(istio_requests_total{reporter='source'}[$... | 30.052521 | 140 | 0.534918 | 1,315 | 14,305 | 5.460076 | 0.13308 | 0.022423 | 0.031198 | 0.038997 | 0.86532 | 0.835655 | 0.802646 | 0.789554 | 0.738022 | 0.719359 | 0 | 0.061885 | 0.32562 | 14,305 | 475 | 141 | 30.115789 | 0.682388 | 0 | 0 | 0.547619 | 0 | 0 | 0.479796 | 0.182956 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002165 | 0 | 0.002165 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81eaa65664a9028701fc3084ebb2ab135a111ca4 | 148 | py | Python | app/main/search.py | senderle/doppio | 4f7b6a8bcb60f54648d162bdcdc467c598ec50a9 | [
"MIT"
] | null | null | null | app/main/search.py | senderle/doppio | 4f7b6a8bcb60f54648d162bdcdc467c598ec50a9 | [
"MIT"
] | null | null | null | app/main/search.py | senderle/doppio | 4f7b6a8bcb60f54648d162bdcdc467c598ec50a9 | [
"MIT"
] | null | null | null | from app.main import bp
from flask import render_template
@bp.route('/search')
def render_search_page():
return render_template('search.html')
| 21.142857 | 41 | 0.77027 | 22 | 148 | 5 | 0.636364 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 148 | 6 | 42 | 24.666667 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
c307b0e0ff3f98b410ef5673c53b3daebee4634c | 39 | py | Python | The Core/03 - candies.py | lucasalme1da/codesignal | faff1ae635d04a33a1b59e6f751d266fabca5e71 | [
"MIT"
] | 2 | 2020-04-15T00:15:03.000Z | 2021-02-17T18:43:08.000Z | The Core/03 - candies.py | lucasalme1da/codesignal | faff1ae635d04a33a1b59e6f751d266fabca5e71 | [
"MIT"
] | null | null | null | The Core/03 - candies.py | lucasalme1da/codesignal | faff1ae635d04a33a1b59e6f751d266fabca5e71 | [
"MIT"
] | null | null | null | def candies(n, m):
return m - m % n | 19.5 | 20 | 0.538462 | 8 | 39 | 2.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 39 | 2 | 20 | 19.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c33a999dda65a38d40bd6a731be0ea29bc3ad1ff | 148 | py | Python | mkt/__init__.py | muffinresearch/zamboni | 045a6f07c775b99672af6d9857d295ed02fe5dd9 | [
"BSD-3-Clause"
] | null | null | null | mkt/__init__.py | muffinresearch/zamboni | 045a6f07c775b99672af6d9857d295ed02fe5dd9 | [
"BSD-3-Clause"
] | null | null | null | mkt/__init__.py | muffinresearch/zamboni | 045a6f07c775b99672af6d9857d295ed02fe5dd9 | [
"BSD-3-Clause"
] | null | null | null | from mkt.constants import (categories, comm, platforms, iarc_mappings,
ratingsbodies)
from mkt.constants.submit import *
| 37 | 70 | 0.668919 | 15 | 148 | 6.533333 | 0.733333 | 0.142857 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263514 | 148 | 3 | 71 | 49.333333 | 0.899083 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c372adb737fbc94daeb6c03fb67e3eff89bd448e | 4,416 | py | Python | tests/test_observable/test_contains.py | AlexMost/RxPY | 05cb14c72806dc41e243789c05f498dede11cebd | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tests/test_observable/test_contains.py | AlexMost/RxPY | 05cb14c72806dc41e243789c05f498dede11cebd | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tests/test_observable/test_contains.py | AlexMost/RxPY | 05cb14c72806dc41e243789c05f498dede11cebd | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-11-04T11:13:49.000Z | 2021-11-04T11:13:49.000Z | import unittest
from rx import Observable
from rx.testing import TestScheduler, ReactiveTest, is_prime, MockDisposable
from rx.disposables import Disposable, SerialDisposable
on_next = ReactiveTest.on_next
on_completed = ReactiveTest.on_completed
on_error = ReactiveTest.on_error
subscribe = ReactiveTest.subscribe
sub... | 35.328 | 131 | 0.636096 | 553 | 4,416 | 4.867993 | 0.130199 | 0.07578 | 0.057207 | 0.037147 | 0.776003 | 0.772288 | 0.771545 | 0.771545 | 0.756686 | 0.741828 | 0 | 0.058306 | 0.254303 | 4,416 | 124 | 132 | 35.612903 | 0.759186 | 0 | 0 | 0.576087 | 0 | 0 | 0.000906 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 1 | 0.228261 | false | 0 | 0.043478 | 0.097826 | 0.391304 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c3825519a903de0343beac5007414c7881cd4cda | 3,775 | py | Python | tests/project/test_core.py | daobook/hatch | 1cf39ad1a11ce90bc77fb7fdc4b9202433509179 | [
"MIT"
] | null | null | null | tests/project/test_core.py | daobook/hatch | 1cf39ad1a11ce90bc77fb7fdc4b9202433509179 | [
"MIT"
] | null | null | null | tests/project/test_core.py | daobook/hatch | 1cf39ad1a11ce90bc77fb7fdc4b9202433509179 | [
"MIT"
] | null | null | null | import pytest
from hatch.project.core import Project
class TestFindProjectRoot:
def test_no_project(self, temp_dir):
project = Project(temp_dir)
assert project.find_project_root() is None
@pytest.mark.parametrize('file_name', ['pyproject.toml', 'setup.py'])
def test_direct(self, temp_dir... | 34.318182 | 73 | 0.673377 | 491 | 3,775 | 4.885947 | 0.105906 | 0.119633 | 0.093789 | 0.066694 | 0.862026 | 0.837015 | 0.789496 | 0.761567 | 0.739892 | 0.721134 | 0 | 0 | 0.218013 | 3,775 | 109 | 74 | 34.633028 | 0.812669 | 0 | 0 | 0.575 | 0 | 0 | 0.052715 | 0 | 0 | 0 | 0 | 0 | 0.2625 | 1 | 0.2 | false | 0 | 0.025 | 0 | 0.275 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f24ce27da2e75f0f63eeef7bacb7cf291cbc996 | 19 | py | Python | hfo/__init__.py | RubenvanHeusden/HFO-Robotkeeper | 03bbe1170d703b7f264ef245b99a0ced2759ed39 | [
"MIT"
] | null | null | null | hfo/__init__.py | RubenvanHeusden/HFO-Robotkeeper | 03bbe1170d703b7f264ef245b99a0ced2759ed39 | [
"MIT"
] | null | null | null | hfo/__init__.py | RubenvanHeusden/HFO-Robotkeeper | 03bbe1170d703b7f264ef245b99a0ced2759ed39 | [
"MIT"
] | 1 | 2019-12-04T14:08:01.000Z | 2019-12-04T14:08:01.000Z | from .hfo import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f464b74388424c95350c89cd87e2dc3ef26c913 | 14,716 | py | Python | usaspending_api/search/tests/test_spending_by_award_type.py | gaybro8777/usaspending-api | fe9d730acd632401bbbefa168e3d86d59560314b | [
"CC0-1.0"
] | null | null | null | usaspending_api/search/tests/test_spending_by_award_type.py | gaybro8777/usaspending-api | fe9d730acd632401bbbefa168e3d86d59560314b | [
"CC0-1.0"
] | null | null | null | usaspending_api/search/tests/test_spending_by_award_type.py | gaybro8777/usaspending-api | fe9d730acd632401bbbefa168e3d86d59560314b | [
"CC0-1.0"
] | null | null | null | import json
import pytest
from django.db import connection
from model_mommy import mommy
from rest_framework import status
from usaspending_api.search.tests.test_mock_data_search import non_legacy_filters
@pytest.fixture
@pytest.mark.django_db
def test_data():
mommy.make("references.LegalEntity", legal_entity_id... | 35.631961 | 119 | 0.561905 | 1,677 | 14,716 | 4.690519 | 0.118068 | 0.032927 | 0.066362 | 0.064327 | 0.85609 | 0.801042 | 0.776125 | 0.751208 | 0.728452 | 0.665523 | 0 | 0.035379 | 0.291248 | 14,716 | 412 | 120 | 35.718447 | 0.718792 | 0.081816 | 0 | 0.610951 | 0 | 0 | 0.296079 | 0.091118 | 0 | 0 | 0 | 0 | 0.086455 | 1 | 0.023055 | false | 0 | 0.017291 | 0 | 0.040346 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f5aa3de1e209c544dc80e2b4d7d979e0e1afa68 | 13,911 | py | Python | tests/test_generic_consumer.py | gegenschall/djangochannelsrestframework | bb611a6c251517d0e014b028c4b808e6db1785f3 | [
"MIT"
] | null | null | null | tests/test_generic_consumer.py | gegenschall/djangochannelsrestframework | bb611a6c251517d0e014b028c4b808e6db1785f3 | [
"MIT"
] | null | null | null | tests/test_generic_consumer.py | gegenschall/djangochannelsrestframework | bb611a6c251517d0e014b028c4b808e6db1785f3 | [
"MIT"
] | null | null | null | import pytest
from channels.db import database_sync_to_async
from channels.testing import WebsocketCommunicator
from django.contrib.auth import get_user_model
from rest_framework import serializers
from djangochannelsrestframework.decorators import action
from djangochannelsrestframework.generics import GenericAsyncAP... | 28.331976 | 88 | 0.601466 | 1,425 | 13,911 | 5.658246 | 0.079298 | 0.084336 | 0.055066 | 0.068337 | 0.866055 | 0.86097 | 0.86097 | 0.857373 | 0.852412 | 0.8317 | 0 | 0.020012 | 0.267199 | 13,911 | 490 | 89 | 28.389796 | 0.770944 | 0.015599 | 0 | 0.678851 | 0 | 0 | 0.144987 | 0 | 0 | 0 | 0 | 0 | 0.093995 | 1 | 0.002611 | false | 0 | 0.020888 | 0 | 0.117493 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48bb73f65ac0cdcec55c8cc8c0e66f227e278ba1 | 79 | py | Python | elements/tests/views/test_tag_group.py | philsupertramp/wik | 0650ae181926a5ccad8af70b8ae9a572a423e6f6 | [
"MIT"
] | null | null | null | elements/tests/views/test_tag_group.py | philsupertramp/wik | 0650ae181926a5ccad8af70b8ae9a572a423e6f6 | [
"MIT"
] | 19 | 2021-02-09T18:01:05.000Z | 2021-08-25T04:50:44.000Z | elements/tests/views/test_tag_group.py | philsupertramp/wiki | b30ee58d63e55588ced06af4f6588c8dd6baba7e | [
"MIT"
] | null | null | null | from django.test import TestCase
class TagGroupTestCase(TestCase):
pass
| 11.285714 | 33 | 0.772152 | 9 | 79 | 6.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 79 | 6 | 34 | 13.166667 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5b0555a6a682143f1eb46433b80fa4fee249e56d | 138 | py | Python | ravens/__init__.py | EricCousineau-TRI/deformable-ravens | 6ff2443ba7f6673ba4696484e052441262cc14d7 | [
"Apache-2.0"
] | 98 | 2020-12-23T02:32:01.000Z | 2022-03-30T07:09:59.000Z | ravens/__init__.py | EricCousineau-TRI/deformable-ravens | 6ff2443ba7f6673ba4696484e052441262cc14d7 | [
"Apache-2.0"
] | 8 | 2020-12-22T16:17:24.000Z | 2021-10-13T23:44:48.000Z | ravens/__init__.py | EricCousineau-TRI/deformable-ravens | 6ff2443ba7f6673ba4696484e052441262cc14d7 | [
"Apache-2.0"
] | 26 | 2020-12-22T16:14:11.000Z | 2022-03-03T10:27:29.000Z | import ravens.tasks as tasks
import ravens.agents as agents
from ravens.dataset import Dataset
from ravens.environment import Environment
| 27.6 | 42 | 0.855072 | 20 | 138 | 5.9 | 0.4 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 138 | 4 | 43 | 34.5 | 0.967213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b0ae32b34d62ab55cda83ef27c85abaf5128942 | 31,807 | py | Python | py/pruning.py | mattliston/postgraduate_dissertation | 3f03be7c294863e9aaa0d247a78d18f9e78b6e89 | [
"MIT"
] | 1 | 2022-02-11T06:18:06.000Z | 2022-02-11T06:18:06.000Z | py/pruning.py | mattliston/postgraduate_dissertation | 3f03be7c294863e9aaa0d247a78d18f9e78b6e89 | [
"MIT"
] | null | null | null | py/pruning.py | mattliston/postgraduate_dissertation | 3f03be7c294863e9aaa0d247a78d18f9e78b6e89 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# # Imports
import numpy as np
import tensorflow as tf
import tensorflow_model_optimization as tfmot
import matplotlib.pyplot as plt
import json
import tempfile
import itertools
#from google.colab import drive
from mat4py import loadmat
print(tf.__version__)
# # Data pre-p... | 42.128477 | 292 | 0.687616 | 4,393 | 31,807 | 4.697701 | 0.073298 | 0.036633 | 0.043611 | 0.044774 | 0.864564 | 0.855163 | 0.850414 | 0.844793 | 0.839269 | 0.816979 | 0 | 0.034565 | 0.171377 | 31,807 | 754 | 293 | 42.18435 | 0.748444 | 0.15745 | 0 | 0.654628 | 0 | 0 | 0.179869 | 0.093421 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031603 | false | 0 | 0.022573 | 0.004515 | 0.092551 | 0.049661 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5b1b0e6043f032cf6ff2777d7ab419487030a9f7 | 410 | py | Python | pyctm/memory/memory.py | CST-Group/PyCTM | c42b6141fb0488a7ec16d7e7563184c4859f02a3 | [
"MIT"
] | null | null | null | pyctm/memory/memory.py | CST-Group/PyCTM | c42b6141fb0488a7ec16d7e7563184c4859f02a3 | [
"MIT"
] | null | null | null | pyctm/memory/memory.py | CST-Group/PyCTM | c42b6141fb0488a7ec16d7e7563184c4859f02a3 | [
"MIT"
] | null | null | null | class Memory:
def get_i(self) -> object:
pass
def get_name(self) -> str:
pass
def get_evaluation(self) -> float:
pass
def get_id(self) -> str:
pass
def set_i(self, i) -> None:
pass
def set_name(self, name) -> None:
pass
def set_evaluatio... | 15.769231 | 49 | 0.52439 | 54 | 410 | 3.833333 | 0.277778 | 0.236715 | 0.193237 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.365854 | 410 | 25 | 50 | 16.4 | 0.796154 | 0 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0.470588 | 0 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
d28893ac4f1adfc6b6ddd5696e1f9a0b95fb5fc9 | 97 | py | Python | logs/.gitkeep.py | wucaihua520/info | f8d1d3a40c3ea0ccfdf45a2e53bcc5d4e9128e40 | [
"MIT"
] | null | null | null | logs/.gitkeep.py | wucaihua520/info | f8d1d3a40c3ea0ccfdf45a2e53bcc5d4e9128e40 | [
"MIT"
] | null | null | null | logs/.gitkeep.py | wucaihua520/info | f8d1d3a40c3ea0ccfdf45a2e53bcc5d4e9128e40 | [
"MIT"
] | null | null | null | from flask import current_app
current_app.logger.debug('debug')
current_app.logger.error('error') | 32.333333 | 33 | 0.824742 | 15 | 97 | 5.133333 | 0.533333 | 0.38961 | 0.415584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 97 | 3 | 34 | 32.333333 | 0.836957 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d2e96b0cf503242c3bd1029fe1ade942741f3a8e | 188 | py | Python | system_b/site_up.py | objarni/gothpy_fun | 9678092e7da16bc307b263aa963863672901f050 | [
"MIT"
] | null | null | null | system_b/site_up.py | objarni/gothpy_fun | 9678092e7da16bc307b263aa963863672901f050 | [
"MIT"
] | null | null | null | system_b/site_up.py | objarni/gothpy_fun | 9678092e7da16bc307b263aa963863672901f050 | [
"MIT"
] | null | null | null |
def get_is_up_for(url):
# Fake implementation!
return '<html>fake HTML, get something real from http://is.up/!</html>'
def update_lamp_status(check_up=get_is_up_for):
pass
| 18.8 | 75 | 0.707447 | 31 | 188 | 4 | 0.612903 | 0.096774 | 0.112903 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 188 | 9 | 76 | 20.888889 | 0.794872 | 0.106383 | 0 | 0 | 0 | 0 | 0.378049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.25 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
82697303f89df19a3cc954dd38f43a32b36ee34b | 35 | py | Python | amocrm_api_client/repositories/core/__init__.py | iqtek/amocrm_api_client | 910ea42482698f5eb47d6b6e12d52ec09af77a3e | [
"MIT"
] | null | null | null | amocrm_api_client/repositories/core/__init__.py | iqtek/amocrm_api_client | 910ea42482698f5eb47d6b6e12d52ec09af77a3e | [
"MIT"
] | null | null | null | amocrm_api_client/repositories/core/__init__.py | iqtek/amocrm_api_client | 910ea42482698f5eb47d6b6e12d52ec09af77a3e | [
"MIT"
] | null | null | null | from .IPaginable import IPaginable
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82767f4c621ccfbdafef62ebe41f4b949c6d415f | 33 | py | Python | klusta_process_manager/server/__init__.py | tymoreau/app_launcher | 7697429d4233c9079eb9a6e3e62c724e008d261a | [
"BSD-3-Clause"
] | 2 | 2015-06-10T13:56:19.000Z | 2019-01-31T22:30:49.000Z | klusta_process_manager/server/__init__.py | tymoreau/app_launcher | 7697429d4233c9079eb9a6e3e62c724e008d261a | [
"BSD-3-Clause"
] | null | null | null | klusta_process_manager/server/__init__.py | tymoreau/app_launcher | 7697429d4233c9079eb9a6e3e62c724e008d261a | [
"BSD-3-Clause"
] | 1 | 2016-05-31T13:25:40.000Z | 2016-05-31T13:25:40.000Z | from .serverTCP import ServerTCP
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
828973d3f827eb106a99a15b273e5e557aa6d59b | 154 | py | Python | timpani/__init__.py | ollien/Timpani | 0d1aac467e0bcbe2d1dadb4e6c025315d6be45cb | [
"MIT"
] | 3 | 2015-10-16T11:26:53.000Z | 2016-08-28T19:28:52.000Z | timpani/__init__.py | ollien/timpani | 0d1aac467e0bcbe2d1dadb4e6c025315d6be45cb | [
"MIT"
] | 22 | 2015-09-14T23:00:07.000Z | 2016-07-22T08:39:39.000Z | timpani/__init__.py | ollien/timpani | 0d1aac467e0bcbe2d1dadb4e6c025315d6be45cb | [
"MIT"
] | null | null | null | from . import database
from . import blog
from . import auth
from . import configmanager
from . import wsgi
from . import themes
from .timpani import run
| 19.25 | 27 | 0.772727 | 22 | 154 | 5.409091 | 0.454545 | 0.504202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 154 | 7 | 28 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8294c191cdaafffdd0579b34994b3b52391a9821 | 145 | py | Python | utils/__init__.py | azimuth-san/pdaf-tracking | 99474b45023255c68c7c336b6151147cb81bbe65 | [
"MIT"
] | null | null | null | utils/__init__.py | azimuth-san/pdaf-tracking | 99474b45023255c68c7c336b6151147cb81bbe65 | [
"MIT"
] | null | null | null | utils/__init__.py | azimuth-san/pdaf-tracking | 99474b45023255c68c7c336b6151147cb81bbe65 | [
"MIT"
] | null | null | null | from .ellipse import EllipseData
from .ellipse import create_ellipse
from .gaussian import GaussianNoise
from .funcs import maharanobis_distance
| 29 | 39 | 0.862069 | 18 | 145 | 6.833333 | 0.555556 | 0.178862 | 0.276423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110345 | 145 | 4 | 40 | 36.25 | 0.953488 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82971da6bedb5c3bd91dfd212d6bf9ae8a4dfdc4 | 85 | py | Python | lib/django-1.5/django/contrib/gis/forms/__init__.py | MiCHiLU/google_appengine_sdk | 3da9f20d7e65e26c4938d2c4054bc4f39cbc5522 | [
"Apache-2.0"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | django/contrib/gis/forms/__init__.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | django/contrib/gis/forms/__init__.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | from django.forms import *
from django.contrib.gis.forms.fields import GeometryField
| 28.333333 | 57 | 0.835294 | 12 | 85 | 5.916667 | 0.666667 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 85 | 2 | 58 | 42.5 | 0.922078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82af57a2219f354950f70def09836f917465de0c | 14,535 | py | Python | test/test_modals.py | volfpeter/markyp-bootstrap4 | 1af5a1f9dc861a14323706ace28882ef6555739a | [
"MIT"
] | 21 | 2019-07-16T15:03:43.000Z | 2021-11-16T10:51:58.000Z | test/test_modals.py | volfpeter/markyp-bootstrap4 | 1af5a1f9dc861a14323706ace28882ef6555739a | [
"MIT"
] | null | null | null | test/test_modals.py | volfpeter/markyp-bootstrap4 | 1af5a1f9dc861a14323706ace28882ef6555739a | [
"MIT"
] | null | null | null | from markyp_bootstrap4.buttons import ButtonContext
from markyp_bootstrap4.modals import *
def test_title():
assert title.h1("Value").markup == '<h1 class="modal-title">Value</h1>'
assert title.h1("Value", class_="my-title", attr=42).markup == '<h1 attr="42" class="modal-title my-title">Value</h1>'
assert... | 51.725979 | 151 | 0.566151 | 1,674 | 14,535 | 4.84767 | 0.051374 | 0.108441 | 0.064079 | 0.046827 | 0.867776 | 0.830068 | 0.814787 | 0.768084 | 0.724338 | 0.713494 | 0 | 0.01225 | 0.230547 | 14,535 | 280 | 152 | 51.910714 | 0.71334 | 0 | 0 | 0.65587 | 0 | 0.153846 | 0.471895 | 0.164087 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.048583 | false | 0 | 0.008097 | 0 | 0.05668 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82bae48b6b47ef2ff8c94bf3b6ecac832fc1216a | 35 | py | Python | easytrader/dc/__init__.py | gitbillzone/easytrader | f944b7c43e53a91d00c7b52b0b6772e93ad6ee94 | [
"MIT"
] | null | null | null | easytrader/dc/__init__.py | gitbillzone/easytrader | f944b7c43e53a91d00c7b52b0b6772e93ad6ee94 | [
"MIT"
] | null | null | null | easytrader/dc/__init__.py | gitbillzone/easytrader | f944b7c43e53a91d00c7b52b0b6772e93ad6ee94 | [
"MIT"
] | null | null | null | from .data_center import DataCenter | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d8a13f5f116861da076c7b45a9cee03a98d2f2a | 33 | py | Python | cranlogs/__init__.py | sophiamyang/cranlogs | 1e9b3457df710c60fc860259331f7b03df5c6526 | [
"BSD-3-Clause"
] | null | null | null | cranlogs/__init__.py | sophiamyang/cranlogs | 1e9b3457df710c60fc860259331f7b03df5c6526 | [
"BSD-3-Clause"
] | null | null | null | cranlogs/__init__.py | sophiamyang/cranlogs | 1e9b3457df710c60fc860259331f7b03df5c6526 | [
"BSD-3-Clause"
] | null | null | null | from .core import cran_downloads
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7da83126ace35cfbc5125715d51b7d1849f750ee | 208 | py | Python | credentials.py | kmpoltorak/twilioapi-send-sms | fd03fdde043f27ef5d42315fdddf597208901b33 | [
"MIT"
] | null | null | null | credentials.py | kmpoltorak/twilioapi-send-sms | fd03fdde043f27ef5d42315fdddf597208901b33 | [
"MIT"
] | null | null | null | credentials.py | kmpoltorak/twilioapi-send-sms | fd03fdde043f27ef5d42315fdddf597208901b33 | [
"MIT"
] | null | null | null | # Constants
# Twilio API account unique SID
ACCOUNT_SID = 'PASTE_YOUR_TWILIO_ACCOUNT_SID_HERE'
# Twilio API account unique authentication token
AUTH_TOKEN = 'PASTE_YOUR_TWILIO_ACCOUNT_AUTH_TOKEN_HERE' | 29.714286 | 56 | 0.822115 | 29 | 208 | 5.448276 | 0.413793 | 0.113924 | 0.202532 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 208 | 7 | 56 | 29.714286 | 0.877778 | 0.413462 | 0 | 0 | 0 | 0 | 0.663717 | 0.663717 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7deb4c199564af862d15f957ec7680c9c5f12852 | 2,472 | py | Python | app/selenium_ui/jira_ui.py | dsplugins/dc-app-performance-toolkit | 0a1bb0f8d40f1dc4104aebe926695238a0ef3d00 | [
"Apache-2.0"
] | null | null | null | app/selenium_ui/jira_ui.py | dsplugins/dc-app-performance-toolkit | 0a1bb0f8d40f1dc4104aebe926695238a0ef3d00 | [
"Apache-2.0"
] | null | null | null | app/selenium_ui/jira_ui.py | dsplugins/dc-app-performance-toolkit | 0a1bb0f8d40f1dc4104aebe926695238a0ef3d00 | [
"Apache-2.0"
] | null | null | null | from selenium_ui.jira import modules
from extension.jira import extension_ui # noqa F401
# this action should be the first one
def test_0_selenium_a_login(webdriver, jira_datasets, jira_screen_shots):
modules.login(webdriver, jira_datasets)
def test_1_selenium_browse_projects_list(webdriver, jira_datasets, jir... | 35.314286 | 102 | 0.835761 | 356 | 2,472 | 5.36236 | 0.202247 | 0.204295 | 0.330016 | 0.196438 | 0.792038 | 0.711891 | 0.646412 | 0.53693 | 0.22001 | 0.113148 | 0 | 0.008072 | 0.097896 | 2,472 | 69 | 103 | 35.826087 | 0.847982 | 0.09021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0 | 0.066667 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 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 | 6 |
81812f6a65cbe65b3844f19f0bb550473c81cfa1 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_internal/cli/status_codes.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_internal/cli/status_codes.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_internal/cli/status_codes.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/b0/41/47/51a5096eabfc880acbdc702d733b5666618e157d358537ac4b2b43121d | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
819735a8acdbb4a5edd0df8bc47044fc062baa34 | 3,849 | py | Python | notifications/migrations/0001_initial.py | ezkat/linkedevents | fa942f21825d2832328bf339904c72f4d3a414b5 | [
"MIT"
] | 20 | 2015-05-28T16:02:00.000Z | 2021-07-14T06:36:19.000Z | notifications/migrations/0001_initial.py | ezkat/linkedevents | fa942f21825d2832328bf339904c72f4d3a414b5 | [
"MIT"
] | 358 | 2015-02-04T09:07:19.000Z | 2022-03-28T12:10:22.000Z | notifications/migrations/0001_initial.py | ezkat/linkedevents | fa942f21825d2832328bf339904c72f4d3a414b5 | [
"MIT"
] | 38 | 2015-02-23T13:16:02.000Z | 2021-12-13T07:48:23.000Z | # Generated by Django 2.2.9 on 2020-01-14 08:44
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='NotificationTemplate',
fields=[
('id', mode... | 81.893617 | 252 | 0.669784 | 470 | 3,849 | 5.293617 | 0.155319 | 0.110531 | 0.177251 | 0.13746 | 0.77492 | 0.77492 | 0.761254 | 0.758039 | 0.746785 | 0.741961 | 0 | 0.012573 | 0.194076 | 3,849 | 46 | 253 | 83.673913 | 0.789491 | 0.011691 | 0 | 0 | 1 | 0 | 0.325618 | 0.006575 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.128205 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c49418b35a29e42c56df370762413fe20fdb6002 | 2,866 | py | Python | sdk/python/pulumi_google_native/bigqueryreservation/v1beta1/_enums.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/bigqueryreservation/v1beta1/_enums.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/bigqueryreservation/v1beta1/_enums.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from enum import Enum
__all__ = [
'CapacityCommitmentPlan',
'CapacityCommitmentRenewalPlan',
]
class CapacityCommitmentPlan(str, Enum):
... | 45.492063 | 273 | 0.721563 | 394 | 2,866 | 5.192893 | 0.251269 | 0.109971 | 0.078201 | 0.093842 | 0.771261 | 0.771261 | 0.771261 | 0.771261 | 0.771261 | 0.771261 | 0 | 0.008411 | 0.211793 | 2,866 | 62 | 274 | 46.225806 | 0.8973 | 0.142359 | 0 | 0.588235 | 1 | 0 | 0.267504 | 0.18851 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.764706 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4a2d6eaac8229b68c75ef91faa30fa6a9d44bf2 | 229 | py | Python | enb/__init__.py | G-AshwinKumar/experiment-notebook | aae1c5fb9ef8f84dce5d75989ed8975797282f37 | [
"MIT"
] | null | null | null | enb/__init__.py | G-AshwinKumar/experiment-notebook | aae1c5fb9ef8f84dce5d75989ed8975797282f37 | [
"MIT"
] | null | null | null | enb/__init__.py | G-AshwinKumar/experiment-notebook | aae1c5fb9ef8f84dce5d75989ed8975797282f37 | [
"MIT"
] | null | null | null | from . import singleton_cli
from . import atable
from . import aanalysis
from . import sets
from . import isets
from . import icompression
from . import pgm
from . import aanalysis
from . import plotdata
from . import ray_cluster | 22.9 | 27 | 0.786026 | 32 | 229 | 5.5625 | 0.40625 | 0.561798 | 0.213483 | 0.258427 | 0.325843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170306 | 229 | 10 | 28 | 22.9 | 0.936842 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4c959075ee8da7dffcadfbacf6b54ef194eab0b | 19,991 | py | Python | rl_bakery/contrib/test_py_prioritized_replay_buffer.py | pzhongp/rl-bakery | cf0887be7ca424ed81b48e5f9a304d9c6b201fe2 | [
"Apache-2.0"
] | 1 | 2022-01-07T21:13:21.000Z | 2022-01-07T21:13:21.000Z | rl_bakery/contrib/test_py_prioritized_replay_buffer.py | pzhongp/rl-bakery | cf0887be7ca424ed81b48e5f9a304d9c6b201fe2 | [
"Apache-2.0"
] | 142 | 2021-06-17T22:03:18.000Z | 2021-12-20T01:17:49.000Z | rl_bakery/contrib/test_py_prioritized_replay_buffer.py | jtimberlake/rl-bakery | d91469bc8923d4e9b3605580b1f374632d029ad0 | [
"Apache-2.0"
] | null | null | null | #
# Based on work found at:
# https://github.com/tensorflow/agents/blob/master/tf_agents/replay_buffers/py_replay_buffers_test.py
#
"""Unit tests for PyPrioritizedReplayBuffer."""
from __future__ import division
from __future__ import unicode_literals
from absl.testing import parameterized
import numpy as np
import ... | 43.177106 | 119 | 0.617428 | 2,470 | 19,991 | 4.764372 | 0.090283 | 0.054045 | 0.044613 | 0.030846 | 0.794528 | 0.779062 | 0.774728 | 0.76793 | 0.76793 | 0.764616 | 0 | 0.04287 | 0.31039 | 19,991 | 462 | 120 | 43.270563 | 0.81075 | 0.13396 | 0 | 0.771875 | 0 | 0 | 0.003243 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 1 | 0.040625 | false | 0 | 0.034375 | 0 | 0.078125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4e7b4f664b37b252684009608b98999f59f2d90 | 91 | py | Python | src/manifestoo/__main__.py | article714/manifestoo | 8a99bd1a11e2356b2383557c659045cee4aedf2c | [
"MIT"
] | 7 | 2021-04-30T22:34:33.000Z | 2022-03-21T23:11:55.000Z | src/manifestoo/__main__.py | article714/manifestoo | 8a99bd1a11e2356b2383557c659045cee4aedf2c | [
"MIT"
] | 19 | 2021-05-24T12:13:28.000Z | 2022-03-29T14:30:07.000Z | src/manifestoo/__main__.py | article714/manifestoo | 8a99bd1a11e2356b2383557c659045cee4aedf2c | [
"MIT"
] | 6 | 2021-05-26T08:38:41.000Z | 2022-02-24T16:43:20.000Z | from .main import app # pragma: no cover
app(prog_name="manifestoo") # pragma: no cover
| 22.75 | 47 | 0.714286 | 14 | 91 | 4.571429 | 0.714286 | 0.25 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175824 | 91 | 3 | 48 | 30.333333 | 0.853333 | 0.362637 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f20e102611f6c51b0a3ec23446ee5c41d4700763 | 150 | py | Python | guillotina_cms/blocks/types.py | alteroo/guillotina_cms | a8ea0efd2ad4f4ab9fab484fe55f41abd37cdac8 | [
"BSD-2-Clause"
] | 5 | 2018-11-11T07:19:06.000Z | 2020-01-18T11:04:15.000Z | guillotina_cms/blocks/types.py | alteroo/guillotina_cms | a8ea0efd2ad4f4ab9fab484fe55f41abd37cdac8 | [
"BSD-2-Clause"
] | 4 | 2018-09-20T14:44:17.000Z | 2018-10-23T12:16:45.000Z | guillotina_cms/blocks/types.py | alteroo/guillotina_cms | a8ea0efd2ad4f4ab9fab484fe55f41abd37cdac8 | [
"BSD-2-Clause"
] | 2 | 2019-06-14T10:42:22.000Z | 2020-05-09T13:09:09.000Z |
from guillotina_cms.interfaces import IBlockType
from zope.interface import implementer
@implementer(IBlockType)
class BlockType(object):
pass
| 16.666667 | 48 | 0.82 | 17 | 150 | 7.176471 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126667 | 150 | 8 | 49 | 18.75 | 0.931298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
48027404ca600e4fae6f49a394675c345cf2234c | 124 | py | Python | command/test/integration/fake_repository/commit_016/a.py | skylerberg/pyre-check | e7967e5ee65dd09608f162cdb36a5b0919aeb5e3 | [
"MIT"
] | 5 | 2019-02-14T19:46:47.000Z | 2020-01-16T05:48:45.000Z | command/test/integration/fake_repository/commit_016/a.py | skylerberg/pyre-check | e7967e5ee65dd09608f162cdb36a5b0919aeb5e3 | [
"MIT"
] | 4 | 2022-02-15T02:42:33.000Z | 2022-02-28T01:30:07.000Z | command/test/integration/fake_repository/commit_016/a.py | skylerberg/pyre-check | e7967e5ee65dd09608f162cdb36a5b0919aeb5e3 | [
"MIT"
] | 2 | 2019-02-14T19:46:23.000Z | 2020-07-13T03:53:04.000Z | # Test: Add pyre-strict (change mode)
#!/usr/bin/env python3
from typing import Any
def foo(x: Any) -> str:
return x
| 13.777778 | 37 | 0.66129 | 21 | 124 | 3.904762 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.209677 | 124 | 8 | 38 | 15.5 | 0.826531 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
483315466a54a07b3077e549bffd5ee28bb51d0e | 92 | py | Python | application/tasks/main.py | ActiveChooN/flask-app-template | b0134cdd95bb2e4c074b47db3e2f9ba5184e2ab8 | [
"MIT"
] | null | null | null | application/tasks/main.py | ActiveChooN/flask-app-template | b0134cdd95bb2e4c074b47db3e2f9ba5184e2ab8 | [
"MIT"
] | null | null | null | application/tasks/main.py | ActiveChooN/flask-app-template | b0134cdd95bb2e4c074b47db3e2f9ba5184e2ab8 | [
"MIT"
] | null | null | null | from application import celery
@celery.task
def simple_task():
return "Hello, world!"
| 13.142857 | 30 | 0.728261 | 12 | 92 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 6 | 31 | 15.333333 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
485766fcf268636d91ea6235e2969a9cbe1677b0 | 1,268 | py | Python | linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0.1/Lib/headstock/example/microblog/microblog/atompub/resource.py | mdavid/nuxleus | 653f1310d8bf08eaa5a7e3326c2349e56a6abdc2 | [
"BSD-3-Clause"
] | 1 | 2017-03-28T06:41:51.000Z | 2017-03-28T06:41:51.000Z | linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0.1/Lib/headstock/example/microblog/microblog/atompub/resource.py | mdavid/nuxleus | 653f1310d8bf08eaa5a7e3326c2349e56a6abdc2 | [
"BSD-3-Clause"
] | null | null | null | linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0.1/Lib/headstock/example/microblog/microblog/atompub/resource.py | mdavid/nuxleus | 653f1310d8bf08eaa5a7e3326c2349e56a6abdc2 | [
"BSD-3-Clause"
] | 1 | 2016-12-13T21:08:58.000Z | 2016-12-13T21:08:58.000Z | # -*- coding: utf-8 -*-
import time
from amplee.atompub.member import MemberResource
from amplee.error import ResourceOperationException
from amplee.utils import extract_url_trail
__all__ = ['ResourceWrapper', 'ProfileResource']
class ResourceWrapper(MemberResource):
def generate_resource_id(self, entry=None, slu... | 35.222222 | 73 | 0.620662 | 160 | 1,268 | 4.80625 | 0.35 | 0.026008 | 0.058518 | 0.085826 | 0.715215 | 0.715215 | 0.715215 | 0.715215 | 0.715215 | 0.715215 | 0 | 0.005411 | 0.271293 | 1,268 | 35 | 74 | 36.228571 | 0.82684 | 0.171136 | 0 | 0.695652 | 0 | 0 | 0.107383 | 0.065197 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.173913 | 0 | 0.608696 | 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 | 1 | 0 | 0 | 6 |
6f85060a0199b9f3b52f24de20cbb60d714c28e2 | 4,330 | py | Python | tests/roles/werewolf/wolf_test.py | TylerYep/wolfbot | 8d4786ce9542bab344b227e0571bb24bc354298d | [
"MIT"
] | 3 | 2018-06-16T00:03:30.000Z | 2021-12-26T20:48:45.000Z | tests/roles/werewolf/wolf_test.py | TylerYep/wolfbot | 8d4786ce9542bab344b227e0571bb24bc354298d | [
"MIT"
] | null | null | null | tests/roles/werewolf/wolf_test.py | TylerYep/wolfbot | 8d4786ce9542bab344b227e0571bb24bc354298d | [
"MIT"
] | 2 | 2021-03-03T09:31:35.000Z | 2021-03-03T10:02:55.000Z | from tests.conftest import set_roles
from wolfbot import const
from wolfbot.enums import Role
from wolfbot.roles import Wolf
from wolfbot.statements import KnowledgeBase
class TestWolf:
"""Tests for the Wolf player class."""
@staticmethod
def test_awake_init_medium(medium_game_roles: tuple[Role, ...]) ->... | 34.365079 | 82 | 0.666282 | 535 | 4,330 | 5.134579 | 0.147664 | 0.096105 | 0.06225 | 0.052421 | 0.867492 | 0.828904 | 0.80233 | 0.769931 | 0.769931 | 0.752093 | 0 | 0.009798 | 0.245727 | 4,330 | 125 | 83 | 34.64 | 0.831292 | 0.201386 | 0 | 0.649351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.103896 | false | 0 | 0.064935 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f939e07bc1c7c941c70d593f519002a60483ca5 | 30 | py | Python | tests/test_sample.py | cosmicprop/EDGE | 07cc6bf051297c9239824a05552b5a1765ad4030 | [
"BSD-3-Clause"
] | null | null | null | tests/test_sample.py | cosmicprop/EDGE | 07cc6bf051297c9239824a05552b5a1765ad4030 | [
"BSD-3-Clause"
] | null | null | null | tests/test_sample.py | cosmicprop/EDGE | 07cc6bf051297c9239824a05552b5a1765ad4030 | [
"BSD-3-Clause"
] | null | null | null | import edge
# Run EDGE tests
| 7.5 | 16 | 0.733333 | 5 | 30 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 3 | 17 | 10 | 0.956522 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d201fa221c48a45ad03721c230717b02474085c4 | 188 | py | Python | pizzeriaproj/pizzeria/admin.py | generocha/pizzeria | 9076d45e3ffc01ba93a7f6854db39b1005de090e | [
"MIT"
] | null | null | null | pizzeriaproj/pizzeria/admin.py | generocha/pizzeria | 9076d45e3ffc01ba93a7f6854db39b1005de090e | [
"MIT"
] | null | null | null | pizzeriaproj/pizzeria/admin.py | generocha/pizzeria | 9076d45e3ffc01ba93a7f6854db39b1005de090e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import PizzaType, Pizza
# Register your models here.
admin.site.register(PizzaType)
admin.site.register(Pizza)
# Register your models here.
| 20.888889 | 36 | 0.797872 | 26 | 188 | 5.769231 | 0.461538 | 0.173333 | 0.226667 | 0.306667 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12234 | 188 | 8 | 37 | 23.5 | 0.909091 | 0.281915 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d2105a34186ff143dbca67bd8680b8c8ba8ed4e5 | 95 | py | Python | backend/helper/__init__.py | Integration-Continue-TP/societe-pieces-auto | 80b7efa472531553026c6393c422e899e17c857c | [
"MIT"
] | null | null | null | backend/helper/__init__.py | Integration-Continue-TP/societe-pieces-auto | 80b7efa472531553026c6393c422e899e17c857c | [
"MIT"
] | null | null | null | backend/helper/__init__.py | Integration-Continue-TP/societe-pieces-auto | 80b7efa472531553026c6393c422e899e17c857c | [
"MIT"
] | null | null | null | from flask import Blueprint
helper = Blueprint('helper', __name__)
from .DateHelper import *
| 15.833333 | 38 | 0.768421 | 11 | 95 | 6.272727 | 0.636364 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 95 | 5 | 39 | 19 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.063158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 6 |
d2595899e553e504f4437aa174066afdb09fe2ca | 5,816 | py | Python | projects/PointsColletion/pointscollection/loss.py | li-haoran/detectron2 | 84aebaaed19b07cce9dfd579f98b09ad4ed22e90 | [
"Apache-2.0"
] | null | null | null | projects/PointsColletion/pointscollection/loss.py | li-haoran/detectron2 | 84aebaaed19b07cce9dfd579f98b09ad4ed22e90 | [
"Apache-2.0"
] | null | null | null | projects/PointsColletion/pointscollection/loss.py | li-haoran/detectron2 | 84aebaaed19b07cce9dfd579f98b09ad4ed22e90 | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from pointscollection.layers.emd import emd_function
def chamfer_loss(pred_points,gt_points):
p2pdistance=torch.sum(torch.abs((pred_points-gt_points)),dim=2)
dist1,_=torch.min(p2pdistance,dim=1)
dist2,_=torch.min(p2pdistance,dim=2)
d... | 32.311111 | 98 | 0.721458 | 973 | 5,816 | 4.014388 | 0.085303 | 0.116743 | 0.086022 | 0.059908 | 0.818484 | 0.811316 | 0.759089 | 0.726831 | 0.717358 | 0.717358 | 0 | 0.037755 | 0.148384 | 5,816 | 179 | 99 | 32.49162 | 0.750858 | 0.076513 | 0 | 0.699115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061947 | false | 0 | 0.035398 | 0 | 0.159292 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d25f6c568e332378f81f43fcf9e93a49a97c289e | 147 | py | Python | bjcpy/all_styles.py | blackelbow/bjcpy | 98d6d93c9160f2c52b0b4cbc15bf78fef4ebee96 | [
"MIT"
] | null | null | null | bjcpy/all_styles.py | blackelbow/bjcpy | 98d6d93c9160f2c52b0b4cbc15bf78fef4ebee96 | [
"MIT"
] | null | null | null | bjcpy/all_styles.py | blackelbow/bjcpy | 98d6d93c9160f2c52b0b4cbc15bf78fef4ebee96 | [
"MIT"
] | 1 | 2020-06-22T23:43:08.000Z | 2020-06-22T23:43:08.000Z | from .style_data import dict_of_styles
def all_styles():
"""Return a list of every BJCP style"""
return list(dict_of_styles.keys())
| 18.375 | 43 | 0.693878 | 23 | 147 | 4.173913 | 0.652174 | 0.125 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 147 | 7 | 44 | 21 | 0.820513 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9673f524afe7485b005b5fedcc68e5f7860cd122 | 3,983 | py | Python | my_topo.py | fno2010/pwospf-p4-kerim | 7c8709990d415f326e8c514e17d37cff243db5cc | [
"Apache-2.0"
] | null | null | null | my_topo.py | fno2010/pwospf-p4-kerim | 7c8709990d415f326e8c514e17d37cff243db5cc | [
"Apache-2.0"
] | null | null | null | my_topo.py | fno2010/pwospf-p4-kerim | 7c8709990d415f326e8c514e17d37cff243db5cc | [
"Apache-2.0"
] | null | null | null | from mininet.topo import Topo
class SingleSwitchTopo(Topo):
def __init__(self, n, **opts):
Topo.__init__(self, **opts)
switch = self.addSwitch('s1')
for i in xrange(1, n + 1):
host = self.addHost('h%d' % i,
ip="10.0.0.%d" % i,
... | 37.933333 | 104 | 0.427567 | 540 | 3,983 | 3.068519 | 0.133333 | 0.038624 | 0.032589 | 0.050694 | 0.798431 | 0.750151 | 0.750151 | 0.741702 | 0.723597 | 0.723597 | 0 | 0.118094 | 0.40472 | 3,983 | 104 | 105 | 38.298077 | 0.580768 | 0.12001 | 0 | 0.822785 | 0 | 0 | 0.075536 | 0.036052 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050633 | false | 0 | 0.012658 | 0 | 0.113924 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96a0b30cb73000c6609979d284417ab871a0e4b9 | 21,267 | py | Python | tests/rest/auth/test_cli.py | jdries/openeo-python-client | 63e70bdb27749ba51553bb3fa46135125d8bc9d9 | [
"Apache-2.0"
] | 1 | 2017-10-13T09:27:46.000Z | 2017-10-13T09:27:46.000Z | tests/rest/auth/test_cli.py | jdries/openeo-python-client | 63e70bdb27749ba51553bb3fa46135125d8bc9d9 | [
"Apache-2.0"
] | null | null | null | tests/rest/auth/test_cli.py | jdries/openeo-python-client | 63e70bdb27749ba51553bb3fa46135125d8bc9d9 | [
"Apache-2.0"
] | null | null | null | import logging
from unittest import mock
import pytest
from openeo.rest.auth import cli
from openeo.rest.auth.cli import CliToolException
from openeo.rest.auth.config import AuthConfig, RefreshTokenStore
from .test_oidc import OidcMock, assert_device_code_poll_sleep
def mock_input(*args: str):
"""Mock user inpu... | 46.232609 | 119 | 0.665209 | 2,786 | 21,267 | 4.864681 | 0.080761 | 0.0425 | 0.06375 | 0.0546 | 0.85826 | 0.840478 | 0.827418 | 0.815096 | 0.811702 | 0.780196 | 0 | 0.012092 | 0.163916 | 21,267 | 459 | 120 | 46.333333 | 0.750127 | 0.013542 | 0 | 0.697548 | 0 | 0 | 0.353935 | 0.022145 | 0 | 0 | 0 | 0 | 0.171662 | 1 | 0.073569 | false | 0.002725 | 0.019074 | 0 | 0.103542 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96b98e477df50a549fbcc8d02d02a9d8d6604624 | 7,964 | py | Python | ensemble/forest.py | adityajn105/MLfromScratch | ea0758d4039051268d7f3af8799e2b005dbc2ebe | [
"MIT"
] | 16 | 2019-12-17T04:24:51.000Z | 2021-12-15T18:31:41.000Z | ensemble/forest.py | adityajn105/MLfromScratch | ea0758d4039051268d7f3af8799e2b005dbc2ebe | [
"MIT"
] | null | null | null | ensemble/forest.py | adityajn105/MLfromScratch | ea0758d4039051268d7f3af8799e2b005dbc2ebe | [
"MIT"
] | 5 | 2019-12-17T04:24:55.000Z | 2022-01-23T15:18:24.000Z | """
Authors : Aditya Jain
Contact : https://adityajain.me
"""
import numpy as np
from ..tree import DecisionTreeClassifier
from ..tree import DecisionTreeRegressor
class RandomForestClassifier():
"""
Random Forest fits number of decision tree on various sub-samples of the dataset and uses averaging to improve the ... | 30.868217 | 161 | 0.690231 | 1,136 | 7,964 | 4.609155 | 0.159331 | 0.024828 | 0.034377 | 0.013751 | 0.819901 | 0.819901 | 0.801184 | 0.774064 | 0.753247 | 0.743316 | 0 | 0.00737 | 0.182195 | 7,964 | 258 | 162 | 30.868217 | 0.796561 | 0.409216 | 0 | 0.693878 | 0 | 0 | 0.030773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153061 | false | 0 | 0.030612 | 0.020408 | 0.295918 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
738d82db9d93ede603f083ea3611e75dacabf1ff | 61 | py | Python | calamari_ocr/ocr/dataset/datareader/generated_line_dataset/__init__.py | jacektl/calamari | 980477aefe4e56f7fc373119c1b38649798d8686 | [
"Apache-2.0"
] | 922 | 2018-07-06T05:18:22.000Z | 2022-03-22T12:38:32.000Z | calamari_ocr/ocr/dataset/datareader/generated_line_dataset/__init__.py | jacektl/calamari | 980477aefe4e56f7fc373119c1b38649798d8686 | [
"Apache-2.0"
] | 267 | 2018-07-14T22:10:41.000Z | 2022-03-28T18:38:43.000Z | calamari_ocr/ocr/dataset/datareader/generated_line_dataset/__init__.py | jacektl/calamari | 980477aefe4e56f7fc373119c1b38649798d8686 | [
"Apache-2.0"
] | 227 | 2018-07-06T07:42:16.000Z | 2022-02-27T05:29:59.000Z | from .params import LineGeneratorParams, TextGeneratorParams
| 30.5 | 60 | 0.885246 | 5 | 61 | 10.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 61 | 1 | 61 | 61 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7392ee2a31fc1ab38599d63f5fbfc05bfce7583d | 54 | py | Python | src/clasterization/tasks/__init__.py | mstrechen/advanced-news-scraper | dc54a057eb7c14d0e390b82f6b308f5a924cb966 | [
"MIT"
] | null | null | null | src/clasterization/tasks/__init__.py | mstrechen/advanced-news-scraper | dc54a057eb7c14d0e390b82f6b308f5a924cb966 | [
"MIT"
] | 3 | 2021-04-06T18:16:57.000Z | 2021-12-13T20:55:52.000Z | src/clasterization/tasks/__init__.py | mstrechen/advanced-news-scraper | dc54a057eb7c14d0e390b82f6b308f5a924cb966 | [
"MIT"
] | null | null | null | # flake8: noqa
from .apply_tags import apply_tags_task | 27 | 39 | 0.833333 | 9 | 54 | 4.666667 | 0.777778 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.111111 | 54 | 2 | 39 | 27 | 0.854167 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73aaf8a43ab7a63495196bac69e3f479fe49cf1c | 12,336 | py | Python | tests/test_run.py | datamaterials/spyns | 68e8412ba003e2d882373db93f322497be7bff93 | [
"MIT"
] | 9 | 2019-12-06T06:54:04.000Z | 2022-03-14T00:16:47.000Z | tests/test_run.py | jkglasbrenner/spyns | 68e8412ba003e2d882373db93f322497be7bff93 | [
"MIT"
] | 1 | 2018-10-31T16:41:07.000Z | 2018-11-19T21:19:56.000Z | tests/test_run.py | datamaterials/spyns | 68e8412ba003e2d882373db93f322497be7bff93 | [
"MIT"
] | 2 | 2019-12-06T06:06:45.000Z | 2020-02-12T11:35:30.000Z | # -*- coding: utf-8 -*-
from typing import Tuple, Union
import numpy as np
import pymatgen as pmg
import pytest
from spyns.data import StructureParameters, SimulationParameters, SimulationData
from spyns.lattice import Lattice
import spyns
@pytest.fixture()
def two_dimensional_square_lattice() -> pmg.Structure:
... | 33.072386 | 88 | 0.623217 | 1,498 | 12,336 | 4.935915 | 0.092123 | 0.011361 | 0.013389 | 0.014606 | 0.891804 | 0.856776 | 0.854071 | 0.841899 | 0.841223 | 0.810793 | 0 | 0.047204 | 0.228923 | 12,336 | 372 | 89 | 33.16129 | 0.73013 | 0.554718 | 0 | 0.423841 | 0 | 0 | 0.040174 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 1 | 0.033113 | false | 0 | 0.046358 | 0.006623 | 0.10596 | 0.019868 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
73b8ba3c255a6ebf9764ad50cad9e068b8654661 | 197 | py | Python | src/training/Core2/Chapter6Sequences/exercise_6_14.py | MagicForest/Python | 8af56e9384061504f05b229467c922ba71a433cb | [
"Apache-2.0"
] | null | null | null | src/training/Core2/Chapter6Sequences/exercise_6_14.py | MagicForest/Python | 8af56e9384061504f05b229467c922ba71a433cb | [
"Apache-2.0"
] | null | null | null | src/training/Core2/Chapter6Sequences/exercise_6_14.py | MagicForest/Python | 8af56e9384061504f05b229467c922ba71a433cb | [
"Apache-2.0"
] | null | null | null |
def rock_paper_scissors():
return result
def test_rock_paper_scissors():
print '------test_rock_paper_scissors is passed. ^__^-----'
if __name__ == '__main__':
test() | 15.153846 | 64 | 0.619289 | 22 | 197 | 4.727273 | 0.590909 | 0.259615 | 0.490385 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233503 | 197 | 13 | 65 | 15.153846 | 0.688742 | 0 | 0 | 0 | 0 | 0 | 0.318919 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.166667 | 0 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
73be8a8baa25c60454d3d74c9dacf5230e9859a4 | 90 | py | Python | mobie/migration/migrate_v2/__init__.py | platybrowser/mobie-python | 43341cd92742016a3a0d602325bb93b94c3b4c36 | [
"MIT"
] | 1 | 2020-03-03T01:33:06.000Z | 2020-03-03T01:33:06.000Z | mobie/migration/migrate_v2/__init__.py | platybrowser/mobie-python | 43341cd92742016a3a0d602325bb93b94c3b4c36 | [
"MIT"
] | 4 | 2020-05-15T09:27:59.000Z | 2020-05-29T19:15:00.000Z | mobie/migration/migrate_v2/__init__.py | platybrowser/mobie-python | 43341cd92742016a3a0d602325bb93b94c3b4c36 | [
"MIT"
] | 2 | 2020-06-08T07:06:01.000Z | 2020-06-08T07:08:08.000Z | from .migrate_project import migrate_project
from .migrate_dataset import migrate_dataset
| 30 | 44 | 0.888889 | 12 | 90 | 6.333333 | 0.416667 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73d55c605f99a47ec0c66d3e3711c529e6b7aabb | 214 | py | Python | call_tracking/admin.py | ababen/call-tracking-django | d6bee30f12eeccf9516867d24507b0ce1e15c386 | [
"MIT"
] | 17 | 2015-09-11T21:17:37.000Z | 2021-03-09T23:40:21.000Z | call_tracking/admin.py | ababen/call-tracking-django | d6bee30f12eeccf9516867d24507b0ce1e15c386 | [
"MIT"
] | 111 | 2015-08-26T21:14:42.000Z | 2022-03-24T03:26:53.000Z | call_tracking/admin.py | ababen/call-tracking-django | d6bee30f12eeccf9516867d24507b0ce1e15c386 | [
"MIT"
] | 20 | 2015-09-16T14:22:49.000Z | 2022-03-11T18:47:33.000Z | from django.contrib import admin
from .models import LeadSource, Lead
# Register our models with the basic ModelAdmin
admin.site.register(LeadSource, admin.ModelAdmin)
admin.site.register(Lead, admin.ModelAdmin)
| 26.75 | 49 | 0.817757 | 29 | 214 | 6.034483 | 0.517241 | 0.171429 | 0.217143 | 0.308571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107477 | 214 | 7 | 50 | 30.571429 | 0.91623 | 0.21028 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
73d6f2e1ed31e8379e78cd187264c6c289341b8a | 91 | py | Python | old/science/experiments/kmeans/kmeans.py | connorwalsh/connorwalsh.github.io | 99531abd99320768d8595695aaccb56347d15dfe | [
"MIT"
] | null | null | null | old/science/experiments/kmeans/kmeans.py | connorwalsh/connorwalsh.github.io | 99531abd99320768d8595695aaccb56347d15dfe | [
"MIT"
] | null | null | null | old/science/experiments/kmeans/kmeans.py | connorwalsh/connorwalsh.github.io | 99531abd99320768d8595695aaccb56347d15dfe | [
"MIT"
] | null | null | null | #/usr/bin/python
import numpy as np
import matplotlib as mpl
import matplotlib.pyplt as plt | 22.75 | 30 | 0.813187 | 16 | 91 | 4.625 | 0.6875 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 4 | 30 | 22.75 | 0.936709 | 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 | 1 | 0 | 0 | 6 |
73e13fbafd00501351f9ca956d1b581e8fd48903 | 5,439 | py | Python | tests/cli/test_patch_tool.py | mr-mixas/nddiff.py | d8b613f31cc2390c370cfa3342c42def484751fe | [
"Apache-2.0"
] | null | null | null | tests/cli/test_patch_tool.py | mr-mixas/nddiff.py | d8b613f31cc2390c370cfa3342c42def484751fe | [
"Apache-2.0"
] | null | null | null | tests/cli/test_patch_tool.py | mr-mixas/nddiff.py | d8b613f31cc2390c370cfa3342c42def484751fe | [
"Apache-2.0"
] | null | null | null | import io
import json
import pytest
from unittest import mock
from shutil import copyfile
import nested_diff.patch_tool
def test_default_patch(capsys, content, fullname, tmp_path):
result_file_name = '{}.got.json'.format(tmp_path)
copyfile(
fullname('lists.a.json', shared=True),
result_file_... | 28.036082 | 75 | 0.640927 | 681 | 5,439 | 4.910426 | 0.118943 | 0.095694 | 0.133971 | 0.0625 | 0.84988 | 0.825658 | 0.801734 | 0.799342 | 0.788278 | 0.747907 | 0 | 0.002344 | 0.215665 | 5,439 | 193 | 76 | 28.181347 | 0.781528 | 0.004596 | 0 | 0.671141 | 0 | 0 | 0.092203 | 0 | 0 | 0 | 0 | 0 | 0.241611 | 1 | 0.067114 | false | 0 | 0.040268 | 0 | 0.107383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb4a1a0e2c89bbe2d315c8b5c1e9101f66ea27a5 | 1,255 | py | Python | lightly/openapi_generated/swagger_client/api/__init__.py | umami-ware/lightly | 5d70b34df7f784af249f9e9a6bfd6256756a877f | [
"MIT"
] | null | null | null | lightly/openapi_generated/swagger_client/api/__init__.py | umami-ware/lightly | 5d70b34df7f784af249f9e9a6bfd6256756a877f | [
"MIT"
] | null | null | null | lightly/openapi_generated/swagger_client/api/__init__.py | umami-ware/lightly | 5d70b34df7f784af249f9e9a6bfd6256756a877f | [
"MIT"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from lightly.openapi_generated.swagger_client.api.datasets_api import DatasetsApi
from lightly.openapi_generated.swagger_client.api.datasources_api import DatasourcesApi
from lightly.openapi_generated.swagger_client.api.embeddings_ap... | 62.75 | 111 | 0.896414 | 168 | 1,255 | 6.404762 | 0.267857 | 0.143123 | 0.234201 | 0.351301 | 0.55948 | 0.55948 | 0.55948 | 0 | 0 | 0 | 0 | 0.002534 | 0.056574 | 1,255 | 19 | 112 | 66.052632 | 0.90625 | 0.032669 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbdd5a79d587268e8ecbea98006718820ddfbb2e | 43 | py | Python | tests/test_example.py | Irio/AnkiSyncDuolingo | e1aa5ce38866397a98c4fe7bcb80f2c586fe46d3 | [
"MIT"
] | null | null | null | tests/test_example.py | Irio/AnkiSyncDuolingo | e1aa5ce38866397a98c4fe7bcb80f2c586fe46d3 | [
"MIT"
] | null | null | null | tests/test_example.py | Irio/AnkiSyncDuolingo | e1aa5ce38866397a98c4fe7bcb80f2c586fe46d3 | [
"MIT"
] | null | null | null | def test_it_works():
assert 2 + 2 == 4
| 14.333333 | 21 | 0.581395 | 8 | 43 | 2.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.27907 | 43 | 2 | 22 | 21.5 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
836fdf0e0dc3455f49d032ccf04398ba5a3c20b6 | 234 | py | Python | range_dictionary/mutliple_value_exception.py | Christian-B/my_spinnaker | b19f4025878bc4fbd6d81d78cec8c284929e148b | [
"MIT"
] | null | null | null | range_dictionary/mutliple_value_exception.py | Christian-B/my_spinnaker | b19f4025878bc4fbd6d81d78cec8c284929e148b | [
"MIT"
] | null | null | null | range_dictionary/mutliple_value_exception.py | Christian-B/my_spinnaker | b19f4025878bc4fbd6d81d78cec8c284929e148b | [
"MIT"
] | null | null | null | class MutlipleValueException(Exception):
def __init__(self, method):
self._method = method
def __str__(self):
return "The method {} would return more than one value." \
"".format(self._method)
| 26 | 66 | 0.628205 | 25 | 234 | 5.48 | 0.64 | 0.218978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 234 | 8 | 67 | 29.25 | 0.80117 | 0 | 0 | 0 | 0 | 0 | 0.200855 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
837728b72a1088b5498a60e413101dddcbf30dba | 20 | py | Python | Process/EDM/__init__.py | jwbrooks0/johnspythonlibrary2 | 10ca519276d8c32da0fbd41a597f75c0c98a8736 | [
"MIT"
] | null | null | null | Process/EDM/__init__.py | jwbrooks0/johnspythonlibrary2 | 10ca519276d8c32da0fbd41a597f75c0c98a8736 | [
"MIT"
] | null | null | null | Process/EDM/__init__.py | jwbrooks0/johnspythonlibrary2 | 10ca519276d8c32da0fbd41a597f75c0c98a8736 | [
"MIT"
] | null | null | null | from ._edm import *
| 10 | 19 | 0.7 | 3 | 20 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83b657c691c0165415f0c90a0d38a27329c08c67 | 39 | py | Python | rooms-unified/gym_rooms/envs/__init__.py | root-master/subgoal-dicovery | 3f0851f02cb7ebfbb66edde817c5b4e542baf58d | [
"MIT"
] | 34 | 2018-10-25T22:14:17.000Z | 2022-03-29T01:22:13.000Z | rooms-unified/gym_rooms/envs/__init__.py | root-master/subgoal-dicovery | 3f0851f02cb7ebfbb66edde817c5b4e542baf58d | [
"MIT"
] | null | null | null | rooms-unified/gym_rooms/envs/__init__.py | root-master/subgoal-dicovery | 3f0851f02cb7ebfbb66edde817c5b4e542baf58d | [
"MIT"
] | 10 | 2018-11-05T23:37:04.000Z | 2022-03-15T03:43:27.000Z | from gym_rooms.envs.rooms_env import *
| 19.5 | 38 | 0.820513 | 7 | 39 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83d271c4d711011c8053e080a52e9635fce0a6ae | 3,777 | py | Python | tests/conftest.py | GE-Atomic6/ghg | feea44a4a4bd1f6674a9c8be807f2c9f59f5da08 | [
"BSD-3-Clause"
] | 3 | 2022-03-30T00:06:06.000Z | 2022-03-30T15:56:45.000Z | tests/conftest.py | GE-Atomic6/ghg | feea44a4a4bd1f6674a9c8be807f2c9f59f5da08 | [
"BSD-3-Clause"
] | null | null | null | tests/conftest.py | GE-Atomic6/ghg | feea44a4a4bd1f6674a9c8be807f2c9f59f5da08 | [
"BSD-3-Clause"
] | null | null | null | # pylint: disable=all
"""Configuration for testing"""
import json
import pkgutil
from jsonschema import Draft7Validator
import pytest
@pytest.fixture
def stationary_combustion_schema():
"""Provides schema validation to tests"""
schema_file_contents = pkgutil.get_data("atomic6ghg.schemas", "stationary_combust... | 30.707317 | 95 | 0.745301 | 452 | 3,777 | 6.011062 | 0.110619 | 0.095694 | 0.172249 | 0.143541 | 0.832168 | 0.832168 | 0.832168 | 0.81855 | 0.81855 | 0.81855 | 0 | 0.008396 | 0.148531 | 3,777 | 122 | 96 | 30.959016 | 0.836443 | 0.136087 | 0 | 0.597561 | 0 | 0 | 0.14881 | 0.036341 | 0 | 0 | 0 | 0 | 0 | 1 | 0.158537 | false | 0 | 0.04878 | 0 | 0.365854 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
83e4682112675943a338978214ba2c505133dc09 | 3,414 | py | Python | app/update_result_test.py | jdeanwallace/tinypilot | 5427fccb0fe6fe66460f5b243b485c22c9d29aed | [
"MIT"
] | null | null | null | app/update_result_test.py | jdeanwallace/tinypilot | 5427fccb0fe6fe66460f5b243b485c22c9d29aed | [
"MIT"
] | null | null | null | app/update_result_test.py | jdeanwallace/tinypilot | 5427fccb0fe6fe66460f5b243b485c22c9d29aed | [
"MIT"
] | null | null | null | import datetime
import io
import unittest
import update_result
class UpdateResultTest(unittest.TestCase):
def test_reads_correct_values_for_successful_result(self):
self.assertEqual(
update_result.Result(
success=True,
error='',
timestamp=datet... | 35.195876 | 78 | 0.383421 | 230 | 3,414 | 5.504348 | 0.213043 | 0.104265 | 0.07109 | 0.098736 | 0.832543 | 0.812006 | 0.777251 | 0.770932 | 0.654818 | 0.597156 | 0 | 0.065666 | 0.531634 | 3,414 | 96 | 79 | 35.5625 | 0.726079 | 0 | 0 | 0.75 | 0 | 0 | 0.104277 | 0.012302 | 0 | 0 | 0 | 0 | 0.056818 | 1 | 0.056818 | false | 0 | 0.045455 | 0 | 0.113636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7c993c9246179fb2191b5b05afea7e67bba6953 | 8,361 | py | Python | tests/test_ws_response.py | gridsmartercities/pywsitest | 7d438477bfc61b6e3adeab6530f52a24359249d8 | [
"MIT"
] | 19 | 2019-07-31T14:51:25.000Z | 2021-12-10T08:43:46.000Z | tests/test_ws_response.py | gridsmartercities/pywsitest | 7d438477bfc61b6e3adeab6530f52a24359249d8 | [
"MIT"
] | 10 | 2019-07-30T12:07:24.000Z | 2020-12-27T18:33:07.000Z | tests/test_ws_response.py | gridsmartercities/pywsitest | 7d438477bfc61b6e3adeab6530f52a24359249d8 | [
"MIT"
] | 1 | 2021-03-29T09:33:45.000Z | 2021-03-29T09:33:45.000Z | import unittest
from pywsitest import WSResponse, WSMessage
class WSResponseTests(unittest.TestCase): # noqa: pylint - too-many-public-methods
def test_create_ws_response(self):
ws_response = WSResponse()
self.assertDictEqual({}, ws_response.attributes)
def test_with_attribute(self):
... | 27.413115 | 85 | 0.533549 | 809 | 8,361 | 5.159456 | 0.093943 | 0.124581 | 0.114998 | 0.132247 | 0.856493 | 0.845232 | 0.837326 | 0.793483 | 0.72736 | 0.676809 | 0 | 0.004703 | 0.338835 | 8,361 | 304 | 86 | 27.503289 | 0.750362 | 0.004545 | 0 | 0.534483 | 0 | 0 | 0.119337 | 0.002764 | 0 | 0 | 0 | 0 | 0.12069 | 1 | 0.107759 | false | 0 | 0.008621 | 0 | 0.12069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7eef0e577b16d644d3bee728275638502bde74d | 4,071 | py | Python | tests/test_alpha_tuning.py | DSCI-310/Group-10-Project | cfc50ebcbbf160e0a72a1144e6f7ae8c345db4aa | [
"MIT"
] | null | null | null | tests/test_alpha_tuning.py | DSCI-310/Group-10-Project | cfc50ebcbbf160e0a72a1144e6f7ae8c345db4aa | [
"MIT"
] | 34 | 2022-02-13T23:15:57.000Z | 2022-03-31T07:15:03.000Z | tests/test_alpha_tuning.py | DSCI-310/Group-10-Project | cfc50ebcbbf160e0a72a1144e6f7ae8c345db4aa | [
"MIT"
] | null | null | null | from pandas import DataFrame
from sklearn.model_selection import train_test_split
import pytest
from src.analysis.alpha_tuning import ridge_alpha_tuning
from sklearn.pipeline import Pipeline, make_pipeline
from sklearn.preprocessing import StandardScaler
from sklearn.linear_model import RidgeCV
@pytest.fixture
def to... | 42.40625 | 86 | 0.645787 | 640 | 4,071 | 3.920313 | 0.134375 | 0.081307 | 0.017935 | 0.015943 | 0.834197 | 0.813472 | 0.813472 | 0.813472 | 0.783181 | 0.783181 | 0 | 0.067458 | 0.213461 | 4,071 | 96 | 87 | 42.40625 | 0.716115 | 0 | 0 | 0.552941 | 0 | 0 | 0.035855 | 0 | 0 | 0 | 0 | 0 | 0.082353 | 1 | 0.105882 | false | 0 | 0.082353 | 0.023529 | 0.211765 | 0.035294 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e392dff6c73468edd05f5acf6c703689b6de3f77 | 127 | py | Python | robocup_env/envs/__init__.py | kylestach/learn-you-a-soccer | e4163602ffb73b51d1b9ab35e75f2033f7179fff | [
"MIT"
] | 1 | 2021-07-27T12:47:57.000Z | 2021-07-27T12:47:57.000Z | robocup_env/envs/__init__.py | kylestach/learn-you-a-soccer | e4163602ffb73b51d1b9ab35e75f2033f7179fff | [
"MIT"
] | null | null | null | robocup_env/envs/__init__.py | kylestach/learn-you-a-soccer | e4163602ffb73b51d1b9ab35e75f2033f7179fff | [
"MIT"
] | null | null | null | from .collect import RoboCupCollect
from .score import RoboCupScore
from .passing import RoboCupPass
from .versioning import *
| 25.4 | 35 | 0.834646 | 15 | 127 | 7.066667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125984 | 127 | 4 | 36 | 31.75 | 0.954955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e3be62cb5381693aeccfae2ee115f09edc4e0517 | 804 | py | Python | test/test_body5.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | test/test_body5.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | test/test_body5.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
TGS API
A production scale tool for BYOND server management # noqa: E501
OpenAPI spec version: 9.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import swagger_client
from swagger_client.model... | 20.1 | 79 | 0.675373 | 100 | 804 | 5.26 | 0.61 | 0.098859 | 0.064639 | 0.091255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.233831 | 804 | 39 | 80 | 20.615385 | 0.819805 | 0.441542 | 0 | 0.214286 | 1 | 0 | 0.019656 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e3dc362771c8fee12ee7a53912b8cd1180e1b6f8 | 108 | py | Python | Introduction_to_programming/december_2021/package/multiplication.py | Ivanazzz/Technical-University-of-Sofia-Python | bd38f2468375c6619a2f8956b4ddc70aec523ccc | [
"MIT"
] | 1 | 2022-01-31T13:25:01.000Z | 2022-01-31T13:25:01.000Z | Introduction_to_programming/december_2021/package/multiplication.py | Ivanazzz/Technical-University-of-Sofia-Python | bd38f2468375c6619a2f8956b4ddc70aec523ccc | [
"MIT"
] | null | null | null | Introduction_to_programming/december_2021/package/multiplication.py | Ivanazzz/Technical-University-of-Sofia-Python | bd38f2468375c6619a2f8956b4ddc70aec523ccc | [
"MIT"
] | null | null | null | def multiplication(first_number, second_number):
result = first_number * second_number
return result | 36 | 48 | 0.787037 | 13 | 108 | 6.230769 | 0.538462 | 0.271605 | 0.419753 | 0.567901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157407 | 108 | 3 | 49 | 36 | 0.89011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
540e5d6148dde44922677d9975f890af3afaa4ba | 67 | py | Python | src/funsql/prettyprint/__init__.py | ananis25/funsql-python | 158c66528fc6df2f1a84bcf49daddc543a31c4a9 | [
"MIT"
] | 1 | 2022-03-30T19:48:01.000Z | 2022-03-30T19:48:01.000Z | src/funsql/prettyprint/__init__.py | ananis25/funsql-python | 158c66528fc6df2f1a84bcf49daddc543a31c4a9 | [
"MIT"
] | null | null | null | src/funsql/prettyprint/__init__.py | ananis25/funsql-python | 158c66528fc6df2f1a84bcf49daddc543a31c4a9 | [
"MIT"
] | null | null | null | from .printer import Printer, Begin, End, Break, Token, GroupBreak
| 33.5 | 66 | 0.776119 | 9 | 67 | 5.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 67 | 1 | 67 | 67 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
542aeaaf417fe755b68a1fae7dd121eb966843c9 | 26 | py | Python | timebudget/__init__.py | Kahsius/timebudget | e58b7121aa5846db784fb80ab6b8dfffdcc8fae5 | [
"Apache-2.0"
] | 145 | 2019-10-22T21:45:53.000Z | 2022-03-12T02:15:55.000Z | timebudget/__init__.py | Kahsius/timebudget | e58b7121aa5846db784fb80ab6b8dfffdcc8fae5 | [
"Apache-2.0"
] | 13 | 2019-10-23T15:15:20.000Z | 2021-02-10T00:12:36.000Z | timebudget/__init__.py | Kahsius/timebudget | e58b7121aa5846db784fb80ab6b8dfffdcc8fae5 | [
"Apache-2.0"
] | 9 | 2019-10-25T00:44:25.000Z | 2020-09-23T11:54:17.000Z | from .timebudget import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
581df4075f03fa7740b84f21a0708f4914a1e6be | 46 | py | Python | ChimuApi/__init__.py | lenforiee/python-chimu-api | 464310741bc58aa1702c9810a50d061e40f63ec2 | [
"MIT"
] | null | null | null | ChimuApi/__init__.py | lenforiee/python-chimu-api | 464310741bc58aa1702c9810a50d061e40f63ec2 | [
"MIT"
] | null | null | null | ChimuApi/__init__.py | lenforiee/python-chimu-api | 464310741bc58aa1702c9810a50d061e40f63ec2 | [
"MIT"
] | null | null | null | from .chimu_api import ChimuAPI, AsyncChimuAPI | 46 | 46 | 0.869565 | 6 | 46 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
585770c9b9366640b672aa291a06b82c3fc30905 | 16,861 | py | Python | cpa/tests/testscoring.py | DavidStirling/CellProfiler-Analyst | 7a0bfcb5cc7db067844595bdbb90f3132f9a8ea9 | [
"MIT"
] | 98 | 2015-02-05T18:22:04.000Z | 2022-03-29T12:06:48.000Z | cpa/tests/testscoring.py | DavidStirling/CellProfiler-Analyst | 7a0bfcb5cc7db067844595bdbb90f3132f9a8ea9 | [
"MIT"
] | 268 | 2015-01-14T15:43:24.000Z | 2022-02-13T22:04:37.000Z | cpa/tests/testscoring.py | DavidStirling/CellProfiler-Analyst | 7a0bfcb5cc7db067844595bdbb90f3132f9a8ea9 | [
"MIT"
] | 64 | 2015-06-30T22:26:03.000Z | 2022-03-11T01:06:13.000Z | '''
Checks the per-image counts calculated by multiclasssql.
'''
import numpy
from cpa.dbconnect import *
from cpa.properties import Properties
from cpa.datamodel import DataModel
from cpa.scoreall import score
import base64
import zlib
import os
if __name__ == "__main__":
from cpa.trainingset import TrainingSet
... | 166.940594 | 5,522 | 0.870174 | 698 | 16,861 | 20.931232 | 0.661891 | 0.010678 | 0.013963 | 0.01807 | 0.053114 | 0.053114 | 0.051745 | 0.050513 | 0.050513 | 0.050513 | 0 | 0.143449 | 0.083803 | 16,861 | 100 | 5,523 | 168.61 | 0.802305 | 0.016013 | 0 | 0.371795 | 0 | 0.038462 | 0.860779 | 0.842261 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.128205 | 0 | 0.128205 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
585b6f4b9884bf8f1736765e8198c21111a5022b | 96 | py | Python | venv/lib/python3.8/site-packages/cryptography/utils.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 1 | 2021-11-07T22:40:27.000Z | 2021-11-07T22:40:27.000Z | venv/lib/python3.8/site-packages/cryptography/utils.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cryptography/utils.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/36/cf/a1/b3470066738b13f6c4794ac382aad58b985d3d9efc197c0b0723374f24 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
543788a6d072233ea57b5563008174dead0b1187 | 99 | py | Python | super_stream_tools/stream_library/__init__.py | KorigamiK/media-tools | ff4e7490ab32a8a08491836ced8f0b3302218c1d | [
"MIT"
] | null | null | null | super_stream_tools/stream_library/__init__.py | KorigamiK/media-tools | ff4e7490ab32a8a08491836ced8f0b3302218c1d | [
"MIT"
] | null | null | null | super_stream_tools/stream_library/__init__.py | KorigamiK/media-tools | ff4e7490ab32a8a08491836ced8f0b3302218c1d | [
"MIT"
] | null | null | null | from .async_subprocess import async_subprocess
from .async_downloads import save_file, delete_file
| 33 | 51 | 0.878788 | 14 | 99 | 5.857143 | 0.571429 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 99 | 2 | 52 | 49.5 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
544632304ea7a0739ba8ec42a3b9c15b3c387c0e | 56,797 | py | Python | grafeas/grafeas/grafeas_v1/gapic/grafeas_client.py | hugovk/google-cloud-python | b387134827dbc3be0e1b431201e0875798002fda | [
"Apache-2.0"
] | 1 | 2019-03-26T21:44:51.000Z | 2019-03-26T21:44:51.000Z | grafeas/grafeas/grafeas_v1/gapic/grafeas_client.py | hugovk/google-cloud-python | b387134827dbc3be0e1b431201e0875798002fda | [
"Apache-2.0"
] | 3 | 2019-06-20T05:20:15.000Z | 2019-06-27T05:01:16.000Z | grafeas/grafeas/grafeas_v1/gapic/grafeas_client.py | hugovk/google-cloud-python | b387134827dbc3be0e1b431201e0875798002fda | [
"Apache-2.0"
] | 1 | 2019-03-29T18:26:16.000Z | 2019-03-29T18:26:16.000Z | # -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 41.640029 | 137 | 0.594415 | 6,055 | 56,797 | 5.412056 | 0.065731 | 0.032133 | 0.046414 | 0.034605 | 0.845285 | 0.8408 | 0.799054 | 0.794629 | 0.788984 | 0.746048 | 0 | 0.004603 | 0.32294 | 56,797 | 1,363 | 138 | 41.67058 | 0.847562 | 0.523478 | 0 | 0.608392 | 0 | 0 | 0.062076 | 0.01143 | 0 | 0 | 0 | 0.005136 | 0 | 1 | 0.031469 | false | 0.024476 | 0.033217 | 0 | 0.094406 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54744202ddd3ad98eaa6bb902b83eac38fb19e6d | 207 | py | Python | serial_constants.py | ThomasGerstenberg/sublime3-serial-monitor | 6e25172aca9ad755b8ec2f7e3efc5664ce35ed7e | [
"BSD-3-Clause"
] | 10 | 2016-02-12T08:44:49.000Z | 2018-08-29T21:34:49.000Z | serial_constants.py | ThomasGerstenberg/sublime3-serial-monitor | 6e25172aca9ad755b8ec2f7e3efc5664ce35ed7e | [
"BSD-3-Clause"
] | 30 | 2015-08-31T18:56:31.000Z | 2018-12-04T02:55:02.000Z | serial_constants.py | ThomasGerstenberg/sublime3-serial-monitor | 6e25172aca9ad755b8ec2f7e3efc5664ce35ed7e | [
"BSD-3-Clause"
] | 6 | 2016-01-21T03:40:28.000Z | 2021-12-10T08:13:57.000Z | # Constants
SYNTAX_FILE = "Packages/serial_monitor/syntax/serial_monitor.tmLanguage"
DEFAULT_SETTINGS = "serial_monitor.sublime-settings"
LAST_USED_SETTINGS = "serial_monitor_last_used.sublime-settings"
| 41.4 | 73 | 0.84058 | 25 | 207 | 6.56 | 0.48 | 0.317073 | 0.256098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 207 | 4 | 74 | 51.75 | 0.854167 | 0.043478 | 0 | 0 | 0 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
548905ec19b3ffa595198527f4466539ca0c8d6a | 187 | py | Python | src/schnetpack/utils/script_utils/__init__.py | giadefa/schnetpack | 9dabc3b6e3b28deb2fb3743ea1857c46b055efbf | [
"MIT"
] | 450 | 2018-09-04T08:37:47.000Z | 2022-03-30T08:05:37.000Z | src/schnetpack/utils/script_utils/__init__.py | giadefa/schnetpack | 9dabc3b6e3b28deb2fb3743ea1857c46b055efbf | [
"MIT"
] | 239 | 2018-09-11T21:09:08.000Z | 2022-03-18T09:25:11.000Z | src/schnetpack/utils/script_utils/__init__.py | giadefa/schnetpack | 9dabc3b6e3b28deb2fb3743ea1857c46b055efbf | [
"MIT"
] | 166 | 2018-09-13T13:01:06.000Z | 2022-03-31T12:59:12.000Z | from .model import *
from .parsing import *
from .evaluation import *
from .training import *
from .setup import *
from .data import *
from .script_error import *
from .settings import *
| 20.777778 | 27 | 0.743316 | 25 | 187 | 5.52 | 0.44 | 0.507246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171123 | 187 | 8 | 28 | 23.375 | 0.890323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5491e36ec8284268460269c8d5a6458ec3040942 | 28,169 | py | Python | app/apps/api/tests.py | stweil/escriptorium | 63a063f2dbecebe9f79aa6376e99030f49a02502 | [
"MIT"
] | 4 | 2021-09-21T09:15:24.000Z | 2022-02-12T13:36:33.000Z | app/apps/api/tests.py | UB-Mannheim/escriptorium | b3506975d15ba155925ac48d90f2d0afe2cc5621 | [
"MIT"
] | 1 | 2021-11-30T12:04:11.000Z | 2021-11-30T12:04:11.000Z | app/apps/api/tests.py | stweil/escriptorium | 63a063f2dbecebe9f79aa6376e99030f49a02502 | [
"MIT"
] | 2 | 2021-11-10T09:39:52.000Z | 2022-01-10T08:52:40.000Z | """
The goal here is not to test drf internals
but only our own layer on top of it.
So no need to test the content unless there is some magic in the serializer.
"""
import unittest
import os
from django.core.files.uploadedfile import SimpleUploadedFile
from django.test import override_settings
from django.urls import ... | 42.043284 | 120 | 0.579502 | 3,324 | 28,169 | 4.790915 | 0.085138 | 0.04898 | 0.051303 | 0.04898 | 0.827818 | 0.796044 | 0.765338 | 0.734568 | 0.70675 | 0.682072 | 0 | 0.024491 | 0.283929 | 28,169 | 669 | 121 | 42.106129 | 0.765009 | 0.029217 | 0 | 0.695804 | 0 | 0 | 0.121591 | 0.018887 | 0 | 0 | 0 | 0 | 0.173077 | 1 | 0.078671 | false | 0 | 0.012238 | 0 | 0.101399 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54bf60d5f5551388ead2bf0b447cbfb70656c8c6 | 10,659 | py | Python | tests/mobly/controllers/android_device_lib/services/snippet_management_service_test.py | mhaoli/mobly | a0948ae35bfec5d33819f824f5d59692e9f78fe5 | [
"Apache-2.0"
] | null | null | null | tests/mobly/controllers/android_device_lib/services/snippet_management_service_test.py | mhaoli/mobly | a0948ae35bfec5d33819f824f5d59692e9f78fe5 | [
"Apache-2.0"
] | null | null | null | tests/mobly/controllers/android_device_lib/services/snippet_management_service_test.py | mhaoli/mobly | a0948ae35bfec5d33819f824f5d59692e9f78fe5 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 39.921348 | 103 | 0.771273 | 1,353 | 10,659 | 5.676275 | 0.118995 | 0.108333 | 0.0875 | 0.088802 | 0.830729 | 0.801432 | 0.796615 | 0.765365 | 0.71901 | 0.671094 | 0 | 0.004038 | 0.140351 | 10,659 | 266 | 104 | 40.071429 | 0.834115 | 0.060512 | 0 | 0.696262 | 0 | 0 | 0.074337 | 0.035118 | 0 | 0 | 0 | 0 | 0.135514 | 1 | 0.102804 | false | 0 | 0.014019 | 0 | 0.121495 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
49c6aa525fa177d5aee622ed452327c7eb9d407e | 3,796 | py | Python | tests/inventory/test_inventory.py | CiscoDevNet/bcs-oi-api-sdk | eb99af3db7482d2bbfcae53c477335805acc95b5 | [
"MIT"
] | 5 | 2022-03-03T17:26:39.000Z | 2022-03-24T09:59:47.000Z | tests/inventory/test_inventory.py | CiscoDevNet/bcs-oi-api-sdk | eb99af3db7482d2bbfcae53c477335805acc95b5 | [
"MIT"
] | 1 | 2022-03-16T12:48:13.000Z | 2022-03-16T12:58:38.000Z | tests/inventory/test_inventory.py | CiscoDevNet/bcs-oi-api-sdk | eb99af3db7482d2bbfcae53c477335805acc95b5 | [
"MIT"
] | null | null | null | from src.bcs_oi_api.models import Asset, Device
from tests.utils import check_model_creation
asset_1 = {
"chassisName": "10.201.23.147",
"deviceId": 24948009,
"deviceName": "10.201.23.147",
"hardwareRevision": "",
"installedFlash": None,
"installedMemory": None,
"printedCircuitBoardName": "... | 28.541353 | 75 | 0.618809 | 324 | 3,796 | 7.157407 | 0.364198 | 0.008624 | 0.012074 | 0.017249 | 0.838292 | 0.812419 | 0.785683 | 0.718413 | 0.675291 | 0.675291 | 0 | 0.079921 | 0.195732 | 3,796 | 132 | 76 | 28.757576 | 0.679659 | 0 | 0 | 0.754098 | 0 | 0 | 0.51844 | 0.05058 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0.032787 | 0.016393 | 0 | 0.032787 | 0.032787 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7111429bfec9826809b0169278fff06e3adf92b | 115 | py | Python | cifar/step1/cifar10/models/__init__.py | chatzikon/DNN-COMPRESSION | 5c19ab740048052426a77eb5bc7a56ab3fae93e9 | [
"MIT"
] | 9 | 2020-05-06T10:14:11.000Z | 2021-07-09T10:12:22.000Z | cifar/step1/cifar10/models/__init__.py | chatzikon/DNN-COMPRESSION | 5c19ab740048052426a77eb5bc7a56ab3fae93e9 | [
"MIT"
] | null | null | null | cifar/step1/cifar10/models/__init__.py | chatzikon/DNN-COMPRESSION | 5c19ab740048052426a77eb5bc7a56ab3fae93e9 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .resnet import *
from .mobilenetv2 import *
from .mobilenet import *
| 16.428571 | 38 | 0.791304 | 14 | 115 | 6.142857 | 0.5 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.156522 | 115 | 6 | 39 | 19.166667 | 0.876289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f7e6765c339cf5dc895a988e734282b27f1e558 | 99 | py | Python | shapr/__init__.py | marrlab/SHAPR_torch | e1bf5525f315b5ebee55bbb87a9b66a12538edb7 | [
"BSD-3-Clause"
] | 5 | 2022-03-03T11:27:21.000Z | 2022-03-17T15:45:56.000Z | shapr/__init__.py | marrlab/SHAPR_torch | e1bf5525f315b5ebee55bbb87a9b66a12538edb7 | [
"BSD-3-Clause"
] | null | null | null | shapr/__init__.py | marrlab/SHAPR_torch | e1bf5525f315b5ebee55bbb87a9b66a12538edb7 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
from shapr.utils import *
from shapr.main import run_train, run_evaluation
| 19.8 | 48 | 0.787879 | 16 | 99 | 4.75 | 0.75 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.121212 | 99 | 4 | 49 | 24.75 | 0.862069 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3fdf4630539ed5be670e326de28cfd3909077c15 | 267 | py | Python | tests/file_endpoint.py | CancerDataAggregator/cda-python | ede300e0e3baa2ee564094af6197be1013147d58 | [
"Apache-2.0"
] | 7 | 2021-02-24T15:30:13.000Z | 2022-02-25T21:32:05.000Z | tests/file_endpoint.py | CancerDataAggregator/cda-python | ede300e0e3baa2ee564094af6197be1013147d58 | [
"Apache-2.0"
] | 82 | 2021-02-26T14:53:18.000Z | 2022-03-24T17:53:57.000Z | tests/file_endpoint.py | CancerDataAggregator/cda-python | ede300e0e3baa2ee564094af6197be1013147d58 | [
"Apache-2.0"
] | 5 | 2021-03-11T15:19:47.000Z | 2022-03-08T20:39:12.000Z | from cdapython import Q
q1 = Q('ResearchSubject.identifier = "GDC"')
q2 = Q('ResearchSubject.Specimen.source_material_type = "Primary Tumor"')
q3 = Q('ResearchSubject.Specimen.source_material_type = "Blood Derived Normal"')
q = q1.And(q2.Or(q3))
r = q.run()
print()
| 29.666667 | 80 | 0.730337 | 38 | 267 | 5.026316 | 0.631579 | 0.251309 | 0.251309 | 0.314136 | 0.439791 | 0.439791 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.11236 | 267 | 8 | 81 | 33.375 | 0.780591 | 0 | 0 | 0 | 0 | 0 | 0.625468 | 0.434457 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.142857 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b77cdc498779a3e4ae11318225378d884c824e8b | 115 | py | Python | homeworks/yan_romanovich/hw05/test_lvl05.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | null | null | null | homeworks/yan_romanovich/hw05/test_lvl05.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | 8 | 2019-11-15T18:15:56.000Z | 2020-02-03T18:05:05.000Z | homeworks/yan_romanovich/hw05/test_lvl05.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | null | null | null | from homeworks.yan_romanovich.hw05 import level05
assert level05.unique("123")
assert not level05.unique((1, 1))
| 19.166667 | 49 | 0.782609 | 17 | 115 | 5.235294 | 0.705882 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 0.104348 | 115 | 5 | 50 | 23 | 0.737864 | 0 | 0 | 0 | 0 | 0 | 0.026087 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4d02698b8a078a06999b5ae2001f46e35ab4e2a5 | 37 | py | Python | venv/Lib/site-packages/torch/cpu/amp/__init__.py | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | 1 | 2022-01-08T12:30:44.000Z | 2022-01-08T12:30:44.000Z | venv/Lib/site-packages/torch/cpu/amp/__init__.py | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/torch/cpu/amp/__init__.py | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | null | null | null | from .autocast_mode import autocast
| 18.5 | 36 | 0.837838 | 5 | 37 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d33d1cac18fb4bc565da2ea1629dd05be56934c | 533 | py | Python | robo_rugby/gym_env/__init__.py | harman097/RoboRugby | 31da3cef66e9ac9eadc7aa2636b508d4673f9ecd | [
"MIT"
] | 2 | 2020-08-24T18:18:52.000Z | 2020-08-25T10:06:58.000Z | robo_rugby/gym_env/__init__.py | harman097/RoboRugby | 31da3cef66e9ac9eadc7aa2636b508d4673f9ecd | [
"MIT"
] | 30 | 2020-08-25T17:46:17.000Z | 2020-10-11T11:03:28.000Z | robo_rugby/gym_env/__init__.py | harman097/RoboRugby | 31da3cef66e9ac9eadc7aa2636b508d4673f9ecd | [
"MIT"
] | null | null | null | from __future__ import absolute_import, division, print_function
import robo_rugby.gym_env.RR_Constants
import robo_rugby.gym_env.RR_EnvBase
import robo_rugby.gym_env.RR_ScoreKeepers
import robo_rugby.gym_env.RR_Robot
import robo_rugby.gym_env.RR_Goal
import robo_rugby.gym_env.RR_Ball
from robo_rugby.gym_env.RR_EnvBase... | 44.416667 | 65 | 0.879925 | 94 | 533 | 4.585106 | 0.234043 | 0.208817 | 0.278422 | 0.348028 | 0.658933 | 0.658933 | 0.431555 | 0 | 0 | 0 | 0 | 0 | 0.075047 | 533 | 12 | 66 | 44.416667 | 0.874239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.083333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d3448f6ad626b5d92f6f3626a270c8d7a0766a1 | 92 | py | Python | ITGlue/health_check.py | securecyberdefense/connector-itglue | bc174fe40d479e343dedf6c1c41bbdc8cdaf0c4c | [
"MIT"
] | null | null | null | ITGlue/health_check.py | securecyberdefense/connector-itglue | bc174fe40d479e343dedf6c1c41bbdc8cdaf0c4c | [
"MIT"
] | null | null | null | ITGlue/health_check.py | securecyberdefense/connector-itglue | bc174fe40d479e343dedf6c1c41bbdc8cdaf0c4c | [
"MIT"
] | null | null | null | def check(config):
# TODO: implement health check for the connector here
return True | 30.666667 | 57 | 0.728261 | 13 | 92 | 5.153846 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 92 | 3 | 58 | 30.666667 | 0.930556 | 0.554348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
12894c4add010705a0f413987791796868d0712b | 140 | py | Python | tests/metrics/__init__.py | nrupatunga/pytorch-lightning | 0af064d022c634fdcc9f5f2b2ffa00a4b9055889 | [
"Apache-2.0"
] | null | null | null | tests/metrics/__init__.py | nrupatunga/pytorch-lightning | 0af064d022c634fdcc9f5f2b2ffa00a4b9055889 | [
"Apache-2.0"
] | null | null | null | tests/metrics/__init__.py | nrupatunga/pytorch-lightning | 0af064d022c634fdcc9f5f2b2ffa00a4b9055889 | [
"Apache-2.0"
] | null | null | null | import os
from tests.metrics.utils import NUM_BATCHES, NUM_PROCESSES, BATCH_SIZE, MetricTester
from tests.metrics.test_metric import Dummy
| 28 | 84 | 0.85 | 21 | 140 | 5.47619 | 0.714286 | 0.156522 | 0.278261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 140 | 4 | 85 | 35 | 0.912698 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
129b7982c54085c8aa8398474e33cf06561f2712 | 304 | py | Python | app/blueprints/__init__.py | johnlcd/AppServer | b802b2afe273edeeff7a4341676b7aeb722883a6 | [
"MIT"
] | 90 | 2017-03-01T17:58:13.000Z | 2021-11-07T20:18:44.000Z | app/blueprints/__init__.py | kakawaa/AppServer | 53a3ec952dda8b0975cce5300a196895679de19f | [
"MIT"
] | 4 | 2017-03-02T06:33:12.000Z | 2020-05-07T07:56:38.000Z | app/blueprints/__init__.py | kakawaa/AppServer | 53a3ec952dda8b0975cce5300a196895679de19f | [
"MIT"
] | 31 | 2017-03-02T00:54:27.000Z | 2021-02-14T08:35:14.000Z | # -*- coding: utf-8 -*-
# Created by apple on 2017/1/30.
from .upload import upload_blueprint
from .apps import apps_blueprint
from .app_versions import app_versions_blueprint
from .exception import exception_blueprint
from .static import static_blueprint
from .short_chain import short_chain_blueprint
| 30.4 | 48 | 0.819079 | 44 | 304 | 5.431818 | 0.477273 | 0.271967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.118421 | 304 | 9 | 49 | 33.777778 | 0.86194 | 0.171053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
12a5992193c6236cae0c4c25336095b645c17334 | 96 | py | Python | venv/lib/python3.8/site-packages/requests_toolbelt/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/requests_toolbelt/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/requests_toolbelt/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/b1/e9/25/3c6e77fcc6575b571e562ac6f301d070406150f5f668bb1d0dc4ce835e | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12c4a819195b6c762ed71bc2510d99d320585443 | 21,858 | py | Python | important_code/shuffle_test.py | BrancoLab/escape-analysis | bd4800c92947f1b7b464cd3e58f8499af6de4bbc | [
"MIT"
] | null | null | null | important_code/shuffle_test.py | BrancoLab/escape-analysis | bd4800c92947f1b7b464cd3e58f8499af6de4bbc | [
"MIT"
] | null | null | null | important_code/shuffle_test.py | BrancoLab/escape-analysis | bd4800c92947f1b7b464cd3e58f8499af6de4bbc | [
"MIT"
] | null | null | null | import numpy as np
import random
from scipy.stats import percentileofscore, ttest_ind, mannwhitneyu, pearsonr
def flatten(iterable):
''' flatten a nested list '''
it = iter(iterable)
for e in it:
if isinstance(e, (list, tuple)):
for f in flatten(e):
yield f
... | 40.106422 | 178 | 0.630662 | 3,457 | 21,858 | 3.791438 | 0.06306 | 0.054932 | 0.015564 | 0.018311 | 0.938735 | 0.925994 | 0.905241 | 0.897154 | 0.876555 | 0.862211 | 0 | 0.066428 | 0.221749 | 21,858 | 544 | 179 | 40.180147 | 0.704074 | 0.736161 | 0 | 0.42 | 0 | 0 | 0.040176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.03 | 0 | 0.07 | 0.09 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.