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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
de020519de24bcbd6d6cb989877a3591a24cb541 | 4,589 | py | Python | taskflow/monitoring/aws.py | awm33/taskflow | 5c86b50c6d8bce43a04fba1b856b1d56f3c36b6a | [
"MIT"
] | 22 | 2017-07-02T08:13:48.000Z | 2021-03-16T16:55:41.000Z | taskflow/monitoring/aws.py | awm33/taskflow | 5c86b50c6d8bce43a04fba1b856b1d56f3c36b6a | [
"MIT"
] | 14 | 2017-06-27T19:43:45.000Z | 2017-12-22T16:16:11.000Z | taskflow/monitoring/aws.py | awm33/taskflow | 5c86b50c6d8bce43a04fba1b856b1d56f3c36b6a | [
"MIT"
] | 1 | 2020-03-31T10:05:26.000Z | 2020-03-31T10:05:26.000Z | import boto3
from .base import MonitorDestination
class AWSMonitor(MonitorDestination):
def __init__(self,
metric_prefix='',
metric_namespace='taskflow',
*args, **kwargs):
self.metric_namespace = metric_namespace
self.metric_prefix = metric_prefix... | 33.742647 | 77 | 0.394639 | 295 | 4,589 | 5.867797 | 0.132203 | 0.11554 | 0.120162 | 0.165222 | 0.801849 | 0.801849 | 0.767187 | 0.75621 | 0.75621 | 0.60543 | 0 | 0.005791 | 0.510787 | 4,589 | 135 | 78 | 33.992593 | 0.765256 | 0 | 0 | 0.603175 | 0 | 0 | 0.126607 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.015873 | 0 | 0.079365 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e7541bcffbd59faef60cf09cff2ce5920c0260eb | 74 | py | Python | 1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 11/E3.py | codeclubbentleigh/Python | 94d6a937aa3520b201ee1641c2009bd90566d52a | [
"MIT"
] | 12 | 2018-11-14T03:55:58.000Z | 2021-12-12T01:13:05.000Z | 1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 11/E3.py | codeclubbentleigh/Python | 94d6a937aa3520b201ee1641c2009bd90566d52a | [
"MIT"
] | null | null | null | 1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 11/E3.py | codeclubbentleigh/Python | 94d6a937aa3520b201ee1641c2009bd90566d52a | [
"MIT"
] | 7 | 2019-10-10T06:28:58.000Z | 2022-02-15T07:18:12.000Z | arm = [1, 2, 3]
b = arm[:]
# b is now [1,2,3]
b[0] = 5
# b is now [5,2,3]
| 12.333333 | 18 | 0.418919 | 21 | 74 | 1.47619 | 0.428571 | 0.193548 | 0.193548 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 0.283784 | 74 | 5 | 19 | 14.8 | 0.377358 | 0.445946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e75a79eae76920a2e66d1112d92ca7b7fb730164 | 4,462 | py | Python | tests/test_train.py | hadware/pyannote-audio | dff09d364a019dff78cafb5d52c8490ab3d937df | [
"MIT"
] | 1 | 2022-02-23T08:46:10.000Z | 2022-02-23T08:46:10.000Z | tests/test_train.py | hadware/pyannote-audio | dff09d364a019dff78cafb5d52c8490ab3d937df | [
"MIT"
] | 2 | 2022-02-16T14:19:17.000Z | 2022-02-23T14:12:28.000Z | tests/test_train.py | FrenchKrab/pyannote-audio | 14e3b999e3b3fa6063d6401c375a9f7a2534cb74 | [
"MIT"
] | null | null | null | import pytest
from pytorch_lightning import Trainer
from pyannote.audio.models.segmentation.debug import SimpleSegmentationModel
from pyannote.audio.tasks import (
OverlappedSpeechDetection,
Segmentation,
VoiceActivityDetection,
)
from pyannote.database import FileFinder, get_protocol
@pytest.fixture()
d... | 30.772414 | 80 | 0.781936 | 510 | 4,462 | 6.513725 | 0.105882 | 0.074353 | 0.10295 | 0.120108 | 0.825105 | 0.806442 | 0.806442 | 0.806442 | 0.806442 | 0.793498 | 0 | 0 | 0.142313 | 4,462 | 144 | 81 | 30.986111 | 0.868043 | 0 | 0 | 0.72381 | 0 | 0 | 0.01143 | 0.006723 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114286 | false | 0 | 0.047619 | 0.009524 | 0.171429 | 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 |
e7dd4e87e6e997d5fd3205b71c7c392413bc634a | 5,683 | py | Python | draw_bbox.py | aritejhg/YOLOv3_AGX | 48d4f36dee548952f88ad2e8e921ea21c69f9b0f | [
"MIT"
] | null | null | null | draw_bbox.py | aritejhg/YOLOv3_AGX | 48d4f36dee548952f88ad2e8e921ea21c69f9b0f | [
"MIT"
] | null | null | null | draw_bbox.py | aritejhg/YOLOv3_AGX | 48d4f36dee548952f88ad2e8e921ea21c69f9b0f | [
"MIT"
] | null | null | null | {"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"draw_bbox.py","provenance":[],"collapsed_sections":[],"mount_file_id":"1hBrQbCBA-3Hj5UpqH8HJDAki_uw1TOjj","authorship_tag":"ABX9TyOf/mIhrr0zprZA9LhfDsSi"},"kernelspec":{"name":"python3","display_name":"Python 3"},"language_info":{"name":"python"},"accelerato... | 5,683 | 5,683 | 0.622207 | 922 | 5,683 | 3.753796 | 0.342733 | 0.012135 | 0.015891 | 0.020803 | 0.115574 | 0.057209 | 0.052586 | 0.052586 | 0.052586 | 0.052586 | 0 | 0.042183 | 0.161534 | 5,683 | 1 | 5,683 | 5,683 | 0.684155 | 0 | 0 | 0 | 0 | 12 | 0.788353 | 0.108726 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 9 |
99afc535d5925e714453458bd118c195bfc043cc | 2,756 | py | Python | 2015/Day6.py | trajkan/AdventOfCode | 9c7255ddf38b64b2d351a5bbb7ce0050644967bf | [
"MIT"
] | null | null | null | 2015/Day6.py | trajkan/AdventOfCode | 9c7255ddf38b64b2d351a5bbb7ce0050644967bf | [
"MIT"
] | null | null | null | 2015/Day6.py | trajkan/AdventOfCode | 9c7255ddf38b64b2d351a5bbb7ce0050644967bf | [
"MIT"
] | null | null | null | """ Day 6: Probably a fire hazard """
import json
import re
with open('input_d6.txt') as f:
data = f.readlines()
lights_grid = []
for x in range(1000):
for y in range(1000):
lights_grid.append([x, y, 0])
xy_regex = re.compile(r'([0-9,]*) through ([0-9,]*)')
# action = ''
for instructions in data:
... | 26.247619 | 59 | 0.535196 | 390 | 2,756 | 3.658974 | 0.158974 | 0.126139 | 0.10932 | 0.068676 | 0.816398 | 0.79958 | 0.746321 | 0.71829 | 0.71829 | 0.685354 | 0 | 0.050341 | 0.308055 | 2,756 | 104 | 60 | 26.5 | 0.697955 | 0.019956 | 0 | 0.792208 | 0 | 0 | 0.066144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025974 | 0 | 0.025974 | 0.025974 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
82458dbfcbaa4ef608d5bffdf5806e9e93079a9d | 1,889 | py | Python | 2021_TetCTF/SuperCalc/findingChars.py | Haltz01/CTFs_Writeups | 573d20e79e7a378d5b7802ad3d9934b7dadfa34a | [
"MIT"
] | null | null | null | 2021_TetCTF/SuperCalc/findingChars.py | Haltz01/CTFs_Writeups | 573d20e79e7a378d5b7802ad3d9934b7dadfa34a | [
"MIT"
] | 1 | 2022-02-13T09:04:31.000Z | 2022-02-13T09:04:31.000Z | 2021_TetCTF/SuperCalc/findingChars.py | Haltz01/CTFs_Writeups | 573d20e79e7a378d5b7802ad3d9934b7dadfa34a | [
"MIT"
] | null | null | null | #!/usr/bin/python3
wantedChars = ['$', '_', 'G', 'E', 'T', '[', ']']
availableChars = [
'0',
'1',
'2',
'3',
'4',
'5',
'6',
'7',
'8',
'9',
'(',
')',
'.',
'~',
'^',
'|',
'&',
'+',
'-',
'*',
'/'
]
for char1 in availableChars:
for ch... | 34.981481 | 115 | 0.47009 | 198 | 1,889 | 4.479798 | 0.141414 | 0.121759 | 0.223224 | 0.284104 | 0.927847 | 0.927847 | 0.927847 | 0.927847 | 0.801578 | 0.801578 | 0 | 0.057971 | 0.305982 | 1,889 | 54 | 116 | 34.981481 | 0.618612 | 0.008999 | 0 | 0.083333 | 0 | 0 | 0.055556 | 0.01656 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.145833 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
415e9f5feb0bd721137bb89b5282e901995b6747 | 26,088 | py | Python | bindings/python/src/cloudsmith_api/apis/webhooks_api.py | cloudsmith-io/cloudsmith-api | bc747fa6ee1d86485e334b08f65687630b3fd87c | [
"Apache-2.0"
] | 9 | 2018-07-02T15:21:40.000Z | 2021-11-24T03:44:39.000Z | bindings/python/src/cloudsmith_api/apis/webhooks_api.py | cloudsmith-io/cloudsmith-api | bc747fa6ee1d86485e334b08f65687630b3fd87c | [
"Apache-2.0"
] | 8 | 2019-01-08T22:06:12.000Z | 2022-03-16T15:02:37.000Z | bindings/python/src/cloudsmith_api/apis/webhooks_api.py | cloudsmith-io/cloudsmith-api | bc747fa6ee1d86485e334b08f65687630b3fd87c | [
"Apache-2.0"
] | 1 | 2021-12-06T19:08:05.000Z | 2021-12-06T19:08:05.000Z | # coding: utf-8
"""
Cloudsmith API
The API to the Cloudsmith Service
OpenAPI spec version: v1
Contact: support@cloudsmith.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import sys
import os
import re
# python 2 and python 3 compa... | 42.627451 | 116 | 0.570301 | 2,651 | 26,088 | 5.431535 | 0.066013 | 0.055559 | 0.036114 | 0.025002 | 0.952149 | 0.946524 | 0.941593 | 0.934648 | 0.930759 | 0.927564 | 0 | 0.000234 | 0.345983 | 26,088 | 611 | 117 | 42.697218 | 0.843688 | 0.326012 | 0 | 0.76 | 1 | 0 | 0.184796 | 0.038512 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036667 | false | 0 | 0.023333 | 0 | 0.113333 | 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 |
68f6893d121c02eb0fd01fcf6d59e4909b388214 | 6,233 | py | Python | benderopt/tests/base/test_optimization_problem.py | tchar/benderopt | 83a6bbb9c5732f6232c1a1bbc971f8022a975a28 | [
"MIT"
] | 66 | 2019-01-08T14:34:21.000Z | 2020-10-22T00:54:58.000Z | benderopt/tests/base/test_optimization_problem.py | tchar/benderopt | 83a6bbb9c5732f6232c1a1bbc971f8022a975a28 | [
"MIT"
] | 4 | 2019-03-03T19:17:26.000Z | 2020-10-22T18:37:30.000Z | benderopt/tests/base/test_optimization_problem.py | tchar/benderopt | 83a6bbb9c5732f6232c1a1bbc971f8022a975a28 | [
"MIT"
] | 5 | 2019-04-29T03:28:54.000Z | 2020-10-22T19:45:40.000Z | from benderopt.base import OptimizationProblem, Parameter, Observation
from benderopt.utils import get_test_optimization_problem
from benderopt.validation.utils import ValidationError
import pytest
def test_optimization_problem():
parameter1 = Parameter(
name="param1", category="categorical", search_space... | 42.691781 | 98 | 0.635168 | 682 | 6,233 | 5.592375 | 0.105572 | 0.239119 | 0.037756 | 0.05506 | 0.852124 | 0.830362 | 0.786576 | 0.748034 | 0.741217 | 0.728631 | 0 | 0.036978 | 0.197337 | 6,233 | 145 | 99 | 42.986207 | 0.725365 | 0 | 0 | 0.52459 | 0 | 0 | 0.153859 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 1 | 0.081967 | false | 0 | 0.032787 | 0 | 0.114754 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
68fa17a5336c1427a81f33be81f67bc5471a8456 | 7,000 | py | Python | tests/test_get_excluded_volume.py | salilab/IHMValidation | ddf1a080a4b7f66c2f067312f5f4a5c6584848d1 | [
"MIT"
] | null | null | null | tests/test_get_excluded_volume.py | salilab/IHMValidation | ddf1a080a4b7f66c2f067312f5f4a5c6584848d1 | [
"MIT"
] | 23 | 2020-12-09T22:27:29.000Z | 2022-03-30T18:01:43.000Z | tests/test_get_excluded_volume.py | salilab/IHMValidation | ddf1a080a4b7f66c2f067312f5f4a5c6584848d1 | [
"MIT"
] | 1 | 2022-03-21T22:55:24.000Z | 2022-03-21T22:55:24.000Z | import os,sys,glob
import unittest
import pandas as pd
from io import StringIO, BytesIO
sys.path.insert(0, "../master/pyext/src/")
from validation import get_input_information,utility
from validation.excludedvolume import get_excluded_volume
import warnings
def ignore_warnings(test_func):
def do_test(self, *args... | 26.819923 | 97 | 0.783 | 1,295 | 7,000 | 3.738996 | 0.111969 | 0.10223 | 0.136307 | 0.181743 | 0.773647 | 0.761875 | 0.761875 | 0.743701 | 0.730483 | 0.718092 | 0 | 0.078659 | 0.126429 | 7,000 | 260 | 98 | 26.923077 | 0.713164 | 0 | 0 | 0.734177 | 0 | 0.025316 | 0.568796 | 0.399343 | 0 | 0 | 0 | 0 | 0.037975 | 0 | null | null | 0 | 0.029536 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 8 |
ec025ea31723f463c0b4cb91fdd4adb2199d0b45 | 3,277 | py | Python | quspin/basis/basis_1d/_check_1d_symm.py | anton-buyskikh/QuSpin | 4e46b495e399414d9361d659e186492a1ac5b511 | [
"BSD-3-Clause"
] | 195 | 2016-10-24T18:05:31.000Z | 2022-03-29T10:11:56.000Z | quspin/basis/basis_1d/_check_1d_symm.py | cileeky/QuSpin | 769d3817870f6ff55c4283af46f94e11c36f4121 | [
"BSD-3-Clause"
] | 303 | 2016-10-25T20:08:11.000Z | 2022-03-31T16:52:09.000Z | quspin/basis/basis_1d/_check_1d_symm.py | cileeky/QuSpin | 769d3817870f6ff55c4283af46f94e11c36f4121 | [
"BSD-3-Clause"
] | 54 | 2017-01-03T18:47:52.000Z | 2022-03-16T06:54:33.000Z | from __future__ import print_function, division
import warnings
def flip_sublat(opstr,indx,lat=0):
sign = 1
opstr = [str(s) for s in opstr]
for s,i,j in zip(opstr,indx,range(len(indx))):
if ((i % 2) == (lat % 2)):
if (s in ['z','y']):
sign *= -1
elif (s == "+"):
opstr[j] = '-'
elif (s == "-"... | 17.61828 | 90 | 0.612145 | 565 | 3,277 | 3.339823 | 0.099115 | 0.105988 | 0.076312 | 0.101749 | 0.825119 | 0.813461 | 0.808161 | 0.808161 | 0.808161 | 0.808161 | 0 | 0.016481 | 0.203845 | 3,277 | 185 | 91 | 17.713514 | 0.706784 | 0 | 0 | 0.754237 | 0 | 0 | 0.009163 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059322 | false | 0 | 0.016949 | 0 | 0.135593 | 0.008475 | 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 |
ec11684b5d7c777e3d15667cd83d92203959e0d1 | 3,298 | py | Python | tests/plugins/musicbrainz/resources/partial_date.py | jtpavlock/moe | 6f053c8c53f92686013657bda676b00f97edd230 | [
"MIT"
] | 14 | 2021-09-04T11:42:18.000Z | 2022-02-04T05:11:46.000Z | tests/plugins/musicbrainz/resources/partial_date.py | jtpavlock/Moe | 6f053c8c53f92686013657bda676b00f97edd230 | [
"MIT"
] | 56 | 2021-05-26T00:00:46.000Z | 2021-08-08T17:14:31.000Z | tests/plugins/musicbrainz/resources/partial_date.py | jtpavlock/moe | 6f053c8c53f92686013657bda676b00f97edd230 | [
"MIT"
] | 1 | 2021-07-22T21:55:21.000Z | 2021-07-22T21:55:21.000Z | """Musicbrainz release containing partial dates."""
# flake8: noqa
# date only includes the year
partial_date_year = {
"release": {
"id": "112dec42-65f2-3bde-8d7d-26deddde10b2",
"title": "The Chronic",
"status": "Official",
"quality": "normal",
"text-representation": {"langu... | 29.711712 | 69 | 0.387811 | 252 | 3,298 | 5.055556 | 0.357143 | 0.037677 | 0.043956 | 0.032967 | 0.89325 | 0.89325 | 0.89325 | 0.89325 | 0.89325 | 0.89325 | 0 | 0.114487 | 0.441176 | 3,298 | 110 | 70 | 29.981818 | 0.576777 | 0.036689 | 0 | 0.75 | 0 | 0 | 0.389082 | 0.06816 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6b547bf220b7b5314e2bf673db99e5706a4e6017 | 33,595 | py | Python | pymeta/boot.py | set-soft/pymeta3 | db909eebb39dea2b9082fe78d517617170f86c36 | [
"MIT"
] | 12 | 2015-09-15T10:31:28.000Z | 2022-03-26T16:33:09.000Z | pymeta/boot.py | set-soft/pymeta3 | db909eebb39dea2b9082fe78d517617170f86c36 | [
"MIT"
] | 1 | 2019-01-16T06:16:32.000Z | 2019-01-16T06:16:32.000Z | pymeta/boot.py | set-soft/pymeta3 | db909eebb39dea2b9082fe78d517617170f86c36 | [
"MIT"
] | 2 | 2019-06-25T02:51:28.000Z | 2020-07-04T12:52:01.000Z | # -*- test-case-name: pymeta.test.test_grammar -*-
"""
The definition of PyMeta's language is itself a PyMeta grammar, but something
has to be able to read that. Most of the code in this module is generated from
that grammar (in future versions, it will hopefully all be generated).
"""
import string
from pymeta.runtime... | 45.832196 | 137 | 0.606013 | 3,899 | 33,595 | 4.804565 | 0.047192 | 0.163348 | 0.249827 | 0.136657 | 0.863076 | 0.836919 | 0.781242 | 0.773608 | 0.744568 | 0.722682 | 0 | 0.020146 | 0.27897 | 33,595 | 732 | 138 | 45.894809 | 0.75321 | 0.019705 | 0 | 0.637195 | 0 | 0.001524 | 0.052442 | 0.013735 | 0 | 0 | 0 | 0 | 0 | 1 | 0.134146 | false | 0.001524 | 0.003049 | 0.001524 | 0.27439 | 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 |
6b5ab77b13a9a1d13397a688c6d565266e46739e | 629 | py | Python | app/operational/admin/__init__.py | Anioko/reusable | de6480bc23fb8cfff474985128be91f4dd391be6 | [
"MIT"
] | null | null | null | app/operational/admin/__init__.py | Anioko/reusable | de6480bc23fb8cfff474985128be91f4dd391be6 | [
"MIT"
] | null | null | null | app/operational/admin/__init__.py | Anioko/reusable | de6480bc23fb8cfff474985128be91f4dd391be6 | [
"MIT"
] | null | null | null | from app.operational.admin.views import admin # noqa
from app.operational.admin.users import admin # noqa
from app.operational.admin.contact import admin # noqa
from app.operational.admin.payment import admin # noqa
from app.operational.admin.pricingplan import admin # noqa
from app.operational.admin.subscription ... | 52.416667 | 60 | 0.807631 | 88 | 629 | 5.772727 | 0.193182 | 0.151575 | 0.389764 | 0.498032 | 0.748032 | 0.748032 | 0.748032 | 0 | 0 | 0 | 0 | 0 | 0.122417 | 629 | 11 | 61 | 57.181818 | 0.92029 | 0.085851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6bde5c3cf5dfee5fc50013e7c4782f365d39d8c6 | 2,917 | py | Python | python/gdal_cookbook/cookbook_geometry/calculate_in_geometry.py | zeroam/TIL | 43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1 | [
"MIT"
] | null | null | null | python/gdal_cookbook/cookbook_geometry/calculate_in_geometry.py | zeroam/TIL | 43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1 | [
"MIT"
] | null | null | null | python/gdal_cookbook/cookbook_geometry/calculate_in_geometry.py | zeroam/TIL | 43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1 | [
"MIT"
] | null | null | null | from osgeo import ogr
"""
Calculate Envelope of a Geometry
"""
wkt = "LINESTRING (1181866.263593049 615654.4222507705, 1205917.1207499576 623979.7189589312, 1227192.8790041457 643405.4112779726, 1224880.2965852122 665143.6860159477)"
geom = ogr.CreateGeometryFromWkt(wkt)
# Get Envelope return a tuple (minX, maxX, mi... | 41.671429 | 208 | 0.782996 | 330 | 2,917 | 6.921212 | 0.287879 | 0.084063 | 0.047285 | 0.057793 | 0.787215 | 0.754378 | 0.754378 | 0.754378 | 0.754378 | 0.754378 | 0 | 0.535809 | 0.095303 | 2,917 | 70 | 209 | 41.671429 | 0.32967 | 0.017827 | 0 | 0.393939 | 0 | 0.30303 | 0.725049 | 0.008155 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.030303 | 0.242424 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6bfe923af795ecd9b756be0ca5f9652d52ae5608 | 91 | py | Python | comch/cubical/__init__.py | smimic/comch | cbc3249a2599787f2cb514ac61677778a9046063 | [
"MIT"
] | 4 | 2020-12-31T21:58:58.000Z | 2021-02-27T03:46:46.000Z | comch/cubical/__init__.py | smimic/comch | cbc3249a2599787f2cb514ac61677778a9046063 | [
"MIT"
] | null | null | null | comch/cubical/__init__.py | smimic/comch | cbc3249a2599787f2cb514ac61677778a9046063 | [
"MIT"
] | 2 | 2020-12-31T21:59:09.000Z | 2021-01-07T22:22:58.000Z | from .cubical import Cube
from .cubical import CubicalElement
from .cubical import Cubical
| 22.75 | 35 | 0.835165 | 12 | 91 | 6.333333 | 0.416667 | 0.434211 | 0.671053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 3 | 36 | 30.333333 | 0.962025 | 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 |
d41b44f6ecd4fcb6d85d5a93b77394488dec6b51 | 10,688 | py | Python | assets/bifurcation/saddle-node.py | dantaylor688/dantaylor688.github.io | f430224693c94a7469826f88b88bd9b1460e1cc9 | [
"MIT"
] | null | null | null | assets/bifurcation/saddle-node.py | dantaylor688/dantaylor688.github.io | f430224693c94a7469826f88b88bd9b1460e1cc9 | [
"MIT"
] | null | null | null | assets/bifurcation/saddle-node.py | dantaylor688/dantaylor688.github.io | f430224693c94a7469826f88b88bd9b1460e1cc9 | [
"MIT"
] | null | null | null | from numpy import *
from matplotlib import *
from pylab import *
import matplotlib.lines as mlines
if __name__ == "__main__":
rc('text', usetex=True)
rc('font', family='serif')
fs = 20
### Example 1
x = arange(-5,5,0.1)
# r > 0
fig= figure(1)
ax = fig.add_subplot(311)
frame1 =... | 31.809524 | 73 | 0.52573 | 1,673 | 10,688 | 3.300658 | 0.067543 | 0.046722 | 0.12912 | 0.157189 | 0.914886 | 0.896233 | 0.886816 | 0.875407 | 0.860196 | 0.852046 | 0 | 0.071358 | 0.24738 | 10,688 | 336 | 74 | 31.809524 | 0.615117 | 0.027601 | 0 | 0.744828 | 0 | 0 | 0.052022 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013793 | 0 | 0.013793 | 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 |
d47177eb95164bce4511c37da651163f40567690 | 93 | py | Python | All_Source_Code/GatherData/GatherData_10.py | APMonitor/pds | fa9a7ec920802de346dcdf7f5dd92d752142c16f | [
"MIT"
] | 11 | 2021-01-21T09:46:29.000Z | 2022-03-16T19:33:10.000Z | All_Source_Code/GatherData/GatherData_10.py | the-mahapurush/pds | 7cb4087dd8e75cb1e9b2a4283966c798175f61f7 | [
"MIT"
] | 1 | 2022-03-16T19:47:09.000Z | 2022-03-16T20:11:50.000Z | All_Source_Code/GatherData/GatherData_10.py | the-mahapurush/pds | 7cb4087dd8e75cb1e9b2a4283966c798175f61f7 | [
"MIT"
] | 12 | 2021-02-08T21:11:11.000Z | 2022-03-20T12:42:49.000Z | f = open('dx.csv', 'r')
print(f.readline())
print(f.readline())
print(f.readline())
f.close() | 18.6 | 23 | 0.634409 | 16 | 93 | 3.6875 | 0.5 | 0.305085 | 0.711864 | 0.644068 | 0.711864 | 0.711864 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 93 | 5 | 24 | 18.6 | 0.686047 | 0 | 0 | 0.6 | 0 | 0 | 0.074468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
d4781f46de1f727d96956387c430053e16fe68c4 | 30,470 | py | Python | tests/cash_service_test_case.py | odeoteknologi/odeo-python-sdk | 31a0b21a8b23d887fef16b09e1293091e520a23e | [
"MIT"
] | null | null | null | tests/cash_service_test_case.py | odeoteknologi/odeo-python-sdk | 31a0b21a8b23d887fef16b09e1293091e520a23e | [
"MIT"
] | null | null | null | tests/cash_service_test_case.py | odeoteknologi/odeo-python-sdk | 31a0b21a8b23d887fef16b09e1293091e520a23e | [
"MIT"
] | null | null | null | import json
import unittest
import odeo.client
from odeo.exceptions import GeneralError, InputValidationError
from odeo.models.cash import *
from tests.service_test_case import ServiceTestCase
class CashServiceTestCase(ServiceTestCase):
def test_create_bulk_transfers(self):
self.adapter.register_uri(
... | 36.88862 | 92 | 0.46938 | 2,446 | 30,470 | 5.57359 | 0.091169 | 0.018925 | 0.029267 | 0.033888 | 0.916893 | 0.900976 | 0.87743 | 0.865033 | 0.850803 | 0.821683 | 0 | 0.094154 | 0.429045 | 30,470 | 825 | 93 | 36.933333 | 0.689487 | 0 | 0 | 0.748052 | 0 | 0 | 0.202822 | 0.036232 | 0 | 0 | 0 | 0 | 0.033766 | 1 | 0.04026 | false | 0 | 0.007792 | 0 | 0.049351 | 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 |
d47bef9547a3fd2d84833f743336e05f901325ac | 231 | py | Python | autogalaxy/pipeline/phase/dataset/__init__.py | jonathanfrawley/PyAutoGalaxy_copy | 1cedbfdcf65020538128163f7d8a7f8e169646e0 | [
"MIT"
] | null | null | null | autogalaxy/pipeline/phase/dataset/__init__.py | jonathanfrawley/PyAutoGalaxy_copy | 1cedbfdcf65020538128163f7d8a7f8e169646e0 | [
"MIT"
] | null | null | null | autogalaxy/pipeline/phase/dataset/__init__.py | jonathanfrawley/PyAutoGalaxy_copy | 1cedbfdcf65020538128163f7d8a7f8e169646e0 | [
"MIT"
] | null | null | null | from autogalaxy.pipeline.phase.dataset.analysis import Analysis
from autogalaxy.pipeline.phase.dataset.meta_dataset import MetaDataset
from autogalaxy.pipeline.phase.dataset.result import Result
from .phase import PhaseDataset
| 46.2 | 71 | 0.857143 | 29 | 231 | 6.793103 | 0.37931 | 0.213198 | 0.335025 | 0.411168 | 0.517767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08658 | 231 | 4 | 72 | 57.75 | 0.933649 | 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 |
00ff0280c69bd48a9bdf409837524fae22486f88 | 44 | py | Python | stepik/3559/66578/step_2/script.py | tshemake/Software-Development | e6dff82dffa49e66dc5fa5650af775437ebb6a9b | [
"Unlicense"
] | null | null | null | stepik/3559/66578/step_2/script.py | tshemake/Software-Development | e6dff82dffa49e66dc5fa5650af775437ebb6a9b | [
"Unlicense"
] | null | null | null | stepik/3559/66578/step_2/script.py | tshemake/Software-Development | e6dff82dffa49e66dc5fa5650af775437ebb6a9b | [
"Unlicense"
] | null | null | null | print(12345678987654321 + 98765432123456789) | 44 | 44 | 0.886364 | 3 | 44 | 13 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.809524 | 0.045455 | 44 | 1 | 44 | 44 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
2e8734da87c4e29aacb13f7da2d59d6eeb9a5556 | 652 | py | Python | 2018/bamboofox/baby-lea/hack.py | ss8651twtw/CTF | cf348597cb72558cc5cd8d50582860fadf014228 | [
"MIT"
] | 12 | 2018-01-06T13:36:57.000Z | 2021-07-19T16:47:57.000Z | 2018/bamboofox/baby-lea/hack.py | ss8651twtw/Secure-Programming | cf348597cb72558cc5cd8d50582860fadf014228 | [
"MIT"
] | null | null | null | 2018/bamboofox/baby-lea/hack.py | ss8651twtw/Secure-Programming | cf348597cb72558cc5cd8d50582860fadf014228 | [
"MIT"
] | 2 | 2019-07-06T03:46:38.000Z | 2019-10-28T15:15:36.000Z | #!/usr/bin/env python
from pwn import *
import base64
r = remote('bamboofox.cs.nctu.edu.tw', 58789)
token = 'user=someone\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00... | 36.222222 | 320 | 0.760736 | 116 | 652 | 4.275862 | 0.293103 | 0.822581 | 1.215726 | 1.596774 | 0.417339 | 0.417339 | 0.417339 | 0.417339 | 0.417339 | 0.417339 | 0 | 0.305195 | 0.055215 | 652 | 17 | 321 | 38.352941 | 0.5 | 0.030675 | 0 | 0 | 0 | 0.1 | 0.709984 | 0.630745 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cf14a64bffc62dafd0f491aa6173769252eb606e | 660 | py | Python | envelope/constants.py | affan2/django-envelope | 7020b0e4f1cce2f3fed9336a7f8aa1abca9f9ae7 | [
"MIT"
] | null | null | null | envelope/constants.py | affan2/django-envelope | 7020b0e4f1cce2f3fed9336a7f8aa1abca9f9ae7 | [
"MIT"
] | null | null | null | envelope/constants.py | affan2/django-envelope | 7020b0e4f1cce2f3fed9336a7f8aa1abca9f9ae7 | [
"MIT"
] | 1 | 2020-01-08T09:06:37.000Z | 2020-01-08T09:06:37.000Z | from django.utils.translation import ugettext_lazy as _
STATE_TYPES = (
(-1, _('Deleted')),
(1, _('Replied')),
(2, _('Pending')),
)
COMPANY_CONTACT_CHOICES = (
("", u''),
("First choice", _('First choice')),
("Second choice", _('Second choice')),
("Third choice", _('Third choice')),
)
PR... | 22.758621 | 55 | 0.565152 | 64 | 660 | 5.5 | 0.390625 | 0.1875 | 0.306818 | 0.170455 | 0.707386 | 0.707386 | 0.707386 | 0.707386 | 0.707386 | 0.707386 | 0 | 0.005703 | 0.20303 | 660 | 29 | 56 | 22.758621 | 0.663498 | 0 | 0 | 0.5 | 0 | 0 | 0.367625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cf499af84beb69265b3abc71a15e54d59be34382 | 35,230 | py | Python | swagger_client/apis/attachment_api.py | rcbops/qtest-swagger-client | 28220aa95d878922ca4b35c325706932adabea4e | [
"Apache-2.0"
] | 1 | 2019-09-10T17:55:53.000Z | 2019-09-10T17:55:53.000Z | swagger_client/apis/attachment_api.py | rcbops/qtest-swagger-client | 28220aa95d878922ca4b35c325706932adabea4e | [
"Apache-2.0"
] | null | null | null | swagger_client/apis/attachment_api.py | rcbops/qtest-swagger-client | 28220aa95d878922ca4b35c325706932adabea4e | [
"Apache-2.0"
] | 2 | 2019-02-12T23:15:10.000Z | 2022-03-11T20:08:28.000Z | # coding: utf-8
"""
qTest Manager API Version 8.6 - 9.1
qTest Manager API Version 8.6 - 9.1
OpenAPI spec version: 8.6 - 9.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import sys
import os
import re
# python 2... | 53.704268 | 379 | 0.597502 | 4,050 | 35,230 | 5.016296 | 0.062469 | 0.033225 | 0.037409 | 0.024808 | 0.929366 | 0.918882 | 0.910415 | 0.903967 | 0.884574 | 0.865623 | 0 | 0.001652 | 0.312716 | 35,230 | 655 | 380 | 53.78626 | 0.837401 | 0.398638 | 0 | 0.664634 | 1 | 0 | 0.225041 | 0.037924 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033537 | false | 0 | 0.021341 | 0 | 0.103659 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d8b8d71793d4a4baa993276a170154d40d13e03c | 6,656 | py | Python | cottonformation/res/lookoutequipment.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/lookoutequipment.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/lookoutequipment.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
#--- Resource declaration ---
@attr.s
class InferenceScheduler(Resource):
"""
AWS... | 64 | 218 | 0.782903 | 649 | 6,656 | 7.936826 | 0.115562 | 0.270627 | 0.110076 | 0.18346 | 0.858668 | 0.841778 | 0.813628 | 0.813628 | 0.813628 | 0.813628 | 0 | 0.000166 | 0.096755 | 6,656 | 103 | 219 | 64.621359 | 0.85662 | 0.345102 | 0 | 0.275862 | 0 | 0 | 0.079848 | 0.058175 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017241 | false | 0 | 0.068966 | 0 | 0.293103 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d8de12a8dffe65dd5b5a9827a788a518b074ac78 | 12,413 | py | Python | tools/notebook/extensions/wstl/magics/_location_test.py | jianliyyh/healthcare-data-harmonization | 0d7270edd60c7e29c63bcfb70d3df6331ef35d1f | [
"Apache-2.0"
] | 1 | 2020-12-14T20:11:53.000Z | 2020-12-14T20:11:53.000Z | tools/notebook/extensions/wstl/magics/_location_test.py | GS-/healthcare-data-harmonization | 9eac622f688b02bfbf90b19c708ccff76fc108dc | [
"Apache-2.0"
] | null | null | null | tools/notebook/extensions/wstl/magics/_location_test.py | GS-/healthcare-data-harmonization | 9eac622f688b02bfbf90b19c708ccff76fc108dc | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, soft... | 38.311728 | 78 | 0.700314 | 1,577 | 12,413 | 5.193405 | 0.114775 | 0.042857 | 0.057143 | 0.056654 | 0.860806 | 0.830525 | 0.800855 | 0.771917 | 0.752991 | 0.729548 | 0 | 0.006418 | 0.171514 | 12,413 | 323 | 79 | 38.430341 | 0.789965 | 0.046564 | 0 | 0.70229 | 0 | 0 | 0.110875 | 0.029992 | 0 | 0 | 0 | 0 | 0.187023 | 1 | 0.09542 | false | 0 | 0.030534 | 0 | 0.152672 | 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 |
2b1cf8c4c705595e065d0c49b4f9db1ceda0b4c2 | 21,218 | py | Python | scripts/PYTHON/mtDNA_VCF2FASTA_ADNI.py | sjfandrews/MitoImputePrep | d9c08c36a7dc4b929ded39c46fb519090a491d80 | [
"MIT"
] | null | null | null | scripts/PYTHON/mtDNA_VCF2FASTA_ADNI.py | sjfandrews/MitoImputePrep | d9c08c36a7dc4b929ded39c46fb519090a491d80 | [
"MIT"
] | null | null | null | scripts/PYTHON/mtDNA_VCF2FASTA_ADNI.py | sjfandrews/MitoImputePrep | d9c08c36a7dc4b929ded39c46fb519090a491d80 | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
## IMPORT NECESSARY PACKAGES
import gzip
import argparse
import re
import os
from tqdm import *
## DEFINE MAIN SCRIPT/FUNCTION
def main():
#DEFINE INPUT ARGUMENTS
parser=argparse.ArgumentParser(description='vcf2fasta (mtDNA missing data)',formatter_class=argparse.ArgumentDefaultsHelpFormat... | 194.66055 | 16,584 | 0.924357 | 649 | 21,218 | 30.158706 | 0.326656 | 0.004292 | 0.005211 | 0.002759 | 0.024115 | 0.012466 | 0.007153 | 0.003474 | 0 | 0 | 0 | 0.001633 | 0.047695 | 21,218 | 109 | 16,585 | 194.66055 | 0.967039 | 0.078754 | 0 | 0.164384 | 0 | 0 | 0.87086 | 0.849431 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.013699 | 0.068493 | null | null | 0.068493 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b610c50c03d754847cfb843148e42630348e623 | 198 | py | Python | hello_git.py | zhengwenhong/landsat578-water | 6cd9c651804fc488db0b8a0c1b020f40eb75979b | [
"MIT"
] | null | null | null | hello_git.py | zhengwenhong/landsat578-water | 6cd9c651804fc488db0b8a0c1b020f40eb75979b | [
"MIT"
] | null | null | null | hello_git.py | zhengwenhong/landsat578-water | 6cd9c651804fc488db0b8a0c1b020f40eb75979b | [
"MIT"
] | 5 | 2021-04-28T06:20:31.000Z | 2021-11-03T14:45:20.000Z | print('Hello git, this is luo xin')
print('Hello git, this is zhang jinhua')
print('Hello git, this is huang zhixuan')
print('Hello git, this is xiong rui')
print('Hello git, this is zheng wenhong') | 39.6 | 41 | 0.727273 | 35 | 198 | 4.114286 | 0.428571 | 0.347222 | 0.451389 | 0.590278 | 0.659722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146465 | 198 | 5 | 42 | 39.6 | 0.852071 | 0 | 0 | 0 | 0 | 0 | 0.748744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
51145f2a49849bc6262d72ced7a9cf00b2e0bfbc | 25,271 | py | Python | src/training/evaluator.py | yutake27/P3CMQA | d25fc470d57267797ceea5614f22553656c50dbd | [
"MIT"
] | null | null | null | src/training/evaluator.py | yutake27/P3CMQA | d25fc470d57267797ceea5614f22553656c50dbd | [
"MIT"
] | 2 | 2021-02-15T06:32:14.000Z | 2021-05-24T09:11:24.000Z | src/training/evaluator.py | yutake27/P3CMQA | d25fc470d57267797ceea5614f22553656c50dbd | [
"MIT"
] | null | null | null | import copy
import os
from functools import reduce
from pathlib import Path
import chainer
import chainer.functions as F
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import six
from chainer import configuration, cuda, function
from chainer import report... | 47.591337 | 146 | 0.61442 | 3,190 | 25,271 | 4.686834 | 0.088715 | 0.026487 | 0.016052 | 0.015384 | 0.907297 | 0.892917 | 0.888235 | 0.888235 | 0.886429 | 0.886429 | 0 | 0.004299 | 0.291164 | 25,271 | 530 | 147 | 47.681132 | 0.830347 | 0.321515 | 0 | 0.771875 | 0 | 0 | 0.047514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034375 | false | 0 | 0.05625 | 0 | 0.125 | 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 |
5147e591c185f580d995cc3080ccd58ca60c1253 | 34,848 | py | Python | netpyne/sim/gather.py | FernandoSBorges/netpyne | e1a7adb56b94aa78f8461397319eb4e9754c2d75 | [
"MIT"
] | null | null | null | netpyne/sim/gather.py | FernandoSBorges/netpyne | e1a7adb56b94aa78f8461397319eb4e9754c2d75 | [
"MIT"
] | null | null | null | netpyne/sim/gather.py | FernandoSBorges/netpyne | e1a7adb56b94aa78f8461397319eb4e9754c2d75 | [
"MIT"
] | null | null | null | """
Module for gathering data from nodes after a simulation
"""
from __future__ import print_function
from __future__ import division
from __future__ import unicode_literals
from __future__ import absolute_import
from builtins import zip
from future import standard_library
standard_library.install_aliases()
import n... | 45.973615 | 203 | 0.528524 | 3,798 | 34,848 | 4.819905 | 0.091364 | 0.073856 | 0.01617 | 0.021851 | 0.909265 | 0.897684 | 0.891566 | 0.885338 | 0.874686 | 0.873047 | 0 | 0.005983 | 0.333362 | 34,848 | 757 | 204 | 46.034346 | 0.782015 | 0.228478 | 0 | 0.867188 | 0 | 0 | 0.062721 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013672 | false | 0.015625 | 0.037109 | 0 | 0.058594 | 0.054688 | 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 |
5aaa83b0fab0171b893f04714db3fb949048ce0d | 2,886 | py | Python | src/FFEAT/test/strategies/mutation/ReplaceWithNormalTest.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | src/FFEAT/test/strategies/mutation/ReplaceWithNormalTest.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | src/FFEAT/test/strategies/mutation/ReplaceWithNormalTest.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | ###############################
#
# Created by Patrik Valkovic
# 3/16/2021
#
###############################
import unittest
import torch as t
import ffeat
from ffeat.strategies import mutation
class ReplaceWithNormalTest(unittest.TestCase):
def test_norm(self):
m = mutation.Replace(t.distributions.Normal... | 35.62963 | 100 | 0.620236 | 400 | 2,886 | 4.38 | 0.1875 | 0.015982 | 0.091324 | 0.165525 | 0.85274 | 0.844178 | 0.844178 | 0.828196 | 0.828196 | 0.78653 | 0 | 0.082162 | 0.211365 | 2,886 | 80 | 101 | 36.075 | 0.68761 | 0.012474 | 0 | 0.633333 | 0 | 0 | 0.01581 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.166667 | false | 0 | 0.066667 | 0 | 0.25 | 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 |
5ac6d81cb4fd071e4b1bfd9dccd3befa1f6ec98e | 5,964 | py | Python | applications/Sist01/controllers/produto.py | BetinRibeiro/web2py_crediario | d7b0aef4579870922c6d87b4b0322b427b2bef98 | [
"BSD-3-Clause"
] | 2 | 2019-10-18T23:04:22.000Z | 2019-10-24T04:03:10.000Z | applications/Sist01/controllers/produto.py | BetinRibeiro/web2py_crediario | d7b0aef4579870922c6d87b4b0322b427b2bef98 | [
"BSD-3-Clause"
] | null | null | null | applications/Sist01/controllers/produto.py | BetinRibeiro/web2py_crediario | d7b0aef4579870922c6d87b4b0322b427b2bef98 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# tente algo como
def listar_merc_envio():
proj = db.projeto(request.args(0, cast=int))
rows = db(db.mercadoria_enviada.projeto == request.args(0, cast=int)).select()
return locals()
def inserir_merc_envio():
proj = db.projeto(request.args(0, cast=int))
db.mercadoria_enviada.projeto.defau... | 32.769231 | 79 | 0.768109 | 836 | 5,964 | 5.32177 | 0.098086 | 0.109238 | 0.113284 | 0.098899 | 0.973028 | 0.947853 | 0.819735 | 0.806698 | 0.770735 | 0.770735 | 0 | 0.003972 | 0.113514 | 5,964 | 181 | 80 | 32.950276 | 0.837526 | 0.006204 | 0 | 0.733333 | 0 | 0 | 0.073599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053333 | false | 0 | 0 | 0 | 0.106667 | 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 |
5ac7681c3cd9e35cdc5a1b290c5d7a77a194340a | 43 | py | Python | aparent/losses/__init__.py | johli/aparent-resnet | 04bcbb587ee8e6e298db9ca5c1e8e4bc959dba6a | [
"MIT"
] | 20 | 2019-04-23T20:35:23.000Z | 2022-02-02T02:07:06.000Z | aparent/losses/__init__.py | johli/aparent-resnet | 04bcbb587ee8e6e298db9ca5c1e8e4bc959dba6a | [
"MIT"
] | 6 | 2019-10-14T16:35:00.000Z | 2021-03-24T17:55:07.000Z | aparent/losses/__init__.py | johli/aparent-resnet | 04bcbb587ee8e6e298db9ca5c1e8e4bc959dba6a | [
"MIT"
] | 11 | 2019-06-10T08:53:57.000Z | 2021-01-25T00:54:59.000Z | from aparent.losses.aparent_losses import * | 43 | 43 | 0.860465 | 6 | 43 | 6 | 0.666667 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8529aa00234d8f520455edbed1c4af46f75747b9 | 100 | py | Python | app/section_1/__init__.py | Shah-imran/Database_app | 726b8ab344075b1650408ef1e5c105ce1214d6e6 | [
"MIT"
] | null | null | null | app/section_1/__init__.py | Shah-imran/Database_app | 726b8ab344075b1650408ef1e5c105ce1214d6e6 | [
"MIT"
] | null | null | null | app/section_1/__init__.py | Shah-imran/Database_app | 726b8ab344075b1650408ef1e5c105ce1214d6e6 | [
"MIT"
] | null | null | null | from flask import Blueprint
section_1 = Blueprint('section_1', __name__)
from . import views
| 16.666667 | 45 | 0.74 | 13 | 100 | 5.230769 | 0.615385 | 0.470588 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.19 | 100 | 5 | 46 | 20 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
51796614c1ac4e854673ed9caf66d92875a68f7d | 2,739 | py | Python | spec/rackspace.py | jmvrbanac/requests-cloud-auth | 5b397fb062ea04256a4c0429b95b90ffaa6924c8 | [
"Apache-2.0"
] | 1 | 2015-06-27T20:06:08.000Z | 2015-06-27T20:06:08.000Z | spec/rackspace.py | jmvrbanac/requests-cloud-auth | 5b397fb062ea04256a4c0429b95b90ffaa6924c8 | [
"Apache-2.0"
] | 3 | 2015-02-15T07:44:24.000Z | 2015-02-26T19:45:09.000Z | spec/rackspace.py | jmvrbanac/requests-cloud-auth | 5b397fb062ea04256a4c0429b95b90ffaa6924c8 | [
"Apache-2.0"
] | null | null | null | from mock import patch
from specter import Spec, expect
from requests_cloud_auth import rackspace
from spec import get_keystone_v2_auth_resp
class AuthenticationToRackspace(Spec):
class PasswordAuthentication(Spec):
def before_all(self):
self.auth = rackspace.RackspacePasswordAuth(
... | 30.098901 | 73 | 0.610077 | 303 | 2,739 | 5.270627 | 0.178218 | 0.070132 | 0.06387 | 0.053225 | 0.848466 | 0.835316 | 0.835316 | 0.835316 | 0.737633 | 0.737633 | 0 | 0.002538 | 0.280759 | 2,739 | 90 | 74 | 30.433333 | 0.808122 | 0 | 0 | 0.727273 | 0 | 0 | 0.087258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0.136364 | 0.060606 | 0 | 0.242424 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
51836dbe8e3b7b2306f25c23b465db8e1bb49ae7 | 4,973 | py | Python | tests/functional/regressions/test_issue87.py | matt-koevort/tartiflette | 5777866b133d846ce4f8aa03f735fa81832896cd | [
"MIT"
] | 530 | 2019-06-04T11:45:36.000Z | 2022-03-31T09:29:56.000Z | tests/functional/regressions/test_issue87.py | matt-koevort/tartiflette | 5777866b133d846ce4f8aa03f735fa81832896cd | [
"MIT"
] | 242 | 2019-06-04T11:53:08.000Z | 2022-03-28T07:06:27.000Z | tests/functional/regressions/test_issue87.py | matt-koevort/tartiflette | 5777866b133d846ce4f8aa03f735fa81832896cd | [
"MIT"
] | 36 | 2019-06-21T06:40:27.000Z | 2021-11-04T13:11:16.000Z | import pytest
@pytest.mark.asyncio
@pytest.mark.ttftt_engine
@pytest.mark.parametrize(
"query,errors",
[
(
"""
subscription Sub {
newDog {
name
}
newHuman {
name
}
}
... | 30.509202 | 108 | 0.314498 | 303 | 4,973 | 5.148515 | 0.211221 | 0.064103 | 0.096154 | 0.080128 | 0.867949 | 0.855769 | 0.846795 | 0.846795 | 0.846795 | 0.846795 | 0 | 0.043741 | 0.567866 | 4,973 | 162 | 109 | 30.697531 | 0.682178 | 0 | 0 | 0.6 | 0 | 0.047619 | 0.308816 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 1 | 0 | true | 0 | 0.009524 | 0 | 0.009524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
51a56756217ed4ec5bfdd686ad42105bcd7952f6 | 2,127 | py | Python | modules/analyzer/save_txt.py | Kolyamba-mamba/technology-partner-search-module | a1b5c86cb44e84fb712f8b0df42c93866fe919f9 | [
"MIT"
] | 2 | 2021-02-23T17:43:36.000Z | 2021-02-24T19:31:42.000Z | modules/analyzer/save_txt.py | Kolyamba-mamba/technology-partner-search-module | a1b5c86cb44e84fb712f8b0df42c93866fe919f9 | [
"MIT"
] | null | null | null | modules/analyzer/save_txt.py | Kolyamba-mamba/technology-partner-search-module | a1b5c86cb44e84fb712f8b0df42c93866fe919f9 | [
"MIT"
] | null | null | null | import os
import sys
sys.path.append(os.path.abspath('../../mySite/mySite'))
from modules.dbActions.getTables import get_abstract_and_descr_path
from modules.helpers.saoSelector import rem, split_description
def save_text_db_to_txt(con, filename_base = 'C:/Users/mrkol/Documents/myLog/dataset.txt'):
# Берем тексты... | 42.54 | 92 | 0.523742 | 264 | 2,127 | 4.106061 | 0.30303 | 0.088561 | 0.02952 | 0.051661 | 0.842251 | 0.793358 | 0.752768 | 0.752768 | 0.752768 | 0.702952 | 0 | 0.014064 | 0.364833 | 2,127 | 50 | 93 | 42.54 | 0.788305 | 0.061589 | 0 | 0.809524 | 0 | 0 | 0.092871 | 0.042169 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.095238 | 0 | 0.190476 | 0.047619 | 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 |
cfe989035c30570ea91691fb0079332450ea05f3 | 66,467 | py | Python | dlkit/services/commenting.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/services/commenting.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/services/commenting.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """DLKit Services implementations of commenting service."""
# pylint: disable=no-init
# osid specification includes some 'marker' interfaces.
# pylint: disable=too-many-ancestors
# number of ancestors defined in spec.
# pylint: disable=too-few-public-methods,too-many-public-methods
# number of methods defin... | 50.239607 | 129 | 0.709209 | 7,704 | 66,467 | 5.772845 | 0.045431 | 0.047443 | 0.041215 | 0.066578 | 0.863943 | 0.827023 | 0.792733 | 0.742479 | 0.693866 | 0.620452 | 0 | 0.000738 | 0.20526 | 66,467 | 1,322 | 130 | 50.27761 | 0.84119 | 0.367099 | 0 | 0.38949 | 0 | 0 | 0.085507 | 0.034007 | 0 | 0 | 0 | 0 | 0 | 1 | 0.268934 | false | 0.026275 | 0.007728 | 0.001546 | 0.514683 | 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 |
322510fc220b2ddaa016a9f42fc5e0f7bf644019 | 78 | py | Python | bindings/python/idocp/mpc/__init__.py | z8674558/idocp | 946524db7ae4591b578be2409ca619961572e7be | [
"BSD-3-Clause"
] | 43 | 2020-10-13T03:43:45.000Z | 2021-09-23T05:29:48.000Z | bindings/python/idocp/mpc/__init__.py | z8674558/idocp | 946524db7ae4591b578be2409ca619961572e7be | [
"BSD-3-Clause"
] | 32 | 2020-10-21T09:40:16.000Z | 2021-10-24T00:00:04.000Z | bindings/python/idocp/mpc/__init__.py | z8674558/idocp | 946524db7ae4591b578be2409ca619961572e7be | [
"BSD-3-Clause"
] | 4 | 2020-10-08T05:47:16.000Z | 2021-10-15T12:15:26.000Z | from .mpc_quadrupedal_walking import *
from .mpc_quadrupedal_trotting import * | 39 | 39 | 0.858974 | 10 | 78 | 6.3 | 0.6 | 0.222222 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 78 | 2 | 39 | 39 | 0.887324 | 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 |
5c593d27f50700cb51880aa6573e5a653e2edc1f | 109 | py | Python | examplepackage/tests/test_badmodule.py | dionysisbacchus/python-project-template | 1c25dc7022614b59c61bb99321c580afdeac17f2 | [
"MIT"
] | null | null | null | examplepackage/tests/test_badmodule.py | dionysisbacchus/python-project-template | 1c25dc7022614b59c61bb99321c580afdeac17f2 | [
"MIT"
] | null | null | null | examplepackage/tests/test_badmodule.py | dionysisbacchus/python-project-template | 1c25dc7022614b59c61bb99321c580afdeac17f2 | [
"MIT"
] | 3 | 2022-02-22T06:54:19.000Z | 2022-02-23T20:06:13.000Z | from examplepackage.badmodule import bad_function
def test_bad_function():
assert bad_function(1) == 1
| 18.166667 | 49 | 0.779817 | 15 | 109 | 5.4 | 0.666667 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.146789 | 109 | 5 | 50 | 21.8 | 0.849462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5c72028c31171df1d7f7fe4ed3dcb10a84cb24ff | 309 | py | Python | osarchiver/destination/db/__init__.py | pcibot/osarchiver | 19f07ba7585c021f03f7928fc0b5614570db75a3 | [
"BSD-3-Clause"
] | 18 | 2019-06-06T09:37:18.000Z | 2022-01-12T12:17:10.000Z | osarchiver/destination/db/__init__.py | pcibot/osarchiver | 19f07ba7585c021f03f7928fc0b5614570db75a3 | [
"BSD-3-Clause"
] | 8 | 2019-10-30T16:32:24.000Z | 2022-01-12T12:47:49.000Z | osarchiver/destination/db/__init__.py | pcibot/osarchiver | 19f07ba7585c021f03f7928fc0b5614570db75a3 | [
"BSD-3-Clause"
] | 5 | 2019-06-06T12:27:07.000Z | 2022-03-08T19:04:09.000Z | # Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Copyright 2019 The OSArchiver Authors. All rights reserved.
"""
init file that allow to import Db from osarchiver.destination.db whithout
loading submodules
"""
from osarchiver.destination.db.db import Db
| 34.333333 | 73 | 0.786408 | 49 | 309 | 4.959184 | 0.734694 | 0.065844 | 0.205761 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015326 | 0.15534 | 309 | 8 | 74 | 38.625 | 0.915709 | 0.812298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5cafbb577205610e4cb5bbb2ac7979b4e2d7e02e | 24,507 | py | Python | gui/fonts/font14.py | seelpro/micropython-micro-gui | 0d25d5cbb8b3c4de986471acaa8b354ef6982130 | [
"MIT"
] | 37 | 2021-06-07T11:38:32.000Z | 2022-03-31T23:18:18.000Z | gui/fonts/font14.py | seelpro/micropython-micro-gui | 0d25d5cbb8b3c4de986471acaa8b354ef6982130 | [
"MIT"
] | 10 | 2022-01-06T21:33:35.000Z | 2022-03-25T09:13:34.000Z | gui/fonts/font14.py | seelpro/micropython-micro-gui | 0d25d5cbb8b3c4de986471acaa8b354ef6982130 | [
"MIT"
] | 12 | 2021-06-29T03:28:48.000Z | 2022-03-31T23:35:52.000Z | # Code generated by font_to_py.py.
# Font: FreeSans.ttf Char set: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~£¬°Ωαβγδθλμπωϕ
# Cmd: ./font_to_py.py -x -k extended FreeSans.ttf 23 font14.py
version = '0.33'
def height():
return 23
def baseline():
return 18
de... | 61.886364 | 140 | 0.704248 | 5,932 | 24,507 | 2.906608 | 0.045347 | 0.539033 | 0.655608 | 0.707111 | 0.660596 | 0.624174 | 0.593319 | 0.557302 | 0.538105 | 0.494896 | 0 | 0.411386 | 0.025176 | 24,507 | 395 | 141 | 62.043038 | 0.310213 | 0.009467 | 0 | 0.082228 | 1 | 0.901857 | 0.896745 | 0.895921 | 0 | 1 | 0 | 0 | 0 | 1 | 0.026525 | false | 0 | 0 | 0.02122 | 0.055703 | 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 | 1 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
5cca8a8d7d4bb4b2c49273ae96972753b25192f5 | 9,357 | py | Python | smurf.py | 11ourmine/ddos404 | d9c2fdb86be1ff392eb368006567eb87969286e1 | [
"Unlicense"
] | null | null | null | smurf.py | 11ourmine/ddos404 | d9c2fdb86be1ff392eb368006567eb87969286e1 | [
"Unlicense"
] | null | null | null | smurf.py | 11ourmine/ddos404 | d9c2fdb86be1ff392eb368006567eb87969286e1 | [
"Unlicense"
] | null | null | null | #ngapain stah ^_^
import marshal
exec(marshal.loads('c\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00@\x00\x00\x00s\x95\x00\x00\x00d\x00\x00Z\x00\x00d\x01\x00d\x02\x00l\x01\x00Z\x01\x00d\x01\x00d\x02\x00l\x02\x00Z\x02\x00d\x01\x00d\x02\x00l\x03\x00Z\x03\x00d\x01\x00d\x02\x00l\x04\x00Z\x04\x00y\x0e\x00d\x01\x00d\x03\x0... | 3,119 | 9,324 | 0.748103 | 2,043 | 9,357 | 3.412628 | 0.151738 | 0.287435 | 0.144578 | 0.101549 | 0.346529 | 0.277682 | 0.184452 | 0.154762 | 0.135829 | 0.122633 | 0 | 0.373154 | 0.015924 | 9,357 | 3 | 9,324 | 3,119 | 0.384014 | 0.00171 | 0 | 0 | 0 | 1 | 0.387967 | 0.345145 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
7a93538cd8bd3c86371342ea584431fa4361742a | 41,712 | py | Python | src/mbed_cloud/_backends/mds/apis/subscriptions_api.py | GQMai/mbed-cloud-sdk-python | 76ef009903415f37f69dcc5778be8f5fb14c08fe | [
"Apache-2.0"
] | 12 | 2017-12-28T11:18:43.000Z | 2020-10-04T12:11:15.000Z | src/mbed_cloud/_backends/mds/apis/subscriptions_api.py | GQMai/mbed-cloud-sdk-python | 76ef009903415f37f69dcc5778be8f5fb14c08fe | [
"Apache-2.0"
] | 50 | 2017-12-21T12:50:41.000Z | 2020-01-13T16:07:08.000Z | src/mbed_cloud/_backends/mds/apis/subscriptions_api.py | GQMai/mbed-cloud-sdk-python | 76ef009903415f37f69dcc5778be8f5fb14c08fe | [
"Apache-2.0"
] | 8 | 2018-04-25T17:47:29.000Z | 2019-08-29T06:38:27.000Z | # coding: utf-8
"""
Connect API
Pelion Device Management Connect API allows web applications to communicate with devices. You can subscribe to device resources and read/write values to them. Device Management Connect allows connectivity to devices by queueing requests and caching resource values.
OpenAPI... | 52.86692 | 2,298 | 0.646457 | 4,878 | 41,712 | 5.343378 | 0.066626 | 0.033455 | 0.017188 | 0.022099 | 0.965433 | 0.963744 | 0.9601 | 0.954153 | 0.9507 | 0.948437 | 0 | 0.013322 | 0.265799 | 41,712 | 788 | 2,299 | 52.93401 | 0.83778 | 0.48938 | 0 | 0.801887 | 0 | 0 | 0.196657 | 0.06027 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040094 | false | 0 | 0.009434 | 0 | 0.108491 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8faf578732a61b4ba3a7407a177471ad31b0497e | 6,109 | py | Python | moai/nn/residual/bottleneck.py | tzole1155/moai | d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180 | [
"Apache-2.0"
] | 10 | 2021-04-02T11:21:33.000Z | 2022-01-18T18:32:32.000Z | moai/nn/residual/bottleneck.py | tzole1155/moai | d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180 | [
"Apache-2.0"
] | 1 | 2022-03-22T20:10:55.000Z | 2022-03-24T13:11:02.000Z | moai/nn/residual/bottleneck.py | tzole1155/moai | d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180 | [
"Apache-2.0"
] | 3 | 2021-05-16T20:47:40.000Z | 2021-12-01T21:15:36.000Z | import moai.nn.convolution as mic
import moai.nn.activation as mia
import torch
__all__ = [
"Bottleneck",
"PreResBottleneck",
"PreActivBottleneck",
]
'''
Bottleneck versions with 3 convolutions (2 projections, 1 bottleneck)
'''
class Bottleneck(torch.nn.Module):
def __init__(self,
con... | 35.935294 | 109 | 0.57489 | 630 | 6,109 | 5.277778 | 0.107937 | 0.112782 | 0.093835 | 0.099248 | 0.82406 | 0.821053 | 0.811128 | 0.804211 | 0.762105 | 0.753383 | 0 | 0.021701 | 0.343755 | 6,109 | 169 | 110 | 36.147929 | 0.807683 | 0.053037 | 0 | 0.737179 | 0 | 0 | 0.007732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.019231 | 0 | 0.096154 | 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 |
8fcdc8a5ddd1c3b9c46bd4240713e5fb8106c7ac | 147 | py | Python | sc2/constants.py | Olaf-G/Bachelor-s-Degree | d367051d9f1ff867cf433abc6a9789ac256505a3 | [
"MIT"
] | 7 | 2018-07-15T06:03:42.000Z | 2021-08-22T20:23:26.000Z | sc2/constants.py | Olaf-G/Bachelor-s-Degree | d367051d9f1ff867cf433abc6a9789ac256505a3 | [
"MIT"
] | null | null | null | sc2/constants.py | Olaf-G/Bachelor-s-Degree | d367051d9f1ff867cf433abc6a9789ac256505a3 | [
"MIT"
] | 11 | 2018-07-28T18:16:49.000Z | 2021-01-16T15:13:06.000Z | from .ids.ability_id import *
from .ids.buff_id import *
from .ids.effect_id import *
from .ids.unit_typeid import *
from .ids.upgrade_id import *
| 24.5 | 30 | 0.761905 | 25 | 147 | 4.28 | 0.4 | 0.327103 | 0.485981 | 0.420561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136054 | 147 | 5 | 31 | 29.4 | 0.84252 | 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 |
8fe79eb8932fe0b5402e9dbf7625081f56bbb367 | 23,864 | py | Python | main.py | bywakko/owoautofarm | 8612f38bcf0c384b0727f3f8a7bb5f7e7d790a5d | [
"BSL-1.0"
] | null | null | null | main.py | bywakko/owoautofarm | 8612f38bcf0c384b0727f3f8a7bb5f7e7d790a5d | [
"BSL-1.0"
] | null | null | null | main.py | bywakko/owoautofarm | 8612f38bcf0c384b0727f3f8a7bb5f7e7d790a5d | [
"BSL-1.0"
] | null | null | null | import discord
from discord.ext import commands
import colorama
from colorama import Fore
import asyncio
import os
#-----SETUP-----#
prefix = "!!"
#use the .env feature to hide your token
token = os.getenv("TOKEN")
#---------------#
bot = commands.Bot(command_prefix=prefix,
help_command=None,
... | 42.998198 | 385 | 0.484663 | 2,536 | 23,864 | 4.457808 | 0.06388 | 0.111101 | 0.162406 | 0.196373 | 0.896241 | 0.893056 | 0.893056 | 0.887483 | 0.884299 | 0.884299 | 0 | 0.036449 | 0.384931 | 23,864 | 554 | 386 | 43.075812 | 0.720193 | 0.009764 | 0 | 0.865854 | 0 | 0.01626 | 0.429297 | 0.159568 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.012195 | 0.012195 | 0 | 0.012195 | 0.302846 | 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 |
8fee2b3c935f3dbe6227716eff9c9862a8ba17ae | 36,943 | py | Python | sdk/python/pulumi_vault/aws/secret_backend_role.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-10-07T17:44:18.000Z | 2022-03-30T20:46:33.000Z | sdk/python/pulumi_vault/aws/secret_backend_role.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 79 | 2019-10-11T18:13:07.000Z | 2022-03-31T21:09:41.000Z | sdk/python/pulumi_vault/aws/secret_backend_role.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-10-28T10:08:40.000Z | 2020-03-17T14:20:55.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... | 50.815681 | 134 | 0.651869 | 4,744 | 36,943 | 4.895447 | 0.044477 | 0.075784 | 0.056063 | 0.041982 | 0.922666 | 0.913193 | 0.90639 | 0.900233 | 0.895625 | 0.886066 | 0 | 0.000037 | 0.261917 | 36,943 | 726 | 135 | 50.885675 | 0.851689 | 0.49885 | 0 | 0.796875 | 1 | 0 | 0.090857 | 0.004167 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1625 | false | 0.003125 | 0.015625 | 0 | 0.275 | 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 |
8ff634a7934e172e712b711985cd641877f15294 | 91 | py | Python | src/pyaxl/__init__.py | TeaObvious/pyaxl | 6c359e37415386359b632e3f1e52a29df56163b5 | [
"ZPL-2.1"
] | 7 | 2017-03-07T20:18:10.000Z | 2019-08-21T12:36:51.000Z | src/pyaxl/__init__.py | TeaObvious/pyaxl | 6c359e37415386359b632e3f1e52a29df56163b5 | [
"ZPL-2.1"
] | 3 | 2016-10-12T17:29:49.000Z | 2016-11-26T09:05:46.000Z | src/pyaxl/__init__.py | bielbienne/pyaxl | 0991bbafab7235c4b2f21f234c317ccd639a3e51 | [
"ZPL-2.1"
] | 8 | 2017-10-30T03:06:58.000Z | 2021-12-13T13:42:37.000Z | from pyaxl.configuration import registry
from pyaxl.configuration import AXLClientSettings
| 30.333333 | 49 | 0.89011 | 10 | 91 | 8.1 | 0.6 | 0.222222 | 0.54321 | 0.691358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 50 | 45.5 | 0.975904 | 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 |
8f71959f156e1a16a9c4c2bed5034ef4d99edf57 | 13,708 | py | Python | tests/test_validator.py | ens-lgil/gwas-sumstats-validator | b24bd57df2cf1e1346790bc5c632ff559f17777e | [
"Apache-2.0"
] | null | null | null | tests/test_validator.py | ens-lgil/gwas-sumstats-validator | b24bd57df2cf1e1346790bc5c632ff559f17777e | [
"Apache-2.0"
] | null | null | null | tests/test_validator.py | ens-lgil/gwas-sumstats-validator | b24bd57df2cf1e1346790bc5c632ff559f17777e | [
"Apache-2.0"
] | null | null | null | import unittest
import shutil
import os
import sys
import tests.prep_tests as prep
import validate.validator as v
from validate.common_constants import *
import tests.test_values as test_arrays
class BasicTestCase(unittest.TestCase):
def setUp(self):
self.test_storepath = "./tests/data"
os.makedir... | 50.397059 | 109 | 0.702145 | 1,840 | 13,708 | 4.888043 | 0.067391 | 0.081054 | 0.057372 | 0.049144 | 0.929509 | 0.921503 | 0.915499 | 0.877585 | 0.877252 | 0.858906 | 0 | 0.016157 | 0.191786 | 13,708 | 271 | 110 | 50.583026 | 0.795649 | 0.035527 | 0 | 0.716049 | 0 | 0 | 0.062609 | 0 | 0 | 0 | 0 | 0 | 0.139918 | 1 | 0.09465 | false | 0 | 0.032922 | 0 | 0.131687 | 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 |
56ed4fb3784cba39083f1894347b5486d5f89727 | 3,269 | py | Python | tests/client/test_tracer.py | bernhardkaindl/pjrpc | 6e21534ee5a073315e805a911ae75cada4a81137 | [
"Unlicense"
] | null | null | null | tests/client/test_tracer.py | bernhardkaindl/pjrpc | 6e21534ee5a073315e805a911ae75cada4a81137 | [
"Unlicense"
] | null | null | null | tests/client/test_tracer.py | bernhardkaindl/pjrpc | 6e21534ee5a073315e805a911ae75cada4a81137 | [
"Unlicense"
] | null | null | null | import json
from xjsonrpc.common import BatchRequest, BatchResponse, Request, Response
from xjsonrpc import client
import pytest
@pytest.mark.parametrize(
'req, resp, exc', [
(
Request(id=1, method='method', params=[1, '2']),
Response(id=1, result='result'),
None,
... | 29.718182 | 80 | 0.594065 | 384 | 3,269 | 4.830729 | 0.166667 | 0.086253 | 0.032345 | 0.051752 | 0.904582 | 0.904582 | 0.904582 | 0.904582 | 0.904582 | 0.816173 | 0 | 0.009378 | 0.282349 | 3,269 | 109 | 81 | 29.990826 | 0.78133 | 0 | 0 | 0.777778 | 0 | 0 | 0.052004 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.022222 | false | 0 | 0.044444 | 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 |
8572ac8f21554559456eb3bcd0c218e6fc6c13ab | 81 | py | Python | src/stock_data_provider/cn_a/__init__.py | stonewell/learn-curve | fa712bc3d553c7600ef9f403506faaf410358e41 | [
"MIT"
] | null | null | null | src/stock_data_provider/cn_a/__init__.py | stonewell/learn-curve | fa712bc3d553c7600ef9f403506faaf410358e41 | [
"MIT"
] | null | null | null | src/stock_data_provider/cn_a/__init__.py | stonewell/learn-curve | fa712bc3d553c7600ef9f403506faaf410358e41 | [
"MIT"
] | null | null | null | #load stock data from vip data for cn_a
from .vip_dataset import load_stock_data
| 27 | 40 | 0.82716 | 16 | 81 | 3.9375 | 0.625 | 0.285714 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 2 | 41 | 40.5 | 0.913043 | 0.469136 | 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 |
8584d7c98391fc6bc065634ffcc8ba290b355104 | 109 | py | Python | python/athena/__init__.py | sj1104/Het | 81b7e9f0f593108db969fc46a1af3df74b825230 | [
"Apache-2.0"
] | 2 | 2021-05-29T11:18:14.000Z | 2021-09-09T14:29:21.000Z | python/athena/__init__.py | sj1104/Het | 81b7e9f0f593108db969fc46a1af3df74b825230 | [
"Apache-2.0"
] | null | null | null | python/athena/__init__.py | sj1104/Het | 81b7e9f0f593108db969fc46a1af3df74b825230 | [
"Apache-2.0"
] | 3 | 2021-04-01T22:39:13.000Z | 2021-04-21T11:51:57.000Z | from __future__ import absolute_import
from .gpu_links import *
from .gpu_ops import *
from .stream import *
| 21.8 | 38 | 0.798165 | 16 | 109 | 5 | 0.5 | 0.375 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 4 | 39 | 27.25 | 0.860215 | 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 |
85bdcc22efd9f64458dde4236cb1912ed9a005a4 | 13,755 | py | Python | data_loader/data_loaders.py | Neronjust2017/pytorch-classification-project | fc5f4d7c46d071765f682ce20e6580646d4e5c76 | [
"MIT"
] | null | null | null | data_loader/data_loaders.py | Neronjust2017/pytorch-classification-project | fc5f4d7c46d071765f682ce20e6580646d4e5c76 | [
"MIT"
] | null | null | null | data_loader/data_loaders.py | Neronjust2017/pytorch-classification-project | fc5f4d7c46d071765f682ce20e6580646d4e5c76 | [
"MIT"
] | null | null | null | import torch
from torch.utils.data import TensorDataset
from torchvision import datasets, transforms
from base import BaseDataLoader, BaseDataLoader_2
from torch.utils.data import DataLoader
import numpy as np
import pandas as pd
from .utils import readmts_uci_har, transform_labels
class MnistDataLoader(BaseDataLoader... | 33.87931 | 119 | 0.55936 | 1,706 | 13,755 | 4.227433 | 0.103751 | 0.019412 | 0.022185 | 0.009151 | 0.897948 | 0.885191 | 0.875208 | 0.875208 | 0.865502 | 0.865502 | 0 | 0.011078 | 0.34373 | 13,755 | 405 | 120 | 33.962963 | 0.787859 | 0.193312 | 0 | 0.783465 | 0 | 0 | 0.074597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043307 | false | 0 | 0.031496 | 0 | 0.11811 | 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 |
f152eec3cef385534aba23310f7da6d95d6a9cd5 | 3,855 | py | Python | train_levels.py | TheCherry/test_ai_game | b0e89d6b526d7a5942391c7bf557e051bfd731be | [
"MIT"
] | null | null | null | train_levels.py | TheCherry/test_ai_game | b0e89d6b526d7a5942391c7bf557e051bfd731be | [
"MIT"
] | null | null | null | train_levels.py | TheCherry/test_ai_game | b0e89d6b526d7a5942391c7bf557e051bfd731be | [
"MIT"
] | null | null | null | A = 0 ## AIR - Movable field, no actions
P = 1 ## PLAYER - The Player
W = 2 ## WALL - A Wall, player cant pass
F = 3 ## FIRE - Kills the player if he havent a Fire protection
P = 4 ## FPROTECT - Fire protection
R = 5 ## ALLOW_DIRECTION... | 47.012195 | 81 | 0.320882 | 887 | 3,855 | 1.38106 | 0.071026 | 0.555102 | 0.67102 | 0.718367 | 0.68898 | 0.682449 | 0.681633 | 0.672653 | 0.668571 | 0.65551 | 0 | 0.259734 | 0.433722 | 3,855 | 81 | 82 | 47.592593 | 0.30142 | 0 | 0 | 0.506667 | 0 | 0 | 0.021858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f187833d180179ffb15d15fca61ce3da1766aa3c | 25,340 | py | Python | geolib/models/dsheetpiling/internal_partial_factors.py | Deltares/geolib | d38aab35a034e977bb7684322395458986bda059 | [
"MIT"
] | 4 | 2021-10-29T21:30:47.000Z | 2022-03-18T13:15:17.000Z | geolib/models/dsheetpiling/internal_partial_factors.py | cemsbv/GEOLib | 54de109460a836caed51f0f26974a51f39edcfa3 | [
"MIT"
] | 3 | 2021-11-05T07:56:16.000Z | 2022-03-27T13:27:05.000Z | geolib/models/dsheetpiling/internal_partial_factors.py | cemsbv/GEOLib | 54de109460a836caed51f0f26974a51f39edcfa3 | [
"MIT"
] | 4 | 2021-10-29T21:30:51.000Z | 2022-01-17T13:20:40.000Z | from geolib.models import BaseDataClass
from geolib.models.dseries_parser import DSeriesInlineMappedProperties
class PartialFactorsEurocodeDa1Set1(DSeriesInlineMappedProperties):
safetyfactorgammad: float = 1.00
safetyfactoreta: float = 1.00
loadfactorpermunfav: float = 1.00
loadfactorpermfav: float =... | 42.588235 | 70 | 0.758998 | 2,236 | 25,340 | 8.601073 | 0.043381 | 0.126352 | 0.110233 | 0.019135 | 0.956219 | 0.954035 | 0.954035 | 0.954035 | 0.954035 | 0.954035 | 0 | 0.086537 | 0.174586 | 25,340 | 594 | 71 | 42.659933 | 0.832951 | 0 | 0 | 0.918149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.05694 | 0.003559 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
74d20694a9691d59bdd5fb123c7a684301b5ddeb | 363 | py | Python | trainer/__init__.py | Neronjust2017/pytorch-classification-project | fc5f4d7c46d071765f682ce20e6580646d4e5c76 | [
"MIT"
] | 1 | 2020-07-07T12:28:59.000Z | 2020-07-07T12:28:59.000Z | trainer/__init__.py | Neronjust2017/pytorch-classification-project | fc5f4d7c46d071765f682ce20e6580646d4e5c76 | [
"MIT"
] | null | null | null | trainer/__init__.py | Neronjust2017/pytorch-classification-project | fc5f4d7c46d071765f682ce20e6580646d4e5c76 | [
"MIT"
] | null | null | null | from .trainer import *
from trainer.Bayes_By_Backprop.trainer import *
from trainer.Variational_dropout.trainer import *
from trainer.MC_Dropout.trainer import *
from trainer.Quality_driven_PI.trainer import *
from trainer.Deep_Ensemble.trainer import *
from trainer.Deep_Ensemble.trainer_ensemble import *
from trainer.... | 45.375 | 56 | 0.85124 | 50 | 363 | 5.94 | 0.28 | 0.296296 | 0.400673 | 0.484848 | 0.656566 | 0.505051 | 0.505051 | 0 | 0 | 0 | 0 | 0 | 0.085399 | 363 | 8 | 56 | 45.375 | 0.894578 | 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 |
7421f74b651e1c735bdf1ebe304a04f9f00829de | 13,659 | py | Python | governance/migrations/0001_initial.py | IATI/new-website | b90783e32d19ac4c821c5ea018a52997a11b5286 | [
"MIT"
] | 4 | 2019-03-28T06:42:17.000Z | 2021-06-06T13:10:51.000Z | governance/migrations/0001_initial.py | IATI/new-website | b90783e32d19ac4c821c5ea018a52997a11b5286 | [
"MIT"
] | 177 | 2018-09-28T14:21:56.000Z | 2022-03-30T21:45:26.000Z | governance/migrations/0001_initial.py | IATI/new-website | b90783e32d19ac4c821c5ea018a52997a11b5286 | [
"MIT"
] | 8 | 2018-10-25T20:43:10.000Z | 2022-03-17T14:19:27.000Z | # Generated by Django 2.2.9 on 2020-02-27 09:22
from django.db import migrations, models
import django.db.models.deletion
import home.models
import modelcluster.fields
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.documents.blocks
import wagtail.images.blocks
class Migration(migrations.Migrati... | 135.237624 | 1,461 | 0.690387 | 1,633 | 13,659 | 5.663809 | 0.100429 | 0.091577 | 0.130501 | 0.043248 | 0.917937 | 0.917072 | 0.908747 | 0.883339 | 0.883339 | 0.878581 | 0 | 0.011176 | 0.135295 | 13,659 | 100 | 1,462 | 136.59 | 0.771908 | 0.003295 | 0 | 0.494624 | 1 | 0 | 0.243241 | 0.008302 | 0.032258 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086022 | 0 | 0.129032 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
74630291cd67b25e19204c0030608445078ef51c | 203 | py | Python | gensound/__init__.py | macrat/PyGenSound | 579848b5eb6812226fb4afb9d634c355db9b5cc0 | [
"MIT"
] | null | null | null | gensound/__init__.py | macrat/PyGenSound | 579848b5eb6812226fb4afb9d634c355db9b5cc0 | [
"MIT"
] | null | null | null | gensound/__init__.py | macrat/PyGenSound | 579848b5eb6812226fb4afb9d634c355db9b5cc0 | [
"MIT"
] | null | null | null | """ Generate sound like a chiptune
Read an audio file or generate sound, compute it, and write to file.
"""
from gensound.sound import *
from gensound.effect import *
from gensound.exceptions import *
| 22.555556 | 68 | 0.758621 | 30 | 203 | 5.133333 | 0.666667 | 0.233766 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167488 | 203 | 8 | 69 | 25.375 | 0.911243 | 0.492611 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
778477ebb5dc23ecc443a6b8b758cdc55aa78e8f | 11,796 | py | Python | gen_asm_reljump.py | orsonteodoro/tsha | cdc6b5f62c9a0d9d66a9683986548ffb816accde | [
"MIT"
] | null | null | null | gen_asm_reljump.py | orsonteodoro/tsha | cdc6b5f62c9a0d9d66a9683986548ffb816accde | [
"MIT"
] | null | null | null | gen_asm_reljump.py | orsonteodoro/tsha | cdc6b5f62c9a0d9d66a9683986548ffb816accde | [
"MIT"
] | null | null | null | #!/usr/bin/python3
#
# Near Jump, Jump Table Generator for sha256b
#
# Copyright (c) 2021-2022 Orson Teodoro <orsonteodoro@hotmail.com>. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
... | 25.313305 | 95 | 0.568328 | 1,789 | 11,796 | 3.578535 | 0.100615 | 0.036239 | 0.057482 | 0.048735 | 0.848641 | 0.848641 | 0.841456 | 0.809591 | 0.779756 | 0.770384 | 0 | 0.045344 | 0.196083 | 11,796 | 465 | 96 | 25.367742 | 0.629759 | 0.131909 | 0 | 0.952632 | 0 | 0 | 0.262315 | 0.02453 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034211 | false | 0 | 0 | 0 | 0.034211 | 0.315789 | 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 |
77a12546de7cfffdc8d153de11c36b5025cade21 | 9,483 | py | Python | terrascript/alicloud/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/alicloud/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/alicloud/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/alicloud/r.py
import terrascript
class alicloud_instance(terrascript.Resource):
pass
class alicloud_ram_role_attachment(terrascript.Resource):
pass
class alicloud_disk(terrascript.Resource):
pass
class alicloud_disk_attachment(terrascript.Resource):
pass
class alicloud_network_inte... | 21.262332 | 73 | 0.812823 | 1,101 | 9,483 | 6.673933 | 0.131698 | 0.260071 | 0.460125 | 0.556342 | 0.926375 | 0.906777 | 0.524496 | 0.10343 | 0 | 0 | 0 | 0 | 0.12475 | 9,483 | 445 | 74 | 21.310112 | 0.885301 | 0.002636 | 0 | 0.498305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.501695 | 0.00339 | 0 | 0.501695 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
7ae5d2351612640a030f27a713a10a910ceea12f | 22,763 | py | Python | cogs/mod.py | jeraldlyh/horizon | 8898019d79ed168b991a649c1f84b7d1ec4c433d | [
"Apache-2.0"
] | 2 | 2021-07-06T10:42:02.000Z | 2021-07-06T11:16:53.000Z | cogs/mod.py | jeraldlyh/horizon | 8898019d79ed168b991a649c1f84b7d1ec4c433d | [
"Apache-2.0"
] | null | null | null | cogs/mod.py | jeraldlyh/horizon | 8898019d79ed168b991a649c1f84b7d1ec4c433d | [
"Apache-2.0"
] | null | null | null | import asyncio
import discord
import datetime
import pytz
import random
import colorsys
import os
from discord.ext import commands
from cogs.utils.embed import passembed
from cogs.utils.embed import errorembed
class Mod(commands.Cog):
def __init__(self, bot):
self.bot = bot
self.case = {}
... | 53.434272 | 151 | 0.608004 | 2,726 | 22,763 | 5.010638 | 0.077403 | 0.025185 | 0.028113 | 0.039827 | 0.880006 | 0.86961 | 0.843473 | 0.834468 | 0.820338 | 0.816531 | 0 | 0.007308 | 0.272635 | 22,763 | 425 | 152 | 53.56 | 0.81766 | 0.03062 | 0 | 0.734973 | 0 | 0 | 0.115029 | 0.000953 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008197 | false | 0.038251 | 0.027322 | 0.002732 | 0.114754 | 0.02459 | 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 |
bb34cdee6518392913151d55d57ff02e056fd79e | 73,571 | py | Python | openprocurement/auctions/insider/tests/award.py | oleksiyVeretiuk/openprocurement.auctions.insider | f380caa9b63dadbfe7bd1f9512e21c486a138457 | [
"Apache-2.0"
] | null | null | null | openprocurement/auctions/insider/tests/award.py | oleksiyVeretiuk/openprocurement.auctions.insider | f380caa9b63dadbfe7bd1f9512e21c486a138457 | [
"Apache-2.0"
] | null | null | null | openprocurement/auctions/insider/tests/award.py | oleksiyVeretiuk/openprocurement.auctions.insider | f380caa9b63dadbfe7bd1f9512e21c486a138457 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from datetime import timedelta
from openprocurement.api.models import get_now
from openprocurement.auctions.insider.tests.base import (
BaseInsiderAuctionWebTest, test_financial_bids,
test_insider_auction_data, test_financial_organization,
)
class InsiderAuctionCreateA... | 59.57166 | 299 | 0.660464 | 8,405 | 73,571 | 5.648899 | 0.025461 | 0.159544 | 0.220898 | 0.101392 | 0.952842 | 0.94783 | 0.932223 | 0.925167 | 0.913267 | 0.909939 | 0 | 0.013357 | 0.170624 | 73,571 | 1,234 | 300 | 59.619935 | 0.764758 | 0.000652 | 0 | 0.799407 | 0 | 0 | 0.264976 | 0.056284 | 0 | 0 | 0 | 0 | 0.529644 | 1 | 0.022727 | false | 0 | 0.003953 | 0 | 0.036561 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
bb3ddb5075223378c6a9c549d13244c9e70f551a | 125 | py | Python | phantasy/library/exception/__init__.py | phantasy-project/phantasy | ac362cd3a80f7d1cfc68c0722f8a4aad504d1edd | [
"BSD-3-Clause"
] | null | null | null | phantasy/library/exception/__init__.py | phantasy-project/phantasy | ac362cd3a80f7d1cfc68c0722f8a4aad504d1edd | [
"BSD-3-Clause"
] | 1 | 2021-11-10T14:56:41.000Z | 2021-11-10T14:56:41.000Z | phantasy/library/exception/__init__.py | archman/phantasy | ac362cd3a80f7d1cfc68c0722f8a4aad504d1edd | [
"BSD-3-Clause"
] | 1 | 2018-09-27T17:03:32.000Z | 2018-09-27T17:03:32.000Z | from .err import CSVFormatError, DataError
from .exceptions import TimeoutError
from .exceptions import PutFinishedException
| 31.25 | 44 | 0.864 | 13 | 125 | 8.307692 | 0.615385 | 0.259259 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 125 | 3 | 45 | 41.666667 | 0.964286 | 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 |
bb4d0348474ba0aab39165e5a9d870708d7ccbb4 | 13,511 | py | Python | keras/downstream_tasks/config.py | joeranbosma/ModelsGenesis | 24ae94cbc1b2ae15d95771f249d6443369ba0742 | [
"MIT"
] | 574 | 2019-10-01T02:30:56.000Z | 2022-03-29T07:34:08.000Z | keras/downstream_tasks/config.py | joeranbosma/ModelsGenesis | 24ae94cbc1b2ae15d95771f249d6443369ba0742 | [
"MIT"
] | 52 | 2019-10-11T02:43:21.000Z | 2022-03-14T03:10:57.000Z | keras/downstream_tasks/config.py | joeranbosma/ModelsGenesis | 24ae94cbc1b2ae15d95771f249d6443369ba0742 | [
"MIT"
] | 143 | 2019-10-01T13:38:10.000Z | 2022-03-29T02:26:04.000Z | import os
import shutil
import csv
import random
class bms_config:
arch = 'Vnet'
# data
data = '/mnt/dataset/shared/zongwei/BraTS'
csv = "data/bms"
deltr = 30
input_rows = 64
input_cols = 64
input_deps = 32
crop_rows = 100
crop_cols = 100
crop_deps = 50
# mode... | 36.615176 | 127 | 0.598919 | 1,655 | 13,511 | 4.710574 | 0.106344 | 0.070549 | 0.080811 | 0.161621 | 0.880067 | 0.880067 | 0.870703 | 0.85903 | 0.847871 | 0.811185 | 0 | 0.028465 | 0.282363 | 13,511 | 368 | 128 | 36.714674 | 0.775578 | 0.014211 | 0 | 0.777419 | 0 | 0 | 0.248288 | 0.179574 | 0 | 0 | 0 | 0 | 0.006452 | 1 | 0.035484 | false | 0 | 0.012903 | 0 | 0.364516 | 0.041935 | 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 |
2495e3da50dd2df92cc2add52563521e95f81c56 | 177 | py | Python | geopayment/providers/__init__.py | Lh4cKg/tbcpay | 481ef6148defc9897643919f7c47ce78d149acbf | [
"MIT"
] | null | null | null | geopayment/providers/__init__.py | Lh4cKg/tbcpay | 481ef6148defc9897643919f7c47ce78d149acbf | [
"MIT"
] | null | null | null | geopayment/providers/__init__.py | Lh4cKg/tbcpay | 481ef6148defc9897643919f7c47ce78d149acbf | [
"MIT"
] | null | null | null | from geopayment.providers.credo import CredoProvider
from geopayment.providers.tbc import TBCProvider
from geopayment.providers.bog import IPayProvider, IPayInstallmentProvider
| 44.25 | 74 | 0.887006 | 19 | 177 | 8.263158 | 0.578947 | 0.267516 | 0.43949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073446 | 177 | 3 | 75 | 59 | 0.957317 | 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 |
24ae2a6bb5311f1b5869e578b92cca70a3f06006 | 5,916 | py | Python | models/model.py | AnnLIU15/SegCovid | e8a1ccadfbe56ddc7f1adf33225f77836436fa85 | [
"MIT"
] | null | null | null | models/model.py | AnnLIU15/SegCovid | e8a1ccadfbe56ddc7f1adf33225f77836436fa85 | [
"MIT"
] | null | null | null | models/model.py | AnnLIU15/SegCovid | e8a1ccadfbe56ddc7f1adf33225f77836436fa85 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from .layer import *
##### U^2-Net ####
class U2NET(nn.Module):
'''
详细见U2Net论文(md中有链接)
'''
def __init__(self, in_channels=1, out_channels=3):
super(U2NET, self).__init__()
self.stage1 = RSU7(in_channels, 32, 64)
self.pool12 = nn.MaxPool2d(2,... | 27.137615 | 65 | 0.55426 | 827 | 5,916 | 3.882709 | 0.125756 | 0.074743 | 0.05232 | 0.071006 | 0.876985 | 0.876985 | 0.876985 | 0.857054 | 0.857054 | 0.783557 | 0 | 0.142061 | 0.302738 | 5,916 | 217 | 66 | 27.262673 | 0.636364 | 0.040061 | 0 | 0.724409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031496 | false | 0 | 0.023622 | 0 | 0.086614 | 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 |
700f5d0f7a58a9c0399db5b3b4da0ee26daca3f0 | 276 | py | Python | neural_cdes/ode_with_context.py | jb-c/dissertation | daa523e41621022b87d176107b4b29892d208677 | [
"MIT"
] | null | null | null | neural_cdes/ode_with_context.py | jb-c/dissertation | daa523e41621022b87d176107b4b29892d208677 | [
"MIT"
] | null | null | null | neural_cdes/ode_with_context.py | jb-c/dissertation | daa523e41621022b87d176107b4b29892d208677 | [
"MIT"
] | null | null | null | import numpy as np
from F import F
#------------------------ ODE MODEL With Context ---------------------------
# The idea is to use a neural ode with context for sequence to sequence forcasting
#---------------------------------------------------------------------------
| 27.6 | 82 | 0.405797 | 27 | 276 | 4.148148 | 0.740741 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126812 | 276 | 9 | 83 | 30.666667 | 0.46473 | 0.836957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7040ace4dd5b5dbb2373df9695e31b76a5033e3a | 3,825 | py | Python | back-end/legacy/cp_pytorch_ts.py | yenchiah/deep-smoke-machine | 5f779f723a3c891145db43663c8825f9ab55dc74 | [
"BSD-3-Clause"
] | 88 | 2019-05-29T07:38:45.000Z | 2022-03-17T01:50:50.000Z | back-end/legacy/cp_pytorch_ts.py | yenchiah/deep-smoke-machine | 5f779f723a3c891145db43663c8825f9ab55dc74 | [
"BSD-3-Clause"
] | 6 | 2019-05-30T08:47:07.000Z | 2021-09-01T07:45:54.000Z | back-end/legacy/cp_pytorch_ts.py | yenchiah/deep-smoke-machine | 5f779f723a3c891145db43663c8825f9ab55dc74 | [
"BSD-3-Clause"
] | 22 | 2019-06-17T01:15:35.000Z | 2021-11-17T10:29:00.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
class MotionCNN(nn.Module):
def __init__(self):
super().__init__()
self.model = nn.Sequential(
nn.Conv2d(in_channels=72, out_channels=96, kernel_size=7, stride=2),
nn.MaxPool2d(kernel_size=3, stride=2),
... | 33.26087 | 133 | 0.58719 | 525 | 3,825 | 4.07619 | 0.152381 | 0.074766 | 0.061682 | 0.095327 | 0.95514 | 0.95514 | 0.95514 | 0.95514 | 0.95514 | 0.95514 | 0 | 0.072065 | 0.296209 | 3,825 | 114 | 134 | 33.552632 | 0.722883 | 0.161307 | 0 | 0.797297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.040541 | 0 | 0.148649 | 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 |
70525a917c08f3370b06ef1bf64c35966d88de36 | 840,137 | py | Python | test/unit/test_blockchain_v3.py | IBM-Blockchain/ibp-python-sdk | fa1cb5f6a2dc284da8077279f1be365863fb3b7a | [
"Apache-2.0"
] | null | null | null | test/unit/test_blockchain_v3.py | IBM-Blockchain/ibp-python-sdk | fa1cb5f6a2dc284da8077279f1be365863fb3b7a | [
"Apache-2.0"
] | 1 | 2021-03-23T01:53:32.000Z | 2021-03-23T01:53:32.000Z | test/unit/test_blockchain_v3.py | IBM-Blockchain/ibp-python-sdk | fa1cb5f6a2dc284da8077279f1be365863fb3b7a | [
"Apache-2.0"
] | 4 | 2021-03-22T22:28:00.000Z | 2022-02-26T00:36:22.000Z | # -*- coding: utf-8 -*-
# (C) Copyright IBM Corp. 2021.
#
# 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 l... | 55.682463 | 2,202 | 0.735028 | 89,282 | 840,137 | 6.486985 | 0.013709 | 0.024228 | 0.019343 | 0.023012 | 0.948709 | 0.926987 | 0.887329 | 0.84689 | 0.81203 | 0.767666 | 0 | 0.023885 | 0.182386 | 840,137 | 15,087 | 2,203 | 55.686154 | 0.819271 | 0.176532 | 0 | 0.650466 | 0 | 0.011242 | 0.264305 | 0.115397 | 0 | 0 | 0 | 0 | 0.0938 | 1 | 0.034749 | false | 0.007041 | 0.012946 | 0 | 0.082784 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
705a59209b40b8efac56c5cc876e425092a5c6c1 | 2,958 | py | Python | tests/cmdline/test_plot.py | JuDFTteam/masci-tools | f08f004bf9db99b687a3c67d6c82e628a9231634 | [
"MIT"
] | 15 | 2018-11-07T10:04:46.000Z | 2021-11-08T20:51:08.000Z | tests/cmdline/test_plot.py | JuDFTteam/masci-tools | f08f004bf9db99b687a3c67d6c82e628a9231634 | [
"MIT"
] | 120 | 2020-02-04T15:37:42.000Z | 2022-03-17T10:49:40.000Z | tests/cmdline/test_plot.py | JuDFTteam/masci-tools | f08f004bf9db99b687a3c67d6c82e628a9231634 | [
"MIT"
] | 11 | 2018-10-18T08:09:07.000Z | 2022-02-22T15:45:21.000Z | # -*- coding: utf-8 -*-
"""
Test of the plot commands in the cli
Here we do not test the actual content of the plot but only that the
commands work without error
"""
from pathlib import Path
import os
import pytest
def test_fleur_dos():
"""
Test of the fleur-dos routine without options
"""
from masci... | 35.214286 | 118 | 0.698107 | 381 | 2,958 | 5.215223 | 0.215223 | 0.036236 | 0.064419 | 0.028183 | 0.853548 | 0.836437 | 0.800201 | 0.800201 | 0.800201 | 0.800201 | 0 | 0.002491 | 0.185598 | 2,958 | 83 | 119 | 35.638554 | 0.822333 | 0.114604 | 0 | 0.75 | 0 | 0 | 0.198354 | 0.061152 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.083333 | false | 0 | 0.229167 | 0 | 0.3125 | 0.083333 | 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 |
708830a2de273a527bcaee864fcfeb42f3498946 | 73 | py | Python | SPICE/__init__.py | nfahlgren/SPICE_py | 9e7e04f69ea39ed0179404dca5cb9143655b0a24 | [
"MIT"
] | 6 | 2019-01-10T00:09:03.000Z | 2022-03-03T17:48:09.000Z | SPICE/__init__.py | nfahlgren/SPICE_py | 9e7e04f69ea39ed0179404dca5cb9143655b0a24 | [
"MIT"
] | 2 | 2020-05-14T13:47:27.000Z | 2020-05-21T16:27:15.000Z | SPICE/__init__.py | nfahlgren/SPICE_py | 9e7e04f69ea39ed0179404dca5cb9143655b0a24 | [
"MIT"
] | 6 | 2019-01-07T15:11:34.000Z | 2022-01-13T20:36:27.000Z | from SPICE.SPICE import *
from SPICE.QPP import *
from SPICE import util
| 18.25 | 25 | 0.780822 | 12 | 73 | 4.75 | 0.416667 | 0.473684 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 3 | 26 | 24.333333 | 0.934426 | 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 |
3b2fd3edf85f1ce6d197fccd514a3f742d127c0e | 222 | py | Python | juno/onboarding.py | ASG09/juno-python | 45d7a58c5d226fd3ef8c33abfefa62644577e3be | [
"MIT"
] | 7 | 2021-04-16T01:55:43.000Z | 2021-11-29T22:56:51.000Z | juno/onboarding.py | ASG09/juno-python | 45d7a58c5d226fd3ef8c33abfefa62644577e3be | [
"MIT"
] | 6 | 2021-02-16T14:23:26.000Z | 2022-02-13T20:39:23.000Z | juno/onboarding.py | ASG09/juno-python | 45d7a58c5d226fd3ef8c33abfefa62644577e3be | [
"MIT"
] | 3 | 2021-06-24T04:17:18.000Z | 2021-11-29T22:20:32.000Z | from juno.resources import handler_request
from juno.resources.routes import onboarding_routes
def account_new_onboarding_request(dictionary):
return handler_request.post(onboarding_routes.get_base_url(), dictionary) | 37 | 77 | 0.86036 | 29 | 222 | 6.275862 | 0.586207 | 0.087912 | 0.186813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 222 | 6 | 77 | 37 | 0.892157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
3ba17a305fbd04099306121b18190ec4be2605ce | 5,177 | py | Python | theGame/gameSprites.py | TiagoFeu/extintorVirtual | 30ab0f898ea818e0449209b3c0ca3b6046b23814 | [
"MIT"
] | null | null | null | theGame/gameSprites.py | TiagoFeu/extintorVirtual | 30ab0f898ea818e0449209b3c0ca3b6046b23814 | [
"MIT"
] | null | null | null | theGame/gameSprites.py | TiagoFeu/extintorVirtual | 30ab0f898ea818e0449209b3c0ca3b6046b23814 | [
"MIT"
] | null | null | null | import sys
import pygame
def loadSprites():
fire1 = [pygame.image.load('C:\\Users\\Tiago Feu\\Desktop\\extintorVirtual\\theGame\\assets\\general\\fire1_01.png'),
pygame.image.load('C:\\Users\\Tiago Feu\\Desktop\\extintorVirtual\\theGame\\assets\\general\\fire1_02.png'),
pygame.image.load('C... | 97.679245 | 137 | 0.67993 | 624 | 5,177 | 5.604167 | 0.096154 | 0.125822 | 0.171576 | 0.183014 | 0.913354 | 0.913354 | 0.913354 | 0.913354 | 0.913354 | 0.913354 | 0 | 0.01639 | 0.11609 | 5,177 | 53 | 138 | 97.679245 | 0.747815 | 0 | 0 | 0 | 0 | 0.409091 | 0.687717 | 0.556392 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.045455 | 0 | 0.090909 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
8e569c55de9f809678c7b97a32443af40ceb407d | 12,204 | py | Python | phanterpwa/tests/test_configer.py | PhanterJR/phanterpwa | 6daff40845b3a853cd08d319c4ce148f8deebed7 | [
"MIT"
] | 2 | 2019-06-06T10:37:01.000Z | 2021-10-16T03:36:28.000Z | phanterpwa/tests/test_configer.py | PhanterJR/phanterpwa | 6daff40845b3a853cd08d319c4ce148f8deebed7 | [
"MIT"
] | null | null | null | phanterpwa/tests/test_configer.py | PhanterJR/phanterpwa | 6daff40845b3a853cd08d319c4ce148f8deebed7 | [
"MIT"
] | null | null | null | import os
import sys
import json
import unittest
import configparser
from phanterpwa.configer import ProjectConfig
from phanterpwa.tools import interpolate
CURRENT_DIR = os.path.normpath(os.path.join(os.path.dirname(__file__)))
ENV_PYTHON = os.path.normpath(sys.executable)
sample_cfg = """{
"CONFIG_INDENTIFY": "pro... | 36.870091 | 113 | 0.618895 | 1,451 | 12,204 | 4.951757 | 0.141282 | 0.048434 | 0.051496 | 0.064301 | 0.840084 | 0.834934 | 0.78302 | 0.751427 | 0.728323 | 0.718859 | 0 | 0.042809 | 0.217142 | 12,204 | 330 | 114 | 36.981818 | 0.709022 | 0.235497 | 0 | 0.488281 | 0 | 0 | 0.701024 | 0.225876 | 0 | 0 | 0 | 0 | 0.046875 | 1 | 0.003906 | false | 0.027344 | 0.03125 | 0 | 0.039063 | 0.007813 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8e6153ad81ca1eddd5ec9f8233e5625ab94f6fe1 | 10,701 | py | Python | akshare/economic/macro_china_hk.py | J-Z-Z/akshare | 0a9ca71b381a272e2f56211e455ff2493dfed17a | [
"MIT"
] | 721 | 2021-09-21T12:10:33.000Z | 2022-03-31T09:47:01.000Z | akshare/economic/macro_china_hk.py | J-Z-Z/akshare | 0a9ca71b381a272e2f56211e455ff2493dfed17a | [
"MIT"
] | 135 | 2021-09-21T12:07:54.000Z | 2022-03-31T14:15:36.000Z | akshare/economic/macro_china_hk.py | J-Z-Z/akshare | 0a9ca71b381a272e2f56211e455ff2493dfed17a | [
"MIT"
] | 234 | 2021-09-21T12:16:27.000Z | 2022-03-31T09:47:04.000Z | #!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
Date: 2021/12/6 15:21
Desc: 中国-香港-宏观指标
https://data.eastmoney.com/cjsj/foreign_8_0.html
"""
import pandas as pd
import requests
from akshare.utils import demjson
def macro_china_hk_cpi() -> pd.DataFrame:
"""
东方财富-经济数据一览-中国香港-消费者物价指数
https://data.eastmoney.... | 28.612299 | 82 | 0.566583 | 1,454 | 10,701 | 3.911967 | 0.082531 | 0.10443 | 0.07173 | 0.047468 | 0.932665 | 0.892932 | 0.864276 | 0.801688 | 0.801688 | 0.752286 | 0 | 0.032146 | 0.244183 | 10,701 | 373 | 83 | 28.689008 | 0.671118 | 0.112419 | 0 | 0.795053 | 0 | 0 | 0.176076 | 0.024335 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031802 | false | 0 | 0.010601 | 0 | 0.074205 | 0.031802 | 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 |
d908def01459530d2659ccd85dc7c4ddcd6ebfa5 | 34,012 | py | Python | Code/BehaviouralModels/DRL.py | Gronne/Individual-Optimization-Based-on-Group-Information-Sharing | ac309de1687baa73706a7279d7b1d9e29a88b9fa | [
"MIT"
] | null | null | null | Code/BehaviouralModels/DRL.py | Gronne/Individual-Optimization-Based-on-Group-Information-Sharing | ac309de1687baa73706a7279d7b1d9e29a88b9fa | [
"MIT"
] | null | null | null | Code/BehaviouralModels/DRL.py | Gronne/Individual-Optimization-Based-on-Group-Information-Sharing | ac309de1687baa73706a7279d7b1d9e29a88b9fa | [
"MIT"
] | null | null | null | import random
import numpy as np
import math
from collections import deque
import time
import os
from tensorflow.keras import models
from tensorflow.keras import layers
from tensorflow.keras import optimizers
from tensorflow.keras import callbacks
import tensorflow
from Simulations.GameFeatures import GameFeatures a... | 48.588571 | 267 | 0.656415 | 4,606 | 34,012 | 4.497395 | 0.06904 | 0.038233 | 0.044895 | 0.015062 | 0.934733 | 0.916341 | 0.895873 | 0.887762 | 0.882356 | 0.882356 | 0 | 0.034508 | 0.23233 | 34,012 | 700 | 268 | 48.588571 | 0.758866 | 0.111049 | 0 | 0.813665 | 0 | 0.012422 | 0.047197 | 0.00458 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084886 | false | 0.004141 | 0.026915 | 0.004141 | 0.196687 | 0.024845 | 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 |
d976980d1934df9389b6987c344db2d39907ba1f | 9,837 | py | Python | functions/instance_scheduler/state_service_test.py | lmaczulajtys/gcp-instance-scheduler | d1b39acdee0be8ac57a865d50ddae0ba5833ab4e | [
"Apache-2.0"
] | null | null | null | functions/instance_scheduler/state_service_test.py | lmaczulajtys/gcp-instance-scheduler | d1b39acdee0be8ac57a865d50ddae0ba5833ab4e | [
"Apache-2.0"
] | null | null | null | functions/instance_scheduler/state_service_test.py | lmaczulajtys/gcp-instance-scheduler | d1b39acdee0be8ac57a865d50ddae0ba5833ab4e | [
"Apache-2.0"
] | null | null | null | from datetime import datetime
from config.period import Period
from config.schedule import Schedule
from config.scheduler_config import SchedulerConfig
from schedulers.state_service import StateService, State
config = SchedulerConfig(
periods={
"period1": Period(
name="period1",
beg... | 32.465347 | 77 | 0.593372 | 1,087 | 9,837 | 5.204232 | 0.069917 | 0.289553 | 0.344706 | 0.372282 | 0.89429 | 0.89429 | 0.89429 | 0.869542 | 0.850804 | 0.850804 | 0 | 0.142716 | 0.281285 | 9,837 | 302 | 78 | 32.572848 | 0.657426 | 0 | 0 | 0.592593 | 0 | 0 | 0.163464 | 0 | 0 | 0 | 0 | 0 | 0.096296 | 1 | 0.014815 | false | 0 | 0.018519 | 0 | 0.033333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d97b3baf1d0917b9a1f2a0cec8dfb641a7b86cea | 7,559 | py | Python | _unittests/ut_sphinxext/test_mathdef_extension.py | Pandinosaurus/pyquickhelper | 326276f656cf88989e4d0fcd006ada0d3735bd9e | [
"MIT"
] | 18 | 2015-11-10T08:09:23.000Z | 2022-02-16T11:46:45.000Z | _unittests/ut_sphinxext/test_mathdef_extension.py | Pandinosaurus/pyquickhelper | 326276f656cf88989e4d0fcd006ada0d3735bd9e | [
"MIT"
] | 321 | 2015-06-14T21:34:28.000Z | 2021-11-28T17:10:03.000Z | _unittests/ut_sphinxext/test_mathdef_extension.py | Pandinosaurus/pyquickhelper | 326276f656cf88989e4d0fcd006ada0d3735bd9e | [
"MIT"
] | 10 | 2015-06-20T01:35:00.000Z | 2022-01-19T15:54:32.000Z | """
@brief test log(time=4s)
@author Xavier Dupre
"""
import sys
import os
import unittest
from docutils.parsers.rst import directives
from pyquickhelper.loghelper.flog import fLOG
from pyquickhelper.pycode import get_temp_folder
from pyquickhelper.helpgen import rst2html
from pyquickhelper.sphinxext import ... | 28.524528 | 114 | 0.484191 | 686 | 7,559 | 5.074344 | 0.164723 | 0.064349 | 0.026142 | 0.033611 | 0.803217 | 0.803217 | 0.795461 | 0.792876 | 0.740017 | 0.705544 | 0 | 0.012084 | 0.419765 | 7,559 | 264 | 115 | 28.632576 | 0.781578 | 0.016404 | 0 | 0.812834 | 0 | 0 | 0.332525 | 0.011857 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026738 | false | 0 | 0.069519 | 0 | 0.101604 | 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 |
7982638d947c1252bb163f55990e055011b03d2c | 27,961 | py | Python | pr_flow/gen_route.py | vagrantxiao/dirc_riscv | 0566fd3f7ff1640c7ae9dbb037907d20997aad24 | [
"MIT"
] | null | null | null | pr_flow/gen_route.py | vagrantxiao/dirc_riscv | 0566fd3f7ff1640c7ae9dbb037907d20997aad24 | [
"MIT"
] | null | null | null | pr_flow/gen_route.py | vagrantxiao/dirc_riscv | 0566fd3f7ff1640c7ae9dbb037907d20997aad24 | [
"MIT"
] | 1 | 2021-05-06T14:05:57.000Z | 2021-05-06T14:05:57.000Z | #!/usr/bin/env python
import os
import xml.etree.ElementTree
class direct_int:
def __init__(self, prflow_params):
self.prflow_params = prflow_params
def gen_routing(self):
os.system("rm -rf "+self.prflow_params['dest_dir'])
os.system("mkdir "+self.prflow_params['dest_dir'])
os.system("cp ./input... | 66.57381 | 158 | 0.596009 | 4,538 | 27,961 | 3.258484 | 0.030851 | 0.118347 | 0.118482 | 0.140394 | 0.910327 | 0.895043 | 0.873267 | 0.857307 | 0.834584 | 0.797795 | 0 | 0.031205 | 0.234398 | 27,961 | 419 | 159 | 66.732697 | 0.659551 | 0.017989 | 0 | 0.318421 | 0 | 0 | 0.290789 | 0.044269 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.005263 | null | null | 0.002632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
798d9c15084e05181822f43c5a7ca5fbf08a0581 | 165 | py | Python | models/dynamic_memory/memory_retention_vector.py | zankner/DNC | 2596fa3a1ee9bf0a9f160f3f953639e70bb25fe7 | [
"MIT"
] | 3 | 2020-03-20T17:46:33.000Z | 2020-03-23T16:48:59.000Z | models/dynamic_memory/memory_retention_vector.py | zankner/DNC | 2596fa3a1ee9bf0a9f160f3f953639e70bb25fe7 | [
"MIT"
] | null | null | null | models/dynamic_memory/memory_retention_vector.py | zankner/DNC | 2596fa3a1ee9bf0a9f160f3f953639e70bb25fe7 | [
"MIT"
] | 1 | 2020-03-20T17:55:55.000Z | 2020-03-20T17:55:55.000Z | import tensorflow as tf
import numpy as np
def mem_retention(free_gates, read_weightings):
return tf.linalg.matvec(free_gates, read_weightings, transpose_a=True)
| 27.5 | 72 | 0.824242 | 26 | 165 | 5 | 0.730769 | 0.138462 | 0.2 | 0.353846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 165 | 5 | 73 | 33 | 0.884354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 7 |
79d14ff3d82656918f882b5bc619c72a43058792 | 107 | py | Python | nodenet/python/nodenet/trainingsessions/__init__.py | NOOXY-research/NodeNet | 8bf7e0c2fd0e4fae4a51b2900014004728f3c935 | [
"Apache-2.0"
] | 2 | 2018-01-31T05:52:23.000Z | 2020-08-07T19:14:18.000Z | nodenet/python/nodenet/trainingsessions/__init__.py | NOOXY-research/NodeNet | 8bf7e0c2fd0e4fae4a51b2900014004728f3c935 | [
"Apache-2.0"
] | 1 | 2017-11-22T09:39:50.000Z | 2017-11-22T09:39:50.000Z | nodenet/python/nodenet/trainingsessions/__init__.py | magneticchen/NodeNet | 8bf7e0c2fd0e4fae4a51b2900014004728f3c935 | [
"Apache-2.0"
] | null | null | null | # Create alias
from nodenet.trainingsessions.batch import *
from nodenet.trainingsessions.online import *
| 21.4 | 45 | 0.82243 | 12 | 107 | 7.333333 | 0.666667 | 0.25 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 4 | 46 | 26.75 | 0.926316 | 0.11215 | 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 |
8dacb686f9abe4863ecd93491cac701400a4686c | 2,432 | py | Python | address/models.py | wendell1101/EcommerceProject---Django | 008396c283f887db528ca5c07de61a794feeb83b | [
"MIT"
] | null | null | null | address/models.py | wendell1101/EcommerceProject---Django | 008396c283f887db528ca5c07de61a794feeb83b | [
"MIT"
] | null | null | null | address/models.py | wendell1101/EcommerceProject---Django | 008396c283f887db528ca5c07de61a794feeb83b | [
"MIT"
] | null | null | null | from django.db import models
from customer_profiles.models import CustomerProfile
from django_countries.fields import CountryField
class BillingAddress(models.Model):
customer_profile = models.ForeignKey(CustomerProfile, on_delete=models.CASCADE)
house_number = models.CharField(max_length=120)
street = ... | 41.220339 | 120 | 0.740132 | 305 | 2,432 | 5.688525 | 0.177049 | 0.15562 | 0.186744 | 0.248991 | 0.906628 | 0.906628 | 0.906628 | 0.906628 | 0.906628 | 0.906628 | 0 | 0.026049 | 0.147615 | 2,432 | 59 | 121 | 41.220339 | 0.810902 | 0 | 0 | 0.866667 | 0 | 0.066667 | 0.145499 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0.133333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 11 |
8db74fe4633bc461567089434129b039a5fcc0e0 | 213 | py | Python | tests/test_exception.py | AustinScola/illud | a6aca1de38bbe9d5a795aaa084bcbd6731767d18 | [
"MIT"
] | 1 | 2020-12-05T00:59:15.000Z | 2020-12-05T00:59:15.000Z | tests/test_exception.py | AustinScola/illud | a6aca1de38bbe9d5a795aaa084bcbd6731767d18 | [
"MIT"
] | 112 | 2021-01-15T21:42:27.000Z | 2021-04-17T19:11:21.000Z | tests/test_exception.py | AustinScola/illud | a6aca1de38bbe9d5a795aaa084bcbd6731767d18 | [
"MIT"
] | null | null | null | """Test illud.exception."""
from illud.exception import IlludException
def test_inheritance() -> None:
"""Test illud.exception.IlludException inheritance."""
assert issubclass(IlludException, Exception)
| 26.625 | 58 | 0.755869 | 21 | 213 | 7.619048 | 0.52381 | 0.2625 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122066 | 213 | 7 | 59 | 30.428571 | 0.855615 | 0.328639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
30a6ca5f8e564d791241605a8e3135f8100d8bce | 1,195 | py | Python | main/reconstruction/nnmodel/lib/plot.py | awangga/braindecoding | 97128a8346263c81c9ccd606cfa54b35dacd6ca1 | [
"MIT"
] | null | null | null | main/reconstruction/nnmodel/lib/plot.py | awangga/braindecoding | 97128a8346263c81c9ccd606cfa54b35dacd6ca1 | [
"MIT"
] | 1 | 2019-10-13T13:34:45.000Z | 2019-10-13T14:23:51.000Z | main/reconstruction/nnmodel/lib/plot.py | awangga/braindecoding | 97128a8346263c81c9ccd606cfa54b35dacd6ca1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import matplotlib.pyplot as plt
import matplotlib.cm as cm
def tigaKolomGambar(judul,sub1,gbr1,sub2,gbr2,sub3,gbr3):
for i in range(len(gbr3)):
fig, axs = plt.subplots(nrows=1, ncols=3, figsize=(12,4))
plt.sca(axs[0])
plt.imshow(gbr1[i], cmap=cm.gray)
pl... | 26.555556 | 65 | 0.542259 | 177 | 1,195 | 3.661017 | 0.254237 | 0.055556 | 0.083333 | 0.101852 | 0.854938 | 0.854938 | 0.854938 | 0.854938 | 0.854938 | 0.854938 | 0 | 0.050529 | 0.287866 | 1,195 | 44 | 66 | 27.159091 | 0.710928 | 0.017573 | 0 | 0.888889 | 0 | 0 | 0.015358 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.111111 | 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 |
a505257ac1f78a81d24d3984448687f0d7275707 | 98 | py | Python | openminer/entry/__init__.py | zhd785576549/openminer | 72c25317504df1d1b30b7b654b44cebf02abc099 | [
"MIT"
] | null | null | null | openminer/entry/__init__.py | zhd785576549/openminer | 72c25317504df1d1b30b7b654b44cebf02abc099 | [
"MIT"
] | null | null | null | openminer/entry/__init__.py | zhd785576549/openminer | 72c25317504df1d1b30b7b654b44cebf02abc099 | [
"MIT"
] | null | null | null | from openminer.core.commands import execute_from_command
def main():
execute_from_command()
| 16.333333 | 56 | 0.795918 | 13 | 98 | 5.692308 | 0.692308 | 0.297297 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 5 | 57 | 19.6 | 0.870588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
eb781b47159c8800465b6c5b2ebd8a30fcc88015 | 4,841 | py | Python | matroids/construct/nulity_function.py | PotassiumIodide/matroid-theory-in-python | 51c06ba728c9d9002234fe98b1bc84bffb86a0cb | [
"MIT"
] | 2 | 2020-11-27T09:51:49.000Z | 2021-11-10T07:16:34.000Z | matroids/construct/nulity_function.py | PotassiumIodide/matroid-theory-in-python | 51c06ba728c9d9002234fe98b1bc84bffb86a0cb | [
"MIT"
] | 1 | 2020-11-16T07:22:29.000Z | 2020-11-16T07:22:29.000Z | matroids/construct/nulity_function.py | PotassiumIodide/matroid-theory-in-python | 51c06ba728c9d9002234fe98b1bc84bffb86a0cb | [
"MIT"
] | null | null | null | from typing import Callable, TypeVar
from matroids.core.set_operator import powset
from matroids.construct import independent_sets
T = TypeVar('T')
def from_independent_matroid(matroid: tuple[set[T], list[set[T]]]) -> Callable[[set[T]], int]:
"""Construct a nulity function from a matroid defined by independen... | 35.335766 | 104 | 0.654204 | 706 | 4,841 | 4.40085 | 0.080737 | 0.07982 | 0.092694 | 0.106212 | 0.838429 | 0.800129 | 0.782427 | 0.763759 | 0.74831 | 0.712263 | 0 | 0 | 0.202438 | 4,841 | 137 | 105 | 35.335766 | 0.803419 | 0.498657 | 0 | 0.205882 | 0 | 0 | 0.000462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.088235 | 0 | 0.676471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
eb87e4289499aad1dd9c2557ac4f5f24bf2557ea | 18,697 | py | Python | tests/test_dnf.py | Quansight-Labs/python-moa | 1f02519425ab0215896a5fb9be00631c20d34895 | [
"BSD-3-Clause"
] | 22 | 2019-04-19T20:42:53.000Z | 2022-02-03T20:42:48.000Z | tests/test_dnf.py | costrouc/python-moa | 1f02519425ab0215896a5fb9be00631c20d34895 | [
"BSD-3-Clause"
] | 15 | 2019-03-12T17:35:42.000Z | 2019-05-20T20:15:14.000Z | tests/test_dnf.py | costrouc/python-moa | 1f02519425ab0215896a5fb9be00631c20d34895 | [
"BSD-3-Clause"
] | 2 | 2019-11-12T22:50:04.000Z | 2020-04-24T15:56:43.000Z | import copy
import pytest
from moa import ast, dnf, testing
def test_add_indexing_node():
tree = ast.Node((ast.NodeSymbol.ARRAY,), (2, 3), ('A',), ())
symbol_table = {'A': ast.SymbolNode(ast.NodeSymbol.ARRAY, (2, 3), None, (1, 2, 3, 4, 5, 6))}
expected_tree = ast.Node((ast.NodeSymbol.PSI,), (2, 3), (),... | 51.084699 | 225 | 0.569022 | 2,302 | 18,697 | 4.446134 | 0.031712 | 0.320078 | 0.217587 | 0.240352 | 0.947924 | 0.927992 | 0.906888 | 0.872203 | 0.811041 | 0.76893 | 0 | 0.035363 | 0.190833 | 18,697 | 365 | 226 | 51.224658 | 0.641153 | 0.075467 | 0 | 0.519713 | 0 | 0 | 0.026944 | 0 | 0 | 0 | 0 | 0 | 0.050179 | 1 | 0.050179 | false | 0 | 0.010753 | 0 | 0.060932 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ebd13f5efa5e097c8e4bad3c9c553b970b0d32d4 | 23,619 | py | Python | test/test.py | bobrock/AuthKit | ba82501d9dff699be9eef33266aecd03d016cec2 | [
"MIT"
] | null | null | null | test/test.py | bobrock/AuthKit | ba82501d9dff699be9eef33266aecd03d016cec2 | [
"MIT"
] | null | null | null | test/test.py | bobrock/AuthKit | ba82501d9dff699be9eef33266aecd03d016cec2 | [
"MIT"
] | 1 | 2020-06-24T19:20:13.000Z | 2020-06-24T19:20:13.000Z | """
Very basic tests which so no more than check each of the authentication
methods to ensure that an unprotected page is accessible and that a
protected page triggers the a sign in.
Note: Should the Form and Forward methods return 401 or 200 when they
generate an HTML page for the user to sign in?
"""
import sys
im... | 31.660858 | 136 | 0.558618 | 2,609 | 23,619 | 4.886163 | 0.100038 | 0.034515 | 0.023847 | 0.038751 | 0.788594 | 0.770866 | 0.763022 | 0.755962 | 0.753608 | 0.745529 | 0 | 0.010143 | 0.298743 | 23,619 | 745 | 137 | 31.703356 | 0.759524 | 0.032347 | 0 | 0.713615 | 0 | 0 | 0.201385 | 0.007237 | 0 | 0 | 0 | 0 | 0.209703 | 0 | null | null | 0.103286 | 0.034429 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
cced6cec9f9a4992fd997a43e7cd51b28fdc9a95 | 200 | py | Python | nrpylatex/__init__.py | zachetienne/nrpylatex | e2b17ad398199e24f3dbcab6eb2f5020d27ab6c8 | [
"BSD-2-Clause"
] | 4 | 2021-04-12T01:59:01.000Z | 2021-11-18T00:00:59.000Z | nrpylatex/__init__.py | zachetienne/nrpylatex | e2b17ad398199e24f3dbcab6eb2f5020d27ab6c8 | [
"BSD-2-Clause"
] | null | null | null | nrpylatex/__init__.py | zachetienne/nrpylatex | e2b17ad398199e24f3dbcab6eb2f5020d27ab6c8 | [
"BSD-2-Clause"
] | 1 | 2022-02-22T23:53:37.000Z | 2022-02-22T23:53:37.000Z | from nrpylatex.parse_latex import Lexer, Parser, Tensor
from nrpylatex.parse_latex import ParseError, TensorError, OverrideWarning
from nrpylatex.parse_latex import parse_latex
__version__ = "1.0.8"
| 33.333333 | 74 | 0.84 | 27 | 200 | 5.925926 | 0.555556 | 0.25 | 0.3375 | 0.43125 | 0.54375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.1 | 200 | 5 | 75 | 40 | 0.872222 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
69270b37147f51ded1d6a37aa282ff3997cb5269 | 1,892 | py | Python | apigateway/apps/store_point_password_handle.py | cnds/wxdemo | a445ea19ccd0b47caf6ea94e1ddec2ce3faf7d5e | [
"MIT"
] | null | null | null | apigateway/apps/store_point_password_handle.py | cnds/wxdemo | a445ea19ccd0b47caf6ea94e1ddec2ce3faf7d5e | [
"MIT"
] | null | null | null | apigateway/apps/store_point_password_handle.py | cnds/wxdemo | a445ea19ccd0b47caf6ea94e1ddec2ce3faf7d5e | [
"MIT"
] | null | null | null | import requests
from flask import jsonify, request
from .base import BaseHandler
from .json_validate import SCHEMA
class StorePointPassword(BaseHandler):
def get(self, store_id):
api_resp = requests.get(
'{0}/accounts/stores/{1}/point-password'.format(
self.endpoint['accounts... | 35.037037 | 73 | 0.623679 | 232 | 1,892 | 4.857759 | 0.232759 | 0.133097 | 0.029281 | 0.042591 | 0.826087 | 0.826087 | 0.826087 | 0.826087 | 0.826087 | 0.826087 | 0 | 0.023913 | 0.270613 | 1,892 | 53 | 74 | 35.698113 | 0.792754 | 0 | 0 | 0.619048 | 0 | 0 | 0.168605 | 0.086152 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.142857 | 0.095238 | 0 | 0.380952 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
694ef006c46841fcba7f8f446b98a4044b994e22 | 6,996 | py | Python | test/analysis/classification/test_classifier_summary_builder.py | marta18a/sleep_classifiers | 75aaae37dafe752909cf56351911e246a4febb4d | [
"MIT"
] | 97 | 2019-02-18T20:19:21.000Z | 2022-03-30T05:01:44.000Z | test/analysis/classification/test_classifier_summary_builder.py | marta18a/sleep_classifiers | 75aaae37dafe752909cf56351911e246a4febb4d | [
"MIT"
] | 13 | 2019-10-29T05:53:11.000Z | 2022-03-14T21:38:49.000Z | test/analysis/classification/test_classifier_summary_builder.py | marta18a/sleep_classifiers | 75aaae37dafe752909cf56351911e246a4febb4d | [
"MIT"
] | 49 | 2019-06-03T23:22:19.000Z | 2022-03-30T05:01:40.000Z | from unittest import TestCase, mock
from unittest.mock import call
from sklearn.linear_model import LogisticRegression
from source.analysis.classification.classifier_summary_builder import SleepWakeClassifierSummaryBuilder
from source.analysis.performance.raw_performance import RawPerformance
from source.analysis.set... | 62.464286 | 120 | 0.61235 | 637 | 6,996 | 6.342229 | 0.155416 | 0.027723 | 0.044554 | 0.041584 | 0.841089 | 0.841089 | 0.808416 | 0.80297 | 0.80297 | 0.80297 | 0 | 0.009761 | 0.31175 | 6,996 | 111 | 121 | 63.027027 | 0.829283 | 0 | 0 | 0.717391 | 0 | 0 | 0.082619 | 0.063465 | 0 | 0 | 0 | 0 | 0.152174 | 1 | 0.021739 | false | 0 | 0.097826 | 0 | 0.130435 | 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 |
15df382730caf9eaa49c5c1e2b01daf313333e8e | 58 | py | Python | mpu6050/__init__.py | streamnsight/mpu6050 | 8c2f39970d1fec5bf3a034838303ea8eb30d2f23 | [
"MIT"
] | null | null | null | mpu6050/__init__.py | streamnsight/mpu6050 | 8c2f39970d1fec5bf3a034838303ea8eb30d2f23 | [
"MIT"
] | null | null | null | mpu6050/__init__.py | streamnsight/mpu6050 | 8c2f39970d1fec5bf3a034838303ea8eb30d2f23 | [
"MIT"
] | 1 | 2020-03-20T08:07:42.000Z | 2020-03-20T08:07:42.000Z | from .mpu6050 import mpu6050
from .mpu6050 import utils_3d | 29 | 29 | 0.844828 | 9 | 58 | 5.333333 | 0.555556 | 0.458333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254902 | 0.12069 | 58 | 2 | 29 | 29 | 0.686275 | 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 | 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 | 8 |
c61b06fcdaa4ff1c00edef7cefbac495727a9db4 | 79 | py | Python | parslr/__init__.py | maximmenshikov/parslr | 91e02523b1f6bf5c904efc3388aa3b2606e1d033 | [
"MIT"
] | null | null | null | parslr/__init__.py | maximmenshikov/parslr | 91e02523b1f6bf5c904efc3388aa3b2606e1d033 | [
"MIT"
] | 4 | 2021-02-21T11:54:42.000Z | 2021-02-21T13:38:36.000Z | parslr/__init__.py | maximmenshikov/parslr | 91e02523b1f6bf5c904efc3388aa3b2606e1d033 | [
"MIT"
] | null | null | null | from parslr.Parslr import Parslr
from parslr.parslr_args import prepare_parser
| 26.333333 | 45 | 0.873418 | 12 | 79 | 5.583333 | 0.5 | 0.298507 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 2 | 46 | 39.5 | 0.943662 | 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 |
d6b4aca3f59ec6cdfd219413363082a9ace44963 | 229 | py | Python | src/mlspace/scripts/__init__.py | abhishekkrthakur/mlspace | eb32c6d144a258bc404a946e85de6b9904a26029 | [
"Apache-2.0"
] | 283 | 2021-11-04T07:36:13.000Z | 2022-03-21T10:17:36.000Z | src/mlspace/scripts/__init__.py | adbmd/mlspace | eb32c6d144a258bc404a946e85de6b9904a26029 | [
"Apache-2.0"
] | 1 | 2021-11-13T06:27:59.000Z | 2021-11-16T13:14:43.000Z | src/mlspace/scripts/__init__.py | adbmd/mlspace | eb32c6d144a258bc404a946e85de6b9904a26029 | [
"Apache-2.0"
] | 20 | 2021-11-07T15:33:55.000Z | 2022-02-22T13:18:42.000Z | from .base import script as base_script
from .install_docker import script as install_docker
from .install_nvidia_docker import script as install_nvidia_docker
from .install_nvidia_drivers import script as install_nvidia_drivers
| 45.8 | 68 | 0.877729 | 35 | 229 | 5.428571 | 0.257143 | 0.252632 | 0.294737 | 0.331579 | 0.457895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104803 | 229 | 4 | 69 | 57.25 | 0.926829 | 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 |
d6bb03dba18071e75b6eb858eee213c4db8e9fc5 | 408,458 | py | Python | resources.py | ostash-group/GeneticPlotter | 09389407c6d89b8f525f247e7a8af6ff0de1d665 | [
"MIT"
] | 3 | 2021-02-02T18:10:18.000Z | 2021-07-27T14:20:20.000Z | resources.py | ostash-group/GeneticPlotter | 09389407c6d89b8f525f247e7a8af6ff0de1d665 | [
"MIT"
] | null | null | null | resources.py | ostash-group/GeneticPlotter | 09389407c6d89b8f525f247e7a8af6ff0de1d665 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.9.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\xe5\x76\
\x47\
\x49\x46\x38\x39\x61\xb3\x00\xa2\x00\xd5\x22\x00\xf4\xf4\xf4\xf3\
\xf3\xf3\xc3\xc... | 65.416079 | 113 | 0.727193 | 98,925 | 408,458 | 3.002173 | 0.003083 | 0.250817 | 0.37074 | 0.487289 | 0.195431 | 0.191118 | 0.188397 | 0.186872 | 0.185841 | 0.184558 | 0 | 0.362081 | 0.01549 | 408,458 | 6,243 | 114 | 65.426558 | 0.376459 | 0.00037 | 0 | 0.135378 | 0 | 0.990525 | 0.00001 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000321 | false | 0 | 0.000161 | 0 | 0.000482 | 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 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bac4a042089334e3adfeebedfad652cd3e251fa0 | 692 | py | Python | src/pipeline/preprocessing/paths.py | guyfreund/data_drift_detection | 80ca5eb7445b17e04f2aa98c5f6d9ac1fe6d5ac5 | [
"MIT"
] | null | null | null | src/pipeline/preprocessing/paths.py | guyfreund/data_drift_detection | 80ca5eb7445b17e04f2aa98c5f6d9ac1fe6d5ac5 | [
"MIT"
] | 1 | 2021-12-12T22:13:58.000Z | 2021-12-17T22:49:39.000Z | src/pipeline/preprocessing/paths.py | guyfreund/data_drift_detection | 80ca5eb7445b17e04f2aa98c5f6d9ac1fe6d5ac5 | [
"MIT"
] | null | null | null | import os
# Encoding Mapping
BANK_MARKETING_LABEL_ENCODER_PATH_DEPLOYMENT = os.path.abspath(os.path.join(__file__, "..", "..", "preprocessing", "raw_files", "BanMarketingLabelEncoding.npy"))
GERMAN_CREDIT_LABEL_ENCODER_PATH_DEPLOYMENT = os.path.abspath(os.path.join(__file__, "..", "..", "preprocessing", "raw_files", "... | 69.2 | 161 | 0.768786 | 78 | 692 | 6.307692 | 0.282051 | 0.097561 | 0.130081 | 0.121951 | 0.98374 | 0.98374 | 0.98374 | 0.869919 | 0.869919 | 0.869919 | 0 | 0 | 0.060694 | 692 | 9 | 162 | 76.888889 | 0.756923 | 0.047688 | 0 | 0 | 0 | 0 | 0.335366 | 0.176829 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
baf204cc3ef3f5def6c98a0dd6060085eca28424 | 3,349 | py | Python | users-backend/users/internal_api/tests/queries/test_user_by_email.py | pauloxnet/pycon | 82b6eff76dcc785865ea3ffd97a45e931c0add26 | [
"MIT"
] | 2 | 2017-07-18T21:51:25.000Z | 2017-12-23T11:08:39.000Z | users-backend/users/internal_api/tests/queries/test_user_by_email.py | pauloxnet/pycon | 82b6eff76dcc785865ea3ffd97a45e931c0add26 | [
"MIT"
] | 23 | 2017-07-18T20:22:38.000Z | 2018-01-05T05:45:15.000Z | users-backend/users/internal_api/tests/queries/test_user_by_email.py | pauloxnet/pycon | 82b6eff76dcc785865ea3ffd97a45e931c0add26 | [
"MIT"
] | 2 | 2017-07-18T21:27:33.000Z | 2017-07-18T22:07:03.000Z | from ward import test
from users.tests.api import internalapi_graphql_client
from users.tests.factories import user_factory
from users.tests.session import db
@test("correctly gets the user when sending a valid email")
async def _(
internalapi_graphql_client=internalapi_graphql_client,
db=db,
user_factor... | 31.59434 | 85 | 0.694237 | 403 | 3,349 | 5.575682 | 0.166253 | 0.102804 | 0.170895 | 0.11215 | 0.856698 | 0.856698 | 0.841122 | 0.841122 | 0.81798 | 0.81798 | 0 | 0.004376 | 0.181248 | 3,349 | 105 | 86 | 31.895238 | 0.815098 | 0 | 0 | 0.729412 | 0 | 0 | 0.28307 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 1 | 0 | false | 0 | 0.047059 | 0 | 0.047059 | 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 |
24404d1034177a86cf899166c4f650a30e0f2aab | 71 | py | Python | tests/test_zscii.py | swilcox/yazm-py | fef4496d6fb49682cf4182f5eb01df02fbf29268 | [
"MIT"
] | null | null | null | tests/test_zscii.py | swilcox/yazm-py | fef4496d6fb49682cf4182f5eb01df02fbf29268 | [
"MIT"
] | null | null | null | tests/test_zscii.py | swilcox/yazm-py | fef4496d6fb49682cf4182f5eb01df02fbf29268 | [
"MIT"
] | null | null | null | from zscii import zscii_to_ascii
def test_zscii_to_ascii():
pass
| 11.833333 | 32 | 0.774648 | 12 | 71 | 4.166667 | 0.666667 | 0.28 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 71 | 5 | 33 | 14.2 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 9 |
79e1daf6166f822e201a464700bcc0d5f7ed16ac | 11,011 | py | Python | src/cogs/arxivAPI.py | sdk2k01/S4DS-Bot | 97e7ff26873ae7f516976f55319ccdd41e957505 | [
"MIT"
] | 3 | 2021-07-21T16:23:43.000Z | 2022-01-18T06:42:38.000Z | src/cogs/arxivAPI.py | sdk2k01/S4DS-Bot | 97e7ff26873ae7f516976f55319ccdd41e957505 | [
"MIT"
] | 11 | 2021-07-21T16:27:26.000Z | 2022-01-17T18:10:51.000Z | src/cogs/arxivAPI.py | S4DS-IEM/S4DS-Bot | 97e7ff26873ae7f516976f55319ccdd41e957505 | [
"MIT"
] | 11 | 2021-07-21T16:22:57.000Z | 2021-09-05T06:03:45.000Z | import discord
import urllib, urllib.request
from xml.dom import minidom
from discord.ext import commands
class arxiv(commands.Cog):
def __init__(self, client):
self.client = client
#Gets the top search result from arXiv API and displays the paper along with related details (including summary) i... | 61.172222 | 175 | 0.55272 | 1,116 | 11,011 | 5.408602 | 0.117384 | 0.093936 | 0.023857 | 0.028164 | 0.838469 | 0.822896 | 0.813287 | 0.803512 | 0.803512 | 0.803512 | 0 | 0.010379 | 0.256198 | 11,011 | 180 | 176 | 61.172222 | 0.726618 | 0.069839 | 0 | 0.763636 | 0 | 0.030303 | 0.315101 | 0.104317 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012121 | false | 0 | 0.024242 | 0 | 0.072727 | 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 |
79ec9320873b1d25206ea1b268098d8e546d2c34 | 67 | py | Python | htx/__init__.py | gucharbon/pyheartex | 65cc0a1ce0206c122e3df5c1b9de9deb4ed37c04 | [
"MIT"
] | 27 | 2019-07-10T17:43:36.000Z | 2021-03-12T17:42:56.000Z | htx/__init__.py | gucharbon/pyheartex | 65cc0a1ce0206c122e3df5c1b9de9deb4ed37c04 | [
"MIT"
] | 20 | 2019-05-14T00:01:46.000Z | 2020-02-19T18:36:27.000Z | htx/__init__.py | heartexlabs/pyheartex | 1b4d9ee3ee3004b5429ed0b8460f7bdf4bb4ab08 | [
"MIT"
] | 9 | 2019-09-04T03:37:07.000Z | 2021-05-24T23:27:34.000Z | from .htx import init_model_server
from .htx import _server as app
| 22.333333 | 34 | 0.820896 | 12 | 67 | 4.333333 | 0.666667 | 0.269231 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 67 | 2 | 35 | 33.5 | 0.912281 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.