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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c7b9a410ee38d6e6d6db61a866b44bf1f720af4e | 50 | py | Python | __init__.py | pudasainishushant/what_tense | 0765ea5b259bd6da73bde0991eb1bd15df8716e1 | [
"MIT"
] | 1 | 2022-01-06T11:08:47.000Z | 2022-01-06T11:08:47.000Z | __init__.py | pudasainishushant/what_tense | 0765ea5b259bd6da73bde0991eb1bd15df8716e1 | [
"MIT"
] | null | null | null | __init__.py | pudasainishushant/what_tense | 0765ea5b259bd6da73bde0991eb1bd15df8716e1 | [
"MIT"
] | null | null | null | from what_tense.what_tense import TenseCategorizer | 50 | 50 | 0.92 | 7 | 50 | 6.285714 | 0.714286 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7f4368bc50b18580f49632ed0fdb01a8ce7a0f3 | 35 | py | Python | translatio/__init__.py | jegork/translatio | f4f4a01a7e5c93038e5bcc653aabe4eb7f750ddc | [
"MIT"
] | null | null | null | translatio/__init__.py | jegork/translatio | f4f4a01a7e5c93038e5bcc653aabe4eb7f750ddc | [
"MIT"
] | null | null | null | translatio/__init__.py | jegork/translatio | f4f4a01a7e5c93038e5bcc653aabe4eb7f750ddc | [
"MIT"
] | null | null | null | from translatio.translatio import * | 35 | 35 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1bf2a440473b7fdfdbf4d7592029fe17e045d815 | 31,650 | py | Python | Tools/tdd/test/test_createNewModule.py | neubertm/TDD_framework | 31e6df2422221035c86fdc743ca4da09cdfc3b50 | [
"BSD-3-Clause"
] | 1 | 2021-09-23T13:02:10.000Z | 2021-09-23T13:02:10.000Z | Tools/tdd/test/test_createNewModule.py | neubertm/TDD_framework | 31e6df2422221035c86fdc743ca4da09cdfc3b50 | [
"BSD-3-Clause"
] | null | null | null | Tools/tdd/test/test_createNewModule.py | neubertm/TDD_framework | 31e6df2422221035c86fdc743ca4da09cdfc3b50 | [
"BSD-3-Clause"
] | null | null | null | from .context import createNewModule
from .context import TDDConfig
import unittest
from unittest.mock import patch
import sys
import os
from pathlib import Path
class TestCreateNewModule(unittest.TestCase):
@patch('createNewModule.get_input', return_value='yes')
def test_questionYesNo_answerYes(self, get... | 46.407625 | 171 | 0.722654 | 3,373 | 31,650 | 6.529795 | 0.083605 | 0.070148 | 0.058842 | 0.052486 | 0.846129 | 0.826334 | 0.791192 | 0.776345 | 0.733485 | 0.710556 | 0 | 0.011418 | 0.169826 | 31,650 | 681 | 172 | 46.475771 | 0.826832 | 0.042464 | 0 | 0.638095 | 0 | 0 | 0.143386 | 0.095326 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.08 | false | 0.028571 | 0.013333 | 0 | 0.095238 | 0.04381 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
400c7a47a820d79dc4c39fd90841f24d726511a5 | 98 | py | Python | src/Checker/__init__.py | darrinl2t/OpenFOAMCaseGenerator | 72c3072814e9447b12c40c3423593c8d9a8c9cb4 | [
"MIT"
] | 3 | 2020-12-23T11:12:12.000Z | 2021-05-19T15:18:15.000Z | src/Checker/__init__.py | darrinl2t/OpenFOAMCaseGenerator | 72c3072814e9447b12c40c3423593c8d9a8c9cb4 | [
"MIT"
] | null | null | null | src/Checker/__init__.py | darrinl2t/OpenFOAMCaseGenerator | 72c3072814e9447b12c40c3423593c8d9a8c9cb4 | [
"MIT"
] | 3 | 2021-01-18T19:31:13.000Z | 2021-06-08T12:28:38.000Z | from .CheckCase import CheckCase
from .CheckCommandLineArguments import CheckCommandLineArguments
| 32.666667 | 64 | 0.897959 | 8 | 98 | 11 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 98 | 2 | 65 | 49 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
40f38c3cd2174d07639058a0db7ecaf2243f5c50 | 95 | py | Python | instagram_api/exceptions/settings.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | 13 | 2019-08-07T21:24:34.000Z | 2020-12-12T12:23:50.000Z | instagram_api/exceptions/settings.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | null | null | null | instagram_api/exceptions/settings.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | null | null | null | from .internal import InternalException
class SettingsException(InternalException):
pass
| 15.833333 | 43 | 0.821053 | 8 | 95 | 9.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 5 | 44 | 19 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
dc06c0aa2f85efcdadc064e23b89996bab24b239 | 4,841 | py | Python | models.py | belerico/insertion-matcher | 3e117c8ff41ebcd06eca0a861250fd6f8bd0e4a8 | [
"Apache-2.0"
] | 3 | 2020-01-24T22:06:57.000Z | 2020-11-29T00:23:02.000Z | models.py | belerico/aml-project | 3e117c8ff41ebcd06eca0a861250fd6f8bd0e4a8 | [
"Apache-2.0"
] | null | null | null | models.py | belerico/aml-project | 3e117c8ff41ebcd06eca0a861250fd6f8bd0e4a8 | [
"Apache-2.0"
] | null | null | null | import math
import torch
from torch import nn as nn
from torch.nn import functional as F
""" class Model(nn.Module):
def __init__(
self,
TEXT,
hidden_dim,
conv_depth,
kernel_size,
pool_size,
dense_depth,
max_len,
similarity,
trainable... | 33.157534 | 85 | 0.57736 | 628 | 4,841 | 4.227707 | 0.151274 | 0.011299 | 0.00904 | 0.015819 | 0.903202 | 0.887382 | 0.887382 | 0.887382 | 0.887382 | 0.887382 | 0 | 0.028043 | 0.307581 | 4,841 | 145 | 86 | 33.386207 | 0.764021 | 0 | 0 | 0.136364 | 0 | 0 | 0.001218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.060606 | 0 | 0.121212 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc07d0f4fea1569da0e666e53fe5fa1541d72c75 | 5,625 | py | Python | CODE/IEami/tools.py | pegahani/REUS | 3de7505fcf971333e294c490371d7b429d8fc9d0 | [
"MIT"
] | null | null | null | CODE/IEami/tools.py | pegahani/REUS | 3de7505fcf971333e294c490371d7b429d8fc9d0 | [
"MIT"
] | null | null | null | CODE/IEami/tools.py | pegahani/REUS | 3de7505fcf971333e294c490371d7b429d8fc9d0 | [
"MIT"
] | null | null | null | import os
import re
scenario_based = ['meet_1', 'meet_2', 'meet_3', 'meet_4', 'meet_5', 'meet_6', 'meet_7', 'meet_8', 'meet_10', 'meet_11',
'meet_12', 'meet_13', 'meet_14', 'meet_15', 'meet_16', 'meet_17', 'meet_18', 'meet_19', 'meet_20',
'meet_21', 'meet_22', 'meet_23', 'meet_25', ... | 63.920455 | 139 | 0.546844 | 795 | 5,625 | 3.432704 | 0.29434 | 0.026383 | 0.043972 | 0.013192 | 0.709417 | 0.709417 | 0.709417 | 0.709417 | 0.709417 | 0.709417 | 0 | 0.167171 | 0.236444 | 5,625 | 87 | 140 | 64.655172 | 0.468219 | 0.002667 | 0 | 0.121212 | 0 | 0 | 0.421616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.030303 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90c9e6f0fbc593947541bbc2fc6e755d046134f8 | 14,226 | py | Python | tests/components/integration/test_sensor.py | mtarjoianu/core | 44e9146463ac505eb3d1c0651ad126cb25c28a54 | [
"Apache-2.0"
] | 3 | 2019-10-02T04:40:26.000Z | 2020-02-16T13:19:08.000Z | tests/components/integration/test_sensor.py | mtarjoianu/core | 44e9146463ac505eb3d1c0651ad126cb25c28a54 | [
"Apache-2.0"
] | 1,016 | 2019-06-18T21:27:47.000Z | 2020-03-06T11:09:58.000Z | tests/components/integration/test_sensor.py | mtarjoianu/core | 44e9146463ac505eb3d1c0651ad126cb25c28a54 | [
"Apache-2.0"
] | 1 | 2021-12-10T10:33:28.000Z | 2021-12-10T10:33:28.000Z | """The tests for the integration sensor platform."""
from datetime import timedelta
from unittest.mock import patch
from homeassistant.components.sensor import SensorDeviceClass, SensorStateClass
from homeassistant.const import (
ATTR_UNIT_OF_MEASUREMENT,
ENERGY_KILO_WATT_HOUR,
ENERGY_WATT_HOUR,
POWER_... | 32.854503 | 88 | 0.634332 | 1,701 | 14,226 | 5.109347 | 0.105232 | 0.042573 | 0.046945 | 0.052468 | 0.872972 | 0.859395 | 0.856863 | 0.824991 | 0.819583 | 0.791393 | 0 | 0.015163 | 0.25362 | 14,226 | 432 | 89 | 32.930556 | 0.803353 | 0.093491 | 0 | 0.654952 | 0 | 0 | 0.161882 | 0.01998 | 0 | 0 | 0 | 0 | 0.169329 | 1 | 0 | false | 0 | 0.025559 | 0 | 0.025559 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2907188ee0edc6a8ee872a50acd0981000cea2c1 | 1,290 | py | Python | problems/problem_8.py | minuq/project-euler | 00307f01d06aa6dc61e701cf1bd90d2eafcf0478 | [
"MIT"
] | null | null | null | problems/problem_8.py | minuq/project-euler | 00307f01d06aa6dc61e701cf1bd90d2eafcf0478 | [
"MIT"
] | null | null | null | problems/problem_8.py | minuq/project-euler | 00307f01d06aa6dc61e701cf1bd90d2eafcf0478 | [
"MIT"
] | null | null | null | def main():
str = '''73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
85861560789112949495459501737958331952853208805511
12540698747158523863050715693290963295227443043557
66896648950445244523161731856403098711121722383113
6222989342338030813533627661428280644448... | 43 | 71 | 0.868217 | 59 | 1,290 | 18.983051 | 0.728814 | 0.0125 | 0.014286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.861775 | 0.091473 | 1,290 | 29 | 72 | 44.482759 | 0.093857 | 0 | 0 | 0 | 0 | 0 | 0.802326 | 0.775194 | 0 | 1 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0 | 0 | 0.034483 | 0.034483 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
293fdde412d2fa0d25bb00ab06a213f5a0a938bf | 137 | py | Python | pyhtmlgui/view/__init__.py | dirk-makerhafen/pyHtmlGui | 41c9f3080a2c815bd664bf6d7213d19745c092be | [
"MIT"
] | 1 | 2022-03-30T19:25:32.000Z | 2022-03-30T19:25:32.000Z | pyhtmlgui/view/__init__.py | dirk-makerhafen/pyHtmlGui | 41c9f3080a2c815bd664bf6d7213d19745c092be | [
"MIT"
] | null | null | null | pyhtmlgui/view/__init__.py | dirk-makerhafen/pyHtmlGui | 41c9f3080a2c815bd664bf6d7213d19745c092be | [
"MIT"
] | null | null | null | from .observableListView import ObservableListView
from .observableDictView import ObservableDictView
from .pyhtmlview import PyHtmlView
| 34.25 | 50 | 0.890511 | 12 | 137 | 10.166667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087591 | 137 | 3 | 51 | 45.666667 | 0.976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
295c595ec90cc8d331f8912314e63fe61ee4f76c | 108 | py | Python | w2020/w8/w8_22/__init__.py | abrance/mine | d4067bf6fb158ebaea3eb7a516ae372dcb8cf419 | [
"MIT"
] | null | null | null | w2020/w8/w8_22/__init__.py | abrance/mine | d4067bf6fb158ebaea3eb7a516ae372dcb8cf419 | [
"MIT"
] | null | null | null | w2020/w8/w8_22/__init__.py | abrance/mine | d4067bf6fb158ebaea3eb7a516ae372dcb8cf419 | [
"MIT"
] | null | null | null | # @Time : 2020/8/22 8:45
# @Author : DaguguJ
# @Email : 1103098607@qq.com
# @File : __init__.py.py
| 21.6 | 30 | 0.583333 | 16 | 108 | 3.6875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 0.240741 | 108 | 4 | 31 | 27 | 0.47561 | 0.916667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
29800c5f0f35769ff1970011195bfa25b2b131fe | 74 | py | Python | Adversary/__init__.py | jdai8/artificial-adversary | 66763b7fa35c00d11596e3b60bb7b177b03a18db | [
"MIT"
] | 363 | 2018-08-09T16:34:23.000Z | 2022-02-16T21:46:21.000Z | Adversary/__init__.py | afsconan/artificial-adversary | fe577e529becf90b4e8725e795f064c9523c16c3 | [
"MIT"
] | 9 | 2018-08-09T04:05:21.000Z | 2020-09-21T18:22:49.000Z | Adversary/__init__.py | afsconan/artificial-adversary | fe577e529becf90b4e8725e795f064c9523c16c3 | [
"MIT"
] | 54 | 2018-08-09T17:35:07.000Z | 2021-10-03T07:31:02.000Z | from Adversary.adversary import Adversary
from Adversary.attacks import *
| 24.666667 | 41 | 0.851351 | 9 | 74 | 7 | 0.444444 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 42 | 37 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4637a2fcc729a0ac7bffc55f7cf1462f4f2814c1 | 36 | py | Python | passenger_wsgi.py | ericmuh/recruitment-system | d9964e7c48ac8af74995e28f489135c1d8f940be | [
"MIT"
] | null | null | null | passenger_wsgi.py | ericmuh/recruitment-system | d9964e7c48ac8af74995e28f489135c1d8f940be | [
"MIT"
] | null | null | null | passenger_wsgi.py | ericmuh/recruitment-system | d9964e7c48ac8af74995e28f489135c1d8f940be | [
"MIT"
] | null | null | null | from recruit.wsgi import application | 36 | 36 | 0.888889 | 5 | 36 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
468a82255b3dc21821c3f2d9e292af89eefcee2a | 12,827 | py | Python | ortho_seq_code/tests/test_orthoseqs.py | snafees/ortho_seqs | a9655857335ebdd16b554f2b49827c1db635d2c3 | [
"MIT"
] | 13 | 2020-06-07T22:52:42.000Z | 2021-06-16T13:59:42.000Z | ortho_seq_code/tests/test_orthoseqs.py | snafees/ortho_seqs | a9655857335ebdd16b554f2b49827c1db635d2c3 | [
"MIT"
] | 23 | 2020-06-12T21:39:14.000Z | 2022-01-23T19:57:28.000Z | ortho_seq_code/tests/test_orthoseqs.py | snafees/ortho_seqs | a9655857335ebdd16b554f2b49827c1db635d2c3 | [
"MIT"
] | 2 | 2021-02-26T01:39:50.000Z | 2021-06-22T15:52:44.000Z | import numpy as np
import pandas as pd
import os
from matplotlib import pyplot as plt
from click.testing import CliRunner
from ortho_seq_code.orthogonal_polynomial import orthogonal_polynomial
from ortho_seq_code.cli import cli
from ortho_seq_code.tests import orthoseqs_tst_utils as utils
from ortho_seq_code.utils im... | 37.726471 | 121 | 0.658689 | 1,545 | 12,827 | 5.069256 | 0.080906 | 0.050562 | 0.061287 | 0.064351 | 0.883938 | 0.852528 | 0.841548 | 0.815501 | 0.75549 | 0.687436 | 0 | 0.005787 | 0.245576 | 12,827 | 339 | 122 | 37.837758 | 0.803555 | 0.007172 | 0 | 0.611684 | 0 | 0 | 0.067541 | 0 | 0 | 0 | 0 | 0 | 0.116838 | 1 | 0.034364 | false | 0 | 0.030928 | 0 | 0.065292 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46ab8ff9011c40d4891b568e754bc53bb3936208 | 295 | py | Python | ch03tests/saskatchewan/test_overlap.py | erees1/rsd-engineeringcourse | fcafba9d7aa8657fbce039828a49152fa71ca0e1 | [
"CC-BY-3.0"
] | null | null | null | ch03tests/saskatchewan/test_overlap.py | erees1/rsd-engineeringcourse | fcafba9d7aa8657fbce039828a49152fa71ca0e1 | [
"CC-BY-3.0"
] | null | null | null | ch03tests/saskatchewan/test_overlap.py | erees1/rsd-engineeringcourse | fcafba9d7aa8657fbce039828a49152fa71ca0e1 | [
"CC-BY-3.0"
] | null | null | null | from .overlap import overlap
def test_full_overlap():
assert overlap((1.0, 1.0, 4.0, 4.0), (2.0, 2.0, 3.0, 3.0)) == 1.0
def test_partial_overlap():
assert overlap((1, 1, 4, 4), (2, 2, 3, 4.5)) == 2.0
def test_no_overlap():
assert overlap((1, 1, 4, 4), (4.5, 4.5, 5, 5)) == 0.0
| 21.071429 | 69 | 0.559322 | 63 | 295 | 2.52381 | 0.238095 | 0.132075 | 0.377358 | 0.396226 | 0.301887 | 0.301887 | 0.301887 | 0 | 0 | 0 | 0 | 0.175214 | 0.20678 | 295 | 13 | 70 | 22.692308 | 0.504274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d3bfef8e53013ae8836b16f765e80fa1595c7416 | 146 | py | Python | discord/ext/commands/__init__.py | Hype3808/RPD | 78ba69cf132fd0c07264a9a142866b79e94a60d5 | [
"Apache-2.0"
] | 12 | 2021-11-11T14:10:31.000Z | 2022-03-16T03:08:16.000Z | discord/ext/commands/__init__.py | Hype3808/RPD | 78ba69cf132fd0c07264a9a142866b79e94a60d5 | [
"Apache-2.0"
] | 24 | 2021-12-27T04:03:20.000Z | 2022-01-26T10:24:51.000Z | discord/ext/commands/__init__.py | Hype3808/RPD | 78ba69cf132fd0c07264a9a142866b79e94a60d5 | [
"Apache-2.0"
] | 13 | 2021-11-12T09:06:11.000Z | 2022-03-12T13:42:47.000Z | """
discord.ext.commands
~~~~~~~~~~~~~~~~~~~~
Commands extension for discord.io
"""
from .bot import *
from .context import *
from .core import *
| 16.222222 | 33 | 0.623288 | 17 | 146 | 5.352941 | 0.647059 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 146 | 8 | 34 | 18.25 | 0.722222 | 0.513699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
311653cea9ea6b4bfd4e0d0fac2b62aaf48ecc43 | 2,305 | py | Python | epytope/Data/pssms/smmpmbec/mat/B_08_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/B_08_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/B_08_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_08_01_9 = {0: {'A': 0.296, 'C': -0.117, 'E': 0.03, 'D': 0.215, 'G': 0.34, 'F': -0.416, 'I': 0.101, 'H': 0.041, 'K': 0.213, 'M': -0.643, 'L': -0.257, 'N': -0.159, 'Q': 0.091, 'P': 0.784, 'S': -0.162, 'R': 0.004, 'T': 0.193, 'W': -0.402, 'V': 0.183, 'Y': -0.335}, 1: {'A': -0.435, 'C': 0.252, 'E': 0.404, 'D': 0.584, 'G'... | 2,305 | 2,305 | 0.398265 | 557 | 2,305 | 1.642729 | 0.339318 | 0.019672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.378364 | 0.161822 | 2,305 | 1 | 2,305 | 2,305 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0.079358 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
314534b368a958e79d11a75a92c98cd74b375709 | 36,066 | py | Python | gelcoverage/tests.py | genomicsengland/gel-coverage | 61a671a53ac52a0b62c8aea983ced65fd0bed6cc | [
"Apache-2.0"
] | 2 | 2019-07-15T08:13:22.000Z | 2020-09-30T18:47:59.000Z | gelcoverage/tests.py | genomicsengland/gel-coverage | 61a671a53ac52a0b62c8aea983ced65fd0bed6cc | [
"Apache-2.0"
] | null | null | null | gelcoverage/tests.py | genomicsengland/gel-coverage | 61a671a53ac52a0b62c8aea983ced65fd0bed6cc | [
"Apache-2.0"
] | null | null | null | import unittest
import json
import os
import logging
import pybedtools
from gelcoverage.runner import GelCoverageRunner, GelCoverageInputError, BedMaker
from gelcoverage.test.output_verifier import OutputVerifier
import gelcoverage.constants as constants
PANELAPP_HOST = "panelapp.genomicsengland.co.uk/WebServices"
A... | 46.476804 | 119 | 0.554567 | 4,303 | 36,066 | 4.518475 | 0.081803 | 0.064805 | 0.029522 | 0.041146 | 0.871728 | 0.858767 | 0.835931 | 0.816901 | 0.808877 | 0.796636 | 0 | 0.047652 | 0.310486 | 36,066 | 775 | 120 | 46.536774 | 0.734197 | 0.103006 | 0 | 0.660808 | 0 | 0 | 0.246038 | 0.091606 | 0 | 0 | 0 | 0 | 0.063269 | 1 | 0.047452 | false | 0 | 0.01406 | 0.001757 | 0.068541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3152570f7c8a7a5c0d78d72ce4ebeb472f864874 | 147 | py | Python | Date.py | PALYmyGXG/tensoflow_flask_httpx_id48_project | 45efe14e2dad13eb94a10a0d87b69b08737d02c3 | [
"Apache-2.0"
] | 1 | 2021-07-21T06:46:03.000Z | 2021-07-21T06:46:03.000Z | Date.py | PALYmyGXG/tensoflow_flask_httpx_id48_project | 45efe14e2dad13eb94a10a0d87b69b08737d02c3 | [
"Apache-2.0"
] | null | null | null | Date.py | PALYmyGXG/tensoflow_flask_httpx_id48_project | 45efe14e2dad13eb94a10a0d87b69b08737d02c3 | [
"Apache-2.0"
] | null | null | null | import datetime
import time
def UTC(n, y, r):
return time.mktime(datetime.datetime.strptime('{}-{}-{}'.format(n,y,r), "%Y-%m-%d").timetuple()) | 29.4 | 100 | 0.639456 | 23 | 147 | 4.086957 | 0.652174 | 0.042553 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 147 | 5 | 100 | 29.4 | 0.712121 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
315c1a4e2b6eb634926c6a0fff023e59010e3e1b | 226 | py | Python | jax_meta/utils/metrics.py | tristandeleu/jax-meta-learning | 3e83cc1be77dd99ad7539cbcb47536097e896d3a | [
"MIT"
] | 5 | 2022-03-01T00:47:09.000Z | 2022-03-24T01:48:17.000Z | jax_meta/utils/metrics.py | tristandeleu/jax-meta-learning | 3e83cc1be77dd99ad7539cbcb47536097e896d3a | [
"MIT"
] | null | null | null | jax_meta/utils/metrics.py | tristandeleu/jax-meta-learning | 3e83cc1be77dd99ad7539cbcb47536097e896d3a | [
"MIT"
] | 1 | 2022-03-06T16:03:19.000Z | 2022-03-06T16:03:19.000Z | import jax.numpy as jnp
def accuracy(outputs, targets):
return jnp.mean(jnp.argmax(outputs, axis=-1) == targets)
def binary_accuracy(logits, targets):
return jnp.mean((logits > 0).astype(targets.dtype) == targets)
| 22.6 | 66 | 0.712389 | 32 | 226 | 5 | 0.59375 | 0.1625 | 0.2 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010363 | 0.146018 | 226 | 9 | 67 | 25.111111 | 0.818653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3166ebe50a4d525d3e9ebde219746d038ffd1d62 | 6,902 | py | Python | wefe/tests/test_metrics.py | Mezosky/wefe | 06b90702f0594206776ef20ecfbf2d8cc0b84a84 | [
"BSD-3-Clause"
] | 1 | 2021-05-21T03:53:51.000Z | 2021-05-21T03:53:51.000Z | wefe/tests/test_metrics.py | Mezosky/wefe | 06b90702f0594206776ef20ecfbf2d8cc0b84a84 | [
"BSD-3-Clause"
] | null | null | null | wefe/tests/test_metrics.py | Mezosky/wefe | 06b90702f0594206776ef20ecfbf2d8cc0b84a84 | [
"BSD-3-Clause"
] | null | null | null | import logging
import pytest
import numpy as np
from ..utils import load_weat_w2v
from ..word_embedding_model import WordEmbeddingModel
from ..datasets.datasets import load_weat
from ..query import Query
from ..metrics import WEAT, RND, RNSB, MAC, ECT
LOGGER = logging.getLogger(__name__)
def test_WEAT():
weat... | 41.830303 | 100 | 0.646914 | 818 | 6,902 | 5.235941 | 0.111247 | 0.061639 | 0.084754 | 0.100864 | 0.809246 | 0.774924 | 0.753677 | 0.752043 | 0.747373 | 0.706047 | 0 | 0.025326 | 0.210519 | 6,902 | 165 | 101 | 41.830303 | 0.76069 | 0.008693 | 0 | 0.556452 | 0 | 0 | 0.206871 | 0.018421 | 0 | 0 | 0 | 0 | 0.322581 | 1 | 0.040323 | false | 0 | 0.064516 | 0 | 0.104839 | 0.016129 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
31b07fb36d9ac4dea464bde6d44c3292c470cad5 | 126 | py | Python | tests/test_dictionary.py | JanviRaina/openodia | f33d095afcb2e87108986ecf16a5ee0f59568502 | [
"MIT"
] | null | null | null | tests/test_dictionary.py | JanviRaina/openodia | f33d095afcb2e87108986ecf16a5ee0f59568502 | [
"MIT"
] | null | null | null | tests/test_dictionary.py | JanviRaina/openodia | f33d095afcb2e87108986ecf16a5ee0f59568502 | [
"MIT"
] | null | null | null | from openodia.corpus.dictionary import get_dictionary
def test_get_dictionary():
assert len(get_dictionary()) == 208046
| 21 | 53 | 0.785714 | 16 | 126 | 5.9375 | 0.6875 | 0.410526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0.126984 | 126 | 5 | 54 | 25.2 | 0.809091 | 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 | 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 | 0 | 0 | 0 | 6 |
31cafe6b1112b5876a425f6d6596380236843f21 | 52 | py | Python | venv/Lib/site-packages/cytoolz/_version.py | RafaelHMachado/Cioffis_Automation | 07965ca71c3d4e78f5cee1fce4ba0bbfe2db9811 | [
"MIT"
] | 2 | 2021-04-01T08:46:05.000Z | 2021-04-01T08:46:07.000Z | venv/Lib/site-packages/cytoolz/_version.py | RafaelHMachado/Cioffis_Automation | 07965ca71c3d4e78f5cee1fce4ba0bbfe2db9811 | [
"MIT"
] | 9 | 2021-04-12T13:44:34.000Z | 2021-04-13T16:50:08.000Z | venv/Lib/site-packages/cytoolz/_version.py | RafaelHMachado/Cioffis_Automation | 07965ca71c3d4e78f5cee1fce4ba0bbfe2db9811 | [
"MIT"
] | 1 | 2021-03-31T10:11:02.000Z | 2021-03-31T10:11:02.000Z | __version__ = '0.11.0'
__toolz_version__ = '0.11.0'
| 17.333333 | 28 | 0.692308 | 9 | 52 | 3 | 0.444444 | 0.592593 | 0.740741 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0.115385 | 52 | 2 | 29 | 26 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
31e29c9baf96f833df25adc3fb546364d7800083 | 522 | py | Python | lib/stdio.py | Polarbear08/AtCoder_Python | 0b2c30ce6dd428afbd8587f0aa88337bccec16ab | [
"MIT"
] | null | null | null | lib/stdio.py | Polarbear08/AtCoder_Python | 0b2c30ce6dd428afbd8587f0aa88337bccec16ab | [
"MIT"
] | null | null | null | lib/stdio.py | Polarbear08/AtCoder_Python | 0b2c30ce6dd428afbd8587f0aa88337bccec16ab | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Standard I/O with sys library
@author: polarbear08
"""
# Input
import sys
stdin = sys.stdin
sys.setrecursionlimit(10**7)
def li(): return map(int, stdin.readline().split())
def li_(): return map(lambda x: int(x)-1, stdin.readline().split())
def lf(): return map(float, stdin.readline()... | 24.857143 | 67 | 0.670498 | 78 | 522 | 4.474359 | 0.461538 | 0.260745 | 0.206304 | 0.240688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015317 | 0.124521 | 522 | 21 | 68 | 24.857143 | 0.748359 | 0.153257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.727273 | false | 0 | 0.090909 | 0.727273 | 0.818182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
31ec034c3a64f0006d01c25a031ae237d680d076 | 99 | py | Python | bioimageio/spec/model/raw_nodes.py | bioimage-io/spec-bioimage-io | b534001c67b3903dbd47f80a8b3ff027cd249119 | [
"MIT"
] | 6 | 2021-05-10T09:08:12.000Z | 2022-03-27T17:44:08.000Z | bioimageio/spec/model/raw_nodes.py | bioimage-io/spec-bioimage-io | b534001c67b3903dbd47f80a8b3ff027cd249119 | [
"MIT"
] | 227 | 2021-03-16T23:40:13.000Z | 2022-03-17T14:30:53.000Z | bioimageio/spec/model/raw_nodes.py | bioimage-io/spec-bioimage-io | b534001c67b3903dbd47f80a8b3ff027cd249119 | [
"MIT"
] | 5 | 2021-03-26T14:16:49.000Z | 2021-11-28T11:24:40.000Z | # Auto-generated by generate_passthrough_modules.py - do not modify
from .v0_4.raw_nodes import *
| 24.75 | 67 | 0.79798 | 16 | 99 | 4.6875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.131313 | 99 | 3 | 68 | 33 | 0.848837 | 0.656566 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ecd075aa8136e68d55269986eba8a9a7de5d2bb | 38 | py | Python | briefmetrics/lib/service/__init__.py | shazow/briefmetrics | b6ca5ac0980ae00ccc160e6456e36ade8a3e2eeb | [
"MIT"
] | 18 | 2020-02-06T23:31:43.000Z | 2022-02-09T00:32:42.000Z | briefmetrics/lib/service/__init__.py | shazow/briefmetrics | b6ca5ac0980ae00ccc160e6456e36ade8a3e2eeb | [
"MIT"
] | 8 | 2020-02-08T23:00:46.000Z | 2021-07-27T20:52:12.000Z | briefmetrics/lib/service/__init__.py | shazow/briefmetrics | b6ca5ac0980ae00ccc160e6456e36ade8a3e2eeb | [
"MIT"
] | 1 | 2020-07-09T12:59:27.000Z | 2020-07-09T12:59:27.000Z | from .base import registry, OAuth2API
| 19 | 37 | 0.815789 | 5 | 38 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.131579 | 38 | 1 | 38 | 38 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7334c9963fc51c85a104c4341cce3ec5267577d1 | 12,988 | py | Python | tests/test_wsdl_soap.py | zapay-pagamentos/python-zeep | 1e4e8e21da75ec114bae00d4626b66e46ec930ee | [
"MIT"
] | 1 | 2021-01-26T06:35:44.000Z | 2021-01-26T06:35:44.000Z | tests/test_wsdl_soap.py | zapay-pagamentos/python-zeep | 1e4e8e21da75ec114bae00d4626b66e46ec930ee | [
"MIT"
] | null | null | null | tests/test_wsdl_soap.py | zapay-pagamentos/python-zeep | 1e4e8e21da75ec114bae00d4626b66e46ec930ee | [
"MIT"
] | 1 | 2021-09-24T20:01:12.000Z | 2021-09-24T20:01:12.000Z | # -*- coding: utf-8 -*-
import platform
import pytest
from lxml import etree
from pretend import stub
from tests.utils import load_xml
from zeep import Client
from zeep.exceptions import Fault, TransportError
from zeep.wsdl import bindings
def test_soap11_no_output():
client = Client('tests/wsdl_files/soap.wsdl... | 30.632075 | 134 | 0.600939 | 1,414 | 12,988 | 5.433522 | 0.148515 | 0.019914 | 0.020305 | 0.027333 | 0.780554 | 0.770793 | 0.770793 | 0.748666 | 0.73565 | 0.730053 | 0 | 0.023927 | 0.266323 | 12,988 | 423 | 135 | 30.704492 | 0.782349 | 0.001617 | 0 | 0.704871 | 0 | 0.005731 | 0.507212 | 0.129348 | 0 | 0 | 0 | 0 | 0.12894 | 1 | 0.034384 | false | 0 | 0.022923 | 0 | 0.057307 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
733b31617b788718e87ad8aece23e000342e0a3c | 8,232 | py | Python | nuage_tempest_plugin/tests/api/cli/test_os_managed_dualstack_cli.py | nuagenetworks/nuage-tempest-plugin | ac1bfb0709c7bbaf04017af3050fb3ed1ad1324a | [
"Apache-1.1"
] | 1 | 2021-01-03T01:47:51.000Z | 2021-01-03T01:47:51.000Z | nuage_tempest_plugin/tests/api/cli/test_os_managed_dualstack_cli.py | nuagenetworks/nuage-tempest-plugin | ac1bfb0709c7bbaf04017af3050fb3ed1ad1324a | [
"Apache-1.1"
] | null | null | null | nuage_tempest_plugin/tests/api/cli/test_os_managed_dualstack_cli.py | nuagenetworks/nuage-tempest-plugin | ac1bfb0709c7bbaf04017af3050fb3ed1ad1324a | [
"Apache-1.1"
] | 1 | 2020-10-16T12:04:39.000Z | 2020-10-16T12:04:39.000Z | # Copyright 2017 - Nokia
# All Rights Reserved.
from netaddr import IPNetwork
from .base_nuage_networks_cli import BaseNuageNetworksCliTestCase
from nuage_tempest_plugin.lib.features import NUAGE_FEATURES
from nuage_tempest_plugin.lib.test import nuage_test
from nuage_tempest_plugin.lib.topology import Topology
from ... | 40.551724 | 78 | 0.565476 | 895 | 8,232 | 4.998883 | 0.148603 | 0.039338 | 0.040232 | 0.050961 | 0.785203 | 0.750559 | 0.750559 | 0.750559 | 0.750559 | 0.740501 | 0 | 0.033052 | 0.323737 | 8,232 | 202 | 79 | 40.752475 | 0.770613 | 0.04361 | 0 | 0.77707 | 0 | 0 | 0.142875 | 0.012214 | 0 | 0 | 0 | 0 | 0.089172 | 1 | 0.038217 | false | 0 | 0.050955 | 0 | 0.095541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
734d645199e2aa1f08d57b63894557e5a127a67d | 29 | py | Python | satyrus/sat/parser/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | satyrus/sat/parser/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | satyrus/sat/parser/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | from .parser import SatParser | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7354438930149615ec7fc09e8ad09b8a810615bc | 21 | py | Python | saleor/graphql/core/__init__.py | acabezasg/urpi-master | 7c9cd0fbe6d89dad70652482712ca38b21ba6f84 | [
"BSD-3-Clause"
] | 9 | 2021-08-08T22:42:18.000Z | 2021-11-23T06:50:14.000Z | saleor/graphql/core/__init__.py | acabezasg/urpi-master | 7c9cd0fbe6d89dad70652482712ca38b21ba6f84 | [
"BSD-3-Clause"
] | 64 | 2019-02-11T17:02:05.000Z | 2021-06-25T15:16:57.000Z | saleor/graphql/core/__init__.py | acabezasg/urpi-master | 7c9cd0fbe6d89dad70652482712ca38b21ba6f84 | [
"BSD-3-Clause"
] | 2 | 2019-01-08T02:32:42.000Z | 2021-07-05T14:05:55.000Z | from . import fields
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
735ae9896fb6a441775a326a7580afd270a283ad | 107 | py | Python | pypy/module/array/test/test_ztranslation.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 381 | 2018-08-18T03:37:22.000Z | 2022-02-06T23:57:36.000Z | pypy/module/array/test/test_ztranslation.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 16 | 2018-09-22T18:12:47.000Z | 2022-02-22T20:03:59.000Z | pypy/module/array/test/test_ztranslation.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 55 | 2015-08-16T02:41:30.000Z | 2022-03-20T20:33:35.000Z |
from pypy.objspace.fake.checkmodule import checkmodule
def test_checkmodule():
checkmodule('array')
| 15.285714 | 54 | 0.775701 | 12 | 107 | 6.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 107 | 6 | 55 | 17.833333 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b42568f99316032f0a799faf900b09ad7a192e26 | 40 | py | Python | tests/delete_deployment_test.py | BIX-Digital/mlflow-openshift | 1909191503ec2071d6f1f4e79cd859e7d7ad15e2 | [
"Apache-2.0"
] | 4 | 2021-01-06T07:49:21.000Z | 2021-11-30T13:49:50.000Z | tests/delete_deployment_test.py | pille321/mlflow-openshift | 0450a9ca7ae25dcd462324c41cccc894d40b7be5 | [
"Apache-2.0"
] | 2 | 2021-02-27T10:10:27.000Z | 2022-02-08T08:13:50.000Z | tests/delete_deployment_test.py | pille321/mlflow-openshift | 0450a9ca7ae25dcd462324c41cccc894d40b7be5 | [
"Apache-2.0"
] | 1 | 2021-01-11T06:22:16.000Z | 2021-01-11T06:22:16.000Z | # TODO: check if it is really gone
pass
| 13.333333 | 34 | 0.725 | 8 | 40 | 3.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225 | 40 | 2 | 35 | 20 | 0.935484 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b4293a2d34b61fc22bb12b91a733b6a76019b2f3 | 34 | py | Python | results/raw_measurement.py | wirawan0/pyqmc | 8d641ba2b91d1d7a05a90574d0787fb991ee15e2 | [
"Apache-2.0"
] | null | null | null | results/raw_measurement.py | wirawan0/pyqmc | 8d641ba2b91d1d7a05a90574d0787fb991ee15e2 | [
"Apache-2.0"
] | null | null | null | results/raw_measurement.py | wirawan0/pyqmc | 8d641ba2b91d1d7a05a90574d0787fb991ee15e2 | [
"Apache-2.0"
] | null | null | null | # TODO: Move raw_meas_data here.
| 11.333333 | 32 | 0.735294 | 6 | 34 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 2 | 33 | 17 | 0.821429 | 0.882353 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b439ccd90f10920948c6ffe0ef958bc2d3e045ba | 20 | py | Python | pyspk/GL/__init__.py | chromia/pyspk | b13f2b4f3c651376747003761ea88590a6014eda | [
"Zlib"
] | null | null | null | pyspk/GL/__init__.py | chromia/pyspk | b13f2b4f3c651376747003761ea88590a6014eda | [
"Zlib"
] | null | null | null | pyspk/GL/__init__.py | chromia/pyspk | b13f2b4f3c651376747003761ea88590a6014eda | [
"Zlib"
] | null | null | null | from ._GL import *
| 10 | 19 | 0.65 | 3 | 20 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 20 | 1 | 20 | 20 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b46117d6ea526881c8e0598753853803c68cb5c8 | 12,973 | py | Python | open_alchemy/schemas/helpers/iterate.py | rgreinho/OpenAlchemy | 23202bdecb94763d09b6d9e84eb9b29506c811ae | [
"Apache-2.0"
] | null | null | null | open_alchemy/schemas/helpers/iterate.py | rgreinho/OpenAlchemy | 23202bdecb94763d09b6d9e84eb9b29506c811ae | [
"Apache-2.0"
] | 53 | 2020-12-30T15:32:55.000Z | 2022-03-31T10:07:00.000Z | open_alchemy/schemas/helpers/iterate.py | rgreinho/OpenAlchemy | 23202bdecb94763d09b6d9e84eb9b29506c811ae | [
"Apache-2.0"
] | null | null | null | """Functions to expose iterables for schemas."""
import functools
import typing
from ... import exceptions
from ... import helpers
from ... import types
def constructable(
*, schemas: types.Schemas
) -> typing.Iterator[typing.Tuple[str, types.Schema]]:
"""
Create an iterable with all constructable schem... | 30.669031 | 88 | 0.664688 | 1,550 | 12,973 | 5.432903 | 0.090323 | 0.040375 | 0.037406 | 0.040138 | 0.808218 | 0.77188 | 0.765467 | 0.752286 | 0.740648 | 0.709536 | 0 | 0 | 0.272797 | 12,973 | 422 | 89 | 30.741706 | 0.892622 | 0.409697 | 0 | 0.586047 | 0 | 0 | 0.000702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051163 | false | 0 | 0.023256 | 0 | 0.130233 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81eb94c6b40d3dd234afd74324fb77631c1a682a | 26,463 | py | Python | etl/parsers/etw/Microsoft_Windows_SMBDirect.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_SMBDirect.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_SMBDirect.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-SMBDirect
GUID : db66ea65-b7bb-4ca9-8748-334cb5c32400
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp import Sid
from etl.p... | 35.809202 | 123 | 0.674224 | 2,471 | 26,463 | 7.101174 | 0.071631 | 0.058927 | 0.080356 | 0.101784 | 0.902376 | 0.902376 | 0.766798 | 0.766798 | 0.766798 | 0.766798 | 0 | 0.102258 | 0.20659 | 26,463 | 738 | 124 | 35.857724 | 0.733473 | 0.003552 | 0 | 0.63355 | 0 | 0 | 0.275379 | 0.09302 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006515 | 0 | 0.198697 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81fc4cf5027021cb710ec821bcfcfaab3abab14b | 2,750 | py | Python | test/test_Match.py | gmso/connect-4-cli | da8bcf474d27b7ef801a36fcc1071283516342f5 | [
"MIT"
] | null | null | null | test/test_Match.py | gmso/connect-4-cli | da8bcf474d27b7ef801a36fcc1071283516342f5 | [
"MIT"
] | null | null | null | test/test_Match.py | gmso/connect-4-cli | da8bcf474d27b7ef801a36fcc1071283516342f5 | [
"MIT"
] | null | null | null | import src.constants as const
import src.Match as Match
import utility_MakeBoards as BoardMaker
def test_Match_construction():
match_default = Match.Match()
assert(match_default.column_selected == 0)
assert(match_default.state == const.MatchState.PLAYING)
assert(match_default.player_turn == c... | 28.645833 | 70 | 0.699273 | 339 | 2,750 | 5.40118 | 0.147493 | 0.198252 | 0.167122 | 0.245767 | 0.83834 | 0.803932 | 0.725287 | 0.612234 | 0.535227 | 0.486073 | 0 | 0.008539 | 0.190909 | 2,750 | 95 | 71 | 28.947368 | 0.814382 | 0 | 0 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.514706 | 1 | 0.058824 | false | 0 | 0.044118 | 0 | 0.102941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c36223c9d16e55edf62bbcfc6500be733cd638ad | 788 | py | Python | mpl_colors/mixin.py | clbarnes/mpl_colors | 07e22db3620de2b7efc8f9063d6342eaadec96e2 | [
"MIT"
] | null | null | null | mpl_colors/mixin.py | clbarnes/mpl_colors | 07e22db3620de2b7efc8f9063d6342eaadec96e2 | [
"MIT"
] | 3 | 2019-10-16T20:50:56.000Z | 2021-06-25T15:23:56.000Z | mpl_colors/mixin.py | clbarnes/mpl_colors | 07e22db3620de2b7efc8f9063d6342eaadec96e2 | [
"MIT"
] | null | null | null | from typing import NamedTuple, Tuple
import colorsys
from colour import Color
class RgbTuple(NamedTuple):
r: float
g: float
b: float
def color(self) -> Color:
return Color(rgb=self.value)
def hex(self) -> str:
return self.color().hex_l
def hsl(self) -> Tuple[float, float, f... | 22.514286 | 63 | 0.615482 | 110 | 788 | 4.363636 | 0.281818 | 0.229167 | 0.1875 | 0.208333 | 0.485417 | 0.39375 | 0.320833 | 0.179167 | 0.179167 | 0 | 0 | 0.003401 | 0.253807 | 788 | 34 | 64 | 23.176471 | 0.812925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.347826 | false | 0 | 0.130435 | 0.347826 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5ee00a6c61f261e87df22c59e5cfa51eb5783fdc | 129 | py | Python | boiler/collections/__init__.py | projectshift/shift-boiler | 5f1d236b97fc814ba72897fa8bc76c7518bd1919 | [
"MIT"
] | 19 | 2016-08-06T20:06:21.000Z | 2020-10-22T08:31:49.000Z | boiler/collections/__init__.py | projectshift/shift-boiler | 5f1d236b97fc814ba72897fa8bc76c7518bd1919 | [
"MIT"
] | 104 | 2016-07-31T19:45:00.000Z | 2021-09-15T08:13:36.000Z | boiler/collections/__init__.py | projectshift/shift-boiler | 5f1d236b97fc814ba72897fa8bc76c7518bd1919 | [
"MIT"
] | 1 | 2017-12-30T09:07:38.000Z | 2017-12-30T09:07:38.000Z | from .paginated_collection import PaginatedCollection
from .api_collection import ApiCollection
from .pagination import paginate
| 32.25 | 53 | 0.883721 | 14 | 129 | 8 | 0.642857 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 129 | 3 | 54 | 43 | 0.957265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f42b84f2082d816e585aa08b1457a48418a6be2 | 39 | py | Python | pytivoclient/__init__.py | jmuhlich/pytivoclient | fd2c49ab9548136ccd2986c2f064604ffaa0f606 | [
"MIT"
] | 2 | 2017-10-28T22:50:16.000Z | 2019-11-22T02:46:49.000Z | pytivoclient/__init__.py | jmuhlich/pytivoclient | fd2c49ab9548136ccd2986c2f064604ffaa0f606 | [
"MIT"
] | null | null | null | pytivoclient/__init__.py | jmuhlich/pytivoclient | fd2c49ab9548136ccd2986c2f064604ffaa0f606 | [
"MIT"
] | null | null | null | from pytivoclient.client import Client
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f4691cd3db45b2b95f67d035b90db8dccd95509 | 6,139 | py | Python | tests/test_redis.py | yakky/fastapi-plugins | a05eabf99545884b34a2f767e4d4b9a8da5e85f5 | [
"MIT"
] | null | null | null | tests/test_redis.py | yakky/fastapi-plugins | a05eabf99545884b34a2f767e4d4b9a8da5e85f5 | [
"MIT"
] | null | null | null | tests/test_redis.py | yakky/fastapi-plugins | a05eabf99545884b34a2f767e4d4b9a8da5e85f5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# tests.test_redis
'''
:author: madkote
:contact: madkote(at)bluewin.ch
:copyright: Copyright 2019, madkote
tests.test_redis
-----------
Package
'''
from __future__ import absolute_import
import asyncio
import unittest
import uuid
# import aioredis
import fastapi
i... | 33.36413 | 79 | 0.59798 | 683 | 6,139 | 5.106881 | 0.175695 | 0.09289 | 0.119839 | 0.151376 | 0.7543 | 0.7543 | 0.7543 | 0.7543 | 0.7543 | 0.7543 | 0 | 0.007413 | 0.296791 | 6,139 | 183 | 80 | 33.546448 | 0.800556 | 0.145463 | 0 | 0.84127 | 0 | 0 | 0.045646 | 0.004411 | 0 | 0 | 0 | 0.005464 | 0.047619 | 1 | 0.047619 | false | 0 | 0.063492 | 0 | 0.126984 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f6eb3c78067741077de32cf07465a16c6377263 | 199 | py | Python | shishakai/__init__.py | speg03/shishakai | fe5b9a9efa440cafa87ee7dbde999d5837182ad1 | [
"MIT"
] | null | null | null | shishakai/__init__.py | speg03/shishakai | fe5b9a9efa440cafa87ee7dbde999d5837182ad1 | [
"MIT"
] | 2 | 2020-03-04T14:24:18.000Z | 2020-03-18T16:16:13.000Z | shishakai/__init__.py | speg03/shishakai | fe5b9a9efa440cafa87ee7dbde999d5837182ad1 | [
"MIT"
] | null | null | null | from .moviewalker import MovieWalker # noqa: F401
try:
from importlib.metadata import version
except ImportError:
from importlib_metadata import version
__version__ = version("shishakai")
| 22.111111 | 50 | 0.78392 | 22 | 199 | 6.863636 | 0.545455 | 0.172185 | 0.278146 | 0.357616 | 0.450331 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017964 | 0.160804 | 199 | 8 | 51 | 24.875 | 0.886228 | 0.050251 | 0 | 0 | 0 | 0 | 0.048128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4899b81dec3fb993a42d538d29004a48c5f856e1 | 49 | py | Python | pygears_vivado/synth/__init__.py | Anari-AI/pygears-vivado | a9d928d9914b479739ff8fc1e208813292c4b711 | [
"MIT"
] | 1 | 2022-03-19T02:11:12.000Z | 2022-03-19T02:11:12.000Z | pygears_vivado/synth/__init__.py | Anari-AI/pygears-vivado | a9d928d9914b479739ff8fc1e208813292c4b711 | [
"MIT"
] | null | null | null | pygears_vivado/synth/__init__.py | Anari-AI/pygears-vivado | a9d928d9914b479739ff8fc1e208813292c4b711 | [
"MIT"
] | 1 | 2021-06-01T13:21:12.000Z | 2021-06-01T13:21:12.000Z | from ..intf import run
from .entry import synth
| 12.25 | 24 | 0.755102 | 8 | 49 | 4.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 3 | 25 | 16.333333 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48ad62df53136d2941630f560aca234d1cd79cb9 | 27 | py | Python | tessellate/viz/__init__.py | FordyceLab/tessellate | a3f0c38b4392027a7503828f48d65ec02eb24698 | [
"MIT"
] | null | null | null | tessellate/viz/__init__.py | FordyceLab/tessellate | a3f0c38b4392027a7503828f48d65ec02eb24698 | [
"MIT"
] | 7 | 2021-03-31T19:41:46.000Z | 2022-01-13T02:39:45.000Z | tessellate/viz/__init__.py | FordyceLab/tessellate | a3f0c38b4392027a7503828f48d65ec02eb24698 | [
"MIT"
] | null | null | null | from .viz import plot_curve | 27 | 27 | 0.851852 | 5 | 27 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48d0b2d84c131f9720cc5cbacdd2aff0a808b4fb | 35 | py | Python | src/echonn/__init__.py | larkwt96/honors-thesis | 7e3a52c285c1fdaf4ae9659497154ba04e522f48 | [
"MIT"
] | null | null | null | src/echonn/__init__.py | larkwt96/honors-thesis | 7e3a52c285c1fdaf4ae9659497154ba04e522f48 | [
"MIT"
] | null | null | null | src/echonn/__init__.py | larkwt96/honors-thesis | 7e3a52c285c1fdaf4ae9659497154ba04e522f48 | [
"MIT"
] | null | null | null | import echonn.ml
import echonn.sys
| 11.666667 | 17 | 0.828571 | 6 | 35 | 4.833333 | 0.666667 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 2 | 18 | 17.5 | 0.935484 | 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 | 0 | 0 | 0 | 6 |
48e9da6f4936a101e1fe9cf8d554cbe22116d481 | 6,849 | py | Python | edx_adapt/data/interface.py | raccoongang/edx-adapt | 9534d5c040aa78d0cfa23b0445de742cf5f2b083 | [
"Apache-2.0"
] | 3 | 2018-02-02T20:33:21.000Z | 2020-11-16T20:23:42.000Z | edx_adapt/data/interface.py | raccoongang/edx-adapt | 9534d5c040aa78d0cfa23b0445de742cf5f2b083 | [
"Apache-2.0"
] | 15 | 2016-10-31T12:37:26.000Z | 2018-08-11T03:27:08.000Z | edx_adapt/data/interface.py | raccoongang/edx-adapt | 9534d5c040aa78d0cfa23b0445de742cf5f2b083 | [
"Apache-2.0"
] | 7 | 2016-10-28T12:04:52.000Z | 2021-07-28T19:33:35.000Z | class StorageInterface(object):
""" Interface for a persistent storage backend. Basic table and key/value storage, with list operations
"""
def __init__(self):
pass
def create_table(self, table_name):
raise NotImplementedError( "Storage module must implement this" )
def get_tables... | 39.589595 | 107 | 0.720397 | 844 | 6,849 | 5.650474 | 0.158768 | 0.22143 | 0.175299 | 0.212204 | 0.748165 | 0.737052 | 0.710631 | 0.679178 | 0.641854 | 0.567205 | 0 | 0 | 0.205285 | 6,849 | 172 | 108 | 39.819767 | 0.876171 | 0.08483 | 0 | 0.479167 | 0 | 0 | 0.233683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.479167 | false | 0.020833 | 0 | 0 | 0.510417 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d28f518a8023b76d9afe7cc174a5c1a909bc5676 | 502 | py | Python | tensortrade/oms/orders/__init__.py | essamabas/tensortrade | cbbec2235e20be74ec57476009e9741849240bd2 | [
"Apache-2.0"
] | null | null | null | tensortrade/oms/orders/__init__.py | essamabas/tensortrade | cbbec2235e20be74ec57476009e9741849240bd2 | [
"Apache-2.0"
] | null | null | null | tensortrade/oms/orders/__init__.py | essamabas/tensortrade | cbbec2235e20be74ec57476009e9741849240bd2 | [
"Apache-2.0"
] | null | null | null | from tensortrade.oms.orders.trade import Trade, TradeSide, TradeType
from tensortrade.oms.orders.broker import Broker
from tensortrade.oms.orders.order import Order, OrderStatus
from tensortrade.oms.orders.order_listener import OrderListener
from tensortrade.oms.orders.order_spec import OrderSpec
from tensortrade.oms.o... | 33.466667 | 68 | 0.824701 | 65 | 502 | 6.230769 | 0.353846 | 0.259259 | 0.311111 | 0.414815 | 0.214815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115538 | 502 | 14 | 69 | 35.857143 | 0.912162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.538462 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9618ab88f8d0514eb34673d3c0082d339b4017c8 | 222 | py | Python | flask_on_fhir/restful_resources/__init__.py | HOT-Ecosystem/flask-on-fhir | a4ed361f24ce75e4fff28f0e08ab01f9e4973596 | [
"MIT"
] | 1 | 2021-02-20T18:51:59.000Z | 2021-02-20T18:51:59.000Z | flask_on_fhir/restful_resources/__init__.py | anofryev/flask-on-fhir | a4ed361f24ce75e4fff28f0e08ab01f9e4973596 | [
"MIT"
] | null | null | null | flask_on_fhir/restful_resources/__init__.py | anofryev/flask-on-fhir | a4ed361f24ce75e4fff28f0e08ab01f9e4973596 | [
"MIT"
] | 1 | 2021-02-20T18:51:53.000Z | 2021-02-20T18:51:53.000Z | from .fhir_resource import FHIRResource
from .capability_statement_resource import CapabilityStatementResource
from .code_system_resource import CodeSystemResource
from .naming_system_resource import NamingSystemResource
| 37 | 70 | 0.905405 | 23 | 222 | 8.434783 | 0.565217 | 0.28866 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076577 | 222 | 5 | 71 | 44.4 | 0.946341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
82c1551b3b3ce2e88dfefd43157c2e1332c6f5c3 | 1,218 | py | Python | build/lib/Element/Find.py | sunnyyukaige/APP_automation_core | b53ad737025a1af44746ea5f1c9a4cbe65d7cfb4 | [
"MIT"
] | null | null | null | build/lib/Element/Find.py | sunnyyukaige/APP_automation_core | b53ad737025a1af44746ea5f1c9a4cbe65d7cfb4 | [
"MIT"
] | null | null | null | build/lib/Element/Find.py | sunnyyukaige/APP_automation_core | b53ad737025a1af44746ea5f1c9a4cbe65d7cfb4 | [
"MIT"
] | null | null | null | from Utilitys.WaitUtils import WaitUtils
class Find:
def __init__(self):
pass
def get_driver(self):
pass
def _appium_context(self):
pass
def _refresh(self):
pass
def find_element(self, by, value):
try:
try:
return self._appiu... | 30.45 | 98 | 0.584565 | 141 | 1,218 | 4.808511 | 0.241135 | 0.09292 | 0.150442 | 0.135693 | 0.747788 | 0.722714 | 0.722714 | 0.722714 | 0.722714 | 0.722714 | 0 | 0 | 0.319376 | 1,218 | 39 | 99 | 31.230769 | 0.817853 | 0 | 0 | 0.666667 | 0 | 0 | 0.073892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.133333 | 0.033333 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7d5679945f5507ef09ad287a5402eba555772fef | 315 | py | Python | helloworld/config.py | uhussain/pants_testing | a8b2c616461691f8157689fd7d832101904f3cf0 | [
"Apache-2.0"
] | 2 | 2021-04-07T03:51:33.000Z | 2021-05-21T04:13:15.000Z | helloworld/config.py | uhussain/pants_testing | a8b2c616461691f8157689fd7d832101904f3cf0 | [
"Apache-2.0"
] | 1 | 2020-09-15T22:01:19.000Z | 2020-09-15T22:01:19.000Z | helloworld/config.py | uhussain/pants_testing | a8b2c616461691f8157689fd7d832101904f3cf0 | [
"Apache-2.0"
] | 3 | 2020-08-12T01:29:16.000Z | 2020-09-11T18:23:16.000Z | # Copyright 2020 Pants project contributors.
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from helloworld.util.config_loader import load_config_from_json
from helloworld.util.proto.config_pb2 import Config
def load_config() -> Config:
return load_config_from_json(__name__, "config.json")
| 31.5 | 63 | 0.803175 | 45 | 315 | 5.333333 | 0.6 | 0.125 | 0.15 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025271 | 0.120635 | 315 | 9 | 64 | 35 | 0.841155 | 0.330159 | 0 | 0 | 0 | 0 | 0.052885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7d740eb601b78e37598f43307c326e6332303820 | 156 | py | Python | graph/views.py | DanielNery/realtime_graph | cfbb6b081fe817d27fe7f5538164fa69b1f6759c | [
"MIT"
] | 1 | 2021-05-31T15:13:58.000Z | 2021-05-31T15:13:58.000Z | graph/views.py | DanielNery/realtime_graph | cfbb6b081fe817d27fe7f5538164fa69b1f6759c | [
"MIT"
] | null | null | null | graph/views.py | DanielNery/realtime_graph | cfbb6b081fe817d27fe7f5538164fa69b1f6759c | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index(request):
return render(request, 'base.html', context={'text': 'hello world'}) | 26 | 72 | 0.724359 | 21 | 156 | 5.380952 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 156 | 6 | 72 | 26 | 0.843284 | 0.147436 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
81774f455cc887d2b36a4d471fd43cc6efcd544c | 96 | py | Python | venv/lib/python3.8/site-packages/urllib3/util/ssltransport.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 1 | 2022-02-22T04:49:18.000Z | 2022-02-22T04:49:18.000Z | venv/lib/python3.8/site-packages/urllib3/util/ssltransport.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/urllib3/util/ssltransport.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/dd/b2/c1/a983ebc93f543066f1e624603206f6b23ed510aa79a66443d60f1de952 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8193051ac8a8f5da44da6dc92b64955e836a9aad | 186 | py | Python | src/api/helpers/social_user_info.py | ThaDeveloper/grind | fa90b65d12e6d9b3d658b132874801ecda08c57f | [
"MIT"
] | 1 | 2019-11-06T22:26:26.000Z | 2019-11-06T22:26:26.000Z | src/api/helpers/social_user_info.py | ThaDeveloper/grind | fa90b65d12e6d9b3d658b132874801ecda08c57f | [
"MIT"
] | 5 | 2021-03-19T02:49:44.000Z | 2021-06-10T19:13:00.000Z | src/api/helpers/social_user_info.py | ThaDeveloper/grind | fa90b65d12e6d9b3d658b132874801ecda08c57f | [
"MIT"
] | null | null | null | def get_user_info(user):
return {
'email': user.get('email'),
'first_name': user.get('name').split(' ')[0],
'last_name': user.get('name').split(' ')[1]
}
| 26.571429 | 53 | 0.516129 | 24 | 186 | 3.833333 | 0.5 | 0.228261 | 0.23913 | 0.326087 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014184 | 0.241935 | 186 | 6 | 54 | 31 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
c491fccb3a5aab8d363555c521f05eb5983681a0 | 79 | py | Python | new.py | jkiran307/devopslab1 | 2f02586e787102fbcfbe12c3331e6b2adc378dc9 | [
"Apache-2.0"
] | null | null | null | new.py | jkiran307/devopslab1 | 2f02586e787102fbcfbe12c3331e6b2adc378dc9 | [
"Apache-2.0"
] | null | null | null | new.py | jkiran307/devopslab1 | 2f02586e787102fbcfbe12c3331e6b2adc378dc9 | [
"Apache-2.0"
] | null | null | null | print "Hello World"
print "Git training"
Print "10-12-2019"
Print "11-12-2019"
| 15.8 | 20 | 0.721519 | 14 | 79 | 4.071429 | 0.642857 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231884 | 0.126582 | 79 | 4 | 21 | 19.75 | 0.594203 | 0 | 0 | 0 | 0 | 0 | 0.544304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c4b55284ccb311c8c0c64e9ff49045fe6dd0703e | 899 | py | Python | app/core/grandpy/grandpy.py | SLB974/GrandPyBot-dev | 7a0268d4ffa58c37eed37253c6afb00874dbabe4 | [
"MIT"
] | null | null | null | app/core/grandpy/grandpy.py | SLB974/GrandPyBot-dev | 7a0268d4ffa58c37eed37253c6afb00874dbabe4 | [
"MIT"
] | null | null | null | app/core/grandpy/grandpy.py | SLB974/GrandPyBot-dev | 7a0268d4ffa58c37eed37253c6afb00874dbabe4 | [
"MIT"
] | null | null | null | from random import choice
from .utils import grandpy_intro
from .utils import grandpy_nickname
from .utils import grandpy_catch_phrase
from .utils import grandpy_catch_wiki
from .utils import grandpy_response
from .utils import grandpy_error
from .utils import grandpy_none
from .utils import grandpy_next
class Grand... | 24.297297 | 94 | 0.746385 | 115 | 899 | 5.591304 | 0.217391 | 0.18196 | 0.186625 | 0.273717 | 0.426128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191324 | 899 | 36 | 95 | 24.972222 | 0.884457 | 0.030033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.291667 | false | 0 | 0.375 | 0.291667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c4e03d76045c35074e25d3668f5cb1ffe6b9bcea | 6,407 | py | Python | loldib/getratings/models/NA/na_amumu/na_amumu_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_amumu/na_amumu_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_amumu/na_amumu_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Amumu_Top_Aatrox(Ratings):
pass
class NA_Amumu_Top_Ahri(Ratings):
pass
class NA_Amumu_Top_Akali(Ratings):
pass
class NA_Amumu_Top_Alistar(Ratings):
pass
class NA_Amumu_Top_Amumu(Ratings):
pass
class NA_Amumu_Top_Anivia(Ratings):
pass
... | 15.364508 | 46 | 0.761667 | 972 | 6,407 | 4.59465 | 0.151235 | 0.216301 | 0.370802 | 0.463502 | 0.797582 | 0.797582 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173404 | 6,407 | 416 | 47 | 15.401442 | 0.843278 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
481c615bc70727482d099eb3fcf3b556d8202c58 | 214 | py | Python | arithmetic.py | NA5G/software-engineering-ex1 | 0bdfa4a0091109206430e26b6f1acfd64b685685 | [
"MIT"
] | null | null | null | arithmetic.py | NA5G/software-engineering-ex1 | 0bdfa4a0091109206430e26b6f1acfd64b685685 | [
"MIT"
] | 1 | 2015-03-11T11:20:17.000Z | 2015-03-11T11:20:17.000Z | arithmetic.py | NA5G/software-engineering-ex1 | 0bdfa4a0091109206430e26b6f1acfd64b685685 | [
"MIT"
] | null | null | null | def add(a, b):
return a+b
def sub(a, b):
result = a-b
return result
def multi(a, b):
return a*b
def div(a, b):
return a/b
def mod(a, b):
return a%b;
if __name__ == '__main__':
pass
| 11.263158 | 26 | 0.542056 | 41 | 214 | 2.634146 | 0.341463 | 0.185185 | 0.37037 | 0.333333 | 0.453704 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308411 | 214 | 18 | 27 | 11.888889 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0.076923 | 0 | 0.307692 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
484f2a0c7e7ed51797405f8d4289535c34d32ddd | 6,099 | py | Python | support_oppose_deciding/views.py | ranadeepmitra21/WeVoteServer_Ranadeep | 505945209aad5cef21e118b5bfa7f63d0bd462da | [
"MIT"
] | 44 | 2015-11-19T04:52:39.000Z | 2021-03-17T02:08:26.000Z | support_oppose_deciding/views.py | ranadeepmitra21/WeVoteServer_Ranadeep | 505945209aad5cef21e118b5bfa7f63d0bd462da | [
"MIT"
] | 748 | 2015-09-03T04:18:33.000Z | 2022-03-10T14:08:10.000Z | support_oppose_deciding/views.py | ranadeepmitra21/WeVoteServer_Ranadeep | 505945209aad5cef21e118b5bfa7f63d0bd462da | [
"MIT"
] | 145 | 2015-09-19T10:10:44.000Z | 2022-03-04T21:01:12.000Z | # support_oppose_deciding/views.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
from django.http import JsonResponse
from django_user_agents.utils import get_user_agent
from position.models import PositionManager
from voter.models import fetch_voter_id_from_voter_device_link
import wevote_functions.ad... | 41.209459 | 107 | 0.72848 | 786 | 6,099 | 5.165394 | 0.103053 | 0.058621 | 0.086207 | 0.098522 | 0.838916 | 0.818473 | 0.801232 | 0.793596 | 0.781034 | 0.680049 | 0 | 0.003647 | 0.190687 | 6,099 | 147 | 108 | 41.489796 | 0.818882 | 0.014757 | 0 | 0.632479 | 0 | 0 | 0.162531 | 0.058784 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068376 | false | 0 | 0.051282 | 0 | 0.264957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f7d3100a2ece92ff40264fbfe98eae8479100ec | 2,735 | py | Python | tests/test_class_oelint_append_protvars.py | Rahix/oelint-adv | b9dc381b181a8bdc7300bb5070f80bf90950efbd | [
"BSD-2-Clause"
] | null | null | null | tests/test_class_oelint_append_protvars.py | Rahix/oelint-adv | b9dc381b181a8bdc7300bb5070f80bf90950efbd | [
"BSD-2-Clause"
] | null | null | null | tests/test_class_oelint_append_protvars.py | Rahix/oelint-adv | b9dc381b181a8bdc7300bb5070f80bf90950efbd | [
"BSD-2-Clause"
] | null | null | null | import os
import sys
import pytest
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
from base import TestBaseClass
class TestClassOelintAppendProtVars(TestBaseClass):
def __generate_sample_code(self, var, operation):
return '''
{var} {operation} "foo"
'''.format(va... | 32.951807 | 83 | 0.575868 | 280 | 2,735 | 5.407143 | 0.203571 | 0.10568 | 0.221929 | 0.060766 | 0.796565 | 0.796565 | 0.796565 | 0.769485 | 0.769485 | 0.739762 | 0 | 0.002463 | 0.25777 | 2,735 | 83 | 84 | 32.951807 | 0.74335 | 0 | 0 | 0.657534 | 0 | 0 | 0.186404 | 0.06652 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068493 | false | 0 | 0.054795 | 0.013699 | 0.150685 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f7f45f2bd281a396394bb142e8e99188372eaf3 | 43 | py | Python | scripts/addons/animation_nodes/algorithms/lsystem/__init__.py | Tilapiatsu/blender-custom_conf | 05592fedf74e4b7075a6228b8448a5cda10f7753 | [
"MIT"
] | 2 | 2020-04-16T22:12:40.000Z | 2022-01-22T17:18:45.000Z | scripts/addons/animation_nodes/algorithms/lsystem/__init__.py | Tilapiatsu/blender-custom_conf | 05592fedf74e4b7075a6228b8448a5cda10f7753 | [
"MIT"
] | null | null | null | scripts/addons/animation_nodes/algorithms/lsystem/__init__.py | Tilapiatsu/blender-custom_conf | 05592fedf74e4b7075a6228b8448a5cda10f7753 | [
"MIT"
] | 2 | 2019-05-16T04:01:09.000Z | 2020-08-25T11:42:26.000Z | from . py_interface import calculateLSystem | 43 | 43 | 0.883721 | 5 | 43 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6fd0ca56f869a33e23ef64c2adc965b30a4cc676 | 84 | py | Python | solutions/01_04.py | glemaitre/IBIOM-M2-deep-learning | 001bf7834e57a7357326087d31049fc91ab8967f | [
"MIT"
] | null | null | null | solutions/01_04.py | glemaitre/IBIOM-M2-deep-learning | 001bf7834e57a7357326087d31049fc91ab8967f | [
"MIT"
] | null | null | null | solutions/01_04.py | glemaitre/IBIOM-M2-deep-learning | 001bf7834e57a7357326087d31049fc91ab8967f | [
"MIT"
] | null | null | null | def decision_function(X, coefs, intercept):
return np.dot(X, coefs) + intercept
| 28 | 43 | 0.72619 | 12 | 84 | 5 | 0.75 | 0.2 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 84 | 2 | 44 | 42 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
b513543071ea5887d5aecab750c22cf1d1962eb8 | 15,977 | py | Python | test/test_crystalmodels.py | tianjuchen/neml | 61ca3dcefcfb20c3f4405ca0ca2117a5414ca933 | [
"MIT"
] | null | null | null | test/test_crystalmodels.py | tianjuchen/neml | 61ca3dcefcfb20c3f4405ca0ca2117a5414ca933 | [
"MIT"
] | null | null | null | test/test_crystalmodels.py | tianjuchen/neml | 61ca3dcefcfb20c3f4405ca0ca2117a5414ca933 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from neml import models, interpolate, elasticity, history
from neml.cp import crystallography, slipharden, sliprules, inelasticity, kinematics, singlecrystal, crystaldamage
from neml.math import rotations, tensors
import unittest
import numpy as np
import numpy.linalg as la
import common
clas... | 31.450787 | 122 | 0.657633 | 2,691 | 15,977 | 3.765515 | 0.082497 | 0.037501 | 0.015987 | 0.013816 | 0.815948 | 0.78871 | 0.77894 | 0.775881 | 0.775881 | 0.750123 | 0 | 0.072935 | 0.183889 | 15,977 | 507 | 123 | 31.512821 | 0.704195 | 0.004694 | 0 | 0.694678 | 0 | 0 | 0.019688 | 0 | 0 | 0 | 0 | 0 | 0.053221 | 1 | 0.053221 | false | 0.008403 | 0.019608 | 0 | 0.089636 | 0.014006 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d202af16bad3fa5fda7a9a6da7d541ca53ac02d0 | 119 | py | Python | Easy/Multiplication Tables/main.py | AstrorEnales/CodeEval | eae0fb471d27d3a83d544ff4a4651ed1a2076930 | [
"MIT"
] | null | null | null | Easy/Multiplication Tables/main.py | AstrorEnales/CodeEval | eae0fb471d27d3a83d544ff4a4651ed1a2076930 | [
"MIT"
] | null | null | null | Easy/Multiplication Tables/main.py | AstrorEnales/CodeEval | eae0fb471d27d3a83d544ff4a4651ed1a2076930 | [
"MIT"
] | null | null | null | import sys
for i in range(13)[1::]:
print(''.join(['%4d' % (i * j) for j in range(13)[1::]]).strip())
| 23.8 | 78 | 0.462185 | 20 | 119 | 2.75 | 0.65 | 0.254545 | 0.327273 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 0.268908 | 119 | 4 | 79 | 29.75 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0.026087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
96303caf68a39620d33997c582d62ccd94f9e94a | 38 | py | Python | satellighte/archs/mobilenetv2/blocks/__init__.py | canturan10/satellighte | 09c906fdf8b538296c488d0c2d86c344007f8666 | [
"MIT"
] | null | null | null | satellighte/archs/mobilenetv2/blocks/__init__.py | canturan10/satellighte | 09c906fdf8b538296c488d0c2d86c344007f8666 | [
"MIT"
] | null | null | null | satellighte/archs/mobilenetv2/blocks/__init__.py | canturan10/satellighte | 09c906fdf8b538296c488d0c2d86c344007f8666 | [
"MIT"
] | null | null | null | from .mobilenetv2 import MobileNet_V2
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.105263 | 38 | 1 | 38 | 38 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
96324d3640ed28bd7f6e071762f81a9f7fec5a98 | 157 | py | Python | runserver.py | Volkova-Natalia/django_rest_auth_email_confirm_reset | 781e63fd97606e48d69acf84fc6bb011e47b10ca | [
"MIT"
] | null | null | null | runserver.py | Volkova-Natalia/django_rest_auth_email_confirm_reset | 781e63fd97606e48d69acf84fc6bb011e47b10ca | [
"MIT"
] | 1 | 2021-02-26T16:58:10.000Z | 2021-03-24T10:12:57.000Z | runserver.py | Volkova-Natalia/django_rest_auth_email_confirm_reset | 781e63fd97606e48d69acf84fc6bb011e47b10ca | [
"MIT"
] | null | null | null | from django.core.management import call_command
from boot_django import boot_django
# call the django setup routine
boot_django()
call_command("runserver")
| 22.428571 | 47 | 0.834395 | 23 | 157 | 5.478261 | 0.521739 | 0.238095 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10828 | 157 | 6 | 48 | 26.166667 | 0.9 | 0.184713 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9646754becba93f6ba604234d093db837652c38d | 53 | py | Python | teamcat_service/docker_build/target/one_step_build/teamcat/doraemon/toolbox/config.py | zhangyin2088/Teamcat | be9be8d7c1e58c8d2d22ab78d25783d9aee4de71 | [
"Apache-2.0"
] | 6 | 2018-11-26T08:42:52.000Z | 2020-06-01T08:33:48.000Z | teamcat_service/doraemon/doraemon/administrate/config.py | zhangyin2088/Teamcat | be9be8d7c1e58c8d2d22ab78d25783d9aee4de71 | [
"Apache-2.0"
] | null | null | null | teamcat_service/doraemon/doraemon/administrate/config.py | zhangyin2088/Teamcat | be9be8d7c1e58c8d2d22ab78d25783d9aee4de71 | [
"Apache-2.0"
] | 1 | 2019-01-22T06:45:36.000Z | 2019-01-22T06:45:36.000Z | #coding=utf-8
#coding=utf-8
#config file for testjob
| 13.25 | 24 | 0.754717 | 10 | 53 | 4 | 0.7 | 0.45 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.113208 | 53 | 3 | 25 | 17.666667 | 0.808511 | 0.886792 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
964d5aa7e4a0f8e69718a6ea76fa6d4b13e5f64f | 66 | py | Python | backend/core/utilities/__init__.py | michaelscales88/charles_site | 2cdf85b51aaa5e81da3bbce7d391cc1475ca6561 | [
"MIT"
] | 1 | 2019-06-10T21:15:05.000Z | 2019-06-10T21:15:05.000Z | backend/core/utilities/__init__.py | michaelscales88/charles_site | 2cdf85b51aaa5e81da3bbce7d391cc1475ca6561 | [
"MIT"
] | null | null | null | backend/core/utilities/__init__.py | michaelscales88/charles_site | 2cdf85b51aaa5e81da3bbce7d391cc1475ca6561 | [
"MIT"
] | null | null | null | from .forms import *
from .helpers import *
from .logger import *
| 16.5 | 22 | 0.727273 | 9 | 66 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 23 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
964e9b35c9afe7c9392771bfa57c91b519e9885b | 31 | py | Python | spikeforest2/sorters/kilosort/__init__.py | michaeljohnclancy/spikeforest2 | 93bdde2c570aef9426b3d7bceb69f3605c9f005a | [
"Apache-2.0"
] | 26 | 2020-02-03T02:12:20.000Z | 2022-03-25T09:14:32.000Z | spikeforest2/sorters/kilosort/__init__.py | michaeljohnclancy/spikeforest2 | 93bdde2c570aef9426b3d7bceb69f3605c9f005a | [
"Apache-2.0"
] | 27 | 2020-01-10T12:35:55.000Z | 2021-08-01T23:13:52.000Z | spikeforest2/sorters/kilosort/__init__.py | michaeljohnclancy/spikeforest2 | 93bdde2c570aef9426b3d7bceb69f3605c9f005a | [
"Apache-2.0"
] | 11 | 2019-02-15T15:21:47.000Z | 2021-09-23T01:07:24.000Z | from ._kilosort import kilosort | 31 | 31 | 0.870968 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
967d705b45ce28625f42022afc447aa72f2eaee0 | 16,965 | py | Python | Tsetlin/pyTsetlinMachineParallel/pyTsetlinMachineParallel/tm.py | Fiskesuppen/TsetlinMachine-Checkers | 0d8c47e644e002b9cd23adbc282fe942f3722ba4 | [
"MIT"
] | 1 | 2020-01-09T10:46:48.000Z | 2020-01-09T10:46:48.000Z | Tsetlin/pyTsetlinMachineParallel/pyTsetlinMachineParallel/tm.py | Fiskesuppen/TsetlinMachine-Checkers | 0d8c47e644e002b9cd23adbc282fe942f3722ba4 | [
"MIT"
] | null | null | null | Tsetlin/pyTsetlinMachineParallel/pyTsetlinMachineParallel/tm.py | Fiskesuppen/TsetlinMachine-Checkers | 0d8c47e644e002b9cd23adbc282fe942f3722ba4 | [
"MIT"
] | null | null | null | # Copyright (c) 2019 Ole-Christoffer Granmo
# 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, publis... | 43.058376 | 290 | 0.760271 | 2,848 | 16,965 | 4.180829 | 0.080758 | 0.111531 | 0.108844 | 0.050391 | 0.828168 | 0.794323 | 0.783405 | 0.764928 | 0.741749 | 0.732342 | 0 | 0.016957 | 0.127498 | 16,965 | 393 | 291 | 43.167939 | 0.787461 | 0.072325 | 0 | 0.638783 | 0 | 0 | 0.001718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08365 | false | 0 | 0.011407 | 0.015209 | 0.174905 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96b7ce6091ab147829d77fe4acee9dd810bf9477 | 30 | py | Python | file.py | guruprasadv22/shiny-system | ce8a8f461b6a7cfcaa52381fda8486c4a4373890 | [
"Apache-2.0"
] | null | null | null | file.py | guruprasadv22/shiny-system | ce8a8f461b6a7cfcaa52381fda8486c4a4373890 | [
"Apache-2.0"
] | null | null | null | file.py | guruprasadv22/shiny-system | ce8a8f461b6a7cfcaa52381fda8486c4a4373890 | [
"Apache-2.0"
] | null | null | null | print("Anybody reading this?") | 30 | 30 | 0.766667 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 30 | 1 | 30 | 30 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7393a26b5620d5f6eacd01194bc22434f8f7b965 | 2,114 | py | Python | rzrq.py | ekin1106/ivix | 0999823a7556e7ac2a90de88be75a585ee6f6192 | [
"MIT"
] | null | null | null | rzrq.py | ekin1106/ivix | 0999823a7556e7ac2a90de88be75a585ee6f6192 | [
"MIT"
] | null | null | null | rzrq.py | ekin1106/ivix | 0999823a7556e7ac2a90de88be75a585ee6f6192 | [
"MIT"
] | null | null | null | import requests
import json
import pandas as pd
def getAll():
for pa in range(1, 44):
url = 'http://dcfm.eastmoney.com//EM_MutiSvcExpandInterface/api/js/get?token=70f12f2f4f091e459a279469fe49eca5&st=tdate&sr=1&p={}'.format(pa)+'&ps=50&js=var%20IPNoxhoO={pages:(tp),data:%20(x)}&type=RZRQ_LSTOTAL_NJ&mk_time=... | 43.142857 | 243 | 0.57947 | 282 | 2,114 | 4.294326 | 0.333333 | 0.026424 | 0.029728 | 0.032205 | 0.80512 | 0.799339 | 0.7564 | 0.7564 | 0.7564 | 0.7564 | 0 | 0.058235 | 0.195837 | 2,114 | 49 | 244 | 43.142857 | 0.654118 | 0.033586 | 0 | 0.35 | 0 | 0.075 | 0.340049 | 0.045209 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.075 | 0 | 0.125 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
73b32c5457747a267eebcd088ad2d513dccb1520 | 299 | py | Python | configs/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_18_40LargeMarker.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_18_40LargeMarker.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_18_40LargeMarker.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_01_02MasterChefCan.py"
OUTPUT_DIR = (
"output/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO/18_40LargeMarker"
)
DATASETS = dict(TRAIN=("ycbv_040_large_marker_train_pbr",))
| 49.833333 | 115 | 0.869565 | 36 | 299 | 6.527778 | 0.722222 | 0.204255 | 0.238298 | 0.297872 | 0.53617 | 0.53617 | 0.53617 | 0.53617 | 0 | 0 | 0 | 0.102113 | 0.050167 | 299 | 5 | 116 | 59.8 | 0.725352 | 0 | 0 | 0 | 0 | 0 | 0.782609 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
73dda18d6191d053848a9b3a1352435bed2c0534 | 180 | py | Python | dvc/dependency/gs.py | Abrosimov-a-a/dvc | 93280c937b9160003afb0d2f3fd473c03d6d9673 | [
"Apache-2.0"
] | null | null | null | dvc/dependency/gs.py | Abrosimov-a-a/dvc | 93280c937b9160003afb0d2f3fd473c03d6d9673 | [
"Apache-2.0"
] | null | null | null | dvc/dependency/gs.py | Abrosimov-a-a/dvc | 93280c937b9160003afb0d2f3fd473c03d6d9673 | [
"Apache-2.0"
] | 1 | 2019-12-01T07:43:48.000Z | 2019-12-01T07:43:48.000Z | from __future__ import unicode_literals
from dvc.dependency.base import DependencyBase
from dvc.output.gs import OutputGS
class DependencyGS(DependencyBase, OutputGS):
pass
| 20 | 46 | 0.827778 | 22 | 180 | 6.545455 | 0.681818 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127778 | 180 | 8 | 47 | 22.5 | 0.917197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fb525e1b20cca7c4547f19d29bed3e93b0941a38 | 13,296 | py | Python | ENR/models/submodels.py | equivariant-representation/equivariant-representation-learning | b3df1a662e9d0cb5685cabca730403519092fe82 | [
"MIT"
] | null | null | null | ENR/models/submodels.py | equivariant-representation/equivariant-representation-learning | b3df1a662e9d0cb5685cabca730403519092fe82 | [
"MIT"
] | null | null | null | ENR/models/submodels.py | equivariant-representation/equivariant-representation-learning | b3df1a662e9d0cb5685cabca730403519092fe82 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from ENR.models.layers import ResBlock2d, ResBlock3d, num_channels_to_num_groups
class ResNet2d(nn.Module):
"""ResNets for 2d inputs.
Args:
input_shape (tuple of ints): Shape of the input to the model. Should be
of the form (channels, height, width).
... | 41.55 | 174 | 0.597247 | 1,591 | 13,296 | 4.82401 | 0.108108 | 0.060977 | 0.04456 | 0.043779 | 0.848208 | 0.831661 | 0.803257 | 0.781889 | 0.752704 | 0.740195 | 0 | 0.019937 | 0.32852 | 13,296 | 319 | 175 | 41.680251 | 0.839718 | 0.340478 | 0 | 0.658683 | 0 | 0 | 0.030394 | 0 | 0 | 0 | 0 | 0 | 0.017964 | 1 | 0.047904 | false | 0.011976 | 0.017964 | 0 | 0.113772 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb63ba424c2f7819373bd12187d203951645db69 | 118 | py | Python | designer/objects/dialogue.py | designer-edu/designer | 9c5d004e934300a30fb6d3148f4db313b69057df | [
"MIT"
] | 3 | 2022-01-21T00:08:02.000Z | 2022-03-09T19:00:26.000Z | designer/objects/dialogue.py | designer-edu/designer | 9c5d004e934300a30fb6d3148f4db313b69057df | [
"MIT"
] | 5 | 2022-02-20T15:44:34.000Z | 2022-03-05T15:57:25.000Z | designer/objects/dialogue.py | designer-edu/designer | 9c5d004e934300a30fb6d3148f4db313b69057df | [
"MIT"
] | null | null | null | from designer.objects.designer_object import DesignerObject
def speech(object: DesignerObject, text: str):
pass
| 19.666667 | 59 | 0.79661 | 14 | 118 | 6.642857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 5 | 60 | 23.6 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fb9d93148c91c48e3511f562ee1a2fbeff02c478 | 364 | py | Python | pila.py | Gambl3r08/ejercicios-Python | ddf13b40c611f892112ebbe7bc907f5765998ea0 | [
"MIT"
] | null | null | null | pila.py | Gambl3r08/ejercicios-Python | ddf13b40c611f892112ebbe7bc907f5765998ea0 | [
"MIT"
] | null | null | null | pila.py | Gambl3r08/ejercicios-Python | ddf13b40c611f892112ebbe7bc907f5765998ea0 | [
"MIT"
] | null | null | null | class Pila:
def __init__(self):
self.items = []
def estaVacia(self):
return self.items == []
def incluir(self, item):
self.items.append(item)
def extraer(self):
return self.items.pop()
def inspeccionar(self):
return self.items[len(self.items)-1]
def t... | 19.157895 | 44 | 0.57967 | 45 | 364 | 4.6 | 0.377778 | 0.304348 | 0.202899 | 0.275362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003876 | 0.291209 | 364 | 18 | 45 | 20.222222 | 0.79845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0 | 0.307692 | 0.846154 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fb9e69f24921a5e44d694a7f8166918afd222ca6 | 8,029 | py | Python | src/pytheas/views/tool_views.py | dcronkite/pytheas | 3cdd6a21bda488e762931cbf5975964d5e574abd | [
"MIT"
] | null | null | null | src/pytheas/views/tool_views.py | dcronkite/pytheas | 3cdd6a21bda488e762931cbf5975964d5e574abd | [
"MIT"
] | null | null | null | src/pytheas/views/tool_views.py | dcronkite/pytheas | 3cdd6a21bda488e762931cbf5975964d5e574abd | [
"MIT"
] | null | null | null | import urllib.parse
import flask
from flask_login import login_required
from pytheas.services import service, tool_service, user_service, connection_service, regex_filter_service
from pytheas.tasks.load_data import load_data
from pytheas.utils.view_modifiers import response
blueprint = flask.Blueprint('tool', __name... | 34.607759 | 114 | 0.702827 | 918 | 8,029 | 5.819172 | 0.092593 | 0.101086 | 0.089854 | 0.053912 | 0.851554 | 0.816923 | 0.78772 | 0.757769 | 0.745975 | 0.72763 | 0 | 0 | 0.164902 | 8,029 | 231 | 115 | 34.757576 | 0.796719 | 0 | 0 | 0.583333 | 0 | 0.005208 | 0.209491 | 0.118197 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.03125 | 0.015625 | 0.21875 | 0.098958 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb9e8083d7b3c659fa3842677ab75b596cce658b | 66 | py | Python | logreporter/report/__init__.py | TakamiChie/LogReporter | c4b3e00dd40d3bfb5296fca3ac4af6acf1770958 | [
"MIT"
] | null | null | null | logreporter/report/__init__.py | TakamiChie/LogReporter | c4b3e00dd40d3bfb5296fca3ac4af6acf1770958 | [
"MIT"
] | 5 | 2020-10-28T12:36:41.000Z | 2021-03-31T09:26:06.000Z | logreporter/report/__init__.py | TakamiChie/LogReporter | c4b3e00dd40d3bfb5296fca3ac4af6acf1770958 | [
"MIT"
] | null | null | null | from logreporter.report.discordwhreporter import DiscordWHReporter | 66 | 66 | 0.924242 | 6 | 66 | 10.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 66 | 1 | 66 | 66 | 0.968254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
836d25ddaf9488f38ef0cbb4ded18ebcb814e016 | 103 | py | Python | RandomNumberGenerator/main.py | Gregory-Eales/QA-Reimplementations | bef0b3e67397a73c468e539c426c6629d398433b | [
"MIT"
] | 1 | 2019-05-03T21:48:29.000Z | 2019-05-03T21:48:29.000Z | RandomNumberGenerator/main.py | Gregory-Eales/QA-Reimplementations | bef0b3e67397a73c468e539c426c6629d398433b | [
"MIT"
] | null | null | null | RandomNumberGenerator/main.py | Gregory-Eales/QA-Reimplementations | bef0b3e67397a73c468e539c426c6629d398433b | [
"MIT"
] | null | null | null | import qsharp
from RandomNumberGenerator import GenerateRandomBit
print(GenerateRandomBit.simulate()) | 20.6 | 51 | 0.873786 | 9 | 103 | 10 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 103 | 5 | 52 | 20.6 | 0.947368 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83c11aa6cefea21e02adfeff7dd1105eb47e6da1 | 170 | py | Python | juniper_official/Solutions/Icmp-outlier/micro_milli.py | brahmastra2016/healthbot-rules | 1d24acd298266c39d6adb139ff47d14f8b2d452a | [
"Apache-2.0",
"BSD-3-Clause"
] | 43 | 2018-11-27T00:42:45.000Z | 2022-02-24T01:19:39.000Z | juniper_official/Solutions/Icmp-outlier/micro_milli.py | brahmastra2016/healthbot-rules | 1d24acd298266c39d6adb139ff47d14f8b2d452a | [
"Apache-2.0",
"BSD-3-Clause"
] | 266 | 2018-10-26T10:19:04.000Z | 2022-03-16T04:38:29.000Z | juniper_official/Solutions/Icmp-outlier/micro_milli.py | brahmastra2016/healthbot-rules | 1d24acd298266c39d6adb139ff47d14f8b2d452a | [
"Apache-2.0",
"BSD-3-Clause"
] | 99 | 2018-10-25T09:53:55.000Z | 2021-12-07T09:51:59.000Z | from __future__ import division
'''
This function converts micro seconds to milli seconds
'''
def rtt_micro_milli(micros, **kwargs):
return float(int(micros)/1000.0)
| 24.285714 | 53 | 0.758824 | 24 | 170 | 5.125 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034014 | 0.135294 | 170 | 6 | 54 | 28.333333 | 0.802721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
83c9422fd2e1c83ef9c55befc141c0f7e7d1fe8c | 8,492 | py | Python | image_filer/fields.py | emencia/django-image-filer | 488211bed90887891a3afe8266028021b7ea4f48 | [
"MIT"
] | null | null | null | image_filer/fields.py | emencia/django-image-filer | 488211bed90887891a3afe8266028021b7ea4f48 | [
"MIT"
] | null | null | null | image_filer/fields.py | emencia/django-image-filer | 488211bed90887891a3afe8266028021b7ea4f48 | [
"MIT"
] | null | null | null | from django.utils.translation import ugettext as _
from django.utils.text import truncate_words
from django.utils import simplejson
from django.db import models
from django import forms
from django.contrib.admin.widgets import ForeignKeyRawIdWidget
from django.core.urlresolvers import reverse
from django.utils.safestri... | 44.931217 | 151 | 0.639543 | 1,031 | 8,492 | 5.084384 | 0.190107 | 0.015261 | 0.01736 | 0.00992 | 0.757726 | 0.757726 | 0.757726 | 0.743609 | 0.727966 | 0.727966 | 0 | 0.002004 | 0.235987 | 8,492 | 188 | 152 | 45.170213 | 0.805949 | 0.103745 | 0 | 0.702532 | 0 | 0.025316 | 0.187516 | 0.075655 | 0.012658 | 0 | 0 | 0.005319 | 0 | 1 | 0.088608 | false | 0 | 0.094937 | 0 | 0.360759 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
83f9efa8791d32909ae3221b155abbb5a663c8a4 | 19,110 | py | Python | applied_python/applied_python/lib/python2.7/site-packages/pysnmp/hlapi/asyncore/cmdgen.py | mith1979/ansible_automation | 013dfa67c6d91720b787fadb21de574b6e023a26 | [
"Apache-2.0"
] | null | null | null | applied_python/applied_python/lib/python2.7/site-packages/pysnmp/hlapi/asyncore/cmdgen.py | mith1979/ansible_automation | 013dfa67c6d91720b787fadb21de574b6e023a26 | [
"Apache-2.0"
] | null | null | null | applied_python/applied_python/lib/python2.7/site-packages/pysnmp/hlapi/asyncore/cmdgen.py | mith1979/ansible_automation | 013dfa67c6d91720b787fadb21de574b6e023a26 | [
"Apache-2.0"
] | null | null | null | #
# This file is part of pysnmp software.
#
# Copyright (c) 2005-2016, Ilya Etingof <ilya@glas.net>
# License: http://pysnmp.sf.net/license.html
#
from pysnmp.entity.rfc3413 import cmdgen
from pysnmp.smi.rfc1902 import *
from pysnmp.hlapi.auth import *
from pysnmp.hlapi.context import *
from pysnmp.hlapi.lcd import *
f... | 41.096774 | 246 | 0.66044 | 1,990 | 19,110 | 6.330653 | 0.131156 | 0.032307 | 0.037149 | 0.040006 | 0.902207 | 0.902207 | 0.895221 | 0.87633 | 0.859422 | 0.853389 | 0 | 0.013134 | 0.23506 | 19,110 | 464 | 247 | 41.185345 | 0.84868 | 0.711617 | 0 | 0.54878 | 0 | 0 | 0.026211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.085366 | 0 | 0.280488 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7ad712f8b525d9e2383eeda1c6e528134b890c6 | 25 | py | Python | core/__init__.py | LorentzB/dl | c2af8498ba868abcd2ddb08eb9e4b4bb79594ba2 | [
"Apache-2.0"
] | 45 | 2018-12-30T14:19:37.000Z | 2021-01-28T08:16:41.000Z | core/__init__.py | LorentzB/dl | c2af8498ba868abcd2ddb08eb9e4b4bb79594ba2 | [
"Apache-2.0"
] | 23 | 2019-01-07T22:32:00.000Z | 2019-10-04T10:23:02.000Z | core/__init__.py | LorentzB/dl | c2af8498ba868abcd2ddb08eb9e4b4bb79594ba2 | [
"Apache-2.0"
] | 36 | 2019-01-11T21:38:02.000Z | 2021-01-28T08:16:53.000Z | from core.config import * | 25 | 25 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f7c9599c090e9ab6b48949bb745d604b363181f1 | 16,242 | py | Python | util/util.py | JinxedQAQ/Generating-Talking-Face-with-Controllable-Eye-Movements-by-Disentangled-Blinking-Feature | c1b68c010ccfb6b1d438dba97a1317ce0ae2aab8 | [
"MIT"
] | null | null | null | util/util.py | JinxedQAQ/Generating-Talking-Face-with-Controllable-Eye-Movements-by-Disentangled-Blinking-Feature | c1b68c010ccfb6b1d438dba97a1317ce0ae2aab8 | [
"MIT"
] | null | null | null | util/util.py | JinxedQAQ/Generating-Talking-Face-with-Controllable-Eye-Movements-by-Disentangled-Blinking-Feature | c1b68c010ccfb6b1d438dba97a1317ce0ae2aab8 | [
"MIT"
] | null | null | null | from __future__ import print_function
import torch
import numpy as np
from PIL import Image
import inspect, re
import torch.nn as nn
import os
from Options_all import BaseOptions
import collections
config = BaseOptions().parse()
def tensor2im(image_tensor, imtype=np.uint8):
image_numpy = image_tensor[0].cpu().flo... | 47.35277 | 142 | 0.683721 | 2,095 | 16,242 | 5.011456 | 0.092601 | 0.070292 | 0.074293 | 0.053338 | 0.824459 | 0.813411 | 0.798838 | 0.780932 | 0.780932 | 0.776645 | 0 | 0.006298 | 0.188647 | 16,242 | 343 | 143 | 47.35277 | 0.790408 | 0.087551 | 0 | 0.651246 | 0 | 0.007117 | 0.131387 | 0.003109 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081851 | false | 0 | 0.032028 | 0 | 0.170819 | 0.13879 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7ed6ab1bb0893e0f19fc7df71d259bba0bd3d2f | 82 | py | Python | test/__init__.py | zampanteymedio/gym-satellite-trajectory | 5bd0d951db21d2ccf8ec928707a0f8e10dd6092f | [
"Apache-2.0"
] | 2 | 2020-05-07T12:04:08.000Z | 2021-01-04T14:25:20.000Z | test/__init__.py | zampanteymedio/gym-satellite-trajectory | 5bd0d951db21d2ccf8ec928707a0f8e10dd6092f | [
"Apache-2.0"
] | null | null | null | test/__init__.py | zampanteymedio/gym-satellite-trajectory | 5bd0d951db21d2ccf8ec928707a0f8e10dd6092f | [
"Apache-2.0"
] | 1 | 2021-12-15T08:30:31.000Z | 2021-12-15T08:30:31.000Z | import gym_satellite_trajectory
gym_satellite_trajectory.register_environments()
| 20.5 | 48 | 0.914634 | 9 | 82 | 7.777778 | 0.666667 | 0.342857 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 82 | 3 | 49 | 27.333333 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f7f969d3f63f785ff953f69cad230024a7cf5eae | 243 | py | Python | PyEvolv/assets/font.py | peerlator/PyEvolv | 7f5644e2ea22257f34547c9b050bc4cdd4f3bdec | [
"MIT"
] | 1 | 2018-08-02T19:42:35.000Z | 2018-08-02T19:42:35.000Z | PyEvolv/assets/font.py | peerlator/PyEvolv | 7f5644e2ea22257f34547c9b050bc4cdd4f3bdec | [
"MIT"
] | 1 | 2018-08-02T19:41:58.000Z | 2018-08-05T17:53:17.000Z | PyEvolv/assets/font.py | peerlator/PyEvolv | 7f5644e2ea22257f34547c9b050bc4cdd4f3bdec | [
"MIT"
] | null | null | null | import pygame
import PyEvolv
import os
pygame.font.init()
path = os.path.join(PyEvolv.__path__[0], 'assets', 'Arial.ttf')
FONT = pygame.font.Font(path, 20)
def get_font(size:int) -> pygame.font.Font:
return pygame.font.Font(path, size)
| 20.25 | 63 | 0.720165 | 39 | 243 | 4.358974 | 0.461538 | 0.235294 | 0.247059 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.123457 | 243 | 11 | 64 | 22.090909 | 0.784038 | 0 | 0 | 0 | 0 | 0 | 0.061983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
79016fa6c6014fafe5eec382b6be4da591309ba9 | 32 | py | Python | edureka.py | jatin06/learning-git | 4e531193a95f6dc8daeb5c4c7a15a2fe786583ae | [
"MIT"
] | null | null | null | edureka.py | jatin06/learning-git | 4e531193a95f6dc8daeb5c4c7a15a2fe786583ae | [
"MIT"
] | null | null | null | edureka.py | jatin06/learning-git | 4e531193a95f6dc8daeb5c4c7a15a2fe786583ae | [
"MIT"
] | null | null | null | print ("welcome to edureka!! ")
| 16 | 31 | 0.65625 | 4 | 32 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f708b00b0a9edc4940fa8641402e3307b8e92005 | 21,917 | py | Python | motion/components/structural.py | TUM-AAS/motron | 2f8800d1d6e297fc4baab555ceb2d37f55841406 | [
"MIT"
] | null | null | null | motion/components/structural.py | TUM-AAS/motron | 2f8800d1d6e297fc4baab555ceb2d37f55841406 | [
"MIT"
] | null | null | null | motion/components/structural.py | TUM-AAS/motron | 2f8800d1d6e297fc4baab555ceb2d37f55841406 | [
"MIT"
] | null | null | null | from typing import Tuple, Optional, List, Union
import torch
from torch.nn import *
import math
def gmm(x: torch.Tensor, w: torch.Tensor) -> torch.Tensor:
return torch.einsum('ndo,bnd->bno', w, x)
class GraphLinear(Module):
def __init__(self, in_features: int, out_features: int):
super().__init__()
... | 42.067179 | 149 | 0.60793 | 2,823 | 21,917 | 4.505136 | 0.069075 | 0.073754 | 0.048435 | 0.029722 | 0.821591 | 0.791634 | 0.763799 | 0.747602 | 0.730775 | 0.704356 | 0 | 0.008069 | 0.293197 | 21,917 | 520 | 150 | 42.148077 | 0.812924 | 0.080166 | 0 | 0.671795 | 0 | 0 | 0.036748 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 1 | 0.058974 | false | 0 | 0.010256 | 0.012821 | 0.120513 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f70d94efdaf5515a4cd7eccef6c077140b0a5904 | 24 | py | Python | sitgan/data/__init__.py | clintonjwang/sitgan | 05210ec13073bcca9b4dbff798fb626d963082dc | [
"MIT"
] | null | null | null | sitgan/data/__init__.py | clintonjwang/sitgan | 05210ec13073bcca9b4dbff798fb626d963082dc | [
"MIT"
] | null | null | null | sitgan/data/__init__.py | clintonjwang/sitgan | 05210ec13073bcca9b4dbff798fb626d963082dc | [
"MIT"
] | null | null | null | from . import transforms | 24 | 24 | 0.833333 | 3 | 24 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f71454f89dd5ee3d75234b5625c7636f0d8d8344 | 99 | py | Python | vecino/__init__.py | sniperkit/snk.fork.vecino | a140171795e68fb7c9e26a72a585bd6aeb4e35a9 | [
"Apache-2.0"
] | null | null | null | vecino/__init__.py | sniperkit/snk.fork.vecino | a140171795e68fb7c9e26a72a585bd6aeb4e35a9 | [
"Apache-2.0"
] | null | null | null | vecino/__init__.py | sniperkit/snk.fork.vecino | a140171795e68fb7c9e26a72a585bd6aeb4e35a9 | [
"Apache-2.0"
] | null | null | null | from vecino.similar_repositories import SimilarRepositories
from vecino.__main__ import initialize
| 33 | 59 | 0.89899 | 11 | 99 | 7.636364 | 0.727273 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 99 | 2 | 60 | 49.5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f76ec68c45d675b6309efe38899c12a7eeb80587 | 22,566 | py | Python | tunnistamo/attribute-maps/basic.py | seitztimo/tunnistamo | 666601489d38ab168f9a2e2020f7441c233282a9 | [
"MIT"
] | 8 | 2018-11-13T06:05:07.000Z | 2021-09-18T22:01:52.000Z | tunnistamo/attribute-maps/basic.py | seitztimo/tunnistamo | 666601489d38ab168f9a2e2020f7441c233282a9 | [
"MIT"
] | 185 | 2017-06-08T12:48:47.000Z | 2022-03-22T08:26:36.000Z | tunnistamo/attribute-maps/basic.py | seitztimo/tunnistamo | 666601489d38ab168f9a2e2020f7441c233282a9 | [
"MIT"
] | 19 | 2017-06-08T13:02:37.000Z | 2021-02-15T13:10:35.000Z |
MAP = {
"identifier": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"fro": {
'urn:mace:dir:attribute-def:aRecord': 'aRecord',
'urn:mace:dir:attribute-def:aliasedEntryName': 'aliasedEntryName',
'urn:mace:dir:attribute-def:aliasedObjectName': 'aliasedObjectName',
'urn:mace:... | 69.009174 | 100 | 0.701143 | 2,240 | 22,566 | 7.063393 | 0.079018 | 0.14069 | 0.200986 | 0.381873 | 0.993806 | 0.993806 | 0 | 0 | 0 | 0 | 0 | 0.002584 | 0.14256 | 22,566 | 326 | 101 | 69.220859 | 0.815133 | 0 | 0 | 0 | 0 | 0 | 0.771903 | 0.628363 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.006154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f76f73db71618f83a909dd91b3b6d7600d69cb56 | 103 | py | Python | client/src/state/end/__init__.py | juan-nunez/Space_combat | e732ef932e89c404827ac0c96aebb4f0446cefdf | [
"MIT"
] | null | null | null | client/src/state/end/__init__.py | juan-nunez/Space_combat | e732ef932e89c404827ac0c96aebb4f0446cefdf | [
"MIT"
] | null | null | null | client/src/state/end/__init__.py | juan-nunez/Space_combat | e732ef932e89c404827ac0c96aebb4f0446cefdf | [
"MIT"
] | null | null | null | from end_view import EndView
from end_controller import EndController
from end_state import EndState | 34.333333 | 41 | 0.864078 | 15 | 103 | 5.733333 | 0.6 | 0.244186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 103 | 3 | 42 | 34.333333 | 0.966292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f79680a0c71d535b98147a243b6f5b9eba0e8f0a | 105 | py | Python | app/api/__init__.py | saury2013/Memento | dbb2031a5aff3064f40bcb5afe631de8724a547e | [
"MIT"
] | null | null | null | app/api/__init__.py | saury2013/Memento | dbb2031a5aff3064f40bcb5afe631de8724a547e | [
"MIT"
] | null | null | null | app/api/__init__.py | saury2013/Memento | dbb2031a5aff3064f40bcb5afe631de8724a547e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from flask import Blueprint
api = Blueprint("api",__name__)
import app.api.view | 21 | 31 | 0.695238 | 15 | 105 | 4.6 | 0.733333 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.142857 | 105 | 5 | 32 | 21 | 0.755556 | 0.2 | 0 | 0 | 0 | 0 | 0.036145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
e3bb9c8068ae4cb97c00893207e0796e5d319a4b | 4,778 | py | Python | decryption.py | saivarunr/zemoso-training | 56a6f52336d03457d42c76e704264de3edd7bbd5 | [
"Apache-2.0"
] | null | null | null | decryption.py | saivarunr/zemoso-training | 56a6f52336d03457d42c76e704264de3edd7bbd5 | [
"Apache-2.0"
] | null | null | null | decryption.py | saivarunr/zemoso-training | 56a6f52336d03457d42c76e704264de3edd7bbd5 | [
"Apache-2.0"
] | null | null | null | from itertools import product
input_data=[79,59,12,2,79,35,8,28,20,2,3,68,8,9,68,45,0,12,9,67,68,4,7,5,23,27,1,21,79,85,78,79,85,71,38,10,71,27,12,2,79,6,2,8,13,9,1,13,9,8,68,19,7,1,71,56,11,21,11,68,6,3,22,2,14,0,30,79,1,31,6,23,19,10,0,73,79,44,2,79,19,6,28,68,16,6,16,15,79,35,8,11,72,71,14,10,3,79,12,2,79,19,6,28,68... | 113.761905 | 3,214 | 0.648179 | 1,477 | 4,778 | 2.083954 | 0.109682 | 0.019493 | 0.019493 | 0.015595 | 0.344704 | 0.240416 | 0.165692 | 0.146524 | 0.122807 | 0.089994 | 0 | 0.454788 | 0.060276 | 4,778 | 41 | 3,215 | 116.536585 | 0.230735 | 0.116785 | 0 | 0.282051 | 0 | 0 | 0.033223 | 0.01495 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.179487 | 0.025641 | null | null | 0.128205 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e3c172556f06dc93e0a3f1567026c8baeebb5771 | 390 | py | Python | odoo-13.0/addons/website_sale/tests/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/website_sale/tests/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/website_sale/tests/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | from . import test_customize
from . import test_sale_process
from . import test_sitemap
from . import test_website_sale_cart_recovery
from . import test_website_sale_mail
from . import test_website_sale_pricelist
from . import test_website_sale_product_attribute_value_config
from . import test_website_sale_image
from .... | 35.454545 | 62 | 0.871795 | 58 | 390 | 5.37931 | 0.327586 | 0.320513 | 0.448718 | 0.471154 | 0.480769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 390 | 10 | 63 | 39 | 0.891429 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3d7d80ddd4ee85d9074585b279a68b17e3c546d | 7,168 | py | Python | cloudify_kubernetes/tests/test_k8s_operations.py | ahmadiesa-abu/cloudify-kubernetes-plugin | 3f5363e82f12bb97dafee178c972491898f54680 | [
"Apache-2.0"
] | null | null | null | cloudify_kubernetes/tests/test_k8s_operations.py | ahmadiesa-abu/cloudify-kubernetes-plugin | 3f5363e82f12bb97dafee178c972491898f54680 | [
"Apache-2.0"
] | null | null | null | cloudify_kubernetes/tests/test_k8s_operations.py | ahmadiesa-abu/cloudify-kubernetes-plugin | 3f5363e82f12bb97dafee178c972491898f54680 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2017-2019 Cloudify Platform Ltd. 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 ... | 36.948454 | 74 | 0.5851 | 752 | 7,168 | 5.430851 | 0.194149 | 0.052889 | 0.101371 | 0.015671 | 0.778893 | 0.777669 | 0.753183 | 0.708619 | 0.702742 | 0.702742 | 0 | 0.002685 | 0.2726 | 7,168 | 193 | 75 | 37.139896 | 0.780591 | 0.08245 | 0 | 0.727273 | 0 | 0 | 0.151455 | 0 | 0 | 0 | 0 | 0 | 0.237762 | 1 | 0.083916 | false | 0 | 0.034965 | 0 | 0.146853 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5405c8787d6e6b818fc3731d729e6bd0c32ec734 | 5,593 | py | Python | tests/sqlite/schema/test_table_diff.py | resmo/orm | 4e10708409e9c95a793b0a8b585095c679a56053 | [
"MIT"
] | null | null | null | tests/sqlite/schema/test_table_diff.py | resmo/orm | 4e10708409e9c95a793b0a8b585095c679a56053 | [
"MIT"
] | null | null | null | tests/sqlite/schema/test_table_diff.py | resmo/orm | 4e10708409e9c95a793b0a8b585095c679a56053 | [
"MIT"
] | null | null | null | import unittest
from src.masoniteorm.schema import Column, Table
from src.masoniteorm.schema.platforms.SQLitePlatform import SQLitePlatform
from src.masoniteorm.schema.TableDiff import TableDiff
class TestTableDiff(unittest.TestCase):
def setUp(self):
self.platform = SQLitePlatform()
def test_rename... | 34.103659 | 109 | 0.617736 | 654 | 5,593 | 5.044343 | 0.084098 | 0.075781 | 0.042437 | 0.051834 | 0.835708 | 0.788421 | 0.788421 | 0.777508 | 0.730524 | 0.6505 | 0 | 0 | 0.272305 | 5,593 | 163 | 110 | 34.312883 | 0.810565 | 0 | 0 | 0.66129 | 0 | 0.008065 | 0.333989 | 0 | 0 | 0 | 0 | 0 | 0.072581 | 1 | 0.080645 | false | 0 | 0.032258 | 0 | 0.120968 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5827b4a9631cbb8e1d7c0f1295ec9c7e2cbcebfc | 17 | py | Python | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/anonymization/data/variables/in_2_reassignment.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 8 | 2021-01-19T21:15:54.000Z | 2022-02-23T19:16:25.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/anonymization/data/variables/in_2_reassignment.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 4 | 2020-11-17T14:28:25.000Z | 2022-02-24T07:54:28.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/anonymization/data/variables/in_2_reassignment.py | nbirillo/ast-transformations | 717706765a2da29087a0de768fc851698886dd65 | [
"MIT"
] | 1 | 2022-02-23T19:16:30.000Z | 2022-02-23T19:16:30.000Z | x = 1
x = 2
x = 3 | 5.666667 | 5 | 0.352941 | 6 | 17 | 1 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.470588 | 17 | 3 | 6 | 5.666667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
583809c77aa1767c941aa3d03abe177d99b07a90 | 40 | py | Python | openmedicalio/__init__.py | openmedicalio/openmedicalio | 1806428b7badb0276e07523af5289e122b5bd893 | [
"MIT"
] | 1 | 2019-09-29T15:51:09.000Z | 2019-09-29T15:51:09.000Z | openmedicalio/__init__.py | openmedicalio/openmedicalio | 1806428b7badb0276e07523af5289e122b5bd893 | [
"MIT"
] | null | null | null | openmedicalio/__init__.py | openmedicalio/openmedicalio | 1806428b7badb0276e07523af5289e122b5bd893 | [
"MIT"
] | null | null | null | from openmedicalio.client import Client
| 20 | 39 | 0.875 | 5 | 40 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
585646d454787e7bb120d9ea6359f88eafc3c72f | 618,655 | py | Python | Petya.py | LinarAbdrazakov/HungryGeese | 053a492f47e105a84ed413b67841aa12c967f03e | [
"MIT"
] | null | null | null | Petya.py | LinarAbdrazakov/HungryGeese | 053a492f47e105a84ed413b67841aa12c967f03e | [
"MIT"
] | null | null | null | Petya.py | LinarAbdrazakov/HungryGeese | 053a492f47e105a84ed413b67841aa12c967f03e | [
"MIT"
] | null | null | null | import pickle
import bz2
import base64
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
import math
import time
from copy import deepcopy
from kaggle_environments.envs.hungry_geese.hungry_geese import Action, translate
from kaggle_environments.helpers import histogram
# The model’s ... | 2,015.162866 | 607,595 | 0.961119 | 19,918 | 618,655 | 29.840596 | 0.905563 | 0.000074 | 0.000076 | 0.00013 | 0.002663 | 0.002145 | 0.00147 | 0.000917 | 0.000634 | 0.000496 | 0 | 0.154846 | 0.006181 | 618,655 | 306 | 607,596 | 2,021.748366 | 0.811867 | 0.001216 | 0 | 0.145923 | 0 | 0.004292 | 0.983349 | 0.983345 | 0 | 1 | 0 | 0 | 0 | 1 | 0.072961 | false | 0 | 0.051502 | 0.008584 | 0.201717 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.