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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aabf42721a2ad015b96fc7311954534f13a041d8 | 2,395 | py | Python | etl/parsers/etw/Microsoft_User_Experience_Virtualization_SQM_Uploader.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_User_Experience_Virtualization_SQM_Uploader.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_User_Experience_Virtualization_SQM_Uploader.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-User Experience Virtualization-SQM Uploader
GUID : 57003e21-269b-4bdc-8434-b3bf8d57d2d5
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.... | 30.705128 | 123 | 0.730689 | 303 | 2,395 | 5.537954 | 0.207921 | 0.077473 | 0.137068 | 0.220501 | 0.809893 | 0.809893 | 0.72944 | 0.72944 | 0.72944 | 0.402265 | 0 | 0.143559 | 0.150731 | 2,395 | 77 | 124 | 31.103896 | 0.681416 | 0.050104 | 0 | 0.358491 | 0 | 0 | 0.17564 | 0.142983 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.075472 | 0 | 0.415094 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 6 |
aad54e229a30060595d79a80e2c984060081bcd4 | 37 | py | Python | pywaterml/__main__.py | BYU-Hydroinformatics/pywaterml | d4c88a0402dec61d466edb1fa5dbda4544f7a738 | [
"BSD-3-Clause"
] | 1 | 2021-11-10T18:28:10.000Z | 2021-11-10T18:28:10.000Z | pywaterml/__main__.py | BYU-Hydroinformatics/pywaterml | d4c88a0402dec61d466edb1fa5dbda4544f7a738 | [
"BSD-3-Clause"
] | null | null | null | pywaterml/__main__.py | BYU-Hydroinformatics/pywaterml | d4c88a0402dec61d466edb1fa5dbda4544f7a738 | [
"BSD-3-Clause"
] | 1 | 2021-03-15T00:18:34.000Z | 2021-03-15T00:18:34.000Z | from pywaterml import cli
cli.cli()
| 9.25 | 25 | 0.756757 | 6 | 37 | 4.666667 | 0.666667 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 3 | 26 | 12.333333 | 0.903226 | 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 | 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 | 6 |
631b20b19ae22e194c18886805f9660aaae9332f | 127 | py | Python | FinMind/crawler/__init__.py | vishalbelsare/FinMind | 9890c631952f3ab91560ada6f49971bff26a5858 | [
"Apache-2.0"
] | 1,106 | 2019-10-04T15:16:59.000Z | 2022-03-31T03:50:19.000Z | FinMind/crawler/__init__.py | Jerremiah/FinMind | bf57f8e68adc0583495b29135a91e47515cf4cf1 | [
"Apache-2.0"
] | 119 | 2019-10-07T09:18:18.000Z | 2022-03-12T08:25:58.000Z | FinMind/crawler/__init__.py | Jerremiah/FinMind | bf57f8e68adc0583495b29135a91e47515cf4cf1 | [
"Apache-2.0"
] | 184 | 2019-10-06T08:26:53.000Z | 2022-03-21T06:25:31.000Z | from FinMind.crawler.commodities import CommoditiesCrawler
from FinMind.crawler.government_bonds import GovernmentBondsCrawler
| 42.333333 | 67 | 0.905512 | 13 | 127 | 8.769231 | 0.692308 | 0.192982 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 127 | 2 | 68 | 63.5 | 0.957983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d696cd97b2e70e930df14d83d8e0a89bd580b5a | 82 | py | Python | site_scons/site_tools/test.py | robobrobro/physics-engine | 0000e2155106f3c6c0485af96bc14120dc6d155a | [
"MIT"
] | null | null | null | site_scons/site_tools/test.py | robobrobro/physics-engine | 0000e2155106f3c6c0485af96bc14120dc6d155a | [
"MIT"
] | 8 | 2019-01-26T03:19:46.000Z | 2019-04-16T14:22:53.000Z | site_scons/site_tools/test.py | robobrobro/physics-engine | 0000e2155106f3c6c0485af96bc14120dc6d155a | [
"MIT"
] | null | null | null | def exists(env):
return True
def generate(env):
env.Replace(MODE='test')
| 13.666667 | 28 | 0.658537 | 12 | 82 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 82 | 5 | 29 | 16.4 | 0.818182 | 0 | 0 | 0 | 1 | 0 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2d7a65c14c3f592b101ad9734d2735c93a8be732 | 81 | py | Python | services/modes_microservice/database_service.py | tojoabella/dripi | df8a34116f2c7ed68170364c3d5ab5cbd46d1209 | [
"MIT"
] | 4 | 2021-05-15T00:58:46.000Z | 2022-02-23T09:25:07.000Z | services/modes_microservice/database_service.py | tojoabella/dripi | df8a34116f2c7ed68170364c3d5ab5cbd46d1209 | [
"MIT"
] | null | null | null | services/modes_microservice/database_service.py | tojoabella/dripi | df8a34116f2c7ed68170364c3d5ab5cbd46d1209 | [
"MIT"
] | null | null | null | class DatabaseService:
def __init__(self):
#TODO: mongo
pass | 16.2 | 23 | 0.592593 | 8 | 81 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 81 | 5 | 24 | 16.2 | 0.814815 | 0.135802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
2dbf43795adb82653553a589e42ea606522130b0 | 16,333 | py | Python | parsimony/config.py | nguigs/pylearn-parsimony | f712d2828823d6d55a2470ce060bcaeda2d0589a | [
"BSD-3-Clause"
] | 41 | 2015-02-27T13:26:01.000Z | 2021-07-13T12:48:14.000Z | parsimony/config.py | nguigs/pylearn-parsimony | f712d2828823d6d55a2470ce060bcaeda2d0589a | [
"BSD-3-Clause"
] | 31 | 2015-01-12T15:02:45.000Z | 2022-02-10T07:11:07.000Z | parsimony/config.py | nguigs/pylearn-parsimony | f712d2828823d6d55a2470ce060bcaeda2d0589a | [
"BSD-3-Clause"
] | 15 | 2015-01-12T14:48:39.000Z | 2021-07-13T12:48:32.000Z | # -*- coding: utf-8 -*-
"""Handles configuration settings in pylearn-parsimony.
Try to make the sections correspond to packages (sans the parsimony prefix),
such that settings for parsimony.algorithms are found in the section
"algorithms", and that parsimony.utils.consts is found in the section
"utils.consts", etc.
C... | 32.99596 | 79 | 0.638523 | 2,014 | 16,333 | 4.924032 | 0.107746 | 0.056368 | 0.052637 | 0.048704 | 0.830493 | 0.812443 | 0.782394 | 0.749723 | 0.724009 | 0.685086 | 0 | 0.011456 | 0.257148 | 16,333 | 494 | 80 | 33.062753 | 0.805901 | 0.655177 | 0 | 0.457627 | 0 | 0 | 0.043116 | 0 | 0 | 0 | 0 | 0.002024 | 0 | 1 | 0.127119 | false | 0.008475 | 0.059322 | 0 | 0.279661 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2de38955f1b920209949c1223ac002fc2e0043b9 | 47 | py | Python | workspace/module/maya-python-2.7/LxMaInterface/maIfMethods/__init__.py | no7hings/Lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | 2 | 2018-03-06T03:33:55.000Z | 2019-03-26T03:25:11.000Z | workspace/module/maya-python-2.7/LxMaInterface/maIfMethods/__init__.py | no7hings/lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | null | null | null | workspace/module/maya-python-2.7/LxMaInterface/maIfMethods/__init__.py | no7hings/lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | null | null | null | # coding:utf-8
from ._maIfMtdTreeview import *
| 15.666667 | 31 | 0.765957 | 6 | 47 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.12766 | 47 | 2 | 32 | 23.5 | 0.829268 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2de67f932686e333502a2eea3414df28c937a989 | 34 | py | Python | game_engine/__init__.py | dferndz/r2d2 | b2cb606a82c4ae4c267c7e6fc9d5e236c762b42e | [
"MIT"
] | 1 | 2020-09-06T06:29:35.000Z | 2020-09-06T06:29:35.000Z | game_engine/__init__.py | dferndz/r2d2 | b2cb606a82c4ae4c267c7e6fc9d5e236c762b42e | [
"MIT"
] | null | null | null | game_engine/__init__.py | dferndz/r2d2 | b2cb606a82c4ae4c267c7e6fc9d5e236c762b42e | [
"MIT"
] | null | null | null | from game_engine.game import Game
| 17 | 33 | 0.852941 | 6 | 34 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
933f5d04dfa1ce3f6811c0d4423120f1a390b2d1 | 39 | py | Python | terrainbento/derived_models/model_400_basicSa/__init__.py | mcflugen/terrainbento | 1b756477b8a8ab6a8f1275b1b30ec84855c840ea | [
"MIT"
] | null | null | null | terrainbento/derived_models/model_400_basicSa/__init__.py | mcflugen/terrainbento | 1b756477b8a8ab6a8f1275b1b30ec84855c840ea | [
"MIT"
] | null | null | null | terrainbento/derived_models/model_400_basicSa/__init__.py | mcflugen/terrainbento | 1b756477b8a8ab6a8f1275b1b30ec84855c840ea | [
"MIT"
] | null | null | null | from .model_400_basicSa import BasicSa
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.102564 | 39 | 1 | 39 | 39 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9349391bd7b40f1c0f71f4121061bb4ffd595ac6 | 78 | py | Python | tests/test_dp.py | slxiao/partition | 53ff137b26816d64bf002baf269dbf97b601a3ca | [
"MIT"
] | 5 | 2019-11-22T08:34:12.000Z | 2021-09-21T03:18:31.000Z | tests/test_dp.py | slxiao/partition | 53ff137b26816d64bf002baf269dbf97b601a3ca | [
"MIT"
] | 3 | 2019-12-22T10:28:44.000Z | 2021-10-09T19:14:31.000Z | tests/test_dp.py | slxiao/partition | 53ff137b26816d64bf002baf269dbf97b601a3ca | [
"MIT"
] | 1 | 2020-12-01T15:31:30.000Z | 2020-12-01T15:31:30.000Z | from partition import dp
def test_dp(numbers):
assert dp.dp(numbers) == 1 | 19.5 | 30 | 0.717949 | 13 | 78 | 4.230769 | 0.692308 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.179487 | 78 | 4 | 30 | 19.5 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
934d76435db6527ea3e3414daa3afad02f79c9c0 | 23 | py | Python | exam_gen/exam/__init__.py | rohit507/exam_gen | b6e96955e1762fe8063282917fd69df420142cbb | [
"Apache-2.0"
] | null | null | null | exam_gen/exam/__init__.py | rohit507/exam_gen | b6e96955e1762fe8063282917fd69df420142cbb | [
"Apache-2.0"
] | null | null | null | exam_gen/exam/__init__.py | rohit507/exam_gen | b6e96955e1762fe8063282917fd69df420142cbb | [
"Apache-2.0"
] | null | null | null | from .base import Exam
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
935b55dca4a21fa43df8252ad4c5b46700ba1164 | 1,319 | py | Python | python/tests/generated/api/fieldset/test_copies.py | eno-lang/enolib | 4175f7c1e8246493b6758c29bddc80d20eaf15f7 | [
"MIT"
] | 17 | 2019-04-15T21:03:37.000Z | 2022-01-24T11:03:34.000Z | python/tests/generated/api/fieldset/test_copies.py | eno-lang/enolib | 4175f7c1e8246493b6758c29bddc80d20eaf15f7 | [
"MIT"
] | 20 | 2019-03-13T23:23:40.000Z | 2022-03-29T13:40:57.000Z | python/tests/generated/api/fieldset/test_copies.py | eno-lang/enolib | 4175f7c1e8246493b6758c29bddc80d20eaf15f7 | [
"MIT"
] | 4 | 2019-04-15T21:18:03.000Z | 2019-09-21T16:18:10.000Z | import enolib
def test_querying_four_entries_from_a_fieldset_all_of_them_copied_from_another_fieldset_produces_the_expected_result():
input = ("fieldset:\n"
"1 = 1\n"
"2 = 2\n"
"3 = 3\n"
"4 = 4\n"
"\n"
"copy < fieldset")
output = [e... | 32.975 | 119 | 0.56558 | 171 | 1,319 | 4.035088 | 0.239766 | 0.113043 | 0.065217 | 0.086957 | 0.875362 | 0.836232 | 0.811594 | 0.811594 | 0.72029 | 0.72029 | 0 | 0.037433 | 0.29113 | 1,319 | 40 | 120 | 32.975 | 0.700535 | 0 | 0 | 0.677419 | 0 | 0 | 0.144697 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 1 | 0.096774 | false | 0 | 0.032258 | 0 | 0.129032 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fad69d287860b7bd12d644265d3cf390818b532d | 147 | py | Python | backend/modules/camera/admin.py | crowdbotics-apps/my-new-app-31789 | c5513ad2df9e73707871e1c10c6768a93690f9a7 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/modules/camera/admin.py | crowdbotics-apps/my-new-app-31789 | c5513ad2df9e73707871e1c10c6768a93690f9a7 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/modules/camera/admin.py | crowdbotics-apps/my-new-app-31789 | c5513ad2df9e73707871e1c10c6768a93690f9a7 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from django.contrib import admin
from .models import Image
class ImageAdmin(admin.ModelAdmin):
pass
admin.site.register(Image, ImageAdmin)
| 14.7 | 38 | 0.782313 | 19 | 147 | 6.052632 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 147 | 9 | 39 | 16.333333 | 0.912698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fafd7fa1401fcb8a54d01929463ecea157ec77a7 | 43 | py | Python | dis_snek/models/__init__.py | Astrea49/dis_snek | c899a6f1caa3c2a45323dbe50ed8ed62676be9d6 | [
"MIT"
] | null | null | null | dis_snek/models/__init__.py | Astrea49/dis_snek | c899a6f1caa3c2a45323dbe50ed8ed62676be9d6 | [
"MIT"
] | null | null | null | dis_snek/models/__init__.py | Astrea49/dis_snek | c899a6f1caa3c2a45323dbe50ed8ed62676be9d6 | [
"MIT"
] | null | null | null | from .discord import *
from .snek import *
| 14.333333 | 22 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 23 | 21.5 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f07c925586465e06a86d3a27f97f950de54ac82 | 233 | py | Python | server/lib/python/cartodb_services/cartodb_services/refactor/tools/redis_mock.py | digideskio/dataservices-api | 246ec135dbeaa3f9a52717fdac50a4ab040ce22b | [
"BSD-3-Clause"
] | 22 | 2016-03-11T17:33:31.000Z | 2021-02-22T04:00:43.000Z | server/lib/python/cartodb_services/cartodb_services/refactor/tools/redis_mock.py | digideskio/dataservices-api | 246ec135dbeaa3f9a52717fdac50a4ab040ce22b | [
"BSD-3-Clause"
] | 338 | 2016-02-16T16:13:13.000Z | 2022-03-30T15:50:17.000Z | server/lib/python/cartodb_services/cartodb_services/refactor/tools/redis_mock.py | CartoDB/dataservices-api | d0f28cc002ef11df9f371d5d1fd2d0901c245f97 | [
"BSD-3-Clause"
] | 14 | 2016-09-22T15:29:33.000Z | 2021-02-08T03:46:40.000Z | class RedisConnectionMock(object):
""" Simple class to mock a dummy behaviour for Redis related functions """
def zscore(self, redis_prefix, day):
pass
def zincrby(self, redis_prefix, day, amount):
pass
| 25.888889 | 78 | 0.67382 | 29 | 233 | 5.344828 | 0.724138 | 0.116129 | 0.193548 | 0.232258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240343 | 233 | 8 | 79 | 29.125 | 0.875706 | 0.283262 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
35703a4d7b8370977c06bb5bc60ba4db0e736a50 | 74 | py | Python | steam/__init__.py | danielsuo/steam | 1ff5efdddb3c464dcfedabc9c98e1a54be52850d | [
"MIT"
] | null | null | null | steam/__init__.py | danielsuo/steam | 1ff5efdddb3c464dcfedabc9c98e1a54be52850d | [
"MIT"
] | null | null | null | steam/__init__.py | danielsuo/steam | 1ff5efdddb3c464dcfedabc9c98e1a54be52850d | [
"MIT"
] | null | null | null | from .constants import *
from .helmholtz import *
from .property import *
| 18.5 | 24 | 0.756757 | 9 | 74 | 6.222222 | 0.555556 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 25 | 24.666667 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea574f4ffa33cd9df1b11f3d894535ca2c4afab7 | 112 | py | Python | okl4_kernel/okl4_2.1.1-patch.9/tools/magpie-parsers/src/magpieparsers/gnuc/preprocessorinfochannel.py | CyberQueenMara/baseband-research | e1605537e10c37e161fff1a3416b908c9894f204 | [
"MIT"
] | 77 | 2018-12-31T22:12:09.000Z | 2021-12-31T22:56:13.000Z | okl4_kernel/okl4_2.1.1-patch.9/tools/magpie-parsers/src/magpieparsers/gnuc/preprocessorinfochannel.py | CyberQueenMara/baseband-research | e1605537e10c37e161fff1a3416b908c9894f204 | [
"MIT"
] | null | null | null | okl4_kernel/okl4_2.1.1-patch.9/tools/magpie-parsers/src/magpieparsers/gnuc/preprocessorinfochannel.py | CyberQueenMara/baseband-research | e1605537e10c37e161fff1a3416b908c9894f204 | [
"MIT"
] | 24 | 2019-01-20T15:51:52.000Z | 2021-12-25T18:29:13.000Z | # FIXME: Stub
class PreprocessorInfoChannel(object):
def addLineForTokenNumber(self, line, toknum):
pass
| 14 | 47 | 0.758929 | 11 | 112 | 7.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151786 | 112 | 7 | 48 | 16 | 0.894737 | 0.098214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ea83084b64a6d381e3702e2c27922b3860e439e8 | 8,576 | py | Python | tamcolors/tests/tam_tools_tests/tam_text_box_tests.py | cmcmarrow/tamcolors | 65a5f2455bbe35a739b98d14af158c3df7feb786 | [
"Apache-2.0"
] | 29 | 2020-07-17T23:46:17.000Z | 2022-02-06T05:36:44.000Z | tamcolors/tests/tam_tools_tests/tam_text_box_tests.py | sudo-nikhil/tamcolors | 65a5f2455bbe35a739b98d14af158c3df7feb786 | [
"Apache-2.0"
] | 42 | 2020-07-25T19:39:52.000Z | 2021-02-24T01:19:58.000Z | tamcolors/tests/tam_tools_tests/tam_text_box_tests.py | sudo-nikhil/tamcolors | 65a5f2455bbe35a739b98d14af158c3df7feb786 | [
"Apache-2.0"
] | 8 | 2020-07-18T23:02:48.000Z | 2020-12-30T04:07:35.000Z | # built in libraries
import unittest.mock
# tamcolors libraries
from tamcolors import tam_io
from tamcolors import tam_tools
from tamcolors.tam_io.tam_colors import *
class TAMTextBoxTests(unittest.TestCase):
def test_tam_text_box_init(self):
text_box = tam_tools.tam_text_box.TAMTextBox("hello world!", 2... | 40.45283 | 106 | 0.585938 | 1,104 | 8,576 | 4.314312 | 0.076993 | 0.145497 | 0.054587 | 0.072433 | 0.881377 | 0.840647 | 0.82658 | 0.797817 | 0.778501 | 0.748898 | 0 | 0.038593 | 0.2809 | 8,576 | 211 | 107 | 40.64455 | 0.733744 | 0.004431 | 0 | 0.546012 | 0 | 0 | 0.049561 | 0.00246 | 0 | 0 | 0 | 0 | 0.202454 | 1 | 0.134969 | false | 0 | 0.02454 | 0 | 0.165644 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ea9ccb460241bd5528e300962cfc2d963a9e9eb7 | 245 | py | Python | rbac/ldap/daoex.py | shawnmckinney/py-fortress | ead12bf9b7e37e923c42ccdadd8fd3c5adf027cf | [
"Apache-2.0"
] | 16 | 2018-03-19T02:19:01.000Z | 2021-12-30T15:24:40.000Z | rbac/ldap/daoex.py | shawnmckinney/py-fortress | ead12bf9b7e37e923c42ccdadd8fd3c5adf027cf | [
"Apache-2.0"
] | 1 | 2021-12-18T16:46:04.000Z | 2021-12-18T16:46:04.000Z | rbac/ldap/daoex.py | shawnmckinney/py-fortress | ead12bf9b7e37e923c42ccdadd8fd3c5adf027cf | [
"Apache-2.0"
] | 2 | 2018-03-14T21:48:43.000Z | 2018-03-19T03:25:40.000Z | '''
@copyright: 2022 - Symas Corporation
'''
from rbac.util.fortress_error import RbacError
class LdapException(RbacError):
pass
class NotFound(RbacError):
pass
class NotUnique(RbacError):
pass
class InvalidCredentials(RbacError):
pass
| 13.611111 | 46 | 0.77551 | 27 | 245 | 7 | 0.62963 | 0.275132 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018779 | 0.130612 | 245 | 17 | 47 | 14.411765 | 0.868545 | 0.146939 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.444444 | 0.111111 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
57a298a146c80952a9429f88a91bcd6576ae486d | 93 | py | Python | src/plotshapes/__init__.py | sarang-IITKgp/plot-shapes | 33aff54515eabd55afe42bf0091395dc3e6e6829 | [
"BSD-3-Clause"
] | null | null | null | src/plotshapes/__init__.py | sarang-IITKgp/plot-shapes | 33aff54515eabd55afe42bf0091395dc3e6e6829 | [
"BSD-3-Clause"
] | null | null | null | src/plotshapes/__init__.py | sarang-IITKgp/plot-shapes | 33aff54515eabd55afe42bf0091395dc3e6e6829 | [
"BSD-3-Clause"
] | null | null | null | import plotshapes.conic_sections
import plotshapes.quadrilateral
import plotshapes.transform
| 23.25 | 32 | 0.903226 | 10 | 93 | 8.3 | 0.6 | 0.578313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 93 | 3 | 33 | 31 | 0.954023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
57d8cf08100902923b5e2e85d8e5d3e727d014e8 | 4,165 | py | Python | tests/functional/saltenv/ops/test_func_pin_current_version.py | eitrtechnologies/saltenv | 66add964657fe270ed96ddfe50802e27539a6526 | [
"Apache-2.0"
] | 5 | 2022-03-25T17:15:04.000Z | 2022-03-28T23:24:26.000Z | tests/functional/saltenv/ops/test_func_pin_current_version.py | eitrtechnologies/saltenv | 66add964657fe270ed96ddfe50802e27539a6526 | [
"Apache-2.0"
] | null | null | null | tests/functional/saltenv/ops/test_func_pin_current_version.py | eitrtechnologies/saltenv | 66add964657fe270ed96ddfe50802e27539a6526 | [
"Apache-2.0"
] | 2 | 2022-03-26T06:33:30.000Z | 2022-03-29T19:43:50.000Z | from unittest.mock import patch
async def test_func_pin_current_version_no_active_version(mock_hub, hub, tmp_path):
"""
SCENARIO #1:
- There is no active version
"""
# Link the function to the mock_hub
mock_hub.saltenv.ops.pin_current_version = hub.saltenv.ops.pin_current_version
# Mock t... | 39.292453 | 100 | 0.718607 | 569 | 4,165 | 4.945518 | 0.137083 | 0.119403 | 0.090618 | 0.054371 | 0.943141 | 0.904051 | 0.883795 | 0.848614 | 0.821606 | 0.789623 | 0 | 0.01193 | 0.215126 | 4,165 | 105 | 101 | 39.666667 | 0.848883 | 0.281873 | 0 | 0.653061 | 0 | 0 | 0.03785 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 1 | 0 | false | 0 | 0.020408 | 0 | 0.020408 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
17cd989d97fa54e84249c7d4c7bc186aca87ed41 | 35 | py | Python | nodebox/sound/__init__.py | pepsipepsi/nodebox_opengl_python3 | cfb2633df1055a028672b11311603cc2241a1378 | [
"BSD-3-Clause"
] | 1 | 2017-03-19T16:56:46.000Z | 2017-03-19T16:56:46.000Z | nodebox/sound/__init__.py | pepsipepsi/nodebox_opengl_python3 | cfb2633df1055a028672b11311603cc2241a1378 | [
"BSD-3-Clause"
] | null | null | null | nodebox/sound/__init__.py | pepsipepsi/nodebox_opengl_python3 | cfb2633df1055a028672b11311603cc2241a1378 | [
"BSD-3-Clause"
] | null | null | null | from nodebox.sound.process import * | 35 | 35 | 0.828571 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
17cf54093d3cb7ed30cf7d05f27c647af87fcb1b | 74 | py | Python | pycrtsh/__init__.py | Te-k/crtshy | cf3c1d6a4ee9ec1e102e2e0cb730eca8625cb2c8 | [
"MIT"
] | 22 | 2017-10-31T21:07:48.000Z | 2022-03-30T02:15:36.000Z | pycrtsh/__init__.py | Te-k/crtshy | cf3c1d6a4ee9ec1e102e2e0cb730eca8625cb2c8 | [
"MIT"
] | 11 | 2019-07-12T17:15:36.000Z | 2022-01-07T15:57:55.000Z | pycrtsh/__init__.py | Te-k/crtshy | cf3c1d6a4ee9ec1e102e2e0cb730eca8625cb2c8 | [
"MIT"
] | 10 | 2019-07-11T12:33:29.000Z | 2021-07-20T08:18:10.000Z | from .api import Crtsh, CrtshInvalidRequestType, CrtshCertificateNotFound
| 37 | 73 | 0.878378 | 6 | 74 | 10.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 74 | 1 | 74 | 74 | 0.955882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa09ece5b1c35b347bccc6ea4782f26b067f9620 | 131 | py | Python | anyway/widgets/all_locations_widgets/__init__.py | shaniwein/anyway | dcd13bf7dc4a120f4d697ab0c08b906f43eea52e | [
"MIT"
] | 1 | 2022-01-19T18:23:03.000Z | 2022-01-19T18:23:03.000Z | anyway/widgets/all_locations_widgets/__init__.py | shaniwein/anyway | dcd13bf7dc4a120f4d697ab0c08b906f43eea52e | [
"MIT"
] | null | null | null | anyway/widgets/all_locations_widgets/__init__.py | shaniwein/anyway | dcd13bf7dc4a120f4d697ab0c08b906f43eea52e | [
"MIT"
] | null | null | null | from . import (
accident_count_by_severity_widget,
most_severe_accidents_widget,
most_severe_accidents_table_widget,
)
| 21.833333 | 39 | 0.801527 | 16 | 131 | 5.875 | 0.6875 | 0.212766 | 0.340426 | 0.531915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 131 | 5 | 40 | 26.2 | 0.846847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a4c1080a48cc641cbb576553dedba1fdfdbcd416 | 262 | py | Python | kanoodlegenius2d/app.py | wkeeling/kanoodlegenius2d | 11d18f3809213cc4d80e56cbcab3e418fc39b365 | [
"MIT"
] | null | null | null | kanoodlegenius2d/app.py | wkeeling/kanoodlegenius2d | 11d18f3809213cc4d80e56cbcab3e418fc39b365 | [
"MIT"
] | null | null | null | kanoodlegenius2d/app.py | wkeeling/kanoodlegenius2d | 11d18f3809213cc4d80e56cbcab3e418fc39b365 | [
"MIT"
] | null | null | null | from kanoodlegenius2d.domain import models
from kanoodlegenius2d.ui import fonts, settings
from kanoodlegenius2d.ui.masterscreen import MasterScreen
def main():
fonts.initialise()
settings.initialise()
models.initialise()
return MasterScreen()
| 23.818182 | 57 | 0.782443 | 27 | 262 | 7.592593 | 0.481481 | 0.292683 | 0.214634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013393 | 0.145038 | 262 | 10 | 58 | 26.2 | 0.901786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.375 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4eadc00c01e5d4823704e7c3ad76f76e7a725f3 | 7,841 | py | Python | z2/part2/interactive/jm/random_normal_1/637218507.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part2/interactive/jm/random_normal_1/637218507.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part2/interactive/jm/random_normal_1/637218507.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 637218507
"""
"""
random actions, total chaos
"""
board = gamma_new(6, 7, 5, 10)
assert board i... | 31.744939 | 46 | 0.653105 | 1,432 | 7,841 | 3.424581 | 0.044693 | 0.349918 | 0.354812 | 0.473083 | 0.808728 | 0.804853 | 0.6823 | 0.376835 | 0.267537 | 0.259788 | 0 | 0.140775 | 0.177401 | 7,841 | 246 | 47 | 31.873984 | 0.619535 | 0 | 0 | 0.209821 | 0 | 0 | 0.036115 | 0 | 0 | 0 | 0 | 0 | 0.745536 | 1 | 0 | false | 0 | 0.004464 | 0 | 0.004464 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a4f1b2954bab8eb8dc86f7ef12bbbefe9369af74 | 4,356 | py | Python | tests/test_upower.py | listuser/jc | 3ac8d0362b4fb9999fc55a60a9cb20ac80d114f7 | [
"MIT"
] | 3,215 | 2019-10-24T15:25:56.000Z | 2022-03-31T15:43:01.000Z | tests/test_upower.py | listuser/jc | 3ac8d0362b4fb9999fc55a60a9cb20ac80d114f7 | [
"MIT"
] | 109 | 2019-11-02T16:22:29.000Z | 2022-03-30T17:32:17.000Z | tests/test_upower.py | listuser/jc | 3ac8d0362b4fb9999fc55a60a9cb20ac80d114f7 | [
"MIT"
] | 75 | 2020-02-07T00:16:32.000Z | 2022-03-29T09:29:53.000Z | import os
import sys
import time
import json
import unittest
import jc.parsers.upower
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
# Set the timezone on POSIX systems. Need to manually set for Windows tests
if not sys.platform.startswith('win32'):
os.environ['TZ'] = 'America/Los_Angeles'
time.tzset()... | 42.705882 | 134 | 0.664141 | 696 | 4,356 | 3.920977 | 0.123563 | 0.082081 | 0.059362 | 0.061561 | 0.843532 | 0.825577 | 0.78417 | 0.713082 | 0.713082 | 0.713082 | 0 | 0.026353 | 0.189853 | 4,356 | 101 | 135 | 43.128713 | 0.746954 | 0.084252 | 0 | 0.038462 | 0 | 0 | 0.162092 | 0.134379 | 0 | 0 | 0 | 0 | 0.134615 | 1 | 0.153846 | false | 0 | 0.115385 | 0 | 0.288462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35282cd4dcca91264219958e252431f0a5e67a73 | 131 | py | Python | tests/conftest.py | dseuss/pypllon | f9ae6104555837fe0eb7d7c333ebc2ed585d314a | [
"BSD-3-Clause"
] | null | null | null | tests/conftest.py | dseuss/pypllon | f9ae6104555837fe0eb7d7c333ebc2ed585d314a | [
"BSD-3-Clause"
] | null | null | null | tests/conftest.py | dseuss/pypllon | f9ae6104555837fe0eb7d7c333ebc2ed585d314a | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pytest as pt
@pt.fixture(scope="module")
def rgen():
return np.random.RandomState(seed=3476583865)
| 16.375 | 49 | 0.740458 | 20 | 131 | 4.85 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 0.145038 | 131 | 7 | 50 | 18.714286 | 0.776786 | 0 | 0 | 0 | 0 | 0 | 0.045802 | 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 | 1 | 0 | 0 | 6 |
1057320ca1a0eb1c9ddd59c375419b8e9d5482a8 | 357 | py | Python | backend/mmlp/endpoint/result/ResultCount.py | magreiner/MMLP | 23113866d8d0062c8c0e54c7fa5a0bbd0fa15f4e | [
"Apache-2.0"
] | null | null | null | backend/mmlp/endpoint/result/ResultCount.py | magreiner/MMLP | 23113866d8d0062c8c0e54c7fa5a0bbd0fa15f4e | [
"Apache-2.0"
] | null | null | null | backend/mmlp/endpoint/result/ResultCount.py | magreiner/MMLP | 23113866d8d0062c8c0e54c7fa5a0bbd0fa15f4e | [
"Apache-2.0"
] | null | null | null | import json
from falcon import Request, Response
from mmlp.manager import ResultManager
class ResultCount:
def __init__(self, result_manager: ResultManager):
self._result_manager: ResultManager = result_manager
def on_get(self, _: Request, resp: Response):
resp.body = json.dumps(dict(count=s... | 27.461538 | 79 | 0.753501 | 44 | 357 | 5.818182 | 0.5 | 0.203125 | 0.199219 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162465 | 357 | 12 | 80 | 29.75 | 0.856187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
109e7549ca7ca5e402ec3e03c1d217eb79343001 | 166 | py | Python | ex14.py | wellingtonn96/Revisao_LP2 | 6cd23606633b07db5a984666b12b2dc2193e799d | [
"Apache-2.0"
] | null | null | null | ex14.py | wellingtonn96/Revisao_LP2 | 6cd23606633b07db5a984666b12b2dc2193e799d | [
"Apache-2.0"
] | null | null | null | ex14.py | wellingtonn96/Revisao_LP2 | 6cd23606633b07db5a984666b12b2dc2193e799d | [
"Apache-2.0"
] | null | null | null | from funcoes import exercicio_tupla
centenas, dezenas, unidades = exercicio_tupla(945)
print('centena: %d, dezena: %d, unidade: %d' % (centenas, dezenas, unidades))
| 33.2 | 77 | 0.746988 | 21 | 166 | 5.809524 | 0.666667 | 0.229508 | 0.377049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020548 | 0.120482 | 166 | 4 | 78 | 41.5 | 0.815068 | 0 | 0 | 0 | 0 | 0 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
529e944ddd640e80ec194142f894ace2e9141428 | 161 | py | Python | views/shop.py | Usamaiqbal789/Flask | b0a3c0be63fb88cfe020e116b37d73261c7bcab1 | [
"MIT"
] | null | null | null | views/shop.py | Usamaiqbal789/Flask | b0a3c0be63fb88cfe020e116b37d73261c7bcab1 | [
"MIT"
] | null | null | null | views/shop.py | Usamaiqbal789/Flask | b0a3c0be63fb88cfe020e116b37d73261c7bcab1 | [
"MIT"
] | 1 | 2021-10-14T19:14:09.000Z | 2021-10-14T19:14:09.000Z | from flask import Blueprint, render_template
shop = Blueprint('shop', __name__)
@shop.route('/shop')
def shop_page():
return render_template("shop.html")
| 17.888889 | 44 | 0.732919 | 21 | 161 | 5.285714 | 0.619048 | 0.252252 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 161 | 8 | 45 | 20.125 | 0.792857 | 0 | 0 | 0 | 0 | 0 | 0.111801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
52f8a198bbf1908d77d74d41949bf1ffbffdcae1 | 38 | py | Python | katas/beta/find_the_gcf_of_two_numbers.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/beta/find_the_gcf_of_two_numbers.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/beta/find_the_gcf_of_two_numbers.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from fractions import gcd as find_GCF
| 19 | 37 | 0.842105 | 7 | 38 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 1 | 38 | 38 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc1fa3efb29a27feac2eca0949cd7b10e1578962 | 36 | py | Python | otscrape/core/exporter/__init__.py | SSripilaipong/otscrape | 73ad2ea3d20841cf5d81b37180a1f21c48e87480 | [
"MIT"
] | null | null | null | otscrape/core/exporter/__init__.py | SSripilaipong/otscrape | 73ad2ea3d20841cf5d81b37180a1f21c48e87480 | [
"MIT"
] | null | null | null | otscrape/core/exporter/__init__.py | SSripilaipong/otscrape | 73ad2ea3d20841cf5d81b37180a1f21c48e87480 | [
"MIT"
] | null | null | null | from .file.json import JSONExporter
| 18 | 35 | 0.833333 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc52f0b09edcc582395d1f1fa0265f2bfa01f3c9 | 27 | py | Python | src/sage/tensor/all.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | 1,742 | 2015-01-04T07:06:13.000Z | 2022-03-30T11:32:52.000Z | src/sage/tensor/all.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | 66 | 2015-03-19T19:17:24.000Z | 2022-03-16T11:59:30.000Z | src/sage/tensor/all.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | 495 | 2015-01-10T10:23:18.000Z | 2022-03-24T22:06:11.000Z | from .modules.all import *
| 13.5 | 26 | 0.740741 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc5639380e32090db9b3fc5d1dffcf4c9eed3c4a | 98 | py | Python | tests/archives/extension.py | 4nm1tsu/uncompressor | 706eb7500ee576fe7e7a6d610dc78bfa837ea8bf | [
"MIT"
] | 1 | 2021-11-08T01:52:58.000Z | 2021-11-08T01:52:58.000Z | tests/archives/extension.py | 4nm1tsu/uncompressor | 706eb7500ee576fe7e7a6d610dc78bfa837ea8bf | [
"MIT"
] | null | null | null | tests/archives/extension.py | 4nm1tsu/uncompressor | 706eb7500ee576fe7e7a6d610dc78bfa837ea8bf | [
"MIT"
] | null | null | null | import mimetypes
print(mimetypes.guess_extension(mimetypes.guess_type('./something.tar.xz')[0]))
| 24.5 | 79 | 0.795918 | 13 | 98 | 5.846154 | 0.769231 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.040816 | 98 | 3 | 80 | 32.666667 | 0.797872 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 6 |
f495a741cc3a9d4155a8adc96792d91041ff25cd | 87 | py | Python | src/metrics/__init__.py | ryanwongsa/image-inpainting | d20419f3260760f1deb96d2b904dd4de92eeee36 | [
"BSD-3-Clause"
] | null | null | null | src/metrics/__init__.py | ryanwongsa/image-inpainting | d20419f3260760f1deb96d2b904dd4de92eeee36 | [
"BSD-3-Clause"
] | null | null | null | src/metrics/__init__.py | ryanwongsa/image-inpainting | d20419f3260760f1deb96d2b904dd4de92eeee36 | [
"BSD-3-Clause"
] | null | null | null | from metrics.psnr_metric import PSNR_Metric
from metrics.loss_metric import Loss_Metric | 43.5 | 43 | 0.896552 | 14 | 87 | 5.285714 | 0.428571 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 87 | 2 | 44 | 43.5 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4b18b162035ab5378f719e556b732dd41a4cfdb | 4,415 | py | Python | export 3d pic /2p.py | aminoj/Interactive-Orbitals-Simulation | 20e405d6a23028049c05f4a0fd73e51857ba9270 | [
"Apache-2.0"
] | null | null | null | export 3d pic /2p.py | aminoj/Interactive-Orbitals-Simulation | 20e405d6a23028049c05f4a0fd73e51857ba9270 | [
"Apache-2.0"
] | null | null | null | export 3d pic /2p.py | aminoj/Interactive-Orbitals-Simulation | 20e405d6a23028049c05f4a0fd73e51857ba9270 | [
"Apache-2.0"
] | 1 | 2020-04-16T08:02:27.000Z | 2020-04-16T08:02:27.000Z | from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
rstride = 15
cstride = 15
MinBound = -3
MaxBound = 3
u = np.linspace(0, 2*np.pi, 100)
v = np.linspace(0, np.pi, 100)
#----------------------------------------------... | 32.703704 | 96 | 0.463194 | 723 | 4,415 | 2.803596 | 0.136929 | 0.088801 | 0.106561 | 0.082881 | 0.77257 | 0.77257 | 0.77257 | 0.768624 | 0.768624 | 0.727183 | 0 | 0.08813 | 0.110759 | 4,415 | 135 | 97 | 32.703704 | 0.428171 | 0.226954 | 0 | 0.493506 | 0 | 0 | 0.013864 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038961 | 0 | 0.038961 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f4e2b8386bdbedfc5c89a0d9305717c57989aa6b | 14,564 | py | Python | dqn/Model.py | Theling/Delayed_MDP | db1a8808a05917a5915220947cf65268f0524fa9 | [
"MIT"
] | null | null | null | dqn/Model.py | Theling/Delayed_MDP | db1a8808a05917a5915220947cf65268f0524fa9 | [
"MIT"
] | null | null | null | dqn/Model.py | Theling/Delayed_MDP | db1a8808a05917a5915220947cf65268f0524fa9 | [
"MIT"
] | null | null | null | # GRU simple normal nn, this model assumes the two elements in state space is uncorrelated.
import tensorflow as tf
import numpy as np
from collections import deque
from DRL_util import Grid
DEBUG = False
class GRU_Model:
def __init__(self,
sess,
state_dim,
act... | 35.696078 | 124 | 0.583082 | 1,898 | 14,564 | 4.231296 | 0.10432 | 0.024654 | 0.023907 | 0.018927 | 0.789441 | 0.768771 | 0.764786 | 0.755572 | 0.736521 | 0.720085 | 0 | 0.01189 | 0.289687 | 14,564 | 407 | 125 | 35.783784 | 0.764427 | 0.064749 | 0 | 0.703971 | 0 | 0 | 0.066446 | 0 | 0 | 0 | 0 | 0 | 0.00361 | 1 | 0.083032 | false | 0 | 0.021661 | 0.01444 | 0.166065 | 0.057762 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
52054d33310c0194f97c41b19da52377dfc2698d | 121 | py | Python | app/utils/limiter.py | johndatserakis/find-the-state-api | 81da6c37eaf635ddfc01cb9964d0d173248721c7 | [
"MIT"
] | 1 | 2021-12-23T15:40:53.000Z | 2021-12-23T15:40:53.000Z | app/utils/limiter.py | johndatserakis/find-the-state-api | 81da6c37eaf635ddfc01cb9964d0d173248721c7 | [
"MIT"
] | null | null | null | app/utils/limiter.py | johndatserakis/find-the-state-api | 81da6c37eaf635ddfc01cb9964d0d173248721c7 | [
"MIT"
] | null | null | null | from slowapi import Limiter
from slowapi.util import get_remote_address
limiter = Limiter(key_func=get_remote_address)
| 20.166667 | 46 | 0.85124 | 18 | 121 | 5.444444 | 0.555556 | 0.22449 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107438 | 121 | 5 | 47 | 24.2 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
522f33837383a367d3e08c1282920fb4cdf516be | 11,306 | py | Python | draw.py | HJoonKwon/MAVeric | 39e93942836c3e3b38a4d56566fb118ce809b72f | [
"MIT"
] | null | null | null | draw.py | HJoonKwon/MAVeric | 39e93942836c3e3b38a4d56566fb118ce809b72f | [
"MIT"
] | null | null | null | draw.py | HJoonKwon/MAVeric | 39e93942836c3e3b38a4d56566fb118ce809b72f | [
"MIT"
] | null | null | null | import matplotlib as mpl
from mpl_toolkits.mplot3d import Axes3D
from numpy import *
import matplotlib.pyplot as plot
def draw_traj(waypoints, trajectory):
"""
Visualize the trajectories in every dimension by using matplotlib.
The code is quite repetitive and might be optimized, but it works...
"""
... | 45.405622 | 145 | 0.552715 | 1,745 | 11,306 | 3.527221 | 0.073926 | 0.146223 | 0.080422 | 0.102356 | 0.808123 | 0.785378 | 0.77498 | 0.77498 | 0.750447 | 0.750447 | 0 | 0.067976 | 0.229701 | 11,306 | 248 | 146 | 45.58871 | 0.638765 | 0.163276 | 0 | 0.644172 | 0 | 0 | 0.018217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006135 | false | 0 | 0.02454 | 0 | 0.030675 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
526a538cc535f29c049f7c12811d92feb33a8a42 | 46 | py | Python | mypackage/__init__.py | meinert/pythonprojecttemplate | c368b2d3de2f64afdcf9eb79c9d982d9b037c711 | [
"BSD-2-Clause"
] | null | null | null | mypackage/__init__.py | meinert/pythonprojecttemplate | c368b2d3de2f64afdcf9eb79c9d982d9b037c711 | [
"BSD-2-Clause"
] | null | null | null | mypackage/__init__.py | meinert/pythonprojecttemplate | c368b2d3de2f64afdcf9eb79c9d982d9b037c711 | [
"BSD-2-Clause"
] | null | null | null | from .core import hmm
from .mymodule import *
| 15.333333 | 23 | 0.76087 | 7 | 46 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 24 | 23 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5285bbbd49479419e172b9098c929f6b6f6ca4d6 | 263 | py | Python | src/openpersonen/api/views/ouder.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | 2 | 2020-08-26T11:24:43.000Z | 2021-07-28T09:46:40.000Z | src/openpersonen/api/views/ouder.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | 153 | 2020-08-26T10:45:35.000Z | 2021-12-10T17:33:16.000Z | src/openpersonen/api/views/ouder.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | null | null | null | from openpersonen.api.data_classes import Ouder
from openpersonen.api.serializers import OuderSerializer
from openpersonen.api.views.base import NestedViewSet
class OuderViewSet(NestedViewSet):
serializer_class = OuderSerializer
instance_class = Ouder
| 26.3 | 56 | 0.836502 | 29 | 263 | 7.482759 | 0.551724 | 0.221198 | 0.262673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117871 | 263 | 9 | 57 | 29.222222 | 0.935345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bfef3fcd14a6ddbd71f0e0ad7e444538abea6494 | 41 | py | Python | contribuicao/arquivo_novo.py | lucasleonardobs/cool-repo | 96b2329de8151ba16db4e742e363248fc9a6820c | [
"MIT"
] | null | null | null | contribuicao/arquivo_novo.py | lucasleonardobs/cool-repo | 96b2329de8151ba16db4e742e363248fc9a6820c | [
"MIT"
] | null | null | null | contribuicao/arquivo_novo.py | lucasleonardobs/cool-repo | 96b2329de8151ba16db4e742e363248fc9a6820c | [
"MIT"
] | null | null | null | print("Essa aqui é minha contribuição!")
| 20.5 | 40 | 0.756098 | 6 | 41 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
872c374b3a476b8af183a616257568628340ad0c | 734 | py | Python | src/finitestate/firmware/package_metadata/model.py | FiniteStateInc/clearcode-toolkit | 521c3a2ab9d9fa6d7b9059227c6af9d09b031c33 | [
"Apache-2.0"
] | null | null | null | src/finitestate/firmware/package_metadata/model.py | FiniteStateInc/clearcode-toolkit | 521c3a2ab9d9fa6d7b9059227c6af9d09b031c33 | [
"Apache-2.0"
] | null | null | null | src/finitestate/firmware/package_metadata/model.py | FiniteStateInc/clearcode-toolkit | 521c3a2ab9d9fa6d7b9059227c6af9d09b031c33 | [
"Apache-2.0"
] | 1 | 2020-12-22T16:51:40.000Z | 2020-12-22T16:51:40.000Z | import attr
@attr.s
class FSPackageMetadata():
id: str = attr.ib(kw_only=True)
name: str = attr.ib(kw_only=True)
version: str = attr.ib(kw_only=True)
release: str = attr.ib(kw_only=True)
file_name: str = attr.ib(kw_only=True)
supplier_name: str = attr.ib(kw_only=True)
supplier_type: str = ... | 34.952381 | 53 | 0.697548 | 122 | 734 | 3.983607 | 0.237705 | 0.216049 | 0.277778 | 0.339506 | 0.730453 | 0.730453 | 0.495885 | 0.269547 | 0.1893 | 0.1893 | 0 | 0 | 0.173025 | 734 | 20 | 54 | 36.7 | 0.800659 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.055556 | 0 | 0.944444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
87754db7cd6e79fb73ed0a1b2c5380838fdee166 | 3,640 | py | Python | dbdaora/boolean/_tests/datastore/test_integration_service_boolean_aioredis_datastore_get_one.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | 21 | 2019-10-14T14:33:33.000Z | 2022-02-11T04:43:07.000Z | dbdaora/boolean/_tests/datastore/test_integration_service_boolean_aioredis_datastore_get_one.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | null | null | null | dbdaora/boolean/_tests/datastore/test_integration_service_boolean_aioredis_datastore_get_one.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | 1 | 2019-09-29T23:51:44.000Z | 2019-09-29T23:51:44.000Z | import asynctest
import pytest
from aioredis import RedisError
@pytest.mark.asyncio
async def test_should_get_one(
fake_service, serialized_fake_entity, fake_entity
):
await fake_service.repository.memory_data_source.set(
'fake:other_fake:fake', serialized_fake_entity,
)
entity = await fake_s... | 28.4375 | 81 | 0.708791 | 468 | 3,640 | 5.136752 | 0.138889 | 0.137271 | 0.106489 | 0.091514 | 0.902246 | 0.902246 | 0.902246 | 0.868552 | 0.839434 | 0.759983 | 0 | 0.001024 | 0.19533 | 3,640 | 127 | 82 | 28.661417 | 0.819734 | 0 | 0 | 0.650485 | 0 | 0 | 0.107418 | 0.014286 | 0 | 0 | 0 | 0 | 0.097087 | 1 | 0 | false | 0 | 0.029126 | 0 | 0.029126 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e6d4804b9a1a61a343ba8ce1cca0c1bfe09a8ce | 167 | py | Python | wideq/__init__.py | stboch/wideq | 4acde696e958e00eede87a0e1fe28f490148204f | [
"MIT"
] | null | null | null | wideq/__init__.py | stboch/wideq | 4acde696e958e00eede87a0e1fe28f490148204f | [
"MIT"
] | null | null | null | wideq/__init__.py | stboch/wideq | 4acde696e958e00eede87a0e1fe28f490148204f | [
"MIT"
] | null | null | null | """Reverse-engineered client for the LG SmartThinQ API.
"""
from .core import * # noqa
from .client import * # noqa
from .ac import * # noqa
__version__ = '1.1.1'
| 20.875 | 55 | 0.670659 | 24 | 167 | 4.5 | 0.625 | 0.277778 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022388 | 0.197605 | 167 | 7 | 56 | 23.857143 | 0.783582 | 0.407186 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d727e672d17895ece977f4d3042f95ae8722662 | 36 | py | Python | rootnum/__init__.py | gXLg/rootnum | a617e30475a12ed6c23f9a1b35f54326824e6d7a | [
"MIT"
] | 1 | 2021-10-04T10:37:31.000Z | 2021-10-04T10:37:31.000Z | rootnum/__init__.py | gXLg/Rootnum | a617e30475a12ed6c23f9a1b35f54326824e6d7a | [
"MIT"
] | null | null | null | rootnum/__init__.py | gXLg/Rootnum | a617e30475a12ed6c23f9a1b35f54326824e6d7a | [
"MIT"
] | null | null | null | from rootnum.rootnum import Rootnum
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d9d247c1cd1987d88314c1225b8f5691cf72a63 | 10,530 | py | Python | api/queries/end_user_advisories/tests/test_create_end_user_advisories.py | uktrade/lite-ap | 4e1a57956bd921992b4a6e2b8fbacbba5720960d | [
"MIT"
] | 3 | 2019-05-15T09:30:39.000Z | 2020-04-22T16:14:23.000Z | api/queries/end_user_advisories/tests/test_create_end_user_advisories.py | uktrade/lite-ap | 4e1a57956bd921992b4a6e2b8fbacbba5720960d | [
"MIT"
] | 85 | 2019-04-24T10:39:35.000Z | 2022-03-21T14:52:12.000Z | api/queries/end_user_advisories/tests/test_create_end_user_advisories.py | uktrade/lite-ap | 4e1a57956bd921992b4a6e2b8fbacbba5720960d | [
"MIT"
] | 1 | 2021-01-17T11:12:19.000Z | 2021-01-17T11:12:19.000Z | from django.urls import reverse
from parameterized import parameterized
from rest_framework import status
from api.cases.models import Case
from api.parties.enums import PartyType
from test_helpers.clients import DataTestClient
class EndUserAdvisoryCreateTests(DataTestClient):
url = reverse("queries:end_user_adv... | 41.952191 | 106 | 0.570845 | 1,116 | 10,530 | 5.143369 | 0.12724 | 0.084146 | 0.049826 | 0.061324 | 0.8 | 0.786063 | 0.780139 | 0.772125 | 0.759582 | 0.74669 | 0 | 0.013492 | 0.282051 | 10,530 | 250 | 107 | 42.12 | 0.745767 | 0.047863 | 0 | 0.707921 | 0 | 0 | 0.26566 | 0.004764 | 0 | 0 | 0 | 0 | 0.217822 | 1 | 0.034653 | false | 0 | 0.029703 | 0 | 0.074257 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0da098f3ce6e533bfaba3eb347a8abb5f40ab89a | 152 | py | Python | meiduo_mall/meiduo_mall/utils/views.py | 1103928458/meiduo_drf | 49595755f264b09ea748b4deb8a88bba5eb8557b | [
"MIT"
] | null | null | null | meiduo_mall/meiduo_mall/utils/views.py | 1103928458/meiduo_drf | 49595755f264b09ea748b4deb8a88bba5eb8557b | [
"MIT"
] | null | null | null | meiduo_mall/meiduo_mall/utils/views.py | 1103928458/meiduo_drf | 49595755f264b09ea748b4deb8a88bba5eb8557b | [
"MIT"
] | 1 | 2020-11-10T07:22:42.000Z | 2020-11-10T07:22:42.000Z | from django.contrib.auth import mixins
from django.views import View
# 判断用户登录----用于继承
class LoginRequiredView(mixins.LoginRequiredMixin,View):
pass | 25.333333 | 56 | 0.802632 | 19 | 152 | 6.421053 | 0.736842 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111842 | 152 | 6 | 57 | 25.333333 | 0.903704 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0da45945f19b31a65ab305f970191ced807cecf8 | 173 | py | Python | ciclo1_python/udea/MisionTIC_UdeA_Ciclo1/Material/Semana_7/Semana 7/Mifuncion.py | felipeescallon/mision_tic_2022 | 20496fc40b18d2e98114d6362928f34fde41aaae | [
"CC0-1.0"
] | 7 | 2021-07-05T21:25:50.000Z | 2021-11-09T11:09:41.000Z | ciclo1_python/udea/MisionTIC_UdeA_Ciclo1/Material/Semana_7/Semana 7/Mifuncion.py | felipeescallon/mision_tic_2022 | 20496fc40b18d2e98114d6362928f34fde41aaae | [
"CC0-1.0"
] | null | null | null | ciclo1_python/udea/MisionTIC_UdeA_Ciclo1/Material/Semana_7/Semana 7/Mifuncion.py | felipeescallon/mision_tic_2022 | 20496fc40b18d2e98114d6362928f34fde41aaae | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@author: Ing. Víctor Fabián Castro Pérez
"""
def imprimealgo():
print ("Esta es la cadena que se imprime de la funcion MiFuncion\n")
| 21.625 | 73 | 0.624277 | 24 | 173 | 4.5 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.225434 | 173 | 7 | 74 | 24.714286 | 0.798507 | 0.364162 | 0 | 0 | 0 | 0 | 0.617021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0df1104fc90b32d9e41bb331b088353d2b4dcb77 | 48 | py | Python | allink_core/core/customisation/dummy_new_app/tests/test_views.py | allink/allink-core | cf2727f26192d8dee89d76feb262bc4760f36f5e | [
"BSD-3-Clause"
] | 5 | 2017-03-13T08:49:45.000Z | 2022-03-05T20:05:56.000Z | allink_core/core/customisation/dummy_new_app/tests/test_views.py | allink/allink-core | cf2727f26192d8dee89d76feb262bc4760f36f5e | [
"BSD-3-Clause"
] | 28 | 2019-10-21T08:32:18.000Z | 2022-02-10T13:16:38.000Z | allink_core/core/customisation/dummy_new_app/tests/test_views.py | allink/allink-core | cf2727f26192d8dee89d76feb262bc4760f36f5e | [
"BSD-3-Clause"
] | null | null | null | # TODO add your tests here or delete this file.
| 24 | 47 | 0.75 | 9 | 48 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 48 | 1 | 48 | 48 | 0.947368 | 0.9375 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0dfa8d034fee3127c14bc4cec6c81ca4e9d89283 | 1,753 | py | Python | user/vistas/widgets/chatBox.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | user/vistas/widgets/chatBox.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | user/vistas/widgets/chatBox.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
print '''<div class="chat '''+str('hidden' if 'chat' in data['hidden'] else '' )+'''"> <style> input,button{ font-size:13px; } .chat{ width:200px; font-size:12px !important; } .chat textarea{ width:100%; } .chat .mensajes{ height:240p... | 103.117647 | 1,194 | 0.551626 | 219 | 1,753 | 4.392694 | 0.438356 | 0.04158 | 0.040541 | 0.039501 | 0.261954 | 0.182952 | 0.155925 | 0.079002 | 0.079002 | 0 | 0 | 0.055265 | 0.236167 | 1,753 | 17 | 1,195 | 103.117647 | 0.663181 | 0.021677 | 0 | 0.466667 | 0 | 0.2 | 0.773629 | 0.177946 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0.066667 | null | null | 0.533333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
218b2b286fc80001c86b7e06dcf171dfa0a36985 | 68 | py | Python | recipes-tag/pyzbar/run_test.py | dmgav/lightsource2-recipes | 2014b10a65e173b0b6fdd0707ef81709b0ce1b1f | [
"BSD-3-Clause"
] | 4 | 2016-07-17T23:55:23.000Z | 2021-07-18T22:51:40.000Z | recipes-tag/pyzbar/run_test.py | dmgav/lightsource2-recipes | 2014b10a65e173b0b6fdd0707ef81709b0ce1b1f | [
"BSD-3-Clause"
] | 477 | 2016-07-05T15:21:30.000Z | 2020-03-23T20:02:52.000Z | recipes-tag/pyzbar/run_test.py | dmgav/lightsource2-recipes | 2014b10a65e173b0b6fdd0707ef81709b0ce1b1f | [
"BSD-3-Clause"
] | 21 | 2016-07-25T16:18:52.000Z | 2021-04-06T01:37:59.000Z | import pyzbar
import pyzbar.pyzbar
from pyzbar.pyzbar import decode
| 17 | 32 | 0.852941 | 10 | 68 | 5.8 | 0.4 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 3 | 33 | 22.666667 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10d5d2b61dda1e3cc37e5494b00b5f383db14f81 | 173 | py | Python | simpletransformers/language_generation/__init__.py | taranais/simpletransformers | 36b2519cad5d8beed1f1726fa9b1163eb52286f0 | [
"Apache-2.0"
] | 2 | 2020-09-14T07:40:14.000Z | 2021-04-12T06:14:48.000Z | simpletransformers/language_generation/__init__.py | taranais/simpletransformers | 36b2519cad5d8beed1f1726fa9b1163eb52286f0 | [
"Apache-2.0"
] | 1 | 2020-05-31T22:54:58.000Z | 2020-05-31T22:54:58.000Z | simpletransformers/language_generation/__init__.py | taranais/simpletransformers | 36b2519cad5d8beed1f1726fa9b1163eb52286f0 | [
"Apache-2.0"
] | null | null | null | from simpletransformers.language_generation.language_generation_model import LanguageGenerationModel
from simpletransformers.config.model_args import LanguageGenerationArgs
| 57.666667 | 100 | 0.930636 | 16 | 173 | 9.8125 | 0.625 | 0.280255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046243 | 173 | 2 | 101 | 86.5 | 0.951515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8029383880bb17349fa790fa7e645976273db82e | 245 | py | Python | torchmeta/toy/__init__.py | yusufraji/siren | 9416a751f64b9d1e9816f7a05e895531e9506d8a | [
"MIT"
] | 1,704 | 2019-09-16T15:08:18.000Z | 2022-03-31T22:36:43.000Z | torchmeta/toy/__init__.py | yusufraji/siren | 9416a751f64b9d1e9816f7a05e895531e9506d8a | [
"MIT"
] | 135 | 2019-09-20T15:34:03.000Z | 2022-03-13T23:31:17.000Z | torchmeta/toy/__init__.py | yusufraji/siren | 9416a751f64b9d1e9816f7a05e895531e9506d8a | [
"MIT"
] | 221 | 2019-09-17T09:01:21.000Z | 2022-03-30T03:23:35.000Z | from torchmeta.toy.harmonic import Harmonic
from torchmeta.toy.sinusoid import Sinusoid
from torchmeta.toy.sinusoid_line import SinusoidAndLine
from torchmeta.toy import helpers
__all__ = ['Harmonic', 'Sinusoid', 'SinusoidAndLine', 'helpers']
| 30.625 | 64 | 0.816327 | 29 | 245 | 6.724138 | 0.344828 | 0.266667 | 0.328205 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097959 | 245 | 7 | 65 | 35 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.155102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
337f404475a70dd054d2a1d4c710dc6756661761 | 2,065 | py | Python | authors/apps/articles/tests/test_sharing.py | andela/ah-backend-zeus | 44e2f554c4a7a10c06bd3c7be42fc91571c09f29 | [
"BSD-3-Clause"
] | 1 | 2019-03-22T09:13:35.000Z | 2019-03-22T09:13:35.000Z | authors/apps/articles/tests/test_sharing.py | andela/ah-backend-zeus | 44e2f554c4a7a10c06bd3c7be42fc91571c09f29 | [
"BSD-3-Clause"
] | 13 | 2018-11-27T16:48:25.000Z | 2021-06-10T21:00:19.000Z | authors/apps/articles/tests/test_sharing.py | andela/ah-backend-zeus | 44e2f554c4a7a10c06bd3c7be42fc91571c09f29 | [
"BSD-3-Clause"
] | 9 | 2018-11-23T11:10:24.000Z | 2019-04-04T11:04:33.000Z | from rest_framework.test import APIClient
from .base_test import BaseTest
from rest_framework import status
class TestSharing(BaseTest):
def test_api_can_share_an_article_on_facebook(self):
created_article = self.client.post(
'/api/articles/', data=self.new_article, format='json')
slu... | 34.416667 | 74 | 0.673608 | 259 | 2,065 | 5.034749 | 0.166023 | 0.069018 | 0.096626 | 0.117331 | 0.858129 | 0.858129 | 0.858129 | 0.858129 | 0.834356 | 0.82362 | 0 | 0.011152 | 0.218402 | 2,065 | 59 | 75 | 35 | 0.796778 | 0 | 0 | 0.55814 | 0 | 0 | 0.106693 | 0.074685 | 0 | 0 | 0 | 0 | 0.139535 | 1 | 0.139535 | false | 0 | 0.069767 | 0 | 0.232558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
338c7fd82c12514e681e73d3d5425a07ff2ddf74 | 247 | py | Python | zipkin/binding/requests/__init__.py | Themimitoof/python-zipkin | f91169d044a49f641930bdfc456f34e497690fe8 | [
"Apache-2.0"
] | 4 | 2018-02-28T11:00:36.000Z | 2020-01-22T10:52:18.000Z | zipkin/binding/requests/__init__.py | Themimitoof/python-zipkin | f91169d044a49f641930bdfc456f34e497690fe8 | [
"Apache-2.0"
] | 4 | 2018-04-21T12:29:46.000Z | 2021-06-22T06:48:45.000Z | zipkin/binding/requests/__init__.py | Themimitoof/python-zipkin | f91169d044a49f641930bdfc456f34e497690fe8 | [
"Apache-2.0"
] | 4 | 2018-02-28T13:50:10.000Z | 2021-07-01T09:47:01.000Z | try:
from .impl import bind, request_adapter
except ImportError as exc:
import logging
logging.getLogger(__name__).warn("requests not installed")
def bind():
pass
def request_adapter(adapter):
return adapter
| 19 | 62 | 0.680162 | 29 | 247 | 5.586207 | 0.724138 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246964 | 247 | 12 | 63 | 20.583333 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.089069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.333333 | 0.111111 | 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 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 6 |
33b228fde5a419ed1e631234a898b50145f7c788 | 2,976 | py | Python | 3.7.0/lldb-3.7.0.src/test/tools/lldb-mi/TestMiFile.py | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 3 | 2016-02-10T14:18:40.000Z | 2018-02-05T03:15:56.000Z | 3.7.0/lldb-3.7.0.src/test/tools/lldb-mi/TestMiFile.py | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 1 | 2016-02-10T15:40:03.000Z | 2016-02-10T15:40:03.000Z | 3.7.0/lldb-3.7.0.src/test/tools/lldb-mi/TestMiFile.py | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | null | null | null | """
Test lldb-mi -file-xxx commands.
"""
import lldbmi_testcase
from lldbtest import *
import unittest2
class MiFileTestCase(lldbmi_testcase.MiTestCaseBase):
mydir = TestBase.compute_mydir(__file__)
@lldbmi_test
@expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
@ski... | 36.292683 | 94 | 0.665323 | 373 | 2,976 | 5.182306 | 0.209115 | 0.066218 | 0.09105 | 0.148991 | 0.825142 | 0.825142 | 0.825142 | 0.81014 | 0.81014 | 0.81014 | 0 | 0.017744 | 0.204637 | 2,976 | 81 | 95 | 36.740741 | 0.798902 | 0.279234 | 0 | 0.625 | 0 | 0 | 0.228761 | 0.041766 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33b7968facc326b2e573917800145c84f816046a | 109 | py | Python | pysmap/twitterutil/__init__.py | SMAPPNYU/pysmapp | eb871992f40c53125129535e871525d5623c8c2d | [
"MIT"
] | 21 | 2016-05-22T22:09:54.000Z | 2021-08-09T14:46:13.000Z | pysmap/twitterutil/__init__.py | SMAPPNYU/pysmapp | eb871992f40c53125129535e871525d5623c8c2d | [
"MIT"
] | 26 | 2016-05-06T16:34:09.000Z | 2020-07-17T19:51:19.000Z | pysmap/twitterutil/__init__.py | SMAPPNYU/pysmapp | eb871992f40c53125129535e871525d5623c8c2d | [
"MIT"
] | 6 | 2016-08-16T10:35:02.000Z | 2020-07-14T14:40:58.000Z | '''
module
'''
from . import smapp_collection, smapp_dataset
__all__ = ['smapp_collection', 'smapp_dataset'] | 18.166667 | 47 | 0.743119 | 12 | 109 | 6.083333 | 0.583333 | 0.410959 | 0.547945 | 0.739726 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 6 | 47 | 18.166667 | 0.752577 | 0.055046 | 0 | 0 | 0 | 0 | 0.302083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1d0f97d1931d93977d049c7711217dd4ecab685f | 43 | py | Python | apps/Todo/serializers/__init__.py | Eduardo-RFarias/DjangoReactBackend | b8183ea4b24be5c0aa557ffbc79fc23e0777b8ad | [
"MIT"
] | null | null | null | apps/Todo/serializers/__init__.py | Eduardo-RFarias/DjangoReactBackend | b8183ea4b24be5c0aa557ffbc79fc23e0777b8ad | [
"MIT"
] | null | null | null | apps/Todo/serializers/__init__.py | Eduardo-RFarias/DjangoReactBackend | b8183ea4b24be5c0aa557ffbc79fc23e0777b8ad | [
"MIT"
] | null | null | null | from .TodoSerializer import TodoSerializer
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d83f20852b9dffc42a935bdafe17867ce4c3936 | 17,434 | py | Python | model/Seq2SeqEncoders.py | bigaidream-projects/citylearn-2020-pikapika | 8c9389eb4b4e979faf269b8c0ce87b499af97ac1 | [
"Apache-2.0"
] | 3 | 2021-12-20T03:40:55.000Z | 2022-02-02T04:26:33.000Z | model/Seq2SeqEncoders.py | bigaidream-projects/citylearn-2020-pikapika | 8c9389eb4b4e979faf269b8c0ce87b499af97ac1 | [
"Apache-2.0"
] | null | null | null | model/Seq2SeqEncoders.py | bigaidream-projects/citylearn-2020-pikapika | 8c9389eb4b4e979faf269b8c0ce87b499af97ac1 | [
"Apache-2.0"
] | 4 | 2022-02-11T20:30:51.000Z | 2022-02-27T01:17:34.000Z | import torch
from torch import nn
from model.BaseModules import TransformerDecoderLayer
from model.Encoder import BaseEncoder, AutoEncoder, TemporalConvNet
class Seq2SeqLSTM(BaseEncoder):
def __init__(self, source_size, target_size, hidden_size, **kwargs):
super(Seq2SeqLSTM, self).__init__()
self... | 41.908654 | 113 | 0.607835 | 2,235 | 17,434 | 4.481432 | 0.05906 | 0.053914 | 0.044728 | 0.027955 | 0.889677 | 0.863219 | 0.849641 | 0.829673 | 0.814796 | 0.810403 | 0 | 0.023155 | 0.256854 | 17,434 | 416 | 114 | 41.908654 | 0.749923 | 0.217908 | 0 | 0.683983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021645 | 1 | 0.155844 | false | 0 | 0.017316 | 0 | 0.329004 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d99a7312ae1e219f6c94e7d842340e0e502b902 | 30 | py | Python | test/login.py | schwert0501/manager | 1e2f5d1e73cd34c28bb70366ee15e254ccf2d2a7 | [
"MIT"
] | null | null | null | test/login.py | schwert0501/manager | 1e2f5d1e73cd34c28bb70366ee15e254ccf2d2a7 | [
"MIT"
] | null | null | null | test/login.py | schwert0501/manager | 1e2f5d1e73cd34c28bb70366ee15e254ccf2d2a7 | [
"MIT"
] | null | null | null | a = 10
b = 20
c = 300000
| 3.333333 | 10 | 0.433333 | 6 | 30 | 2.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0.466667 | 30 | 8 | 11 | 3.75 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d52aace3638073485f08f9cdb66b6bf2bd3f884f | 178 | py | Python | students/K33401/Nikitin_michael/lab2/lab2/tours/admin.py | mexannik1998/ITMO_ICT_WebDevelopment_2021-2022 | 0894edd7d49a73abba31f72266fdeb35fc3f6367 | [
"MIT"
] | null | null | null | students/K33401/Nikitin_michael/lab2/lab2/tours/admin.py | mexannik1998/ITMO_ICT_WebDevelopment_2021-2022 | 0894edd7d49a73abba31f72266fdeb35fc3f6367 | [
"MIT"
] | null | null | null | students/K33401/Nikitin_michael/lab2/lab2/tours/admin.py | mexannik1998/ITMO_ICT_WebDevelopment_2021-2022 | 0894edd7d49a73abba31f72266fdeb35fc3f6367 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(User)
admin.site.register(Tour)
admin.site.register(UsersComments)
admin.site.register(Booked) | 22.25 | 35 | 0.780899 | 24 | 178 | 5.791667 | 0.5 | 0.258993 | 0.489209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 178 | 8 | 36 | 22.25 | 0.879747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d54b99a826de04b44bc3ff168d6a7f749cd546cb | 29 | py | Python | simulation/common/flex_lab/__init__.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 2 | 2019-01-05T02:33:38.000Z | 2020-04-22T16:57:50.000Z | simulation/common/flex_lab/__init__.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 3 | 2019-04-17T18:13:08.000Z | 2021-04-23T22:40:23.000Z | simulation/common/flex_lab/__init__.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-01-31T08:37:44.000Z | 2019-01-31T08:37:44.000Z | from flex_lab import FlexLab
| 14.5 | 28 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d567a995fca8ac4cfdeec9be20c4e4200c181574 | 35 | py | Python | ads/exercises/string_manipulation/__init__.py | Aminul-Momin/Algorithms_and_Data_Structures | cba73b36b73ad92fb34bc34a0e03503f7a137713 | [
"MIT"
] | null | null | null | ads/exercises/string_manipulation/__init__.py | Aminul-Momin/Algorithms_and_Data_Structures | cba73b36b73ad92fb34bc34a0e03503f7a137713 | [
"MIT"
] | null | null | null | ads/exercises/string_manipulation/__init__.py | Aminul-Momin/Algorithms_and_Data_Structures | cba73b36b73ad92fb34bc34a0e03503f7a137713 | [
"MIT"
] | null | null | null | from .interconvert_str_int import * | 35 | 35 | 0.857143 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d581e8f8aab5e7037e51e82b9b46ec188c113c46 | 188 | py | Python | sentence_transformers/datasets/__init__.py | azdaly/sentence-transformers | d365d14e6eb3a79b7589c6404020833d5bda7322 | [
"Apache-2.0"
] | 16 | 2020-12-22T07:35:20.000Z | 2022-02-09T19:49:02.000Z | sentence_transformers/datasets/__init__.py | azdaly/sentence-transformers | d365d14e6eb3a79b7589c6404020833d5bda7322 | [
"Apache-2.0"
] | 1 | 2021-12-21T14:33:15.000Z | 2021-12-27T20:40:39.000Z | sentence_transformers/datasets/__init__.py | azdaly/sentence-transformers | d365d14e6eb3a79b7589c6404020833d5bda7322 | [
"Apache-2.0"
] | 3 | 2020-09-28T09:25:04.000Z | 2021-06-23T19:16:53.000Z | from .sampler import *
from .ParallelSentencesDataset import ParallelSentencesDataset
from .SentenceLabelDataset import SentenceLabelDataset
from .SentencesDataset import SentencesDataset
| 37.6 | 62 | 0.888298 | 15 | 188 | 11.133333 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 188 | 4 | 63 | 47 | 0.97093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d5afe3a3ac807cc4d2f0da0f3d889267787923ef | 38,413 | py | Python | qradar4py/endpoints/system.py | ryukisec/qradar4py | 958cdea92709778916f0ff8d84d75b18aaad4a66 | [
"MIT"
] | 10 | 2019-11-19T21:13:32.000Z | 2021-11-17T19:35:53.000Z | qradar4py/endpoints/system.py | ryukisec/qradar4py | 958cdea92709778916f0ff8d84d75b18aaad4a66 | [
"MIT"
] | 2 | 2021-05-21T16:15:16.000Z | 2021-07-20T12:34:49.000Z | qradar4py/endpoints/system.py | ryukisec/qradar4py | 958cdea92709778916f0ff8d84d75b18aaad4a66 | [
"MIT"
] | 6 | 2020-09-14T13:44:55.000Z | 2021-11-17T19:35:55.000Z | from urllib.parse import urljoin
from qradar4py.endpoints.api_endpoint import QRadarAPIEndpoint
from qradar4py.endpoints.api_endpoint import request_vars
from qradar4py.endpoints.api_endpoint import header_vars
class System(QRadarAPIEndpoint):
"""
The QRadar API endpoint group /system and its endpoints.
... | 50.477004 | 148 | 0.640486 | 4,311 | 38,413 | 5.430063 | 0.047553 | 0.094323 | 0.067794 | 0.079585 | 0.896322 | 0.870135 | 0.831304 | 0.790978 | 0.769405 | 0.737152 | 0 | 0.000102 | 0.234973 | 38,413 | 760 | 149 | 50.543421 | 0.796475 | 0.165178 | 0 | 0.592992 | 0 | 0 | 0.16109 | 0.056454 | 0 | 0 | 0 | 0 | 0 | 1 | 0.188679 | false | 0.021563 | 0.010782 | 0 | 0.390836 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
639571f1b321312e941cb005a13270910e527b69 | 2,247 | py | Python | frontend/extras/migration/versions/430a70c8aa21_version_1_2_1.py | krisshol/bach-kmno | f40d85b3397bb340e26a671c54d4a753dbbb0d43 | [
"Apache-2.0"
] | 248 | 2015-01-08T09:36:44.000Z | 2022-01-12T10:29:21.000Z | frontend/extras/migration/versions/430a70c8aa21_version_1_2_1.py | krisshol/bach-kmno | f40d85b3397bb340e26a671c54d4a753dbbb0d43 | [
"Apache-2.0"
] | 50 | 2015-01-09T08:31:57.000Z | 2022-03-30T10:41:13.000Z | frontend/extras/migration/versions/430a70c8aa21_version_1_2_1.py | krisshol/bach-kmno | f40d85b3397bb340e26a671c54d4a753dbbb0d43 | [
"Apache-2.0"
] | 74 | 2015-01-05T09:11:21.000Z | 2022-03-29T02:16:54.000Z | """version 1.2.1
Revision ID: 430a70c8aa21
Revises: 2cc69d5c53eb
Create Date: 2015-07-06 16:34:44.422586
"""
# revision identifiers, used by Alembic.
revision = '430a70c8aa21'
down_revision = '2cc69d5c53eb'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgrade():
op... | 34.569231 | 62 | 0.543836 | 210 | 2,247 | 5.566667 | 0.261905 | 0.133447 | 0.066724 | 0.087254 | 0.788708 | 0.788708 | 0.788708 | 0.788708 | 0.788708 | 0.788708 | 0 | 0.040397 | 0.372052 | 2,247 | 64 | 63 | 35.109375 | 0.788094 | 0.063195 | 0 | 0.84 | 0 | 0 | 0.088698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.04 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63a0d67f1a458d889b69a9cef79f825fb47cc08e | 44 | py | Python | coffin/contrib/auth/middleware.py | spothero/coffin | 9ea6a9173cbfed592c5b4776c489dba8d9280d52 | [
"BSD-3-Clause"
] | 1 | 2016-11-19T06:32:20.000Z | 2016-11-19T06:32:20.000Z | coffin/contrib/auth/middleware.py | spothero/coffin | 9ea6a9173cbfed592c5b4776c489dba8d9280d52 | [
"BSD-3-Clause"
] | null | null | null | coffin/contrib/auth/middleware.py | spothero/coffin | 9ea6a9173cbfed592c5b4776c489dba8d9280d52 | [
"BSD-3-Clause"
] | 1 | 2022-03-08T23:12:00.000Z | 2022-03-08T23:12:00.000Z | from django.contrib.auth.middleware import * | 44 | 44 | 0.840909 | 6 | 44 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
894b7547cbf5ac37620d6e1b421a073c16c53c44 | 20 | py | Python | letstest.py | AMARTYA2020/Verify-Service-provider-and-country-code-of-SIM-using-python | d434f7795fefa4509476d1afbce2c6e63ff0c513 | [
"MIT"
] | null | null | null | letstest.py | AMARTYA2020/Verify-Service-provider-and-country-code-of-SIM-using-python | d434f7795fefa4509476d1afbce2c6e63ff0c513 | [
"MIT"
] | null | null | null | letstest.py | AMARTYA2020/Verify-Service-provider-and-country-code-of-SIM-using-python | d434f7795fefa4509476d1afbce2c6e63ff0c513 | [
"MIT"
] | null | null | null | no = "+917481866756" | 20 | 20 | 0.7 | 2 | 20 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.1 | 20 | 1 | 20 | 20 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89bdcbe5abf1ac15ca682d966cc2aa392c592396 | 93 | py | Python | week3/merge_sort.py | ravichalla/wallbreaker | 0d587f12c60df5e4bca47f9183484a69d284d1f5 | [
"MIT"
] | null | null | null | week3/merge_sort.py | ravichalla/wallbreaker | 0d587f12c60df5e4bca47f9183484a69d284d1f5 | [
"MIT"
] | null | null | null | week3/merge_sort.py | ravichalla/wallbreaker | 0d587f12c60df5e4bca47f9183484a69d284d1f5 | [
"MIT"
] | null | null | null |
def mergeSort(lst):
pass
print(mergeSort([2,3,4,5,15,19,26,27,36,38,44,46,47,48,50] )) | 15.5 | 61 | 0.634409 | 21 | 93 | 2.809524 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.317073 | 0.11828 | 93 | 6 | 61 | 15.5 | 0.402439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
982388985bc501fa6da69aaca11839047a391bf1 | 65 | py | Python | NTMY-code/panel/logic/__init__.py | AndreaCossio/PoliTo-Projects | f89c8ce1e04d54e38a1309a01c7e3a9aa67d5a81 | [
"MIT"
] | null | null | null | NTMY-code/panel/logic/__init__.py | AndreaCossio/PoliTo-Projects | f89c8ce1e04d54e38a1309a01c7e3a9aa67d5a81 | [
"MIT"
] | null | null | null | NTMY-code/panel/logic/__init__.py | AndreaCossio/PoliTo-Projects | f89c8ce1e04d54e38a1309a01c7e3a9aa67d5a81 | [
"MIT"
] | 1 | 2022-02-19T11:26:30.000Z | 2022-02-19T11:26:30.000Z | from . import exceptions
from . import graph
from . import route
| 16.25 | 24 | 0.769231 | 9 | 65 | 5.555556 | 0.555556 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 25 | 21.666667 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
98326c45e7401affd51e2528c345c51f615b4e01 | 736 | py | Python | tests/test_MCPlayerQ.py | maburto00/ndsgo | 9cd27adcdf937cdf9863c158e039ad131d6b24eb | [
"MIT"
] | 1 | 2018-02-20T15:51:05.000Z | 2018-02-20T15:51:05.000Z | tests/test_MCPlayerQ.py | maburto00/ndsgo | 9cd27adcdf937cdf9863c158e039ad131d6b24eb | [
"MIT"
] | 2 | 2020-02-11T13:11:08.000Z | 2020-02-12T16:59:11.000Z | tests/test_MCPlayerQ.py | maburto00/ndsgo | 9cd27adcdf937cdf9863c158e039ad131d6b24eb | [
"MIT"
] | null | null | null | from unittest import TestCase
class TestMCPlayerQ(TestCase):
def test_copy(self):
pass
# def test_new_game(self):
# self.fail()
#
# def test_save_Q(self):
# self.fail()
#
# def test_load_Q(self):
# self.fail()
#
#... | 21.647059 | 40 | 0.447011 | 74 | 736 | 4.189189 | 0.337838 | 0.225806 | 0.348387 | 0.387097 | 0.5 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0.436141 | 736 | 33 | 41 | 22.30303 | 0.746988 | 0.506793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
984f8ea6d5d4ca903e86d0ebd154005b9e5d0b28 | 114 | py | Python | src/test/resources/cases/ModulesWithNoFuncs/dunder_and_testable.py | AlexTereshenkov/pybutler | 3712e116d9b33fb8ad52b8f00fd41136f1266090 | [
"MIT"
] | null | null | null | src/test/resources/cases/ModulesWithNoFuncs/dunder_and_testable.py | AlexTereshenkov/pybutler | 3712e116d9b33fb8ad52b8f00fd41136f1266090 | [
"MIT"
] | null | null | null | src/test/resources/cases/ModulesWithNoFuncs/dunder_and_testable.py | AlexTereshenkov/pybutler | 3712e116d9b33fb8ad52b8f00fd41136f1266090 | [
"MIT"
] | null | null | null | def __somefunc__():
return 42
def not_dunder_func(arg1, arg2):
"""Docstring of function1"""
return 42 | 19 | 32 | 0.675439 | 15 | 114 | 4.733333 | 0.8 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 0.210526 | 114 | 6 | 33 | 19 | 0.711111 | 0.192982 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
985d0fad013a881e0b4d202362ee110159b7a3e1 | 6,292 | py | Python | test/test_authorization.py | periodo/periodo-server | 7cd0250cbc6260cdc6f66aa8d95b316d9eaaf9ac | [
"CC0-1.0"
] | 9 | 2015-05-07T07:40:16.000Z | 2020-01-13T15:53:01.000Z | test/test_authorization.py | periodo/periodo-server | 7cd0250cbc6260cdc6f66aa8d95b316d9eaaf9ac | [
"CC0-1.0"
] | 118 | 2015-01-27T21:14:49.000Z | 2022-03-18T07:06:14.000Z | test/test_authorization.py | periodo/periodo-server | 7cd0250cbc6260cdc6f66aa8d95b316d9eaaf9ac | [
"CC0-1.0"
] | 1 | 2015-11-09T10:31:16.000Z | 2015-11-09T10:31:16.000Z | import httpx
import json
import pytest
from urllib.parse import urlparse
from periodo import app, database
def test_unauthorized_user(unauthorized_user):
with app.app_context():
row = database.query_db_for_one(
"SELECT permissions FROM user WHERE id = ?", (unauthorized_user.id,)
)
... | 33.115789 | 81 | 0.66227 | 819 | 6,292 | 4.90232 | 0.148962 | 0.033624 | 0.029888 | 0.035866 | 0.835866 | 0.820922 | 0.789539 | 0.752927 | 0.710834 | 0.710834 | 0 | 0.007766 | 0.201844 | 6,292 | 189 | 82 | 33.291005 | 0.791716 | 0.059282 | 0 | 0.631944 | 0 | 0.027778 | 0.322269 | 0.125318 | 0 | 0 | 0 | 0 | 0.118056 | 1 | 0.0625 | false | 0 | 0.034722 | 0 | 0.097222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9885afefa49d0b7e238aeedbd7a21ad99aab13e3 | 32 | py | Python | nsedata/__init__.py | Codelif/nsedata | c2e4b2da3bd810c13fe13245d0ba6666cabe2583 | [
"MIT"
] | null | null | null | nsedata/__init__.py | Codelif/nsedata | c2e4b2da3bd810c13fe13245d0ba6666cabe2583 | [
"MIT"
] | 1 | 2021-05-23T15:14:08.000Z | 2021-05-23T15:14:08.000Z | nsedata/__init__.py | Codelif/nsedata | c2e4b2da3bd810c13fe13245d0ba6666cabe2583 | [
"MIT"
] | null | null | null | from nsedata.nsedata import Nse
| 16 | 31 | 0.84375 | 5 | 32 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
989cdd2c85443bed490122ae67c510db2a173357 | 33 | py | Python | utils/__init__.py | clcert/beacon-verifier | 7523756d84c309a01b3606b0602e8d082a47d867 | [
"MIT"
] | 4 | 2018-09-04T17:45:52.000Z | 2020-10-09T22:18:37.000Z | utils/__init__.py | clcert/beacon-verifier | 7523756d84c309a01b3606b0602e8d082a47d867 | [
"MIT"
] | 7 | 2018-07-12T18:32:01.000Z | 2019-04-24T19:50:10.000Z | utils/__init__.py | clcert/beacon-verifier | 7523756d84c309a01b3606b0602e8d082a47d867 | [
"MIT"
] | null | null | null | from utils.crypto.sloth import *
| 16.5 | 32 | 0.787879 | 5 | 33 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f75e7aed7ded78b7d6dde1274708a4ae73bae84 | 13,575 | py | Python | icem/environments/robotics.py | emiliojorge/iCEM | abf8e08e5993eaad2b61d7f56906808de964330a | [
"MIT"
] | 27 | 2020-11-17T17:59:43.000Z | 2022-02-24T16:43:53.000Z | icem/environments/robotics.py | emiliojorge/iCEM | abf8e08e5993eaad2b61d7f56906808de964330a | [
"MIT"
] | 4 | 2021-02-04T04:40:43.000Z | 2021-09-10T13:17:06.000Z | icem/environments/robotics.py | emiliojorge/iCEM | abf8e08e5993eaad2b61d7f56906808de964330a | [
"MIT"
] | 4 | 2021-03-17T16:12:14.000Z | 2022-01-17T15:08:47.000Z | from gym.envs.robotics.fetch.pick_and_place import FetchPickAndPlaceEnv as FetchPickAndPlaceEnv_v1
from gym.envs.robotics.fetch.reach import FetchReachEnv
from gym.envs.robotics.robot_env import RobotEnv
from gym.utils import EzPickle
from .abstract_environments import *
class GymRoboticsGroundTruthSupportEnv(Ground... | 42.958861 | 120 | 0.61768 | 1,717 | 13,575 | 4.624345 | 0.131043 | 0.025567 | 0.022166 | 0.041562 | 0.794836 | 0.772166 | 0.757053 | 0.73728 | 0.73728 | 0.729345 | 0 | 0.014037 | 0.286262 | 13,575 | 315 | 121 | 43.095238 | 0.805449 | 0.066888 | 0 | 0.732456 | 0 | 0 | 0.022616 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 1 | 0.135965 | false | 0 | 0.026316 | 0.026316 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f900805da2f659cef185d62b249994806954cca | 42 | py | Python | Talos_Test/Talos_test/envs/__init__.py | zaceJin/Talos | 209439bb254a6884c9f195e247ec5783404a8f6b | [
"MIT"
] | null | null | null | Talos_Test/Talos_test/envs/__init__.py | zaceJin/Talos | 209439bb254a6884c9f195e247ec5783404a8f6b | [
"MIT"
] | null | null | null | Talos_Test/Talos_test/envs/__init__.py | zaceJin/Talos | 209439bb254a6884c9f195e247ec5783404a8f6b | [
"MIT"
] | null | null | null | from Talos_test.envs.Simple_Env import *
| 14 | 40 | 0.809524 | 7 | 42 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 2 | 41 | 21 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f68fb5118d4c711bc52cec7ebbc22a01e3e5f561 | 220 | py | Python | giscube_search/settings.py | aroiginfraplan/giscube-admin | b7f3131b0186f847f3902df97f982cb288b16a49 | [
"BSD-3-Clause"
] | 5 | 2018-06-07T12:54:35.000Z | 2022-01-14T10:38:38.000Z | giscube_search/settings.py | aroiginfraplan/giscube-admin | b7f3131b0186f847f3902df97f982cb288b16a49 | [
"BSD-3-Clause"
] | 140 | 2018-06-18T10:27:28.000Z | 2022-03-23T09:53:15.000Z | giscube_search/settings.py | aroiginfraplan/giscube-admin | b7f3131b0186f847f3902df97f982cb288b16a49 | [
"BSD-3-Clause"
] | 1 | 2021-04-13T11:20:54.000Z | 2021-04-13T11:20:54.000Z | from django.conf import settings
GISCUBE_SEARCH_DEFAULT_DICTIONARY = getattr(settings, 'GISCUBE_SEARCH_DEFAULT_DICTIONARY', 'english')
GISCUBE_SEARCH_MAX_RESULTS = getattr(settings, 'GISCUBE_SEARCH_MAX_RESULTS', None)
| 36.666667 | 101 | 0.85 | 27 | 220 | 6.481481 | 0.518519 | 0.297143 | 0.36 | 0.32 | 0.434286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 220 | 5 | 102 | 44 | 0.857843 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0.268182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f6eba0f6cca366fdd7f895e1ae24ced5de833d8e | 194 | py | Python | core/admin.py | jordij/menorkayak | b9b1a80230b111c2bd422de88215102a5f944fe6 | [
"MIT"
] | 1 | 2017-04-25T10:17:52.000Z | 2017-04-25T10:17:52.000Z | core/admin.py | jordij/menorkayak | b9b1a80230b111c2bd422de88215102a5f944fe6 | [
"MIT"
] | null | null | null | core/admin.py | jordij/menorkayak | b9b1a80230b111c2bd422de88215102a5f944fe6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from core.models import Day, Picture, Place, Point
admin.site.register(Day)
admin.site.register(Picture)
admin.site.register(Place)
admin.site.register(Point)
| 21.555556 | 50 | 0.804124 | 29 | 194 | 5.37931 | 0.448276 | 0.230769 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087629 | 194 | 8 | 51 | 24.25 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f6fc125ad1488503f5a068a6401c1fc3e112f3da | 29 | py | Python | AC/hunter/__init__.py | imandr/KeRLas | 8c347cbfea982f470372fb7cf8943f4d6bda8a8a | [
"BSD-3-Clause"
] | null | null | null | AC/hunter/__init__.py | imandr/KeRLas | 8c347cbfea982f470372fb7cf8943f4d6bda8a8a | [
"BSD-3-Clause"
] | null | null | null | AC/hunter/__init__.py | imandr/KeRLas | 8c347cbfea982f470372fb7cf8943f4d6bda8a8a | [
"BSD-3-Clause"
] | null | null | null | from .hunter import HunterEnv | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
63dee7ce8586326e8ee39294742cc5bc14cd9a9b | 18,208 | py | Python | figs/plot.py | owensgroup/BGHT | 0bddb60fe15fe50a23e640da1e87ad3906982a40 | [
"Apache-2.0"
] | 8 | 2021-11-15T23:46:37.000Z | 2022-03-24T15:54:20.000Z | figs/plot.py | owensgroup/BGHT | 0bddb60fe15fe50a23e640da1e87ad3906982a40 | [
"Apache-2.0"
] | 2 | 2021-12-09T10:14:44.000Z | 2022-01-26T09:12:52.000Z | figs/plot.py | owensgroup/BGHT | 0bddb60fe15fe50a23e640da1e87ad3906982a40 | [
"Apache-2.0"
] | 2 | 2021-12-01T06:39:54.000Z | 2022-03-05T18:47:29.000Z | import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import sys
import argparse
import scipy.stats
from matplotlib.offsetbox import AnchoredText
def remove_failed_experiments(df):
df = df.applymap(lambda x: float('nan') if x < 0 else x)
return df
def print_summary(label, insert_col, find100... | 42.44289 | 124 | 0.586171 | 2,601 | 18,208 | 3.878893 | 0.080738 | 0.024284 | 0.029141 | 0.04163 | 0.822579 | 0.810388 | 0.791159 | 0.767866 | 0.750223 | 0.711765 | 0 | 0.031468 | 0.237313 | 18,208 | 428 | 125 | 42.542056 | 0.695039 | 0.011259 | 0 | 0.692529 | 0 | 0 | 0.164564 | 0.03657 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020115 | false | 0 | 0.020115 | 0 | 0.043103 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63ed40bbe3b9d11c423a800c85e3139434d80b7b | 11,156 | py | Python | network/openpose/CMUnet_loss.py | H-Liu1997/Pytorch_Pose_Estimation_Framework | 06616b3459ff639f8486e6ea4f93922597788b2a | [
"MIT"
] | 1 | 2019-09-04T11:52:26.000Z | 2019-09-04T11:52:26.000Z | network/openpose/CMUnet_loss.py | HaiyangLiu1997/Pytorch_Pose_Estimation_Framework | 06616b3459ff639f8486e6ea4f93922597788b2a | [
"MIT"
] | null | null | null | network/openpose/CMUnet_loss.py | HaiyangLiu1997/Pytorch_Pose_Estimation_Framework | 06616b3459ff639f8486e6ea4f93922597788b2a | [
"MIT"
] | null | null | null | # ------------------------------------------------------------------------------
# define the CMUnet loss calculation
# Written by Haiyang Liu (haiyangliu1997@gmail.com)
# ------------------------------------------------------------------------------
import torch
import torch.nn as nn
def loss_cli(parser,name):
... | 39.28169 | 175 | 0.610344 | 1,603 | 11,156 | 3.93325 | 0.068621 | 0.079937 | 0.08184 | 0.078668 | 0.860904 | 0.820936 | 0.774148 | 0.747185 | 0.732435 | 0.718319 | 0 | 0.0162 | 0.203209 | 11,156 | 284 | 176 | 39.28169 | 0.693104 | 0.168878 | 0 | 0.676471 | 0 | 0 | 0.073439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111765 | false | 0 | 0.011765 | 0.029412 | 0.229412 | 0.005882 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63f66fd08433472237cfdd758577ddd5133e675f | 4,475 | py | Python | tests/test_history.py | jcaw/traad | 770924d9df89037c9a21f1946096aec35685f73d | [
"MIT"
] | 74 | 2015-01-10T20:02:41.000Z | 2021-09-29T15:05:42.000Z | tests/test_history.py | jcaw/traad | 770924d9df89037c9a21f1946096aec35685f73d | [
"MIT"
] | 37 | 2015-01-06T08:56:43.000Z | 2022-02-18T06:51:32.000Z | tests/test_history.py | jcaw/traad | 770924d9df89037c9a21f1946096aec35685f73d | [
"MIT"
] | 16 | 2015-08-02T13:14:58.000Z | 2022-02-17T00:14:08.000Z | import common
import paths
import pytest
@pytest.fixture
def workspace(activate_package, make_workspace):
activate_package(package='basic', into='main')
workspace = make_workspace('main')
yield workspace
def test_undo_undoes_changes(workspace):
workspace.perform(
workspace.rename(
... | 22.60101 | 63 | 0.585251 | 472 | 4,475 | 5.404661 | 0.112288 | 0.081537 | 0.117601 | 0.145825 | 0.874559 | 0.816151 | 0.785574 | 0.768718 | 0.657389 | 0.657389 | 0 | 0.010483 | 0.296536 | 4,475 | 197 | 64 | 22.715736 | 0.799873 | 0 | 0 | 0.781022 | 0 | 0 | 0.078883 | 0 | 0 | 0 | 0 | 0 | 0.10219 | 1 | 0.094891 | false | 0 | 0.021898 | 0 | 0.116788 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12269e563d225dd844e98da3c2a56c49550c9831 | 51 | py | Python | minerva/engines/web_server.py | vicotrbb/minerva | 628e6c4fda115d2f26d0d3789ae8483053c3960d | [
"MIT"
] | null | null | null | minerva/engines/web_server.py | vicotrbb/minerva | 628e6c4fda115d2f26d0d3789ae8483053c3960d | [
"MIT"
] | null | null | null | minerva/engines/web_server.py | vicotrbb/minerva | 628e6c4fda115d2f26d0d3789ae8483053c3960d | [
"MIT"
] | null | null | null |
class WebServer:
def __init__():
pass
| 10.2 | 19 | 0.568627 | 5 | 51 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 51 | 4 | 20 | 12.75 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
125596d4220d7ab7e24376aff3426f5993f95afb | 42 | py | Python | azure-quantum/azure/quantum/aio/job/__init__.py | Anatoliy-Litvinenko/qdk-python | 74b2638a404717424090023ef49afb3045ea920e | [
"MIT"
] | 53 | 2021-01-21T23:38:09.000Z | 2022-03-29T16:34:42.000Z | azure-quantum/azure/quantum/aio/job/__init__.py | Anatoliy-Litvinenko/qdk-python | 74b2638a404717424090023ef49afb3045ea920e | [
"MIT"
] | 152 | 2021-01-23T07:01:49.000Z | 2022-03-31T19:43:21.000Z | azure-quantum/azure/quantum/aio/job/__init__.py | slowy07/qdk-python | e4ce0c433cc986bc1c746e9a58f3f05733c657e2 | [
"MIT"
] | 47 | 2021-01-30T20:15:46.000Z | 2022-03-25T23:35:28.000Z | from azure.quantum.aio.job.job import Job
| 21 | 41 | 0.809524 | 8 | 42 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c3eb520f184d01e8efa3848267051abb5ee9217e | 43 | py | Python | __main__.py | jupiterbjy/OpenPortScanner | 902a076e0c8538615af9050e2551392a75e89a50 | [
"MIT"
] | 1 | 2021-02-12T16:11:26.000Z | 2021-02-12T16:11:26.000Z | __main__.py | jupiterbjy/OpenPortScanner | 902a076e0c8538615af9050e2551392a75e89a50 | [
"MIT"
] | null | null | null | __main__.py | jupiterbjy/OpenPortScanner | 902a076e0c8538615af9050e2551392a75e89a50 | [
"MIT"
] | null | null | null | # Will default to Trio
import SharedData
| 8.6 | 22 | 0.767442 | 6 | 43 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 43 | 4 | 23 | 10.75 | 0.970588 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c3fed29f9b332a9552eb10967c62615b07b25172 | 73 | py | Python | src/stk/calculators/optimization/__init__.py | fiszczyp/stk | 56e75c493a472d98ccbf3af14cc9ce7f12cbe3d7 | [
"MIT"
] | null | null | null | src/stk/calculators/optimization/__init__.py | fiszczyp/stk | 56e75c493a472d98ccbf3af14cc9ce7f12cbe3d7 | [
"MIT"
] | null | null | null | src/stk/calculators/optimization/__init__.py | fiszczyp/stk | 56e75c493a472d98ccbf3af14cc9ce7f12cbe3d7 | [
"MIT"
] | null | null | null | from .optimizers import *
from .macromodel import *
from .mopac import *
| 18.25 | 25 | 0.753425 | 9 | 73 | 6.111111 | 0.555556 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 3 | 26 | 24.333333 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6139dfdcadb2dea7e819c8edc10dd3ffc01e4fed | 91 | py | Python | automd/__init__.py | cliftbar/auto-api | bcba991da69551fe964fb5b52ab034fc0c1785c3 | [
"MIT"
] | null | null | null | automd/__init__.py | cliftbar/auto-api | bcba991da69551fe964fb5b52ab034fc0c1785c3 | [
"MIT"
] | 25 | 2020-05-03T01:45:55.000Z | 2020-12-17T07:14:56.000Z | automd/__init__.py | cliftbar/auto-api | bcba991da69551fe964fb5b52ab034fc0c1785c3 | [
"MIT"
] | null | null | null | from automd.decorators import override_webargs_flaskparser
override_webargs_flaskparser()
| 22.75 | 58 | 0.901099 | 10 | 91 | 7.8 | 0.7 | 0.384615 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065934 | 91 | 3 | 59 | 30.333333 | 0.917647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
618e1a10038c5ea1fb764f8f744af4c8f26186fb | 96 | py | Python | venv/lib/python3.8/site-packages/crashtest/solution_providers/solution_provider_repository.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/crashtest/solution_providers/solution_provider_repository.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/crashtest/solution_providers/solution_provider_repository.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/bd/4a/27/2fca0aac2f3217d73f128af063cd6541040a12b4079302c3e945c3c277 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
61a95917e5673acf62f3a933766a3ab403e8995e | 321 | py | Python | build/lib/tnetwork/DCD/analytics/__init__.py | Yquetzal/tnetwork | 43fb2f19aeed57a8a9d9af032ee80f1c9f58516d | [
"BSD-2-Clause"
] | 4 | 2019-02-19T07:49:06.000Z | 2020-09-01T16:17:54.000Z | tnetwork/DCD/analytics/__init__.py | Yquetzal/tnetwork | 43fb2f19aeed57a8a9d9af032ee80f1c9f58516d | [
"BSD-2-Clause"
] | 1 | 2019-07-13T16:16:28.000Z | 2019-07-15T09:34:33.000Z | build/lib/tnetwork/DCD/analytics/__init__.py | Yquetzal/tnetwork | 43fb2f19aeed57a8a9d9af032ee80f1c9f58516d | [
"BSD-2-Clause"
] | 3 | 2019-07-13T16:09:20.000Z | 2022-02-08T02:23:46.000Z | #from tnetwork.DCD.analytics.dynamic_community import *
from tnetwork.DCD.analytics.dynamic_partition import *
#analytics_all = ["longitudinal_similarity", "consecutive_sn_similarity", "similarity_at_each_step", "quality_at_each_step", "nb_node_change", "entropy_by_node","SM_N","SM_L","SM_P"]
#__all__ = analytics_al... | 45.857143 | 182 | 0.806854 | 44 | 321 | 5.340909 | 0.590909 | 0.102128 | 0.12766 | 0.204255 | 0.26383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065421 | 321 | 7 | 183 | 45.857143 | 0.783333 | 0.803738 | 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 | 1 | 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 | 6 |
61acc419e8870356b0407a3ac85c6ad5c9782879 | 189 | py | Python | bip_utils/bip/conf/bip49/__init__.py | MIPPLTeam/bip_utils | c66446e7ac3879d2cf6308c5b8eb7f7705292660 | [
"MIT"
] | 149 | 2020-05-15T08:11:43.000Z | 2022-03-29T16:34:42.000Z | bip_utils/bip/conf/bip49/__init__.py | MIPPLTeam/bip_utils | c66446e7ac3879d2cf6308c5b8eb7f7705292660 | [
"MIT"
] | 41 | 2020-04-03T15:57:56.000Z | 2022-03-31T08:25:11.000Z | bip_utils/bip/conf/bip49/__init__.py | MIPPLTeam/bip_utils | c66446e7ac3879d2cf6308c5b8eb7f7705292660 | [
"MIT"
] | 55 | 2020-04-03T17:05:15.000Z | 2022-03-24T12:43:42.000Z | from bip_utils.bip.conf.bip49.bip49_coins import Bip49Coins
from bip_utils.bip.conf.bip49.bip49_conf import Bip49Conf
from bip_utils.bip.conf.bip49.bip49_conf_getter import Bip49ConfGetter
| 47.25 | 70 | 0.873016 | 31 | 189 | 5.096774 | 0.354839 | 0.132911 | 0.227848 | 0.28481 | 0.601266 | 0.601266 | 0.601266 | 0.417722 | 0 | 0 | 0 | 0.101695 | 0.063492 | 189 | 3 | 71 | 63 | 0.79096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
61c2f3bdb110860655d587c684cf7f02848a2e8d | 82 | py | Python | jetway/memberships/messages.py | grow/jetway | e32a6f447922c364d876e694f0303ae75523c7ed | [
"MIT"
] | null | null | null | jetway/memberships/messages.py | grow/jetway | e32a6f447922c364d876e694f0303ae75523c7ed | [
"MIT"
] | 6 | 2015-04-10T00:52:05.000Z | 2015-04-10T03:11:22.000Z | jetway/memberships/messages.py | grow/jetway | e32a6f447922c364d876e694f0303ae75523c7ed | [
"MIT"
] | null | null | null | from protorpc import messages
class MembershipMessage(messages.Message):
pass
| 13.666667 | 42 | 0.817073 | 9 | 82 | 7.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 82 | 5 | 43 | 16.4 | 0.943662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f622e3f3f454b1ff32310ac3d3927a7253377603 | 130 | py | Python | kedro_mlflow/io/models/__init__.py | felipeeeantunes/kedro-mlflow | 6d7023d7b859e4645053db39b2296a7d1ab67073 | [
"Apache-2.0"
] | 97 | 2020-04-18T14:24:57.000Z | 2022-03-19T17:42:43.000Z | kedro_mlflow/io/models/__init__.py | felipeeeantunes/kedro-mlflow | 6d7023d7b859e4645053db39b2296a7d1ab67073 | [
"Apache-2.0"
] | 235 | 2020-04-25T08:15:42.000Z | 2022-03-31T22:07:36.000Z | kedro_mlflow/io/models/__init__.py | felipeeeantunes/kedro-mlflow | 6d7023d7b859e4645053db39b2296a7d1ab67073 | [
"Apache-2.0"
] | 14 | 2020-04-22T14:46:36.000Z | 2022-03-10T07:14:45.000Z | from .mlflow_model_logger_dataset import MlflowModelLoggerDataSet
from .mlflow_model_saver_dataset import MlflowModelSaverDataSet
| 43.333333 | 65 | 0.923077 | 14 | 130 | 8.142857 | 0.642857 | 0.175439 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 130 | 2 | 66 | 65 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f62a1fd299013647c5482569ef25d6dc0ecb21fd | 51 | py | Python | test/pkgman_triggers_test.py | KOLANICH/pkgman_triggers.py | 7a121da345e55603c3024b8facfc7dad1e8817db | [
"Unlicense"
] | null | null | null | test/pkgman_triggers_test.py | KOLANICH/pkgman_triggers.py | 7a121da345e55603c3024b8facfc7dad1e8817db | [
"Unlicense"
] | null | null | null | test/pkgman_triggers_test.py | KOLANICH/pkgman_triggers.py | 7a121da345e55603c3024b8facfc7dad1e8817db | [
"Unlicense"
] | null | null | null |
def test_trigger():
print("test trigger called")
| 12.75 | 29 | 0.72549 | 7 | 51 | 5.142857 | 0.714286 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 3 | 30 | 17 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.38 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f633987ea2d5e16fde0aed4afae267becd24a755 | 136 | py | Python | Chapter04/05_relational_fields/my_library/__init__.py | Sople/Odoo-14-Cookbook-Code | 2813676a3f28c942ecb823fdfddd423ea9ca4f97 | [
"MIT"
] | null | null | null | Chapter04/05_relational_fields/my_library/__init__.py | Sople/Odoo-14-Cookbook-Code | 2813676a3f28c942ecb823fdfddd423ea9ca4f97 | [
"MIT"
] | null | null | null | Chapter04/05_relational_fields/my_library/__init__.py | Sople/Odoo-14-Cookbook-Code | 2813676a3f28c942ecb823fdfddd423ea9ca4f97 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# 数据关联字段,有三种:
# 1.多对一,Many2one
# 2.一对多,one2many
# 3.多对多,many2many
from . import models
from . import controllers | 19.428571 | 25 | 0.683824 | 20 | 136 | 4.65 | 0.9 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060345 | 0.147059 | 136 | 7 | 25 | 19.428571 | 0.741379 | 0.580882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c8ba27b0e69c79f56c487b279124ac3154f4051 | 213 | py | Python | bclearer_boson_1_1_source/b_code/configurations/resource_constants/resources_namespace_constants.py | boro-alpha/bclearer_boson_1_1 | 15207d240fd3144b155922dc5c5d14822023026a | [
"MIT"
] | 1 | 2021-07-20T15:48:58.000Z | 2021-07-20T15:48:58.000Z | bclearer_boson_1_1_source/b_code/configurations/resource_constants/resources_namespace_constants.py | boro-alpha/bclearer_boson_1_1 | 15207d240fd3144b155922dc5c5d14822023026a | [
"MIT"
] | null | null | null | bclearer_boson_1_1_source/b_code/configurations/resource_constants/resources_namespace_constants.py | boro-alpha/bclearer_boson_1_1 | 15207d240fd3144b155922dc5c5d14822023026a | [
"MIT"
] | null | null | null | CONTENT_OPERATIONS_RESOURCES_NAMESPACE = \
'bclearer_boson_1_1_source.resources.content_universes'
ADJUSTMENT_OPERATIONS_RESOURCES_NAMESPACE = \
'bclearer_boson_1_1_source.resources.adjustment_universes'
| 35.5 | 62 | 0.86385 | 24 | 213 | 7 | 0.416667 | 0.22619 | 0.333333 | 0.428571 | 0.690476 | 0.690476 | 0.690476 | 0.690476 | 0.690476 | 0 | 0 | 0.020408 | 0.079812 | 213 | 5 | 63 | 42.6 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0.511737 | 0.511737 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
143707ee29e32d9132daaf92d58a12d1dc0e9560 | 24 | py | Python | ext_resources/__init__.py | Darshan-20310597/RumiGANs | a70d18b7f6f03570f9dae6d3b88f746eb71136d9 | [
"MIT"
] | 26 | 2020-10-31T06:00:22.000Z | 2022-02-13T19:30:49.000Z | ext_resources/__init__.py | Darshan-20310597/RumiGANs | a70d18b7f6f03570f9dae6d3b88f746eb71136d9 | [
"MIT"
] | 3 | 2021-03-01T05:43:03.000Z | 2021-07-10T13:08:18.000Z | ext_resources/__init__.py | DarthSid95/RumiGANs | 9f7876e89caa0d39bd563947ab9c41f4e3745021 | [
"MIT"
] | 5 | 2021-04-12T10:59:20.000Z | 2021-06-04T08:52:51.000Z | from .prd_score import * | 24 | 24 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
149ce8fb5fea4e4dd2be51a9c5c12ce1f45d7b76 | 72,680 | py | Python | fastCloningPrimer.py | tommyfuu/BioFoundry | a641d69cca04a2622636d7b1affea1c138bf1a5d | [
"MIT"
] | 2 | 2020-11-08T09:46:41.000Z | 2020-11-08T09:48:29.000Z | fastCloningPrimer.py | tommyfuu/BioFoundry | a641d69cca04a2622636d7b1affea1c138bf1a5d | [
"MIT"
] | 1 | 2021-04-18T23:46:16.000Z | 2021-04-18T23:46:16.000Z | fastCloningPrimer.py | tommyfuu/BioFoundry | a641d69cca04a2622636d7b1affea1c138bf1a5d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Author : Tom Fu
Date : 2020 Nov 7
FileName : fastCloningPrimer.py (for the BioFoundry Project at the HMC BioMakerspace)
Description : Find primer pairs for fast cloning
"""
import primer3
from Bio import SeqIO
import pandas as pd
import sys
import copy
import math
from Bio.Se... | 100.38674 | 7,342 | 0.852862 | 2,962 | 72,680 | 20.861242 | 0.206955 | 0.002767 | 0.00267 | 0.004272 | 0.167986 | 0.154747 | 0.149342 | 0.141509 | 0.139826 | 0.136654 | 0 | 0.008093 | 0.10066 | 72,680 | 723 | 7,343 | 100.525588 | 0.937244 | 0.075894 | 0 | 0.415385 | 0 | 0.003846 | 0.635265 | 0.610716 | 0 | 1 | 0 | 0.001383 | 0 | 1 | 0.034615 | false | 0 | 0.021154 | 0 | 0.094231 | 0.061538 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.