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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e67e6ee435117298b96e0824cdefb562480a1f89 | 1,602 | py | Python | 8 - Largest Product in a Series/largest_product.py | jamtot/PyProjectEuler | 98c2cf5dbfa3d38a2727f2ad204e41f01b624dda | [
"MIT"
] | null | null | null | 8 - Largest Product in a Series/largest_product.py | jamtot/PyProjectEuler | 98c2cf5dbfa3d38a2727f2ad204e41f01b624dda | [
"MIT"
] | null | null | null | 8 - Largest Product in a Series/largest_product.py | jamtot/PyProjectEuler | 98c2cf5dbfa3d38a2727f2ad204e41f01b624dda | [
"MIT"
] | null | null | null | input = """73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
85861560789112949495459501737958331952853208805511
12540698747158523863050715693290963295227443043557
66896648950445244523161731856403098711121722383113
62229893423380308135336276614282806444486645238749
303... | 38.142857 | 61 | 0.850811 | 100 | 1,602 | 13.56 | 0.52 | 0.024336 | 0.014749 | 0.022124 | 0.014749 | 0 | 0 | 0 | 0 | 0 | 0 | 0.712989 | 0.106117 | 1,602 | 41 | 62 | 39.073171 | 0.233939 | 0.010612 | 0 | 0.052632 | 0 | 0 | 0.644121 | 0.632111 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.052632 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e69970ccf1359c0ea3d314dde3f3182c65f809ad | 121,848 | py | Python | tests/unit/modules/test_vsphere.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 19 | 2016-01-29T14:37:52.000Z | 2022-03-30T18:08:01.000Z | tests/unit/modules/test_vsphere.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 223 | 2016-03-02T16:39:41.000Z | 2022-03-03T12:26:35.000Z | tests/unit/modules/test_vsphere.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 64 | 2016-02-04T19:45:26.000Z | 2021-12-15T02:02:31.000Z | """
:codeauthor: Nicole Thomas <nicole@saltstack.com>
:codeauthor: Alexandru Bleotu <alexandru.bleotu@morganstanley.com>
Tests for functions in salt.modules.vsphere
"""
import salt.modules.vsphere as vsphere
import salt.utils.args
import salt.utils.vmware
from salt.exceptions import (
ArgumentValueErr... | 38.535104 | 110 | 0.565795 | 11,949 | 121,848 | 5.425893 | 0.037158 | 0.041398 | 0.052442 | 0.026838 | 0.887204 | 0.85176 | 0.825261 | 0.797421 | 0.773375 | 0.745057 | 0 | 0.007599 | 0.344437 | 121,848 | 3,161 | 111 | 38.547295 | 0.804054 | 0.061724 | 0 | 0.702755 | 0 | 0 | 0.160062 | 0.082018 | 0 | 0 | 0 | 0 | 0.091967 | 1 | 0.075281 | false | 0.023671 | 0.004269 | 0.008537 | 0.102057 | 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 |
e6c3ec4ca59fb2b5bce24dc29ee26259f2af0b09 | 44,097 | py | Python | src/ralph/cmdb/migrations/0028_auto__add_civalueboolean__add_field_ciattributevalue_value_boolean__de.py | vi4m/ralph | 2af767ee23d89be9e6cec0a537350a1ce8840bd1 | [
"Apache-2.0"
] | 1 | 2018-09-01T14:14:08.000Z | 2018-09-01T14:14:08.000Z | src/ralph/cmdb/migrations/0028_auto__add_civalueboolean__add_field_ciattributevalue_value_boolean__de.py | srikanth4372/sample | 127b5742ae464d42909a14d71e3c10c241ec3a23 | [
"Apache-2.0"
] | 1 | 2019-08-14T10:03:45.000Z | 2019-08-14T10:03:45.000Z | src/ralph/cmdb/migrations/0028_auto__add_civalueboolean__add_field_ciattributevalue_value_boolean__de.py | srikanth4372/sample | 127b5742ae464d42909a14d71e3c10c241ec3a23 | [
"Apache-2.0"
] | 1 | 2019-08-14T09:59:42.000Z | 2019-08-14T09:59:42.000Z | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'CIValueBoolean'
db.create_table('cmdb_civalueboolean', (
('id', self.gf('django.... | 82.733583 | 224 | 0.570311 | 4,353 | 44,097 | 5.682748 | 0.058121 | 0.116101 | 0.202611 | 0.289445 | 0.873833 | 0.848446 | 0.825807 | 0.80701 | 0.789869 | 0.732991 | 0 | 0.011044 | 0.186883 | 44,097 | 532 | 225 | 82.889098 | 0.678854 | 0.01177 | 0 | 0.537223 | 0 | 0 | 0.595244 | 0.361393 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004024 | false | 0.002012 | 0.008048 | 0 | 0.018109 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e6e955725917b50b50da91674e681cdda5752ce7 | 402 | py | Python | mmpose/core/__init__.py | pallgeuer/mmpose | d3c17d5e6bdb9dbaca19f3bf53aa2802105355fd | [
"Apache-2.0"
] | null | null | null | mmpose/core/__init__.py | pallgeuer/mmpose | d3c17d5e6bdb9dbaca19f3bf53aa2802105355fd | [
"Apache-2.0"
] | null | null | null | mmpose/core/__init__.py | pallgeuer/mmpose | d3c17d5e6bdb9dbaca19f3bf53aa2802105355fd | [
"Apache-2.0"
] | null | null | null | # Copyright (c) OpenMMLab. All rights reserved.
from .bbox import * # noqa: F401, F403
from .camera import * # noqa: F401, F403
from .evaluation import * # noqa: F401, F403
from .fp16 import * # noqa: F401, F403
from .optimizer import * # noqa: F401, F403
from .post_processing import * # noqa: F401, F403
from .ut... | 40.2 | 50 | 0.691542 | 55 | 402 | 5.036364 | 0.363636 | 0.288809 | 0.404332 | 0.519856 | 0.555957 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154799 | 0.196517 | 402 | 9 | 51 | 44.666667 | 0.702786 | 0.450249 | 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 |
fc089a584039257e009647476e94deeda5696ef1 | 5,147 | py | Python | LCR/corrections.py | MariaPoliti/LCR | 8991a4395b945951d468fe33593dee94d7f5668a | [
"MIT"
] | 2 | 2020-09-06T00:05:54.000Z | 2020-09-23T17:37:57.000Z | LCR/corrections.py | MariaPoliti/LCR | 8991a4395b945951d468fe33593dee94d7f5668a | [
"MIT"
] | null | null | null | LCR/corrections.py | MariaPoliti/LCR | 8991a4395b945951d468fe33593dee94d7f5668a | [
"MIT"
] | 1 | 2021-11-08T20:08:48.000Z | 2021-11-08T20:08:48.000Z | import time
def cable_length(my_instrument, length=1):
"""
Function to activate the cable length correction.
The correction will then be active on the intrument.
Unless tuned off, the correction will be applied to all the measurements
collected after.
Parameters
----------
my_instrume... | 32.371069 | 79 | 0.657665 | 650 | 5,147 | 5.167692 | 0.195385 | 0.089312 | 0.09616 | 0.043763 | 0.905031 | 0.90265 | 0.888955 | 0.888955 | 0.835963 | 0.787437 | 0 | 0.00239 | 0.268506 | 5,147 | 158 | 80 | 32.575949 | 0.889774 | 0.571595 | 0 | 0.734694 | 0 | 0 | 0.287926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061224 | false | 0.040816 | 0.020408 | 0 | 0.183673 | 0.102041 | 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 |
5d7881e6e4752c9d504384cc677c2cc78ecc99b2 | 80,086 | py | Python | mistral/tests/unit/engine/test_subworkflows_pause_resume.py | shubhamdang/mistral | 3c83837f6ce1e4ab74fb519a63e82eaae70f9d2d | [
"Apache-2.0"
] | 205 | 2015-06-21T11:51:47.000Z | 2022-03-05T04:00:04.000Z | mistral/tests/unit/engine/test_subworkflows_pause_resume.py | shubhamdang/mistral | 3c83837f6ce1e4ab74fb519a63e82eaae70f9d2d | [
"Apache-2.0"
] | 8 | 2015-06-23T14:47:58.000Z | 2021-01-28T06:06:44.000Z | mistral/tests/unit/engine/test_subworkflows_pause_resume.py | shubhamdang/mistral | 3c83837f6ce1e4ab74fb519a63e82eaae70f9d2d | [
"Apache-2.0"
] | 110 | 2015-06-14T03:34:38.000Z | 2021-11-11T12:12:56.000Z | # Copyright 2015 - StackStorm, Inc.
# Copyright 2016 - Brocade Communications Systems, Inc.
#
# 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/LIC... | 36.485649 | 78 | 0.627987 | 11,512 | 80,086 | 3.883165 | 0.016852 | 0.052457 | 0.035344 | 0.071091 | 0.974029 | 0.972731 | 0.970159 | 0.96611 | 0.964275 | 0.96215 | 0 | 0.044343 | 0.294608 | 80,086 | 2,194 | 79 | 36.502279 | 0.746973 | 0.073209 | 0 | 0.840025 | 0 | 0 | 0.065406 | 0 | 0 | 0 | 0 | 0 | 0.337157 | 1 | 0.003824 | false | 0 | 0.003187 | 0.000637 | 0.008286 | 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 |
5d86766633c6b1ee04d8d9426b4edf7e879f38ea | 5,853 | py | Python | userbot/plugins/phonecontrol.py | azizkziba/FridayUserbot | f77a692f74d1c2da2b6e7ee47f5eee7a9dd9e138 | [
"MIT"
] | 55 | 2019-07-13T15:57:54.000Z | 2021-09-20T16:50:42.000Z | userbot/plugins/phonecontrol.py | azizkziba/FridayUserbot | f77a692f74d1c2da2b6e7ee47f5eee7a9dd9e138 | [
"MIT"
] | 4 | 2020-11-07T07:39:51.000Z | 2020-11-10T03:46:41.000Z | userbot/plugins/phonecontrol.py | azizkziba/FridayUserbot | f77a692f74d1c2da2b6e7ee47f5eee7a9dd9e138 | [
"MIT"
] | 450 | 2019-07-12T13:18:41.000Z | 2022-03-29T18:47:42.000Z | #New Qoute module by @r4v4n4 😉
import datetime
import asyncio
from telethon import events
from telethon.errors.rpcerrorlist import YouBlockedUserError
from telethon.tl.functions.account import UpdateNotifySettingsRequest
from uniborg.util import admin_cmd
@borg.on(admin_cmd(pattern="battery ?(.*)", allow_sudo=True))... | 35.047904 | 117 | 0.63335 | 696 | 5,853 | 5.191092 | 0.139368 | 0.09964 | 0.083033 | 0.066427 | 0.92444 | 0.918627 | 0.918627 | 0.918627 | 0.918627 | 0.918627 | 0 | 0.009954 | 0.261917 | 5,853 | 166 | 118 | 35.259036 | 0.825926 | 0.004955 | 0 | 0.892308 | 0 | 0 | 0.166609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046154 | 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 |
5daa7bf73ff2f9d3fc6260f0ef2a334609c90922 | 4,334 | py | Python | labour_welfare/labour_welfare/labour_welfare_api.py | sumitkamboj2/labour_welfare | 5e049021f2cbbc9a0ed2dac7319eb076e1db4abf | [
"MIT"
] | null | null | null | labour_welfare/labour_welfare/labour_welfare_api.py | sumitkamboj2/labour_welfare | 5e049021f2cbbc9a0ed2dac7319eb076e1db4abf | [
"MIT"
] | null | null | null | labour_welfare/labour_welfare/labour_welfare_api.py | sumitkamboj2/labour_welfare | 5e049021f2cbbc9a0ed2dac7319eb076e1db4abf | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
import frappe
import time
from frappe.utils import flt, now_datetime, cstr, add_to_date, date_diff, nowdate, add_days, getdate
from frappe import _
import requests
import json
import tempfile
@frappe.whitelist()
def labour_welfare(data=None):
data = json.loads(data)
if data.... | 43.34 | 129 | 0.772958 | 674 | 4,334 | 4.664688 | 0.179525 | 0.146947 | 0.041985 | 0.038168 | 0.833015 | 0.833015 | 0.833015 | 0.833015 | 0.812659 | 0.812659 | 0 | 0.000506 | 0.08791 | 4,334 | 99 | 130 | 43.777778 | 0.792816 | 0 | 0 | 0.760417 | 0 | 0 | 0.244634 | 0.015924 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010417 | false | 0.020833 | 0.083333 | 0 | 0.104167 | 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 |
5dae31c4c1525f0c11466f08cfb3eef482176b4e | 1,165 | py | Python | Curso de Cisco/Actividades/Act 3 - Modulo 2.py | tomasfriz/Curso-de-Cisco | a50ee5fa96bd86d468403e29ccdc3565a181af60 | [
"MIT"
] | null | null | null | Curso de Cisco/Actividades/Act 3 - Modulo 2.py | tomasfriz/Curso-de-Cisco | a50ee5fa96bd86d468403e29ccdc3565a181af60 | [
"MIT"
] | null | null | null | Curso de Cisco/Actividades/Act 3 - Modulo 2.py | tomasfriz/Curso-de-Cisco | a50ee5fa96bd86d468403e29ccdc3565a181af60 | [
"MIT"
] | null | null | null | print("version original:")
print(" *")
print(" * *")
print(" * *")
print(" * *")
print("*** ***")
print(" * *")
print(" * *")
print(" *****")
print("con menos invocaciones de 'print()': ")
print(" *\n * *\n * *\n * *\n*** ***")
print(" * *\n * *\n *****")
print("mas alto:"... | 21.981132 | 52 | 0.262661 | 79 | 1,165 | 3.886076 | 0.164557 | 0.814332 | 1.074919 | 1.302932 | 0.736156 | 0.736156 | 0.736156 | 0.736156 | 0.736156 | 0.589577 | 0 | 0.024353 | 0.436052 | 1,165 | 53 | 53 | 21.981132 | 0.4414 | 0 | 0 | 0.717391 | 0 | 0 | 0.571674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
5dc79c21e3135d742a354458e1e14dc27ce4753c | 63 | py | Python | tests/tests_rash.py | gabrielmontagne/rash | ce9acd3d2e616797e2a43a5ee500cb3161dc9b2c | [
"MIT"
] | null | null | null | tests/tests_rash.py | gabrielmontagne/rash | ce9acd3d2e616797e2a43a5ee500cb3161dc9b2c | [
"MIT"
] | null | null | null | tests/tests_rash.py | gabrielmontagne/rash | ce9acd3d2e616797e2a43a5ee500cb3161dc9b2c | [
"MIT"
] | null | null | null | from context import rash
def test_fail(): assert False, 'x_x'
| 15.75 | 36 | 0.746032 | 11 | 63 | 4.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 63 | 3 | 37 | 21 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5df4ce47ae6a5b513e87300d1ce51bb17d68d140 | 153 | py | Python | src/dnn/__init__.py | iki-taichi/tf-keras-transformer | 613122705583c0274b0c9be0993f3bbeb240932d | [
"MIT"
] | 5 | 2019-08-03T07:56:30.000Z | 2020-07-04T09:00:23.000Z | src/dnn/__init__.py | iki-taichi/tf-keras-transformer | 613122705583c0274b0c9be0993f3bbeb240932d | [
"MIT"
] | 1 | 2019-10-15T16:50:11.000Z | 2019-10-15T16:50:11.000Z | src/dnn/__init__.py | iki-taichi/tf-keras-transformer | 613122705583c0274b0c9be0993f3bbeb240932d | [
"MIT"
] | 4 | 2019-06-15T03:13:47.000Z | 2020-08-03T09:04:14.000Z | # coding:utf-8
from .transformer_model import get_transformer_model
from .transformer_model import get_custom_objects as get_transformer_custom_objects
| 30.6 | 83 | 0.882353 | 22 | 153 | 5.727273 | 0.5 | 0.380952 | 0.31746 | 0.412698 | 0.460317 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.084967 | 153 | 4 | 84 | 38.25 | 0.892857 | 0.078431 | 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 |
f8ece79b244194919e0864e7c2324334358da35b | 88 | py | Python | uniflex_module_simple/__init__.py | tkn-tub/module_simple | 79a79042046f5cf6ff0e27fde3136dae2cfb73d7 | [
"MIT"
] | null | null | null | uniflex_module_simple/__init__.py | tkn-tub/module_simple | 79a79042046f5cf6ff0e27fde3136dae2cfb73d7 | [
"MIT"
] | null | null | null | uniflex_module_simple/__init__.py | tkn-tub/module_simple | 79a79042046f5cf6ff0e27fde3136dae2cfb73d7 | [
"MIT"
] | 1 | 2019-11-02T20:31:51.000Z | 2019-11-02T20:31:51.000Z | from .module_simple import *
from .module_simple2 import *
from .module_simple3 import * | 29.333333 | 29 | 0.806818 | 12 | 88 | 5.666667 | 0.5 | 0.441176 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.125 | 88 | 3 | 30 | 29.333333 | 0.857143 | 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 |
5d3b1c919418e12d1019e13bad2516b484b70abb | 5,276 | py | Python | tests/misc/test_report_tools.py | wiheto/fmridenoise | cc544264806418618861f0ee93fff71a0fa83eca | [
"Apache-2.0"
] | null | null | null | tests/misc/test_report_tools.py | wiheto/fmridenoise | cc544264806418618861f0ee93fff71a0fa83eca | [
"Apache-2.0"
] | null | null | null | tests/misc/test_report_tools.py | wiheto/fmridenoise | cc544264806418618861f0ee93fff71a0fa83eca | [
"Apache-2.0"
] | null | null | null | import unittest as ut
from fmridenoise.pipelines import get_pipeline_path
from fmridenoise.utils.utils import load_pipeline_from_json
from fmridenoise.utils.report import get_pipeline_summary, YES, NO, NA
class TestPipelineSummary(ut.TestCase):
def test_pipeline_1(self):
pipeline = load_pipeline_from_json... | 53.292929 | 98 | 0.569939 | 516 | 5,276 | 5.75 | 0.104651 | 0.273003 | 0.418605 | 0.157735 | 0.909673 | 0.909673 | 0.909673 | 0.909673 | 0.908662 | 0.908662 | 0 | 0.002676 | 0.291698 | 5,276 | 99 | 99 | 53.292929 | 0.791276 | 0 | 0 | 0.884211 | 0 | 0 | 0.168656 | 0.016866 | 0 | 0 | 0 | 0 | 0.568421 | 1 | 0.031579 | false | 0 | 0.042105 | 0 | 0.084211 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
5d4585f7a0af953934272c0731a2290cdc5e0ebe | 82 | py | Python | src/dao/__init__.py | devs-7/bible-projector-python | a62b95bdc0c655ba04adf3b47197c562e09468b9 | [
"Apache-2.0"
] | null | null | null | src/dao/__init__.py | devs-7/bible-projector-python | a62b95bdc0c655ba04adf3b47197c562e09468b9 | [
"Apache-2.0"
] | null | null | null | src/dao/__init__.py | devs-7/bible-projector-python | a62b95bdc0c655ba04adf3b47197c562e09468b9 | [
"Apache-2.0"
] | null | null | null | from src.dao.verse_dao import VerseDAO
from src.dao.version_dao import VersionDAO
| 27.333333 | 42 | 0.853659 | 14 | 82 | 4.857143 | 0.571429 | 0.205882 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 82 | 2 | 43 | 41 | 0.918919 | 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 |
538cf9e9a61e31a69a2f84a248196241d27b18e8 | 1,715 | py | Python | testpro1/website1/models.py | dongkakika/OXS | 95166365fb5e35155af3b8de6859ec87f3d9ca78 | [
"MIT"
] | 4 | 2020-04-22T08:42:01.000Z | 2021-07-31T19:28:51.000Z | testpro1/website1/models.py | dongkakika/OXS | 95166365fb5e35155af3b8de6859ec87f3d9ca78 | [
"MIT"
] | null | null | null | testpro1/website1/models.py | dongkakika/OXS | 95166365fb5e35155af3b8de6859ec87f3d9ca78 | [
"MIT"
] | null | null | null | from django.db import models
from django.utils import timezone
# Create your models here.
# 내가 원하는 자료의 형태를 클래스로 정의하기(단일 자료의 형태)
class UserInfo(models.Model):
username=models.CharField(max_length=20)
userid=models.CharField(max_length=20)
userpw=models.CharField(max_length=20)
class sw_info(models.Model):... | 32.980769 | 44 | 0.737026 | 248 | 1,715 | 4.943548 | 0.177419 | 0.379282 | 0.455139 | 0.606852 | 0.8646 | 0.800979 | 0.800979 | 0.800979 | 0.800979 | 0.800979 | 0 | 0.047325 | 0.149854 | 1,715 | 52 | 45 | 32.980769 | 0.793553 | 0.034985 | 0 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04878 | 0 | 1 | 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 | 1 | 0 | 0 | 10 |
53c27e50b5fbe6291fe52e1a7f1c9dff6faf4d24 | 115 | py | Python | spikeforest/spikeforestwidgets/featurespacewidget/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | 1 | 2021-09-23T01:07:19.000Z | 2021-09-23T01:07:19.000Z | spikeforest/spikeforestwidgets/featurespacewidget/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | null | null | null | spikeforest/spikeforestwidgets/featurespacewidget/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | 1 | 2021-09-23T01:07:21.000Z | 2021-09-23T01:07:21.000Z | from .featurespacewidget import FeatureSpaceWidget
from .featurespacewidget_plotly import FeatureSpaceWidgetPlotly
| 38.333333 | 63 | 0.913043 | 9 | 115 | 11.555556 | 0.555556 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 115 | 2 | 64 | 57.5 | 0.971963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
53dca1aae52b14118f6e338e001590730da7a786 | 335 | py | Python | jlf_stats/exceptions.py | worldofchris/jlf | 9f80a4e17ffa9fab33bd2bd0ee68d0e260e9c68c | [
"BSD-2-Clause"
] | 14 | 2015-01-10T03:02:08.000Z | 2019-01-09T10:58:44.000Z | jlf_stats/exceptions.py | worldofchris/jlf | 9f80a4e17ffa9fab33bd2bd0ee68d0e260e9c68c | [
"BSD-2-Clause"
] | 1 | 2015-09-07T20:23:52.000Z | 2015-11-01T21:32:35.000Z | jlf_stats/exceptions.py | worldofchris/jlf | 9f80a4e17ffa9fab33bd2bd0ee68d0e260e9c68c | [
"BSD-2-Clause"
] | 5 | 2015-07-06T11:01:05.000Z | 2020-01-16T12:01:23.000Z | class MissingState(Exception):
def __init__(self, expr, msg):
self.expr = expr
self.msg = msg
def __str__(self):
return self.msg
class MissingConfigItem(Exception):
def __init__(self, expr, msg):
self.expr = expr
self.msg = msg
def __str__(self):
r... | 15.952381 | 35 | 0.59403 | 40 | 335 | 4.575 | 0.275 | 0.174863 | 0.174863 | 0.218579 | 0.786885 | 0.786885 | 0.786885 | 0.786885 | 0.786885 | 0.786885 | 0 | 0 | 0.310448 | 335 | 20 | 36 | 16.75 | 0.792208 | 0 | 0 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 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 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
53e91bae8daa0af1c1f71bce3b416346576007b3 | 184,856 | py | Python | sdk/deviceupdate/azure-iot-deviceupdate/azure/iot/deviceupdate/aio/operations/_operations.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 1 | 2022-03-09T08:59:13.000Z | 2022-03-09T08:59:13.000Z | sdk/deviceupdate/azure-iot-deviceupdate/azure/iot/deviceupdate/aio/operations/_operations.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | null | null | null | sdk/deviceupdate/azure-iot-deviceupdate/azure/iot/deviceupdate/aio/operations/_operations.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 1 | 2022-03-04T06:21:56.000Z | 2022-03-04T06:21:56.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 45.904147 | 2,130 | 0.580906 | 18,308 | 184,856 | 5.677846 | 0.032008 | 0.031938 | 0.02632 | 0.019432 | 0.952881 | 0.945512 | 0.933747 | 0.919875 | 0.904993 | 0.886118 | 0 | 0.013646 | 0.329245 | 184,856 | 4,026 | 2,131 | 45.915549 | 0.824708 | 0.169797 | 0 | 0.826541 | 0 | 0.000497 | 0.081477 | 0.045582 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01839 | false | 0 | 0.016899 | 0 | 0.095924 | 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 |
990993aeb160cf81cc19fc259d35d391c6f0cb81 | 5,662 | py | Python | ksteta3pi/PotentialBackgrounds/MC_12_13104411_MagUp.py.py | Williams224/davinci-scripts | 730642d2ff13543eca4073a4ce0932631195de56 | [
"MIT"
] | null | null | null | ksteta3pi/PotentialBackgrounds/MC_12_13104411_MagUp.py.py | Williams224/davinci-scripts | 730642d2ff13543eca4073a4ce0932631195de56 | [
"MIT"
] | null | null | null | ksteta3pi/PotentialBackgrounds/MC_12_13104411_MagUp.py.py | Williams224/davinci-scripts | 730642d2ff13543eca4073a4ce0932631195de56 | [
"MIT"
] | null | null | null | #-- GAUDI jobOptions generated on Fri Jul 24 17:22:37 2015
#-- Contains event types :
#-- 13104411 - 34 files - 508996 events - 112.67 GBytes
#-- Extra information about the data processing phases:
#-- Processing Pass Step-124620
#-- StepId : 124620
#-- StepName : Digi13 with G4 dE/dx
#-- ApplicationNam... | 51.472727 | 247 | 0.775874 | 728 | 5,662 | 5.936813 | 0.222527 | 0.204535 | 0.070801 | 0.102267 | 0.599722 | 0.599722 | 0.599722 | 0.599722 | 0.588616 | 0.577973 | 0 | 0.26087 | 0.073826 | 5,662 | 109 | 248 | 51.944954 | 0.56331 | 0.447898 | 0 | 0 | 1 | 0.918919 | 0.898079 | 0.896776 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.054054 | 0 | 0.054054 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
075a55afd2bec6fbf875de3d14130a6ff24449e0 | 1,598 | py | Python | src/transformers/models/ltp/ltp_model_output.py | kssteven418/LTP | f1d5ec88aba913de5e2b4aa502af9cf0ab7bb13f | [
"Apache-2.0"
] | 34 | 2021-07-05T02:44:31.000Z | 2022-03-28T14:39:57.000Z | src/transformers/models/ltp/ltp_model_output.py | kssteven418/LTTP | f1d5ec88aba913de5e2b4aa502af9cf0ab7bb13f | [
"Apache-2.0"
] | 3 | 2021-07-22T15:49:44.000Z | 2022-03-19T08:46:27.000Z | src/transformers/models/ltp/ltp_model_output.py | kssteven418/LTTP | f1d5ec88aba913de5e2b4aa502af9cf0ab7bb13f | [
"Apache-2.0"
] | 6 | 2021-07-05T02:44:32.000Z | 2022-02-14T10:10:13.000Z | import torch
from dataclasses import dataclass
from transformers.file_utils import ModelOutput
from typing import Optional, Tuple, List
@dataclass
class LTPEncoderOutput(ModelOutput):
last_hidden_state: torch.FloatTensor = None
past_key_values: Optional[Tuple[Tuple[torch.FloatTensor]]] = None
hidden_state... | 42.052632 | 78 | 0.775344 | 181 | 1,598 | 6.696133 | 0.198895 | 0.277228 | 0.346535 | 0.206271 | 0.79538 | 0.79538 | 0.79538 | 0.735974 | 0.735974 | 0.735974 | 0 | 0 | 0.124531 | 1,598 | 37 | 79 | 43.189189 | 0.866333 | 0 | 0 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.129032 | 0 | 0.903226 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
075d75f0a140c65f524f00264705e4813f70a3f6 | 38,942 | py | Python | backend/Plan2Dance_backend/plan2dance/Plan2Dance/prepare/nao_actions_config.py | Dongbox/Plan2Dance_docker | 0d2f6f03cd514aafbd9e2f877c4a2f53b89cdcf8 | [
"Apache-2.0"
] | null | null | null | backend/Plan2Dance_backend/plan2dance/Plan2Dance/prepare/nao_actions_config.py | Dongbox/Plan2Dance_docker | 0d2f6f03cd514aafbd9e2f877c4a2f53b89cdcf8 | [
"Apache-2.0"
] | 4 | 2021-03-30T13:33:37.000Z | 2021-06-10T19:16:18.000Z | backend/Plan2Dance_backend/plan2dance/Plan2Dance/prepare/nao_actions_config.py | Dongbox/Plan2Dance_docker | 0d2f6f03cd514aafbd9e2f877c4a2f53b89cdcf8 | [
"Apache-2.0"
] | 2 | 2020-07-29T09:17:11.000Z | 2020-07-30T01:28:56.000Z | y_state = ['forward', 'centre', 'backward'] # 向前, 中间, 向后
z_state = ['stand', 'half-squat', 'squat'] # 站立, 半蹲, 全蹲
hand_state = ["chest", 'others'] # 手部在胸前, 其他位置
NaoActionsDefine = {
'abandon': {
'hand_right_use': True, # 执行过程用到右手
'hand_left_use': True, # 执行过程用到左手
'leg_right_use': True, ... | 32.532999 | 73 | 0.554543 | 4,979 | 38,942 | 3.858606 | 0.026511 | 0.106392 | 0.06194 | 0.106184 | 0.935509 | 0.935509 | 0.924474 | 0.924474 | 0.924474 | 0.924474 | 0 | 0.01851 | 0.292486 | 38,942 | 1,196 | 74 | 32.560201 | 0.678789 | 0.134919 | 0 | 0.845015 | 0 | 0 | 0.380841 | 0.001433 | 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 |
4ae05f4fe808c698237ebf6e3960ccd6135c1bd0 | 7,544 | py | Python | Boutique/DIOR.py | yangjun-ux/Boutique-crawling-Project | e880d9fde234c2ab336340f98430aa530c106661 | [
"MIT"
] | 1 | 2022-03-09T03:34:51.000Z | 2022-03-09T03:34:51.000Z | Boutique/DIOR.py | yangjun-ux/Boutique-crawling-Project | e880d9fde234c2ab336340f98430aa530c106661 | [
"MIT"
] | null | null | null | Boutique/DIOR.py | yangjun-ux/Boutique-crawling-Project | e880d9fde234c2ab336340f98430aa530c106661 | [
"MIT"
] | null | null | null | from bs4 import BeautifulSoup
from urllib.request import urlopen
from urllib.parse import urljoin
import urllib.request
import pandas as pd
# 디올 남성 의류
def dior_clothes():
url_base = 'https://www.dior.com/ko_kr'
url_sub = '/%EB%82%A8%EC%84%B1-%ED%8C%A8%EC%85%98/%EB%A0%88%EB%94%94-%ED%88%AC-%EC%9B%A8%EC%96%... | 36.269231 | 169 | 0.606575 | 1,155 | 7,544 | 3.863203 | 0.116017 | 0.04303 | 0.056477 | 0.051098 | 0.902958 | 0.866876 | 0.796056 | 0.796056 | 0.796056 | 0.766472 | 0 | 0.036737 | 0.198966 | 7,544 | 208 | 170 | 36.269231 | 0.700645 | 0.043081 | 0 | 0.729032 | 0 | 0.03871 | 0.277716 | 0.124479 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019355 | false | 0 | 0.032258 | 0 | 0.070968 | 0.03871 | 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 |
4afa13f31671f7baafff71a85bb32ab192cd700f | 209 | py | Python | autotesting/benchmarks_ground_truth/conv_pool_softmax.py | ualberta-smr/SOAR | 325a6ed2518088b9800299c81271db51b645816a | [
"BSD-3-Clause-Clear"
] | 8 | 2021-01-13T14:59:18.000Z | 2021-06-29T17:01:37.000Z | autotesting/benchmarks_ground_truth/conv_pool_softmax.py | squaresLab/SOAR | 72a35a4014d3e74548aab7d2a5cf1bdfaab149c1 | [
"BSD-3-Clause-Clear"
] | null | null | null | autotesting/benchmarks_ground_truth/conv_pool_softmax.py | squaresLab/SOAR | 72a35a4014d3e74548aab7d2a5cf1bdfaab149c1 | [
"BSD-3-Clause-Clear"
] | 2 | 2021-01-16T00:09:54.000Z | 2021-08-05T01:14:40.000Z | {'tf.keras.layers.Conv2D': ('torch.nn.Conv2d', 1), 'tf.keras.layers.MaxPool2D': ('torch.nn.MaxPool2d', 1), 'tf.keras.layers.Flatten': ('torch.flatten', 1), 'tf.keras.layers.Softmax': ('torch.nn.Softmax', 1)}
| 69.666667 | 207 | 0.669856 | 31 | 209 | 4.516129 | 0.322581 | 0.2 | 0.371429 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.062201 | 209 | 2 | 208 | 104.5 | 0.673469 | 0 | 0 | 0 | 0 | 0 | 0.745192 | 0.447115 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ab02eefb3e853b7772dac4116a31f54be52a3626 | 12,762 | py | Python | python/pycarbon/test/test_read_write_carbon.py | ydvpankaj99/carbondata | 1613ed9f94a727fcb453320858e3b59b3d832995 | [
"Apache-2.0"
] | 1 | 2020-02-14T17:21:39.000Z | 2020-02-14T17:21:39.000Z | python/pycarbon/test/test_read_write_carbon.py | ydvpankaj99/carbondata | 1613ed9f94a727fcb453320858e3b59b3d832995 | [
"Apache-2.0"
] | null | null | null | python/pycarbon/test/test_read_write_carbon.py | ydvpankaj99/carbondata | 1613ed9f94a727fcb453320858e3b59b3d832995 | [
"Apache-2.0"
] | 1 | 2020-09-15T10:22:10.000Z | 2020-09-15T10:22:10.000Z | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | 27.211087 | 112 | 0.665413 | 1,596 | 12,762 | 5.20614 | 0.125313 | 0.048141 | 0.045011 | 0.026959 | 0.850524 | 0.842219 | 0.821519 | 0.81514 | 0.81514 | 0.806716 | 0 | 0.016543 | 0.194797 | 12,762 | 468 | 113 | 27.269231 | 0.79204 | 0.06057 | 0 | 0.883721 | 0 | 0.011628 | 0.127955 | 0.081934 | 0 | 0 | 0 | 0.002137 | 0.026163 | 1 | 0.020349 | false | 0 | 0.06686 | 0 | 0.087209 | 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 |
ab034504d5fe58897e15783866c79a155a0730b3 | 58 | py | Python | test/example/__init__.py | minhtuan221/cython-npm | ea6e2c9910800ffc12f8d8cfc5d39ad8198ef87c | [
"MIT"
] | 6 | 2018-03-01T04:25:41.000Z | 2019-10-21T03:39:11.000Z | test/example/__init__.py | minhtuan221/cython-npm | ea6e2c9910800ffc12f8d8cfc5d39ad8198ef87c | [
"MIT"
] | null | null | null | test/example/__init__.py | minhtuan221/cython-npm | ea6e2c9910800ffc12f8d8cfc5d39ad8198ef87c | [
"MIT"
] | 1 | 2019-04-26T10:43:49.000Z | 2019-04-26T10:43:49.000Z | from example import hello
from example import secondapp
| 19.333333 | 30 | 0.827586 | 8 | 58 | 6 | 0.625 | 0.458333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 58 | 2 | 31 | 29 | 1 | 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 |
ab169e74d6c4f62985a713c88955e5789ac6e446 | 70 | py | Python | models/sfnet_module/__init__.py | synml/face-parsing-pytorch | c0d8aad8ec0a72d65abf04a826b0a15ef1125a49 | [
"MIT"
] | null | null | null | models/sfnet_module/__init__.py | synml/face-parsing-pytorch | c0d8aad8ec0a72d65abf04a826b0a15ef1125a49 | [
"MIT"
] | null | null | null | models/sfnet_module/__init__.py | synml/face-parsing-pytorch | c0d8aad8ec0a72d65abf04a826b0a15ef1125a49 | [
"MIT"
] | null | null | null | import models.sfnet_module.module
import models.sfnet_module.resnet_d
| 23.333333 | 35 | 0.885714 | 11 | 70 | 5.363636 | 0.545455 | 0.40678 | 0.576271 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 70 | 2 | 36 | 35 | 0.893939 | 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 |
ab312c87312660984095bcfb102bd996d552ce09 | 56,511 | py | Python | sdk/python/pulumi_oci/loganalytics/log_analytics_object_collection_rule.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/loganalytics/log_analytics_object_collection_rule.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/loganalytics/log_analytics_object_collection_rule.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.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... | 53.871306 | 387 | 0.682841 | 6,847 | 56,511 | 5.437418 | 0.044545 | 0.07357 | 0.073328 | 0.067956 | 0.931829 | 0.918587 | 0.9083 | 0.89769 | 0.889713 | 0.863873 | 0 | 0.002816 | 0.220807 | 56,511 | 1,048 | 388 | 53.92271 | 0.842686 | 0.429792 | 0 | 0.758794 | 1 | 0 | 0.114822 | 0.021097 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165829 | false | 0.001675 | 0.011725 | 0 | 0.278057 | 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 |
ab3bfe87ba29cd8bd568c0ed7a4c30de7506529a | 229 | py | Python | mdb_stream_recorder/__init__.py | wpeisker/streamrec | 89342bb6f9ea62dcb467794f8f5b56fab909b42b | [
"MIT"
] | null | null | null | mdb_stream_recorder/__init__.py | wpeisker/streamrec | 89342bb6f9ea62dcb467794f8f5b56fab909b42b | [
"MIT"
] | null | null | null | mdb_stream_recorder/__init__.py | wpeisker/streamrec | 89342bb6f9ea62dcb467794f8f5b56fab909b42b | [
"MIT"
] | null | null | null | # mdb_stream_recorder/__init__.py
from mdb_stream_recorder.recorder_modbus import *
from mdb_stream_recorder.recorder_csv import *
from mdb_stream_recorder.recorder_visualization import *
from mdb_stream_recorder.config import * | 38.166667 | 56 | 0.873362 | 32 | 229 | 5.71875 | 0.34375 | 0.245902 | 0.464481 | 0.459016 | 0.688525 | 0.382514 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078603 | 229 | 6 | 57 | 38.166667 | 0.867299 | 0.135371 | 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 |
db6e4aac7df2b1f0adb6c984b4daa71d0683cf7a | 139,056 | py | Python | UFOs/Type-FL/2HDM_CPC_Type-FL_NLO_cba_UFO/decays.py | ycwu1030/2HDM_FR | 599490fd785cb67e3e4ffad1fa7536906ac8bcd5 | [
"MIT"
] | 1 | 2019-09-04T01:44:29.000Z | 2019-09-04T01:44:29.000Z | UFOs/Type-FL/2HDM_CPC_Type-FL_NLO_cba_UFO/decays.py | ycwu1030/2HDM_FR | 599490fd785cb67e3e4ffad1fa7536906ac8bcd5 | [
"MIT"
] | null | null | null | UFOs/Type-FL/2HDM_CPC_Type-FL_NLO_cba_UFO/decays.py | ycwu1030/2HDM_FR | 599490fd785cb67e3e4ffad1fa7536906ac8bcd5 | [
"MIT"
] | null | null | null | # This file was automatically created by FeynRules 2.3.36
# Mathematica version: 11.3.0 for Mac OS X x86 (64-bit) (March 7, 2018)
# Date: Fri 13 Aug 2021 16:39:38
from object_library import all_decays, Decay
import particles as P
Decay_b = Decay(name = 'Decay_b',
particle = P.b,
part... | 1,337.076923 | 23,997 | 0.497656 | 36,679 | 139,056 | 1.87696 | 0.00458 | 0.124802 | 0.044738 | 0.046946 | 0.984342 | 0.977268 | 0.962713 | 0.942291 | 0.913487 | 0.88461 | 0 | 0.167979 | 0.061414 | 139,056 | 103 | 23,998 | 1,350.058252 | 0.359504 | 0.001122 | 0 | 0 | 0 | 0.770115 | 0.965614 | 0.891616 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022989 | 0 | 0.022989 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
916ba4220d31d5cbd15989d19ce09d2d7da80bf0 | 190 | py | Python | String/strip-method.py | manish1822510059/Python-1000-program | d03c1920fe63a7e32ac5bd9a13e2766d7a25756c | [
"Apache-2.0"
] | 1 | 2021-03-06T03:33:42.000Z | 2021-03-06T03:33:42.000Z | String/strip-method.py | manish1822510059/Python-1000-programs | d03c1920fe63a7e32ac5bd9a13e2766d7a25756c | [
"Apache-2.0"
] | null | null | null | String/strip-method.py | manish1822510059/Python-1000-programs | d03c1920fe63a7e32ac5bd9a13e2766d7a25756c | [
"Apache-2.0"
] | null | null | null |
# name = input("Enter your name ?").strip()
# print(len(name))
# print(name)
print(" hello python world".strip())
print(" hello python world ".rstrip()) | 23.75 | 54 | 0.531579 | 21 | 190 | 4.809524 | 0.52381 | 0.19802 | 0.316832 | 0.415842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 190 | 8 | 54 | 23.75 | 0.759399 | 0.368421 | 0 | 0 | 0 | 0 | 0.62037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
919deb2fe4e595a65a9264d6dde542d0a5a20f28 | 110 | py | Python | Python/Mundo01/teste/teste5.py | eStev4m/CursoPython | 8b52a618e67c80d66518ef91c1d4596a2bfddc22 | [
"MIT"
] | null | null | null | Python/Mundo01/teste/teste5.py | eStev4m/CursoPython | 8b52a618e67c80d66518ef91c1d4596a2bfddc22 | [
"MIT"
] | null | null | null | Python/Mundo01/teste/teste5.py | eStev4m/CursoPython | 8b52a618e67c80d66518ef91c1d4596a2bfddc22 | [
"MIT"
] | null | null | null | frase = 'Curso em Vídeo Python'
print(frase[1:15:3])
frase = 'Curso em Vídeo Python'
print(frase.count('o'))
| 18.333333 | 31 | 0.690909 | 19 | 110 | 4 | 0.578947 | 0.263158 | 0.315789 | 0.447368 | 0.868421 | 0.868421 | 0.868421 | 0 | 0 | 0 | 0 | 0.042105 | 0.136364 | 110 | 5 | 32 | 22 | 0.757895 | 0 | 0 | 0.5 | 0 | 0 | 0.390909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
91cf0d1e7cdda7dc1a7540c525e1f2ce0b57d09a | 12,070 | py | Python | Codigos/NYT/NYT 2013.py | rafgui12/Newspaper-Library | 96de4f91a25fa06e7bfb8b8f5981b032fb7b8bf8 | [
"Unlicense"
] | null | null | null | Codigos/NYT/NYT 2013.py | rafgui12/Newspaper-Library | 96de4f91a25fa06e7bfb8b8f5981b032fb7b8bf8 | [
"Unlicense"
] | null | null | null | Codigos/NYT/NYT 2013.py | rafgui12/Newspaper-Library | 96de4f91a25fa06e7bfb8b8f5981b032fb7b8bf8 | [
"Unlicense"
] | null | null | null | # importing the requests library
import requests
import numpy as np
import os
import time
# Cadenas de Pais Y Palabras
country = ["Colombia","Canada","Cuba","China","Cameroon","Cambodia","Costa Rica","Croatia","Czech Republic","Argentina"]
country2 = ["Afghanistan","Australia","Algeria","Austria","Brazil","Bolivia"... | 35.816024 | 137 | 0.509445 | 1,209 | 12,070 | 5.067825 | 0.181969 | 0.070508 | 0.09401 | 0.117513 | 0.801371 | 0.801371 | 0.801371 | 0.801371 | 0.801371 | 0.801371 | 0 | 0.012279 | 0.251036 | 12,070 | 337 | 138 | 35.816024 | 0.665487 | 0.236703 | 0 | 0.804469 | 0 | 0.027933 | 0.227514 | 0.036382 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022346 | 0 | 0.022346 | 0.156425 | 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 |
91ee36c312eecf4b748cf43cb9e4b139cd06f8cf | 11,014 | py | Python | integration/core/test_replica.py | lazerdye/longhorn-engine | f0437554c642590c1ecc7ab7c1ba467f7cbd5069 | [
"Apache-2.0"
] | null | null | null | integration/core/test_replica.py | lazerdye/longhorn-engine | f0437554c642590c1ecc7ab7c1ba467f7cbd5069 | [
"Apache-2.0"
] | null | null | null | integration/core/test_replica.py | lazerdye/longhorn-engine | f0437554c642590c1ecc7ab7c1ba467f7cbd5069 | [
"Apache-2.0"
] | null | null | null | import time
import random
import datetime
import grpc
import pytest
from common.constants import SIZE_STR
@pytest.fixture
def random_str():
return 'random-{0}-{1}'.format(random_num(), int(time.time()))
def random_num():
return random.randint(0, 1000000)
def test_create(grpc_replica_client): # NOQA
... | 33.274924 | 76 | 0.671963 | 1,572 | 11,014 | 4.552163 | 0.056616 | 0.140861 | 0.15204 | 0.134153 | 0.941448 | 0.933902 | 0.926076 | 0.90749 | 0.858999 | 0.843767 | 0 | 0.044185 | 0.190394 | 11,014 | 330 | 77 | 33.375758 | 0.758327 | 0.005448 | 0 | 0.807547 | 0 | 0 | 0.176019 | 0 | 0 | 0 | 0 | 0 | 0.649057 | 1 | 0.045283 | false | 0 | 0.022642 | 0.007547 | 0.075472 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7276252732cd77e205a015a461f9afd94152ff6a | 3,339 | py | Python | Heap/heap_implementation.py | liu-yunpeng/algorithms | 1bbe34b4a3d2f090007faec25220ac8535213da7 | [
"MIT"
] | 3 | 2021-04-24T01:20:27.000Z | 2021-04-24T20:39:27.000Z | Heap/heap_implementation.py | liu-yunpeng/algorithms | 1bbe34b4a3d2f090007faec25220ac8535213da7 | [
"MIT"
] | null | null | null | Heap/heap_implementation.py | liu-yunpeng/algorithms | 1bbe34b4a3d2f090007faec25220ac8535213da7 | [
"MIT"
] | null | null | null |
class Heap(object):
def __init__(self, array = []):
self.array = array
def insert(self, value):
pass
class Min_Heap(Heap):
def __init__(self, array):
super().__init__(array)
def insert(self, value):
self.array.append(value)
pos = len(... | 34.071429 | 97 | 0.465109 | 395 | 3,339 | 3.840506 | 0.078481 | 0.45089 | 0.189848 | 0.168754 | 0.945946 | 0.930784 | 0.930784 | 0.930784 | 0.930784 | 0.930784 | 0 | 0.019437 | 0.414495 | 3,339 | 98 | 98 | 34.071429 | 0.756522 | 0.013477 | 0 | 0.797468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101266 | false | 0.012658 | 0 | 0 | 0.189873 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 10 |
72812ba39571213609c33dd3ba455b804bf2b6a9 | 12,112 | py | Python | my/bert_codertimo_pytorch/trainer/pretrain.py | notyetend/annotated-transformer | 9c4fdbbbc5ab4d3bff931b540be5f1d811de3ea0 | [
"MIT"
] | null | null | null | my/bert_codertimo_pytorch/trainer/pretrain.py | notyetend/annotated-transformer | 9c4fdbbbc5ab4d3bff931b540be5f1d811de3ea0 | [
"MIT"
] | null | null | null | my/bert_codertimo_pytorch/trainer/pretrain.py | notyetend/annotated-transformer | 9c4fdbbbc5ab4d3bff931b540be5f1d811de3ea0 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from torch.optim import Adam
from torch.utils.data import DataLoader
from ..model import BERTLM, BERT, CustomBERTLM, CustomBERT
from .optim_schedule import ScheduledOptim
import tqdm
class BERTTrainer:
"""
BERTTrainer make the pretrained BERT model with two LM training met... | 38.573248 | 110 | 0.607662 | 1,567 | 12,112 | 4.529675 | 0.146139 | 0.022542 | 0.014652 | 0.018033 | 0.881375 | 0.865314 | 0.865314 | 0.865314 | 0.85517 | 0.843618 | 0 | 0.01229 | 0.301354 | 12,112 | 313 | 111 | 38.696486 | 0.826519 | 0.340571 | 0 | 0.707483 | 0 | 0 | 0.061331 | 0.006681 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068027 | false | 0 | 0.047619 | 0 | 0.142857 | 0.061224 | 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 |
72c440770b42821019dc1b4dcf4192f36579822d | 178 | py | Python | agents/random_agent.py | renatopp/marioai | 2f53e79cb99ab399a9a7d98a71999139ed06b2fc | [
"MIT"
] | 3 | 2015-11-12T23:38:16.000Z | 2019-10-01T23:50:52.000Z | agents/random_agent.py | Behery/marioai | adbe1625e9acad55dde057a8df3cb2a7036f7eff | [
"MIT"
] | null | null | null | agents/random_agent.py | Behery/marioai | adbe1625e9acad55dde057a8df3cb2a7036f7eff | [
"MIT"
] | 6 | 2016-07-20T01:59:57.000Z | 2021-07-05T05:53:41.000Z | import random
import marioai
__all__ = ['RandomAgent']
class RandomAgent(marioai.Agent):
def act(self):
return [0, 1, 0, random.randint(0, 1), random.randint(0, 1)] | 22.25 | 68 | 0.674157 | 25 | 178 | 4.64 | 0.56 | 0.051724 | 0.241379 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047945 | 0.179775 | 178 | 8 | 68 | 22.25 | 0.746575 | 0 | 0 | 0 | 0 | 0 | 0.061453 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
72caa83016e5ec1d4153f4ac5b823d2f7956f6d2 | 2,113 | py | Python | tests/conftest.py | eyllanesc/mkdocs-static-i18n | 283f9a080603904a581370bdae01d517977c9b51 | [
"MIT"
] | null | null | null | tests/conftest.py | eyllanesc/mkdocs-static-i18n | 283f9a080603904a581370bdae01d517977c9b51 | [
"MIT"
] | null | null | null | tests/conftest.py | eyllanesc/mkdocs-static-i18n | 283f9a080603904a581370bdae01d517977c9b51 | [
"MIT"
] | null | null | null | import tempfile
import pytest
from mkdocs.config.base import load_config
@pytest.fixture
def config_base():
with tempfile.TemporaryDirectory(prefix="mkdocs_tests_") as site_dir:
return load_config(
"tests/mkdocs_base.yml", docs_dir="../docs/", site_dir=site_dir
)
@pytest.fixture
def... | 28.173333 | 86 | 0.675343 | 259 | 2,113 | 5.135135 | 0.11583 | 0.126316 | 0.096241 | 0.132331 | 0.875188 | 0.852632 | 0.852632 | 0.852632 | 0.852632 | 0.827068 | 0 | 0.007246 | 0.21628 | 2,113 | 74 | 87 | 28.554054 | 0.795894 | 0 | 0 | 0.526316 | 0 | 0 | 0.194983 | 0.115476 | 0 | 0 | 0 | 0 | 0 | 1 | 0.140351 | true | 0 | 0.052632 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f400de2c3646dc0b64ad46147c3bcbe27d91925c | 20,168 | py | Python | demisto_sdk/commands/lint/tests/test_linter/os_runner_test.py | sturmianseq/demisto-sdk | 67ce7ee70ccd557d661e03a60469301c5cbcb9c0 | [
"MIT"
] | 42 | 2019-11-07T13:02:00.000Z | 2022-03-29T03:39:04.000Z | demisto_sdk/commands/lint/tests/test_linter/os_runner_test.py | sturmianseq/demisto-sdk | 67ce7ee70ccd557d661e03a60469301c5cbcb9c0 | [
"MIT"
] | 1,437 | 2019-11-07T13:02:25.000Z | 2022-03-31T12:48:11.000Z | demisto_sdk/commands/lint/tests/test_linter/os_runner_test.py | sturmianseq/demisto-sdk | 67ce7ee70ccd557d661e03a60469301c5cbcb9c0 | [
"MIT"
] | 46 | 2019-12-09T21:44:30.000Z | 2022-03-24T17:36:45.000Z | from pathlib import Path
from typing import List
import pytest
from demisto_sdk.commands.lint.linter import Linter
class TestFlake8:
def test_run_flake8_success(self, linter_obj: Linter, lint_files: List[Path], mocker):
from demisto_sdk.commands.lint import linter
mocker.patch.object(linter, 'r... | 47.791469 | 117 | 0.637247 | 2,548 | 20,168 | 4.653846 | 0.048273 | 0.11916 | 0.104233 | 0.081464 | 0.947968 | 0.940799 | 0.925367 | 0.910778 | 0.904115 | 0.88902 | 0 | 0.012477 | 0.260859 | 20,168 | 421 | 118 | 47.904988 | 0.782988 | 0.034213 | 0 | 0.832827 | 0 | 0 | 0.131136 | 0.009952 | 0 | 0 | 0 | 0 | 0.240122 | 1 | 0.054711 | false | 0 | 0.06079 | 0 | 0.130699 | 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 |
f411343b7e6e8370dcb8d20879f56341dfdb0412 | 2,730 | py | Python | tests/test_set.py | koodaa-team/redis-natives-py | dbe3ee65527a7a1b0b1dc35ae968588635732718 | [
"MIT"
] | 1 | 2022-02-17T20:02:51.000Z | 2022-02-17T20:02:51.000Z | tests/test_set.py | koodaa-team/redis-natives-py | dbe3ee65527a7a1b0b1dc35ae968588635732718 | [
"MIT"
] | null | null | null | tests/test_set.py | koodaa-team/redis-natives-py | dbe3ee65527a7a1b0b1dc35ae968588635732718 | [
"MIT"
] | null | null | null | from tests import SetTestCase, IntegerSetTestCase
class TestSet(SetTestCase):
def test_length_initially_zero(self):
assert len(self.set) == 0
def test_add_value_increases_length(self):
self.set.add(1)
assert len(self.set) == 1
def test_add_saves_values_in_redis(self):
sel... | 25.754717 | 60 | 0.59011 | 407 | 2,730 | 3.813268 | 0.110565 | 0.216495 | 0.141753 | 0.171392 | 0.847938 | 0.820876 | 0.743557 | 0.690077 | 0.666881 | 0.606314 | 0 | 0.024873 | 0.278388 | 2,730 | 105 | 61 | 26 | 0.762944 | 0 | 0 | 0.679012 | 0 | 0 | 0.016484 | 0 | 0 | 0 | 0 | 0 | 0.320988 | 1 | 0.246914 | false | 0 | 0.012346 | 0 | 0.283951 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 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 | 0 | 0 | 0 | 7 |
f411db345cda67b0ec3c4a0a32bb810b435d151a | 1,452 | py | Python | tests/test_validate.py | yevgenyr/regolith | 4fc6c7bb2d24d9caf75e977b8e39637f62e5d584 | [
"CC0-1.0"
] | null | null | null | tests/test_validate.py | yevgenyr/regolith | 4fc6c7bb2d24d9caf75e977b8e39637f62e5d584 | [
"CC0-1.0"
] | null | null | null | tests/test_validate.py | yevgenyr/regolith | 4fc6c7bb2d24d9caf75e977b8e39637f62e5d584 | [
"CC0-1.0"
] | null | null | null | import os
import sys
from io import StringIO
import pytest
from xonsh.lib import subprocess
from regolith.main import main
def test_validate_python(make_db):
repo = make_db
os.chdir(repo)
backup = sys.stdout
sys.stdout = StringIO()
main(["validate"])
out = sys.stdout.getvalue()
sys.stdou... | 23.419355 | 67 | 0.667355 | 211 | 1,452 | 4.469194 | 0.203791 | 0.14316 | 0.079533 | 0.068929 | 0.801697 | 0.78579 | 0.78579 | 0.78579 | 0.770944 | 0.770944 | 0 | 0 | 0.222452 | 1,452 | 61 | 68 | 23.803279 | 0.835252 | 0 | 0 | 0.734694 | 0 | 0 | 0.128099 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.102041 | false | 0 | 0.122449 | 0 | 0.22449 | 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 |
be74ab2df96fed559dfb14e4247b1d1d48a43c4d | 128 | py | Python | lixian_plugins/queries/torrentz.py | 1py/xunlei-lixian | 1881932b9d5ccba78c7788fbad12982e05bf7f86 | [
"MIT"
] | 2,177 | 2015-01-02T09:56:51.000Z | 2022-03-27T01:48:37.000Z | lixian_plugins/queries/torrentz.py | 1py/xunlei-lixian | 1881932b9d5ccba78c7788fbad12982e05bf7f86 | [
"MIT"
] | 29 | 2015-01-24T17:38:59.000Z | 2021-08-29T03:39:30.000Z | lixian_plugins/queries/torrentz.py | 1py/xunlei-lixian | 1881932b9d5ccba78c7788fbad12982e05bf7f86 | [
"MIT"
] | 516 | 2015-01-02T18:48:29.000Z | 2022-01-26T07:12:35.000Z |
from lixian_plugins.api import extract_info_hash_from_url
extract_info_hash_from_url(r'^http://torrentz.eu/([0-9a-f]{40})$')
| 21.333333 | 66 | 0.78125 | 23 | 128 | 3.956522 | 0.73913 | 0.241758 | 0.32967 | 0.417582 | 0.483516 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.0625 | 128 | 5 | 67 | 25.6 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
be8553032e5979c7bf25e3143e9e66baa4b949a2 | 11,352 | py | Python | tinkoff/invest/grpc/marketdata_pb2_grpc.py | forked-group/invest-python | 3398391f5bb4a52020c312855de175cfe8cdc021 | [
"Apache-2.0"
] | null | null | null | tinkoff/invest/grpc/marketdata_pb2_grpc.py | forked-group/invest-python | 3398391f5bb4a52020c312855de175cfe8cdc021 | [
"Apache-2.0"
] | null | null | null | tinkoff/invest/grpc/marketdata_pb2_grpc.py | forked-group/invest-python | 3398391f5bb4a52020c312855de175cfe8cdc021 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from tinkoff.invest.grpc import marketdata_pb2 as tinkoff_dot_invest_dot_grpc_dot_marketdata__pb2
class MarketDataServiceStub(object):
"""Сервис получения ... | 48.306383 | 155 | 0.700317 | 1,082 | 11,352 | 6.987061 | 0.134935 | 0.055026 | 0.065608 | 0.07791 | 0.857937 | 0.846032 | 0.846032 | 0.809524 | 0.764947 | 0.724206 | 0 | 0.006341 | 0.222075 | 11,352 | 234 | 156 | 48.512821 | 0.849734 | 0.105092 | 0 | 0.511628 | 1 | 0 | 0.112495 | 0.082902 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081395 | false | 0 | 0.011628 | 0.02907 | 0.156977 | 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 |
bebed49568cf43a72b9fc081916101c7b12b3f19 | 5,055 | py | Python | venv/lib/python3.9/site-packages/tests/validation_strategies/test_header_validation_strategy.py | neophyte88/sistine3 | e685d751a7f1c836d5603211d7cf267420fc8fa2 | [
"MIT"
] | 1 | 2022-03-09T08:16:09.000Z | 2022-03-09T08:16:09.000Z | venv/lib/python3.9/site-packages/tests/validation_strategies/test_header_validation_strategy.py | neophyte88/sistine3 | e685d751a7f1c836d5603211d7cf267420fc8fa2 | [
"MIT"
] | null | null | null | venv/lib/python3.9/site-packages/tests/validation_strategies/test_header_validation_strategy.py | neophyte88/sistine3 | e685d751a7f1c836d5603211d7cf267420fc8fa2 | [
"MIT"
] | null | null | null | import simplejson as json
import pytest
from gemstone.auth.validation_strategies import BasicCookieStrategy, HeaderValidationStrategy
from tests.services.service_validation_strategies import ValidationStrategyTestService
VS_HEADER = HeaderValidationStrategy("X-Auth-Token")
@pytest.fixture
def app():
... | 36.107143 | 94 | 0.582987 | 574 | 5,055 | 4.923345 | 0.12892 | 0.14862 | 0.124558 | 0.089172 | 0.871904 | 0.871904 | 0.871904 | 0.871904 | 0.871904 | 0.858457 | 0 | 0.014722 | 0.287834 | 5,055 | 139 | 95 | 36.366906 | 0.770278 | 0 | 0 | 0.811475 | 0 | 0 | 0.158869 | 0 | 0 | 0 | 0 | 0 | 0.245902 | 1 | 0.057377 | false | 0 | 0.032787 | 0 | 0.098361 | 0.04918 | 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 |
fe38c49d2707dcdf9061e2d8fff362c06e62fb3d | 109 | py | Python | src/etc/gdb_load_rust_pretty_printers.py | Timmmm/rust | e369d87b015a84653343032833d65d0545fd3f26 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 15 | 2015-12-17T18:20:31.000Z | 2019-12-10T20:07:24.000Z | src/etc/gdb_load_rust_pretty_printers.py | Timmmm/rust | e369d87b015a84653343032833d65d0545fd3f26 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 9 | 2019-08-14T16:32:51.000Z | 2021-07-20T23:38:07.000Z | src/etc/gdb_load_rust_pretty_printers.py | Timmmm/rust | e369d87b015a84653343032833d65d0545fd3f26 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 10 | 2016-12-13T07:07:21.000Z | 2022-03-20T06:08:58.000Z | import gdb
import gdb_rust_pretty_printing
gdb_rust_pretty_printing.register_printers(gdb.current_objfile())
| 27.25 | 65 | 0.899083 | 16 | 109 | 5.625 | 0.5625 | 0.2 | 0.288889 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045872 | 109 | 3 | 66 | 36.333333 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 8 |
fe87f83a1a43b55c18133a2d16f5215c584a7b69 | 30,435 | py | Python | auxiliary/table5.py | huiren-j/Replication-of-Decarolis-2014- | 162fc0f60b067c88370922f901fac7fa17d78cd3 | [
"MIT"
] | null | null | null | auxiliary/table5.py | huiren-j/Replication-of-Decarolis-2014- | 162fc0f60b067c88370922f901fac7fa17d78cd3 | [
"MIT"
] | null | null | null | auxiliary/table5.py | huiren-j/Replication-of-Decarolis-2014- | 162fc0f60b067c88370922f901fac7fa17d78cd3 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from linearmodels import PanelOLS
import statsmodels.api as sm
import econtools as econ
import econtools.metrics as mt
import math
from statsmodels.stats.outliers_influence import variance_inflation_factor
from auxiliary.prepare import *
from auxil... | 41.295794 | 341 | 0.58045 | 4,358 | 30,435 | 3.791418 | 0.065168 | 0.014525 | 0.018641 | 0.015312 | 0.815651 | 0.787024 | 0.743751 | 0.730436 | 0.716395 | 0.714035 | 0 | 0.045919 | 0.262987 | 30,435 | 737 | 342 | 41.295794 | 0.690696 | 0.035748 | 0 | 0.705989 | 0 | 0 | 0.177419 | 0.013217 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012704 | false | 0 | 0.032668 | 0 | 0.045372 | 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 |
feae61ecb44693302ec14df676ec42baba5e9b55 | 154 | py | Python | Task/Averages-Arithmetic-mean/Python/averages-arithmetic-mean-3.py | mullikine/RosettaCodeData | 4f0027c6ce83daa36118ee8b67915a13cd23ab67 | [
"Info-ZIP"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | Task/Averages-Arithmetic-mean/Python/averages-arithmetic-mean-3.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | null | null | null | Task/Averages-Arithmetic-mean/Python/averages-arithmetic-mean-3.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | 1 | 2021-04-13T04:19:31.000Z | 2021-04-13T04:19:31.000Z | def average(x):
return sum(x)/float(len(x)) if x else 0
print (average([0,0,3,1,4,1,5,9,0,0]))
print (average([1e20,-1e-20,3,1,4,1,5,9,-1e20,1e-20]))
| 30.8 | 54 | 0.61039 | 39 | 154 | 2.410256 | 0.487179 | 0.12766 | 0.276596 | 0.085106 | 0.12766 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0.210145 | 0.103896 | 154 | 4 | 55 | 38.5 | 0.471014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 7 |
22be88cefe3b588522344ff5bb414c0e6fe5f2dd | 781 | py | Python | timetable.py | isawunicorn/python-vk-bot | 8d6499bf0f706fae55ed432d69525121a7c95d9b | [
"Unlicense"
] | null | null | null | timetable.py | isawunicorn/python-vk-bot | 8d6499bf0f706fae55ed432d69525121a7c95d9b | [
"Unlicense"
] | null | null | null | timetable.py | isawunicorn/python-vk-bot | 8d6499bf0f706fae55ed432d69525121a7c95d9b | [
"Unlicense"
] | 1 | 2020-05-23T19:08:41.000Z | 2020-05-23T19:08:41.000Z | timetable = {
"2020-02-26" : "8:00 - 9:30: Разработка программных приложений (лабораторная) Пушкарев А.Н., ауд. 404\n9:45 - 11:15: Теория систем и системный анализ (лабораторная) Донкова И.А, ауд. 412\n11:30 - 1:30: Моделирование бизнес-процессов (лекция), ауд. 216\n13:30 - 15:00: Проектирование информационных ... | 111.571429 | 350 | 0.68758 | 115 | 781 | 4.669565 | 0.382609 | 0.044693 | 0.014898 | 0.022346 | 0.931099 | 0.931099 | 0.931099 | 0.931099 | 0.931099 | 0.931099 | 0 | 0.172043 | 0.166453 | 781 | 6 | 351 | 130.166667 | 0.652842 | 0 | 0 | 0 | 0 | 0.333333 | 0.888604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
22ddb5a4c50acfd44a1a56ac98487a908dc314fe | 9,516 | py | Python | test/routing/test_reservation.py | nmluci/ZonaCipta-Backend | 8e56740be7bcc111a54887aaf09bbc4a8ff90d8b | [
"MIT"
] | null | null | null | test/routing/test_reservation.py | nmluci/ZonaCipta-Backend | 8e56740be7bcc111a54887aaf09bbc4a8ff90d8b | [
"MIT"
] | null | null | null | test/routing/test_reservation.py | nmluci/ZonaCipta-Backend | 8e56740be7bcc111a54887aaf09bbc4a8ff90d8b | [
"MIT"
] | null | null | null | from datetime import datetime
import pytz
import hashlib
import requests, json, pytest, os
# Variables
uname = "fuyunaa"
fname = "Lynne"
lname = "Fuyuna"
order_id = 1
product_id = 1
reserve_time_str = "2022-01-01 16:04:20"
reserve_time = datetime.strptime("2022-01-01 16:04:20",
"%Y-%m-%d %H:%M:%S")
pr... | 33.507042 | 87 | 0.657945 | 1,193 | 9,516 | 5.041073 | 0.099749 | 0.076821 | 0.066511 | 0.098437 | 0.862488 | 0.820253 | 0.802627 | 0.79132 | 0.777685 | 0.758397 | 0 | 0.018557 | 0.184531 | 9,516 | 284 | 88 | 33.507042 | 0.756443 | 0.000946 | 0 | 0.709016 | 0 | 0 | 0.292236 | 0.050284 | 0 | 0 | 0 | 0 | 0.20082 | 1 | 0.057377 | false | 0 | 0.016393 | 0 | 0.077869 | 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 |
fe1e1119292ecaa4ea750fed9bad95c5d4377796 | 22,758 | py | Python | 2017/2017_11b.py | davidxiao93/Advent-of-Code | 29503100ae4eb46b048fc3ab68ff0181c6f00ee5 | [
"MIT"
] | null | null | null | 2017/2017_11b.py | davidxiao93/Advent-of-Code | 29503100ae4eb46b048fc3ab68ff0181c6f00ee5 | [
"MIT"
] | null | null | null | 2017/2017_11b.py | davidxiao93/Advent-of-Code | 29503100ae4eb46b048fc3ab68ff0181c6f00ee5 | [
"MIT"
] | null | null | null | input = """ne,nw,se,nw,ne,s,s,s,sw,ne,sw,sw,sw,sw,sw,nw,nw,sw,se,ne,nw,nw,nw,nw,nw,nw,n,n,s,nw,n,n,nw,n,n,n,n,ne,n,n,ne,n,n,s,n,se,ne,ne,ne,n,se,ne,ne,ne,ne,se,ne,ne,ne,ne,ne,ne,ne,sw,ne,ne,s,se,se,se,s,ne,ne,se,ne,ne,sw,ne,se,se,se,se,se,se,s,s,se,se,ne,se,se,se,se,ne,se,se,s,se,se,s,n,s,se,s,ne,se,se,nw,ne,s,n,s,se,s... | 484.212766 | 21,645 | 0.610818 | 8,348 | 22,758 | 1.663392 | 0.004792 | 0.106438 | 0.093331 | 0.07576 | 0.94995 | 0.869509 | 0.736857 | 0.569566 | 0.405012 | 0.253709 | 0 | 0.000627 | 0.018147 | 22,758 | 46 | 21,646 | 494.73913 | 0.62081 | 0 | 0 | 0.052632 | 0 | 0.026316 | 0.95272 | 0.950479 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0 | 0 | 0 | 0.052632 | 0.026316 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a3d4faa19a7954c211341362595dded1563ab1c0 | 67 | py | Python | utils/envs/__init__.py | RockWenJJ/rl-agents | d55126007fcc5d2a882843f6c3a63000b4fc7c92 | [
"MIT"
] | 342 | 2018-07-14T06:53:32.000Z | 2022-03-25T08:30:23.000Z | utils/envs/__init__.py | RockWenJJ/rl-agents | d55126007fcc5d2a882843f6c3a63000b4fc7c92 | [
"MIT"
] | 68 | 2018-05-23T12:47:05.000Z | 2021-12-03T13:25:12.000Z | utils/envs/__init__.py | RockWenJJ/rl-agents | d55126007fcc5d2a882843f6c3a63000b4fc7c92 | [
"MIT"
] | 106 | 2018-09-28T16:04:47.000Z | 2022-03-23T01:42:48.000Z | from utils.envs.dynamics import *
from utils.envs.gridenv import *
| 22.333333 | 33 | 0.791045 | 10 | 67 | 5.3 | 0.6 | 0.339623 | 0.490566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 2 | 34 | 33.5 | 0.898305 | 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 |
a3f5550c8aec47d4ade99f084b89a8536d489813 | 157 | py | Python | simple_ftp/__init__.py | marekvymazal/simple_ftp | b5f3c639b991be6ae1bdc9854fc40d53e1af7475 | [
"MIT"
] | null | null | null | simple_ftp/__init__.py | marekvymazal/simple_ftp | b5f3c639b991be6ae1bdc9854fc40d53e1af7475 | [
"MIT"
] | null | null | null | simple_ftp/__init__.py | marekvymazal/simple_ftp | b5f3c639b991be6ae1bdc9854fc40d53e1af7475 | [
"MIT"
] | null | null | null | # import FTP class for package convenience
# ( so users can just from simple_ftp import FTP instead of from simple_ftp.ftp import FTP )
from .ftp import FTP
| 39.25 | 92 | 0.783439 | 27 | 157 | 4.481481 | 0.518519 | 0.297521 | 0.297521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178344 | 157 | 3 | 93 | 52.333333 | 0.937985 | 0.834395 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
a3f9778f13c9ecf12aba2f6d8524e2de73e14d24 | 83 | py | Python | src/prefect/client/__init__.py | concreted/prefect | dd732f5990ee2b0f3d816adb285168fd63b239e4 | [
"Apache-2.0"
] | 8,633 | 2019-03-23T17:51:03.000Z | 2022-03-31T22:17:42.000Z | src/prefect/client/__init__.py | concreted/prefect | dd732f5990ee2b0f3d816adb285168fd63b239e4 | [
"Apache-2.0"
] | 3,903 | 2019-03-23T19:11:21.000Z | 2022-03-31T23:21:23.000Z | src/prefect/client/__init__.py | concreted/prefect | dd732f5990ee2b0f3d816adb285168fd63b239e4 | [
"Apache-2.0"
] | 937 | 2019-03-23T18:49:44.000Z | 2022-03-31T21:45:13.000Z | from prefect.client.client import Client
from prefect.client.secrets import Secret
| 27.666667 | 41 | 0.855422 | 12 | 83 | 5.916667 | 0.5 | 0.309859 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 83 | 2 | 42 | 41.5 | 0.946667 | 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 |
43101561acfcf00a5a4677accd854b3aaaf160b8 | 128 | py | Python | src/core/python/core/util/periodic_ean_helper.py | railtoolkit/OpenLinTim | 27eba8b6038946ce162e9f7bbc0bd23045029d51 | [
"MIT"
] | null | null | null | src/core/python/core/util/periodic_ean_helper.py | railtoolkit/OpenLinTim | 27eba8b6038946ce162e9f7bbc0bd23045029d51 | [
"MIT"
] | null | null | null | src/core/python/core/util/periodic_ean_helper.py | railtoolkit/OpenLinTim | 27eba8b6038946ce162e9f7bbc0bd23045029d51 | [
"MIT"
] | null | null | null | def transformTimeToPeriodic(time: int, period_length: int):
return ((time % period_length) + period_length) % period_length
| 42.666667 | 67 | 0.765625 | 15 | 128 | 6.266667 | 0.466667 | 0.510638 | 0.382979 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132813 | 128 | 2 | 68 | 64 | 0.846847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
4a436a7ccf399a98a20c1b683e9c7fa5f1ea11ce | 11,358 | py | Python | pyNastran/op2/dev/pyyeti/testdev_op4.py | JohannesSeidel/pyNastran | 91ccd2756b201a7a3e4bb81cc6dc53b947d43bbf | [
"BSD-3-Clause"
] | null | null | null | pyNastran/op2/dev/pyyeti/testdev_op4.py | JohannesSeidel/pyNastran | 91ccd2756b201a7a3e4bb81cc6dc53b947d43bbf | [
"BSD-3-Clause"
] | null | null | null | pyNastran/op2/dev/pyyeti/testdev_op4.py | JohannesSeidel/pyNastran | 91ccd2756b201a7a3e4bb81cc6dc53b947d43bbf | [
"BSD-3-Clause"
] | 1 | 2020-10-04T19:28:07.000Z | 2020-10-04T19:28:07.000Z | import numpy as np
import op4
from scipy.io import matlab
import os
from glob import glob
#from nose.tools import *
import unittest
from op2 import OP2
class TestOP4New(unittest.TestCase):
def test_rdop4(self):
matfile = 'nastran_op4_data/r_c_rc.mat'
filenames = glob('nastran_op4_data/*.op4')
... | 38.501695 | 74 | 0.47658 | 1,271 | 11,358 | 4.177026 | 0.115657 | 0.030326 | 0.050104 | 0.037295 | 0.827274 | 0.827274 | 0.815596 | 0.815596 | 0.815596 | 0.815596 | 0 | 0.05076 | 0.403328 | 11,358 | 294 | 75 | 38.632653 | 0.732625 | 0.017785 | 0 | 0.771863 | 0 | 0 | 0.088797 | 0.044219 | 0 | 0 | 0 | 0 | 0.193916 | 1 | 0.038023 | false | 0 | 0.026616 | 0 | 0.068441 | 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 |
4a4ff299809ec56535e2e8ba6c5a987c50a81128 | 3,456 | py | Python | pyaz/monitor/log_analytics/workspace/linked_storage/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/monitor/log_analytics/workspace/linked_storage/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/monitor/log_analytics/workspace/linked_storage/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from ..... pyaz_utils import _call_az
def create(resource_group, storage_accounts, type, workspace_name):
'''
Create some linked storage accounts for log analytics workspace.
Required Parameters:
- resource_group -- Name of resource group. You can configure the default group using `az configure --defa... | 43.746835 | 128 | 0.728877 | 457 | 3,456 | 5.413567 | 0.12035 | 0.094584 | 0.152789 | 0.061843 | 0.898949 | 0.879952 | 0.879952 | 0.80194 | 0.80194 | 0.80194 | 0 | 0 | 0.193866 | 3,456 | 78 | 129 | 44.307692 | 0.888011 | 0.662326 | 0 | 0 | 0 | 0 | 0.341641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.076923 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4ac6462a60f24eaf094b3a0e33a01dfd1b65e3ea | 263 | py | Python | sentinel/node/__init__.py | allagog0x01/sentwg | 52285ecf2b03c30a78901a29a7af96c8ab5764c8 | [
"Apache-2.0"
] | 342 | 2017-08-21T20:12:56.000Z | 2022-03-19T17:58:25.000Z | sentinel/node/__init__.py | allagog0x01/sentwg | 52285ecf2b03c30a78901a29a7af96c8ab5764c8 | [
"Apache-2.0"
] | 57 | 2017-11-13T11:16:47.000Z | 2022-03-01T13:54:31.000Z | vpn-node-cosmos/sentinel/node/__init__.py | smtcrms/sentinel | ff65bc9200f6c940aa184c0ec0872fdcfef25363 | [
"MIT"
] | 72 | 2017-11-23T05:13:24.000Z | 2022-02-25T14:18:33.000Z | # coding=utf-8
from .controllers import add_tx
from .controllers import get_free_coins
from .controllers import list_node
from .controllers import update_node
from .controllers import update_session
from .controllers import update_sessions
from .node import node
| 29.222222 | 40 | 0.847909 | 38 | 263 | 5.684211 | 0.421053 | 0.416667 | 0.583333 | 0.375 | 0.287037 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004292 | 0.114068 | 263 | 8 | 41 | 32.875 | 0.922747 | 0.045627 | 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 |
434e9d910af22d384cba4f92495c8dc224d8e157 | 67 | py | Python | lithops/job/__init__.py | kpavel/lithops | 395eef8b283512bd714d3633dcd94258e1df620c | [
"Apache-2.0"
] | 158 | 2020-09-16T13:22:03.000Z | 2022-03-28T20:01:31.000Z | lithops/job/__init__.py | kpavel/lithops | 395eef8b283512bd714d3633dcd94258e1df620c | [
"Apache-2.0"
] | 256 | 2018-05-20T13:01:51.000Z | 2020-09-16T09:09:54.000Z | lithops/job/__init__.py | kpavel/lithops | 395eef8b283512bd714d3633dcd94258e1df620c | [
"Apache-2.0"
] | 48 | 2020-09-19T15:29:53.000Z | 2022-03-23T17:08:24.000Z | from .job import create_map_job
from .job import create_reduce_job
| 22.333333 | 34 | 0.850746 | 12 | 67 | 4.416667 | 0.5 | 0.264151 | 0.490566 | 0.716981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 2 | 35 | 33.5 | 0.898305 | 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 |
4389d0d933a80d6c23c1d1a8444b337afe89e671 | 623 | py | Python | learn/model/RandomArch.py | fuyuanlyu/OptInter | 95abda78261818e093dabe508d3609806372f2a5 | [
"Apache-2.0"
] | 1 | 2022-03-15T08:52:09.000Z | 2022-03-15T08:52:09.000Z | learn/model/RandomArch.py | fuyuanlyu/OptInter | 95abda78261818e093dabe508d3609806372f2a5 | [
"Apache-2.0"
] | null | null | null | learn/model/RandomArch.py | fuyuanlyu/OptInter | 95abda78261818e093dabe508d3609806372f2a5 | [
"Apache-2.0"
] | 1 | 2022-03-22T10:37:31.000Z | 2022-03-22T10:37:31.000Z | import numpy as np
import os
# arch_parameters = np.random.rand(325, 3)
# save_path = 'logs/search-Criteo-random-10'
# os.makedirs(save_path, exist_ok=True)
# np.save(os.path.join(save_path, 'arch_weight.npy'), arch_parameters)
# arch_parameters = np.random.rand(276, 3)
# save_path = 'logs/search-Avazu-random-10'
# ... | 31.15 | 70 | 0.754414 | 105 | 623 | 4.27619 | 0.266667 | 0.160356 | 0.106904 | 0.146993 | 0.888641 | 0.703786 | 0.703786 | 0.703786 | 0.703786 | 0.703786 | 0 | 0.03169 | 0.088283 | 623 | 19 | 71 | 32.789474 | 0.758803 | 0.609952 | 0 | 0 | 0 | 0 | 0.188034 | 0.123932 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
439b2dc8a9495dbdea970728117997adb9bcc64d | 2,465 | py | Python | fsdviz/common/migrations/0020_common_colorfields.py | AdamCottrill/fsdivz | 98dd1f35a08dba26424e2951a40715e01399478c | [
"MIT"
] | null | null | null | fsdviz/common/migrations/0020_common_colorfields.py | AdamCottrill/fsdivz | 98dd1f35a08dba26424e2951a40715e01399478c | [
"MIT"
] | 6 | 2020-02-12T00:03:40.000Z | 2020-11-30T01:20:56.000Z | fsdviz/common/migrations/0020_common_colorfields.py | AdamCottrill/fsdviz | 98dd1f35a08dba26424e2951a40715e01399478c | [
"MIT"
] | null | null | null | # Generated by Django 2.2.24 on 2021-09-13 14:28
import colorfield.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('common', '0019_sequence_lower_upper'),
]
operations = [
migrations.AddField(
model_name='agency',
... | 32.866667 | 81 | 0.567951 | 223 | 2,465 | 6.156951 | 0.215247 | 0.151493 | 0.20102 | 0.23598 | 0.775674 | 0.775674 | 0.775674 | 0.775674 | 0.775674 | 0.775674 | 0 | 0.053676 | 0.304665 | 2,465 | 74 | 82 | 33.310811 | 0.747375 | 0.018661 | 0 | 0.705882 | 1 | 0 | 0.119156 | 0.010343 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.073529 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 | 9 |
43bfeaa8a4a19b3afd0dcb09d3699403206b451a | 20,109 | py | Python | src/clients/ctm_api_client/api/archive_api.py | IceT-M/ctm-python-client | 0ef1d8a3c9a27a01c088be1cdf5d177d25912bac | [
"BSD-3-Clause"
] | 5 | 2021-12-01T18:40:00.000Z | 2022-03-04T10:51:44.000Z | src/clients/ctm_api_client/api/archive_api.py | IceT-M/ctm-python-client | 0ef1d8a3c9a27a01c088be1cdf5d177d25912bac | [
"BSD-3-Clause"
] | 3 | 2022-02-21T20:08:32.000Z | 2022-03-16T17:41:03.000Z | src/clients/ctm_api_client/api/archive_api.py | IceT-M/ctm-python-client | 0ef1d8a3c9a27a01c088be1cdf5d177d25912bac | [
"BSD-3-Clause"
] | 7 | 2021-12-01T11:59:16.000Z | 2022-03-01T18:16:40.000Z | # coding: utf-8
"""
Control-M Services
Provides access to BMC Control-M Services # noqa: E501
OpenAPI spec version: 9.20.215
Contact: customer_support@bmc.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
#... | 40.460765 | 149 | 0.595405 | 2,484 | 20,109 | 4.611514 | 0.099839 | 0.053077 | 0.043038 | 0.041467 | 0.862505 | 0.818071 | 0.790485 | 0.780445 | 0.778874 | 0.772239 | 0 | 0.018544 | 0.313491 | 20,109 | 496 | 150 | 40.542339 | 0.811228 | 0.362773 | 0 | 0.552901 | 1 | 0.006826 | 0.202214 | 0.028352 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023891 | false | 0 | 0.013652 | 0 | 0.071672 | 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 |
43d160c0d3df156e0b8e475c7350eb90339082b5 | 4,916 | py | Python | data_api/migrations/0022_auto_20160406_0731.py | bwootton/Dator | 80f736cf5d8d58312725a866ce04e03a6fefdb2c | [
"MIT"
] | 4 | 2015-09-04T19:37:06.000Z | 2016-11-23T12:35:48.000Z | data_api/migrations/0022_auto_20160406_0731.py | bwootton/Dator | 80f736cf5d8d58312725a866ce04e03a6fefdb2c | [
"MIT"
] | 8 | 2015-10-29T20:02:26.000Z | 2021-06-10T19:07:26.000Z | data_api/migrations/0022_auto_20160406_0731.py | bwootton/Dator | 80f736cf5d8d58312725a866ce04e03a6fefdb2c | [
"MIT"
] | 4 | 2015-09-06T22:35:46.000Z | 2019-06-03T13:20:48.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('data_api', '0021_remove_experiment_media_link'),
]
operations = [
migrations.CreateModel(
name='LocalSignalTag',... | 33.442177 | 114 | 0.558584 | 461 | 4,916 | 5.741866 | 0.136659 | 0.085002 | 0.226672 | 0.262939 | 0.849263 | 0.849263 | 0.835285 | 0.835285 | 0.835285 | 0.777106 | 0 | 0.001508 | 0.325468 | 4,916 | 146 | 115 | 33.671233 | 0.796743 | 0.004272 | 0 | 0.871429 | 0 | 0 | 0.103004 | 0.006744 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014286 | 0 | 0.035714 | 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 | 0 | 0 | 0 | 0 | 9 |
6076b7cd5c986a9d5f89b923cc3442e51929f01b | 8,650 | py | Python | lifelong_rl/samplers/data_collector/path_collector.py | nakamotoo/lifelong_rl | a8376a57cdeff158810e71cd31cba089852399b7 | [
"MIT"
] | null | null | null | lifelong_rl/samplers/data_collector/path_collector.py | nakamotoo/lifelong_rl | a8376a57cdeff158810e71cd31cba089852399b7 | [
"MIT"
] | null | null | null | lifelong_rl/samplers/data_collector/path_collector.py | nakamotoo/lifelong_rl | a8376a57cdeff158810e71cd31cba089852399b7 | [
"MIT"
] | null | null | null | from collections import deque, OrderedDict
from lifelong_rl.util.eval_util import create_stats_ordered_dict
from lifelong_rl.samplers.utils.rollout_functions import rollout_with_latent, rollout_with_kbit_memory, rollout_with_lstm
from lifelong_rl.samplers import rollout, multitask_rollout
from lifelong_rl.samplers imp... | 31.34058 | 121 | 0.612254 | 984 | 8,650 | 4.947154 | 0.118902 | 0.042728 | 0.032046 | 0.032868 | 0.809573 | 0.77198 | 0.77198 | 0.765201 | 0.755957 | 0.708505 | 0 | 0.001332 | 0.305665 | 8,650 | 275 | 122 | 31.454545 | 0.809191 | 0.041156 | 0 | 0.809955 | 0 | 0 | 0.019717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.140271 | false | 0 | 0.022624 | 0.045249 | 0.248869 | 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 |
60ba2617b5387422cc68e2c3820c5128ec989cd5 | 10,805 | py | Python | tests/test_count.py | vishalbelsare/category_encoders | 55636b5ae11dc45075a0c248028f17f9df93bbb9 | [
"BSD-3-Clause"
] | 616 | 2020-04-28T09:22:07.000Z | 2022-03-31T06:57:01.000Z | tests/test_count.py | vishalbelsare/category_encoders | 55636b5ae11dc45075a0c248028f17f9df93bbb9 | [
"BSD-3-Clause"
] | 101 | 2020-04-27T19:29:39.000Z | 2022-03-31T12:28:37.000Z | tests/test_count.py | vishalbelsare/category_encoders | 55636b5ae11dc45075a0c248028f17f9df93bbb9 | [
"BSD-3-Clause"
] | 108 | 2020-04-30T09:49:30.000Z | 2022-03-17T02:53:28.000Z | import pandas as pd
from unittest import TestCase # or `from unittest import ...` if on Python 3.4+
import numpy as np
import category_encoders as encoders
X = pd.DataFrame({
'none': [
'A', 'A', 'B', None, None, 'C', None, 'C', None, 'B',
'A', 'A', 'C', 'B', 'B', 'A', 'A', None, 'B', None
],
... | 40.167286 | 83 | 0.58186 | 1,404 | 10,805 | 4.325499 | 0.084758 | 0.126297 | 0.073769 | 0.072452 | 0.851309 | 0.801745 | 0.759756 | 0.757451 | 0.757451 | 0.72633 | 0 | 0.017206 | 0.236187 | 10,805 | 268 | 84 | 40.317164 | 0.718648 | 0.099861 | 0 | 0.597156 | 0 | 0 | 0.111654 | 0 | 0 | 0 | 0 | 0 | 0.43128 | 1 | 0.061611 | false | 0 | 0.018957 | 0 | 0.085308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
880259ff905bab3c6a76e4faa9fc89a05171a426 | 20,486 | py | Python | app/grandchallenge/challenges/migrations/0001_initial.py | kaczmarj/grand-challenge.org | 8dc8a2170e51072354f7e94f2a22578805a67b94 | [
"Apache-2.0"
] | 101 | 2018-04-11T14:48:04.000Z | 2022-03-28T00:29:48.000Z | app/grandchallenge/challenges/migrations/0001_initial.py | kaczmarj/grand-challenge.org | 8dc8a2170e51072354f7e94f2a22578805a67b94 | [
"Apache-2.0"
] | 1,733 | 2018-03-21T11:56:16.000Z | 2022-03-31T14:58:30.000Z | app/grandchallenge/challenges/migrations/0001_initial.py | kaczmarj/grand-challenge.org | 8dc8a2170e51072354f7e94f2a22578805a67b94 | [
"Apache-2.0"
] | 42 | 2018-06-08T05:49:07.000Z | 2022-03-29T08:43:01.000Z | # Generated by Django 3.1.1 on 2020-12-02 13:08
import re
import django.contrib.postgres.fields
import django.core.validators
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
import grandchallenge.challenges.models
import grandchallenge.core.storage
class M... | 38.946768 | 199 | 0.383872 | 1,376 | 20,486 | 5.587209 | 0.204942 | 0.041623 | 0.034339 | 0.042014 | 0.766259 | 0.754943 | 0.73244 | 0.707856 | 0.689516 | 0.689516 | 0 | 0.014175 | 0.54198 | 20,486 | 525 | 200 | 39.020952 | 0.80518 | 0.002197 | 0 | 0.753876 | 1 | 0.007752 | 0.203141 | 0.026127 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015504 | 0 | 0.023256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
880ac836f64d727848455a46668c493083ac9cdc | 4,854 | py | Python | slam_recognition/util/relativity/get_relative_to_indices.py | SimLeek/pySILEnT | feec2d1fb654d7c8dc25f610916f4e9b202a1092 | [
"Apache-2.0",
"MIT"
] | 5 | 2018-11-18T17:35:59.000Z | 2019-02-13T20:25:58.000Z | slam_recognition/util/relativity/get_relative_to_indices.py | SimLeek/slam_recognition | feec2d1fb654d7c8dc25f610916f4e9b202a1092 | [
"Apache-2.0",
"MIT"
] | 12 | 2018-10-31T01:57:55.000Z | 2019-02-07T05:49:36.000Z | slam_recognition/util/relativity/get_relative_to_indices.py | SimLeek/pySILEnT | feec2d1fb654d7c8dc25f610916f4e9b202a1092 | [
"Apache-2.0",
"MIT"
] | null | null | null | import tensorflow as tf
def get_relative_to_indices(tensor, indices, rotation_relative=False):
two = tf.constant(2, dtype=tf.int32)
one = tf.constant(1, dtype=tf.int32)
w = tf.shape(tensor)[1]
h = tf.shape(tensor)[2]
to_tile = tf.pad(tf.cast(tf.shape(tensor)[1:3], tf.int32), [[1, 1]])
to_tile ... | 44.127273 | 111 | 0.507417 | 633 | 4,854 | 3.723539 | 0.126382 | 0.014425 | 0.012728 | 0.013577 | 0.889266 | 0.843445 | 0.843445 | 0.828171 | 0.828171 | 0.828171 | 0 | 0.052598 | 0.357643 | 4,854 | 109 | 112 | 44.53211 | 0.703335 | 0 | 0 | 0.817204 | 0 | 0 | 0.020602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043011 | false | 0 | 0.010753 | 0 | 0.096774 | 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 |
880c5cb0cfaefac520164af107686d80ca16cabe | 6,158 | py | Python | n2vc/tests/unit/test_provisioner.py | TCSOSM-20/N2VC | d99f3f2f67d693c30494be7ad19b97f3f5528961 | [
"Apache-2.0"
] | null | null | null | n2vc/tests/unit/test_provisioner.py | TCSOSM-20/N2VC | d99f3f2f67d693c30494be7ad19b97f3f5528961 | [
"Apache-2.0"
] | null | null | null | n2vc/tests/unit/test_provisioner.py | TCSOSM-20/N2VC | d99f3f2f67d693c30494be7ad19b97f3f5528961 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Canonical Ltd.
#
# 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 wr... | 38.72956 | 87 | 0.689672 | 746 | 6,158 | 5.414209 | 0.183646 | 0.083189 | 0.057935 | 0.106957 | 0.802922 | 0.802922 | 0.801436 | 0.770983 | 0.770983 | 0.770983 | 0 | 0.009309 | 0.215005 | 6,158 | 158 | 88 | 38.974684 | 0.826231 | 0.092725 | 0 | 0.713115 | 0 | 0 | 0.202082 | 0.105528 | 0 | 0 | 0 | 0 | 0.147541 | 1 | 0.057377 | false | 0 | 0.032787 | 0 | 0.098361 | 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 |
7177408aa060a272ee1cd336a6945d7f52d3151c | 135,468 | py | Python | tests/expected_FPdescriptor_data.py | sharmavaruns/descriptastorus | 7a3e457bc64e480e44f0ce624052da68d2a27bad | [
"BSD-3-Clause"
] | 118 | 2019-01-15T23:04:29.000Z | 2022-03-25T01:31:06.000Z | tests/expected_FPdescriptor_data.py | sharmavaruns/descriptastorus | 7a3e457bc64e480e44f0ce624052da68d2a27bad | [
"BSD-3-Clause"
] | 14 | 2019-02-15T17:15:46.000Z | 2022-03-10T14:18:56.000Z | tests/expected_FPdescriptor_data.py | sharmavaruns/descriptastorus | 7a3e457bc64e480e44f0ce624052da68d2a27bad | [
"BSD-3-Clause"
] | 40 | 2018-12-18T11:39:38.000Z | 2022-03-23T09:45:45.000Z | expected_chiral_data = [(True, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0... | 4,671.310345 | 6,188 | 0.333998 | 45,090 | 135,468 | 1.003282 | 0.000532 | 1.845661 | 2.694151 | 3.508555 | 0.997082 | 0.996264 | 0.994827 | 0.993015 | 0.992131 | 0.99076 | 0 | 0.498694 | 0.332861 | 135,468 | 28 | 6,189 | 4,838.142857 | 0.001859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
e0d9f738c122e925eeb79c2a1c4ad3303f5a5c00 | 16,114 | py | Python | tests/unit/beacons/test_adb.py | byteskeptical/salt | 637fe0b04f38b2274191b005d73b3c6707d7f400 | [
"Apache-2.0"
] | 12 | 2015-01-21T00:18:25.000Z | 2021-07-11T07:35:26.000Z | tests/unit/beacons/test_adb.py | byteskeptical/salt | 637fe0b04f38b2274191b005d73b3c6707d7f400 | [
"Apache-2.0"
] | 86 | 2017-01-27T11:54:46.000Z | 2020-05-20T06:25:26.000Z | tests/unit/beacons/test_adb.py | byteskeptical/salt | 637fe0b04f38b2274191b005d73b3c6707d7f400 | [
"Apache-2.0"
] | 12 | 2015-01-05T09:50:42.000Z | 2019-08-19T01:43:40.000Z | # coding: utf-8
# Python libs
from __future__ import absolute_import
# Salt testing libs
from tests.support.unit import skipIf, TestCase
from tests.support.mock import NO_MOCK, NO_MOCK_REASON, patch, Mock
from tests.support.mixins import LoaderModuleMockMixin
# Salt libs
import salt.beacons.adb as adb
@skipIf(NO_M... | 35.337719 | 107 | 0.515887 | 1,627 | 16,114 | 4.955747 | 0.09158 | 0.044648 | 0.12948 | 0.166687 | 0.862086 | 0.855637 | 0.833561 | 0.832445 | 0.821654 | 0.820786 | 0 | 0.007512 | 0.339084 | 16,114 | 455 | 108 | 35.415385 | 0.749577 | 0.005275 | 0 | 0.703812 | 0 | 0.002933 | 0.238913 | 0.04391 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.076246 | false | 0 | 0.014663 | 0.002933 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e0e65a547ba8108a989465d009f67b7d1940ce2b | 1,613 | py | Python | huey_logger/admin.py | bnznamco/django-huey-logger | 7adbb6cb32a41b4fe14d5e0975c504cc40d20ecb | [
"MIT"
] | 2 | 2019-07-01T10:24:22.000Z | 2020-05-14T07:26:35.000Z | huey_logger/admin.py | bnznamco/django-huey-logger | 7adbb6cb32a41b4fe14d5e0975c504cc40d20ecb | [
"MIT"
] | null | null | null | huey_logger/admin.py | bnznamco/django-huey-logger | 7adbb6cb32a41b4fe14d5e0975c504cc40d20ecb | [
"MIT"
] | 1 | 2019-07-15T22:16:47.000Z | 2019-07-15T22:16:47.000Z | from django.contrib import admin
from .models import LastCronRun, CronError
@admin.register(LastCronRun)
class LastCronRunAdmin(admin.ModelAdmin):
list_display = ('name', 'started_at', 'ended_at')
def get_readonly_fields(self, request, obj=None):
return [f.name for f in self.model._meta.fields]
... | 35.065217 | 109 | 0.710477 | 208 | 1,613 | 5.259615 | 0.259615 | 0.153565 | 0.08958 | 0.115174 | 0.80713 | 0.752285 | 0.752285 | 0.752285 | 0.752285 | 0.752285 | 0 | 0 | 0.188469 | 1,613 | 45 | 110 | 35.844444 | 0.835752 | 0 | 0 | 0.65625 | 0 | 0 | 0.060136 | 0.027278 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28125 | false | 0 | 0.0625 | 0.21875 | 0.75 | 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 | 1 | 0 | 0 | 0 | 8 |
4611673bb6da34bbfe92d3dc4aea5d42424a489f | 3,389 | py | Python | supersuit/generic_wrappers/frame_stack.py | jjshoots/SuperSuit | 6d0506f44656694b1d94f547dc9ba5555ef7c463 | [
"MIT"
] | 54 | 2021-10-15T09:45:34.000Z | 2022-03-31T02:37:04.000Z | supersuit/generic_wrappers/frame_stack.py | jjshoots/SuperSuit | 6d0506f44656694b1d94f547dc9ba5555ef7c463 | [
"MIT"
] | 21 | 2021-10-17T10:53:05.000Z | 2022-03-28T18:11:19.000Z | supersuit/generic_wrappers/frame_stack.py | jjshoots/SuperSuit | 6d0506f44656694b1d94f547dc9ba5555ef7c463 | [
"MIT"
] | 8 | 2021-12-21T03:23:59.000Z | 2022-03-18T16:34:03.000Z | from .utils.base_modifier import BaseModifier
from .utils.shared_wrapper_util import shared_wrapper
from gym.spaces import Box, Discrete
from supersuit.utils.frame_stack import stack_obs_space, stack_init, stack_obs
def frame_stack_v1(env, stack_size=4, stack_dim=-1):
assert isinstance(stack_size, int), "stack si... | 37.655556 | 138 | 0.594866 | 410 | 3,389 | 4.67561 | 0.190244 | 0.108503 | 0.054251 | 0.054773 | 0.844549 | 0.824726 | 0.824726 | 0.824726 | 0.824726 | 0.824726 | 0 | 0.007975 | 0.334022 | 3,389 | 89 | 139 | 38.078652 | 0.841382 | 0 | 0 | 0.774648 | 0 | 0 | 0.134258 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 1 | 0.140845 | false | 0.028169 | 0.056338 | 0.028169 | 0.338028 | 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 |
08fd43bc7ea2c93a87a3b47e19399991c52876c9 | 1,236 | py | Python | usage/models.py | CDAT/cdat_usage2.0 | d675e91a6a76232a85b1fd94b9ef3bcc26b17c6a | [
"BSD-3-Clause"
] | null | null | null | usage/models.py | CDAT/cdat_usage2.0 | d675e91a6a76232a85b1fd94b9ef3bcc26b17c6a | [
"BSD-3-Clause"
] | 6 | 2020-04-10T20:14:30.000Z | 2021-12-13T19:48:36.000Z | usage/models.py | CDAT/cdat_usage2.0 | d675e91a6a76232a85b1fd94b9ef3bcc26b17c6a | [
"BSD-3-Clause"
] | 1 | 2018-10-29T20:42:22.000Z | 2018-10-29T20:42:22.000Z | from django.db import models
from datetime import datetime
# Create your models here.
class Entry(models.Model):
id = models.AutoField(primary_key=True, null=False, blank=False)
platform = models.CharField(max_length=1024, blank=True, null=False)
platform_version = models.CharField(max_length=1024, bl... | 53.73913 | 81 | 0.7589 | 170 | 1,236 | 5.411765 | 0.252941 | 0.146739 | 0.197826 | 0.254348 | 0.718478 | 0.718478 | 0.718478 | 0.718478 | 0.718478 | 0.298913 | 0 | 0.040741 | 0.126214 | 1,236 | 22 | 82 | 56.181818 | 0.811111 | 0.019417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
1c07f68ab4e9801896194e272a2d5615046d378f | 95 | py | Python | main.py | nmodhipalli/alphabetlearner | 8c9b5605e86f05921d4dcf603345723c8e8d698e | [
"MIT"
] | null | null | null | main.py | nmodhipalli/alphabetlearner | 8c9b5605e86f05921d4dcf603345723c8e8d698e | [
"MIT"
] | null | null | null | main.py | nmodhipalli/alphabetlearner | 8c9b5605e86f05921d4dcf603345723c8e8d698e | [
"MIT"
] | null | null | null | from flask import render_template
def main(request):
return render_template('main.html')
| 15.833333 | 39 | 0.768421 | 13 | 95 | 5.461538 | 0.769231 | 0.394366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 95 | 5 | 40 | 19 | 0.876543 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
1c3f2211b675a7a05e8ac50df4265131fc2f31c0 | 127 | py | Python | install.py | dmdhrumilmistry/Termux-SSH | 65ba7868a0e8961f9a262a85e79b56f8b8a65b9e | [
"MIT"
] | 5 | 2021-07-17T20:40:42.000Z | 2022-02-27T09:41:19.000Z | install.py | dmdhrumilmistry/Termux-SSH | 65ba7868a0e8961f9a262a85e79b56f8b8a65b9e | [
"MIT"
] | null | null | null | install.py | dmdhrumilmistry/Termux-SSH | 65ba7868a0e8961f9a262a85e79b56f8b8a65b9e | [
"MIT"
] | 1 | 2021-07-17T22:36:39.000Z | 2021-07-17T22:36:39.000Z | #!usr/bin/env python3
from termux import get_user, generate_passwd, install_termux_req
install_termux_req()
generate_passwd()
| 21.166667 | 64 | 0.834646 | 19 | 127 | 5.210526 | 0.684211 | 0.282828 | 0.323232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.086614 | 127 | 5 | 65 | 25.4 | 0.844828 | 0.15748 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.666667 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 8 |
1c5ec7892e6f88884569e4acda936ac6b937b664 | 147 | py | Python | argumento_padrao.py | isabela-augusto/Python-sample | 44b1342a01c8fdfcacea83db9d967119d2545131 | [
"MIT"
] | null | null | null | argumento_padrao.py | isabela-augusto/Python-sample | 44b1342a01c8fdfcacea83db9d967119d2545131 | [
"MIT"
] | null | null | null | argumento_padrao.py | isabela-augusto/Python-sample | 44b1342a01c8fdfcacea83db9d967119d2545131 | [
"MIT"
] | null | null | null | def salario_descontado_imposto(salario, imposto=27.):
return salario - (salario * imposto * 0.01)
print(salario_descontado_imposto(5000,2))
| 36.75 | 54 | 0.755102 | 19 | 147 | 5.631579 | 0.578947 | 0.317757 | 0.448598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 0.129252 | 147 | 3 | 55 | 49 | 0.757813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
1c7fc45bec5df1579530748459cee8f6d89cf015 | 220,745 | py | Python | src/oci/bds/bds_client.py | pabs3/oci-python-sdk | 437ba18ce39af2d1090e277c4bb8750c89f83021 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/bds/bds_client.py | pabs3/oci-python-sdk | 437ba18ce39af2d1090e277c4bb8750c89f83021 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/bds/bds_client.py | pabs3/oci-python-sdk | 437ba18ce39af2d1090e277c4bb8750c89f83021 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | 50.24926 | 327 | 0.65433 | 27,547 | 220,745 | 5.036265 | 0.022689 | 0.056223 | 0.03235 | 0.005752 | 0.933859 | 0.919083 | 0.908523 | 0.899361 | 0.894128 | 0.889364 | 0 | 0.002578 | 0.268917 | 220,745 | 4,392 | 328 | 50.260701 | 0.857079 | 0.389766 | 0 | 0.831196 | 0 | 0.015308 | 0.178749 | 0.027952 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015722 | false | 0.000414 | 0.003724 | 0 | 0.050476 | 0.000414 | 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 |
1c9118a9b7aed51048b33cf956b541d58c040e05 | 2,567 | py | Python | app/_test/suite/ext.action.asset/test.py | ewie/gbd-websuite | 6f2814c7bb64d11cb5a0deec712df751718fb3e1 | [
"Apache-2.0"
] | null | null | null | app/_test/suite/ext.action.asset/test.py | ewie/gbd-websuite | 6f2814c7bb64d11cb5a0deec712df751718fb3e1 | [
"Apache-2.0"
] | null | null | null | app/_test/suite/ext.action.asset/test.py | ewie/gbd-websuite | 6f2814c7bb64d11cb5a0deec712df751718fb3e1 | [
"Apache-2.0"
] | null | null | null | import _test.util as u
base = '_/cmd/assetHttpGetPath/'
content = '0123456789\n'
def test_std_mime():
assert u.req(base + 'projectUid/allow_std_mime/path/x.txt').status_code == 200
assert u.req(base + 'projectUid/allow_std_mime/path/x.pdf').status_code == 200
assert u.req(base + 'projectUid/allow_std_mim... | 40.746032 | 92 | 0.703935 | 414 | 2,567 | 4.154589 | 0.130435 | 0.053488 | 0.116279 | 0.188372 | 0.85 | 0.811628 | 0.790116 | 0.780814 | 0.737791 | 0.688953 | 0 | 0.027269 | 0.128555 | 2,567 | 62 | 93 | 41.403226 | 0.741618 | 0 | 0 | 0.116279 | 0 | 0 | 0.425789 | 0.325282 | 0 | 0 | 0 | 0 | 0.651163 | 1 | 0.209302 | false | 0 | 0.023256 | 0 | 0.232558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
98e7bcfc1df331f5eaddd2888a8d96fe221b8f09 | 2,029 | py | Python | tests/test_change_annotation.py | biosustain/gnomic | a6e6bbfdd6b42e888a3d1c361847ae7bb87c766e | [
"Apache-2.0"
] | 9 | 2015-07-13T14:15:11.000Z | 2020-11-20T18:42:08.000Z | tests/test_change_annotation.py | biosustain/gnomic | a6e6bbfdd6b42e888a3d1c361847ae7bb87c766e | [
"Apache-2.0"
] | 33 | 2015-06-19T08:47:19.000Z | 2017-09-04T11:30:39.000Z | tests/test_change_annotation.py | biosustain/gnomic | a6e6bbfdd6b42e888a3d1c361847ae7bb87c766e | [
"Apache-2.0"
] | 4 | 2015-10-15T19:10:54.000Z | 2020-01-22T09:53:18.000Z | from gnomic.genotype import change_annotation
from gnomic.types import Feature as F, CompositeAnnotation
def test_replace_feature_in_composite_annotation():
assert change_annotation(CompositeAnnotation(F('a'), F('b')), F('a'), None) == CompositeAnnotation(F('b'))
assert change_annotation(CompositeAnnotation(... | 47.186047 | 110 | 0.457368 | 276 | 2,029 | 3.235507 | 0.097826 | 0.058231 | 0.077268 | 0.080627 | 0.81187 | 0.745801 | 0.716685 | 0.701008 | 0.671893 | 0.62374 | 0 | 0 | 0.269098 | 2,029 | 42 | 111 | 48.309524 | 0.602158 | 0 | 0 | 0.206897 | 0 | 0 | 0.044357 | 0 | 0 | 0 | 0 | 0 | 0.448276 | 1 | 0.172414 | true | 0 | 0.068966 | 0 | 0.241379 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c72a4d23772d34218a51bb4ae2af844f0c954289 | 12,421 | py | Python | tests/integration/taskrouter/v1/workspace/test_task_channel.py | BrimmingDev/twilio-python | 3226b5fed92b3c2ce64f03e6b19fc4792ef7647f | [
"MIT"
] | 1,362 | 2015-01-04T10:25:18.000Z | 2022-03-24T10:07:08.000Z | tests/integration/taskrouter/v1/workspace/test_task_channel.py | BrimmingDev/twilio-python | 3226b5fed92b3c2ce64f03e6b19fc4792ef7647f | [
"MIT"
] | 299 | 2015-01-30T09:52:39.000Z | 2022-03-31T23:03:02.000Z | tests/integration/taskrouter/v1/workspace/test_task_channel.py | BrimmingDev/twilio-python | 3226b5fed92b3c2ce64f03e6b19fc4792ef7647f | [
"MIT"
] | 622 | 2015-01-03T04:43:09.000Z | 2022-03-29T14:11:00.000Z | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class TaskChannelTestCase(Integ... | 42.248299 | 160 | 0.576524 | 880 | 12,421 | 7.973864 | 0.117045 | 0.059855 | 0.062847 | 0.071826 | 0.932592 | 0.932592 | 0.921334 | 0.920906 | 0.906085 | 0.906085 | 0 | 0.031445 | 0.3164 | 12,421 | 293 | 161 | 42.392491 | 0.794959 | 0.008775 | 0 | 0.79661 | 1 | 0 | 0.238337 | 0.128008 | 0 | 0 | 0 | 0 | 0.161017 | 1 | 0.118644 | false | 0 | 0.033898 | 0 | 0.161017 | 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 |
c7343cb88ce0616f0282632885d1eab151c406b1 | 2,266 | py | Python | get_add_checksum.py | junglefive/EightPoleModuleTester | 3da4e74d550dc32de477a19933b880b13be225b2 | [
"MIT"
] | 1 | 2019-05-16T02:24:29.000Z | 2019-05-16T02:24:29.000Z | get_add_checksum.py | junglefive/EightPoleModuleTester | 3da4e74d550dc32de477a19933b880b13be225b2 | [
"MIT"
] | null | null | null | get_add_checksum.py | junglefive/EightPoleModuleTester | 3da4e74d550dc32de477a19933b880b13be225b2 | [
"MIT"
] | 1 | 2019-05-16T02:24:32.000Z | 2019-05-16T02:24:32.000Z |
import os,sys
source = "1900160470b501251c002d050c4310d4ec4206d4ac420ad48b4200d070bd824270bdeb4217d4e94215d48b4270bd9b4270bdec4206d5ac42f9d5994200d070bd904270bd6d005c00ec4204d24c00ec4201d2994270bd0fb4034c0cbc03bc30b4f8f7a8fe30bc70bd1900160480807f7e7d7c7b7a7978777676757473727171706f6e6e6d6c6c6b6a6a696868676666656464636... | 161.857143 | 1,035 | 0.973522 | 35 | 2,266 | 62.914286 | 0.542857 | 0.016349 | 0.015441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263864 | 0.013239 | 2,266 | 14 | 1,036 | 161.857143 | 0.72093 | 0 | 0 | 0 | 0 | 0 | 0.902913 | 0.902913 | 0 | 1 | 0.00353 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.3 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c74cf235a0d98743a8fc52ce2be8004a769cb9e4 | 22,783 | py | Python | code/test/test_task.py | mdskrzypczyk/LinkScheduling | 46b4a676976f3429f6b5a28685386ed712f1bbe0 | [
"MIT"
] | null | null | null | code/test/test_task.py | mdskrzypczyk/LinkScheduling | 46b4a676976f3429f6b5a28685386ed712f1bbe0 | [
"MIT"
] | null | null | null | code/test/test_task.py | mdskrzypczyk/LinkScheduling | 46b4a676976f3429f6b5a28685386ed712f1bbe0 | [
"MIT"
] | null | null | null | import unittest
from jobscheduling.task import Task, BudgetTask, ResourceTask, BudgetResourceTask, PeriodicTask, PeriodicBudgetTask, \
PeriodicResourceTask, PeriodicBudgetResourceTask, DAGSubTask, DAGResourceSubTask, DAGBudgetResourceSubTask, \
DAGTask, PeriodicDAGTask, ResourceDAGTask, BudgetResourceDAGTask, P... | 42.986792 | 118 | 0.664048 | 2,763 | 22,783 | 5.22186 | 0.038002 | 0.216246 | 0.268644 | 0.057388 | 0.913086 | 0.901719 | 0.900956 | 0.899709 | 0.884391 | 0.876352 | 0 | 0.017297 | 0.231137 | 22,783 | 529 | 119 | 43.068053 | 0.80636 | 0 | 0 | 0.824601 | 0 | 0 | 0.011501 | 0 | 0 | 0 | 0 | 0 | 0.487472 | 1 | 0.04328 | false | 0 | 0.004556 | 0 | 0.063781 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
c7c75b1f01562cc68bf3175b50d20d896828e4e3 | 136 | py | Python | viewmodels/__init__.py | Svaught598/WetLabApp | abec4b077547353c28ede748a07823812ea91112 | [
"MIT"
] | 1 | 2021-02-16T18:31:35.000Z | 2021-02-16T18:31:35.000Z | viewmodels/__init__.py | Svaught598/WetLabApp | abec4b077547353c28ede748a07823812ea91112 | [
"MIT"
] | 5 | 2020-08-04T19:55:30.000Z | 2022-03-12T00:28:10.000Z | viewmodels/__init__.py | Svaught598/WetLabApp | abec4b077547353c28ede748a07823812ea91112 | [
"MIT"
] | null | null | null | from .volume_view_model import VolumeViewModel
from .film_view_model import FilmViewModel
from .update_view_model import UpdateViewModel | 45.333333 | 46 | 0.897059 | 18 | 136 | 6.444444 | 0.555556 | 0.232759 | 0.387931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080882 | 136 | 3 | 47 | 45.333333 | 0.928 | 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 |
c7d35112f9ffe0bbcc3d1258f949c9e198784af7 | 442,129 | py | Python | sympy/integrals/rubi/rubi_tests/tests/test_logarithms.py | iamabhishek0/sympy | c461bd1ff9d178d1012b04fd0bf37ee3abb02cdd | [
"BSD-3-Clause"
] | 15 | 2020-06-29T08:33:39.000Z | 2022-02-12T00:28:51.000Z | sympy/integrals/rubi/rubi_tests/tests/test_logarithms.py | iamabhishek0/sympy | c461bd1ff9d178d1012b04fd0bf37ee3abb02cdd | [
"BSD-3-Clause"
] | 13 | 2020-03-24T17:53:51.000Z | 2022-02-10T20:01:14.000Z | sympy/integrals/rubi/rubi_tests/tests/test_logarithms.py | iamabhishek0/sympy | c461bd1ff9d178d1012b04fd0bf37ee3abb02cdd | [
"BSD-3-Clause"
] | 11 | 2020-06-29T08:40:24.000Z | 2022-02-24T17:39:16.000Z | import sys
from sympy.external import import_module
matchpy = import_module("matchpy")
if not matchpy:
#bin/test will not execute any tests now
disabled = True
if sys.version_info[:2] < (3, 6):
disabled = True
from sympy.integrals.rubi.rubi import rubi_integrate
from sympy.functions import log, sqrt, exp... | 384.46 | 4,886 | 0.458676 | 118,296 | 442,129 | 1.677512 | 0.001817 | 0.084195 | 0.033501 | 0.114819 | 0.990133 | 0.983925 | 0.97361 | 0.961908 | 0.944815 | 0.926604 | 0 | 0.051553 | 0.099636 | 442,129 | 1,149 | 4,887 | 384.794604 | 0.446951 | 0.022688 | 0 | 0.034515 | 0 | 0.000933 | 0.000196 | 0 | 0 | 0 | 0 | 0 | 0.981343 | 1 | 0.001866 | false | 0 | 0.010261 | 0 | 0.012127 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
c7f321de62548926cf92c332a03163894751761d | 67,338 | py | Python | tests/ut/python/dataset/test_cache_map.py | GeekHee/mindspore | 896b8e5165dd0a900ed5a39e0fb23525524bf8b0 | [
"Apache-2.0"
] | null | null | null | tests/ut/python/dataset/test_cache_map.py | GeekHee/mindspore | 896b8e5165dd0a900ed5a39e0fb23525524bf8b0 | [
"Apache-2.0"
] | null | null | null | tests/ut/python/dataset/test_cache_map.py | GeekHee/mindspore | 896b8e5165dd0a900ed5a39e0fb23525524bf8b0 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020-2021 Huawei Technologies Co., Ltd
#
# 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 agre... | 31.045643 | 116 | 0.658781 | 9,287 | 67,338 | 4.560353 | 0.046732 | 0.070977 | 0.052418 | 0.048451 | 0.917902 | 0.871553 | 0.842062 | 0.808321 | 0.795783 | 0.784355 | 0 | 0.024069 | 0.235543 | 67,338 | 2,168 | 117 | 31.059963 | 0.798667 | 0.148846 | 0 | 0.700877 | 0 | 0 | 0.230576 | 0.024748 | 0 | 0 | 0 | 0 | 0.085088 | 1 | 0.049123 | false | 0 | 0.00614 | 0 | 0.05614 | 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 |
404ae5955528ee804b0a42d0720de97677a0871d | 101,135 | py | Python | tests/test_scorefiles.py | MednickLab/mednickdb_pysleep | aaa18a4aee51242997f6d8a4beb5c9e1c23d5a92 | [
"MIT"
] | null | null | null | tests/test_scorefiles.py | MednickLab/mednickdb_pysleep | aaa18a4aee51242997f6d8a4beb5c9e1c23d5a92 | [
"MIT"
] | null | null | null | tests/test_scorefiles.py | MednickLab/mednickdb_pysleep | aaa18a4aee51242997f6d8a4beb5c9e1c23d5a92 | [
"MIT"
] | 1 | 2020-05-19T16:55:11.000Z | 2020-05-19T16:55:11.000Z | import sys, os
file_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, file_dir + '/../mednickdb_pysleep')
from scorefiles import extract_epochstages_from_scorefile, score_wake_as_waso_wbso_wase
from sleep_architecture import lights_on_off_and_sleep_latency
import yaml
from datetime import datetime
d... | 109.335135 | 2,669 | 0.354388 | 11,332 | 101,135 | 3.126368 | 0.013237 | 0.331715 | 0.95958 | 1.254149 | 0.973665 | 0.968556 | 0.963278 | 0.958507 | 0.949729 | 0.941685 | 0 | 0.081264 | 0.330548 | 101,135 | 924 | 2,670 | 109.453463 | 0.442006 | 0.000297 | 0 | 0.650739 | 0 | 0 | 0.314181 | 0.011849 | 0 | 0 | 0 | 0 | 0.045506 | 1 | 0.01479 | false | 0 | 0.005688 | 0 | 0.020478 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
4072ffbe95f7318909ad601520a9858f4805883c | 8,512 | py | Python | tests/base_tests/test_napalm_get_config.py | marcom4rtinez/nuts | b6020296ed6965889e35b9c7d4c0db13c2aa7b94 | [
"MIT"
] | null | null | null | tests/base_tests/test_napalm_get_config.py | marcom4rtinez/nuts | b6020296ed6965889e35b9c7d4c0db13c2aa7b94 | [
"MIT"
] | null | null | null | tests/base_tests/test_napalm_get_config.py | marcom4rtinez/nuts | b6020296ed6965889e35b9c7d4c0db13c2aa7b94 | [
"MIT"
] | 1 | 2021-12-15T08:44:40.000Z | 2021-12-15T08:44:40.000Z | import pytest
from nornir.core.task import AggregatedResult
from nornir_napalm.plugins import tasks
from nuts.base_tests.napalm_get_config import CONTEXT
from tests.utils import create_multi_result, SelfTestData
nornir_raw_result_s1 = {
"startup": "!\n\n!\nversion 15.2\nservice timestamps debug datetime msec\ns... | 119.887324 | 3,489 | 0.646969 | 1,206 | 8,512 | 4.518242 | 0.181592 | 0.023491 | 0.023124 | 0.026427 | 0.812993 | 0.800147 | 0.800147 | 0.800147 | 0.800147 | 0.800147 | 0 | 0.022619 | 0.1586 | 8,512 | 70 | 3,490 | 121.6 | 0.738202 | 0 | 0 | 0.06 | 0 | 0.04 | 0.831884 | 0.212641 | 0 | 0 | 0 | 0 | 0.02 | 1 | 0.12 | false | 0.04 | 0.1 | 0.04 | 0.3 | 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 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9071831a9fd199e6dfe817ce73105064d63dd93f | 29,771 | py | Python | data_link/utils.py | EricToshio/tcp-timestamp-covert-channel-analysis | 1b5cfa9c12fd787977b9040ab9e65a0bf93488b4 | [
"MIT"
] | null | null | null | data_link/utils.py | EricToshio/tcp-timestamp-covert-channel-analysis | 1b5cfa9c12fd787977b9040ab9e65a0bf93488b4 | [
"MIT"
] | null | null | null | data_link/utils.py | EricToshio/tcp-timestamp-covert-channel-analysis | 1b5cfa9c12fd787977b9040ab9e65a0bf93488b4 | [
"MIT"
] | null | null | null | import re
class Utils:
def __init__(self, FLAG, MESSAGE_SIZE):
self.FLAG = FLAG
self.MESSAGE_SIZE = MESSAGE_SIZE
def parse(self, message):
maxIncrease = int(self.MESSAGE_SIZE/(len(self.FLAG)-2))+1
minMessage = self.MESSAGE_SIZE
maxMessageSize = self.MESSAGE_SIZE + maxI... | 419.309859 | 7,418 | 0.825736 | 1,269 | 29,771 | 19.352246 | 0.401891 | 0.002688 | 0.002443 | 0.00114 | 0.859353 | 0.813421 | 0.769932 | 0.757391 | 0.742894 | 0.742894 | 0 | 0.842782 | 0.059723 | 29,771 | 71 | 7,419 | 419.309859 | 0.034509 | 0.94273 | 0 | 0.133333 | 0 | 0 | 0.004737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.022222 | 0.022222 | 0 | 0.155556 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
9076fefe1c2945ee101634ede8b9edd3d8d63f45 | 87,976 | py | Python | LightningF/Models/pdp_simple.py | aripakman/Lightning | 97c1d4deec2a2c7886b8be568a9486108bc4cba4 | [
"MIT"
] | 1 | 2021-01-10T18:29:36.000Z | 2021-01-10T18:29:36.000Z | LightningF/Models/pdp_simple.py | aripakman/Lightning | 97c1d4deec2a2c7886b8be568a9486108bc4cba4 | [
"MIT"
] | null | null | null | LightningF/Models/pdp_simple.py | aripakman/Lightning | 97c1d4deec2a2c7886b8be568a9486108bc4cba4 | [
"MIT"
] | 1 | 2021-01-11T09:17:06.000Z | 2021-01-11T09:17:06.000Z | import sys
import copy
import numpy as np
from sklearn.cluster import KMeans
from scipy.special import psi, gammaln, digamma
from abc import ABCMeta, abstractmethod
from scipy.spatial import cKDTree as Tree
from ..Utils.fw import fw_bw
from ..Utils.QT.python import LightC as LightC
import matplotlib
matplotlib.use('Tk... | 41.071895 | 120 | 0.498556 | 10,931 | 87,976 | 3.83652 | 0.046839 | 0.031476 | 0.011803 | 0.008823 | 0.815056 | 0.794215 | 0.771038 | 0.758256 | 0.752462 | 0.734244 | 0 | 0.03752 | 0.311687 | 87,976 | 2,141 | 121 | 41.091079 | 0.655024 | 0.082091 | 0 | 0.745884 | 0 | 0.000716 | 0.029093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057981 | false | 0.001432 | 0.012169 | 0.005011 | 0.102362 | 0.043665 | 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 |
291255ad2ae597a2147f400131e5fac9e437333b | 3,572 | py | Python | ArgsParserTest.py | fgsalomon/KataArgsPython | 485d2c4fede5f1ab1491cc5552e024b21b761ad1 | [
"MIT"
] | null | null | null | ArgsParserTest.py | fgsalomon/KataArgsPython | 485d2c4fede5f1ab1491cc5552e024b21b761ad1 | [
"MIT"
] | null | null | null | ArgsParserTest.py | fgsalomon/KataArgsPython | 485d2c4fede5f1ab1491cc5552e024b21b761ad1 | [
"MIT"
] | null | null | null | import unittest
import ArgsParser
class ArgsParserTest(unittest.TestCase):
def testCompleteAndCorrectArgs(self):
parser = ArgsParser.ArgsParser(schema={'-l': True, '-p': 8080, '-d': '/usr/logs'},
args=['-l', 'False', '-p', '8081', '-d', '/var/logs'])
self.as... | 46.38961 | 113 | 0.522396 | 391 | 3,572 | 4.751918 | 0.102302 | 0.258342 | 0.102261 | 0.134553 | 0.840151 | 0.831001 | 0.831001 | 0.809473 | 0.809473 | 0.809473 | 0 | 0.03438 | 0.25084 | 3,572 | 76 | 114 | 47 | 0.65994 | 0 | 0 | 0.587302 | 0 | 0 | 0.129059 | 0 | 0 | 0 | 0 | 0 | 0.507937 | 1 | 0.142857 | false | 0 | 0.031746 | 0 | 0.190476 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
294b9bbef033469b1450b6e4a5d635d9ac80f11d | 66,640 | py | Python | object_branch/stitching/stitch_methods.py | JasonQSY/Associative3D | c50818b593ec48c38ed7ee3e109c23531089da32 | [
"MIT"
] | 25 | 2020-08-26T02:41:12.000Z | 2021-09-30T21:50:36.000Z | object_branch/stitching/stitch_methods.py | JasonQSY/Associative3D | c50818b593ec48c38ed7ee3e109c23531089da32 | [
"MIT"
] | null | null | null | object_branch/stitching/stitch_methods.py | JasonQSY/Associative3D | c50818b593ec48c38ed7ee3e109c23531089da32 | [
"MIT"
] | 1 | 2020-11-17T15:25:26.000Z | 2020-11-17T15:25:26.000Z | import matplotlib
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
import sys
import os.path as osp
import os
import scipy.misc
import scipy.io as sio
import torch
import imageio
import pdb
import cv2
import random
import shutil
from pyquaternion import Quaternion
import pickle
import itertools
... | 36.415301 | 145 | 0.583358 | 8,152 | 66,640 | 4.542566 | 0.041708 | 0.021387 | 0.014744 | 0.014231 | 0.90354 | 0.89552 | 0.888283 | 0.887392 | 0.880425 | 0.875375 | 0 | 0.022265 | 0.307158 | 66,640 | 1,829 | 146 | 36.435211 | 0.779775 | 0.082968 | 0 | 0.862456 | 0 | 0 | 0.030817 | 0 | 0 | 0 | 0 | 0 | 0.012632 | 1 | 0.01193 | false | 0.003509 | 0.018947 | 0 | 0.043509 | 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 |
468fc0c0cc429dde07bd535e909723bbe3a11943 | 5,945 | py | Python | ormar/decorators/signals.py | ivangirko/ormar | 1f5d993716da0da83874cbdfd5b44dbf7af1b9c5 | [
"MIT"
] | 905 | 2020-08-31T19:13:34.000Z | 2022-03-31T08:38:10.000Z | ormar/decorators/signals.py | ivangirko/ormar | 1f5d993716da0da83874cbdfd5b44dbf7af1b9c5 | [
"MIT"
] | 359 | 2020-08-28T14:14:54.000Z | 2022-03-29T07:40:32.000Z | ormar/decorators/signals.py | ivangirko/ormar | 1f5d993716da0da83874cbdfd5b44dbf7af1b9c5 | [
"MIT"
] | 56 | 2020-10-26T02:22:14.000Z | 2022-03-20T06:41:31.000Z | from typing import Callable, List, TYPE_CHECKING, Type, Union
if TYPE_CHECKING: # pragma: no cover
from ormar import Model
def receiver(
signal: str, senders: Union[Type["Model"], List[Type["Model"]]]
) -> Callable:
"""
Connect given function to all senders for given signal name.
:param signal:... | 34.166667 | 88 | 0.684272 | 756 | 5,945 | 5.316138 | 0.087302 | 0.098532 | 0.087584 | 0.114954 | 0.834038 | 0.80418 | 0.80418 | 0.80418 | 0.80418 | 0.80418 | 0 | 0 | 0.204373 | 5,945 | 173 | 89 | 34.364162 | 0.849683 | 0.574601 | 0 | 0.052632 | 0 | 0 | 0.115921 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.052632 | 0 | 0.684211 | 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 |
46a2014d998212d9785d52be4f13d5b3ea1d97aa | 19,003 | py | Python | src/models/modules/MSResNet/MSResNet.py | kendreaditya/PCG-arrhythmia-detection | a6f414bf101ef4a35d001425646e375f0b8ae86d | [
"Apache-2.0"
] | null | null | null | src/models/modules/MSResNet/MSResNet.py | kendreaditya/PCG-arrhythmia-detection | a6f414bf101ef4a35d001425646e375f0b8ae86d | [
"Apache-2.0"
] | null | null | null | src/models/modules/MSResNet/MSResNet.py | kendreaditya/PCG-arrhythmia-detection | a6f414bf101ef4a35d001425646e375f0b8ae86d | [
"Apache-2.0"
] | null | null | null | import torch.nn as nn
import math
import torch.utils.model_zoo as model_zoo
import torch
from . import pblm
def conv3x3(in_planes, out_planes, stride=1):
"""3x3 convolution with padding"""
return nn.Conv1d(in_planes, out_planes, kernel_size=3, stride=stride,
padding=1, bias=False)
def c... | 36.614644 | 235 | 0.59459 | 2,468 | 19,003 | 4.419773 | 0.062399 | 0.026953 | 0.073341 | 0.038504 | 0.917125 | 0.890631 | 0.867528 | 0.842776 | 0.828199 | 0.824441 | 0 | 0.082657 | 0.286955 | 19,003 | 518 | 236 | 36.685328 | 0.722362 | 0.082829 | 0 | 0.766304 | 0 | 0 | 0.00046 | 0 | 0 | 0 | 0 | 0.001931 | 0 | 1 | 0.070652 | false | 0 | 0.013587 | 0.008152 | 0.163043 | 0.002717 | 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 |
d3b28f1433d7307662ca123422b3d40203489700 | 69 | py | Python | currencypy/utils/__init__.py | LucasFrassetto/CurrencyPy | 0e1618290a9d86a1364439c2840dae29e004889c | [
"MIT"
] | null | null | null | currencypy/utils/__init__.py | LucasFrassetto/CurrencyPy | 0e1618290a9d86a1364439c2840dae29e004889c | [
"MIT"
] | null | null | null | currencypy/utils/__init__.py | LucasFrassetto/CurrencyPy | 0e1618290a9d86a1364439c2840dae29e004889c | [
"MIT"
] | null | null | null | from .aliases import iso_code_alias
from .aliases import symbol_alias | 34.5 | 35 | 0.869565 | 11 | 69 | 5.181818 | 0.636364 | 0.385965 | 0.596491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 69 | 2 | 36 | 34.5 | 0.919355 | 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 |
d3e7f842fc018f7145c02894c39c2e4e0c203618 | 210 | py | Python | neurotin/logs/__init__.py | mscheltienne/neurotin-analysis | 841b7d86c0c990169cceb02b40d9eb6bd0d07612 | [
"MIT"
] | null | null | null | neurotin/logs/__init__.py | mscheltienne/neurotin-analysis | 841b7d86c0c990169cceb02b40d9eb6bd0d07612 | [
"MIT"
] | null | null | null | neurotin/logs/__init__.py | mscheltienne/neurotin-analysis | 841b7d86c0c990169cceb02b40d9eb6bd0d07612 | [
"MIT"
] | null | null | null | """Logs module to analyze log files."""
from .mml import lineplot_mml_evolution # noqa: F401
from .scores import boxplot_scores_evolution # noqa: F401
from .scores import boxplot_scores_between_participants
| 35 | 58 | 0.804762 | 29 | 210 | 5.586207 | 0.586207 | 0.160494 | 0.209877 | 0.259259 | 0.567901 | 0.567901 | 0.567901 | 0.567901 | 0 | 0 | 0 | 0.032787 | 0.128571 | 210 | 5 | 59 | 42 | 0.852459 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3189443416db70af41b44d613642f912a86f5c66 | 14,518 | py | Python | ulfs/mycells.py | asappresearch/neural-ilm | fd7e09960525391f4084a5753429deabd7ff00aa | [
"MIT"
] | null | null | null | ulfs/mycells.py | asappresearch/neural-ilm | fd7e09960525391f4084a5753429deabd7ff00aa | [
"MIT"
] | null | null | null | ulfs/mycells.py | asappresearch/neural-ilm | fd7e09960525391f4084a5753429deabd7ff00aa | [
"MIT"
] | 2 | 2021-02-25T04:42:14.000Z | 2021-02-25T04:43:06.000Z | import math
import torch
from torch import nn
import torch.nn.functional as F
from ulfs.tensor_utils import Hadamard, concat
cells_by_name = {}
# def register(name, cls):
# def _decorator(func):
# return func
# print('register', name)
# cells_by_name[name] = func
# return _decorator
clas... | 39.237838 | 98 | 0.642651 | 2,072 | 14,518 | 4.260135 | 0.064672 | 0.122352 | 0.227257 | 0.185567 | 0.781353 | 0.756203 | 0.733205 | 0.723575 | 0.716098 | 0.711227 | 0 | 0.01951 | 0.226822 | 14,518 | 369 | 99 | 39.344173 | 0.76686 | 0.058961 | 0 | 0.601476 | 0 | 0 | 0.008433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095941 | false | 0 | 0.01845 | 0.00369 | 0.210332 | 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 |
9eda6d91c9c6858b27a575aea55c59c1f06db163 | 22,675 | py | Python | optimization/first_sdEta_mjj_optimization/sdEta_mistake_analyses/dEta_mmjj_cuts_plots/tight_analysis_sdeta_3.6_mmjj_1250/Output/Histos/MadAnalysis5job_0/selection_9.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/first_sdEta_mjj_optimization/sdEta_mistake_analyses/dEta_mmjj_cuts_plots/tight_analysis_sdeta_3.6_mmjj_1250/Output/Histos/MadAnalysis5job_0/selection_9.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/first_sdEta_mjj_optimization/sdEta_mistake_analyses/dEta_mmjj_cuts_plots/tight_analysis_sdeta_3.6_mmjj_1250/Output/Histos/MadAnalysis5job_0/selection_9.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_9():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 116.881443 | 717 | 0.700992 | 5,398 | 22,675 | 2.809189 | 0.09837 | 0.363229 | 0.537523 | 0.707465 | 0.626616 | 0.626286 | 0.611976 | 0.606832 | 0.604326 | 0.604326 | 0 | 0.381582 | 0.072856 | 22,675 | 193 | 718 | 117.487047 | 0.339723 | 0.06258 | 0 | 0.185841 | 0 | 0.00885 | 0.05066 | 0.009425 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7303a689862ba54673f224cfd4a8d91188a886a6 | 35,892 | py | Python | test/new_tests/test_operate_map.py | syaiful6/aerospike-client-python | 59fa0d36aa899a164282643fe49b27d12aaf323f | [
"Apache-2.0"
] | 105 | 2015-01-07T09:51:13.000Z | 2022-03-24T04:23:54.000Z | test/new_tests/test_operate_map.py | syaiful6/aerospike-client-python | 59fa0d36aa899a164282643fe49b27d12aaf323f | [
"Apache-2.0"
] | 180 | 2015-01-01T19:29:50.000Z | 2022-03-19T14:14:06.000Z | test/new_tests/test_operate_map.py | syaiful6/aerospike-client-python | 59fa0d36aa899a164282643fe49b27d12aaf323f | [
"Apache-2.0"
] | 94 | 2015-01-21T19:17:48.000Z | 2022-01-31T07:17:47.000Z | # -*- coding: utf-8 -*-
import sys
import pytest
from .test_base_class import TestBaseClass
aerospike = pytest.importorskip("aerospike")
try:
import aerospike
from aerospike import exception as e
except:
print("Please install aerospike python client.")
sys.exit(1)
# aerospike.OP_MAP_SET_POLICY
# aer... | 31.237598 | 84 | 0.549593 | 4,455 | 35,892 | 4.051852 | 0.037262 | 0.101601 | 0.124314 | 0.072129 | 0.916958 | 0.902443 | 0.877071 | 0.837682 | 0.805329 | 0.787269 | 0 | 0.005369 | 0.320211 | 35,892 | 1,148 | 85 | 31.264808 | 0.734456 | 0.029032 | 0 | 0.788108 | 0 | 0 | 0.070332 | 0 | 0 | 0 | 0 | 0.002613 | 0.050811 | 1 | 0.074595 | false | 0.002162 | 0.006486 | 0 | 0.082162 | 0.001081 | 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 |
7305eb789285f29b3032a57825aed59ae37428c1 | 6,407 | py | Python | loldib/getratings/models/NA/na_xayah/na_xayah_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_xayah/na_xayah_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_xayah/na_xayah_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Xayah_Jng_Aatrox(Ratings):
pass
class NA_Xayah_Jng_Ahri(Ratings):
pass
class NA_Xayah_Jng_Akali(Ratings):
pass
class NA_Xayah_Jng_Alistar(Ratings):
pass
class NA_Xayah_Jng_Amumu(Ratings):
pass
class NA_Xayah_Jng_Anivia(Ratings):
pass
... | 15.364508 | 46 | 0.761667 | 972 | 6,407 | 4.59465 | 0.151235 | 0.216301 | 0.370802 | 0.463502 | 0.797582 | 0.797582 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173404 | 6,407 | 416 | 47 | 15.401442 | 0.843278 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
731dda6088a1a5d4dcb4b5b982a4c0921598ff96 | 301 | py | Python | 17_Scripting.py | mhaythornthwaite/Python-Zero-to-Mastery-Course | 33b857aa62bfe3b93c57eaa31cae99e7b2b1a6a9 | [
"MIT"
] | null | null | null | 17_Scripting.py | mhaythornthwaite/Python-Zero-to-Mastery-Course | 33b857aa62bfe3b93c57eaa31cae99e7b2b1a6a9 | [
"MIT"
] | null | null | null | 17_Scripting.py | mhaythornthwaite/Python-Zero-to-Mastery-Course | 33b857aa62bfe3b93c57eaa31cae99e7b2b1a6a9 | [
"MIT"
] | null | null | null | print(f'\n\n')
print(' ---------------- START ---------------- ')
# -------------------------------- SCRIPTING ----------------------------------
# ----------------------------------- END -------------------------------------
print(' ----------------- END ----------------- ')
print(f'\n') | 16.722222 | 79 | 0.149502 | 13 | 301 | 3.461538 | 0.461538 | 0.266667 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10299 | 301 | 18 | 80 | 16.722222 | 0.166667 | 0.51495 | 0 | 0 | 0 | 0 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
b4462d3972746e9bbda943f3da81288afefe368b | 7,793 | py | Python | tests/test_fabrik.py | utiasSTARS/graphIK | df5ca000485593540113dad42940680919dc4eb9 | [
"MIT"
] | 16 | 2020-12-14T17:55:17.000Z | 2022-03-29T05:26:05.000Z | tests/test_fabrik.py | utiasSTARS/graphIK | df5ca000485593540113dad42940680919dc4eb9 | [
"MIT"
] | 1 | 2020-11-30T14:20:01.000Z | 2022-01-16T17:54:48.000Z | tests/test_fabrik.py | utiasSTARS/graphIK | df5ca000485593540113dad42940680919dc4eb9 | [
"MIT"
] | 2 | 2021-11-20T15:04:47.000Z | 2022-01-11T13:42:43.000Z | import numpy as np
import numpy.linalg as la
import math
import unittest
import random
from graphik.solvers.solver_fabrik import solver_fabrik
class TestFabrik(unittest.TestCase):
def __init__(self, *args, **kwargs):
super(TestFabrik, self).__init__(*args, **kwargs)
self.max_iteration = 100
... | 30.924603 | 123 | 0.55614 | 902 | 7,793 | 4.627494 | 0.150776 | 0.040968 | 0.023 | 0.042166 | 0.819118 | 0.816243 | 0.810494 | 0.810494 | 0.810494 | 0.810494 | 0 | 0.032578 | 0.354036 | 7,793 | 251 | 124 | 31.047809 | 0.796583 | 0.114077 | 0 | 0.706522 | 0 | 0 | 0.020616 | 0 | 0 | 0 | 0 | 0 | 0.027174 | 1 | 0.043478 | false | 0 | 0.032609 | 0 | 0.092391 | 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 |
b4600bed94373f8305003884afb41e79e0a568d9 | 2,104 | py | Python | delta_node/entity/task.py | delta-mpc/delta-node | 674fc61f951e41ed353597f93ca6ea6bc74a102b | [
"Apache-2.0"
] | 4 | 2021-07-22T01:11:15.000Z | 2022-03-17T03:26:20.000Z | delta_node/entity/task.py | delta-mpc/delta-node | 674fc61f951e41ed353597f93ca6ea6bc74a102b | [
"Apache-2.0"
] | 10 | 2021-09-13T09:55:02.000Z | 2022-03-23T09:41:26.000Z | delta_node/entity/task.py | delta-mpc/delta-node | 674fc61f951e41ed353597f93ca6ea6bc74a102b | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass, field
from enum import Enum
import sqlalchemy as sa
from delta_node.db import mapper_registry
from .base import BaseTable
__all__ = ["TaskStatus", "Task", "RunnerTask"]
class TaskStatus(Enum):
PENDING = 0
RUNNING = 1
FINISHED = 2
ERROR = 3
@mapper_registry.mappe... | 29.633803 | 88 | 0.654943 | 260 | 2,104 | 5.173077 | 0.2 | 0.104089 | 0.124907 | 0.187361 | 0.798513 | 0.747955 | 0.747955 | 0.747955 | 0.747955 | 0.747955 | 0 | 0.002371 | 0.198194 | 2,104 | 70 | 89 | 30.057143 | 0.794902 | 0 | 0 | 0.526316 | 0 | 0 | 0.033745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.087719 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.