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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7759aa31b975fb7ecaff6f22c48dd6e5db87d394 | 9,662 | py | Python | python/test/cambi_test.py | lance-lmwang/vmaf | aa1dd0b3b2c3bfc324f91911197dfa9d42a3e3da | [
"BSD-2-Clause-Patent"
] | 1 | 2022-01-10T10:14:01.000Z | 2022-01-10T10:14:01.000Z | python/test/cambi_test.py | REO-RAO/vmaf | e768a2be57116c76bf33be7f8ee3566d8b774664 | [
"BSD-2-Clause-Patent"
] | null | null | null | python/test/cambi_test.py | REO-RAO/vmaf | e768a2be57116c76bf33be7f8ee3566d8b774664 | [
"BSD-2-Clause-Patent"
] | null | null | null | import unittest
from test.testutil import set_default_576_324_videos_for_testing, \
set_default_576_324_videos_for_testing_scaled, \
set_default_cambi_video_for_testing_b, \
set_default_cambi_video_for_testing_10b
from vmaf.core.cambi_feature_extractor import CambiFeatureExtractor, CambiFullReferenceFeatur... | 41.114894 | 103 | 0.63165 | 994 | 9,662 | 5.809859 | 0.103622 | 0.06303 | 0.077922 | 0.09039 | 0.885022 | 0.877056 | 0.877056 | 0.854892 | 0.838961 | 0.823377 | 0 | 0.06355 | 0.285034 | 9,662 | 235 | 104 | 41.114894 | 0.772438 | 0.060443 | 0 | 0.702128 | 0 | 0 | 0.070491 | 0.054054 | 0 | 0 | 0 | 0 | 0.12766 | 1 | 0.069149 | false | 0 | 0.026596 | 0 | 0.106383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
62186034110bd0dc841c03d284ea0e41559f6a04 | 13,009 | py | Python | analysis_engine/td/fetch_api.py | virdesai/stock-analysis-engine | 0ca501277c632150717ca499121a34f8f8c71ccb | [
"Apache-2.0"
] | 819 | 2018-09-16T20:33:11.000Z | 2022-03-30T21:18:23.000Z | analysis_engine/td/fetch_api.py | gvpathi/stock-analysis-engine | 0ca501277c632150717ca499121a34f8f8c71ccb | [
"Apache-2.0"
] | 14 | 2018-09-16T20:52:25.000Z | 2020-09-06T12:36:36.000Z | analysis_engine/td/fetch_api.py | gvpathi/stock-analysis-engine | 0ca501277c632150717ca499121a34f8f8c71ccb | [
"Apache-2.0"
] | 226 | 2018-09-16T20:04:32.000Z | 2022-03-31T01:41:14.000Z | """
Fetch API calls wrapping Tradier
Supported environment variables:
::
# verbose logging in this module
export DEBUG_FETCH=1
"""
import json
import datetime
import requests
import pandas as pd
import analysis_engine.consts as ae_consts
import analysis_engine.utils as ae_utils
import analysis_engine.optio... | 30.97381 | 78 | 0.52456 | 1,470 | 13,009 | 4.384354 | 0.144898 | 0.026067 | 0.024825 | 0.014895 | 0.86796 | 0.86796 | 0.86796 | 0.851202 | 0.851202 | 0.851202 | 0 | 0.005812 | 0.378353 | 13,009 | 419 | 79 | 31.047733 | 0.791146 | 0.138366 | 0 | 0.888502 | 0 | 0 | 0.098384 | 0.004257 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006969 | false | 0 | 0.038328 | 0 | 0.066202 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6245bf4253a638bf3f0f95b06c950d30bace556e | 2,800 | py | Python | src/genie/libs/parser/iosxe/tests/ShowL2vpnEvpnDefaultGatewayDetail/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowL2vpnEvpnDefaultGatewayDetail/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowL2vpnEvpnDefaultGatewayDetail/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | expected_output = {
'evi': {
103: {
'bd_id': {
103: {
'dg_addr': {
'10.3.1.254': {
'source': {
'V:2000103 Vlan103': {
'eth_tag': 0,
... | 40.57971 | 65 | 0.179643 | 141 | 2,800 | 3.432624 | 0.234043 | 0.132231 | 0.115702 | 0.165289 | 0.913223 | 0.913223 | 0.913223 | 0.913223 | 0.913223 | 0.913223 | 0 | 0.277124 | 0.726786 | 2,800 | 68 | 66 | 41.176471 | 0.355556 | 0 | 0 | 0.544118 | 0 | 0 | 0.177143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 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 | 10 |
624ab486d3696f1c0b52955f795aff0fc7862674 | 13,040 | py | Python | lang/python/github/com/metaprov/modelaapi/services/featurehistogram/v1/featurehistogram_pb2_grpc.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 5 | 2022-02-18T03:40:10.000Z | 2022-03-01T16:11:24.000Z | lang/python/github/com/metaprov/modelaapi/services/featurehistogram/v1/featurehistogram_pb2_grpc.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 1 | 2022-01-07T19:59:25.000Z | 2022-02-04T01:21:14.000Z | lang/python/github/com/metaprov/modelaapi/services/featurehistogram/v1/featurehistogram_pb2_grpc.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 1 | 2022-03-25T10:21:43.000Z | 2022-03-25T10:21:43.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from github.com.metaprov.modelaapi.services.featurehistogram.v1 import featurehistogram_pb2 as github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_feature... | 65.527638 | 203 | 0.768635 | 1,233 | 13,040 | 7.629359 | 0.089213 | 0.125226 | 0.039545 | 0.049431 | 0.876475 | 0.876475 | 0.876475 | 0.850749 | 0.837036 | 0.802381 | 0 | 0.006982 | 0.176227 | 13,040 | 198 | 204 | 65.858586 | 0.86874 | 0.052607 | 0 | 0.493827 | 1 | 0 | 0.119736 | 0.099454 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.012346 | 0.030864 | 0.135802 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
627e832b23dee0b70fbc890f1cefe047d99bb161 | 9,951 | py | Python | src/gmapscrawler/gmapscrawler.py | MindaugasVaitkus2/GMapsCrawler-DataCrawlerForGoogleMapsSearches | e39e125f2e746e2fd5e98ec186e63b89172ae3a4 | [
"MIT"
] | 1 | 2020-12-26T20:47:25.000Z | 2020-12-26T20:47:25.000Z | src/gmapscrawler/gmapscrawler.py | MindaugasVaitkus2/GMapsCrawler-DataCrawlerForGoogleMapsSearches | e39e125f2e746e2fd5e98ec186e63b89172ae3a4 | [
"MIT"
] | null | null | null | src/gmapscrawler/gmapscrawler.py | MindaugasVaitkus2/GMapsCrawler-DataCrawlerForGoogleMapsSearches | e39e125f2e746e2fd5e98ec186e63b89172ae3a4 | [
"MIT"
] | null | null | null |
import os
import time
from . browserhandler import BrowserHandler
from . gmapshandler import GMapsHandler
from . gmapsurlassembler import GMapsURLAssembler
from selenium import webdriver
from selenium.common import exceptions
from selenium.webdriver.chrome.options import Options
from selenium.common import exception... | 37.130597 | 109 | 0.544468 | 951 | 9,951 | 5.443743 | 0.128286 | 0.05988 | 0.050222 | 0.055051 | 0.821325 | 0.782113 | 0.757582 | 0.757582 | 0.72938 | 0.717983 | 0 | 0.003048 | 0.37353 | 9,951 | 268 | 110 | 37.130597 | 0.827398 | 0.076374 | 0 | 0.755682 | 0 | 0 | 0.088804 | 0.033315 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028409 | false | 0.011364 | 0.056818 | 0 | 0.102273 | 0.096591 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
655f3c469264ced3d7bfad8f26b34c67942d97b9 | 52 | py | Python | timefred/_dev/__init__.py | giladbarnea/timefred | 36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60 | [
"MIT"
] | null | null | null | timefred/_dev/__init__.py | giladbarnea/timefred | 36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60 | [
"MIT"
] | null | null | null | timefred/_dev/__init__.py | giladbarnea/timefred | 36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60 | [
"MIT"
] | null | null | null | from .generate_completion import generate_completion | 52 | 52 | 0.923077 | 6 | 52 | 7.666667 | 0.666667 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.938776 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
65c366f37b482b122ba32d1d98c323c67fe734f2 | 206 | py | Python | hTools2.roboFontExt/lib/Scripts/current font/groups/print.py | frankrolf/hTools2_extension | 9d73b8640c85209853a72f8d4b167768de5e0d60 | [
"BSD-3-Clause"
] | 2 | 2019-12-18T16:12:07.000Z | 2019-12-21T01:19:23.000Z | hTools2.roboFontExt/lib/Scripts/current font/groups/print.py | frankrolf/hTools2_extension | 9d73b8640c85209853a72f8d4b167768de5e0d60 | [
"BSD-3-Clause"
] | null | null | null | hTools2.roboFontExt/lib/Scripts/current font/groups/print.py | frankrolf/hTools2_extension | 9d73b8640c85209853a72f8d4b167768de5e0d60 | [
"BSD-3-Clause"
] | null | null | null | # [h] print groups in different formats
import hTools2.dialogs.font.groups_print
import importlib
importlib.reload(hTools2.dialogs.font.groups_print)
hTools2.dialogs.font.groups_print.printGroupsDialog()
| 25.75 | 53 | 0.839806 | 27 | 206 | 6.296296 | 0.481481 | 0.247059 | 0.317647 | 0.423529 | 0.511765 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015707 | 0.072816 | 206 | 7 | 54 | 29.428571 | 0.874346 | 0.179612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.75 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 9 |
0292a35916da2086b366f62a33975468098cbec7 | 12,339 | py | Python | oeshoot/neuralnetwork/test/test_feedforward_network.py | antonior92/oe-multiple-shooting | 49479d13fbb618097a3f881bb01b1a6d61d8c3db | [
"MIT"
] | 2 | 2019-03-05T16:46:45.000Z | 2020-05-02T15:33:02.000Z | oeshoot/neuralnetwork/test/test_feedforward_network.py | antonior92/oe-multiple-shooting | 49479d13fbb618097a3f881bb01b1a6d61d8c3db | [
"MIT"
] | 1 | 2019-03-26T11:25:38.000Z | 2019-12-27T08:43:50.000Z | oeshoot/neuralnetwork/test/test_feedforward_network.py | antonior92/oe-multiple-shooting | 49479d13fbb618097a3f881bb01b1a6d61d8c3db | [
"MIT"
] | 1 | 2019-03-05T08:54:40.000Z | 2019-03-05T08:54:40.000Z | from __future__ import division, print_function, absolute_import
import numpy as np
from oeshoot.neuralnetwork import (FeedforwardNetwork, Logistic,
HyperbolicTangent, Identity)
from numpy.testing import (TestCase, assert_array_almost_equal,
assert_array_eq... | 36.291176 | 100 | 0.444282 | 1,291 | 12,339 | 4.099923 | 0.112316 | 0.009824 | 0.048177 | 0.062347 | 0.815228 | 0.771585 | 0.750425 | 0.743624 | 0.722275 | 0.687512 | 0 | 0.174498 | 0.43942 | 12,339 | 339 | 101 | 36.39823 | 0.590719 | 0 | 0 | 0.731061 | 0 | 0 | 0.000486 | 0 | 0 | 0 | 0 | 0 | 0.189394 | 1 | 0.060606 | false | 0 | 0.018939 | 0.015152 | 0.113636 | 0.003788 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
02a53590347033ae9130fd4f499d43a20da025ff | 117,806 | py | Python | pyidf/pumps.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 19 | 2015-12-08T23:33:51.000Z | 2022-01-31T04:41:10.000Z | pyidf/pumps.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 2 | 2019-10-04T10:57:00.000Z | 2021-10-01T06:46:17.000Z | pyidf/pumps.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 7 | 2015-11-04T02:25:01.000Z | 2021-12-08T03:14:28.000Z | """ Data objects in group "Pumps"
"""
from collections import OrderedDict
import logging
from pyidf.helper import DataObject
logger = logging.getLogger("pyidf")
logger.addHandler(logging.NullHandler())
class PumpVariableSpeed(DataObject):
""" Corresponds to IDD object `Pump:VariableSpeed`
This pump mo... | 39.360508 | 115 | 0.477777 | 11,338 | 117,806 | 4.848915 | 0.024608 | 0.026047 | 0.023573 | 0.034051 | 0.956764 | 0.94274 | 0.937701 | 0.932626 | 0.930335 | 0.922295 | 0 | 0.008368 | 0.44103 | 117,806 | 2,992 | 116 | 39.373663 | 0.826515 | 0.295885 | 0 | 0.911458 | 0 | 0 | 0.237276 | 0.021821 | 0 | 0 | 0 | 0 | 0 | 1 | 0.134673 | false | 0 | 0.002232 | 0 | 0.212798 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
02cbe3f934ab93c9990e763d5d1665f1199b12b8 | 41,466 | py | Python | axes/tests.py | seatme/django-axes | 5bfa1601e0853f8d970f281485ca55ca7fedd3b0 | [
"MIT"
] | null | null | null | axes/tests.py | seatme/django-axes | 5bfa1601e0853f8d970f281485ca55ca7fedd3b0 | [
"MIT"
] | 1 | 2018-05-29T23:29:43.000Z | 2018-05-29T23:29:43.000Z | axes/tests.py | seatme/django-axes | 5bfa1601e0853f8d970f281485ca55ca7fedd3b0 | [
"MIT"
] | null | null | null | import random
import string
import time
import json
import datetime
from hashlib import md5
from mock import patch
from django.conf import settings
from django.test import TestCase
from django.contrib.auth.models import User
from django.core.urlresolvers import NoReverseMatch
from django.core.urlresolvers import reve... | 36.341805 | 119 | 0.639005 | 5,514 | 41,466 | 4.538992 | 0.072361 | 0.030206 | 0.038037 | 0.031884 | 0.800384 | 0.784961 | 0.760308 | 0.751199 | 0.722631 | 0.703692 | 0 | 0.025175 | 0.262384 | 41,466 | 1,140 | 120 | 36.373684 | 0.793108 | 0.147012 | 0 | 0.675225 | 0 | 0.008986 | 0.136184 | 0.045223 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.094994 | false | 0.073171 | 0.025674 | 0 | 0.15276 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
02df06642c85ea5a6c06f367e217604da5a33a29 | 19,563 | py | Python | parser/fase2/team12/src/VARIABLES/Declaracion_Variable.py | Josue-Zea/tytus | f9e4be9a8c03eb698fade7a748972e4f52d46685 | [
"MIT"
] | 35 | 2020-12-07T03:11:43.000Z | 2021-04-15T17:38:16.000Z | parser/fase2/team12/src/VARIABLES/Declaracion_Variable.py | Josue-Zea/tytus | f9e4be9a8c03eb698fade7a748972e4f52d46685 | [
"MIT"
] | 47 | 2020-12-09T01:29:09.000Z | 2021-01-13T05:37:50.000Z | parser/fase2/team12/src/VARIABLES/Declaracion_Variable.py | Josue-Zea/tytus | f9e4be9a8c03eb698fade7a748972e4f52d46685 | [
"MIT"
] | 556 | 2020-12-07T03:13:31.000Z | 2021-06-17T17:41:10.000Z | import sys, os.path
nodo_dir = (os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) + '\\AST\\')
sys.path.append(nodo_dir)
c3d_dir = (os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) + '\\C3D\\')
sys.path.append(c3d_dir)
entorno_dir = (os.path.abspath(os.path.join(os.path.dirname(__file__), '... | 37.333969 | 94 | 0.477585 | 1,223 | 19,563 | 7.528209 | 0.077678 | 0.038232 | 0.085044 | 0.112958 | 0.90214 | 0.878028 | 0.866949 | 0.847833 | 0.847833 | 0.769632 | 0 | 0.003815 | 0.463988 | 19,563 | 524 | 95 | 37.333969 | 0.874213 | 0.016306 | 0 | 0.882006 | 0 | 0 | 0.029702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011799 | false | 0.132743 | 0.026549 | 0 | 0.168142 | 0.038348 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
b82a9211faeaa7341e48b2280d5a0f4571d316c4 | 168 | py | Python | tools/__init__.py | rorschach122/ConvenientCodes | 81638273e80e17aefd372500c624830805ccdb7d | [
"MIT"
] | null | null | null | tools/__init__.py | rorschach122/ConvenientCodes | 81638273e80e17aefd372500c624830805ccdb7d | [
"MIT"
] | null | null | null | tools/__init__.py | rorschach122/ConvenientCodes | 81638273e80e17aefd372500c624830805ccdb7d | [
"MIT"
] | null | null | null | from .pytoune_plugins import TensorboardX
# from general import mkdir, seed_everything, submit_to_grid
from .general import mkdir, save_dot, cycle
from . import pytorch | 42 | 60 | 0.833333 | 24 | 168 | 5.625 | 0.666667 | 0.162963 | 0.251852 | 0.325926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 168 | 4 | 61 | 42 | 0.912162 | 0.345238 | 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 | 1 | 0 | 0 | 7 |
b83d87e8aa013b31e18831d3445eb3e27a5fda2e | 114 | py | Python | decrypt/scrape_parse/__init__.py | AndrewWren/decrypt | 09cf541665b827aca590a4ea468a9845b6242655 | [
"CC-BY-4.0"
] | null | null | null | decrypt/scrape_parse/__init__.py | AndrewWren/decrypt | 09cf541665b827aca590a4ea468a9845b6242655 | [
"CC-BY-4.0"
] | null | null | null | decrypt/scrape_parse/__init__.py | AndrewWren/decrypt | 09cf541665b827aca590a4ea468a9845b6242655 | [
"CC-BY-4.0"
] | null | null | null | from .guardian_load import load_guardian_splits, load_guardian_splits_disjoint, load_guardian_splits_disjoint_hash | 114 | 114 | 0.929825 | 16 | 114 | 6 | 0.4375 | 0.375 | 0.5625 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04386 | 114 | 1 | 114 | 114 | 0.880734 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
b85302fc211fbead26b45331437d9eac4ce46653 | 309,821 | py | Python | dlkit/abstract_osid/learning/sessions.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/abstract_osid/learning/sessions.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/abstract_osid/learning/sessions.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """Implementations of learning abstract base class sessions."""
# pylint: disable=invalid-name
# Method names comply with OSID specification.
# pylint: disable=no-init
# Abstract classes do not define __init__.
# pylint: disable=too-few-public-methods
# Some interfaces are specified as 'markers' and include... | 38.207054 | 203 | 0.661692 | 34,779 | 309,821 | 5.783893 | 0.020185 | 0.051442 | 0.041162 | 0.059684 | 0.936925 | 0.921117 | 0.903041 | 0.88337 | 0.866125 | 0.85324 | 0 | 0.000034 | 0.238451 | 309,821 | 8,108 | 204 | 38.211766 | 0.852533 | 0.726297 | 0 | 0.766691 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2972 | false | 0.112706 | 0.000718 | 0 | 0.590093 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
b86abb5ba75a48884cb1eb70a6dd79ca61e08f77 | 5,735 | py | Python | afnumpy/core/dtypes.py | FilipeMaia/afnumpy | 11958f501f7ddeb88915a44d0fd4914e1779e7dd | [
"BSD-2-Clause"
] | 31 | 2015-06-16T17:17:06.000Z | 2021-01-03T16:20:23.000Z | afnumpy/core/dtypes.py | daurer/afnumpy | 83f529eab7cb0ba49101aa5869059ac38f457e36 | [
"BSD-2-Clause"
] | 33 | 2015-05-14T18:03:43.000Z | 2019-09-23T20:02:45.000Z | afnumpy/core/dtypes.py | daurer/afnumpy | 83f529eab7cb0ba49101aa5869059ac38f457e36 | [
"BSD-2-Clause"
] | 13 | 2015-06-16T17:17:09.000Z | 2021-11-06T22:46:15.000Z | import numpy
import afnumpy
import numbers
class int64(numpy.int64):
def __new__(cls, x=0):
if isinstance(x, afnumpy.ndarray):
return x.astype(cls)
elif isinstance(x, numbers.Number):
return numpy.int64(x)
else:
return afnumpy.array(x).astype(cls)
class... | 28.964646 | 83 | 0.58762 | 714 | 5,735 | 4.586835 | 0.077031 | 0.134351 | 0.116031 | 0.061069 | 0.835115 | 0.835115 | 0.835115 | 0.835115 | 0.816489 | 0.583206 | 0 | 0.026577 | 0.297995 | 5,735 | 197 | 84 | 29.111675 | 0.786885 | 0.064167 | 0 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117284 | false | 0 | 0.018519 | 0 | 0.604938 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
b21e92dc799f421c176856993fd77c4f394e9fe1 | 127,940 | py | Python | pyboto3/comprehendmedical.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 91 | 2016-12-31T11:38:37.000Z | 2021-09-16T19:33:23.000Z | pyboto3/comprehendmedical.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 7 | 2017-01-02T18:54:23.000Z | 2020-08-11T13:54:02.000Z | pyboto3/comprehendmedical.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 26 | 2016-12-31T13:11:00.000Z | 2022-03-03T21:01:12.000Z | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 41.231067 | 824 | 0.672604 | 14,979 | 127,940 | 5.685426 | 0.04039 | 0.009629 | 0.047275 | 0.009206 | 0.954322 | 0.948064 | 0.940572 | 0.93813 | 0.933797 | 0.931824 | 0 | 0.010271 | 0.235954 | 127,940 | 3,102 | 825 | 41.244358 | 0.860934 | 0.980725 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
b22525068eb325fd22cc279b7eb73f54ebb34404 | 13,262 | py | Python | roles/lib_openshift/src/test/unit/test_oc_serviceaccount_secret.py | shgriffi/openshift-ansible | 6313f519307cf50055589c3876d8bec398bbc4d4 | [
"Apache-2.0"
] | 164 | 2015-07-29T17:35:04.000Z | 2021-12-16T16:38:04.000Z | roles/lib_openshift/src/test/unit/test_oc_serviceaccount_secret.py | shgriffi/openshift-ansible | 6313f519307cf50055589c3876d8bec398bbc4d4 | [
"Apache-2.0"
] | 3,634 | 2015-06-09T13:49:15.000Z | 2022-03-23T20:55:44.000Z | roles/lib_openshift/src/test/unit/test_oc_serviceaccount_secret.py | shgriffi/openshift-ansible | 6313f519307cf50055589c3876d8bec398bbc4d4 | [
"Apache-2.0"
] | 250 | 2015-06-08T19:53:11.000Z | 2022-03-01T04:51:23.000Z | '''
Unit tests for oc secret add
'''
import os
import six
import sys
import unittest
import mock
# Removing invalid variable names for tests so that I can
# keep them brief
# pylint: disable=invalid-name,no-name-in-module
# Disable import-error b/c our libraries aren't loaded in jenkins
# pylint: disable=import-erro... | 31.956627 | 114 | 0.591464 | 1,483 | 13,262 | 5.074174 | 0.13621 | 0.04093 | 0.021262 | 0.046512 | 0.910831 | 0.90711 | 0.903654 | 0.903654 | 0.902591 | 0.889568 | 0 | 0.031156 | 0.276353 | 13,262 | 414 | 115 | 32.033816 | 0.752944 | 0.093802 | 0 | 0.764706 | 0 | 0 | 0.472367 | 0.138166 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.03268 | false | 0 | 0.026144 | 0 | 0.062092 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b2628988545357216b3bb870795b3224c0bedbe2 | 44,760 | py | Python | keras/layers/rnn/lstm_test.py | tsheaff/keras | ee227dda766d769b7499a5549e8ed77b5e88105b | [
"Apache-2.0"
] | 1 | 2022-03-21T02:42:58.000Z | 2022-03-21T02:42:58.000Z | keras/layers/rnn/lstm_test.py | tsheaff/keras | ee227dda766d769b7499a5549e8ed77b5e88105b | [
"Apache-2.0"
] | 1 | 2022-03-31T16:40:51.000Z | 2022-03-31T16:40:51.000Z | keras/layers/rnn/lstm_test.py | tsheaff/keras | ee227dda766d769b7499a5549e8ed77b5e88105b | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 The TensorFlow Authors. All Rights Reserved.
#
# 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 applica... | 35.188679 | 80 | 0.684651 | 5,951 | 44,760 | 4.936649 | 0.077634 | 0.033358 | 0.031146 | 0.020423 | 0.802471 | 0.781163 | 0.757472 | 0.740997 | 0.727449 | 0.721526 | 0 | 0.019641 | 0.201497 | 44,760 | 1,271 | 81 | 35.216365 | 0.802328 | 0.067806 | 0 | 0.762136 | 0 | 0 | 0.035749 | 0.010564 | 0 | 0 | 0 | 0.000787 | 0.068932 | 1 | 0.052427 | false | 0 | 0.012621 | 0 | 0.073786 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b29b9896e52017d7c21c76703696e0f13393fa9a | 11,229 | py | Python | src/tests/api/test_device_event_selection.py | fakegit/pretix | b6e9e64ff967f7b4f91fe88694f4157d8a0787b4 | [
"Apache-2.0"
] | null | null | null | src/tests/api/test_device_event_selection.py | fakegit/pretix | b6e9e64ff967f7b4f91fe88694f4157d8a0787b4 | [
"Apache-2.0"
] | 56 | 2020-05-07T07:54:17.000Z | 2021-04-19T12:14:14.000Z | src/tests/api/test_device_event_selection.py | fakegit/pretix | b6e9e64ff967f7b4f91fe88694f4157d8a0787b4 | [
"Apache-2.0"
] | null | null | null | #
# This file is part of pretix (Community Edition).
#
# Copyright (C) 2014-2020 Raphael Michel and contributors
# Copyright (C) 2020-2021 rami.io GmbH and contributors
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General
# Public License as published by ... | 44.916 | 118 | 0.640574 | 1,589 | 11,229 | 4.42983 | 0.137823 | 0.078136 | 0.063645 | 0.064782 | 0.822702 | 0.815031 | 0.78335 | 0.737179 | 0.726382 | 0.721267 | 0 | 0.087935 | 0.216137 | 11,229 | 249 | 119 | 45.096386 | 0.71177 | 0.120224 | 0 | 0.712821 | 0 | 0.015385 | 0.241519 | 0.182917 | 0 | 0 | 0 | 0 | 0.282051 | 1 | 0.020513 | false | 0 | 0.025641 | 0 | 0.046154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
a238f4b9286c859b23bee93bdb616bb9971dc30e | 148 | py | Python | export/__init__.py | tombulled/export | 6c24bc6f325ba9612ab26db2f11fc62a6ba225a8 | [
"MIT"
] | null | null | null | export/__init__.py | tombulled/export | 6c24bc6f325ba9612ab26db2f11fc62a6ba225a8 | [
"MIT"
] | 1 | 2022-01-07T22:18:42.000Z | 2022-03-15T22:48:55.000Z | export/__init__.py | tombulled/export | 6c24bc6f325ba9612ab26db2f11fc62a6ba225a8 | [
"MIT"
] | null | null | null | from .api import init, public, private
from . import enums
PUBLIC: enums.Access = enums.Access.PUBLIC
PRIVATE: enums.Access = enums.Access.PRIVATE
| 24.666667 | 44 | 0.777027 | 21 | 148 | 5.47619 | 0.380952 | 0.382609 | 0.278261 | 0.382609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 148 | 5 | 45 | 29.6 | 0.891473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 7 |
a2b26fce0960609a2ed9e0ba3f24de1337671f11 | 5,924 | py | Python | pyaz/keyvault/private_endpoint_connection/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/keyvault/private_endpoint_connection/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/keyvault/private_endpoint_connection/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from ... pyaz_utils import _call_az
def approve(description=None, hsm_name=None, id=None, name=None, no_wait=None, resource_group=None, vault_name=None):
'''
Approve a private endpoint connection request for a Key Vault/HSM.
Optional Parameters:
- description -- Comments for the approve operation.
... | 61.072165 | 179 | 0.724848 | 879 | 5,924 | 4.822526 | 0.114903 | 0.047181 | 0.12385 | 0.04954 | 0.812456 | 0.805379 | 0.793583 | 0.773767 | 0.76268 | 0.76268 | 0 | 0 | 0.185854 | 5,924 | 96 | 180 | 61.708333 | 0.878914 | 0.752532 | 0 | 0 | 0 | 0 | 0.227731 | 0.136134 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.076923 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a2c197a69004fa3a8de7cd3a7c42a05d1d0b32fc | 17,453 | py | Python | tests/pytests/test_data_updater.py | GambitResearch/replisome | 775fe3766b8e433470c1048ac79334ed04b8caa2 | [
"BSD-3-Clause"
] | 7 | 2017-07-23T14:12:04.000Z | 2020-09-13T18:17:57.000Z | tests/pytests/test_data_updater.py | dvarrazzo/replisome | 775fe3766b8e433470c1048ac79334ed04b8caa2 | [
"BSD-3-Clause"
] | 4 | 2017-11-30T10:38:11.000Z | 2018-02-11T06:36:43.000Z | tests/pytests/test_data_updater.py | GambitResearch/replisome | 775fe3766b8e433470c1048ac79334ed04b8caa2 | [
"BSD-3-Clause"
] | 6 | 2017-12-15T14:05:07.000Z | 2020-02-07T10:40:50.000Z | import pytest
from decimal import Decimal
from replisome.errors import ReplisomeError
from replisome.consumers.DataUpdater import DataUpdater
from replisome.receivers.JsonReceiver import JsonReceiver
def test_insert(src_db, tgt_db, called):
du = DataUpdater(tgt_db.conn.dsn, skip_missing_columns=True,
... | 30.091379 | 80 | 0.640119 | 2,427 | 17,453 | 4.489081 | 0.072518 | 0.034419 | 0.044057 | 0.049564 | 0.842588 | 0.821294 | 0.809454 | 0.77843 | 0.734924 | 0.706196 | 0 | 0.020829 | 0.23251 | 17,453 | 579 | 81 | 30.143351 | 0.792535 | 0.013923 | 0 | 0.705336 | 0 | 0.00464 | 0.365211 | 0.009476 | 0 | 0 | 0 | 0 | 0.097448 | 1 | 0.027842 | false | 0 | 0.011601 | 0 | 0.039443 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
a2d602cfb13c3941db38cbf715f35104383553ba | 4,503 | py | Python | cell.py | smh0505/minesweeper | bbcf13df44743cdf3e8153e08da0b9ff27a502ca | [
"MIT"
] | null | null | null | cell.py | smh0505/minesweeper | bbcf13df44743cdf3e8153e08da0b9ff27a502ca | [
"MIT"
] | null | null | null | cell.py | smh0505/minesweeper | bbcf13df44743cdf3e8153e08da0b9ff27a502ca | [
"MIT"
] | null | null | null | from random import randint
class Cell(object):
def __init__(self):
self.num = 0
self.isOpen = False
def newBoard(row, col):
board = [[Cell() for x in range(row)] for y in range(col)]
return board
def setMine(board, num):
i = 0
while i < num:
y = randint(0, len(board) - 1)
... | 48.945652 | 78 | 0.357984 | 684 | 4,503 | 2.350877 | 0.054094 | 0.317164 | 0.248134 | 0.279851 | 0.761816 | 0.753109 | 0.753109 | 0.753109 | 0.741294 | 0.741294 | 0 | 0.065469 | 0.443704 | 4,503 | 92 | 79 | 48.945652 | 0.576447 | 0 | 0 | 0.678161 | 0 | 0 | 0.000666 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057471 | false | 0 | 0.011494 | 0 | 0.114943 | 0.022989 | 0 | 0 | 0 | null | 1 | 1 | 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 | 8 |
0c570f074cad84ce13cef5bf17cf9c571316e14b | 36,760 | py | Python | oase-root/tests/web_app/views/top/test_dashboard.py | Masa-Yasuno/oase | 90f3cee73c0d9b3153808a4a72bd19984a4873f9 | [
"Apache-2.0"
] | 9 | 2020-03-25T07:51:47.000Z | 2022-02-07T00:07:28.000Z | oase-root/tests/web_app/views/top/test_dashboard.py | Masa-Yasuno/oase | 90f3cee73c0d9b3153808a4a72bd19984a4873f9 | [
"Apache-2.0"
] | 1,164 | 2021-01-28T23:16:11.000Z | 2022-03-28T07:23:10.000Z | oase-root/tests/web_app/views/top/test_dashboard.py | Masa-Yasuno/oase | 90f3cee73c0d9b3153808a4a72bd19984a4873f9 | [
"Apache-2.0"
] | 25 | 2020-03-17T06:48:30.000Z | 2022-02-15T15:13:44.000Z | # Copyright 2019 NEC Corporation
#
# 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 writi... | 35.724004 | 115 | 0.468906 | 3,321 | 36,760 | 4.81632 | 0.077386 | 0.082526 | 0.07965 | 0.06252 | 0.886715 | 0.875274 | 0.869459 | 0.860832 | 0.84145 | 0.84145 | 0 | 0.036537 | 0.381284 | 36,760 | 1,028 | 116 | 35.758755 | 0.666725 | 0.029026 | 0 | 0.89434 | 0 | 0 | 0.113895 | 0.021274 | 0 | 0 | 0 | 0 | 0.026415 | 1 | 0.013836 | false | 0 | 0.007547 | 0 | 0.027673 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
38efba5f26789ab440eaaa4b25ce05457b872c34 | 220 | py | Python | env/Lib/site-packages/libarchive-0.4.7/libarchive/adapters/archive_read_support_filter_all.py | dondemonz/RestApi | 0459d2b8079b9f2abc50bf5e206625427c4a2dcf | [
"Apache-2.0"
] | 94 | 2015-03-13T07:38:51.000Z | 2022-03-18T02:28:04.000Z | env/Lib/site-packages/libarchive-0.4.7/libarchive/adapters/archive_read_support_filter_all.py | dondemonz/RestApi | 0459d2b8079b9f2abc50bf5e206625427c4a2dcf | [
"Apache-2.0"
] | 45 | 2015-04-25T09:19:08.000Z | 2022-03-18T18:07:05.000Z | env/Lib/site-packages/libarchive-0.4.7/libarchive/adapters/archive_read_support_filter_all.py | dondemonz/RestApi | 0459d2b8079b9f2abc50bf5e206625427c4a2dcf | [
"Apache-2.0"
] | 29 | 2015-03-13T07:38:43.000Z | 2021-10-10T18:23:50.000Z | import libarchive.calls.archive_read_support_filter_all
def archive_read_support_filter_all(archive):
return libarchive.calls.archive_read_support_filter_all.\
c_archive_read_support_filter_all(archive)
| 36.666667 | 61 | 0.840909 | 30 | 220 | 5.6 | 0.366667 | 0.261905 | 0.428571 | 0.571429 | 0.904762 | 0.904762 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 220 | 5 | 62 | 44 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 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 | 9 |
ac168b7194c6b98b68f8cdd11d426b1d2cce692c | 30,562 | py | Python | Interaction/Style/Testing/Python/TestStyleUser.py | txwhhny/vtk | 854d9aa87b944bc9079510515996406b98b86f7c | [
"BSD-3-Clause"
] | 1,755 | 2015-01-03T06:55:00.000Z | 2022-03-29T05:23:26.000Z | Interaction/Style/Testing/Python/TestStyleUser.py | txwhhny/vtk | 854d9aa87b944bc9079510515996406b98b86f7c | [
"BSD-3-Clause"
] | 29 | 2015-04-23T20:58:30.000Z | 2022-03-02T16:16:42.000Z | Interaction/Style/Testing/Python/TestStyleUser.py | txwhhny/vtk | 854d9aa87b944bc9079510515996406b98b86f7c | [
"BSD-3-Clause"
] | 1,044 | 2015-01-05T22:48:27.000Z | 2022-03-31T02:38:26.000Z | #!/usr/bin/env python
import vtk
import vtk.test.Testing
from vtk.util.misc import vtkGetDataRoot
VTK_DATA_ROOT = vtkGetDataRoot()
# This script exercises vtkInteractorStyleUser. It creates some
# simple bindings for the mouse bottons and scroll wheel.
# Helper math stuff
import math
def magnitude(v):
return math... | 36.296912 | 80 | 0.667921 | 6,196 | 30,562 | 3.292447 | 0.073757 | 0.232255 | 0.260294 | 0.23098 | 0.755686 | 0.753235 | 0.742892 | 0.728088 | 0.294461 | 0.264118 | 0 | 0.293429 | 0.264479 | 30,562 | 841 | 81 | 36.340071 | 0.614084 | 0.035927 | 0 | 0.235825 | 0 | 0 | 0.007237 | 0.006081 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023196 | false | 0.001289 | 0.005155 | 0.002577 | 0.032216 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 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 | 7 |
ac41007adcb10e06ed98bf00d0cbd370f393b0ac | 119 | py | Python | models/__init__.py | Lee-Gihun/Micronet_GSJ | 72289bb66507b6c3b4d14f2e5916dec718a1b198 | [
"MIT"
] | 12 | 2019-11-12T15:19:45.000Z | 2022-01-22T09:28:36.000Z | models/__init__.py | Lee-Gihun/MicroNet_OSI-AI | 72289bb66507b6c3b4d14f2e5916dec718a1b198 | [
"MIT"
] | null | null | null | models/__init__.py | Lee-Gihun/MicroNet_OSI-AI | 72289bb66507b6c3b4d14f2e5916dec718a1b198 | [
"MIT"
] | 6 | 2019-11-13T08:36:45.000Z | 2021-07-29T01:01:05.000Z | from .utils import efficientnet
from .EfficientNet import EfficientNet
from .pruning import *
from .early_exit import * | 29.75 | 38 | 0.823529 | 15 | 119 | 6.466667 | 0.466667 | 0.371134 | 0.453608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 119 | 4 | 39 | 29.75 | 0.932692 | 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 | 1 | 0 | 0 | 7 |
ac6387a53a075f351ba376f1455fa1584ffd19e7 | 3,379 | py | Python | deepfence_backend/tasks/user_activity.py | tuapuikia/ThreatMapper | 22c473e133e2a57a402f27a12d44e1787a2895cc | [
"Apache-2.0"
] | 1,281 | 2020-04-08T17:07:21.000Z | 2022-03-31T11:22:16.000Z | deepfence_backend/tasks/user_activity.py | tuapuikia/ThreatMapper | 22c473e133e2a57a402f27a12d44e1787a2895cc | [
"Apache-2.0"
] | 180 | 2020-04-06T15:40:16.000Z | 2022-03-31T02:19:34.000Z | deepfence_backend/tasks/user_activity.py | tuapuikia/ThreatMapper | 22c473e133e2a57a402f27a12d44e1787a2895cc | [
"Apache-2.0"
] | 148 | 2020-04-08T21:38:39.000Z | 2022-03-30T18:04:50.000Z | from models.notification import UserActivityNotification
from config.app import celery_app, app as flask_app
from tasks.notification import user_activity_digest
from models.user_activity_log import UserActivityLog
from models.user import User, Role
from utils.custom_exception import InvalidUsage
import json
import arro... | 36.728261 | 106 | 0.613199 | 384 | 3,379 | 5.223958 | 0.205729 | 0.071785 | 0.038883 | 0.033898 | 0.855434 | 0.855434 | 0.855434 | 0.784646 | 0.784646 | 0.784646 | 0 | 0.000853 | 0.306304 | 3,379 | 91 | 107 | 37.131868 | 0.854949 | 0.083161 | 0 | 0.85 | 0 | 0 | 0.016823 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0.025 | 0.1 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3baac43763e834e63e683d8777fbe91cb31b50dd | 164 | py | Python | curris/test/test_inline_code.py | a1trl9/curris | f9b55a7a2a8864882f297a4a324ccff182176417 | [
"MIT"
] | null | null | null | curris/test/test_inline_code.py | a1trl9/curris | f9b55a7a2a8864882f297a4a324ccff182176417 | [
"MIT"
] | null | null | null | curris/test/test_inline_code.py | a1trl9/curris | f9b55a7a2a8864882f297a4a324ccff182176417 | [
"MIT"
] | null | null | null | from curris.test.base import compare_json
def test_inline_code():
compare_json('curris/test/resource/inline_code.md', 'curris/test/resource/inline_code.json')
| 32.8 | 96 | 0.79878 | 25 | 164 | 5 | 0.48 | 0.24 | 0.288 | 0.384 | 0.448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079268 | 164 | 4 | 97 | 41 | 0.827815 | 0 | 0 | 0 | 0 | 0 | 0.439024 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
3bde48a162ca817e19eb72a9c9320719f44eab19 | 883,714 | py | Python | env/Lib/site-packages/azure/mgmt/network/networkresourceprovider.py | Ammar12/simplebanking | 6080d638b2e98bfcf96d782703e1dce25aebfcbc | [
"MIT"
] | null | null | null | env/Lib/site-packages/azure/mgmt/network/networkresourceprovider.py | Ammar12/simplebanking | 6080d638b2e98bfcf96d782703e1dce25aebfcbc | [
"MIT"
] | null | null | null | env/Lib/site-packages/azure/mgmt/network/networkresourceprovider.py | Ammar12/simplebanking | 6080d638b2e98bfcf96d782703e1dce25aebfcbc | [
"MIT"
] | null | null | null | #
# Copyright (c) Microsoft and contributors. All rights reserved.
#
# 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 requi... | 51.773039 | 202 | 0.541829 | 80,104 | 883,714 | 5.611043 | 0.011335 | 0.019278 | 0.034681 | 0.01872 | 0.933808 | 0.913567 | 0.887812 | 0.86959 | 0.854886 | 0.842109 | 0 | 0.011676 | 0.409767 | 883,714 | 17,068 | 203 | 51.776072 | 0.850036 | 0.011959 | 0 | 0.842096 | 0 | 0 | 0.04385 | 0.009554 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.00082 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ce371a6065c905c0d1fa90d8a87a25e8b478d6a3 | 2,214 | py | Python | writing/migrations/0002_auto_20170425_0015.py | audiua/shkolyar_django | a2de2dc0a42e6bdd51321f857c0aa1106c51ba80 | [
"MIT"
] | 1 | 2017-04-22T11:00:07.000Z | 2017-04-22T11:00:07.000Z | writing/migrations/0002_auto_20170425_0015.py | audiua/shkolyar_django | a2de2dc0a42e6bdd51321f857c0aa1106c51ba80 | [
"MIT"
] | 6 | 2017-04-20T17:49:39.000Z | 2017-04-22T11:55:07.000Z | writing/migrations/0002_auto_20170425_0015.py | audiua/shkolyar_django | a2de2dc0a42e6bdd51321f857c0aa1106c51ba80 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-04-24 21:15
from __future__ import unicode_literals
from django.db import migrations, models
import unixtimestampfield.fields
class Migration(migrations.Migration):
dependencies = [
('writing', '0001_initial'),
]
operations = [
... | 33.044776 | 95 | 0.602078 | 201 | 2,214 | 6.457711 | 0.263682 | 0.154083 | 0.192604 | 0.223421 | 0.818952 | 0.779661 | 0.691063 | 0.691063 | 0.691063 | 0.691063 | 0 | 0.032422 | 0.289521 | 2,214 | 66 | 96 | 33.545455 | 0.792753 | 0.02981 | 0 | 0.813559 | 1 | 0 | 0.098368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.050847 | 0 | 0.101695 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
020abc4bdd3b836503a765dfc1cfeadb963ae863 | 60 | py | Python | test.py | Teresito/tensorflow-yolov4-tflite | fe3516643796b633e1087b05ee02406f45cc56c2 | [
"MIT"
] | null | null | null | test.py | Teresito/tensorflow-yolov4-tflite | fe3516643796b633e1087b05ee02406f45cc56c2 | [
"MIT"
] | null | null | null | test.py | Teresito/tensorflow-yolov4-tflite | fe3516643796b633e1087b05ee02406f45cc56c2 | [
"MIT"
] | null | null | null | #import tensorflow as tf
import cv2
import tensorflow as tf
| 15 | 24 | 0.816667 | 10 | 60 | 4.9 | 0.5 | 0.653061 | 0.734694 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.166667 | 60 | 3 | 25 | 20 | 0.96 | 0.383333 | 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 | 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 | 8 |
0257e9a98ef8a2c31aaa1b1a8469512c4d5b9120 | 1,592 | py | Python | organizations/decorators.py | philippeowagner/django-organizations | 0c2dd98b5c5af0e3de7cbd4a23567213c5222ac6 | [
"BSD-2-Clause"
] | 1 | 2017-09-06T08:19:18.000Z | 2017-09-06T08:19:18.000Z | organizations/decorators.py | philippeowagner/django-organizations | 0c2dd98b5c5af0e3de7cbd4a23567213c5222ac6 | [
"BSD-2-Clause"
] | null | null | null | organizations/decorators.py | philippeowagner/django-organizations | 0c2dd98b5c5af0e3de7cbd4a23567213c5222ac6 | [
"BSD-2-Clause"
] | null | null | null | from django.contrib.auth.decorators import user_passes_test, REDIRECT_FIELD_NAME
from organizations.models import OrganizationUser
def organizations_member_required(function=None, redirect_field_name=REDIRECT_FIELD_NAME, login_url=None):
"""
Decorator for views that checks that the user is logged in if the cur... | 44.222222 | 133 | 0.751884 | 213 | 1,592 | 5.399061 | 0.29108 | 0.101739 | 0.133043 | 0.086957 | 0.841739 | 0.841739 | 0.841739 | 0.841739 | 0.841739 | 0.841739 | 0 | 0 | 0.188442 | 1,592 | 35 | 134 | 45.485714 | 0.890093 | 0.337312 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.15 | 0.1 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
5a4cded89b04d091fc90d357018d3e8c17afd1d6 | 12,198 | py | Python | src/blender/blender_autocomplete-master/2.92/bl_ui/properties_paint_common.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | 1 | 2020-03-25T10:55:10.000Z | 2020-03-25T10:55:10.000Z | src/blender/blender_autocomplete-master/2.92/bl_ui/properties_paint_common.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | null | null | null | src/blender/blender_autocomplete-master/2.92/bl_ui/properties_paint_common.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | null | null | null | import sys
import typing
import bpy_types
class UnifiedPaintPanel:
def get_brush_mode(self, context):
'''
'''
pass
def paint_settings(self, context):
'''
'''
pass
def prop_unified(self, layout, context, brush, prop_name, unified_name,
... | 15.343396 | 79 | 0.467208 | 1,080 | 12,198 | 5.031481 | 0.103704 | 0.128819 | 0.115937 | 0.139124 | 0.803644 | 0.767022 | 0.767022 | 0.744939 | 0.71071 | 0.701509 | 0 | 0.00014 | 0.412855 | 12,198 | 794 | 80 | 15.36272 | 0.758587 | 0 | 0 | 0.787004 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.400722 | false | 0.400722 | 0.01083 | 0 | 0.519856 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
5a6baac2de23afc582d7ccc96506bf977348bb8b | 24,809 | py | Python | tests/open_alchemy/models_file/artifacts/test_database/test_database_relationship.py | rgreinho/OpenAlchemy | 23202bdecb94763d09b6d9e84eb9b29506c811ae | [
"Apache-2.0"
] | null | null | null | tests/open_alchemy/models_file/artifacts/test_database/test_database_relationship.py | rgreinho/OpenAlchemy | 23202bdecb94763d09b6d9e84eb9b29506c811ae | [
"Apache-2.0"
] | 53 | 2020-12-30T15:32:55.000Z | 2022-03-31T10:07:00.000Z | tests/open_alchemy/models_file/artifacts/test_database/test_database_relationship.py | rgreinho/OpenAlchemy | 23202bdecb94763d09b6d9e84eb9b29506c811ae | [
"Apache-2.0"
] | null | null | null | """Tests for type_."""
# pylint: disable=protected-access,unused-import
import typing # noqa: F401
import pytest
import sqlalchemy
from sqlalchemy.ext import declarative
import open_alchemy
from open_alchemy import models_file
from open_alchemy import schemas
@pytest.mark.models_file
def test_model_database_type_... | 38.88558 | 87 | 0.630578 | 2,815 | 24,809 | 5.320071 | 0.056483 | 0.055021 | 0.044071 | 0.025641 | 0.959802 | 0.951055 | 0.950454 | 0.93543 | 0.917001 | 0.904714 | 0 | 0.012166 | 0.267766 | 24,809 | 637 | 88 | 38.946625 | 0.812232 | 0.141441 | 0 | 0.762712 | 0 | 0 | 0.133969 | 0.019505 | 0 | 0 | 0 | 0 | 0.139831 | 1 | 0.012712 | false | 0 | 0.014831 | 0 | 0.027542 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ce812102c5c88ddbe48e54317767755a9cea7d6e | 105 | py | Python | cnuchatbot/chatbotapp/cnudata/cafeteria/studenthall1_info.py | ChanhyukPark-Tech/CnuChatBot | c204b7f037a7dc8a2ca7f398a84aae68df245327 | [
"MIT"
] | null | null | null | cnuchatbot/chatbotapp/cnudata/cafeteria/studenthall1_info.py | ChanhyukPark-Tech/CnuChatBot | c204b7f037a7dc8a2ca7f398a84aae68df245327 | [
"MIT"
] | null | null | null | cnuchatbot/chatbotapp/cnudata/cafeteria/studenthall1_info.py | ChanhyukPark-Tech/CnuChatBot | c204b7f037a7dc8a2ca7f398a84aae68df245327 | [
"MIT"
] | null | null | null | from chatbotapp.common.kakaojsonformat import *
from chatbotapp.common.variables.cafeteria import *
| 15 | 51 | 0.809524 | 11 | 105 | 7.727273 | 0.636364 | 0.329412 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 6 | 52 | 17.5 | 0.923913 | 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 | 1 | 0 | 0 | 7 |
ce858d76c3b53c6aa4930ec79d6bee6d6e8cb592 | 9,475 | py | Python | figures/python/compare.py | watermarkhu/tqe_paper_ufbb | f9b171049e028ace58be3ab4a01cddac94f7e01e | [
"CC-BY-4.0"
] | null | null | null | figures/python/compare.py | watermarkhu/tqe_paper_ufbb | f9b171049e028ace58be3ab4a01cddac94f7e01e | [
"CC-BY-4.0"
] | null | null | null | figures/python/compare.py | watermarkhu/tqe_paper_ufbb | f9b171049e028ace58be3ab4a01cddac94f7e01e | [
"CC-BY-4.0"
] | 1 | 2020-09-11T15:53:16.000Z | 2020-09-11T15:53:16.000Z | from fitread import read_data
from style import get_colors, get_markers2, get_linestyles, plot_style
import matplotlib.pyplot as plt
from matplotlib.lines import Line2D
from scipy import optimize
import numpy as np
lw=1
def plot_compare(
names,
csv_names,
xaxis,
probs,
latts,
feature,
... | 30.271565 | 96 | 0.502164 | 1,267 | 9,475 | 3.704025 | 0.138911 | 0.011507 | 0.017899 | 0.024292 | 0.911144 | 0.910718 | 0.900916 | 0.900916 | 0.892819 | 0.868528 | 0 | 0.015829 | 0.359894 | 9,475 | 312 | 97 | 30.36859 | 0.757955 | 0.020158 | 0 | 0.872 | 0 | 0 | 0.040755 | 0.009057 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008 | false | 0 | 0.024 | 0 | 0.032 | 0.02 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
0c7bfa4e0f02f4b8b4fa67ec5a0f33f5f72d23f3 | 150 | py | Python | jvd/src/trees/__init__.py | ccDev-Labs/JARV1S-Disassembler | ee41eb493c15a66b4695b6f24039c38471b7eb47 | [
"Apache-2.0"
] | null | null | null | jvd/src/trees/__init__.py | ccDev-Labs/JARV1S-Disassembler | ee41eb493c15a66b4695b6f24039c38471b7eb47 | [
"Apache-2.0"
] | null | null | null | jvd/src/trees/__init__.py | ccDev-Labs/JARV1S-Disassembler | ee41eb493c15a66b4695b6f24039c38471b7eb47 | [
"Apache-2.0"
] | null | null | null | from jvd.src.trees.java import JavaASTExtractor
from jvd.src.trees.python import PythonASTExtractor
from jvd.src.trees.c_cpp import JoernCPPExtractor
| 37.5 | 51 | 0.86 | 22 | 150 | 5.818182 | 0.545455 | 0.164063 | 0.234375 | 0.351563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 150 | 3 | 52 | 50 | 0.927536 | 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 | 1 | 0 | 0 | 7 |
0c9599da593406f6dd35948032e808397b1696fc | 140 | py | Python | sidekick/admin.py | praekeltfoundation/rp-sidekick | 01f2d1ced8caefb39c93112f74baac70dbe943bc | [
"BSD-3-Clause"
] | 1 | 2018-10-05T21:47:43.000Z | 2018-10-05T21:47:43.000Z | sidekick/admin.py | praekeltfoundation/rp-sidekick | 01f2d1ced8caefb39c93112f74baac70dbe943bc | [
"BSD-3-Clause"
] | 114 | 2018-08-14T14:37:20.000Z | 2020-07-31T15:56:51.000Z | sidekick/admin.py | praekeltfoundation/rp-sidekick | 01f2d1ced8caefb39c93112f74baac70dbe943bc | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import Consent, Organization
admin.site.register(Organization)
admin.site.register(Consent)
| 20 | 41 | 0.828571 | 18 | 140 | 6.444444 | 0.555556 | 0.293103 | 0.362069 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092857 | 140 | 6 | 42 | 23.333333 | 0.913386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 7 |
0b9b4625c407262306c27e9070dab2b07e213b65 | 9,199 | py | Python | CalibMuon/CSCCalibration/python/CSCL1TPLookupTableEP_cff.py | malbouis/cmssw | 16173a30d3f0c9ecc5419c474bb4d272c58b65c8 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | CalibMuon/CSCCalibration/python/CSCL1TPLookupTableEP_cff.py | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | CalibMuon/CSCCalibration/python/CSCL1TPLookupTableEP_cff.py | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
CSCL1TPLookupTableEP = cms.ESSource(
"CSCL1TPLookupTableEP",
## CCLUT
positionLUTFiles = cms.vstring(
"L1Trigger/CSCTriggerPrimitives/data/CCLUT/CSCComparatorCodePosOffsetLUT_pat0_v1.txt",
"L1Trigger/CSCTriggerPrimitives/data/CCLUT/CSCComparatorCodeP... | 74.788618 | 141 | 0.809545 | 974 | 9,199 | 7.321355 | 0.101643 | 0.268406 | 0.305427 | 0.306268 | 0.919647 | 0.910391 | 0.896929 | 0.813911 | 0.809704 | 0.771 | 0 | 0.039936 | 0.109903 | 9,199 | 122 | 142 | 75.401639 | 0.830972 | 0.072508 | 0 | 0.169811 | 0 | 0 | 0.789418 | 0.787066 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009434 | 0 | 0.009434 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
0bb4c5193178618cedf9e5ca0d0821aca06ee94a | 32,485 | py | Python | tests/models/boundary/test_get_intersection_of_two_boundaries.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | 3 | 2021-11-12T17:43:08.000Z | 2022-01-03T02:47:34.000Z | tests/models/boundary/test_get_intersection_of_two_boundaries.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | 3 | 2021-11-19T20:12:31.000Z | 2021-11-19T20:14:39.000Z | tests/models/boundary/test_get_intersection_of_two_boundaries.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | null | null | null | """Test get boundaries intersection point."""
# Standard
from typing import List, Any
from random import randint
# Models
from voronoi_diagrams.models import (
PointBisector,
Point,
Site,
PointBoundary,
WeightedSite,
WeightedPointBoundary,
WeightedPointBisector,
)
# Math
from decimal impor... | 45.306834 | 78 | 0.687702 | 3,162 | 32,485 | 6.831436 | 0.05661 | 0.14291 | 0.082218 | 0.085459 | 0.898523 | 0.864312 | 0.752141 | 0.744734 | 0.744734 | 0.742466 | 0 | 0.136208 | 0.225489 | 32,485 | 716 | 79 | 45.370112 | 0.722337 | 0.026751 | 0 | 0.745875 | 0 | 0 | 0.099404 | 0.095376 | 0 | 0 | 0 | 0 | 0.257426 | 1 | 0.018152 | false | 0 | 0.008251 | 0 | 0.031353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
f0158f4319dd532749aec4b9f62506632c187139 | 127 | py | Python | alerter/src/alerter/alert_severities/__init__.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 41 | 2019-08-23T12:40:42.000Z | 2022-03-28T11:06:02.000Z | alerter/src/alerter/alert_severities/__init__.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 147 | 2019-08-30T22:09:48.000Z | 2022-03-30T08:46:26.000Z | alerter/src/alerter/alert_severities/__init__.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 3 | 2019-09-03T21:12:28.000Z | 2021-08-18T14:27:56.000Z | from src.alerter.alert_severities.severity import Severity
from src.alerter.alert_severities.severity_code import SeverityCode
| 42.333333 | 67 | 0.889764 | 17 | 127 | 6.470588 | 0.529412 | 0.127273 | 0.254545 | 0.345455 | 0.672727 | 0.672727 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 127 | 2 | 68 | 63.5 | 0.92437 | 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 | 1 | 0 | 0 | 7 |
f03224360b79f57cf202c6fde01759dcf78ed292 | 4,372 | py | Python | marking/grammar_rules/tests/test_comma_rules.py | OpenCovenant/quill | 441c368227436b2f21cbd86a234e672ddf327eed | [
"MIT"
] | 3 | 2022-02-15T17:26:29.000Z | 2022-02-17T15:44:07.000Z | marking/grammar_rules/tests/test_comma_rules.py | OpenCovenant/quill | 441c368227436b2f21cbd86a234e672ddf327eed | [
"MIT"
] | null | null | null | marking/grammar_rules/tests/test_comma_rules.py | OpenCovenant/quill | 441c368227436b2f21cbd86a234e672ddf327eed | [
"MIT"
] | 1 | 2022-03-27T19:26:34.000Z | 2022-03-27T19:26:34.000Z | from django.test import TestCase
from marking.grammar_rules.comma_rules import check_for_a_comma_rule, check_for_comma_before_or_and_rule, \
check_for_a_nonspace_after_comma
from utils.utils import FROM_KEY, TO_KEY, TYPO_KEY, TYPE_KEY, SUBTYPE_KEY, DESCRIPTION_KEY, SUGGESTIONS_KEY, \
DISPLAY_KEY, ACTION_KEY
... | 47.010753 | 116 | 0.634263 | 536 | 4,372 | 4.88806 | 0.214552 | 0.051908 | 0.048092 | 0.079008 | 0.821756 | 0.809542 | 0.79084 | 0.753817 | 0.732443 | 0.710305 | 0 | 0.015868 | 0.264867 | 4,372 | 92 | 117 | 47.521739 | 0.79776 | 0.462717 | 0 | 0.322581 | 0 | 0 | 0.244667 | 0 | 0 | 0 | 0 | 0.01087 | 0.225806 | 1 | 0.225806 | false | 0 | 0.096774 | 0 | 0.354839 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f03cb5369ab047a3e5f6831b3bbef4bd1f0df9ee | 3,438 | py | Python | tests/test_03_util.py | IdentityPython/oiccli | 98b9b1e4926936cdec5a5d4d00da278ba673c741 | [
"Apache-2.0"
] | 3 | 2019-01-22T17:57:34.000Z | 2019-09-12T02:53:59.000Z | tests/test_03_util.py | IdentityPython/oidcservice | 98b9b1e4926936cdec5a5d4d00da278ba673c741 | [
"Apache-2.0"
] | 5 | 2019-08-08T12:17:19.000Z | 2019-12-02T07:08:32.000Z | tests/test_03_util.py | IdentityPython/oidcservice | 98b9b1e4926936cdec5a5d4d00da278ba673c741 | [
"Apache-2.0"
] | 4 | 2018-06-22T07:09:56.000Z | 2020-01-10T03:49:26.000Z | import json
from urllib.parse import parse_qs, urlsplit
from oidcmsg.oauth2 import AccessTokenRequest, AuthorizationRequest
from oidcservice import util
from oidcservice.util import JSON_ENCODED, URL_ENCODED
__author__ = 'Roland Hedberg'
def test_get_http_url():
url = u'https://localhost:8092/authorization'
... | 36.189474 | 76 | 0.642525 | 328 | 3,438 | 6.448171 | 0.228659 | 0.033097 | 0.031206 | 0.033097 | 0.873759 | 0.855792 | 0.822695 | 0.822695 | 0.822695 | 0.822695 | 0 | 0.080835 | 0.233566 | 3,438 | 94 | 77 | 36.574468 | 0.721822 | 0 | 0 | 0.726027 | 0 | 0 | 0.390343 | 0.120419 | 0 | 0 | 0 | 0 | 0.068493 | 1 | 0.068493 | false | 0.027397 | 0.068493 | 0 | 0.136986 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b2cf8dd7da2312705f54a9e4f3d3098211eba8c3 | 3,320 | py | Python | test/features/test_generate_all_services_pages.py | alphagov/transactions-explorer | 1e780cd8b4f2923f527812e97c581ef2982b6077 | [
"MIT"
] | 1 | 2017-03-31T15:05:42.000Z | 2017-03-31T15:05:42.000Z | test/features/test_generate_all_services_pages.py | gds-attic/transactions-explorer | 1e780cd8b4f2923f527812e97c581ef2982b6077 | [
"MIT"
] | null | null | null | test/features/test_generate_all_services_pages.py | gds-attic/transactions-explorer | 1e780cd8b4f2923f527812e97c581ef2982b6077 | [
"MIT"
] | 2 | 2019-08-29T11:33:36.000Z | 2021-04-10T20:07:44.000Z | from hamcrest import *
from test.features import BrowserTest
from test.features.support import table_from
class GenerateAllServicesPages(BrowserTest):
def test_all_services_table(self):
self.browser.visit("http://0.0.0.0:8000/all-services/by-transactions-per-year/descending")
table = table_from(... | 56.271186 | 109 | 0.712952 | 537 | 3,320 | 4.189944 | 0.154562 | 0.029333 | 0.029333 | 0.097778 | 0.864889 | 0.828444 | 0.818222 | 0.769778 | 0.769778 | 0.769778 | 0 | 0.050753 | 0.139458 | 3,320 | 58 | 110 | 57.241379 | 0.736787 | 0 | 0 | 0.232558 | 1 | 0.255814 | 0.36988 | 0 | 0 | 0 | 0 | 0 | 0.255814 | 1 | 0.255814 | false | 0 | 0.069767 | 0 | 0.348837 | 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 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6504aa0e61fe82c4feefc4d7a0412da81809aac1 | 1,596 | py | Python | cse/migrations/0009_auto_20190502_1708.py | BIJOY-SUST/sust-medical-center | ff57ca3e4547571d1e9f2e62a7a80799090d43b3 | [
"Apache-2.0"
] | 2 | 2020-12-05T05:13:38.000Z | 2022-02-27T12:08:17.000Z | cse/migrations/0009_auto_20190502_1708.py | BIJOY-SUST/sust-medical-center | ff57ca3e4547571d1e9f2e62a7a80799090d43b3 | [
"Apache-2.0"
] | null | null | null | cse/migrations/0009_auto_20190502_1708.py | BIJOY-SUST/sust-medical-center | ff57ca3e4547571d1e9f2e62a7a80799090d43b3 | [
"Apache-2.0"
] | 4 | 2020-05-08T08:40:12.000Z | 2021-03-28T11:05:50.000Z | # Generated by Django 2.2 on 2019-05-02 17:08
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('cse', '0008_auto_20190502_1552'),
]
operations = [
migrations.AddField(
model_name='customuser',
name='age',
... | 29.555556 | 64 | 0.559524 | 152 | 1,596 | 5.723684 | 0.302632 | 0.165517 | 0.211494 | 0.248276 | 0.767816 | 0.767816 | 0.72069 | 0.72069 | 0.672414 | 0.672414 | 0 | 0.042672 | 0.324561 | 1,596 | 53 | 65 | 30.113208 | 0.764378 | 0.026942 | 0 | 0.680851 | 1 | 0 | 0.110251 | 0.014829 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e8d9a2cf4abda9beda55b05a6faee004fb8229b7 | 80 | py | Python | ilf/fuzzers/sym_plus/__init__.py | RainOfPhone/ilf | 83c34c2147f05a26fde81f94acb58fe5719b05a2 | [
"Apache-2.0"
] | 2 | 2022-02-24T10:05:54.000Z | 2022-03-21T06:29:56.000Z | ilf/fuzzers/sym_plus/__init__.py | RainOfPhone/ilf | 83c34c2147f05a26fde81f94acb58fe5719b05a2 | [
"Apache-2.0"
] | null | null | null | ilf/fuzzers/sym_plus/__init__.py | RainOfPhone/ilf | 83c34c2147f05a26fde81f94acb58fe5719b05a2 | [
"Apache-2.0"
] | null | null | null | from .obs_sym_plus import ObsSymPlus
from .policy_sym_plus import PolicySymPlus
| 26.666667 | 42 | 0.875 | 12 | 80 | 5.5 | 0.666667 | 0.212121 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 43 | 40 | 0.916667 | 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 | 1 | 0 | 0 | 7 |
e8ef76992395c52eabe76928627b6b7f870cdb1e | 810 | py | Python | tests/test_interfaces.py | mrteathyme/pipewire_python | a00ae7fba7f9179118ce835a80df2fcd8b0812f0 | [
"MIT"
] | 9 | 2021-06-17T19:20:54.000Z | 2022-02-23T09:45:06.000Z | tests/test_interfaces.py | mrteathyme/pipewire_python | a00ae7fba7f9179118ce835a80df2fcd8b0812f0 | [
"MIT"
] | 11 | 2021-06-23T23:46:15.000Z | 2022-01-22T04:33:13.000Z | tests/test_interfaces.py | mrteathyme/pipewire_python | a00ae7fba7f9179118ce835a80df2fcd8b0812f0 | [
"MIT"
] | 3 | 2021-11-16T06:20:57.000Z | 2022-03-20T07:24:17.000Z | from pipewire_python.controller import Controller
def test_interfaces():
# Client
audio_controller = Controller()
list_interfaces_client = audio_controller.get_list_interfaces(
type_interfaces="Client", filtered_by_type=True, verbose=True
)
print(list_interfaces_client)
# check if di... | 27 | 69 | 0.716049 | 100 | 810 | 5.49 | 0.31 | 0.291439 | 0.291439 | 0.169399 | 0.76867 | 0.76867 | 0.76867 | 0.76867 | 0.76867 | 0.76867 | 0 | 0.003135 | 0.212346 | 810 | 29 | 70 | 27.931034 | 0.857367 | 0.120988 | 0 | 0.625 | 0 | 0 | 0.008535 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.125 | 0.125 | 0 | 0 | 0 | null | 1 | 1 | 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 | 8 |
332549eb1748804b8264b450882693da4496d088 | 3,208 | py | Python | userbot/modules/oi.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/oi.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/oi.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #Encript Marshal By XVenom
#https://github.com/xvenom15
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00s\x80\x00\x00\x00d\x00d\x01l\x00Z\x00d\x00d\x01l\x01Z\x01d\x00d\x01l\x02Z\x02d\x00d\x02l\x02m\x03Z\x03\x01\x00d\x00d\x03l\x04m\x05Z... | 802 | 3,137 | 0.754676 | 711 | 3,208 | 3.400844 | 0.194093 | 0.330025 | 0.245658 | 0.208437 | 0.605459 | 0.593466 | 0.581472 | 0.580232 | 0.56038 | 0.56038 | 0 | 0.36461 | 0.009975 | 3,208 | 4 | 3,137 | 802 | 0.396725 | 0.016209 | 0 | 0 | 0 | 0.5 | 0.986688 | 0.946434 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 13 |
6828caa0f076c7dc44fc3d5cb6c29965875a2e8a | 7,440 | py | Python | web/tests/test_event_search.py | alessandrobogliolo/coding-events | 9e34a937c4503f8fb6e406142bd4ef43075ad6dc | [
"MIT"
] | 9 | 2015-01-21T21:37:57.000Z | 2017-10-13T07:27:49.000Z | web/tests/test_event_search.py | alessandrobogliolo/coding-events | 9e34a937c4503f8fb6e406142bd4ef43075ad6dc | [
"MIT"
] | 58 | 2015-04-30T11:01:56.000Z | 2017-11-05T19:23:43.000Z | web/tests/test_event_search.py | alessandrobogliolo/coding-events | 9e34a937c4503f8fb6e406142bd4ef43075ad6dc | [
"MIT"
] | 17 | 2015-08-15T14:59:29.000Z | 2020-06-25T05:20:47.000Z | # -*- coding: utf-8 -*-
import pytest
from django.core.urlresolvers import reverse
from web.tests import EventFactory, ApprovedEventFactory, PastEventFactory
@pytest.mark.django_db
def test_search_show_only_approved(db, client):
approved_event = ApprovedEventFactory.create()
unapproved_event = EventFactory.c... | 33.818182 | 78 | 0.694892 | 867 | 7,440 | 5.755479 | 0.100346 | 0.05511 | 0.07014 | 0.12986 | 0.886373 | 0.872946 | 0.872946 | 0.838677 | 0.809419 | 0.778758 | 0 | 0.030494 | 0.188978 | 7,440 | 219 | 79 | 33.972603 | 0.796487 | 0.005376 | 0 | 0.709677 | 0 | 0 | 0.1456 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 1 | 0.096774 | false | 0 | 0.019355 | 0 | 0.116129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
687e57446d611ab5bb36d11b9f79c9824dca87d9 | 11,717 | py | Python | ALGORITHM/Starcraft/common/rollout.py | Harold0/hmp | 4745e1d3e56c7f08947c839526e6827daa3e6048 | [
"MIT"
] | null | null | null | ALGORITHM/Starcraft/common/rollout.py | Harold0/hmp | 4745e1d3e56c7f08947c839526e6827daa3e6048 | [
"MIT"
] | null | null | null | ALGORITHM/Starcraft/common/rollout.py | Harold0/hmp | 4745e1d3e56c7f08947c839526e6827daa3e6048 | [
"MIT"
] | null | null | null | import numpy as np
import torch
from torch.distributions import one_hot_categorical
import time
class RolloutWorker:
def __init__(self, env, agents, args):
self.env = env
self.agents = agents
self.episode_limit = args.episode_limit
self.n_actions = args.n_actions
self.n_age... | 43.236162 | 113 | 0.563882 | 1,431 | 11,717 | 4.406709 | 0.100629 | 0.022201 | 0.034887 | 0.043134 | 0.870282 | 0.84713 | 0.842372 | 0.842372 | 0.842372 | 0.842372 | 0 | 0.006322 | 0.324998 | 11,717 | 270 | 114 | 43.396296 | 0.790998 | 0.085431 | 0 | 0.901786 | 0 | 0 | 0.01111 | 0 | 0 | 0 | 0 | 0.003704 | 0 | 1 | 0.017857 | false | 0 | 0.017857 | 0 | 0.053571 | 0.008929 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6899ec055880601de23e75819caf6b5b48a8d284 | 2,579 | py | Python | utils/scripts/OOOlevelGen/src/levels/Rise_Above.py | fullscreennl/monkeyswipe | c56192e202674dd5ab18023f6cf14cf51e95fbd0 | [
"MIT"
] | null | null | null | utils/scripts/OOOlevelGen/src/levels/Rise_Above.py | fullscreennl/monkeyswipe | c56192e202674dd5ab18023f6cf14cf51e95fbd0 | [
"MIT"
] | null | null | null | utils/scripts/OOOlevelGen/src/levels/Rise_Above.py | fullscreennl/monkeyswipe | c56192e202674dd5ab18023f6cf14cf51e95fbd0 | [
"MIT"
] | null | null | null | import LevelBuilder
from sprites import *
def render(name,bg):
lb = LevelBuilder.LevelBuilder(name+".plist",background=bg)
lb.addObject(Friend.FriendSprite(classname = 'AccelFriendSprite', x=86, y=36,width=32,height=32,angle='0',restitution=0.2,static='false',friction=0.5,density=20 ).setName('Friend'))
lb.... | 117.227273 | 186 | 0.734781 | 407 | 2,579 | 4.651106 | 0.179361 | 0.092974 | 0.089276 | 0.130481 | 0.849974 | 0.803487 | 0.772847 | 0.743265 | 0.743265 | 0.743265 | 0 | 0.097692 | 0.059325 | 2,579 | 21 | 187 | 122.809524 | 0.682605 | 0 | 0 | 0 | 0 | 0 | 0.114773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.095238 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d7b4335ce191944ecb35b16a07387a4c19796ef8 | 1,991 | py | Python | co2/readoutputs.py | kojitominaga/scratch | 5eaf4de30c89ff1e855a6be493105d1201f07f74 | [
"FSFAP"
] | null | null | null | co2/readoutputs.py | kojitominaga/scratch | 5eaf4de30c89ff1e855a6be493105d1201f07f74 | [
"FSFAP"
] | null | null | null | co2/readoutputs.py | kojitominaga/scratch | 5eaf4de30c89ff1e855a6be493105d1201f07f74 | [
"FSFAP"
] | null | null | null | import os
outputfiles = [f for f in os.listdir('.')
if ('output_' in f) and (not ('UIO' in f))]
lakeid = [int(fn.split('.')[0].split('_')[1]) for fn in outputfiles]
summary = []
for fi in range(len(outputfiles)):
fn = outputfiles[fi]
id = lakeid[fi]
f = open(fn, 'rU')
output = f.read(... | 40.632653 | 204 | 0.482672 | 243 | 1,991 | 3.921811 | 0.201646 | 0.050367 | 0.044071 | 0.033578 | 0.982162 | 0.982162 | 0.982162 | 0.982162 | 0.982162 | 0.982162 | 0 | 0.027043 | 0.145655 | 1,991 | 48 | 205 | 41.479167 | 0.533216 | 0 | 0 | 0.871795 | 0 | 0 | 0.371673 | 0.264189 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.025641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d7b897278a9a18ca577ab019b430b6ff36d73069 | 176 | py | Python | src/phoenix_letter/common/credentials.py | quixand/phoenix-letter | 8578f70cf5168eb64f1608ed3422b55307fe6514 | [
"MIT"
] | 14 | 2019-06-10T14:54:24.000Z | 2022-03-02T11:17:30.000Z | src/phoenix_letter/common/credentials.py | quixand/phoenix-letter | 8578f70cf5168eb64f1608ed3422b55307fe6514 | [
"MIT"
] | 37 | 2018-12-23T06:00:49.000Z | 2022-03-01T12:01:53.000Z | src/phoenix_letter/common/credentials.py | quixand/phoenix-letter | 8578f70cf5168eb64f1608ed3422b55307fe6514 | [
"MIT"
] | 6 | 2019-10-30T12:25:31.000Z | 2020-10-12T00:30:43.000Z | from getpass import getpass
def get_credentials():
access_key = getpass("AWS Access Key:")
secret_key = getpass("AWS Secret Key:")
return access_key, secret_key
| 19.555556 | 43 | 0.715909 | 24 | 176 | 5.041667 | 0.458333 | 0.223141 | 0.214876 | 0.297521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193182 | 176 | 8 | 44 | 22 | 0.852113 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.6 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
d7dbc087f29c0b8b509c2d4508a6a87e8baa0fd5 | 9,272 | py | Python | tests/test_cfgfilter.py | redhat-openstack/oslo.config | 37b6d32f43c2f0f11a87674a8dc1278af09fdec9 | [
"Apache-1.1"
] | null | null | null | tests/test_cfgfilter.py | redhat-openstack/oslo.config | 37b6d32f43c2f0f11a87674a8dc1278af09fdec9 | [
"Apache-1.1"
] | null | null | null | tests/test_cfgfilter.py | redhat-openstack/oslo.config | 37b6d32f43c2f0f11a87674a8dc1278af09fdec9 | [
"Apache-1.1"
] | null | null | null | # Copyright 2014 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | 37.844898 | 78 | 0.625108 | 1,160 | 9,272 | 4.918966 | 0.100862 | 0.140379 | 0.082019 | 0.066597 | 0.854364 | 0.842972 | 0.838591 | 0.801788 | 0.78251 | 0.763056 | 0 | 0.00447 | 0.22789 | 9,272 | 244 | 79 | 38 | 0.792569 | 0.062338 | 0 | 0.73913 | 0 | 0 | 0.046429 | 0 | 0 | 0 | 0 | 0 | 0.657609 | 1 | 0.097826 | false | 0 | 0.016304 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d7fabc4533404eba8bb4028633b38317329eea58 | 1,153 | py | Python | controllers/controllers.py | horaciosanrafael/gppto | d029548550ebb62722cf748b5a570bc5c16801c6 | [
"MIT"
] | null | null | null | controllers/controllers.py | horaciosanrafael/gppto | d029548550ebb62722cf748b5a570bc5c16801c6 | [
"MIT"
] | null | null | null | controllers/controllers.py | horaciosanrafael/gppto | d029548550ebb62722cf748b5a570bc5c16801c6 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# from odoo import http
# class /home/horacio/odoo1303/misapps/gpppto(http.Controller):
# @http.route('//home/horacio/odoo1303/misapps/gpppto//home/horacio/odoo1303/misapps/gpppto/', auth='public')
# def index(self, **kw):
# return "Hello, world"
# @http.route('//home/hora... | 52.409091 | 212 | 0.664354 | 135 | 1,153 | 5.674074 | 0.259259 | 0.215405 | 0.372063 | 0.509138 | 0.754569 | 0.712794 | 0.712794 | 0.712794 | 0.712794 | 0.712794 | 0 | 0.061678 | 0.142238 | 1,153 | 21 | 213 | 54.904762 | 0.712841 | 0.966175 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
cc0d61662249578a6e79ca0d5ae078fbf261ea84 | 1,990 | py | Python | prediksi/migrations/0004_auto_20191121_2332.py | valiantkevin/prediksi-saham-randomforest | 927fba182e30c228300a55cb5f57b16f0147db76 | [
"MIT"
] | null | null | null | prediksi/migrations/0004_auto_20191121_2332.py | valiantkevin/prediksi-saham-randomforest | 927fba182e30c228300a55cb5f57b16f0147db76 | [
"MIT"
] | null | null | null | prediksi/migrations/0004_auto_20191121_2332.py | valiantkevin/prediksi-saham-randomforest | 927fba182e30c228300a55cb5f57b16f0147db76 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.5 on 2019-11-21 16:32
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('prediksi', '0003_resultstocks'),
]
operations = [
migrations.DeleteModel(
name='ResultStocks',
),
migrations.Add... | 28.028169 | 49 | 0.533166 | 166 | 1,990 | 6.277108 | 0.259036 | 0.15547 | 0.198656 | 0.233205 | 0.760077 | 0.760077 | 0.724568 | 0.724568 | 0.675624 | 0.675624 | 0 | 0.031373 | 0.359296 | 1,990 | 70 | 50 | 28.428571 | 0.785882 | 0.022613 | 0 | 0.71875 | 1 | 0 | 0.080803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015625 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cc12b66f5e970d2c465eb6b2a868db076c0d3aa1 | 15,146 | py | Python | beaconrunner/eth2spec/test/custody_game/block_processing/test_process_chunk_challenge.py | casparschwa/beaconrunner | d5430e08b120462beea19f65a4cf335ec9eb9134 | [
"MIT"
] | 2,161 | 2018-09-20T09:40:27.000Z | 2021-08-17T16:48:29.000Z | tests/core/pyspec/eth2spec/test/custody_game/block_processing/test_process_chunk_challenge.py | sthagen/eth2.0-specs | 27b0d1f32e4ce430dd13b447c273a0f64b637066 | [
"CC0-1.0"
] | 1,573 | 2018-09-22T06:33:19.000Z | 2021-08-18T00:54:44.000Z | tests/core/pyspec/eth2spec/test/custody_game/block_processing/test_process_chunk_challenge.py | sthagen/eth2.0-specs | 27b0d1f32e4ce430dd13b447c273a0f64b637066 | [
"CC0-1.0"
] | 502 | 2018-09-22T04:37:36.000Z | 2021-08-17T09:34:45.000Z | from eth2spec.test.helpers.custody import (
get_valid_chunk_challenge,
get_valid_custody_chunk_response,
get_sample_shard_transition,
)
from eth2spec.test.helpers.attestations import (
get_valid_attestation,
)
from eth2spec.test.helpers.constants import (
CUSTODY_GAME,
MINIMAL,
)
from eth2spec.t... | 40.605898 | 120 | 0.749505 | 1,911 | 15,146 | 5.535322 | 0.050235 | 0.112309 | 0.048402 | 0.063528 | 0.893364 | 0.885139 | 0.865476 | 0.862261 | 0.843449 | 0.824069 | 0 | 0.008867 | 0.15859 | 15,146 | 372 | 121 | 40.715054 | 0.821171 | 0.033408 | 0 | 0.790323 | 0 | 0 | 0.010224 | 0.001578 | 0 | 0 | 0 | 0 | 0.024194 | 1 | 0.052419 | false | 0 | 0.024194 | 0 | 0.084677 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
0be637d979a1b4029dc88be65d124c241092cb12 | 34 | py | Python | tests/test_smoke.py | messa/baq | 388f0d5f28e88d1cd8656f4508baf9acb06a7508 | [
"MIT"
] | 1 | 2021-03-26T13:15:21.000Z | 2021-03-26T13:15:21.000Z | tests/test_smoke.py | messa/baq | 388f0d5f28e88d1cd8656f4508baf9acb06a7508 | [
"MIT"
] | null | null | null | tests/test_smoke.py | messa/baq | 388f0d5f28e88d1cd8656f4508baf9acb06a7508 | [
"MIT"
] | null | null | null | def test_import():
import baq
| 11.333333 | 18 | 0.676471 | 5 | 34 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 34 | 2 | 19 | 17 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0408c52b5998ded0fb3544d97e56ecbd315a6a0b | 159 | py | Python | tests/motion/does_not_have_motion_class/__init__.py | dadaloop82/viseron | 1c6c446a4856e16c0e2ed6b9323d169fbdcae20f | [
"MIT"
] | 399 | 2020-08-31T21:13:07.000Z | 2022-03-31T18:54:26.000Z | tests/motion/does_not_have_motion_class/__init__.py | dadaloop82/viseron | 1c6c446a4856e16c0e2ed6b9323d169fbdcae20f | [
"MIT"
] | 157 | 2020-09-01T18:59:56.000Z | 2022-03-25T07:14:19.000Z | tests/motion/does_not_have_motion_class/__init__.py | dadaloop82/viseron | 1c6c446a4856e16c0e2ed6b9323d169fbdcae20f | [
"MIT"
] | 53 | 2020-09-01T07:35:59.000Z | 2022-03-28T23:21:16.000Z | """Dummy class that does not have MotionDetection class."""
class motiondetection:
"""Dummy class that does not have MotionDetection class."""
pass
| 19.875 | 63 | 0.716981 | 19 | 159 | 6 | 0.421053 | 0.175439 | 0.245614 | 0.315789 | 0.789474 | 0.789474 | 0.789474 | 0.789474 | 0 | 0 | 0 | 0 | 0.188679 | 159 | 7 | 64 | 22.714286 | 0.883721 | 0.672956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
04092c06ef198aa63c078b300b9d9ea285674364 | 4,345 | py | Python | task1a/10class/utils.py | satyarth934/DCASE2020_task1 | a72234d9456086f1024f119505fc84801a383813 | [
"MIT"
] | 64 | 2020-07-01T15:03:19.000Z | 2022-03-26T06:39:19.000Z | task1a/10class/utils.py | satyarth934/DCASE2020_task1 | a72234d9456086f1024f119505fc84801a383813 | [
"MIT"
] | 19 | 2020-08-10T08:14:50.000Z | 2022-01-20T08:44:58.000Z | task1a/10class/utils.py | satyarth934/DCASE2020_task1 | a72234d9456086f1024f119505fc84801a383813 | [
"MIT"
] | 29 | 2020-07-05T04:37:30.000Z | 2022-03-18T18:47:20.000Z | import numpy as np
import pandas as pd
import pickle
import os
def load_data_2020(feat_path, csv_path, feat_dim, file_type):
with open(csv_path, 'r') as text_file:
lines = text_file.read().split('\n')
for idx, elem in enumerate(lines):
lines[idx] = lines[idx].split('\t')
lin... | 36.512605 | 86 | 0.55443 | 599 | 4,345 | 3.861436 | 0.131886 | 0.083009 | 0.034587 | 0.041505 | 0.860787 | 0.847817 | 0.822741 | 0.822741 | 0.789883 | 0.789883 | 0 | 0.018778 | 0.27687 | 4,345 | 118 | 87 | 36.822034 | 0.717377 | 0.019793 | 0 | 0.761364 | 0 | 0 | 0.052223 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.045455 | 0 | 0.136364 | 0.022727 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
f099291b7ed766e31cdc989ac4bd6ea6d31a4422 | 72 | py | Python | paz/models/classification/__init__.py | niqbal996/paz | f27205907367415d5b21f90e1a1d1d1ce598e889 | [
"MIT"
] | 300 | 2020-10-29T08:02:05.000Z | 2022-03-30T21:47:32.000Z | paz/models/classification/__init__.py | albertofernandezvillan/paz | 9fbd50b993f37e1e807297a29c6044c09967c9cc | [
"MIT"
] | 30 | 2020-10-29T12:40:32.000Z | 2022-03-31T14:06:35.000Z | paz/models/classification/__init__.py | albertofernandezvillan/paz | 9fbd50b993f37e1e807297a29c6044c09967c9cc | [
"MIT"
] | 62 | 2020-10-29T12:34:13.000Z | 2022-03-29T05:21:45.000Z | from .xception import build_xception
from .xception import MiniXception
| 24 | 36 | 0.861111 | 9 | 72 | 6.777778 | 0.555556 | 0.393443 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 37 | 36 | 0.953125 | 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 | 1 | 0 | 0 | 7 |
f0b6b85893291d2d8f323b7ce4fb7ece91c194cf | 9,491 | py | Python | proofpoint_tap/komand_proofpoint_tap/actions/get_blocked_clicks/schema.py | GreyNoise-Intelligence/insightconnect-plugins | 2ba3121d42fd96e1267bb095bc76b962678c1f56 | [
"MIT"
] | null | null | null | proofpoint_tap/komand_proofpoint_tap/actions/get_blocked_clicks/schema.py | GreyNoise-Intelligence/insightconnect-plugins | 2ba3121d42fd96e1267bb095bc76b962678c1f56 | [
"MIT"
] | null | null | null | proofpoint_tap/komand_proofpoint_tap/actions/get_blocked_clicks/schema.py | GreyNoise-Intelligence/insightconnect-plugins | 2ba3121d42fd96e1267bb095bc76b962678c1f56 | [
"MIT"
] | null | null | null | # GENERATED BY KOMAND SDK - DO NOT EDIT
import insightconnect_plugin_runtime
import json
class Component:
DESCRIPTION = "Fetch events for clicks to malicious URLs blocked in the specified time period"
class Input:
THREAT_STATUS = "threat_status"
TIME_END = "time_end"
TIME_START = "time_start"
UR... | 31.427152 | 371 | 0.487514 | 908 | 9,491 | 5.045154 | 0.202643 | 0.076403 | 0.114604 | 0.041257 | 0.744379 | 0.744379 | 0.744379 | 0.727789 | 0.706396 | 0.706396 | 0 | 0.014409 | 0.378464 | 9,491 | 301 | 372 | 31.531561 | 0.762163 | 0.003898 | 0 | 0.670139 | 1 | 0.020833 | 0.937791 | 0.010051 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006944 | false | 0 | 0.006944 | 0 | 0.059028 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f0e3c8cd16a4fa82c53ccfbad25ad5b3339b3e91 | 9,443 | py | Python | gapid_tests/resource_creation_tests/CreateResetDestroyCommandPool_test/CreateResetDestroyCommandPool_test.py | RenfengLiu/vulkan_test_applications | 04359b7184ad94659810213ff63ae71296426182 | [
"Apache-2.0"
] | 55 | 2017-06-20T13:54:31.000Z | 2022-02-08T23:58:11.000Z | gapid_tests/resource_creation_tests/CreateResetDestroyCommandPool_test/CreateResetDestroyCommandPool_test.py | RenfengLiu/vulkan_test_applications | 04359b7184ad94659810213ff63ae71296426182 | [
"Apache-2.0"
] | 53 | 2017-06-15T19:23:07.000Z | 2022-03-30T19:56:30.000Z | gapid_tests/resource_creation_tests/CreateResetDestroyCommandPool_test/CreateResetDestroyCommandPool_test.py | RenfengLiu/vulkan_test_applications | 04359b7184ad94659810213ff63ae71296426182 | [
"Apache-2.0"
] | 42 | 2017-06-15T19:05:40.000Z | 2022-03-30T14:15:25.000Z | # Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 45.181818 | 84 | 0.719263 | 1,115 | 9,443 | 5.664574 | 0.129148 | 0.170678 | 0.107663 | 0.063331 | 0.838664 | 0.817764 | 0.813015 | 0.810956 | 0.810956 | 0.810956 | 0 | 0.007706 | 0.216668 | 9,443 | 208 | 85 | 45.399038 | 0.846154 | 0.126231 | 0 | 0.816327 | 0 | 0 | 0.049227 | 0.016695 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027211 | false | 0 | 0.040816 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9be847fbcd524c64d491874fe0f32f253cef71e1 | 34,377 | py | Python | tests/unit_tests/gui/mainWmixin/test_tabSatSearch.py | mworion/MountWizzard4 | 4e06b29ec2ef70be40e114b911b7bdf2f858a4b1 | [
"Apache-2.0"
] | 16 | 2020-01-11T22:32:26.000Z | 2022-03-31T15:18:14.000Z | tests/unit_tests/gui/mainWmixin/test_tabSatSearch.py | mworion/MountWizzard4 | 4e06b29ec2ef70be40e114b911b7bdf2f858a4b1 | [
"Apache-2.0"
] | 196 | 2020-01-16T13:56:01.000Z | 2022-03-29T02:06:51.000Z | tests/unit_tests/gui/mainWmixin/test_tabSatSearch.py | mworion/MountWizzard4 | 4e06b29ec2ef70be40e114b911b7bdf2f858a4b1 | [
"Apache-2.0"
] | 6 | 2019-12-01T19:39:33.000Z | 2021-05-27T13:14:20.000Z | ############################################################
# -*- coding: utf-8 -*-
#
# # # # # # #
# ## ## # ## # #
# # # # # # # # # # #
# # ## # ## ## ######
# # # # # # #
#
# Python-based Tool for interaction with the 10micron mounts
# GUI with PyQT5 fo... | 33.246615 | 83 | 0.595165 | 3,203 | 34,377 | 6.319076 | 0.089291 | 0.061265 | 0.052026 | 0.076038 | 0.820949 | 0.778903 | 0.758745 | 0.747579 | 0.728162 | 0.702421 | 0 | 0.041772 | 0.306397 | 34,377 | 1,033 | 84 | 33.2788 | 0.807079 | 0.009076 | 0 | 0.768187 | 0 | 0 | 0.063365 | 0.000708 | 0 | 0 | 0 | 0 | 0.097411 | 1 | 0.087546 | false | 0.003699 | 0.022195 | 0.003699 | 0.221948 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
50138262e9b7bc99fc5c0f8b04b6a07adb934f2d | 239 | py | Python | python/tests/compat.py | JX7P/libucl | d1cf4e9783fa96b9399f6585e2dc9a42e4d64746 | [
"BSD-2-Clause"
] | 1,301 | 2015-01-01T10:42:07.000Z | 2022-03-21T08:00:14.000Z | python/tests/compat.py | JX7P/libucl | d1cf4e9783fa96b9399f6585e2dc9a42e4d64746 | [
"BSD-2-Clause"
] | 137 | 2015-01-04T18:15:11.000Z | 2022-03-21T20:46:58.000Z | python/tests/compat.py | JX7P/libucl | d1cf4e9783fa96b9399f6585e2dc9a42e4d64746 | [
"BSD-2-Clause"
] | 161 | 2015-01-04T14:15:23.000Z | 2022-03-20T04:11:01.000Z | try:
import unittest2 as unittest
except ImportError:
import unittest
# Python 2.7 - 3.1
if not hasattr(unittest.TestCase, 'assertRaisesRegex'):
unittest.TestCase.assertRaisesRegex = unittest.TestCase.assertRaisesRegexp
| 26.555556 | 78 | 0.757322 | 26 | 239 | 6.961538 | 0.692308 | 0.265193 | 0.364641 | 0.453039 | 0.453039 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025126 | 0.167364 | 239 | 8 | 79 | 29.875 | 0.884422 | 0.066946 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
ac9fa60e7041f8e00db33f0d5f49e90141c9bcef | 12,355 | py | Python | src/maintenance/azext_maintenance/tests/latest/example_steps.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 207 | 2017-11-29T06:59:41.000Z | 2022-03-31T10:00:53.000Z | src/maintenance/azext_maintenance/tests/latest/example_steps.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 4,061 | 2017-10-27T23:19:56.000Z | 2022-03-31T23:18:30.000Z | src/maintenance/azext_maintenance/tests/latest/example_steps.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 802 | 2017-10-11T17:36:26.000Z | 2022-03-31T22:24:32.000Z | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | 37.213855 | 120 | 0.632699 | 1,115 | 12,355 | 6.904933 | 0.124664 | 0.033771 | 0.037407 | 0.049877 | 0.911157 | 0.846344 | 0.737758 | 0.737758 | 0.737758 | 0.737758 | 0 | 0.009032 | 0.238284 | 12,355 | 331 | 121 | 37.326284 | 0.809053 | 0.175395 | 0 | 0.782258 | 0 | 0 | 0.469963 | 0.169884 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0.004032 | 0.008065 | 0.108871 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ace894c1a9acaf1a77eb9f7f647647ec4d39d38e | 171 | py | Python | app/api/__init__.py | netai/apidesk | f87ace7d08777ed3f1e587e904800e78d6401b7f | [
"MIT"
] | null | null | null | app/api/__init__.py | netai/apidesk | f87ace7d08777ed3f1e587e904800e78d6401b7f | [
"MIT"
] | null | null | null | app/api/__init__.py | netai/apidesk | f87ace7d08777ed3f1e587e904800e78d6401b7f | [
"MIT"
] | null | null | null | from flask import Flask
from flask import Blueprint
from .routes import api_routes
api_blueprint = Blueprint('api', __name__, url_prefix='/api')
api_routes(api_blueprint) | 28.5 | 61 | 0.812865 | 25 | 171 | 5.2 | 0.36 | 0.138462 | 0.230769 | 0.323077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 171 | 6 | 62 | 28.5 | 0.849673 | 0 | 0 | 0 | 0 | 0 | 0.040698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0.6 | 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 | 1 | 0 | 1 | 1 | 0 | 7 |
4a06a619dc6b0a3492b294be5eba310a52281c13 | 5,124 | py | Python | feeder/ntu_feeder.py | zjl863761131/CrosSCLR | 792b70c76902a5e7ca5696f5a032f14bb04a255a | [
"BSD-2-Clause"
] | 35 | 2021-04-20T03:30:20.000Z | 2022-03-30T02:45:04.000Z | feeder/ntu_feeder.py | zjl863761131/CrosSCLR | 792b70c76902a5e7ca5696f5a032f14bb04a255a | [
"BSD-2-Clause"
] | 1 | 2022-03-25T12:32:47.000Z | 2022-03-25T12:32:47.000Z | feeder/ntu_feeder.py | zjl863761131/CrosSCLR | 792b70c76902a5e7ca5696f5a032f14bb04a255a | [
"BSD-2-Clause"
] | 16 | 2021-04-22T14:38:05.000Z | 2022-02-22T09:18:52.000Z | import numpy as np
import pickle, torch
from . import tools
class Feeder_single(torch.utils.data.Dataset):
""" Feeder for single inputs """
def __init__(self, data_path, label_path, shear_amplitude=0.5, temperal_padding_ratio=6, mmap=True):
self.data_path = data_path
self.label_path = label_p... | 30.86747 | 123 | 0.610656 | 651 | 5,124 | 4.500768 | 0.099846 | 0.09215 | 0.102389 | 0.07372 | 0.845392 | 0.805119 | 0.716382 | 0.716382 | 0.716382 | 0.716382 | 0 | 0.006298 | 0.287276 | 5,124 | 166 | 124 | 30.86747 | 0.796002 | 0.456674 | 0 | 0.827586 | 0 | 0 | 0.002217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.172414 | false | 0 | 0.051724 | 0.034483 | 0.362069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4a06d0821d5a4970caddf87d61fc7ebe786a6ee1 | 3,229 | py | Python | models/addatt_RNN.py | caokyhieu/DELAFO | 1c84e5f4ef9690e453973b57d1f0feb194a55a8c | [
"MIT"
] | 17 | 2020-05-04T08:54:14.000Z | 2022-03-28T08:43:09.000Z | models/addatt_RNN.py | caokyhieu/DELAFO | 1c84e5f4ef9690e453973b57d1f0feb194a55a8c | [
"MIT"
] | 2 | 2020-11-03T01:07:24.000Z | 2021-08-06T16:56:18.000Z | models/addatt_RNN.py | caokyhieu/DELAFO | 1c84e5f4ef9690e453973b57d1f0feb194a55a8c | [
"MIT"
] | 10 | 2020-06-11T15:59:32.000Z | 2022-03-22T14:00:04.000Z | from keras.layers import Input, Activation, Dense,Flatten, BatchNormalization, Add, Conv2D
from keras.layers import MaxPooling2D,AveragePooling2D,Permute,Reshape,LSTM,Lambda,GRU,Bidirectional,BatchNormalization,Concatenate
from keras import regularizers
from keras.optimizers import Adam
from models.attention_layer impo... | 33.989474 | 135 | 0.69681 | 394 | 3,229 | 5.492386 | 0.187817 | 0.066543 | 0.107209 | 0.114603 | 0.808688 | 0.808688 | 0.808688 | 0.808688 | 0.808688 | 0.808688 | 0 | 0.024155 | 0.166615 | 3,229 | 94 | 136 | 34.351064 | 0.780007 | 0.018272 | 0 | 0.819672 | 0 | 0 | 0.032237 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0 | 0.114754 | 0 | 0.180328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c582c6ad967b20ffce6e762584e9e65b269a7884 | 3,903 | py | Python | test/libzstd.py | MaxSac/build | 482c25f3a26171073c7e6c59f0427f2259a63fec | [
"BSL-1.0"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | test/libzstd.py | MaxSac/build | 482c25f3a26171073c7e6c59f0427f2259a63fec | [
"BSL-1.0"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | test/libzstd.py | MaxSac/build | 482c25f3a26171073c7e6c59f0427f2259a63fec | [
"BSL-1.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | #!/usr/bin/python
# Copy-paste-modify from zlib.py
# Copyright (C) 2013 Steven Watanabe
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
import BoostBuild
import MockToolset
t = BoostBuild.Tester(arguments=['tools... | 32.798319 | 107 | 0.679734 | 629 | 3,903 | 4.155803 | 0.165342 | 0.040168 | 0.057383 | 0.06886 | 0.748661 | 0.73948 | 0.73948 | 0.739097 | 0.718822 | 0.718822 | 0 | 0.003145 | 0.103766 | 3,903 | 118 | 108 | 33.076271 | 0.74414 | 0.138611 | 0 | 0.719101 | 0 | 0.213483 | 0.719104 | 0.147761 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.011236 | 0.022472 | 0 | 0.022472 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c590528ffbff8fdab0a110e2cea092d93415305b | 12,030 | py | Python | services/server/dashboard/2020-03-19-cases-and-deaths-per-million.py | adriangrepo/covid-19_virus | c13b8be5a4e0df43ce6fd743aa0b82cb66e4cc0e | [
"MIT"
] | null | null | null | services/server/dashboard/2020-03-19-cases-and-deaths-per-million.py | adriangrepo/covid-19_virus | c13b8be5a4e0df43ce6fd743aa0b82cb66e4cc0e | [
"MIT"
] | null | null | null | services/server/dashboard/2020-03-19-cases-and-deaths-per-million.py | adriangrepo/covid-19_virus | c13b8be5a4e0df43ce6fd743aa0b82cb66e4cc0e | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# # COVID-19 Deaths Per Capita
# > Comparing death rates adjusting for population size.
#
# - comments: true
# - author: Joao B. Duarte & Hamel Husain
# - categories: [growth, compare, interactive]
# - hide: false
# - image: images/covid-permillion-trajectories.png
# - permalink... | 35.910448 | 221 | 0.676725 | 1,791 | 12,030 | 4.379118 | 0.189838 | 0.032641 | 0.036721 | 0.030346 | 0.817927 | 0.804667 | 0.802882 | 0.774959 | 0.774959 | 0.774959 | 0 | 0.027849 | 0.155278 | 12,030 | 334 | 222 | 36.017964 | 0.743948 | 0.16808 | 0 | 0.797927 | 0 | 0.010363 | 0.266754 | 0.002717 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.010363 | 0.020725 | 0 | 0.020725 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c5a90548b6e446ed6bcacd0a869781b03d1e7eac | 89 | py | Python | script.py | bernadinm/sha512 | 5c4918839d2d9715fff20bf8476a906fa4a8d798 | [
"Apache-2.0"
] | 2 | 2019-03-07T00:31:39.000Z | 2019-03-22T15:55:37.000Z | script.py | bernadinm/sha512 | 5c4918839d2d9715fff20bf8476a906fa4a8d798 | [
"Apache-2.0"
] | null | null | null | script.py | bernadinm/sha512 | 5c4918839d2d9715fff20bf8476a906fa4a8d798 | [
"Apache-2.0"
] | null | null | null | from passlib.hash import sha512_crypt
import sys
print (sha512_crypt.hash(sys.argv[1]))
| 17.8 | 38 | 0.797753 | 15 | 89 | 4.6 | 0.666667 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 0.101124 | 89 | 4 | 39 | 22.25 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
c5b8a9c6dac6321ab367215edc2cc8d83138dd88 | 117 | py | Python | scripts/learning/src/interfaces/__init__.py | wvat/NTRTsim | 0443cbd542e12e23c04adf79ea0d8d003c428baa | [
"Apache-2.0"
] | 148 | 2015-01-08T22:44:00.000Z | 2022-03-19T18:42:48.000Z | scripts/learning/src/interfaces/__init__.py | wvat/NTRTsim | 0443cbd542e12e23c04adf79ea0d8d003c428baa | [
"Apache-2.0"
] | 107 | 2015-01-02T16:41:42.000Z | 2021-06-14T22:09:19.000Z | scripts/learning/src/interfaces/__init__.py | wvat/NTRTsim | 0443cbd542e12e23c04adf79ea0d8d003c428baa | [
"Apache-2.0"
] | 86 | 2015-01-06T07:02:36.000Z | 2022-02-28T17:36:14.000Z | from ntrt_job_master import NTRTJobMaster
from ntrt_job import NTRTJob
from ntrt_master_error import NTRTMasterError
| 29.25 | 45 | 0.897436 | 17 | 117 | 5.882353 | 0.529412 | 0.24 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 3 | 46 | 39 | 0.952381 | 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 | 1 | 0 | 0 | 7 |
c5d1c71d4ed0b8e3b71d7182520d991acee5ed1a | 122 | py | Python | floris/tools/optimization/pyoptsparse/__init__.py | jialrs/floris-enhanced | 66cdf1c9597aa3bb4f956cc9a0cb497312a690bf | [
"Apache-2.0"
] | null | null | null | floris/tools/optimization/pyoptsparse/__init__.py | jialrs/floris-enhanced | 66cdf1c9597aa3bb4f956cc9a0cb497312a690bf | [
"Apache-2.0"
] | null | null | null | floris/tools/optimization/pyoptsparse/__init__.py | jialrs/floris-enhanced | 66cdf1c9597aa3bb4f956cc9a0cb497312a690bf | [
"Apache-2.0"
] | null | null | null | from . import layout
from . import optimization
from . import power_density
from . import power_density
from . import yaw
| 20.333333 | 27 | 0.795082 | 17 | 122 | 5.588235 | 0.411765 | 0.526316 | 0.315789 | 0.463158 | 0.568421 | 0.568421 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 122 | 5 | 28 | 24.4 | 0.931373 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
a86317bd6e6a950737edbaf388356c7146cbb65e | 4,816 | py | Python | tests/handling/indexing/test_index_population.py | pshchelo/kopf | a94648d18b3d0dc84e8d15caf1fcab7a84f7fdb8 | [
"MIT"
] | null | null | null | tests/handling/indexing/test_index_population.py | pshchelo/kopf | a94648d18b3d0dc84e8d15caf1fcab7a84f7fdb8 | [
"MIT"
] | null | null | null | tests/handling/indexing/test_index_population.py | pshchelo/kopf | a94648d18b3d0dc84e8d15caf1fcab7a84f7fdb8 | [
"MIT"
] | null | null | null | import asyncio
import logging
import pytest
from kopf._cogs.aiokits.aiotoggles import Toggle
from kopf._cogs.structs.ephemera import Memo
from kopf._core.actions.lifecycles import all_at_once
from kopf._core.reactor.inventory import ResourceMemories
from kopf._core.reactor.processing import process_resource_event
EV... | 36.484848 | 97 | 0.682309 | 552 | 4,816 | 5.728261 | 0.184783 | 0.056926 | 0.044276 | 0.037951 | 0.811195 | 0.801708 | 0.801708 | 0.801708 | 0.801708 | 0.782732 | 0 | 0.011917 | 0.198505 | 4,816 | 131 | 98 | 36.763359 | 0.807254 | 0.05108 | 0 | 0.765217 | 0 | 0 | 0.074732 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 1 | 0 | false | 0 | 0.069565 | 0 | 0.069565 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
a86b6cb161b81ddc57b24ec2b7d236ef453a05d4 | 52,369 | py | Python | LeetCode/contest-2018-11-4/three_equal_parts.py | Max-PJB/python-learning2 | e8b05bef1574ee9abf8c90497e94ef20a7f4e3bd | [
"MIT"
] | null | null | null | LeetCode/contest-2018-11-4/three_equal_parts.py | Max-PJB/python-learning2 | e8b05bef1574ee9abf8c90497e94ef20a7f4e3bd | [
"MIT"
] | null | null | null | LeetCode/contest-2018-11-4/three_equal_parts.py | Max-PJB/python-learning2 | e8b05bef1574ee9abf8c90497e94ef20a7f4e3bd | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
-------------------------------------------------
@ Author : pengj
@ date : 2018/11/4 13:44
@ IDE : PyCharm
@ GitHub : https://github.com/JackyPJB
@ Contact : pengjianbiao@hotmail.com
----------------... | 523.69 | 50,009 | 0.499933 | 25,381 | 52,369 | 1.029904 | 0.004452 | 0.484392 | 0.364728 | 0.247284 | 0.96052 | 0.958187 | 0.95635 | 0.95635 | 0.95635 | 0.95635 | 0 | 0.485593 | 0.011247 | 52,369 | 99 | 50,010 | 528.979798 | 0.019235 | 0.977391 | 0 | 0.057143 | 0 | 0 | 0.02921 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0 | 0.028571 | 0 | 0.285714 | 0.114286 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
a889fd2af57298712860b0885fc5011bbbd1e4f5 | 4,566 | py | Python | auctionDetailApi/mysql.py | wd18535470628/PythonCraw | 9be3519da1219ad4ffc0d26cc97ceabcb0a7c06b | [
"Apache-2.0"
] | null | null | null | auctionDetailApi/mysql.py | wd18535470628/PythonCraw | 9be3519da1219ad4ffc0d26cc97ceabcb0a7c06b | [
"Apache-2.0"
] | null | null | null | auctionDetailApi/mysql.py | wd18535470628/PythonCraw | 9be3519da1219ad4ffc0d26cc97ceabcb0a7c06b | [
"Apache-2.0"
] | null | null | null | #coding=utf-8
import MySQLdb
import time
class Mysql:
# 数据库初始化
def __init__(self):
try:
self.db = MySQLdb.connect('192.168.1.189', 'root', '123456', 'jd_crawler')
self.cur = self.db.cursor()
except MySQLdb.Error, e:
print self.getCurrentTime(), "连接数据库错误,原因%d:... | 44.764706 | 135 | 0.452256 | 466 | 4,566 | 4.313305 | 0.190987 | 0.047761 | 0.055721 | 0.055721 | 0.844776 | 0.829851 | 0.829851 | 0.808955 | 0.808955 | 0.808955 | 0 | 0.016233 | 0.419842 | 4,566 | 102 | 136 | 44.764706 | 0.742544 | 0.01993 | 0 | 0.791209 | 0 | 0 | 0.110166 | 0 | 0.021978 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.021978 | null | null | 0.120879 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a89308be7e26ed889006bb918d1f241d6f14a52b | 4,295 | py | Python | src/iterator.py | fstrub95/bpi_continuous | 889fd08675ec4e448a0c9d80466a08faeedf3db0 | [
"Apache-2.0"
] | null | null | null | src/iterator.py | fstrub95/bpi_continuous | 889fd08675ec4e448a0c9d80466a08faeedf3db0 | [
"Apache-2.0"
] | null | null | null | src/iterator.py | fstrub95/bpi_continuous | 889fd08675ec4e448a0c9d80466a08faeedf3db0 | [
"Apache-2.0"
] | null | null | null | import numpy as np
try:
from itertools import izip
except ImportError: #python3.x
izip = zip
from collections import namedtuple
MiniBatch = namedtuple('MiniBatch', ['state', 'next_state', 'action', 'reward'])
class Dataset(object):
def __init__(self, samples):
self.samples = samples
... | 31.123188 | 80 | 0.619092 | 524 | 4,295 | 4.851145 | 0.135496 | 0.099135 | 0.081825 | 0.126672 | 0.912667 | 0.912667 | 0.912667 | 0.912667 | 0.912667 | 0.912667 | 0 | 0.004211 | 0.281257 | 4,295 | 138 | 81 | 31.123188 | 0.819242 | 0.064494 | 0 | 0.869565 | 0 | 0 | 0.027944 | 0.005489 | 0 | 0 | 0 | 0 | 0.021739 | 1 | 0.065217 | false | 0 | 0.043478 | 0 | 0.152174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
a8af26f7d06a3c253d71a4aa2d73edd41f699eb1 | 9,113 | py | Python | appAlunos/views.py | ValerioMedeiros/SCEFA | 9028b575f8813e309c01061f0c1f58776e225ae7 | [
"MIT"
] | null | null | null | appAlunos/views.py | ValerioMedeiros/SCEFA | 9028b575f8813e309c01061f0c1f58776e225ae7 | [
"MIT"
] | 4 | 2018-10-23T21:41:11.000Z | 2019-02-16T16:34:39.000Z | appAlunos/views.py | ValerioMedeiros/SCEFA | 9028b575f8813e309c01061f0c1f58776e225ae7 | [
"MIT"
] | 3 | 2019-01-20T01:34:41.000Z | 2019-10-21T20:32:46.000Z | from django.contrib.auth.decorators import permission_required, login_required
from django.contrib.auth.models import Group
from django.core.paginator import Paginator, PageNotAnInteger, EmptyPage
from django.shortcuts import render, redirect
from appAlunos.forms import AlunoForm
from appAlunos.models import *
from app... | 46.258883 | 134 | 0.677274 | 1,049 | 9,113 | 5.714967 | 0.126787 | 0.03603 | 0.057048 | 0.031526 | 0.844204 | 0.818349 | 0.800167 | 0.756297 | 0.726439 | 0.702585 | 0 | 0.000549 | 0.201141 | 9,113 | 196 | 135 | 46.494898 | 0.82294 | 0 | 0 | 0.709677 | 0 | 0 | 0.179414 | 0.056183 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053763 | false | 0.010753 | 0.037634 | 0 | 0.204301 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7698551989a9816ef4d61dec6da1497bdad7d3cb | 13,445 | py | Python | bin/tests/sensors_test.py | shutingrz/sensorUI | dc08c5fdf67b7b41833c29dc94f7ecb8b5fded8c | [
"MIT"
] | null | null | null | bin/tests/sensors_test.py | shutingrz/sensorUI | dc08c5fdf67b7b41833c29dc94f7ecb8b5fded8c | [
"MIT"
] | null | null | null | bin/tests/sensors_test.py | shutingrz/sensorUI | dc08c5fdf67b7b41833c29dc94f7ecb8b5fded8c | [
"MIT"
] | null | null | null | import unittest
import json
import tempfile
import time
import app as sensors_app
from app import db
# データベースの準備
tempDB = tempfile.mkstemp()
tempDBPath = tempDB[1]
dburl = "sqlite:///" + tempDBPath
app = sensors_app.create_app(dburl)
db.init_db(app)
with app.app_context():
db.create_all()
class TestUserControl(u... | 31.413551 | 78 | 0.561696 | 1,459 | 13,445 | 4.996573 | 0.087731 | 0.076818 | 0.039506 | 0.049383 | 0.835802 | 0.808093 | 0.798628 | 0.779424 | 0.758985 | 0.746502 | 0 | 0.009801 | 0.301822 | 13,445 | 427 | 79 | 31.487119 | 0.766805 | 0.04061 | 0 | 0.743682 | 0 | 0 | 0.159397 | 0.017961 | 0 | 0 | 0 | 0 | 0.212996 | 1 | 0.050542 | false | 0.054152 | 0.028881 | 0 | 0.090253 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
4f268bd275e8e908e8a8a2bf6b730ceda9627f62 | 3,270 | py | Python | tests/test_find_element_by_image.py | cle-b/niobium | b18e555e539cee5080ae00dbb1706f268d5eb4de | [
"Apache-2.0"
] | 1 | 2020-09-18T13:36:40.000Z | 2020-09-18T13:36:40.000Z | tests/test_find_element_by_image.py | cle-b/niobium | b18e555e539cee5080ae00dbb1706f268d5eb4de | [
"Apache-2.0"
] | 1 | 2019-07-30T21:09:33.000Z | 2019-07-30T21:09:33.000Z | tests/test_find_element_by_image.py | cle-b/niobium | b18e555e539cee5080ae00dbb1706f268d5eb4de | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from urllib.parse import urljoin
import pytest
from selenium.common.exceptions import NoSuchElementException
def test_find_element_by_image_no_element(selenium, website):
selenium.get(urljoin(website, "/browsers.htm"))
with pytest.raises(NoSuchElementException):
selenium.find_... | 38.023256 | 75 | 0.760245 | 435 | 3,270 | 5.367816 | 0.147126 | 0.131906 | 0.155889 | 0.169593 | 0.874518 | 0.873662 | 0.84454 | 0.805567 | 0.788437 | 0.686938 | 0 | 0.007317 | 0.122324 | 3,270 | 85 | 76 | 38.470588 | 0.806272 | 0.006422 | 0 | 0.557377 | 0 | 0 | 0.212812 | 0.1004 | 0 | 0 | 0 | 0 | 0.081967 | 1 | 0.180328 | false | 0 | 0.04918 | 0 | 0.229508 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
4f286d1963050319e604b9b384ce213f3efd56e5 | 976 | py | Python | databases/seeds/blog_table_seeder.py | raymondmorris/masonite-blog-backend | d5875d3f108dda2cf423de5a555c5580e9f87d0e | [
"MIT"
] | null | null | null | databases/seeds/blog_table_seeder.py | raymondmorris/masonite-blog-backend | d5875d3f108dda2cf423de5a555c5580e9f87d0e | [
"MIT"
] | null | null | null | databases/seeds/blog_table_seeder.py | raymondmorris/masonite-blog-backend | d5875d3f108dda2cf423de5a555c5580e9f87d0e | [
"MIT"
] | null | null | null | """BlogTableSeeder Seeder."""
from masoniteorm.seeds import Seeder
from app.Blog import Blog
class BlogTableSeeder(Seeder):
def run(self):
Blog.create({"title": "Post1", "body": "Lorem ipsum dolor sit amet. In ipsa repellat qui totam tempora et quae consequatur aut sint quas ex quibusdam fuga ut placeat d... | 88.727273 | 207 | 0.739754 | 142 | 976 | 5.084507 | 0.316901 | 0.055402 | 0.083102 | 0.105263 | 0.799169 | 0.799169 | 0.799169 | 0.799169 | 0.799169 | 0.799169 | 0 | 0.004944 | 0.171107 | 976 | 11 | 208 | 88.727273 | 0.887515 | 0.023566 | 0 | 0 | 0 | 0.5 | 0.7173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4f698f4aca6730dab773bf1c7385ba96739b407e | 45,204 | py | Python | lib/python2.7/site-packages/tensorflow/python/ops/gen_lookup_ops.py | wangyum/anaconda | 6e5a0dbead3327661d73a61e85414cf92aa52be6 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | lib/python2.7/site-packages/tensorflow/python/ops/gen_lookup_ops.py | wangyum/anaconda | 6e5a0dbead3327661d73a61e85414cf92aa52be6 | [
"Apache-2.0",
"BSD-3-Clause"
] | 10 | 2020-01-28T22:23:57.000Z | 2022-02-09T23:39:43.000Z | udacity-car/lib/python2.7/site-packages/tensorflow/python/ops/gen_lookup_ops.py | 808brick/CarND-Capstone | f9e536b4a9d96322d7e971073602c8969dbd9369 | [
"MIT"
] | 1 | 2020-06-18T15:56:53.000Z | 2020-06-18T15:56:53.000Z | """Python wrappers around TensorFlow ops.
This file is MACHINE GENERATED! Do not edit.
"""
import collections as _collections
from tensorflow.core.framework import op_def_pb2 as _op_def_pb2
# Needed to trigger the call to _set_call_cpp_shape_fn.
from tensorflow.python.framework import common_shapes as _common_shape... | 32.127932 | 6,044 | 0.627201 | 6,087 | 45,204 | 4.500411 | 0.061442 | 0.031321 | 0.017084 | 0.019274 | 0.921698 | 0.911075 | 0.90998 | 0.903921 | 0.898664 | 0.894101 | 0 | 0.077422 | 0.256238 | 45,204 | 1,406 | 6,045 | 32.150782 | 0.737367 | 0.590036 | 0 | 0.523077 | 1 | 0.087179 | 0.222438 | 0.198776 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117949 | false | 0 | 0.05641 | 0 | 0.292308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
96f79c1b4ead43e94a3545f6aa3ea02cf1121668 | 93 | py | Python | tests/test_jinja2_webpack.py | JDeuce/python-jinja-webpack | 109d2595ef2ff5b23a9799532934f8ad94562081 | [
"BSD-2-Clause"
] | 6 | 2019-04-15T05:07:31.000Z | 2021-05-06T08:18:20.000Z | tests/test_jinja2_webpack.py | JDeuce/python-jinja-webpack | 109d2595ef2ff5b23a9799532934f8ad94562081 | [
"BSD-2-Clause"
] | 4 | 2018-09-10T19:56:17.000Z | 2021-05-19T20:04:18.000Z | tests/test_jinja2_webpack.py | JDeuce/python-jinja-webpack | 109d2595ef2ff5b23a9799532934f8ad94562081 | [
"BSD-2-Clause"
] | 2 | 2019-07-15T21:04:38.000Z | 2019-07-18T20:13:57.000Z |
import jinja2_webpack
def test_main():
assert jinja2_webpack # use your library here
| 13.285714 | 50 | 0.752688 | 13 | 93 | 5.153846 | 0.846154 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.204301 | 93 | 6 | 51 | 15.5 | 0.878378 | 0.225806 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4fd3f49d16c0eb22e859ea2288a0405b7bcf3302 | 7,926 | py | Python | core/PDF_Functions.py | School-Simplified/CommunityServiceBot | dd5747c599ec3be86879bbcda5777a5db2777ab9 | [
"MIT"
] | null | null | null | core/PDF_Functions.py | School-Simplified/CommunityServiceBot | dd5747c599ec3be86879bbcda5777a5db2777ab9 | [
"MIT"
] | null | null | null | core/PDF_Functions.py | School-Simplified/CommunityServiceBot | dd5747c599ec3be86879bbcda5777a5db2777ab9 | [
"MIT"
] | null | null | null | from PyPDF2 import PdfFileWriter, PdfFileReader
import io
from reportlab.pdfgen import canvas
from reportlab.lib.pagesizes import letter
from shutil import copyfile
import discord
from core.common import *
import textwrap
import re
from core.common import *
config, _ = load_config()
async def self2(StudentName, Studn... | 32.089069 | 230 | 0.665657 | 962 | 7,926 | 5.460499 | 0.186071 | 0.128688 | 0.031982 | 0.039977 | 0.82886 | 0.814963 | 0.783362 | 0.783362 | 0.783362 | 0.725109 | 0 | 0.06922 | 0.19619 | 7,926 | 246 | 231 | 32.219512 | 0.755297 | 0.018168 | 0 | 0.780899 | 0 | 0.005618 | 0.126463 | 0.013508 | 0 | 0 | 0.001029 | 0 | 0 | 1 | 0 | false | 0 | 0.05618 | 0 | 0.05618 | 0.033708 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4fe6864e6608a25f9a355a998c4152770784d495 | 2,202 | py | Python | sango/process.py | short-greg/sango | 68bcdbe8f4784fef6f7fc382ec2c4e81911c2a8a | [
"MIT"
] | null | null | null | sango/process.py | short-greg/sango | 68bcdbe8f4784fef6f7fc382ec2c4e81911c2a8a | [
"MIT"
] | null | null | null | sango/process.py | short-greg/sango | 68bcdbe8f4784fef6f7fc382ec2c4e81911c2a8a | [
"MIT"
] | 1 | 2022-01-27T15:39:10.000Z | 2022-01-27T15:39:10.000Z | import typing
from ._std import Filter, Task
class IntersectFilter(Filter):
def __init__(self, filters: typing.List[Filter]):
"""initializer
Args:
filters (typing.List[Filter]): Filters to intersect
"""
self._filters = filters
def check(self, node) -> bool:
... | 20.388889 | 63 | 0.529064 | 224 | 2,202 | 5.089286 | 0.191964 | 0.057895 | 0.038596 | 0.080702 | 0.814035 | 0.770175 | 0.770175 | 0.770175 | 0.770175 | 0.770175 | 0 | 0 | 0.381926 | 2,202 | 107 | 64 | 20.579439 | 0.837619 | 0.298365 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0 | 0.6875 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8b036741ba5bbe5723410dc768e40bcf2e359cfa | 43,137 | py | Python | tb_rest_client/api/api_ce/ota_package_controller_api.py | samson0v/python_tb_rest_client | 08ff7898740f7cec2170e85d5c3c89e222e967f7 | [
"Apache-2.0"
] | 30 | 2020-06-19T06:42:50.000Z | 2021-08-23T21:16:36.000Z | tb_rest_client/api/api_ce/ota_package_controller_api.py | samson0v/python_tb_rest_client | 08ff7898740f7cec2170e85d5c3c89e222e967f7 | [
"Apache-2.0"
] | 25 | 2021-08-30T01:17:27.000Z | 2022-03-16T14:10:14.000Z | tb_rest_client/api/api_ce/ota_package_controller_api.py | samson0v/python_tb_rest_client | 08ff7898740f7cec2170e85d5c3c89e222e967f7 | [
"Apache-2.0"
] | 23 | 2020-07-06T13:41:54.000Z | 2021-08-23T21:04:50.000Z | # coding: utf-8
"""
ThingsBoard REST API
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.3.3-SNAPSHOT
Contact: info@thingsboard.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
impo... | 49.582759 | 590 | 0.655794 | 5,376 | 43,137 | 5.013021 | 0.055804 | 0.081262 | 0.044972 | 0.021373 | 0.966568 | 0.956364 | 0.951132 | 0.945566 | 0.937885 | 0.927941 | 0 | 0.021511 | 0.26286 | 43,137 | 869 | 591 | 49.639816 | 0.826027 | 0.425806 | 0 | 0.788009 | 0 | 0 | 0.221285 | 0.068488 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036403 | false | 0 | 0.008565 | 0 | 0.098501 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8c7adc7ad4638efddd368012be4b46e5c290c7ca | 849,812 | py | Python | TweakApi/apis/customer_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | TweakApi/apis/customer_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | TweakApi/apis/customer_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
tweak-api
Tweak API to integrate with all the Tweak services. You can find out more about Tweak at <a href='https://www.tweak.com'>https://www.tweak.com</a>, #tweak.
OpenAPI spec version: 1.0.8-beta.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
... | 43.07644 | 165 | 0.572873 | 90,371 | 849,812 | 5.151708 | 0.00405 | 0.057736 | 0.042409 | 0.043109 | 0.995736 | 0.9944 | 0.993144 | 0.989952 | 0.987714 | 0.984037 | 0 | 0.000597 | 0.340165 | 849,812 | 19,727 | 166 | 43.078623 | 0.829677 | 0.304449 | 0 | 0.845632 | 0 | 0 | 0.204632 | 0.085932 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035729 | false | 0.003499 | 0.000742 | 0 | 0.090013 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8c9d03f45721c11abfc26e5a07b04a7c61812a80 | 198 | py | Python | analyze_log.py | clinfo/DeepKF | ee4f1be28e5f3bfa46bb47dbdc4d5f678eed36c1 | [
"MIT"
] | 5 | 2019-12-19T13:33:36.000Z | 2021-06-01T06:08:16.000Z | analyze_log.py | clinfo/DeepKF | ee4f1be28e5f3bfa46bb47dbdc4d5f678eed36c1 | [
"MIT"
] | 24 | 2020-03-03T19:40:55.000Z | 2021-05-26T15:27:38.000Z | analyze_log.py | clinfo/DeepKF | ee4f1be28e5f3bfa46bb47dbdc4d5f678eed36c1 | [
"MIT"
] | 1 | 2019-12-19T13:35:07.000Z | 2019-12-19T13:35:07.000Z | import re
# step 690, training cost 38680.1, validation cost 668.839 (model_2d/model/model.00690.ckpt) [error=0.0893403,alpha=0.997261]
# training:[33027,4250.21,0] validation:[565.033,85.7933,0]
| 39.6 | 125 | 0.747475 | 35 | 198 | 4.2 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.338889 | 0.090909 | 198 | 4 | 126 | 49.5 | 0.477778 | 0.919192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
50952a69e93ba0cc4b26663f0ece18a27c14087f | 3,241 | py | Python | src/db-up/azext_db_up/_help.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 207 | 2017-11-29T06:59:41.000Z | 2022-03-31T10:00:53.000Z | src/db-up/azext_db_up/_help.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 4,061 | 2017-10-27T23:19:56.000Z | 2022-03-31T23:18:30.000Z | src/db-up/azext_db_up/_help.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 802 | 2017-10-11T17:36:26.000Z | 2022-03-31T22:24:32.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 41.551282 | 118 | 0.648257 | 406 | 3,241 | 5.172414 | 0.216749 | 0.034286 | 0.060952 | 0.087619 | 0.813333 | 0.79619 | 0.79619 | 0.744762 | 0.744762 | 0.744762 | 0 | 0 | 0.226165 | 3,241 | 77 | 119 | 42.090909 | 0.837321 | 0.103672 | 0 | 0.492063 | 0 | 0.047619 | 0.93069 | 0.015172 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.047619 | 0.015873 | 0 | 0.015873 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
50f781b025802dae338731ba0d9e8e2ff7700d6d | 6,117 | py | Python | sap2012/SAP_tables/heating_requirement_table_9c.py | building-energy/sap2012 | 4cb3a362be4662b0e96c56a3765771f0cba91422 | [
"MIT"
] | 7 | 2021-04-17T21:55:37.000Z | 2021-08-19T13:06:16.000Z | sap2012/SAP_tables/heating_requirement_table_9c.py | building-energy/sap2012 | 4cb3a362be4662b0e96c56a3765771f0cba91422 | [
"MIT"
] | null | null | null | sap2012/SAP_tables/heating_requirement_table_9c.py | building-energy/sap2012 | 4cb3a362be4662b0e96c56a3765771f0cba91422 | [
"MIT"
] | 2 | 2021-03-21T16:14:50.000Z | 2021-04-20T08:54:41.000Z | # -*- coding: utf-8 -*-
def heating_requirement_table_9c (
temperature_reduction_when_heating_is_off_1_weekday_living_room,
temperature_reduction_when_heating_is_off_2_weekday_living_room,
temperature_reduction_when_heating_is_off_1_weekend_living_room,
temperature_reduction_when_heati... | 45.649254 | 125 | 0.721269 | 771 | 6,117 | 5.006485 | 0.070039 | 0.106218 | 0.148705 | 0.256995 | 0.92228 | 0.86658 | 0.808549 | 0.791192 | 0.738601 | 0.682902 | 0 | 0.017146 | 0.227726 | 6,117 | 134 | 126 | 45.649254 | 0.799958 | 0.381233 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
50fd5cac28515be83d4c763d0b1e4b1120ac0eb5 | 137 | py | Python | the_complete_python_&_postgreSQL_developer_course/magic_numbers_in_python/for_loop.py | supermonkeyparadise/python | ce8799d643dd7af2b1cb5bc9179bcd83be9769d6 | [
"MIT"
] | null | null | null | the_complete_python_&_postgreSQL_developer_course/magic_numbers_in_python/for_loop.py | supermonkeyparadise/python | ce8799d643dd7af2b1cb5bc9179bcd83be9769d6 | [
"MIT"
] | null | null | null | the_complete_python_&_postgreSQL_developer_course/magic_numbers_in_python/for_loop.py | supermonkeyparadise/python | ce8799d643dd7af2b1cb5bc9179bcd83be9769d6 | [
"MIT"
] | null | null | null | numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
for number in numbers:
print(number)
print()
for number in numbers:
print(number**2)
| 13.7 | 40 | 0.591241 | 25 | 137 | 3.24 | 0.6 | 0.222222 | 0.271605 | 0.444444 | 0.716049 | 0.716049 | 0 | 0 | 0 | 0 | 0 | 0.106796 | 0.248175 | 137 | 9 | 41 | 15.222222 | 0.679612 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
0fbd7486a2efd25f9eb9f925de7ac7aa69577e03 | 138 | py | Python | autograd_cupy/sparse/__init__.py | ericmjl/autograd-cupy | 493a90cabae42f9e0fdbea77cef758aff659604f | [
"MIT"
] | 3 | 2018-08-03T00:11:17.000Z | 2018-12-27T17:47:54.000Z | autograd_cupy/sparse/__init__.py | ericmjl/autograd-cupy | 493a90cabae42f9e0fdbea77cef758aff659604f | [
"MIT"
] | null | null | null | autograd_cupy/sparse/__init__.py | ericmjl/autograd-cupy | 493a90cabae42f9e0fdbea77cef758aff659604f | [
"MIT"
] | null | null | null | from .sparse_wrapper import *
from . import sparse_vjps
from . import sparse_jvps
from . import sparse_vspaces
from . import sparse_boxes
| 23 | 29 | 0.811594 | 20 | 138 | 5.35 | 0.4 | 0.373832 | 0.598131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 138 | 5 | 30 | 27.6 | 0.90678 | 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 | 1 | 0 | 0 | 7 |
0fbffd8c629d5f677e78458b946ac7b8790e2b5e | 27,135 | gyp | Python | chrome/app/locales/locales.gyp | zachlatta/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | 1 | 2021-09-24T22:49:10.000Z | 2021-09-24T22:49:10.000Z | chrome/app/locales/locales.gyp | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | chrome/app/locales/locales.gyp | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | {
'variables': {
'chromium_code': 1,
'chrome_grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
'app_grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/app',
'webkit_grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit',
# TODO(sgk): eliminate this; see comment in build/common.gypi
'msvs_debug_link_inc... | 42.004644 | 72 | 0.576046 | 3,200 | 27,135 | 4.35875 | 0.115 | 0.152567 | 0.217952 | 0.174362 | 0.757671 | 0.755592 | 0.736736 | 0.442501 | 0.062661 | 0 | 0 | 0.053302 | 0.273337 | 27,135 | 645 | 73 | 42.069767 | 0.654072 | 0.002469 | 0 | 0.165109 | 0 | 0 | 0.648537 | 0.583949 | 0 | 0 | 0.000369 | 0.00155 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e871346c5084348eaafec8ab39a8c1f24e4a54c8 | 8,128 | py | Python | zExtraLearning/MLPrep/tf2.0/NbExtracts/12tf2_0_long_distance.py | talk2sunil83/UpgradLearning | 70c4f993c68ce5030e9df0edd15004bbb9fc71e7 | [
"Apache-2.0"
] | null | null | null | zExtraLearning/MLPrep/tf2.0/NbExtracts/12tf2_0_long_distance.py | talk2sunil83/UpgradLearning | 70c4f993c68ce5030e9df0edd15004bbb9fc71e7 | [
"Apache-2.0"
] | null | null | null | zExtraLearning/MLPrep/tf2.0/NbExtracts/12tf2_0_long_distance.py | talk2sunil83/UpgradLearning | 70c4f993c68ce5030e9df0edd15004bbb9fc71e7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""TF2.0 Long Distance.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/11lA6vCQ3jrhCLKZ6oUgwagEOUQfFZnui
"""
# Commented out IPython magic to ensure Python compatibility.
# Install TensorFlow
import matplotlib.pyplot as pl... | 19.491607 | 96 | 0.647023 | 1,355 | 8,128 | 3.826568 | 0.129151 | 0.048602 | 0.055545 | 0.104147 | 0.834908 | 0.824494 | 0.824494 | 0.824494 | 0.824494 | 0.824494 | 0 | 0.030262 | 0.178765 | 8,128 | 416 | 97 | 19.538462 | 0.746517 | 0.224779 | 0 | 0.834646 | 1 | 0 | 0.127413 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003937 | false | 0 | 0.027559 | 0 | 0.051181 | 0.003937 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d704b607a67e3a5a82fa3d941b9c1d98f5e04961 | 8,580 | py | Python | tests/channels/test_walletwrapper.py | febuiles/two1-python | 88704487dba7715f97a0980781d4c0efb2ea7fc4 | [
"BSD-2-Clause-FreeBSD"
] | 415 | 2016-06-10T00:46:55.000Z | 2021-10-16T00:56:06.000Z | tests/channels/test_walletwrapper.py | febuiles/two1-python | 88704487dba7715f97a0980781d4c0efb2ea7fc4 | [
"BSD-2-Clause-FreeBSD"
] | 25 | 2016-06-11T13:48:59.000Z | 2021-01-05T11:19:30.000Z | tests/channels/test_walletwrapper.py | febuiles/two1-python | 88704487dba7715f97a0980781d4c0efb2ea7fc4 | [
"BSD-2-Clause-FreeBSD"
] | 109 | 2016-06-11T05:17:05.000Z | 2021-12-22T11:02:22.000Z | import codecs
import pytest
import two1.bitcoin as bitcoin
import two1.channels.statemachine as statemachine
import two1.channels.walletwrapper as walletwrapper
import tests.channels.mock as mock
@pytest.fixture(params=[
walletwrapper.Two1WalletWrapper(mock.MockTwo1Wallet(), mock.MockBlockchain())
])
def wallet(... | 114.4 | 596 | 0.905361 | 420 | 8,580 | 18.204762 | 0.202381 | 0.02825 | 0.023542 | 0.027465 | 0.206906 | 0.196704 | 0.161392 | 0.161392 | 0.161392 | 0.161392 | 0 | 0.482524 | 0.056294 | 8,580 | 74 | 597 | 115.945946 | 0.461776 | 0.070163 | 0 | 0.05 | 0 | 0 | 0.687217 | 0.683694 | 0 | 1 | 0 | 0 | 0.325 | 1 | 0.05 | false | 0 | 0.15 | 0.025 | 0.225 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d7140f1c89b04cd448a0f212bf81bc97b13fe092 | 15,708 | py | Python | gym_wmgds/envs/robotics/fetch/pick_and_place_multi.py | ozcell/gym_wmgds_ma | c2cb22943913361947216b908d50decc46616e99 | [
"Python-2.0",
"OLDAP-2.7"
] | 1 | 2020-12-23T16:38:15.000Z | 2020-12-23T16:38:15.000Z | gym_wmgds/envs/robotics/fetch/pick_and_place_multi.py | ozcell/gym_wmgds_ma | c2cb22943913361947216b908d50decc46616e99 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | gym_wmgds/envs/robotics/fetch/pick_and_place_multi.py | ozcell/gym_wmgds_ma | c2cb22943913361947216b908d50decc46616e99 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | import os
from gym_wmgds import utils
from gym_wmgds.envs.robotics import fetch_multi_env
# Ensure we get the path separator correct on windows
MODEL_XML_PATH = os.path.join('fetch', 'pick_and_place_multi.xml')
MODEL_HARD_XML_PATH = os.path.join('fetch', 'pick_and_place_hard_multi.xml')
MODEL_OBSTACLE_XML_PATH = os.p... | 59.275472 | 145 | 0.578304 | 2,471 | 15,708 | 3.432618 | 0.050182 | 0.046451 | 0.031832 | 0.042443 | 0.934449 | 0.928437 | 0.928437 | 0.928437 | 0.928437 | 0.912403 | 0 | 0.157017 | 0.240196 | 15,708 | 264 | 146 | 59.5 | 0.553666 | 0.003247 | 0 | 0.843621 | 0 | 0 | 0.116385 | 0.013542 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.012346 | 0 | 0.08642 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d7234fa516ffe9657e696cd2ba317ee4ee901b15 | 10,378 | py | Python | src/runs/proper_experiments/v100_maze/v106_metrics.py | Michael-Beukman/NEATNoveltyPCG | 2441d80eb0f6dd288a00ebb56c432963cefc879d | [
"MIT"
] | 5 | 2022-01-26T23:19:46.000Z | 2022-02-10T20:24:19.000Z | src/runs/proper_experiments/v100_maze/v106_metrics.py | Michael-Beukman/NEATNoveltyPCG | 2441d80eb0f6dd288a00ebb56c432963cefc879d | [
"MIT"
] | null | null | null | src/runs/proper_experiments/v100_maze/v106_metrics.py | Michael-Beukman/NEATNoveltyPCG | 2441d80eb0f6dd288a00ebb56c432963cefc879d | [
"MIT"
] | null | null | null | """
This is an experiment where we run our and other metrics across many different levels and compare the following:
- Our diversity vs compression distance
- Our Difficulty vs Leniency
"""
import glob
import os
import pickle
from typing import List
from common.utils import get_date
from games.maze.maze_game import M... | 69.651007 | 214 | 0.758528 | 1,715 | 10,378 | 4.229155 | 0.12828 | 0.050738 | 0.06549 | 0.099959 | 0.719978 | 0.705088 | 0.704536 | 0.703433 | 0.679994 | 0.670068 | 0 | 0.170153 | 0.115437 | 10,378 | 148 | 215 | 70.121622 | 0.619935 | 0.017441 | 0 | 0.061538 | 0 | 0.292308 | 0.691236 | 0.673177 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023077 | false | 0 | 0.138462 | 0 | 0.184615 | 0.015385 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d7398e4a644f9cc30f10196c0cfe03ce08214108 | 80 | py | Python | modules/some_module.py | kl4m4/PythonCLITemplate | 46dbd0173dfa6ae42fa80eb0652956c7c7cf3f9b | [
"Unlicense"
] | null | null | null | modules/some_module.py | kl4m4/PythonCLITemplate | 46dbd0173dfa6ae42fa80eb0652956c7c7cf3f9b | [
"Unlicense"
] | null | null | null | modules/some_module.py | kl4m4/PythonCLITemplate | 46dbd0173dfa6ae42fa80eb0652956c7c7cf3f9b | [
"Unlicense"
] | null | null | null | def some_function_in_module():
print("Hello from some_function_in_module()") | 40 | 49 | 0.7875 | 12 | 80 | 4.75 | 0.666667 | 0.421053 | 0.491228 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 49 | 40 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0.308642 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.