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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
32a75e26e587e0bf7f7fe8168c7ecc5d8b10bf32 | 2,568 | py | Python | src/models/amplifier/simplified_tbj/fixed_polarization/drawing.py | luanws/amplifier-circuits | cd19acae11eb1dc5f11efd3bee785caedbbc81b4 | [
"Apache-2.0"
] | null | null | null | src/models/amplifier/simplified_tbj/fixed_polarization/drawing.py | luanws/amplifier-circuits | cd19acae11eb1dc5f11efd3bee785caedbbc81b4 | [
"Apache-2.0"
] | null | null | null | src/models/amplifier/simplified_tbj/fixed_polarization/drawing.py | luanws/amplifier-circuits | cd19acae11eb1dc5f11efd3bee785caedbbc81b4 | [
"Apache-2.0"
] | null | null | null | from schemdraw import Drawing
from schemdraw import elements as elm
from src.utils import numerize
from .input import Input
def draw_void():
drawing = Drawing()
drawing += (transistor := elm.transistors.BjtNpn().right())
drawing.push()
drawing += elm.Resistor().up().label('Rc')
drawing += elm.L... | 28.533333 | 80 | 0.625 | 329 | 2,568 | 4.863222 | 0.164134 | 0.2375 | 0.1225 | 0.09 | 0.84125 | 0.84125 | 0.84125 | 0.84125 | 0.84125 | 0.84125 | 0 | 0.008463 | 0.171729 | 2,568 | 89 | 81 | 28.853933 | 0.743771 | 0 | 0 | 0.769231 | 0 | 0 | 0.010125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030769 | false | 0 | 0.061538 | 0 | 0.123077 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
32aa06b83898ff07c776a6f15b8087f42a0bcdbf | 470 | py | Python | Code/Laser/platform.py | i3detroit/PartsLaser | 3d2a206d5db69344d0e7cdf49640ec3a87d0c3f6 | [
"MIT"
] | 1 | 2019-04-01T08:23:03.000Z | 2019-04-01T08:23:03.000Z | Code/Laser/platform.py | i3detroit/PartsLaser | 3d2a206d5db69344d0e7cdf49640ec3a87d0c3f6 | [
"MIT"
] | null | null | null | Code/Laser/platform.py | i3detroit/PartsLaser | 3d2a206d5db69344d0e7cdf49640ec3a87d0c3f6 | [
"MIT"
] | null | null | null | import servo
import time
def draw_box(location,h,v,size,delay):
angle_x=location[0]
angle_y=location[1]
#mid-top
v.servo_set_direct(angle_y+size/2)
time.sleep(delay)
h.servo_set_direct(angle_x+size/2)
time.sleep(delay)
v.servo_set_direct(angle_y-size/2)
time.sleep(delay)
h.servo_set_direct(angle_x-size/2)
... | 21.363636 | 38 | 0.778723 | 92 | 470 | 3.717391 | 0.23913 | 0.163743 | 0.28655 | 0.388889 | 0.748538 | 0.748538 | 0.748538 | 0.748538 | 0.748538 | 0.646199 | 0 | 0.016279 | 0.085106 | 470 | 21 | 39 | 22.380952 | 0.77907 | 0.014894 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.111111 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
08b2139d78c2be45c2961d953ee435c3bdcaa25b | 147 | py | Python | tests/my_test.py | ML-Autotesting-Sandbox/no-gh-tests-public-maleich | 2a232d5802fd6cb1147bc2b7def31a305fac5a8a | [
"Apache-2.0"
] | 2 | 2021-06-24T17:14:08.000Z | 2021-06-24T17:15:56.000Z | tests/my_test.py | ML-Autotesting-Sandbox/no-gh-tests-public-maleich | 2a232d5802fd6cb1147bc2b7def31a305fac5a8a | [
"Apache-2.0"
] | 1 | 2021-06-24T17:16:29.000Z | 2021-06-24T18:10:04.000Z | tests/my_test.py | ML-Autotesting-Sandbox/no-gh-tests-public-maleich | 2a232d5802fd6cb1147bc2b7def31a305fac5a8a | [
"Apache-2.0"
] | null | null | null | import src.my_code
def test_inc():
assert 8 == src.my_code.main(4)
assert 0 == src.my_code.main(0)
assert -2 == src.my_code.main(-1)
| 18.375 | 37 | 0.632653 | 28 | 147 | 3.142857 | 0.5 | 0.227273 | 0.409091 | 0.443182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.204082 | 147 | 7 | 38 | 21 | 0.700855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
08e3112d4dc343655fe22b903ac55d148805f7f0 | 147 | py | Python | models/util/__init__.py | guillefix/mt-lightning | 56e93a569d85a768c178b15461e5362c25fdc3e3 | [
"MIT"
] | 46 | 2021-06-29T01:30:59.000Z | 2022-02-21T14:07:43.000Z | models/util/__init__.py | guillefix/mt-lightning | 56e93a569d85a768c178b15461e5362c25fdc3e3 | [
"MIT"
] | 4 | 2021-07-08T06:34:09.000Z | 2022-02-08T12:56:20.000Z | models/util/__init__.py | guillefix/transflower-lightning | 56e93a569d85a768c178b15461e5362c25fdc3e3 | [
"MIT"
] | 5 | 2021-07-14T03:18:37.000Z | 2021-11-18T08:14:05.000Z | from models.util.array_util import *
from models.util.norm_util import *
from models.util.optim_util import *
from models.util.shell_util import *
| 29.4 | 36 | 0.809524 | 24 | 147 | 4.791667 | 0.333333 | 0.347826 | 0.486957 | 0.521739 | 0.626087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108844 | 147 | 4 | 37 | 36.75 | 0.877863 | 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 |
3e9973048dbfb941891c71570e152867bb542961 | 149 | py | Python | python_cheatsheet/c.py | davewd/python_cheatsheet | ed87c34fff414ad462964b04995bddbfc9279337 | [
"MIT"
] | null | null | null | python_cheatsheet/c.py | davewd/python_cheatsheet | ed87c34fff414ad462964b04995bddbfc9279337 | [
"MIT"
] | 253 | 2018-09-22T12:15:06.000Z | 2022-03-31T17:01:19.000Z | python_cheatsheet/c.py | davewd/python_cheatsheet | ed87c34fff414ad462964b04995bddbfc9279337 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Main module."""
def calendar_examples():
import calendar
from d import datetime_examples
datetime_examples() | 18.625 | 35 | 0.66443 | 17 | 149 | 5.647059 | 0.705882 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.194631 | 149 | 8 | 36 | 18.625 | 0.791667 | 0.234899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3ef5c979d83853bbe78ff2e02e09ac6b95611c94 | 346,573 | py | Python | src/nidcpower/metadata/functions.py | WhiteLupus/nimi-python | 4e05b9a64f08ed2c929932d8d586c7114c46cf04 | [
"MIT"
] | 1 | 2019-09-18T14:28:47.000Z | 2019-09-18T14:28:47.000Z | src/nidcpower/metadata/functions.py | WhiteLupus/nimi-python | 4e05b9a64f08ed2c929932d8d586c7114c46cf04 | [
"MIT"
] | null | null | null | src/nidcpower/metadata/functions.py | WhiteLupus/nimi-python | 4e05b9a64f08ed2c929932d8d586c7114c46cf04 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# This file is generated from NI-DCPower API metadata version 19.6.0d2
functions = {
'Abort': {
'documentation': {
'description': '\nTransitions the NI-DCPower session from the Running state to the\nCommitted state. If a sequence is running, it is stopped. Any\nconfigurat... | 56.731544 | 2,256 | 0.543683 | 33,688 | 346,573 | 5.538352 | 0.045209 | 0.067533 | 0.040262 | 0.058716 | 0.840296 | 0.81704 | 0.7932 | 0.77376 | 0.753575 | 0.735025 | 0 | 0.00798 | 0.360028 | 346,573 | 6,108 | 2,257 | 56.740832 | 0.83131 | 0.00026 | 0 | 0.584343 | 1 | 0.045693 | 0.638043 | 0.100032 | 0 | 0 | 0 | 0 | 0.004422 | 1 | 0 | false | 0.00606 | 0.002129 | 0 | 0.002129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f5bce2878667ff79de97d4b13effd8b9a2d1e51a | 90 | py | Python | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/fromImportStatementsData/in_4_several_absolute_star_imports.py | JetBrains-Research/Lupa | c105487621564c60cae17395bf32eb40868ceb89 | [
"Apache-2.0"
] | 16 | 2022-01-11T00:32:20.000Z | 2022-03-25T21:40:52.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/fromImportStatementsData/in_4_several_absolute_star_imports.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 12 | 2021-07-05T11:42:01.000Z | 2021-12-23T07:57:54.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/fromImportStatementsData/in_4_several_absolute_star_imports.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 3 | 2021-09-10T13:21:54.000Z | 2021-11-23T11:37:55.000Z | from src.tasks.task1 import *
from src.tasks.task2 import *
from src.tasks.task3 import *
| 22.5 | 29 | 0.766667 | 15 | 90 | 4.6 | 0.466667 | 0.304348 | 0.521739 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 90 | 3 | 30 | 30 | 0.846154 | 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 |
f5c652e7cff54768def6507928582a75a5805616 | 160 | py | Python | aydin/analysis/test/test_resolution_estimate.py | royerloic/aydin | f9c61a24030891d008c318b250da5faec69fcd7d | [
"BSD-3-Clause"
] | 78 | 2021-11-08T16:11:23.000Z | 2022-03-27T17:51:04.000Z | aydin/analysis/test/test_resolution_estimate.py | royerloic/aydin | f9c61a24030891d008c318b250da5faec69fcd7d | [
"BSD-3-Clause"
] | 19 | 2021-11-08T17:15:40.000Z | 2022-03-30T17:46:55.000Z | aydin/analysis/test/test_resolution_estimate.py | royerloic/aydin | f9c61a24030891d008c318b250da5faec69fcd7d | [
"BSD-3-Clause"
] | 7 | 2021-11-09T17:42:32.000Z | 2022-03-09T00:37:57.000Z | from aydin.analysis.demo.demo_resolution_estimate import demo_resolution_estimate
def test_resolution_estimate():
demo_resolution_estimate(display=False)
| 26.666667 | 81 | 0.8625 | 20 | 160 | 6.5 | 0.55 | 0.553846 | 0.507692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08125 | 160 | 5 | 82 | 32 | 0.884354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
f5d395d19c4d308050a982bad628682c0d0a75a5 | 1,153 | py | Python | src/graph/wgraph.py | alisianoi/algos-py | c99747b2ce6976f2509fd183bf71040e6f988b77 | [
"MIT"
] | 6 | 2018-12-31T19:46:58.000Z | 2020-11-17T11:32:27.000Z | src/graph/wgraph.py | algos-all/algos-py | b275da8d9f6cdf63d854a2712ada08a069421a74 | [
"MIT"
] | 152 | 2018-01-05T00:08:38.000Z | 2020-12-12T22:37:52.000Z | src/graph/wgraph.py | alisianoi/algos-py | c99747b2ce6976f2509fd183bf71040e6f988b77 | [
"MIT"
] | null | null | null | from src.graph.agraph import AbstractGraph
class WeightedGraph(AbstractGraph):
def add_edge(self, n1, n2, w=0):
if n1 not in self.graph: self.graph[n1] = []
if n2 not in self.graph: self.graph[n2] = []
self.graph[n1].append([n2, w])
self.graph[n2].append([n1, w])
def del_edg... | 26.813953 | 71 | 0.548135 | 196 | 1,153 | 3.193878 | 0.137755 | 0.244409 | 0.100639 | 0.15655 | 0.814696 | 0.811502 | 0.805112 | 0.784345 | 0.784345 | 0.784345 | 0 | 0.060302 | 0.309627 | 1,153 | 42 | 72 | 27.452381 | 0.726131 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.035714 | 0.071429 | 0.392857 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
deb4f4099536922ec7c85523743d3c2dc86f3283 | 27,323 | py | Python | awp5/api/volume.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | 2 | 2019-04-10T16:46:19.000Z | 2020-08-18T21:57:59.000Z | awp5/api/volume.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | null | null | null | awp5/api/volume.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | null | null | null | # -------------------------------------------------------------------------
# Copyright (c) Thomas Waldinger. All rights reserved.
# Licensed under the Apache License, Version 2.0. See
# License.txt in the project root for license
# information.
# ---------------
"""
Volume
This resource tracks volumes configured for ... | 37.123641 | 79 | 0.631812 | 3,425 | 27,323 | 4.944818 | 0.099854 | 0.065541 | 0.036372 | 0.054558 | 0.935109 | 0.929617 | 0.926783 | 0.926783 | 0.89974 | 0.894131 | 0 | 0.006612 | 0.297003 | 27,323 | 735 | 80 | 37.17415 | 0.875104 | 0.548732 | 0 | 0.731481 | 0 | 0 | 0.032966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212963 | false | 0 | 0.009259 | 0.00463 | 0.444444 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
debc41066022a433369690e3a1d815968023447a | 49 | py | Python | pixel_based/__init__.py | lcit/metrics_delin | 30f1ad9ccc901e63770f39a80b0e1ec6bbfb34d9 | [
"MIT"
] | 8 | 2021-01-25T07:34:04.000Z | 2022-03-18T10:29:20.000Z | pixel_based/__init__.py | lcit/metrics_delin | 30f1ad9ccc901e63770f39a80b0e1ec6bbfb34d9 | [
"MIT"
] | null | null | null | pixel_based/__init__.py | lcit/metrics_delin | 30f1ad9ccc901e63770f39a80b0e1ec6bbfb34d9 | [
"MIT"
] | 1 | 2022-01-27T08:12:38.000Z | 2022-01-27T08:12:38.000Z | from .corr_comp_qual_metric import corr_comp_qual | 49 | 49 | 0.918367 | 9 | 49 | 4.444444 | 0.666667 | 0.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
a0c8408f9c4b949c7fad8f7f340dfdbf281658f9 | 6,228 | py | Python | TrippyMain/Garrisson/Warehouse/Scripts/voice_name_gen.py | py-ranoid/Trippy | eb68971c4b8f04cfe236d5ba9862d042a4733b38 | [
"MIT"
] | null | null | null | TrippyMain/Garrisson/Warehouse/Scripts/voice_name_gen.py | py-ranoid/Trippy | eb68971c4b8f04cfe236d5ba9862d042a4733b38 | [
"MIT"
] | null | null | null | TrippyMain/Garrisson/Warehouse/Scripts/voice_name_gen.py | py-ranoid/Trippy | eb68971c4b8f04cfe236d5ba9862d042a4733b38 | [
"MIT"
] | null | null | null | text = """
ar-EG* Female "Microsoft Server Speech Text to Speech Voice (ar-EG, Hoda)"
ar-SA Male "Microsoft Server Speech Text to Speech Voice (ar-SA, Naayf)"
ca-ES Female "Microsoft Server Speech Text to Speech Voice (ca-ES, HerenaRUS)"
cs-CZ Male "Microsoft Server Speech Text to Speech Voice (cs-CZ, Vit)"
da-... | 68.43956 | 86 | 0.728805 | 1,018 | 6,228 | 4.451866 | 0.14833 | 0.238305 | 0.333628 | 0.397176 | 0.771403 | 0.771403 | 0.771403 | 0.771403 | 0.587379 | 0.365843 | 0 | 0.001552 | 0.172126 | 6,228 | 90 | 87 | 69.2 | 0.877424 | 0 | 0 | 0 | 0 | 0.267442 | 0.935132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0 | 0 | 0.046512 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a0fa36fff031814039ac0faf53c5324f755620cb | 15 | py | Python | test_data/parse_retree/expected/character_set/multiple_ranges/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 5 | 2021-12-29T12:55:34.000Z | 2022-03-01T17:57:21.000Z | test_data/parse_retree/expected/character_set/multiple_ranges/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 10 | 2021-12-29T02:15:55.000Z | 2022-03-09T11:04:22.000Z | test_data/parse_retree/expected/character_set/multiple_ranges/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 2 | 2021-12-29T01:42:12.000Z | 2022-02-15T13:46:33.000Z | "[a-zA-Z_0-9]"
| 7.5 | 14 | 0.466667 | 5 | 15 | 1.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.066667 | 15 | 1 | 15 | 15 | 0.285714 | 0.8 | 0 | 0 | 0 | 0 | 0.8 | 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 | 0 | 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 | 0 | 0 | 7 |
19d5d2bff4d943b5956c74f9912b6766cb33c537 | 737 | py | Python | Calculating_with_Functions/code.py | brunopasseti/CodeWarsKatas | 156e06111383b613e5bf3d522a04bc3203799e1b | [
"MIT"
] | null | null | null | Calculating_with_Functions/code.py | brunopasseti/CodeWarsKatas | 156e06111383b613e5bf3d522a04bc3203799e1b | [
"MIT"
] | null | null | null | Calculating_with_Functions/code.py | brunopasseti/CodeWarsKatas | 156e06111383b613e5bf3d522a04bc3203799e1b | [
"MIT"
] | null | null | null | def zero(f=lambda a: a):
return f(0)
def one(f=lambda a: a):
return f(1)
def two(f=lambda a: a):
return f(2)
def three(f=lambda a: a):
return f(3)
def four(f=lambda a: a):
return f(4)
def five(f=lambda a: a):
return f(5)
def six(f=lambda a: a):
return f(6)
def seven(f=lambda a: a):
return f(7)
def eight(f=lambd... | 18.425 | 35 | 0.629579 | 152 | 737 | 2.986842 | 0.25 | 0.215859 | 0.246696 | 0.198238 | 0.519824 | 0.519824 | 0.167401 | 0 | 0 | 0 | 0 | 0.026801 | 0.189959 | 737 | 40 | 36 | 18.425 | 0.733668 | 0 | 0 | 0.054054 | 0 | 0 | 0.01084 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 1 | 0.405405 | false | 0.054054 | 0 | 0.378378 | 0.783784 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
c20407f43f7fcff95a95dc333a4ca88f3583bcdc | 3,347 | py | Python | bin/scratch.py | kescobo/util_hutlab | 7517894b26b08a391298241c1d20e9db0ca214e9 | [
"MIT"
] | null | null | null | bin/scratch.py | kescobo/util_hutlab | 7517894b26b08a391298241c1d20e9db0ca214e9 | [
"MIT"
] | null | null | null | bin/scratch.py | kescobo/util_hutlab | 7517894b26b08a391298241c1d20e9db0ca214e9 | [
"MIT"
] | null | null | null | import re
ids = ['201191', '202179', '203167', '204155', '205143', '206131', '207119',
'208107', '209190', '210178', '211166', '212154', '213142', '214130',
'215118', '216106', '217189', '218177', '219165', '220153', '257196',
'258184', '259172', '260160', '261148', '262136', '263124', '264112',
'26519... | 44.626667 | 87 | 0.595459 | 374 | 3,347 | 5.328877 | 0.368984 | 0.048169 | 0.072253 | 0.096337 | 0.747617 | 0.747617 | 0.747617 | 0.747617 | 0.747617 | 0.639237 | 0 | 0.470469 | 0.11473 | 3,347 | 74 | 88 | 45.22973 | 0.20216 | 0 | 0 | 0.035088 | 0 | 0 | 0.5366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.017544 | 0.070175 | 0 | 0.070175 | 0.035088 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c2145041e629a1730ab555896378b1fd7dfa3a05 | 18,113 | py | Python | lab6/ASA.py | kd9cpb/homelab | 00a82f597deeabc3c13ed7f79229f9f35e93b717 | [
"CC0-1.0"
] | 2 | 2021-06-25T11:02:44.000Z | 2021-11-14T04:34:58.000Z | lab6/ASA.py | kd9cpb/homelab | 00a82f597deeabc3c13ed7f79229f9f35e93b717 | [
"CC0-1.0"
] | null | null | null | lab6/ASA.py | kd9cpb/homelab | 00a82f597deeabc3c13ed7f79229f9f35e93b717 | [
"CC0-1.0"
] | 1 | 2021-06-25T13:21:11.000Z | 2021-06-25T13:21:11.000Z | print("""interface GigabitEthernet0/3.100\nvlan 100\nnameif wireless_user-v100\nsecurity-level 75\nip addr 10.1.100.1 255.255.255.0
interface GigabitEthernet0/3.101\nvlan 101\nnameif wireless_user-v101\nsecurity-level 75\nip addr 10.1.101.1 255.255.255.0
interface GigabitEthernet0/3.102\nvlan 102\nnameif wireless_use... | 119.953642 | 132 | 0.809087 | 3,401 | 18,113 | 4.279624 | 0.093796 | 0.123669 | 0.267949 | 0.195809 | 0.647475 | 0.646719 | 0.646719 | 0.37877 | 0 | 0 | 0 | 0.268448 | 0.074532 | 18,113 | 150 | 133 | 120.753333 | 0.599833 | 0 | 0 | 0 | 0 | 1 | 0.999221 | 0.489896 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.006667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5f0e566e1255ca1d3a1610aef02c72de63441b0c | 84 | py | Python | src/modules/emotion/credentials.sample.py | RemLampa/emotion-server | 9e881718d8949068f4bb32d5baa748c19043e2cb | [
"MIT"
] | null | null | null | src/modules/emotion/credentials.sample.py | RemLampa/emotion-server | 9e881718d8949068f4bb32d5baa748c19043e2cb | [
"MIT"
] | null | null | null | src/modules/emotion/credentials.sample.py | RemLampa/emotion-server | 9e881718d8949068f4bb32d5baa748c19043e2cb | [
"MIT"
] | null | null | null | username = "your-ibm-watson-nlu-username"
password = "your-ibm-watson-nlu-password"
| 28 | 41 | 0.761905 | 12 | 84 | 5.333333 | 0.5 | 0.21875 | 0.40625 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 84 | 2 | 42 | 42 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
a0331e903e427151ab2efb30f330c8a9d046fd28 | 12,381 | py | Python | ToOptix/FEMPy/Geometry/Surface.py | joha2/ToOptixCore | 8ad17dcee349173a1b000c28de66e567ba2ad7a1 | [
"MIT"
] | null | null | null | ToOptix/FEMPy/Geometry/Surface.py | joha2/ToOptixCore | 8ad17dcee349173a1b000c28de66e567ba2ad7a1 | [
"MIT"
] | null | null | null | ToOptix/FEMPy/Geometry/Surface.py | joha2/ToOptixCore | 8ad17dcee349173a1b000c28de66e567ba2ad7a1 | [
"MIT"
] | null | null | null | from .Triangle import Triangle
from .Solid import Solid
class Surface():
def __init__(self):
self.__triangles = []
@property
def triangles(self):
return self.__triangles
@triangles.setter
def triangles(self, Triangles):
self.__triangles = Triangles
def create_surface... | 40.593443 | 85 | 0.361441 | 1,622 | 12,381 | 2.680641 | 0.046856 | 0.106256 | 0.182153 | 0.110396 | 0.893284 | 0.893284 | 0.882705 | 0.871205 | 0.840846 | 0.831647 | 0 | 0.120424 | 0.47484 | 12,381 | 305 | 86 | 40.593443 | 0.548293 | 0.017042 | 0 | 0.86166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01581 | false | 0 | 0.007905 | 0.003953 | 0.031621 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 8 |
a0384dfe9f0578053f64e80534fa9787d4c39571 | 112 | py | Python | experiment/research/sjd/__init__.py | prijatelj/bayesian_eval_ground_truth-free | c0e569c78d63beb79f5e1e727c322293c3584323 | [
"MIT"
] | 1 | 2021-12-26T05:55:46.000Z | 2021-12-26T05:55:46.000Z | experiment/research/sjd/__init__.py | prijatelj/bayesian_eval_ground_truth-free | c0e569c78d63beb79f5e1e727c322293c3584323 | [
"MIT"
] | null | null | null | experiment/research/sjd/__init__.py | prijatelj/bayesian_eval_ground_truth-free | c0e569c78d63beb79f5e1e727c322293c3584323 | [
"MIT"
] | null | null | null | # files
from experiment.research.sjd import sjd_log_prob_exp
from experiment.research.sjd import src_candidates
| 28 | 52 | 0.866071 | 17 | 112 | 5.470588 | 0.647059 | 0.301075 | 0.473118 | 0.537634 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 112 | 3 | 53 | 37.333333 | 0.911765 | 0.044643 | 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 |
a04fcd2e36e6f0f028875dc27aaf105fcf0d135e | 6,339 | py | Python | web/project/admin/views.py | allspeak/api.allspeak.eu | 0403c4ed870c32ff9846f943e28aeb897f4baf3c | [
"MIT"
] | 1 | 2018-09-03T14:48:27.000Z | 2018-09-03T14:48:27.000Z | web/project/admin/views.py | allspeak/api.allspeak.eu | 0403c4ed870c32ff9846f943e28aeb897f4baf3c | [
"MIT"
] | null | null | null | web/project/admin/views.py | allspeak/api.allspeak.eu | 0403c4ed870c32ff9846f943e28aeb897f4baf3c | [
"MIT"
] | null | null | null | from flask import render_template, Blueprint, request, redirect, url_for, flash, abort, jsonify, send_file, Response
from sqlalchemy.exc import IntegrityError
from flask_login import login_user, current_user, login_required, logout_user
from threading import Thread
from itsdangerous import URLSafeTimedSerializer
from d... | 42.543624 | 116 | 0.711469 | 684 | 6,339 | 6.390351 | 0.165205 | 0.206131 | 0.039121 | 0.032029 | 0.803935 | 0.768016 | 0.758865 | 0.722947 | 0.705331 | 0.668268 | 0 | 0.003865 | 0.183783 | 6,339 | 149 | 117 | 42.543624 | 0.840935 | 0.000947 | 0 | 0.591667 | 0 | 0 | 0.121901 | 0.064844 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075 | false | 0 | 0.1 | 0 | 0.308333 | 0.1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a06dda805f1cde12681260f83aad959a17002984 | 3,060 | py | Python | alembic/versions/278a47e21d5_made_a_bunch_of_values_non_nullable_in_.py | smackedlol/pajbot | cc6d00e20fd0847f88e487937ac02d0011e05e67 | [
"MIT"
] | 1 | 2020-10-01T23:36:38.000Z | 2020-10-01T23:36:38.000Z | alembic/versions/278a47e21d5_made_a_bunch_of_values_non_nullable_in_.py | smackedlol/pajbot | cc6d00e20fd0847f88e487937ac02d0011e05e67 | [
"MIT"
] | 1 | 2021-03-25T05:37:40.000Z | 2021-03-25T05:37:40.000Z | alembic/versions/278a47e21d5_made_a_bunch_of_values_non_nullable_in_.py | leecopland/bullbot | 52e463293097b58084afb4f9f1d85b0656a67d44 | [
"MIT"
] | 1 | 2020-03-11T19:37:10.000Z | 2020-03-11T19:37:10.000Z | """Made a bunch of values non-nullable in the tb_commands table
Revision ID: 278a47e21d5
Revises: 32f05bdc22
Create Date: 2015-11-28 02:49:41.387442
"""
# revision identifiers, used by Alembic.
revision = '278a47e21d5'
down_revision = '32f05bdc22'
branch_labels = None
depends_on = None
from alembic import op
import... | 37.777778 | 63 | 0.628105 | 353 | 3,060 | 5.206799 | 0.215297 | 0.103373 | 0.127312 | 0.146899 | 0.807943 | 0.807943 | 0.807943 | 0.805223 | 0.805223 | 0.805223 | 0 | 0.032613 | 0.258497 | 3,060 | 80 | 64 | 38.25 | 0.777435 | 0.109477 | 0 | 0.857143 | 0 | 0 | 0.130386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031746 | false | 0 | 0.047619 | 0 | 0.079365 | 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 |
a07b7fa4fb03b3a6bd9d4cce2a08a2d05442fc34 | 130 | py | Python | samples/mnist_lib.py | codes1gn/gemini | 4b173ea583f2578244d1d0fb482ccb77818f7558 | [
"MIT"
] | null | null | null | samples/mnist_lib.py | codes1gn/gemini | 4b173ea583f2578244d1d0fb482ccb77818f7558 | [
"MIT"
] | null | null | null | samples/mnist_lib.py | codes1gn/gemini | 4b173ea583f2578244d1d0fb482ccb77818f7558 | [
"MIT"
] | null | null | null | import tensorflow as tf
def conv2d(input, weight):
return tf.nn.conv2d(input, weight, strides=[1, 1, 1, 1], padding='SAME')
| 21.666667 | 76 | 0.684615 | 21 | 130 | 4.238095 | 0.666667 | 0.067416 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055046 | 0.161538 | 130 | 5 | 77 | 26 | 0.761468 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 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 |
a086a9f551cd1d87c5883df443fcc54ba94f76a0 | 21,247 | py | Python | Assignments/Assignment_05/pda/solution/pdaf.py | chrstrom/TTK4250 | f453c3a59597d3fe6cff7d35b790689919798b94 | [
"Unlicense"
] | null | null | null | Assignments/Assignment_05/pda/solution/pdaf.py | chrstrom/TTK4250 | f453c3a59597d3fe6cff7d35b790689919798b94 | [
"Unlicense"
] | null | null | null | Assignments/Assignment_05/pda/solution/pdaf.py | chrstrom/TTK4250 | f453c3a59597d3fe6cff7d35b790689919798b94 | [
"Unlicense"
] | null | null | null | __pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x09\x00\x61\x0d\x0d\x0a\x08\x2d\xa0\x01\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\x76\x14\x00\x00\x00\x00\x00\x10\xc1\x29\x00\x2f\x51\xa0\x39\x97\xd0\x9c\xcf\xca\x24\x2c\x43\xda\x00\x00\x00\x00\x00\x00\x00\x00\x8e\x90\x96\x86\xa6\xc3\x9a\x... | 21,247 | 21,247 | 0.749988 | 5,307 | 21,247 | 3.000377 | 0.04918 | 0.007159 | 0.007348 | 0.006029 | 0.002449 | 0.001507 | 0.001507 | 0 | 0 | 0 | 0 | 0.310535 | 0.000141 | 21,247 | 1 | 21,247 | 21,247 | 0.438995 | 0 | 0 | 0 | 0 | 1 | 0.998117 | 0.998117 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
261216f8ab4e76b48a6d69adb213e35f3ea26199 | 15,126 | py | Python | luxon/structs/models/fields/intfields.py | HieronymusCrouse/luxon | b0b08c103936adcbb3dd03b1701d44a65de8f61e | [
"BSD-3-Clause"
] | 7 | 2018-02-27T00:18:02.000Z | 2019-05-16T16:57:00.000Z | luxon/structs/models/fields/intfields.py | HieronymusCrouse/luxon | b0b08c103936adcbb3dd03b1701d44a65de8f61e | [
"BSD-3-Clause"
] | 47 | 2018-01-23T13:49:28.000Z | 2019-06-06T13:14:59.000Z | luxon/structs/models/fields/intfields.py | HieronymusCrouse/luxon | b0b08c103936adcbb3dd03b1701d44a65de8f61e | [
"BSD-3-Clause"
] | 14 | 2018-01-15T08:47:11.000Z | 2019-12-27T12:05:41.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2018-2020 Christiaan Frans Rademan <chris@fwiw.co.za>.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the ... | 44.488235 | 79 | 0.555203 | 1,675 | 15,126 | 4.917015 | 0.143881 | 0.043711 | 0.02914 | 0.02914 | 0.735308 | 0.72948 | 0.72948 | 0.704711 | 0.704711 | 0.704711 | 0 | 0.025625 | 0.373066 | 15,126 | 339 | 80 | 44.619469 | 0.842877 | 0.387479 | 0 | 0.760736 | 0 | 0 | 0.007411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04908 | false | 0.07362 | 0.01227 | 0 | 0.128834 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
264810f88009a877772f62785df8ddba3b5b5190 | 36,765 | py | Python | mainapp/migrations/0031_auto_20150610_1239.py | vesellov/callfeed.net | 88a12f244dac1bcc170c3028d86e53618b33aa6a | [
"MIT"
] | 1 | 2015-11-17T08:44:23.000Z | 2015-11-17T08:44:23.000Z | mainapp/migrations/0031_auto_20150610_1239.py | vesellov/callfeed.net | 88a12f244dac1bcc170c3028d86e53618b33aa6a | [
"MIT"
] | null | null | null | mainapp/migrations/0031_auto_20150610_1239.py | vesellov/callfeed.net | 88a12f244dac1bcc170c3028d86e53618b33aa6a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('mainapp', '0030_operator_is_delete_protected'),
]
operations = [
migrations.RemoveField(
model_name='notificatio... | 85.104167 | 11,694 | 0.662804 | 6,389 | 36,765 | 3.733761 | 0.047895 | 0.060868 | 0.06376 | 0.08145 | 0.887529 | 0.841962 | 0.806959 | 0.770698 | 0.74781 | 0.672941 | 0 | 0.147566 | 0.147504 | 36,765 | 431 | 11,695 | 85.301624 | 0.613554 | 0.000571 | 0 | 0.691765 | 0 | 0.162353 | 0.61608 | 0.52523 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004706 | 0 | 0.011765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
13fec15780d7b0593a435add4f1dcae270240d39 | 153 | py | Python | gcp/utils.py | labdave/Aries | 99ee98d34c94b8142af485be6224ea6641897c4f | [
"MIT"
] | 2 | 2019-05-01T01:07:59.000Z | 2020-06-22T14:59:31.000Z | gcp/utils.py | labdave/Aries | 99ee98d34c94b8142af485be6224ea6641897c4f | [
"MIT"
] | 1 | 2021-07-14T16:44:46.000Z | 2022-02-25T18:48:23.000Z | gcp/utils.py | labdave/Aries | 99ee98d34c94b8142af485be6224ea6641897c4f | [
"MIT"
] | 3 | 2020-10-05T18:53:38.000Z | 2021-05-10T19:27:13.000Z | from google.oauth2 import service_account
def load_credentials(file_path):
return service_account.Credentials.from_service_account_file(file_path)
| 25.5 | 75 | 0.856209 | 21 | 153 | 5.857143 | 0.571429 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.091503 | 153 | 5 | 76 | 30.6 | 0.877698 | 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 |
cd0452fb2dd60c72201170df5455fc1a0893886b | 136 | py | Python | stix2patterns_translator/__init__.py | ohsyln/stix2patterns_translator | 848e1954d69bf6a427179991e115543f52f845d6 | [
"Apache-2.0"
] | 22 | 2017-10-11T19:24:59.000Z | 2022-01-02T09:42:44.000Z | stix2patterns_translator/__init__.py | ohsyln/stix2patterns_translator | 848e1954d69bf6a427179991e115543f52f845d6 | [
"Apache-2.0"
] | 8 | 2017-10-12T17:38:40.000Z | 2018-10-06T10:53:13.000Z | stix2patterns_translator/__init__.py | ohsyln/stix2patterns_translator | 848e1954d69bf6a427179991e115543f52f845d6 | [
"Apache-2.0"
] | 10 | 2017-11-30T03:04:31.000Z | 2020-10-19T18:18:58.000Z | from stix2patterns_translator import translator
from stix2patterns_translator.translator import DataModels, SearchPlatforms, translate
| 34 | 86 | 0.897059 | 13 | 136 | 9.230769 | 0.538462 | 0.283333 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.080882 | 136 | 3 | 87 | 45.333333 | 0.944 | 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 |
cd736e20c6b9b2bc8dacb701d18c2aa0d6b46f5a | 197 | py | Python | awsutils/services/__init__.py | learncloudops/awsutils | 2331148a2a6f0ee1a5cc9bc46cdfe175c4e53a84 | [
"MIT"
] | null | null | null | awsutils/services/__init__.py | learncloudops/awsutils | 2331148a2a6f0ee1a5cc9bc46cdfe175c4e53a84 | [
"MIT"
] | null | null | null | awsutils/services/__init__.py | learncloudops/awsutils | 2331148a2a6f0ee1a5cc9bc46cdfe175c4e53a84 | [
"MIT"
] | null | null | null | from awsutils.services.validate import Validate
from awsutils.services.s3_client import S3Client
from awsutils.services.event_bridge import (
PutEventEntry, PutEventsResponse, EventBridgeClient) | 39.4 | 54 | 0.862944 | 22 | 197 | 7.636364 | 0.590909 | 0.214286 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.086294 | 197 | 5 | 54 | 39.4 | 0.922222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
cd8865f7e2ddd1b089a2b937a8f8085d5d0ac0dd | 93 | py | Python | sequentia/lib/test/support/__init__.py | eonu/inf4-hons | 4b7372272860f19c0f5ea2910f122a62531d7d2e | [
"CC-BY-4.0"
] | null | null | null | sequentia/lib/test/support/__init__.py | eonu/inf4-hons | 4b7372272860f19c0f5ea2910f122a62531d7d2e | [
"CC-BY-4.0"
] | null | null | null | sequentia/lib/test/support/__init__.py | eonu/inf4-hons | 4b7372272860f19c0f5ea2910f122a62531d7d2e | [
"CC-BY-4.0"
] | null | null | null | from .assertions import assert_equal, assert_not_equal, assert_all_equal, assert_distribution | 93 | 93 | 0.892473 | 13 | 93 | 5.923077 | 0.615385 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 93 | 1 | 93 | 93 | 0.885057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
26f4012a6e7607ef1153488e4f076e1eecdec3d4 | 140 | py | Python | utilityfunction/__init__.py | frank1789/NerualNetworks | c0c3fede997576fa653f1e4acf3d16f7c9311974 | [
"MIT"
] | null | null | null | utilityfunction/__init__.py | frank1789/NerualNetworks | c0c3fede997576fa653f1e4acf3d16f7c9311974 | [
"MIT"
] | null | null | null | utilityfunction/__init__.py | frank1789/NerualNetworks | c0c3fede997576fa653f1e4acf3d16f7c9311974 | [
"MIT"
] | null | null | null | from .lib import Spinner
from .lib import PrepareDataset
from .lib import DataSet
from .lib import TestSet
#from .lib import PreparePicture
| 23.333333 | 32 | 0.814286 | 20 | 140 | 5.7 | 0.4 | 0.307018 | 0.570175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 140 | 5 | 33 | 28 | 0.95 | 0.221429 | 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 |
f839993bc3609656710f3dc8c7a0fac5b8c32705 | 221 | py | Python | python/ctranslate2/specs/__init__.py | Parkchanjun/CTranslate2 | 62e3af774e0ba23e052e242c263dcbc00cd6c0c6 | [
"MIT"
] | null | null | null | python/ctranslate2/specs/__init__.py | Parkchanjun/CTranslate2 | 62e3af774e0ba23e052e242c263dcbc00cd6c0c6 | [
"MIT"
] | null | null | null | python/ctranslate2/specs/__init__.py | Parkchanjun/CTranslate2 | 62e3af774e0ba23e052e242c263dcbc00cd6c0c6 | [
"MIT"
] | null | null | null | from ctranslate2.specs.catalog import TransformerBase
from ctranslate2.specs.catalog import TransformerBig
from ctranslate2.specs.model_spec import LayerSpec
from ctranslate2.specs.transformer_spec import TransformerSpec
| 44.2 | 62 | 0.891403 | 26 | 221 | 7.5 | 0.461538 | 0.307692 | 0.410256 | 0.276923 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019512 | 0.072398 | 221 | 4 | 63 | 55.25 | 0.931707 | 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 |
f85af955e1d536a01f9d8d30de9a1f05a0037e7d | 6,280 | py | Python | tests/test_motor_union.py | florian-lapp/tmcm-lib-py | f3dcbe6b13171cbcee706294e32387fae3b83c9c | [
"MIT"
] | 1 | 2021-02-24T10:06:43.000Z | 2021-02-24T10:06:43.000Z | tests/test_motor_union.py | florian-lapp/tmcm-lib-py | f3dcbe6b13171cbcee706294e32387fae3b83c9c | [
"MIT"
] | null | null | null | tests/test_motor_union.py | florian-lapp/tmcm-lib-py | f3dcbe6b13171cbcee706294e32387fae3b83c9c | [
"MIT"
] | null | null | null | from tests.environment import instance as environment
from tmcm_lib import MotorUnion
import unittest
class TestMotor(unittest.TestCase) :
@classmethod
def setUpClass(cls) :
cls.__module = environment.module
cls.__motor_union = MotorUnion(environment.module, environment.MOTOR_NUMBER... | 40.516129 | 99 | 0.609236 | 660 | 6,280 | 5.39697 | 0.101515 | 0.154408 | 0.21224 | 0.117911 | 0.879843 | 0.868894 | 0.809658 | 0.754913 | 0.754913 | 0.743964 | 0 | 0.008941 | 0.323248 | 6,280 | 155 | 100 | 40.516129 | 0.829176 | 0 | 0 | 0.702128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219858 | 1 | 0.085106 | false | 0 | 0.021277 | 0 | 0.113475 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 8 |
f874cf1e552e19de89b7089aa1c000d5ff94e19a | 39 | py | Python | pyboinc/__init__.py | nielstron/pyboinc | c59d85a4d49aa6fef2993ccc974af5818613c043 | [
"MIT"
] | 1 | 2020-04-10T23:22:27.000Z | 2020-04-10T23:22:27.000Z | pyboinc/__init__.py | nielstron/pyboinc | c59d85a4d49aa6fef2993ccc974af5818613c043 | [
"MIT"
] | null | null | null | pyboinc/__init__.py | nielstron/pyboinc | c59d85a4d49aa6fef2993ccc974af5818613c043 | [
"MIT"
] | null | null | null | from .rpc_client import init_rpc_client | 39 | 39 | 0.897436 | 7 | 39 | 4.571429 | 0.714286 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.888889 | 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 |
3e53c05b8d11789b442f16b4e6925e88ea29cc2a | 20,195 | py | Python | pysnmp/hlapi/v1arch/asyncio/cmdgen.py | RKinsey/pysnmp | 96b5cf31e2f5d19f34d0dd1075014c488f6a5789 | [
"BSD-2-Clause"
] | 492 | 2016-03-13T11:03:13.000Z | 2022-03-21T02:52:57.000Z | pysnmp/hlapi/v1arch/asyncio/cmdgen.py | bartomo/pysnmp | becd15c79c9a6b5696928ecd50bf5cca8b1770a1 | [
"BSD-2-Clause"
] | 372 | 2016-03-29T22:42:05.000Z | 2022-03-26T10:28:25.000Z | pysnmp/hlapi/v1arch/asyncio/cmdgen.py | bartomo/pysnmp | becd15c79c9a6b5696928ecd50bf5cca8b1770a1 | [
"BSD-2-Clause"
] | 197 | 2016-03-13T11:01:54.000Z | 2022-03-07T19:52:15.000Z | #
# This file is part of pysnmp software.
#
# Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com>
# License: http://snmplabs.com/pysnmp/license.html
#
try:
import asyncio
except ImportError:
import trollius as asyncio
from pysnmp.hlapi.v1arch.auth import *
from pysnmp.hlapi.varbinds import *
from pysnmp... | 35.554577 | 247 | 0.652043 | 2,195 | 20,195 | 5.974032 | 0.144875 | 0.01815 | 0.029741 | 0.021963 | 0.876382 | 0.864714 | 0.864714 | 0.864714 | 0.841913 | 0.841913 | 0 | 0.017162 | 0.24407 | 20,195 | 567 | 248 | 35.617284 | 0.841805 | 0.635157 | 0 | 0.791667 | 0 | 0 | 0.011715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.194444 | 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 |
e4e62b652e01717386d4ab36c7965320a19cb08a | 4,811 | py | Python | app/views.py | ES-News-Team/Service-UI-Consumer | f7f605585ba01a7db63f103cb43475af42774684 | [
"MIT"
] | null | null | null | app/views.py | ES-News-Team/Service-UI-Consumer | f7f605585ba01a7db63f103cb43475af42774684 | [
"MIT"
] | null | null | null | app/views.py | ES-News-Team/Service-UI-Consumer | f7f605585ba01a7db63f103cb43475af42774684 | [
"MIT"
] | null | null | null | from flask import redirect, render_template
from app import consumer_ui_service
data_pet = {
"window_title": "Pets News",
"news": [
{
"news_link_img": "https://thiscatdoesnotexist.com/",
"news_title": "News 1",
"new_content": """“In the long run, we’re going to m... | 41.474138 | 499 | 0.631677 | 686 | 4,811 | 4.361516 | 0.189504 | 0.028075 | 0.042781 | 0.048128 | 0.90107 | 0.90107 | 0.893048 | 0.89238 | 0.844251 | 0.768048 | 0 | 0.001769 | 0.294949 | 4,811 | 116 | 500 | 41.474138 | 0.878538 | 0 | 0 | 0.6 | 0 | 0.063158 | 0.777847 | 0.013716 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042105 | false | 0.021053 | 0.021053 | 0.042105 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
902e8757f921dec11c82f07d4c048dd0e48e3a87 | 7,056 | py | Python | Python Scripts/all_recipes_scraper.py | EricM194/RecipieScraper | 8aed2969f15d92a9683f21c6233a95e224abef71 | [
"MIT"
] | null | null | null | Python Scripts/all_recipes_scraper.py | EricM194/RecipieScraper | 8aed2969f15d92a9683f21c6233a95e224abef71 | [
"MIT"
] | null | null | null | Python Scripts/all_recipes_scraper.py | EricM194/RecipieScraper | 8aed2969f15d92a9683f21c6233a95e224abef71 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import re
from pprint import pprint
import requests
from bs4 import BeautifulSoup
import logger
def timeToMinutes(time):
minutes = 0
# days
try:
minutes = minutes + \
int(re.search('(\d*)(?=\sdays)', time).group(0)) * 60 * 24
except AttributeError:
minutes = minutes + 0
# hours... | 28 | 119 | 0.639314 | 868 | 7,056 | 5.093318 | 0.14977 | 0.038679 | 0.029405 | 0.027143 | 0.897761 | 0.867903 | 0.867903 | 0.818819 | 0.787605 | 0.787605 | 0 | 0.01372 | 0.163265 | 7,056 | 252 | 120 | 28 | 0.735095 | 0.015023 | 0 | 0.868852 | 0 | 0 | 0.222158 | 0.012678 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0 | 0.027322 | 0 | 0.081967 | 0.016393 | 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 |
5f3a850362435693374ccf509fcb94c3d54cfded | 152 | py | Python | src/__init__.py | Sherif-Abdou/NPLOrganizer | d7cf8e11bbbd8681e49affdfe09566d638a19f6d | [
"MIT"
] | null | null | null | src/__init__.py | Sherif-Abdou/NPLOrganizer | d7cf8e11bbbd8681e49affdfe09566d638a19f6d | [
"MIT"
] | null | null | null | src/__init__.py | Sherif-Abdou/NPLOrganizer | d7cf8e11bbbd8681e49affdfe09566d638a19f6d | [
"MIT"
] | null | null | null | from src.DocumentLoader import *
from src.DocumentSorter import *
from src.DocumentOrganizer import *
from src.File import *
from src.Category import *
| 25.333333 | 35 | 0.802632 | 20 | 152 | 6.1 | 0.4 | 0.286885 | 0.42623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 152 | 5 | 36 | 30.4 | 0.924242 | 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 |
5f5b625d71c98346480421048b168ec046133d7c | 169 | py | Python | app/main/views.py | AdrianM0Hdz/pokedex | 2f5f809a3697649e7825aab2a1e5031f2f58588b | [
"MIT"
] | null | null | null | app/main/views.py | AdrianM0Hdz/pokedex | 2f5f809a3697649e7825aab2a1e5031f2f58588b | [
"MIT"
] | null | null | null | app/main/views.py | AdrianM0Hdz/pokedex | 2f5f809a3697649e7825aab2a1e5031f2f58588b | [
"MIT"
] | null | null | null | from flask import render_template, redirect, url_for, session
from . import main
@main.route('/', methods=['GET'])
def index():
return render_template('index.html') | 28.166667 | 61 | 0.727811 | 23 | 169 | 5.217391 | 0.73913 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12426 | 169 | 6 | 62 | 28.166667 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.082353 | 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 |
5fa9155e19518d4ac135d4d7c39502c5227f7f3b | 21,689 | py | Python | dhcpv6.py | Srinivas11789/DHCPv6-Server- | 05cb816b3f8965ecd268f382875bb33dbc8e8310 | [
"MIT"
] | null | null | null | dhcpv6.py | Srinivas11789/DHCPv6-Server- | 05cb816b3f8965ecd268f382875bb33dbc8e8310 | [
"MIT"
] | null | null | null | dhcpv6.py | Srinivas11789/DHCPv6-Server- | 05cb816b3f8965ecd268f382875bb33dbc8e8310 | [
"MIT"
] | 1 | 2020-09-11T14:21:25.000Z | 2020-09-11T14:21:25.000Z | ############# Module Imports
from socket import *
import struct
import re
############# Raw Socket Creation for IPV6
ETH_P_ALL=0x0003
s=socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL))
############# Extreme Socket Options
try:
f = open('/proc/self/ns_id', 'w')
f.write('2\n') ... | 60.247222 | 537 | 0.438287 | 2,342 | 21,689 | 3.935952 | 0.136208 | 0.10154 | 0.128878 | 0.1445 | 0.745498 | 0.73606 | 0.733131 | 0.730636 | 0.730636 | 0.730636 | 0 | 0.12945 | 0.440454 | 21,689 | 359 | 538 | 60.415042 | 0.630109 | 0.20213 | 0 | 0.715415 | 0 | 0 | 0.065982 | 0.013196 | 0 | 0 | 0.00035 | 0 | 0 | 0 | null | null | 0 | 0.011858 | null | null | 0.217391 | 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 |
39ba62f8867d2f05ab7a841b1ada8cbd8f18986a | 16,876 | py | Python | faxplus/api/numbers_api.py | berryman121/faxplus-python | c4779c0fba4124da23e02359604170977e65cd80 | [
"MIT"
] | 1 | 2018-07-05T23:52:32.000Z | 2018-07-05T23:52:32.000Z | faxplus/api/numbers_api.py | allzamye/faxplus-python | c4779c0fba4124da23e02359604170977e65cd80 | [
"MIT"
] | null | null | null | faxplus/api/numbers_api.py | allzamye/faxplus-python | c4779c0fba4124da23e02359604170977e65cd80 | [
"MIT"
] | 1 | 2018-07-05T23:52:35.000Z | 2018-07-05T23:52:35.000Z | # coding: utf-8
"""
FAX.PLUS REST API
This is the fax.plus API v1 developed for third party developers and organizations. In order to have a better coding experience with this API, let's quickly go through some points:<br /><br /> - This API assumes **/accounts** as an entry point with the base url of **https... | 39.155452 | 903 | 0.610986 | 1,949 | 16,876 | 5.082093 | 0.115957 | 0.051691 | 0.022615 | 0.029076 | 0.876325 | 0.867239 | 0.848158 | 0.837456 | 0.83261 | 0.819889 | 0 | 0.017289 | 0.297405 | 16,876 | 430 | 904 | 39.246512 | 0.818082 | 0.063641 | 0 | 0.782222 | 0 | 0 | 0.180062 | 0.054349 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.017778 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
39bde391101710d484e052c7ab5cb1893a2f7b58 | 36,500 | py | Python | msgraph-cli-extensions/beta/cloudcommunications_beta/azext_cloudcommunications_beta/generated/_help.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/beta/cloudcommunications_beta/azext_cloudcommunications_beta/generated/_help.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/beta/cloudcommunications_beta/azext_cloudcommunications_beta/generated/_help.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause... | 41.289593 | 121 | 0.668932 | 4,210 | 36,500 | 5.79715 | 0.075534 | 0.06736 | 0.049168 | 0.070679 | 0.904491 | 0.85229 | 0.781775 | 0.708105 | 0.683602 | 0.661559 | 0 | 0.001606 | 0.232219 | 36,500 | 883 | 122 | 41.336353 | 0.869291 | 0.012877 | 0 | 0.746207 | 0 | 0.075862 | 0.950848 | 0.116462 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.016552 | 0.001379 | 0 | 0.001379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
39f14ad58d06d62405f62c2db5c43796635acfa0 | 157 | py | Python | plumeria/util/format.py | sk89q/plumeria | 601adffedc745ae7ecc32824e119789a51eaf237 | [
"MIT"
] | 18 | 2018-06-23T13:52:49.000Z | 2021-09-12T09:36:40.000Z | plumeria/util/format.py | Tominous/plumeria | 601adffedc745ae7ecc32824e119789a51eaf237 | [
"MIT"
] | 2 | 2018-02-03T16:21:06.000Z | 2020-02-24T22:31:16.000Z | plumeria/util/format.py | Tominous/plumeria | 601adffedc745ae7ecc32824e119789a51eaf237 | [
"MIT"
] | 2 | 2019-05-30T13:19:56.000Z | 2019-12-10T02:30:56.000Z | import re
def escape_markdown(s):
return MARKDOWN_ESCAPE_PATTERN.sub("\\\\\\1", s)
MARKDOWN_ESCAPE_PATTERN = re.compile("([\\*_`\\{\\}\\[\\]\\-~])")
| 17.444444 | 65 | 0.598726 | 18 | 157 | 4.888889 | 0.611111 | 0.318182 | 0.477273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.11465 | 157 | 8 | 66 | 19.625 | 0.625899 | 0 | 0 | 0 | 0 | 0 | 0.203822 | 0.159236 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
080389325e989c70b0fb76741e77bd69f145093d | 1,755 | py | Python | disciplinereport/apps/data/migrations/0010_auto_20160724_2348.py | ninapavlich/disciplinereport | 02e1a6dbed767fa160517e4b20c1c24e52b37bf2 | [
"MIT"
] | null | null | null | disciplinereport/apps/data/migrations/0010_auto_20160724_2348.py | ninapavlich/disciplinereport | 02e1a6dbed767fa160517e4b20c1c24e52b37bf2 | [
"MIT"
] | null | null | null | disciplinereport/apps/data/migrations/0010_auto_20160724_2348.py | ninapavlich/disciplinereport | 02e1a6dbed767fa160517e4b20c1c24e52b37bf2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('data', '0009_tooltip'),
]
operations = [
migrations.AlterField(
model_name='schooldatum',
name='expu... | 39 | 145 | 0.632479 | 179 | 1,755 | 6.050279 | 0.22905 | 0.110803 | 0.138504 | 0.160665 | 0.866113 | 0.866113 | 0.819021 | 0.819021 | 0.765466 | 0.765466 | 0 | 0.017517 | 0.251852 | 1,755 | 44 | 146 | 39.886364 | 0.807312 | 0.011966 | 0 | 0.789474 | 0 | 0 | 0.256351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
081f222c9bb9064d408436c6dfc802b8a68790ff | 29,545 | py | Python | nova/tests/unit/virt/libvirt/volume/test_quobyte.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/libvirt/volume/test_quobyte.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/libvirt/volume/test_quobyte.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright (c) 2015 Quobyte Inc.'
nl|'\n'
comment|'# All Rights Reserved.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
commen... | 13.090385 | 88 | 0.624437 | 4,466 | 29,545 | 3.985222 | 0.047022 | 0.165524 | 0.077537 | 0.034892 | 0.913811 | 0.90027 | 0.883245 | 0.861164 | 0.836667 | 0.807956 | 0 | 0.011873 | 0.087764 | 29,545 | 2,256 | 89 | 13.096188 | 0.648486 | 0 | 0 | 0.963652 | 0 | 0 | 0.401794 | 0.075715 | 0 | 0 | 0 | 0 | 0.012411 | 0 | null | null | 0 | 0.004433 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f234f2cadc9baa6967baffd54484f0d6da35d333 | 755 | bzl | Python | csharp/deps.bzl | kalbasit/rules_proto_grpc | 7e0a97adc8801df1cd74ee435d74bbd857c98a36 | [
"Apache-2.0"
] | 1 | 2021-08-11T23:14:07.000Z | 2021-08-11T23:14:07.000Z | csharp/deps.bzl | kalbasit/rules_proto_grpc | 7e0a97adc8801df1cd74ee435d74bbd857c98a36 | [
"Apache-2.0"
] | null | null | null | csharp/deps.bzl | kalbasit/rules_proto_grpc | 7e0a97adc8801df1cd74ee435d74bbd857c98a36 | [
"Apache-2.0"
] | null | null | null | load(":repositories.bzl", "csharp_repos")
# NOTE: THE RULES IN THIS FILE ARE KEPT FOR BACKWARDS COMPATIBILITY ONLY.
# Please use the rules in repositories.bzl
def csharp_proto_compile(**kwargs):
print("Import of rules in deps.bzl is deprecated, please use repositories.bzl")
csharp_repos(**kwargs)
def c... | 37.75 | 83 | 0.743046 | 108 | 755 | 5.074074 | 0.287037 | 0.164234 | 0.191606 | 0.237226 | 0.742701 | 0.742701 | 0.742701 | 0.742701 | 0.742701 | 0.742701 | 0 | 0 | 0.153642 | 755 | 20 | 84 | 37.75 | 0.85759 | 0.156291 | 0 | 0.615385 | 0 | 0 | 0.486614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | true | 0 | 0.307692 | 0 | 0.615385 | 0.307692 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 11 |
4b015602594dfc2f323baa067dbe4cc8f8f4e4c9 | 2,358 | py | Python | forex/forex/doctype/forward_booking/forward_booking.py | finbyz/forex | 46c248424fcf9625ef57f7ab05d356b2bed5abc8 | [
"MIT"
] | null | null | null | forex/forex/doctype/forward_booking/forward_booking.py | finbyz/forex | 46c248424fcf9625ef57f7ab05d356b2bed5abc8 | [
"MIT"
] | null | null | null | forex/forex/doctype/forward_booking/forward_booking.py | finbyz/forex | 46c248424fcf9625ef57f7ab05d356b2bed5abc8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2015, FinByz Tech Pvt. Ltd. and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
from frappe.utils import flt
class ForwardBooking(Document):
def on_submit(self):
i... | 45.346154 | 145 | 0.761238 | 326 | 2,358 | 5.202454 | 0.180982 | 0.117925 | 0.075472 | 0.099057 | 0.853774 | 0.853774 | 0.853774 | 0.853774 | 0.853774 | 0.853774 | 0 | 0.002462 | 0.138677 | 2,358 | 51 | 146 | 46.235294 | 0.832595 | 0.054283 | 0 | 0.744186 | 0 | 0 | 0.027853 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.093023 | 0 | 0.162791 | 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 |
4b25c42c6c4a8be8f3654f3347e3c3978ccb876a | 208 | py | Python | syft/frameworks/keras/model/__init__.py | Rishav1/PySyft | f620ee12727b52b19a317f263789830b57ee2539 | [
"Apache-2.0"
] | 7 | 2020-04-20T22:22:08.000Z | 2020-07-25T17:32:08.000Z | syft/frameworks/keras/model/__init__.py | mukira/PySyft | 94595008e8326d3111406ae143099b311fc3f2e6 | [
"Apache-2.0"
] | 3 | 2019-05-24T01:16:56.000Z | 2019-09-18T13:02:30.000Z | syft/frameworks/keras/model/__init__.py | mukira/PySyft | 94595008e8326d3111406ae143099b311fc3f2e6 | [
"Apache-2.0"
] | 4 | 2020-04-24T22:32:37.000Z | 2020-05-25T19:29:20.000Z | from syft.frameworks.keras.model.sequential import serve
from syft.frameworks.keras.model.sequential import share
from syft.frameworks.keras.model.sequential import stop
__all__ = ["serve", "share", "stop"]
| 34.666667 | 56 | 0.802885 | 28 | 208 | 5.821429 | 0.392857 | 0.147239 | 0.331288 | 0.423313 | 0.809816 | 0.809816 | 0.809816 | 0 | 0 | 0 | 0 | 0 | 0.086538 | 208 | 5 | 57 | 41.6 | 0.857895 | 0 | 0 | 0 | 0 | 0 | 0.067308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 9 |
4b27043f9713247964f5ea0701371df06c808e4b | 14,621 | py | Python | deepbiome/tests/conftest.py | Young-won/deepbiome | 644bc226f1149038d0af7203a03a77ca6e931835 | [
"BSD-3-Clause"
] | 4 | 2019-10-20T15:56:19.000Z | 2021-03-17T16:48:35.000Z | deepbiome/tests/conftest.py | Young-won/deepbiome | 644bc226f1149038d0af7203a03a77ca6e931835 | [
"BSD-3-Clause"
] | 1 | 2019-11-11T22:47:57.000Z | 2019-11-11T22:47:57.000Z | deepbiome/tests/conftest.py | Young-won/deepbiome | 644bc226f1149038d0af7203a03a77ca6e931835 | [
"BSD-3-Clause"
] | 1 | 2019-11-11T18:17:58.000Z | 2019-11-11T18:17:58.000Z | import pytest
import sys
import numpy as np
from pkg_resources import resource_filename
from deepbiome import configuration
from deepbiome import logging_daily
####################################################################################################################
# Classification
##################... | 45.690625 | 141 | 0.71623 | 1,825 | 14,621 | 5.36274 | 0.032329 | 0.06621 | 0.163482 | 0.196179 | 0.981097 | 0.981097 | 0.973332 | 0.973332 | 0.973332 | 0.960458 | 0 | 0.000476 | 0.138294 | 14,621 | 319 | 142 | 45.833856 | 0.776331 | 0.223514 | 0 | 0.791444 | 0 | 0 | 0.184891 | 0.112579 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.032086 | 0 | 0.149733 | 0.096257 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d99d9a120d8d0cb600600ee01df9eddb18323b4b | 79,087 | py | Python | sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/operations/_app_service_certificate_orders_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/operations/_app_service_certificate_orders_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/operations/_app_service_certificate_orders_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 52.099473 | 251 | 0.677975 | 8,342 | 79,087 | 6.191441 | 0.03884 | 0.04306 | 0.032914 | 0.014095 | 0.93055 | 0.921877 | 0.909795 | 0.897733 | 0.894325 | 0.888517 | 0 | 0.010987 | 0.218595 | 79,087 | 1,517 | 252 | 52.133817 | 0.824771 | 0.261054 | 0 | 0.829216 | 0 | 0.005371 | 0.169675 | 0.090435 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03652 | false | 0 | 0.011815 | 0 | 0.099893 | 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 |
d9d2773d49c598b601d8c72388659f7bcca7d98c | 20,010 | py | Python | pinax/api/tests/test_pagination.py | pinax/pinax-api | 84d00af017de09c8bd8607da40d624c83122f9a5 | [
"MIT"
] | 15 | 2016-03-18T04:10:09.000Z | 2020-02-28T23:35:25.000Z | pinax/api/tests/test_pagination.py | pinax/pinax-api | 84d00af017de09c8bd8607da40d624c83122f9a5 | [
"MIT"
] | 23 | 2016-04-06T21:04:19.000Z | 2019-06-24T02:58:52.000Z | pinax/api/tests/test_pagination.py | pinax/pinax-api | 84d00af017de09c8bd8607da40d624c83122f9a5 | [
"MIT"
] | 7 | 2016-03-17T16:53:36.000Z | 2021-04-28T02:26:05.000Z | from __future__ import unicode_literals
from django.core.paginator import EmptyPage
from django.core.urlresolvers import reverse
from django.test import RequestFactory
from ..jsonapi import TopLevel
from .. import registry
from .models import (
Article,
Author,
)
from .test import TestCase
class TestPaginat... | 33.129139 | 79 | 0.33913 | 1,283 | 20,010 | 5.230709 | 0.098207 | 0.052451 | 0.029504 | 0.035762 | 0.870958 | 0.862465 | 0.846819 | 0.83013 | 0.797497 | 0.788556 | 0 | 0.011552 | 0.550075 | 20,010 | 603 | 80 | 33.18408 | 0.733866 | 0.048626 | 0 | 0.604563 | 0 | 0 | 0.101176 | 0.001817 | 0 | 0 | 0 | 0 | 0.039924 | 1 | 0.028517 | false | 0 | 0.015209 | 0 | 0.04943 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a0a9df1569211f810b165907a84add5c0d56863 | 234 | py | Python | addons14/account_asset_management/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/account_asset_management/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/account_asset_management/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | from . import account_account
from . import account_asset
from . import account_asset_group
from . import account_asset_profile
from . import account_asset_line
from . import account_asset_recompute_trigger
from . import account_move
| 29.25 | 45 | 0.850427 | 33 | 234 | 5.666667 | 0.30303 | 0.374332 | 0.636364 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 234 | 7 | 46 | 33.428571 | 0.907767 | 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 |
8a4f8f92013178697aa848ee40ae7fd2b623d877 | 71,905 | py | Python | python/paddle/fluid/tests/unittests/test_static_save_load.py | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | null | null | null | python/paddle/fluid/tests/unittests/test_static_save_load.py | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | null | null | null | python/paddle/fluid/tests/unittests/test_static_save_load.py | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 1 | 2021-12-09T08:59:17.000Z | 2021-12-09T08:59:17.000Z | # Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | 44.059436 | 97 | 0.516223 | 7,987 | 71,905 | 4.376737 | 0.048454 | 0.036502 | 0.01888 | 0.022742 | 0.839632 | 0.819178 | 0.800269 | 0.793747 | 0.769975 | 0.755557 | 0 | 0.016149 | 0.392852 | 71,905 | 1,631 | 98 | 44.08645 | 0.784571 | 0.04353 | 0 | 0.775915 | 0 | 0 | 0.024573 | 0.002475 | 0 | 0 | 0 | 0 | 0.040396 | 1 | 0.02439 | false | 0 | 0.014482 | 0.00686 | 0.056402 | 0.000762 | 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 |
8a5fb89af6d3c0dc385cbf294d3fe1c4984533ef | 24,608 | py | Python | com/vmware/nsx/transport_zones_client.py | vishal-12/vsphere-automation-sdk-python | 9cf363971db77ea5a12928eecd5cf5170a7fcd8a | [
"MIT"
] | null | null | null | com/vmware/nsx/transport_zones_client.py | vishal-12/vsphere-automation-sdk-python | 9cf363971db77ea5a12928eecd5cf5170a7fcd8a | [
"MIT"
] | null | null | null | com/vmware/nsx/transport_zones_client.py | vishal-12/vsphere-automation-sdk-python | 9cf363971db77ea5a12928eecd5cf5170a7fcd8a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#---------------------------------------------------------------------------
# Copyright 2019 VMware, Inc. All rights reserved.
# AUTO GENERATED FILE -- DO NOT MODIFY!
#
# vAPI stub file for package com.vmware.nsx.transport_zones.
#--------------------------------------------------------------... | 40.143556 | 121 | 0.592897 | 2,444 | 24,608 | 5.756956 | 0.087971 | 0.062047 | 0.069296 | 0.085288 | 0.880384 | 0.864961 | 0.833689 | 0.809311 | 0.78678 | 0.776972 | 0 | 0.002119 | 0.290597 | 24,608 | 612 | 122 | 40.20915 | 0.803861 | 0.254429 | 0 | 0.577143 | 1 | 0 | 0.277401 | 0.17951 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031429 | false | 0 | 0.034286 | 0 | 0.151429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8ab289375237e031b111ae29846cfe9243ffc494 | 37,924 | py | Python | models/model.py | primasanjaya/muat-github | 4603c6c960188643fb38d8dba82e0dcc1ba00b40 | [
"Apache-2.0"
] | null | null | null | models/model.py | primasanjaya/muat-github | 4603c6c960188643fb38d8dba82e0dcc1ba00b40 | [
"Apache-2.0"
] | null | null | null | models/model.py | primasanjaya/muat-github | 4603c6c960188643fb38d8dba82e0dcc1ba00b40 | [
"Apache-2.0"
] | 1 | 2022-03-22T15:35:57.000Z | 2022-03-22T15:35:57.000Z | import math
import logging
import torch
import torch.nn as nn
from torch.nn import functional as F
import pdb
logger = logging.getLogger(__name__)
class ModelConfig:
""" base GPT config, params common to all GPT versions """
embd_pdrop = 0.1
resid_pdrop = 0.1
attn_pdrop = 0.1
def... | 31.656093 | 193 | 0.565789 | 4,778 | 37,924 | 4.343449 | 0.056718 | 0.040813 | 0.051414 | 0.040091 | 0.860888 | 0.851829 | 0.844601 | 0.835253 | 0.829422 | 0.823447 | 0 | 0.015105 | 0.322672 | 37,924 | 1,197 | 194 | 31.68254 | 0.792813 | 0.079422 | 0 | 0.770655 | 0 | 0 | 0.004704 | 0 | 0 | 0 | 0 | 0 | 0.004274 | 1 | 0.059829 | false | 0 | 0.008547 | 0.001425 | 0.149573 | 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 |
8acda079184e0425ffc6c6dad026314a05c84648 | 95 | py | Python | src/lib_piglet/utils/tools.py | null-pi/flatland-challenge | babc6895551f96da1c1b6bea6953db498cfa8644 | [
"MIT"
] | null | null | null | src/lib_piglet/utils/tools.py | null-pi/flatland-challenge | babc6895551f96da1c1b6bea6953db498cfa8644 | [
"MIT"
] | null | null | null | src/lib_piglet/utils/tools.py | null-pi/flatland-challenge | babc6895551f96da1c1b6bea6953db498cfa8644 | [
"MIT"
] | null | null | null | import sys
def eprint(*args, **kwargs):
print("[ERROR] ",*args, file=sys.stderr, **kwargs) | 23.75 | 54 | 0.642105 | 13 | 95 | 4.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 4 | 54 | 23.75 | 0.743902 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
8ad65553f0ba2fa20ff5141e0c754d932f5f5117 | 84,303 | py | Python | openmdao/drivers/tests/test_pyoptsparse_driver.py | gjkennedy/OpenMDAO | 06897b584403cce34bc106dd2840aa07eea69e96 | [
"Apache-2.0"
] | null | null | null | openmdao/drivers/tests/test_pyoptsparse_driver.py | gjkennedy/OpenMDAO | 06897b584403cce34bc106dd2840aa07eea69e96 | [
"Apache-2.0"
] | null | null | null | openmdao/drivers/tests/test_pyoptsparse_driver.py | gjkennedy/OpenMDAO | 06897b584403cce34bc106dd2840aa07eea69e96 | [
"Apache-2.0"
] | null | null | null | """ Unit tests for the Pyoptsparse Driver."""
import copy
import sys
import unittest
from distutils.version import LooseVersion
import numpy as np
import openmdao.api as om
from openmdao.test_suite.components.paraboloid import Paraboloid
from openmdao.test_suite.components.expl_comp_array import TestExplCompArrayDe... | 36.011534 | 119 | 0.587097 | 10,798 | 84,303 | 4.449342 | 0.053714 | 0.064607 | 0.060153 | 0.054117 | 0.842873 | 0.822996 | 0.800142 | 0.781513 | 0.762093 | 0.747461 | 0 | 0.043889 | 0.260809 | 84,303 | 2,340 | 120 | 36.026923 | 0.727085 | 0.06116 | 0 | 0.764439 | 0 | 0.000649 | 0.094093 | 0.000571 | 0 | 0 | 0 | 0 | 0.091499 | 1 | 0.060999 | false | 0.000649 | 0.025308 | 0 | 0.099286 | 0.06684 | 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 |
76f5fbb6f39b5fa1af1e7241b2712130a8acd9d3 | 22,372 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_filesystems_cfg.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 177 | 2016-03-15T17:03:51.000Z | 2022-03-18T16:48:44.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_filesystems_cfg.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2016-03-30T10:45:22.000Z | 2020-07-14T16:28:13.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_filesystems_cfg.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 85 | 2016-03-16T20:38:57.000Z | 2022-02-22T04:26:02.000Z | """ Cisco_IOS_XR_ipv4_filesystems_cfg
This module contains a collection of YANG definitions
for Cisco IOS\-XR ipv4\-filesystems package configuration.
This module contains definitions
for the following management objects\:
rcp\: RCP configuration
ftp\: ftp
tftp\: tftp
Copyright (c) 2013\-2018 by Cisco Systems... | 34.685271 | 169 | 0.525925 | 2,249 | 22,372 | 4.907959 | 0.072477 | 0.035514 | 0.044392 | 0.040587 | 0.904149 | 0.846168 | 0.821797 | 0.800417 | 0.792988 | 0.74624 | 0 | 0.012346 | 0.355534 | 22,372 | 644 | 170 | 34.73913 | 0.753225 | 0.197345 | 0 | 0.721003 | 0 | 0.00627 | 0.131528 | 0.037012 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0.043887 | 0.056426 | 0 | 0.250784 | 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 |
0a28fb19be54301f10ce34f69ac58bce3e54caee | 26,687 | py | Python | feature_tool/QuasiSequenceOrder.py | William-Zhanng/Protein_affinity | 8abd12073b182274bf464ff23fd3be406c4e39ac | [
"MIT"
] | 1 | 2022-01-09T12:23:16.000Z | 2022-01-09T12:23:16.000Z | feature_tool/QuasiSequenceOrder.py | William-Zhanng/Protein_affinity | 8abd12073b182274bf464ff23fd3be406c4e39ac | [
"MIT"
] | null | null | null | feature_tool/QuasiSequenceOrder.py | William-Zhanng/Protein_affinity | 8abd12073b182274bf464ff23fd3be406c4e39ac | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
##############################################################################################
This module is used for computing the quasi sequence order descriptors based on the
given protein sequence. We can obtain two types of descriptors: Sequence-order-coupling
number and quas... | 53.480962 | 4,702 | 0.548357 | 4,014 | 26,687 | 3.64001 | 0.233682 | 0.006023 | 0.006981 | 0.014236 | 0.758059 | 0.748135 | 0.73212 | 0.713504 | 0.705496 | 0.699336 | 0 | 0.13801 | 0.114325 | 26,687 | 498 | 4,703 | 53.588353 | 0.480157 | 0.351819 | 0 | 0.515385 | 0 | 0 | 0.112115 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107692 | false | 0 | 0.015385 | 0 | 0.230769 | 0.038462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6a6ba070a52c854232db4854549d32bf433f8d25 | 68,590 | py | Python | benchmarks/SimResults/Paper2_rr_spec_ml/cmp_astarxalancbmkleslie3dnamd/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/Paper2_rr_spec_ml/cmp_astarxalancbmkleslie3dnamd/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/Paper2_rr_spec_ml/cmp_astarxalancbmkleslie3dnamd/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.043764 | 124 | 0.681994 | 8,082 | 68,590 | 5.781985 | 0.067929 | 0.123604 | 0.11299 | 0.093473 | 0.938776 | 0.930751 | 0.918104 | 0.886326 | 0.860882 | 0.842564 | 0 | 0.131638 | 0.224391 | 68,590 | 914 | 125 | 75.043764 | 0.746762 | 0 | 0 | 0.642232 | 0 | 0 | 0.657594 | 0.048111 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6a70e6e06e70209c18c3a72865f36616d0656a9c | 216 | py | Python | gpvolve/cluster/__init__.py | harmsm/gpvolve | 94dd71e5fbee29cc50b82d282ef33c850fb33575 | [
"MIT"
] | null | null | null | gpvolve/cluster/__init__.py | harmsm/gpvolve | 94dd71e5fbee29cc50b82d282ef33c850fb33575 | [
"MIT"
] | null | null | null | gpvolve/cluster/__init__.py | harmsm/gpvolve | 94dd71e5fbee29cc50b82d282ef33c850fb33575 | [
"MIT"
] | 2 | 2021-09-27T17:51:31.000Z | 2021-11-04T15:35:51.000Z | from gpvolve.cluster.utils import assignment, membership, crispness, cluster_assignments
from gpvolve.cluster.pcca import cluster
from gpvolve.cluster.opt import optimize
import gpvolve.cluster.criteria as criteria
| 36 | 88 | 0.856481 | 28 | 216 | 6.571429 | 0.5 | 0.304348 | 0.293478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 216 | 5 | 89 | 43.2 | 0.938776 | 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 |
6abb2eae1af62ca4461a87b07296fdd766044bb6 | 6,882 | py | Python | ssd_model_dense.py | sloppyjuicy/ssd_detectors | acf93082ec7cff616805a97100166fdb264841be | [
"MIT"
] | null | null | null | ssd_model_dense.py | sloppyjuicy/ssd_detectors | acf93082ec7cff616805a97100166fdb264841be | [
"MIT"
] | null | null | null | ssd_model_dense.py | sloppyjuicy/ssd_detectors | acf93082ec7cff616805a97100166fdb264841be | [
"MIT"
] | null | null | null | import keras.backend as K
from keras.layers import Activation
from keras.layers import Conv2D
from keras.layers import MaxPooling2D
from keras.layers import BatchNormalization
from keras.layers import concatenate
from utils.layers import leaky_relu
def bn_acti_conv(x, filters, kernel_size=1, stride=1, padding='same'... | 34.238806 | 89 | 0.661436 | 1,001 | 6,882 | 4.411588 | 0.088911 | 0.185688 | 0.128397 | 0.081748 | 0.835371 | 0.822011 | 0.813406 | 0.795743 | 0.795743 | 0.748188 | 0 | 0.058005 | 0.205899 | 6,882 | 200 | 90 | 34.41 | 0.750046 | 0.031241 | 0 | 0.784722 | 0 | 0 | 0.016714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.048611 | 0 | 0.131944 | 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 |
6ac0db6bd58697328930709923aa9de938440801 | 8,212 | py | Python | test/cnnl/op_test/test_unique.py | Cambricon/catch | 2625da389f25a67066d20fb6b0c38250ef98f8ab | [
"BSD-2-Clause"
] | 20 | 2022-03-01T11:40:51.000Z | 2022-03-30T08:17:47.000Z | test/cnnl/op_test/test_unique.py | Cambricon/catch | 2625da389f25a67066d20fb6b0c38250ef98f8ab | [
"BSD-2-Clause"
] | null | null | null | test/cnnl/op_test/test_unique.py | Cambricon/catch | 2625da389f25a67066d20fb6b0c38250ef98f8ab | [
"BSD-2-Clause"
] | null | null | null | from __future__ import print_function
import sys
import os
os.environ['ENABLE_CNNL_TRYCATCH'] = 'OFF' # pylint: disable=C0413
import unittest
import logging
from itertools import product
import torch
import torch_mlu.core.mlu_model as ct # pylint: disable=W0611
cur_dir = os.path.dirname(os.path.abspath(__file__... | 51.006211 | 99 | 0.616171 | 987 | 8,212 | 4.866261 | 0.126646 | 0.057256 | 0.07995 | 0.04747 | 0.859463 | 0.859463 | 0.859463 | 0.853217 | 0.83656 | 0.822194 | 0 | 0.017514 | 0.283853 | 8,212 | 160 | 100 | 51.325 | 0.799184 | 0.049562 | 0 | 0.713287 | 0 | 0 | 0.013857 | 0 | 0 | 0 | 0 | 0 | 0.174825 | 1 | 0.027972 | false | 0 | 0.062937 | 0 | 0.097902 | 0.006993 | 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 |
6ace28300140a094bbfd49e84c639cfc0a4b902b | 29,793 | py | Python | oke.py | BADUT-INA/oke.py | 87f5dec0bb21928c767b36eca3e2005288693d5f | [
"Unlicense"
] | null | null | null | oke.py | BADUT-INA/oke.py | 87f5dec0bb21928c767b36eca3e2005288693d5f | [
"Unlicense"
] | null | null | null | oke.py | BADUT-INA/oke.py | 87f5dec0bb21928c767b36eca3e2005288693d5f | [
"Unlicense"
] | null | null | null | "#-*-coding:utf-8-*-
import requests,bs4,sys,os,subprocess
import requests,sys,random,time,re,base64,json
reload(sys)
sys.setdefaultencoding("utf-8")
from multiprocessing.pool import ThreadPool
if ("linux" in sys.platform.lower()):
##### WARNA #####
P = '\033[0;97m' # Putih
M = '\033[0;91m' # Merah
... | 34.764294 | 396 | 0.530628 | 4,044 | 29,793 | 3.870178 | 0.108309 | 0.030925 | 0.013418 | 0.028177 | 0.808319 | 0.769727 | 0.751006 | 0.739505 | 0.720146 | 0.71529 | 0 | 0.032508 | 0.258651 | 29,793 | 857 | 397 | 34.764294 | 0.675375 | 0 | 0 | 0.700844 | 0 | 0.068758 | 0.3191 | 0.031257 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.036188 | 0.010856 | null | null | 0.141134 | 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 |
6ad1e4c48f1670ead679123efdc0b92fbba5484a | 755 | py | Python | tests/test_node.py | leisure0808/ldfparser | 6310985cbee2d3ea3b1153c2e5d6281309675760 | [
"MIT"
] | 23 | 2020-10-18T12:22:13.000Z | 2022-03-10T10:59:28.000Z | tests/test_node.py | leisure0808/ldfparser | 6310985cbee2d3ea3b1153c2e5d6281309675760 | [
"MIT"
] | 68 | 2020-09-28T11:23:29.000Z | 2022-03-31T19:22:59.000Z | tests/test_node.py | leisure0808/ldfparser | 6310985cbee2d3ea3b1153c2e5d6281309675760 | [
"MIT"
] | 10 | 2020-10-14T23:02:40.000Z | 2022-01-15T14:29:10.000Z | import pytest
from ldfparser.node import LinProductId
@pytest.mark.unit()
def test_lin_product_id_create_valid():
LinProductId.create(supplier_id=0x0001, function_id=0x0002, variant=1)
@pytest.mark.unit()
def test_lin_product_id_create_invalid_supplier():
with pytest.raises(ValueError):
LinProductId.c... | 34.318182 | 82 | 0.790728 | 102 | 755 | 5.54902 | 0.264706 | 0.070671 | 0.09894 | 0.120141 | 0.839223 | 0.839223 | 0.839223 | 0.839223 | 0.743816 | 0.674912 | 0 | 0.053333 | 0.10596 | 755 | 21 | 83 | 35.952381 | 0.785185 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068874 | 0 | 0 | 1 | 0.235294 | true | 0 | 0.117647 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0a985d2eb795b5db077e3d3e03dd81221119fa90 | 32,228 | py | Python | vectorai/api/search.py | 0xflotus/vectorai | 590f7f0ca135c751c3ea366664d341212e107003 | [
"Apache-2.0"
] | null | null | null | vectorai/api/search.py | 0xflotus/vectorai | 590f7f0ca135c751c3ea366664d341212e107003 | [
"Apache-2.0"
] | null | null | null | vectorai/api/search.py | 0xflotus/vectorai | 590f7f0ca135c751c3ea366664d341212e107003 | [
"Apache-2.0"
] | null | null | null | import io
import base64
import requests
from typing import Dict, List
class ViSearchClient:
"""
Search and Advanced Search Operations
"""
def __init__(self, username, api_key, url=None):
self.username = username
self.api_key = api_key
if url:
self.url = url
... | 33.50104 | 318 | 0.642516 | 3,983 | 32,228 | 5.043937 | 0.058499 | 0.035839 | 0.035839 | 0.026879 | 0.929965 | 0.92011 | 0.91344 | 0.905077 | 0.891389 | 0.889 | 0 | 0.008542 | 0.28438 | 32,228 | 961 | 319 | 33.5359 | 0.86255 | 0.647605 | 0 | 0.882353 | 0 | 0 | 0.160646 | 0.040377 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.00905 | 0 | 0.067873 | 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 |
7c168cdef1f77f80a5940aa32c6ecd7448950438 | 17,771 | py | Python | networkx/tests/test_convert_numpy.py | rakschahsa/networkx | 6cac55b1064c3c346665f9281680fa3b66442ad0 | [
"BSD-3-Clause"
] | 445 | 2019-01-26T13:50:26.000Z | 2022-03-18T05:17:38.000Z | SLpackage/private/thirdparty/pythonpkgs/networkx/networkx_2.2/lib/python2.7/site-packages/networkx/tests/test_convert_numpy.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | 242 | 2019-01-29T15:48:27.000Z | 2022-03-31T22:09:21.000Z | SLpackage/private/thirdparty/pythonpkgs/networkx/networkx_2.2/lib/python2.7/site-packages/networkx/tests/test_convert_numpy.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | 31 | 2019-03-10T09:51:27.000Z | 2022-02-14T23:11:12.000Z | from nose import SkipTest
from nose.tools import assert_raises, assert_true, assert_equal
import networkx as nx
from networkx.generators.classic import barbell_graph, cycle_graph, path_graph
from networkx.testing.utils import assert_graphs_equal
class TestConvertNumpy(object):
numpy = 1 # nosetests attribute, u... | 38.80131 | 85 | 0.61184 | 2,573 | 17,771 | 4.035367 | 0.073066 | 0.064625 | 0.031205 | 0.032746 | 0.958586 | 0.941443 | 0.919195 | 0.905422 | 0.876529 | 0.861504 | 0 | 0.0279 | 0.259805 | 17,771 | 457 | 86 | 38.886214 | 0.761441 | 0.154521 | 0 | 0.778116 | 0 | 0 | 0.027432 | 0 | 0 | 0 | 0 | 0 | 0.258359 | 1 | 0.136778 | false | 0 | 0.027356 | 0 | 0.182371 | 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 |
7c16e0ba6546fee8616c55a88a6618fb12184d7f | 8,717 | py | Python | applewatch_dataprocessing/source/analysis/classification/classifier_summary_builder.py | bzhai/Ubi-SleepNet | 27837827dec608d06659421d073872fb1f68453e | [
"MIT"
] | 3 | 2022-01-22T15:55:31.000Z | 2022-01-28T16:09:02.000Z | applewatch_dataprocessing/source/analysis/classification/classifier_summary_builder.py | bzhai/Ubi-SleepNet | 27837827dec608d06659421d073872fb1f68453e | [
"MIT"
] | null | null | null | applewatch_dataprocessing/source/analysis/classification/classifier_summary_builder.py | bzhai/Ubi-SleepNet | 27837827dec608d06659421d073872fb1f68453e | [
"MIT"
] | null | null | null | from source.analysis.classification.classifier_service import ClassifierService
from source.analysis.classification.classifier_summary import ClassifierSummary
from source.analysis.setup.attributed_classifier import AttributedClassifier
from source.analysis.setup.data_split import DataSplit
from source.analysis.setup.f... | 53.478528 | 127 | 0.63359 | 754 | 8,717 | 6.893899 | 0.115385 | 0.057137 | 0.041554 | 0.046172 | 0.877453 | 0.851674 | 0.845325 | 0.801077 | 0.757214 | 0.755098 | 0 | 0.000669 | 0.314214 | 8,717 | 162 | 128 | 53.808642 | 0.868852 | 0.023173 | 0 | 0.728 | 0 | 0 | 0.00141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072 | false | 0 | 0.064 | 0 | 0.224 | 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 |
7c3649ef1314034a5234254bb6402d42f0d84224 | 74,243 | py | Python | ironic/tests/unit/conductor/test_utils.py | GustavoDinizMonteiro/ironic | bab1054a0a04dfb6b3e8f489b7df18f5966d9029 | [
"Apache-2.0"
] | null | null | null | ironic/tests/unit/conductor/test_utils.py | GustavoDinizMonteiro/ironic | bab1054a0a04dfb6b3e8f489b7df18f5966d9029 | [
"Apache-2.0"
] | null | null | null | ironic/tests/unit/conductor/test_utils.py | GustavoDinizMonteiro/ironic | bab1054a0a04dfb6b3e8f489b7df18f5966d9029 | [
"Apache-2.0"
] | 1 | 2019-01-11T16:00:23.000Z | 2019-01-11T16:00:23.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | 48.272432 | 79 | 0.603828 | 8,170 | 74,243 | 5.161567 | 0.05814 | 0.032488 | 0.029737 | 0.032179 | 0.864596 | 0.842163 | 0.826132 | 0.78876 | 0.771615 | 0.747451 | 0 | 0.005199 | 0.315989 | 74,243 | 1,537 | 80 | 48.303839 | 0.825197 | 0.076896 | 0 | 0.745964 | 0 | 0 | 0.078941 | 0.016649 | 0 | 0 | 0 | 0 | 0.183517 | 1 | 0.080714 | false | 0 | 0.013594 | 0 | 0.100255 | 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 |
7c43383ac35a4815934aa9216f6751906c36f8b6 | 100,852 | py | Python | accera/python/accera/test/mfma_tests.py | microsoft/Accera | 4ec583857853cfb318634aef9e671f73cedba662 | [
"MIT"
] | 19 | 2022-01-26T18:12:54.000Z | 2022-03-25T10:37:21.000Z | accera/python/accera/test/mfma_tests.py | microsoft/Accera | 4ec583857853cfb318634aef9e671f73cedba662 | [
"MIT"
] | 4 | 2022-01-28T00:31:48.000Z | 2022-02-25T14:28:32.000Z | accera/python/accera/test/mfma_tests.py | microsoft/Accera | 4ec583857853cfb318634aef9e671f73cedba662 | [
"MIT"
] | 2 | 2022-01-26T14:14:45.000Z | 2022-02-01T06:08:17.000Z | #!/usr/bin/env python3
####################################################################################################
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See LICENSE in the project root for license information.
#############################################... | 44.942959 | 359 | 0.62671 | 13,420 | 100,852 | 4.406855 | 0.031893 | 0.038502 | 0.025769 | 0.025972 | 0.935763 | 0.92724 | 0.91838 | 0.911938 | 0.901353 | 0.882296 | 0 | 0.068806 | 0.264754 | 100,852 | 2,243 | 360 | 44.962996 | 0.728756 | 0.10562 | 0 | 0.709777 | 0 | 0 | 0.031459 | 0.017416 | 0 | 0 | 0 | 0.000446 | 0 | 1 | 0.100866 | false | 0.018564 | 0.023515 | 0 | 0.125619 | 0.000619 | 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 |
7c95eaad64e4f8c73ec54f0078ae089149b47033 | 179,421 | py | Python | tests/unit/gapic/domains_v1beta1/test_domains.py | patricker/python-domains | 90cb9b6cb64611007d60d1df533e0e2339639251 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/domains_v1beta1/test_domains.py | patricker/python-domains | 90cb9b6cb64611007d60d1df533e0e2339639251 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/domains_v1beta1/test_domains.py | patricker/python-domains | 90cb9b6cb64611007d60d1df533e0e2339639251 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 38.651659 | 106 | 0.695119 | 20,692 | 179,421 | 5.807945 | 0.023004 | 0.014978 | 0.024339 | 0.058214 | 0.934922 | 0.906738 | 0.890221 | 0.868978 | 0.848125 | 0.82456 | 0 | 0.004272 | 0.22372 | 179,421 | 4,641 | 107 | 38.659987 | 0.858574 | 0.215933 | 0 | 0.700164 | 0 | 0 | 0.076123 | 0.025548 | 0 | 0 | 0 | 0 | 0.13257 | 1 | 0.045827 | false | 0.000327 | 0.00982 | 0.000655 | 0.056301 | 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 |
7cb3b5f84232e1b0072b1e66d0966560d6f643f0 | 460 | py | Python | python/testData/inspections/PyDataclassInspection/attrsLackingTypeAnnotation.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyDataclassInspection/attrsLackingTypeAnnotation.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyDataclassInspection/attrsLackingTypeAnnotation.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import attr
@attr.dataclass
class A1:
<error descr="Attribute 'a' lacks a type annotation">a</error> = attr.ib()
<error descr="Attribute 'b' lacks a type annotation">b</error> = attr.ib(type=int)
c = 1
d: int = 1
@attr.s(auto_attribs=True)
class A3:
<error descr="Attribute 'a' lacks a type annota... | 30.666667 | 86 | 0.63913 | 75 | 460 | 3.906667 | 0.306667 | 0.136519 | 0.259386 | 0.273038 | 0.805461 | 0.805461 | 0.805461 | 0.805461 | 0.805461 | 0.805461 | 0 | 0.016349 | 0.202174 | 460 | 15 | 87 | 30.666667 | 0.782016 | 0 | 0 | 0.615385 | 0 | 0 | 0.321041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.076923 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
7ce07e97b3d5f092e62d790c0b63a8bbdb0945e3 | 3,806 | py | Python | redpwn/crypto/4k-rsa/solve.py | deut-erium/WriteUps | 36b4193f5fab9f95527a48626ecba631d5a03796 | [
"MIT"
] | 11 | 2020-06-06T05:28:27.000Z | 2022-01-09T00:42:49.000Z | redpwn/crypto/4k-rsa/solve.py | deut-erium/WriteUps | 36b4193f5fab9f95527a48626ecba631d5a03796 | [
"MIT"
] | 1 | 2020-06-18T20:35:22.000Z | 2020-06-21T16:18:46.000Z | redpwn/crypto/4k-rsa/solve.py | deut-erium/WriteUps | 36b4193f5fab9f95527a48626ecba631d5a03796 | [
"MIT"
] | 6 | 2020-06-06T05:36:43.000Z | 2021-08-11T10:17:18.000Z | from sympy import factorint
n = 502849242431665978484861057186849983063578458825343659943188420442530412657450605145828262952084434907771890706534386195265805591272319333298890004970438507658651644013700240761856856300315176427677572094893852835177307509380263640832557786423411512787139016809649681649936049403622750835... | 380.6 | 1,231 | 0.986337 | 29 | 3,806 | 129.448276 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.973559 | 0.006306 | 3,806 | 9 | 1,232 | 422.888889 | 0.019038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.125 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6b180d197b85ac8e7a2755595b358d4f3c973dc6 | 7,312 | py | Python | Numbers/Vigenère Cipher/tests.py | jarikmarwede/IdeaBag2-Solutions | 0cdd2da54fa243ea91e365b46d9e9f47af66428c | [
"MIT"
] | 10 | 2018-07-06T22:05:45.000Z | 2021-05-22T11:29:04.000Z | Numbers/Vigenère Cipher/tests.py | jarikmarwede/IdeaBag2-Solutions | 0cdd2da54fa243ea91e365b46d9e9f47af66428c | [
"MIT"
] | 22 | 2018-07-13T17:16:43.000Z | 2022-01-11T11:16:08.000Z | Numbers/Vigenère Cipher/tests.py | jarikmarwede/IdeaBag2-Solutions | 0cdd2da54fa243ea91e365b46d9e9f47af66428c | [
"MIT"
] | 1 | 2020-06-13T18:53:51.000Z | 2020-06-13T18:53:51.000Z | #!/usr/bin/env python3
import unittest
from vigenere_cipher import encrypt, get_key, vigenere_table
class Test(unittest.TestCase):
def test_vigenere_table(self):
self.assertEqual(vigenere_table(), (('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k',
'l', ... | 74.612245 | 99 | 0.133616 | 731 | 7,312 | 1.311902 | 0.071135 | 0.052138 | 0.075078 | 0.095933 | 0.704901 | 0.704901 | 0.704901 | 0.704901 | 0.704901 | 0.704901 | 0 | 0.000321 | 0.573578 | 7,312 | 97 | 100 | 75.381443 | 0.307248 | 0.002872 | 0 | 0 | 0 | 0 | 0.097394 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 1 | 0.034091 | false | 0 | 0.022727 | 0 | 0.068182 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 |
860df08a332731395020d4ecd32e7ab718669201 | 3,337 | py | Python | tests/utils/test_check_neighbor_connectivity.py | lperezmo/gpvolve | a2cb204a91e0c17f5bb789a5a333cb155d037591 | [
"MIT"
] | null | null | null | tests/utils/test_check_neighbor_connectivity.py | lperezmo/gpvolve | a2cb204a91e0c17f5bb789a5a333cb155d037591 | [
"MIT"
] | null | null | null | tests/utils/test_check_neighbor_connectivity.py | lperezmo/gpvolve | a2cb204a91e0c17f5bb789a5a333cb155d037591 | [
"MIT"
] | 1 | 2021-10-17T19:25:36.000Z | 2021-10-17T19:25:36.000Z |
import gpmap
import numpy as np
import pytest
import gpvolve.utils as utils
def test_check_neighbor_connectivity():
gpm = gpmap.GenotypePhenotypeMap(genotype=["00","10","01","11"],
fitness=[1.0,1.0,1.0,1.0])
# Bad gpm
with pytest.raises(ValueError):
utils.ch... | 37.077778 | 96 | 0.639796 | 469 | 3,337 | 4.41791 | 0.151386 | 0.023166 | 0.026062 | 0.034749 | 0.838803 | 0.815637 | 0.750965 | 0.750965 | 0.750965 | 0.736004 | 0 | 0.048099 | 0.22745 | 3,337 | 89 | 97 | 37.494382 | 0.755625 | 0.089302 | 0 | 0.769231 | 0 | 0 | 0.032024 | 0 | 0 | 0 | 0 | 0 | 0.246154 | 1 | 0.015385 | false | 0 | 0.061538 | 0 | 0.076923 | 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 |
861129331038f7084445c0e627406c16d766585a | 31 | py | Python | test/mock/apple.py | ryanwohara/modlib | 8529dcf421138015c2392442d3bd8a94dbabc94c | [
"MIT"
] | null | null | null | test/mock/apple.py | ryanwohara/modlib | 8529dcf421138015c2392442d3bd8a94dbabc94c | [
"MIT"
] | 4 | 2015-09-15T20:19:12.000Z | 2016-01-12T01:44:12.000Z | test/mock/apple.py | akerl/modlib | a9dcf5516f524071a0b3f4099fe0a179ecc43d9d | [
"MIT"
] | null | null | null | def name():
return 'apple'
| 10.333333 | 18 | 0.580645 | 4 | 31 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 31 | 2 | 19 | 15.5 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
866a0f363b7c6070d900864e96d0cd08f7faedf3 | 7,772 | py | Python | tests/test_generate_new_codes.py | phac-nml/biocanon | 10c859ed7a15c8fcaab283aed94b082e26b920bb | [
"Apache-2.0"
] | 1 | 2021-01-18T03:39:40.000Z | 2021-01-18T03:39:40.000Z | tests/test_generate_new_codes.py | phac-nml/biocanon | 10c859ed7a15c8fcaab283aed94b082e26b920bb | [
"Apache-2.0"
] | 2 | 2020-06-23T18:44:16.000Z | 2020-06-25T17:03:25.000Z | tests/test_generate_new_codes.py | phac-nml/bioCanon | 3797a16d3782f1784105ce1f6a4661aa69d0a150 | [
"MIT"
] | null | null | null | from bioCanon import __main__
def test_generate_new_codes():
checking = "z"
switch = {}
groups = {'A': ['1', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
'B': ['z', 'z.1', 'z.1.1', 'z.1.1.1', 'z.1.1.1.1', 0, 0, 0, 0, 0, 0, 0],
'C': ['z', 'z.1', 'z.1.1', 'z.1.1.z', 'z.1.1.z.1', 0, 0, 0, 0,... | 74.730769 | 100 | 0.297735 | 2,169 | 7,772 | 1.060858 | 0.023513 | 0.57714 | 0.447197 | 0.485007 | 0.925684 | 0.923946 | 0.921339 | 0.9196 | 0.911777 | 0.910039 | 0 | 0.254121 | 0.289629 | 7,772 | 103 | 101 | 75.456311 | 0.162652 | 0 | 0 | 0.633663 | 1 | 0.118812 | 0.424344 | 0.032424 | 0 | 0 | 0 | 0 | 0.009901 | 1 | 0.009901 | false | 0 | 0.009901 | 0 | 0.019802 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
86b59f77368d902a92c774b75b9584527f291635 | 179 | py | Python | simpletransformers/losses/__init__.py | liorshk/simpletransformers | 226cf4d11edf5157c1beafcc44aaa78f65ccc985 | [
"Apache-2.0"
] | 3,151 | 2019-10-05T11:14:44.000Z | 2022-03-31T17:02:54.000Z | simpletransformers/losses/__init__.py | liorshk/simpletransformers | 226cf4d11edf5157c1beafcc44aaa78f65ccc985 | [
"Apache-2.0"
] | 1,165 | 2019-10-05T14:48:55.000Z | 2022-03-31T11:12:58.000Z | simpletransformers/losses/__init__.py | liorshk/simpletransformers | 226cf4d11edf5157c1beafcc44aaa78f65ccc985 | [
"Apache-2.0"
] | 739 | 2019-10-06T15:11:54.000Z | 2022-03-28T11:07:36.000Z | from simpletransformers.losses.focal_loss import FocalLoss
from simpletransformers.losses.dice_loss import DiceLoss
from simpletransformers.losses.tversky_loss import TverskyLoss
| 44.75 | 62 | 0.899441 | 21 | 179 | 7.52381 | 0.52381 | 0.417722 | 0.531646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067039 | 179 | 3 | 63 | 59.666667 | 0.946108 | 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 |
86fe1c3838f303c16a12423a1dabb6e4f50facfc | 499 | py | Python | tests/test_utilities.py | jbpauly/glucose-sleep-analysis | 11ab2eb87c8f45595551487879ebb34d53ae4e2b | [
"MIT"
] | null | null | null | tests/test_utilities.py | jbpauly/glucose-sleep-analysis | 11ab2eb87c8f45595551487879ebb34d53ae4e2b | [
"MIT"
] | null | null | null | tests/test_utilities.py | jbpauly/glucose-sleep-analysis | 11ab2eb87c8f45595551487879ebb34d53ae4e2b | [
"MIT"
] | null | null | null | from src import utilities
# TODO: write test_read_markdown_file()
# TODO: write test_load_sleep_data()
# TODO: write test_load_glucose_data()
# TODO: write test_glucose_stats()
# TODO: write test_grouped_glucose_stats()
# TODO: write test_create_glucose_day_groups()
# TODO: write test_create_glucose_previous_day_... | 26.263158 | 55 | 0.803607 | 72 | 499 | 5.083333 | 0.361111 | 0.270492 | 0.39071 | 0.259563 | 0.431694 | 0.191257 | 0.191257 | 0 | 0 | 0 | 0 | 0 | 0.108216 | 499 | 18 | 56 | 27.722222 | 0.822472 | 0.88978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
81057098c7365722fd789052536ecafc2745c509 | 129 | py | Python | src/compiler/sequencer_test.py | fritzo/pomagma | 224bb6adab3fc68e2d853e6365b4b86a8f7f468f | [
"Apache-2.0"
] | 10 | 2015-06-09T00:25:01.000Z | 2019-06-11T16:07:31.000Z | src/compiler/sequencer_test.py | fritzo/pomagma | 224bb6adab3fc68e2d853e6365b4b86a8f7f468f | [
"Apache-2.0"
] | 25 | 2015-03-23T23:16:01.000Z | 2017-08-29T03:35:59.000Z | src/compiler/sequencer_test.py | fritzo/pomagma | 224bb6adab3fc68e2d853e6365b4b86a8f7f468f | [
"Apache-2.0"
] | null | null | null | from pomagma.compiler import sequencer
def test_alphabet():
assert len(sequencer.alphabet) == len(set(sequencer.alphabet))
| 21.5 | 66 | 0.767442 | 16 | 129 | 6.125 | 0.6875 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124031 | 129 | 5 | 67 | 25.8 | 0.867257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
810c0b6bc44a59e7ab8c8864d281b36abdfa0231 | 917,406 | py | Python | ENV/lib/python2.7/site-packages/phonenumbers/geodata/data19.py | jupitercl/meatme-oscar-dev | 40583cbb3c6762640a403956e41bffac0bb2ad48 | [
"BSD-3-Clause"
] | null | null | null | ENV/lib/python2.7/site-packages/phonenumbers/geodata/data19.py | jupitercl/meatme-oscar-dev | 40583cbb3c6762640a403956e41bffac0bb2ad48 | [
"BSD-3-Clause"
] | null | null | null | ENV/lib/python2.7/site-packages/phonenumbers/geodata/data19.py | jupitercl/meatme-oscar-dev | 40583cbb3c6762640a403956e41bffac0bb2ad48 | [
"BSD-3-Clause"
] | null | null | null | """Per-prefix data, mapping each prefix to a dict of locale:name.
Auto-generated file, do not edit by hand.
"""
from ..util import u
# Copyright (C) 2011-2016 The Libphonenumber Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Licens... | 91.530081 | 139 | 0.647139 | 123,731 | 917,406 | 4.798224 | 0.08765 | 0.050532 | 0.018515 | 0.025973 | 0.849165 | 0.849135 | 0.849096 | 0.844533 | 0.844533 | 0.844533 | 0 | 0.315999 | 0.065602 | 917,406 | 10,022 | 140 | 91.539214 | 0.376575 | 0.000737 | 0 | 0 | 1 | 0.025992 | 0.727184 | 0.413901 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0001 | 0 | 0.0001 | 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 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
812c8e653a30cf824949caca7d8fa6e1322121a5 | 690 | py | Python | tests/numpy/dace_elementwise_test.py | am-ivanov/dace | c35f0b3cecc04a2c9fb668bd42a72045891e7a42 | [
"BSD-3-Clause"
] | 1 | 2021-09-13T06:36:18.000Z | 2021-09-13T06:36:18.000Z | tests/numpy/dace_elementwise_test.py | 1C4nfaN/dace | 4d65e0951c112160fe783766404a806b6043b521 | [
"BSD-3-Clause"
] | null | null | null | tests/numpy/dace_elementwise_test.py | 1C4nfaN/dace | 4d65e0951c112160fe783766404a806b6043b521 | [
"BSD-3-Clause"
] | null | null | null | import dace
import numpy as np
def test_output():
@dace.program
def prog(A: dace.float64[5, 3], B: dace.float64[5, 3]):
dace.elementwise(lambda x: log(x), A, B)
A = np.random.rand(5, 3)
B = np.zeros((5, 3))
prog(A=A.copy(), B=B)
diff = np.linalg.norm(np.log(A) - B)
print('Differe... | 22.258065 | 59 | 0.565217 | 121 | 690 | 3.198347 | 0.256198 | 0.041344 | 0.03876 | 0.134367 | 0.855297 | 0.855297 | 0.852713 | 0.713178 | 0.713178 | 0.713178 | 0 | 0.053537 | 0.242029 | 690 | 30 | 60 | 23 | 0.686424 | 0 | 0 | 0.727273 | 0 | 0 | 0.031884 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.272727 | 0.090909 | 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 |
d48e955a917f57f824177c237d96b89a86420a61 | 46,051 | py | Python | backend/tests/baserow/contrib/database/view/test_view_filters.py | ericderace/baserow | 7b35e81f75166d914d07ef4ad0c30c625b6bb396 | [
"MIT"
] | null | null | null | backend/tests/baserow/contrib/database/view/test_view_filters.py | ericderace/baserow | 7b35e81f75166d914d07ef4ad0c30c625b6bb396 | [
"MIT"
] | 6 | 2021-04-08T22:03:06.000Z | 2022-01-13T03:38:17.000Z | backend/tests/baserow/contrib/database/view/test_view_filters.py | ericderace/baserow | 7b35e81f75166d914d07ef4ad0c30c625b6bb396 | [
"MIT"
] | null | null | null | import pytest
from datetime import date
from pytz import timezone
from django.utils.timezone import make_aware, datetime
from baserow.contrib.database.views.handler import ViewHandler
from baserow.contrib.database.fields.handler import FieldHandler
@pytest.mark.django_db
def test_equal_filter_type(data_fixture):
... | 32.987822 | 88 | 0.652016 | 6,906 | 46,051 | 4.135679 | 0.02534 | 0.076468 | 0.071426 | 0.108715 | 0.978922 | 0.978222 | 0.976086 | 0.97367 | 0.971255 | 0.968874 | 0 | 0.021813 | 0.211548 | 46,051 | 1,395 | 89 | 33.01147 | 0.764797 | 0.012399 | 0 | 0.919966 | 0 | 0 | 0.100315 | 0.068401 | 0 | 0 | 0 | 0 | 0.216512 | 1 | 0.011794 | false | 0 | 0.005055 | 0 | 0.016849 | 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 |
d49971c5bf277b17c17eb251618bd6f48b6380f8 | 221 | py | Python | hyperadmin/mediatypes/__init__.py | zbyte64/django-hyperadmin | 9ac2ae284b76efb3c50a1c2899f383a27154cb54 | [
"BSD-3-Clause"
] | 25 | 2015-01-26T11:37:22.000Z | 2021-04-05T17:21:05.000Z | hyperadmin/mediatypes/__init__.py | webcube/django-hyperadmin | c6fcbd227098ea02a2c1a2865664fbbef92107dc | [
"BSD-3-Clause"
] | 1 | 2015-04-13T04:19:49.000Z | 2015-04-13T04:19:49.000Z | hyperadmin/mediatypes/__init__.py | webcube/django-hyperadmin | c6fcbd227098ea02a2c1a2865664fbbef92107dc | [
"BSD-3-Clause"
] | 2 | 2017-05-24T13:33:17.000Z | 2019-11-14T06:24:48.000Z | from hyperadmin.mediatypes.common import MediaType, BUILTIN_MEDIA_TYPES
import hyperadmin.mediatypes.collectionjson
import hyperadmin.mediatypes.html5
import hyperadmin.mediatypes.json
import hyperadmin.mediatypes.iframe
| 36.833333 | 71 | 0.891403 | 25 | 221 | 7.8 | 0.52 | 0.512821 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004808 | 0.058824 | 221 | 5 | 72 | 44.2 | 0.932692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d4a86f0ccd64cafc43f54f468a3330eebb66fea7 | 3,863 | py | Python | regipy_tests/conftest.py | ravenexp/regipy | 1894da08b48f25821eaa2fc47b35844f2cb711a4 | [
"MIT"
] | null | null | null | regipy_tests/conftest.py | ravenexp/regipy | 1894da08b48f25821eaa2fc47b35844f2cb711a4 | [
"MIT"
] | null | null | null | regipy_tests/conftest.py | ravenexp/regipy | 1894da08b48f25821eaa2fc47b35844f2cb711a4 | [
"MIT"
] | null | null | null | import lzma
import os
from contextlib import contextmanager
from pathlib import Path
from tempfile import mktemp
import pytest
def extract_lzma(path):
tempfile_path = mktemp()
with open(tempfile_path, 'wb') as tmp:
with lzma.open(path) as f:
tmp.write(f.read())
return tempfile_path
... | 26.101351 | 92 | 0.743981 | 603 | 3,863 | 4.452736 | 0.101161 | 0.151955 | 0.143389 | 0.160894 | 0.811173 | 0.811173 | 0.785102 | 0.785102 | 0.773557 | 0.773557 | 0 | 0.002687 | 0.132798 | 3,863 | 147 | 93 | 26.278912 | 0.798806 | 0 | 0 | 0.514286 | 0 | 0 | 0.104841 | 0.033394 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.057143 | 0.009524 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4d5f138a73bc72de222563b78b2e1a2dd3a6ddb | 7,586 | py | Python | tests/test_BatteryTools.py | qualand/pysam | c503e1fbf79357f70d36c0158f360b4d374d6f92 | [
"BSD-3-Clause"
] | null | null | null | tests/test_BatteryTools.py | qualand/pysam | c503e1fbf79357f70d36c0158f360b4d374d6f92 | [
"BSD-3-Clause"
] | null | null | null | tests/test_BatteryTools.py | qualand/pysam | c503e1fbf79357f70d36c0158f360b4d374d6f92 | [
"BSD-3-Clause"
] | null | null | null | import pytest
import PySAM.BatteryTools as BatteryTools
import PySAM.Battery as batt
import PySAM.BatteryStateful as battstfl
def test_leadacid():
model = batt.default("GenericBatteryCommercial")
model.BatteryCell.batt_chem = 0
assert(model.BatterySystem.batt_computed_bank_capacity != pytest.approx(100, ... | 50.912752 | 95 | 0.767862 | 993 | 7,586 | 5.545821 | 0.113797 | 0.111858 | 0.179771 | 0.198293 | 0.864354 | 0.840748 | 0.815871 | 0.808062 | 0.748865 | 0.724896 | 0 | 0.041094 | 0.117849 | 7,586 | 148 | 96 | 51.256757 | 0.781829 | 0.000659 | 0 | 0.491667 | 0 | 0 | 0.078121 | 0.037477 | 0 | 0 | 0 | 0 | 0.483333 | 1 | 0.066667 | false | 0 | 0.033333 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d4e80b5366b4cb164d5cb6bad9efe380fd960dd3 | 44,165 | py | Python | CommunityPartner/CommunityPartnerField.py | handruin/riverside-assignment-program | 8de039af41953a5a6931597aa261fe5559beac30 | [
"MIT"
] | null | null | null | CommunityPartner/CommunityPartnerField.py | handruin/riverside-assignment-program | 8de039af41953a5a6931597aa261fe5559beac30 | [
"MIT"
] | null | null | null | CommunityPartner/CommunityPartnerField.py | handruin/riverside-assignment-program | 8de039af41953a5a6931597aa261fe5559beac30 | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
from CommunityPartner.CommunityPartnerDataType import DataType
from CommunityPartner.CommunityPartnerOrgType import OrgType
from CommunityPartner.CommunityPartnerRequiredLockedState import RequiredLockState
class CommunityPartnerField(object):
"""
Abstract class to def... | 20.22207 | 120 | 0.626378 | 4,460 | 44,165 | 6.103139 | 0.087668 | 0.270022 | 0.072006 | 0.078068 | 0.866605 | 0.839199 | 0.819581 | 0.783688 | 0.760434 | 0.666826 | 0 | 0.011618 | 0.288622 | 44,165 | 2,183 | 121 | 20.231333 | 0.854765 | 0.019744 | 0 | 0.867972 | 0 | 0.004422 | 0.124933 | 0.005917 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315856 | false | 0.000632 | 0.002527 | 0.309539 | 0.660139 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 11 |
be1469277c9a82d2575599a33cbe4e19edaeb423 | 4,224 | py | Python | tests/test_candidate.py | xobs/aioice | b176cd9a095509084390a64bb1bc686adc7a8c55 | [
"BSD-3-Clause"
] | null | null | null | tests/test_candidate.py | xobs/aioice | b176cd9a095509084390a64bb1bc686adc7a8c55 | [
"BSD-3-Clause"
] | null | null | null | tests/test_candidate.py | xobs/aioice | b176cd9a095509084390a64bb1bc686adc7a8c55 | [
"BSD-3-Clause"
] | null | null | null | import unittest
from aioice import Candidate
class CandidateTest(unittest.TestCase):
def test_can_pair_ipv4(self):
candidate_a = Candidate.from_sdp(
'6815297761 1 udp 659136 1.2.3.4 31102 typ host generation 0')
candidate_b = Candidate.from_sdp(
'6815297761 1 udp 659136 1.... | 43.102041 | 89 | 0.665483 | 553 | 4,224 | 4.962025 | 0.122966 | 0.158528 | 0.244898 | 0.024781 | 0.867347 | 0.857872 | 0.847668 | 0.847668 | 0.827259 | 0.802843 | 0 | 0.189307 | 0.2384 | 4,224 | 97 | 90 | 43.546392 | 0.663662 | 0 | 0 | 0.634146 | 0 | 0 | 0.284801 | 0.027699 | 0 | 0 | 0 | 0 | 0.414634 | 1 | 0.109756 | false | 0 | 0.02439 | 0 | 0.146341 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
07ddff65ced52688b1202fb52a771aba34c39054 | 258 | py | Python | pyopengl-accelerate/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 130 | 2015-07-28T03:41:21.000Z | 2022-03-16T03:07:41.000Z | pyopengl-accelerate/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 119 | 2015-08-01T00:54:06.000Z | 2021-01-05T13:00:46.000Z | pyopengl-accelerate/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 72 | 2015-07-29T02:35:56.000Z | 2022-02-26T14:31:15.000Z | import OpenGL_accelerate.wrapper
import OpenGL_accelerate.formathandler
import OpenGL_accelerate.arraydatatype
import OpenGL_accelerate.errorchecker
import OpenGL_accelerate.vbo
import OpenGL_accelerate.nones_formathandler
import OpenGL_accelerate.latebind
| 28.666667 | 44 | 0.914729 | 29 | 258 | 7.862069 | 0.344828 | 0.368421 | 0.675439 | 0.307018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 258 | 8 | 45 | 32.25 | 0.938272 | 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 |
07e0705f04f8d6bc66fb6b0a232d1af45c7c8af9 | 17,557 | py | Python | workshops/test/test_trainee_dashboard.py | aditnryn/amy | 94aadcbbdf090e4d37e0c42b57896a1d8de3b0a0 | [
"MIT"
] | 1 | 2015-04-03T20:26:56.000Z | 2015-04-03T20:26:56.000Z | workshops/test/test_trainee_dashboard.py | narayanaditya95/amy | 94aadcbbdf090e4d37e0c42b57896a1d8de3b0a0 | [
"MIT"
] | null | null | null | workshops/test/test_trainee_dashboard.py | narayanaditya95/amy | 94aadcbbdf090e4d37e0c42b57896a1d8de3b0a0 | [
"MIT"
] | null | null | null | from datetime import datetime
from django.core.urlresolvers import reverse
from workshops.models import Person, Award, Badge, TrainingProgress, \
TrainingRequirement
from workshops.test import TestBase
class TestTraineeDashboard(TestBase):
"""Tests for trainee dashboard."""
def setUp(self):
self... | 45.366925 | 96 | 0.666743 | 1,940 | 17,557 | 5.912887 | 0.091237 | 0.066951 | 0.081946 | 0.048383 | 0.853544 | 0.837242 | 0.823119 | 0.807253 | 0.802894 | 0.7845 | 0 | 0.003696 | 0.229538 | 17,557 | 386 | 97 | 45.484456 | 0.844311 | 0.060204 | 0 | 0.742475 | 0 | 0 | 0.171926 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.153846 | false | 0.143813 | 0.013378 | 0 | 0.190635 | 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 |
07e0fae2de6770bccac218eee6098efb4e3256a8 | 114 | py | Python | src/__tests__/test_hello.py | Gilbertly/sls-starter-py | e8252c45ce910f80ae36d91c43c02bcd68cef78a | [
"MIT"
] | null | null | null | src/__tests__/test_hello.py | Gilbertly/sls-starter-py | e8252c45ce910f80ae36d91c43c02bcd68cef78a | [
"MIT"
] | 44 | 2020-08-25T09:46:48.000Z | 2021-05-07T08:58:36.000Z | src/__tests__/test_hello.py | Gilbertly/sls-starter-py | e8252c45ce910f80ae36d91c43c02bcd68cef78a | [
"MIT"
] | null | null | null | from src.functions.hello import say_hello
def test_say_hello():
assert say_hello('Sample') == 'Hello Sample!'
| 19 | 47 | 0.745614 | 17 | 114 | 4.764706 | 0.588235 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 5 | 48 | 22.8 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ed17f836a7e85bede6ca421770bd0cc6147698b1 | 6,896 | py | Python | pytorch_fft/fft/autograd.py | chenrz925/pytorch_fft | 459cb20291717398df2def466faa2f3495b2454f | [
"Apache-2.0"
] | 322 | 2017-05-25T08:42:23.000Z | 2022-03-28T02:32:25.000Z | pytorch_fft/fft/autograd.py | bloodmage/pytorch_fft | 34057d19563c939cc49b116ff8570f95747e552c | [
"Apache-2.0"
] | 37 | 2017-06-16T20:05:53.000Z | 2021-03-11T08:04:09.000Z | pytorch_fft/fft/autograd.py | bloodmage/pytorch_fft | 34057d19563c939cc49b116ff8570f95747e552c | [
"Apache-2.0"
] | 54 | 2017-05-26T02:20:54.000Z | 2022-01-19T12:40:18.000Z | import torch
from .fft import fft,ifft,fft2,ifft2,fft3,ifft3,rfft,irfft,rfft2,irfft2,rfft3,irfft3
def make_contiguous(*Xs):
return tuple(X if X.is_contiguous() else X.contiguous() for X in Xs)
def contiguous_clone(X):
if X.is_contiguous():
return X.clone()
else:
return X.contiguous()
clas... | 30.648889 | 92 | 0.591212 | 1,025 | 6,896 | 3.622439 | 0.062439 | 0.27471 | 0.193913 | 0.142203 | 0.897118 | 0.8885 | 0.8885 | 0.8885 | 0.8885 | 0.88042 | 0 | 0.021967 | 0.293648 | 6,896 | 224 | 93 | 30.785714 | 0.7403 | 0.019867 | 0 | 0.709877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.160494 | false | 0 | 0.012346 | 0.006173 | 0.41358 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 9 |
ed22a47c6826be8e9eda600c20c2fb68d28d800a | 14,280 | py | Python | openfermioncirq/experiments/hfvqe/circuits_test.py | unpilbaek/OpenFermion-Cirq | d2f5a871bb5aea1e53d280c0a0e4be999b0c8d9d | [
"Apache-2.0"
] | 278 | 2018-07-18T23:43:16.000Z | 2022-01-02T21:38:08.000Z | openfermioncirq/experiments/hfvqe/circuits_test.py | unpilbaek/OpenFermion-Cirq | d2f5a871bb5aea1e53d280c0a0e4be999b0c8d9d | [
"Apache-2.0"
] | 131 | 2018-07-18T19:04:58.000Z | 2020-08-04T21:05:42.000Z | openfermioncirq/experiments/hfvqe/circuits_test.py | unpilbaek/OpenFermion-Cirq | d2f5a871bb5aea1e53d280c0a0e4be999b0c8d9d | [
"Apache-2.0"
] | 101 | 2018-07-18T21:43:50.000Z | 2022-03-04T09:51:02.000Z | import cirq
import numpy as np
import scipy as sp
import pytest
from openfermioncirq.experiments.hfvqe.circuits import (
rhf_params_to_matrix,
ryxxy,
ryxxy2,
ryxxy3,
ryxxy4,
... | 47.44186 | 84 | 0.589636 | 1,929 | 14,280 | 4.313634 | 0.052359 | 0.20935 | 0.173056 | 0.093739 | 0.940151 | 0.913832 | 0.910588 | 0.910588 | 0.898089 | 0.875616 | 0 | 0.181702 | 0.232283 | 14,280 | 300 | 85 | 47.6 | 0.577305 | 0.00119 | 0 | 0.796364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.025455 | false | 0 | 0.018182 | 0 | 0.043636 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ed2d195783de00d4d3e021d30caa1ba6c157a070 | 3,866 | py | Python | FlopyAdapter/test/Calculation/InowasFlopyCalculationAdapter_test.py | inowas/InowasFlopyAdapter | 43ddf223778693ea5e7651d7a55bef56deff0ad5 | [
"MIT"
] | null | null | null | FlopyAdapter/test/Calculation/InowasFlopyCalculationAdapter_test.py | inowas/InowasFlopyAdapter | 43ddf223778693ea5e7651d7a55bef56deff0ad5 | [
"MIT"
] | null | null | null | FlopyAdapter/test/Calculation/InowasFlopyCalculationAdapter_test.py | inowas/InowasFlopyAdapter | 43ddf223778693ea5e7651d7a55bef56deff0ad5 | [
"MIT"
] | 1 | 2020-09-27T23:26:14.000Z | 2020-09-27T23:26:14.000Z | import os
import unittest
import json
import random
import traceback
from ...Calculation import InowasFlopyCalculationAdapter
class InowasModflowCalculationAdapterTest(unittest.TestCase):
def test_1_can_be_executed(self):
filename = os.path.join('./FlopyAdapter/test/Calculation/data/test_1.json')
... | 35.796296 | 83 | 0.582256 | 422 | 3,866 | 5.220379 | 0.194313 | 0.06355 | 0.036314 | 0.079891 | 0.838856 | 0.838856 | 0.838856 | 0.838856 | 0.838856 | 0.838856 | 0 | 0.050494 | 0.26746 | 3,866 | 107 | 84 | 36.130841 | 0.727401 | 0.009571 | 0 | 0.823529 | 0 | 0 | 0.189754 | 0.083638 | 0 | 0 | 0 | 0 | 0.141176 | 1 | 0.023529 | false | 0 | 0.070588 | 0 | 0.105882 | 0.023529 | 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 |
ed435aa8cfe76e1c19a31fcd101fbf707cfb182c | 73 | py | Python | grid/lib/__init__.py | daviddemeij/Grid | 4ded37c437bf007ca021e00471dc4cd0651c8650 | [
"Apache-2.0"
] | null | null | null | grid/lib/__init__.py | daviddemeij/Grid | 4ded37c437bf007ca021e00471dc4cd0651c8650 | [
"Apache-2.0"
] | null | null | null | grid/lib/__init__.py | daviddemeij/Grid | 4ded37c437bf007ca021e00471dc4cd0651c8650 | [
"Apache-2.0"
] | null | null | null | from grid.lib.output_pipe import OutputPipe
from grid.lib.utils import *
| 24.333333 | 43 | 0.821918 | 12 | 73 | 4.916667 | 0.666667 | 0.271186 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 2 | 44 | 36.5 | 0.907692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
ed548f6f8830751730ac22be2c345066875bf5a4 | 20,893 | py | Python | src/asistente/asistente.py | marcelo21/controlSoldadura-pc | a952dadf9f68895239b0b923da2e5e19d3b32039 | [
"MIT"
] | 1 | 2020-01-01T14:03:05.000Z | 2020-01-01T14:03:05.000Z | src/asistente/asistente.py | marcelo21/controlSoldadura-pc | a952dadf9f68895239b0b923da2e5e19d3b32039 | [
"MIT"
] | null | null | null | src/asistente/asistente.py | marcelo21/controlSoldadura-pc | a952dadf9f68895239b0b923da2e5e19d3b32039 | [
"MIT"
] | null | null | null | from PyQt5.QtWidgets import QApplication, QMainWindow, QDialog
from PyQt5 import uic
import sys
import numpy as np
class Asistente(QDialog):
def __init__(self):
super().__init__()
uic.loadUi('asistente/guiAsistente_1.ui', self)
self.actualizoVenta1()
self.actualizoVenta2()
... | 32.392248 | 101 | 0.479204 | 2,183 | 20,893 | 4.454421 | 0.058635 | 0.218429 | 0.212258 | 0.240642 | 0.872583 | 0.847902 | 0.806047 | 0.738585 | 0.571164 | 0.4855 | 0 | 0.108805 | 0.379744 | 20,893 | 645 | 102 | 32.392248 | 0.641562 | 0.006461 | 0 | 0.746988 | 0 | 0 | 0.025325 | 0.00131 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02008 | false | 0 | 0.008032 | 0 | 0.036145 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ed569d1d2f46750ef36cdcadaaeb9bfe92c5ace7 | 2,715 | py | Python | cif/komand_cif/actions/ping/action.py | killstrelok/insightconnect-plugins | 911358925f4233ab273dbd8172e8b7b9188ebc01 | [
"MIT"
] | 1 | 2020-03-18T09:14:55.000Z | 2020-03-18T09:14:55.000Z | cif/komand_cif/actions/ping/action.py | killstrelok/insightconnect-plugins | 911358925f4233ab273dbd8172e8b7b9188ebc01 | [
"MIT"
] | 1 | 2021-02-23T23:57:37.000Z | 2021-02-23T23:57:37.000Z | cif/komand_cif/actions/ping/action.py | killstrelok/insightconnect-plugins | 911358925f4233ab273dbd8172e8b7b9188ebc01 | [
"MIT"
] | null | null | null | import komand
from .schema import PingOutput, PingInput
# Custom imports below
import requests
# THE FOLLOWING CLASS IS GENERATED BY THE SDK - DO NOT EDIT
class Ping(komand.Action):
def __init__(self):
super(self.__class__, self).__init__(
name='ping',
description='Ping the... | 36.2 | 81 | 0.576796 | 296 | 2,715 | 5.22973 | 0.27027 | 0.01938 | 0.04522 | 0.083979 | 0.806202 | 0.806202 | 0.806202 | 0.806202 | 0.806202 | 0.806202 | 0 | 0.001063 | 0.306814 | 2,715 | 74 | 82 | 36.689189 | 0.821467 | 0.05046 | 0 | 0.774194 | 1 | 0 | 0.177614 | 0.020987 | 0 | 0 | 0 | 0.013514 | 0 | 1 | 0.048387 | false | 0 | 0.048387 | 0 | 0.145161 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ed75bec3f14b9266827fdd8e35d8bdad6d40d444 | 40 | py | Python | tests/division.py | ZYAZP/python2 | 7dc3b62eff51e1decb4a408122e77630fdc1687d | [
"MIT"
] | 1,062 | 2015-11-18T01:04:33.000Z | 2022-03-29T07:13:30.000Z | tests/division.py | ArrowSides/onelinerizer | 7dc3b62eff51e1decb4a408122e77630fdc1687d | [
"MIT"
] | 26 | 2015-11-17T06:58:07.000Z | 2022-01-15T18:11:16.000Z | tests/division.py | ArrowSides/onelinerizer | 7dc3b62eff51e1decb4a408122e77630fdc1687d | [
"MIT"
] | 100 | 2015-11-17T09:01:22.000Z | 2021-09-12T13:58:28.000Z | print 10/3
print 10./3
print int(10./3)
| 10 | 16 | 0.675 | 10 | 40 | 2.7 | 0.4 | 0.333333 | 0.592593 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 0.15 | 40 | 3 | 17 | 13.333333 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
9c45d238a13eacdfd8ed2167edb507b744623050 | 2,684 | py | Python | viz.py | ly-zhu/Separating-Sounds-from-a-Single-Image | 15ffdc19729a5e9ce5b851704285d38f22b6939a | [
"MIT"
] | 3 | 2020-09-05T08:55:21.000Z | 2021-04-08T00:39:32.000Z | viz.py | ly-zhu/Separating-Sounds-from-a-Single-Image | 15ffdc19729a5e9ce5b851704285d38f22b6939a | [
"MIT"
] | 1 | 2021-12-25T11:12:42.000Z | 2022-01-10T11:33:48.000Z | viz.py | ly-zhu/Leveraging-Category-Information-for-Single-Frame-Visual-Sound-Source-Separation | 15ffdc19729a5e9ce5b851704285d38f22b6939a | [
"MIT"
] | 1 | 2022-03-17T06:23:56.000Z | 2022-03-17T06:23:56.000Z | import os
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
def plot_loss_loc_sep_acc_metrics(path, history):
fig = plt.figure()
plt.plot(history['train']['epoch'], history['train']['err'],
color='b', label='training')
plt.plot(history['val']['epoch'], history['val']['er... | 34.410256 | 68 | 0.565201 | 351 | 2,684 | 4.2849 | 0.119658 | 0.146277 | 0.148936 | 0.124335 | 0.916888 | 0.916888 | 0.916888 | 0.916888 | 0.916888 | 0.916888 | 0 | 0.009749 | 0.197466 | 2,684 | 77 | 69 | 34.857143 | 0.688487 | 0 | 0 | 0.772727 | 0 | 0 | 0.17772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.045455 | 0 | 0.075758 | 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 |
9c752aae4247e6f1562a36a98cba95e6f4a9c1ee | 233 | py | Python | tests/parser/aggregates.max.propagation.1.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/aggregates.max.propagation.1.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/aggregates.max.propagation.1.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
a(1) | a(3).
a(2).
c(1,1).
c(1,3).
d(1,5).
b(X) :- a(X), c(Y,X).
ok :- #max{V :b(V)} < X, d(Y,X).
"""
output = """
a(1) | a(3).
a(2).
c(1,1).
c(1,3).
d(1,5).
b(X) :- a(X), c(Y,X).
ok :- #max{V :b(V)} < X, d(Y,X).
"""
| 10.130435 | 32 | 0.339056 | 64 | 233 | 1.234375 | 0.234375 | 0.101266 | 0.075949 | 0.101266 | 0.860759 | 0.860759 | 0.860759 | 0.860759 | 0.860759 | 0.860759 | 0 | 0.097297 | 0.206009 | 233 | 22 | 33 | 10.590909 | 0.32973 | 0 | 0 | 0.888889 | 0 | 0 | 0.866953 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
1325491a90c48fca5f98eec34675f334da710388 | 521 | py | Python | python/phonenumbers/data/alt_format_380.py | rodgar-nvkz/python-phonenumbers | 4c7c4892211dbc9bc328bc3356b03853eaf993dc | [
"Apache-2.0"
] | 2,424 | 2015-01-05T05:34:45.000Z | 2022-03-28T22:37:53.000Z | python/phonenumbers/data/alt_format_380.py | rodgar-nvkz/python-phonenumbers | 4c7c4892211dbc9bc328bc3356b03853eaf993dc | [
"Apache-2.0"
] | 166 | 2015-01-30T23:59:18.000Z | 2022-03-14T21:08:42.000Z | Lib/site-packages/phonenumbers/data/alt_format_380.py | PsychedVic/Portafolio | 4bd59d19de41fbea5317d4f2b9e6219ea0359945 | [
"bzip2-1.0.6"
] | 345 | 2015-01-02T00:33:27.000Z | 2022-03-26T13:06:57.000Z | """Auto-generated file, do not edit by hand. 380 metadata"""
from ..phonemetadata import NumberFormat
PHONE_ALT_FORMAT_380 = [NumberFormat(pattern='(\\d{2})(\\d{3})(\\d{2})(\\d{2})', format='\\1 \\2 \\3 \\4', leading_digits_pattern=['4[45][0-5]|5(?:0|6(?:3[14-7]|7))|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]'... | 104.2 | 417 | 0.556622 | 104 | 521 | 2.721154 | 0.384615 | 0.042403 | 0.042403 | 0.14841 | 0.664311 | 0.522968 | 0.487633 | 0.487633 | 0.487633 | 0.487633 | 0 | 0.194726 | 0.053743 | 521 | 4 | 418 | 130.25 | 0.37931 | 0.103647 | 0 | 0 | 1 | 1 | 0.56833 | 0.503254 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.