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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7228262e083456b2487ce5bf6e23f116bc7bc268 | 185 | py | Python | addons/event_sale/models/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/event_sale/models/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/event_sale/models/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from . import account_move
from . import event_event
from . import event_registration
from . import event_ticket
from . import sale_order
from . import product
| 20.555556 | 32 | 0.756757 | 26 | 185 | 5.192308 | 0.5 | 0.444444 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.162162 | 185 | 8 | 33 | 23.125 | 0.864516 | 0.113514 | 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 |
725099451a69242ff68abb3ce9817d09c6d452c3 | 1,099 | py | Python | multi-pose/run_sequential_script.py | shbe-aau/multi-pose-estimation | 0425ed9dcc7969f0281cb435615abc33c640e157 | [
"MIT"
] | 4 | 2021-12-28T09:25:06.000Z | 2022-01-13T12:55:44.000Z | multi-pose/run_sequential_script.py | shbe-aau/multi-view-pose-estimation | 22cea6cd09684fe655fb2214bc14856f589048e1 | [
"MIT"
] | null | null | null | multi-pose/run_sequential_script.py | shbe-aau/multi-view-pose-estimation | 22cea6cd09684fe655fb2214bc14856f589048e1 | [
"MIT"
] | 1 | 2022-01-13T13:00:15.000Z | 2022-01-13T13:00:15.000Z | import os
# just add all the things you want to run, one after another here.
# Will probably stop if one of them crashes though
#os.system("python train.py experiment_template.cfg")
#os.system("python train.py experiment_template.cfg")
strings = ["python show_loss_landscape.py ./output/depth/spherical_mapping_obj10_... | 52.333333 | 106 | 0.728844 | 156 | 1,099 | 4.814103 | 0.352564 | 0.106525 | 0.149134 | 0.245007 | 0.764314 | 0.764314 | 0.764314 | 0.764314 | 0.652463 | 0.652463 | 0 | 0.080819 | 0.155596 | 1,099 | 20 | 107 | 54.95 | 0.728448 | 0.197452 | 0 | 0 | 0 | 0 | 0.734322 | 0.661346 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a0e0b9697ad3e67aee0406a369a4107a1f0711f9 | 22,261 | py | Python | metal/models/otps_api.py | displague/metal-python | 96e64e9ac41025d85ff6f61693165e29e1c366db | [
"MIT"
] | null | null | null | metal/models/otps_api.py | displague/metal-python | 96e64e9ac41025d85ff6f61693165e29e1c366db | [
"MIT"
] | 3 | 2021-09-27T05:10:36.000Z | 2021-09-27T06:10:57.000Z | metal/models/otps_api.py | displague/metal-python | 96e64e9ac41025d85ff6f61693165e29e1c366db | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Metal API
This is the API for Equinix Metal. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. The official API docs are hosted at <https://metal.equinix.com/dev... | 40.622263 | 312 | 0.584969 | 2,457 | 22,261 | 5.05291 | 0.094831 | 0.03093 | 0.045107 | 0.034797 | 0.907692 | 0.902376 | 0.898752 | 0.895852 | 0.883528 | 0.882884 | 0 | 0.012302 | 0.346391 | 22,261 | 547 | 313 | 40.696527 | 0.840962 | 0.50694 | 0 | 0.738197 | 0 | 0 | 0.150011 | 0.038147 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038627 | false | 0 | 0.021459 | 0 | 0.098712 | 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 |
a0f63a9ac154e6acc2309c9dd4e58e3b4509eccd | 38 | py | Python | python/tpxvalidate/__init__.py | SpillChek2/opentpx | 6f72587cc3e2869bac73a5ec19efae20ff9c5164 | [
"Apache-2.0"
] | 41 | 2015-10-21T09:14:28.000Z | 2021-01-08T18:46:37.000Z | python/tpxvalidate/__init__.py | SpillChek2/opentpx | 6f72587cc3e2869bac73a5ec19efae20ff9c5164 | [
"Apache-2.0"
] | 1 | 2021-03-13T06:39:27.000Z | 2021-03-13T06:39:27.000Z | python/tpxvalidate/__init__.py | SpillChek2/opentpx | 6f72587cc3e2869bac73a5ec19efae20ff9c5164 | [
"Apache-2.0"
] | 10 | 2015-10-13T13:04:04.000Z | 2021-10-07T05:06:17.000Z | import tpxvalidate.TPX_2_2 as TPX_2_2
| 19 | 37 | 0.868421 | 9 | 38 | 3.222222 | 0.555556 | 0.275862 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.105263 | 38 | 1 | 38 | 38 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 8 |
9d5d7a0b00447905a35dba172c0827a88449f0f8 | 128 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_1/_pkg1_1_1_0/_pkg1_1_1_0_1/_mod1_1_1_0_1_1.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_1/_pkg1_1_1_0/_pkg1_1_1_0_1/_mod1_1_1_0_1_1.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_1/_pkg1_1_1_0/_pkg1_1_1_0_1/_mod1_1_1_0_1_1.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | name1_1_1_0_1_1_0 = None
name1_1_1_0_1_1_1 = None
name1_1_1_0_1_1_2 = None
name1_1_1_0_1_1_3 = None
name1_1_1_0_1_1_4 = None | 14.222222 | 24 | 0.820313 | 40 | 128 | 1.875 | 0.175 | 0.293333 | 0.24 | 0.533333 | 0.88 | 0.88 | 0.746667 | 0 | 0 | 0 | 0 | 0.318182 | 0.140625 | 128 | 9 | 25 | 14.222222 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
19c0d2ef3bda66f5bd2bf066764d516e9e86db18 | 124 | py | Python | JIRP_code/src/__init__.py | adiojha629/JIRP_LRM | a06e3725a8f4f406a100d2a4c2c69d4e9450a2d3 | [
"MIT"
] | 2 | 2021-09-22T13:02:55.000Z | 2021-11-08T19:16:55.000Z | JIRP_lrm/src/__init__.py | adiojha629/JIRP_LRM | a06e3725a8f4f406a100d2a4c2c69d4e9450a2d3 | [
"MIT"
] | null | null | null | JIRP_lrm/src/__init__.py | adiojha629/JIRP_LRM | a06e3725a8f4f406a100d2a4c2c69d4e9450a2d3 | [
"MIT"
] | null | null | null | from src import baselines
from src import common
from src import reward_machines
from src import hrl
from src import worlds
| 20.666667 | 31 | 0.83871 | 21 | 124 | 4.904762 | 0.428571 | 0.339806 | 0.631068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 124 | 5 | 32 | 24.8 | 0.990385 | 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 |
dfb17a543ce663958bb1af4bd1af838d963bf0a4 | 440 | py | Python | gittra/utilities/ascii.py | saksham1991999/GitTra | bfce7e989b5613a411db3d4f7c93790dab25a7e6 | [
"MIT"
] | 2 | 2021-02-26T19:19:16.000Z | 2021-11-05T06:23:31.000Z | gittra/utilities/ascii.py | saksham1991999/MLH-Hackathon-1 | bfce7e989b5613a411db3d4f7c93790dab25a7e6 | [
"MIT"
] | 15 | 2021-02-12T18:56:26.000Z | 2021-02-25T00:09:57.000Z | gittra/utilities/ascii.py | saksham1991999/MLH-Hackathon-1 | bfce7e989b5613a411db3d4f7c93790dab25a7e6 | [
"MIT"
] | 1 | 2021-03-22T16:48:44.000Z | 2021-03-22T16:48:44.000Z | #ASCII graphic for the logo of the project
def getAscii():
print("e88~~\\ ,e, d8 d8 ")
print("d888 \" _d88__ _d88__ 888-~\\ /~~~8e ")
print("8888 __ 888 888 888 888 88b")
print("8888 | 888 888 888 888 e88~-888")
prin... | 40 | 65 | 0.436364 | 52 | 440 | 3.442308 | 0.423077 | 0.301676 | 0.301676 | 0.201117 | 0.234637 | 0.234637 | 0 | 0 | 0 | 0 | 0 | 0.365079 | 0.427273 | 440 | 10 | 66 | 44 | 0.345238 | 0.093182 | 0 | 0 | 0 | 0 | 0.550251 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0 | 0 | 0.142857 | 0.857143 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
dfb4c5e767016cd9c245b4f5a37516e8be3065f8 | 259 | py | Python | src/simmate/calculators/vasp/workflows/nudged_elastic_band/__init__.py | laurenmm/simmate-1 | c06b94c46919b01cda50f78221ad14f75c100a14 | [
"BSD-3-Clause"
] | 9 | 2021-12-21T02:58:21.000Z | 2022-01-25T14:00:06.000Z | src/simmate/calculators/vasp/workflows/nudged_elastic_band/__init__.py | laurenmm/simmate-1 | c06b94c46919b01cda50f78221ad14f75c100a14 | [
"BSD-3-Clause"
] | 51 | 2022-01-01T15:59:58.000Z | 2022-03-26T21:25:42.000Z | src/simmate/calculators/vasp/workflows/nudged_elastic_band/__init__.py | laurenmm/simmate-1 | c06b94c46919b01cda50f78221ad14f75c100a14 | [
"BSD-3-Clause"
] | 7 | 2022-01-01T03:44:32.000Z | 2022-03-29T19:59:27.000Z | # -*- coding: utf-8 -*-
from .all_paths import workflow as all_paths_workflow
from .single_path import workflow as single_path_workflow
from .from_endpoints import workflow as from_endpoints_workflow
from .from_images import workflow as from_images_workflow
| 37 | 63 | 0.833977 | 39 | 259 | 5.230769 | 0.333333 | 0.27451 | 0.313725 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004367 | 0.11583 | 259 | 6 | 64 | 43.166667 | 0.886463 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
dfe0737bf6eeb4de83ec2d23233f9d64bb58bb5e | 1,990 | py | Python | test/.ipynb_checkpoints/test_tournament-checkpoint.py | fernanlukban/pantheon | 4b3d7894dc7f72ba7b71bcb98e9d6dd4645d060a | [
"MIT"
] | 52 | 2018-04-24T15:30:02.000Z | 2022-02-22T11:05:27.000Z | test/.ipynb_checkpoints/test_tournament-checkpoint.py | fernanlukban/pantheon | 4b3d7894dc7f72ba7b71bcb98e9d6dd4645d060a | [
"MIT"
] | 8 | 2020-09-18T04:00:21.000Z | 2022-03-22T00:01:20.000Z | test/.ipynb_checkpoints/test_tournament-checkpoint.py | fernanlukban/pantheon | 4b3d7894dc7f72ba7b71bcb98e9d6dd4645d060a | [
"MIT"
] | 14 | 2019-01-03T13:09:36.000Z | 2022-03-05T17:13:45.000Z | from .config import *
def test_providers():
try:
data = loop.run_until_complete(panth.registerProvider(tournament_region, tournament_url, stub))
except exc.Unauthorized as e:
pytest.skip("API key unauthorized for tournament")
except Exception as e:
print(e)
assert type(dat... | 27.638889 | 103 | 0.628141 | 233 | 1,990 | 5.23176 | 0.261803 | 0.02461 | 0.045119 | 0.057424 | 0.806399 | 0.806399 | 0.806399 | 0.727646 | 0.727646 | 0.727646 | 0 | 0.004104 | 0.265327 | 1,990 | 72 | 104 | 27.638889 | 0.829685 | 0 | 0 | 0.706897 | 0 | 0 | 0.169262 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.086207 | false | 0 | 0.017241 | 0 | 0.103448 | 0.086207 | 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 |
dffd4cb39c8478c3d645841c8b497e789e077f61 | 1,916 | py | Python | src/magazine/migrations/0003_auto_20160114_1432.py | Busaka/excellence | 1cd19770285584d61aeddd77d6c1dd83e2fd04ba | [
"MIT"
] | null | null | null | src/magazine/migrations/0003_auto_20160114_1432.py | Busaka/excellence | 1cd19770285584d61aeddd77d6c1dd83e2fd04ba | [
"MIT"
] | null | null | null | src/magazine/migrations/0003_auto_20160114_1432.py | Busaka/excellence | 1cd19770285584d61aeddd77d6c1dd83e2fd04ba | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-01-14 14:32
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('magazine', '0002_auto_20160114_1415'),
]
operations = [
migrations.AddField(
... | 29.030303 | 48 | 0.557933 | 176 | 1,916 | 5.857955 | 0.261364 | 0.174588 | 0.223084 | 0.261882 | 0.814743 | 0.814743 | 0.814743 | 0.780795 | 0.740058 | 0.740058 | 0 | 0.031956 | 0.330376 | 1,916 | 65 | 49 | 29.476923 | 0.771629 | 0.033925 | 0 | 0.689655 | 1 | 0 | 0.157468 | 0.012446 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.086207 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 9 |
5f112059bdc99ece0bdb018cc3c05cd65e6c8299 | 212 | py | Python | mmrotate/core/patch/__init__.py | Justice-Eternal/mmrotate | c5bf348562fd84cc17906c2cf370d1a49fcd3035 | [
"Apache-2.0"
] | 449 | 2022-02-18T08:26:58.000Z | 2022-03-31T11:58:32.000Z | mmrotate/core/patch/__init__.py | Justice-Eternal/mmrotate | c5bf348562fd84cc17906c2cf370d1a49fcd3035 | [
"Apache-2.0"
] | 162 | 2022-02-18T09:54:46.000Z | 2022-03-31T15:40:46.000Z | mmrotate/core/patch/__init__.py | Justice-Eternal/mmrotate | c5bf348562fd84cc17906c2cf370d1a49fcd3035 | [
"Apache-2.0"
] | 98 | 2022-02-18T08:28:48.000Z | 2022-03-31T08:52:11.000Z | # Copyright (c) OpenMMLab. All rights reserved.
from .merge_results import merge_results
from .split import get_multiscale_patch, slide_window
__all__ = ['merge_results', 'get_multiscale_patch', 'slide_window']
| 35.333333 | 67 | 0.806604 | 28 | 212 | 5.642857 | 0.571429 | 0.227848 | 0.227848 | 0.291139 | 0.367089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103774 | 212 | 5 | 68 | 42.4 | 0.831579 | 0.212264 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5f240e813277187c28fe1df764f4d1bbc0e1c0e4 | 297 | py | Python | tests/parser/choice.5.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/choice.5.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/choice.5.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
% This would (have) trigger(ed) inferences from dynamic constraints.
x | y.
a :- not x.
b :- not x.
c :- b.
a :- not c.
"""
output = """
% This would (have) trigger(ed) inferences from dynamic constraints.
x | y.
a :- not x.
b :- not x.
c :- b.
a :- not c.
"""
| 12.913043 | 69 | 0.52862 | 46 | 297 | 3.413043 | 0.369565 | 0.101911 | 0.165605 | 0.254777 | 0.929936 | 0.929936 | 0.929936 | 0.929936 | 0.929936 | 0.929936 | 0 | 0 | 0.289562 | 297 | 22 | 70 | 13.5 | 0.744076 | 0 | 0 | 0.875 | 0 | 0 | 0.888889 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5f351157258d99eb646bcddf794c94291a783d05 | 9,492 | py | Python | src/prefect/tasks/azure/blobstorage.py | dazzag24/prefect | 9d36c989c95cbbed091b071932553286edf25bb6 | [
"Apache-2.0"
] | null | null | null | src/prefect/tasks/azure/blobstorage.py | dazzag24/prefect | 9d36c989c95cbbed091b071932553286edf25bb6 | [
"Apache-2.0"
] | null | null | null | src/prefect/tasks/azure/blobstorage.py | dazzag24/prefect | 9d36c989c95cbbed091b071932553286edf25bb6 | [
"Apache-2.0"
] | null | null | null | import uuid
import azure.storage.blob
from prefect import Task
from prefect.client import Secret
from prefect.utilities.tasks import defaults_from_attrs
class BlobStorageDownload(Task):
"""
Task for downloading data from an Blob Storage container and returning it as a string.
Note that all initializatio... | 38.274194 | 120 | 0.64075 | 1,145 | 9,492 | 5.082969 | 0.110044 | 0.148454 | 0.113402 | 0.030928 | 0.842096 | 0.842096 | 0.828007 | 0.828007 | 0.813574 | 0.813574 | 0 | 0.000149 | 0.291825 | 9,492 | 247 | 121 | 38.42915 | 0.865665 | 0.367994 | 0 | 0.708955 | 0 | 0 | 0.130997 | 0.026415 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044776 | false | 0 | 0.037313 | 0 | 0.126866 | 0.007463 | 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 |
a07d7dfc6af1a4630b4545bea05caab41974cdd4 | 211 | py | Python | baselines/baselines_common/__init__.py | Shmuma/Run-Skeleton-Run | a953e6c524a444b6a99a54ef5b2886a57de0d185 | [
"MIT"
] | 92 | 2017-11-16T00:51:27.000Z | 2021-05-09T14:09:08.000Z | baselines/baselines_common/__init__.py | bsivanantham/Run-Skeleton-Run | 07e2ec2cffb638b03070422328faf07ab69c70bd | [
"MIT"
] | 4 | 2017-12-19T13:19:18.000Z | 2018-02-26T12:18:11.000Z | baselines/baselines_common/__init__.py | bsivanantham/Run-Skeleton-Run | 07e2ec2cffb638b03070422328faf07ab69c70bd | [
"MIT"
] | 18 | 2017-11-16T10:07:03.000Z | 2021-10-15T04:26:48.000Z | from baselines.baselines_common.console_util import *
from baselines.baselines_common.dataset import Dataset
from baselines.baselines_common.math_util import *
from baselines.baselines_common.misc_util import *
| 42.2 | 54 | 0.872038 | 28 | 211 | 6.321429 | 0.321429 | 0.293785 | 0.497175 | 0.632768 | 0.429379 | 0.429379 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075829 | 211 | 4 | 55 | 52.75 | 0.907692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
a097b4c2e1a0d49f37ac0f9c33fcf1ba185d8f19 | 22,355 | py | Python | creel_portal/api/filters/FishAttr_Filter.py | AdamCottrill/CreelPortal | 5ec867c4f11b4231c112e8209116b6b96c2830ec | [
"MIT"
] | null | null | null | creel_portal/api/filters/FishAttr_Filter.py | AdamCottrill/CreelPortal | 5ec867c4f11b4231c112e8209116b6b96c2830ec | [
"MIT"
] | null | null | null | creel_portal/api/filters/FishAttr_Filter.py | AdamCottrill/CreelPortal | 5ec867c4f11b4231c112e8209116b6b96c2830ec | [
"MIT"
] | null | null | null | import django_filters
from .filter_utils import ValueInFilter
class FishAttrFilters(django_filters.FilterSet):
"""A filter set that contains filters that are common to all the FN125 child
tables - FN125Lamprey, FN125Tag, Fn126, and FN127. Filtersets for those class
inherit from this one, and add their o... | 36.114701 | 88 | 0.718676 | 2,692 | 22,355 | 5.21471 | 0.050149 | 0.110272 | 0.159282 | 0.176948 | 0.879755 | 0.85525 | 0.8212 | 0.762715 | 0.714347 | 0.603077 | 0 | 0.00508 | 0.18989 | 22,355 | 618 | 89 | 36.173139 | 0.770072 | 0.025274 | 0 | 0.253788 | 0 | 0 | 0.294732 | 0.214463 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003788 | 0 | 0.331439 | 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 |
2679f8274f3a9c8bceb9cbd63dd7737bc4d8a86c | 200 | py | Python | extensions/.stubs/clrclasses/System/Web/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | 1 | 2020-03-25T03:27:24.000Z | 2020-03-25T03:27:24.000Z | extensions/.stubs/clrclasses/System/Web/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | extensions/.stubs/clrclasses/System/Web/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | from __clrclasses__.System.Web import AspNetHostingPermission
from __clrclasses__.System.Web import AspNetHostingPermissionAttribute
from __clrclasses__.System.Web import AspNetHostingPermissionLevel
| 50 | 70 | 0.91 | 18 | 200 | 9.444444 | 0.444444 | 0.247059 | 0.352941 | 0.405882 | 0.511765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 200 | 3 | 71 | 66.666667 | 0.904255 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
26e85077319a4b6246649873d4f38ddd3f073801 | 93,454 | py | Python | nukes.py | orbitcentre/NUKES | e982a39200dfbe7680ff626fc05f8577799470be | [
"MIT"
] | null | null | null | nukes.py | orbitcentre/NUKES | e982a39200dfbe7680ff626fc05f8577799470be | [
"MIT"
] | null | null | null | nukes.py | orbitcentre/NUKES | e982a39200dfbe7680ff626fc05f8577799470be | [
"MIT"
] | null | null | null | import threading
import socket
import os
import sys
import random
import time
os.system("clear")
time.sleep(5)
print (" ________________________________________________")
print (" / \ ")
print (" | ______________________________... | 60.021837 | 85 | 0.72212 | 13,632 | 93,454 | 4.930238 | 0.005722 | 0.213067 | 0.298293 | 0.22372 | 0.993885 | 0.993513 | 0.993513 | 0.993513 | 0.993513 | 0.993513 | 0 | 0.003218 | 0.045798 | 93,454 | 1,556 | 86 | 60.060411 | 0.750454 | 0 | 0 | 0.959871 | 0 | 0 | 0.723237 | 0.00654 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.003884 | null | null | 0.031715 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
26f8cdc1c3609a8e28c8d8d4336c820dd7ceb09f | 2,432 | py | Python | source/schemas/game.py | julio9246/hg-poker-api | 56805601bc26bf8bb80e05235ae22a59a174af09 | [
"Apache-2.0"
] | null | null | null | source/schemas/game.py | julio9246/hg-poker-api | 56805601bc26bf8bb80e05235ae22a59a174af09 | [
"Apache-2.0"
] | null | null | null | source/schemas/game.py | julio9246/hg-poker-api | 56805601bc26bf8bb80e05235ae22a59a174af09 | [
"Apache-2.0"
] | null | null | null | from source.schemas.validation import Validation
class GameSchema(Validation):
@staticmethod
def save():
return{
'tournament_id': {
'min': 0,
'nullable': False,
'required': True,
'type': 'integer'
},
'... | 26.725275 | 48 | 0.331414 | 141 | 2,432 | 5.638298 | 0.248227 | 0.212579 | 0.343396 | 0.228931 | 0.816352 | 0.816352 | 0.816352 | 0.769811 | 0.513208 | 0.513208 | 0 | 0.004496 | 0.542763 | 2,432 | 90 | 49 | 27.022222 | 0.710432 | 0 | 0 | 0.767442 | 0 | 0 | 0.216694 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | true | 0 | 0.011628 | 0.023256 | 0.05814 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f82c2979f02cabeca3d3824b1ca1f25896b37e5e | 156 | py | Python | automl_toolbox/model_selection/__init__.py | farrajota/automl_toolbox | 2a06e888f8f09ee963cde0ea1b993ee30743ec45 | [
"MIT"
] | null | null | null | automl_toolbox/model_selection/__init__.py | farrajota/automl_toolbox | 2a06e888f8f09ee963cde0ea1b993ee30743ec45 | [
"MIT"
] | null | null | null | automl_toolbox/model_selection/__init__.py | farrajota/automl_toolbox | 2a06e888f8f09ee963cde0ea1b993ee30743ec45 | [
"MIT"
] | null | null | null | """
Methods and functions to fit and cross-validate models on data.
"""
from .cross_validation import cross_validation_score, cross_validation_score_iter
| 22.285714 | 81 | 0.814103 | 22 | 156 | 5.5 | 0.681818 | 0.371901 | 0.330579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121795 | 156 | 6 | 82 | 26 | 0.883212 | 0.403846 | 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 |
f82c7087f290895ff34d3296562f3bb0171216a7 | 137 | py | Python | src/configflow/io/__init__.py | volodymyrPivoshenko/configflow | 2158c8395c4913b836c2a27e38c51f5ec519323b | [
"MIT"
] | 8 | 2022-01-25T09:06:34.000Z | 2022-03-28T14:55:45.000Z | src/configflow/io/__init__.py | volodymyrPivoshenko/configflow | 2158c8395c4913b836c2a27e38c51f5ec519323b | [
"MIT"
] | 23 | 2022-01-23T15:15:00.000Z | 2022-03-28T21:47:15.000Z | src/configflow/io/__init__.py | volodymyrPivoshenko/configflow | 2158c8395c4913b836c2a27e38c51f5ec519323b | [
"MIT"
] | 1 | 2022-03-15T21:08:19.000Z | 2022-03-15T21:08:19.000Z | """Package for the IO functionality."""
from configflow.io import dotenv
from configflow.io import ini
from configflow.io import loader
| 22.833333 | 39 | 0.79562 | 20 | 137 | 5.45 | 0.55 | 0.385321 | 0.440367 | 0.605505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131387 | 137 | 5 | 40 | 27.4 | 0.915966 | 0.240876 | 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 |
f84d2341d82f27e92e13024bb7a3aebc2237c41b | 2,328 | py | Python | cake/functions/basic/trig.py | polo-sec/Cake | ab3ae8e53b9399ee011f77d6b6e918762e52da78 | [
"MIT"
] | null | null | null | cake/functions/basic/trig.py | polo-sec/Cake | ab3ae8e53b9399ee011f77d6b6e918762e52da78 | [
"MIT"
] | 1 | 2021-10-10T16:41:01.000Z | 2021-10-10T16:41:01.000Z | cake/functions/basic/trig.py | polo-sec/Cake | ab3ae8e53b9399ee011f77d6b6e918762e52da78 | [
"MIT"
] | null | null | null | # Trigonometric functions
from ..base import Function
import cake
import typing
import math
__all__ = ("Sin", "Cos", "Tan")
class Sin(Function):
def __init__(self, value, *, type: str = "radians") -> None:
super().__init__(value, name="sin")
self.type = type
def _raw_exec(self, other) -> ty... | 26.758621 | 64 | 0.574313 | 256 | 2,328 | 5.007813 | 0.167969 | 0.037442 | 0.065523 | 0.044462 | 0.891576 | 0.891576 | 0.891576 | 0.891576 | 0.891576 | 0.891576 | 0 | 0 | 0.306271 | 2,328 | 86 | 65 | 27.069767 | 0.793808 | 0.00988 | 0 | 0.774194 | 0 | 0 | 0.046895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0.064516 | 0 | 0.306452 | 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 |
f8849861845d29d47b15975daf849c46112620bb | 21,432 | py | Python | check_files_numeration_p31.py | mcjczapiewski/work | 2540afa6b18bf6ff92a7c07b16695035785c0dd8 | [
"MIT"
] | null | null | null | check_files_numeration_p31.py | mcjczapiewski/work | 2540afa6b18bf6ff92a7c07b16695035785c0dd8 | [
"MIT"
] | null | null | null | check_files_numeration_p31.py | mcjczapiewski/work | 2540afa6b18bf6ff92a7c07b16695035785c0dd8 | [
"MIT"
] | null | null | null | import os
import regex
from natsort import natsorted, natsort_keygen
nkey = natsort_keygen()
count = 1
print(
"\nUWAGA! W folderze, we wskazanej przez użytkownika lokalizacji,\n\
może pojawić się plik bledy.txt!\n\n"
)
sciezka = input("Podaj ścieżkę do folderu: ")
for subdir, dirs, files in os.walk(scie... | 42.9499 | 79 | 0.295119 | 1,693 | 21,432 | 3.67218 | 0.076196 | 0.069487 | 0.067557 | 0.07206 | 0.889175 | 0.880489 | 0.868908 | 0.868908 | 0.862474 | 0.848319 | 0 | 0.017493 | 0.597238 | 21,432 | 498 | 80 | 43.036145 | 0.702734 | 0 | 0 | 0.780538 | 0 | 0 | 0.050532 | 0.007279 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006211 | 0 | 0.006211 | 0.014493 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f88f24d5f53b79992d43bac21e30e30fb4c74503 | 49,996 | py | Python | tests/tweets.py | sebastian-nagel/sfm-twitter-harvester | 0fe1d39c34faf80a147457cad18c332e2b64ad36 | [
"MIT"
] | 12 | 2016-09-07T15:15:10.000Z | 2021-05-03T23:05:13.000Z | tests/tweets.py | sebastian-nagel/sfm-twitter-harvester | 0fe1d39c34faf80a147457cad18c332e2b64ad36 | [
"MIT"
] | 17 | 2015-11-19T18:26:31.000Z | 2021-06-22T12:43:27.000Z | tests/tweets.py | sebastian-nagel/sfm-twitter-harvester | 0fe1d39c34faf80a147457cad18c332e2b64ad36 | [
"MIT"
] | 6 | 2016-01-30T16:46:15.000Z | 2021-01-22T20:01:03.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
tweet1 = {
"created_at": "Tue Jun 02 13:22:55 +0000 2015",
"id": 605726286741434400,
"id_str": "605726286741434368",
"text": "At LC for @archemail today: Thinking about overlap between email archiving, web archiving, and social media archiving.",
"sour... | 34.361512 | 183 | 0.532303 | 4,955 | 49,996 | 5.120686 | 0.115237 | 0.022071 | 0.021282 | 0.016395 | 0.822252 | 0.801837 | 0.779805 | 0.770386 | 0.757143 | 0.738344 | 0 | 0.101018 | 0.318485 | 49,996 | 1,455 | 184 | 34.361512 | 0.642767 | 0.00558 | 0 | 0.723227 | 0 | 0.011127 | 0.50351 | 0.094148 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
f89addb90d78b43c7b37576af583919f835e82e4 | 15,056 | bzl | Python | test/starlark_tests/apple_static_xcframework_tests.bzl | wendyliga/rules_apple | ac43c1e467564d9df6b3355ff93fcaf224f2c0f9 | [
"Apache-2.0"
] | null | null | null | test/starlark_tests/apple_static_xcframework_tests.bzl | wendyliga/rules_apple | ac43c1e467564d9df6b3355ff93fcaf224f2c0f9 | [
"Apache-2.0"
] | null | null | null | test/starlark_tests/apple_static_xcframework_tests.bzl | wendyliga/rules_apple | ac43c1e467564d9df6b3355ff93fcaf224f2c0f9 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 The Bazel 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 applicable la... | 59.746032 | 200 | 0.739772 | 1,910 | 15,056 | 5.367016 | 0.113089 | 0.086918 | 0.090723 | 0.114916 | 0.793484 | 0.775632 | 0.741781 | 0.719832 | 0.715833 | 0.706955 | 0 | 0.027094 | 0.168969 | 15,056 | 251 | 201 | 59.984064 | 0.792199 | 0.123273 | 0 | 0.435644 | 0 | 0.039604 | 0.631379 | 0.59708 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004951 | false | 0 | 0 | 0 | 0.004951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6efd892bde04360eb80a8651ffa8cb9427653f08 | 112 | py | Python | katas/beta/to_buy_or_not_to_buy.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/beta/to_buy_or_not_to_buy.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/beta/to_buy_or_not_to_buy.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def buy_or_pass(stock_price, all_time_high):
return 'Buy' if stock_price <= all_time_high * 0.8 else 'Pass'
| 37.333333 | 66 | 0.741071 | 21 | 112 | 3.571429 | 0.666667 | 0.266667 | 0.346667 | 0.453333 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.151786 | 112 | 2 | 67 | 56 | 0.768421 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 1 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 8 |
3e16007db28cbba7c07bfbc4ef71dc850961e644 | 235 | py | Python | django_shares/db/models/__init__.py | InfoAgeTech/django-shares | 1b301852fa261a7eb6c872dc912517368da6cb33 | [
"MIT"
] | null | null | null | django_shares/db/models/__init__.py | InfoAgeTech/django-shares | 1b301852fa261a7eb6c872dc912517368da6cb33 | [
"MIT"
] | null | null | null | django_shares/db/models/__init__.py | InfoAgeTech/django-shares | 1b301852fa261a7eb6c872dc912517368da6cb33 | [
"MIT"
] | null | null | null | from .managers import ShareManager
from .managers import SharedObjectManager
from .mixins import AbstractSafeDeleteSharedObjectModelMixin
from .mixins import AbstractSharedObjectModelMixin
from .mixins import SafeDeleteShareModelMixin
| 39.166667 | 60 | 0.893617 | 20 | 235 | 10.5 | 0.45 | 0.142857 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 235 | 5 | 61 | 47 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 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 |
3e1e3e6bf5cdbeaa2667aff50334ffbbc39ea6ce | 39 | py | Python | fix_dict/__init__.py | Senmumu/fixdict | 2fecfc9b330449e8bd9190029f00ab535be1403e | [
"MIT"
] | 1 | 2018-02-27T09:48:27.000Z | 2018-02-27T09:48:27.000Z | fix_dict/__init__.py | Senmumu/fixdict | 2fecfc9b330449e8bd9190029f00ab535be1403e | [
"MIT"
] | null | null | null | fix_dict/__init__.py | Senmumu/fixdict | 2fecfc9b330449e8bd9190029f00ab535be1403e | [
"MIT"
] | null | null | null | from fix_dict.fix_dict import fix_dict
| 19.5 | 38 | 0.871795 | 8 | 39 | 3.875 | 0.5 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3e382bde8a9717dce85a642d38f8f58edccd031a | 50 | py | Python | MORSE/lab_world/src/lab_world/builder/robots/__init__.py | offroad-robotics/Robot-Simulator-Comparison | 941b05be679a90f404ba6bb507f09d5289de79aa | [
"MIT"
] | null | null | null | MORSE/lab_world/src/lab_world/builder/robots/__init__.py | offroad-robotics/Robot-Simulator-Comparison | 941b05be679a90f404ba6bb507f09d5289de79aa | [
"MIT"
] | null | null | null | MORSE/lab_world/src/lab_world/builder/robots/__init__.py | offroad-robotics/Robot-Simulator-Comparison | 941b05be679a90f404ba6bb507f09d5289de79aa | [
"MIT"
] | null | null | null | from .husky import Husky
from .husky import Husky
| 16.666667 | 24 | 0.8 | 8 | 50 | 5 | 0.375 | 0.45 | 0.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 25 | 25 | 0.952381 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
e49d4e597e9405bbb83dd82832db5867f486dded | 154 | py | Python | src/caracal/declaration/__init__.py | caracalai/caracal | c93373fb88091175c32dc0e4a91eb7a78b693367 | [
"MIT"
] | 25 | 2021-12-10T14:07:04.000Z | 2022-02-21T14:45:31.000Z | src/caracal/declaration/__init__.py | caracalai/caracal | c93373fb88091175c32dc0e4a91eb7a78b693367 | [
"MIT"
] | null | null | null | src/caracal/declaration/__init__.py | caracalai/caracal | c93373fb88091175c32dc0e4a91eb7a78b693367 | [
"MIT"
] | null | null | null | from caracal.declaration.nodetype import MetaInfo
import caracal.declaration.datatypes as cara_types
from caracal.declaration.projects import ProjectInfo
| 38.5 | 52 | 0.883117 | 19 | 154 | 7.105263 | 0.631579 | 0.4 | 0.325926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 154 | 3 | 53 | 51.333333 | 0.950704 | 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 |
e4bcfdbf1ab7f54676d2f097b1d50b4aaeac13be | 2,059 | py | Python | acorn_prng/test/test_acorn_prng.py | ZhenleC/acorn_prng | 5f7d3e5d0fcc9ffc3845dd7e97f55219ebd112ec | [
"Apache-2.0"
] | 1 | 2022-03-22T13:39:51.000Z | 2022-03-22T13:39:51.000Z | acorn_prng/test/test_acorn_prng.py | ZhenleC/acorn_prng | 5f7d3e5d0fcc9ffc3845dd7e97f55219ebd112ec | [
"Apache-2.0"
] | null | null | null | acorn_prng/test/test_acorn_prng.py | ZhenleC/acorn_prng | 5f7d3e5d0fcc9ffc3845dd7e97f55219ebd112ec | [
"Apache-2.0"
] | 1 | 2022-03-21T10:56:21.000Z | 2022-03-21T10:56:21.000Z | import cocotb
from cocotb.triggers import Timer
@cocotb.test()
async def test_acorn_prng(dut):
"""Try accessing the design."""
for cycle in range(1):
dut.reset.value = 1
dut.clk.value = 0
await Timer(1, units="ns")
dut.clk.value = 1
await Tim... | 23.94186 | 63 | 0.486644 | 275 | 2,059 | 3.614545 | 0.185455 | 0.078471 | 0.132797 | 0.193159 | 0.848089 | 0.848089 | 0.848089 | 0.848089 | 0.848089 | 0.777666 | 0 | 0.0682 | 0.387567 | 2,059 | 85 | 64 | 24.223529 | 0.720063 | 0 | 0 | 0.793103 | 0 | 0 | 0.050296 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.034483 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 8 |
e4e7ab1322142ef009024ade0a55e025765ad91c | 45 | py | Python | yabbi/blueprints/page/__init__.py | HealthHackAu2018/yabbi | 84a267bae0329cbf68699c6f28f6708ecf78ff3d | [
"MIT"
] | 4 | 2018-09-15T00:59:44.000Z | 2019-08-21T22:15:30.000Z | yabbi/blueprints/page/__init__.py | HealthHackAu2018/yabbi | 84a267bae0329cbf68699c6f28f6708ecf78ff3d | [
"MIT"
] | null | null | null | yabbi/blueprints/page/__init__.py | HealthHackAu2018/yabbi | 84a267bae0329cbf68699c6f28f6708ecf78ff3d | [
"MIT"
] | 1 | 2018-09-15T06:45:21.000Z | 2018-09-15T06:45:21.000Z | from yabbi.blueprints.page.views import page
| 22.5 | 44 | 0.844444 | 7 | 45 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
39e862cf17ff9e54ded776f15f8a755fc9f03df5 | 397,939 | py | Python | app/charts/graph.py | chenxinjingjing/pyecharts-app | 76ee6684b1b4ee416928adb29764b6316ad3bb39 | [
"MIT"
] | 188 | 2017-12-21T15:27:28.000Z | 2022-01-14T10:46:34.000Z | app/charts/graph.py | QuincyC379/pyecharts-app | 316b370622c316e49a556aab71409d79e26c0a86 | [
"MIT"
] | 5 | 2018-10-29T06:12:29.000Z | 2019-12-30T07:08:09.000Z | app/charts/graph.py | QuincyC379/pyecharts-app | 316b370622c316e49a556aab71409d79e26c0a86 | [
"MIT"
] | 90 | 2017-12-22T07:21:15.000Z | 2022-03-03T07:35:24.000Z | from pyecharts import Graph, Page, Style
WEIBO = [
[
{
"name": "",
"symbolSize": 5,
"draggable": "False",
"value": 1,
"category": "",
"label": {
"normal": {
"show": "True"
}
... | 22.086862 | 154 | 0.292221 | 20,891 | 397,939 | 5.555981 | 0.051841 | 0.075386 | 0.120617 | 0.178556 | 0.831016 | 0.80423 | 0.803196 | 0.730008 | 0.724787 | 0.410451 | 0 | 0.016686 | 0.541427 | 397,939 | 18,016 | 155 | 22.088088 | 0.619358 | 0 | 0 | 0.465182 | 0 | 0.000056 | 0.28725 | 0.000515 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000056 | false | 0 | 0.000056 | 0 | 0.000167 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 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 |
39ead68beea1cb32863af63b04fed5049d63177d | 12,455 | py | Python | test/test_sample_space.py | xhajnal/DiPS | 2e5d6e0a26d2b1cd44522dc521992e6d7cfe6883 | [
"BSD-3-Clause"
] | 4 | 2020-04-25T22:29:43.000Z | 2022-01-14T07:52:55.000Z | test/test_sample_space.py | xhajnal/DiPS | 2e5d6e0a26d2b1cd44522dc521992e6d7cfe6883 | [
"BSD-3-Clause"
] | 64 | 2020-01-06T18:38:56.000Z | 2022-02-27T18:38:45.000Z | test/test_sample_space.py | xhajnal/DiPS | 2e5d6e0a26d2b1cd44522dc521992e6d7cfe6883 | [
"BSD-3-Clause"
] | 3 | 2020-02-13T16:46:54.000Z | 2021-11-26T11:47:56.000Z | import os
import unittest
from sympy import Interval
from termcolor import colored
import src.sample_space as sample_space
from common.convert import normalise_constraint, split_constraints
from space import RefinedSpace
from src.refine_space import *
curr_dir = os.path.dirname(__file__)
class MyTestCase(unittest.... | 49.82 | 113 | 0.653713 | 1,710 | 12,455 | 4.560234 | 0.052632 | 0.18338 | 0.199282 | 0.24673 | 0.89741 | 0.883432 | 0.869197 | 0.859836 | 0.845858 | 0.84278 | 0 | 0.043246 | 0.188679 | 12,455 | 249 | 114 | 50.02008 | 0.728451 | 0.021999 | 0 | 0.604061 | 0 | 0 | 0.027296 | 0 | 0 | 0 | 0 | 0 | 0.553299 | 1 | 0.015228 | false | 0 | 0.040609 | 0 | 0.060914 | 0.025381 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
39f004dd2fc6be21cd91daf496db4adeddb84b0f | 114 | py | Python | toontown/building/DistributedToonHallInteriorAI.py | CrankySupertoon01/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 1 | 2021-02-13T22:40:50.000Z | 2021-02-13T22:40:50.000Z | toontown/building/DistributedToonHallInteriorAI.py | CrankySupertoonArchive/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 1 | 2018-07-28T20:07:04.000Z | 2018-07-30T18:28:34.000Z | toontown/building/DistributedToonHallInteriorAI.py | CrankySupertoonArchive/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 2 | 2019-12-02T01:39:10.000Z | 2021-02-13T22:41:00.000Z | from DistributedToonInteriorAI import *
class DistributedToonHallInteriorAI(DistributedToonInteriorAI):
pass
| 22.8 | 63 | 0.859649 | 7 | 114 | 14 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 114 | 4 | 64 | 28.5 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
8453c68cd09b39aa9720015d5c2c6b29e7579a7e | 349 | py | Python | tests/internal/instance_type/test_instance_type_d2_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_d2_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_d2_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Testing module instance_type.d2
import pytest
import ec2_compare.internal.instance_type.d2
def test_get_internal_data_instance_type_d2_get_instances_list():
assert len(ec2_compare.internal.instance_type.d2.get_instances_list()) > 0
def test_get_internal_data_instance_type_d2_get():
assert len(ec2_compare.intern... | 34.9 | 76 | 0.848138 | 56 | 349 | 4.839286 | 0.339286 | 0.265683 | 0.309963 | 0.250923 | 0.826568 | 0.826568 | 0.612546 | 0.612546 | 0.612546 | 0 | 0 | 0.034056 | 0.074499 | 349 | 9 | 77 | 38.777778 | 0.804954 | 0.088825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
8464f108e90695ba67eb9460fdc9a7367f4f49ea | 134,945 | py | Python | yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py | ovandriyanov/python-sdk | eec7dc65ef23789388fa46d13087d4a03cdc6e57 | [
"MIT"
] | null | null | null | yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py | ovandriyanov/python-sdk | eec7dc65ef23789388fa46d13087d4a03cdc6e57 | [
"MIT"
] | null | null | null | yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py | ovandriyanov/python-sdk | eec7dc65ef23789388fa46d13087d4a03cdc6e57 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: yandex/cloud/mdb/postgresql/v1/config/postgresql14.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import re... | 70.430585 | 18,755 | 0.80003 | 17,768 | 134,945 | 5.695801 | 0.046038 | 0.04158 | 0.081668 | 0.062696 | 0.832159 | 0.813751 | 0.802407 | 0.790243 | 0.760481 | 0.724445 | 0 | 0.060528 | 0.094883 | 134,945 | 1,915 | 18,756 | 70.467363 | 0.768047 | 0.003275 | 0 | 0.614072 | 1 | 0.001599 | 0.265594 | 0.236841 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003198 | 0 | 0.003198 | 0.001599 | 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 |
ffcdeb5a8723b51b7f2b87ea504bcd6df4d94287 | 250 | py | Python | africanus/coordinates/__init__.py | JoshVStaden/codex-africanus | 4a38994431d51510b1749fa0e4b8b6190b8b530f | [
"BSD-3-Clause"
] | 13 | 2018-04-06T09:36:13.000Z | 2021-04-13T13:11:00.000Z | africanus/coordinates/__init__.py | JoshVStaden/codex-africanus | 4a38994431d51510b1749fa0e4b8b6190b8b530f | [
"BSD-3-Clause"
] | 153 | 2018-03-28T14:13:48.000Z | 2022-02-03T07:49:17.000Z | africanus/coordinates/__init__.py | JoshVStaden/codex-africanus | 4a38994431d51510b1749fa0e4b8b6190b8b530f | [
"BSD-3-Clause"
] | 14 | 2018-03-29T13:30:52.000Z | 2021-06-12T02:56:55.000Z | # flake8: noqa
from africanus.coordinates.coordinates import radec_to_lmn
from africanus.coordinates.coordinates import radec_to_lm
from africanus.coordinates.coordinates import lmn_to_radec
from africanus.coordinates.coordinates import lm_to_radec
| 35.714286 | 58 | 0.88 | 34 | 250 | 6.235294 | 0.294118 | 0.245283 | 0.45283 | 0.660377 | 0.839623 | 0.45283 | 0.45283 | 0 | 0 | 0 | 0 | 0.004348 | 0.08 | 250 | 6 | 59 | 41.666667 | 0.917391 | 0.048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 |
ffcfd5d7cc8ba6863f96220d3693bb54eb89d208 | 79 | py | Python | tests/parser/good/simple-comment.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | 1 | 2020-11-24T05:24:26.000Z | 2020-11-24T05:24:26.000Z | tests/parser/good/simple-comment.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | tests/parser/good/simple-comment.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | # function my_fun
def myfun():
# return 1
return 1
# call myfun
myfun()
| 9.875 | 17 | 0.632911 | 12 | 79 | 4.083333 | 0.666667 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.265823 | 79 | 7 | 18 | 11.285714 | 0.810345 | 0.443038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 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 | 0 | 1 | 1 | 0 | 0 | 7 |
0808adf9323664303df19a9f8cecc9fd04f8491a | 32 | py | Python | archive/p/python/quine.py | Ayush7-BIT/sample-programs | 827d8961d3a548daf8fe3b674642a1562daaa5c4 | [
"MIT"
] | 422 | 2018-08-14T11:57:47.000Z | 2022-03-07T23:54:34.000Z | archive/p/python/quine.py | Ayush7-BIT/sample-programs | 827d8961d3a548daf8fe3b674642a1562daaa5c4 | [
"MIT"
] | 1,498 | 2018-08-10T19:18:52.000Z | 2021-12-14T03:02:00.000Z | archive/p/python/quine.py | Ayush7-BIT/sample-programs | 827d8961d3a548daf8fe3b674642a1562daaa5c4 | [
"MIT"
] | 713 | 2018-08-12T21:37:49.000Z | 2022-03-02T22:57:21.000Z | s='s=%r;print(s%%s)';print(s%s)
| 16 | 31 | 0.53125 | 9 | 32 | 1.888889 | 0.333333 | 0.352941 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 32 | 1 | 32 | 32 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
082961edc364e6db346940f7196ee9f5e98dbefd | 304,733 | py | Python | tests/jobs_output/self_scripting/cgo_cartoon_wf.py | kliment-olechnovic/voronota | 4e3063aa86b44f1f2e7b088ec9976f3e12047549 | [
"MIT"
] | 9 | 2019-08-23T10:46:18.000Z | 2022-03-11T12:20:27.000Z | tests/jobs_output/self_scripting/cgo_cartoon_wf.py | kliment-olechnovic/voronota | 4e3063aa86b44f1f2e7b088ec9976f3e12047549 | [
"MIT"
] | null | null | null | tests/jobs_output/self_scripting/cgo_cartoon_wf.py | kliment-olechnovic/voronota | 4e3063aa86b44f1f2e7b088ec9976f3e12047549 | [
"MIT"
] | 3 | 2020-09-17T19:07:47.000Z | 2021-04-29T01:19:38.000Z | from pymol.cgo import *
from pymol import cmd
cartoon_wf = [COLOR, 0.000, 0.757, 1.000,
BEGIN, LINE_LOOP,
VERTEX, 22.191, 22.736, 28.234,
VERTEX, 22.021, 22.906, 28.175,
VERTEX, 22.654, 23.202, 28.107,
END,
BEGIN, LINE_LOOP,
VERTEX, 22.021, 22.906, 28.175,
VERTEX, 22.654, 23.202, 28.107,
VERTEX, 22.489, 23.366, 28.043,... | 23.766417 | 41 | 0.67168 | 64,135 | 304,733 | 3.151431 | 0.016153 | 0.113993 | 0.164657 | 0.240653 | 0.999218 | 0.998575 | 0.998352 | 0.998095 | 0.997873 | 0.997873 | 0 | 0.431543 | 0.126271 | 304,733 | 12,821 | 42 | 23.768271 | 0.327571 | 0 | 0 | 0.998362 | 0 | 0 | 0.000098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000156 | 0 | 0.000156 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
083c0d03c8076693a48cc0fa54ab840e42267ada | 58,823 | py | Python | elastipy/generated_search_param.py | defgsus/elastipy | c1144ab39fa70571ba0e02ccf41d380a8a1bd730 | [
"Apache-2.0"
] | 1 | 2021-02-17T17:50:28.000Z | 2021-02-17T17:50:28.000Z | elastipy/generated_search_param.py | defgsus/elastipy | c1144ab39fa70571ba0e02ccf41d380a8a1bd730 | [
"Apache-2.0"
] | 2 | 2021-03-29T02:09:41.000Z | 2022-03-01T20:09:48.000Z | elastipy/generated_search_param.py | netzkolchose/elastipy | c1144ab39fa70571ba0e02ccf41d380a8a1bd730 | [
"Apache-2.0"
] | null | null | null | # auto-generated file - do not edit
from datetime import date, datetime
from typing import Mapping, Sequence, Any, Union, Optional
from .search_param import SearchParametersBase
from .search import Search
class Unset:
pass
class SearchParameters(SearchParametersBase):
# make sure sphinx get's the document... | 43.767113 | 2,081 | 0.597113 | 6,800 | 58,823 | 5.064706 | 0.073676 | 0.01565 | 0.021341 | 0.024187 | 0.849071 | 0.839634 | 0.818583 | 0.796748 | 0.790157 | 0.782259 | 0 | 0.002797 | 0.307125 | 58,823 | 1,343 | 2,082 | 43.799702 | 0.842211 | 0.643422 | 0 | 0.323899 | 1 | 0.003145 | 0.156106 | 0.024926 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122642 | false | 0.003145 | 0.012579 | 0 | 0.27044 | 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 |
083c83d6a84931ff49682aca918677d46af3595d | 158 | py | Python | src/podspy/log/__init__.py | jwllee/podspy | a3ab176a83004069a27405acfc42838c135c555d | [
"MIT"
] | 1 | 2019-02-06T09:26:17.000Z | 2019-02-06T09:26:17.000Z | src/podspy/log/__init__.py | wailamjonathanlee/podspy | a3ab176a83004069a27405acfc42838c135c555d | [
"MIT"
] | 12 | 2019-01-02T14:31:17.000Z | 2019-01-22T18:24:03.000Z | src/podspy/log/__init__.py | wailamjonathanlee/podspy | a3ab176a83004069a27405acfc42838c135c555d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# loading modules into subpackage namespace
from podspy.log import data_io
from podspy.log import table
from podspy.log import factory
| 22.571429 | 43 | 0.810127 | 25 | 158 | 5.08 | 0.68 | 0.23622 | 0.307087 | 0.448819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132911 | 158 | 6 | 44 | 26.333333 | 0.927007 | 0.392405 | 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 |
f2a59aae4451e93fd7addbfd62fb6d284caf688f | 2,692 | py | Python | evaluation/metrics.py | umautobots/osp | d055f1c846f907445186b9dea7da2d4dca4790a6 | [
"MIT"
] | 1 | 2021-11-08T07:27:39.000Z | 2021-11-08T07:27:39.000Z | evaluation/metrics.py | swb19/osp | d055f1c846f907445186b9dea7da2d4dca4790a6 | [
"MIT"
] | null | null | null | evaluation/metrics.py | swb19/osp | d055f1c846f907445186b9dea7da2d4dca4790a6 | [
"MIT"
] | 2 | 2021-07-24T21:27:56.000Z | 2021-10-31T14:13:20.000Z | import numpy as np
def get_expected_dist_by_time_fcns(select_inds=np.arange(9, 60, 10)):
init_fcn = lambda: []
def accumulate_fcn(accumulator, y_hats, p, y_true, **kwargs):
"""
:param accumulator: list of average distances from previous examples
list[i] = si, n_agents
:par... | 38.457143 | 86 | 0.638559 | 383 | 2,692 | 4.227154 | 0.18799 | 0.086473 | 0.044472 | 0.048178 | 0.85176 | 0.834466 | 0.834466 | 0.812847 | 0.812847 | 0.812847 | 0 | 0.016248 | 0.245542 | 2,692 | 69 | 87 | 39.014493 | 0.780896 | 0.328752 | 0 | 0.612903 | 0 | 0 | 0.012422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.290323 | false | 0 | 0.032258 | 0 | 0.516129 | 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 | 1 | 0 | 0 | 8 |
f2c22bcf5679d8e31efc5de8a95764715388340e | 42,539 | py | Python | v1/models.py | deva297/pyassetto | cfcf7562bd0da969995bde69983cd86ea52da3e7 | [
"MIT"
] | null | null | null | v1/models.py | deva297/pyassetto | cfcf7562bd0da969995bde69983cd86ea52da3e7 | [
"MIT"
] | null | null | null | v1/models.py | deva297/pyassetto | cfcf7562bd0da969995bde69983cd86ea52da3e7 | [
"MIT"
] | null | null | null | # alexnet.py
"""
Copyright 2015 Google Inc. 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 applicable law or... | 30.515782 | 88 | 0.644115 | 5,678 | 42,539 | 4.429553 | 0.036104 | 0.095742 | 0.080156 | 0.113793 | 0.94374 | 0.935867 | 0.929903 | 0.919765 | 0.919765 | 0.903105 | 0 | 0.083362 | 0.251863 | 42,539 | 1,393 | 89 | 30.537688 | 0.706929 | 0.040598 | 0 | 0.708 | 0 | 0 | 0.106626 | 0.036637 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0096 | false | 0 | 0.0048 | 0 | 0.024 | 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 |
4b362733980e488b6d5a98d98aa88dfc9b36c431 | 176 | py | Python | mdde/core/mdde/registry/protocol/__init__.py | akharitonov/mdde | b0443f3c9c3ca948e9dda213572926087c214d8d | [
"MIT"
] | 1 | 2021-05-17T11:17:51.000Z | 2021-05-17T11:17:51.000Z | mdde/core/mdde/registry/protocol/__init__.py | akharitonov/mdde | b0443f3c9c3ca948e9dda213572926087c214d8d | [
"MIT"
] | 4 | 2020-05-30T12:23:04.000Z | 2021-12-25T12:59:14.000Z | mdde/core/mdde/registry/protocol/__init__.py | akharitonov/mdde | b0443f3c9c3ca948e9dda213572926087c214d8d | [
"MIT"
] | null | null | null | from .p_registry_client_control import PRegistryControlClient
from .p_registry_client_read import PRegistryReadClient
from .p_registry_client_write import PRegistryWriteClient
| 44 | 61 | 0.914773 | 21 | 176 | 7.238095 | 0.52381 | 0.098684 | 0.256579 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 176 | 3 | 62 | 58.666667 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
29bb6f75c40b91ffe3ff19c390d38b1f39b693c4 | 493,658 | py | Python | server/GenTrussMsg.py | Bears-R-Us/arkouda-njit | 9c957797852747b907736f76cc51191c578069ea | [
"MIT"
] | 2 | 2022-02-08T23:13:09.000Z | 2022-02-09T18:47:07.000Z | server/GenTrussMsg.py | Bears-R-Us/arkouda-njit | 9c957797852747b907736f76cc51191c578069ea | [
"MIT"
] | 1 | 2022-03-04T02:24:04.000Z | 2022-03-04T02:24:04.000Z | server/GenTrussMsg.py | Bears-R-Us/arkouda-njit | 9c957797852747b907736f76cc51191c578069ea | [
"MIT"
] | 2 | 2022-03-23T19:21:23.000Z | 2022-03-27T23:56:53.000Z |
Parameters='''(kvalue:int,nei:[?D1] int, start_i:[?D2] int,src:[?D3] int, dst:[?D4] int,
neiR:[?D11] int, start_iR:[?D12] int,srcR:[?D13] int, dstR:[?D14] int,TriCount:[?D5] int):string throws{'''
ParametersAtomic='''(kvalue:int,nei:[?D1] int, start_i:[?D2] int,src:[?D3] int, dst:[?D4] int,
... | 47.517374 | 138 | 0.309881 | 38,820 | 493,658 | 3.928594 | 0.015945 | 0.013803 | 0.016963 | 0.026097 | 0.931735 | 0.926719 | 0.923538 | 0.920686 | 0.918555 | 0.913277 | 0 | 0.023475 | 0.593919 | 493,658 | 10,388 | 139 | 47.521948 | 0.737296 | 0.001533 | 0 | 0.582763 | 0 | 0.02169 | 0.93231 | 0.113564 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008562 | false | 0 | 0 | 0 | 0.019977 | 0.061644 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
29dccd2522bcc040ecaf22404e79a2768d926264 | 312 | py | Python | 16.loop3/13.percorrendo_valores_do_dic_com_for.py | robinson-1985/python-zero-dnc | df510d67e453611fcd320df1397cdb9ca47fecb8 | [
"MIT"
] | null | null | null | 16.loop3/13.percorrendo_valores_do_dic_com_for.py | robinson-1985/python-zero-dnc | df510d67e453611fcd320df1397cdb9ca47fecb8 | [
"MIT"
] | null | null | null | 16.loop3/13.percorrendo_valores_do_dic_com_for.py | robinson-1985/python-zero-dnc | df510d67e453611fcd320df1397cdb9ca47fecb8 | [
"MIT"
] | null | null | null | #percorrendo valores do dicionário com for
dicionario_full = {'usuario':'Peter','lingua':'pt-br','pet':['cachorro_1','cachorro_2']}
for a in dicionario_full.values():
print(a)
dicionario_full = {'usuario':'Peter','lingua':'pt-br','pet':['cachorro_1','cachorro_2']}
for a in dicionario_full.keys():
print(a) | 34.666667 | 88 | 0.705128 | 46 | 312 | 4.608696 | 0.478261 | 0.264151 | 0.198113 | 0.245283 | 0.726415 | 0.726415 | 0.726415 | 0.726415 | 0.726415 | 0.726415 | 0 | 0.014035 | 0.086538 | 312 | 9 | 89 | 34.666667 | 0.729825 | 0.13141 | 0 | 0.666667 | 0 | 0 | 0.339483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
29e1d312aea23cfb51dce4af5aa3a3f256f538a8 | 13,218 | py | Python | main.py | TalionDev/webdriverbots | 6ff6515c39791d16c91f308744b710632eb94e08 | [
"MIT"
] | 2 | 2020-06-08T00:58:51.000Z | 2020-06-08T02:04:46.000Z | main.py | TalionDev/webdriverbots | 6ff6515c39791d16c91f308744b710632eb94e08 | [
"MIT"
] | null | null | null | main.py | TalionDev/webdriverbots | 6ff6515c39791d16c91f308744b710632eb94e08 | [
"MIT"
] | null | null | null | #importando as parada
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support imp... | 44.959184 | 154 | 0.597745 | 1,624 | 13,218 | 4.748153 | 0.158251 | 0.047205 | 0.082609 | 0.112048 | 0.856309 | 0.831539 | 0.80664 | 0.786798 | 0.767086 | 0.743613 | 0 | 0.018809 | 0.275987 | 13,218 | 293 | 155 | 45.112628 | 0.786938 | 0 | 0 | 0.659091 | 0 | 0.013636 | 0.315273 | 0.126798 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.022727 | 0.040909 | null | null | 0.063636 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d9cfa826a0cc6c82ca6e8b2014a00fcd658d82a4 | 72,248 | py | Python | tests/test_edgeql_update.py | pnijhara/edgedb | 04e47118ef4d2af5dca1a6bd937bb737873329c9 | [
"Apache-2.0"
] | null | null | null | tests/test_edgeql_update.py | pnijhara/edgedb | 04e47118ef4d2af5dca1a6bd937bb737873329c9 | [
"Apache-2.0"
] | null | null | null | tests/test_edgeql_update.py | pnijhara/edgedb | 04e47118ef4d2af5dca1a6bd937bb737873329c9 | [
"Apache-2.0"
] | null | null | null | #
# This source file is part of the EdgeDB open source project.
#
# Copyright 2016-present MagicStack Inc. and the EdgeDB authors.
#
# 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... | 29.817582 | 79 | 0.34347 | 4,965 | 72,248 | 4.893656 | 0.068278 | 0.083549 | 0.076059 | 0.054328 | 0.87126 | 0.849817 | 0.802486 | 0.766556 | 0.740338 | 0.707783 | 0 | 0.018994 | 0.562036 | 72,248 | 2,422 | 80 | 29.829893 | 0.748878 | 0.014519 | 0 | 0.613083 | 0 | 0 | 0.349528 | 0.023293 | 0 | 0 | 0 | 0 | 0.071677 | 1 | 0.000696 | false | 0 | 0.003479 | 0 | 0.006263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
8a493e90856ac13e2ee239bb98ebfc708f93762c | 5,041 | py | Python | tests/experiments_tests/test_evaluator.py | yuishihara/chainerrl | 74901712a8ed8207b9d526d3f45b04bf22996b8d | [
"MIT"
] | 18 | 2018-08-07T07:27:41.000Z | 2018-08-20T01:51:21.000Z | tests/experiments_tests/test_evaluator.py | yuishihara/chainerrl | 74901712a8ed8207b9d526d3f45b04bf22996b8d | [
"MIT"
] | null | null | null | tests/experiments_tests/test_evaluator.py | yuishihara/chainerrl | 74901712a8ed8207b9d526d3f45b04bf22996b8d | [
"MIT"
] | 2 | 2018-08-16T06:47:26.000Z | 2018-08-20T01:51:22.000Z | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from builtins import * # NOQA
from future import standard_library
standard_library.install_aliases() # NOQA
import tempfile
import unittest
from chainer import testing... | 34.527397 | 78 | 0.653243 | 655 | 5,041 | 4.770992 | 0.134351 | 0.1344 | 0.1792 | 0.04992 | 0.88896 | 0.88896 | 0.88896 | 0.88896 | 0.88896 | 0.88896 | 0 | 0.014725 | 0.245586 | 5,041 | 145 | 79 | 34.765517 | 0.806994 | 0.038286 | 0 | 0.719298 | 0 | 0 | 0.017772 | 0.009093 | 0 | 0 | 0 | 0 | 0.245614 | 1 | 0.017544 | false | 0 | 0.096491 | 0 | 0.131579 | 0.008772 | 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 |
0a01df8e1da7a33697cbaaeb438ef70a04d76a7d | 10,983 | py | Python | serial_scripts/vgw/verify.py | vkolli/5.0_contrail-test | 1793f169a94100400a1b2fafbad21daf5aa4d48a | [
"Apache-2.0"
] | null | null | null | serial_scripts/vgw/verify.py | vkolli/5.0_contrail-test | 1793f169a94100400a1b2fafbad21daf5aa4d48a | [
"Apache-2.0"
] | 1 | 2021-06-01T22:18:29.000Z | 2021-06-01T22:18:29.000Z | serial_scripts/vgw/verify.py | lmadhusudhanan/contrail-test | bd39ff19da06a20bd79af8c25e3cde07375577cf | [
"Apache-2.0"
] | null | null | null | from time import sleep
import os
from vn_test import *
from vm_test import *
from floating_ip import *
from tcutils.util import get_random_name
class VerifyVgwCases():
def verify_vgw_with_fip(self, compute_type):
# Setup resources
fip_pool_name = get_random_name('some-pool1')
result = T... | 36.979798 | 97 | 0.597287 | 1,375 | 10,983 | 4.493091 | 0.094545 | 0.048559 | 0.031564 | 0.041275 | 0.893007 | 0.872613 | 0.864519 | 0.858854 | 0.855131 | 0.855131 | 0 | 0.013846 | 0.316125 | 10,983 | 296 | 98 | 37.10473 | 0.808681 | 0.085951 | 0 | 0.857143 | 0 | 0 | 0.082409 | 0.002198 | 0 | 0 | 0 | 0 | 0.101382 | 1 | 0.018433 | false | 0 | 0.02765 | 0 | 0.069124 | 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 |
0a46c2c2aa75060778200d5c316fd814a2746c5b | 339,267 | py | Python | mingshe/parser.py | abersheeran/mingshe | a68901a41f152764d2e81b61770c30d5be2aadc2 | [
"Apache-2.0"
] | 45 | 2021-05-17T06:16:00.000Z | 2022-03-22T08:10:03.000Z | mingshe/parser.py | abersheeran/mingshe | a68901a41f152764d2e81b61770c30d5be2aadc2 | [
"Apache-2.0"
] | 16 | 2021-05-17T01:33:27.000Z | 2021-12-31T15:04:30.000Z | mingshe/parser.py | abersheeran/mingshe | a68901a41f152764d2e81b61770c30d5be2aadc2 | [
"Apache-2.0"
] | 2 | 2021-09-02T04:54:44.000Z | 2021-09-22T09:21:53.000Z | #!/usr/bin/env python3.8
# @generated by pegen from ../../mingshe.gram
import ast
import sys
import tokenize
from typing import Any, Optional
from pegen.parser import memoize, memoize_left_rec, logger, Parser
import copy
import io
import itertools
import os
import sys
import token
from typing import (
Any, Call... | 33.209377 | 689 | 0.521984 | 35,840 | 339,267 | 4.646401 | 0.021456 | 0.056531 | 0.064638 | 0.052256 | 0.81914 | 0.781735 | 0.750041 | 0.719517 | 0.678923 | 0.64383 | 0 | 0.012266 | 0.359354 | 339,267 | 10,215 | 690 | 33.212628 | 0.753904 | 0.085184 | 0 | 0.814871 | 1 | 0 | 0.021064 | 0.000801 | 0 | 0 | 0 | 0 | 0.00087 | 1 | 0.053267 | false | 0.000435 | 0.004892 | 0.000326 | 0.190673 | 0.000109 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
0a5bce3bf5e74ac08979e9e4ea5aba2e15e03fd7 | 9,944 | py | Python | scripts/commands/stats/format.py | AirP0WeR/strava-telegram-bot | 3fab6fbce1c94d45b77a957879bdaba86577fd2c | [
"MIT"
] | null | null | null | scripts/commands/stats/format.py | AirP0WeR/strava-telegram-bot | 3fab6fbce1c94d45b77a957879bdaba86577fd2c | [
"MIT"
] | null | null | null | scripts/commands/stats/format.py | AirP0WeR/strava-telegram-bot | 3fab6fbce1c94d45b77a957879bdaba86577fd2c | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
from common.operations import Operations
class FormatStats:
def __init__(self, calculated_stats):
self.calculated_stats = calculated_stats
self.operations = Operations()
def ride_stats(self, stats_type, stats_type_key):
ride_stats = "*Ride - {stats_type}:*... | 63.74359 | 120 | 0.625402 | 1,178 | 9,944 | 4.825976 | 0.06961 | 0.11715 | 0.210554 | 0.174142 | 0.869305 | 0.851539 | 0.817766 | 0.77555 | 0.747405 | 0.462797 | 0 | 0.011315 | 0.24457 | 9,944 | 155 | 121 | 64.154839 | 0.745474 | 0.002313 | 0 | 0.253623 | 0 | 0.021739 | 0.226961 | 0.026013 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028986 | false | 0 | 0.007246 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a693d0ca5714d4b4fabc1c8e2fa947e7fb069e9 | 7,977 | py | Python | utils/resnet_helpers.py | guoyk1990/Keras-FCN | 75a6d8a7ceb7618c3dd03e5cc9c3ceed181e1652 | [
"MIT"
] | 733 | 2016-11-09T16:42:46.000Z | 2022-02-25T06:21:10.000Z | utils/resnet_helpers.py | guoyk1990/Keras-FCN | 75a6d8a7ceb7618c3dd03e5cc9c3ceed181e1652 | [
"MIT"
] | 80 | 2016-12-15T09:12:25.000Z | 2021-11-17T11:26:21.000Z | utils/resnet_helpers.py | guoyk1990/Keras-FCN | 75a6d8a7ceb7618c3dd03e5cc9c3ceed181e1652 | [
"MIT"
] | 349 | 2016-10-21T01:36:56.000Z | 2021-12-06T00:40:19.000Z | from keras.layers import *
from keras.layers.merge import Add
from keras.regularizers import l2
# The original help functions from keras does not have weight regularizers, so I modified them.
# Also, I changed these two functions into functional style
def identity_block(kernel_size, filters, stage, block, weight_decay... | 51.464516 | 132 | 0.648239 | 1,116 | 7,977 | 4.420251 | 0.103943 | 0.058382 | 0.043787 | 0.045408 | 0.921346 | 0.917494 | 0.917494 | 0.917494 | 0.913035 | 0.913035 | 0 | 0.024318 | 0.237057 | 7,977 | 154 | 133 | 51.798701 | 0.786231 | 0.230036 | 0 | 0.888889 | 0 | 0 | 0.040592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080808 | false | 0 | 0.030303 | 0 | 0.191919 | 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 |
6a6acbb4976d2f7a5a881a547055c56a485c882e | 157 | py | Python | mmhuman3d/data/data_structures/__init__.py | ttxskk/mmhuman3d | f6d39e24a2d5cc216448fc3bd82832ff45eee436 | [
"Apache-2.0"
] | null | null | null | mmhuman3d/data/data_structures/__init__.py | ttxskk/mmhuman3d | f6d39e24a2d5cc216448fc3bd82832ff45eee436 | [
"Apache-2.0"
] | null | null | null | mmhuman3d/data/data_structures/__init__.py | ttxskk/mmhuman3d | f6d39e24a2d5cc216448fc3bd82832ff45eee436 | [
"Apache-2.0"
] | null | null | null | from mmhuman3d.data.data_structures import human_data
from mmhuman3d.data.data_structures.human_data import HumanData
__all__ = ['HumanData', 'human_data']
| 31.4 | 63 | 0.834395 | 21 | 157 | 5.809524 | 0.380952 | 0.221311 | 0.278689 | 0.344262 | 0.508197 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.082803 | 157 | 4 | 64 | 39.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.121019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6a8b8518a8f54bb9b7f454ec64f7db31bc79da59 | 28,477 | py | Python | dialogue-engine/test/programytest/clients/restful/yadlan/flask/test_client.py | cotobadesign/cotoba-agent-oss | 3833d56e79dcd7529c3e8b3a3a8a782d513d9b12 | [
"MIT"
] | 104 | 2020-03-30T09:40:00.000Z | 2022-03-06T22:34:25.000Z | dialogue-engine/test/programytest/clients/restful/yadlan/flask/test_client.py | cotobadesign/cotoba-agent-oss | 3833d56e79dcd7529c3e8b3a3a8a782d513d9b12 | [
"MIT"
] | 25 | 2020-06-12T01:36:35.000Z | 2022-02-19T07:30:44.000Z | dialogue-engine/test/programytest/clients/restful/yadlan/flask/test_client.py | cotobadesign/cotoba-agent-oss | 3833d56e79dcd7529c3e8b3a3a8a782d513d9b12 | [
"MIT"
] | 10 | 2020-04-02T23:43:56.000Z | 2021-05-14T13:47:01.000Z | """
Copyright (c) 2020 COTOBA DESIGN, Inc.
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, publish, distri... | 39.716876 | 177 | 0.664501 | 3,058 | 28,477 | 6.012753 | 0.081426 | 0.023495 | 0.031326 | 0.051286 | 0.847229 | 0.837276 | 0.822211 | 0.801218 | 0.779192 | 0.773644 | 0 | 0.017428 | 0.216174 | 28,477 | 716 | 178 | 39.772346 | 0.806326 | 0.037293 | 0 | 0.792208 | 0 | 0.012987 | 0.130514 | 0.006276 | 0 | 0 | 0 | 0 | 0.343228 | 1 | 0.070501 | false | 0 | 0.012987 | 0 | 0.089054 | 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 |
6aa3f7210e8dcf07da586492ccc5a8925e3f3f87 | 16,046 | py | Python | Experiments/XGBoost/Runner_features_analysis_XGBoost_60.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | 3 | 2021-06-29T06:18:18.000Z | 2021-09-07T03:11:35.000Z | Experiments/XGBoost/Runner_features_analysis_XGBoost_60.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | null | null | null | Experiments/XGBoost/Runner_features_analysis_XGBoost_60.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | null | null | null | import os
import warnings
warnings.filterwarnings("ignore")
#############################################
# BenchMark Bike
#############################################
#### Chicago
bike_param = {
"closeness_len": 11,
"period_len": 8,
"trend_len": 0,
"max_depth": 4,
"num_boost_round": 35
}
os.syst... | 78.273171 | 242 | 0.685716 | 2,141 | 16,046 | 4.759458 | 0.027557 | 0.097743 | 0.105888 | 0.082434 | 0.977625 | 0.97419 | 0.97419 | 0.97419 | 0.968891 | 0.968891 | 0 | 0.010513 | 0.122647 | 16,046 | 204 | 243 | 78.656863 | 0.713312 | 0.004923 | 0 | 0.701389 | 0 | 0 | 0.670238 | 0.002806 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013889 | 0 | 0.013889 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6aa459b191f3f13466fe067db160c274a5faed16 | 315 | py | Python | tests/test_repository_owner_is_python_package_owner.py | LucaCappelletti94/setup_python_package | 61b5f3cff1ed3181f932293c63c4fcb71cbe0062 | [
"MIT"
] | 5 | 2019-09-17T14:46:35.000Z | 2020-06-06T08:17:02.000Z | tests/test_repository_owner_is_python_package_owner.py | LucaCappelletti94/setup_python_package | 61b5f3cff1ed3181f932293c63c4fcb71cbe0062 | [
"MIT"
] | 2 | 2020-12-18T01:47:55.000Z | 2020-12-25T10:08:30.000Z | tests/test_repository_owner_is_python_package_owner.py | LucaCappelletti94/setup_python_package | 61b5f3cff1ed3181f932293c63c4fcb71cbe0062 | [
"MIT"
] | null | null | null | from setup_python_package.utils.repository_owner_is_python_package_owner import repository_owner_is_python_package_owner
def test_repository_owner_is_python_package_owner():
assert repository_owner_is_python_package_owner("setup-python-package")
assert not repository_owner_is_python_package_owner("numpy") | 63 | 120 | 0.892063 | 45 | 315 | 5.622222 | 0.311111 | 0.359684 | 0.335968 | 0.454545 | 0.6917 | 0.6917 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060317 | 315 | 5 | 121 | 63 | 0.85473 | 0 | 0 | 0 | 0 | 0 | 0.079114 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6ac36a37bce4ddf97c94d96a98102176f019a0ab | 6,526 | py | Python | lib/rucio/core/distance.py | balrampariyarath/rucio | 8a68017af6b44485a9620566f1afc013838413c1 | [
"Apache-2.0"
] | 1 | 2017-08-07T13:34:55.000Z | 2017-08-07T13:34:55.000Z | lib/rucio/core/distance.py | balrampariyarath/rucio | 8a68017af6b44485a9620566f1afc013838413c1 | [
"Apache-2.0"
] | null | null | null | lib/rucio/core/distance.py | balrampariyarath/rucio | 8a68017af6b44485a9620566f1afc013838413c1 | [
"Apache-2.0"
] | null | null | null | # Copyright European Organization for Nuclear Research (CERN)
#
# 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
#
# Authors:
# - Wen Guan, <wen.guan... | 38.845238 | 156 | 0.690622 | 872 | 6,526 | 4.981651 | 0.139908 | 0.073665 | 0.047882 | 0.058932 | 0.818831 | 0.807551 | 0.79558 | 0.790055 | 0.7843 | 0.756446 | 0 | 0.002933 | 0.216212 | 6,526 | 167 | 157 | 39.077844 | 0.846334 | 0.049341 | 0 | 0.549296 | 0 | 0 | 0.069847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.056338 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6aed615c6a4d7d3cb0a3f9a1cf9c03e626297c17 | 160 | py | Python | seaobs/tests/test_turbulence.py | serazing/seaobs | 99483723b541e738adea4ce497f73d2b5d8e1198 | [
"MIT"
] | null | null | null | seaobs/tests/test_turbulence.py | serazing/seaobs | 99483723b541e738adea4ce497f73d2b5d8e1198 | [
"MIT"
] | null | null | null | seaobs/tests/test_turbulence.py | serazing/seaobs | 99483723b541e738adea4ce497f73d2b5d8e1198 | [
"MIT"
] | null | null | null | from .. import turbulence as turb
def test_structure_function():
#TODO
#turb.structure_function()
pass
def test_inputs_structure_function():
#TODO
pass | 13.333333 | 37 | 0.76875 | 21 | 160 | 5.571429 | 0.571429 | 0.435897 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14375 | 160 | 12 | 38 | 13.333333 | 0.854015 | 0.20625 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0.4 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
0aa2266c166297935be27de7e2f3252a5bf6f277 | 20,510 | py | Python | cinder/tests/unit/policies/test_volume.py | xin3liang/cinder | 61e24eb8ab986f82f4c223fb82062edd489fec15 | [
"Apache-2.0"
] | 1 | 2020-08-14T02:20:57.000Z | 2020-08-14T02:20:57.000Z | cinder/tests/unit/policies/test_volume.py | BelieveInFuture/cinder | fff95fa6a68a054488ee087b6e31f4f5e28209dc | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/policies/test_volume.py | BelieveInFuture/cinder | fff95fa6a68a054488ee087b6e31f4f5e28209dc | [
"Apache-2.0"
] | null | null | null | #
# 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, software
# ... | 41.686992 | 78 | 0.650366 | 2,577 | 20,510 | 4.838184 | 0.069849 | 0.070019 | 0.038499 | 0.037295 | 0.918431 | 0.909849 | 0.899984 | 0.896134 | 0.885306 | 0.872393 | 0 | 0.003847 | 0.239542 | 20,510 | 491 | 79 | 41.771894 | 0.795538 | 0.074451 | 0 | 0.782235 | 0 | 0 | 0.129044 | 0.07389 | 0 | 0 | 0 | 0.002037 | 0.13467 | 1 | 0.088825 | false | 0 | 0.014327 | 0 | 0.106017 | 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 |
0aaddf688c3f1011c2bf5fdafe2edce62af3c351 | 149 | py | Python | gerenciador_tarefas/aplicativo/views.py | GePajarinen/Django-App | cb5cc13fe560a1a929ccd1f88f45219f60e68c43 | [
"MIT"
] | 1 | 2020-06-24T13:23:30.000Z | 2020-06-24T13:23:30.000Z | gerenciador_tarefas/aplicativo/views.py | GePajarinen/Django-App | cb5cc13fe560a1a929ccd1f88f45219f60e68c43 | [
"MIT"
] | null | null | null | gerenciador_tarefas/aplicativo/views.py | GePajarinen/Django-App | cb5cc13fe560a1a929ccd1f88f45219f60e68c43 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def listar_tarefas(request):
return render(request, 'tarefas/listar_tarefas.html') | 29.8 | 57 | 0.791946 | 20 | 149 | 5.8 | 0.75 | 0.224138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120805 | 149 | 5 | 57 | 29.8 | 0.885496 | 0.154362 | 0 | 0 | 0 | 0 | 0.216 | 0.216 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
0ad83cf50e428b39181bd5ffedea399d85a31c55 | 1,946 | py | Python | desktop/core/ext-py/kazoo-2.8.0/kazoo/tests/test_hosts.py | yetsun/hue | 2e48f0cc70e233ee0e1b40733d4b2a18d8836c66 | [
"Apache-2.0"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | desktop/core/ext-py/kazoo-2.8.0/kazoo/tests/test_hosts.py | yetsun/hue | 2e48f0cc70e233ee0e1b40733d4b2a18d8836c66 | [
"Apache-2.0"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | desktop/core/ext-py/kazoo-2.8.0/kazoo/tests/test_hosts.py | yetsun/hue | 2e48f0cc70e233ee0e1b40733d4b2a18d8836c66 | [
"Apache-2.0"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | from unittest import TestCase
from kazoo.hosts import collect_hosts
class HostsTestCase(TestCase):
def test_ipv4(self):
hosts, chroot = collect_hosts('127.0.0.1:2181, 192.168.1.2:2181, \
132.254.111.10:2181')
assert hosts == [('127.0.0.1', 2181),
... | 36.037037 | 78 | 0.511305 | 227 | 1,946 | 4.325991 | 0.176211 | 0.101833 | 0.14664 | 0.187373 | 0.867617 | 0.855397 | 0.855397 | 0.841141 | 0.841141 | 0.841141 | 0 | 0.23622 | 0.347379 | 1,946 | 53 | 79 | 36.716981 | 0.537008 | 0 | 0 | 0.487805 | 0 | 0.02439 | 0.190134 | 0.056526 | 0 | 0 | 0 | 0 | 0.390244 | 1 | 0.073171 | false | 0 | 0.04878 | 0 | 0.146341 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
7c4cea4e7559479623c337d018dd5c6cf38e7c74 | 9,347 | py | Python | bot/dynamics.py | carden-code/Binance-Trading-Bot | 25756cfc1ec07b777e32ea8c2d08d2a460cba08a | [
"MIT"
] | 17 | 2021-07-15T19:57:33.000Z | 2022-01-19T13:32:44.000Z | bot/dynamics.py | amin-IT/Binance-volatility-trading-bot | 5648f393abb93ec1b9899205787f1881cbf6e37e | [
"MIT"
] | null | null | null | bot/dynamics.py | amin-IT/Binance-volatility-trading-bot | 5648f393abb93ec1b9899205787f1881cbf6e37e | [
"MIT"
] | 5 | 2021-07-30T07:09:37.000Z | 2021-11-04T14:14:04.000Z | import os
# use if needed to pass args to external modules
import sys
# used for directory handling
import glob
import time
import threading
from helpers.parameters import (
parse_args, load_config
)
# Load creds modules
from helpers.handle_creds import (
load_correct_creds, test_api_key,
load_telegram_cr... | 75.379032 | 587 | 0.724083 | 1,146 | 9,347 | 5.407504 | 0.093368 | 0.230434 | 0.060836 | 0.10844 | 0.837018 | 0.80184 | 0.766823 | 0.755688 | 0.737938 | 0.711151 | 0 | 0.012119 | 0.161335 | 9,347 | 123 | 588 | 75.99187 | 0.778416 | 0.035519 | 0 | 0.10989 | 0 | 0.021978 | 0.385059 | 0.169164 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010989 | false | 0 | 0.087912 | 0 | 0.098901 | 0.043956 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7c698e289463f6cdf147a642d0aa893ed2ea6449 | 41,801 | py | Python | octavia/tests/functional/api/v2/test_quotas.py | lingxiankong/octavia | 4a5c24ef6fcd3b5f198a20d780dedd7f7976296d | [
"Apache-2.0"
] | null | null | null | octavia/tests/functional/api/v2/test_quotas.py | lingxiankong/octavia | 4a5c24ef6fcd3b5f198a20d780dedd7f7976296d | [
"Apache-2.0"
] | null | null | null | octavia/tests/functional/api/v2/test_quotas.py | lingxiankong/octavia | 4a5c24ef6fcd3b5f198a20d780dedd7f7976296d | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 Rackspace
# 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 app... | 47.339751 | 79 | 0.604675 | 4,762 | 41,801 | 5.00273 | 0.050819 | 0.049868 | 0.028208 | 0.021744 | 0.905847 | 0.884901 | 0.875624 | 0.859841 | 0.848802 | 0.844142 | 0 | 0.019113 | 0.285304 | 41,801 | 882 | 80 | 47.393424 | 0.77831 | 0.02122 | 0 | 0.83584 | 0 | 0 | 0.15404 | 0.038834 | 0 | 0 | 0 | 0.001134 | 0.075188 | 1 | 0.045113 | false | 0 | 0.010025 | 0 | 0.06015 | 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 |
7c89389f87ae0c9ff5d1c1d7659494937cb20dbc | 10,939 | py | Python | dbaas/physical/migrations/0017_auto__chg_field_environment_equivalent_environment__chg_field_instance.py | didindinn/database-as-a-service | 747de31ff8546f7874ddd654af860e130afd17a0 | [
"BSD-3-Clause"
] | 303 | 2015-01-08T10:35:54.000Z | 2022-02-28T08:54:06.000Z | dbaas/physical/migrations/0017_auto__chg_field_environment_equivalent_environment__chg_field_instance.py | nouraellm/database-as-a-service | 5e655c9347bea991b7218a01549f5e44f161d7be | [
"BSD-3-Clause"
] | 124 | 2015-01-14T12:56:15.000Z | 2022-03-22T20:45:11.000Z | dbaas/physical/migrations/0017_auto__chg_field_environment_equivalent_environment__chg_field_instance.py | nouraellm/database-as-a-service | 5e655c9347bea991b7218a01549f5e44f161d7be | [
"BSD-3-Clause"
] | 110 | 2015-01-02T11:59:48.000Z | 2022-02-28T08:54:06.000Z | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Changing field 'Environment.equivalent_environment'
db.alter_column(u'... | 76.496503 | 194 | 0.593107 | 1,205 | 10,939 | 5.243983 | 0.100415 | 0.09875 | 0.170597 | 0.243709 | 0.844121 | 0.822124 | 0.815952 | 0.759614 | 0.71198 | 0.678272 | 0 | 0.00689 | 0.177347 | 10,939 | 142 | 195 | 77.035211 | 0.695299 | 0.03227 | 0 | 0.302521 | 0 | 0 | 0.572144 | 0.301626 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016807 | false | 0.008403 | 0.033613 | 0 | 0.07563 | 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 |
7c972a6643a15644f2fc9c32e428bf404091a55c | 12,906 | py | Python | melodic/lib/python2.7/dist-packages/controller_manager_msgs/srv/_SwitchController.py | Dieptranivsr/Ros_Diep | d790e75e6f5da916701b11a2fdf3e03b6a47086b | [
"MIT"
] | null | null | null | melodic/lib/python2.7/dist-packages/controller_manager_msgs/srv/_SwitchController.py | Dieptranivsr/Ros_Diep | d790e75e6f5da916701b11a2fdf3e03b6a47086b | [
"MIT"
] | 1 | 2021-07-08T10:26:06.000Z | 2021-07-08T10:31:11.000Z | melodic/lib/python2.7/dist-packages/controller_manager_msgs/srv/_SwitchController.py | Dieptranivsr/Ros_Diep | d790e75e6f5da916701b11a2fdf3e03b6a47086b | [
"MIT"
] | null | null | null | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from controller_manager_msgs/SwitchControllerRequest.msg. Do not edit."""
import codecs
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
class SwitchControllerRequest(genpy.Message):
_md5sum... | 34.881081 | 145 | 0.653572 | 1,717 | 12,906 | 4.758299 | 0.136284 | 0.035251 | 0.026928 | 0.024969 | 0.762301 | 0.762301 | 0.755936 | 0.755936 | 0.741983 | 0.741983 | 0 | 0.018734 | 0.234852 | 12,906 | 369 | 146 | 34.97561 | 0.808608 | 0.193941 | 0 | 0.768657 | 1 | 0 | 0.183292 | 0.023112 | 0 | 0 | 0.002001 | 0 | 0 | 1 | 0.059701 | false | 0 | 0.029851 | 0 | 0.205224 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7cb2d693eebfe6d57076eb01d8908d6c01307d06 | 989 | py | Python | Fine-tune/datasets.py | neerajwagh/eeg-self-supervision | fb0a1bf357b0e553aab9c4ccfc2973156dc8a9e7 | [
"MIT"
] | 7 | 2021-11-14T19:58:43.000Z | 2022-03-19T08:35:14.000Z | evaluation/datasets.py | neerajwagh/eeg-self-supervision | fb0a1bf357b0e553aab9c4ccfc2973156dc8a9e7 | [
"MIT"
] | null | null | null | evaluation/datasets.py | neerajwagh/eeg-self-supervision | fb0a1bf357b0e553aab9c4ccfc2973156dc8a9e7 | [
"MIT"
] | null | null | null | import numpy as np
import torch
class Dataset(torch.utils.data.Dataset):
def __init__(self, window_idx, X, y):
self.window_idx = window_idx
self.topo_data = X
self.labels = y
def __len__(self):
return len(self.window_idx)
def __getitem__(self, sample_idx):
... | 26.026316 | 75 | 0.673407 | 136 | 989 | 4.485294 | 0.198529 | 0.295082 | 0.170492 | 0.118033 | 0.855738 | 0.855738 | 0.855738 | 0.855738 | 0.734426 | 0.734426 | 0 | 0 | 0.209302 | 989 | 37 | 76 | 26.72973 | 0.780051 | 0 | 0 | 0.666667 | 0 | 0 | 0.054601 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.066667 | 0.066667 | 0.466667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7cc0b1ec3c4b4be7b725297afb96da72642e0929 | 116 | py | Python | src/rxn_network/costs/__init__.py | GENESIS-EFRC/reaction-network | 1482ac1b6b550a5bc9961e9210e33c86c07f64cf | [
"BSD-3-Clause-LBNL"
] | 29 | 2020-08-04T07:07:04.000Z | 2022-02-22T22:09:20.000Z | src/rxn_network/costs/__init__.py | GENESIS-EFRC/reaction-network | 1482ac1b6b550a5bc9961e9210e33c86c07f64cf | [
"BSD-3-Clause-LBNL"
] | 70 | 2021-02-22T07:01:40.000Z | 2022-03-31T20:11:56.000Z | src/rxn_network/costs/__init__.py | GENESIS-EFRC/reaction-network | 1482ac1b6b550a5bc9961e9210e33c86c07f64cf | [
"BSD-3-Clause-LBNL"
] | 3 | 2021-04-20T09:29:39.000Z | 2022-02-02T17:43:52.000Z | from rxn_network.costs.calculators import ChempotDistanceCalculator
from rxn_network.costs.softplus import Softplus
| 38.666667 | 67 | 0.896552 | 14 | 116 | 7.285714 | 0.571429 | 0.137255 | 0.27451 | 0.372549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 116 | 2 | 68 | 58 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
7cff722f72bdcd49a46a4df7b9154b6fa4d6b435 | 753 | py | Python | test/integration/languages/test_fortran.py | thomasrockhu/bfg9000 | 1cd1226eab9bed2fc2ec6acccf7864fdcf2ed31a | [
"BSD-3-Clause"
] | 72 | 2015-06-23T02:35:13.000Z | 2021-12-08T01:47:40.000Z | test/integration/languages/test_fortran.py | thomasrockhu/bfg9000 | 1cd1226eab9bed2fc2ec6acccf7864fdcf2ed31a | [
"BSD-3-Clause"
] | 139 | 2015-03-01T18:48:17.000Z | 2021-06-18T15:45:14.000Z | test/integration/languages/test_fortran.py | thomasrockhu/bfg9000 | 1cd1226eab9bed2fc2ec6acccf7864fdcf2ed31a | [
"BSD-3-Clause"
] | 19 | 2015-12-23T21:24:33.000Z | 2022-01-06T04:04:41.000Z | import os.path
from .. import *
@skip_if('fortran' not in test_features, 'skipping fortran tests')
class TestF77(IntegrationTest):
def __init__(self, *args, **kwargs):
super().__init__(os.path.join('languages', 'f77'), *args, **kwargs)
def test_build(self):
self.build(executable('program'))
... | 31.375 | 75 | 0.661355 | 91 | 753 | 5.230769 | 0.362637 | 0.084034 | 0.054622 | 0.067227 | 0.894958 | 0.894958 | 0.894958 | 0.894958 | 0.894958 | 0.894958 | 0 | 0.019169 | 0.168659 | 753 | 23 | 76 | 32.73913 | 0.741214 | 0 | 0 | 0.5 | 0 | 0 | 0.193891 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.25 | false | 0 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6b04c7c05e124f8d5b8593f1551b3aef44c7dc39 | 11,130 | py | Python | tests/test_dynamodb/exceptions/test_key_length_exceptions.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | tests/test_dynamodb/exceptions/test_key_length_exceptions.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 1 | 2022-03-07T07:39:03.000Z | 2022-03-07T07:39:03.000Z | tests/test_dynamodb/exceptions/test_key_length_exceptions.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
import boto3
import sure # noqa # pylint: disable=unused-import
import pytest
from moto import mock_dynamodb
from botocore.exceptions import ClientError
from moto.dynamodb.limits import HASH_KEY_MAX_LENGTH, RANGE_KEY_MAX_LENGTH
@mock_dynamodb
def test_item_add_long_string_hash... | 37.22408 | 128 | 0.568733 | 1,138 | 11,130 | 5.408612 | 0.150264 | 0.029245 | 0.043867 | 0.038993 | 0.863363 | 0.863363 | 0.863363 | 0.863038 | 0.850041 | 0.838993 | 0 | 0.022583 | 0.275921 | 11,130 | 298 | 129 | 37.348993 | 0.741159 | 0.037646 | 0 | 0.70155 | 0 | 0.011628 | 0.317349 | 0.005889 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.027132 | 0 | 0.050388 | 0.003876 | 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 |
6b05177e8aa303cd994a9686466942c207d6c264 | 33,665 | py | Python | oneflow/python/test/modules/test_adaptive_pool.py | xcnick/oneflow | 7b786b27069dec35d2493256011e773988c91f56 | [
"Apache-2.0"
] | null | null | null | oneflow/python/test/modules/test_adaptive_pool.py | xcnick/oneflow | 7b786b27069dec35d2493256011e773988c91f56 | [
"Apache-2.0"
] | null | null | null | oneflow/python/test/modules/test_adaptive_pool.py | xcnick/oneflow | 7b786b27069dec35d2493256011e773988c91f56 | [
"Apache-2.0"
] | null | null | null | """
Copyright 2020 The OneFlow 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 applicable law or agr... | 36.953897 | 88 | 0.332541 | 1,933 | 33,665 | 5.670978 | 0.133471 | 0.03503 | 0.043332 | 0.057654 | 0.881682 | 0.859788 | 0.85322 | 0.849754 | 0.849754 | 0.84802 | 0 | 0.517 | 0.59201 | 33,665 | 910 | 89 | 36.994505 | 0.281107 | 0.017763 | 0 | 0.671694 | 0 | 0 | 0.003176 | 0 | 0 | 0 | 0 | 0.001099 | 0.015081 | 1 | 0.015081 | false | 0 | 0.0058 | 0 | 0.022042 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 9 |
6b1f5a1501e6b73fa452fad3f10b97e8bd819a92 | 109 | py | Python | hermes-message/models/__init__.py | popsolutions/hermes-message | cbe51b443656908255e142e2dd2a524d63222279 | [
"MIT"
] | null | null | null | hermes-message/models/__init__.py | popsolutions/hermes-message | cbe51b443656908255e142e2dd2a524d63222279 | [
"MIT"
] | 5 | 2021-08-05T14:05:43.000Z | 2021-11-05T22:07:56.000Z | hermes-message/models/__init__.py | popsolutions/hermes-message | cbe51b443656908255e142e2dd2a524d63222279 | [
"MIT"
] | 1 | 2022-02-15T04:11:14.000Z | 2022-02-15T04:11:14.000Z | from . import mail_message
from . import hermes_monitor
from . import hermes_apps
from . import hermes_token
| 21.8 | 28 | 0.816514 | 16 | 109 | 5.3125 | 0.5 | 0.470588 | 0.564706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 4 | 29 | 27.25 | 0.913978 | 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 |
8621c0ab64ba809a77aded2f306fc6c98e76c765 | 20,159 | py | Python | lingvo/tasks/asr/frontend_test.py | allenwang28/lingvo | 26d3d6672d3f46d8f281c2aa9f57166ef6296738 | [
"Apache-2.0"
] | 2,611 | 2018-10-16T20:14:10.000Z | 2022-03-31T14:48:41.000Z | lingvo/tasks/asr/frontend_test.py | allenwang28/lingvo | 26d3d6672d3f46d8f281c2aa9f57166ef6296738 | [
"Apache-2.0"
] | 249 | 2018-10-27T06:02:29.000Z | 2022-03-30T18:00:39.000Z | lingvo/tasks/asr/frontend_test.py | allenwang28/lingvo | 26d3d6672d3f46d8f281c2aa9f57166ef6296738 | [
"Apache-2.0"
] | 436 | 2018-10-25T05:31:45.000Z | 2022-03-31T07:26:03.000Z | # Lint as: python3
# 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 ... | 40.47992 | 80 | 0.65782 | 2,810 | 20,159 | 4.54911 | 0.11032 | 0.042713 | 0.026441 | 0.021904 | 0.821169 | 0.813346 | 0.806462 | 0.794571 | 0.782524 | 0.781585 | 0 | 0.063194 | 0.214247 | 20,159 | 497 | 81 | 40.561368 | 0.743813 | 0.14336 | 0 | 0.811705 | 0 | 0 | 0.023229 | 0.001688 | 0 | 0 | 0 | 0.002012 | 0.183206 | 1 | 0.038168 | false | 0 | 0.015267 | 0 | 0.061069 | 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 |
86334799143a45c483afe6694da47d2113a27ee4 | 105 | py | Python | examples/core/models/__init__.py | zyh1999/pytorch-quantum | c00bd564a99001fee2fd6b30e5e34562ab981e28 | [
"MIT"
] | 98 | 2021-07-23T07:11:32.000Z | 2021-12-19T14:04:58.000Z | examples/core/models/__init__.py | zyh1999/pytorch-quantum | c00bd564a99001fee2fd6b30e5e34562ab981e28 | [
"MIT"
] | 2 | 2021-02-11T19:01:48.000Z | 2021-04-04T20:29:57.000Z | examples/core/models/__init__.py | zyh1999/pytorch-quantum | c00bd564a99001fee2fd6b30e5e34562ab981e28 | [
"MIT"
] | 12 | 2021-07-23T07:10:47.000Z | 2021-12-16T23:44:44.000Z | from .t_models import *
from .c_models import *
from .q_models import *
from .layer_regression import *
| 17.5 | 31 | 0.761905 | 16 | 105 | 4.75 | 0.5 | 0.473684 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161905 | 105 | 5 | 32 | 21 | 0.863636 | 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 |
865e40a82364d0eae787a897035f5905b9996aef | 39,072 | py | Python | strava/swagger_client/api/activities_api.py | neozenith/strava-gsheet-python | cce24721d6dcae69638c99261308f3d76512a087 | [
"MIT"
] | null | null | null | strava/swagger_client/api/activities_api.py | neozenith/strava-gsheet-python | cce24721d6dcae69638c99261308f3d76512a087 | [
"MIT"
] | null | null | null | strava/swagger_client/api/activities_api.py | neozenith/strava-gsheet-python | cce24721d6dcae69638c99261308f3d76512a087 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Strava API v3
The [Swagger Playground](https://developers.strava.com/playground) is the easiest way to familiarize yourself with the Strava API by submitting HTTP requests and observing the responses before you write any client code. It will show what a response will look like with differe... | 43.901124 | 726 | 0.625358 | 4,704 | 39,072 | 4.973002 | 0.057185 | 0.047194 | 0.019151 | 0.024623 | 0.920104 | 0.895311 | 0.886932 | 0.881247 | 0.860044 | 0.858077 | 0 | 0.015913 | 0.285882 | 39,072 | 889 | 727 | 43.950506 | 0.822486 | 0.382038 | 0 | 0.728601 | 0 | 0 | 0.195946 | 0.041577 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035491 | false | 0 | 0.008351 | 0 | 0.096033 | 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 |
86a6e8cb25a4f235668ab4cdbca6daf1cafd3d79 | 3,844 | py | Python | 0ctocrypt.py | Matrix-jailer/0ctocrypt | 4d2d280449f70ccb4ef2cb3749072b3ab06b658f | [
"MIT"
] | 2 | 2020-07-20T18:13:58.000Z | 2020-07-22T05:48:22.000Z | 0ctocrypt.py | Matrix-jailer/0ctocrypt | 4d2d280449f70ccb4ef2cb3749072b3ab06b658f | [
"MIT"
] | null | null | null | 0ctocrypt.py | Matrix-jailer/0ctocrypt | 4d2d280449f70ccb4ef2cb3749072b3ab06b658f | [
"MIT"
] | null | null | null | #Compiled By [ Matrix Society ]
#Github : https://github.com/Matrix-jailer
#Email : Matrixjailer@gmail.com
import marshal,zlib,base64
exec(marshal.loads(zlib.decompress(base64.b64decode("eJztWc1zE8kV79GnNbb8CbaBBQY7QXLZluUPPkyAZWGXj0qEVFoWsLwue6RubAlJIzQjwERWUUUOOWylSMWwWRYqlb3kltpDKlXZS6o2f0a4xNe95LD3pN/raWlky4Bhl70wk... | 768.8 | 3,710 | 0.960198 | 129 | 3,844 | 28.612403 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151175 | 0.003642 | 3,844 | 5 | 3,710 | 768.8 | 0.812533 | 0.026275 | 0 | 0 | 0 | 0.5 | 0.97621 | 0.97621 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
86ab5a93676c8914c9bbe42e3bdb8eb553bc62cd | 30,928 | py | Python | packages/syft/src/syft/core/node/common/node_service/group_manager/group_manager_messages.py | maltetoelle/PySyft | 0521f407cfdd046d00c332b733894a865848bd19 | [
"Apache-1.1"
] | null | null | null | packages/syft/src/syft/core/node/common/node_service/group_manager/group_manager_messages.py | maltetoelle/PySyft | 0521f407cfdd046d00c332b733894a865848bd19 | [
"Apache-1.1"
] | 3 | 2021-11-17T15:34:03.000Z | 2021-12-08T14:39:10.000Z | packages/syft/src/syft/core/node/common/node_service/group_manager/group_manager_messages.py | maltetoelle/PySyft | 0521f407cfdd046d00c332b733894a865848bd19 | [
"Apache-1.1"
] | null | null | null | # stdlib
import json
from typing import Dict
from typing import List
from typing import Optional
# third party
from google.protobuf.reflection import GeneratedProtocolMessageType
from typing_extensions import final
# relative
from ...... import serialize
from ......proto.grid.messages.group_messages_pb2 import (
... | 40.481675 | 92 | 0.672691 | 3,584 | 30,928 | 5.705357 | 0.041295 | 0.034233 | 0.017606 | 0.015649 | 0.872408 | 0.872408 | 0.872408 | 0.872408 | 0.870305 | 0.850499 | 0 | 0.001327 | 0.269303 | 30,928 | 763 | 93 | 40.534731 | 0.903491 | 0.500129 | 0 | 0.663043 | 1 | 0 | 0.013506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108696 | false | 0 | 0.0625 | 0 | 0.279891 | 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 |
86beca144c140da8f6f25005bcd608c13261fa37 | 28,310 | py | Python | tests/test_opt_probs.py | sareini/mlrose | b5ebaac322cb063ad4611367c43e1827bda0eb95 | [
"BSD-3-Clause"
] | 63 | 2019-09-24T14:09:51.000Z | 2022-03-09T02:36:25.000Z | tests/test_opt_probs.py | sareini/mlrose | b5ebaac322cb063ad4611367c43e1827bda0eb95 | [
"BSD-3-Clause"
] | 6 | 2019-10-04T01:04:21.000Z | 2021-08-31T19:06:13.000Z | tests/test_opt_probs.py | sareini/mlrose | b5ebaac322cb063ad4611367c43e1827bda0eb95 | [
"BSD-3-Clause"
] | 104 | 2019-09-23T22:44:43.000Z | 2022-03-13T18:50:53.000Z | """ Unit tests for opt_probs.py"""
# Author: Genevieve Hayes
# License: BSD 3 clause
try:
import mlrose_hiive
except:
import sys
sys.path.append("..")
import unittest
import numpy as np
from mlrose_hiive import OneMax, DiscreteOpt, ContinuousOpt, TSPOpt, OnePointCrossOver
# The following functions/class... | 31.560758 | 86 | 0.473508 | 3,824 | 28,310 | 3.393044 | 0.055178 | 0.046089 | 0.047861 | 0.041619 | 0.847707 | 0.811407 | 0.780655 | 0.765934 | 0.740347 | 0.729094 | 0 | 0.10344 | 0.375768 | 28,310 | 896 | 87 | 31.595982 | 0.630772 | 0.094207 | 0 | 0.746924 | 0 | 0 | 0.000395 | 0 | 0 | 0 | 0 | 0 | 0.084359 | 1 | 0.084359 | false | 0 | 0.01406 | 0 | 0.105448 | 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 |
86dd5ed0a9570edf7fd001d0e6cbd14f20a6a062 | 227 | py | Python | art/estimators/generation/__init__.py | synergit/adversarial-robustness-toolbox | 192c4beda1f66776f6ede94a11808eb7b4651f01 | [
"MIT"
] | null | null | null | art/estimators/generation/__init__.py | synergit/adversarial-robustness-toolbox | 192c4beda1f66776f6ede94a11808eb7b4651f01 | [
"MIT"
] | null | null | null | art/estimators/generation/__init__.py | synergit/adversarial-robustness-toolbox | 192c4beda1f66776f6ede94a11808eb7b4651f01 | [
"MIT"
] | null | null | null | """
Generator API.
"""
from art.estimators.generation.generator import GeneratorMixin
from art.estimators.generation.tensorflow import TensorFlowGenerator
from art.estimators.generation.tensorflow import TensorFlowV2Generator
| 28.375 | 70 | 0.854626 | 23 | 227 | 8.434783 | 0.478261 | 0.108247 | 0.262887 | 0.417526 | 0.443299 | 0.443299 | 0 | 0 | 0 | 0 | 0 | 0.004762 | 0.07489 | 227 | 7 | 71 | 32.428571 | 0.919048 | 0.061674 | 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 |
86e8b5366f41139f551c4f1b0b9c7146d9c0b1a0 | 114,055 | py | Python | .OLD_FILES/dossiers2_old2/custom/updaters.py | KIHestad/WoT-Dossier-Parser-Create-Struct | 9eadeeead59b7b6cf78dc6a1e1e89fe2dffb260e | [
"MIT"
] | null | null | null | .OLD_FILES/dossiers2_old2/custom/updaters.py | KIHestad/WoT-Dossier-Parser-Create-Struct | 9eadeeead59b7b6cf78dc6a1e1e89fe2dffb260e | [
"MIT"
] | null | null | null | .OLD_FILES/dossiers2_old2/custom/updaters.py | KIHestad/WoT-Dossier-Parser-Create-Struct | 9eadeeead59b7b6cf78dc6a1e1e89fe2dffb260e | [
"MIT"
] | 2 | 2021-11-10T19:12:57.000Z | 2022-03-13T10:04:48.000Z | # uncompyle6 version 3.1.0
# Python bytecode 2.7 (62211)
# Decompiled from: Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
# Embedded file name: scripts/common/dossiers2/custom/updaters.py
import sys, struct
from functools import partial
from dossiers2.common.updater_utils import getNewStati... | 34.889875 | 168 | 0.644557 | 7,618 | 114,055 | 9.578498 | 0.08388 | 0.058244 | 0.040072 | 0.057751 | 0.828722 | 0.817731 | 0.812181 | 0.80563 | 0.757075 | 0.74792 | 0 | 0.043405 | 0.204936 | 114,055 | 3,269 | 169 | 34.889875 | 0.761273 | 0.001824 | 0 | 0.815143 | 0 | 0 | 0.401913 | 0.03207 | 0.000656 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.003605 | 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 |
81128a64f85910cdc5335d7c0eebc31714ff2804 | 11,457 | py | Python | examples/regression_original/example_lgbm_regression.py | c60evaporator/tune-easy | a4053f5a09f3483414cb36b9fc3d7dc6753887f4 | [
"BSD-3-Clause"
] | null | null | null | examples/regression_original/example_lgbm_regression.py | c60evaporator/tune-easy | a4053f5a09f3483414cb36b9fc3d7dc6753887f4 | [
"BSD-3-Clause"
] | null | null | null | examples/regression_original/example_lgbm_regression.py | c60evaporator/tune-easy | a4053f5a09f3483414cb36b9fc3d7dc6753887f4 | [
"BSD-3-Clause"
] | 1 | 2022-01-06T05:13:07.000Z | 2022-01-06T05:13:07.000Z | # %% LGBMRegressor, GridSearch, no argument
import parent_import
from tune_easy import LGBMRegressorTuning
import pandas as pd
# Load dataset
df_reg = pd.read_csv(f'../sample_data/osaka_metropolis_english.csv')
TARGET_VARIABLE = 'approval_rate' # Target variable
USE_EXPLANATORY = ['2_between_30to60', '3_male_ratio', '... | 48.753191 | 130 | 0.646242 | 1,506 | 11,457 | 4.63745 | 0.13745 | 0.05441 | 0.027491 | 0.0189 | 0.946449 | 0.930842 | 0.922251 | 0.922251 | 0.913087 | 0.913087 | 0 | 0.060079 | 0.22711 | 11,457 | 234 | 131 | 48.961538 | 0.728628 | 0.086759 | 0 | 0.761905 | 0 | 0 | 0.172506 | 0.035135 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.17619 | 0 | 0.17619 | 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 |
8127bef3c64ef573c5b7def9e716c2c99bb6edaa | 215 | py | Python | library/admin.py | sp35/LibraryMS-Backend | fb763bac2ea9f2198670de1fe8b364c78f6779e2 | [
"MIT"
] | null | null | null | library/admin.py | sp35/LibraryMS-Backend | fb763bac2ea9f2198670de1fe8b364c78f6779e2 | [
"MIT"
] | null | null | null | library/admin.py | sp35/LibraryMS-Backend | fb763bac2ea9f2198670de1fe8b364c78f6779e2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Book, BorrowedBook, Librarian, Student
admin.site.register(Book)
admin.site.register(Student)
admin.site.register(Librarian)
admin.site.register(BorrowedBook)
| 21.5 | 58 | 0.818605 | 28 | 215 | 6.285714 | 0.428571 | 0.204545 | 0.386364 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083721 | 215 | 9 | 59 | 23.888889 | 0.893401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
be2156769a82adbff9a270c51f1693e7b50afffc | 13,344 | py | Python | obfusc8/bp.py | tum-i22/indistinguishability-obfuscation | 67e5b7f8eedbb65434c252611b303b210c672b5b | [
"Apache-2.0"
] | 19 | 2015-05-22T17:41:50.000Z | 2020-09-09T11:08:53.000Z | obfusc8/bp.py | tum-i22/indistinguishability-obfuscation | 67e5b7f8eedbb65434c252611b303b210c672b5b | [
"Apache-2.0"
] | 1 | 2021-03-19T16:07:00.000Z | 2021-03-19T16:47:26.000Z | obfusc8/bp.py | nathanawmk/indistinguishability-obfuscation | 67e5b7f8eedbb65434c252611b303b210c672b5b | [
"Apache-2.0"
] | 4 | 2020-10-13T05:10:09.000Z | 2021-04-06T07:49:06.000Z | """Matrix Branching Programs with 5x5 permutation matrices
This module implements a variant of Matrix Branching Programs that is
close to the ones described by Barrington in [0]. Additionally it
implements the transformation of logical circuits consisting solely of
AND- and NOT-gates to these MBPs using Barrington's ... | 52.535433 | 4,149 | 0.596897 | 3,051 | 13,344 | 2.596853 | 0.114389 | 0.228954 | 0.235895 | 0.201439 | 0.297236 | 0.264294 | 0.24107 | 0.236274 | 0.236274 | 0.236274 | 0 | 0.210214 | 0.116607 | 13,344 | 254 | 4,150 | 52.535433 | 0.46191 | 0.021733 | 0 | 0.058065 | 0 | 0 | 0.034358 | 0 | 0 | 0 | 0 | 0 | 0.03871 | 0 | null | null | 0 | 0.051613 | null | null | 0.03871 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
be24c042e731a8aaf691cc0aa21d6943f26ea6f7 | 19,759 | py | Python | autogalaxy/profiles/light_and_mass_profiles.py | jonathanfrawley/PyAutoGalaxy | 55fb44f22ce5490318378dc31596c887d0d2e29b | [
"MIT"
] | null | null | null | autogalaxy/profiles/light_and_mass_profiles.py | jonathanfrawley/PyAutoGalaxy | 55fb44f22ce5490318378dc31596c887d0d2e29b | [
"MIT"
] | null | null | null | autogalaxy/profiles/light_and_mass_profiles.py | jonathanfrawley/PyAutoGalaxy | 55fb44f22ce5490318378dc31596c887d0d2e29b | [
"MIT"
] | null | null | null | from autogalaxy.profiles import light_profiles as lp
from autogalaxy.profiles import mass_profiles as mp
from typing import Tuple
"""
Mass and light profiles describe both mass distributions and light distributions with a single set of parameters. This
means that the light and mass of these profiles are tied t... | 34.303819 | 119 | 0.586113 | 2,195 | 19,759 | 5.021412 | 0.05467 | 0.016512 | 0.086826 | 0.09726 | 0.914625 | 0.914625 | 0.914625 | 0.912357 | 0.909454 | 0.905643 | 0 | 0.021613 | 0.346677 | 19,759 | 575 | 120 | 34.363478 | 0.83221 | 0.298801 | 0 | 0.829851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044776 | false | 0.002985 | 0.008955 | 0 | 0.101493 | 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 |
be293cfea674cc1055adae0c7ba54e4a29aa0c66 | 121 | py | Python | bin/version.py | pyDarkVOS/InarkOS | 21b57a7f0e5a06d276e18e25ac8c30232eb0d8de | [
"Apache-2.0"
] | 3 | 2022-02-20T17:22:18.000Z | 2022-03-20T02:56:07.000Z | bin/version.py | InarkVOS/InarkOS | 21b57a7f0e5a06d276e18e25ac8c30232eb0d8de | [
"Apache-2.0"
] | null | null | null | bin/version.py | InarkVOS/InarkOS | 21b57a7f0e5a06d276e18e25ac8c30232eb0d8de | [
"Apache-2.0"
] | 2 | 2022-03-11T13:36:37.000Z | 2022-03-18T23:47:20.000Z | from rich import print
def version():
print("[green]Release[/green] [bold]18.3[/bold] [green]production[/green]") | 30.25 | 79 | 0.677686 | 17 | 121 | 4.823529 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.132231 | 121 | 4 | 79 | 30.25 | 0.752381 | 0 | 0 | 0 | 0 | 0.333333 | 0.554622 | 0.394958 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
076d29a3248b6f10f5547032ff4853ff3ada0fe7 | 1,034 | py | Python | src/metrics/regression.py | dankiy/mm-ml-2021 | cd49a1be79d4cbdbb3a7b207162d15fc850f34fb | [
"MIT"
] | null | null | null | src/metrics/regression.py | dankiy/mm-ml-2021 | cd49a1be79d4cbdbb3a7b207162d15fc850f34fb | [
"MIT"
] | null | null | null | src/metrics/regression.py | dankiy/mm-ml-2021 | cd49a1be79d4cbdbb3a7b207162d15fc850f34fb | [
"MIT"
] | null | null | null | import numpy as np
def mse(y_true: np.ndarray, y_pred: np.ndarray) -> float:
"""
Mean squared error
Args:
y_true (np.ndarray): ground-truth values
y_pred (np.ndarray): y_predicted values
Returns:
float: metric value
"""
result = np.mean((y_true - y_pred) ** 2)
re... | 20.68 | 96 | 0.597679 | 147 | 1,034 | 4.047619 | 0.238095 | 0.181513 | 0.082353 | 0.141176 | 0.823529 | 0.805042 | 0.805042 | 0.805042 | 0.805042 | 0.638655 | 0 | 0.008043 | 0.27853 | 1,034 | 49 | 97 | 21.102041 | 0.789544 | 0.448743 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0 | 0.7 | 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 | 1 | 0 | 0 | 8 |
07f8af750b680592e3bff52ada1698cfd25eb642 | 4,066 | py | Python | cart_venv/Lib/site-packages/tensorflow_core/_api/v1/saved_model/__init__.py | juice1000/Synchronous-vs-Asynchronous-Learning-Tensorflow- | 654be60f7986ac9bb7ce1d080ddee377c3389f93 | [
"MIT"
] | 2 | 2019-08-04T20:28:14.000Z | 2019-10-27T23:26:42.000Z | cart_venv/Lib/site-packages/tensorflow_core/_api/v1/saved_model/__init__.py | juice1000/Synchronous-vs-Asynchronous-Learning-Tensorflow- | 654be60f7986ac9bb7ce1d080ddee377c3389f93 | [
"MIT"
] | null | null | null | cart_venv/Lib/site-packages/tensorflow_core/_api/v1/saved_model/__init__.py | juice1000/Synchronous-vs-Asynchronous-Learning-Tensorflow- | 654be60f7986ac9bb7ce1d080ddee377c3389f93 | [
"MIT"
] | 1 | 2020-11-04T03:16:29.000Z | 2020-11-04T03:16:29.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.saved_model namespace.
"""
from __future__ import print_function as _print_function
import sys as _sys
from tensorflow._api.v1.saved_model import builder
from tensorf... | 60.686567 | 105 | 0.886621 | 580 | 4,066 | 5.862069 | 0.17069 | 0.164706 | 0.235294 | 0.286765 | 0.786471 | 0.751176 | 0.747941 | 0.68 | 0.432059 | 0.253235 | 0 | 0.002633 | 0.065912 | 4,066 | 66 | 106 | 61.606061 | 0.892575 | 0.041072 | 0 | 0 | 1 | 0 | 0.002827 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.910714 | 0 | 0.910714 | 0.035714 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
ed101c6fe9e198a1d6a5ad85af2d100fe5368f48 | 34 | py | Python | {{ cookiecutter.repo_name }}/src/{{ cookiecutter.repo_name }}/models/types/__init__.py | NickBeeuwsaert/pyramid.cookiecutter | bde9654bd5cb8a5a2458147651136686cf2b0f00 | [
"MIT"
] | null | null | null | {{ cookiecutter.repo_name }}/src/{{ cookiecutter.repo_name }}/models/types/__init__.py | NickBeeuwsaert/pyramid.cookiecutter | bde9654bd5cb8a5a2458147651136686cf2b0f00 | [
"MIT"
] | 1 | 2020-01-06T19:45:55.000Z | 2020-01-06T19:45:55.000Z | {{ cookiecutter.repo_name }}/src/{{ cookiecutter.repo_name }}/models/types/__init__.py | NickBeeuwsaert/pyramid.cookiecutter | bde9654bd5cb8a5a2458147651136686cf2b0f00 | [
"MIT"
] | null | null | null | from .password import PasswordType | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
ed24188abcd1fa1cc76a42b5d147be5e6a82782c | 5,588 | py | Python | gateway-python/app/web/rest/gateway_api.py | suomitek/cubeai | cc4c0f5f445a552d239910da63944307c1f06e37 | [
"Apache-2.0"
] | null | null | null | gateway-python/app/web/rest/gateway_api.py | suomitek/cubeai | cc4c0f5f445a552d239910da63944307c1f06e37 | [
"Apache-2.0"
] | null | null | null | gateway-python/app/web/rest/gateway_api.py | suomitek/cubeai | cc4c0f5f445a552d239910da63944307c1f06e37 | [
"Apache-2.0"
] | null | null | null | import json
import tornado.web
from tornado.httpclient import AsyncHTTPClient
from app.service.gateway_service import gen_next_request, check_allow_forward
class GatewayApi(tornado.web.RequestHandler):
async def get(self, *args, **kwargs):
if not check_allow_forward(self.request):
self.send_e... | 35.592357 | 108 | 0.607373 | 684 | 5,588 | 4.774854 | 0.131579 | 0.064299 | 0.051439 | 0.063993 | 0.909675 | 0.904776 | 0.890692 | 0.890692 | 0.852725 | 0.82823 | 0 | 0.009271 | 0.285791 | 5,588 | 156 | 109 | 35.820513 | 0.80907 | 0.002326 | 0 | 0.850394 | 0 | 0 | 0.12168 | 0.055815 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.031496 | 0 | 0.11811 | 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 |
ed5667cfd8b5adbd30a4d7d9eb786378cbc21dfb | 4,939 | py | Python | tests/database/fixtures.py | JulienDavat/sage-engine | 87fb7075a07395a527da660d5efc056b0f49758c | [
"MIT"
] | 25 | 2018-09-07T14:43:51.000Z | 2021-10-31T22:41:48.000Z | tests/database/fixtures.py | JulienDavat/sage-engine | 87fb7075a07395a527da660d5efc056b0f49758c | [
"MIT"
] | 4 | 2018-10-28T15:32:08.000Z | 2022-01-26T12:47:36.000Z | tests/database/fixtures.py | JulienDavat/sage-engine | 87fb7075a07395a527da660d5efc056b0f49758c | [
"MIT"
] | 16 | 2018-12-04T17:50:12.000Z | 2022-03-26T22:55:47.000Z | # fixtures.py
# Author: Thomas MINIER - MIT License 2017-2019
def index_scan_fixtures():
"""Get fixtures data for testing Index scans"""
return [
# spo
(
'http://db.uwaterloo.ca/~galuc/wsdbm/City102',
'http://www.geonames.org/ontology#parentCountry',
'http:/... | 62.518987 | 241 | 0.594452 | 553 | 4,939 | 5.305606 | 0.146474 | 0.112474 | 0.281186 | 0.318678 | 0.8606 | 0.8606 | 0.851397 | 0.824131 | 0.818678 | 0.818678 | 0 | 0.049566 | 0.207532 | 4,939 | 78 | 242 | 63.320513 | 0.700051 | 0.025106 | 0 | 0.358209 | 0 | 0.014925 | 0.700541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014925 | true | 0 | 0 | 0 | 0.029851 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 10 |
ed64d5e02cca28e53ee8bf7a955f0a14335fced4 | 1,630 | py | Python | tests/unit/builders/test_dockerfile.py | QxiaoQ/fairing | 3fb8dbc5970008a60eb4832550053aa1f2f215dd | [
"Apache-2.0"
] | 1 | 2019-10-18T02:25:32.000Z | 2019-10-18T02:25:32.000Z | tests/unit/builders/test_dockerfile.py | QxiaoQ/fairing | 3fb8dbc5970008a60eb4832550053aa1f2f215dd | [
"Apache-2.0"
] | null | null | null | tests/unit/builders/test_dockerfile.py | QxiaoQ/fairing | 3fb8dbc5970008a60eb4832550053aa1f2f215dd | [
"Apache-2.0"
] | 2 | 2020-05-11T07:48:28.000Z | 2021-05-28T10:32:21.000Z | import tempfile
from kubeflow.fairing.builders import dockerfile
def test_writedockerfile_with_docker_cmd():
_, tmp_file = tempfile.mkstemp()
dockerfile.write_dockerfile(
destination=tmp_file,
docker_command=["python", "main.py"],
path_prefix="/pre",
base_image="foo_bar")
... | 29.107143 | 82 | 0.68773 | 217 | 1,630 | 4.940092 | 0.262673 | 0.058769 | 0.044776 | 0.061567 | 0.847015 | 0.847015 | 0.787313 | 0.787313 | 0.787313 | 0.787313 | 0 | 0.002287 | 0.195092 | 1,630 | 55 | 83 | 29.636364 | 0.814787 | 0 | 0 | 0.791667 | 0 | 0.0625 | 0.347853 | 0.012883 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.0625 | false | 0 | 0.041667 | 0 | 0.104167 | 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 |
9c088dd102045f3614aff31c7fe00e3a37c655a2 | 121 | py | Python | modules/tests/staff/__init__.py | smeissner/eden | 9c4c78f0808e53c52d3caa4fa68162cddc174547 | [
"MIT"
] | 1 | 2021-01-21T18:24:25.000Z | 2021-01-21T18:24:25.000Z | modules/tests/staff/__init__.py | smeissner/eden | 9c4c78f0808e53c52d3caa4fa68162cddc174547 | [
"MIT"
] | null | null | null | modules/tests/staff/__init__.py | smeissner/eden | 9c4c78f0808e53c52d3caa4fa68162cddc174547 | [
"MIT"
] | null | null | null | from staff import *
from search_staff import *
from create_staff_job_role import *
from create_staff_certificate import * | 30.25 | 38 | 0.842975 | 18 | 121 | 5.333333 | 0.444444 | 0.3125 | 0.3125 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 121 | 4 | 38 | 30.25 | 0.90566 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
9c0abe24f47d43b6a7bb6ec76ed5b805df274e1e | 34,701 | py | Python | Backend/python_server/venv/Lib/site-packages/gcloud/bigtable/test_row_filters.py | SulbhaAgg/EduSpace-1 | f948d890aac7869016e75662c0c798f2a42d2ecc | [
"MIT"
] | 4 | 2020-04-25T16:53:58.000Z | 2020-04-30T20:43:06.000Z | Backend/python_server/venv/Lib/site-packages/gcloud/bigtable/test_row_filters.py | SulbhaAgg/EduSpace-1 | f948d890aac7869016e75662c0c798f2a42d2ecc | [
"MIT"
] | 3 | 2020-06-03T08:09:39.000Z | 2021-04-30T21:17:43.000Z | Backend/python_server/venv/Lib/site-packages/gcloud/bigtable/test_row_filters.py | SulbhaAgg/EduSpace-1 | f948d890aac7869016e75662c0c798f2a42d2ecc | [
"MIT"
] | 2 | 2021-08-21T04:45:15.000Z | 2022-01-23T06:50:56.000Z | # Copyright 2016 Google Inc. 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 applicable law or a... | 34.631737 | 76 | 0.668569 | 3,949 | 34,701 | 5.497594 | 0.061028 | 0.047628 | 0.040626 | 0.040626 | 0.833118 | 0.804975 | 0.781115 | 0.75836 | 0.733164 | 0.709581 | 0 | 0.013221 | 0.250166 | 34,701 | 1,001 | 77 | 34.666334 | 0.821138 | 0.020201 | 0 | 0.710145 | 0 | 0 | 0.007886 | 0.000647 | 0 | 0 | 0 | 0 | 0.123847 | 1 | 0.177866 | false | 0.00527 | 0.068511 | 0.031621 | 0.350461 | 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 |
9c29080c554a8c74b920e4e5258149cec28753af | 40,770 | py | Python | tests/gcp/hooks/test_mlengine.py | robobario/airflow | 702005fe35dc5b996a5c5b8d349ed36036472f00 | [
"Apache-2.0"
] | 1 | 2021-09-16T17:20:00.000Z | 2021-09-16T17:20:00.000Z | tests/gcp/hooks/test_mlengine.py | robobario/airflow | 702005fe35dc5b996a5c5b8d349ed36036472f00 | [
"Apache-2.0"
] | 20 | 2017-04-18T19:47:46.000Z | 2020-01-13T04:19:24.000Z | tests/gcp/hooks/test_mlengine.py | robobario/airflow | 702005fe35dc5b996a5c5b8d349ed36036472f00 | [
"Apache-2.0"
] | 2 | 2018-09-15T07:13:01.000Z | 2021-03-26T07:27:38.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 36.630728 | 108 | 0.615036 | 4,524 | 40,770 | 5.225464 | 0.049735 | 0.094924 | 0.042343 | 0.049027 | 0.933249 | 0.925846 | 0.922166 | 0.910152 | 0.892555 | 0.888156 | 0 | 0.004514 | 0.271891 | 40,770 | 1,112 | 109 | 36.663669 | 0.791848 | 0.018445 | 0 | 0.780186 | 0 | 0 | 0.137647 | 0.089298 | 0 | 0 | 0 | 0 | 0.054696 | 1 | 0.039216 | false | 0 | 0.008256 | 0.002064 | 0.052632 | 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 |
9c49f0c5a15633edcfe699fb2096659bd7082f38 | 692 | py | Python | cookies_pool.py | yamadadada/yamada-spider | ce6cffb2994a0ab65f1e0cba38b223825e9a1f76 | [
"MIT"
] | null | null | null | cookies_pool.py | yamadadada/yamada-spider | ce6cffb2994a0ab65f1e0cba38b223825e9a1f76 | [
"MIT"
] | null | null | null | cookies_pool.py | yamadadada/yamada-spider | ce6cffb2994a0ab65f1e0cba38b223825e9a1f76 | [
"MIT"
] | null | null | null | cookies_pool = [
"JSESSIONID=36B4E30CDFE059235541CC81C91743A3; bili_jct=520c3f01daf4d9732fdeb9d95586612c; SESSDATA=4b484445%2C1616518159%2Ca3c73*91; DedeUserID=416679427; sid=7r9xx2ji; buvid3=CDCFA651-49CB-4A84-B114-D107F6AD0B2E138364infoc; DedeUserID__ckMd5=a64ed305aa816673; _uuid=A60FD75F-122D-851F-7994-2DD115831... | 138.4 | 336 | 0.864162 | 64 | 692 | 9.203125 | 0.703125 | 0.023769 | 0.061121 | 0.074703 | 0.217317 | 0.217317 | 0.217317 | 0.217317 | 0 | 0 | 0 | 0.444109 | 0.043353 | 692 | 4 | 337 | 173 | 0.445619 | 0 | 0 | 0 | 0 | 0.5 | 0.950867 | 0.843931 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9c60d2a864031e5b1cd3ff7afa47f867bcd19a1b | 102,162 | py | Python | isi_sdk_8_2_2/isi_sdk_8_2_2/api/upgrade_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 24 | 2018-06-22T14:13:23.000Z | 2022-03-23T01:21:26.000Z | isi_sdk_8_2_2/isi_sdk_8_2_2/api/upgrade_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 46 | 2018-04-30T13:28:22.000Z | 2022-03-21T21:11:07.000Z | isi_sdk_8_2_2/isi_sdk_8_2_2/api/upgrade_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 29 | 2018-06-19T00:14:04.000Z | 2022-02-08T17:51:19.000Z | # coding: utf-8
"""
Isilon SDK
Isilon SDK - Language bindings for the OneFS API # noqa: E501
OpenAPI spec version: 9
Contact: sdk@isilon.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and pyth... | 42.656367 | 183 | 0.633602 | 11,845 | 102,162 | 5.164458 | 0.024483 | 0.049695 | 0.021055 | 0.027071 | 0.977294 | 0.964707 | 0.950043 | 0.930574 | 0.917905 | 0.907508 | 0 | 0.016812 | 0.280956 | 102,162 | 2,394 | 184 | 42.674185 | 0.815938 | 0.323966 | 0 | 0.759785 | 1 | 0.008442 | 0.226 | 0.087395 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036071 | false | 0 | 0.00307 | 0 | 0.092863 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9c709941bf1f52dec018b7f9ee9f67535a956980 | 9,682 | py | Python | comgames/AI/TD.py | houluy/comgames | aa2bcb6ef0d16807bab0eebcfe9a4818aebc0c3b | [
"MIT"
] | 2 | 2018-02-21T16:00:20.000Z | 2018-06-18T10:22:21.000Z | comgames/AI/TD.py | houluy/comgames | aa2bcb6ef0d16807bab0eebcfe9a4818aebc0c3b | [
"MIT"
] | null | null | null | comgames/AI/TD.py | houluy/comgames | aa2bcb6ef0d16807bab0eebcfe9a4818aebc0c3b | [
"MIT"
] | null | null | null | import random
from collections import defaultdict, UserDict
import logging
import pickle
import pathlib
import json
import src.game
from .config import config
from .agent import Agent
class Value(UserDict):
def __init__(self):
super().__init__()
def _state2str(self, state):
return ''.join([s... | 43.809955 | 143 | 0.588928 | 1,237 | 9,682 | 4.34034 | 0.107518 | 0.041907 | 0.020115 | 0.020861 | 0.845595 | 0.8225 | 0.791209 | 0.791209 | 0.791209 | 0.763271 | 0 | 0.00542 | 0.313985 | 9,682 | 220 | 144 | 44.009091 | 0.802921 | 0.062074 | 0 | 0.725714 | 0 | 0.022857 | 0.105292 | 0.015689 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0.005714 | 0.051429 | 0.005714 | 0.148571 | 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 |
92c06ed141465bb3176537e7576edf7f1976c3ce | 55,400 | py | Python | Tests/test_SearchIO_blat_psl.py | adamnovak/biopython | 92772dd6add33e0b87ab593841f924f0f6f16090 | [
"PostgreSQL"
] | 2 | 2020-08-27T08:45:14.000Z | 2020-11-14T02:15:32.000Z | Tests/test_SearchIO_blat_psl.py | adamnovak/biopython | 92772dd6add33e0b87ab593841f924f0f6f16090 | [
"PostgreSQL"
] | null | null | null | Tests/test_SearchIO_blat_psl.py | adamnovak/biopython | 92772dd6add33e0b87ab593841f924f0f6f16090 | [
"PostgreSQL"
] | null | null | null | # Copyright 2012 by Wibowo Arindrarto. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.
"""Tests for SearchIO BlatIO parsers."""
import os
import unittest
from Bio import Biopy... | 47.309991 | 96 | 0.656245 | 7,283 | 55,400 | 4.828505 | 0.029795 | 0.360433 | 0.147415 | 0.119945 | 0.972758 | 0.966701 | 0.966701 | 0.962293 | 0.961668 | 0.958426 | 0 | 0.067211 | 0.22009 | 55,400 | 1,170 | 97 | 47.350427 | 0.746685 | 0.079043 | 0 | 0.968191 | 0 | 0 | 0.057431 | 0.043073 | 0 | 0 | 0 | 0 | 0.83996 | 1 | 0.010934 | false | 0 | 0.00497 | 0 | 0.018887 | 0 | 0 | 0 | 0 | null | 1 | 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 | 9 |
1374143736abf1f0db6e8d4fc54b787cd914931b | 2,592 | py | Python | Mocking/CoffeeMaker/Python/test_integration_code.py | jamiemacdonald04/AutomatedTestCentral | 6be2cdce4441e093a69b58f1931e76bdbdffdc14 | [
"MIT"
] | null | null | null | Mocking/CoffeeMaker/Python/test_integration_code.py | jamiemacdonald04/AutomatedTestCentral | 6be2cdce4441e093a69b58f1931e76bdbdffdc14 | [
"MIT"
] | null | null | null | Mocking/CoffeeMaker/Python/test_integration_code.py | jamiemacdonald04/AutomatedTestCentral | 6be2cdce4441e093a69b58f1931e76bdbdffdc14 | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import MagicMock
from coffee_maker import *
from dry_beans_coffee import *
class TestCofeeSelect(unittest.TestCase):
def test_coffee_no_beans(self):
coffee_select_Mock = MagicMock(AbstractCoffeeSelect)
coffee_select_Mock.get_beans.return_value = 0
coffee... | 36.507042 | 81 | 0.716821 | 330 | 2,592 | 5.236364 | 0.166667 | 0.180556 | 0.240741 | 0.164931 | 0.84375 | 0.84375 | 0.835648 | 0.814236 | 0.814236 | 0.814236 | 0 | 0.001488 | 0.222222 | 2,592 | 70 | 82 | 37.028571 | 0.855655 | 0.129244 | 0 | 0.581395 | 0 | 0 | 0.041444 | 0 | 0 | 0 | 0 | 0 | 0.395349 | 1 | 0.069767 | false | 0 | 0.093023 | 0 | 0.186047 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.