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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
975c7d3580b6b88457f2c50de82476a7624d6f9d | 2,132 | py | Python | cv2.py | kalpo/controlvault2-nfc-enable | c80a8223238cc0adcbb238070ec6ce461af9bcc3 | [
"BSD-3-Clause"
] | 51 | 2019-06-29T10:14:24.000Z | 2022-03-18T10:57:10.000Z | cv2.py | kalpo/controlvault2-nfc-enable | c80a8223238cc0adcbb238070ec6ce461af9bcc3 | [
"BSD-3-Clause"
] | 13 | 2019-08-02T20:53:35.000Z | 2022-03-31T21:25:23.000Z | cv2.py | kalpo/controlvault2-nfc-enable | c80a8223238cc0adcbb238070ec6ce461af9bcc3 | [
"BSD-3-Clause"
] | 19 | 2019-03-25T16:53:29.000Z | 2022-03-12T13:30:21.000Z | import cvcomm
class ControlVault2:
NAME = 'Broadcom ControlVault 2'
turn_on_seq1 = [
"10 2f 04 00",
"10 2f 1d 03 05 90 65",
"10 2f 2d 00",
"10 2f 11 01 f7",
"01 27 fc 0c 08 00 01 00 01 00 00 00 00 00 00 00",
]
turn_on_seq2 = [
"10 20 00 01 01",
"10 20 01 02 01 00",
"10 20 02 67 01 b9 64 01 00 ff f... | 45.361702 | 448 | 0.658537 | 558 | 2,132 | 2.482079 | 0.206093 | 0.245487 | 0.281588 | 0.288809 | 0.4 | 0.365343 | 0.28231 | 0.218051 | 0.218051 | 0.218051 | 0 | 0.568182 | 0.277674 | 2,132 | 46 | 449 | 46.347826 | 0.331169 | 0 | 0 | 0.05 | 0 | 0.1 | 0.654784 | 0 | 0 | 1 | 0.009381 | 0 | 0 | 1 | 0.1 | false | 0 | 0.025 | 0 | 0.225 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9776fe96d2347ed8cff08f5dd15be0f5e20231c4 | 36 | py | Python | ads1118/__init__.py | Dakkaron/ADS1118 | c299acc90f5f20bce511cc6352f9dc36d776c304 | [
"MIT"
] | 4 | 2019-05-23T05:12:39.000Z | 2020-01-13T08:24:47.000Z | ads1118/__init__.py | Dakkaron/ADS1118 | c299acc90f5f20bce511cc6352f9dc36d776c304 | [
"MIT"
] | null | null | null | ads1118/__init__.py | Dakkaron/ADS1118 | c299acc90f5f20bce511cc6352f9dc36d776c304 | [
"MIT"
] | null | null | null | from ads1118.ads1118 import ADS1118
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0.111111 | 36 | 1 | 36 | 36 | 0.59375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
97855cf3726a4fc1a0155318355bfd96f85a03d0 | 99 | py | Python | src/sicpy/circuit/constants.py | shawwn/sicpy | 9d48130fcfc4971c4e21dc4a4b8891778c946ee5 | [
"MIT"
] | 2 | 2022-02-21T21:03:23.000Z | 2022-02-21T21:03:28.000Z | src/sicpy/circuit/constants.py | shawwn/sicpy | 9d48130fcfc4971c4e21dc4a4b8891778c946ee5 | [
"MIT"
] | null | null | null | src/sicpy/circuit/constants.py | shawwn/sicpy | 9d48130fcfc4971c4e21dc4a4b8891778c946ee5 | [
"MIT"
] | null | null | null | def inverter_delay():
return 2
def and_gate_delay():
return 3
def or_gate_delay():
return 5 | 12.375 | 21 | 0.717172 | 17 | 99 | 3.882353 | 0.588235 | 0.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 0.191919 | 99 | 8 | 22 | 12.375 | 0.7875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
97a57ef1dea0a655b3f02741589d585d53bf3c4f | 80 | py | Python | tests/src/submodule.py | bayashi-cl/expander | b3623b656a71801233797e05781295a6101fefd8 | [
"CC0-1.0"
] | null | null | null | tests/src/submodule.py | bayashi-cl/expander | b3623b656a71801233797e05781295a6101fefd8 | [
"CC0-1.0"
] | 1 | 2022-03-12T20:41:21.000Z | 2022-03-13T06:34:30.000Z | tests/src/submodule.py | bayashi-cl/expander | b3623b656a71801233797e05781295a6101fefd8 | [
"CC0-1.0"
] | null | null | null | import testlib_a.sublib_a.sub_aa
testlib_a.sublib_a.sub_aa.print_name_sub_aa()
| 20 | 45 | 0.8625 | 17 | 80 | 3.529412 | 0.470588 | 0.25 | 0.466667 | 0.5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 80 | 3 | 46 | 26.666667 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 8 |
97c031045d09c71e67a3177689f75cbc214cd381 | 7,848 | py | Python | pirates/leveleditor/worldData/shipNavyWarship1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/shipNavyWarship1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/shipNavyWarship1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3, Vec4
objectStruct = {'Objects': {'1189041615.92gjeon': {'Type': 'Ship Part','Name': 'shipNavyWarship1','Category': '21: Light Frigate','File': '','Flagship': True,'Objects': {'1189041831.52gjeon': {'Type': 'Spawn Node','Aggro Radius': '12.0000','AnimSet': 'default','Hpr':... | 3,924 | 7,795 | 0.654434 | 1,109 | 7,848 | 4.629396 | 0.149684 | 0.040125 | 0.040319 | 0.039735 | 0.485586 | 0.451695 | 0.415076 | 0.415076 | 0.408843 | 0.401247 | 0 | 0.273135 | 0.062309 | 7,848 | 2 | 7,795 | 3,924 | 0.424514 | 0 | 0 | 0 | 0 | 0 | 0.601223 | 0.167155 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
a9eee6a87740948d5d44d898377103fa07596f3e | 1,010 | py | Python | src/example/4.Color_sensor/color_sensor.wait_for_new_color.py | rundhall/ESP-LEGO-SPIKE-Simulator | dc83b895ff2aac5cf2fe576d0ba98426fea60827 | [
"MIT"
] | null | null | null | src/example/4.Color_sensor/color_sensor.wait_for_new_color.py | rundhall/ESP-LEGO-SPIKE-Simulator | dc83b895ff2aac5cf2fe576d0ba98426fea60827 | [
"MIT"
] | null | null | null | src/example/4.Color_sensor/color_sensor.wait_for_new_color.py | rundhall/ESP-LEGO-SPIKE-Simulator | dc83b895ff2aac5cf2fe576d0ba98426fea60827 | [
"MIT"
] | null | null | null | wait_for_new_color()
Waits until the Color Sensor detects a new color.
The first time this method is called, it immediately returns the detected color. After that, it waits until the Color Sensor detects a color that’s different from the color that was detected the last time this method was used.
Returns
The name of th... | 32.580645 | 226 | 0.780198 | 168 | 1,010 | 4.654762 | 0.297619 | 0.061381 | 0.066496 | 0.092072 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.146535 | 1,010 | 31 | 227 | 32.580645 | 0.907193 | 0 | 0 | 0.866667 | 0 | 0 | 0.075173 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | 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 |
e7560bb1619ecb4b3003b3ba96b4af4070ff7255 | 2,781 | py | Python | uplink/api/personnel.py | Subzidion/uplink-python | 2fc4fc65e15b157a7d6c76dc72ba1b2bd5fb4428 | [
"Apache-2.0"
] | null | null | null | uplink/api/personnel.py | Subzidion/uplink-python | 2fc4fc65e15b157a7d6c76dc72ba1b2bd5fb4428 | [
"Apache-2.0"
] | null | null | null | uplink/api/personnel.py | Subzidion/uplink-python | 2fc4fc65e15b157a7d6c76dc72ba1b2bd5fb4428 | [
"Apache-2.0"
] | null | null | null | from flask import jsonify, request, abort
from .. import db
from ..models import Personnel, PersonnelAccount
from . import api
@api.route('/personnel/<int:id>', methods=['GET'])
def getPersonnelByID(id):
personnel = Personnel.query.get_or_404(id)
return jsonify({ 'personnel': personnel.to_dict() })
@api.rou... | 33.107143 | 73 | 0.658037 | 339 | 2,781 | 5.336283 | 0.174041 | 0.071863 | 0.07518 | 0.086235 | 0.810392 | 0.798231 | 0.777225 | 0.741294 | 0.704809 | 0.645108 | 0 | 0.023014 | 0.203164 | 2,781 | 83 | 74 | 33.506024 | 0.793321 | 0 | 0 | 0.786667 | 0 | 0 | 0.068321 | 0.046386 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.053333 | 0 | 0.266667 | 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 |
e7b376cef83f0f86c4a92fb79f9f4fb890062eef | 20,159 | py | Python | tests/src/python/test_qgsrasterrange.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | tests/src/python/test_qgsrasterrange.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | tests/src/python/test_qgsrasterrange.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | # -*- coding: utf-8 -*-
"""QGIS Unit tests for QgsRasterRange.
.. note:: This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
"""
__... | 58.601744 | 118 | 0.690213 | 2,186 | 20,159 | 6.36871 | 0.063129 | 0.171814 | 0.356845 | 0.255998 | 0.911579 | 0.862232 | 0.836446 | 0.817699 | 0.791553 | 0.732941 | 0 | 0.04 | 0.161665 | 20,159 | 343 | 119 | 58.772595 | 0.781893 | 0.024257 | 0 | 0.735294 | 0 | 0 | 0.02676 | 0.002035 | 0 | 0 | 0 | 0 | 0.830065 | 1 | 0.019608 | false | 0 | 0.009804 | 0 | 0.03268 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
99c00bde706275d49e8b83d66ba1b831a24ac8f7 | 164 | py | Python | AppServer/lib/django-1.2/tests/regressiontests/urlpatterns_reverse/views.py | loftwah/appscale | 586fc1347ebc743d7a632de698f4dbfb09ae38d6 | [
"Apache-2.0"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | AppServer/lib/django-1.2/tests/regressiontests/urlpatterns_reverse/views.py | nlake44/appscale | 6944af660ca4cb772c9b6c2332ab28e5ef4d849f | [
"Apache-2.0"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | AppServer/lib/django-1.2/tests/regressiontests/urlpatterns_reverse/views.py | nlake44/appscale | 6944af660ca4cb772c9b6c2332ab28e5ef4d849f | [
"Apache-2.0"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | def empty_view(request, *args, **kwargs):
pass
def kwargs_view(request, arg1=1, arg2=2):
pass
def absolute_kwargs_view(request, arg1=1, arg2=2):
pass
| 18.222222 | 50 | 0.689024 | 26 | 164 | 4.192308 | 0.461538 | 0.302752 | 0.311927 | 0.385321 | 0.568807 | 0.568807 | 0.568807 | 0.568807 | 0 | 0 | 0 | 0.059259 | 0.176829 | 164 | 8 | 51 | 20.5 | 0.748148 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
82007ecd21f4b50f3d8f205f2b16261d2c9b4466 | 172 | py | Python | uri/python/1097.py | el-cardu/challenges | 836453415e08b04e08d4e10d2f69257052551fa6 | [
"Unlicense"
] | null | null | null | uri/python/1097.py | el-cardu/challenges | 836453415e08b04e08d4e10d2f69257052551fa6 | [
"Unlicense"
] | null | null | null | uri/python/1097.py | el-cardu/challenges | 836453415e08b04e08d4e10d2f69257052551fa6 | [
"Unlicense"
] | null | null | null | j = 7
for i in range(1,11,2):
print('I={0} J={1}'.format(i,j))
print('I={0} J={1}'.format(i,j-1))
print('I={0} J={1}'.format(i,j-2))
j += 2
| 24.571429 | 42 | 0.418605 | 37 | 172 | 1.945946 | 0.324324 | 0.111111 | 0.291667 | 0.333333 | 0.708333 | 0.708333 | 0.708333 | 0.708333 | 0 | 0 | 0 | 0.112903 | 0.27907 | 172 | 6 | 43 | 28.666667 | 0.467742 | 0 | 0 | 0 | 0 | 0 | 0.19186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
4148ef698a3b33cfeddee3780025b011909859d9 | 78 | py | Python | dglearn/plotter/__init__.py | syanga/dcglearn | c3faaed7e04431c86649512813c17968de6803eb | [
"MIT"
] | 5 | 2020-07-19T00:11:20.000Z | 2021-11-23T16:28:49.000Z | dglearn/plotter/__init__.py | syanga/dcglearn | c3faaed7e04431c86649512813c17968de6803eb | [
"MIT"
] | null | null | null | dglearn/plotter/__init__.py | syanga/dcglearn | c3faaed7e04431c86649512813c17968de6803eb | [
"MIT"
] | null | null | null | from .plot_dg import *
from .plot_pmf import *
from .plot_undirected import *
| 19.5 | 30 | 0.769231 | 12 | 78 | 4.75 | 0.5 | 0.421053 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 3 | 31 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
416e00f47d35635e003c24d774cefa7f4abaa93f | 1,274 | py | Python | amantur.py | Amankumar10/Aman | e75f3ff16ecfe5c3320c7f5be9c02bb8787d2b34 | [
"MIT"
] | null | null | null | amantur.py | Amankumar10/Aman | e75f3ff16ecfe5c3320c7f5be9c02bb8787d2b34 | [
"MIT"
] | null | null | null | amantur.py | Amankumar10/Aman | e75f3ff16ecfe5c3320c7f5be9c02bb8787d2b34 | [
"MIT"
] | null | null | null | import turtle
my_turtle = turtle.Turtle()
my_turtle.speed(43)
colors=["red","yellow","blue","green","black"]
for x in range(223):
turtle.pencolor(colors[x%5])
my_turtle.left(70) #(a)
my_turtle.forward(100) #(a)
my_turtle.left(55) #(a)
my_turtle.backward(100) #(a)
my_turtle.f... | 23.592593 | 46 | 0.594192 | 190 | 1,274 | 3.784211 | 0.168421 | 0.422809 | 0.250348 | 0.178025 | 0.734353 | 0.734353 | 0.734353 | 0.734353 | 0.684284 | 0.684284 | 0 | 0.099165 | 0.248038 | 1,274 | 54 | 47 | 23.592593 | 0.651357 | 0.047096 | 0 | 0.714286 | 0 | 0 | 0.019247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.02381 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
68dd75094a6fbe577bf48cf3696f4593ea0a9e54 | 166 | py | Python | science/admin.py | ketzu/knet-django | cc2ebef54bf4bd1bac6cd79c3458a6e1f3eb28a5 | [
"MIT"
] | null | null | null | science/admin.py | ketzu/knet-django | cc2ebef54bf4bd1bac6cd79c3458a6e1f3eb28a5 | [
"MIT"
] | 2 | 2020-06-14T22:01:08.000Z | 2021-03-30T13:39:59.000Z | science/admin.py | ketzu/knet-django | cc2ebef54bf4bd1bac6cd79c3458a6e1f3eb28a5 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Article, Conference
admin.site.register(Conference)
admin.site.register(Article)
| 18.444444 | 39 | 0.807229 | 22 | 166 | 6.090909 | 0.545455 | 0.223881 | 0.283582 | 0.402985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114458 | 166 | 8 | 40 | 20.75 | 0.911565 | 0.156627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
6ba62fb45a43e2cebde49bdb3d0d3650f6cecb6f | 2,573 | py | Python | rebound/rebound/tests/test_gravity.py | rodluger/ttv-devil | e534e4f3cd75db951cba54441f7a5458c87e0cf9 | [
"MIT"
] | null | null | null | rebound/rebound/tests/test_gravity.py | rodluger/ttv-devil | e534e4f3cd75db951cba54441f7a5458c87e0cf9 | [
"MIT"
] | null | null | null | rebound/rebound/tests/test_gravity.py | rodluger/ttv-devil | e534e4f3cd75db951cba54441f7a5458c87e0cf9 | [
"MIT"
] | null | null | null | import rebound
import unittest
import math
import numpy as np
class TestGravity(unittest.TestCase):
def test_testparticle_0(self):
sim = rebound.Simulation()
sim.testparticle_type = 0;
sim.add(m=1.)
sim.add(m=1e-3, a=1.)
sim.N_active = 1
sim.integrate(10.)
... | 26.802083 | 75 | 0.556549 | 353 | 2,573 | 3.943343 | 0.167139 | 0.066092 | 0.08046 | 0.074713 | 0.836925 | 0.798851 | 0.797414 | 0.72773 | 0.716236 | 0.716236 | 0 | 0.058658 | 0.310921 | 2,573 | 95 | 76 | 27.084211 | 0.726452 | 0.036533 | 0 | 0.78481 | 0 | 0 | 0.030303 | 0 | 0 | 0 | 0 | 0.010526 | 0.075949 | 1 | 0.075949 | false | 0 | 0.050633 | 0 | 0.139241 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d40817d0239c536f0e144ecedb0e356a00639d37 | 29,381 | py | Python | plsync/sites.py | functor/operator | 887bbf571dae5d1c00a8690d65977f63a2b8cb10 | [
"Apache-2.0"
] | null | null | null | plsync/sites.py | functor/operator | 887bbf571dae5d1c00a8690d65977f63a2b8cb10 | [
"Apache-2.0"
] | null | null | null | plsync/sites.py | functor/operator | 887bbf571dae5d1c00a8690d65977f63a2b8cb10 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
from planetlab.model import *
from users import user_list
# NOTE: The legacy network remap is used to re-order the automatically
# generated, sequential list of ipaddresses to a legacy order to preserve
# pre-existing slice-and-IP assignments. Otherwise, slices would be assigned
# to new IPs,... | 145.450495 | 232 | 0.666825 | 4,484 | 29,381 | 4.292819 | 0.178412 | 0.036366 | 0.06312 | 0.088472 | 0.716765 | 0.704972 | 0.703101 | 0.699984 | 0.697179 | 0.697179 | 0 | 0.257808 | 0.112964 | 29,381 | 201 | 233 | 146.174129 | 0.480777 | 0.04394 | 0 | 0.069767 | 1 | 0.174419 | 0.393608 | 0.028219 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011628 | 0 | 0.011628 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d41b0a1fe2fec714bc69fffef49eb315456714e7 | 205 | py | Python | flask_sample_test/__init__.py | December1208/flask_sample_test | c2f11a013be7867f1a98bba435eb1bb3daf93fb7 | [
"MIT"
] | null | null | null | flask_sample_test/__init__.py | December1208/flask_sample_test | c2f11a013be7867f1a98bba435eb1bb3daf93fb7 | [
"MIT"
] | null | null | null | flask_sample_test/__init__.py | December1208/flask_sample_test | c2f11a013be7867f1a98bba435eb1bb3daf93fb7 | [
"MIT"
] | null | null | null | from flask_sample_test.sample_test import SampleTest
from flask_sample_test.sample_data import SampleData, SampleEnvironment, SimpleDataField, ComplexDataField
from flask_sample_test.utils import with_env
| 51.25 | 106 | 0.897561 | 27 | 205 | 6.481481 | 0.518519 | 0.228571 | 0.257143 | 0.325714 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 205 | 3 | 107 | 68.333333 | 0.921053 | 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 |
d41ec1b605563f33a36da4a2e30764c7344c7803 | 1,258 | py | Python | python_parikshith21/Day33.py | 01coders/50-Days-Of-Code | 98928cf0e186ee295bc90a4da0aa9554e2918659 | [
"MIT"
] | null | null | null | python_parikshith21/Day33.py | 01coders/50-Days-Of-Code | 98928cf0e186ee295bc90a4da0aa9554e2918659 | [
"MIT"
] | null | null | null | python_parikshith21/Day33.py | 01coders/50-Days-Of-Code | 98928cf0e186ee295bc90a4da0aa9554e2918659 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Jun 10 19:56:32 2019
@author: Parikshith.H
"""
class A:
def __init__(self,val1,val2):
self.__a=val1
self.__b=val2
def display(self):
print(self.__a,self.__b)
class B(A):
def __init__(self,v1,v2,v3):
super().__init__(v1,v... | 21.689655 | 79 | 0.393482 | 135 | 1,258 | 3.325926 | 0.259259 | 0.120267 | 0.071269 | 0.106904 | 0.859688 | 0.859688 | 0.859688 | 0.859688 | 0.859688 | 0.859688 | 0 | 0.061845 | 0.241653 | 1,258 | 58 | 80 | 21.689655 | 0.408805 | 0.36089 | 0 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0 | 0 | 0 | 0.387097 | 0.16129 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d47d0132e236b91f4fc5763b419cb50afff6d7e6 | 157 | py | Python | NN_models/models/__init__.py | ThomasMrY/ActivationFunctionDemo | 1f75c7964e354e7593e1fe54932877feb2961488 | [
"MIT"
] | 12 | 2018-10-29T02:07:43.000Z | 2022-03-18T09:56:34.000Z | NN_models/models/__init__.py | ThomasMrY/Activation_function_demo | 1f75c7964e354e7593e1fe54932877feb2961488 | [
"MIT"
] | null | null | null | NN_models/models/__init__.py | ThomasMrY/Activation_function_demo | 1f75c7964e354e7593e1fe54932877feb2961488 | [
"MIT"
] | 6 | 2019-05-31T08:54:39.000Z | 2021-08-15T03:09:33.000Z | from NN_models.models.vgg import *
from NN_models.models.vgg_tanh import *
from NN_models.models.alexnet import *
from NN_models.models.alexnet_tanh import * | 39.25 | 43 | 0.828025 | 26 | 157 | 4.769231 | 0.269231 | 0.193548 | 0.387097 | 0.580645 | 0.887097 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095541 | 157 | 4 | 43 | 39.25 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
00f8efa98bde4c7117fea9f49466509575183af4 | 43,811 | py | Python | functests/test3/functest.py | tonyfischetti/sake | 818f1b1ad97a0d7bcf2c9e0082affb2865b25f26 | [
"MIT"
] | 229 | 2015-02-02T21:46:17.000Z | 2022-03-02T13:03:21.000Z | functests/test3/functest.py | tonyfischetti/sake | 818f1b1ad97a0d7bcf2c9e0082affb2865b25f26 | [
"MIT"
] | 45 | 2015-01-02T23:55:06.000Z | 2020-04-14T17:04:55.000Z | functests/test3/functest.py | tonyfischetti/sake | 818f1b1ad97a0d7bcf2c9e0082affb2865b25f26 | [
"MIT"
] | 6 | 2015-02-09T06:18:00.000Z | 2021-02-02T16:18:17.000Z | #!/usr/bin/env python
# this is a mess of duplicated code, I'll clean it up later
#####################################
## ##
## FUNCTIONALLY TESTS ENTIRE API ##
## ##
#####################################
from __future__ import unicode_literals
from... | 35.161316 | 195 | 0.641757 | 6,030 | 43,811 | 4.65539 | 0.067662 | 0.032274 | 0.064121 | 0.036905 | 0.815795 | 0.766315 | 0.715945 | 0.684062 | 0.661585 | 0.653997 | 0 | 0.012982 | 0.154299 | 43,811 | 1,245 | 196 | 35.189558 | 0.744676 | 0.173221 | 0 | 0.747782 | 0 | 0.027883 | 0.662518 | 0.03343 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00507 | false | 0.057034 | 0.015209 | 0 | 0.022814 | 0.006337 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
2e43b11d180376cca9ca8bfbfe31bb2f86b0f3c6 | 48 | py | Python | python/testData/refactoring/changeSignature/newParameterWithCallDefaultBeforeExistingWithoutDefault.after.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/changeSignature/newParameterWithCallDefaultBeforeExistingWithoutDefault.after.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 1 | 2020-07-30T19:04:47.000Z | 2020-07-30T19:04:47.000Z | python/testData/refactoring/changeSignature/newParameterWithCallDefaultBeforeExistingWithoutDefault.after.py | bradleesand/intellij-community | 750ff9c10333c9c1278c00dbe8d88c877b1b9749 | [
"Apache-2.0"
] | 1 | 2020-10-15T05:56:42.000Z | 2020-10-15T05:56:42.000Z | def foo(a, b):
pass
foo(2, 1)
foo(2, b=1)
| 6.857143 | 14 | 0.479167 | 12 | 48 | 1.916667 | 0.583333 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.291667 | 48 | 6 | 15 | 8 | 0.558824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 0 | 0.25 | 0 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
d85f53c92d4f5877965d8d592b8671a88d2a4288 | 5,850 | py | Python | speedup.py | abhay-sr/251ass | 644429a990063a6604eae11781d61ac8aba1bafe | [
"MIT"
] | null | null | null | speedup.py | abhay-sr/251ass | 644429a990063a6604eae11781d61ac8aba1bafe | [
"MIT"
] | null | null | null | speedup.py | abhay-sr/251ass | 644429a990063a6604eae11781d61ac8aba1bafe | [
"MIT"
] | null | null | null | #pvaluethon
f1=open("plot_t1.out","r")
f2=open("plot_t2.out","r")
f3=open("plot_t3.out","r")
f4=open("plot_t4.out","r")
f5=open("plot_t5.out","r")
f6=open("speedup.out","w")
f7=open("app.out","r")
l1=[]
l2=[]
l3=[]
l4=[]
l5=[]
li=[]
tmp1=[]
tmp2=[]
tmp3=[]
tmp4=[]
tmp5=[]
for line in f1.readlines():
for value in li... | 19.630872 | 123 | 0.536581 | 1,225 | 5,850 | 2.558367 | 0.066122 | 0.042119 | 0.067007 | 0.076579 | 0.853223 | 0.844608 | 0.758775 | 0.746011 | 0.740268 | 0.740268 | 0 | 0.21253 | 0.227863 | 5,850 | 297 | 124 | 19.69697 | 0.481293 | 0.03265 | 0 | 0.791506 | 0 | 0.015444 | 0.052408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d8f3a3f101de526ba606f8987d1d5f8073e1a9e6 | 2,804 | py | Python | deploy/virenv/lib/python2.7/site-packages/haystack/reverse/matchers.py | wangvictor2012/liuwei | 0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1 | [
"BSD-3-Clause"
] | null | null | null | deploy/virenv/lib/python2.7/site-packages/haystack/reverse/matchers.py | wangvictor2012/liuwei | 0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1 | [
"BSD-3-Clause"
] | null | null | null | deploy/virenv/lib/python2.7/site-packages/haystack/reverse/matchers.py | wangvictor2012/liuwei | 0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2011 Loic Jaquemet loic.jaquemet+python@gmail.com
#
class AbstractMatcher(object):
"""
Search for pointers by checking if the word value is a valid addresses in memspace.
"""
def __init__(self, memory_handler):
self._memory_handle... | 29.208333 | 87 | 0.64301 | 333 | 2,804 | 5.222222 | 0.228228 | 0.082231 | 0.087982 | 0.065555 | 0.784934 | 0.760782 | 0.760782 | 0.760782 | 0.760782 | 0.760782 | 0 | 0.002975 | 0.28067 | 2,804 | 95 | 88 | 29.515789 | 0.859197 | 0.057775 | 0 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b22df07509ec02702829bfada3721abb8f1e747 | 83,227 | py | Python | bases_2021_1S/Grupo 03/storage/BTree/Interfaz.py | dadu0699/tytus | e1920f6932c840859e3e79eb8756a1d3da88bd77 | [
"MIT"
] | 35 | 2020-12-07T03:11:43.000Z | 2021-04-15T17:38:16.000Z | bases_2021_1S/Grupo 03/storage/BTree/Interfaz.py | dadu0699/tytus | e1920f6932c840859e3e79eb8756a1d3da88bd77 | [
"MIT"
] | 47 | 2020-12-09T01:29:09.000Z | 2021-01-13T05:37:50.000Z | bases_2021_1S/Grupo 03/storage/BTree/Interfaz.py | dadu0699/tytus | e1920f6932c840859e3e79eb8756a1d3da88bd77 | [
"MIT"
] | 556 | 2020-12-07T03:13:31.000Z | 2021-06-17T17:41:10.000Z | # File: Interface
# License: Released under MIT License
# Notice: Copyright (c) 2020 TytusDB Team
from tkinter import *
from tkinter import ttk
from tkinter import messagebox
from PIL import Image, ImageTk
from storage.BTree import BMode as B
def runInterface():
r = PP()
class PP:
#----------------... | 48.81349 | 168 | 0.516888 | 10,424 | 83,227 | 4.11579 | 0.041635 | 0.046011 | 0.075799 | 0.107382 | 0.901102 | 0.890451 | 0.871944 | 0.855698 | 0.840571 | 0.825537 | 0 | 0.077804 | 0.314177 | 83,227 | 1,704 | 169 | 48.842136 | 0.673838 | 0.008098 | 0 | 0.72751 | 0 | 0 | 0.187346 | 0.000727 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046284 | false | 0 | 0.003259 | 0 | 0.050196 | 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 |
2b5ff4cdf60e6b8face892c9100da19f38e37e37 | 173 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/leopard/calculators/calc_modulator.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 69 | 2021-12-16T01:34:09.000Z | 2022-03-31T08:27:39.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/leopard/calculators/calc_modulator.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/leopard/calculators/calc_modulator.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 21 | 2021-12-20T09:05:45.000Z | 2022-03-28T02:52:28.000Z | from pyradioconfig.parts.lynx.calculators.calc_modulator import CALC_Modulator_Lynx
class CALC_Modulator_Leopard(CALC_Modulator_Lynx):
#Inherit all from Lynx
pass
| 24.714286 | 83 | 0.83237 | 23 | 173 | 5.956522 | 0.565217 | 0.379562 | 0.248175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121387 | 173 | 6 | 84 | 28.833333 | 0.901316 | 0.121387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
2b6c984aa7733b5fd10f142aabc0d7a77eb5086c | 123 | py | Python | openprescribing/pipeline/context_processors.py | annapowellsmith/openpresc | cfa9fb07d6fc2ee304159c04fcc132cefcf78745 | [
"MIT"
] | 91 | 2015-10-14T09:10:32.000Z | 2022-03-10T22:09:21.000Z | openprescribing/pipeline/context_processors.py | annapowellsmith/openpresc | cfa9fb07d6fc2ee304159c04fcc132cefcf78745 | [
"MIT"
] | 1,828 | 2015-12-04T14:52:27.000Z | 2022-03-31T08:51:14.000Z | openprescribing/pipeline/context_processors.py | HDRUK/openprescribing | 510e8c07e841cd42284c109774d1730b6463f376 | [
"MIT"
] | 27 | 2015-12-03T18:26:56.000Z | 2021-01-09T21:58:53.000Z | from pipeline.runner import in_progress
def import_in_progress(request):
return {"import_in_progess": in_progress()}
| 20.5 | 47 | 0.788618 | 17 | 123 | 5.352941 | 0.588235 | 0.263736 | 0.351648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 123 | 5 | 48 | 24.6 | 0.842593 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 1 | 0.333333 | 1.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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
512dd4d8b8d450c09f64bc0a9acaba3ec9dc54a1 | 182 | py | Python | tests/test_meta/test_printer.py | souvikg10/rasa-nlu-examples | 553a6461949f57232601e778fccdff74a488e0cd | [
"Apache-2.0"
] | 129 | 2020-06-26T10:41:24.000Z | 2022-03-31T17:00:29.000Z | tests/test_meta/test_printer.py | souvikg10/rasa-nlu-examples | 553a6461949f57232601e778fccdff74a488e0cd | [
"Apache-2.0"
] | 109 | 2020-06-22T09:32:18.000Z | 2022-03-31T06:00:03.000Z | tests/test_meta/test_printer.py | souvikg10/rasa-nlu-examples | 553a6461949f57232601e778fccdff74a488e0cd | [
"Apache-2.0"
] | 59 | 2020-06-21T16:23:22.000Z | 2022-03-31T17:00:31.000Z | from rasa_nlu_examples.meta.printer import print_message
from rasa.shared.nlu.training_data.message import Message
def test_can_print_empty_message():
print_message(Message())
| 26 | 57 | 0.835165 | 27 | 182 | 5.296296 | 0.592593 | 0.111888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093407 | 182 | 6 | 58 | 30.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0.75 | 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 |
5157f95bdc4f528e3a7f547469a66c62029c33a3 | 1,317 | py | Python | exams/61a-su20-practice-mt/q4/q4.py | jjllzhang/CS61A | 57b68c7c06999210d96499f6d84e4ec99085d396 | [
"MIT"
] | 1 | 2022-01-22T11:45:01.000Z | 2022-01-22T11:45:01.000Z | exams/61a-su20-practice-mt/q4/q4.py | jjllzhang/CS61A | 57b68c7c06999210d96499f6d84e4ec99085d396 | [
"MIT"
] | null | null | null | exams/61a-su20-practice-mt/q4/q4.py | jjllzhang/CS61A | 57b68c7c06999210d96499f6d84e4ec99085d396 | [
"MIT"
] | null | null | null |
def sums(n, k):
"""
Implement sums, which takes two positive integers n and k. It returns a list of lists containing all
the ways that a list of k positive integers can sum to n. Results can appear in any order.
Return the ways in which K positive integers can sum to N.
>>> sums(2, 2)
[[1, 1]]... | 28.021277 | 106 | 0.51101 | 213 | 1,317 | 2.877934 | 0.211268 | 0.039152 | 0.039152 | 0.039152 | 0.96248 | 0.96248 | 0.96248 | 0.96248 | 0.96248 | 0.96248 | 0 | 0.075724 | 0.318147 | 1,317 | 46 | 107 | 28.630435 | 0.606904 | 0.807897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
851205c8723eceeebf4d500320388131c15b5987 | 17,215 | py | Python | model/objective.py | serre-lab/prj_selfsup | 54885196dad5e24d6f84744a6644dd1f6b7ed686 | [
"Apache-2.0"
] | null | null | null | model/objective.py | serre-lab/prj_selfsup | 54885196dad5e24d6f84744a6644dd1f6b7ed686 | [
"Apache-2.0"
] | null | null | null | model/objective.py | serre-lab/prj_selfsup | 54885196dad5e24d6f84744a6644dd1f6b7ed686 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2020 The SimCLR Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 43.804071 | 108 | 0.705838 | 2,336 | 17,215 | 4.971747 | 0.115582 | 0.054245 | 0.030997 | 0.039263 | 0.820906 | 0.810057 | 0.80136 | 0.793008 | 0.793008 | 0.793008 | 0 | 0.018947 | 0.199826 | 17,215 | 392 | 109 | 43.915816 | 0.824174 | 0.273192 | 0 | 0.831776 | 0 | 0 | 0.001947 | 0.001947 | 0 | 0 | 0 | 0.007653 | 0 | 1 | 0.028037 | false | 0 | 0.028037 | 0 | 0.093458 | 0.004673 | 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 |
a4060f2c18dd76cd900c0b8d94615ff4921dc242 | 29,946 | py | Python | tests/e2e/basic/validation_of_operating_modes/bridge_mode/rate_limiting_with_radius/test_radius_limiting.py | dutta-rohan/wlan-testing | 77264245b62e21dff5f38c7eae74c22e0cdeefbb | [
"BSD-3-Clause"
] | 7 | 2020-08-19T16:45:46.000Z | 2022-02-10T09:55:22.000Z | tests/e2e/basic/validation_of_operating_modes/bridge_mode/rate_limiting_with_radius/test_radius_limiting.py | dutta-rohan/wlan-testing | 77264245b62e21dff5f38c7eae74c22e0cdeefbb | [
"BSD-3-Clause"
] | 47 | 2020-12-20T16:06:03.000Z | 2022-03-23T03:01:22.000Z | tests/e2e/basic/validation_of_operating_modes/bridge_mode/rate_limiting_with_radius/test_radius_limiting.py | dutta-rohan/wlan-testing | 77264245b62e21dff5f38c7eae74c22e0cdeefbb | [
"BSD-3-Clause"
] | 9 | 2021-02-04T22:32:06.000Z | 2021-12-14T17:45:51.000Z | """
Rate LImiting with radius Bridge Mode Scenario
"""
import allure
import pytest
from configuration import RATE_LIMITING_RADIUS_SERVER_DATA
from configuration import RATE_LIMITING_RADIUS_ACCOUNTING_DATA
pytestmark = [pytest.mark.regression, pytest.mark.rate_limiting_with_radius, pytest.mark.bridge]
setup_params_g... | 53.666667 | 138 | 0.595038 | 3,377 | 29,946 | 4.944033 | 0.044122 | 0.050311 | 0.046957 | 0.040249 | 0.950946 | 0.948251 | 0.938488 | 0.927707 | 0.925311 | 0.912015 | 0 | 0.022403 | 0.294964 | 29,946 | 557 | 139 | 53.763016 | 0.768389 | 0.001536 | 0 | 0.817822 | 0 | 0 | 0.181754 | 0.014385 | 0 | 0 | 0 | 0 | 0.027723 | 1 | 0.027723 | false | 0.138614 | 0.007921 | 0 | 0.037624 | 0.110891 | 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 |
32140a666b332f17bf94987947b43ebba4dbdc1b | 16 | py | Python | .history/py/main_20201230141749.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/py/main_20201230141749.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/py/main_20201230141749.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | print(40 // 7)
| 5.333333 | 14 | 0.5 | 3 | 16 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 16 | 2 | 15 | 8 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
5c902ee1188b294d1a9590ef62aca6c335c7a83d | 1,048 | py | Python | digsby/src/gui/native/gtk/gtkpaths.py | ifwe/digsby | f5fe00244744aa131e07f09348d10563f3d8fa99 | [
"Python-2.0"
] | 35 | 2015-08-15T14:32:38.000Z | 2021-12-09T16:21:26.000Z | digsby/src/gui/native/mac/macpaths.py | niterain/digsby | 16a62c7df1018a49eaa8151c0f8b881c7e252949 | [
"Python-2.0"
] | 4 | 2015-09-12T10:42:57.000Z | 2017-02-27T04:05:51.000Z | digsby/src/gui/native/mac/macpaths.py | niterain/digsby | 16a62c7df1018a49eaa8151c0f8b881c7e252949 | [
"Python-2.0"
] | 15 | 2015-07-10T23:58:07.000Z | 2022-01-23T22:16:33.000Z | '''
Patches wx.StandardPaths to include extra Windows specific methods.
'''
import wx
import os
import gui.native
_paths = [
('GetUserStartupDir', gui.native.notImplemented()),
('GetStartupDir', gui.native.notImplemented()),
# TODO: Get properly localized version!
('GetUserDesktopDir', os.path.... | 25.560976 | 71 | 0.69084 | 120 | 1,048 | 5.966667 | 0.3 | 0.075419 | 0.128492 | 0.067039 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.160305 | 1,048 | 40 | 72 | 26.2 | 0.813636 | 0.138359 | 0 | 0.909091 | 0 | 0 | 0.201474 | 0 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0 | false | 0 | 0.272727 | 0 | 0.272727 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5c9fa374da0c463a58f5722ec119c9ef20967ad8 | 1,825 | py | Python | tests/myfitnesspaw/test_flows.py | hooman130/myfitnesspaw | 3523b0efae2af3d590205d8ace06978ee136b8fe | [
"MIT"
] | 2 | 2020-09-16T02:50:28.000Z | 2020-09-21T16:43:41.000Z | tests/myfitnesspaw/test_flows.py | hooman130/myfitnesspaw | 3523b0efae2af3d590205d8ace06978ee136b8fe | [
"MIT"
] | null | null | null | tests/myfitnesspaw/test_flows.py | hooman130/myfitnesspaw | 3523b0efae2af3d590205d8ace06978ee136b8fe | [
"MIT"
] | 1 | 2021-10-15T16:47:18.000Z | 2021-10-15T16:47:18.000Z | import pytest
from myfitnesspaw import flows
class TestFlows:
def test__get_etl_flow__without_passed_user__raises_ValueError(self):
with pytest.raises(ValueError, match="An user must be provided for the flow"):
flows.get_etl_flow(username=None)
def test__get_etl_flow__without_passed_flow... | 32.589286 | 86 | 0.739726 | 257 | 1,825 | 4.727626 | 0.155642 | 0.118519 | 0.065844 | 0.103704 | 0.923457 | 0.884774 | 0.838683 | 0.79177 | 0.744856 | 0.670782 | 0 | 0 | 0.196164 | 1,825 | 55 | 87 | 33.181818 | 0.828221 | 0 | 0 | 0.411765 | 0 | 0 | 0.084932 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.235294 | false | 0.235294 | 0.058824 | 0 | 0.323529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
5cace223ffd90b718c9d5577c75cff389409e6cc | 46,195 | py | Python | msgraph/cli/command_modules/groups/azext_groups/generated/action.py | microsoftgraph/msgraph-cli-archived | 489f70bf4ede1ce67b84bfb31e66da3e4db76062 | [
"MIT"
] | null | null | null | msgraph/cli/command_modules/groups/azext_groups/generated/action.py | microsoftgraph/msgraph-cli-archived | 489f70bf4ede1ce67b84bfb31e66da3e4db76062 | [
"MIT"
] | 22 | 2022-03-29T22:54:37.000Z | 2022-03-29T22:55:27.000Z | msgraph/cli/command_modules/groups/azext_groups/generated/action.py | microsoftgraph/msgraph-cli-archived | 489f70bf4ede1ce67b84bfb31e66da3e4db76062 | [
"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 incor... | 33.474638 | 120 | 0.529516 | 4,830 | 46,195 | 4.933747 | 0.043685 | 0.090138 | 0.083844 | 0.02585 | 0.849937 | 0.839572 | 0.825724 | 0.825724 | 0.825724 | 0.82501 | 0 | 0.005058 | 0.353761 | 46,195 | 1,379 | 121 | 33.498912 | 0.793187 | 0.010824 | 0 | 0.799246 | 0 | 0.005655 | 0.164328 | 0.013922 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069746 | false | 0 | 0.002828 | 0 | 0.142319 | 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 |
5cb1710ca658ba5024bd98f6e0a4fbec38d64335 | 93 | py | Python | nlpaug/util/selection/__init__.py | techthiyanes/nlpaug | bb2fc63349bf949f6f6047ff447a0efb16983c0a | [
"MIT"
] | 3,121 | 2019-04-21T07:02:47.000Z | 2022-03-31T22:17:36.000Z | nlpaug/util/selection/__init__.py | moh2236945/nlpaug | 9d4fb11dcff9980ebaec9d8e6cc7a0381f7db67b | [
"MIT"
] | 186 | 2019-05-31T18:18:13.000Z | 2022-03-28T10:11:05.000Z | nlpaug/util/selection/__init__.py | moh2236945/nlpaug | 9d4fb11dcff9980ebaec9d8e6cc7a0381f7db67b | [
"MIT"
] | 371 | 2019-03-17T17:59:56.000Z | 2022-03-31T01:45:15.000Z | from nlpaug.util.selection.filtering import *
from nlpaug.util.selection.randomness import *
| 31 | 46 | 0.827957 | 12 | 93 | 6.416667 | 0.583333 | 0.25974 | 0.363636 | 0.597403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 2 | 47 | 46.5 | 0.905882 | 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 |
5cb58e06e9b34cfa9182edff25f253dfb756833c | 112,398 | py | Python | sdk/python/pulumi_alicloud/cs/node_pool.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/cs/node_pool.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/cs/node_pool.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 57.966993 | 526 | 0.682806 | 14,589 | 112,398 | 5.075742 | 0.031599 | 0.088386 | 0.087495 | 0.049615 | 0.974585 | 0.968035 | 0.958825 | 0.952411 | 0.949831 | 0.939473 | 0 | 0.004841 | 0.2152 | 112,398 | 1,938 | 527 | 57.996904 | 0.834633 | 0.405425 | 0 | 0.896494 | 1 | 0 | 0.118757 | 0.029725 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169449 | false | 0.041736 | 0.005843 | 0.004174 | 0.277129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8fbb67ef3c3020daf7e1529b31dabae36abfabf6 | 550 | py | Python | eval_covid19china_timm-regnetx_002_RandomCrop.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_covid19china_timm-regnetx_002_RandomCrop.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_covid19china_timm-regnetx_002_RandomCrop.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/eval_covid19china_unetplusplus_timm-regnetx_002_0_RandomCrop.yml",
"python main.py --configs configs/eval_covid19china_unetplusplus_timm-regnetx_002_1_RandomCrop.yml",
"python main.py --configs configs/eval_covid19china_unetplusplus_timm-regnetx_002_2_RandomCrop.yml",
"p... | 50 | 104 | 0.849091 | 80 | 550 | 5.4625 | 0.3 | 0.114416 | 0.1373 | 0.217391 | 0.897025 | 0.897025 | 0.897025 | 0.897025 | 0.897025 | 0.897025 | 0 | 0.057803 | 0.056364 | 550 | 11 | 105 | 50 | 0.7842 | 0 | 0 | 0 | 0 | 0 | 0.880218 | 0.653358 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
64fd65267650998730d91788cf023b8914256ad3 | 4,728 | py | Python | tests/test_proxy_requests.py | shunyooo/proxy_requests | 07aaf14b3281c0df6054ca266952836414959a74 | [
"MIT"
] | 386 | 2018-08-05T01:33:27.000Z | 2022-03-24T04:04:54.000Z | tests/test_proxy_requests.py | shunyooo/proxy_requests | 07aaf14b3281c0df6054ca266952836414959a74 | [
"MIT"
] | 20 | 2018-08-05T08:35:21.000Z | 2021-03-01T04:21:16.000Z | tests/test_proxy_requests.py | shunyooo/proxy_requests | 07aaf14b3281c0df6054ca266952836414959a74 | [
"MIT"
] | 57 | 2018-08-05T02:41:51.000Z | 2022-02-09T07:21:10.000Z | import pytest
from socket import inet_aton
from uuid import uuid4
from proxy_requests import ProxyRequests, ProxyRequestsBasicAuth
from proxy_requests import requests
# pytest -rsA tests/test_proxy_requests.py
@pytest.fixture
def henry_post_bucket():
url = 'https://ptsv2.com/t/%s' % str(uuid4()).replace('-', '')
... | 32.833333 | 83 | 0.68824 | 692 | 4,728 | 4.359827 | 0.138728 | 0.0411 | 0.114352 | 0.063639 | 0.843885 | 0.843885 | 0.824329 | 0.824329 | 0.791846 | 0.74942 | 0 | 0.018983 | 0.16434 | 4,728 | 143 | 84 | 33.062937 | 0.744622 | 0.00846 | 0 | 0.730435 | 0 | 0 | 0.21767 | 0.059752 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.113043 | false | 0.052174 | 0.043478 | 0 | 0.165217 | 0.156522 | 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 |
8f44a31fe96d8e632b53cb0f51fd9f7625927e4c | 126 | py | Python | katas/kyu_7/genetic_algorithm_series_1_generate.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/genetic_algorithm_series_1_generate.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/genetic_algorithm_series_1_generate.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from random import choice
ONEZERO = '10'
def generate(length):
return ''.join(choice(ONEZERO) for _ in xrange(length))
| 15.75 | 59 | 0.706349 | 17 | 126 | 5.176471 | 0.823529 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.174603 | 126 | 7 | 60 | 18 | 0.826923 | 0 | 0 | 0 | 1 | 0 | 0.015873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
8f73d2e0669d6973a43ae77c271bde161c73d51b | 227 | py | Python | dattasa/__init__.py | kartikra/dattasa | 7f11532feba1fd245f6c3541b2089569d23b42ae | [
"MIT"
] | 5 | 2018-02-17T22:50:14.000Z | 2019-05-18T05:12:41.000Z | dattasa/__init__.py | kartikra/dattasa | 7f11532feba1fd245f6c3541b2089569d23b42ae | [
"MIT"
] | null | null | null | dattasa/__init__.py | kartikra/dattasa | 7f11532feba1fd245f6c3541b2089569d23b42ae | [
"MIT"
] | null | null | null | from dattasa.data_pipeline import DataComponent
from dattasa.data_pipeline import APICall
from dattasa.data_pipeline import DataProcessor
from dattasa.file_processor import File
from dattasa.file_processor import FileTransfer
| 32.428571 | 47 | 0.885463 | 30 | 227 | 6.533333 | 0.366667 | 0.280612 | 0.229592 | 0.352041 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092511 | 227 | 6 | 48 | 37.833333 | 0.951456 | 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 |
856f7513cd509b64ec9dac598764aede58528ac8 | 132 | py | Python | agent_stable_baselines/stable_baselines/sac/__init__.py | Jannkar/doom_actionspace | 37663341f60a05943202b77394a4203d070fad95 | [
"MIT"
] | 1 | 2020-04-24T13:54:01.000Z | 2020-04-24T13:54:01.000Z | agent_stable_baselines/stable_baselines/sac/__init__.py | Jannkar/doom_actionspace | 37663341f60a05943202b77394a4203d070fad95 | [
"MIT"
] | null | null | null | agent_stable_baselines/stable_baselines/sac/__init__.py | Jannkar/doom_actionspace | 37663341f60a05943202b77394a4203d070fad95 | [
"MIT"
] | null | null | null | from stable_baselines.sac.sac import SAC
from stable_baselines.sac.policies import MlpPolicy, CnnPolicy, LnMlpPolicy, LnCnnPolicy
| 44 | 89 | 0.848485 | 17 | 132 | 6.470588 | 0.588235 | 0.181818 | 0.345455 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 132 | 2 | 90 | 66 | 0.92437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
858413871f59fcb6e468282dac57d9891443f440 | 1,021 | py | Python | Homework 3 Task 1 String Manipulation.py | maximilianriesterer/friendster | 46b9a170eba3f3e05d56eadd6739b186ecf17939 | [
"Apache-2.0"
] | null | null | null | Homework 3 Task 1 String Manipulation.py | maximilianriesterer/friendster | 46b9a170eba3f3e05d56eadd6739b186ecf17939 | [
"Apache-2.0"
] | null | null | null | Homework 3 Task 1 String Manipulation.py | maximilianriesterer/friendster | 46b9a170eba3f3e05d56eadd6739b186ecf17939 | [
"Apache-2.0"
] | null | null | null | inputString = "Hello World"
l = len(inputString)
newString = ""
# looping through the string
for i in range(0, len(inputString)):
if l < 2:
break
else:
if i in (0, 1, l-2, l-1):
newString = newString + inputString[i]
else:
continue
# Printing New String
print("Input string : " + inputString)
print("Ne... | 17.305085 | 41 | 0.650343 | 145 | 1,021 | 4.57931 | 0.186207 | 0.126506 | 0.067771 | 0.108434 | 0.963855 | 0.963855 | 0.963855 | 0.963855 | 0.963855 | 0.963855 | 0 | 0.022528 | 0.217434 | 1,021 | 58 | 42 | 17.603448 | 0.808511 | 0.1381 | 0 | 0.923077 | 0 | 0 | 0.112257 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a42cd6e1958cc68d4472f049e94d6c408db59cf6 | 9,967 | py | Python | routine_2.py | jeffisnotahero/routinetask | 5677c85b3da41fb122b08c9eeb6b051c954fb9e0 | [
"MIT"
] | null | null | null | routine_2.py | jeffisnotahero/routinetask | 5677c85b3da41fb122b08c9eeb6b051c954fb9e0 | [
"MIT"
] | null | null | null | routine_2.py | jeffisnotahero/routinetask | 5677c85b3da41fb122b08c9eeb6b051c954fb9e0 | [
"MIT"
] | null | null | null | # Date: 28/03/2021
# Description: Automate routine task from work
# Compute forecasted revenue & booking performance(few days before next month) and display the output
import csv
import sys
from helper import *
# Check length of Command-line argument
if len(sys.argv) > 6 or len(sys.argv) < 5:
print(... | 54.168478 | 171 | 0.744156 | 1,350 | 9,967 | 5.171111 | 0.105185 | 0.104283 | 0.192523 | 0.123765 | 0.920355 | 0.912906 | 0.897293 | 0.880819 | 0.858473 | 0.839708 | 0 | 0.004008 | 0.173974 | 9,967 | 183 | 172 | 54.464481 | 0.843921 | 0.207986 | 0 | 0.684685 | 0 | 0.018018 | 0.432357 | 0.221911 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.027027 | 0.369369 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a46c9682d7fbe90cf8282781fd91f5cc345260b9 | 272 | py | Python | venv/lib/python2.7/site-packages/newrelic-2.62.0.47/newrelic/hooks/external_dropbox.py | CharleyFarley/ovvio | 81489ee64f91e4aab908731ce6ddf59edb9314bf | [
"MIT"
] | 1 | 2016-04-22T15:44:08.000Z | 2016-04-22T15:44:08.000Z | lib/python2.7/site-packages/newrelic-2.12.0.10/newrelic/hooks/external_dropbox.py | Arable/evepod | 85638e76cb8529e8ed38fa9849596374719bcb91 | [
"Apache-2.0"
] | null | null | null | lib/python2.7/site-packages/newrelic-2.12.0.10/newrelic/hooks/external_dropbox.py | Arable/evepod | 85638e76cb8529e8ed38fa9849596374719bcb91 | [
"Apache-2.0"
] | null | null | null | import newrelic.api.external_trace
def instrument(module):
def url_request(rest_obj, method, url, *args, **kwargs):
return url
newrelic.api.external_trace.wrap_external_trace(
module, 'rest.RESTClientObject.request', 'dropbox', url_request)
| 27.2 | 76 | 0.716912 | 33 | 272 | 5.69697 | 0.575758 | 0.207447 | 0.202128 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 272 | 9 | 77 | 30.222222 | 0.839286 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 0.106618 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
a47f58fa30249e7a4bd2132608e68585034947fa | 37 | py | Python | example/nodes/__init__.py | EeyoreLee/microservices-framework | 2de7d33d1c53ce90b0428a47b6f258aad3f0c88b | [
"MIT"
] | 1 | 2021-11-23T05:30:11.000Z | 2021-11-23T05:30:11.000Z | example/nodes/__init__.py | EeyoreLee/microservices-framework | 2de7d33d1c53ce90b0428a47b6f258aad3f0c88b | [
"MIT"
] | null | null | null | example/nodes/__init__.py | EeyoreLee/microservices-framework | 2de7d33d1c53ce90b0428a47b6f258aad3f0c88b | [
"MIT"
] | null | null | null | from .test import test_node_via_print | 37 | 37 | 0.891892 | 7 | 37 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
8ef69ecab0e587a087e0ce01354ff85c6d60150c | 224 | py | Python | Server/Python/src/dbs/dao/MySQL/AcquisitionEra/GetID.py | vkuznet/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 8 | 2015-08-14T04:01:32.000Z | 2021-06-03T00:56:42.000Z | Server/Python/src/dbs/dao/MySQL/AcquisitionEra/GetID.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 162 | 2015-01-07T21:34:47.000Z | 2021-10-13T09:42:41.000Z | Server/Python/src/dbs/dao/MySQL/AcquisitionEra/GetID.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 16 | 2015-01-22T15:27:29.000Z | 2021-04-28T09:23:28.000Z | #!/usr/bin/env python
"""
This module provides AcquisitionEra.GetID data access object.
"""
from dbs.dao.Oracle.AcquisitionEra.GetID import GetID as OraAcquisitionEraGetID
class GetID(OraAcquisitionEraGetID):
pass
| 22.4 | 79 | 0.776786 | 26 | 224 | 6.692308 | 0.807692 | 0.218391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 224 | 9 | 80 | 24.888889 | 0.896907 | 0.366071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
f11bb776e4969bd4b4b7bb3ad9c44d0d34942e37 | 5,390 | py | Python | tests/Mock/test_ApiMock_api_get_by_id.py | LudwikaMalinowska/Automated-Testing-Project2 | f0868700af8d6b946768d67b3c1768c2447f1a60 | [
"MIT"
] | null | null | null | tests/Mock/test_ApiMock_api_get_by_id.py | LudwikaMalinowska/Automated-Testing-Project2 | f0868700af8d6b946768d67b3c1768c2447f1a60 | [
"MIT"
] | null | null | null | tests/Mock/test_ApiMock_api_get_by_id.py | LudwikaMalinowska/Automated-Testing-Project2 | f0868700af8d6b946768d67b3c1768c2447f1a60 | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import Mock
from assertpy import assert_that
from requests import Timeout
from src.Api import Api
from src.todos import todos
class TestApi(unittest.TestCase):
def setUp(self):
self.temp = Api()
def test_method_api_get_by_id_assert_that_response_equal_to_expected_u... | 41.782946 | 119 | 0.722449 | 845 | 5,390 | 4.110059 | 0.093491 | 0.069105 | 0.128995 | 0.161244 | 0.813418 | 0.811978 | 0.805356 | 0.790959 | 0.783185 | 0.744313 | 0 | 0.01911 | 0.174768 | 5,390 | 129 | 120 | 41.782946 | 0.761691 | 0 | 0 | 0.457447 | 0 | 0 | 0.060286 | 0 | 0 | 0 | 0 | 0 | 0.319149 | 1 | 0.170213 | false | 0 | 0.06383 | 0 | 0.244681 | 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 |
f13ced8f024cb3514dc6b1314646833a6cc4fa71 | 6,357 | py | Python | lpot/pipelines/features_processing/feature_selection.py | FowlPS/lpot | f40ac8c9a733c245227e1f0f6d0a935b45e7266d | [
"BSD-3-Clause"
] | 2 | 2019-08-27T16:29:54.000Z | 2020-10-12T06:17:40.000Z | lpot/pipelines/features_processing/feature_selection.py | FowlPS/lpot | f40ac8c9a733c245227e1f0f6d0a935b45e7266d | [
"BSD-3-Clause"
] | null | null | null | lpot/pipelines/features_processing/feature_selection.py | FowlPS/lpot | f40ac8c9a733c245227e1f0f6d0a935b45e7266d | [
"BSD-3-Clause"
] | null | null | null | from typing import Tuple
from lpot.pipelines.sklearn_wrappers import sklearn_transformer_wrapper
from sklearn import feature_selection
from sklearn import svm
from sklearn import linear_model
class SelectKBestClassifierWrapper(sklearn_transformer_wrapper.SklearnWrapper):
def __init__(self):
super().__in... | 35.713483 | 113 | 0.598867 | 753 | 6,357 | 4.794157 | 0.112882 | 0.060942 | 0.121884 | 0.075346 | 0.852632 | 0.852632 | 0.852632 | 0.832687 | 0.832687 | 0.832687 | 0 | 0.022663 | 0.278119 | 6,357 | 177 | 114 | 35.915254 | 0.764001 | 0.004562 | 0 | 0.828571 | 0 | 0 | 0.066877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.178571 | false | 0 | 0.035714 | 0.035714 | 0.442857 | 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 |
f15814cc3038b8928d4b0d391e938e47a51c3205 | 8,146 | py | Python | tests/test_one_dim_lse.py | budnyjj/NLRA | 27fdc75e6c5eabc4a46e3761b0d063d3fe8986bd | [
"MIT"
] | null | null | null | tests/test_one_dim_lse.py | budnyjj/NLRA | 27fdc75e6c5eabc4a46e3761b0d063d3fe8986bd | [
"MIT"
] | null | null | null | tests/test_one_dim_lse.py | budnyjj/NLRA | 27fdc75e6c5eabc4a46e3761b0d063d3fe8986bd | [
"MIT"
] | null | null | null | import unittest
import random
import sympy as sp
import numpy as np
import sys
import os
sys.path.append('.')
import stats.methods as methods
from stats.utils import *
class TestBasicMNK(unittest.TestCase):
def setUp(self):
self.num_vals = 20 # number of source values
def test_linear_k(... | 28.582456 | 71 | 0.485023 | 1,005 | 8,146 | 3.700498 | 0.103483 | 0.045173 | 0.022587 | 0.030116 | 0.884915 | 0.858295 | 0.842969 | 0.832751 | 0.815542 | 0.780048 | 0 | 0.01131 | 0.424748 | 8,146 | 284 | 72 | 28.683099 | 0.78233 | 0.166217 | 0 | 0.717703 | 0 | 0 | 0.016733 | 0 | 0 | 0 | 0 | 0 | 0.019139 | 1 | 0.023923 | false | 0 | 0.038278 | 0 | 0.066986 | 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 |
f15dd71e9bc455e5292cc2261789eff1a928ff1a | 24,818 | py | Python | jbank/tests.py | bachvtuan/django-jbank | 1b384936d93b802d92442167efca292d2aaa2f47 | [
"MIT"
] | null | null | null | jbank/tests.py | bachvtuan/django-jbank | 1b384936d93b802d92442167efca292d2aaa2f47 | [
"MIT"
] | 2 | 2020-11-05T17:30:12.000Z | 2021-02-24T23:54:35.000Z | jbank/tests.py | bachvtuan/django-jbank | 1b384936d93b802d92442167efca292d2aaa2f47 | [
"MIT"
] | 1 | 2021-12-16T09:27:04.000Z | 2021-12-16T09:27:04.000Z | import os
import subprocess
from datetime import date, datetime
from decimal import Decimal
from os.path import join
import pytz
from dateutil.tz import tzutc
from django.conf import settings
from django.core.exceptions import ValidationError
from django.core.management import call_command
from django.template.loader i... | 114.898148 | 7,836 | 0.80909 | 1,878 | 24,818 | 10.567625 | 0.263046 | 0.01814 | 0.006802 | 0.00907 | 0.691071 | 0.664718 | 0.648997 | 0.623451 | 0.614532 | 0.609745 | 0 | 0.106734 | 0.101902 | 24,818 | 215 | 7,837 | 115.432558 | 0.78366 | 0.013498 | 0 | 0.095745 | 0 | 0.042553 | 0.688982 | 0.50989 | 0 | 1 | 0 | 0 | 0.138298 | 1 | 0.069149 | false | 0.010638 | 0.132979 | 0 | 0.212766 | 0.005319 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f1877939eaac08d4d346945da65d233c0b614501 | 3,101 | py | Python | tests/functional/regressions/test_issue99.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | null | null | null | tests/functional/regressions/test_issue99.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | 1 | 2020-08-11T15:41:41.000Z | 2020-08-11T15:41:41.000Z | tests/functional/regressions/test_issue99.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.asyncio
@pytest.mark.ttftt_engine
@pytest.mark.parametrize(
"query,errors",
[
(
"""
query {
cat {
name
doesKnowCommand(catCommand: JUMP, catCommand: JUMP)
}
}
""",
... | 28.981308 | 86 | 0.297323 | 186 | 3,101 | 4.946237 | 0.247312 | 0.078261 | 0.097826 | 0.11087 | 0.802174 | 0.802174 | 0.802174 | 0.802174 | 0.630435 | 0.630435 | 0 | 0.028941 | 0.576588 | 3,101 | 106 | 87 | 29.254717 | 0.671744 | 0 | 0 | 0.551282 | 0 | 0 | 0.234558 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 1 | 0 | true | 0 | 0.012821 | 0 | 0.012821 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
74cdf102a2e0f78318feeadfdbf537c23a142d4d | 11,490 | py | Python | unet_model.py | yaramohajerani/FrontLearning | 70f0e4c2991ff5ba585e20fbc6aa9e7b82ca312c | [
"MIT"
] | 13 | 2018-07-20T02:09:28.000Z | 2021-11-08T19:56:05.000Z | unet_model.py | yaramohajerani/FrontLearning | 70f0e4c2991ff5ba585e20fbc6aa9e7b82ca312c | [
"MIT"
] | null | null | null | unet_model.py | yaramohajerani/FrontLearning | 70f0e4c2991ff5ba585e20fbc6aa9e7b82ca312c | [
"MIT"
] | 4 | 2019-04-06T10:09:25.000Z | 2020-11-13T10:04:02.000Z | #!/usr/bin/env python
u"""
frontlearn_unet.py
by Yara Mohajerani (Last Update 01/2019)
Construct a dynamic u-net model with a variable
number of layers for glacier calving front detection.
Update History
01/2019 Fix batch normalization axis input
09/2018 Add multiple functions to test different versions
... | 38.172757 | 115 | 0.558573 | 1,608 | 11,490 | 3.939677 | 0.11194 | 0.025257 | 0.015154 | 0.069455 | 0.882715 | 0.882715 | 0.87356 | 0.87356 | 0.87356 | 0.87356 | 0 | 0.029602 | 0.217929 | 11,490 | 300 | 116 | 38.3 | 0.675384 | 0.392254 | 0 | 0.83871 | 0 | 0 | 0.101031 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025806 | false | 0 | 0.051613 | 0 | 0.103226 | 0.103226 | 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 |
74d3c96ba64affc7889f3b3cfebdc364f49c792c | 12,890 | py | Python | __init__.py | joshuadavidwood/Machine-Learning-Augmentation-Pipeline | 995daabce508c566d8c61c6c4f3c701e96cde857 | [
"MIT"
] | 2 | 2019-02-22T00:31:38.000Z | 2019-02-22T00:31:39.000Z | __init__.py | joshuadavidwood/PyAug | 995daabce508c566d8c61c6c4f3c701e96cde857 | [
"MIT"
] | null | null | null | __init__.py | joshuadavidwood/PyAug | 995daabce508c566d8c61c6c4f3c701e96cde857 | [
"MIT"
] | null | null | null | import pandas as pd
import random
import numpy as np
def PyAugLinear(original_dataframe, augmented_rows, percent, ignore_cols):
'''PyAugLinear ingests a Pandas DataFrame and creates a new Pandas DataFrame consisting of augmented_rows number of
rows. Columns selected for augmentation are perturbed using a li... | 50.351563 | 228 | 0.689061 | 1,627 | 12,890 | 5.296865 | 0.070068 | 0.046414 | 0.044558 | 0.029705 | 0.969366 | 0.965189 | 0.965189 | 0.95022 | 0.95022 | 0.95022 | 0 | 0.010666 | 0.229015 | 12,890 | 256 | 229 | 50.351563 | 0.85651 | 0.251746 | 0 | 0.935252 | 0 | 0 | 0.042812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028777 | false | 0 | 0.021583 | 0 | 0.165468 | 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 |
74e569b81677b753d655c343537fb714c3843166 | 328 | py | Python | Project Practice 3.py | chanzijun/programming-together | 3ffaef8c4988037a35c259ec2a6988598ea8f7c0 | [
"MIT"
] | null | null | null | Project Practice 3.py | chanzijun/programming-together | 3ffaef8c4988037a35c259ec2a6988598ea8f7c0 | [
"MIT"
] | null | null | null | Project Practice 3.py | chanzijun/programming-together | 3ffaef8c4988037a35c259ec2a6988598ea8f7c0 | [
"MIT"
] | null | null | null | #excel module https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqbGI4VG5XWW92X3lzd1ZDdkg1Y2JWdk85WEExUXxBQ3Jtc0traUxvYWpsSmo2UWkyc3lyT21yYklrSXlJNzlyLVprNmljZEdQNHdXSVYyRmdKMXB3U0VTQ1laUXg4dTVodW1IbGJXY2RyVzdCM3NqU1dQb0hpT2JMOGhSY19IN1BsdmtXMVB4Q0Uyai1oTHFYSHo1dw&q=http%3A%2F%2Fwww.python-exce... | 328 | 328 | 0.932927 | 22 | 328 | 13.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113497 | 0.006098 | 328 | 1 | 328 | 328 | 0.819018 | 0.996951 | 0 | null | 0 | null | 0 | 0 | null | 1 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2d207542eca756372baf6557c3da12caff88c687 | 112 | py | Python | tasks/util.py | faunalia/qgreenland | de32dd4bb014a731dbf20f943c7bb102ba39082b | [
"MIT"
] | 15 | 2020-06-18T21:18:53.000Z | 2022-01-24T22:10:29.000Z | tasks/util.py | twilamoon-science/qgreenland | aeb1f994a506f0a083408d35d87f4cdf9339d8b9 | [
"MIT"
] | 39 | 2020-08-18T19:33:02.000Z | 2022-03-10T21:20:15.000Z | tasks/util.py | twilamoon-science/qgreenland | aeb1f994a506f0a083408d35d87f4cdf9339d8b9 | [
"MIT"
] | 5 | 2020-08-27T19:25:24.000Z | 2022-01-24T22:10:32.000Z | from invoke import run
def print_and_run(cmd, **run_kwargs):
print(cmd)
return run(cmd, **run_kwargs)
| 16 | 37 | 0.696429 | 18 | 112 | 4.111111 | 0.555556 | 0.162162 | 0.243243 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 112 | 6 | 38 | 18.666667 | 0.813187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 7 |
74366c0f6248657bf69412fe50a0bdaee683399d | 4,020 | py | Python | fixture/db.py | natRym/rymarava_b30_python | 923e5d4bdf4ba6029c3a2eb6f241c0819e8cb02a | [
"Apache-2.0"
] | null | null | null | fixture/db.py | natRym/rymarava_b30_python | 923e5d4bdf4ba6029c3a2eb6f241c0819e8cb02a | [
"Apache-2.0"
] | null | null | null | fixture/db.py | natRym/rymarava_b30_python | 923e5d4bdf4ba6029c3a2eb6f241c0819e8cb02a | [
"Apache-2.0"
] | null | null | null | import pymysql.cursors
from model.contact import Contact
from model.group import Group
class DbFixture:
def __init__(self, host, name, user, password):
self.host = host
self.name = name
self.user = user
self.password = password
self.connection = pymysql.connect(host=host,... | 44.175824 | 215 | 0.596766 | 463 | 4,020 | 5.062635 | 0.138229 | 0.027304 | 0.030717 | 0.027304 | 0.845137 | 0.845137 | 0.845137 | 0.845137 | 0.845137 | 0.823805 | 0 | 0.029813 | 0.307463 | 4,020 | 90 | 216 | 44.666667 | 0.812141 | 0 | 0 | 0.725 | 0 | 0.05 | 0.193035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0875 | false | 0.0375 | 0.0375 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
746369520ae39c4e4c9b68d22048b061363ff59a | 42,351 | py | Python | spitfire/compiler/optimizer_test.py | atubbs/spitfire | 73dc7ab2f9721aa96d402887e3a080012047e3e1 | [
"BSD-3-Clause"
] | 385 | 2016-04-07T06:21:12.000Z | 2022-03-30T23:03:59.000Z | spitfire/compiler/optimizer_test.py | atubbs/spitfire | 73dc7ab2f9721aa96d402887e3a080012047e3e1 | [
"BSD-3-Clause"
] | 25 | 2016-02-03T23:43:47.000Z | 2016-03-31T21:34:45.000Z | spitfire/compiler/optimizer_test.py | atubbs/spitfire | 73dc7ab2f9721aa96d402887e3a080012047e3e1 | [
"BSD-3-Clause"
] | 67 | 2016-04-29T14:49:09.000Z | 2022-03-15T01:51:02.000Z | # Copyright 2014 The Spitfire Authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
import unittest
from spitfire.compiler import analyzer
from spitfire.compiler import ast
from spitfire.compiler import compiler
from spitfire.compiler imp... | 33.826677 | 80 | 0.601922 | 4,506 | 42,351 | 5.376609 | 0.062361 | 0.02976 | 0.028976 | 0.047055 | 0.866347 | 0.836629 | 0.809345 | 0.778759 | 0.776159 | 0.765014 | 0 | 0.004532 | 0.307077 | 42,351 | 1,251 | 81 | 33.853717 | 0.821032 | 0.011735 | 0 | 0.802775 | 0 | 0 | 0.1911 | 0.009604 | 0 | 0 | 0 | 0.000799 | 0.017839 | 1 | 0.074331 | false | 0.00892 | 0.010902 | 0.015857 | 0.122894 | 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 |
779996c3e89cd839d4bdba42ee1810386ad0e34f | 157 | py | Python | src/hommmer/metrics/degrees_of_freedom.py | hammer-mt/hommmer | a02cb87841395f30911242a019f28f6ac15f27ec | [
"MIT"
] | 4 | 2021-11-09T21:27:30.000Z | 2021-11-23T00:38:20.000Z | src/hommmer/metrics/degrees_of_freedom.py | hammer-mt/hommmer | a02cb87841395f30911242a019f28f6ac15f27ec | [
"MIT"
] | null | null | null | src/hommmer/metrics/degrees_of_freedom.py | hammer-mt/hommmer | a02cb87841395f30911242a019f28f6ac15f27ec | [
"MIT"
] | null | null | null | def degrees_of_freedom(num_obs, num_params):
# https://machinelearningmastery.com/degrees-of-freedom-in-machine-learning/
return num_obs - num_params | 52.333333 | 80 | 0.789809 | 22 | 157 | 5.363636 | 0.636364 | 0.152542 | 0.271186 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101911 | 157 | 3 | 81 | 52.333333 | 0.836879 | 0.471338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
77db5ba64de9e7517d2aae97093ae046c0ba94dd | 1,148 | py | Python | tests/test_report.py | sthagen/foran | ff852c29c2a114a9cb2fd5ae004ffd89a18b3eda | [
"MIT"
] | null | null | null | tests/test_report.py | sthagen/foran | ff852c29c2a114a9cb2fd5ae004ffd89a18b3eda | [
"MIT"
] | 3 | 2021-10-16T15:36:18.000Z | 2021-11-30T06:52:59.000Z | tests/test_report.py | sthagen/foran | ff852c29c2a114a9cb2fd5ae004ffd89a18b3eda | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# pylint: disable=missing-docstring,unused-import,reimported
from foran.report import generate_report_list
def test_generate_report_list_nothing_ast_empty():
assert generate_report_list('foo:', False, [], '*') == []
def test_generate_report_list_ast_empty():
assert generate_report_li... | 31.888889 | 95 | 0.66899 | 153 | 1,148 | 4.627451 | 0.20915 | 0.336158 | 0.432203 | 0.237288 | 0.813559 | 0.813559 | 0.573446 | 0.412429 | 0.412429 | 0.412429 | 0 | 0.001 | 0.12892 | 1,148 | 35 | 96 | 32.8 | 0.707 | 0.069686 | 0 | 0 | 1 | 0 | 0.128639 | 0 | 0 | 0 | 0 | 0 | 0.470588 | 1 | 0.470588 | true | 0 | 0.058824 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
77ef90b2787b9ad5cf16127666cf114ac2f83623 | 1,971 | py | Python | tests/test_models/test_losses/test_mse_loss.py | ykk648/mmhuman3d | 26af92bcf6abbe1855e1a8a48308621410f9c047 | [
"Apache-2.0"
] | 472 | 2021-12-03T03:12:55.000Z | 2022-03-31T01:33:13.000Z | tests/test_models/test_losses/test_mse_loss.py | ykk648/mmhuman3d | 26af92bcf6abbe1855e1a8a48308621410f9c047 | [
"Apache-2.0"
] | 127 | 2021-12-03T05:00:14.000Z | 2022-03-31T13:47:33.000Z | tests/test_models/test_losses/test_mse_loss.py | ykk648/mmhuman3d | 26af92bcf6abbe1855e1a8a48308621410f9c047 | [
"Apache-2.0"
] | 37 | 2021-12-03T03:23:22.000Z | 2022-03-31T08:41:58.000Z | import torch
from mmhuman3d.models import build_loss
def test_keypoint_mse_loss():
loss_cfg = dict(type='KeypointMSELoss')
loss = build_loss(loss_cfg)
pred = torch.zeros(1, 3, 2)
target = torch.zeros(1, 3, 2)
assert torch.allclose(loss(pred, target), torch.tensor(0.))
pred = torch.ones(1, 3,... | 31.790323 | 63 | 0.642821 | 302 | 1,971 | 4.129139 | 0.10596 | 0.035285 | 0.052927 | 0.144346 | 0.922213 | 0.922213 | 0.87089 | 0.832398 | 0.832398 | 0.832398 | 0 | 0.049904 | 0.207002 | 1,971 | 61 | 64 | 32.311475 | 0.747921 | 0.038052 | 0 | 0.755556 | 0 | 0 | 0.043363 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.022222 | false | 0 | 0.044444 | 0 | 0.066667 | 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 |
7ae64c00112acc075cf3df3e95640552f4adf899 | 26,390 | py | Python | tests/test_medication.py | glichtner/fhir.resources | 94896d8f8a0b7dd69253762aab968f4fd6eb69a0 | [
"BSD-3-Clause"
] | null | null | null | tests/test_medication.py | glichtner/fhir.resources | 94896d8f8a0b7dd69253762aab968f4fd6eb69a0 | [
"BSD-3-Clause"
] | null | null | null | tests/test_medication.py | glichtner/fhir.resources | 94896d8f8a0b7dd69253762aab968f4fd6eb69a0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/Medication
Release: R5
Version: 4.5.0
Build ID: 0d95498
Last updated: 2021-04-03T00:34:11.075+00:00
"""
from pydantic.validators import bytes_validator # noqa: F401
from fhir.resources import fhirtypes # noqa: F401
from fhir.resources import... | 40.978261 | 88 | 0.686434 | 3,191 | 26,390 | 5.629583 | 0.082106 | 0.126364 | 0.11356 | 0.072478 | 0.892619 | 0.888666 | 0.844856 | 0.800991 | 0.778056 | 0.718827 | 0 | 0.044643 | 0.16817 | 26,390 | 643 | 89 | 41.041991 | 0.773688 | 0.06116 | 0 | 0.567619 | 0 | 0 | 0.204095 | 0.010562 | 0 | 0 | 0 | 0 | 0.52381 | 1 | 0.038095 | false | 0 | 0.005714 | 0 | 0.04381 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bb180b798df355b07769f7d9116fc2c80a94cd9e | 3,880 | py | Python | linkcmd_backends/commons.py | theuerse/emulation_lib | d9388202d7ec9283404f9ab4d2448ff19922b44f | [
"MIT"
] | 2 | 2018-12-11T10:02:06.000Z | 2019-04-01T10:39:09.000Z | linkcmd_backends/commons.py | theuerse/emulation_lib | d9388202d7ec9283404f9ab4d2448ff19922b44f | [
"MIT"
] | null | null | null | linkcmd_backends/commons.py | theuerse/emulation_lib | d9388202d7ec9283404f9ab4d2448ff19922b44f | [
"MIT"
] | null | null | null | # returns the commands to setup common interface-properties indifferent of the number of connections
# returns commands for the local node only
def get_common_setup_commands(config):
# common part
cmds = ["#!/bin/sh"]
# shutdown existing cmdScheduler-instance
cmds.append("sudo killall cmdScheduler")
... | 46.746988 | 109 | 0.673454 | 558 | 3,880 | 4.641577 | 0.182796 | 0.158301 | 0.210811 | 0.123552 | 0.839768 | 0.835907 | 0.800772 | 0.732819 | 0.711583 | 0.688417 | 0 | 0.011032 | 0.20567 | 3,880 | 82 | 110 | 47.317073 | 0.829332 | 0.196907 | 0 | 0.68 | 0 | 0 | 0.537791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0 | 0 | 0.08 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bb3aad9a9389652f0ee6864d631e3e9aade42695 | 101 | py | Python | grammaregex/__init__.py | mpomarlan/grammaregex | 5212075433fc5201da628acf09cdf5bf73aa1ad0 | [
"MIT"
] | 40 | 2016-09-06T19:13:38.000Z | 2021-10-14T14:33:21.000Z | grammaregex/__init__.py | mpomarlan/grammaregex | 5212075433fc5201da628acf09cdf5bf73aa1ad0 | [
"MIT"
] | 5 | 2017-08-14T12:57:22.000Z | 2019-07-26T13:49:13.000Z | grammaregex/__init__.py | mpomarlan/grammaregex | 5212075433fc5201da628acf09cdf5bf73aa1ad0 | [
"MIT"
] | 12 | 2016-09-06T19:13:42.000Z | 2021-06-07T11:48:46.000Z | from .grammaregex import match_tree, find_tokens, print_tree, verify_pattern, PatternSyntaxException
| 50.5 | 100 | 0.871287 | 12 | 101 | 7 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 101 | 1 | 101 | 101 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
704d702308b397b5609a82ebd3c65c5f5f3bfe59 | 102 | py | Python | urizen/generators/worlds/__init__.py | misagai/urizen | ad756749ae7b0bb6db7024c6128998e56236ee6d | [
"Apache-2.0"
] | null | null | null | urizen/generators/worlds/__init__.py | misagai/urizen | ad756749ae7b0bb6db7024c6128998e56236ee6d | [
"Apache-2.0"
] | null | null | null | urizen/generators/worlds/__init__.py | misagai/urizen | ad756749ae7b0bb6db7024c6128998e56236ee6d | [
"Apache-2.0"
] | null | null | null | import urizen.generators.worlds.wg_perlin_noise
from urizen.generators.worlds.wg_perlin_noise import * | 51 | 54 | 0.882353 | 15 | 102 | 5.733333 | 0.533333 | 0.372093 | 0.511628 | 0.55814 | 0.813953 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04902 | 102 | 2 | 54 | 51 | 0.886598 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
3b5c42832d43b9d0ca127bf7fc9508a8a51ab89c | 155 | py | Python | main/views/public/common/__init__.py | tiberiucorbu/av-website | f26f44a367d718316442506b130a7034697670b8 | [
"MIT"
] | null | null | null | main/views/public/common/__init__.py | tiberiucorbu/av-website | f26f44a367d718316442506b130a7034697670b8 | [
"MIT"
] | null | null | null | main/views/public/common/__init__.py | tiberiucorbu/av-website | f26f44a367d718316442506b130a7034697670b8 | [
"MIT"
] | null | null | null | from meta_decorator import *
from navbar_decorator import *
from switcher_decorator import *
from footer_decorator import *
from common_decorator import *
| 25.833333 | 32 | 0.83871 | 20 | 155 | 6.25 | 0.4 | 0.6 | 0.608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 155 | 5 | 33 | 31 | 0.925926 | 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 |
8e94f314570e2a6d992a2175990d425691a522b3 | 172 | py | Python | caishen_dashboard/server/routes.py | Kerem-Sami-Coop/caishen-dashboard-be2 | 686717fe1d289164cd85c3f58939443892259046 | [
"MIT"
] | null | null | null | caishen_dashboard/server/routes.py | Kerem-Sami-Coop/caishen-dashboard-be2 | 686717fe1d289164cd85c3f58939443892259046 | [
"MIT"
] | 10 | 2021-04-12T19:19:58.000Z | 2021-05-19T14:37:57.000Z | caishen_dashboard/server/routes.py | Kerem-Sami-Coop/caishen_dashboard | 686717fe1d289164cd85c3f58939443892259046 | [
"MIT"
] | null | null | null | from flask import render_template
from caishen_dashboard.server import bp
@bp.route("/")
@bp.route("/index")
def index():
return render_template("server/index.html")
| 19.111111 | 47 | 0.744186 | 24 | 172 | 5.208333 | 0.583333 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 172 | 8 | 48 | 21.5 | 0.822368 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
8ed50c307bd5fc4e2f364043b804ff0ae094a99c | 155 | py | Python | scripts/mango/relations/__init__.py | robertjoosten/maya-orm | 9c5db622d5bbba63246ff1d3f0a22bd3f7140f6c | [
"MIT"
] | 11 | 2020-11-14T14:37:49.000Z | 2022-03-25T03:28:23.000Z | scripts/mango/relations/__init__.py | robertjoosten/maya-orm | 9c5db622d5bbba63246ff1d3f0a22bd3f7140f6c | [
"MIT"
] | null | null | null | scripts/mango/relations/__init__.py | robertjoosten/maya-orm | 9c5db622d5bbba63246ff1d3f0a22bd3f7140f6c | [
"MIT"
] | null | null | null | from mango.relations.base import *
from mango.relations.generic import *
from mango.relations.collections import *
from mango.relations.constants import *
| 31 | 41 | 0.819355 | 20 | 155 | 6.35 | 0.4 | 0.283465 | 0.566929 | 0.566929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103226 | 155 | 4 | 42 | 38.75 | 0.913669 | 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 |
d9243b7cc420f7353327a3f416518a3259d87269 | 466,560 | py | Python | temp.py | B4BY-DG/R-Bomber | bb0915b65fedf16754f67f3b2a6702a2ea3c4257 | [
"MIT"
] | 17 | 2021-10-07T04:36:06.000Z | 2022-03-07T18:40:01.000Z | temp.py | B4BY-DG/R-Bomber | bb0915b65fedf16754f67f3b2a6702a2ea3c4257 | [
"MIT"
] | 2 | 2022-01-19T06:52:43.000Z | 2022-01-27T15:06:13.000Z | temp.py | B4BY-DG/R-Bomber | bb0915b65fedf16754f67f3b2a6702a2ea3c4257 | [
"MIT"
] | 9 | 2021-10-10T01:28:44.000Z | 2022-02-02T14:40:59.000Z | #ENCODE BY RAZOR KENWAY
#YOU CAN TRY THIS DECODE GOD BLESS
import gzip,marshal,zlib,base64,binascii,lzma
try:
exec(gzip.decompress(marshal.loads(b's\xa1z\x02\x00\x1f\x8b\x08\x00\xac\xa4\xe7a\x02\xff|}iW\x14[\xb0\xec\xf7\xfb+\x9cP@\x86\x9ak\x17*"\xa8\x08\x02*\xa2\xa2\xe2P\xbb\x06P\x90YD@\x7f\xfb\xed\x88\x8c}\xda\xb5\... | 38,880 | 466,394 | 0.735012 | 107,203 | 466,560 | 3.193045 | 0.116471 | 0.000175 | 0.000079 | 0.000093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230568 | 0.001235 | 466,560 | 11 | 466,395 | 42,414.545455 | 0.504015 | 0.000118 | 0 | 0 | 0 | 79.2 | 0.663098 | 0.661426 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d9432948dfc034b1864ec35f4840b267315307f1 | 8,228 | py | Python | ColorTransfer/utils.py | khainb/BoMb-OT | 734d4b442dcf5fa7eb919cc523a791702fc09d8f | [
"MIT"
] | 6 | 2021-12-07T04:14:53.000Z | 2022-01-16T12:37:55.000Z | ColorTransfer/utils.py | khainb/BoMb-OT | 734d4b442dcf5fa7eb919cc523a791702fc09d8f | [
"MIT"
] | null | null | null | ColorTransfer/utils.py | khainb/BoMb-OT | 734d4b442dcf5fa7eb919cc523a791702fc09d8f | [
"MIT"
] | 1 | 2021-12-12T10:13:20.000Z | 2021-12-12T10:13:20.000Z | import random
import numpy as np
import ot
import tqdm
def transform_mOT(src, target, src_label, origin, k, m, iter=100):
np.random.seed(1)
random.seed(1)
ot_transf = np.zeros_like(src)
n = src.shape[0]
for _ in tqdm.tqdm(range(iter)):
s = np.copy(src).reshape(-1, 3).astype("long")
... | 41.766497 | 117 | 0.542052 | 1,253 | 8,228 | 3.423783 | 0.064645 | 0.14359 | 0.107692 | 0.051515 | 0.975524 | 0.970163 | 0.970163 | 0.970163 | 0.970163 | 0.970163 | 0 | 0.03219 | 0.305299 | 8,228 | 196 | 118 | 41.979592 | 0.718335 | 0.022484 | 0 | 0.926554 | 0 | 0 | 0.009706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0 | 0.022599 | 0 | 0.090395 | 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 |
7976ddb2b1277f7cb0edf5c7b2934146fbc19486 | 11,045 | py | Python | bin/bin_galform/plotLFs-color-mag-trends.py | JohanComparat/nbody-npt-functions | a034db4e5a9b2f87dc42eeb6059c4dd280589e4a | [
"CC0-1.0"
] | 4 | 2017-11-07T02:15:46.000Z | 2022-03-03T01:35:53.000Z | bin/bin_galform/plotLFs-color-mag-trends.py | JohanComparat/nbody-npt-functions | a034db4e5a9b2f87dc42eeb6059c4dd280589e4a | [
"CC0-1.0"
] | null | null | null | bin/bin_galform/plotLFs-color-mag-trends.py | JohanComparat/nbody-npt-functions | a034db4e5a9b2f87dc42eeb6059c4dd280589e4a | [
"CC0-1.0"
] | 2 | 2020-08-12T14:26:38.000Z | 2021-09-14T06:08:58.000Z | #! /usr/bin/env python
"""
This script produces quality plots to check that the LFs are fine compared to simumlations.
"""
import sys
import os
from os.path import join
data_dir = os.environ['DATA_DIR']
import glob
from lib_plot import *
#from lineListAir import *
SNlim = 5
# "D:\data\LF-O\LFmodels\data\trends_colo... | 28.61399 | 111 | 0.654957 | 2,054 | 11,045 | 3.392892 | 0.063778 | 0.123117 | 0.170469 | 0.07232 | 0.957239 | 0.950639 | 0.950639 | 0.950639 | 0.925958 | 0.925958 | 0 | 0.060868 | 0.077773 | 11,045 | 385 | 112 | 28.688312 | 0.623307 | 0.021096 | 0 | 0.830258 | 0 | 0 | 0.195451 | 0.110389 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01845 | 0 | 0.01845 | 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 |
798a9114ba5eab2fa8b423a550570cb73c6ccd9f | 11,105 | py | Python | fenicsopt/examples/sc_examples.py | shongi-yd/FEniCSopt | 44c7e6a70400b5f0cc84599e20391e1e4032931d | [
"MIT"
] | 2 | 2016-03-30T20:06:29.000Z | 2020-08-26T21:44:35.000Z | fenicsopt/examples/sc_examples.py | shongi-yd/FEniCSopt | 44c7e6a70400b5f0cc84599e20391e1e4032931d | [
"MIT"
] | null | null | null | fenicsopt/examples/sc_examples.py | shongi-yd/FEniCSopt | 44c7e6a70400b5f0cc84599e20391e1e4032931d | [
"MIT"
] | 3 | 2019-02-04T08:59:58.000Z | 2021-08-16T20:15:17.000Z | from dolfin import *
import math
def sc_setup(V, sc_example):
if sc_example == 1:
# Boundary conditions
def right(x, on_boundary): return x[0] > (1. - DOLFIN_EPS)
def left(x, on_boundary): return x[0] < DOLFIN_EPS
def bottom_center(x, on_boundary):
return x[1] < DOLFIN_EPS and (x[0] > 1./3. -... | 33.549849 | 92 | 0.539937 | 1,862 | 11,105 | 3.107411 | 0.055317 | 0.029727 | 0.072243 | 0.111649 | 0.867784 | 0.827515 | 0.823885 | 0.799689 | 0.79917 | 0.744729 | 0 | 0.09254 | 0.276992 | 11,105 | 330 | 93 | 33.651515 | 0.628098 | 0.01792 | 0 | 0.671378 | 0 | 0.007067 | 0.019102 | 0.006245 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169611 | false | 0 | 0.007067 | 0.134276 | 0.303887 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
79bb77ca52f7738b98b2c0c8679bd54bd0ace90c | 3,818 | py | Python | src/graphFilteredData.py | covindia/Covindia-Data-Analysis | b4eba55e226cf2b842dbe9c360ca6c629db18aa4 | [
"MIT"
] | null | null | null | src/graphFilteredData.py | covindia/Covindia-Data-Analysis | b4eba55e226cf2b842dbe9c360ca6c629db18aa4 | [
"MIT"
] | null | null | null | src/graphFilteredData.py | covindia/Covindia-Data-Analysis | b4eba55e226cf2b842dbe9c360ca6c629db18aa4 | [
"MIT"
] | null | null | null | import pandas as pd
from scipy.ndimage.filters import gaussian_filter1d
import numpy as np
%matplotlib inline
from matplotlib import pyplot as plt
from matplotlib.pyplot import figure
def getSpecific(city):
df = pd.read_csv('weatherdataman___prepared-temp.csv')
var = 'tempAvg10'
df = df[df['City']==city]
... | 47.135802 | 142 | 0.594028 | 415 | 3,818 | 5.392771 | 0.236145 | 0.050045 | 0.024129 | 0.041108 | 0.892761 | 0.881591 | 0.831993 | 0.758713 | 0.722967 | 0.722967 | 0 | 0.015966 | 0.196176 | 3,818 | 80 | 143 | 47.725 | 0.713262 | 0.020168 | 0 | 0.757143 | 0 | 0 | 0.204317 | 0.038561 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.242857 | 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 |
8dc8e957268b77d5831a5fd9504f9d22a4aad8a6 | 1,870 | py | Python | chibi_user/tests/integration/manager.py | dem4ply/chibi_django | aad8e6d09470d445a0533d0a3955bfdec1c37121 | [
"WTFPL"
] | null | null | null | chibi_user/tests/integration/manager.py | dem4ply/chibi_django | aad8e6d09470d445a0533d0a3955bfdec1c37121 | [
"WTFPL"
] | 4 | 2020-06-05T23:44:27.000Z | 2021-12-30T19:00:21.000Z | chibi_user/tests/integration/manager.py | dem4ply/chibi_django | aad8e6d09470d445a0533d0a3955bfdec1c37121 | [
"WTFPL"
] | null | null | null | from django.test import TestCase
from unittest.mock import patch
from chibi_user.models.user import User
class Test_user_manager( TestCase ):
@patch( "chibi_user.models.User.save" )
@patch( "chibi_user.models.User.refresh_token" )
def test_create_user( self, token_save, user_save ):
user = User.ob... | 41.555556 | 79 | 0.687701 | 233 | 1,870 | 5.27897 | 0.133047 | 0.15935 | 0.146341 | 0.139024 | 0.838211 | 0.795935 | 0.766667 | 0.721138 | 0.721138 | 0.721138 | 0 | 0 | 0.203209 | 1,870 | 44 | 80 | 42.5 | 0.825503 | 0 | 0 | 0.564103 | 0 | 0 | 0.154011 | 0.134759 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.102564 | false | 0.076923 | 0.076923 | 0 | 0.205128 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
8dd9ca2f84dd16682abd139343b535d0c57f0ed3 | 2,546 | py | Python | decorators.py | omaralbeik/flaskbooks | 93509d0ed058ac4cf15c7d392a3085593ffac460 | [
"MIT"
] | 13 | 2017-07-07T22:11:27.000Z | 2021-04-28T15:03:54.000Z | decorators.py | omaralbeik/flask-books | 93509d0ed058ac4cf15c7d392a3085593ffac460 | [
"MIT"
] | null | null | null | decorators.py | omaralbeik/flask-books | 93509d0ed058ac4cf15c7d392a3085593ffac460 | [
"MIT"
] | 3 | 2017-10-30T15:12:17.000Z | 2018-05-24T08:29:58.000Z | from functools import wraps
import helpers as h
import dbhelpers as dbh
def require_authentication(func):
@wraps(func)
def wrapper():
current_user_id = dbh.get_current_user_id()
if not current_user_id:
return h.render_not_authenticated()
else:
return func()
... | 29.952941 | 59 | 0.593873 | 318 | 2,546 | 4.481132 | 0.110063 | 0.071579 | 0.06386 | 0.078596 | 0.826667 | 0.810526 | 0.795088 | 0.748772 | 0.665263 | 0.605614 | 0 | 0 | 0.309898 | 2,546 | 84 | 60 | 30.309524 | 0.811042 | 0 | 0 | 0.653333 | 0 | 0 | 0.017282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.04 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
5c011373f8569ec22dfe583a5edb27b867d612a9 | 221 | py | Python | QuantTorch/layers/common.py | Enderdead/BinaryConnect_PyTorch | 990e970b1fbd299ff88200db21a9cc3fe44706d3 | [
"MIT"
] | 75 | 2019-03-19T07:36:56.000Z | 2021-12-23T02:34:59.000Z | QuantTorch/layers/common.py | Enderdead/BinaryConnect_PyTorch | 990e970b1fbd299ff88200db21a9cc3fe44706d3 | [
"MIT"
] | 10 | 2019-03-19T21:16:56.000Z | 2019-04-16T15:05:37.000Z | QuantTorch/layers/common.py | Enderdead/BinaryConnect_PyTorch | 990e970b1fbd299ff88200db21a9cc3fe44706d3 | [
"MIT"
] | 9 | 2019-08-12T10:33:55.000Z | 2021-07-23T02:10:06.000Z | class QLayer():
def get_quant_weight(self):
raise NotImplementedError
def set_quant_weight(self):
raise NotImplementedError
def restore_weight(self):
raise NotImplementedError | 24.555556 | 33 | 0.678733 | 22 | 221 | 6.590909 | 0.5 | 0.206897 | 0.310345 | 0.703448 | 0.57931 | 0.57931 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266968 | 221 | 9 | 34 | 24.555556 | 0.895062 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
5c0cb68f11ccb698b752fce8ef902dac5ba54103 | 37,131 | py | Python | tests/file/test_get_file.py | amerkel2/azure-storage-python | 555b87c3b4ddd2124450ea740305221aa2d6055f | [
"MIT"
] | 348 | 2015-08-18T22:48:21.000Z | 2022-03-28T04:03:29.000Z | tests/file/test_get_file.py | amerkel2/azure-storage-python | 555b87c3b4ddd2124450ea740305221aa2d6055f | [
"MIT"
] | 558 | 2015-08-19T00:10:36.000Z | 2022-03-17T01:17:08.000Z | tests/file/test_get_file.py | amerkel2/azure-storage-python | 555b87c3b4ddd2124450ea740305221aa2d6055f | [
"MIT"
] | 285 | 2015-08-17T23:43:34.000Z | 2022-03-27T19:34:29.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.
# --------------------------------------------------------------------... | 39.126449 | 1,392 | 0.648138 | 4,529 | 37,131 | 5.009274 | 0.053213 | 0.035968 | 0.048133 | 0.062194 | 0.889761 | 0.874906 | 0.856526 | 0.84674 | 0.833914 | 0.82188 | 0 | 0.012725 | 0.257117 | 37,131 | 948 | 1,393 | 39.167722 | 0.809745 | 0.097008 | 0 | 0.716578 | 0 | 0.001783 | 0.049501 | 0.041016 | 0 | 1 | 0 | 0 | 0.167558 | 1 | 0.124777 | false | 0.003565 | 0.010695 | 0.003565 | 0.183601 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
309ba03055b2eb7b6ea18e0ea64a92773ea2b4a4 | 43,895 | py | Python | tiledb/cloud/rest_api/api/query_api.py | TileDB-Inc/TileDB-Cloud-Py | e73f6e0ae3fc595218abd3be606c68f62ad5ac9b | [
"MIT"
] | 4 | 2019-12-04T23:19:35.000Z | 2021-06-21T21:42:53.000Z | tiledb/cloud/rest_api/api/query_api.py | TileDB-Inc/TileDB-Cloud-Py | e73f6e0ae3fc595218abd3be606c68f62ad5ac9b | [
"MIT"
] | 106 | 2019-11-07T22:40:43.000Z | 2022-03-29T22:31:18.000Z | tiledb/cloud/rest_api/api/query_api.py | TileDB-Inc/TileDB-Cloud-Py | e73f6e0ae3fc595218abd3be606c68f62ad5ac9b | [
"MIT"
] | 1 | 2020-10-04T18:54:37.000Z | 2020-10-04T18:54:37.000Z | # coding: utf-8
"""
TileDB Storage Platform API
TileDB Storage Platform REST API # noqa: E501
The version of the OpenAPI document: 2.2.19
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
... | 44.836568 | 123 | 0.595831 | 5,091 | 43,895 | 4.916323 | 0.041053 | 0.05178 | 0.083903 | 0.033241 | 0.975149 | 0.972352 | 0.970314 | 0.964801 | 0.963163 | 0.960486 | 0 | 0.017282 | 0.329035 | 43,895 | 978 | 124 | 44.882413 | 0.832541 | 0.41237 | 0 | 0.758204 | 1 | 0 | 0.195744 | 0.029205 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018998 | false | 0 | 0.010363 | 0 | 0.048359 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
30b6e77742f790ce228a0503377797c0b0ed8666 | 183 | py | Python | outlier_project/agents/__init__.py | bmmlab/Distributional-RL-Tail-Risk | cb53bf473810e7a63a5e0602af67ff2aa67637e5 | [
"MIT"
] | null | null | null | outlier_project/agents/__init__.py | bmmlab/Distributional-RL-Tail-Risk | cb53bf473810e7a63a5e0602af67ff2aa67637e5 | [
"MIT"
] | null | null | null | outlier_project/agents/__init__.py | bmmlab/Distributional-RL-Tail-Risk | cb53bf473810e7a63a5e0602af67ff2aa67637e5 | [
"MIT"
] | 1 | 2021-11-06T09:37:59.000Z | 2021-11-06T09:37:59.000Z | # -*- coding:utf-8 -*-
from outlier_project.agents import traditional_SARSA
from outlier_project.agents import bmm_distributional_RL
from outlier_project.agents import categorical_TD
| 36.6 | 56 | 0.846995 | 25 | 183 | 5.92 | 0.6 | 0.222973 | 0.364865 | 0.486486 | 0.608108 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005988 | 0.087432 | 183 | 4 | 57 | 45.75 | 0.88024 | 0.10929 | 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 |
30d3b085bcfb4e60731788869b313093038ae2c2 | 3,380 | py | Python | foo/FishAndInsectDetail.py | KevinZjYang/AnimalCrossingPy | 75b6245617d1f0c783107fb03e09635c08dc9cbd | [
"MIT"
] | null | null | null | foo/FishAndInsectDetail.py | KevinZjYang/AnimalCrossingPy | 75b6245617d1f0c783107fb03e09635c08dc9cbd | [
"MIT"
] | null | null | null | foo/FishAndInsectDetail.py | KevinZjYang/AnimalCrossingPy | 75b6245617d1f0c783107fb03e09635c08dc9cbd | [
"MIT"
] | null | null | null | from urllib import request
from bs4 import BeautifulSoup
from pprint import pprint
import conf
import sqlite3
def GetFishDeatilAndAddToSqlite(navurl):
page = request.urlopen(navurl)
soup = BeautifulSoup(page, 'html.parser')
page.close()
con = sqlite3.Connection(conf.dbName())
cursor = con.cursor... | 37.142857 | 279 | 0.633432 | 449 | 3,380 | 4.759465 | 0.25167 | 0.061769 | 0.133832 | 0.185307 | 0.846046 | 0.846046 | 0.804867 | 0.761816 | 0.761816 | 0.761816 | 0 | 0.02007 | 0.159763 | 3,380 | 90 | 280 | 37.555556 | 0.732394 | 0.052959 | 0 | 0.80597 | 0 | 0.059701 | 0.327387 | 0.111424 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029851 | false | 0.029851 | 0.074627 | 0 | 0.104478 | 0.014925 | 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 |
6929b74589ea572b4e4feb4fe22a23be0d0386a5 | 12,583 | py | Python | tests/grammar/factory/control/test_transmission_groups.py | orenyodfat/CWR-DataApi | f3b6ba8308c901b6ab87073c155c08e30692333c | [
"MIT"
] | 37 | 2015-04-21T15:33:53.000Z | 2022-02-07T00:02:29.000Z | tests/grammar/factory/control/test_transmission_groups.py | orenyodfat/CWR-DataApi | f3b6ba8308c901b6ab87073c155c08e30692333c | [
"MIT"
] | 86 | 2015-02-01T22:26:02.000Z | 2021-07-09T08:49:36.000Z | tests/grammar/factory/control/test_transmission_groups.py | orenyodfat/CWR-DataApi | f3b6ba8308c901b6ab87073c155c08e30692333c | [
"MIT"
] | 27 | 2015-01-26T16:01:09.000Z | 2021-11-08T23:53:55.000Z | # -*- coding: utf-8 -*-
import unittest
from pyparsing import ParseException
from tests.utils.grammar import get_record_grammar
"""
CWR Administrator Information grammar tests.
The following cases are tested:
"""
__author__ = 'Bernardo Martínez Garrido'
__license__ = 'MIT'
__status__ = 'Development'
class TestGr... | 40.986971 | 292 | 0.54518 | 1,002 | 12,583 | 6.676647 | 0.148703 | 0.112108 | 0.043946 | 0.078475 | 0.825859 | 0.808371 | 0.808371 | 0.796562 | 0.778326 | 0.778326 | 0 | 0.275556 | 0.364063 | 12,583 | 306 | 293 | 41.120915 | 0.560485 | 0.001669 | 0 | 0.680412 | 0 | 0 | 0.414028 | 0.141723 | 0.046392 | 0 | 0 | 0 | 0.268041 | 1 | 0.092784 | false | 0 | 0.015464 | 0.005155 | 0.149485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
692b8178097a551e352b2e09925ab21ea6e444be | 70,964 | py | Python | aa/epics_event_pb2.py | eddrial/aapy | 929f554aea24c0a893052f0907488e0a843fd5dd | [
"Apache-2.0"
] | null | null | null | aa/epics_event_pb2.py | eddrial/aapy | 929f554aea24c0a893052f0907488e0a843fd5dd | [
"Apache-2.0"
] | null | null | null | aa/epics_event_pb2.py | eddrial/aapy | 929f554aea24c0a893052f0907488e0a843fd5dd | [
"Apache-2.0"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: EPICSEvent.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as... | 43.16545 | 7,471 | 0.726763 | 9,332 | 70,964 | 5.284398 | 0.03204 | 0.072515 | 0.041124 | 0.062011 | 0.814738 | 0.796103 | 0.793649 | 0.774364 | 0.758669 | 0.740054 | 0 | 0.056099 | 0.142171 | 70,964 | 1,643 | 7,472 | 43.191722 | 0.753988 | 0.015557 | 0 | 0.733804 | 1 | 0.005773 | 0.142702 | 0.096538 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00449 | 0 | 0.00449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
693327824f119e04e5895c2bb9e3d0e8e5e0e53f | 210 | py | Python | test/tests/test_dcp1/test_single_dir_to_single_file.py | sjtbham/mpifileutils | 4ec784108d066abe5060ebb197c1dba83e88bd7d | [
"BSD-3-Clause"
] | 97 | 2016-10-10T20:25:27.000Z | 2021-10-04T15:47:35.000Z | test/tests/test_dcp1/test_single_dir_to_single_file.py | sjtbham/mpifileutils | 4ec784108d066abe5060ebb197c1dba83e88bd7d | [
"BSD-3-Clause"
] | 389 | 2016-10-10T17:44:05.000Z | 2022-03-25T09:54:15.000Z | test/tests/test_dcp1/test_single_dir_to_single_file.py | sjtbham/mpifileutils | 4ec784108d066abe5060ebb197c1dba83e88bd7d | [
"BSD-3-Clause"
] | 39 | 2016-11-21T18:35:42.000Z | 2022-03-03T05:21:45.000Z | #!/usr/bin/env python2
from subprocess import call
def test_dcp1_single_dir_to_single_file():
rc = call("~/mpifileutils/test/legacy/dcp1_tests/test_dcp1_single_dir_to_single_file/test.sh", shell=True)
| 35 | 114 | 0.790476 | 34 | 210 | 4.5 | 0.647059 | 0.104575 | 0.183007 | 0.222222 | 0.379085 | 0.379085 | 0.379085 | 0 | 0 | 0 | 0 | 0.021164 | 0.1 | 210 | 5 | 115 | 42 | 0.78836 | 0.1 | 0 | 0 | 0 | 0 | 0.430851 | 0.430851 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
15eb8bfe64d48ea3e91170d456939cbcb6b8c0ec | 4,221 | py | Python | allure-pytest/test/filtering/bdd_labels_test.py | vdsbenoit/allure-python | 7b56b031c42369dd73844105382e9ceb9a88d6cd | [
"Apache-2.0"
] | 1 | 2021-02-19T21:00:11.000Z | 2021-02-19T21:00:11.000Z | allure-pytest/test/filtering/bdd_labels_test.py | vdsbenoit/allure-python | 7b56b031c42369dd73844105382e9ceb9a88d6cd | [
"Apache-2.0"
] | null | null | null | allure-pytest/test/filtering/bdd_labels_test.py | vdsbenoit/allure-python | 7b56b031c42369dd73844105382e9ceb9a88d6cd | [
"Apache-2.0"
] | 1 | 2020-08-05T05:40:44.000Z | 2020-08-05T05:40:44.000Z | """
>>> allure_report = getfixture('allure_report_with_params')('--allure-epic=right_epic',
... '--allure-features=right_feature',
... '--allure-stories=right_story')
>>> assert_that(allure_report,
... ... | 39.083333 | 98 | 0.504383 | 371 | 4,221 | 5.261456 | 0.102426 | 0.129098 | 0.061475 | 0.10041 | 0.926742 | 0.926742 | 0.853484 | 0.82582 | 0.78125 | 0.78125 | 0 | 0.000739 | 0.358683 | 4,221 | 107 | 99 | 39.448598 | 0.720355 | 0.748875 | 0 | 0.730769 | 0 | 0 | 0.185786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | true | 0.230769 | 0.038462 | 0 | 0.269231 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
c60926752f87f3895eb87a140d0bd6bffdaa57a2 | 9,596 | py | Python | blackboxfunc_ga.py | shashankboosi/PoppyOpt | 939c9d132b785133c1579ff7012659efb603853a | [
"MIT"
] | null | null | null | blackboxfunc_ga.py | shashankboosi/PoppyOpt | 939c9d132b785133c1579ff7012659efb603853a | [
"MIT"
] | null | null | null | blackboxfunc_ga.py | shashankboosi/PoppyOpt | 939c9d132b785133c1579ff7012659efb603853a | [
"MIT"
] | null | null | null | import poppy
import math
import bo
class BlackBox:
# Black Box function for the robot
def __init__(self, search_domain, is_two_dimensional=False):
self.is_two_dimensional = is_two_dimensional
self.search_domain = search_domain
self.best = 0
self.count = 0
self... | 42.087719 | 103 | 0.539287 | 1,291 | 9,596 | 3.675445 | 0.065066 | 0.068493 | 0.08156 | 0.057534 | 0.866175 | 0.831823 | 0.807798 | 0.767123 | 0.738883 | 0.711275 | 0 | 0.030076 | 0.372864 | 9,596 | 227 | 104 | 42.273128 | 0.758391 | 0.015006 | 0 | 0.767677 | 0 | 0 | 0.024358 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.015152 | 0 | 0.121212 | 0.030303 | 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 |
d6798ed458423f59d5cc6a47e5ab60ad10598ce7 | 18,488 | py | Python | FirstPersonDriver/__init__.py | Chronophylos/bl2sdk_Mods | f618193f31f4e90feb070a2df0943301b8aec608 | [
"MIT"
] | null | null | null | FirstPersonDriver/__init__.py | Chronophylos/bl2sdk_Mods | f618193f31f4e90feb070a2df0943301b8aec608 | [
"MIT"
] | null | null | null | FirstPersonDriver/__init__.py | Chronophylos/bl2sdk_Mods | f618193f31f4e90feb070a2df0943301b8aec608 | [
"MIT"
] | null | null | null | from unrealsdk import *
import unrealsdk
from . import bl2tools
class FPDriver(unrealsdk.BL2MOD):
Name = "First Person Driver"
Version = "1.0"
Description = f"Experience all vehicles in first person. Toggle between 3rd and 1st person using '5'\n\nVersion: " \
f"{Version}"
Author = "... | 81.80531 | 120 | 0.294461 | 748 | 18,488 | 7.143048 | 0.179144 | 0.083848 | 0.136253 | 0.149354 | 0.762493 | 0.755007 | 0.743028 | 0.726932 | 0.726932 | 0.726932 | 0 | 0.041269 | 0.648745 | 18,488 | 225 | 121 | 82.168889 | 0.781491 | 0 | 0 | 0.732057 | 0 | 0.004785 | 0.276233 | 0.145446 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028708 | false | 0.004785 | 0.014354 | 0 | 0.076555 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d69ad5bf134e235e2c19edae6b4e97c9b7494b95 | 1,647 | py | Python | tests/core/asyncio/test_run_and_serve.py | gsalgado/lahja | 53526e531e8efac0924bbfe28ddcda226044aee7 | [
"MIT"
] | 400 | 2018-08-30T13:01:01.000Z | 2022-02-24T01:49:47.000Z | tests/core/asyncio/test_run_and_serve.py | gsalgado/lahja | 53526e531e8efac0924bbfe28ddcda226044aee7 | [
"MIT"
] | 122 | 2018-08-30T14:59:34.000Z | 2020-08-05T22:11:07.000Z | tests/core/asyncio/test_run_and_serve.py | lithp/lahja | 595a0f52ff825e12ecf244b80dd73e1a88e71d54 | [
"MIT"
] | 22 | 2018-09-12T15:50:40.000Z | 2022-03-28T18:51:29.000Z | import pytest
from conftest import generate_unique_name
from lahja import AsyncioEndpoint, ConnectionConfig
@pytest.mark.asyncio
async def test_endpoint_run():
endpoint = AsyncioEndpoint("test-run")
assert endpoint.is_running is False
async with endpoint.run():
assert endpoint.is_running is Tru... | 29.945455 | 88 | 0.743169 | 223 | 1,647 | 5.29148 | 0.170404 | 0.166102 | 0.189831 | 0.194915 | 0.894068 | 0.894068 | 0.894068 | 0.850847 | 0.74661 | 0.74661 | 0 | 0 | 0.191864 | 1,647 | 54 | 89 | 30.5 | 0.886551 | 0 | 0 | 0.702703 | 1 | 0 | 0.051002 | 0 | 0 | 0 | 0 | 0 | 0.378378 | 1 | 0 | false | 0 | 0.081081 | 0 | 0.081081 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
baa5ddbd314baf95f049b8d1f53070fd7c7842db | 12,012 | py | Python | backuppy/tests/test_plugin.py | bartfeenstra/backuppy | bd9e5f98e5431829054ba18c8c4096d4c548a5cb | [
"MIT"
] | null | null | null | backuppy/tests/test_plugin.py | bartfeenstra/backuppy | bd9e5f98e5431829054ba18c8c4096d4c548a5cb | [
"MIT"
] | 63 | 2018-03-04T12:04:27.000Z | 2018-07-14T12:08:51.000Z | backuppy/tests/test_plugin.py | bartfeenstra/backuppy | bd9e5f98e5431829054ba18c8c4096d4c548a5cb | [
"MIT"
] | null | null | null | from tempfile import NamedTemporaryFile
from unittest import TestCase
from backuppy.notifier import Notifier, StdioNotifier, CommandNotifier, FileNotifier
try:
from unittest.mock import Mock
except ImportError:
from mock import Mock
from backuppy.config import Configuration
from backuppy.plugin import new_so... | 36.733945 | 84 | 0.581252 | 1,097 | 12,012 | 6.165907 | 0.076572 | 0.047161 | 0.039917 | 0.079834 | 0.870195 | 0.824364 | 0.801005 | 0.779864 | 0.731224 | 0.688941 | 0 | 0.00243 | 0.314769 | 12,012 | 326 | 85 | 36.846626 | 0.819342 | 0 | 0 | 0.752613 | 0 | 0 | 0.075508 | 0 | 0 | 0 | 0 | 0 | 0.10453 | 1 | 0.094077 | false | 0 | 0.027875 | 0 | 0.15331 | 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 |
baf716401e2f13466bd32edd3b9a5ab96d0485a6 | 248 | py | Python | doc/examples/django/cmd-2.py | socek/baelfire | 028701bf9da3ac6cbd54342e21681c242d5931e1 | [
"Apache-2.0"
] | null | null | null | doc/examples/django/cmd-2.py | socek/baelfire | 028701bf9da3ac6cbd54342e21681c242d5931e1 | [
"Apache-2.0"
] | 1 | 2016-09-15T09:11:57.000Z | 2016-09-15T09:11:57.000Z | doc/examples/django/cmd-2.py | socek/baelfire | 028701bf9da3ac6cbd54342e21681c242d5931e1 | [
"Apache-2.0"
] | null | null | null | from bdjango.core import BdCore
from bdjango.tasks import StartRunserver
from bdjango.tasks import UpdateRequirements
def update_requirements():
return UpdateRequirements(BdCore())
def start_runserver():
return StartRunserver(BdCore())
| 20.666667 | 44 | 0.802419 | 27 | 248 | 7.296296 | 0.518519 | 0.167513 | 0.162437 | 0.22335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 248 | 11 | 45 | 22.545455 | 0.912037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.428571 | 0.285714 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
241068f4908227d021779f02e48041ba3f818bb3 | 509 | py | Python | tests/parser/pasi-brew-eite-99-example-5.3.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/pasi-brew-eite-99-example-5.3.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/pasi-brew-eite-99-example-5.3.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
rule(r1). head(p,r1). nbl(q,r1).
rule(r2). head(q,r2). nbl(neg_q,r2).
rule(r3). head(neg_p,r3). nbl(p,r3).
rule(r4). head(p,r4). nbl(neg_p,r4).
opp(p,neg_p).
opp(q,neg_q).
pr(r1,r2). pr(r2,r3). pr(r3,r4).
"""
output = """
rule(r1). head(p,r1). nbl(q,r1).
rule(r2). he... | 14.542857 | 38 | 0.508841 | 106 | 509 | 2.349057 | 0.132075 | 0.096386 | 0.080321 | 0.088353 | 0.955823 | 0.955823 | 0.955823 | 0.955823 | 0.955823 | 0.955823 | 0 | 0.089776 | 0.212181 | 509 | 34 | 39 | 14.970588 | 0.531172 | 0 | 0 | 0.888889 | 0 | 0 | 0.935282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
246c5f7dcde1b7d6c17f5d49023533d5d35304bd | 1,083 | py | Python | materials/migrations/0031_auto_20210407_2334.py | wangtianlin1221/muchas-db | e4acf88d04857aede1cf5c42a8b20e842397b1c5 | [
"BSD-2-Clause"
] | null | null | null | materials/migrations/0031_auto_20210407_2334.py | wangtianlin1221/muchas-db | e4acf88d04857aede1cf5c42a8b20e842397b1c5 | [
"BSD-2-Clause"
] | null | null | null | materials/migrations/0031_auto_20210407_2334.py | wangtianlin1221/muchas-db | e4acf88d04857aede1cf5c42a8b20e842397b1c5 | [
"BSD-2-Clause"
] | null | null | null | # Generated by Django 3.0.7 on 2021-04-08 03:34
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('materials', '0030_auto_20210407_2218'),
]
operations = [
migrations.RemoveField(
model_name='author',
name='created',
... | 23.543478 | 49 | 0.514312 | 88 | 1,083 | 6.159091 | 0.363636 | 0.309963 | 0.383764 | 0.442804 | 0.726937 | 0.726937 | 0.726937 | 0 | 0 | 0 | 0 | 0.045723 | 0.373961 | 1,083 | 45 | 50 | 24.066667 | 0.753687 | 0.041551 | 0 | 0.820513 | 1 | 0 | 0.15444 | 0.022201 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.102564 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
032b5be145a962b0302d81be0d793fa0a5e6af8a | 232 | py | Python | dirscan/dirsearch/lib/core/__init__.py | imfiver/Sec-Tools | a828e31c2e371c37f1256f0a574707a24776530d | [
"Apache-2.0"
] | 144 | 2021-11-05T10:45:05.000Z | 2022-03-31T03:17:19.000Z | dirscan/dirsearch/lib/core/__init__.py | imfiver/Sec-Tools | a828e31c2e371c37f1256f0a574707a24776530d | [
"Apache-2.0"
] | 6 | 2021-11-07T02:47:41.000Z | 2022-03-06T05:50:15.000Z | dirscan/dirsearch/lib/core/__init__.py | imfiver/Sec-Tools | a828e31c2e371c37f1256f0a574707a24776530d | [
"Apache-2.0"
] | 41 | 2021-11-07T13:35:02.000Z | 2022-03-29T00:09:36.000Z | from .argument_parser import * # noqa: F401
from .dictionary import * # noqa: F401
from .fuzzer import * # noqa: F401
from .path import * # noqa: F401
from .report_manager import * # noqa: F401
from .raw import * # noqa: F401
| 33.142857 | 44 | 0.689655 | 32 | 232 | 4.9375 | 0.375 | 0.379747 | 0.531646 | 0.56962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 0.206897 | 232 | 6 | 45 | 38.666667 | 0.76087 | 0.280172 | 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 |
0335e81634a8a7d51f6f69a6c22396bc2bff5b08 | 12,157 | py | Python | impleter/parsers/tests/test_parsers.py | corticai/word-stash | bd42779ebbd62e2cd4aa2a96d670ab11367bf39e | [
"MIT"
] | 1 | 2022-02-11T07:17:26.000Z | 2022-02-11T07:17:26.000Z | impleter/parsers/tests/test_parsers.py | corticai/word-stash | bd42779ebbd62e2cd4aa2a96d670ab11367bf39e | [
"MIT"
] | null | null | null | impleter/parsers/tests/test_parsers.py | corticai/word-stash | bd42779ebbd62e2cd4aa2a96d670ab11367bf39e | [
"MIT"
] | null | null | null | import json
import pytest
from src.parsers import (
TxtToDictParser,
CsvToDictParser,
DocxToDictParser,
EmailToDictParser,
PdfToDictParser,
XlsxToDictParser,
SQuADAnnotatedJsonToDictParser,
NERAnnotatedJsonlToDictParser
)
def delete_key_from_content(input_dict:dict, key:str) -> dict:
... | 44.694853 | 91 | 0.72411 | 1,670 | 12,157 | 4.867665 | 0.042515 | 0.151556 | 0.103949 | 0.159921 | 0.917579 | 0.917579 | 0.917579 | 0.917579 | 0.917579 | 0.908722 | 0 | 0 | 0.183762 | 12,157 | 272 | 92 | 44.694853 | 0.819208 | 0 | 0 | 0.827451 | 0 | 0 | 0.09977 | 0.050337 | 0 | 0 | 0 | 0 | 0.062745 | 1 | 0.066667 | false | 0 | 0.011765 | 0 | 0.082353 | 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 |
036fde7510e7bd9d676f61260509952f2e6c14b3 | 40,889 | py | Python | sdk/python/pulumi_f5bigip/ltm/profile_fast_http.py | pulumi/pulumi-f5bigip | 4bce074f8bd7cb42f359ef4814ca5b437230fd1c | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2018-12-21T23:30:33.000Z | 2021-10-12T16:38:27.000Z | sdk/python/pulumi_f5bigip/ltm/profile_fast_http.py | pulumi/pulumi-f5bigip | 4bce074f8bd7cb42f359ef4814ca5b437230fd1c | [
"ECL-2.0",
"Apache-2.0"
] | 61 | 2019-01-09T01:50:19.000Z | 2022-03-31T15:27:17.000Z | sdk/python/pulumi_f5bigip/ltm/profile_fast_http.py | pulumi/pulumi-f5bigip | 4bce074f8bd7cb42f359ef4814ca5b437230fd1c | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-10-05T10:36:30.000Z | 2019-10-05T10:36:30.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 61.6727 | 532 | 0.704982 | 5,225 | 40,889 | 5.379713 | 0.050335 | 0.057526 | 0.06489 | 0.049308 | 0.935964 | 0.928991 | 0.924259 | 0.920453 | 0.917037 | 0.892775 | 0 | 0.008147 | 0.219546 | 40,889 | 662 | 533 | 61.765861 | 0.872681 | 0.488224 | 0 | 0.838196 | 1 | 0 | 0.11507 | 0.019446 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164456 | false | 0.002653 | 0.013263 | 0 | 0.275862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ceef65dabb5c781ee255377e2b11521b4dd01745 | 107 | py | Python | keras_deeplabv3/utils.py | arxikv/keras-deeplab-v3-plus | dd21a261d69cd3b7c713f2a112e1a3040039cff3 | [
"MIT"
] | null | null | null | keras_deeplabv3/utils.py | arxikv/keras-deeplab-v3-plus | dd21a261d69cd3b7c713f2a112e1a3040039cff3 | [
"MIT"
] | null | null | null | keras_deeplabv3/utils.py | arxikv/keras-deeplab-v3-plus | dd21a261d69cd3b7c713f2a112e1a3040039cff3 | [
"MIT"
] | null | null | null | import os
def prepend_home_keras(path):
return os.path.join(os.path.expanduser('~'), '.keras', path)
| 17.833333 | 64 | 0.691589 | 16 | 107 | 4.5 | 0.625 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 107 | 5 | 65 | 21.4 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.065421 | 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 |
06528d964f14ecd58f508cefa30184e6d2334475 | 145 | py | Python | tabular_to_image/src/autogluon/tabular_to_image/prediction/__init__.py | engsarah365/autogluon | bdbaac2d13d14d075b7aa751561f0bbd39927789 | [
"Apache-2.0"
] | null | null | null | tabular_to_image/src/autogluon/tabular_to_image/prediction/__init__.py | engsarah365/autogluon | bdbaac2d13d14d075b7aa751561f0bbd39927789 | [
"Apache-2.0"
] | 1 | 2021-12-04T09:54:37.000Z | 2021-12-04T09:59:58.000Z | tabular_to_image/src/autogluon/tabular_to_image/prediction/__init__.py | engsarah365/autogluon | bdbaac2d13d14d075b7aa751561f0bbd39927789 | [
"Apache-2.0"
] | null | null | null | from autogluon.tabular_to_image.prediction import ImagePredictions
#from autogluon.tabular_to_image.prediction.prediction import ImagePredictions | 72.5 | 78 | 0.910345 | 17 | 145 | 7.529412 | 0.470588 | 0.203125 | 0.3125 | 0.34375 | 0.578125 | 0.578125 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048276 | 145 | 2 | 78 | 72.5 | 0.927536 | 0.531034 | 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 |
2308cfdd104d42da46b2568689f8af02f4e11d5a | 19,144 | py | Python | src/tasks/dockerDeploy/acs-dcos/test_portmappings.py | Bhaskers-Blu-Org2/vsts-docker | 22755267f1fca6a82297c6fc2f6d8d81acb7c3b7 | [
"MIT"
] | 8 | 2017-02-22T19:41:13.000Z | 2019-02-10T22:34:38.000Z | src/tasks/dockerDeploy/acs-dcos/test_portmappings.py | Bhaskers-Blu-Org2/vsts-docker | 22755267f1fca6a82297c6fc2f6d8d81acb7c3b7 | [
"MIT"
] | 18 | 2017-02-01T16:00:22.000Z | 2019-04-01T14:09:20.000Z | src/tasks/dockerDeploy/acs-dcos/test_portmappings.py | microsoft/vsts-docker | 22755267f1fca6a82297c6fc2f6d8d81acb7c3b7 | [
"MIT"
] | 6 | 2019-11-04T00:13:36.000Z | 2021-11-10T10:11:54.000Z | import portmappings
import unittest
import json
class PortMappingsTest(unittest.TestCase):
def test_create_instance(self):
p = portmappings.PortMappings()
self.assertIsNotNone(p)
def test_is_number_valid(self):
p = portmappings.PortMappings()
self.assertTrue(p._is_number(0)... | 55.32948 | 547 | 0.658588 | 2,449 | 19,144 | 4.893426 | 0.049816 | 0.026535 | 0.026535 | 0.150033 | 0.958194 | 0.915304 | 0.884346 | 0.852887 | 0.82026 | 0.729389 | 0 | 0.080926 | 0.171855 | 19,144 | 346 | 548 | 55.32948 | 0.674972 | 0 | 0 | 0.496479 | 0 | 0 | 0.243823 | 0.081849 | 0 | 0 | 0 | 0 | 0.21831 | 1 | 0.21831 | false | 0 | 0.010563 | 0 | 0.232394 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2329d87736a9d29344d1d83e1d511a22db0eb083 | 218 | py | Python | src/opihiexarata/photometry/__init__.py | psmd-iberutaru/OpihiExarata | f0b595d7712ec68c972a7261e6bacc66410ba8b3 | [
"MIT"
] | null | null | null | src/opihiexarata/photometry/__init__.py | psmd-iberutaru/OpihiExarata | f0b595d7712ec68c972a7261e6bacc66410ba8b3 | [
"MIT"
] | 2 | 2022-03-02T03:37:58.000Z | 2022-03-15T11:05:32.000Z | src/opihiexarata/photometry/__init__.py | psmd-iberutaru/OpihiExarata | f0b595d7712ec68c972a7261e6bacc66410ba8b3 | [
"MIT"
] | null | null | null | # The general photometeric solution.
from opihiexarata.photometry.solution import PhotometricSolution
# The engines of the photometric solution.
from opihiexarata.photometry.panstarrs import PanstarrsMastWebAPIEngine
| 36.333333 | 71 | 0.866972 | 22 | 218 | 8.590909 | 0.636364 | 0.126984 | 0.253968 | 0.359788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09633 | 218 | 5 | 72 | 43.6 | 0.959391 | 0.344037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
237951c04a2c6a0cfd33cf4fd5bd296611f7e035 | 35,843 | py | Python | testcontroller.py | dlavery/pokerpracticetwo | 94d7f13f7d995315cc3f65a6e9f9bfc1c23e4a65 | [
"MIT"
] | null | null | null | testcontroller.py | dlavery/pokerpracticetwo | 94d7f13f7d995315cc3f65a6e9f9bfc1c23e4a65 | [
"MIT"
] | null | null | null | testcontroller.py | dlavery/pokerpracticetwo | 94d7f13f7d995315cc3f65a6e9f9bfc1c23e4a65 | [
"MIT"
] | null | null | null | import sys
import unittest
import requests
import json
class TestController(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def test_controllerrunning(self):
try:
r = requests.get('http://localhost:5000/')
self.assertEqual(r.status_code,... | 56.356918 | 119 | 0.615573 | 4,522 | 35,843 | 4.751216 | 0.02521 | 0.078753 | 0.148755 | 0.136188 | 0.956155 | 0.951315 | 0.945636 | 0.932837 | 0.931161 | 0.928043 | 0 | 0.041527 | 0.194459 | 35,843 | 635 | 120 | 56.445669 | 0.702594 | 0.001981 | 0 | 0.909091 | 0 | 0 | 0.279448 | 0 | 0 | 0 | 0 | 0 | 0.478896 | 1 | 0.019481 | false | 0.003247 | 0.006494 | 0 | 0.027597 | 0.001623 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
238090dca826dc36aa68a17fc545f102fe1f83e0 | 376 | py | Python | week_09/tests/test_1.py | vlasenckov/MIPT_py_3_term | ffe30371221017d61a22e18300f059d9f7086740 | [
"MIT"
] | 5 | 2020-10-05T15:21:11.000Z | 2020-12-17T19:19:32.000Z | week_09/tests/test_1.py | vlasenckov/MIPT_py_3_term | ffe30371221017d61a22e18300f059d9f7086740 | [
"MIT"
] | 8 | 2020-09-24T10:36:15.000Z | 2020-11-30T10:54:56.000Z | week_09/tests/test_1.py | vlasenckov/MIPT_py_3_term | ffe30371221017d61a22e18300f059d9f7086740 | [
"MIT"
] | 2 | 2020-10-11T13:08:35.000Z | 2020-12-04T19:54:21.000Z | def test_min(prepared_tree_for_minimax):
assert prepared_tree_for_minimax[0][0] == 2
assert prepared_tree_for_minimax[0][1] == 1
assert prepared_tree_for_minimax[0][2] == -1
def test_max(prepared_tree_for_minimax):
assert prepared_tree_for_minimax[1][0] == 100
assert prepared_tree_for_minimax[1][1... | 34.181818 | 49 | 0.742021 | 62 | 376 | 4.080645 | 0.241935 | 0.379447 | 0.474308 | 0.695652 | 0.86166 | 0.86166 | 0.395257 | 0.395257 | 0.395257 | 0 | 0 | 0.065217 | 0.143617 | 376 | 10 | 50 | 37.6 | 0.720497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
88e8798e8df925cac5b08f3666bb7d993b2caba9 | 99,289 | py | Python | test/expected/usb_cam/src/ros_pb2_grpc.py | azazdeaz/ros-grpc-wrapper | 8438ed371630294f3845cd238958103041f233de | [
"MIT"
] | 18 | 2020-09-10T06:03:32.000Z | 2022-03-14T14:05:17.000Z | test/expected/usb_cam/src/ros_pb2_grpc.py | azazdeaz/ros-grpc-wrapper | 8438ed371630294f3845cd238958103041f233de | [
"MIT"
] | 1 | 2021-08-24T09:41:42.000Z | 2021-08-24T09:41:42.000Z | test/expected/usb_cam/src/ros_pb2_grpc.py | azazdeaz/ros-grpc-wrapper | 8438ed371630294f3845cd238958103041f233de | [
"MIT"
] | 3 | 2021-02-21T04:19:21.000Z | 2021-11-12T06:24:37.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import ros_pb2 as ros__pb2
class image_view_outputStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(self, chan... | 39.93926 | 137 | 0.667174 | 9,753 | 99,289 | 6.457398 | 0.018456 | 0.027628 | 0.068594 | 0.0846 | 0.989107 | 0.97858 | 0.968339 | 0.960987 | 0.957938 | 0.956033 | 0 | 0.003911 | 0.253271 | 99,289 | 2,485 | 138 | 39.955332 | 0.845526 | 0.113708 | 0 | 0.787741 | 1 | 0 | 0.088745 | 0.058507 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090806 | false | 0 | 0.001135 | 0.027242 | 0.173666 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
88f39407783ff765524fc0892c9fa4a3cada914d | 18,879 | py | Python | tests/backends/test_fs.py | atviriduomenys/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 2 | 2019-03-14T06:41:14.000Z | 2019-03-26T11:48:14.000Z | tests/backends/test_fs.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 44 | 2019-04-05T15:52:45.000Z | 2022-03-30T07:41:33.000Z | tests/backends/test_fs.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 1 | 2019-04-01T09:54:27.000Z | 2019-04-01T09:54:27.000Z | import pathlib
import pytest
import requests
from spinta.testing.data import listdata
from spinta.testing.utils import error, get_error_codes, get_error_context
@pytest.mark.models(
'backends/mongo/photo',
'backends/postgres/photo',
)
def test_crud(model, app, tmpdir):
app.authmodel(model, [
'in... | 28.822901 | 105 | 0.586737 | 2,208 | 18,879 | 4.847826 | 0.075634 | 0.03139 | 0.064275 | 0.080344 | 0.84062 | 0.815022 | 0.792227 | 0.775411 | 0.757941 | 0.737201 | 0 | 0.009092 | 0.236824 | 18,879 | 654 | 106 | 28.866972 | 0.733828 | 0.064675 | 0 | 0.740883 | 0 | 0 | 0.286622 | 0.045916 | 0 | 0 | 0 | 0.001529 | 0.151631 | 1 | 0.03071 | false | 0 | 0.009597 | 0 | 0.040307 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.