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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d7093ac2b6ac97131c820a26750b835e609e90d2 | 156 | py | Python | core/co_security.py | ykiveish/mks_dashnoard | 5a989200d61c43ae6c414edd712c5763b56e7c27 | [
"Apache-2.0"
] | null | null | null | core/co_security.py | ykiveish/mks_dashnoard | 5a989200d61c43ae6c414edd712c5763b56e7c27 | [
"Apache-2.0"
] | null | null | null | core/co_security.py | ykiveish/mks_dashnoard | 5a989200d61c43ae6c414edd712c5763b56e7c27 | [
"Apache-2.0"
] | null | null | null | import hashlib
class Hashes():
def __init__(self):
pass
def GetHashMd5(self, data):
md5Obj = hashlib.md5(data.encode())
return md5Obj.hexdigest() | 17.333333 | 37 | 0.711538 | 20 | 156 | 5.35 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030534 | 0.160256 | 156 | 9 | 38 | 17.333333 | 0.78626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
d7275ed5f3ac56b8a4d3f3b714e11d36b780b35d | 24,710 | py | Python | CofDMansionBuilder.py | MissH0pe/VtR-AI-ST | 41600cb283a50c5d4c4813bf171d4c2ccbfb9636 | [
"MIT"
] | null | null | null | CofDMansionBuilder.py | MissH0pe/VtR-AI-ST | 41600cb283a50c5d4c4813bf171d4c2ccbfb9636 | [
"MIT"
] | null | null | null | CofDMansionBuilder.py | MissH0pe/VtR-AI-ST | 41600cb283a50c5d4c4813bf171d4c2ccbfb9636 | [
"MIT"
] | null | null | null | from PIL import Image, ImageDraw, ImageFont
import random
#hallway is 2*img.size[1]/24
#doorway is 2*img.size[1]/24
#doors are 350 px each way
#upperroom text height n1o1d4/2
#middleroom text height (n29o1d48-(n1o1d4+2*n1o1d24))/2+(n1o1d4+2*n1o1d24)
#lowerroom text height (n15o1d16-(n29o1d48+2*n1o1d24))/2+(n29... | 51.479167 | 145 | 0.645366 | 3,946 | 24,710 | 4.041308 | 0.045362 | 0.089986 | 0.077256 | 0.095692 | 0.879538 | 0.858657 | 0.842039 | 0.763843 | 0.695868 | 0.661378 | 0 | 0.186272 | 0.145083 | 24,710 | 479 | 146 | 51.586639 | 0.568615 | 0.046378 | 0 | 0.117048 | 0 | 0 | 0.043558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005089 | 0 | 0.005089 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d72f3be93543f65c8d2221e772fc03c724629c77 | 89 | py | Python | Chapter12/testunit/cap.py | carrenolg/python-code | f4bbdb2897c740217dda0a0aa2ebb97abb822e03 | [
"Apache-2.0"
] | null | null | null | Chapter12/testunit/cap.py | carrenolg/python-code | f4bbdb2897c740217dda0a0aa2ebb97abb822e03 | [
"Apache-2.0"
] | null | null | null | Chapter12/testunit/cap.py | carrenolg/python-code | f4bbdb2897c740217dda0a0aa2ebb97abb822e03 | [
"Apache-2.0"
] | null | null | null | # module
def just_do_it(text):
from string import capwords
return capwords(text)
| 17.8 | 31 | 0.730337 | 13 | 89 | 4.846154 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202247 | 89 | 4 | 32 | 22.25 | 0.887324 | 0.067416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d759d2360be47dabd6dd431b72062f4092950c98 | 148 | py | Python | rio_tiler/io/__init__.py | wouellette/rio-tiler | bea9f7770f06fe8719c176b7379399d617672242 | [
"BSD-3-Clause"
] | null | null | null | rio_tiler/io/__init__.py | wouellette/rio-tiler | bea9f7770f06fe8719c176b7379399d617672242 | [
"BSD-3-Clause"
] | null | null | null | rio_tiler/io/__init__.py | wouellette/rio-tiler | bea9f7770f06fe8719c176b7379399d617672242 | [
"BSD-3-Clause"
] | null | null | null | """rio-tiler.io"""
from .base import BaseReader, MultiBaseReader # noqa
from .cogeo import COGReader # noqa
from .stac import STACReader # noqa
| 24.666667 | 53 | 0.736486 | 19 | 148 | 5.736842 | 0.684211 | 0.146789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 148 | 5 | 54 | 29.6 | 0.879032 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ad216972036906fb6762f22b6a9fd855b5cfc13a | 25 | py | Python | tests/bungee_plugins_test.py | harshavardhana/bungee-plugins | d1042b4fd3654890d67393ed65e0064bb30086f8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tests/bungee_plugins_test.py | harshavardhana/bungee-plugins | d1042b4fd3654890d67393ed65e0064bb30086f8 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-03-05T13:16:30.000Z | 2021-03-05T15:20:22.000Z | tests/bungee_plugins_test.py | harshavardhana/bungee-plugins | d1042b4fd3654890d67393ed65e0064bb30086f8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | ## WRITE TEST CASES HERE
| 12.5 | 24 | 0.72 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 1 | 25 | 25 | 0.9 | 0.84 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ad226dc4c514a0febe71db200c673560ffd1f8bf | 156 | py | Python | graphgallery/nn/layers/tensorflow/__init__.py | EdisonLeeeee/GraphGallery | 4eec9c5136bda14809bd22584b26cc346cdb633b | [
"MIT"
] | 300 | 2020-08-09T04:27:41.000Z | 2022-03-30T07:43:41.000Z | graphgallery/nn/layers/tensorflow/__init__.py | EdisonLeeeee/GraphGallery | 4eec9c5136bda14809bd22584b26cc346cdb633b | [
"MIT"
] | 5 | 2020-11-05T06:16:50.000Z | 2021-12-11T05:05:22.000Z | graphgallery/nn/layers/tensorflow/__init__.py | EdisonLeeeee/GraphGallery | 4eec9c5136bda14809bd22584b26cc346cdb633b | [
"MIT"
] | 51 | 2020-09-23T15:37:12.000Z | 2022-03-05T01:28:56.000Z | from .conv import *
from .top_k import Top_k_features
from .dropout import *
from .misc import SparseConversion, Scale, Sample, Gather, Laplacian, Mask
| 31.2 | 75 | 0.769231 | 22 | 156 | 5.318182 | 0.636364 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160256 | 156 | 4 | 76 | 39 | 0.89313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ad5a93f6f68fd9a58e65b43713c532cc8dbe4382 | 914 | py | Python | tests/test_news_list.py | brianwachira/watchtower | 154deea7f007e4aa55db7a53d44c1db0ac2e32c0 | [
"MIT"
] | null | null | null | tests/test_news_list.py | brianwachira/watchtower | 154deea7f007e4aa55db7a53d44c1db0ac2e32c0 | [
"MIT"
] | null | null | null | tests/test_news_list.py | brianwachira/watchtower | 154deea7f007e4aa55db7a53d44c1db0ac2e32c0 | [
"MIT"
] | null | null | null | import unittest
from app.models import News_List
class News_ListTest(unittest.TestCase):
'''
Test Class to test behaviour of News_list class
'''
def setUp(self):
'''
Set up method that runs before every Test
'''
self.new_news_list = News_List('branham','A Week Later','... | 53.764706 | 563 | 0.750547 | 130 | 914 | 5.2 | 0.323077 | 0.56213 | 0.554734 | 0.384615 | 0.585799 | 0.585799 | 0.517751 | 0.517751 | 0.517751 | 0.517751 | 0 | 0 | 0.179431 | 914 | 17 | 564 | 53.764706 | 0.901333 | 0.097374 | 0 | 0 | 0 | 0.142857 | 0.639136 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ad6449918a08b114d365e829574c8b5000866c9a | 97 | py | Python | src/pyquickhelper/sphinxext/sphinximages/sphinxtrib/__init__.py | Pandinosaurus/pyquickhelper | 326276f656cf88989e4d0fcd006ada0d3735bd9e | [
"MIT"
] | 18 | 2015-11-10T08:09:23.000Z | 2022-02-16T11:46:45.000Z | src/pyquickhelper/sphinxext/sphinximages/sphinxtrib/__init__.py | Pandinosaurus/pyquickhelper | 326276f656cf88989e4d0fcd006ada0d3735bd9e | [
"MIT"
] | 321 | 2015-06-14T21:34:28.000Z | 2021-11-28T17:10:03.000Z | src/pyquickhelper/sphinxext/sphinximages/sphinxtrib/__init__.py | Pandinosaurus/pyquickhelper | 326276f656cf88989e4d0fcd006ada0d3735bd9e | [
"MIT"
] | 10 | 2015-06-20T01:35:00.000Z | 2022-01-19T15:54:32.000Z | """
@file
@brief Shortcuts to images.
"""
from .images import ImageDirective, setup, image_node
| 13.857143 | 53 | 0.731959 | 12 | 97 | 5.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 97 | 6 | 54 | 16.166667 | 0.843373 | 0.340206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ad7144128087936c2a124d18952c1fe69cb6578e | 1,679 | py | Python | tests/integration/test_warcraft_client_mythic_keystone_dungeon.py | tehmufifnman/BattleMuffin-Python | f0bb5ee7024624191b33441aeecf3fb29570abe7 | [
"MIT"
] | 7 | 2020-05-15T18:09:23.000Z | 2021-03-08T16:10:37.000Z | tests/integration/test_warcraft_client_mythic_keystone_dungeon.py | tehmufifnman/BattleMuffin-Python | f0bb5ee7024624191b33441aeecf3fb29570abe7 | [
"MIT"
] | 2 | 2020-04-20T04:42:37.000Z | 2020-10-28T23:27:07.000Z | tests/integration/test_warcraft_client_mythic_keystone_dungeon.py | tehmufifnman/BattleMuffin-Python | f0bb5ee7024624191b33441aeecf3fb29570abe7 | [
"MIT"
] | 2 | 2020-05-18T06:58:53.000Z | 2021-03-08T16:10:27.000Z | import os
from battlemuffin.clients.warcraft_client import WarcraftClient
from battlemuffin.config.region_config import Locale, Region
def test_get_mythic_keystone_dungeons_index(snapshot):
client = WarcraftClient(
os.getenv("CLIENT_ID"), os.getenv("CLIENT_SECRET"), Region.us, Locale.en_US
)
resp... | 31.679245 | 83 | 0.739726 | 210 | 1,679 | 5.6 | 0.157143 | 0.091837 | 0.173469 | 0.081633 | 0.843537 | 0.797619 | 0.797619 | 0.797619 | 0.719388 | 0.589286 | 0 | 0.004968 | 0.16081 | 1,679 | 52 | 84 | 32.288462 | 0.829666 | 0 | 0 | 0.461538 | 0 | 0 | 0.078618 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.153846 | false | 0 | 0.076923 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ad8e9c0f9a975bd30471a44d0ceb64110534ac21 | 204 | py | Python | philoseismos/processing/__init__.py | iod-ine/philoseismos | 79240d11cf82c3552c4a49d4e19a79b003fa9929 | [
"MIT"
] | 3 | 2020-09-28T17:57:29.000Z | 2021-08-18T03:54:46.000Z | philoseismos/processing/__init__.py | iod-ine/philoseismos | 79240d11cf82c3552c4a49d4e19a79b003fa9929 | [
"MIT"
] | 1 | 2021-04-12T15:18:28.000Z | 2021-04-12T15:18:28.000Z | philoseismos/processing/__init__.py | iod-ine/philoseismos | 79240d11cf82c3552c4a49d4e19a79b003fa9929 | [
"MIT"
] | 1 | 2020-05-12T07:00:59.000Z | 2020-05-12T07:00:59.000Z | """ philoseismos: engineering seismologist's toolbox.
author: Ivan Dubrovin
e-mail: io.dubrovin@icloud.com """
from philoseismos.processing.spectra import average_spectrum_of_dm, dispersion_image_of_dm
| 29.142857 | 90 | 0.823529 | 27 | 204 | 6 | 0.851852 | 0.049383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 204 | 6 | 91 | 34 | 0.870968 | 0.504902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d102ba7748c73bbfe7b7013c0ba7885ffdd70f5c | 12,958 | py | Python | gym_minigrid/envs/customs.py | utnnproject/gym-minigrid | 9e8f9c12964dd36a3c940783d510be525a17e5a8 | [
"Apache-2.0"
] | null | null | null | gym_minigrid/envs/customs.py | utnnproject/gym-minigrid | 9e8f9c12964dd36a3c940783d510be525a17e5a8 | [
"Apache-2.0"
] | null | null | null | gym_minigrid/envs/customs.py | utnnproject/gym-minigrid | 9e8f9c12964dd36a3c940783d510be525a17e5a8 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from gym_minigrid.minigrid import *
from gym_minigrid.register import register
import random
class SimpleCorridor(MiniGridEnv):
def __init__(self, size=19, agent_pos=None, goal_pos=None, obstacle_type=None):
self.obstacle_type = obstacle_type
se... | 29.857143 | 90 | 0.60534 | 1,674 | 12,958 | 4.406213 | 0.071685 | 0.062364 | 0.05423 | 0.064398 | 0.85602 | 0.842869 | 0.792571 | 0.747695 | 0.692381 | 0.666621 | 0 | 0.039713 | 0.290708 | 12,958 | 433 | 91 | 29.926097 | 0.762811 | 0.060349 | 0 | 0.624549 | 0 | 0 | 0.064367 | 0.052844 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072202 | false | 0 | 0.01083 | 0 | 0.137184 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d1404470db4638c22765cbf9bfb567414200965c | 751 | py | Python | cases/calculation.py | minakoyang/YY_python2.7_interpreter_in_CPP | e949f4bbd27752e6dbfef0a887d9567345d512f4 | [
"MIT"
] | 1 | 2019-04-30T16:27:19.000Z | 2019-04-30T16:27:19.000Z | cases/calculation.py | minakoyang/YY_python2.7_interpreter_in_CPP | e949f4bbd27752e6dbfef0a887d9567345d512f4 | [
"MIT"
] | null | null | null | cases/calculation.py | minakoyang/YY_python2.7_interpreter_in_CPP | e949f4bbd27752e6dbfef0a887d9567345d512f4 | [
"MIT"
] | null | null | null | print -1/2
print -1/2-1/2
print -1/2+(-1/2)
print 3/8.0*(-3/4)
print (4/7*1.2-3.34)-2*(3/4.0)
print ++++3.5-------1
print ------------1
print 2.5--------1
print 2.5+.5
print -1-------1
print -1--------1
print 15**2
print 3.6**1.0
print 2.5**3
print 2**6.0
print (-4.5)**3
print 8**(-1.0)
print 18//21
print 8.7//4.5
pr... | 11.920635 | 30 | 0.539281 | 209 | 751 | 1.937799 | 0.100478 | 0.133333 | 0.08642 | 0.039506 | 0.111111 | 0.111111 | 0.061728 | 0.061728 | 0 | 0 | 0 | 0.21519 | 0.158455 | 751 | 62 | 31 | 12.112903 | 0.425633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.903846 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
d152482fe386f995eeff94ed94f565300aca41a4 | 113 | py | Python | pdover2t/misc.py | geiragustsson/PDover2t_fork_rev002 | 45719043fe6ce30766e8a40505e4106ab9c86765 | [
"MIT"
] | null | null | null | pdover2t/misc.py | geiragustsson/PDover2t_fork_rev002 | 45719043fe6ce30766e8a40505e4106ab9c86765 | [
"MIT"
] | null | null | null | pdover2t/misc.py | geiragustsson/PDover2t_fork_rev002 | 45719043fe6ce30766e8a40505e4106ab9c86765 | [
"MIT"
] | null | null | null |
def water_depth_press(wd: "h_l", rho_water, g=9.81) -> "p_e":
p_e = rho_water * g * abs(wd)
return p_e
| 18.833333 | 61 | 0.60177 | 24 | 113 | 2.5 | 0.625 | 0.1 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.230089 | 113 | 5 | 62 | 22.6 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d16e3af186dcd49375815b8b5235fff25248fa81 | 61 | py | Python | dagapp/__init__.py | i2mint/dagapp | d9a8071076bedd6af63d3b2c7a1086d3640c8eed | [
"Apache-2.0"
] | 2 | 2021-11-13T00:36:36.000Z | 2021-12-21T05:43:20.000Z | dagapp/__init__.py | i2mint/dagapp | d9a8071076bedd6af63d3b2c7a1086d3640c8eed | [
"Apache-2.0"
] | 2 | 2021-07-29T16:25:31.000Z | 2021-08-04T16:52:50.000Z | dagapp/__init__.py | i2mint/dagapp | d9a8071076bedd6af63d3b2c7a1086d3640c8eed | [
"Apache-2.0"
] | null | null | null | """Making apps from DAGs"""
from dagapp.base import dag_app
| 15.25 | 31 | 0.737705 | 10 | 61 | 4.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 61 | 3 | 32 | 20.333333 | 0.846154 | 0.344262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
66fbf2927629ec694872c8bae0f246d185ffc6d4 | 151 | py | Python | sponge-integration-tests/examples/core/knowledge_base_from_archive_2.py | mnpas/sponge | 7190f23ae888bbef49d0fbb85157444d6ea48bcd | [
"Apache-2.0"
] | 9 | 2017-12-16T21:48:57.000Z | 2022-01-06T12:22:24.000Z | sponge-integration-tests/examples/core/knowledge_base_from_archive_2.py | mnpas/sponge | 7190f23ae888bbef49d0fbb85157444d6ea48bcd | [
"Apache-2.0"
] | 3 | 2020-12-18T11:56:46.000Z | 2022-03-31T18:37:10.000Z | sponge-integration-tests/examples/core/knowledge_base_from_archive_2.py | mnpas/sponge | 7190f23ae888bbef49d0fbb85157444d6ea48bcd | [
"Apache-2.0"
] | 2 | 2019-12-29T16:08:32.000Z | 2020-06-15T14:05:34.000Z | """
Sponge Knowledge Base
Test - KB from an archive file
"""
class Action2FromArchive(Action):
def onCall(self, arg):
return arg.lower()
| 15.1 | 33 | 0.668874 | 19 | 151 | 5.315789 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.218543 | 151 | 9 | 34 | 16.777778 | 0.847458 | 0.344371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
0f217ba09a4040b1dbf7f531d045e097a17733cf | 52 | py | Python | fpi/example.py | omkarjc/FPI-Function-Portal-Interface- | b87623797108d2177edae154041908025a1d18d3 | [
"MIT"
] | null | null | null | fpi/example.py | omkarjc/FPI-Function-Portal-Interface- | b87623797108d2177edae154041908025a1d18d3 | [
"MIT"
] | null | null | null | fpi/example.py | omkarjc/FPI-Function-Portal-Interface- | b87623797108d2177edae154041908025a1d18d3 | [
"MIT"
] | null | null | null | from base import spydoc
print(spydoc.fpi("add;1;4")) | 26 | 28 | 0.75 | 10 | 52 | 3.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.076923 | 52 | 2 | 28 | 26 | 0.770833 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
0f45a9c2f466781da32622dcffb8cfbfad9e3217 | 2,281 | py | Python | src/report/store_db.py | joelmpiper/bill_taxonomy | 9284dfae905ca8efa558b4fd93469d03cf4b8074 | [
"MIT"
] | null | null | null | src/report/store_db.py | joelmpiper/bill_taxonomy | 9284dfae905ca8efa558b4fd93469d03cf4b8074 | [
"MIT"
] | null | null | null | src/report/store_db.py | joelmpiper/bill_taxonomy | 9284dfae905ca8efa558b4fd93469d03cf4b8074 | [
"MIT"
] | null | null | null | from sqlalchemy.orm import sessionmaker
from sqlalchemy import create_engine
from src.ingest.setup_database import US_Score
from src.ingest.setup_database import NY_Score
def store_us_db(dbname, bills, subject, y_prob, y_true, cfg):
if (subject.split(' ')[0] == 'Bank'):
subject = subject.replace('capital... | 35.092308 | 80 | 0.615081 | 287 | 2,281 | 4.682927 | 0.212544 | 0.0625 | 0.09375 | 0.047619 | 0.87128 | 0.805804 | 0.720982 | 0.720982 | 0.673363 | 0.572917 | 0 | 0.002324 | 0.245506 | 2,281 | 64 | 81 | 35.640625 | 0.778617 | 0.164402 | 0 | 0.761905 | 0 | 0 | 0.093832 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.095238 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0f59e1a07b6f93abbe00c43910be323e2e2374b0 | 146 | py | Python | tsengine/orm/__init__.py | ccccxjin/TsEngine | 5f8deed436eb9756be40f78a7bf52be9e910b501 | [
"MIT"
] | 1 | 2020-07-10T09:11:38.000Z | 2020-07-10T09:11:38.000Z | tsengine/orm/__init__.py | ccccxjin/tsengine | 5f8deed436eb9756be40f78a7bf52be9e910b501 | [
"MIT"
] | null | null | null | tsengine/orm/__init__.py | ccccxjin/tsengine | 5f8deed436eb9756be40f78a7bf52be9e910b501 | [
"MIT"
] | null | null | null | from .insert import Insert
from .query import Query
from .session import Session
from .session_factory import SessionFactory, ScopeSessionFactory
| 29.2 | 64 | 0.849315 | 18 | 146 | 6.833333 | 0.444444 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116438 | 146 | 4 | 65 | 36.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0f5dadb76d6b96043b999be804825395ee7ea7c2 | 83 | py | Python | python/doit/05/argv_test.py | gangserver/py_test | 869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4 | [
"Apache-2.0"
] | null | null | null | python/doit/05/argv_test.py | gangserver/py_test | 869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4 | [
"Apache-2.0"
] | null | null | null | python/doit/05/argv_test.py | gangserver/py_test | 869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4 | [
"Apache-2.0"
] | null | null | null | import sys
print(sys.argv)
for i, name in enumerate(sys.argv):
print(i, name) | 13.833333 | 35 | 0.686747 | 15 | 83 | 3.8 | 0.6 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 6 | 36 | 13.833333 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
7e81ecbff7dd74a6ae1dc190d157d31f8db829bf | 77 | py | Python | acd/interfaces.py | clld/acd | 9782fdcd55ebfe7f01a65c0bcfaedb8cc42c8f67 | [
"Apache-2.0"
] | 1 | 2021-08-07T11:39:56.000Z | 2021-08-07T11:39:56.000Z | acd/interfaces.py | clld/acd | 9782fdcd55ebfe7f01a65c0bcfaedb8cc42c8f67 | [
"Apache-2.0"
] | 7 | 2021-07-13T07:13:37.000Z | 2021-08-16T17:21:06.000Z | acd/interfaces.py | clld/acd | 9782fdcd55ebfe7f01a65c0bcfaedb8cc42c8f67 | [
"Apache-2.0"
] | null | null | null | from zope.interface import Interface
class IFormset(Interface):
""""""
| 12.833333 | 36 | 0.701299 | 8 | 77 | 6.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 5 | 37 | 15.4 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7e853ae068d76a57b2820dd0c961df8252f15239 | 102 | py | Python | transmute_core/tests/frameworks/test_flask/conftest.py | pwesthagen/transmute-core | 4282d082377e522f5e60fe740d0cbe2315f76f50 | [
"MIT"
] | 42 | 2016-06-04T00:16:16.000Z | 2021-06-11T02:09:31.000Z | transmute_core/tests/frameworks/test_flask/conftest.py | pwesthagen/transmute-core | 4282d082377e522f5e60fe740d0cbe2315f76f50 | [
"MIT"
] | 55 | 2016-06-11T13:58:46.000Z | 2021-12-21T06:29:20.000Z | transmute_core/tests/frameworks/test_flask/conftest.py | pwesthagen/transmute-core | 4282d082377e522f5e60fe740d0cbe2315f76f50 | [
"MIT"
] | 18 | 2016-05-18T20:50:53.000Z | 2021-11-18T09:09:59.000Z | import pytest
from .example import app
@pytest.fixture
def test_app():
return app.test_client()
| 12.75 | 28 | 0.745098 | 15 | 102 | 4.933333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 102 | 7 | 29 | 14.571429 | 0.870588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
0e22ccbc75346642932ee0282360e1263f62d7d0 | 443 | py | Python | src/genie/libs/parser/ios/show_acl.py | nujo/genieparser | 083b01efc46afc32abe1a1858729578beab50cd3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/ios/show_acl.py | nujo/genieparser | 083b01efc46afc32abe1a1858729578beab50cd3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/ios/show_acl.py | nujo/genieparser | 083b01efc46afc32abe1a1858729578beab50cd3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | """show_acl.py
supported commands:
* show access-lists
"""
# import iosxe parser
from genie.libs.parser.iosxe.show_acl import ShowAccessLists as ShowAccessLists_iosxe
class ShowAccessLists(ShowAccessLists_iosxe):
"""Parser for show access-lists
show ip access-lists
sho... | 29.533333 | 85 | 0.636569 | 51 | 443 | 5.45098 | 0.392157 | 0.23741 | 0.161871 | 0.122302 | 0.161871 | 0.161871 | 0 | 0 | 0 | 0 | 0 | 0.006349 | 0.288939 | 443 | 15 | 86 | 29.533333 | 0.87619 | 0.460497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
0e443bcb59753efbf64bab29153147533fca39e3 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/core/_type_aliases.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/core/_type_aliases.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/core/_type_aliases.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/e9/f4/3a/5ab7f7070c3492fe7c9e1e48ab43576c6af8c6cb88cc46daeca07f9157 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 96 | 1 | 96 | 96 | 0.520833 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0e45f8a39076cab848244b2e2f1e5d66b17d922f | 2,165 | py | Python | mysite/pages/migrations/0036_hero1model_hero2model.py | cjlee112/socraticqs2 | 2e7dd9d2ec687f68ca8ca341cf5f1b3b8809c820 | [
"Apache-2.0"
] | 8 | 2015-06-02T15:34:44.000Z | 2019-03-21T12:27:30.000Z | mysite/pages/migrations/0036_hero1model_hero2model.py | cjlee112/socraticqs2 | 2e7dd9d2ec687f68ca8ca341cf5f1b3b8809c820 | [
"Apache-2.0"
] | 761 | 2015-01-07T05:13:08.000Z | 2022-02-10T10:23:37.000Z | mysite/pages/migrations/0036_hero1model_hero2model.py | cjlee112/socraticqs2 | 2e7dd9d2ec687f68ca8ca341cf5f1b3b8809c820 | [
"Apache-2.0"
] | 12 | 2015-01-28T20:09:36.000Z | 2018-03-20T13:32:11.000Z | from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('cms', '0020_old_tree_cleanup'),
('pages', '0035_helpcentermodel_intercomarticlemodel'),
]
operations = [
migrations.CreateModel(
name='H... | 43.3 | 226 | 0.570439 | 198 | 2,165 | 6.040404 | 0.323232 | 0.075251 | 0.060201 | 0.073579 | 0.762542 | 0.762542 | 0.710702 | 0.710702 | 0.710702 | 0.710702 | 0 | 0.022049 | 0.28776 | 2,165 | 49 | 227 | 44.183673 | 0.753567 | 0 | 0 | 0.577778 | 0 | 0 | 0.178291 | 0.028637 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.044444 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0e468a116288f3374cb9926df577dd40b334093d | 154 | py | Python | gengine/base/settings.py | greck2908/gamification-engine | 4a74086bde4505217e4b9ba36349a427a7042b4b | [
"MIT"
] | 347 | 2015-03-03T14:25:59.000Z | 2022-03-09T07:46:31.000Z | gengine/base/settings.py | greck2908/gamification-engine | 4a74086bde4505217e4b9ba36349a427a7042b4b | [
"MIT"
] | 76 | 2015-03-05T23:37:31.000Z | 2022-03-31T13:41:42.000Z | gengine/base/settings.py | greck2908/gamification-engine | 4a74086bde4505217e4b9ba36349a427a7042b4b | [
"MIT"
] | 115 | 2015-03-04T23:47:25.000Z | 2021-12-24T06:24:06.000Z | _settings = None
def set_settings(settings):
global _settings
_settings = settings
def get_settings():
global _settings
return _settings | 17.111111 | 27 | 0.733766 | 17 | 154 | 6.235294 | 0.411765 | 0.45283 | 0.415094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 154 | 9 | 28 | 17.111111 | 0.876033 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0e944a626be349e3bade9acca661afdab2dff6c8 | 90 | py | Python | EnergyIntensityIndicators/Residential/__init__.py | NREL/EnergyIntensityIndicators | 6d5a6d528ecd27b930d82088055224473ba2d63e | [
"BSD-3-Clause"
] | 7 | 2020-07-30T15:02:23.000Z | 2022-01-23T20:02:55.000Z | EnergyIntensityIndicators/Residential/__init__.py | NREL/EnergyIntensityIndicators | 6d5a6d528ecd27b930d82088055224473ba2d63e | [
"BSD-3-Clause"
] | 36 | 2020-06-18T15:47:32.000Z | 2021-09-13T21:20:49.000Z | EnergyIntensityIndicators/Residential/__init__.py | NREL/EnergyIntensityIndicators | 6d5a6d528ecd27b930d82088055224473ba2d63e | [
"BSD-3-Clause"
] | 2 | 2020-06-18T13:30:43.000Z | 2020-11-17T11:34:10.000Z | """
Residential Data Module
"""
from .residential_floorspace import ResidentialFloorspace | 18 | 57 | 0.822222 | 8 | 90 | 9.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 90 | 5 | 57 | 18 | 0.901235 | 0.255556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7d05f9c37ef5cdad78b0dac34998974678fe5cbe | 236 | py | Python | synphot/filter_parameterization/__init__.py | spacetelescope/pysynphot_DONOTUSE | 2a382d7bdf29cc4a1e6b69e59d5c1d0f82dabffc | [
"BSD-3-Clause"
] | null | null | null | synphot/filter_parameterization/__init__.py | spacetelescope/pysynphot_DONOTUSE | 2a382d7bdf29cc4a1e6b69e59d5c1d0f82dabffc | [
"BSD-3-Clause"
] | null | null | null | synphot/filter_parameterization/__init__.py | spacetelescope/pysynphot_DONOTUSE | 2a382d7bdf29cc4a1e6b69e59d5c1d0f82dabffc | [
"BSD-3-Clause"
] | null | null | null | """This subpackage handles filter parameterization.
The algorithms in this subpackage were originally developed by
Brett Morris as part of the `tynt <https://github.com/bmorris3/tynt>`_
package.
"""
from .filter_fft import * # noqa
| 23.6 | 70 | 0.766949 | 32 | 236 | 5.59375 | 0.84375 | 0.156425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004951 | 0.144068 | 236 | 9 | 71 | 26.222222 | 0.881188 | 0.838983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7d1e6e547cf6973954cdb6881803208e3adb749a | 552 | py | Python | terrascript/resource/HarryEMartland/appdynamics.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/HarryEMartland/appdynamics.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/HarryEMartland/appdynamics.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/HarryEMartland/appdynamics.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:11:50 UTC)
import terrascript
class appdynamics_action(terrascript.Resource):
pass
class appdynamics_health_rule(terrascript.Resource):
pass
class appdynamics_policy(terrascript.Resource):
... | 19.714286 | 73 | 0.78442 | 59 | 552 | 7.033898 | 0.457627 | 0.228916 | 0.221687 | 0.20241 | 0.281928 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025105 | 0.134058 | 552 | 27 | 74 | 20.444444 | 0.843096 | 0.221014 | 0 | 0.266667 | 1 | 0 | 0.227166 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.266667 | 0.066667 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
adda1ce9d6c53904616dd5424fce8bc674f2942b | 77 | py | Python | singlecellmultiomics/bamProcessing/__init__.py | zztin/SingleCellMultiOmics | d3035c33eb1375f0703cc49537417b755ad8a693 | [
"MIT"
] | 17 | 2019-05-21T09:12:16.000Z | 2022-02-14T19:26:58.000Z | singlecellmultiomics/bamProcessing/__init__.py | zztin/SingleCellMultiOmics | d3035c33eb1375f0703cc49537417b755ad8a693 | [
"MIT"
] | 70 | 2019-05-20T08:08:45.000Z | 2021-06-22T15:58:01.000Z | singlecellmultiomics/bamProcessing/__init__.py | zztin/SingleCellMultiOmics | d3035c33eb1375f0703cc49537417b755ad8a693 | [
"MIT"
] | 7 | 2020-04-09T15:11:12.000Z | 2022-02-14T15:23:31.000Z | from .bamFunctions import *
from .bamFeatures import *
from .pileup import *
| 19.25 | 27 | 0.766234 | 9 | 77 | 6.555556 | 0.555556 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 3 | 28 | 25.666667 | 0.907692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
adf9e3bdfc9bdfe11efe639b00f3fa85eb5508a5 | 16 | py | Python | ola.py | njascanu/hello-world | 9aff9ae8397bdea74e6cf11257677552b154bfd0 | [
"MIT"
] | null | null | null | ola.py | njascanu/hello-world | 9aff9ae8397bdea74e6cf11257677552b154bfd0 | [
"MIT"
] | 2 | 2018-11-05T12:34:52.000Z | 2018-11-05T14:00:21.000Z | ola.py | njascanu/hello-world | 9aff9ae8397bdea74e6cf11257677552b154bfd0 | [
"MIT"
] | null | null | null | print("ola ola") | 16 | 16 | 0.6875 | 3 | 16 | 3.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 16 | 1 | 16 | 16 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
bc238f43f5e684a3b473d8d4b632c0826fcce7cd | 48 | py | Python | tests/components/hvv_departures/__init__.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/hvv_departures/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/hvv_departures/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests for the HVV Departures integration."""
| 24 | 47 | 0.729167 | 6 | 48 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 1 | 48 | 48 | 0.833333 | 0.854167 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
70bed2053a300a3246d7d9e3e7f64127aa2e84c5 | 315 | py | Python | selfcontact/__init__.py | GuyTevet/selfcontact | bcb062220539601f86aa8329ce24e85ed6e85311 | [
"zlib-acknowledgement",
"Xnet",
"X11"
] | null | null | null | selfcontact/__init__.py | GuyTevet/selfcontact | bcb062220539601f86aa8329ce24e85ed6e85311 | [
"zlib-acknowledgement",
"Xnet",
"X11"
] | null | null | null | selfcontact/__init__.py | GuyTevet/selfcontact | bcb062220539601f86aa8329ce24e85ed6e85311 | [
"zlib-acknowledgement",
"Xnet",
"X11"
] | null | null | null | from .utils.mesh import winding_numbers
from .utils.mesh import batch_face_normals, \
batch_pairwise_dist, \
winding_numbers
from .body_segmentation import BatchBodySegment
from .utils.sparse import sparse_batch_mm
from .selfcontact import SelfContact, SelfContactSmall | 45 | 54 | 0.736508 | 35 | 315 | 6.371429 | 0.514286 | 0.121076 | 0.116592 | 0.170404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 315 | 7 | 54 | 45 | 0.910204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cb359c8ce9379fec9d1bb20a51acab6180c3f6ad | 13,539 | py | Python | tests/test_model_evaluation.py | MarieRoald/component-viz | c1728cdc672dcffc9dd5c396acbb1cbfc57657b3 | [
"MIT"
] | null | null | null | tests/test_model_evaluation.py | MarieRoald/component-viz | c1728cdc672dcffc9dd5c396acbb1cbfc57657b3 | [
"MIT"
] | null | null | null | tests/test_model_evaluation.py | MarieRoald/component-viz | c1728cdc672dcffc9dd5c396acbb1cbfc57657b3 | [
"MIT"
] | null | null | null | import numpy as np
import pytest
import scipy.linalg as sla
import tensorly as tl
from component_vis import factor_tools, model_evaluation
from tensorly.random import random_cp
def _estimate_core_tensor(factors, X):
lhs = factors[0]
for factor in factors[1:]:
lhs = np.kron(lhs, factor)
rhs = X.re... | 32.702899 | 111 | 0.467538 | 1,420 | 13,539 | 4.33169 | 0.202113 | 0.041132 | 0.063567 | 0.071696 | 0.757926 | 0.718745 | 0.70899 | 0.675337 | 0.673386 | 0.638758 | 0 | 0.338019 | 0.416796 | 13,539 | 413 | 112 | 32.782082 | 0.440983 | 0.02659 | 0 | 0.648649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037838 | 1 | 0.027027 | false | 0 | 0.016216 | 0 | 0.045946 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cb635649431a4348f7d80f7fec2d0a4bfd9765d0 | 62 | py | Python | python/testData/intentions/PyAnnotateTypesIntentionTest/typeComment_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/PyAnnotateTypesIntentionTest/typeComment_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/PyAnnotateTypesIntentionTest/typeComment_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo(x, y):
# type: (object, object) -> object
pass | 20.666667 | 38 | 0.548387 | 9 | 62 | 3.777778 | 0.777778 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274194 | 62 | 3 | 39 | 20.666667 | 0.755556 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
cb87b4fa74c120b8ee53d10b444b5cefaab9dce4 | 196 | py | Python | 3-Patron/python/Mazmorra.py | TanZng/patrones-combinados | 93796d9d5296649bd76b7b2ee7c723156b9a120f | [
"MIT"
] | 1 | 2021-09-13T15:45:48.000Z | 2021-09-13T15:45:48.000Z | 3-Patron/python/Mazmorra.py | TanZng/patrones-combinados | 93796d9d5296649bd76b7b2ee7c723156b9a120f | [
"MIT"
] | null | null | null | 3-Patron/python/Mazmorra.py | TanZng/patrones-combinados | 93796d9d5296649bd76b7b2ee7c723156b9a120f | [
"MIT"
] | 1 | 2021-09-24T03:00:47.000Z | 2021-09-24T03:00:47.000Z | class Mazmorra():
def __init__(self):
self.__salas = []
@property
def salas(self):
return self.__salas
def addSala(self, sala):
self.__salas.append(sala)
| 17.818182 | 33 | 0.586735 | 22 | 196 | 4.772727 | 0.5 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295918 | 196 | 10 | 34 | 19.6 | 0.76087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.125 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
cb9a08587c5538d09c4985cb9fb18da8e7c1baab | 85 | py | Python | moff/attribute/__init__.py | Tikubonn/moff | 1c363f60959138311068177fca177d0f0dc97380 | [
"MIT"
] | null | null | null | moff/attribute/__init__.py | Tikubonn/moff | 1c363f60959138311068177fca177d0f0dc97380 | [
"MIT"
] | null | null | null | moff/attribute/__init__.py | Tikubonn/moff | 1c363f60959138311068177fca177d0f0dc97380 | [
"MIT"
] | null | null | null | from .srcset import Srcset, SrcsetAttribute
from .sizes import Sizes, SizesAttribute
| 28.333333 | 43 | 0.835294 | 10 | 85 | 7.1 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 85 | 2 | 44 | 42.5 | 0.946667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cba2cb1a8aa518f633ef41a40d9d56c21a350d50 | 447 | py | Python | xlsxlite/test/test_utils.py | nyaruka/xlsxlite | 18da63f47de1e5d07e8f9580e49113da6a9bc683 | [
"MIT"
] | 2 | 2018-07-09T01:55:33.000Z | 2019-06-20T21:12:26.000Z | xlsxlite/test/test_utils.py | nyaruka/xlsxlite | 18da63f47de1e5d07e8f9580e49113da6a9bc683 | [
"MIT"
] | 5 | 2018-06-13T22:29:44.000Z | 2021-03-04T22:00:22.000Z | xlsxlite/test/test_utils.py | nyaruka/xlsxlite | 18da63f47de1e5d07e8f9580e49113da6a9bc683 | [
"MIT"
] | null | null | null | from datetime import datetime
import pytest
import pytz
from xlsxlite.utils import datetime_to_serial
def test_datetime_to_serial():
assert datetime_to_serial(datetime(2013, 1, 1, 12, 0, 0)) == 41275.5
assert datetime_to_serial(datetime(2018, 6, 15, 11, 24, 30, 0)) == 43266.47534722222
# try with a non... | 27.9375 | 88 | 0.720358 | 70 | 447 | 4.442857 | 0.485714 | 0.160772 | 0.257235 | 0.231511 | 0.360129 | 0.244373 | 0.244373 | 0.244373 | 0.244373 | 0.244373 | 0 | 0.162602 | 0.174497 | 447 | 15 | 89 | 29.8 | 0.680217 | 0.064877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.111111 | true | 0 | 0.444444 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cbad37947da5c3a064b13aeb2430a84631471f18 | 41 | py | Python | unfollowery/__init__.py | LUKASANUKVARI/unfollowery | f780640ca5b55669b4b296faafedd4bbab51e1bf | [
"MIT"
] | 3 | 2020-08-16T14:11:59.000Z | 2020-09-21T04:00:16.000Z | unfollowery/__init__.py | luccario/InstaUnfollowers | f780640ca5b55669b4b296faafedd4bbab51e1bf | [
"MIT"
] | null | null | null | unfollowery/__init__.py | luccario/InstaUnfollowers | f780640ca5b55669b4b296faafedd4bbab51e1bf | [
"MIT"
] | null | null | null | from unfollowery.crawler import Profile
| 20.5 | 40 | 0.853659 | 5 | 41 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cbb2e77c358e124223f74699e900854888c92575 | 228 | py | Python | models/monitors/monitor.py | trae-horton/secret-bridge | ffe561f2c290972357579cd1237d567b64dba336 | [
"BSD-3-Clause"
] | 152 | 2019-09-25T15:08:16.000Z | 2022-03-31T03:34:36.000Z | models/monitors/monitor.py | trae-horton/secret-bridge | ffe561f2c290972357579cd1237d567b64dba336 | [
"BSD-3-Clause"
] | 23 | 2019-09-30T11:04:10.000Z | 2022-02-23T18:44:46.000Z | models/monitors/monitor.py | trae-horton/secret-bridge | ffe561f2c290972357579cd1237d567b64dba336 | [
"BSD-3-Clause"
] | 43 | 2019-09-25T16:57:04.000Z | 2021-11-25T05:21:16.000Z | from abc import ABC, abstractmethod
class MonitorModel(ABC):
@abstractmethod
def poll(self):
"""Polls the appropriate Github Events API for new events associated
with this model.
"""
pass | 25.333333 | 76 | 0.649123 | 26 | 228 | 5.692308 | 0.846154 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285088 | 228 | 9 | 77 | 25.333333 | 0.907975 | 0.359649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
cbb881db08ca129cbba2949277f9b0b3fed4d340 | 138 | py | Python | Data Scientist Career Path/3. Python Fundamentals/11. Python Files/6. with.py | myarist/Codecademy | 2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb | [
"MIT"
] | 23 | 2021-06-06T15:35:55.000Z | 2022-03-21T06:53:42.000Z | Data Scientist Career Path/3. Python Fundamentals/11. Python Files/6. with.py | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | null | null | null | Data Scientist Career Path/3. Python Fundamentals/11. Python Files/6. with.py | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | 9 | 2021-06-08T01:32:04.000Z | 2022-03-18T15:38:09.000Z | with open('fun_file.txt') as close_this_file:
setup = close_this_file.readline()
punchline = close_this_file.readline()
print(setup)
| 23 | 45 | 0.768116 | 21 | 138 | 4.714286 | 0.571429 | 0.272727 | 0.393939 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 138 | 5 | 46 | 27.6 | 0.811475 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cbe16f6f1f0dfc43dfd9224ba4bf86f1dc67f892 | 123 | py | Python | Lib/lib2to3/tests/data/fixers/myfixes/fix_explicit.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 52,316 | 2015-01-01T15:56:25.000Z | 2022-03-31T23:19:01.000Z | Lib/lib2to3/tests/data/fixers/myfixes/fix_explicit.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 25,286 | 2015-03-03T23:18:02.000Z | 2022-03-31T23:17:27.000Z | Lib/lib2to3/tests/data/fixers/myfixes/fix_explicit.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 31,623 | 2015-01-01T13:29:37.000Z | 2022-03-31T19:55:06.000Z | from lib2to3.fixer_base import BaseFix
class FixExplicit(BaseFix):
explicit = True
def match(self): return False
| 17.571429 | 38 | 0.747967 | 16 | 123 | 5.6875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.186992 | 123 | 6 | 39 | 20.5 | 0.89 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1de2386207bca35ae35a41156defa759c9b3e485 | 119 | py | Python | emol/emol/models/tests/test_user.py | lrt512/emol | e1dd3462632a525c3b9701d4fd9a332d19c93b85 | [
"MIT"
] | null | null | null | emol/emol/models/tests/test_user.py | lrt512/emol | e1dd3462632a525c3b9701d4fd9a332d19c93b85 | [
"MIT"
] | null | null | null | emol/emol/models/tests/test_user.py | lrt512/emol | e1dd3462632a525c3b9701d4fd9a332d19c93b85 | [
"MIT"
] | null | null | null | import pytest
from werkzeug.exceptions import Unauthorized
from emol.models import User, Role, UserRole, Discipline
| 17 | 56 | 0.823529 | 15 | 119 | 6.533333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 119 | 6 | 57 | 19.833333 | 0.951456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1dfcc91db7d47b4e4009f87847f7a10aa5756276 | 651 | py | Python | tests/test_plots/__init__.py | SMargreitter/ChemCharts | 174acfb09c06049a41a48b14b89ba987ee0683ee | [
"Apache-2.0"
] | 16 | 2022-01-29T05:32:13.000Z | 2022-03-02T15:19:17.000Z | tests/test_plots/__init__.py | SMargreitter/ChemCharts | 174acfb09c06049a41a48b14b89ba987ee0683ee | [
"Apache-2.0"
] | 7 | 2022-02-01T22:34:57.000Z | 2022-03-11T23:02:27.000Z | tests/test_plots/__init__.py | SMargreitter/ChemCharts | 174acfb09c06049a41a48b14b89ba987ee0683ee | [
"Apache-2.0"
] | 1 | 2022-01-19T12:41:38.000Z | 2022-01-19T12:41:38.000Z | from tests.test_plots.test_base_plot import TestBasePlot
from tests.test_plots.test_contour_plot import TestContourPlot
from tests.test_plots.test_hexagonal_plot import TestHexagonalPlot
from tests.test_plots.test_histogram_plot import TestHistogramPlot
from tests.test_plots.test_scatter_boxplot_plot import TestScatter... | 65.1 | 85 | 0.917051 | 85 | 651 | 6.658824 | 0.282353 | 0.14311 | 0.206714 | 0.286219 | 0.411661 | 0.256184 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0553 | 651 | 9 | 86 | 72.333333 | 0.920325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
38020e67e7229da6b90b34047af4d9f9871ed285 | 51 | py | Python | models/__init__.py | artBoffin/GooeyBrain | 60b08c713c97a4ae24ad9a47a73d69dab41d27ea | [
"Apache-2.0"
] | 2 | 2017-07-13T04:53:47.000Z | 2020-08-20T03:48:46.000Z | models/__init__.py | artBoffin/GooeyBrain | 60b08c713c97a4ae24ad9a47a73d69dab41d27ea | [
"Apache-2.0"
] | 11 | 2017-02-19T01:28:43.000Z | 2022-03-11T23:15:40.000Z | models/__init__.py | artBoffin/GooeyBrain | 60b08c713c97a4ae24ad9a47a73d69dab41d27ea | [
"Apache-2.0"
] | null | null | null | import base_model
BaseModel = base_model.BaseModel
| 17 | 32 | 0.862745 | 7 | 51 | 6 | 0.571429 | 0.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 51 | 2 | 33 | 25.5 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
382aecb2f5a7cb74ab464f0b5088d1db0b59e5f9 | 141 | py | Python | python_fishc/13.0.py | iisdd/Courses | a47d202e0d7e1ba85a38c6fe3dd9619eceb1045c | [
"MIT"
] | 1 | 2020-11-29T14:42:01.000Z | 2020-11-29T14:42:01.000Z | python_fishc/13.0.py | iisdd/Courses | a47d202e0d7e1ba85a38c6fe3dd9619eceb1045c | [
"MIT"
] | null | null | null | python_fishc/13.0.py | iisdd/Courses | a47d202e0d7e1ba85a38c6fe3dd9619eceb1045c | [
"MIT"
] | null | null | null | '''
0.写一个元组生成器(类似于列表推导式)
'''
# 用tuple1.__next__()一个一个显示
tuple1 = (x**2 for x in range(10))
def jixu():
return tuple1.__next__()
| 17.625 | 35 | 0.609929 | 19 | 141 | 4.105263 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.205674 | 141 | 7 | 36 | 20.142857 | 0.633929 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
697ef623f999454920ee513d0a464183e0204fa9 | 69 | py | Python | animals/__init__.py | przemekkot/object_forge | 84d4d364ed0dbbb97878df1c22ff9aec4564c8f4 | [
"MIT"
] | null | null | null | animals/__init__.py | przemekkot/object_forge | 84d4d364ed0dbbb97878df1c22ff9aec4564c8f4 | [
"MIT"
] | null | null | null | animals/__init__.py | przemekkot/object_forge | 84d4d364ed0dbbb97878df1c22ff9aec4564c8f4 | [
"MIT"
] | null | null | null | # encoding: utf-8
from .animals import Animals
from .vet import Vet
| 13.8 | 28 | 0.753623 | 11 | 69 | 4.727273 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.173913 | 69 | 4 | 29 | 17.25 | 0.894737 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
698067ca8815ad55adb3c0b9d9eab63ed1e75eb7 | 52 | py | Python | playlist_manager/util/errors.py | jkleve/auto-playlist | 40982d428405b92cd68664d295c2b443bc0f9db0 | [
"MIT"
] | null | null | null | playlist_manager/util/errors.py | jkleve/auto-playlist | 40982d428405b92cd68664d295c2b443bc0f9db0 | [
"MIT"
] | null | null | null | playlist_manager/util/errors.py | jkleve/auto-playlist | 40982d428405b92cd68664d295c2b443bc0f9db0 | [
"MIT"
] | null | null | null |
class InitializationException(Exception):
pass | 13 | 41 | 0.788462 | 4 | 52 | 10.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 4 | 42 | 13 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6986bfb7d1a443957cabdb505359fbf587be6eed | 48 | py | Python | example/gan/mxgan/__init__.py | Liuxg16/BrainMatrix | 0ec70edd4e12dd3719d20dd14d4e24438c60326f | [
"Apache-2.0"
] | 249 | 2016-06-17T17:59:14.000Z | 2021-05-31T09:56:17.000Z | example/gan/mxgan/__init__.py | Liuxg16/BrainMatrix | 0ec70edd4e12dd3719d20dd14d4e24438c60326f | [
"Apache-2.0"
] | 9 | 2016-09-29T06:11:41.000Z | 2018-11-18T16:09:30.000Z | example/gan/mxgan/__init__.py | Liuxg16/BrainMatrix | 0ec70edd4e12dd3719d20dd14d4e24438c60326f | [
"Apache-2.0"
] | 64 | 2016-06-17T22:40:26.000Z | 2020-05-16T00:31:58.000Z | """T-test: random experiment code by Tianqi """
| 24 | 47 | 0.6875 | 7 | 48 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.804878 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
69ac6c298889a1d3807dcaee16c12b3b7baf5058 | 142 | py | Python | vedaseg/metrics/__init__.py | YuxinZou/vedaseg | b586ecb195af9682d0429d424ed8ad999e1ae9a7 | [
"Apache-2.0"
] | 438 | 2019-12-17T12:31:15.000Z | 2022-03-03T08:43:15.000Z | vedaseg/metrics/__init__.py | YuxinZou/vedaseg | b586ecb195af9682d0429d424ed8ad999e1ae9a7 | [
"Apache-2.0"
] | 25 | 2019-12-23T08:57:47.000Z | 2021-12-05T02:50:10.000Z | vedaseg/metrics/__init__.py | YuxinZou/vedaseg | b586ecb195af9682d0429d424ed8ad999e1ae9a7 | [
"Apache-2.0"
] | 56 | 2019-12-17T12:06:08.000Z | 2021-12-16T06:23:19.000Z | from .builder import build_metrics
from .metrics import (Accuracy, DiceScore, IoU, MIoU, MultiLabelIoU,
MultiLabelMIoU)
| 35.5 | 68 | 0.690141 | 14 | 142 | 6.928571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246479 | 142 | 3 | 69 | 47.333333 | 0.906542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
69ce337a1d2dfd2bc001cc8226d7fba133f23bcf | 599 | py | Python | gym_environments/gym_shadow_hand/__init__.py | szahlner/shadow-teleop | 360c7d7c2586e9295c45fca0b4850b43d230bcda | [
"MIT"
] | 1 | 2022-03-02T20:27:20.000Z | 2022-03-02T20:27:20.000Z | gym_environments/gym_shadow_hand/__init__.py | szahlner/shadow-teleop | 360c7d7c2586e9295c45fca0b4850b43d230bcda | [
"MIT"
] | null | null | null | gym_environments/gym_shadow_hand/__init__.py | szahlner/shadow-teleop | 360c7d7c2586e9295c45fca0b4850b43d230bcda | [
"MIT"
] | null | null | null | from gym.envs.registration import register
register(
id="shadow_hand_reach-v0",
entry_point="gym_shadow_hand.envs:ShadowHandReachEnvV0"
)
register(
id="shadow_hand_reach-v1",
entry_point="gym_shadow_hand.envs:ShadowHandReachEnv"
)
register(
id="shadow_hand_reach_goalenv-v1",
entry_point="gym_... | 22.185185 | 71 | 0.781302 | 73 | 599 | 6.041096 | 0.287671 | 0.226757 | 0.181406 | 0.226757 | 0.639456 | 0.356009 | 0.294785 | 0.163265 | 0 | 0 | 0 | 0.011321 | 0.115192 | 599 | 26 | 72 | 23.038462 | 0.820755 | 0 | 0 | 0.238095 | 0 | 0 | 0.569282 | 0.469115 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.047619 | 0 | 0.047619 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
38a18af7fedb6450efb07405d82eef3c1816138e | 151 | py | Python | __init__.py | sys-bio/sbmlLayout | 872783ff8f1a485d921d86cab4b1da600af9f23b | [
"MIT"
] | null | null | null | __init__.py | sys-bio/sbmlLayout | 872783ff8f1a485d921d86cab4b1da600af9f23b | [
"MIT"
] | null | null | null | __init__.py | sys-bio/sbmlLayout | 872783ff8f1a485d921d86cab4b1da600af9f23b | [
"MIT"
] | null | null | null |
#from .sbLayout import sbmlLayout
from . import editSBML
from . import exportSBML
from . import sbLayout
from sbmlLayout._version import __version__
| 18.875 | 43 | 0.81457 | 18 | 151 | 6.555556 | 0.388889 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145695 | 151 | 7 | 44 | 21.571429 | 0.914729 | 0.211921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
38ac85280946c4ff3ec2417f02eee9a44b2ce968 | 324 | py | Python | simplified_scrapy/core/requesttm_base.py | yiyedata/simplified-scrapy | ccfdc686c53b2da3dac733892d4f184f6293f002 | [
"Apache-2.0"
] | 7 | 2019-08-11T10:31:03.000Z | 2021-03-08T10:07:52.000Z | simplified_scrapy/core/requesttm_base.py | yiyedata/simplified-scrapy | ccfdc686c53b2da3dac733892d4f184f6293f002 | [
"Apache-2.0"
] | 1 | 2020-12-29T02:30:18.000Z | 2021-01-25T02:49:37.000Z | simplified_scrapy/core/requesttm_base.py | yiyedata/simplified-scrapy | ccfdc686c53b2da3dac733892d4f184f6293f002 | [
"Apache-2.0"
] | 4 | 2019-10-22T02:14:35.000Z | 2021-05-13T07:01:56.000Z | #!/usr/bin/python
#coding=utf-8
class RequestTmBase:
def addRecode(self, ssp, url, tmSpan, state, concurrency,countPer10s,size):
raise NotImplementedError
def startRecode(self):
raise NotImplementedError
def startServer(self):
raise NotImplementedError
def endRecode(self):
raise NotImplementedE... | 27 | 77 | 0.762346 | 35 | 324 | 7.057143 | 0.657143 | 0.388664 | 0.327935 | 0.251012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010909 | 0.151235 | 324 | 12 | 78 | 27 | 0.887273 | 0.08642 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
38b55ef0484fe13cf0cddba73cdb791d9562b120 | 98 | py | Python | app/tests/__init__.py | NobeKanai/netease_backup | 00b0f5138f6b788d6db1d75a1431e5880db35631 | [
"MIT"
] | 1 | 2020-05-05T03:54:01.000Z | 2020-05-05T03:54:01.000Z | app/tests/__init__.py | NobeKanai/netease_backup | 00b0f5138f6b788d6db1d75a1431e5880db35631 | [
"MIT"
] | null | null | null | app/tests/__init__.py | NobeKanai/netease_backup | 00b0f5138f6b788d6db1d75a1431e5880db35631 | [
"MIT"
] | null | null | null | import sys
import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.path.pardir))
| 19.6 | 75 | 0.755102 | 18 | 98 | 3.888889 | 0.555556 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.081633 | 98 | 4 | 76 | 24.5 | 0.766667 | 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 | 0 | 0 | 0 | 5 |
38cfdb61fa6827cffd9ae05c736312e22c5f8930 | 327 | py | Python | django/cheese/apps/core/views.py | whutch/cheese | 9fea560a81d2b26c70551cdc30ff0befc9069c75 | [
"MIT"
] | null | null | null | django/cheese/apps/core/views.py | whutch/cheese | 9fea560a81d2b26c70551cdc30ff0befc9069c75 | [
"MIT"
] | null | null | null | django/cheese/apps/core/views.py | whutch/cheese | 9fea560a81d2b26c70551cdc30ff0befc9069c75 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""View functions for core app."""
# Part of Cheese (https://github.com/whutch/cheese)
# :copyright: (c) 2015 Will Hutcheson
# :license: MIT (https://github.com/whutch/cheese/blob/master/LICENSE.txt)
from django.shortcuts import render
def home(request):
return render(request, "core/home.... | 27.25 | 74 | 0.703364 | 46 | 327 | 5 | 0.76087 | 0.095652 | 0.121739 | 0.173913 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017483 | 0.125382 | 327 | 11 | 75 | 29.727273 | 0.786713 | 0.642202 | 0 | 0 | 0 | 0 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
2a0f763ef96ea9744e1f5c90fdfa47ad497e1b28 | 55 | py | Python | src/objects/WebApp.sikuli/WebApp.py | adrianpothuaud/Sikuli-WS | 6210a949768fb4eb2b80693818ae3eb31ec9c406 | [
"MIT"
] | 1 | 2018-02-20T16:28:45.000Z | 2018-02-20T16:28:45.000Z | src/objects/WebApp.sikuli/WebApp.py | adrianpothuaud/Sikuli-WS | 6210a949768fb4eb2b80693818ae3eb31ec9c406 | [
"MIT"
] | null | null | null | src/objects/WebApp.sikuli/WebApp.py | adrianpothuaud/Sikuli-WS | 6210a949768fb4eb2b80693818ae3eb31ec9c406 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
"""
"""
from sikuli import *
| 6.875 | 22 | 0.472727 | 6 | 55 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.236364 | 55 | 7 | 23 | 7.857143 | 0.595238 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2a91a498c75313be2aa269d2f03f3648b7a5dfb7 | 161 | py | Python | scraping/admin.py | stepacool/work4sharingPy | c6ffdb3ac8a2956181c290bc4617e3cb11e13dba | [
"MIT"
] | null | null | null | scraping/admin.py | stepacool/work4sharingPy | c6ffdb3ac8a2956181c290bc4617e3cb11e13dba | [
"MIT"
] | 5 | 2021-03-19T01:48:51.000Z | 2021-09-22T18:52:20.000Z | scraping/admin.py | stepacool/work4sharingPy | c6ffdb3ac8a2956181c290bc4617e3cb11e13dba | [
"MIT"
] | 2 | 2020-04-16T20:23:11.000Z | 2020-04-18T12:35:46.000Z | from django.contrib import admin
# Register your models here.
from scraping.models import Employee, Job
admin.site.register(Employee)
admin.site.register(Job)
| 20.125 | 41 | 0.807453 | 23 | 161 | 5.652174 | 0.565217 | 0.138462 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111801 | 161 | 7 | 42 | 23 | 0.909091 | 0.161491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aa6d835956fca3037285362f00357a730863d426 | 601 | py | Python | precise/skaters/portfoliostatic/acdc.py | ChandanKSingh/precise | 3c420fe34d252a557b7a17ed9f7637be2fa86e20 | [
"MIT"
] | null | null | null | precise/skaters/portfoliostatic/acdc.py | ChandanKSingh/precise | 3c420fe34d252a557b7a17ed9f7637be2fa86e20 | [
"MIT"
] | null | null | null | precise/skaters/portfoliostatic/acdc.py | ChandanKSingh/precise | 3c420fe34d252a557b7a17ed9f7637be2fa86e20 | [
"MIT"
] | null | null | null | from precise.skaters.portfoliostatic.weakportfactory import weak_portfolio_factory
from precise.skaters.portfoliostatic.acdcfactory import schur_complement_portfolio_factory
# Acca Dacca Portfolio method
#
# It's gonna rock you ... eventually
def acdc_weak_s5_port(cov=None, pre=None):
return schur_complement_por... | 31.631579 | 104 | 0.810316 | 87 | 601 | 5.298851 | 0.436782 | 0.208243 | 0.130152 | 0.201735 | 0.420824 | 0.420824 | 0.420824 | 0.420824 | 0.420824 | 0.420824 | 0 | 0.011173 | 0.106489 | 601 | 18 | 105 | 33.388889 | 0.8473 | 0.129784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
aa7f9f5b777b78278cfacb287c182dc67cace8ff | 63 | py | Python | handlers/__init__.py | Wilidon/MrushNotice | d03979f8b271c2f2df10482090631664b14fef1d | [
"MIT"
] | 1 | 2022-02-13T08:19:32.000Z | 2022-02-13T08:19:32.000Z | handlers/__init__.py | Wilidon/MrushNotice | d03979f8b271c2f2df10482090631664b14fef1d | [
"MIT"
] | null | null | null | handlers/__init__.py | Wilidon/MrushNotice | d03979f8b271c2f2df10482090631664b14fef1d | [
"MIT"
] | null | null | null | from .main import dp
from .callback import dp
__all__ = ['dp'] | 15.75 | 24 | 0.714286 | 10 | 63 | 4.1 | 0.6 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 4 | 25 | 15.75 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
aab16ad116831c58cf0d6b064be71f9d9a7b741d | 20 | py | Python | checkov/version.py | DarwinJS/checkov | 98b6679f01debf82132705e467d5a509dc9c05ca | [
"Apache-2.0"
] | null | null | null | checkov/version.py | DarwinJS/checkov | 98b6679f01debf82132705e467d5a509dc9c05ca | [
"Apache-2.0"
] | null | null | null | checkov/version.py | DarwinJS/checkov | 98b6679f01debf82132705e467d5a509dc9c05ca | [
"Apache-2.0"
] | null | null | null | version = '1.0.640'
| 10 | 19 | 0.6 | 4 | 20 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.15 | 20 | 1 | 20 | 20 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aacffa5327b6e7c2332c6a57d738c1834f42c037 | 171 | py | Python | tests/test_account.py | IanMadlenya/kaleidoscope | be3e28c1b4b958f81d8d67df03abebbebcf7965a | [
"MIT"
] | 1 | 2020-08-30T15:29:04.000Z | 2020-08-30T15:29:04.000Z | tests/test_account.py | IanMadlenya/kaleidoscope | be3e28c1b4b958f81d8d67df03abebbebcf7965a | [
"MIT"
] | null | null | null | tests/test_account.py | IanMadlenya/kaleidoscope | be3e28c1b4b958f81d8d67df03abebbebcf7965a | [
"MIT"
] | 2 | 2019-09-18T07:13:32.000Z | 2020-11-20T18:15:18.000Z | from unittest import TestCase
class TestAccount(TestCase):
def test_process_order(self):
self.fail()
def test_update_account(self):
self.fail()
| 17.1 | 34 | 0.684211 | 21 | 171 | 5.380952 | 0.666667 | 0.123894 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 171 | 9 | 35 | 19 | 0.856061 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
aad48fcd9b4928429883d4b5cfed414ed1386787 | 225 | py | Python | Python/No Idea/No Idea!.py | sachinprabhu007/HackerRank-Solutions | f42d3c1e989b288e42b4674a926d007aa22940a1 | [
"MIT"
] | null | null | null | Python/No Idea/No Idea!.py | sachinprabhu007/HackerRank-Solutions | f42d3c1e989b288e42b4674a926d007aa22940a1 | [
"MIT"
] | 1 | 2019-01-16T12:13:29.000Z | 2019-01-16T14:57:57.000Z | Python/No Idea/No Idea!.py | sachinprabhu007/HackerRank-Solutions | f42d3c1e989b288e42b4674a926d007aa22940a1 | [
"MIT"
] | null | null | null | # Enter your code here. Read input from STDIN. Print output to STDOUT
n, m = input().split()
sc_ar = input().split()
A = set(input().split())
B = set(input().split())
print sum([(i in A) - (i in B) for i in sc_ar])
| 25 | 70 | 0.604444 | 41 | 225 | 3.268293 | 0.585366 | 0.298507 | 0.19403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213333 | 225 | 8 | 71 | 28.125 | 0.757062 | 0.297778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
632d708614d44a85faa8a4ed6adebf07d047fc0b | 36 | py | Python | avalanche/benchmarks/generators/__init__.py | aishikhar/avalanche | 39c361aba1663795ed33f093ab2e15cc5792026e | [
"MIT"
] | 1 | 2021-08-11T19:43:38.000Z | 2021-08-11T19:43:38.000Z | avalanche/benchmarks/generators/__init__.py | aishikhar/avalanche | 39c361aba1663795ed33f093ab2e15cc5792026e | [
"MIT"
] | null | null | null | avalanche/benchmarks/generators/__init__.py | aishikhar/avalanche | 39c361aba1663795ed33f093ab2e15cc5792026e | [
"MIT"
] | 1 | 2021-04-09T08:10:27.000Z | 2021-04-09T08:10:27.000Z | from .scenario_generators import *
| 18 | 35 | 0.805556 | 4 | 36 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2db80c00f6b0724fd3320958c0b094da276e4a2b | 48 | py | Python | src/python/ensureconda/__main__.py | ForgottenProgramme/ensureconda | fbb35dff988f5324d2af7f4b53425d32fa4e5e8c | [
"MIT"
] | 7 | 2020-10-27T21:13:27.000Z | 2021-11-15T17:37:25.000Z | src/python/ensureconda/__main__.py | ForgottenProgramme/ensureconda | fbb35dff988f5324d2af7f4b53425d32fa4e5e8c | [
"MIT"
] | 10 | 2020-09-10T17:29:52.000Z | 2022-03-23T18:00:49.000Z | src/python/ensureconda/__main__.py | ForgottenProgramme/ensureconda | fbb35dff988f5324d2af7f4b53425d32fa4e5e8c | [
"MIT"
] | 4 | 2020-09-11T14:08:02.000Z | 2022-03-23T04:30:56.000Z | from .cli import ensureconda_cli as cli
cli()
| 9.6 | 39 | 0.75 | 8 | 48 | 4.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 4 | 40 | 12 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9340da790cc100cafc8662fb043af7d2e599ee59 | 613 | py | Python | pineapple/tracking.py | 735tesla/python-pineapple | e108f1a1685e3fe045e27ceacc7827fb498da669 | [
"MIT"
] | 11 | 2016-05-14T03:47:44.000Z | 2018-06-08T12:19:21.000Z | pineapple/tracking.py | 735tesla/python-pineapple | e108f1a1685e3fe045e27ceacc7827fb498da669 | [
"MIT"
] | 2 | 2017-09-14T23:37:54.000Z | 2018-05-15T17:04:42.000Z | pineapple/tracking.py | 735tesla/python-pineapple | e108f1a1685e3fe045e27ceacc7827fb498da669 | [
"MIT"
] | 8 | 2016-05-16T04:19:58.000Z | 2018-04-16T00:51:54.000Z | from module import Module
class Tracking(Module):
def __init__(self, api):
super(Tracking, self).__init__(api, 'Tracking')
def getScript(self):
return self.request('getScript')
def setScript(self, script):
return self.request('saveScript', {'trackingScript': script})
def getTrac... | 34.055556 | 69 | 0.649266 | 68 | 613 | 5.735294 | 0.323529 | 0.153846 | 0.261538 | 0.161538 | 0.123077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212072 | 613 | 17 | 70 | 36.058824 | 0.807453 | 0 | 0 | 0 | 0 | 0 | 0.140294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4375 | false | 0 | 0.0625 | 0.375 | 0.9375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
93463b29d9ecca86249743d467e7180741cabf69 | 156 | py | Python | tester/test_handlers/test_link_handler.py | seaioheroes/TorCMS-master | 266aa6dcf8e2d36024dd278e6f56fd638c88c6ff | [
"MIT"
] | null | null | null | tester/test_handlers/test_link_handler.py | seaioheroes/TorCMS-master | 266aa6dcf8e2d36024dd278e6f56fd638c88c6ff | [
"MIT"
] | null | null | null | tester/test_handlers/test_link_handler.py | seaioheroes/TorCMS-master | 266aa6dcf8e2d36024dd278e6f56fd638c88c6ff | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
'''
Test
'''
from torcms.handlers.link_handler import LinkHandler
def test_ab():
'''
Test
'''
assert LinkHandler
| 10.4 | 52 | 0.589744 | 17 | 156 | 5.294118 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.24359 | 156 | 14 | 53 | 11.142857 | 0.754237 | 0.198718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fa832f200b75ab9a74cc5da576fcb692a95ee1c6 | 171 | py | Python | lib/JumpScale/lib/cloudproviders/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | null | null | null | lib/JumpScale/lib/cloudproviders/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 4 | 2016-08-25T12:08:39.000Z | 2018-04-12T12:36:01.000Z | lib/JumpScale/lib/cloudproviders/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 3 | 2016-03-08T07:49:34.000Z | 2018-10-19T13:56:43.000Z | from JumpScale import j
def cb():
from .factory import Factory
return Factory()
j.base.loader.makeAvailable(j, 'tools')
j.tools._register('cloudproviders', cb)
| 17.1 | 39 | 0.719298 | 23 | 171 | 5.304348 | 0.608696 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 171 | 9 | 40 | 19 | 0.847222 | 0 | 0 | 0 | 0 | 0 | 0.111765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fa9dc00dc678af1f1c9b1cf279196b3244082d8f | 146 | py | Python | Point.py | matthew99carroll/VoronoiDiagram | 354a6ff08bb0858972b542b4b90973ce31996978 | [
"MIT"
] | null | null | null | Point.py | matthew99carroll/VoronoiDiagram | 354a6ff08bb0858972b542b4b90973ce31996978 | [
"MIT"
] | null | null | null | Point.py | matthew99carroll/VoronoiDiagram | 354a6ff08bb0858972b542b4b90973ce31996978 | [
"MIT"
] | null | null | null | class Point(object):
def __init__(self, x, y):
self.x = x
self.y = y
def ToString(self):
return '("+x+", "+y+")'
| 18.25 | 31 | 0.465753 | 20 | 146 | 3.2 | 0.5 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.342466 | 146 | 7 | 32 | 20.857143 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
fa9e056c09b88a31dc7a7de2278a785f934bd371 | 23 | py | Python | exmol/stoned/__init__.py | varnerjwpu/exmol | 6458c00272a4ae0b58c627c3fcb4f529eb8e1fdf | [
"MIT"
] | null | null | null | exmol/stoned/__init__.py | varnerjwpu/exmol | 6458c00272a4ae0b58c627c3fcb4f529eb8e1fdf | [
"MIT"
] | null | null | null | exmol/stoned/__init__.py | varnerjwpu/exmol | 6458c00272a4ae0b58c627c3fcb4f529eb8e1fdf | [
"MIT"
] | null | null | null | from .stoned import *
| 11.5 | 22 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 1 | 23 | 23 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fab94f48d30fd91d4874dc05f0563a9007c997ea | 443 | py | Python | tests/test_main.py | ine-rmotr-projects/itp-w1-highest-number-cubed | 0c59febb9391dafdcd3df551e7797c262525535d | [
"MIT"
] | 1 | 2017-03-24T01:37:51.000Z | 2017-03-24T01:37:51.000Z | tests/test_main.py | ine-rmotr-projects/itp-w1-highest-number-cubed | 0c59febb9391dafdcd3df551e7797c262525535d | [
"MIT"
] | 6 | 2017-01-17T00:09:01.000Z | 2017-06-02T01:27:42.000Z | tests/test_main.py | ine-rmotr-projects/itp-w1-highest-number-cubed | 0c59febb9391dafdcd3df551e7797c262525535d | [
"MIT"
] | 108 | 2016-10-20T22:07:37.000Z | 2019-01-11T05:04:02.000Z | import unittest
from highest_number_cubed import highest_number_cubed
class TestHighestNumberCubed(unittest.TestCase):
def test_three(self):
self.assertEqual(highest_number_cubed(30), 3)
def test_two(self):
self.assertEqual(highest_number_cubed(12), 2)
def test_one(self):
self.... | 23.315789 | 57 | 0.731377 | 58 | 443 | 5.310345 | 0.413793 | 0.253247 | 0.350649 | 0.337662 | 0.480519 | 0.480519 | 0 | 0 | 0 | 0 | 0 | 0.041209 | 0.17833 | 443 | 18 | 58 | 24.611111 | 0.804945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 1 | 0.363636 | false | 0 | 0.181818 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
facb70b29a213bd6e2a942903e5c92638870715e | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/ma/bench.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/ma/bench.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/ma/bench.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/b5/2b/26/9f97f9f6b3b1e9eed4194de4c8079d3e1246daca7ef0b6477993e56ba8 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.395833 | 0 | 96 | 1 | 96 | 96 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
878ddec9cfa1020116bc90e343f5eef51b639723 | 90 | py | Python | 1-iniciante/1095.py | marcobarone-dev/uri | 82bf0b244d3966673b10a42948dcdeabcde07e76 | [
"MIT"
] | 1 | 2018-07-04T02:42:29.000Z | 2018-07-04T02:42:29.000Z | 1-iniciante/1095.py | marcobarone-dev/uri-python | 82bf0b244d3966673b10a42948dcdeabcde07e76 | [
"MIT"
] | null | null | null | 1-iniciante/1095.py | marcobarone-dev/uri-python | 82bf0b244d3966673b10a42948dcdeabcde07e76 | [
"MIT"
] | null | null | null | i, j = 1, 60
while j >= 0:
print('I={} J={}'.format(i, j))
i += 3
j -= 5
| 15 | 36 | 0.344444 | 17 | 90 | 1.823529 | 0.588235 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 0.388889 | 90 | 5 | 37 | 18 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
87df96c9e49a33b62860b29d713df67ba2cb690a | 207 | py | Python | mopidy/core/__init__.py | swinton/mopidy | c32c73f5112c29ef7ccccf36a508c571adb39759 | [
"Apache-2.0"
] | null | null | null | mopidy/core/__init__.py | swinton/mopidy | c32c73f5112c29ef7ccccf36a508c571adb39759 | [
"Apache-2.0"
] | null | null | null | mopidy/core/__init__.py | swinton/mopidy | c32c73f5112c29ef7ccccf36a508c571adb39759 | [
"Apache-2.0"
] | null | null | null | from .current_playlist import CurrentPlaylistController
from .library import LibraryController
from .playback import PlaybackController, PlaybackState
from .stored_playlists import StoredPlaylistsController
| 41.4 | 55 | 0.89372 | 19 | 207 | 9.631579 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082126 | 207 | 4 | 56 | 51.75 | 0.963158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
87e26dc05248672362821b3acdac537c68bc2361 | 157 | py | Python | sunsynk/__init__.py | dirkackerman/sunsynk | cf1a95e73f1595271aea677e7ce6739cb830e648 | [
"MIT"
] | 11 | 2021-11-02T20:16:38.000Z | 2022-03-21T19:22:43.000Z | sunsynk/__init__.py | dirkackerman/sunsynk | cf1a95e73f1595271aea677e7ce6739cb830e648 | [
"MIT"
] | 27 | 2021-11-11T07:29:22.000Z | 2022-03-28T16:26:05.000Z | sunsynk/__init__.py | dirkackerman/sunsynk | cf1a95e73f1595271aea677e7ce6739cb830e648 | [
"MIT"
] | 10 | 2021-11-06T09:54:53.000Z | 2022-03-28T10:02:15.000Z | """Sunsynk library."""
# pylint: disable=unused-import
# flake8: noqa
from .sensor import Sensor, group_sensors, update_sensors
from .sunsynk import Sunsynk
| 26.166667 | 57 | 0.77707 | 20 | 157 | 6 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.11465 | 157 | 5 | 58 | 31.4 | 0.856115 | 0.382166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
355b34857734e1a5a8298ab160c476aee7695dd9 | 142 | py | Python | utils/gpu_op.py | maestrojeong/Deep-Hash-Table-ICML18- | 0c7efa230f950d5a2cd1928ac9f5d99f4276d2b5 | [
"MIT"
] | 70 | 2018-06-03T04:19:13.000Z | 2021-11-08T10:40:46.000Z | utils/gpu_op.py | maestrojeong/Deep-Hash-Table-ICML18- | 0c7efa230f950d5a2cd1928ac9f5d99f4276d2b5 | [
"MIT"
] | 1 | 2019-06-21T11:50:15.000Z | 2019-06-24T05:38:27.000Z | utils/gpu_op.py | maestrojeong/Deep-Hash-Table-ICML18- | 0c7efa230f950d5a2cd1928ac9f5d99f4276d2b5 | [
"MIT"
] | 14 | 2018-06-03T16:34:55.000Z | 2020-09-09T17:02:30.000Z | import os
def selectGpuById(id):
os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"
os.environ["CUDA_VISIBLE_DEVICES"] = "{}".format(id)
| 23.666667 | 56 | 0.697183 | 20 | 142 | 4.65 | 0.7 | 0.086022 | 0.236559 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133803 | 142 | 5 | 57 | 28.4 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0.34507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3586fd2c76124d2b3ca54e76a56ca4cfc531ef90 | 107 | py | Python | app/forms/__init__.py | RoodeAwakening/BoxIt | 026153bf97de3c7aa7417b9f87a04b2d5d810b43 | [
"MIT",
"PostgreSQL",
"Unlicense"
] | 3 | 2021-04-07T05:59:26.000Z | 2021-04-09T22:53:42.000Z | app/forms/__init__.py | RoodeAwakening/BoxIt | 026153bf97de3c7aa7417b9f87a04b2d5d810b43 | [
"MIT",
"PostgreSQL",
"Unlicense"
] | 13 | 2021-03-30T05:44:58.000Z | 2021-03-30T05:54:41.000Z | app/forms/__init__.py | RoodeAwakening/BoxIt | 026153bf97de3c7aa7417b9f87a04b2d5d810b43 | [
"MIT",
"PostgreSQL",
"Unlicense"
] | 1 | 2021-04-07T16:56:51.000Z | 2021-04-07T16:56:51.000Z | from .login_form import LoginForm
from .signup_form import SignUpForm
from .comment_form import CommentForm | 35.666667 | 37 | 0.869159 | 15 | 107 | 6 | 0.6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102804 | 107 | 3 | 37 | 35.666667 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
35d3a7f273dd287b8e4929190fdfcfc1cc5c4cba | 40 | py | Python | flexipy/exceptions.py | Vitexus/flexipy | 9f0e13369082c32e7431ab5dda257f610acfeab9 | [
"BSD-3-Clause"
] | 3 | 2016-03-30T16:11:09.000Z | 2017-12-05T12:11:54.000Z | flexipy/exceptions.py | Vitexus/flexipy | 9f0e13369082c32e7431ab5dda257f610acfeab9 | [
"BSD-3-Clause"
] | 2 | 2017-02-16T15:19:55.000Z | 2021-02-18T16:21:31.000Z | flexipy/exceptions.py | Vitexus/flexipy | 9f0e13369082c32e7431ab5dda257f610acfeab9 | [
"BSD-3-Clause"
] | 3 | 2017-07-10T22:38:53.000Z | 2021-01-28T16:29:53.000Z | class FlexipyException(Exception):
pass | 20 | 34 | 0.85 | 4 | 40 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 2 | 35 | 20 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ea0b5c3fb8906b1c3343eff6bc4e0e70edddc628 | 208 | py | Python | src/cotea/wrappers/ansi_breakpoint.py | ispras/cotea | 9be1c038be968de726e9245e8796c994b128ef73 | [
"Apache-2.0"
] | null | null | null | src/cotea/wrappers/ansi_breakpoint.py | ispras/cotea | 9be1c038be968de726e9245e8796c994b128ef73 | [
"Apache-2.0"
] | null | null | null | src/cotea/wrappers/ansi_breakpoint.py | ispras/cotea | 9be1c038be968de726e9245e8796c994b128ef73 | [
"Apache-2.0"
] | null | null | null | class ansi_breakpoint:
def __init__(self, sync_obj, label):
self.sync_obj = sync_obj
self.label = label
def stop(self):
self.sync_obj.continue_runner_with_stop(self.label) | 29.714286 | 59 | 0.668269 | 29 | 208 | 4.37931 | 0.448276 | 0.220472 | 0.259843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245192 | 208 | 7 | 59 | 29.714286 | 0.808917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ea381fac5abb63e14b864ade2fc1a398ed63e63c | 113 | py | Python | helpers/get_listing_image_upload_path.py | viveklaata/E-Commerce-Portal | 5594a3302e74288a484db8e19edaf5b3270a4a28 | [
"Apache-2.0"
] | 1 | 2020-06-14T18:33:24.000Z | 2020-06-14T18:33:24.000Z | helpers/get_listing_image_upload_path.py | viveklaata/E-Commerce-Portal | 5594a3302e74288a484db8e19edaf5b3270a4a28 | [
"Apache-2.0"
] | null | null | null | helpers/get_listing_image_upload_path.py | viveklaata/E-Commerce-Portal | 5594a3302e74288a484db8e19edaf5b3270a4a28 | [
"Apache-2.0"
] | null | null | null | def get_listing_image_upload_path(instance, filename):
return 'listing/{0}/{1}'.format(instance.code, filename) | 56.5 | 58 | 0.787611 | 16 | 113 | 5.3125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.061947 | 113 | 2 | 58 | 56.5 | 0.783019 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ea48e11b7225a8b35bed96ad54788bf3f3e61769 | 123 | py | Python | reactant/__init__.py | neil-vqa/reactant | 32e993f1f4b03a121d60c5121bb92cdc53c0fef5 | [
"MIT"
] | 15 | 2021-09-11T16:48:25.000Z | 2021-12-06T10:01:31.000Z | reactant/__init__.py | neil-vqa/reactant | 32e993f1f4b03a121d60c5121bb92cdc53c0fef5 | [
"MIT"
] | 1 | 2021-11-24T01:01:31.000Z | 2021-11-24T03:30:18.000Z | reactant/__init__.py | neil-vqa/reactant | 32e993f1f4b03a121d60c5121bb92cdc53c0fef5 | [
"MIT"
] | 1 | 2021-11-23T15:30:13.000Z | 2021-11-23T15:30:13.000Z | __version__ = "0.6.0"
from pydantic import Field
from reactant.main import DjangoORM, PeeweeORM, SQLAlchemyORM, generate
| 20.5 | 71 | 0.796748 | 16 | 123 | 5.875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0.130081 | 123 | 5 | 72 | 24.6 | 0.850467 | 0 | 0 | 0 | 1 | 0 | 0.04065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ea627cdc23a10f57b71c1db184dc5fb859eb832b | 145 | py | Python | blog_extension/admin.py | getHarsh/getHarsh | 35fb22dab3fdda81b5960bdb3df88e631564c07c | [
"MIT"
] | null | null | null | blog_extension/admin.py | getHarsh/getHarsh | 35fb22dab3fdda81b5960bdb3df88e631564c07c | [
"MIT"
] | null | null | null | blog_extension/admin.py | getHarsh/getHarsh | 35fb22dab3fdda81b5960bdb3df88e631564c07c | [
"MIT"
] | 1 | 2021-07-26T18:23:26.000Z | 2021-07-26T18:23:26.000Z | from blog_extension.models import Subscriptions
from django.contrib import admin
# Register your models here.
admin.site.register(Subscriptions)
| 29 | 47 | 0.848276 | 19 | 145 | 6.421053 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096552 | 145 | 4 | 48 | 36.25 | 0.931298 | 0.17931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
578df5ecf49934dbc80fe52d981dbe634ee45b98 | 116 | py | Python | flamingo/core/plugins/__init__.py | rschwebel/flamingo | b861bdc2e1194ec7d58be365000cb70a07721df4 | [
"Apache-2.0"
] | null | null | null | flamingo/core/plugins/__init__.py | rschwebel/flamingo | b861bdc2e1194ec7d58be365000cb70a07721df4 | [
"Apache-2.0"
] | null | null | null | flamingo/core/plugins/__init__.py | rschwebel/flamingo | b861bdc2e1194ec7d58be365000cb70a07721df4 | [
"Apache-2.0"
] | null | null | null | from .meta_data import MetaDataDefaults # NOQA
from .static import Static # NOQA
from .media import Media # NOQA
| 29 | 47 | 0.767241 | 16 | 116 | 5.5 | 0.5 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181034 | 116 | 3 | 48 | 38.666667 | 0.926316 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
17c79e96cc1f7c9dd62fec01a61295b41130554a | 25 | py | Python | 15_echo/brain/nucleus.py | Tjorriemorrie/trading | aafa15a6c564bfa86948ab30e33d554172b38a3e | [
"MIT"
] | 2 | 2017-07-02T09:06:28.000Z | 2020-09-11T04:23:14.000Z | 15_echo/brain/nucleus.py | Tjorriemorrie/trading | aafa15a6c564bfa86948ab30e33d554172b38a3e | [
"MIT"
] | 2 | 2021-03-31T19:14:07.000Z | 2021-06-01T23:34:32.000Z | 15_echo/brain/nucleus.py | Tjorriemorrie/trading | aafa15a6c564bfa86948ab30e33d554172b38a3e | [
"MIT"
] | 2 | 2016-03-29T07:51:16.000Z | 2016-10-30T04:53:58.000Z |
class Nucleus:
pass | 6.25 | 14 | 0.64 | 3 | 25 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32 | 25 | 4 | 15 | 6.25 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
aa048142a0dbd6a1bcd197ca083c257ed9c3eb3f | 201 | py | Python | createdb.py | olaruandreea/flaskbootstrapblog | 462f2f700c3b73a794842f1fad4b318c6406c678 | [
"MIT"
] | null | null | null | createdb.py | olaruandreea/flaskbootstrapblog | 462f2f700c3b73a794842f1fad4b318c6406c678 | [
"MIT"
] | 4 | 2020-05-03T11:45:01.000Z | 2020-06-13T19:43:26.000Z | createdb.py | olaruandreea/flaskbootstrapblog | 462f2f700c3b73a794842f1fad4b318c6406c678 | [
"MIT"
] | null | null | null | from website import *
from website.models.user import *
from website.models.blog_post import *
def create_db():
app = create_app()
with app.app_context():
db.create_all()
create_db() | 18.272727 | 38 | 0.696517 | 29 | 201 | 4.62069 | 0.482759 | 0.246269 | 0.253731 | 0.343284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 201 | 11 | 39 | 18.272727 | 0.82716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aa226848e2bf6066f2ebb5785db790b7af91dc79 | 172 | py | Python | setup.py | ravensorb/traefik-certificate-exporter | 479da800ce7b2977c4fbaba8346f01644a8e7272 | [
"MIT"
] | null | null | null | setup.py | ravensorb/traefik-certificate-exporter | 479da800ce7b2977c4fbaba8346f01644a8e7272 | [
"MIT"
] | null | null | null | setup.py | ravensorb/traefik-certificate-exporter | 479da800ce7b2977c4fbaba8346f01644a8e7272 | [
"MIT"
] | null | null | null | from setuptools import setup
#import versioneer
if __name__ == "__main__":
#setup( version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass())
setup()
| 24.571429 | 82 | 0.738372 | 19 | 172 | 6.157895 | 0.578947 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145349 | 172 | 6 | 83 | 28.666667 | 0.795918 | 0.540698 | 0 | 0 | 0 | 0 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aa44821e35992081d9387bb335f0e75f97954bbd | 134 | py | Python | my_deepsoccer_training/src/utils/wan.py | kimbring2/jetbot_gazebo | 385348a6bd451fb9d752bf0417138b2eacf91e48 | [
"Apache-1.1"
] | 19 | 2020-04-07T07:07:39.000Z | 2022-02-12T22:24:06.000Z | my_deepsoccer_training/src/utils/wan.py | kimbring2/jetbot_gazebo | 385348a6bd451fb9d752bf0417138b2eacf91e48 | [
"Apache-1.1"
] | 5 | 2020-03-07T07:30:47.000Z | 2021-02-04T13:11:03.000Z | my_deepsoccer_training/src/utils/wan.py | kimbring2/jetbot_gazebo | 385348a6bd451fb9d752bf0417138b2eacf91e48 | [
"Apache-1.1"
] | 16 | 2020-03-17T00:17:54.000Z | 2022-03-21T18:27:13.000Z | import wandb
import tensorflow as tf
wandb.init(config=tf.flags.FLAGS, sync_tensorboard=True, anonymous='allow', project="DeepMine")
| 26.8 | 95 | 0.798507 | 19 | 134 | 5.578947 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08209 | 134 | 4 | 96 | 33.5 | 0.861789 | 0 | 0 | 0 | 0 | 0 | 0.097015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a4b7c4f1352c5333024cab026c595dfc149d822c | 745 | py | Python | swagger_client/api/__init__.py | arthrex/arthrexvip-ucb-python-client | afd7ecdd2a4e4bf9e635e60f2006deb8411427d4 | [
"MIT"
] | null | null | null | swagger_client/api/__init__.py | arthrex/arthrexvip-ucb-python-client | afd7ecdd2a4e4bf9e635e60f2006deb8411427d4 | [
"MIT"
] | null | null | null | swagger_client/api/__init__.py | arthrex/arthrexvip-ucb-python-client | afd7ecdd2a4e4bf9e635e60f2006deb8411427d4 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from swagger_client.api.builds_api import BuildsApi
from swagger_client.api.buildtargets_api import BuildtargetsApi
from swagger_client.api.config_api import ConfigApi
from swagger_client.api.credentials_api import CredentialsApi
fro... | 41.388889 | 63 | 0.879195 | 108 | 745 | 5.796296 | 0.333333 | 0.210863 | 0.325879 | 0.383387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001466 | 0.084564 | 745 | 17 | 64 | 43.823529 | 0.916422 | 0.055034 | 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 | 0 | 0 | 0 | 5 |
a4bbc82f7c573241310fa0ebed8f1876a6eac575 | 133 | py | Python | src/log_formatter/__init__.py | casualkex/mintwatch | 91d63acc513dfa5182617f06e0300eabad744086 | [
"MIT"
] | 5 | 2022-02-11T20:01:43.000Z | 2022-02-18T11:07:38.000Z | src/log_formatter/__init__.py | casualkex/mintwatch | 91d63acc513dfa5182617f06e0300eabad744086 | [
"MIT"
] | null | null | null | src/log_formatter/__init__.py | casualkex/mintwatch | 91d63acc513dfa5182617f06e0300eabad744086 | [
"MIT"
] | 1 | 2022-02-17T14:02:11.000Z | 2022-02-17T14:02:11.000Z | from log_formatter.formatter import LogFormatter
from log_formatter.response import Response
__all__ = ["Response", "LogFormatter"]
| 26.6 | 48 | 0.827068 | 15 | 133 | 6.933333 | 0.466667 | 0.134615 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097744 | 133 | 4 | 49 | 33.25 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a4cce65b35e0bbfd033df9dcbc328b9ff3ff7a8b | 182,073 | py | Python | data/typing/pandas.core.series.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 67 | 2020-08-17T11:53:26.000Z | 2021-11-08T20:16:06.000Z | data/typing/pandas.core.series.py | data-apis/python-record-api | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 36 | 2020-08-17T11:09:51.000Z | 2021-12-15T18:09:47.000Z | data/typing/pandas.core.series.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 7 | 2020-08-19T05:06:47.000Z | 2020-11-04T05:10:38.000Z | from typing import *
class Series:
# usage.dask: 4
# usage.hvplot: 1
__module__: ClassVar[object]
# usage.dask: 7
# usage.sklearn: 1
__name__: ClassVar[object]
# usage.koalas: 1
to_dict: ClassVar[object]
# usage.koalas: 1
to_latex: ClassVar[object]
# usage.koalas: 1
... | 18.987694 | 88 | 0.427735 | 16,294 | 182,073 | 4.634896 | 0.037867 | 0.124826 | 0.076111 | 0.04457 | 0.903696 | 0.823784 | 0.741211 | 0.670012 | 0.540764 | 0.41991 | 0 | 0.029718 | 0.411741 | 182,073 | 9,588 | 89 | 18.989675 | 0.675387 | 0.186672 | 0 | 0.712761 | 0 | 0 | 0.023959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.273411 | false | 0 | 0.000243 | 0 | 0.284328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
105adf9efb9bf3258660494a5f9d558d4b64d186 | 57 | py | Python | example-project/src-server/app/service/auth/signin.py | syarig/codecrumbs | 4a8e7b7dc8db342768052059aa517d049f5639b8 | [
"BSD-3-Clause"
] | 2,735 | 2018-05-03T10:50:17.000Z | 2022-03-31T14:43:26.000Z | example-project/src-server/app/service/auth/signin.py | christyjacob4/codecrumbs | 628862d024c912c04b17a313699b4d3c20c51b62 | [
"BSD-3-Clause"
] | 75 | 2019-01-14T20:42:28.000Z | 2021-09-25T18:29:32.000Z | example-project/src-server/app/service/auth/signin.py | christyjacob4/codecrumbs | 628862d024c912c04b17a313699b4d3c20c51b62 | [
"BSD-3-Clause"
] | 116 | 2019-01-14T20:53:54.000Z | 2022-02-28T06:10:31.000Z | #cc:signin#2;send request
#cc:signin#4;respond to client | 19 | 30 | 0.77193 | 11 | 57 | 4 | 0.818182 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.087719 | 57 | 3 | 30 | 19 | 0.807692 | 0.894737 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10af7945cc48da010e72010284acf855140a1fc0 | 432 | py | Python | lib/exceptions.py | danechitoaie/entropy | 70fd1bdd82281ec04e26b75fe399651ca82af2b3 | [
"MIT"
] | null | null | null | lib/exceptions.py | danechitoaie/entropy | 70fd1bdd82281ec04e26b75fe399651ca82af2b3 | [
"MIT"
] | null | null | null | lib/exceptions.py | danechitoaie/entropy | 70fd1bdd82281ec04e26b75fe399651ca82af2b3 | [
"MIT"
] | null | null | null | class EntropyException(Exception):
pass
class EntropyHttpUnauthorizedException(EntropyException):
pass
class EntropyHttpMkcolException(EntropyException):
pass
class EntropyHttpPropFindException(EntropyException):
pass
class EntropyHttpNoContentException(EntropyException):
pass
class EntropyHttp... | 20.571429 | 60 | 0.824074 | 28 | 432 | 12.714286 | 0.357143 | 0.151685 | 0.351124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127315 | 432 | 20 | 61 | 21.6 | 0.944297 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5e2ce8e8a8f06f30081e4e87cc8aa5c32c4be960 | 27 | py | Python | simulite/__init__.py | wolray/simulite | cedc185fbb85c637edef37bb2989fcaa44413d3b | [
"MIT"
] | null | null | null | simulite/__init__.py | wolray/simulite | cedc185fbb85c637edef37bb2989fcaa44413d3b | [
"MIT"
] | null | null | null | simulite/__init__.py | wolray/simulite | cedc185fbb85c637edef37bb2989fcaa44413d3b | [
"MIT"
] | null | null | null | from simulite.env import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
eacf797847dcfe8215e28772afa05e493bbb0f04 | 6,544 | py | Python | overhang/dnastorage_utils/codec/phys.py | dna-storage/DINOS | 65f4142e80d646d7eefa3fc16d747d21ec43fbbe | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | overhang/dnastorage_utils/codec/phys.py | dna-storage/DINOS | 65f4142e80d646d7eefa3fc16d747d21ec43fbbe | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | overhang/dnastorage_utils/codec/phys.py | dna-storage/DINOS | 65f4142e80d646d7eefa3fc16d747d21ec43fbbe | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from dnastorage.codec.base import *
from dnastorage.exceptions import *
class CombineCodewords(BaseCodec):
def __init__(self,CodecObj=None,Policy=None):
BaseCodec.__init__(self,CodecObj=CodecObj,Policy=Policy)
def _encode(self, codeword_list):
return "".join(codeword_list)
def _decode(sel... | 37.82659 | 111 | 0.53041 | 722 | 6,544 | 4.66759 | 0.180055 | 0.066469 | 0.024926 | 0.035312 | 0.773887 | 0.748665 | 0.748665 | 0.711573 | 0.711573 | 0.681009 | 0 | 0.004651 | 0.375764 | 6,544 | 172 | 112 | 38.046512 | 0.820318 | 0.106204 | 0 | 0.679104 | 0 | 0 | 0.063111 | 0.003773 | 0 | 0 | 0 | 0.005814 | 0.014925 | 1 | 0.11194 | false | 0.029851 | 0.014925 | 0.007463 | 0.268657 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eadd3895ad1b734316b040a891c090af793060a8 | 55 | py | Python | src/mrp_library/models/__init__.py | Yermouth/mrp2019 | da77c07bcbcdca5ce96c3fc7e670b55ad680844d | [
"Apache-2.0"
] | 1 | 2019-10-10T02:31:31.000Z | 2019-10-10T02:31:31.000Z | src/mrp_library/models/__init__.py | Yermouth/mrp2019 | da77c07bcbcdca5ce96c3fc7e670b55ad680844d | [
"Apache-2.0"
] | null | null | null | src/mrp_library/models/__init__.py | Yermouth/mrp2019 | da77c07bcbcdca5ce96c3fc7e670b55ad680844d | [
"Apache-2.0"
] | null | null | null | from mrp_library.models.generalizer import Generalizer
| 27.5 | 54 | 0.890909 | 7 | 55 | 6.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
eae3a90f1f36531ddfdafc4ff473cb94a9f6f138 | 22 | py | Python | python/testData/completion/excludedSubPackage/a.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/excludedSubPackage/a.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/excludedSubPackage/a.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import pkg1.sub<caret> | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.045455 | 22 | 1 | 22 | 22 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
eaf6e5331c3137494dfc93aef98bd5aae8fbf678 | 6,757 | py | Python | hes_off/core/deprecated/tests/numba_tests/process_plots.py | luca-riboldi/HES-OFF | 67f4d7750436db63be10d0f4158c72e21b1fc2e8 | [
"MIT"
] | 1 | 2021-05-11T14:31:06.000Z | 2021-05-11T14:31:06.000Z | hes_off/core/deprecated/tests/numba_tests/process_plots.py | edvardronglanlundin/HES-OFF | 95523c730ac46676cfe8326ef7498d1484cdf3b2 | [
"MIT"
] | null | null | null | hes_off/core/deprecated/tests/numba_tests/process_plots.py | edvardronglanlundin/HES-OFF | 95523c730ac46676cfe8326ef7498d1484cdf3b2 | [
"MIT"
] | 2 | 2021-06-22T11:46:29.000Z | 2021-09-10T13:04:15.000Z | import numpy as np
import matplotlib.pyplot as plt
# Define font settings
fontsize = 12
plt.rc('text', usetex=False)
plt.rcParams['font.family'] = 'serif' # 'serif', 'sans-serif', 'cursive', 'fantasy', 'monospace'
plt.rcParams['font.serif'] = 'times new roman' # 'cmr10', 'palatino', 'tim... | 54.934959 | 122 | 0.610774 | 961 | 6,757 | 4.208117 | 0.154006 | 0.118694 | 0.042038 | 0.019782 | 0.764837 | 0.758408 | 0.744065 | 0.729228 | 0.729228 | 0.729228 | 0 | 0.029753 | 0.184253 | 6,757 | 122 | 123 | 55.385246 | 0.703919 | 0.093089 | 0 | 0.623762 | 0 | 0 | 0.108117 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049505 | false | 0 | 0.019802 | 0 | 0.118812 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d8229ebe6abc1c7f5c6cb426f2743a6da719da8a | 105 | py | Python | tests/fixtures/fixtures.py | pcorpet/zenaton-python | 099c41627482a6fdc619833c2bec59dbc68cbcd4 | [
"MIT"
] | 28 | 2017-09-19T11:53:22.000Z | 2019-12-17T12:18:43.000Z | tests/fixtures/fixtures.py | pcorpet/zenaton-python | 099c41627482a6fdc619833c2bec59dbc68cbcd4 | [
"MIT"
] | 21 | 2018-10-25T14:47:56.000Z | 2020-07-28T14:56:03.000Z | tests/fixtures/fixtures.py | pcorpet/zenaton-python | 099c41627482a6fdc619833c2bec59dbc68cbcd4 | [
"MIT"
] | 2 | 2019-06-17T06:38:05.000Z | 2019-07-24T09:46:00.000Z | import pytest
class DummyClass:
pass
@pytest.fixture
def dummy_object():
return DummyClass()
| 9.545455 | 23 | 0.714286 | 12 | 105 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209524 | 105 | 10 | 24 | 10.5 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0.166667 | 0.166667 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
dc42f9fe188d4a98e1bd9bd605d241083e966cfc | 1,354 | py | Python | src/error/customs.py | 0417taehyun/studeep-backend | 5a13fd6b20b8fda8adceb7c82e44efe87b644da0 | [
"Apache-2.0"
] | 1 | 2021-07-05T06:25:43.000Z | 2021-07-05T06:25:43.000Z | src/error/customs.py | 0417taehyun/studeep-backend | 5a13fd6b20b8fda8adceb7c82e44efe87b644da0 | [
"Apache-2.0"
] | 26 | 2021-05-01T05:56:34.000Z | 2021-05-21T10:07:32.000Z | app/errors/customs.py | YAPP-18th/ML-Team-Backend | 7da5430ab07e180d88ca62d005d760c729f1de9c | [
"Apache-2.0"
] | null | null | null | def get_detail(param: str, field: str, message: str, err: str):
detail = [
{
'loc': [
f'{param}', # ex. body
f'{field}' # ex. title
],
"msg": message, # ex. field required, not found
"type": f"{err}.missing" # ex. value_error
... | 20.515152 | 63 | 0.59675 | 139 | 1,354 | 5.453237 | 0.230216 | 0.261214 | 0.126649 | 0.158311 | 0.626649 | 0.626649 | 0.626649 | 0.626649 | 0.626649 | 0.626649 | 0 | 0 | 0.303545 | 1,354 | 66 | 64 | 20.515152 | 0.803818 | 0.047267 | 0 | 0.571429 | 0 | 0 | 0.028771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.309524 | false | 0 | 0 | 0.142857 | 0.619048 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
dc9b3041b77e53c6b1a8fc8ce3707e0f58e25eab | 166 | py | Python | venv/python_resources/visualize.py | cglorsung/becker-lorsung-ddi | bdfc7e17bc91468ce684e5ee0288589b11a4edab | [
"MIT"
] | null | null | null | venv/python_resources/visualize.py | cglorsung/becker-lorsung-ddi | bdfc7e17bc91468ce684e5ee0288589b11a4edab | [
"MIT"
] | null | null | null | venv/python_resources/visualize.py | cglorsung/becker-lorsung-ddi | bdfc7e17bc91468ce684e5ee0288589b11a4edab | [
"MIT"
] | null | null | null | # Authors: Conor Lorsung and Kyle Becker
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
from arffMain import returnVals
| 20.75 | 40 | 0.825301 | 25 | 166 | 5.44 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014184 | 0.150602 | 166 | 7 | 41 | 23.714286 | 0.950355 | 0.228916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dcb29a04e8de140afbcd19deca813aec3cbe92ba | 5,546 | py | Python | tests/tests_preprocessing/test_goldenfeatures_transformer.py | stjordanis/mljar-supervised | 8c3f9d1ed527dfcfdaef91cf82e2779c5832e294 | [
"MIT"
] | 1,882 | 2018-11-05T13:20:54.000Z | 2022-03-31T14:31:46.000Z | tests/tests_preprocessing/test_goldenfeatures_transformer.py | stjordanis/mljar-supervised | 8c3f9d1ed527dfcfdaef91cf82e2779c5832e294 | [
"MIT"
] | 499 | 2019-03-14T09:57:51.000Z | 2022-03-30T06:00:43.000Z | tests/tests_preprocessing/test_goldenfeatures_transformer.py | stjordanis/mljar-supervised | 8c3f9d1ed527dfcfdaef91cf82e2779c5832e294 | [
"MIT"
] | 277 | 2019-02-08T21:32:13.000Z | 2022-03-29T03:26:05.000Z | import unittest
import tempfile
import json
import shutil
import numpy as np
import pandas as pd
from numpy.testing import assert_almost_equal
from sklearn import datasets
from supervised.preprocessing.goldenfeatures_transformer import (
GoldenFeaturesTransformer,
)
from supervised.algorithms.registry import (
... | 32.816568 | 84 | 0.620447 | 738 | 5,546 | 4.49187 | 0.143631 | 0.097134 | 0.036199 | 0.033183 | 0.763801 | 0.731222 | 0.731222 | 0.723077 | 0.706184 | 0.706184 | 0 | 0.046614 | 0.265056 | 5,546 | 168 | 85 | 33.011905 | 0.766683 | 0 | 0 | 0.65625 | 0 | 0 | 0.028128 | 0.015146 | 0 | 0 | 0 | 0 | 0.203125 | 1 | 0.0625 | false | 0 | 0.078125 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dcbb44f14b1a709e19afbdbb8c228dd24854d0e9 | 136 | py | Python | nni/retiarii/__init__.py | qfyin/nni | 59a1ccf8eba68b94974e84fc3834f38d851faf89 | [
"MIT"
] | 1 | 2022-03-03T06:04:34.000Z | 2022-03-03T06:04:34.000Z | nni/retiarii/__init__.py | qfyin/nni | 59a1ccf8eba68b94974e84fc3834f38d851faf89 | [
"MIT"
] | 1 | 2021-01-17T08:53:56.000Z | 2021-01-17T08:53:56.000Z | nni/retiarii/__init__.py | qfyin/nni | 59a1ccf8eba68b94974e84fc3834f38d851faf89 | [
"MIT"
] | 1 | 2020-12-21T11:15:54.000Z | 2020-12-21T11:15:54.000Z | from .operation import Operation
from .graph import *
from .execution import *
from .mutator import *
from .utils import register_module | 27.2 | 34 | 0.801471 | 18 | 136 | 6 | 0.5 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139706 | 136 | 5 | 34 | 27.2 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.