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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3f3ecef6808c96fdb3c1da71c5c7f99ffaa8290c | 178 | py | Python | profit/sur/gp/__init__.py | krystophny/unsur | 6f1f6faebae640dbbd724db42fb6343f884face6 | [
"MIT"
] | 2 | 2019-09-08T20:52:17.000Z | 2019-11-05T15:36:06.000Z | profit/sur/gp/__init__.py | krystophny/redmod | cfef0aa4f1498615c8ad3c814e939b6ab78abff6 | [
"MIT"
] | 3 | 2019-07-26T08:08:50.000Z | 2019-07-26T09:17:03.000Z | profit/sur/gp/__init__.py | krystophny/redmod | cfef0aa4f1498615c8ad3c814e939b6ab78abff6 | [
"MIT"
] | null | null | null | from .gaussian_process import GaussianProcess
from .gpy_surrogate import GPySurrogate
from .custom_surrogate import GPSurrogate
from .sklearn_surrogate import SklearnGPSurrogate
| 35.6 | 49 | 0.88764 | 20 | 178 | 7.7 | 0.6 | 0.292208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 178 | 4 | 50 | 44.5 | 0.950617 | 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 |
3f5058494a5507508b32b407fa96490f390a0001 | 45 | py | Python | spirl/configs/rl/maze/SAC/conf.py | kouroshHakha/fist | 328c098789239fd892e17edefd799fc1957ab637 | [
"BSD-3-Clause"
] | 8 | 2021-10-14T03:14:23.000Z | 2022-03-15T21:31:17.000Z | spirl/configs/rl/maze/SAC/conf.py | kouroshHakha/fist | 328c098789239fd892e17edefd799fc1957ab637 | [
"BSD-3-Clause"
] | null | null | null | spirl/configs/rl/maze/SAC/conf.py | kouroshHakha/fist | 328c098789239fd892e17edefd799fc1957ab637 | [
"BSD-3-Clause"
] | 1 | 2021-09-13T20:42:28.000Z | 2021-09-13T20:42:28.000Z | from spirl.configs.rl.maze.base_conf import * | 45 | 45 | 0.822222 | 8 | 45 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 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 |
3f506cfdc03e638cbbccb2066a6a7d2789299308 | 218 | py | Python | applications/users/functions.py | diegovasconcelo/FusionAI | 7dbd1c7c0465e742ed1d4a2604244abbfccbea59 | [
"MIT"
] | null | null | null | applications/users/functions.py | diegovasconcelo/FusionAI | 7dbd1c7c0465e742ed1d4a2604244abbfccbea59 | [
"MIT"
] | null | null | null | applications/users/functions.py | diegovasconcelo/FusionAI | 7dbd1c7c0465e742ed1d4a2604244abbfccbea59 | [
"MIT"
] | null | null | null | # Extra functions
import random
import string
# Generate a Code for register
def code_generator(size = 6, chars = string.ascii_uppercase + string.digits):
return ''.join(random.choice(chars) for _ in range(size))
| 27.25 | 77 | 0.752294 | 31 | 218 | 5.193548 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005405 | 0.151376 | 218 | 7 | 78 | 31.142857 | 0.864865 | 0.201835 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
3f531a5c6d8a2bf4146ee2eac9364b1696c84174 | 117 | py | Python | models/cls/__init__.py | luost26/Equivariant-OrientedMP | 597f9c4ace953929e5eefef84e4c840d6636b818 | [
"MIT"
] | 5 | 2022-03-26T07:08:21.000Z | 2022-03-31T12:23:40.000Z | models/cls/__init__.py | luost26/Equivariant-OrientedMP | 597f9c4ace953929e5eefef84e4c840d6636b818 | [
"MIT"
] | null | null | null | models/cls/__init__.py | luost26/Equivariant-OrientedMP | 597f9c4ace953929e5eefef84e4c840d6636b818 | [
"MIT"
] | null | null | null | from ._registry import get_model
from .oriented_dgcnn import OrientedDGCNN
from .oriented_rscnn import OrientedRSCNN
| 29.25 | 41 | 0.871795 | 15 | 117 | 6.533333 | 0.666667 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 3 | 42 | 39 | 0.933333 | 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 |
3f601ccc708ab7ed40ec44841db36dc37573f65b | 325 | py | Python | lpdn/__init__.py | marcoancona/LPDN | 095336227b6c56462a251e11952656c10c3f8bf3 | [
"MIT"
] | 9 | 2019-07-01T06:18:19.000Z | 2022-03-05T06:41:45.000Z | lpdn/__init__.py | marcoancona/LPDN | 095336227b6c56462a251e11952656c10c3f8bf3 | [
"MIT"
] | null | null | null | lpdn/__init__.py | marcoancona/LPDN | 095336227b6c56462a251e11952656c10c3f8bf3 | [
"MIT"
] | 6 | 2019-03-01T14:15:21.000Z | 2020-11-19T20:01:00.000Z | from .utils.conversion import convert_to_lpdn
from .layers.activation import filter_activation
from .layers.pooling import LPMaxPooling2D, LPAveragePooling1D
from .layers.dense import LPDense
from .layers.convolution import LPConv1D, LPConv2D
from .layers.activation import LPActivation
from .layers.reshape import LPFla... | 40.625 | 62 | 0.858462 | 40 | 325 | 6.9 | 0.525 | 0.217391 | 0.144928 | 0.188406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013559 | 0.092308 | 325 | 7 | 63 | 46.428571 | 0.922034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f68f1d780469ba9030cd784d0e5991e108b6d11 | 172 | py | Python | src/iert_news/admin.py | MetricsGroup/IERT-Webapp | 9e43f1775767412898f9340b9cc84196eb4abfdb | [
"MIT"
] | 3 | 2019-04-25T11:19:22.000Z | 2020-05-10T20:41:12.000Z | src/iert_news/admin.py | MetricsGroup/IERT-Webapp | 9e43f1775767412898f9340b9cc84196eb4abfdb | [
"MIT"
] | 5 | 2020-06-17T05:16:27.000Z | 2022-01-13T02:15:56.000Z | src/iert_news/admin.py | MetricsGroup/IERT-Webapp | 9e43f1775767412898f9340b9cc84196eb4abfdb | [
"MIT"
] | 3 | 2020-06-13T10:40:27.000Z | 2021-10-13T15:45:50.000Z | from django.contrib import admin
from .models import new, new_by_viewer, Comment
admin.site.register(new)
admin.site.register(new_by_viewer)
admin.site.register(Comment)
| 21.5 | 47 | 0.819767 | 27 | 172 | 5.074074 | 0.444444 | 0.19708 | 0.372263 | 0.291971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087209 | 172 | 7 | 48 | 24.571429 | 0.872611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
58bd338d9226ad08c33ce98e31ea266aa0ab0cd2 | 132,475 | py | Python | tests/test_core_network.py | tkahng/genet | d5c29ed9e44408b60f55d8de889d7430debc9f04 | [
"MIT"
] | 1 | 2021-03-09T20:21:26.000Z | 2021-03-09T20:21:26.000Z | tests/test_core_network.py | tkahng/genet | d5c29ed9e44408b60f55d8de889d7430debc9f04 | [
"MIT"
] | null | null | null | tests/test_core_network.py | tkahng/genet | d5c29ed9e44408b60f55d8de889d7430debc9f04 | [
"MIT"
] | null | null | null | import ast
import json
import os
import sys
import uuid
import lxml
import networkx as nx
import pandas as pd
import geopandas as gpd
import pytest
from pandas.testing import assert_frame_equal, assert_series_equal
from shapely.geometry import LineString, Polygon, Point
from genet.core import Network
from genet.input... | 51.930615 | 658 | 0.59772 | 17,722 | 132,475 | 4.21431 | 0.042659 | 0.011943 | 0.017031 | 0.028225 | 0.843893 | 0.803953 | 0.769515 | 0.733096 | 0.702956 | 0.679726 | 0 | 0.162318 | 0.206718 | 132,475 | 2,550 | 659 | 51.95098 | 0.548368 | 0.003903 | 0 | 0.488812 | 0 | 0.019393 | 0.235349 | 0.032444 | 0 | 0 | 0 | 0 | 0.207857 | 1 | 0.093486 | false | 0.001989 | 0.009448 | 0.000995 | 0.105917 | 0.000995 | 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 |
58d6bdf4ecdc043c3c302b217aa3fea148e14f87 | 67 | py | Python | general/recording-and-playing-audio/audio_player_playsound.py | caesarcc/python-code-tutorials | aa48ebe695e86440b206b641501ad55d021309bf | [
"MIT"
] | 1,059 | 2019-08-04T17:51:43.000Z | 2022-03-31T10:13:37.000Z | general/recording-and-playing-audio/audio_player_playsound.py | kylearrigoni/pythoncode-tutorials | 6fd30ed854d1ea7573351ddb10c1eaae55ca5717 | [
"MIT"
] | 56 | 2019-12-10T16:46:40.000Z | 2022-03-29T01:36:50.000Z | general/recording-and-playing-audio/audio_player_playsound.py | kylearrigoni/pythoncode-tutorials | 6fd30ed854d1ea7573351ddb10c1eaae55ca5717 | [
"MIT"
] | 1,330 | 2019-08-16T01:36:18.000Z | 2022-03-31T16:57:22.000Z | from playsound import playsound
import sys
playsound(sys.argv[1])
| 13.4 | 31 | 0.80597 | 10 | 67 | 5.4 | 0.6 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.119403 | 67 | 4 | 32 | 16.75 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18ebe438f2f4af3127e6c726a0354d7c7d7a4892 | 82 | py | Python | pybuses/__init__.py | Enforcer/pycommand_bus | 028dee5134ddba7fd6144daee61530f35c1aa151 | [
"MIT"
] | 20 | 2019-01-07T20:36:23.000Z | 2021-11-07T14:02:01.000Z | pybuses/__init__.py | Enforcer/pycommand_bus | 028dee5134ddba7fd6144daee61530f35c1aa151 | [
"MIT"
] | 1 | 2020-02-19T14:44:37.000Z | 2021-04-05T07:07:38.000Z | pybuses/__init__.py | Enforcer/pycommand_bus | 028dee5134ddba7fd6144daee61530f35c1aa151 | [
"MIT"
] | 1 | 2019-03-28T05:38:39.000Z | 2019-03-28T05:38:39.000Z | from pybuses.command_bus import CommandBus
from pybuses.event_bus import EventBus
| 27.333333 | 42 | 0.878049 | 12 | 82 | 5.833333 | 0.666667 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 82 | 2 | 43 | 41 | 0.945946 | 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 |
7a1a37bd32578f2a132cacc4d84d65f5cdb0bdbe | 140 | py | Python | teste.py | dgmolina/AulasDevOps | 7cecc84f9f4b7c173845a01e320f71942617af5a | [
"Apache-2.0"
] | null | null | null | teste.py | dgmolina/AulasDevOps | 7cecc84f9f4b7c173845a01e320f71942617af5a | [
"Apache-2.0"
] | null | null | null | teste.py | dgmolina/AulasDevOps | 7cecc84f9f4b7c173845a01e320f71942617af5a | [
"Apache-2.0"
] | null | null | null | import pytest
from principal import soma
def test_soma():
assert soma(2,4) == 6
assert soma(8, -4) == 4
assert soma(0, 0) == 0
| 17.5 | 27 | 0.614286 | 24 | 140 | 3.541667 | 0.541667 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.25 | 140 | 7 | 28 | 20 | 0.72381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e131324a1bf8591a377041ef59c65f0585a627af | 7,038 | py | Python | gluetool_modules_framework/tests/test_task_dispatcher.py | testing-farm/gluetool-modules | bc3b39ae0d3150d2857b2c4cd5453fe492ea7ed0 | [
"Apache-2.0"
] | null | null | null | gluetool_modules_framework/tests/test_task_dispatcher.py | testing-farm/gluetool-modules | bc3b39ae0d3150d2857b2c4cd5453fe492ea7ed0 | [
"Apache-2.0"
] | null | null | null | gluetool_modules_framework/tests/test_task_dispatcher.py | testing-farm/gluetool-modules | bc3b39ae0d3150d2857b2c4cd5453fe492ea7ed0 | [
"Apache-2.0"
] | null | null | null | # Copyright Contributors to the Testing Farm project.
# SPDX-License-Identifier: Apache-2.0
import pytest
import gluetool
from mock import MagicMock
from gluetool_modules_framework.dispatchers.task_dispatcher import TaskDispatcher
from . import create_module, patch_shared, check_loadable
@pytest.fixture(name='module... | 31.846154 | 110 | 0.720801 | 837 | 7,038 | 5.681004 | 0.101553 | 0.064353 | 0.082019 | 0.058044 | 0.823975 | 0.818297 | 0.790326 | 0.781703 | 0.781703 | 0.781703 | 0 | 0.004772 | 0.166383 | 7,038 | 220 | 111 | 31.990909 | 0.805693 | 0.012361 | 0 | 0.635802 | 0 | 0.012346 | 0.280512 | 0.1635 | 0 | 0 | 0 | 0 | 0.067901 | 1 | 0.061728 | false | 0 | 0.030864 | 0 | 0.104938 | 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 |
e13212339a1ed1a49367afa90808b666b7f4d079 | 79 | py | Python | py_tdlib/constructors/passport_element_type_utility_bill.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/passport_element_type_utility_bill.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/passport_element_type_utility_bill.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class passportElementTypeUtilityBill(Type):
pass
| 13.166667 | 43 | 0.810127 | 8 | 79 | 8 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 79 | 5 | 44 | 15.8 | 0.927536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.666667 | 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 |
e178172c3f323b7b59e0629cc16aae297e09744f | 6,880 | py | Python | MLlib/optimizers.py | TarunTomar122/ML-DL-implementation | b784e0ec9d48b119afbc30e9719fbd260a777c2c | [
"BSD-3-Clause"
] | null | null | null | MLlib/optimizers.py | TarunTomar122/ML-DL-implementation | b784e0ec9d48b119afbc30e9719fbd260a777c2c | [
"BSD-3-Clause"
] | null | null | null | MLlib/optimizers.py | TarunTomar122/ML-DL-implementation | b784e0ec9d48b119afbc30e9719fbd260a777c2c | [
"BSD-3-Clause"
] | null | null | null | from MLlib.loss_func import MeanSquaredError
import numpy as np
import random
class GradientDescent():
'''
A classic gradient descent implementation.
W = W - a * dm
a - learning rate
dm - derivative of loss function wrt x (parameter)
W - Weights
'''
def __init__(self, learning_rate=... | 24.397163 | 74 | 0.563372 | 899 | 6,880 | 4.163515 | 0.092325 | 0.086562 | 0.102592 | 0.069463 | 0.781993 | 0.761688 | 0.761688 | 0.761688 | 0.753139 | 0.753139 | 0 | 0.025741 | 0.328052 | 6,880 | 281 | 75 | 24.483986 | 0.783907 | 0.076453 | 0 | 0.779006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088398 | false | 0.022099 | 0.016575 | 0.005525 | 0.21547 | 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 |
bee71bb90a3f682e753966bfd2380b4ae78b3aad | 44 | py | Python | petpy/__init__.py | tcove/petpy | 877468c21846e07299a68ee497318ae413aea8bd | [
"Apache-2.0"
] | null | null | null | petpy/__init__.py | tcove/petpy | 877468c21846e07299a68ee497318ae413aea8bd | [
"Apache-2.0"
] | null | null | null | petpy/__init__.py | tcove/petpy | 877468c21846e07299a68ee497318ae413aea8bd | [
"Apache-2.0"
] | null | null | null | from .petpy import *
from .process import *
| 14.666667 | 22 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 23 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83124f0fa4e37533f6e51891dd22e10d54b029a5 | 107,829 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv4_io_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv4_io_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv4_io_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 51.371606 | 245 | 0.507183 | 10,253 | 107,829 | 5.140057 | 0.028577 | 0.086678 | 0.108347 | 0.121668 | 0.933246 | 0.927762 | 0.920514 | 0.887194 | 0.840914 | 0.753325 | 0 | 0.03463 | 0.341754 | 107,829 | 2,098 | 246 | 51.396092 | 0.707867 | 0 | 0 | 0.587336 | 0 | 0.007642 | 0.438887 | 0.341016 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004367 | 0 | 0.004367 | 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 |
55e753f8e0f4bb4aff646764629d278ef0169d19 | 5,508 | py | Python | test/encoders/test_conv_encoder.py | lijianhackthon/neural_sp | fcb23e20850bdef4564105a46c15f6b4bd287151 | [
"Apache-2.0"
] | 2 | 2021-01-25T02:55:09.000Z | 2021-02-05T03:47:05.000Z | test/encoders/test_conv_encoder.py | lijianhackthon/neural_sp | fcb23e20850bdef4564105a46c15f6b4bd287151 | [
"Apache-2.0"
] | null | null | null | test/encoders/test_conv_encoder.py | lijianhackthon/neural_sp | fcb23e20850bdef4564105a46c15f6b4bd287151 | [
"Apache-2.0"
] | 1 | 2021-02-28T05:59:29.000Z | 2021-02-28T05:59:29.000Z | #! /usr/bin/env python3
# -*- coding: utf-8 -*-
"""Test for CNN encoder."""
import importlib
import numpy as np
import pytest
import torch
from neural_sp.models.torch_utils import np2tensor
from neural_sp.models.torch_utils import pad_list
def make_args_2d(**kwargs):
args = dict(
input_dim=80,
... | 33.585366 | 96 | 0.535948 | 776 | 5,508 | 3.534794 | 0.135309 | 0.054685 | 0.057966 | 0.049581 | 0.916879 | 0.915786 | 0.899016 | 0.845425 | 0.845425 | 0.835581 | 0 | 0.098219 | 0.245824 | 5,508 | 163 | 97 | 33.791411 | 0.562109 | 0.097858 | 0 | 0.598425 | 0 | 0 | 0.259903 | 0.01536 | 0 | 0 | 0 | 0 | 0.047244 | 1 | 0.031496 | false | 0 | 0.062992 | 0 | 0.110236 | 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 |
55f4bd731f2bf2a2818c43ec0adc11f9dc91e68a | 41 | py | Python | mobo/optimizer/__init__.py | MasashiSode/MOBO | 8083d482ce5bff3ede82daca63de818e4be825b0 | [
"MIT"
] | 30 | 2019-03-21T01:53:29.000Z | 2022-02-26T12:37:26.000Z | mobo/optimizer/__init__.py | MasashiSode/MOGP | 8083d482ce5bff3ede82daca63de818e4be825b0 | [
"MIT"
] | null | null | null | mobo/optimizer/__init__.py | MasashiSode/MOGP | 8083d482ce5bff3ede82daca63de818e4be825b0 | [
"MIT"
] | 7 | 2020-06-03T01:05:04.000Z | 2022-03-08T11:48:14.000Z | from .multi_objective_optimizer import *
| 20.5 | 40 | 0.853659 | 5 | 41 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.891892 | 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 |
55f5de91eee149b9096b61f4b358953e57c3319e | 113 | py | Python | biopymlff/test/lipid.py | saandre15/biopymlff | ec90370a8c03c51426bd24477034c9413bdcdb04 | [
"MIT"
] | null | null | null | biopymlff/test/lipid.py | saandre15/biopymlff | ec90370a8c03c51426bd24477034c9413bdcdb04 | [
"MIT"
] | null | null | null | biopymlff/test/lipid.py | saandre15/biopymlff | ec90370a8c03c51426bd24477034c9413bdcdb04 | [
"MIT"
] | null | null | null | from ..test.general import General_Test
class Lipid_Test(General_Test):
def test_01(self):
pass | 18.833333 | 39 | 0.690265 | 16 | 113 | 4.625 | 0.625 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.230089 | 113 | 6 | 40 | 18.833333 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
3678524c8de510d8676888257fe76437a3894054 | 26 | py | Python | hello.py | zuiop13/github-action-with-python | b302b2384bc2d0cc14ec0163aac3a8d110aeb3dd | [
"MIT"
] | null | null | null | hello.py | zuiop13/github-action-with-python | b302b2384bc2d0cc14ec0163aac3a8d110aeb3dd | [
"MIT"
] | 41 | 2021-09-06T01:11:50.000Z | 2021-11-05T01:07:00.000Z | hello.py | zuiop13/github-action-with-python | b302b2384bc2d0cc14ec0163aac3a8d110aeb3dd | [
"MIT"
] | null | null | null | print("Hello, World! 06")
| 13 | 25 | 0.653846 | 4 | 26 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.115385 | 26 | 1 | 26 | 26 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 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 |
36a5369d29d21953e625e8efb53db2a70da51372 | 93 | py | Python | tasks.py | fossabot/prjct | 1e3f07bd2827f0bd3e63dad0d1a5fd831026c370 | [
"MIT"
] | null | null | null | tasks.py | fossabot/prjct | 1e3f07bd2827f0bd3e63dad0d1a5fd831026c370 | [
"MIT"
] | null | null | null | tasks.py | fossabot/prjct | 1e3f07bd2827f0bd3e63dad0d1a5fd831026c370 | [
"MIT"
] | null | null | null | import invoke
#import minchin.releaser
from minchin.releaser import make_release, vendorize
| 18.6 | 52 | 0.849462 | 12 | 93 | 6.5 | 0.666667 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 93 | 4 | 53 | 23.25 | 0.939759 | 0.247312 | 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 |
36b12b8dc07e23afe97ee210f293420753d386f9 | 144 | py | Python | info/modules/index/__init__.py | Ljc-xiaohu/information16 | 537ac399849b5ebee3b38f7f040dfa0541eac876 | [
"MIT"
] | null | null | null | info/modules/index/__init__.py | Ljc-xiaohu/information16 | 537ac399849b5ebee3b38f7f040dfa0541eac876 | [
"MIT"
] | null | null | null | info/modules/index/__init__.py | Ljc-xiaohu/information16 | 537ac399849b5ebee3b38f7f040dfa0541eac876 | [
"MIT"
] | 1 | 2020-09-26T15:03:20.000Z | 2020-09-26T15:03:20.000Z | from flask import Blueprint
#创建蓝图对象
index_blu = Blueprint("index",__name__)
#装饰视图函数
# from info.modules.index import views
from . import views | 18 | 39 | 0.784722 | 20 | 144 | 5.4 | 0.6 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 144 | 8 | 40 | 18 | 0.864 | 0.340278 | 0 | 0 | 0 | 0 | 0.053763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
36d08a53d1e9e6ba22336fd01a45c770571cd0fe | 7,896 | py | Python | rero/Modules/weeb.py | voqz/rerobot | dd4617980ab4bd36fd1e29a019f37e31c8d43382 | [
"Apache-2.0"
] | 6 | 2017-05-18T16:17:30.000Z | 2018-11-30T01:33:23.000Z | rero/Modules/weeb.py | kokhouse/rerobot | dd4617980ab4bd36fd1e29a019f37e31c8d43382 | [
"Apache-2.0"
] | 1 | 2017-05-19T04:02:30.000Z | 2017-05-20T12:52:29.000Z | rero/Modules/weeb.py | kokhouse/rerobot | dd4617980ab4bd36fd1e29a019f37e31c8d43382 | [
"Apache-2.0"
] | 1 | 2018-04-19T20:14:29.000Z | 2018-04-19T20:14:29.000Z | # coding=utf-8
"""
Copyright 2017 Luxory (@LXYcs)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | 48.441718 | 112 | 0.455674 | 755 | 7,896 | 4.696689 | 0.222517 | 0.025381 | 0.047377 | 0.06317 | 0.750705 | 0.750705 | 0.734913 | 0.734913 | 0.720812 | 0.683023 | 0 | 0.012597 | 0.426925 | 7,896 | 162 | 113 | 48.740741 | 0.769724 | 0.076621 | 0 | 0.806452 | 0 | 0 | 0.124577 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008065 | false | 0.032258 | 0.032258 | 0 | 0.064516 | 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 |
7fc7e32632a748621844d88b1083c862fc1c4441 | 46 | py | Python | hypothesis/stat/__init__.py | boyali/hypothesis-sre | f44d25eb281d49663d49d134ee73ad542849714b | [
"BSD-3-Clause"
] | null | null | null | hypothesis/stat/__init__.py | boyali/hypothesis-sre | f44d25eb281d49663d49d134ee73ad542849714b | [
"BSD-3-Clause"
] | null | null | null | hypothesis/stat/__init__.py | boyali/hypothesis-sre | f44d25eb281d49663d49d134ee73ad542849714b | [
"BSD-3-Clause"
] | null | null | null | from .constraint import highest_density_level
| 23 | 45 | 0.891304 | 6 | 46 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7fc98a236f1032e11be3631f893fa5f65c1c67ed | 55,524 | py | Python | pygpw_tris.py | russelldavies/mush | b6fa5d2ba8dc4cacbc2ab2d4e1b8da878d871245 | [
"Zlib"
] | null | null | null | pygpw_tris.py | russelldavies/mush | b6fa5d2ba8dc4cacbc2ab2d4e1b8da878d871245 | [
"Zlib"
] | null | null | null | pygpw_tris.py | russelldavies/mush | b6fa5d2ba8dc4cacbc2ab2d4e1b8da878d871245 | [
"Zlib"
] | 1 | 2020-07-27T21:54:11.000Z | 2020-07-27T21:54:11.000Z | # 3D array of character trigraph probability in English
tris = [
[
[2,0,3,0,0,0,1,0,0,0,0,1,1,1,0,0,0,3,2,0,0,0,0,0,0,0], # A A
[37,25,2,5,38,0,0,2,46,1,0,304,0,2,49,0,0,24,24,0,19,0,0,0,14,0], # A B
[26,1,64,2,107,0,1,94,67,0,173,13,5,1,35,1,13,32,3,114,23,0... | 75.748977 | 108 | 0.389309 | 18,939 | 55,524 | 1.141349 | 0.014256 | 0.832717 | 1.005644 | 1.105662 | 0.643088 | 0.58267 | 0.536871 | 0.498103 | 0.470577 | 0.43403 | 0 | 0.489262 | 0.256123 | 55,524 | 732 | 109 | 75.852459 | 0.03409 | 0.049798 | 0 | 0.265753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ff3463684b967493f8e719e3cdc3085f13e9f42 | 3,293 | py | Python | tests/test_secondstate.py | fruiti-ltd/secondstate | 81fe6916b92c7024372a95f0eb9d50f6275dfc69 | [
"BSD-3-Clause"
] | 1 | 2021-05-28T23:02:08.000Z | 2021-05-28T23:02:08.000Z | tests/test_secondstate.py | fruiti-ltd/secondstate | 81fe6916b92c7024372a95f0eb9d50f6275dfc69 | [
"BSD-3-Clause"
] | null | null | null | tests/test_secondstate.py | fruiti-ltd/secondstate | 81fe6916b92c7024372a95f0eb9d50f6275dfc69 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from .fixtures import *
pytestmark = [pytest.mark.monitor_skip_test]
def test_init_state(initial_state_one_week):
expected_result = 604800
assert len(initial_state_one_week.get_state()) == expected_result
def test_set(initial_state_one_week, availability_one_hour):
assert availability_o... | 33.602041 | 87 | 0.655937 | 522 | 3,293 | 3.921456 | 0.149425 | 0.170005 | 0.207132 | 0.215926 | 0.764045 | 0.715681 | 0.711285 | 0.621397 | 0.597948 | 0.372252 | 0 | 0.322943 | 0.162162 | 3,293 | 97 | 88 | 33.948454 | 0.418992 | 0 | 0 | 0.185714 | 0 | 0 | 0.347404 | 0.012754 | 0 | 0 | 0 | 0 | 0.128571 | 1 | 0.128571 | false | 0 | 0.028571 | 0 | 0.157143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d1279d9077aef16c67b5016f7d657ceeeb73273 | 31 | py | Python | wrappers/__init__.py | mindpowered/reserved-seating-python | 43500525683d4e7a706fdf6f412398569e2363b4 | [
"MIT"
] | null | null | null | wrappers/__init__.py | mindpowered/reserved-seating-python | 43500525683d4e7a706fdf6f412398569e2363b4 | [
"MIT"
] | null | null | null | wrappers/__init__.py | mindpowered/reserved-seating-python | 43500525683d4e7a706fdf6f412398569e2363b4 | [
"MIT"
] | null | null | null | from .ReservedSeating import *
| 15.5 | 30 | 0.806452 | 3 | 31 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 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 |
3d4a5c0ed171038ce2bab6c87cd1396060f569e4 | 142 | py | Python | rabbitmq/lab-5/celery-integration/simple_tasks.py | mithun008/amazonmq-rabbitmq-workshop | 3e40a85f75dd4ad6c5947e6fd850aae52d8c926c | [
"Apache-2.0"
] | null | null | null | rabbitmq/lab-5/celery-integration/simple_tasks.py | mithun008/amazonmq-rabbitmq-workshop | 3e40a85f75dd4ad6c5947e6fd850aae52d8c926c | [
"Apache-2.0"
] | null | null | null | rabbitmq/lab-5/celery-integration/simple_tasks.py | mithun008/amazonmq-rabbitmq-workshop | 3e40a85f75dd4ad6c5947e6fd850aae52d8c926c | [
"Apache-2.0"
] | 2 | 2021-08-11T16:38:32.000Z | 2021-09-03T11:03:52.000Z | from base_app import get_base_celery_app
app = get_base_celery_app(module_name="simple_tasks")
@app.task()
def add(x, y):
return x + y
| 15.777778 | 53 | 0.739437 | 26 | 142 | 3.692308 | 0.615385 | 0.145833 | 0.270833 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 142 | 8 | 54 | 17.75 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3d597e2d410aa1c44545972761f393acc69fd4a3 | 38 | py | Python | ut/tests/indirect.py | muhammad-ammar/alpha | 68e6f2ba695d65b904948297c27c327e939e848e | [
"MIT"
] | null | null | null | ut/tests/indirect.py | muhammad-ammar/alpha | 68e6f2ba695d65b904948297c27c327e939e848e | [
"MIT"
] | null | null | null | ut/tests/indirect.py | muhammad-ammar/alpha | 68e6f2ba695d65b904948297c27c327e939e848e | [
"MIT"
] | null | null | null | from ..src.src3 import Feature3 as f3
| 19 | 37 | 0.763158 | 7 | 38 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.157895 | 38 | 1 | 38 | 38 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
182ae9e48ddf6caed93ed1a443989ef2e6d676a3 | 116 | py | Python | helpers.py | sleeyax/PyDeobfuscator | cffc6cb6ac1fea8e9c99d8501c8b95e93272279f | [
"MIT"
] | 10 | 2020-02-13T19:26:38.000Z | 2021-12-13T08:28:04.000Z | helpers.py | sleeyax/PyDeobfuscator | cffc6cb6ac1fea8e9c99d8501c8b95e93272279f | [
"MIT"
] | null | null | null | helpers.py | sleeyax/PyDeobfuscator | cffc6cb6ac1fea8e9c99d8501c8b95e93272279f | [
"MIT"
] | 3 | 2020-10-03T18:43:50.000Z | 2021-04-28T14:12:48.000Z | # read file contents to string
def read_file_contents(file):
with open(file, 'r') as f:
return f.read()
| 23.2 | 30 | 0.655172 | 19 | 116 | 3.894737 | 0.631579 | 0.216216 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232759 | 116 | 4 | 31 | 29 | 0.831461 | 0.241379 | 0 | 0 | 0 | 0 | 0.011628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
182d22273052a572a07bf88d4f39b7cd98f52b6a | 73 | py | Python | lib/backbone/__init__.py | d4l-data4life/BBNOrchestra-for-VQAmed2021 | b083c0c9c2be73419ca43536bf185fff379cf98c | [
"MIT"
] | 2 | 2021-05-31T08:45:42.000Z | 2021-09-08T07:46:34.000Z | lib/backbone/__init__.py | d4l-data4life/BBNOrchestra-for-VQAmed2021 | b083c0c9c2be73419ca43536bf185fff379cf98c | [
"MIT"
] | null | null | null | lib/backbone/__init__.py | d4l-data4life/BBNOrchestra-for-VQAmed2021 | b083c0c9c2be73419ca43536bf185fff379cf98c | [
"MIT"
] | null | null | null | from .resnet import bbn_res50, bbn_res34
from .resnest import bbn_ress50
| 24.333333 | 40 | 0.835616 | 12 | 73 | 4.833333 | 0.666667 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.123288 | 73 | 2 | 41 | 36.5 | 0.8125 | 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 |
184a031b397e07a4967ebc22e6ecfb412ccd1bbd | 47,359 | py | Python | pirates/leveleditor/worldData/anvil_island_area_barbossa_cave.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/anvil_island_area_barbossa_cave.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/anvil_island_area_barbossa_cave.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.anvil_island_area_barbossa_cave
from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = ... | 6,765.571429 | 46,900 | 0.651703 | 6,447 | 47,359 | 4.756631 | 0.156972 | 0.020283 | 0.01937 | 0.025696 | 0.574512 | 0.514642 | 0.451608 | 0.353942 | 0.278778 | 0.252984 | 0 | 0.27146 | 0.074833 | 47,359 | 7 | 46,901 | 6,765.571429 | 0.428438 | 0.005004 | 0 | 0 | 0 | 0 | 0.536249 | 0.246042 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1850044d5d892365950ca734baed9e875d208d90 | 713 | py | Python | fiellclib/mr_project/data/root_config.py | leith-bartrich/fiellc | 1c02690538f442dede5d6afc8926355cb2ac838e | [
"MIT"
] | null | null | null | fiellclib/mr_project/data/root_config.py | leith-bartrich/fiellc | 1c02690538f442dede5d6afc8926355cb2ac838e | [
"MIT"
] | null | null | null | fiellclib/mr_project/data/root_config.py | leith-bartrich/fiellc | 1c02690538f442dede5d6afc8926355cb2ac838e | [
"MIT"
] | null | null | null | import typing
from fiepipelib.rootaspect.data.config import RootAsepctConfiguration
class MRProjectConfig(RootAsepctConfiguration):
_gitlab_server_name: str = None
def get_gitlab_server_name(self) -> str:
return self._gitlab_server_name
def set_gitlab_server_name(self, gitlab_server_name:str):... | 23.766667 | 69 | 0.712482 | 90 | 713 | 5.244444 | 0.288889 | 0.279661 | 0.372881 | 0.211864 | 0.152542 | 0.152542 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0.210379 | 713 | 29 | 70 | 24.586207 | 0.838366 | 0 | 0 | 0 | 0 | 0 | 0.064698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.117647 | 0.117647 | 0.764706 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
43ea952ebbf33b1a8f73a439986810caf67d1126 | 4,469 | py | Python | catalogue/migrations/0002_auto_20170301_1803.py | lh00257/superharris | cc8794ac6a63fa157ed6d0ef75f5089253ff987d | [
"MIT"
] | null | null | null | catalogue/migrations/0002_auto_20170301_1803.py | lh00257/superharris | cc8794ac6a63fa157ed6d0ef75f5089253ff987d | [
"MIT"
] | null | null | null | catalogue/migrations/0002_auto_20170301_1803.py | lh00257/superharris | cc8794ac6a63fa157ed6d0ef75f5089253ff987d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-01 18:03
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('catalogue', '0001_initial'),
]
operations = [
migrations.RemoveField(
... | 30.195946 | 111 | 0.533453 | 391 | 4,469 | 5.879795 | 0.227621 | 0.121357 | 0.269682 | 0.323619 | 0.836451 | 0.833841 | 0.734232 | 0.475859 | 0.238799 | 0 | 0 | 0.007571 | 0.349743 | 4,469 | 147 | 112 | 30.401361 | 0.783551 | 0.015216 | 0 | 0.664286 | 1 | 0 | 0.175534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014286 | 0 | 0.035714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
43ead0c0a7ecb0a182b620c7e2d595485215d930 | 50,408 | py | Python | tests/software_tests/can/test_single_frame.py | mdabrowski1990/uds | 1aee0c1de446ee3dd461706949504f2c218db1e8 | [
"MIT"
] | 18 | 2021-03-28T22:39:18.000Z | 2022-02-13T21:50:37.000Z | tests/software_tests/can/test_single_frame.py | mdabrowski1990/uds | 1aee0c1de446ee3dd461706949504f2c218db1e8 | [
"MIT"
] | 153 | 2021-02-09T09:27:05.000Z | 2022-03-29T06:09:15.000Z | tests/software_tests/can/test_single_frame.py | mdabrowski1990/uds | 1aee0c1de446ee3dd461706949504f2c218db1e8 | [
"MIT"
] | 1 | 2021-05-13T16:01:46.000Z | 2021-05-13T16:01:46.000Z | import pytest
from mock import patch
from uds.can.single_frame import CanSingleFrameHandler, \
InconsistentArgumentsError, CanDlcHandler, DEFAULT_FILLER_BYTE
from uds.can import CanAddressingFormat
class TestCanSingleFrameHandler:
"""Unit tests for `CanSingleFrameHandler` class."""
SCRIPT_LOCATION = "ud... | 60.224612 | 124 | 0.649976 | 5,736 | 50,408 | 5.213215 | 0.035391 | 0.039728 | 0.043641 | 0.047487 | 0.920041 | 0.878775 | 0.838311 | 0.800288 | 0.771862 | 0.757349 | 0 | 0.02594 | 0.264283 | 50,408 | 836 | 125 | 60.296651 | 0.780375 | 0.008967 | 0 | 0.653333 | 0 | 0 | 0.125744 | 0.052336 | 0 | 0 | 0.021551 | 0 | 0.142667 | 1 | 0.056 | false | 0 | 0.005333 | 0 | 0.065333 | 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 |
b808bfcdffa17832a3f8864867347afef3e3488e | 39 | py | Python | Python Codewars Answers/Functional Addition.py | OreOlad/github-slideshow | 6c4ef5df6971e3dbd79c9ef7cbb141b2ff682006 | [
"MIT"
] | null | null | null | Python Codewars Answers/Functional Addition.py | OreOlad/github-slideshow | 6c4ef5df6971e3dbd79c9ef7cbb141b2ff682006 | [
"MIT"
] | 4 | 2020-05-14T15:28:52.000Z | 2021-09-28T02:43:53.000Z | Python Codewars Answers/Functional Addition.py | OreOlad/github-slideshow | 6c4ef5df6971e3dbd79c9ef7cbb141b2ff682006 | [
"MIT"
] | null | null | null | def add(n):
return lambda x: x + n
| 13 | 26 | 0.564103 | 8 | 39 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 39 | 2 | 27 | 19.5 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
62c32f4957b142ce9152cee3f188aea5b236e2bf | 5,302 | py | Python | rdmo/projects/tests/test_viewset_value.py | berkerY/rdmo | c0500f9b6caff9106a254a05e0d0e8018fc8db28 | [
"Apache-2.0"
] | 77 | 2016-08-09T11:40:20.000Z | 2022-03-06T11:03:26.000Z | rdmo/projects/tests/test_viewset_value.py | MSpenger/rdmo | c0500f9b6caff9106a254a05e0d0e8018fc8db28 | [
"Apache-2.0"
] | 377 | 2016-07-01T13:59:36.000Z | 2022-03-30T13:53:19.000Z | rdmo/projects/tests/test_viewset_value.py | MSpenger/rdmo | c0500f9b6caff9106a254a05e0d0e8018fc8db28 | [
"Apache-2.0"
] | 47 | 2016-06-23T11:32:19.000Z | 2022-03-01T11:34:37.000Z | import pytest
from django.urls import reverse
from rdmo.core.constants import VALUE_TYPE_FILE
from ..models import Value
users = (
('owner', 'owner'),
('manager', 'manager'),
('author', 'author'),
('guest', 'guest'),
('api', 'api'),
('user', 'user'),
('site', 'site'),
('anonymous', No... | 32.728395 | 111 | 0.641645 | 649 | 5,302 | 5.118644 | 0.155624 | 0.101144 | 0.096328 | 0.115593 | 0.765503 | 0.759482 | 0.75888 | 0.75888 | 0.742023 | 0.708007 | 0 | 0.024694 | 0.213316 | 5,302 | 161 | 112 | 32.931677 | 0.771757 | 0 | 0 | 0.584 | 0 | 0 | 0.092984 | 0.012825 | 0 | 0 | 0 | 0 | 0.216 | 1 | 0.056 | false | 0.224 | 0.032 | 0 | 0.088 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
62c3bd1eac6952ba5258aeeb003d762d915208f2 | 86 | py | Python | fabfile.py | lallamilagro/yafas-server | 8bd8b64c7bfdaeeadffe0daf91eecf91091fcb94 | [
"MIT"
] | null | null | null | fabfile.py | lallamilagro/yafas-server | 8bd8b64c7bfdaeeadffe0daf91eecf91091fcb94 | [
"MIT"
] | null | null | null | fabfile.py | lallamilagro/yafas-server | 8bd8b64c7bfdaeeadffe0daf91eecf91091fcb94 | [
"MIT"
] | null | null | null | from fabric.api import local
def dev():
local('gunicorn --reload app:api -t 0')
| 14.333333 | 43 | 0.662791 | 14 | 86 | 4.071429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.197674 | 86 | 5 | 44 | 17.2 | 0.811594 | 0 | 0 | 0 | 0 | 0 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62c8e979a92e5aadf07d790090067e540f852e86 | 96 | py | Python | quiz/tests.py | TheShubhendra/quizzes-backend | 90e161281ec02599b17c6f0a9fdd20bddf25bfe7 | [
"MIT"
] | null | null | null | quiz/tests.py | TheShubhendra/quizzes-backend | 90e161281ec02599b17c6f0a9fdd20bddf25bfe7 | [
"MIT"
] | null | null | null | quiz/tests.py | TheShubhendra/quizzes-backend | 90e161281ec02599b17c6f0a9fdd20bddf25bfe7 | [
"MIT"
] | null | null | null | from django.test import TestCase
# Create your tests here.
def test_nothing():
assert True
| 16 | 32 | 0.75 | 14 | 96 | 5.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 96 | 5 | 33 | 19.2 | 0.910256 | 0.239583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62eafafa26205536075ef12c7f241213269bc5c2 | 196 | py | Python | monitor/app/models/__init__.py | hellckt/monitor | 20be8395e55500e21937aabe227c91e0d70fcc49 | [
"WTFPL"
] | 3 | 2017-10-25T16:43:10.000Z | 2019-12-05T09:12:30.000Z | monitor/app/models/__init__.py | hellckt/monitor | 20be8395e55500e21937aabe227c91e0d70fcc49 | [
"WTFPL"
] | null | null | null | monitor/app/models/__init__.py | hellckt/monitor | 20be8395e55500e21937aabe227c91e0d70fcc49 | [
"WTFPL"
] | 2 | 2017-03-14T08:15:18.000Z | 2021-12-30T04:26:19.000Z | # -*- encoding: utf-8 -*-
from monitor.app.models.ban import Ban, Path
from monitor.app.models.flow import Flow
from monitor.app.models.user import User
__all__ = ['Ban', 'Path', 'Flow', 'User']
| 28 | 44 | 0.704082 | 30 | 196 | 4.466667 | 0.433333 | 0.246269 | 0.313433 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.127551 | 196 | 6 | 45 | 32.666667 | 0.777778 | 0.117347 | 0 | 0 | 0 | 0 | 0.087719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62fab7367a3fc326921eaa194387b3b106eef594 | 97 | py | Python | src/sfml/__init__.py | vmstarchenko/python-sfml | 3105bbc7ae405633702fc22c1725d7941d098488 | [
"Zlib"
] | 121 | 2015-01-05T17:31:46.000Z | 2019-09-11T02:28:58.000Z | src/sfml/__init__.py | vmstarchenko/python-sfml | 3105bbc7ae405633702fc22c1725d7941d098488 | [
"Zlib"
] | 86 | 2015-01-23T04:50:47.000Z | 2019-04-04T07:23:57.000Z | src/sfml/__init__.py | vmstarchenko/python-sfml | 3105bbc7ae405633702fc22c1725d7941d098488 | [
"Zlib"
] | 37 | 2015-01-18T13:09:02.000Z | 2019-05-06T18:13:44.000Z | import sfml.system
import sfml.window
import sfml.graphics
import sfml.audio
import sfml.network
| 16.166667 | 20 | 0.845361 | 15 | 97 | 5.466667 | 0.466667 | 0.609756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 97 | 5 | 21 | 19.4 | 0.942529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
1a0d2f257bad7aa114c05195461076865262b1d9 | 107 | py | Python | LAUG/util/dataloader/__init__.py | wise-east/LAUG | c5fc674e76a0a20622a77301f9986ad58713d58d | [
"Apache-2.0"
] | 10 | 2021-07-10T12:40:42.000Z | 2022-03-14T07:51:06.000Z | LAUG/util/dataloader/__init__.py | wise-east/LAUG | c5fc674e76a0a20622a77301f9986ad58713d58d | [
"Apache-2.0"
] | 5 | 2021-07-01T11:23:58.000Z | 2021-09-09T05:51:02.000Z | LAUG/util/dataloader/__init__.py | wise-east/LAUG | c5fc674e76a0a20622a77301f9986ad58713d58d | [
"Apache-2.0"
] | 2 | 2021-09-13T16:26:42.000Z | 2021-11-16T09:26:54.000Z | from LAUG.util.dataloader.dataset_dataloader import *
from LAUG.util.dataloader.module_dataloader import *
| 35.666667 | 53 | 0.850467 | 14 | 107 | 6.357143 | 0.5 | 0.179775 | 0.269663 | 0.494382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 107 | 2 | 54 | 53.5 | 0.89899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c53e95294466b22afa904fda2dbc54e00c164fe0 | 92 | py | Python | tests/testapp/views.py | PaesslerAG/django-httpxforwardedfor | d76f94ed1e16820409964790cfa90023d7df3916 | [
"BSD-3-Clause"
] | 3 | 2017-04-12T08:37:12.000Z | 2019-06-06T19:12:16.000Z | tests/testapp/views.py | PaesslerAG/django-httpxforwardedfor | d76f94ed1e16820409964790cfa90023d7df3916 | [
"BSD-3-Clause"
] | 2 | 2019-01-17T19:18:46.000Z | 2020-04-06T13:03:04.000Z | tests/testapp/views.py | PaesslerAG/django-httpxforwardedfor | d76f94ed1e16820409964790cfa90023d7df3916 | [
"BSD-3-Clause"
] | null | null | null | from django.http import HttpResponse
def empty_page(request):
return HttpResponse("")
| 15.333333 | 36 | 0.76087 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 92 | 5 | 37 | 18.4 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c55cd47deff25e4c1c8f0e744b1ccadb2d1e4557 | 32,370 | py | Python | pybind/nos/v7_1_0/brocade_firmware_ext_rpc/show_firmware_version/output/show_firmware_version/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/brocade_firmware_ext_rpc/show_firmware_version/output/show_firmware_version/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/brocade_firmware_ext_rpc/show_firmware_version/output/show_firmware_version/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 68.147368 | 568 | 0.75882 | 4,405 | 32,370 | 5.274007 | 0.043587 | 0.066503 | 0.079804 | 0.034091 | 0.880424 | 0.849432 | 0.83329 | 0.822788 | 0.804623 | 0.795412 | 0 | 0.000494 | 0.125147 | 32,370 | 474 | 569 | 68.291139 | 0.819874 | 0.220142 | 0 | 0.475836 | 0 | 0.037175 | 0.346483 | 0.205864 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122677 | false | 0 | 0.033457 | 0 | 0.271375 | 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 |
c575874d8ea0dbfc16f46c76e96f8f4490f0f2fe | 26 | py | Python | venv/Lib/site-packages/JEGmail/__init__.py | JE-Chen/finalProject_nknySystem | bc8b15f0d9ef416c9a5a2aea4955a7f34e916cc7 | [
"MIT"
] | 3 | 2020-12-30T06:37:10.000Z | 2021-03-05T11:56:04.000Z | venv/Lib/site-packages/JEGmail/__init__.py | JE-Chen/finalProject_nknySystem | bc8b15f0d9ef416c9a5a2aea4955a7f34e916cc7 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/JEGmail/__init__.py | JE-Chen/finalProject_nknySystem | bc8b15f0d9ef416c9a5a2aea4955a7f34e916cc7 | [
"MIT"
] | 1 | 2020-12-21T03:53:03.000Z | 2020-12-21T03:53:03.000Z | from JEGmail import Core
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 1 | 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 |
3d90f9a8c1a30f0272eaaef480a1b052edc19fe6 | 9,815 | py | Python | scripts/rnn_models.py | epfl-ml4ed/meta-transfer-learning | 2868ef0d3768b8089de7c06d8e557bddd27f5ca6 | [
"MIT"
] | null | null | null | scripts/rnn_models.py | epfl-ml4ed/meta-transfer-learning | 2868ef0d3768b8089de7c06d8e557bddd27f5ca6 | [
"MIT"
] | null | null | null | scripts/rnn_models.py | epfl-ml4ed/meta-transfer-learning | 2868ef0d3768b8089de7c06d8e557bddd27f5ca6 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import tensorflow as tf
import sklearn as sk
from keras.models import Sequential
from keras.layers import Dense, Masking, LSTM, Bidirectional
from sklearn.metrics import balanced_accuracy_score, precision_score, recall_score, roc_auc_score, f1_score, accuracy_score
import os.path... | 46.738095 | 188 | 0.711564 | 1,474 | 9,815 | 4.456581 | 0.095658 | 0.02664 | 0.012178 | 0.019485 | 0.86345 | 0.86345 | 0.830568 | 0.806668 | 0.79388 | 0.79388 | 0 | 0.019421 | 0.165869 | 9,815 | 210 | 189 | 46.738095 | 0.782949 | 0.041467 | 0 | 0.6 | 0 | 0 | 0.089213 | 0.010232 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03871 | false | 0 | 0.058065 | 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 |
3da7c2d17c4fb1a2297796ee1c0d4230379bfd61 | 100 | py | Python | greydot/__init__.py | TralahM/greydot-api | 34982c34bf878b2728e934147ca4ea38a78523e4 | [
"MIT"
] | null | null | null | greydot/__init__.py | TralahM/greydot-api | 34982c34bf878b2728e934147ca4ea38a78523e4 | [
"MIT"
] | null | null | null | greydot/__init__.py | TralahM/greydot-api | 34982c34bf878b2728e934147ca4ea38a78523e4 | [
"MIT"
] | null | null | null | from . import airtime
from . import sms
from . import wallet
from . import b2c
from . import signup
| 16.666667 | 21 | 0.75 | 15 | 100 | 5 | 0.466667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.2 | 100 | 5 | 22 | 20 | 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 |
3dd72598c8539775e879fb93fd8b4877fbd64555 | 35 | py | Python | Step1-PythonBasic/Practices/liul/1-5/py00101.py | Jumpers/MysoftAutoTest | 50efc385a96532fc0777061d6c5e7201a4991f04 | [
"Apache-2.0"
] | null | null | null | Step1-PythonBasic/Practices/liul/1-5/py00101.py | Jumpers/MysoftAutoTest | 50efc385a96532fc0777061d6c5e7201a4991f04 | [
"Apache-2.0"
] | null | null | null | Step1-PythonBasic/Practices/liul/1-5/py00101.py | Jumpers/MysoftAutoTest | 50efc385a96532fc0777061d6c5e7201a4991f04 | [
"Apache-2.0"
] | null | null | null | print "hello, welcome to python!"
| 11.666667 | 33 | 0.714286 | 5 | 35 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 2 | 34 | 17.5 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3ddff74e38fdfac674e2e297ed871ef772679665 | 56 | py | Python | icevision/metrics/coco_metric/__init__.py | ai-fast-track/mantisshrimp | cc6d6a4a048f6ddda2782b6593dcd6b083a673e4 | [
"Apache-2.0"
] | 580 | 2020-09-10T06:29:57.000Z | 2022-03-29T19:34:54.000Z | icevision/metrics/coco_metric/__init__.py | ai-fast-track/mantisshrimp | cc6d6a4a048f6ddda2782b6593dcd6b083a673e4 | [
"Apache-2.0"
] | 691 | 2020-09-05T03:08:34.000Z | 2022-03-31T23:47:06.000Z | icevision/metrics/coco_metric/__init__.py | lgvaz/mantisshrimp2 | 743cb7df0dae7eb1331fc2bb66fc9ca09db496cd | [
"Apache-2.0"
] | 105 | 2020-09-09T10:41:35.000Z | 2022-03-25T17:16:49.000Z | from icevision.metrics.coco_metric.coco_metric import *
| 28 | 55 | 0.857143 | 8 | 56 | 5.75 | 0.75 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.884615 | 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 |
3ded6d6077c766603523b13300327f96211b016b | 72 | py | Python | datatrans/utils/classes/__init__.py | KooCook/datatrans | 65c80da4d8a1ed67963b9d704b361c864cb1151b | [
"BSD-3-Clause"
] | 1 | 2020-10-24T04:07:42.000Z | 2020-10-24T04:07:42.000Z | datatrans/utils/classes/__init__.py | KooCook/datatrans | 65c80da4d8a1ed67963b9d704b361c864cb1151b | [
"BSD-3-Clause"
] | null | null | null | datatrans/utils/classes/__init__.py | KooCook/datatrans | 65c80da4d8a1ed67963b9d704b361c864cb1151b | [
"BSD-3-Clause"
] | null | null | null | from .dataclass import *
from .jsonenum import *
from .encoder import *
| 18 | 24 | 0.75 | 9 | 72 | 6 | 0.555556 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 25 | 24 | 0.9 | 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 |
9a93d2f5035fd1e80f5ae47f8b087289fa14a31e | 16,265 | py | Python | feeds/tests.py | StevenMonty/django-feed-reader | 95731a4178f028f6539c55dce77928a377a9cdd9 | [
"MIT"
] | 21 | 2019-06-21T09:17:32.000Z | 2022-03-04T06:55:36.000Z | feeds/tests.py | StevenMonty/django-feed-reader | 95731a4178f028f6539c55dce77928a377a9cdd9 | [
"MIT"
] | 6 | 2019-09-01T03:40:04.000Z | 2021-01-30T01:07:19.000Z | feeds/tests.py | StevenMonty/django-feed-reader | 95731a4178f028f6539c55dce77928a377a9cdd9 | [
"MIT"
] | 15 | 2019-09-01T03:58:17.000Z | 2022-01-16T05:25:40.000Z | from django.test import TestCase, Client
from django.conf import settings
# Create your tests here.
from feeds.models import Source, Post, Enclosure, WebProxy
from feeds.utils import read_feed, find_proxies, get_proxy, fix_relative
from django.utils import timezone
from django.urls import reverse
from datetime impor... | 33.398357 | 158 | 0.61869 | 2,137 | 16,265 | 4.517548 | 0.111371 | 0.100994 | 0.1156 | 0.051792 | 0.800083 | 0.786306 | 0.767557 | 0.741144 | 0.721773 | 0.692873 | 0 | 0.023933 | 0.267876 | 16,265 | 486 | 159 | 33.467078 | 0.786782 | 0.091177 | 0 | 0.665455 | 0 | 0.003636 | 0.101298 | 0.015096 | 0 | 0 | 0 | 0 | 0.327273 | 1 | 0.083636 | false | 0 | 0.036364 | 0 | 0.138182 | 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 |
9ad379c665f28869e3ddadbec28a1b910979fa4a | 2,909 | py | Python | wiki_crosslingual/utils.py | iacercalixto/wiki_crosslingual | 74352cd5d164a8b6113f3ffed957b7eb779c763b | [
"MIT"
] | 1 | 2021-12-27T16:00:51.000Z | 2021-12-27T16:00:51.000Z | wiki_crosslingual/utils.py | iacercalixto/wiki_crosslingual | 74352cd5d164a8b6113f3ffed957b7eb779c763b | [
"MIT"
] | null | null | null | wiki_crosslingual/utils.py | iacercalixto/wiki_crosslingual | 74352cd5d164a8b6113f3ffed957b7eb779c763b | [
"MIT"
] | 1 | 2021-12-15T13:36:21.000Z | 2021-12-15T13:36:21.000Z | def get_sampling_probability_from_counts(datasets_counts_list):
# following: https://papers.nips.cc/paper/8928-cross-lingual-language-model-pretraining.pdf (Section 3.1)
# given: n_i is the number of examples in dataset i
# compute: q_i = p_i^{\alpha} / \sum_{j=1}^{N}{ p_j^{\alpha} }
# p_i = ... | 39.849315 | 132 | 0.647989 | 434 | 2,909 | 4.064516 | 0.182028 | 0.071429 | 0.102041 | 0.072562 | 0.912698 | 0.816327 | 0.816327 | 0.764172 | 0.764172 | 0.764172 | 0 | 0.02073 | 0.237195 | 2,909 | 72 | 133 | 40.402778 | 0.774223 | 0.299759 | 0 | 0.660377 | 0 | 0 | 0.003958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056604 | false | 0 | 0 | 0 | 0.113208 | 0.056604 | 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 |
b1093bba07e942a88d21b582049bdb55359891ea | 1,649 | py | Python | tests/test_backend.py | hgw3lls/Quado | 4e107afbce7663144dd449a23b068fb29b9f221a | [
"MIT"
] | 1 | 2021-12-30T20:53:30.000Z | 2021-12-30T20:53:30.000Z | tests/test_backend.py | hgw3lls/Quado | 4e107afbce7663144dd449a23b068fb29b9f221a | [
"MIT"
] | null | null | null | tests/test_backend.py | hgw3lls/Quado | 4e107afbce7663144dd449a23b068fb29b9f221a | [
"MIT"
] | 1 | 2021-12-30T20:53:32.000Z | 2021-12-30T20:53:32.000Z | from starlette.testclient import TestClient
import json
# import pytest
from backend.main import app
client = TestClient(app)
def test_process_text(test_app, monkeypatch):
test_request_payload = {
"text": "test text",
"description": "test description",
}
test_response_payload = {
... | 23.898551 | 68 | 0.65373 | 187 | 1,649 | 5.508021 | 0.197861 | 0.054369 | 0.069903 | 0.073786 | 0.836893 | 0.836893 | 0.836893 | 0.836893 | 0.801942 | 0.716505 | 0 | 0.011041 | 0.231049 | 1,649 | 68 | 69 | 24.25 | 0.801262 | 0.007884 | 0 | 0.6 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0.12 | 1 | 0.08 | false | 0 | 0.06 | 0 | 0.18 | 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 |
b131253d18aef54a7fd8b450dc354a6e743eeb4e | 204 | py | Python | kuwala/pipelines/google-poi/src/pipeline/main.py | Guutch/kuwala | b34083e5cad6a27aff061655c8f9ea2f643550fa | [
"Apache-2.0"
] | null | null | null | kuwala/pipelines/google-poi/src/pipeline/main.py | Guutch/kuwala | b34083e5cad6a27aff061655c8f9ea2f643550fa | [
"Apache-2.0"
] | null | null | null | kuwala/pipelines/google-poi/src/pipeline/main.py | Guutch/kuwala | b34083e5cad6a27aff061655c8f9ea2f643550fa | [
"Apache-2.0"
] | null | null | null | from SearchScraper import SearchScraper
from search_string_generator import generate_search_strings
if __name__ == '__main__':
generate_search_strings()
SearchScraper.scrape_with_search_string()
| 29.142857 | 59 | 0.838235 | 23 | 204 | 6.695652 | 0.565217 | 0.155844 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112745 | 204 | 6 | 60 | 34 | 0.850829 | 0 | 0 | 0 | 1 | 0 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b190a1444fce13e6da7f497f9946b47c579ecde6 | 162 | py | Python | taskcat/testing/__init__.py | neil-greenwood/taskcat | e47f97714a01bd3c3b5040a05380a5f97f158d1b | [
"Apache-2.0"
] | 920 | 2016-12-03T01:41:25.000Z | 2021-11-04T13:52:21.000Z | taskcat/testing/__init__.py | neil-greenwood/taskcat | e47f97714a01bd3c3b5040a05380a5f97f158d1b | [
"Apache-2.0"
] | 544 | 2017-02-23T22:41:25.000Z | 2021-11-03T23:02:25.000Z | taskcat/testing/__init__.py | neil-greenwood/taskcat | e47f97714a01bd3c3b5040a05380a5f97f158d1b | [
"Apache-2.0"
] | 225 | 2016-12-11T13:36:21.000Z | 2021-11-04T14:43:53.000Z | from ._cfn_test import CFNTest # noqa: F401
from ._lint_test import LintTest # noqa: F401
from ._unit_test import UnitTest # noqa: F401
__all__ = ["CFNTest"]
| 27 | 46 | 0.740741 | 23 | 162 | 4.782609 | 0.521739 | 0.272727 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067164 | 0.17284 | 162 | 5 | 47 | 32.4 | 0.753731 | 0.197531 | 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 |
492648dbad4e709c072b8d42757bb70eff390a0a | 2,880 | py | Python | src/app/tests/communitycards_test.py | mikeshoe/texas-holdem-tutor | acc92e2c4f1fa1e815d518a87413940ad2f6deee | [
"MIT"
] | 2 | 2016-10-07T16:14:38.000Z | 2016-10-07T21:36:11.000Z | src/app/tests/communitycards_test.py | mikeshoe/texas-holdem-pi-tutor | acc92e2c4f1fa1e815d518a87413940ad2f6deee | [
"MIT"
] | null | null | null | src/app/tests/communitycards_test.py | mikeshoe/texas-holdem-pi-tutor | acc92e2c4f1fa1e815d518a87413940ad2f6deee | [
"MIT"
] | null | null | null | '''
Created on Sep 20, 2016
@author: mike
'''
import unittest
from app.communitycards import CommunityCards
from app.tests.utparent import UTParent
class Test(UTParent):
def setUp(self):
pass
def tearDown(self):
pass
def test_add_community_cards(self):
ace_spades = self.get_... | 36.455696 | 90 | 0.702778 | 349 | 2,880 | 5.378224 | 0.200573 | 0.335642 | 0.117741 | 0.180075 | 0.778903 | 0.748002 | 0.716036 | 0.648908 | 0.648908 | 0.648908 | 0 | 0.008475 | 0.221528 | 2,880 | 79 | 91 | 36.455696 | 0.828724 | 0.028472 | 0 | 0.719298 | 0 | 0 | 0.057685 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.087719 | false | 0.035088 | 0.052632 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 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 |
494b9fa2f2d69731f1f230d52885c88d9dea9773 | 4,210 | py | Python | httpGepClient/gepClient.py | TopToy/Geppetto | 69600a280dd620bcacc97102c7bb1d3269e0929f | [
"Apache-2.0"
] | null | null | null | httpGepClient/gepClient.py | TopToy/Geppetto | 69600a280dd620bcacc97102c7bb1d3269e0929f | [
"Apache-2.0"
] | null | null | null | httpGepClient/gepClient.py | TopToy/Geppetto | 69600a280dd620bcacc97102c7bb1d3269e0929f | [
"Apache-2.0"
] | null | null | null | import requests
from termcolor import colored
from settings import BASE_URL
def height(port, ip='127.0.0.1'):
response = requests.get(BASE_URL.replace('[ip]:[port]', '{}:{}'.format(ip, port)) + 'state/height')
if response.status_code != 200:
print(colored('Unsuccessful call, code {}'.format(response.... | 41.683168 | 109 | 0.586223 | 529 | 4,210 | 4.57656 | 0.111531 | 0.054523 | 0.156134 | 0.072697 | 0.86741 | 0.856258 | 0.851714 | 0.847171 | 0.847171 | 0.847171 | 0 | 0.022556 | 0.210214 | 4,210 | 100 | 110 | 42.1 | 0.705564 | 0.005226 | 0 | 0.589744 | 0 | 0 | 0.217101 | 0.06138 | 0 | 0 | 0 | 0 | 0 | 1 | 0.141026 | false | 0 | 0.038462 | 0 | 0.461538 | 0.141026 | 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 |
4959d9fb308e6553285537073ec9538e4e6f3daa | 70 | py | Python | models/__init__.py | PrendiProgramming/CTRL-C | 33649170f94f1bdc568163762ab2c1787f2fc948 | [
"Apache-2.0"
] | 43 | 2021-09-06T08:00:41.000Z | 2022-03-24T08:14:31.000Z | models/__init__.py | PrendiProgramming/CTRL-C | 33649170f94f1bdc568163762ab2c1787f2fc948 | [
"Apache-2.0"
] | 4 | 2021-09-10T17:11:42.000Z | 2022-03-31T02:04:12.000Z | models/__init__.py | PrendiProgramming/CTRL-C | 33649170f94f1bdc568163762ab2c1787f2fc948 | [
"Apache-2.0"
] | 6 | 2021-09-07T04:04:27.000Z | 2021-11-30T10:48:22.000Z | from .ctrlc import build
def build_model(cfg):
return build(cfg)
| 14 | 24 | 0.728571 | 11 | 70 | 4.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 70 | 4 | 25 | 17.5 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
773d1f0601413c5aeaa166bdb2233368efa7429d | 33 | py | Python | Hello.py | PandaCoding2020/NextSimpleStarter | 663a9adc22be057d1bb9dc9604e776535cab354f | [
"MIT"
] | null | null | null | Hello.py | PandaCoding2020/NextSimpleStarter | 663a9adc22be057d1bb9dc9604e776535cab354f | [
"MIT"
] | null | null | null | Hello.py | PandaCoding2020/NextSimpleStarter | 663a9adc22be057d1bb9dc9604e776535cab354f | [
"MIT"
] | null | null | null | import os
print("Hello,python")
| 8.25 | 21 | 0.727273 | 5 | 33 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 3 | 22 | 11 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
774f39c476b18d16573527ced50013188e9fe462 | 138 | py | Python | tests/test_tool.py | TheFinalJoke/bluetool | 09f414fc4ca1bf299541cbf4f9b533568c675024 | [
"Apache-2.0"
] | null | null | null | tests/test_tool.py | TheFinalJoke/bluetool | 09f414fc4ca1bf299541cbf4f9b533568c675024 | [
"Apache-2.0"
] | null | null | null | tests/test_tool.py | TheFinalJoke/bluetool | 09f414fc4ca1bf299541cbf4f9b533568c675024 | [
"Apache-2.0"
] | null | null | null | from lib import tool
def test_haversine():
assert tool.haversine(52.370216, 4.895168, 52.520008,
13.404954) == 945793.4375088713
| 23 | 57 | 0.724638 | 20 | 138 | 4.95 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.405172 | 0.15942 | 138 | 5 | 58 | 27.6 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
620880ffe5175916158ed19586e380643032b018 | 46 | py | Python | egs/avspeech/looking-to-listen/local/__init__.py | tux-coder/asteroid | d9c76ec728dc95ef695daf5743f21750c3218e0a | [
"MIT"
] | 1 | 2020-07-15T08:32:56.000Z | 2020-07-15T08:32:56.000Z | egs/avspeech/looking-to-listen/local/__init__.py | tux-coder/asteroid | d9c76ec728dc95ef695daf5743f21750c3218e0a | [
"MIT"
] | null | null | null | egs/avspeech/looking-to-listen/local/__init__.py | tux-coder/asteroid | d9c76ec728dc95ef695daf5743f21750c3218e0a | [
"MIT"
] | null | null | null | from .postprocess import filter_audio, shelf
| 15.333333 | 44 | 0.826087 | 6 | 46 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 2 | 45 | 23 | 0.925 | 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 |
622d9aea600cc305e2adda6812cdd2eb8ab65404 | 30 | py | Python | src/keywords/__init__.py | macaquedev/cobralang | af070ee96cf94970d97a413798e3e9e022749c20 | [
"MIT"
] | null | null | null | src/keywords/__init__.py | macaquedev/cobralang | af070ee96cf94970d97a413798e3e9e022749c20 | [
"MIT"
] | null | null | null | src/keywords/__init__.py | macaquedev/cobralang | af070ee96cf94970d97a413798e3e9e022749c20 | [
"MIT"
] | null | null | null | from .keywords import keywords | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 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 |
623c43750b1a23474db3ffdcdee9925d5cd31dfb | 69 | py | Python | run.py | fatihaltinpinar/discord-bot | 54bbe1b884366299320d0fd860ab193c3cc03e98 | [
"MIT"
] | null | null | null | run.py | fatihaltinpinar/discord-bot | 54bbe1b884366299320d0fd860ab193c3cc03e98 | [
"MIT"
] | null | null | null | run.py | fatihaltinpinar/discord-bot | 54bbe1b884366299320d0fd860ab193c3cc03e98 | [
"MIT"
] | null | null | null | from bot.database import Database
from bot import bot
import config
| 13.8 | 33 | 0.826087 | 11 | 69 | 5.181818 | 0.454545 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 4 | 34 | 17.25 | 0.982759 | 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 |
624461f5bcbae4eed07e01eb2cd0bd239a1fa026 | 4,145 | py | Python | worklog/parsing/WorklogListener.py | ssaamm/worklog.md | f531585159a43f5b5e3b0731612adcf003b92ed5 | [
"MIT"
] | null | null | null | worklog/parsing/WorklogListener.py | ssaamm/worklog.md | f531585159a43f5b5e3b0731612adcf003b92ed5 | [
"MIT"
] | null | null | null | worklog/parsing/WorklogListener.py | ssaamm/worklog.md | f531585159a43f5b5e3b0731612adcf003b92ed5 | [
"MIT"
] | null | null | null | # Generated from Worklog.g4 by ANTLR 4.5.1
from antlr4 import *
if __name__ is not None and "." in __name__:
from .WorklogParser import WorklogParser
else:
from WorklogParser import WorklogParser
# This class defines a complete listener for a parse tree produced by WorklogParser.
class WorklogListener(ParseTre... | 30.255474 | 84 | 0.722799 | 465 | 4,145 | 6.425806 | 0.202151 | 0.058233 | 0.097055 | 0.174699 | 0.816265 | 0.494311 | 0.483266 | 0.481593 | 0 | 0 | 0 | 0.001532 | 0.212545 | 4,145 | 136 | 85 | 30.477941 | 0.913909 | 0.385766 | 0 | 0.451613 | 1 | 0 | 0.000402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.451613 | false | 0.451613 | 0.048387 | 0 | 0.516129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
6256220cbd1d2c08685a329f374fdfe730c2ea18 | 61 | py | Python | elcano/__init__.py | juancroldan/elcano | eb01f41c6262ac622542bdee87f6f501b0f5ed1c | [
"MIT"
] | null | null | null | elcano/__init__.py | juancroldan/elcano | eb01f41c6262ac622542bdee87f6f501b0f5ed1c | [
"MIT"
] | null | null | null | elcano/__init__.py | juancroldan/elcano | eb01f41c6262ac622542bdee87f6f501b0f5ed1c | [
"MIT"
] | null | null | null | from elcano.utils import *
def explore(dataset_fname):
pass | 15.25 | 27 | 0.786885 | 9 | 61 | 5.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 4 | 28 | 15.25 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
625c408e508e9a9e13fae884a870a6c45d4f8846 | 49 | py | Python | src/onlyuserclient/api/__init__.py | tangdyy/onlyuserclient | d93b4e1077afda6b58bba002729f6bc89b988c7a | [
"MIT"
] | 2 | 2021-03-12T00:42:13.000Z | 2021-05-24T06:31:13.000Z | src/onlyuserclient/api/__init__.py | tangdyy/onlyuserclient | d93b4e1077afda6b58bba002729f6bc89b988c7a | [
"MIT"
] | null | null | null | src/onlyuserclient/api/__init__.py | tangdyy/onlyuserclient | d93b4e1077afda6b58bba002729f6bc89b988c7a | [
"MIT"
] | null | null | null | from .base import BaseAPI
from .onlyuser import * | 24.5 | 25 | 0.795918 | 7 | 49 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 26 | 24.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6286a0397c66a804dac6e5d58f9757b1b948397d | 157 | py | Python | zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof.py | tsonglew/leetcode-solution | abce0c36def55a8d3bf86fca531246a29920e771 | [
"Unlicense"
] | null | null | null | zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof.py | tsonglew/leetcode-solution | abce0c36def55a8d3bf86fca531246a29920e771 | [
"Unlicense"
] | null | null | null | zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof.py | tsonglew/leetcode-solution | abce0c36def55a8d3bf86fca531246a29920e771 | [
"Unlicense"
] | null | null | null | class Solution:
def search(self, nums: List[int], target: int) -> int:
return bisect.bisect_right(nums, target)-bisect.bisect_left(nums, target)
| 39.25 | 81 | 0.700637 | 22 | 157 | 4.909091 | 0.590909 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165605 | 157 | 3 | 82 | 52.333333 | 0.824427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 |
628f9ed3d61513e6634592c82ff1412d1cbb2807 | 43 | py | Python | mvqag/data/__init__.py | VirkSaab/Medical-VQA | 6d77963cc81940fc680a18d931e0d88a3264f5fa | [
"MIT"
] | null | null | null | mvqag/data/__init__.py | VirkSaab/Medical-VQA | 6d77963cc81940fc680a18d931e0d88a3264f5fa | [
"MIT"
] | null | null | null | mvqag/data/__init__.py | VirkSaab/Medical-VQA | 6d77963cc81940fc680a18d931e0d88a3264f5fa | [
"MIT"
] | null | null | null | from .data import *
from .generate import * | 21.5 | 23 | 0.744186 | 6 | 43 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 23 | 21.5 | 0.888889 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6570c71502a0a3aade5a125f6ba68d75aef3569a | 47,022 | py | Python | Packs/SophosCentral/Integrations/SophosCentral/SophosCentral_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | 2 | 2020-07-27T10:35:41.000Z | 2020-12-14T15:44:18.000Z | Packs/SophosCentral/Integrations/SophosCentral/SophosCentral_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | 48 | 2022-03-08T13:45:00.000Z | 2022-03-31T14:32:05.000Z | Packs/SophosCentral/Integrations/SophosCentral/SophosCentral_test.py | adambaumeister/content | c6808d0b13d00edc4cd6268793c2ae0c2e39aed6 | [
"MIT"
] | 2 | 2019-08-29T10:20:55.000Z | 2019-09-01T12:16:09.000Z | import json
from datetime import datetime
from pytest import raises
from CommonServerPython import DemistoException
BASE_URL = 'https://api-eu02.central.sophos.com'
DATE_FORMAT = '%Y-%m-%dT%H:%M:%S.%fZ'
def load_mock_response(file_name: str) -> dict:
"""
Load one of the mock responses to be used f... | 47.449041 | 101 | 0.686062 | 5,857 | 47,022 | 5.258665 | 0.056855 | 0.055325 | 0.035325 | 0.025292 | 0.923539 | 0.907727 | 0.882825 | 0.863961 | 0.834481 | 0.794188 | 0 | 0.032042 | 0.217473 | 47,022 | 990 | 102 | 47.49697 | 0.805006 | 0.245098 | 0 | 0.593684 | 0 | 0 | 0.247144 | 0.145353 | 0 | 0 | 0 | 0 | 0.181053 | 1 | 0.075789 | false | 0.012632 | 0.082105 | 0 | 0.16 | 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 |
6588695f3848a32e6622381b5be79fab02765592 | 31,331 | py | Python | iotfunctions/dbtables.py | TheTheseus/functions | 526bb01598c80c5db8995a979a613a7aa6a1e126 | [
"Apache-2.0"
] | null | null | null | iotfunctions/dbtables.py | TheTheseus/functions | 526bb01598c80c5db8995a979a613a7aa6a1e126 | [
"Apache-2.0"
] | null | null | null | iotfunctions/dbtables.py | TheTheseus/functions | 526bb01598c80c5db8995a979a613a7aa6a1e126 | [
"Apache-2.0"
] | null | null | null | # *****************************************************************************
# © Copyright IBM Corp. 2020. All Rights Reserved.
#
# This program and the accompanying materials
# are made available under the terms of the Apache V2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/... | 47.114286 | 132 | 0.567393 | 3,629 | 31,331 | 4.651419 | 0.074952 | 0.054739 | 0.040521 | 0.03519 | 0.837618 | 0.814218 | 0.771979 | 0.744787 | 0.70231 | 0.670616 | 0 | 0.003908 | 0.346685 | 31,331 | 664 | 133 | 47.185241 | 0.820704 | 0.022853 | 0 | 0.607076 | 0 | 0 | 0.202987 | 0.011667 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040968 | false | 0 | 0.018622 | 0 | 0.087523 | 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 |
65c9146e3f3fb46305263e41d0e53f6ea16ce9fc | 2,464 | py | Python | create_model/splite_new_img.py | yokoyang/img-class | 2b1e12ee88dbbc5c3a52732a527721e92e30f89e | [
"MIT"
] | 1 | 2018-03-30T10:43:42.000Z | 2018-03-30T10:43:42.000Z | create_model/splite_new_img.py | yokoyang/img-class | 2b1e12ee88dbbc5c3a52732a527721e92e30f89e | [
"MIT"
] | null | null | null | create_model/splite_new_img.py | yokoyang/img-class | 2b1e12ee88dbbc5c3a52732a527721e92e30f89e | [
"MIT"
] | null | null | null | import os
import cv2
import numpy as np
import pandas as pd
import tifffile as tiff
from PIL import Image
# 一般建筑&农村&工厂&阴影
# 水体&植被
# 建筑场地&裸地
# 运动场&道路
name_list = ['split-mask-data']
# name_list = [ 'bare_land', 'building_yard', 'countryside', 'factory', 'general_building', 'playground',
# 'road', 'shadow'... | 35.2 | 105 | 0.654221 | 342 | 2,464 | 4.520468 | 0.239766 | 0.045278 | 0.174644 | 0.226391 | 0.765847 | 0.765847 | 0.765847 | 0.765847 | 0.765847 | 0.765847 | 0 | 0.032878 | 0.197646 | 2,464 | 70 | 106 | 35.2 | 0.749115 | 0.593344 | 0 | 0 | 0 | 0 | 0.199374 | 0.172234 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.26087 | 0 | 0.26087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65d46440ba4d96e56ee59cb92a2b927301638566 | 150 | py | Python | src/docs/__init__.py | kunansy/Vocabulary | 8794f093067262cf6e71bf64428716d6677d83aa | [
"MIT"
] | null | null | null | src/docs/__init__.py | kunansy/Vocabulary | 8794f093067262cf6e71bf64428716d6677d83aa | [
"MIT"
] | 7 | 2020-09-11T05:43:58.000Z | 2021-08-21T20:42:59.000Z | src/docs/__init__.py | FaustGoethe/EnglishVocabulary | ec1af4f38b9b5196558ce7cda05878827727fcd3 | [
"MIT"
] | null | null | null | # from .create_doc import create_pdf
from .create_doc import create_docx
from .create_doc import visual_info
__all__ = 'create_docx', 'visual_info'
| 21.428571 | 38 | 0.806667 | 23 | 150 | 4.73913 | 0.391304 | 0.275229 | 0.357798 | 0.522936 | 0.458716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126667 | 150 | 6 | 39 | 25 | 0.832061 | 0.226667 | 0 | 0 | 0 | 0 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
65e7960e3cc600e29d20d31c14f3364469032489 | 129 | py | Python | common/utils/utils.py | ltxhh/course | 45c8e4e436d9f20effccc7ed0844dfd07d8348b1 | [
"Apache-2.0"
] | null | null | null | common/utils/utils.py | ltxhh/course | 45c8e4e436d9f20effccc7ed0844dfd07d8348b1 | [
"Apache-2.0"
] | null | null | null | common/utils/utils.py | ltxhh/course | 45c8e4e436d9f20effccc7ed0844dfd07d8348b1 | [
"Apache-2.0"
] | null | null | null | # -*- codeing = utf-8 -*-
# @Time : 2022/3/30 10:25
# @Author : linyaxuan
# @File : utils.py
# @Software : PyCharm
import json
| 14.333333 | 25 | 0.596899 | 18 | 129 | 4.277778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.209302 | 129 | 8 | 26 | 16.125 | 0.637255 | 0.806202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
02a9dbb3b5057bb7cb1b5dab4e933c8b54177a71 | 4,128 | py | Python | src/main.py | Plasticoo/YAAF | 4d6273a0237cd90e708782bc15982768a95e9b28 | [
"MIT"
] | 3 | 2015-08-01T03:23:48.000Z | 2017-04-15T06:29:39.000Z | src/main.py | Plasticoo/YAAF | 4d6273a0237cd90e708782bc15982768a95e9b28 | [
"MIT"
] | null | null | null | src/main.py | Plasticoo/YAAF | 4d6273a0237cd90e708782bc15982768a95e9b28 | [
"MIT"
] | 4 | 2018-02-24T17:09:26.000Z | 2021-04-25T12:20:58.000Z | import argparse
from .funcs import threads
def main_function():
parse = argparse.ArgumentParser(description="YAAF - Yet Another Admin Finder!")
parse.add_argument("-u", "--url=", action="store", dest="URL", help="Website url")
parse.add_argument("-t", "--threads=", action="store", dest="NUMBER", ... | 61.61194 | 124 | 0.63687 | 541 | 4,128 | 4.63586 | 0.142329 | 0.30303 | 0.062201 | 0.060606 | 0.767943 | 0.759569 | 0.759569 | 0.733254 | 0.733254 | 0.733254 | 0 | 0.00778 | 0.252665 | 4,128 | 66 | 125 | 62.545455 | 0.805186 | 0 | 0 | 0.603448 | 0 | 0 | 0.138602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017241 | false | 0 | 0.034483 | 0 | 0.051724 | 0.086207 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f305f872e62ec00d20f33cafe3b8de2a47c7a3d1 | 17,854 | py | Python | example_checkout/tests/test_object_payment_plan_instalment.py | pkimber/checkout | 9b1468ee55f3d843db81136b85563164e9672dd4 | [
"Apache-2.0"
] | null | null | null | example_checkout/tests/test_object_payment_plan_instalment.py | pkimber/checkout | 9b1468ee55f3d843db81136b85563164e9672dd4 | [
"Apache-2.0"
] | null | null | null | example_checkout/tests/test_object_payment_plan_instalment.py | pkimber/checkout | 9b1468ee55f3d843db81136b85563164e9672dd4 | [
"Apache-2.0"
] | null | null | null | # -*- encoding: utf-8 -*-
import pytest
from datetime import date
from dateutil.relativedelta import relativedelta
from decimal import Decimal
from unittest import mock
from django.db import transaction
from checkout.models import (
CheckoutError,
CheckoutAction,
CheckoutState,
ObjectPaymentPlan,
... | 29.856187 | 75 | 0.685225 | 1,702 | 17,854 | 6.954172 | 0.080494 | 0.07342 | 0.107722 | 0.117776 | 0.822575 | 0.802383 | 0.7805 | 0.73099 | 0.704545 | 0.651234 | 0 | 0.013102 | 0.221967 | 17,854 | 597 | 76 | 29.906198 | 0.83896 | 0.063011 | 0 | 0.648594 | 0 | 0 | 0.014686 | 0.002637 | 0 | 0 | 0 | 0 | 0.080321 | 1 | 0.056225 | false | 0 | 0.026104 | 0 | 0.082329 | 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 |
f30ec9cae10c08f1e561305e3776b16f110b958d | 7,450 | py | Python | day1_1.py | v-ek/advofcode | 9d031a8d6b56bd91e84ce302f6de3b88e582a976 | [
"MIT"
] | null | null | null | day1_1.py | v-ek/advofcode | 9d031a8d6b56bd91e84ce302f6de3b88e582a976 | [
"MIT"
] | null | null | null | day1_1.py | v-ek/advofcode | 9d031a8d6b56bd91e84ce302f6de3b88e582a976 | [
"MIT"
] | null | null | null | from __future__ import print_function
string_to_count = '(((())))()((((((((())()(()))(()((((()(()(((()((()((()(()()()()()))(((()(()((((((((((())(()()((())()(((())))()(()(()((()(()))(()()()()((()((()(((()()(((((((()()())()((((()()(((((()(())()(())((())()()))()(((((((())(()())(()(((())(()))((())))(()((()())))()())((((()... | 310.416667 | 7,020 | 0.034765 | 62 | 7,450 | 3.887097 | 0.435484 | 0.13278 | 0.215768 | 0.124481 | 0.174274 | 0.174274 | 0 | 0 | 0 | 0 | 0 | 0.000821 | 0.018523 | 7,450 | 24 | 7,021 | 310.416667 | 0.032139 | 0 | 0 | 0 | 0 | 0 | 0.942558 | 0.939471 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.352941 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f325243fc7d08c7ba946157639cf8a51264e5be2 | 209 | py | Python | moto/logs/__init__.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 5,460 | 2015-01-01T01:11:17.000Z | 2022-03-31T23:45:38.000Z | moto/logs/__init__.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 4,475 | 2015-01-05T19:37:30.000Z | 2022-03-31T13:55:12.000Z | moto/logs/__init__.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 1,831 | 2015-01-14T00:00:44.000Z | 2022-03-31T20:30:04.000Z | from .models import logs_backends
from ..core.models import base_decorator, deprecated_base_decorator
mock_logs = base_decorator(logs_backends)
mock_logs_deprecated = deprecated_base_decorator(logs_backends)
| 34.833333 | 67 | 0.870813 | 28 | 209 | 6.071429 | 0.357143 | 0.305882 | 0.270588 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076555 | 209 | 5 | 68 | 41.8 | 0.880829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
b82c11152f53122f34b77a67d8736bb534044fe9 | 888 | py | Python | code/UI/OpenAPI/python-flask-server/swagger_server/models/__init__.py | ramseylab/RTX | e5782b874021f22cafb21658f8c688a865186eeb | [
"MIT"
] | null | null | null | code/UI/OpenAPI/python-flask-server/swagger_server/models/__init__.py | ramseylab/RTX | e5782b874021f22cafb21658f8c688a865186eeb | [
"MIT"
] | null | null | null | code/UI/OpenAPI/python-flask-server/swagger_server/models/__init__.py | ramseylab/RTX | e5782b874021f22cafb21658f8c688a865186eeb | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
from __future__ import absolute_import
# import models into model package
from swagger_server.models.edge import Edge
from swagger_server.models.edge_attribute import EdgeAttribute
from swagger_server.models.feedback import Feedback
from swagger_server.models.mesh_ngd_response import Mes... | 44.4 | 68 | 0.879505 | 121 | 888 | 6.231405 | 0.280992 | 0.204244 | 0.31565 | 0.427056 | 0.415119 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002454 | 0.082207 | 888 | 19 | 69 | 46.736842 | 0.922699 | 0.066441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b23c559ab700f56a24222a7c42cd8e55ba1a4011 | 7,481 | py | Python | pytimize/programs/tests/linear/test_init.py | TerrayTM/pytimize | 5d3508e8da4d2e6c8e52d3386b580bc300dc52d5 | [
"Apache-2.0"
] | 10 | 2020-02-24T01:52:20.000Z | 2022-03-12T02:50:58.000Z | pytimize/programs/tests/linear/test_init.py | TerrayTM/pytimize | 5d3508e8da4d2e6c8e52d3386b580bc300dc52d5 | [
"Apache-2.0"
] | null | null | null | pytimize/programs/tests/linear/test_init.py | TerrayTM/pytimize | 5d3508e8da4d2e6c8e52d3386b580bc300dc52d5 | [
"Apache-2.0"
] | 2 | 2021-10-03T22:18:47.000Z | 2021-10-03T22:19:27.000Z | import numpy as np
import math
from ... import LinearProgram
from unittest import TestCase, main
class TestInit(TestCase):
def setUp(self):
self.A = np.array([
[1, 2, 3],
[4, 5, 6],
[7, 8, 9]
])
self.b = np.array([6, 15, 24])
self.c = np.array([1... | 44.005882 | 123 | 0.609544 | 1,031 | 7,481 | 4.396702 | 0.109602 | 0.033091 | 0.033091 | 0.050739 | 0.83587 | 0.83587 | 0.833223 | 0.823737 | 0.804986 | 0.775645 | 0 | 0.019373 | 0.241011 | 7,481 | 169 | 124 | 44.266272 | 0.778971 | 0 | 0 | 0.40678 | 0 | 0 | 0.251303 | 0 | 0 | 0 | 0 | 0 | 0.398305 | 1 | 0.042373 | false | 0 | 0.033898 | 0 | 0.084746 | 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 |
b270c251c844dca8d9cf24d5a905a4387cf09b11 | 7,077 | py | Python | doubleml_py_vs_r/tests/test_pliv_pyvsr.py | DoubleML/doubleml-py-vs-r | 82d08f765ee16e323c91258195bae27decd86221 | [
"MIT"
] | 3 | 2021-05-05T08:38:57.000Z | 2021-08-17T13:14:36.000Z | doubleml_py_vs_r/tests/test_pliv_pyvsr.py | DoubleML/doubleml-py-vs-r | 82d08f765ee16e323c91258195bae27decd86221 | [
"MIT"
] | 3 | 2021-05-06T13:25:10.000Z | 2021-09-29T11:14:51.000Z | doubleml_py_vs_r/tests/test_pliv_pyvsr.py | DoubleML/doubleml-py-vs-r | 82d08f765ee16e323c91258195bae27decd86221 | [
"MIT"
] | null | null | null | import numpy as np
import pytest
import math
from sklearn.base import clone
from sklearn.linear_model import LinearRegression
import doubleml as dml
from _utils_pyvsr import export_smpl_split_to_r, r_MLPLIV, \
r_MLPLIV_PARTIAL_X, r_MLPLIV_PARTIAL_Z, r_MLPLIV_PARTIAL_XZ
rpy2 = pytest.importorskip("rpy2")
from rpy... | 32.022624 | 90 | 0.629221 | 996 | 7,077 | 4.027108 | 0.095382 | 0.097731 | 0.094241 | 0.033657 | 0.907255 | 0.859636 | 0.84368 | 0.801296 | 0.776864 | 0.776864 | 0 | 0.015647 | 0.286562 | 7,077 | 220 | 91 | 32.168182 | 0.778768 | 0.043945 | 0 | 0.627586 | 0 | 0 | 0.044277 | 0 | 0 | 0 | 0 | 0 | 0.055172 | 1 | 0.096552 | false | 0 | 0.062069 | 0.013793 | 0.2 | 0.027586 | 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 |
b275d1dfd23a520b62b7b9348871093a5043b1e6 | 130 | py | Python | pgdrive/__init__.py | decisionforce/pgdrive | 19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee | [
"Apache-2.0"
] | 97 | 2020-12-25T06:02:17.000Z | 2022-01-16T06:58:39.000Z | pgdrive/__init__.py | decisionforce/pgdrive | 19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee | [
"Apache-2.0"
] | 192 | 2020-12-25T07:58:17.000Z | 2021-08-28T10:13:59.000Z | pgdrive/__init__.py | decisionforce/pgdrive | 19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee | [
"Apache-2.0"
] | 11 | 2020-12-29T11:23:44.000Z | 2021-12-06T23:25:49.000Z | import pgdrive.register
from pgdrive.envs import PGDriveEnv, TopDownPGDriveEnv, TopDownSingleFramePGDriveEnv, TopDownPGDriveEnvV2
| 43.333333 | 105 | 0.892308 | 11 | 130 | 10.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.069231 | 130 | 2 | 106 | 65 | 0.950413 | 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 |
b2808b96aae7f7b1d8ee5385521c46c558330b28 | 99 | py | Python | quickspy/net/__init__.py | kirte2849/Quickspy | 767d0fb8ded283aa0d8122d77e15dc411f553994 | [
"MIT"
] | 1 | 2020-07-11T13:41:40.000Z | 2020-07-11T13:41:40.000Z | quickspy/net/__init__.py | kirte2849/Quickspy | 767d0fb8ded283aa0d8122d77e15dc411f553994 | [
"MIT"
] | null | null | null | quickspy/net/__init__.py | kirte2849/Quickspy | 767d0fb8ded283aa0d8122d77e15dc411f553994 | [
"MIT"
] | null | null | null | from .netengine import Response
from .netengine import NetEngine
from .urlmanager import UrlManager | 33 | 34 | 0.858586 | 12 | 99 | 7.083333 | 0.416667 | 0.305882 | 0.447059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 99 | 3 | 34 | 33 | 0.965909 | 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 | 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 |
b2ad56ad9dd418278e94f8b87c47e83887f695a4 | 28,415 | py | Python | tests/monitoring/monitoring_service/test_handlers.py | hackaugusto/raiden-services | a25794ee1448534e5234f196b01a9bc13fab7ca0 | [
"MIT"
] | null | null | null | tests/monitoring/monitoring_service/test_handlers.py | hackaugusto/raiden-services | a25794ee1448534e5234f196b01a9bc13fab7ca0 | [
"MIT"
] | null | null | null | tests/monitoring/monitoring_service/test_handlers.py | hackaugusto/raiden-services | a25794ee1448534e5234f196b01a9bc13fab7ca0 | [
"MIT"
] | null | null | null | # pylint: disable=redefined-outer-name
from unittest.mock import Mock, patch
import pytest
from eth_utils import to_checksum_address
from tests.libs.mocks.web3 import Web3Mock
from tests.monitoring.monitoring_service.factories import (
DEFAULT_CHANNEL_IDENTIFIER,
DEFAULT_PARTICIPANT1,
DEFAULT_PARTICIPANT2,... | 36.429487 | 121 | 0.77445 | 3,305 | 28,415 | 6.26112 | 0.076853 | 0.045813 | 0.069782 | 0.037694 | 0.848983 | 0.830764 | 0.818344 | 0.797129 | 0.764413 | 0.744261 | 0 | 0.009679 | 0.163716 | 28,415 | 779 | 122 | 36.476252 | 0.861129 | 0.077565 | 0 | 0.669627 | 0 | 0 | 0.010476 | 0.006485 | 0 | 0 | 0 | 0.001284 | 0.182948 | 1 | 0.055062 | false | 0 | 0.024867 | 0.001776 | 0.085258 | 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 |
a24637c3ebb8c3b8d0752641d8358ed8a1440231 | 26 | py | Python | ephypype/interfaces/__init__.py | wmvanvliet/ephypype | bb4226eda7f892a9564b9503a6ba7d22a46ce2db | [
"BSD-3-Clause"
] | 1 | 2019-09-03T07:31:45.000Z | 2019-09-03T07:31:45.000Z | ephypype/interfaces/__init__.py | davidmeunier79/ephypype | 4ef225f6fa882f62f443bb476811727a4bd2fe55 | [
"BSD-3-Clause"
] | 1 | 2018-09-03T20:08:46.000Z | 2018-09-03T21:00:55.000Z | ephypype/interfaces/__init__.py | davidmeunier79/ephypype | 4ef225f6fa882f62f443bb476811727a4bd2fe55 | [
"BSD-3-Clause"
] | null | null | null | from . import mne # noqa
| 13 | 25 | 0.653846 | 4 | 26 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 26 | 1 | 26 | 26 | 0.894737 | 0.153846 | 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 |
a25b33c74bf4817798abdcbe96b9bcf574dbb9be | 2,644 | py | Python | vggface/resnet50/layers.py | claudiourbina/VGGFace | 362cc8f805c1fd4135fddf8d602026735bcfdf5a | [
"MIT"
] | null | null | null | vggface/resnet50/layers.py | claudiourbina/VGGFace | 362cc8f805c1fd4135fddf8d602026735bcfdf5a | [
"MIT"
] | null | null | null | vggface/resnet50/layers.py | claudiourbina/VGGFace | 362cc8f805c1fd4135fddf8d602026735bcfdf5a | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.keras import backend as K
from tensorflow.keras.layers import (
Layer,
Conv2D,
BatchNormalization,
Activation
)
def conv2d_block(
inp,
filters:list,
kernel_size:tuple,
stage:int,
block:int,
strides:tuple=(2, 2),
use_bias:bool=Fal... | 21.152 | 66 | 0.539334 | 336 | 2,644 | 4.071429 | 0.172619 | 0.081871 | 0.092105 | 0.071637 | 0.811404 | 0.811404 | 0.751462 | 0.714181 | 0.69883 | 0.69883 | 0 | 0.021715 | 0.320726 | 2,644 | 125 | 67 | 21.152 | 0.739978 | 0 | 0 | 0.785714 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017857 | false | 0 | 0.026786 | 0 | 0.0625 | 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 |
a263ac689ab7f1d5e823a75ea35dfd68b19ae412 | 39 | py | Python | expanse_su_estimator/__init__.py | alex-wenzel/expanse-su-estimator | 9616298aa78bf5db7275215a93385e16b3b97720 | [
"MIT"
] | null | null | null | expanse_su_estimator/__init__.py | alex-wenzel/expanse-su-estimator | 9616298aa78bf5db7275215a93385e16b3b97720 | [
"MIT"
] | null | null | null | expanse_su_estimator/__init__.py | alex-wenzel/expanse-su-estimator | 9616298aa78bf5db7275215a93385e16b3b97720 | [
"MIT"
] | null | null | null | from .sbatch_parser import SBATCHScript | 39 | 39 | 0.897436 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.944444 | 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 |
a2c369352f3aa7bd49a2dabacd0d34b033718649 | 157 | py | Python | napari_zelda/_reader.py | DragaDoncila/napari-zelda | 78f8d25fbc04bc53493f186663c029e6469af7de | [
"BSD-3-Clause"
] | 9 | 2021-09-10T18:16:31.000Z | 2022-02-27T09:56:40.000Z | napari_zelda/_reader.py | DragaDoncila/napari-zelda | 78f8d25fbc04bc53493f186663c029e6469af7de | [
"BSD-3-Clause"
] | 1 | 2021-11-18T17:47:01.000Z | 2021-11-18T17:50:57.000Z | napari_zelda/_reader.py | DragaDoncila/napari-zelda | 78f8d25fbc04bc53493f186663c029e6469af7de | [
"BSD-3-Clause"
] | 2 | 2021-12-21T00:08:20.000Z | 2022-01-30T19:50:57.000Z | from napari_plugin_engine import napari_hook_implementation
@napari_hook_implementation
def napari_get_reader():
pass
def reader_function():
pass
| 15.7 | 59 | 0.815287 | 20 | 157 | 5.95 | 0.6 | 0.168067 | 0.403361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140127 | 157 | 9 | 60 | 17.444444 | 0.881481 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.166667 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a2dfa34834d519f7b23550e498f3b027300e1b0f | 2,247 | py | Python | UI/app/models.py | sanilrod/Contactless-Attendence-System | a0246047df139807dd636ca102b8151c456292ae | [
"MIT"
] | 1 | 2021-05-30T11:15:39.000Z | 2021-05-30T11:15:39.000Z | UI/app/models.py | sanilrod/Contactless-Attendence-System | a0246047df139807dd636ca102b8151c456292ae | [
"MIT"
] | null | null | null | UI/app/models.py | sanilrod/Contactless-Attendence-System | a0246047df139807dd636ca102b8151c456292ae | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
# Create your models here.
class Teacher(models.Model):
name = models.CharField(max_length=255)
face_image1 = models.ImageField(max_length=255,upload_to="media/uploaded_images/")
face_image2 = models.ImageField(max_length=255,blank=T... | 40.854545 | 99 | 0.749889 | 310 | 2,247 | 5.232258 | 0.245161 | 0.083231 | 0.110974 | 0.177559 | 0.823674 | 0.789766 | 0.72873 | 0.685573 | 0.685573 | 0.685573 | 0 | 0.02459 | 0.131286 | 2,247 | 54 | 100 | 41.611111 | 0.806352 | 0.010681 | 0 | 0.384615 | 0 | 0 | 0.072973 | 0.02973 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.025641 | 0.051282 | 0.076923 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
0c2eaf6aa6156fc340f9372f3679d9e31835edb0 | 34 | py | Python | parser/calc/__init__.py | tehmaze/parser | ccc69236304b2f00671f14c62433e8830b838101 | [
"MIT"
] | 2 | 2019-02-02T06:35:28.000Z | 2019-03-08T07:22:58.000Z | parser/calc/__init__.py | tehmaze/parser | ccc69236304b2f00671f14c62433e8830b838101 | [
"MIT"
] | null | null | null | parser/calc/__init__.py | tehmaze/parser | ccc69236304b2f00671f14c62433e8830b838101 | [
"MIT"
] | null | null | null | from parser.calc.base import calc
| 17 | 33 | 0.823529 | 6 | 34 | 4.666667 | 0.833333 | 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 |
0c5d3cd18109e9c58cdcb4789f23f670f1b0778f | 27 | py | Python | pbj/electrostatics/__init__.py | bem4solvation/pbj | 4fa9c111596359192539787ae241a79d4316b15b | [
"MIT"
] | null | null | null | pbj/electrostatics/__init__.py | bem4solvation/pbj | 4fa9c111596359192539787ae241a79d4316b15b | [
"MIT"
] | 1 | 2022-02-18T17:34:37.000Z | 2022-02-18T17:34:37.000Z | pbj/electrostatics/__init__.py | bem4solvation/pbj | 4fa9c111596359192539787ae241a79d4316b15b | [
"MIT"
] | null | null | null | from .solute import Solute
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 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 |
a73d5d520d3f591e84e0442f600716d1c8d127ab | 5,940 | py | Python | tests/odm/query/test_update.py | yo-mo/beanie | 1641dd81be64dd1dc11af667deb2e50feb2de2be | [
"Apache-2.0"
] | 574 | 2021-03-16T12:49:12.000Z | 2022-03-30T11:45:33.000Z | tests/odm/query/test_update.py | yo-mo/beanie | 1641dd81be64dd1dc11af667deb2e50feb2de2be | [
"Apache-2.0"
] | 148 | 2021-03-16T22:02:37.000Z | 2022-03-31T21:04:47.000Z | tests/odm/query/test_update.py | yo-mo/beanie | 1641dd81be64dd1dc11af667deb2e50feb2de2be | [
"Apache-2.0"
] | 53 | 2021-03-16T21:53:14.000Z | 2022-03-31T12:51:51.000Z | import asyncio
import pytest
from beanie.odm.operators.update.general import Set, Max
from tests.odm.models import Sample
async def test_update_query():
q = (
Sample.find_many(Sample.integer == 1)
.update(Set({Sample.integer: 10}))
.update_query
)
assert q == {"$set": {"integer":... | 30.152284 | 72 | 0.655556 | 782 | 5,940 | 4.772379 | 0.085678 | 0.114952 | 0.105038 | 0.123258 | 0.903537 | 0.870043 | 0.845391 | 0.823151 | 0.781083 | 0.781083 | 0 | 0.032674 | 0.216835 | 5,940 | 196 | 73 | 30.306122 | 0.769561 | 0.002357 | 0 | 0.639752 | 0 | 0 | 0.013678 | 0 | 0 | 0 | 0 | 0 | 0.180124 | 1 | 0 | false | 0 | 0.024845 | 0 | 0.024845 | 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 |
a7767bbee007cafd9951a8eea161cb8ccd9a83c0 | 183 | py | Python | tpudiepie/__init__.py | jeffhsu3/tpudiepie | ff3257d1dc5898cd1520b524885f0fec0cde378c | [
"BSD-2-Clause"
] | null | null | null | tpudiepie/__init__.py | jeffhsu3/tpudiepie | ff3257d1dc5898cd1520b524885f0fec0cde378c | [
"BSD-2-Clause"
] | null | null | null | tpudiepie/__init__.py | jeffhsu3/tpudiepie | ff3257d1dc5898cd1520b524885f0fec0cde378c | [
"BSD-2-Clause"
] | null | null | null | from .tpu import get_tpu, get_tpus, format, format_widths, format_headers, create_tpu_command, delete_tpu_command, reimage_tpu_command, logger
from . import tpu
from . import program
| 45.75 | 142 | 0.830601 | 28 | 183 | 5.071429 | 0.5 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10929 | 183 | 3 | 143 | 61 | 0.871166 | 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 |
a7b5c2a81e3aae5330496b2d1c0eef731c3b700b | 95 | py | Python | discard/__init__.py | JesseWeinstein/discard | 40d13d7d9beb7b08367f3aaad53e34ecee442eb2 | [
"0BSD"
] | 10 | 2021-02-03T02:54:39.000Z | 2022-03-30T17:32:02.000Z | discard/__init__.py | JesseWeinstein/discard | 40d13d7d9beb7b08367f3aaad53e34ecee442eb2 | [
"0BSD"
] | 11 | 2021-02-01T23:04:26.000Z | 2022-02-11T14:44:55.000Z | discard/__init__.py | JesseWeinstein/discard | 40d13d7d9beb7b08367f3aaad53e34ecee442eb2 | [
"0BSD"
] | 1 | 2021-04-12T22:42:59.000Z | 2021-04-12T22:42:59.000Z | from discard.discard import Discard
from discard.cli import cli
import discard.reader as reader | 31.666667 | 35 | 0.852632 | 15 | 95 | 5.4 | 0.4 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 3 | 36 | 31.666667 | 0.964286 | 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 |
a7baf1c9256ba6de69e97ffb2b54c5acd739307c | 29 | py | Python | src/daos/base_dao/__init__.py | taonguyen740/flask_based_3tier_framework | f02e492eff0206e661925dddcf0ba978ead38b5e | [
"MIT"
] | null | null | null | src/daos/base_dao/__init__.py | taonguyen740/flask_based_3tier_framework | f02e492eff0206e661925dddcf0ba978ead38b5e | [
"MIT"
] | null | null | null | src/daos/base_dao/__init__.py | taonguyen740/flask_based_3tier_framework | f02e492eff0206e661925dddcf0ba978ead38b5e | [
"MIT"
] | null | null | null | from .base_dao import BaseDao | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7c5a95c3d907e63d1110d6428aaaa3e7e02f5ca | 48 | py | Python | losses/__init__.py | janhenrikbern/information_gain | 69880f8a5ab83c04a4ae99878752c60edbac92ce | [
"MIT"
] | null | null | null | losses/__init__.py | janhenrikbern/information_gain | 69880f8a5ab83c04a4ae99878752c60edbac92ce | [
"MIT"
] | null | null | null | losses/__init__.py | janhenrikbern/information_gain | 69880f8a5ab83c04a4ae99878752c60edbac92ce | [
"MIT"
] | null | null | null | from .deschaintre import SVBRDFL1Loss, MixedLoss | 48 | 48 | 0.875 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 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 |
a7d339c931675592c1cfee92a95a4a6fa71b7450 | 148 | py | Python | src/syn_reports/commands/benefactor_permissions_report/__init__.py | pcstout/syn-reports | 9b2692fbc38e5596e62d8a415536483f2d05ee78 | [
"Apache-2.0"
] | 1 | 2020-02-27T02:15:38.000Z | 2020-02-27T02:15:38.000Z | src/syn_reports/commands/benefactor_permissions_report/__init__.py | pcstout/syn-reports | 9b2692fbc38e5596e62d8a415536483f2d05ee78 | [
"Apache-2.0"
] | 7 | 2020-03-24T18:21:31.000Z | 2021-06-22T14:22:11.000Z | src/syn_reports/commands/benefactor_permissions_report/__init__.py | pcstout/syn-reports | 9b2692fbc38e5596e62d8a415536483f2d05ee78 | [
"Apache-2.0"
] | 2 | 2020-03-02T21:30:50.000Z | 2020-03-13T22:03:43.000Z | from .cli import create, execute
from .benefactor_permissions_report import BenefactorPermissionsReport
from .benefactor_view import BenefactorView
| 37 | 70 | 0.885135 | 16 | 148 | 8 | 0.6875 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087838 | 148 | 3 | 71 | 49.333333 | 0.948148 | 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 |
ac0ebc4426db7df3387de85547ff42e8ce09c1f7 | 62 | py | Python | simplepy/convert.py | Kevys/python-games | 4949c122c9ccc69166afd106bedf8d618fe0f12f | [
"MIT"
] | 1 | 2021-12-01T13:38:28.000Z | 2021-12-01T13:38:28.000Z | simplepy/convert.py | Kevys/python-games | 4949c122c9ccc69166afd106bedf8d618fe0f12f | [
"MIT"
] | null | null | null | simplepy/convert.py | Kevys/python-games | 4949c122c9ccc69166afd106bedf8d618fe0f12f | [
"MIT"
] | null | null | null | def convert(value, to):
value = to(value)
return value | 20.666667 | 23 | 0.645161 | 9 | 62 | 4.444444 | 0.555556 | 0.35 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241935 | 62 | 3 | 24 | 20.666667 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ac46ab152fa8aff7270233b85e7d243eb1d0b69a | 7,171 | py | Python | tests/test_34_population.py | skanct/pysaml2 | 0c1e26a6dd8759962857a30ebd67f63fe9e881ee | [
"Apache-2.0"
] | 249 | 2018-03-01T09:47:04.000Z | 2022-03-26T04:51:26.000Z | tests/test_34_population.py | skanct/pysaml2 | 0c1e26a6dd8759962857a30ebd67f63fe9e881ee | [
"Apache-2.0"
] | 416 | 2018-02-21T15:18:35.000Z | 2022-03-04T16:59:36.000Z | tests/test_34_population.py | skanct/pysaml2 | 0c1e26a6dd8759962857a30ebd67f63fe9e881ee | [
"Apache-2.0"
] | 203 | 2018-02-21T13:53:12.000Z | 2022-03-08T22:22:17.000Z | #!/usr/bin/env python
from saml2.ident import code
from saml2.saml import NAMEID_FORMAT_TRANSIENT, NameID
from saml2.population import Population
from saml2.time_util import in_a_while
IDP_ONE = "urn:mace:example.com:saml:one:idp"
IDP_OTHER = "urn:mace:example.com:saml:other:idp"
nid = NameID(name_qualifier="foo", f... | 39.618785 | 73 | 0.549017 | 751 | 7,171 | 5.029294 | 0.126498 | 0.107493 | 0.021181 | 0.025417 | 0.864972 | 0.842997 | 0.828171 | 0.828171 | 0.806725 | 0.736034 | 0 | 0.004613 | 0.33496 | 7,171 | 180 | 74 | 39.838889 | 0.787377 | 0.047692 | 0 | 0.653061 | 0 | 0 | 0.151737 | 0.046767 | 0 | 0 | 0 | 0 | 0.244898 | 1 | 0.040816 | false | 0 | 0.027211 | 0.006803 | 0.081633 | 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 |
3be0421755e994d936c91e19b759ee0f164a1731 | 90 | py | Python | cvstudio/decor/__init__.py | haruiz/PytorchCvStudio | ccf79dd0cc0d61f3fd01b1b5d96f7cda7b681eef | [
"MIT"
] | 32 | 2019-10-31T03:10:52.000Z | 2020-12-23T11:50:53.000Z | cvstudio/decor/__init__.py | haruiz/CvStudio | ccf79dd0cc0d61f3fd01b1b5d96f7cda7b681eef | [
"MIT"
] | 19 | 2019-10-31T15:06:05.000Z | 2020-06-15T02:21:55.000Z | cvstudio/decor/__init__.py | haruiz/PytorchCvStudio | ccf79dd0cc0d61f3fd01b1b5d96f7cda7b681eef | [
"MIT"
] | 8 | 2019-10-31T03:32:50.000Z | 2020-07-17T20:47:37.000Z | from .gui_exception_decor import gui_exception
from .work_exception import work_exception
| 30 | 46 | 0.888889 | 13 | 90 | 5.769231 | 0.461538 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 47 | 45 | 0.914634 | 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 |
ce105ae4204a2601fa170d75f25d93ddef6de8b7 | 71 | py | Python | tests/__init__.py | gulaki/code-timer | 979eacc8fb98b3f6fef46b1099492aa081c9d619 | [
"MIT"
] | 1 | 2018-03-10T08:39:48.000Z | 2018-03-10T08:39:48.000Z | tests/__init__.py | gulaki/code-timer | 979eacc8fb98b3f6fef46b1099492aa081c9d619 | [
"MIT"
] | 4 | 2018-03-07T13:38:24.000Z | 2018-03-15T04:55:10.000Z | tests/__init__.py | gulaki/code-timer | 979eacc8fb98b3f6fef46b1099492aa081c9d619 | [
"MIT"
] | 2 | 2018-03-07T13:39:06.000Z | 2018-03-10T08:56:22.000Z | from test_getsize import test_getsize
from test_stats import test_stats | 35.5 | 37 | 0.901408 | 12 | 71 | 5 | 0.416667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 2 | 38 | 35.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce277212d7ea05b697c6518c2a9685d6dee60fa8 | 654 | py | Python | training_gym/level.py | TrackerSB/reinforcement-learning | 83f89e59b95a007332bdf733f77715843f9159d9 | [
"MIT"
] | null | null | null | training_gym/level.py | TrackerSB/reinforcement-learning | 83f89e59b95a007332bdf733f77715843f9159d9 | [
"MIT"
] | null | null | null | training_gym/level.py | TrackerSB/reinforcement-learning | 83f89e59b95a007332bdf733f77715843f9159d9 | [
"MIT"
] | null | null | null | from enum import Enum
class Level(Enum):
GRASS = 0
PURE = 1
def vae(self):
from os.path import join, dirname
if self is Level.GRASS:
return join(dirname(__file__), "..", "models", "lines-vae.pkl")
elif self is Level.PURE:
return join(dirname(__file__), "..... | 31.142857 | 87 | 0.585627 | 83 | 654 | 4.421687 | 0.325301 | 0.179837 | 0.119891 | 0.228883 | 0.784741 | 0.784741 | 0.784741 | 0.784741 | 0.784741 | 0.784741 | 0 | 0.004202 | 0.272171 | 654 | 21 | 87 | 31.142857 | 0.766807 | 0 | 0 | 0.375 | 0 | 0 | 0.164886 | 0.073282 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.1875 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.