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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7f192bbcfb0c0caa454be2968c2d28896e3af004 | 231 | py | Python | lab/__init__.py | vidhiJain/lab | 43a3eb2aa3121b226c849690e636dcd4c04a49cf | [
"MIT"
] | null | null | null | lab/__init__.py | vidhiJain/lab | 43a3eb2aa3121b226c849690e636dcd4c04a49cf | [
"MIT"
] | null | null | null | lab/__init__.py | vidhiJain/lab | 43a3eb2aa3121b226c849690e636dcd4c04a49cf | [
"MIT"
] | 1 | 2020-10-02T01:46:45.000Z | 2020-10-02T01:46:45.000Z | from pathlib import PurePath
from lab.internal.lab import lab_singleton as _internal
def get_data_path() -> PurePath:
return _internal().data_path
def get_experiments_path() -> PurePath:
return _internal().experiments
| 19.25 | 55 | 0.770563 | 30 | 231 | 5.633333 | 0.466667 | 0.071006 | 0.213018 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 231 | 11 | 56 | 21 | 0.862245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
6195eb5226f5851ba579ab951236a8778353fb96 | 1,562 | py | Python | laygo/generators/adc_sar/adc_sar_sarabe_dualdelay_fullstack_generator.py | tinapiao/Software-IC-Automation | 74b23cd94aa6e4658b110e93b5deb635e014f3a6 | [
"BSD-3-Clause"
] | 26 | 2017-07-07T08:06:31.000Z | 2021-11-25T06:41:24.000Z | laygo/generators/adc_sar/adc_sar_sarabe_dualdelay_fullstack_generator.py | tinapiao/Software-IC-Automation | 74b23cd94aa6e4658b110e93b5deb635e014f3a6 | [
"BSD-3-Clause"
] | 9 | 2016-12-28T03:08:29.000Z | 2019-01-30T16:00:28.000Z | laygo/generators/adc_sar/adc_sar_sarabe_dualdelay_fullstack_generator.py | tinapiao/Software-IC-Automation | 74b23cd94aa6e4658b110e93b5deb635e014f3a6 | [
"BSD-3-Clause"
] | 10 | 2018-07-14T01:31:28.000Z | 2021-08-21T10:18:30.000Z | def execfile(filepath, globals=None, locals=None):
if globals is None:
globals = {}
globals.update({
"__file__": filepath,
"__name__": "__main__",
})
import os
with open(filepath, 'rb') as file:
exec(compile(file.read(), filepath, 'exec'), globals, locals)
files=[
... | 45.941176 | 82 | 0.770166 | 220 | 1,562 | 4.986364 | 0.231818 | 0.185962 | 0.278943 | 0.325433 | 0.772106 | 0.772106 | 0.772106 | 0.772106 | 0.718323 | 0.401094 | 0 | 0.000725 | 0.117157 | 1,562 | 33 | 83 | 47.333333 | 0.794779 | 0.227273 | 0 | 0 | 0 | 0 | 0.629475 | 0.604496 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.04 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 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 | 8 |
61b9bcf52749bd8251d7031883060c1cf7288fd1 | 28,602 | py | Python | source/deepsecurity/api/policy_intrusion_prevention_rule_details_api.py | felipecosta09/cloudone-workload-controltower-lifecycle | 7927c84d164058b034fc872701b5ee117641f4d1 | [
"Apache-2.0"
] | 1 | 2021-10-30T16:40:09.000Z | 2021-10-30T16:40:09.000Z | source/deepsecurity/api/policy_intrusion_prevention_rule_details_api.py | felipecosta09/cloudone-workload-controltower-lifecycle | 7927c84d164058b034fc872701b5ee117641f4d1 | [
"Apache-2.0"
] | 1 | 2021-07-28T20:19:03.000Z | 2021-07-28T20:19:03.000Z | source/deepsecurity/api/policy_intrusion_prevention_rule_details_api.py | felipecosta09/cloudone-workload-controltower-lifecycle | 7927c84d164058b034fc872701b5ee117641f4d1 | [
"Apache-2.0"
] | 1 | 2021-10-30T16:40:02.000Z | 2021-10-30T16:40:02.000Z | # coding: utf-8
"""
Trend Micro Deep Security API
Copyright 2018 - 2020 Trend Micro Incorporated.<br/>Get protected, stay secured, and keep informed with Trend Micro Deep Security's new RESTful API. Access system data and manage security configurations to automate your security workflows and integrate De... | 54.48 | 311 | 0.661562 | 3,387 | 28,602 | 5.307352 | 0.063183 | 0.147975 | 0.161215 | 0.0751 | 0.956664 | 0.956664 | 0.952381 | 0.944927 | 0.941422 | 0.936526 | 0 | 0.01479 | 0.257744 | 28,602 | 524 | 312 | 54.583969 | 0.831936 | 0.335921 | 0 | 0.780488 | 0 | 0 | 0.316468 | 0.156392 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031359 | false | 0 | 0.013937 | 0 | 0.090592 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
61c0e7b1dfd9f12efe00b70b7e0544377cfe3963 | 733 | py | Python | nnfs/initializers.py | tblut/NNFS | 75320c546043bc74f368a7a6edcd8bb70aa90dc4 | [
"MIT"
] | null | null | null | nnfs/initializers.py | tblut/NNFS | 75320c546043bc74f368a7a6edcd8bb70aa90dc4 | [
"MIT"
] | null | null | null | nnfs/initializers.py | tblut/NNFS | 75320c546043bc74f368a7a6edcd8bb70aa90dc4 | [
"MIT"
] | null | null | null | import numpy as np
def zeros(n_inputs, n_outputs):
return np.zeros((n_inputs, n_outputs))
def ones(n_inputs, n_outputs):
return np.ones((n_inputs, n_outputs))
def glorot_uniform(n_inputs, n_outputs):
x = np.sqrt(6.0 / (n_inputs + n_outputs))
return np.random.uniform(-x, x, (n_inputs, n_outputs))
... | 24.433333 | 60 | 0.686221 | 132 | 733 | 3.55303 | 0.166667 | 0.238806 | 0.238806 | 0.447761 | 0.96162 | 0.884861 | 0.707889 | 0.707889 | 0.673774 | 0.673774 | 0 | 0.019704 | 0.169168 | 733 | 29 | 61 | 25.275862 | 0.750411 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0.058824 | 0.117647 | 0.764706 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 11 |
61c528bc66bdb157d79650c97142881cd091ebdf | 47,501 | py | Python | reviewboard/reviews/tests/test_conditions.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | reviewboard/reviews/tests/test_conditions.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | reviewboard/reviews/tests/test_conditions.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | import re
from django.contrib.auth.models import User
from django.test.client import RequestFactory
from djblets.conditions import ConditionSet, Condition
from reviewboard.reviews.conditions import (AnyReviewGroupsPublicOperator,
AllReviewGroupsInviteOnlyOperator,
... | 40.460818 | 79 | 0.640029 | 4,717 | 47,501 | 6.193767 | 0.03604 | 0.100561 | 0.056955 | 0.086425 | 0.902143 | 0.892764 | 0.874315 | 0.837486 | 0.815375 | 0.78902 | 0 | 0.00756 | 0.2593 | 47,501 | 1,173 | 80 | 40.495311 | 0.822817 | 0.101135 | 0 | 0.88404 | 0 | 0 | 0.039464 | 0 | 0 | 0 | 0 | 0 | 0.150873 | 1 | 0.087282 | false | 0 | 0.009975 | 0 | 0.120948 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f6061634c60d10a477fc4c5ce11b1339ea159345 | 15 | py | Python | python/testData/intentions/PyConvertToFStringIntentionTest/percentOperatorSingleExpression.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/PyConvertToFStringIntentionTest/percentOperatorSingleExpression.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/PyConvertToFStringIntentionTest/percentOperatorSingleExpression.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | u'%04.5r' % 42
| 7.5 | 14 | 0.466667 | 4 | 15 | 1.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0.2 | 15 | 1 | 15 | 15 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f60fdb9ebb7ae1d6be3fd2e06e75691f189c66ef | 7,200 | py | Python | input_day13.py | jb790419/aoc | 2177cb27a3d16e4c8242c5a7224a2cb1137bb2bc | [
"MIT"
] | null | null | null | input_day13.py | jb790419/aoc | 2177cb27a3d16e4c8242c5a7224a2cb1137bb2bc | [
"MIT"
] | null | null | null | input_day13.py | jb790419/aoc | 2177cb27a3d16e4c8242c5a7224a2cb1137bb2bc | [
"MIT"
] | null | null | null | data = [1,380,379,385,1008,2639,310356,381,1005,381,12,99,109,2640,1101,0,0,383,1101,0,0,382,20102,1,382,1,21002,383,1,2,21101,0,37,0,1105,1,578,4,382,4,383,204,1,1001,382,1,382,1007,382,40,381,1005,381,22,1001,383,1,383,1007,383,25,381,1005,381,18,1006,385,69,99,104,-1,104,0,4,386,3,384,1007,384,0,381,1005,381,94,107,... | 3,600 | 7,199 | 0.622639 | 2,641 | 7,200 | 1.697463 | 0.073078 | 0.176221 | 0.201428 | 0.233772 | 0.336159 | 0.313629 | 0.276154 | 0.266786 | 0.262324 | 0.245818 | 0 | 0.622343 | 0.000417 | 7,200 | 1 | 7,200 | 7,200 | 0.000556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 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 | 8 |
f62d5a2a6376de3416b7858393717a68e9f4e28a | 577 | py | Python | wrapper/pijuice_mock/status.py | toschoch/docker-rpi-pijuice-mqtt | 6571635c0e6370c4433023eb07c5c46a9fe4a070 | [
"MIT"
] | null | null | null | wrapper/pijuice_mock/status.py | toschoch/docker-rpi-pijuice-mqtt | 6571635c0e6370c4433023eb07c5c46a9fe4a070 | [
"MIT"
] | null | null | null | wrapper/pijuice_mock/status.py | toschoch/docker-rpi-pijuice-mqtt | 6571635c0e6370c4433023eb07c5c46a9fe4a070 | [
"MIT"
] | null | null | null | def GetChargeLevel():
return {'data': 42, 'error': 'NO_ERROR'}
def GetBatteryTemperature():
return {'data': 25.4, 'error': 'NO_ERROR'}
def GetBatteryVoltage():
return {'data': 3111, 'error': 'NO_ERROR'}
def GetBatteryCurrent():
return {'data': 800, 'error': 'NO_ERROR'}
def GetIoVoltage():
re... | 19.233333 | 46 | 0.606586 | 61 | 577 | 5.622951 | 0.393443 | 0.204082 | 0.244898 | 0.262391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04329 | 0.199307 | 577 | 29 | 47 | 19.896552 | 0.699134 | 0 | 0 | 0 | 0 | 0 | 0.289428 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | true | 0 | 0 | 0.411765 | 0.823529 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
f63ff1d26c3354527ebe2ba5cdec34209ca3b269 | 2,120 | py | Python | PythonThread-Goroutine/1114. ๆๅบๆๅฐ.py | Lcoderfit/Introduction-to-algotithms | aea2630be6ca2c60186593d6e66b0a59e56dc848 | [
"MIT"
] | 3 | 2018-08-25T16:14:16.000Z | 2019-10-15T22:25:32.000Z | PythonThread-Goroutine/1114. ๆๅบๆๅฐ.py | Lcoderfit/Introduction-to-algotithms | aea2630be6ca2c60186593d6e66b0a59e56dc848 | [
"MIT"
] | null | null | null | PythonThread-Goroutine/1114. ๆๅบๆๅฐ.py | Lcoderfit/Introduction-to-algotithms | aea2630be6ca2c60186593d6e66b0a59e56dc848 | [
"MIT"
] | 1 | 2019-10-08T09:03:48.000Z | 2019-10-08T09:03:48.000Z | # from threading import Lock
#
# class Foo:
# def __init__(self):
# self.first_job_done = Lock()
# self.second_job_done = Lock()
# self.first_job_done.acquire()
# self.second_job_done.acquire()
#
#
# def first(self, printFirst: 'Callable[[], None]') -> None:
# # printFirs... | 29.444444 | 82 | 0.570755 | 235 | 2,120 | 4.944681 | 0.174468 | 0.096386 | 0.082616 | 0.110155 | 0.895009 | 0.851119 | 0.851119 | 0.851119 | 0.851119 | 0.851119 | 0 | 0 | 0.287736 | 2,120 | 71 | 83 | 29.859155 | 0.769536 | 0.85283 | 0 | 0 | 0 | 0 | 0.093878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f640c21e2b24dd68ee6fd03e3b2d02755d571b2d | 20,769 | py | Python | release/stubs.min/Wms/RemotingImplementation/Logging/NLogExtensions/__init__.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/Wms/RemotingImplementation/Logging/NLogExtensions/__init__.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/Wms/RemotingImplementation/Logging/NLogExtensions/__init__.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | # encoding: utf-8
# module Wms.RemotingImplementation.Logging.NLogExtensions calls itself NLogExtensions
# from Wms.RemotingImplementation,Version=1.23.1.0,Culture=neutral,PublicKeyToken=null
# by generator 1.145
# no doc
# no important
from System.Collections.Generic import *
from ..__init__ import *
# no functions
#... | 38.675978 | 214 | 0.739516 | 2,167 | 20,769 | 6.707891 | 0.046608 | 0.064392 | 0.042928 | 0.050977 | 0.869496 | 0.869496 | 0.869496 | 0.869496 | 0.869496 | 0.869496 | 0 | 0.000547 | 0.119264 | 20,769 | 536 | 215 | 38.748134 | 0.794118 | 0.535269 | 0 | 0.911585 | 0 | 0 | 0.002569 | 0.002569 | 0 | 0 | 0 | 0 | 0 | 1 | 0.435976 | false | 0.396341 | 0.006098 | 0 | 0.603659 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
f65c8fde4a23a441789bee795922fc9c1bd0c879 | 4,518 | py | Python | dateparser/data/numeral_translation_data/fo.py | bazingarj/dateparser | 48c4563fb7f6ce685fbd6d27e9e83257521d2203 | [
"BSD-3-Clause"
] | 8 | 2019-11-15T21:00:15.000Z | 2021-12-21T22:09:42.000Z | dateparser/data/numeral_translation_data/fo.py | bazingarj/dateparser | 48c4563fb7f6ce685fbd6d27e9e83257521d2203 | [
"BSD-3-Clause"
] | 9 | 2020-06-05T21:28:57.000Z | 2022-02-12T12:30:39.000Z | dateparser/data/numeral_translation_data/fo.py | bazingarj/dateparser | 48c4563fb7f6ce685fbd6d27e9e83257521d2203 | [
"BSD-3-Clause"
] | 21 | 2019-03-11T04:25:23.000Z | 2022-02-03T08:54:33.000Z | # -*- coding: utf-8 -*-
info = {
"%spellout-cardinal-feminine": {
"0": "null;",
"1": "ein;",
"2": "tvรฆr;",
"3": "trรญggjar;",
"4": "fรฝre;",
"(5, 19)": "=%spellout-cardinal-masculine=;",
"(20, 29)": "tjรบgo[ยญ>>];",
"(30, 39)": "trรญati[ยญ>>];",
"(40... | 43.028571 | 102 | 0.469677 | 401 | 4,518 | 5.374065 | 0.286783 | 0.17819 | 0.14478 | 0.013921 | 0.853364 | 0.844084 | 0.844084 | 0.844084 | 0.844084 | 0.844084 | 0 | 0.247052 | 0.249225 | 4,518 | 105 | 103 | 43.028571 | 0.378538 | 0.004648 | 0 | 0.644231 | 0 | 0 | 0.652358 | 0.192393 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9c8f159a529adf3ed28d67550eca2e2839504ec3 | 82,223 | py | Python | tug_diagnosis/tug_diagnosis/scripts/pymbd/benchmark/tug_description_parser/model.py | annajohny/sdp | 2f66e226fc335ae357001d07fbc74d30ab469509 | [
"BSD-3-Clause"
] | null | null | null | tug_diagnosis/tug_diagnosis/scripts/pymbd/benchmark/tug_description_parser/model.py | annajohny/sdp | 2f66e226fc335ae357001d07fbc74d30ab469509 | [
"BSD-3-Clause"
] | null | null | null | tug_diagnosis/tug_diagnosis/scripts/pymbd/benchmark/tug_description_parser/model.py | annajohny/sdp | 2f66e226fc335ae357001d07fbc74d30ab469509 | [
"BSD-3-Clause"
] | null | null | null | from ab_constraint import AbConstraint
from observer import generate_model_parameter
from observers.base_observer import ab_pred
from sentences import PushSentence
from pymbd.sat.description import Description
from pymbd.sat.problem import Problem
from pymbd.sat.variable import Variable
from config_validator import Dia... | 55.481107 | 120 | 0.67891 | 9,352 | 82,223 | 5.726796 | 0.031544 | 0.040125 | 0.115522 | 0.179472 | 0.908229 | 0.892078 | 0.879175 | 0.876039 | 0.863753 | 0.847023 | 0 | 0.013663 | 0.182869 | 82,223 | 1,481 | 121 | 55.518569 | 0.78347 | 0.018644 | 0 | 0.764235 | 1 | 0 | 0.096247 | 0 | 0 | 0 | 0 | 0 | 0.048043 | 0 | null | null | 0.002669 | 0.009786 | null | null | 0.002669 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
9cd5b45e3d3484125d1ea4c797a0fb5ac9320df9 | 9,838 | py | Python | spg/models.py | pemami4911/sinkhorn-policy-gradient.pytorch | e029640397b77571b33df887f524b6ba2009e2c1 | [
"BSD-3-Clause"
] | 39 | 2018-05-22T15:36:02.000Z | 2021-11-10T01:14:58.000Z | spg/models.py | pemami4911/sinkhorn-policy-gradient.pytorch | e029640397b77571b33df887f524b6ba2009e2c1 | [
"BSD-3-Clause"
] | null | null | null | spg/models.py | pemami4911/sinkhorn-policy-gradient.pytorch | e029640397b77571b33df887f524b6ba2009e2c1 | [
"BSD-3-Clause"
] | 9 | 2018-05-22T15:46:57.000Z | 2021-09-30T15:48:46.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
import numpy as np
import math
from spg.layers import Sinkhorn
from spg.util import parallel_matching
from sklearn.utils.linear_assignment_ import linear_assignment
from pathos.multiprocessing import ProcessingPool as... | 40.319672 | 99 | 0.594125 | 1,394 | 9,838 | 3.979914 | 0.110473 | 0.061644 | 0.028839 | 0.030281 | 0.835076 | 0.80876 | 0.789654 | 0.719178 | 0.70584 | 0.68385 | 0 | 0.019256 | 0.292641 | 9,838 | 243 | 100 | 40.485597 | 0.777985 | 0.065359 | 0 | 0.673469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.05102 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9cfa3aef10415987de48e651bdd68917e8802a13 | 868 | py | Python | scripts/exp_scripts/src/logparse/write_array_to_file.py | MobilityFirst/GNS | 1eb5524457e0075dc9f451bd66e39f9291052eb8 | [
"Apache-2.0"
] | 17 | 2015-11-16T18:02:47.000Z | 2020-08-02T08:53:11.000Z | scripts/exp_scripts/src/logparse/write_array_to_file.py | MobilityFirst/GNS | 1eb5524457e0075dc9f451bd66e39f9291052eb8 | [
"Apache-2.0"
] | 63 | 2015-12-22T20:52:28.000Z | 2019-03-06T02:44:20.000Z | scripts/exp_scripts/src/logparse/write_array_to_file.py | MobilityFirst/GNS | 1eb5524457e0075dc9f451bd66e39f9291052eb8 | [
"Apache-2.0"
] | 62 | 2015-11-13T20:04:47.000Z | 2020-01-10T12:20:44.000Z | '''
Created on Mar 5, 2012
@author: abhigyan
'''
import os
def write_array(array,output_file, p = True):
if os.path.dirname(output_file) != '' and not os.path.exists(os.path.dirname(output_file)):
os.system('mkdir -p ' + os.path.dirname(output_file))
fw = open(output_file,'w')
for val in array:
... | 26.30303 | 95 | 0.59447 | 131 | 868 | 3.80916 | 0.274809 | 0.280561 | 0.156313 | 0.228457 | 0.717435 | 0.717435 | 0.717435 | 0.717435 | 0.717435 | 0.717435 | 0 | 0.007716 | 0.253456 | 868 | 32 | 96 | 27.125 | 0.762346 | 0 | 0 | 0.571429 | 0 | 0 | 0.06105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.047619 | null | null | 0.095238 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0d1d64a9cd06281da447b0c8a46403ee6b97b7a0 | 6,766 | py | Python | src/account/api/tests.py | geetesh-gupta/woc | a9ca0a30da11008024b4aa941751ef00ba4da53d | [
"MIT"
] | 2 | 2018-10-14T06:48:45.000Z | 2018-10-14T06:51:44.000Z | src/account/api/tests.py | geetesh-gupta/woc | a9ca0a30da11008024b4aa941751ef00ba4da53d | [
"MIT"
] | null | null | null | src/account/api/tests.py | geetesh-gupta/woc | a9ca0a30da11008024b4aa941751ef00ba4da53d | [
"MIT"
] | null | null | null | from django.test import TestCase
from django.shortcuts import reverse
from rest_framework import status
from account.models import StudentProfile
from account.models import MentorProfile
from django.contrib.auth.models import User
class StudentProfileViewSetTest(TestCase):
@classmethod
def setUpClass(cls):
... | 46.662069 | 120 | 0.659622 | 788 | 6,766 | 5.529188 | 0.120558 | 0.057379 | 0.100298 | 0.086527 | 0.88134 | 0.88134 | 0.88134 | 0.88134 | 0.880422 | 0.879275 | 0 | 0.025277 | 0.198936 | 6,766 | 144 | 121 | 46.986111 | 0.778598 | 0 | 0 | 0.738095 | 0 | 0 | 0.173367 | 0.064883 | 0 | 0 | 0 | 0 | 0.150794 | 1 | 0.119048 | false | 0.119048 | 0.047619 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
0d4c5168126102934625bd657da3d711b64bcc28 | 10,887 | py | Python | ce/ce_test.py | travelbureau/RareSim | 065f7b6f790544bd491ab8c52352d8ab4808fd99 | [
"MIT"
] | 9 | 2019-01-20T14:51:47.000Z | 2022-02-06T09:50:19.000Z | ce/ce_test.py | travelbureau/RareSim | 065f7b6f790544bd491ab8c52352d8ab4808fd99 | [
"MIT"
] | 1 | 2021-03-04T04:59:54.000Z | 2021-03-04T04:59:54.000Z | ce/ce_test.py | travelbureau/RareSim | 065f7b6f790544bd491ab8c52352d8ab4808fd99 | [
"MIT"
] | 3 | 2019-07-20T02:48:07.000Z | 2021-10-08T02:49:32.000Z | def test_objective(obs_v,obs_w,obs_x,obs_y,obs_gail,sockets=0,ic=0):
return .5*(np.sum(np.power(obs_v,2.)+np.power(obs_w,2.)+np.power(obs_x,2.)+np.power(obs_y,2.),0)+np.sum(np.power(obs_gail,2.),0))
def test_objective_simple(obs_v,obs_w,obs_x,obs_y,obs_gail,sockets=0,ic=0):
return obs_x[0,:]
def test_gradient(obs_v,o... | 48.172566 | 264 | 0.768072 | 2,120 | 10,887 | 3.567453 | 0.060377 | 0.071929 | 0.095994 | 0.034378 | 0.952664 | 0.94169 | 0.94169 | 0.94169 | 0.94169 | 0.94169 | 0 | 0.015676 | 0.06246 | 10,887 | 225 | 265 | 48.386667 | 0.725287 | 0.005603 | 0 | 0.878924 | 0 | 0 | 0.078721 | 0.008131 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.219731 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0d4e79de7f4cf2996b538bf9d4cb0c812bedbdaa | 26,674 | py | Python | tests/test_controllers_roi.py | hechth/vimms | ce5922578cf225d46cb285da8e7af97b5321f5aa | [
"MIT"
] | 11 | 2019-07-11T09:19:18.000Z | 2021-03-07T08:44:36.000Z | tests/test_controllers_roi.py | hechth/vimms | ce5922578cf225d46cb285da8e7af97b5321f5aa | [
"MIT"
] | 159 | 2019-12-11T14:41:40.000Z | 2021-03-31T19:47:08.000Z | tests/test_controllers_roi.py | hechth/vimms | ce5922578cf225d46cb285da8e7af97b5321f5aa | [
"MIT"
] | 4 | 2019-10-09T18:42:49.000Z | 2020-07-10T14:21:59.000Z | from loguru import logger
from tests.conftest import N_CHEMS, MIN_MS1_INTENSITY, get_rt_bounds, CENTRE_RANGE, run_environment, \
check_non_empty_MS2, check_mzML, OUT_DIR, BEER_CHEMS, BEER_MIN_BOUND, BEER_MAX_BOUND
from vimms.Box import LocatorGrid, IdentityDrift, AllOverlapGrid
from vimms.Common import POSITIVE, R... | 48.148014 | 120 | 0.657982 | 3,253 | 26,674 | 5.079004 | 0.049185 | 0.027963 | 0.032684 | 0.020337 | 0.956361 | 0.956361 | 0.954303 | 0.954303 | 0.953274 | 0.953274 | 0 | 0.021511 | 0.29242 | 26,674 | 553 | 121 | 48.235081 | 0.853873 | 0.175752 | 0 | 0.819892 | 0 | 0 | 0.077556 | 0.030684 | 0 | 0 | 0 | 0 | 0.026882 | 1 | 0.043011 | false | 0 | 0.021505 | 0 | 0.077957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2ea33dc751f26a2fb94d7e0cadef51408c2fc171 | 14,774 | py | Python | tests/e2e/interOp/validation_of_operating_modes/vlan_mode/client_connectivity_test/android/test_enterprise_ttls.py | dutta-rohan/wlan-testing | 77264245b62e21dff5f38c7eae74c22e0cdeefbb | [
"BSD-3-Clause"
] | 7 | 2020-08-19T16:45:46.000Z | 2022-02-10T09:55:22.000Z | tests/e2e/interOp/validation_of_operating_modes/vlan_mode/client_connectivity_test/android/test_enterprise_ttls.py | dutta-rohan/wlan-testing | 77264245b62e21dff5f38c7eae74c22e0cdeefbb | [
"BSD-3-Clause"
] | 47 | 2020-12-20T16:06:03.000Z | 2022-03-23T03:01:22.000Z | tests/e2e/interOp/validation_of_operating_modes/vlan_mode/client_connectivity_test/android/test_enterprise_ttls.py | dutta-rohan/wlan-testing | 77264245b62e21dff5f38c7eae74c22e0cdeefbb | [
"BSD-3-Clause"
] | 9 | 2021-02-04T22:32:06.000Z | 2021-12-14T17:45:51.000Z | from logging import exception
import unittest
import warnings
from perfecto.test import TestResultFactory
import pytest
import sys
import time
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.common.by import By
from appium import webdriver
from selenium.common.exceptions import NoS... | 49.246667 | 132 | 0.657439 | 1,619 | 14,774 | 5.717727 | 0.09265 | 0.086205 | 0.117965 | 0.08815 | 0.878794 | 0.85989 | 0.847791 | 0.806201 | 0.806201 | 0.799395 | 0 | 0.010766 | 0.245567 | 14,774 | 300 | 133 | 49.246667 | 0.819756 | 0.027142 | 0 | 0.752066 | 0 | 0 | 0.173046 | 0.007321 | 0 | 0 | 0 | 0 | 0.049587 | 1 | 0.024793 | false | 0.123967 | 0.057851 | 0 | 0.086777 | 0.049587 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
2c0f35c5c3be994d1b8412d22ea8e3a08238eb1c | 5,880 | py | Python | train/litmodules.py | urw7rs/light-steering | db43dd6d0fc2aedea35ceb8d9ec3e5665c35333d | [
"MIT"
] | null | null | null | train/litmodules.py | urw7rs/light-steering | db43dd6d0fc2aedea35ceb8d9ec3e5665c35333d | [
"MIT"
] | null | null | null | train/litmodules.py | urw7rs/light-steering | db43dd6d0fc2aedea35ceb8d9ec3e5665c35333d | [
"MIT"
] | null | null | null | import torch
import torch.nn.functional as F
import pytorch_lightning as pl
class LitLightSteer(pl.LightningModule):
def __init__(self, model, learning_rate, **kwargs):
super().__init__()
self.save_hyperparameters("learning_rate")
# self.save_hyperparameters()
self.model = model
... | 33.988439 | 77 | 0.620238 | 854 | 5,880 | 3.98829 | 0.100703 | 0.061656 | 0.07751 | 0.105696 | 0.941574 | 0.934527 | 0.934527 | 0.925426 | 0.925426 | 0.925426 | 0 | 0.007084 | 0.255782 | 5,880 | 172 | 78 | 34.186047 | 0.771252 | 0.025 | 0 | 0.724409 | 0 | 0 | 0.064082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.141732 | false | 0 | 0.023622 | 0 | 0.307087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2c25b4077f488e886a7722d9c1d26b73386e50ad | 176 | py | Python | Packages/LiveReload/__init__.py | kangTaehee/st3 | 34aa17bcdac88b94cc38d37276fdc4983b27c76d | [
"Apache-2.0"
] | 4 | 2018-06-08T23:18:47.000Z | 2020-02-24T06:14:06.000Z | Packages/LiveReload/__init__.py | kangTaehee/st3 | 34aa17bcdac88b94cc38d37276fdc4983b27c76d | [
"Apache-2.0"
] | 3 | 2021-05-10T18:59:14.000Z | 2021-09-02T01:50:15.000Z | Packages/LiveReload/__init__.py | kangTaehee/st3 | 34aa17bcdac88b94cc38d37276fdc4983b27c76d | [
"Apache-2.0"
] | 2 | 2019-04-10T01:02:42.000Z | 2021-02-05T08:41:38.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
try:
from .LiveReload import *
from .server import *
except ValueError:
from LiveReload import *
from server import * | 19.555556 | 29 | 0.642045 | 21 | 176 | 5.380952 | 0.619048 | 0.247788 | 0.353982 | 0.424779 | 0.637168 | 0.637168 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.232955 | 176 | 9 | 30 | 19.555556 | 0.82963 | 0.215909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
257a561bb3f800f07b56ce25a6abde3c1780c213 | 14,340 | py | Python | build/lib/xenny/ctf/crypto/modern/asymmetric/rsa/ex_wiener.sage.py | X3NNY/xenny | c55238f82f448ec08e4006f9037064c5c28524fd | [
"MIT"
] | 12 | 2018-12-31T09:47:33.000Z | 2022-02-19T09:24:33.000Z | build/lib/xenny/ctf/crypto/modern/asymmetric/rsa/ex_wiener.sage.py | X3NNY/xenny | c55238f82f448ec08e4006f9037064c5c28524fd | [
"MIT"
] | 3 | 2022-01-26T09:14:32.000Z | 2022-02-06T11:01:55.000Z | build/lib/xenny/ctf/crypto/modern/asymmetric/rsa/ex_wiener.sage.py | X3NNY/xenny | c55238f82f448ec08e4006f9037064c5c28524fd | [
"MIT"
] | 1 | 2022-02-06T11:02:06.000Z | 2022-02-06T11:02:06.000Z |
# This file was *autogenerated* from the file ctf/crypto/modern/asymmetric/rsa/ex_wiener.sage
from sage.all_cmdline import * # import sage library
_sage_const_863419994329626647566169493601779724564375157437730070235255669892301084629319561847593138661527056617836967124779310759435654194896436872656870823031918698... | 318.666667 | 6,475 | 0.93166 | 462 | 14,340 | 28.372294 | 0.158009 | 0.055615 | 0.032804 | 0.026701 | 0.048062 | 0.044553 | 0.040662 | 0.037458 | 0.035627 | 0.033491 | 0 | 0.862995 | 0.041562 | 14,340 | 44 | 6,476 | 325.909091 | 0.090731 | 0.188075 | 0 | 0 | 1 | 0 | 0.000436 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.041667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
257cca49f9554a5b3a4a27553bed4858d0fcdf38 | 167 | py | Python | tests/conftest.py | mircealungu/automatic-monitoring-for-flask | 76417580898db6ef749b3925946fa5059132ebf6 | [
"MIT"
] | 630 | 2018-03-03T23:52:07.000Z | 2022-03-30T10:55:46.000Z | tests/conftest.py | mircealungu/automatic-monitoring-for-flask | 76417580898db6ef749b3925946fa5059132ebf6 | [
"MIT"
] | 292 | 2018-03-05T11:27:57.000Z | 2022-03-28T23:05:48.000Z | tests/conftest.py | mircealungu/automatic-monitoring-for-flask | 76417580898db6ef749b3925946fa5059132ebf6 | [
"MIT"
] | 146 | 2018-03-22T09:53:36.000Z | 2022-02-03T08:13:50.000Z | """Import all fixtures here."""
from tests.fixtures.dashboard import * # noqa
from tests.fixtures.database import * # noqa
from tests.fixtures.models import * # noqa
| 27.833333 | 45 | 0.748503 | 22 | 167 | 5.681818 | 0.454545 | 0.216 | 0.408 | 0.304 | 0.432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137725 | 167 | 5 | 46 | 33.4 | 0.868056 | 0.245509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
2599abbc6915e25a5b7675b052f4a9ff6b8090a0 | 3,898 | py | Python | alpyro_msgs/visualization_msgs/interactivemarkerinit.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | 1 | 2020-12-13T13:07:10.000Z | 2020-12-13T13:07:10.000Z | alpyro_msgs/visualization_msgs/interactivemarkerinit.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | alpyro_msgs/visualization_msgs/interactivemarkerinit.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | from typing import List
from typing_extensions import Annotated
from typing import Final
from alpyro_msgs import RosMessage, string, uint64
from alpyro_msgs.visualization_msgs.interactivemarker import InteractiveMarker
class InteractiveMarkerInit(RosMessage):
__msg_typ__ = "visualization_msgs/InteractiveMarkerInit"... | 243.625 | 3,434 | 0.97845 | 54 | 3,898 | 70.222222 | 0.537037 | 0.007911 | 0.008439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098647 | 0.014366 | 3,898 | 15 | 3,435 | 259.866667 | 0.888339 | 0 | 0 | 0 | 0 | 0 | 0.894818 | 0.894818 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 8 |
25a1646b318b63917f8167f51d6f45d31059d576 | 275 | py | Python | GuiBuilder/STARTUP/Install/__init__.py | lon3wolf/MyPyBuilder | 5823ae9e5fcd2d745a70425c37a3aaa432c0389d | [
"MIT"
] | 237 | 2019-09-28T03:21:19.000Z | 2022-03-19T22:41:04.000Z | GuiBuilder/STARTUP/Install/__init__.py | pr1malHunter/MyPyBuilder | 5823ae9e5fcd2d745a70425c37a3aaa432c0389d | [
"MIT"
] | 3 | 2019-09-29T08:35:53.000Z | 2020-09-13T18:00:07.000Z | GuiBuilder/STARTUP/Install/__init__.py | pr1malHunter/MyPyBuilder | 5823ae9e5fcd2d745a70425c37a3aaa432c0389d | [
"MIT"
] | 29 | 2019-09-28T13:52:45.000Z | 2022-01-06T01:25:45.000Z | from GuiBuilder.STARTUP.Install.CreateProjects import InstallProjects
from GuiBuilder.STARTUP.Install.CreateSettings import InstallSettings
from GuiBuilder.STARTUP.Install.LoadSettings import SettingsLoader
from GuiBuilder.STARTUP.Install.DeleteProjects import DeleteProject
| 55 | 69 | 0.898182 | 28 | 275 | 8.821429 | 0.464286 | 0.226721 | 0.340081 | 0.453441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058182 | 275 | 4 | 70 | 68.75 | 0.953668 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
25adc54c2c73022f912840424407a526dbe4c6ba | 6,269 | py | Python | loldib/getratings/models/NA/na_fizz/na_fizz_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_fizz/na_fizz_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_fizz/na_fizz_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Fizz_Sup_Aatrox(Ratings):
pass
class NA_Fizz_Sup_Ahri(Ratings):
pass
class NA_Fizz_Sup_Akali(Ratings):
pass
class NA_Fizz_Sup_Alistar(Ratings):
pass
class NA_Fizz_Sup_Amumu(Ratings):
pass
class NA_Fizz_Sup_Anivia(Ratings):
pass
clas... | 15.033573 | 46 | 0.75642 | 972 | 6,269 | 4.452675 | 0.151235 | 0.223198 | 0.350739 | 0.446396 | 0.791359 | 0.791359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177221 | 6,269 | 416 | 47 | 15.069712 | 0.839085 | 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 | 1 | 0 | 0 | 7 |
25b65af0ea0f031ca02890a004a362312849c118 | 19,540 | py | Python | test/create_open_dir_additional.py | abhilashabhardwaj/pike | a1ad05b37231d8ac0a0442ab8d32a363e75ada9a | [
"Apache-2.0"
] | null | null | null | test/create_open_dir_additional.py | abhilashabhardwaj/pike | a1ad05b37231d8ac0a0442ab8d32a363e75ada9a | [
"Apache-2.0"
] | null | null | null | test/create_open_dir_additional.py | abhilashabhardwaj/pike | a1ad05b37231d8ac0a0442ab8d32a363e75ada9a | [
"Apache-2.0"
] | null | null | null | #
# Copyright (C) EMC Corporation. All rights reserved.
#
# Module Name:
#
# create_dir_open_additional.py
#
# Abstract:
#
# Directory open tests: Directories which are created on the share have to be deleted before test execution otherwise
# it will result in STATUS_OBJECT_NAME_COLLISIO... | 63.236246 | 231 | 0.664432 | 2,297 | 19,540 | 5.42795 | 0.069656 | 0.041707 | 0.056785 | 0.03136 | 0.888434 | 0.878409 | 0.846246 | 0.824671 | 0.796519 | 0.775746 | 0 | 0.012243 | 0.25174 | 19,540 | 308 | 232 | 63.441558 | 0.840503 | 0.017503 | 0 | 0.59364 | 0 | 0.007067 | 0.384709 | 0.036505 | 0 | 0 | 0 | 0 | 0.04947 | 0 | null | null | 0.028269 | 0.017668 | null | null | 0.54417 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
25d1d68f7db66a7e83040629943665ea56ba9035 | 181 | py | Python | 08.forecaster_r0/runner/__init__.py | predora005/wheather-forecasting | deb3592ac52751ccaf81d7aa8bbb00a14d232f9f | [
"MIT"
] | null | null | null | 08.forecaster_r0/runner/__init__.py | predora005/wheather-forecasting | deb3592ac52751ccaf81d7aa8bbb00a14d232f9f | [
"MIT"
] | null | null | null | 08.forecaster_r0/runner/__init__.py | predora005/wheather-forecasting | deb3592ac52751ccaf81d7aa8bbb00a14d232f9f | [
"MIT"
] | null | null | null | from runner.gsm_runner_ver1 import *
from runner.gsm_runner_ver2 import *
from runner.gsm_runner_ver3 import *
from runner.runner_2019 import *
from runner.wst_runner_ver1 import *
| 30.166667 | 36 | 0.834254 | 29 | 181 | 4.896552 | 0.310345 | 0.352113 | 0.450704 | 0.401408 | 0.352113 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049689 | 0.110497 | 181 | 5 | 37 | 36.2 | 0.832298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
25d70d5bd772158cec39f05ede3028be0f8bda2a | 19,570 | py | Python | simpleredial/dataloader/gpt2_dataloader.py | gmftbyGMFTBY/SimpleReDial-v1 | f45b8eb23d1499ec617b4cc4f417d83d8f2b6bde | [
"MIT"
] | 36 | 2021-10-13T10:32:08.000Z | 2022-03-20T07:50:05.000Z | simpleredial/dataloader/gpt2_dataloader.py | gmftbyGMFTBY/SimpleReDial-v1 | f45b8eb23d1499ec617b4cc4f417d83d8f2b6bde | [
"MIT"
] | 3 | 2021-11-24T10:57:59.000Z | 2022-03-27T15:37:40.000Z | simpleredial/dataloader/gpt2_dataloader.py | gmftbyGMFTBY/SimpleReDial-v1 | f45b8eb23d1499ec617b4cc4f417d83d8f2b6bde | [
"MIT"
] | 1 | 2022-03-15T07:13:22.000Z | 2022-03-15T07:13:22.000Z | from header import *
from .utils import *
from .util_func import *
class GPT2Dataset(Dataset):
def __init__(self, vocab, path, **args):
self.args = args
self.vocab = vocab
self.pad = self.vocab.convert_tokens_to_ids('[PAD]')
self.sep = self.vocab.convert_tokens_to_ids('[SEP]')... | 43.683036 | 134 | 0.51906 | 2,417 | 19,570 | 3.945387 | 0.061647 | 0.045931 | 0.024539 | 0.021393 | 0.863255 | 0.828859 | 0.80432 | 0.790583 | 0.774224 | 0.736787 | 0 | 0.008597 | 0.358099 | 19,570 | 447 | 135 | 43.780761 | 0.750517 | 0.015023 | 0 | 0.731959 | 0 | 0 | 0.094279 | 0.017496 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041237 | false | 0 | 0.007732 | 0.007732 | 0.103093 | 0.023196 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
25ea1ae2ce7070f6a26c9ecacf9c8649b12203b5 | 104 | py | Python | pygvisuals/__experimental/layout_manager.py | Impelon/PyGVisuals | 7bff6199391ba35ad7f7afb1adc2601f57215856 | [
"BSD-2-Clause"
] | 11 | 2018-02-25T20:32:13.000Z | 2022-03-29T16:43:05.000Z | pygvisuals/__experimental/layout_manager.py | Impelon/PyGVisuals | 7bff6199391ba35ad7f7afb1adc2601f57215856 | [
"BSD-2-Clause"
] | 13 | 2017-09-11T16:21:54.000Z | 2020-05-06T09:57:17.000Z | pygvisuals/__experimental/layout_manager.py | Impelon/PyGVisuals | 7bff6199391ba35ad7f7afb1adc2601f57215856 | [
"BSD-2-Clause"
] | 7 | 2018-05-17T10:33:31.000Z | 2020-04-16T23:35:36.000Z | import pygame.sprite
class LayoutManager(pygame.sprite.LayeredDirty):
"""
.
"""
pass
| 10.4 | 48 | 0.615385 | 9 | 104 | 7.111111 | 0.777778 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259615 | 104 | 9 | 49 | 11.555556 | 0.831169 | 0.009615 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
d3811d5dac593b0dad01c056ca584469be638dd8 | 39,877 | py | Python | DataEngineering/flaskapp/models/machine.py | SyedArsalanAmin/datascience-projects | 46abaa00b4491683e20c1716e562772f345dced2 | [
"MIT"
] | null | null | null | DataEngineering/flaskapp/models/machine.py | SyedArsalanAmin/datascience-projects | 46abaa00b4491683e20c1716e562772f345dced2 | [
"MIT"
] | null | null | null | DataEngineering/flaskapp/models/machine.py | SyedArsalanAmin/datascience-projects | 46abaa00b4491683e20c1716e562772f345dced2 | [
"MIT"
] | null | null | null | from flask_sqlalchemy import SQLAlchemy
from sqlalchemy import Integer, String
from sqlalchemy.types import DateTime, Integer, String, DateTime, JSON, Float,Boolean,BIGINT
# from pangres import upsert
from sqlalchemy.orm import relationship
from app import db
class Line(db.Model):
__tablename__ = 'line'
Lin... | 35.604464 | 139 | 0.725757 | 4,381 | 39,877 | 6.487332 | 0.045652 | 0.184652 | 0.127582 | 0.116534 | 0.925583 | 0.905492 | 0.891418 | 0.887126 | 0.848809 | 0.833011 | 0 | 0.017856 | 0.148908 | 39,877 | 1,120 | 140 | 35.604464 | 0.819559 | 0.01299 | 0 | 0.885648 | 0 | 0 | 0.102249 | 0.037667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002334 | 0.005834 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
d3856d4aaf3efca282aa343ebf16e9e995e4d5b9 | 86 | py | Python | dist/plotly-0.5.9/plotly/__init__.py | awesome-archive/plotly.py | 0af4ef6abd0fe9907268d266304de630f94cda60 | [
"MIT"
] | null | null | null | dist/plotly-0.5.9/plotly/__init__.py | awesome-archive/plotly.py | 0af4ef6abd0fe9907268d266304de630f94cda60 | [
"MIT"
] | null | null | null | dist/plotly-0.5.9/plotly/__init__.py | awesome-archive/plotly.py | 0af4ef6abd0fe9907268d266304de630f94cda60 | [
"MIT"
] | null | null | null | from .version import __version__
from .plotly import signup
from .plotly import plotly | 28.666667 | 32 | 0.837209 | 12 | 86 | 5.666667 | 0.416667 | 0.294118 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 86 | 3 | 33 | 28.666667 | 0.906667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6cb98e6db6f46edd7e5af32fb0325ec180a68383 | 20,612 | py | Python | benchmarks/nonlinear_software/f3/nCr_combination.py | EnricoMagnago/F3 | c863215c318d7d5f258eb9be38c6962cf6863b52 | [
"MIT"
] | 3 | 2021-04-23T23:29:26.000Z | 2022-03-23T10:00:30.000Z | benchmarks/nonlinear_software/f3/nCr_combination.py | EnricoMagnago/F3 | c863215c318d7d5f258eb9be38c6962cf6863b52 | [
"MIT"
] | null | null | null | benchmarks/nonlinear_software/f3/nCr_combination.py | EnricoMagnago/F3 | c863215c318d7d5f258eb9be38c6962cf6863b52 | [
"MIT"
] | 1 | 2021-11-17T22:02:56.000Z | 2021-11-17T22:02:56.000Z | import pysmt.typing as types
from pysmt.environment import Environment as PysmtEnv
from pysmt.fnode import FNode
from utils import symb_to_next
def transition_system(env: PysmtEnv) -> (frozenset, FNode, FNode, FNode):
assert isinstance(env, PysmtEnv)
mgr = env.formula_manager
den = mgr.Symbol("den", types... | 55.557951 | 142 | 0.495828 | 3,262 | 20,612 | 2.930104 | 0.029123 | 0.234463 | 0.258422 | 0.142812 | 0.830195 | 0.799435 | 0.792948 | 0.76334 | 0.750157 | 0.747646 | 0 | 0.030759 | 0.323355 | 20,612 | 370 | 143 | 55.708108 | 0.654549 | 0.251941 | 0 | 0.571429 | 0 | 0 | 0.00189 | 0 | 0 | 0 | 0 | 0 | 0.003484 | 1 | 0.003484 | false | 0 | 0.013937 | 0 | 0.020906 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 8 |
9f105b4a1ec32e59598baa93a57604c97793398c | 13,689 | py | Python | nighres/intensity/mp2rage_t1_mapping.py | ahleighton/nighres | bc01463241a03a88569b3ba56e195127788b5639 | [
"Apache-2.0"
] | 41 | 2017-08-15T12:23:31.000Z | 2022-02-28T15:12:22.000Z | nighres/intensity/mp2rage_t1_mapping.py | ahleighton/nighres | bc01463241a03a88569b3ba56e195127788b5639 | [
"Apache-2.0"
] | 130 | 2017-07-27T11:09:09.000Z | 2022-03-31T10:05:07.000Z | nighres/intensity/mp2rage_t1_mapping.py | ahleighton/nighres | bc01463241a03a88569b3ba56e195127788b5639 | [
"Apache-2.0"
] | 35 | 2017-08-17T17:05:41.000Z | 2022-03-28T12:22:14.000Z | import numpy as np
import nibabel as nb
import os
import sys
import nighresjava
from ..io import load_volume, save_volume
from ..utils import _output_dir_4saving, _fname_4saving, \
_check_topology_lut_dir, _check_available_memory
def mp2rage_t1_mapping(first_inversion, second_inversion,
... | 37.401639 | 83 | 0.622398 | 1,603 | 13,689 | 5.157205 | 0.167187 | 0.017419 | 0.014516 | 0.022015 | 0.91835 | 0.91206 | 0.906012 | 0.89827 | 0.892464 | 0.875529 | 0 | 0.031659 | 0.284681 | 13,689 | 365 | 84 | 37.50411 | 0.812602 | 0.331215 | 0 | 0.78453 | 0 | 0 | 0.039094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01105 | false | 0.01105 | 0.038674 | 0 | 0.093923 | 0.033149 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9f47b279129d4846a10c9026df82468c0fc3ec2e | 1,255 | py | Python | example/ex_eraser.py | zoumingzhe/FileShredder | e9488370a819ccd8d734bde54a14523959371d3e | [
"MIT"
] | null | null | null | example/ex_eraser.py | zoumingzhe/FileShredder | e9488370a819ccd8d734bde54a14523959371d3e | [
"MIT"
] | null | null | null | example/ex_eraser.py | zoumingzhe/FileShredder | e9488370a819ccd8d734bde54a14523959371d3e | [
"MIT"
] | null | null | null | import os
from ztools import fbasic
from pyshredder import eraser
f = fbasic()
e = eraser()
old_path = '.\\ex_file\\eraser_testfile.txt'
f.ensure('.\\ex_file\\eraser')
new_path = '.\\ex_file\\eraser\\eraser_testfile1.txt'
f.copy(old_path, new_path)
print("before file size:", os.path.getsize(new_path))
e.random(new_p... | 29.880952 | 53 | 0.732271 | 217 | 1,255 | 4.02765 | 0.184332 | 0.200229 | 0.114416 | 0.160183 | 0.784897 | 0.784897 | 0.756293 | 0.756293 | 0.756293 | 0.712815 | 0 | 0.009565 | 0.083665 | 1,255 | 41 | 54 | 30.609756 | 0.750435 | 0 | 0 | 0.454545 | 0 | 0 | 0.339442 | 0.184064 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0.30303 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e255f4fbcf38cc3020404481db9cfe2d6c4be3c0 | 732 | py | Python | tests/unit/test_resources.py | LimaGuilherme/flask-boilerplate | 4053dd2d24937d405fedcd839e15d2cc45d87f01 | [
"MIT"
] | null | null | null | tests/unit/test_resources.py | LimaGuilherme/flask-boilerplate | 4053dd2d24937d405fedcd839e15d2cc45d87f01 | [
"MIT"
] | null | null | null | tests/unit/test_resources.py | LimaGuilherme/flask-boilerplate | 4053dd2d24937d405fedcd839e15d2cc45d87f01 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from tests.unit import base
from app import resources
class CasingTest(base.TestCase):
def test_should_convert_camel_to_snake(self):
self.assertEqual(resources.ResourceBase.camel_to_snake('getThisSnaked'), 'get_this_snaked')
def test_should_convert_snake_to_camel(self):
... | 38.526316 | 103 | 0.782787 | 93 | 732 | 5.763441 | 0.333333 | 0.052239 | 0.097015 | 0.149254 | 0.779851 | 0.723881 | 0.723881 | 0.723881 | 0.723881 | 0.723881 | 0 | 0.001546 | 0.11612 | 732 | 18 | 104 | 40.666667 | 0.826893 | 0.028689 | 0 | 0 | 0 | 0 | 0.169252 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 1 | 0.363636 | false | 0 | 0.181818 | 0 | 0.636364 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
e266346a79afef1f9fccd0ae023dc7dc1aae7ec4 | 82 | py | Python | Egzersiz/canersoy/regexegzersiz2.py | ibrahimediz/ornekproje | c5ebeafc43a9c6d2aa639d0d95eedbce65991576 | [
"Apache-2.0"
] | null | null | null | Egzersiz/canersoy/regexegzersiz2.py | ibrahimediz/ornekproje | c5ebeafc43a9c6d2aa639d0d95eedbce65991576 | [
"Apache-2.0"
] | null | null | null | Egzersiz/canersoy/regexegzersiz2.py | ibrahimediz/ornekproje | c5ebeafc43a9c6d2aa639d0d95eedbce65991576 | [
"Apache-2.0"
] | null | null | null | pattern = r"(\w*)\.?(\w+)@(\w+)\.(\w+)\.?(\w*)"
# email iรงin baลka bir regex yolu | 41 | 47 | 0.47561 | 13 | 82 | 3 | 0.692308 | 0.205128 | 0.230769 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 82 | 2 | 48 | 41 | 0.541667 | 0.378049 | 0 | 0 | 0 | 0 | 0.693878 | 0.693878 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e287c9beb0016455581c661dd30db0e2ddc4ee07 | 4,212 | py | Python | tests/rip/test_rip.py | My-Little-Cable-Co/rip | 7d540721fea3d76601ad8af21b307d2ef70701a1 | [
"MIT"
] | null | null | null | tests/rip/test_rip.py | My-Little-Cable-Co/rip | 7d540721fea3d76601ad8af21b307d2ef70701a1 | [
"MIT"
] | 6 | 2020-09-20T03:51:09.000Z | 2020-11-15T07:01:39.000Z | tests/rip/test_rip.py | My-Little-Cable-Co/rip | 7d540721fea3d76601ad8af21b307d2ef70701a1 | [
"MIT"
] | 1 | 2020-10-05T02:24:18.000Z | 2020-10-05T02:24:18.000Z | import pytest
import subprocess
from rip.rip import Rip
from unittest.mock import patch
@pytest.mark.usefixtures('capsys')
@patch('rip.rip.subprocess.run')
def test_requirements_check__dvd_info_not_in_path(subprocess_run, capsys):
def subprocess_run_side_effect(*args, **kwargs):
if args == (['dvd_info', '... | 40.114286 | 118 | 0.668091 | 538 | 4,212 | 5.081784 | 0.16171 | 0.114119 | 0.074616 | 0.100951 | 0.958303 | 0.952451 | 0.952451 | 0.952451 | 0.952451 | 0.952451 | 0 | 0 | 0.24264 | 4,212 | 104 | 119 | 40.5 | 0.857053 | 0.268519 | 0 | 0.8 | 0 | 0 | 0.23233 | 0.028796 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.133333 | false | 0.1 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
2ca54f8e96eb4fa755341211c9fb094048967794 | 140 | py | Python | cherry/agents/algorithms.py | vishalbelsare/cherry-pytorch | 7a05b488de1f4a5de52fe7d0f5e639b381da42d4 | [
"MIT"
] | 11 | 2020-01-28T15:40:25.000Z | 2021-01-02T23:09:05.000Z | cherry/agents/algorithms.py | vishalbelsare/cherry-pytorch | 7a05b488de1f4a5de52fe7d0f5e639b381da42d4 | [
"MIT"
] | 30 | 2019-12-14T12:11:07.000Z | 2020-01-29T10:56:13.000Z | cherry/agents/algorithms.py | vishalbelsare/cherry-pytorch | 7a05b488de1f4a5de52fe7d0f5e639b381da42d4 | [
"MIT"
] | 1 | 2020-01-29T13:15:46.000Z | 2020-01-29T13:15:46.000Z | from cherry.agents.dqn import DQN
from cherry.agents.ddqn import DDQN
from cherry.agents.vpg import VPG
from cherry.agents.ddpg import DDPG
| 28 | 35 | 0.828571 | 24 | 140 | 4.833333 | 0.333333 | 0.344828 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 140 | 4 | 36 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3934da4a8d84067da0519c3a4fc3953e5f05fc67 | 263,436 | py | Python | IsabelaFunctions/langlais_coeff.py | de-oliveira/IsabelaFunctions | 6ea9f181f1e9eda90db3e2542d72eaf00caf977b | [
"MIT"
] | null | null | null | IsabelaFunctions/langlais_coeff.py | de-oliveira/IsabelaFunctions | 6ea9f181f1e9eda90db3e2542d72eaf00caf977b | [
"MIT"
] | null | null | null | IsabelaFunctions/langlais_coeff.py | de-oliveira/IsabelaFunctions | 6ea9f181f1e9eda90db3e2542d72eaf00caf977b | [
"MIT"
] | null | null | null | import numpy as np
glm = np.array([[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0... | 951.032491 | 1,277 | 0.546061 | 72,910 | 263,436 | 1.973008 | 0.215745 | 0.505812 | 0.753128 | 0.996719 | 0.255506 | 0.255436 | 0.255436 | 0.255339 | 0.255339 | 0.255214 | 0 | 0.634363 | 0.139438 | 263,436 | 276 | 1,278 | 954.478261 | 0.000176 | 0 | 0 | 0.007326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003663 | 0 | 0.003663 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1a3419d9a369b6178fead14fb5ba597f06af7429 | 991 | py | Python | ExerciciosPythonMundo1/ex017.py | JamesonSantos/Curso-Python-Exercicios-Praticados | 1fc1618ccf8692a552bac408e842dea8328e4e1a | [
"MIT"
] | null | null | null | ExerciciosPythonMundo1/ex017.py | JamesonSantos/Curso-Python-Exercicios-Praticados | 1fc1618ccf8692a552bac408e842dea8328e4e1a | [
"MIT"
] | null | null | null | ExerciciosPythonMundo1/ex017.py | JamesonSantos/Curso-Python-Exercicios-Praticados | 1fc1618ccf8692a552bac408e842dea8328e4e1a | [
"MIT"
] | null | null | null | '''
n1 = float(input('Comprimento do cateto oposto: '))
n2 = float(input('Comprimento do cateto adjacente: '))
hi = (n1 ** 2 + n2 ** 2) ** (1/2)
print('A hipotenusa vai medir {:.2f}'.format(hi))
'''
'''
from math import hypot
n1 = float(input('Comprimento do cateto oposto: '))
n2 = float(input('Comprimento do cateto a... | 30.96875 | 68 | 0.673058 | 143 | 991 | 4.664336 | 0.160839 | 0.149925 | 0.314843 | 0.344828 | 0.949025 | 0.949025 | 0.949025 | 0.949025 | 0.898051 | 0.898051 | 0 | 0.033918 | 0.137235 | 991 | 32 | 69 | 30.96875 | 0.746199 | 0.191726 | 0 | 0 | 0 | 0 | 0.464646 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1a61bd5bc6b148086ab84959cb33ffd12946203c | 45,018 | py | Python | sdk/python/pulumi_google_native/datapipelines/v1/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/datapipelines/v1/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/datapipelines/v1/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 47.287815 | 427 | 0.676441 | 5,189 | 45,018 | 5.692812 | 0.068992 | 0.01564 | 0.025525 | 0.037305 | 0.829655 | 0.812119 | 0.798646 | 0.753182 | 0.739743 | 0.724306 | 0 | 0.00304 | 0.232662 | 45,018 | 951 | 428 | 47.337539 | 0.852102 | 0.391532 | 0 | 0.760286 | 1 | 0.014311 | 0.230176 | 0.120229 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161002 | false | 0.012522 | 0.012522 | 0 | 0.320215 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1a67eb1083fbcce160d6fb9b4f7083b0ef1d2e64 | 769 | py | Python | users/users.py | TRUFA-rnaseq/trufa-users-ipa | 1c0f050f05bdce9b6a2d480935dda5653b873ef5 | [
"BSD-3-Clause"
] | null | null | null | users/users.py | TRUFA-rnaseq/trufa-users-ipa | 1c0f050f05bdce9b6a2d480935dda5653b873ef5 | [
"BSD-3-Clause"
] | null | null | null | users/users.py | TRUFA-rnaseq/trufa-users-ipa | 1c0f050f05bdce9b6a2d480935dda5653b873ef5 | [
"BSD-3-Clause"
] | null | null | null | #-------------------------------------------------------------------------------
def checkUser( username, passwd ):
return False
#-------------------------------------------------------------------------------
def checkIfUserAvailable( username ):
return False
#------------------------------------------------... | 34.954545 | 80 | 0.269181 | 28 | 769 | 7.392857 | 0.464286 | 0.21256 | 0.202899 | 0.21256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083225 | 769 | 21 | 81 | 36.619048 | 0.293617 | 0.616385 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.3 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 9 |
1a7eb665f1175d04280b4b3ece8a8e86e93d07f8 | 39,044 | py | Python | tests/networks/splitting/test_multi_splitting_base.py | mtcrawshaw/meta-world | b511885af4405715c7b35f8295cef88021a926be | [
"MIT"
] | 4 | 2021-09-21T07:24:26.000Z | 2022-03-25T00:28:33.000Z | tests/networks/splitting/test_multi_splitting_base.py | mtcrawshaw/meta | b511885af4405715c7b35f8295cef88021a926be | [
"MIT"
] | null | null | null | tests/networks/splitting/test_multi_splitting_base.py | mtcrawshaw/meta | b511885af4405715c7b35f8295cef88021a926be | [
"MIT"
] | null | null | null | """
Unit tests for meta/networks/splitting/multi_splitting_base.py.
"""
import math
import random
from itertools import product
from typing import Dict, Any, List
import numpy as np
from scipy import stats
import torch
import torch.nn.functional as F
from gym.spaces import Box
from meta.networks.utils import init_ba... | 34.15923 | 88 | 0.637383 | 5,078 | 39,044 | 4.691414 | 0.049429 | 0.0531 | 0.040969 | 0.019645 | 0.912018 | 0.894472 | 0.885153 | 0.878185 | 0.872686 | 0.861101 | 0 | 0.023699 | 0.23161 | 39,044 | 1,142 | 89 | 34.189142 | 0.770374 | 0.224413 | 0 | 0.707463 | 0 | 0 | 0.130376 | 0.003672 | 0 | 0 | 0 | 0 | 0.01194 | 1 | 0.056716 | false | 0 | 0.022388 | 0 | 0.08209 | 0.002985 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1acd85d30c9c96663483c8180fef0e5758e6e84c | 2,509 | py | Python | v3/detection/tests.py | gvanhorn38/inception | 1da2d77c9f14cf26b25b77f7eae15234b68b7e8f | [
"MIT"
] | 4 | 2016-09-30T21:34:14.000Z | 2020-06-06T04:28:38.000Z | v3/detection/tests.py | gvanhorn38/inception | 1da2d77c9f14cf26b25b77f7eae15234b68b7e8f | [
"MIT"
] | null | null | null | v3/detection/tests.py | gvanhorn38/inception | 1da2d77c9f14cf26b25b77f7eae15234b68b7e8f | [
"MIT"
] | null | null | null | import numpy as np
import train
batch_size = 1
num_predictions = 5
max_num_gt_bboxes = 2
locations = np.zeros([batch_size * num_predictions, 4])
confidences = np.zeros([batch_size * num_predictions])
gt_bboxes = np.zeros([batch_size, max_num_gt_bboxes, 4])
num_gt_bboxes = np.zeros([batch_size]).astype(int)
locations[... | 25.343434 | 119 | 0.61379 | 511 | 2,509 | 2.900196 | 0.101761 | 0.11336 | 0.107962 | 0.08637 | 0.854251 | 0.838057 | 0.820513 | 0.771255 | 0.764507 | 0.764507 | 0 | 0.134805 | 0.151455 | 2,509 | 99 | 120 | 25.343434 | 0.561296 | 0 | 0 | 0.506494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.025974 | null | null | 0.025974 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
46d6d445810ca2e9c7dfadd37d525bce446ba093 | 4,063 | py | Python | codewars/tests/test_validate_sudoku.py | nelsonlove/coding-exercises | 71081a9ecb17f4aa50b232a93624822f9eeeb37e | [
"MIT"
] | null | null | null | codewars/tests/test_validate_sudoku.py | nelsonlove/coding-exercises | 71081a9ecb17f4aa50b232a93624822f9eeeb37e | [
"MIT"
] | null | null | null | codewars/tests/test_validate_sudoku.py | nelsonlove/coding-exercises | 71081a9ecb17f4aa50b232a93624822f9eeeb37e | [
"MIT"
] | null | null | null | from unittest import TestCase
from kata import validate_sudoku
class Test(TestCase):
def test_validate_sudoku(self):
self.assertEqual(validate_sudoku([[5, 3, 4, 6, 7, 8, 9, 1, 2],
[6, 7, 2, 1, 9, 5, 3, 4, 8],
[1, 9, 8, 3,... | 60.641791 | 88 | 0.200098 | 537 | 4,063 | 1.497207 | 0.046555 | 0.047264 | 0.037313 | 0.039801 | 0.797264 | 0.746269 | 0.731343 | 0.731343 | 0.60199 | 0.60199 | 0 | 0.3286 | 0.635983 | 4,063 | 66 | 89 | 61.560606 | 0.21501 | 0 | 0 | 0.448276 | 0 | 0 | 0.014275 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0.017241 | false | 0 | 0.034483 | 0 | 0.068966 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
200fa896cac442d778b85723a3bd49165a4cf9b8 | 2,814 | py | Python | test/fstrings/prefixes3.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/fstrings/prefixes3.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/fstrings/prefixes3.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | fr'some {obj}'
Fr'some {obj}'
fR'some {obj}'
FR'some {obj}'
fr : source.python, storage.type.string.python, string.interpolated.python, string.regexp.quoted.single.python
' : punctuation.definition.string.begin.python, source.python, string.interpolated.python, string.regexp.quoted.single.pyt... | 85.272727 | 153 | 0.734186 | 332 | 2,814 | 6.222892 | 0.072289 | 0.197483 | 0.156825 | 0.232333 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.144989 | 2,814 | 32 | 154 | 87.9375 | 0.858687 | 0 | 0 | 0.714286 | 0 | 0.5 | 0.014215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
2016a8005e8f320a2ba5311e42372ac5b2ab49d4 | 98 | py | Python | optix/matrixopt/__init__.py | cavic19/matrix_optics-python | f1de82a8095c8858584458dfed87878f57d84bc8 | [
"MIT"
] | null | null | null | optix/matrixopt/__init__.py | cavic19/matrix_optics-python | f1de82a8095c8858584458dfed87878f57d84bc8 | [
"MIT"
] | 1 | 2022-03-10T08:43:36.000Z | 2022-03-10T08:43:36.000Z | optix/matrixopt/__init__.py | cavic19/matrix_optics-python | f1de82a8095c8858584458dfed87878f57d84bc8 | [
"MIT"
] | 1 | 2022-03-26T14:02:37.000Z | 2022-03-26T14:02:37.000Z | from optix.matrixopt.ABCDformalism import *
from optix.matrixopt.optical_system import OpticalPath | 49 | 54 | 0.877551 | 12 | 98 | 7.083333 | 0.666667 | 0.211765 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 98 | 2 | 54 | 49 | 0.934066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2028b46606ab3df3a73029d0dda398a44b962e5b | 14,659 | py | Python | python/test_alpenglow/experiments/test_BatchFactorExperiment.py | fbobee/Alpenglow | 5f956511017c1bee72390aaecd964c04d8ad4b45 | [
"Apache-2.0"
] | 28 | 2017-07-23T22:47:44.000Z | 2022-03-12T15:11:13.000Z | python/test_alpenglow/experiments/test_BatchFactorExperiment.py | fbobee/Alpenglow | 5f956511017c1bee72390aaecd964c04d8ad4b45 | [
"Apache-2.0"
] | 4 | 2017-05-10T10:23:17.000Z | 2019-05-23T14:07:09.000Z | python/test_alpenglow/experiments/test_BatchFactorExperiment.py | fbobee/Alpenglow | 5f956511017c1bee72390aaecd964c04d8ad4b45 | [
"Apache-2.0"
] | 9 | 2017-05-04T09:20:58.000Z | 2021-12-14T08:19:01.000Z | import alpenglow as prs
import alpenglow.Getter as rs
import alpenglow.experiments
import pandas as pd
import math
import pytest
import sys
from alpenglow.evaluation import DcgScore
import alpenglow.cpp
compiler = alpenglow.cpp.__compiler
stdlib = alpenglow.cpp.__stdlib
class TestBatchFactorExperiment:
def test_b... | 244.316667 | 6,412 | 0.540214 | 4,206 | 14,659 | 1.875654 | 0.040656 | 0.516162 | 0.643935 | 0.666244 | 0.890227 | 0.776524 | 0.776524 | 0.674737 | 0.674737 | 0.652427 | 0 | 0.562294 | 0.172113 | 14,659 | 59 | 6,413 | 248.457627 | 0.087755 | 0 | 0 | 0.509804 | 0 | 0 | 0.00996 | 0.004502 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.039216 | false | 0 | 0.176471 | 0 | 0.235294 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
2050aa8bac776e58ed5ba2889a0c9baf715042ff | 93 | py | Python | molsysmt/element/group/water/is_water.py | uibcdf/MolModMTs | 4f6b6f671a9fa3e73008d1e9c48686d5f20a6573 | [
"MIT"
] | null | null | null | molsysmt/element/group/water/is_water.py | uibcdf/MolModMTs | 4f6b6f671a9fa3e73008d1e9c48686d5f20a6573 | [
"MIT"
] | null | null | null | molsysmt/element/group/water/is_water.py | uibcdf/MolModMTs | 4f6b6f671a9fa3e73008d1e9c48686d5f20a6573 | [
"MIT"
] | null | null | null | from .water_names import water_names
def is_water(name):
return (name in water_names)
| 13.285714 | 36 | 0.752688 | 15 | 93 | 4.4 | 0.6 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182796 | 93 | 6 | 37 | 15.5 | 0.868421 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
6456e19ef101c94eb29c8431634af7137cd1ed87 | 12,609 | py | Python | tests/test_task_group_factory.py | lmaczulajtys/kedro-airflow-k8s | 335e301acf340d6ab4a26f0e694cb854e2b49483 | [
"Apache-2.0"
] | 14 | 2021-03-08T10:17:33.000Z | 2022-03-07T01:44:42.000Z | tests/test_task_group_factory.py | lmaczulajtys/kedro-airflow-k8s | 335e301acf340d6ab4a26f0e694cb854e2b49483 | [
"Apache-2.0"
] | 48 | 2021-03-10T14:32:07.000Z | 2022-03-14T07:34:38.000Z | tests/test_task_group_factory.py | lmaczulajtys/kedro-airflow-k8s | 335e301acf340d6ab4a26f0e694cb854e2b49483 | [
"Apache-2.0"
] | 7 | 2021-03-05T13:07:21.000Z | 2022-02-27T20:06:41.000Z | import unittest
import pyspark
from kedro.extras.datasets.pandas import CSVDataSet
from kedro.extras.datasets.spark import SparkDataSet
from kedro.io import DataCatalog
from kedro.pipeline import Pipeline, node
from kedro_airflow_k8s.task_group import TaskGroupFactory
class TestTaskGroupFactory(unittest.TestCase):
... | 33.624 | 71 | 0.479895 | 1,041 | 12,609 | 5.638809 | 0.086455 | 0.134583 | 0.059966 | 0.093867 | 0.825043 | 0.808348 | 0.783816 | 0.71891 | 0.704089 | 0.671891 | 0 | 0.030509 | 0.404711 | 12,609 | 374 | 72 | 33.713904 | 0.751532 | 0 | 0 | 0.75 | 0 | 0 | 0.126576 | 0.002459 | 0 | 0 | 0 | 0 | 0.183735 | 1 | 0.03012 | false | 0.003012 | 0.021084 | 0 | 0.054217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
64ba7430b48f3466100f38cd3c175a45283381e9 | 104,250 | py | Python | validitysensor/generated_tables.py | Mstrodl/python-validity | bc3cee30246022c30205f6c425e6619e43641955 | [
"MIT"
] | null | null | null | validitysensor/generated_tables.py | Mstrodl/python-validity | bc3cee30246022c30205f6c425e6619e43641955 | [
"MIT"
] | null | null | null | validitysensor/generated_tables.py | Mstrodl/python-validity | bc3cee30246022c30205f6c425e6619e43641955 | [
"MIT"
] | null | null | null |
from .table_types import SensorTypeInfo, SensorCaptureProg
SensorTypeInfo.table=[
SensorTypeInfo(sensor_type=0x00db, bytes_per_line=0x98, repeat_multiplier=1, lines_per_calibration_data=144, line_width=144, calibration_blob='101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3... | 1,271.341463 | 4,858 | 0.979396 | 1,427 | 104,250 | 71.349685 | 0.122635 | 0.009075 | 0.010313 | 0.012375 | 0.674855 | 0.638465 | 0.597676 | 0.596449 | 0.596449 | 0.596449 | 0 | 0.804484 | 0.005573 | 104,250 | 81 | 4,859 | 1,287.037037 | 0.177642 | 0 | 0 | 0 | 0 | 0 | 0.915902 | 0.915902 | 0 | 1 | 0.012518 | 0 | 0 | 1 | 0 | true | 0 | 0.013514 | 0 | 0.013514 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b37adc54571079f5819bb727b15f0688e9e9d6dc | 158 | py | Python | mxnet_text_to_image/utils/glove.py | AyaLotfy/mxnet-text-to-image | d3500d6c69d317aa5d057e97ced95b35b7b0e635 | [
"MIT"
] | 2 | 2019-03-03T08:19:54.000Z | 2019-04-09T03:28:00.000Z | mxnet_text_to_image/utils/glove.py | AyaLotfy/mxnet-text-to-image | d3500d6c69d317aa5d057e97ced95b35b7b0e635 | [
"MIT"
] | 1 | 2018-10-05T16:47:24.000Z | 2018-11-12T18:20:34.000Z | mxnet_text_to_image/utils/glove.py | AyaLotfy/mxnet-text-to-image | d3500d6c69d317aa5d057e97ced95b35b7b0e635 | [
"MIT"
] | 2 | 2018-11-02T18:11:30.000Z | 2020-05-14T02:31:15.000Z | from mxnet_text_to_image.utils.glove_loader import load_glove
def glove_word2emb_300(data_dir_path):
return load_glove(data_dir_path, embedding_dim=300) | 31.6 | 61 | 0.85443 | 27 | 158 | 4.518519 | 0.703704 | 0.147541 | 0.180328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048611 | 0.088608 | 158 | 5 | 62 | 31.6 | 0.798611 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
b388297cfafa31db37b4b073578667d6f26a6fb1 | 41,658 | py | Python | main.py | GiddyLinux/Binary-Enumerator | 3b7ae1891e63339e5f8c7badc02ff926afc107a9 | [
"MIT"
] | null | null | null | main.py | GiddyLinux/Binary-Enumerator | 3b7ae1891e63339e5f8c7badc02ff926afc107a9 | [
"MIT"
] | null | null | null | main.py | GiddyLinux/Binary-Enumerator | 3b7ae1891e63339e5f8c7badc02ff926afc107a9 | [
"MIT"
] | null | null | null | import os
import sys
ubuntu_bin = ['mformat', 'aa-enabled', 'migrate-pubring-from-classic-gpg', 'aa-exec', 'mimeopen', 'aconnect', 'mimetype', 'acpi_listen', 'min12xxw', 'add-apt-repository', 'minfo', 'addpart', 'mkdir', 'alsabat', 'mkfifo', 'alsaloop', 'mkfontdir', 'alsamixer', 'mkfontscale', 'alsatplg', 'mkisofs', 'a... | 603.73913 | 17,140 | 0.65536 | 4,794 | 41,658 | 5.67209 | 0.358573 | 0.002574 | 0.003678 | 0.004781 | 0.830391 | 0.829803 | 0.827817 | 0.826199 | 0.826199 | 0.826199 | 0 | 0.015003 | 0.08481 | 41,658 | 68 | 17,141 | 612.617647 | 0.69823 | 0 | 0 | 0.172414 | 0 | 0.017241 | 0.674804 | 0.071511 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051724 | false | 0.068966 | 0.068966 | 0 | 0.137931 | 0.172414 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
b60b84a71d85b4fc05a6001e6f30ccbf9dd71488 | 24,342 | py | Python | tests/pytests/unit/modules/test_useradd.py | haodeon/salt | af2964f4ddbf9c5635d1528a495e473996cc7b71 | [
"Apache-2.0"
] | null | null | null | tests/pytests/unit/modules/test_useradd.py | haodeon/salt | af2964f4ddbf9c5635d1528a495e473996cc7b71 | [
"Apache-2.0"
] | null | null | null | tests/pytests/unit/modules/test_useradd.py | haodeon/salt | af2964f4ddbf9c5635d1528a495e473996cc7b71 | [
"Apache-2.0"
] | null | null | null | import pytest
import salt.modules.useradd as useradd
from salt.exceptions import CommandExecutionError
from tests.support.mock import MagicMock, patch
@pytest.fixture
def configure_loader_modules():
return {
useradd: {
"__grains__": {
"kernel": "Linux",
"osarch"... | 41.539249 | 88 | 0.606442 | 2,751 | 24,342 | 5.163213 | 0.049073 | 0.121445 | 0.161926 | 0.104759 | 0.942199 | 0.931076 | 0.912419 | 0.902915 | 0.892002 | 0.879259 | 0 | 0.006726 | 0.242667 | 24,342 | 585 | 89 | 41.610256 | 0.763765 | 0.03648 | 0 | 0.736957 | 0 | 0 | 0.152522 | 0.034084 | 0 | 0 | 0 | 0 | 0.165217 | 1 | 0.036957 | false | 0 | 0.008696 | 0.002174 | 0.047826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
374ef97fabb0b4ee989a06178d7083a54df06c7a | 183 | py | Python | game/screens/__init__.py | amrit-choudhary/brkout | fa419bb7cd9522da87f85681141291520a6bd89c | [
"MIT"
] | 14 | 2018-01-17T20:50:44.000Z | 2019-01-09T11:20:56.000Z | game/screens/__init__.py | amrit-choudhary/brkout | fa419bb7cd9522da87f85681141291520a6bd89c | [
"MIT"
] | 44 | 2017-12-16T17:45:30.000Z | 2019-05-05T10:13:58.000Z | game/screens/__init__.py | amrit-choudhary/brkout | fa419bb7cd9522da87f85681141291520a6bd89c | [
"MIT"
] | 28 | 2017-12-18T08:43:34.000Z | 2021-02-18T10:19:55.000Z | ''' Import all modules in this package '''
from .credits_screen import *
from .end_screen import *
from .pause_screen import *
from .start_screen import *
from .game_screen import *
| 22.875 | 42 | 0.754098 | 26 | 183 | 5.115385 | 0.5 | 0.451128 | 0.481203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15847 | 183 | 7 | 43 | 26.142857 | 0.863636 | 0.185792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
37b0812824f62dc06033f49b47f2b9c0775f1fa5 | 2,233 | py | Python | api/routes_srija.py | indera/dbms | dc6cf1a93cc0d8b314d6737a29b89791ee47d56a | [
"MIT"
] | 1 | 2020-03-25T03:20:55.000Z | 2020-03-25T03:20:55.000Z | api/routes_srija.py | indera/dbms | dc6cf1a93cc0d8b314d6737a29b89791ee47d56a | [
"MIT"
] | 6 | 2020-04-19T19:19:04.000Z | 2022-02-27T03:17:16.000Z | api/routes_srija.py | indera/dbms | dc6cf1a93cc0d8b314d6737a29b89791ee47d56a | [
"MIT"
] | 3 | 2020-03-25T03:21:06.000Z | 2020-04-14T22:03:56.000Z | from api.main import app
from api.dbutils import fetch_data
sql2 = """
SELECT
D.TYPE
, R.REGION_NAME
, count(*) AS num_accounts
, TO_CHAR(A.CREATED_DATE, 'YYYY-MM') month
FROM
dmelisso.DISPOSITION D
JOIN dmelisso.ACCOUNT A ON A.ACCOUNT_ID = A.ACCOUNT_ID
JOIN dmelisso.CLIENT C ON C.CLIENT_ID... | 30.589041 | 94 | 0.714734 | 354 | 2,233 | 4.313559 | 0.169492 | 0.088409 | 0.078585 | 0.082515 | 0.870334 | 0.829077 | 0.829077 | 0.829077 | 0.829077 | 0.829077 | 0 | 0.001651 | 0.186296 | 2,233 | 72 | 95 | 31.013889 | 0.838745 | 0.006717 | 0 | 0.850746 | 0 | 0 | 0.817607 | 0.138149 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029851 | false | 0 | 0.029851 | 0 | 0.089552 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
37ba743882b3d531724eeac7026a56f1be88a80e | 13,536 | py | Python | tests/test_middleware.py | jtmiclat/asgi-sage | 67c624b9fc22dd5f6b58afe4605c5f5323d66ba4 | [
"MIT"
] | 1 | 2020-08-25T15:53:29.000Z | 2020-08-25T15:53:29.000Z | tests/test_middleware.py | jtmiclat/asgi-sage | 67c624b9fc22dd5f6b58afe4605c5f5323d66ba4 | [
"MIT"
] | null | null | null | tests/test_middleware.py | jtmiclat/asgi-sage | 67c624b9fc22dd5f6b58afe4605c5f5323d66ba4 | [
"MIT"
] | null | null | null | import pytest
from starlette.applications import Starlette
from starlette.responses import PlainTextResponse
from starlette.testclient import TestClient
from asgi_sage.middleware import SageMiddleware
@pytest.fixture
def app():
app = Starlette()
@app.route("/sync-message")
def hi(request):
respo... | 37.289256 | 88 | 0.726803 | 1,645 | 13,536 | 5.818237 | 0.066869 | 0.090691 | 0.095915 | 0.117856 | 0.948386 | 0.928325 | 0.919026 | 0.873367 | 0.807753 | 0.777871 | 0 | 0.015899 | 0.154329 | 13,536 | 362 | 89 | 37.392265 | 0.820215 | 0 | 0 | 0.719298 | 0 | 0 | 0.187722 | 0.050975 | 0 | 0 | 0 | 0 | 0.361404 | 1 | 0.105263 | false | 0 | 0.017544 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
80d6ab0bbe1b828d6626b235f6429cefab3ba163 | 37 | py | Python | cursoemvideo/cores.py | LuanPetruitis/minis_programas_python | 5fbc4c3fbe832303511e612f320d31e2b91f1ef0 | [
"MIT"
] | 1 | 2020-04-09T14:41:48.000Z | 2020-04-09T14:41:48.000Z | cursoemvideo/cores.py | LuanPetruitis/minis_programas_python | 5fbc4c3fbe832303511e612f320d31e2b91f1ef0 | [
"MIT"
] | 1 | 2020-04-10T20:39:24.000Z | 2020-04-12T13:43:51.000Z | cursoemvideo/cores.py | LuanPetruitis/minis_programas_python | 5fbc4c3fbe832303511e612f320d31e2b91f1ef0 | [
"MIT"
] | 1 | 2020-04-13T03:21:09.000Z | 2020-04-13T03:21:09.000Z | print('\033[4;37;40mOlรก Mundo\033[m') | 37 | 37 | 0.702703 | 8 | 37 | 3.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305556 | 0.027027 | 37 | 1 | 37 | 37 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.736842 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
80df0cefdd0c79b66e1d519ac202ae448a14a952 | 19,438 | py | Python | tests/frameworks/test_tornado_client.py | tirkarthi/python-sensor | 9872d146ac00baff2673fde5ba97fdbe596869a4 | [
"MIT"
] | 61 | 2017-09-27T02:50:17.000Z | 2022-03-22T12:13:37.000Z | tests/frameworks/test_tornado_client.py | tirkarthi/python-sensor | 9872d146ac00baff2673fde5ba97fdbe596869a4 | [
"MIT"
] | 82 | 2017-07-11T13:47:33.000Z | 2022-03-22T10:10:38.000Z | tests/frameworks/test_tornado_client.py | takeaway/python-sensor | 52d6eaa2d6a8e625201bad36ac2448201c4bd63d | [
"MIT"
] | 27 | 2017-09-11T16:22:32.000Z | 2022-03-11T17:21:49.000Z | # (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2020
from __future__ import absolute_import
import time
import asyncio
import unittest
import tornado
from tornado.httpclient import AsyncHTTPClient
from instana.singletons import tornado_tracer
import tests.apps.tornado_server
from ..helpers import testen... | 41.802151 | 112 | 0.655777 | 2,349 | 19,438 | 5.288633 | 0.056194 | 0.159382 | 0.052161 | 0.04057 | 0.927634 | 0.920551 | 0.915077 | 0.908154 | 0.905015 | 0.905015 | 0 | 0.013266 | 0.208869 | 19,438 | 464 | 113 | 41.892241 | 0.794577 | 0.026031 | 0 | 0.810888 | 0 | 0 | 0.104174 | 0 | 0 | 0 | 0 | 0 | 0.69341 | 1 | 0.025788 | false | 0 | 0.028653 | 0 | 0.08596 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
03c63b430a505c06feca30d96c9ba7b392b580b2 | 33,669 | py | Python | sdk/python/pulumi_sumologic/cloud_syslog_source.py | pulumi/pulumi-sumologic | 962fa056ee4b96e61a200e7bf2308bfad723c3af | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-10-13T03:50:41.000Z | 2021-10-13T03:50:41.000Z | sdk/python/pulumi_sumologic/cloud_syslog_source.py | pulumi/pulumi-sumologic | 962fa056ee4b96e61a200e7bf2308bfad723c3af | [
"ECL-2.0",
"Apache-2.0"
] | 28 | 2021-05-21T11:00:45.000Z | 2022-03-31T15:47:13.000Z | sdk/python/pulumi_sumologic/cloud_syslog_source.py | pulumi/pulumi-sumologic | 962fa056ee4b96e61a200e7bf2308bfad723c3af | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 43.387887 | 153 | 0.667766 | 3,714 | 33,669 | 5.764943 | 0.059505 | 0.096586 | 0.136659 | 0.078091 | 0.905563 | 0.899117 | 0.879408 | 0.869226 | 0.846808 | 0.808043 | 0 | 0.000876 | 0.219906 | 33,669 | 775 | 154 | 43.443871 | 0.814316 | 0.105646 | 0 | 0.866667 | 1 | 0 | 0.124115 | 0.049016 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.001754 | 0.012281 | 0.092982 | 0.278947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2082478c5b65779aae2acfdccad35b5845fda1cd | 153 | py | Python | util/ts2date.py | shamilbi/ru203 | cc6c5b232527baf427ae1f9765384bd6324838b8 | [
"MIT"
] | null | null | null | util/ts2date.py | shamilbi/ru203 | cc6c5b232527baf427ae1f9765384bd6324838b8 | [
"MIT"
] | null | null | null | util/ts2date.py | shamilbi/ru203 | cc6c5b232527baf427ae1f9765384bd6324838b8 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import sys
from datetime import datetime
#print(datetime.fromtimestamp(1609804800))
print(datetime.fromtimestamp(int(sys.argv[1])))
| 19.125 | 47 | 0.79085 | 20 | 153 | 6.05 | 0.65 | 0.214876 | 0.429752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 0.071895 | 153 | 7 | 48 | 21.857143 | 0.767606 | 0.379085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
209f6cbdc0d2ebb4d264bc68fb726831a1acfbca | 179 | py | Python | examples/software_defined_assets/software_defined_assets/repo.py | rpatil524/dagster | 6f918d94cbd543ab752ab484a65e3a40fd441716 | [
"Apache-2.0"
] | 1 | 2021-01-31T19:16:29.000Z | 2021-01-31T19:16:29.000Z | examples/software_defined_assets/software_defined_assets/repo.py | rpatil524/dagster | 6f918d94cbd543ab752ab484a65e3a40fd441716 | [
"Apache-2.0"
] | null | null | null | examples/software_defined_assets/software_defined_assets/repo.py | rpatil524/dagster | 6f918d94cbd543ab752ab484a65e3a40fd441716 | [
"Apache-2.0"
] | 1 | 2021-12-08T18:13:19.000Z | 2021-12-08T18:13:19.000Z | from dagster import repository
from software_defined_assets.spark_weather_job import spark_weather_job
@repository
def software_defined_assets():
return [spark_weather_job]
| 22.375 | 71 | 0.854749 | 24 | 179 | 5.958333 | 0.5 | 0.251748 | 0.314685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106145 | 179 | 7 | 72 | 25.571429 | 0.89375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 1 | 0 | 0 | 8 |
20a6c985d526f34522849a1ac0510dc9b1aa909f | 1,595 | py | Python | tools/vscode-extension/server/tests/test_imports.py | orlandoojr1/wave | e86d0c87c6c67e510fb4e1fa571982ca0a09f33c | [
"Apache-2.0"
] | 1 | 2022-03-02T21:54:36.000Z | 2022-03-02T21:54:36.000Z | tools/vscode-extension/server/tests/test_imports.py | orlandoojr1/wave | e86d0c87c6c67e510fb4e1fa571982ca0a09f33c | [
"Apache-2.0"
] | null | null | null | tools/vscode-extension/server/tests/test_imports.py | orlandoojr1/wave | e86d0c87c6c67e510fb4e1fa571982ca0a09f33c | [
"Apache-2.0"
] | null | null | null | import os
from server.lsp_server import did_save
from server.parser import read_file
from server.tests.utils import BaseTestCase, FakeSaveParams, root_uri
class TestImportCompletions(BaseTestCase):
def test_import_deps(self):
self.assert_state('q.client.', doc_uri=os.path.join(root_uri, 'utils.py'))
... | 43.108108 | 100 | 0.692163 | 216 | 1,595 | 4.888889 | 0.222222 | 0.05303 | 0.066288 | 0.092803 | 0.762311 | 0.762311 | 0.762311 | 0.762311 | 0.719697 | 0.719697 | 0 | 0.003831 | 0.181818 | 1,595 | 36 | 101 | 44.305556 | 0.805364 | 0.034483 | 0 | 0.625 | 0 | 0 | 0.123127 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 1 | 0.125 | false | 0 | 0.625 | 0 | 0.791667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
20c7a8c58fb4f9877accd39d859cfec7acddcbe2 | 4,399 | py | Python | src/HABApp/rule/interfaces/http.py | pailloM/HABApp | 3e0defd99ede9b91c164cb9d1ee011fd74e801c3 | [
"Apache-2.0"
] | null | null | null | src/HABApp/rule/interfaces/http.py | pailloM/HABApp | 3e0defd99ede9b91c164cb9d1ee011fd74e801c3 | [
"Apache-2.0"
] | null | null | null | src/HABApp/rule/interfaces/http.py | pailloM/HABApp | 3e0defd99ede9b91c164cb9d1ee011fd74e801c3 | [
"Apache-2.0"
] | null | null | null | from typing import Any, Optional, Mapping
import aiohttp
from HABApp.core.const import loop
from HABApp.core.const.json import dump_json
class AsyncHttpConnection:
def __init__(self):
self.__client: aiohttp.ClientSession = None
async def create_client(self):
assert self.__client is None
... | 47.815217 | 120 | 0.631962 | 540 | 4,399 | 5.061111 | 0.192593 | 0.032931 | 0.040981 | 0.048664 | 0.783388 | 0.765825 | 0.765825 | 0.764362 | 0.764362 | 0.718258 | 0 | 0 | 0.275517 | 4,399 | 91 | 121 | 48.340659 | 0.857546 | 0.549898 | 0 | 0.153846 | 0 | 0 | 0.019243 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 1 | 0.230769 | false | 0 | 0.192308 | 0.038462 | 0.653846 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
20e0e6b730e5af972cc7da5736bbc112da925171 | 932 | py | Python | tests/kit/closest_pair.py | untzag/WrightTools | 05480d2f91ceeca422d9e5ac381fce1840207cb0 | [
"MIT"
] | 12 | 2017-07-11T15:58:12.000Z | 2021-05-10T20:33:26.000Z | tests/kit/closest_pair.py | untzag/WrightTools | 05480d2f91ceeca422d9e5ac381fce1840207cb0 | [
"MIT"
] | 808 | 2015-04-12T00:36:08.000Z | 2022-03-27T21:06:06.000Z | tests/kit/closest_pair.py | untzag/WrightTools | 05480d2f91ceeca422d9e5ac381fce1840207cb0 | [
"MIT"
] | 9 | 2017-07-22T18:54:23.000Z | 2022-02-17T20:31:05.000Z | """Test closest pair."""
# --- import -------------------------------------------------------------------------------------
import numpy as np
import WrightTools as wt
# --- test ---------------------------------------------------------------------------------------
def test_5():
arr = np.array([1, 3, 4, 6... | 25.888889 | 98 | 0.436695 | 127 | 932 | 3.110236 | 0.220472 | 0.222785 | 0.194937 | 0.318987 | 0.711392 | 0.711392 | 0.64557 | 0.443038 | 0.443038 | 0.207595 | 0 | 0.066062 | 0.171674 | 932 | 35 | 99 | 26.628571 | 0.445596 | 0.228541 | 0 | 0.117647 | 0 | 0 | 0.033708 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 1 | 0.235294 | false | 0 | 0.117647 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
20f042d59ade10bee87508834d5c2adece50c21e | 572 | py | Python | riskslim/loss_functions/__init__.py | jnirschl/risk-slim | f0dc978780923e38d24e8219766c9f13d82a500f | [
"BSD-3-Clause"
] | 117 | 2017-02-15T01:44:53.000Z | 2022-03-26T14:11:51.000Z | riskslim/loss_functions/__init__.py | vishalbelsare/risk-slim | 100aca0fc0475e1ffb22f5ecf8ba240384a10adb | [
"BSD-3-Clause"
] | 13 | 2017-07-19T14:34:31.000Z | 2021-11-02T18:28:02.000Z | riskslim/loss_functions/__init__.py | jnirschl/risk-slim | f0dc978780923e38d24e8219766c9f13d82a500f | [
"BSD-3-Clause"
] | 30 | 2017-04-01T07:21:32.000Z | 2022-03-17T19:27:52.000Z | from .log_loss import *
from .log_loss_weighted import *
try:
from .fast_log_loss import *
except ImportError:
print("warning: could not import fast log loss")
print("warning: returning handle to standard loss functions")
# todo replace with warning object
import log_loss as fast_log_loss
try:
... | 28.6 | 65 | 0.743007 | 81 | 572 | 5.08642 | 0.296296 | 0.169903 | 0.09466 | 0.092233 | 0.757282 | 0.757282 | 0.757282 | 0.757282 | 0.757282 | 0.757282 | 0 | 0 | 0.197552 | 572 | 19 | 66 | 30.105263 | 0.897603 | 0.113636 | 0 | 0.428571 | 0 | 0 | 0.365805 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
4577014520cebb775d5226d0a26eeed1bb9b947c | 61 | py | Python | src/beancount_import/directives/directive_importer.py | rpurgstaller/beanbot-personal-finance-manager | 4770a17549f368985445f7d56cdf8e1097e007b1 | [
"CC0-1.0"
] | null | null | null | src/beancount_import/directives/directive_importer.py | rpurgstaller/beanbot-personal-finance-manager | 4770a17549f368985445f7d56cdf8e1097e007b1 | [
"CC0-1.0"
] | null | null | null | src/beancount_import/directives/directive_importer.py | rpurgstaller/beanbot-personal-finance-manager | 4770a17549f368985445f7d56cdf8e1097e007b1 | [
"CC0-1.0"
] | null | null | null | class DirectiveImporter():
def extract():
pass
| 10.166667 | 26 | 0.590164 | 5 | 61 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.311475 | 61 | 5 | 27 | 12.2 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
45cc568de120d54b26b736250fad39e460a58735 | 126 | py | Python | ACM-Solution/EQCHECK.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 2 | 2016-04-26T15:40:40.000Z | 2018-07-18T10:16:42.000Z | ACM-Solution/EQCHECK.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 1 | 2016-04-26T15:44:15.000Z | 2016-04-29T14:44:40.000Z | ACM-Solution/EQCHECK.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 1 | 2018-10-02T16:12:19.000Z | 2018-10-02T16:12:19.000Z | import re,fractions as f
exec('a,b,c=map(int,re.split("\D",input())[::2]);print("yneos"[c%f.gcd(a,b)>0::2]);'*int(input()))
| 42 | 99 | 0.587302 | 27 | 126 | 2.740741 | 0.703704 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0.055556 | 126 | 2 | 100 | 63 | 0.596639 | 0 | 0 | 0 | 0 | 0.5 | 0.620968 | 0.620968 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 8 |
affb846b8da98d1f1354ec9707a7ddd2efd47022 | 4,387 | py | Python | tests/build_indexes_tests.py | nickmaccarthy/Tattle | b3ef57b90b804ae62124803a92c828ef80d8e8b2 | [
"Apache-2.0"
] | 10 | 2016-05-31T15:21:36.000Z | 2021-01-13T21:37:28.000Z | tests/build_indexes_tests.py | nickmaccarthy/Tattle | b3ef57b90b804ae62124803a92c828ef80d8e8b2 | [
"Apache-2.0"
] | 4 | 2016-09-26T12:42:31.000Z | 2016-09-26T14:14:51.000Z | tests/build_indexes_tests.py | nickmaccarthy/Tattle | b3ef57b90b804ae62124803a92c828ef80d8e8b2 | [
"Apache-2.0"
] | 1 | 2020-03-07T13:07:36.000Z | 2020-03-07T13:07:36.000Z | import sys
import os
import re
import datetime
import time
import yaml
import json
from pprint import pprint
TATTLE_HOME = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
os.environ['TATTLE_HOME'] = str(TATTLE_HOME)
sys.path.append(os.path.join(TATTLE_HOME, 'lib'))
sys.path.append(os.path.join(TATTLE_H... | 70.758065 | 1,846 | 0.717803 | 806 | 4,387 | 3.858561 | 0.099256 | 0.286495 | 0.363666 | 0.419614 | 0.857235 | 0.44791 | 0.444695 | 0.444695 | 0.373633 | 0.373633 | 0 | 0.249688 | 0.087075 | 4,387 | 61 | 1,847 | 71.918033 | 0.526841 | 0 | 0 | 0.347826 | 0 | 0.130435 | 0.592339 | 0.538304 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.108696 | false | 0 | 0.23913 | 0 | 0.369565 | 0.021739 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b326a7357c3bb90b9bc6e1db98f73fd1c96fab46 | 7,707 | py | Python | src/pawns.py | fxa90id/python-ai-chess | b3432f10bacdcc5ee645ba247c1373c4fd193606 | [
"MIT"
] | null | null | null | src/pawns.py | fxa90id/python-ai-chess | b3432f10bacdcc5ee645ba247c1373c4fd193606 | [
"MIT"
] | null | null | null | src/pawns.py | fxa90id/python-ai-chess | b3432f10bacdcc5ee645ba247c1373c4fd193606 | [
"MIT"
] | null | null | null | class Pawn(object):
_me = 'p'
def __init__(self, color, position, board):
self.color = color
self.position = position
self.board = board
self.board.put_pawn(self)
if self.color is 'white':
self._me = self._me.upper()
self.direction = 1
else... | 38.535 | 74 | 0.414818 | 837 | 7,707 | 3.715651 | 0.086022 | 0.063666 | 0.043408 | 0.090032 | 0.779743 | 0.748553 | 0.73955 | 0.735048 | 0.727653 | 0.703859 | 0 | 0.008333 | 0.470611 | 7,707 | 199 | 75 | 38.728643 | 0.753922 | 0 | 0 | 0.721925 | 0 | 0 | 0.011937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.048128 | 0 | null | null | 0.042781 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b32f0b5717f917b717abf6e1977947c208659766 | 154 | py | Python | collie_recs/loss/__init__.py | lgpreston75/collie_recs | aafcb41bac680d36c7d9e9d6537018e2544327d3 | [
"BSD-3-Clause"
] | null | null | null | collie_recs/loss/__init__.py | lgpreston75/collie_recs | aafcb41bac680d36c7d9e9d6537018e2544327d3 | [
"BSD-3-Clause"
] | null | null | null | collie_recs/loss/__init__.py | lgpreston75/collie_recs | aafcb41bac680d36c7d9e9d6537018e2544327d3 | [
"BSD-3-Clause"
] | null | null | null | from collie_recs.loss.bpr import *
from collie_recs.loss.hinge import *
from collie_recs.loss.metadata_utils import *
from collie_recs.loss.warp import *
| 30.8 | 45 | 0.818182 | 25 | 154 | 4.84 | 0.4 | 0.330579 | 0.46281 | 0.595041 | 0.595041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 154 | 4 | 46 | 38.5 | 0.876812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
b346d7258037e77a8b414e10631691aa7ebbe8c2 | 18,065 | py | Python | trioasm/whatshap_trioasm/tests/test_pedigreegenotyping.py | shilpagarg/WHdenovo | 7a03798397ee0f131f100402d12ad53eab4334dc | [
"MIT"
] | 45 | 2019-03-18T06:57:23.000Z | 2021-06-24T12:24:48.000Z | trioasm/whatshap_trioasm/tests/test_pedigreegenotyping.py | shilpagarg/WHdenovo | 7a03798397ee0f131f100402d12ad53eab4334dc | [
"MIT"
] | 2 | 2019-05-06T22:11:22.000Z | 2020-01-10T15:14:40.000Z | trioasm/whatshap_trioasm/tests/test_pedigreegenotyping.py | shilpagarg/WHdenovo | 7a03798397ee0f131f100402d12ad53eab4334dc | [
"MIT"
] | 7 | 2019-05-06T22:07:47.000Z | 2020-12-11T08:48:26.000Z | """
Test genotyping of pedigrees
"""
import math
from whatshap.core import GenotypeDPTable, ReadSet, Pedigree, NumericSampleIds, \
PhredGenotypeLikelihoods
from whatshap.testhelpers import string_to_readset_pedigree
def genotype_pedigree(numeric_sample_ids,reads, recombcost, pedigree, expected_genotypes, weights=No... | 36.94274 | 147 | 0.693606 | 2,923 | 18,065 | 4.176531 | 0.060554 | 0.031291 | 0.036615 | 0.04882 | 0.815449 | 0.806684 | 0.79538 | 0.780062 | 0.777031 | 0.775557 | 0 | 0.143396 | 0.134514 | 18,065 | 488 | 148 | 37.018443 | 0.637416 | 0.05065 | 0 | 0.760369 | 0 | 0 | 0.195388 | 0 | 0 | 0 | 0 | 0.002049 | 0.006912 | 1 | 0.046083 | false | 0 | 0.006912 | 0 | 0.052995 | 0.009217 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2faa901c0ab5511dcdb85dfb83628c3f6524cda8 | 45 | py | Python | OMASS4/SNR_Calculation/__init__.py | DBernardes/OMASS4 | 30d2edc961463253cc120bc8ca1d74a0a73d922d | [
"MIT"
] | null | null | null | OMASS4/SNR_Calculation/__init__.py | DBernardes/OMASS4 | 30d2edc961463253cc120bc8ca1d74a0a73d922d | [
"MIT"
] | null | null | null | OMASS4/SNR_Calculation/__init__.py | DBernardes/OMASS4 | 30d2edc961463253cc120bc8ca1d74a0a73d922d | [
"MIT"
] | null | null | null | from .snr_calculation import SNR_Calculation
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.333333 | 0.666667 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ff377969b6f15dd32d1d60ed4d7fa820ca5b862f | 57 | py | Python | pbs_util/__init__.py | Clyde-fare/pbs_util | 1c1ed93773a9a020f9216056d2ae49cc0cd589d1 | [
"BSD-3-Clause"
] | 1 | 2015-08-24T02:48:00.000Z | 2015-08-24T02:48:00.000Z | pbs_util/__init__.py | Clyde-fare/pbs_util | 1c1ed93773a9a020f9216056d2ae49cc0cd589d1 | [
"BSD-3-Clause"
] | null | null | null | pbs_util/__init__.py | Clyde-fare/pbs_util | 1c1ed93773a9a020f9216056d2ae49cc0cd589d1 | [
"BSD-3-Clause"
] | null | null | null | from pbs import *
import pbs_map
import pbs_map_classes
| 11.4 | 22 | 0.824561 | 10 | 57 | 4.4 | 0.5 | 0.409091 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 4 | 23 | 14.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ff5f521abc2cab072c02afc2346f6d05a633409f | 231 | py | Python | beagle/header/__init__.py | ts03408751/beagle | c9c2d37c081768e3fb6dbd88e563deb168c9e33b | [
"MIT"
] | null | null | null | beagle/header/__init__.py | ts03408751/beagle | c9c2d37c081768e3fb6dbd88e563deb168c9e33b | [
"MIT"
] | null | null | null | beagle/header/__init__.py | ts03408751/beagle | c9c2d37c081768e3fb6dbd88e563deb168c9e33b | [
"MIT"
] | 1 | 2018-10-06T09:01:45.000Z | 2018-10-06T09:01:45.000Z | from .mpu_def import *
from .mpu_accel_fsr_t import *
from .mpu_gyro_fsr_t import *
from .mpu_accel_dlpf_t import *
from .mpu_gyro_dlpf_t import *
from .bmp_def import *
from .bmp_filter_t import *
from .bmp_oversample_t import *
| 23.1 | 31 | 0.787879 | 42 | 231 | 3.904762 | 0.285714 | 0.426829 | 0.335366 | 0.256098 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 231 | 9 | 32 | 25.666667 | 0.828283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4431ae4a75a63fe683d3acd3c4e1d7a92feea815 | 160 | py | Python | src/strategies/colors/__init__.py | dprslt/aurora | 3b70c036f01d9b69ae49559c404da79594530041 | [
"Apache-2.0"
] | null | null | null | src/strategies/colors/__init__.py | dprslt/aurora | 3b70c036f01d9b69ae49559c404da79594530041 | [
"Apache-2.0"
] | 17 | 2021-05-08T06:52:03.000Z | 2021-10-30T16:49:48.000Z | src/strategies/colors/__init__.py | dprslt/aurora | 3b70c036f01d9b69ae49559c404da79594530041 | [
"Apache-2.0"
] | null | null | null | from strategies.colors.OneCyclePerHour import *
from strategies.colors.OneCyclePerHourNightMode import *
__all__ = [OneCyclePerHour, OneCyclePerHourNightMode]
| 32 | 56 | 0.85625 | 13 | 160 | 10.230769 | 0.538462 | 0.210526 | 0.300752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08125 | 160 | 4 | 57 | 40 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
444ed3c7e073b7e3f1e7f06641ffc020d051dcc9 | 127,527 | py | Python | graphs/models/custom_layers/eeg_encoders.py | kkontras/Sleep_net | a6a83d4624989cc8a79238e491da06dc22d562b8 | [
"MIT"
] | 1 | 2022-02-22T02:40:41.000Z | 2022-02-22T02:40:41.000Z | graphs/models/custom_layers/eeg_encoders.py | kkontras/Sleep_net | a6a83d4624989cc8a79238e491da06dc22d562b8 | [
"MIT"
] | null | null | null | graphs/models/custom_layers/eeg_encoders.py | kkontras/Sleep_net | a6a83d4624989cc8a79238e491da06dc22d562b8 | [
"MIT"
] | null | null | null | import torch.nn as nn
import torch
import torch.functional as F
from graphs.models.attention_models.seq_base_models.mLSTM import LSTM
from graphs.models.attention_models.seq_base_models.mTransformerEncoder import Transformer_Encoder, myTransformerEncoderLayer
from graphs.models.attention_models.utils.positionalEncoders... | 39.130715 | 165 | 0.539831 | 18,679 | 127,527 | 3.542749 | 0.021093 | 0.035361 | 0.036343 | 0.03589 | 0.924926 | 0.898542 | 0.873955 | 0.850941 | 0.835482 | 0.81898 | 0 | 0.062482 | 0.297074 | 127,527 | 3,259 | 166 | 39.130715 | 0.675732 | 0.183977 | 0 | 0.722964 | 0 | 0 | 0.041404 | 0.000745 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067648 | false | 0 | 0.007363 | 0.002301 | 0.14266 | 0.003682 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4467fbed5f74f478f0a4683bc0b6318e0e4404aa | 161 | py | Python | component/widget/__init__.py | sepal-contrib/alert_module | fa1b45308bb04da5269177e5a05f37f4cf6add1e | [
"MIT"
] | null | null | null | component/widget/__init__.py | sepal-contrib/alert_module | fa1b45308bb04da5269177e5a05f37f4cf6add1e | [
"MIT"
] | 3 | 2020-09-21T11:42:26.000Z | 2020-10-07T16:19:20.000Z | component/widget/__init__.py | 12rambau/alert_module | fa1b45308bb04da5269177e5a05f37f4cf6add1e | [
"MIT"
] | null | null | null | from .alert_map import *
from .date_line import *
from .dynamic_select import *
from .map_btn import *
from .surface_select import *
from .planet_param import *
| 23 | 29 | 0.776398 | 24 | 161 | 4.958333 | 0.5 | 0.420168 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149068 | 161 | 6 | 30 | 26.833333 | 0.868613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
920bc20ba4c0a70a07b2af9d52e18cd64b22f5a4 | 345 | py | Python | explanator/__init__.py | hatbot-team/hatbot | e7fea42b5431cc3e93d9e484c5bb5232d8f2e981 | [
"MIT"
] | 1 | 2016-05-26T08:18:36.000Z | 2016-05-26T08:18:36.000Z | explanator/__init__.py | hatbot-team/hatbot | e7fea42b5431cc3e93d9e484c5bb5232d8f2e981 | [
"MIT"
] | null | null | null | explanator/__init__.py | hatbot-team/hatbot | e7fea42b5431cc3e93d9e484c5bb5232d8f2e981 | [
"MIT"
] | null | null | null | __author__ = 'moskupols'
__all__ = [
'explain',
'get_explainable_words',
'get_random_word',
'explain_list',
'ALL_SOURCES_NAMES_SET',
'SELECTION_LEVELS',
]
from ._explanator import \
explain, \
get_explainable_words, \
get_random_word, \
explain_list, \
ALL_SOURCES_NAMES_SET... | 18.157895 | 28 | 0.669565 | 36 | 345 | 5.666667 | 0.5 | 0.098039 | 0.205882 | 0.254902 | 0.813725 | 0.813725 | 0.813725 | 0.813725 | 0.813725 | 0.813725 | 0 | 0 | 0.226087 | 345 | 18 | 29 | 19.166667 | 0.764045 | 0 | 0 | 0 | 0 | 0 | 0.292754 | 0.121739 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a6139c42fb15ac240784707c46563aa5de82ac7e | 3,414 | py | Python | runPy/test.py | aasensio/hazel | 899c8461324061bacc14da7165b9ac7eed35c96b | [
"MIT"
] | 6 | 2016-01-11T05:03:00.000Z | 2018-08-31T11:13:24.000Z | runPy/test.py | aasensio/hazel | 899c8461324061bacc14da7165b9ac7eed35c96b | [
"MIT"
] | 12 | 2017-04-22T16:10:43.000Z | 2021-01-11T14:03:59.000Z | runPy/test.py | aasensio/hazel | 899c8461324061bacc14da7165b9ac7eed35c96b | [
"MIT"
] | 4 | 2016-02-25T19:35:07.000Z | 2018-10-01T17:12:52.000Z | import numpy as np
from hazel import hazel
import matplotlib.pyplot as pl
import time
out = hazel()
synModeInput = 5
nSlabsInput = 3
B1Input = np.asarray([10.0,70.0,0.0])
B2Input = np.asarray([10.0,70.0,0.0])
hInput = 3.e0
tau1Input = 1.e0
tau2Input = 1.e0
transInput = 1
atomicPolInput = 1
magoptInput = 1
anglesInput... | 33.80198 | 138 | 0.702109 | 435 | 3,414 | 5.501149 | 0.243678 | 0.038445 | 0.045132 | 0.04346 | 0.814459 | 0.814459 | 0.814459 | 0.814459 | 0.814459 | 0.814459 | 0 | 0.083098 | 0.171646 | 3,414 | 100 | 139 | 34.14 | 0.763083 | 0.055653 | 0 | 0.7125 | 0 | 0 | 0.013665 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a633e3a67cfb4d4b813ffc85c10665f337dab548 | 3,773 | py | Python | PyUnits/quantities/SIUnits.py | AngheloAlf/PyUnits | b78910c06a7176d02d3b2d63ea4ef905837532ae | [
"MIT"
] | null | null | null | PyUnits/quantities/SIUnits.py | AngheloAlf/PyUnits | b78910c06a7176d02d3b2d63ea4ef905837532ae | [
"MIT"
] | null | null | null | PyUnits/quantities/SIUnits.py | AngheloAlf/PyUnits | b78910c06a7176d02d3b2d63ea4ef905837532ae | [
"MIT"
] | null | null | null | from __future__ import annotations
from ..TypesHelper import Number_t
from . import BaseQuantities
from ..unitRepresentation import Units
from ..prefixes import SIPrefixes
def meterUnit(value: Number_t, *, exp10: int=0, prefix: str="", power: Number_t=1):
unit = BaseQuantities.LengthUnit(power=power)
exp = S... | 42.393258 | 85 | 0.714816 | 500 | 3,773 | 5.32 | 0.13 | 0.086842 | 0.076692 | 0.108647 | 0.785714 | 0.758271 | 0.758271 | 0.735714 | 0.735714 | 0.735714 | 0 | 0.044842 | 0.154784 | 3,773 | 88 | 86 | 42.875 | 0.789276 | 0 | 0 | 0.42029 | 0 | 0 | 0.00106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.246377 | false | 0 | 0.072464 | 0.115942 | 0.565217 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
a6b41edafffc31eaa17ab15198a94c3a1b29757a | 174 | py | Python | mundo 1/aula 7/exer9.py | jonatan098/cursopython | 6e4cbaef6229e230fdbc66d80ec1b5a089887b0d | [
"MIT"
] | null | null | null | mundo 1/aula 7/exer9.py | jonatan098/cursopython | 6e4cbaef6229e230fdbc66d80ec1b5a089887b0d | [
"MIT"
] | null | null | null | mundo 1/aula 7/exer9.py | jonatan098/cursopython | 6e4cbaef6229e230fdbc66d80ec1b5a089887b0d | [
"MIT"
] | 1 | 2020-02-22T17:21:05.000Z | 2020-02-22T17:21:05.000Z | n = int(input('digite um numero '))
print(f'a tabuada de {n} e :')
print(f' {n*0} \n {n*1} \n {n*2} \n {n*3} \n {n*4} \n {n*5} \n {n*6} \n {n*7} \n {n*8} \n {n*9} \n {n*10}') | 58 | 107 | 0.45977 | 47 | 174 | 1.702128 | 0.489362 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0.189655 | 174 | 3 | 107 | 58 | 0.48227 | 0 | 0 | 0 | 0 | 0.333333 | 0.765714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
a6fc6e832ce884a8060c3666ea4730d3b20ea092 | 75 | py | Python | tests/unit/__init__.py | Onboard-Team/gltflib | 1aef8e5edcd6336b170226b0666bf78f92f02ee9 | [
"MIT"
] | 56 | 2019-06-17T10:46:25.000Z | 2022-03-30T14:48:36.000Z | tests/unit/__init__.py | Onboard-Team/gltflib | 1aef8e5edcd6336b170226b0666bf78f92f02ee9 | [
"MIT"
] | 198 | 2019-11-15T03:33:25.000Z | 2022-03-30T07:02:21.000Z | tests/unit/__init__.py | Onboard-Team/gltflib | 1aef8e5edcd6336b170226b0666bf78f92f02ee9 | [
"MIT"
] | 11 | 2019-10-15T01:37:05.000Z | 2022-03-24T12:11:12.000Z | from .test_gltf import TestGLTF
from .test_gltf_model import TestGLTFModel
| 25 | 42 | 0.866667 | 11 | 75 | 5.636364 | 0.636364 | 0.258065 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 43 | 37.5 | 0.925373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
471205cd3b7ef58ee1929e3ec0b1b0ed27e6c099 | 4,398 | py | Python | osrsmath/tests/combat/test_dps.py | Palfore/OSRSmath | 373eb1e7f9702b98de318b3c708084353626a177 | [
"MIT"
] | 5 | 2020-06-30T06:51:25.000Z | 2021-11-16T01:04:48.000Z | osrsmath/tests/combat/test_dps.py | Palfore/OSRS-Combat | 373eb1e7f9702b98de318b3c708084353626a177 | [
"MIT"
] | 15 | 2020-06-19T14:36:38.000Z | 2021-04-16T16:17:08.000Z | osrsmath/tests/combat/test_dps.py | Palfore/OSRS-Combat | 373eb1e7f9702b98de318b3c708084353626a177 | [
"MIT"
] | null | null | null | # Please fill me when you test things manually!
from osrsmath.skills.combat.fighter import Fighter, Player
from osrsmath.skills.combat.items import ITEM_DATABASE
import unittest
MAXED = {
'attack': 99,
'strength': 99,
'defence': 99,
}
BASE_70s = {
'attack': 70,
'strength': 70,
'defence': 70,
}
... | 28.374194 | 82 | 0.663938 | 505 | 4,398 | 5.681188 | 0.19604 | 0.031718 | 0.041478 | 0.056117 | 0.846288 | 0.825723 | 0.805507 | 0.736494 | 0.736494 | 0.736494 | 0 | 0.065644 | 0.199864 | 4,398 | 155 | 83 | 28.374194 | 0.749645 | 0.611642 | 0 | 0.075 | 0 | 0 | 0.079918 | 0 | 0 | 0 | 0 | 0 | 0.275 | 1 | 0.1 | false | 0.075 | 0.1 | 0 | 0.225 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
5b25ffb549f6b48a81471d5eddac84ff4bf8b237 | 4,355 | py | Python | google forms bot/google-form-spambot3.py | Pabloespe/Python-algorithms | 5d24e74f857afbe01db957c69d17bfe7abb45640 | [
"MIT"
] | null | null | null | google forms bot/google-form-spambot3.py | Pabloespe/Python-algorithms | 5d24e74f857afbe01db957c69d17bfe7abb45640 | [
"MIT"
] | null | null | null | google forms bot/google-form-spambot3.py | Pabloespe/Python-algorithms | 5d24e74f857afbe01db957c69d17bfe7abb45640 | [
"MIT"
] | null | null | null | import time
import random
from selenium import webdriver
aux=0
while(aux<30):
chromedriver = "C:/Users/pablo/AppData/Local/Programs/Python/Python37-32/google form/chromedriver"
driver = webdriver.Chrome(chromedriver)
link = 'https://docs.google.com/forms/d/e/1FAIpQLSe6f_plp2wvQqq5slrHrLNWLGUJrFradUoqUdHpnFcd2DAZkA/... | 29.033333 | 121 | 0.662457 | 798 | 4,355 | 3.513784 | 0.112782 | 0.048502 | 0.072397 | 0.059914 | 0.869116 | 0.869116 | 0.858417 | 0.858417 | 0.850571 | 0.850571 | 0 | 0.046788 | 0.131343 | 4,355 | 150 | 122 | 29.033333 | 0.694422 | 0.143513 | 0 | 0.831776 | 0 | 0.084112 | 0.311776 | 0.275128 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028037 | 0 | 0.028037 | 0.046729 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
75322c69d164a8b1249dd805b10076baf02130a3 | 95 | py | Python | Aulas de Python Mundo 1/Curso Python #11 - Cores no terminal - Part 11.py | ErikDMCosta/Meu-Reposit-rio-do-Curso-de-Python-Mundo-1 | 085662603d1fc1963ea25e4b08ba887adc59fecd | [
"MIT"
] | null | null | null | Aulas de Python Mundo 1/Curso Python #11 - Cores no terminal - Part 11.py | ErikDMCosta/Meu-Reposit-rio-do-Curso-de-Python-Mundo-1 | 085662603d1fc1963ea25e4b08ba887adc59fecd | [
"MIT"
] | null | null | null | Aulas de Python Mundo 1/Curso Python #11 - Cores no terminal - Part 11.py | ErikDMCosta/Meu-Reposit-rio-do-Curso-de-Python-Mundo-1 | 085662603d1fc1963ea25e4b08ba887adc59fecd | [
"MIT"
] | null | null | null | a = 3
b = 5
print('Os valores sรฃo \033[32;44m{}\033[m e \033[31;44m{}\033[m!!!'.format(a, b))
| 19 | 81 | 0.568421 | 22 | 95 | 2.454545 | 0.681818 | 0.222222 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271605 | 0.147368 | 95 | 4 | 82 | 23.75 | 0.395062 | 0 | 0 | 0 | 0 | 0.333333 | 0.62766 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7538214c4b0a06590a1c600ab0f6a6e94205daeb | 21,291 | py | Python | tests/test_dojo.py | BolajiOlajide/SpaceAllocator | 562210eed7196cefaeb12bfae24823f8d7a2e094 | [
"MIT"
] | 1 | 2017-08-14T15:06:05.000Z | 2017-08-14T15:06:05.000Z | tests/test_dojo.py | BolajiOlajide/SpaceAllocator | 562210eed7196cefaeb12bfae24823f8d7a2e094 | [
"MIT"
] | null | null | null | tests/test_dojo.py | BolajiOlajide/SpaceAllocator | 562210eed7196cefaeb12bfae24823f8d7a2e094 | [
"MIT"
] | null | null | null | from os import path, sys
import os
import unittest
from models.dojo import Dojo
os.sys.path.append(path.dirname(path.dirname(path.abspath(__file__))))
class TestDojo(unittest.TestCase):
"""Test cases for the Dojo class"""
def setUpClass():
if os.path.isfile('data/db/fellow.db'):
os.remo... | 32.805855 | 95 | 0.510591 | 2,179 | 21,291 | 4.808169 | 0.064709 | 0.032738 | 0.063281 | 0.081894 | 0.855684 | 0.83354 | 0.822946 | 0.801947 | 0.784194 | 0.7652 | 0 | 0.00452 | 0.324644 | 21,291 | 648 | 96 | 32.856481 | 0.724112 | 0.00357 | 0 | 0.718802 | 0 | 0 | 0.240851 | 0.016035 | 0 | 0 | 0 | 0 | 0.078203 | 1 | 0.061564 | false | 0 | 0.006656 | 0 | 0.069884 | 0.023295 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f35a77622c36ffc52c0687fb362c865eb4e771fb | 6,076 | py | Python | black_box_optimization/ensemble_methods.py | Optimistic-Optimizers/Black-Box-Optimization | 81444dc80886b808d509e0613e63bc77b7eac676 | [
"MIT"
] | null | null | null | black_box_optimization/ensemble_methods.py | Optimistic-Optimizers/Black-Box-Optimization | 81444dc80886b808d509e0613e63bc77b7eac676 | [
"MIT"
] | null | null | null | black_box_optimization/ensemble_methods.py | Optimistic-Optimizers/Black-Box-Optimization | 81444dc80886b808d509e0613e63bc77b7eac676 | [
"MIT"
] | 2 | 2021-02-17T01:34:11.000Z | 2021-03-17T21:27:33.000Z | def decision_tree_classifier(a,b,c,d):
'''This function runs the decision_tree_classifier on the data'''
import numpy as np
import os
import pandas as pd
from bayes_opt import BayesianOptimization
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import Standar... | 43.71223 | 125 | 0.671494 | 873 | 6,076 | 4.467354 | 0.153494 | 0.104615 | 0.061538 | 0.049231 | 0.954359 | 0.954359 | 0.929744 | 0.871795 | 0.871795 | 0.834359 | 0 | 0.012708 | 0.197005 | 6,076 | 138 | 126 | 44.028986 | 0.786637 | 0.019585 | 0 | 0.900763 | 0 | 0 | 0.1164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030534 | false | 0 | 0.145038 | 0 | 0.206107 | 0.045802 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f36c574a1e61c47ca96378cd0c0b93dc31991c47 | 66 | py | Python | problem.0001/problem1.py | jonathanjdavis/euler | b5e4c37b68182102e0c53f3c5f0fc2dc48cf9777 | [
"Unlicense"
] | null | null | null | problem.0001/problem1.py | jonathanjdavis/euler | b5e4c37b68182102e0c53f3c5f0fc2dc48cf9777 | [
"Unlicense"
] | null | null | null | problem.0001/problem1.py | jonathanjdavis/euler | b5e4c37b68182102e0c53f3c5f0fc2dc48cf9777 | [
"Unlicense"
] | null | null | null | #!python3
print(sum(set(range(0,1000,3)) | set(range(0,1000,5)))) | 22 | 55 | 0.651515 | 13 | 66 | 3.307692 | 0.692308 | 0.372093 | 0.418605 | 0.604651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209677 | 0.060606 | 66 | 3 | 55 | 22 | 0.483871 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
f3801ba06ee1c3c0715f3dbe5aa17b0b9f2e50fc | 2,740 | py | Python | data_collection/altdata_service/db/sql/migration_of_db/django_migration_do_to_gcp/sql_queries.py | kaljuvee/openaltdata | 9c5d140b56cfd5260fe3cf52b24bb7d467e87cf1 | [
"MIT"
] | null | null | null | data_collection/altdata_service/db/sql/migration_of_db/django_migration_do_to_gcp/sql_queries.py | kaljuvee/openaltdata | 9c5d140b56cfd5260fe3cf52b24bb7d467e87cf1 | [
"MIT"
] | null | null | null | data_collection/altdata_service/db/sql/migration_of_db/django_migration_do_to_gcp/sql_queries.py | kaljuvee/openaltdata | 9c5d140b56cfd5260fe3cf52b24bb7d467e87cf1 | [
"MIT"
] | 1 | 2021-09-10T16:03:20.000Z | 2021-09-10T16:03:20.000Z | import pandas as pd
import db.db_access as access
from sqlalchemy import create_engine
class gcp_psql_db_migration(object):
def __init__(self):
self.host, self.port, self.database, self.user, self.password = access.postgre_access_google_cloud()
self.message = str('postgres://' + self.user ... | 32.235294 | 134 | 0.614964 | 341 | 2,740 | 4.683284 | 0.167155 | 0.097683 | 0.093926 | 0.095178 | 0.916719 | 0.916719 | 0.916719 | 0.916719 | 0.916719 | 0.916719 | 0 | 0 | 0.259854 | 2,740 | 85 | 135 | 32.235294 | 0.787475 | 0 | 0 | 0.811321 | 0 | 0 | 0.075173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.207547 | false | 0.075472 | 0.056604 | 0 | 0.471698 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
45eddffd0285fbccf3d6b3c9c35142ec3031c52d | 4,982 | py | Python | src/pyrin/caching/remote/decorators.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/caching/remote/decorators.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/caching/remote/decorators.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
caching remote decorators module.
"""
from functools import update_wrapper
import pyrin.caching.services as caching_services
def memcached(*old_method, **options):
"""
decorator to convert a method or function into a lazy one.
note that this cache type supports expire time a... | 34.839161 | 85 | 0.620032 | 605 | 4,982 | 5.066116 | 0.203306 | 0.041762 | 0.083524 | 0.045024 | 0.927243 | 0.927243 | 0.903752 | 0.878303 | 0.878303 | 0.878303 | 0 | 0.001474 | 0.31935 | 4,982 | 142 | 86 | 35.084507 | 0.902389 | 0.632878 | 0 | 0.75 | 0 | 0 | 0.019512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.0625 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
340441949b7d7a26035f52b35fe0e39f6e795000 | 3,293 | py | Python | substance/bili_data_types.py | Liu-0726/bili2.0 | 5320964b1f4fbb75ea9bccd4bb6fd3d15dfed0e0 | [
"MIT"
] | 1,081 | 2018-07-10T11:20:22.000Z | 2022-03-25T09:26:25.000Z | substance/bili_data_types.py | Liu-0726/bili2.0 | 5320964b1f4fbb75ea9bccd4bb6fd3d15dfed0e0 | [
"MIT"
] | 440 | 2018-07-12T08:50:31.000Z | 2021-12-22T11:56:54.000Z | substance/bili_data_types.py | Liu-0726/bili2.0 | 5320964b1f4fbb75ea9bccd4bb6fd3d15dfed0e0 | [
"MIT"
] | 280 | 2018-07-11T14:35:20.000Z | 2022-03-28T11:09:14.000Z | import attr
@attr.s(frozen=True)
class SubstanceRaffleStatus:
# ่ฟ้จๅไฟ่ฏๆนไพฟ่ฟ
้ๅฎไฝๆๆกๅจๆ๏ผๆๅจ๏ผ
aid = attr.ib(converter=int)
number = attr.ib(converter=int)
describe = attr.ib(validator=attr.validators.instance_of(str))
join_start_time = attr.ib(converter=int)
join_end_time = attr.ib(converter=i... | 33.602041 | 106 | 0.644701 | 406 | 3,293 | 5.046798 | 0.169951 | 0.058565 | 0.102489 | 0.122987 | 0.843338 | 0.750122 | 0.750122 | 0.72816 | 0.72816 | 0.72816 | 0 | 0.004013 | 0.243243 | 3,293 | 97 | 107 | 33.948454 | 0.818218 | 0.093532 | 0 | 0.739726 | 0 | 0 | 0.002434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054795 | false | 0 | 0.013699 | 0 | 0.452055 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
342c69ec27f8ba8ed9ce3fbafac0157495c395d5 | 110 | py | Python | api/db/Accounts.py | BytesToBits/BytesToBits-API | bfa305e4f6ded995da95bbedc79c91ef8ce498fb | [
"MIT"
] | null | null | null | api/db/Accounts.py | BytesToBits/BytesToBits-API | bfa305e4f6ded995da95bbedc79c91ef8ce498fb | [
"MIT"
] | null | null | null | api/db/Accounts.py | BytesToBits/BytesToBits-API | bfa305e4f6ded995da95bbedc79c91ef8ce498fb | [
"MIT"
] | null | null | null | from .core import BaseDb
def find_by_token(token):
return BaseDb("Main", "Accounts").get_one(token=token) | 27.5 | 58 | 0.745455 | 17 | 110 | 4.647059 | 0.764706 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 110 | 4 | 58 | 27.5 | 0.814433 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
343b27a611f807228a1180d4ddff0ee929eae701 | 143 | py | Python | thanados/views/about.py | stefaneichert/thanados | 262b97e995425ddfe49dae0089f7de6ca58842e7 | [
"MIT"
] | 15 | 2019-11-15T15:54:52.000Z | 2022-01-27T10:51:18.000Z | thanados/views/about.py | nhmvienna/thanados | 262b97e995425ddfe49dae0089f7de6ca58842e7 | [
"MIT"
] | 1 | 2022-01-05T09:38:58.000Z | 2022-03-08T11:10:02.000Z | thanados/views/about.py | nhmvienna/thanados | 262b97e995425ddfe49dae0089f7de6ca58842e7 | [
"MIT"
] | 5 | 2019-11-21T14:46:12.000Z | 2022-02-25T16:10:24.000Z | from flask import render_template
from thanados import app
@app.route('/about')
def about():
return render_template('about/about.html')
| 15.888889 | 46 | 0.748252 | 20 | 143 | 5.25 | 0.6 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13986 | 143 | 8 | 47 | 17.875 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 1 | 0 | 0 | 7 |
caa57ed4038f595609b83bf0be615cae686fea20 | 264 | py | Python | adbus/client/__init__.py | jameshilliard/adbus | 3b16f02d6cc5ff27b50f1f60b429710ecac7233b | [
"MIT"
] | 31 | 2017-09-07T22:57:54.000Z | 2021-08-15T01:45:42.000Z | adbus/client/__init__.py | jameshilliard/adbus | 3b16f02d6cc5ff27b50f1f60b429710ecac7233b | [
"MIT"
] | 41 | 2017-08-23T17:44:02.000Z | 2021-04-21T21:22:24.000Z | adbus/client/__init__.py | ccxtechnologies/python-adbus | 091e3cf83d770996502a2b39cf53234e5b77cd75 | [
"MIT"
] | 10 | 2018-08-22T06:08:20.000Z | 2020-07-06T11:05:04.000Z | # == Copyright: 2017, CCX Technologies
from adbus.client.call import call
from adbus.client.getset import get
from adbus.client.getset import set_
from adbus.client.getset import get_all
from adbus.client.listen import Listen
from adbus.client.proxy import Proxy
| 29.333333 | 39 | 0.818182 | 41 | 264 | 5.219512 | 0.365854 | 0.252336 | 0.420561 | 0.294393 | 0.406542 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0.017167 | 0.117424 | 264 | 8 | 40 | 33 | 0.901288 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cace03926546de268f4c14ad24bf0c42af32de82 | 88,873 | py | Python | clowns.py | clownsmd5h4sh/clownsmd5 | 08255ae1ba7f6e2b5eca8bb8215c385fbda0ad9e | [
"Unlicense"
] | null | null | null | clowns.py | clownsmd5h4sh/clownsmd5 | 08255ae1ba7f6e2b5eca8bb8215c385fbda0ad9e | [
"Unlicense"
] | null | null | null | clowns.py | clownsmd5h4sh/clownsmd5 | 08255ae1ba7f6e2b5eca8bb8215c385fbda0ad9e | [
"Unlicense"
] | null | null | null | #Decompiled by Ac3p_Cyb3r
import os, sys, time, datetime, random, hashlib, re, threading, json, getpass, urllib, requests, mechanize
from multiprocessing.pool import ThreadPool
from requests.exceptions import ConnectionError
from mechanize import Browser
reload(sys)
sys.setdefaultencoding('utf8')
br = mechanize.Browse... | 41.744011 | 1,251 | 0.485536 | 12,085 | 88,873 | 3.534133 | 0.052875 | 0.13196 | 0.098665 | 0.079138 | 0.812175 | 0.791805 | 0.770265 | 0.734582 | 0.704847 | 0.68834 | 0 | 0.133339 | 0.34052 | 88,873 | 2,128 | 1,252 | 41.763628 | 0.595376 | 0.000529 | 0 | 0.688684 | 0 | 0.141321 | 0.395524 | 0.130246 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.033282 | 0.002048 | null | null | 0.247312 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cad2c39d835b7ec242ded60af1e6c17623f3ea8e | 94,529 | py | Python | pyboto3/networkmanager.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 91 | 2016-12-31T11:38:37.000Z | 2021-09-16T19:33:23.000Z | pyboto3/networkmanager.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 7 | 2017-01-02T18:54:23.000Z | 2020-08-11T13:54:02.000Z | pyboto3/networkmanager.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 26 | 2016-12-31T13:11:00.000Z | 2022-03-03T21:01:12.000Z | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 24.065428 | 456 | 0.645199 | 9,091 | 94,529 | 6.696733 | 0.04257 | 0.102497 | 0.153745 | 0.026478 | 0.907145 | 0.886367 | 0.876873 | 0.86958 | 0.86503 | 0.858328 | 0 | 0.006852 | 0.252748 | 94,529 | 3,927 | 457 | 24.071556 | 0.855019 | 0.961832 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
1b080b7ffb3debbb62a7928a359a0041257bdcce | 4,183 | py | Python | tests/levels.py | TheSecEng/MarkdownTOC | 7c69137249820dc586fd90b58fca2f34c54f2abc | [
"MIT"
] | null | null | null | tests/levels.py | TheSecEng/MarkdownTOC | 7c69137249820dc586fd90b58fca2f34c54f2abc | [
"MIT"
] | 1 | 2020-05-24T11:44:49.000Z | 2020-05-24T11:44:49.000Z | tests/levels.py | TheSecEng/MarkdownTOC | 7c69137249820dc586fd90b58fca2f34c54f2abc | [
"MIT"
] | null | null | null | # coding:utf-8
from base import TestBase
class TestLevels(TestBase):
'''Test for attributes \'levels\''''
# for debug
# def tearDown(self):
# pass
text_1 = \
'''
<!-- MarkdownTOC {0} -->
<!-- /MarkdownTOC -->
# heading 1
## heading 2
### heading 3
#### heading 4
##### heading 5
###### head... | 32.679688 | 81 | 0.579488 | 607 | 4,183 | 3.813839 | 0.092257 | 0.178402 | 0.269546 | 0.161987 | 0.851836 | 0.800864 | 0.765443 | 0.764579 | 0.761555 | 0.736069 | 0 | 0.050314 | 0.23978 | 4,183 | 128 | 82 | 32.679688 | 0.677673 | 0.092517 | 0 | 0.675676 | 0 | 0 | 0.193745 | 0 | 0 | 0 | 0 | 0.007813 | 0.648649 | 1 | 0.135135 | false | 0 | 0.013514 | 0 | 0.189189 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
1b6ed2955995aa6197fa50415dfac462602a26cc | 16,501 | py | Python | src/ggrc_basic_permissions/migrations/versions/20131218225818_3e08ed6b47b8_prograreader_and_pro.py | Smotko/ggrc-core | b3abb58b24e7559960d71a94ba79c75539e7fe29 | [
"Apache-2.0"
] | null | null | null | src/ggrc_basic_permissions/migrations/versions/20131218225818_3e08ed6b47b8_prograreader_and_pro.py | Smotko/ggrc-core | b3abb58b24e7559960d71a94ba79c75539e7fe29 | [
"Apache-2.0"
] | 12 | 2015-01-08T14:50:19.000Z | 2017-11-29T19:37:53.000Z | src/ggrc_basic_permissions/migrations/versions/20131218225818_3e08ed6b47b8_prograreader_and_pro.py | mikecb/ggrc-core | 1cda560cb0920021416e07740c6cca1acba56268 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2015-01-08T13:25:09.000Z | 2015-01-08T13:25:09.000Z | # Copyright (C) 2015 Google Inc., authors, and contributors <see AUTHORS file>
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
# Created By: anze@reciprocitylabs.com
# Maintained By: anze@reciprocitylabs.com
"""PrograReader and ProgramEditor need to be able to read UserRole resources.
... | 36.750557 | 78 | 0.333313 | 596 | 16,501 | 9.073826 | 0.197987 | 0.139423 | 0.197115 | 0.259615 | 0.814719 | 0.814719 | 0.805843 | 0.805843 | 0.805843 | 0.805843 | 0 | 0.00874 | 0.583965 | 16,501 | 448 | 79 | 36.832589 | 0.779024 | 0.026301 | 0 | 0.913349 | 0 | 0 | 0.27138 | 0.033634 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009368 | false | 0 | 0.01171 | 0 | 0.023419 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
1ba5b1fd9802b6dce0d40f24770b332be7af364c | 863 | py | Python | InfoUp.py | AshbornXS/Iota | ddf9da616d6210a93c0c1eb737c00fb9f4edba36 | [
"Apache-2.0"
] | 2 | 2022-03-05T13:05:42.000Z | 2022-03-07T19:13:36.000Z | InfoUp.py | RED-ALISON/Vlkyre | 03e2d7b1e00917e109dd6dfe44fee936b3d22ee2 | [
"Apache-2.0"
] | null | null | null | InfoUp.py | RED-ALISON/Vlkyre | 03e2d7b1e00917e109dd6dfe44fee936b3d22ee2 | [
"Apache-2.0"
] | 1 | 2022-03-07T19:14:20.000Z | 2022-03-07T19:14:20.000Z | # |โฌกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ|โ โธ๐๐ฅ๐ค๐ฒ๐ซ๐ โ แดแดแดกแดสแดแด
สส แดสแดแดษชษดแดขสแดสโข โ|โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌก|
# (๐)๐๐ฅ๐ค๐ฒ๐ซ๐ ๐ข๐ฌ ๐ ๐๐ก๐๐ญ๐ฌ๐๐ฉ๐ฉ ๐๐ฎ๐ฅ๐ญ๐ข๐๐ฎ๐ซ๐ฉ๐จ๐ฌ๐-๐๐ฌ๐๐ซ๐๐จ๐ญ ๐ฐ๐ข๐ญ๐ก ๐๐จ๐๐๐ซ๐๐ญ๐ข๐จ๐ง,๐๐ฎ๐ญ๐จ๐ฆ๐๐ญ๐ข๐จ๐ง ๐๐ง๐ ๐๐๐+ ๐ฆ๐จ๐ซ๐ ๐๐จ๐ฆ๐ฆ๐... | 95.888889 | 132 | 0.391657 | 82 | 863 | 8.768293 | 0.47561 | 0.255911 | 0.294854 | 0.300417 | 0.887344 | 0.887344 | 0.887344 | 0.887344 | 0.887344 | 0.887344 | 0 | 0.007802 | 0.108922 | 863 | 9 | 133 | 95.888889 | 0.430429 | 0.853998 | 0 | 0 | 0 | 0 | 0.375 | 0.183333 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 15 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.