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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8387ea3e14246f9daa7aa84c61d4b9e503a87db6 | 5,702 | py | Python | apps/dashboard/map_legend.py | TechnoServe/Caju-Dashboard-v2 | 7345cbfc677f60665276437dbe0a68a992b03b17 | [
"MIT"
] | null | null | null | apps/dashboard/map_legend.py | TechnoServe/Caju-Dashboard-v2 | 7345cbfc677f60665276437dbe0a68a992b03b17 | [
"MIT"
] | null | null | null | apps/dashboard/map_legend.py | TechnoServe/Caju-Dashboard-v2 | 7345cbfc677f60665276437dbe0a68a992b03b17 | [
"MIT"
] | null | null | null | from branca.element import Template, MacroElement
template_fr = """
{% macro html(this, kwargs) %}
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.cs... | 28.79798 | 116 | 0.601543 | 769 | 5,702 | 4.447334 | 0.210663 | 0.032749 | 0.032164 | 0.030409 | 0.908772 | 0.908772 | 0.908772 | 0.908772 | 0.908772 | 0.908772 | 0 | 0.052995 | 0.212382 | 5,702 | 197 | 117 | 28.944162 | 0.708528 | 0 | 0 | 0.8 | 0 | 0.114286 | 0.958962 | 0.140652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005714 | 0 | 0.005714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
83e1d3700dc2d3281b808c2622bdc3d762c3f696 | 357,594 | py | Python | rl_agents/a3c_agent_v1_deterministic.py | IsaiahPressman/Kaggle_Santa_2020 | ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8 | [
"MIT"
] | null | null | null | rl_agents/a3c_agent_v1_deterministic.py | IsaiahPressman/Kaggle_Santa_2020 | ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8 | [
"MIT"
] | null | null | null | rl_agents/a3c_agent_v1_deterministic.py | IsaiahPressman/Kaggle_Santa_2020 | ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8 | [
"MIT"
] | null | null | null | serialized_string = b'gAN9cQBYEAAAAG1vZGVsX3N0YXRlX2RpY3RxAWNjb2xsZWN0aW9ucwpPcmRlcmVkRGljdApxAilScQMoWBoAAABiYXNlLjAubWVzc2FnZV9wYXNzaW5nX21hdHEEY3RvcmNoLl91dGlscwpfcmVidWlsZF90ZW5zb3JfdjIKcQUoY3RvcmNoLnN0b3JhZ2UKX2xvYWRfZnJvbV9ieXRlcwpxBkI8nQAAgAKKCmz8nEb5IGqoUBkugAJN6QMugAJ9cQAoWBAAAABwcm90b2NvbF92ZXJzaW9ucQFN6QNYDQ... | 2,466.165517 | 351,299 | 0.93574 | 21,579 | 357,594 | 15.495806 | 0.051578 | 1.669817 | 2.424787 | 3.126465 | 0.900542 | 0.899615 | 0.899277 | 0.8992 | 0.8992 | 0.898697 | 0 | 0.179653 | 0.004248 | 357,594 | 144 | 351,300 | 2,483.291667 | 0.75943 | 0.00179 | 0 | 0.110092 | 0 | 0.018349 | 0.984482 | 0.984124 | 0 | 1 | 0 | 0.006944 | 0.009174 | 1 | 0.100917 | false | 0.018349 | 0.045872 | 0.009174 | 0.256881 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
f7c9416a6e465da655208b7268be6e523a26f03b | 25,501 | py | Python | etc/stken_policy.py | moibenko/enstore | 6f2ff5b67ff73872a9e68f2a68b0bdaa70cef9b9 | [
"Intel",
"Unlicense"
] | 4 | 2021-10-17T11:17:59.000Z | 2022-02-28T16:58:40.000Z | etc/stken_policy.py | moibenko/enstore | 6f2ff5b67ff73872a9e68f2a68b0bdaa70cef9b9 | [
"Intel",
"Unlicense"
] | 17 | 2021-10-05T21:44:06.000Z | 2022-03-31T16:58:40.000Z | etc/stken_policy.py | moibenko/enstore | 6f2ff5b67ff73872a9e68f2a68b0bdaa70cef9b9 | [
"Intel",
"Unlicense"
] | 8 | 2021-09-02T18:55:49.000Z | 2022-03-09T21:05:28.000Z | # This file contains library manager director policies
policydict = {
'CD-10KCF1.library_manager': {
1: {'rule': {'storage_group': 'lqcd',
'file_family': 'hpqcd',
... | 69.865753 | 107 | 0.248931 | 1,199 | 25,501 | 4.914929 | 0.092577 | 0.072798 | 0.105888 | 0.092652 | 0.943153 | 0.928559 | 0.863058 | 0.793653 | 0.756151 | 0.698456 | 0 | 0.103336 | 0.675542 | 25,501 | 364 | 108 | 70.057692 | 0.608895 | 0.002039 | 0 | 0.551247 | 0 | 0 | 0.217079 | 0.009313 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f7d4b776c9ad3dbb353aa31ac1170b96958352f6 | 10,931 | py | Python | tests/test_crawl_manager.py | curita/shub-workflow | 5450da1502f8c300be242609dc6ae67bd3702079 | [
"BSD-3-Clause"
] | null | null | null | tests/test_crawl_manager.py | curita/shub-workflow | 5450da1502f8c300be242609dc6ae67bd3702079 | [
"BSD-3-Clause"
] | null | null | null | tests/test_crawl_manager.py | curita/shub-workflow | 5450da1502f8c300be242609dc6ae67bd3702079 | [
"BSD-3-Clause"
] | null | null | null | import os
from unittest import TestCase
from unittest.mock import patch, Mock
from shub_workflow.crawl import CrawlManager, PeriodicCrawlManager, GeneratorCrawlManager
from .utils.contexts import script_args
class TestManager(CrawlManager):
name = "test"
class PeriodicTestManager(PeriodicCrawlManager):
... | 37.954861 | 119 | 0.664349 | 1,240 | 10,931 | 5.56371 | 0.107258 | 0.14205 | 0.132193 | 0.173938 | 0.84563 | 0.836933 | 0.831425 | 0.81809 | 0.81809 | 0.794318 | 0 | 0.017049 | 0.238039 | 10,931 | 287 | 120 | 38.087108 | 0.811262 | 0.084439 | 0 | 0.721649 | 0 | 0 | 0.106549 | 0.040857 | 0 | 0 | 0 | 0 | 0.252577 | 1 | 0.061856 | false | 0 | 0.025773 | 0 | 0.154639 | 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 |
f7eaf4936a1f29b84a16462835a7c8320552cf21 | 2,092 | py | Python | messages/comments_reviewer.py | qxf2/daily-messages | 0e93033df8d519873094928eba2a9d0151f1b459 | [
"MIT"
] | null | null | null | messages/comments_reviewer.py | qxf2/daily-messages | 0e93033df8d519873094928eba2a9d0151f1b459 | [
"MIT"
] | 5 | 2020-09-15T10:30:37.000Z | 2021-01-21T18:42:04.000Z | messages/comments_reviewer.py | qxf2/daily-messages | 0e93033df8d519873094928eba2a9d0151f1b459 | [
"MIT"
] | 2 | 2020-08-27T10:24:38.000Z | 2021-01-27T13:00:06.000Z | messages = { '2021-03-18':"<b>@all</b>, Comment reviewers for next week are- Rahul and Rohan J." ,
'2021-03-26':"<b>@all</b>, Comment reviewers for next week are- Akkul and Rohan D.",
'2021-04-01':"<b>@all</b>, Comment reviewers for next week are- Annapoorani and Shivahari.",
'2021-0... | 95.090909 | 104 | 0.600382 | 323 | 2,092 | 3.888545 | 0.142415 | 0.066879 | 0.083599 | 0.200637 | 0.738057 | 0.738057 | 0.738057 | 0.738057 | 0.738057 | 0.682325 | 0 | 0.103768 | 0.226099 | 2,092 | 22 | 105 | 95.090909 | 0.67202 | 0 | 0 | 0 | 0 | 0 | 0.80172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f7f0b08c222caa44dd042bd783f69e8d7aaef915 | 1,870 | py | Python | app/models/Username.py | haryobagus/haryo_ig | 1ad160b422d2c6d5b9b3016e312eb77a576ff9b1 | [
"MIT"
] | null | null | null | app/models/Username.py | haryobagus/haryo_ig | 1ad160b422d2c6d5b9b3016e312eb77a576ff9b1 | [
"MIT"
] | null | null | null | app/models/Username.py | haryobagus/haryo_ig | 1ad160b422d2c6d5b9b3016e312eb77a576ff9b1 | [
"MIT"
] | null | null | null | from app.config import db
def get_all():
try:
conn = db.conn()
with conn.cursor() as cursor:
sql = '''SELECT * FROM ig_usernames ORDER BY id DESC'''
cursor.execute(sql)
conn.commit()
conn.close()
return cursor.fetchall()
except Exception as e:
... | 27.910448 | 73 | 0.542781 | 221 | 1,870 | 4.561086 | 0.217195 | 0.034722 | 0.044643 | 0.064484 | 0.822421 | 0.822421 | 0.72123 | 0.72123 | 0.72123 | 0.72123 | 0 | 0 | 0.328877 | 1,870 | 67 | 74 | 27.910448 | 0.803187 | 0 | 0 | 0.725806 | 0 | 0 | 0.179583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080645 | false | 0 | 0.016129 | 0 | 0.258065 | 0.096774 | 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 |
7913179f368e27dbaa2d116839f327fa1b424800 | 3,803 | py | Python | mavi/jax/util/plot.py | HiroshiKERA/monomial-agnostic-vanishing-ideal | ddfb53ded0ee87f129ec029603e8245565f653d2 | [
"MIT"
] | null | null | null | mavi/jax/util/plot.py | HiroshiKERA/monomial-agnostic-vanishing-ideal | ddfb53ded0ee87f129ec029603e8245565f653d2 | [
"MIT"
] | null | null | null | mavi/jax/util/plot.py | HiroshiKERA/monomial-agnostic-vanishing-ideal | ddfb53ded0ee87f129ec029603e8245565f653d2 | [
"MIT"
] | null | null | null | import jax.numpy as np
import matplotlib.pyplot as plt
def plot(vi, X,
target='vanishing',
n=1000, scale=1.5, x_max=1.0, y_max=1.0,
z_func=lambda x_, y_: 0.0,
show=False, splitshow=False):
nvars = X.shape[-1]
if nvars == 2:
_plot2d(vi, X, target=target,
n=n, scale=s... | 35.877358 | 127 | 0.576913 | 603 | 3,803 | 3.542289 | 0.172471 | 0.02809 | 0.033708 | 0.014981 | 0.854401 | 0.830056 | 0.800094 | 0.800094 | 0.800094 | 0.800094 | 0 | 0.033875 | 0.239285 | 3,803 | 105 | 128 | 36.219048 | 0.704459 | 0.108598 | 0 | 0.702703 | 0 | 0 | 0.067003 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040541 | false | 0 | 0.027027 | 0 | 0.067568 | 0.027027 | 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 |
792adb7f071cd1c0bc5787f281800053775c5ede | 15,297 | py | Python | tests/test_core.py | pyensemble/wildwood | b261cbd7d0b425b50647f719ab99c1d89f477d5c | [
"BSD-3-Clause"
] | 22 | 2021-06-24T11:30:03.000Z | 2022-03-09T00:59:30.000Z | tests/test_core.py | pyensemble/wildwood | b261cbd7d0b425b50647f719ab99c1d89f477d5c | [
"BSD-3-Clause"
] | 65 | 2021-03-13T17:50:03.000Z | 2022-02-22T16:50:02.000Z | tests/test_core.py | pyensemble/wildwood | b261cbd7d0b425b50647f719ab99c1d89f477d5c | [
"BSD-3-Clause"
] | 3 | 2021-03-04T18:44:10.000Z | 2022-01-26T17:28:35.000Z | # Authors: Stephane Gaiffas <stephane.gaiffas@gmail.com>
# License: BSD 3 clause
"""
This module performs unittests on some core computations involved in WildWood
"""
import pytest
import numpy as np
from wildwood import ForestClassifier, ForestRegressor
from wildwood.datasets import load_adult, load_boston, load_ca... | 34.221477 | 86 | 0.678499 | 1,900 | 15,297 | 5.160526 | 0.085789 | 0.054054 | 0.113514 | 0.018358 | 0.826007 | 0.807343 | 0.782356 | 0.759204 | 0.755023 | 0.734523 | 0 | 0.009164 | 0.215336 | 15,297 | 446 | 87 | 34.298206 | 0.807715 | 0.071517 | 0 | 0.797927 | 0 | 0 | 0.091717 | 0 | 0 | 0 | 0 | 0.002242 | 0.07513 | 1 | 0.020725 | false | 0 | 0.012953 | 0 | 0.033679 | 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 |
7935711f077546265b20c05740a0ab8495ab1d51 | 14,861 | py | Python | janeladetalhadaagenda.py | vinerodrigues/sistema-loja_main | 15024e5f42ae446935986fbbf27dec470741e5d8 | [
"MIT"
] | null | null | null | janeladetalhadaagenda.py | vinerodrigues/sistema-loja_main | 15024e5f42ae446935986fbbf27dec470741e5d8 | [
"MIT"
] | null | null | null | janeladetalhadaagenda.py | vinerodrigues/sistema-loja_main | 15024e5f42ae446935986fbbf27dec470741e5d8 | [
"MIT"
] | null | null | null | from tkinter import*
import tkinter as tk
from functools import partial
from datetime import datetime
import time
import main_menu
import dbclientes
import cv2
class abrir_janela_detalhada(object):
def __init__(self, i):
self.carregar_scrollbars(i)
self.listar_financas(i)
def listar_financas(self, i):
def m... | 36.334963 | 254 | 0.60292 | 1,927 | 14,861 | 4.518422 | 0.095485 | 0.033077 | 0.051453 | 0.034914 | 0.939015 | 0.917882 | 0.917882 | 0.908694 | 0.908694 | 0.908694 | 0 | 0.028289 | 0.23168 | 14,861 | 409 | 255 | 36.334963 | 0.733579 | 0.129937 | 0 | 0.891803 | 0 | 0 | 0.12865 | 0.009657 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0.006557 | 0.02623 | 0 | 0.065574 | 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 |
f701ffdb06c403bc4f6a1e71c86342279da88863 | 69,260 | py | Python | bitmex_swagger/api/order_api.py | silencewwt/bitmex-swagger-client | 01403685eeb12eb27d53a0310d3bc7541793aa0f | [
"MIT"
] | 1 | 2018-08-04T15:05:43.000Z | 2018-08-04T15:05:43.000Z | bitmex_swagger/api/order_api.py | silencewwt/bitmex-swagger | 01403685eeb12eb27d53a0310d3bc7541793aa0f | [
"MIT"
] | null | null | null | bitmex_swagger/api/order_api.py | silencewwt/bitmex-swagger | 01403685eeb12eb27d53a0310d3bc7541793aa0f | [
"MIT"
] | null | null | null | # coding: utf-8
"""
BitMEX API
## REST API for the BitMEX Trading Platform [View Changelog](/app/apiChangelog) ---- #### Getting Started Base URI: [https://www.bitmex.com/api/v1](/api/v1) ##### Fetching Data All REST endpoints are documented below. You can try out any query right from this interface. M... | 66.087786 | 6,648 | 0.665232 | 9,002 | 69,260 | 4.995779 | 0.077205 | 0.030953 | 0.019924 | 0.015209 | 0.944076 | 0.936449 | 0.931624 | 0.92651 | 0.921062 | 0.920217 | 0 | 0.012393 | 0.240399 | 69,260 | 1,047 | 6,649 | 66.150907 | 0.842406 | 0.034291 | 0 | 0.774955 | 0 | 0 | 0.213215 | 0.045386 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.00726 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f70fe9c7b4c2d2219e6b95fb49dd28ca0b904f97 | 339 | py | Python | Python/python-tutorials/python-challenge/integrity.py | zhongyangynag/code-study | 5410929554107a384a09d899c6fa3d16ed383d2b | [
"MIT"
] | null | null | null | Python/python-tutorials/python-challenge/integrity.py | zhongyangynag/code-study | 5410929554107a384a09d899c6fa3d16ed383d2b | [
"MIT"
] | null | null | null | Python/python-tutorials/python-challenge/integrity.py | zhongyangynag/code-study | 5410929554107a384a09d899c6fa3d16ed383d2b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
un='BZh91AY&SYA\xaf\x82\r\x00\x00\x01\x01\x80\x02\xc0\x02\x00 \x00!\x9ah3M\x07<]\xc9\x14\xe1BA\x06\xbe\x084'
pw='BZh91AY&SY\x94$|\x0e\x00\x00\x00\x81\x00\x03$ \x00!\x9ah3M\x13<]\xc9\x14\xe1BBP\x91\xf08'
import bz2
print bz2.BZ2Decompressor().decompress(un)
# huge
print bz2.BZ2Decompressor().decom... | 28.25 | 108 | 0.728614 | 61 | 339 | 4.04918 | 0.655738 | 0.097166 | 0.186235 | 0.267206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225 | 0.056047 | 339 | 11 | 109 | 30.818182 | 0.546875 | 0.088496 | 0 | 0 | 0 | 0.4 | 0.628289 | 0.621711 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f719d938c36fb80ad1c9ea86ac17254b9fc23390 | 50,482 | py | Python | pyGPs/Core/gp.py | Corentin-LF/pyGPs | b9d36777584cd53756bd4311c3c20ea52e945451 | [
"BSD-2-Clause"
] | null | null | null | pyGPs/Core/gp.py | Corentin-LF/pyGPs | b9d36777584cd53756bd4311c3c20ea52e945451 | [
"BSD-2-Clause"
] | null | null | null | pyGPs/Core/gp.py | Corentin-LF/pyGPs | b9d36777584cd53756bd4311c3c20ea52e945451 | [
"BSD-2-Clause"
] | null | null | null | from __future__ import division
from __future__ import absolute_import
from builtins import str
from builtins import range
from builtins import object
from past.utils import old_div
#================================================================================
# Marion Neumann [marion dot neumann at uni-bonn dot ... | 40.450321 | 156 | 0.563389 | 6,480 | 50,482 | 4.349228 | 0.091975 | 0.010006 | 0.011922 | 0.009935 | 0.806337 | 0.780861 | 0.753504 | 0.739204 | 0.721676 | 0.699571 | 0 | 0.01585 | 0.331385 | 50,482 | 1,247 | 157 | 40.482759 | 0.819127 | 0.335189 | 0 | 0.726068 | 0 | 0 | 0.092209 | 0 | 0 | 0 | 0 | 0 | 0.014728 | 1 | 0.067747 | false | 0.001473 | 0.022091 | 0 | 0.116348 | 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 |
f728acca0a7a5018263431ea24aa5a8ba6852f87 | 154 | py | Python | tests/reporting/review/api.py | ctk3b/borderline | 7c4ab891b36c97038940dea678718dea8ebf5060 | [
"MIT"
] | null | null | null | tests/reporting/review/api.py | ctk3b/borderline | 7c4ab891b36c97038940dea678718dea8ebf5060 | [
"MIT"
] | 4 | 2021-09-17T00:53:47.000Z | 2021-09-24T22:05:13.000Z | tests/reporting/review/api.py | ctk3b/borderline | 7c4ab891b36c97038940dea678718dea8ebf5060 | [
"MIT"
] | null | null | null | import reporting.report_builder.api
import reporting.report_builder.this_is_a_violation
import reporting.report_builder.this_is_a_grandfathered_violation
| 38.5 | 65 | 0.922078 | 22 | 154 | 6 | 0.454545 | 0.340909 | 0.477273 | 0.636364 | 0.530303 | 0.530303 | 0.530303 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 154 | 3 | 66 | 51.333333 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
f799e614ddaa65cbeb6970a474d2212c8c9e8cd5 | 130 | py | Python | api/user_control/admin.py | richeshgupta/SecureBit | 89a95e7e4df2276294f76803a7bc5b8d7f99d436 | [
"MIT"
] | 1 | 2021-07-03T04:51:55.000Z | 2021-07-03T04:51:55.000Z | api/user_control/admin.py | richeshgupta/SecureBit | 89a95e7e4df2276294f76803a7bc5b8d7f99d436 | [
"MIT"
] | 6 | 2021-03-24T11:23:41.000Z | 2022-02-27T12:24:37.000Z | api/user_control/admin.py | richeshgupta/SecureBit | 89a95e7e4df2276294f76803a7bc5b8d7f99d436 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import CustomUser, Jwt, Favorite
admin.site.register((CustomUser, Jwt, Favorite))
| 21.666667 | 48 | 0.792308 | 17 | 130 | 6.058824 | 0.647059 | 0.252427 | 0.407767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 130 | 5 | 49 | 26 | 0.895652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
e3a7cbc8374af3fd768fb93949f32d80b7061feb | 2,704 | py | Python | src/post.py | BaseOutside/twiapi-wrapper | b2d55d0f56431cd0e23038300024e55e61e54ca4 | [
"MIT"
] | null | null | null | src/post.py | BaseOutside/twiapi-wrapper | b2d55d0f56431cd0e23038300024e55e61e54ca4 | [
"MIT"
] | null | null | null | src/post.py | BaseOutside/twiapi-wrapper | b2d55d0f56431cd0e23038300024e55e61e54ca4 | [
"MIT"
] | null | null | null | import config
import json
import base64
def tweet(text, *img):
if len(img) > 4:
print("too many images")
return -1
if type(text) != str:
text = str(text)
twitter = config.twitter
url = "https://api.twitter.com/1.1/statuses/update.json"
url_img = "https://upload.twitt... | 25.752381 | 78 | 0.570266 | 374 | 2,704 | 3.997326 | 0.157754 | 0.046823 | 0.044147 | 0.048161 | 0.868227 | 0.835452 | 0.807358 | 0.807358 | 0.785284 | 0.785284 | 0 | 0.023736 | 0.283284 | 2,704 | 104 | 79 | 26 | 0.747678 | 0 | 0 | 0.746479 | 0 | 0 | 0.214867 | 0.007766 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056338 | false | 0 | 0.042254 | 0 | 0.183099 | 0.112676 | 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 |
e3d77cb04716e6d50ee8c5b70fa6bdd5ed63bcb5 | 126 | py | Python | src/spaceone/monitoring/conf/proto_conf.py | choonho/plugin-api-direct-mon-webhook | a5c97c410e91b4a98db3594868e6b495ec6e9f48 | [
"Apache-2.0"
] | 1 | 2021-11-25T02:57:36.000Z | 2021-11-25T02:57:36.000Z | src/spaceone/monitoring/conf/proto_conf.py | choonho/plugin-api-direct-mon-webhook | a5c97c410e91b4a98db3594868e6b495ec6e9f48 | [
"Apache-2.0"
] | 2 | 2022-02-10T05:32:56.000Z | 2022-03-17T12:17:20.000Z | src/spaceone/monitoring/conf/proto_conf.py | choonho/plugin-api-direct-mon-webhook | a5c97c410e91b4a98db3594868e6b495ec6e9f48 | [
"Apache-2.0"
] | 3 | 2021-08-19T10:42:45.000Z | 2021-11-23T03:02:09.000Z | PROTO = {
'spaceone.monitoring.api.plugin.webhook': ['Webhook'],
'spaceone.monitoring.api.plugin.event': ['Event'],
}
| 25.2 | 58 | 0.65873 | 13 | 126 | 6.384615 | 0.538462 | 0.433735 | 0.506024 | 0.650602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 126 | 4 | 59 | 31.5 | 0.754545 | 0 | 0 | 0 | 0 | 0 | 0.68254 | 0.587302 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5407cc2b2de75d9da1b27de77f6ed7330182aaf1 | 17,575 | py | Python | expert/NinaPro/semg_repro/data.py | rtu715/NAS-Bench-360 | d075006848c664371855c34082b0a00cda62be67 | [
"MIT"
] | 10 | 2021-06-15T17:48:34.000Z | 2022-02-23T18:34:28.000Z | expert/NinaPro/semg_repro/data.py | rtu715/NAS-Bench-360 | d075006848c664371855c34082b0a00cda62be67 | [
"MIT"
] | 1 | 2021-11-12T15:12:38.000Z | 2021-11-12T19:38:00.000Z | expert/NinaPro/semg_repro/data.py | rtu715/NAS-Bench-360 | d075006848c664371855c34082b0a00cda62be67 | [
"MIT"
] | 1 | 2021-11-15T04:07:17.000Z | 2021-11-15T04:07:17.000Z | # built in libraries
import random
import multiprocessing
# third party
import numpy as np
from scipy import signal
from scipy.io import loadmat
# local
from label_dict import label_dict
from bc_dict import bc_dict
# build window rolling scheme
def roll_labels(x, y):
labs_rolled = []
for i in range(len(y)):
... | 33.668582 | 93 | 0.571038 | 2,408 | 17,575 | 4.10299 | 0.120847 | 0.032591 | 0.010931 | 0.017206 | 0.81417 | 0.807692 | 0.804656 | 0.802328 | 0.791903 | 0.791903 | 0 | 0.016412 | 0.31357 | 17,575 | 521 | 94 | 33.733205 | 0.802553 | 0.201593 | 0 | 0.731988 | 0 | 0 | 0.023552 | 0.008019 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074928 | false | 0.017291 | 0.020173 | 0.008646 | 0.152738 | 0.034582 | 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 |
5415abad33148486dc40abb147c9e02e3c4db8c0 | 29,834 | py | Python | Configs/partnet_options.py | erictuanle/GoingDeeperwPointNetworks | ab48e5d542289b485118ababf4716eb1686b302b | [
"MIT"
] | 58 | 2019-07-02T01:41:59.000Z | 2021-03-14T07:11:20.000Z | Configs/partnet_options.py | erictuanle/GoingDeeperwPointNetworks | ab48e5d542289b485118ababf4716eb1686b302b | [
"MIT"
] | 11 | 2019-07-04T08:38:08.000Z | 2020-11-13T12:47:15.000Z | Configs/partnet_options.py | erictuanle/GoingDeeperwPointNetworks | ab48e5d542289b485118ababf4716eb1686b302b | [
"MIT"
] | 10 | 2020-03-08T03:02:01.000Z | 2021-02-07T02:08:25.000Z | import os
import torch
import argparse
from Configs.base_options import BaseOptions
#######################################################################################################################
# This script is based on the CycleGan & Pix2Pix code repository
# https://github.com/junyanz/pytorch-CycleGAN-and-... | 120.298387 | 250 | 0.500134 | 3,352 | 29,834 | 4.352625 | 0.057578 | 0.070322 | 0.132831 | 0.083276 | 0.926319 | 0.918369 | 0.914119 | 0.912132 | 0.911446 | 0.902262 | 0 | 0.045094 | 0.378595 | 29,834 | 248 | 251 | 120.298387 | 0.741895 | 0.003955 | 0 | 0.728814 | 0 | 0 | 0.324026 | 0.042204 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025424 | false | 0 | 0.016949 | 0 | 0.072034 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
582009347dd106a8c7d8202695e94770b51c126b | 127 | py | Python | mmdet2trt/core/anchor/__init__.py | jackweiwang/mmdetection-to-tensorrt | f988ba8e923764fb1173385a1c7160b8f8b5bd99 | [
"Apache-2.0"
] | 1 | 2021-08-23T10:09:37.000Z | 2021-08-23T10:09:37.000Z | mmdet2trt/core/anchor/__init__.py | gcong18/mmdetection-to-tensorrt | c31c32ee4720ff56010bcda77bacf3a110d0526c | [
"Apache-2.0"
] | null | null | null | mmdet2trt/core/anchor/__init__.py | gcong18/mmdetection-to-tensorrt | c31c32ee4720ff56010bcda77bacf3a110d0526c | [
"Apache-2.0"
] | null | null | null | from .anchor_generator import AnchorGeneratorWraper, SSDAnchorGeneratorWraper
from .point_generator import PointGeneratorWraper | 63.5 | 77 | 0.913386 | 11 | 127 | 10.363636 | 0.727273 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 127 | 2 | 78 | 63.5 | 0.957983 | 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 |
584fe8791bbdb068bf52559af2739c9eba4ad57d | 18,680 | py | Python | sdk/python/pulumi_aws/glue/catalog_table.py | dixler/pulumi-aws | 88838ed6d412c092717a916b0b5b154f68226c3a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/glue/catalog_table.py | dixler/pulumi-aws | 88838ed6d412c092717a916b0b5b154f68226c3a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/glue/catalog_table.py | dixler/pulumi-aws | 88838ed6d412c092717a916b0b5b154f68226c3a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Catalo... | 66.476868 | 352 | 0.676767 | 2,393 | 18,680 | 5.159632 | 0.115336 | 0.067709 | 0.045355 | 0.024621 | 0.864906 | 0.852515 | 0.843363 | 0.829675 | 0.821414 | 0.820604 | 0 | 0.000691 | 0.225268 | 18,680 | 280 | 353 | 66.714286 | 0.852474 | 0.529979 | 0 | 0.026316 | 1 | 0 | 0.149606 | 0.008366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.013158 | 0.078947 | 0.026316 | 0.342105 | 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 |
587357f0302b1d29d4d84210c770bc49f320507b | 17,753 | py | Python | models/FNO.py | meliao/fourier_neural_operator | 216915c6f1acd0651c7203bc8f16824efc495c5f | [
"MIT"
] | null | null | null | models/FNO.py | meliao/fourier_neural_operator | 216915c6f1acd0651c7203bc8f16824efc495c5f | [
"MIT"
] | null | null | null | models/FNO.py | meliao/fourier_neural_operator | 216915c6f1acd0651c7203bc8f16824efc495c5f | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
# import torch.fft as fft
# from torch.nn.parameter import Parameter
class SpectralConv1d(nn.Module):
def __init__(self, in_channels, out_channels, modes1):
super(SpectralConv1d, self).__init__()
"""
1D F... | 34.074856 | 121 | 0.562215 | 2,669 | 17,753 | 3.671413 | 0.071937 | 0.117563 | 0.0995 | 0.088172 | 0.826513 | 0.808348 | 0.803347 | 0.791407 | 0.764874 | 0.747525 | 0 | 0.046986 | 0.301076 | 17,753 | 521 | 122 | 34.074856 | 0.742747 | 0.099927 | 0 | 0.767974 | 0 | 0 | 0.002274 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 1 | 0.065359 | false | 0 | 0.013072 | 0.003268 | 0.143791 | 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 |
58748fce3fda71edbb71668eafd0bbb1ce7e065b | 28,323 | py | Python | jointvae/models_custom.py | aashishkumar0228/joint-vae | 6d0d5a19ddb8cb0a1bbe27ec8b8999cc1e177131 | [
"MIT"
] | null | null | null | jointvae/models_custom.py | aashishkumar0228/joint-vae | 6d0d5a19ddb8cb0a1bbe27ec8b8999cc1e177131 | [
"MIT"
] | null | null | null | jointvae/models_custom.py | aashishkumar0228/joint-vae | 6d0d5a19ddb8cb0a1bbe27ec8b8999cc1e177131 | [
"MIT"
] | null | null | null | import torch
from torch import nn, optim
from torch.nn import functional as F
EPS = 1e-12
class VAE_OPERATOR(nn.Module):
def __init__(self, img_size, latent_spec, temperature=.67, use_cuda=False, hidden_dim=64):
"""
Class which defines model and forward pass.
Parameters
---------... | 35.806574 | 178 | 0.573033 | 3,458 | 28,323 | 4.537883 | 0.064777 | 0.039511 | 0.024025 | 0.013765 | 0.988784 | 0.988784 | 0.988784 | 0.988657 | 0.988657 | 0.988338 | 0 | 0.025963 | 0.328214 | 28,323 | 790 | 179 | 35.851899 | 0.79876 | 0.299015 | 0 | 0.892768 | 0 | 0.007481 | 0.028139 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052369 | false | 0.007481 | 0.007481 | 0 | 0.127182 | 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 |
589cca608559d9a6b011ed6cbb7686d68fba4700 | 2,209 | py | Python | website/canvas/tests/test_authorization.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 61 | 2015-11-10T17:13:46.000Z | 2021-08-06T17:58:30.000Z | website/canvas/tests/test_authorization.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 13 | 2015-11-11T07:49:41.000Z | 2021-06-09T03:45:31.000Z | website/canvas/tests/test_authorization.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 18 | 2015-11-11T04:50:04.000Z | 2021-08-20T00:57:11.000Z | from canvas.tests.tests_helpers import CanvasTestCase, create_user, create_staff, create_group
class TestAuthorization(CanvasTestCase):
def test_user_cannot_moderate_group(self):
normal_user, group = create_user(), create_group()
self.assertFalse(group.can_moderate(normal_user))
de... | 41.679245 | 94 | 0.700317 | 269 | 2,209 | 5.349442 | 0.100372 | 0.145935 | 0.114663 | 0.105629 | 0.849896 | 0.813065 | 0.792217 | 0.749131 | 0.749131 | 0.657401 | 0 | 0 | 0.21005 | 2,209 | 52 | 95 | 42.480769 | 0.824642 | 0 | 0 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275 | 1 | 0.275 | false | 0 | 0.025 | 0 | 0.325 | 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 |
543a79c40e14b4614ee77ce81f9c6d0bd99833a2 | 20,567 | py | Python | sdk/python/pulumi_azure/apimanagement/api_operation_policy.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/apimanagement/api_operation_policy.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/apimanagement/api_operation_policy.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.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... | 46.217978 | 264 | 0.666553 | 2,513 | 20,567 | 5.217668 | 0.073219 | 0.068792 | 0.085418 | 0.07047 | 0.869051 | 0.848917 | 0.837858 | 0.822224 | 0.807581 | 0.788057 | 0 | 0.004682 | 0.24199 | 20,567 | 444 | 265 | 46.322072 | 0.836369 | 0.381096 | 0 | 0.668085 | 1 | 0 | 0.11617 | 0.010474 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157447 | false | 0.004255 | 0.021277 | 0 | 0.27234 | 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 |
54439e747a1a5b637708a3b51fa9a3daedbdd519 | 134,477 | py | Python | skyfield/tests/test_against_novas.py | aarose/python-skyfield | a6c56247d1a888f57fc442530948779cec5c1db1 | [
"MIT"
] | null | null | null | skyfield/tests/test_against_novas.py | aarose/python-skyfield | a6c56247d1a888f57fc442530948779cec5c1db1 | [
"MIT"
] | null | null | null | skyfield/tests/test_against_novas.py | aarose/python-skyfield | a6c56247d1a888f57fc442530948779cec5c1db1 | [
"MIT"
] | null | null | null | 'Auto-generated accuracy tests vs NOVAS (see build_novas_tests.py).'
from numpy import abs, array, einsum, max
from skyfield import (earthlib, framelib, nutationlib, positionlib,
precessionlib, starlib, timelib)
from skyfield.api import JulianDate
from skyfield.constants import AU_KM, AU_M
from s... | 46.212027 | 464 | 0.707296 | 17,884 | 134,477 | 5.24754 | 0.0638 | 0.037082 | 0.081867 | 0.077019 | 0.856373 | 0.839665 | 0.827506 | 0.79164 | 0.74127 | 0.64944 | 0 | 0.322831 | 0.151714 | 134,477 | 2,909 | 465 | 46.227913 | 0.499847 | 0.001138 | 0 | 0.522381 | 1 | 0.002238 | 0.032169 | 0.005075 | 0 | 0 | 0 | 0.000344 | 0.000895 | 1 | 0.091764 | false | 0 | 0.003581 | 0 | 0.095345 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
545ccb260f2ff919d32c1e8332d29c4969193170 | 151 | py | Python | robo_vln_baselines/__init__.py | Felix2048/robo-vln | a9fbc6935e75fc0b3c9435a3f2a219ca4d19ef21 | [
"MIT"
] | 38 | 2021-04-22T03:25:50.000Z | 2022-03-31T14:21:36.000Z | robo_vln_baselines/__init__.py | Felix2048/robo-vln | a9fbc6935e75fc0b3c9435a3f2a219ca4d19ef21 | [
"MIT"
] | 5 | 2021-06-02T03:29:13.000Z | 2021-09-23T00:04:08.000Z | robo_vln_baselines/__init__.py | Felix2048/robo-vln | a9fbc6935e75fc0b3c9435a3f2a219ca4d19ef21 | [
"MIT"
] | 5 | 2021-04-21T12:49:43.000Z | 2021-07-29T02:43:37.000Z | from robo_vln_baselines import robo_vln_trainer
from robo_vln_baselines import hierarchical_trainer
from robo_vln_baselines.common import environments
| 37.75 | 51 | 0.913907 | 22 | 151 | 5.863636 | 0.409091 | 0.217054 | 0.255814 | 0.465116 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07947 | 151 | 3 | 52 | 50.333333 | 0.928058 | 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 |
547d8fe6b268992f1163594887b48eeb222900c5 | 766 | py | Python | test/play_with_conv2d_transpose.py | brianlan/image-semantic-segmentation | aef172ed022091b9151f3eef1cc6213bbb122635 | [
"MIT"
] | 3 | 2017-09-14T16:19:46.000Z | 2018-02-28T12:51:31.000Z | test/play_with_conv2d_transpose.py | brianlan/image-semantic-segmentation | aef172ed022091b9151f3eef1cc6213bbb122635 | [
"MIT"
] | 1 | 2017-09-14T16:20:14.000Z | 2017-09-14T16:20:14.000Z | test/play_with_conv2d_transpose.py | brianlan/kaggle-carvana-semantic-segmentation-unet | aef172ed022091b9151f3eef1cc6213bbb122635 | [
"MIT"
] | null | null | null | import tensorflow as tf
def test_conv2d():
tf.set_random_seed(1)
x = tf.random_normal(shape=[1, 5, 5, 3])
kernel = tf.random_normal(shape=[2, 2, 3, 1])
y = tf.nn.conv2d(x, kernel, strides=[1, 1, 1, 1], padding="SAME")
sess = tf.Session()
tf.global_variables_initializer().run(session=sess)
... | 26.413793 | 69 | 0.608355 | 122 | 766 | 3.680328 | 0.278689 | 0.071269 | 0.124722 | 0.169265 | 0.761693 | 0.734967 | 0.734967 | 0.734967 | 0.734967 | 0.734967 | 0 | 0.05753 | 0.22846 | 766 | 28 | 70 | 27.357143 | 0.7022 | 0 | 0 | 0.6 | 0 | 0 | 0.010444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.1 | 0.05 | 0 | 0.15 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
54a35666406b58ef10bf29928ed99b6a57c5d48e | 19,579 | py | Python | backend/tests/unittests/metric_source/jira_backlog_tests.py | ICTU/quality-report | f6234e112228ee7cfe6476c2d709fe244579bcfe | [
"Apache-2.0"
] | 25 | 2016-11-25T10:41:24.000Z | 2021-07-03T14:02:49.000Z | backend/tests/unittests/metric_source/jira_backlog_tests.py | ICTU/quality-report | f6234e112228ee7cfe6476c2d709fe244579bcfe | [
"Apache-2.0"
] | 783 | 2016-09-19T12:10:21.000Z | 2021-01-04T20:39:15.000Z | backend/tests/unittests/metric_source/jira_backlog_tests.py | ICTU/quality-report | f6234e112228ee7cfe6476c2d709fe244579bcfe | [
"Apache-2.0"
] | 15 | 2015-03-25T13:52:49.000Z | 2021-03-08T17:17:56.000Z | """
Copyright 2012-2018 Ministerie van Sociale Zaken en Werkgelegenheid
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... | 55.622159 | 118 | 0.653506 | 2,384 | 19,579 | 5.075503 | 0.07802 | 0.05157 | 0.076364 | 0.059504 | 0.868595 | 0.853554 | 0.831818 | 0.807025 | 0.774463 | 0.754132 | 0 | 0.014967 | 0.204862 | 19,579 | 351 | 119 | 55.780627 | 0.762269 | 0.168241 | 0 | 0.609054 | 0 | 0.004115 | 0.191121 | 0.010351 | 0 | 0 | 0 | 0 | 0.296296 | 1 | 0.152263 | false | 0.156379 | 0.160494 | 0 | 0.325103 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
3fbd61336970a5bb420c62ac7c63dfe58c697a0c | 19,288 | py | Python | climateeconomics/tests/utility_tests/_l1_test_gradient_witness_full.py | os-climate/witness-core | 3ef9a44d86804c5ad57deec3c9916348cb3bfbb8 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2022-01-14T06:37:42.000Z | 2022-01-14T06:37:42.000Z | climateeconomics/tests/utility_tests/_l1_test_gradient_witness_full.py | os-climate/witness-core | 3ef9a44d86804c5ad57deec3c9916348cb3bfbb8 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | climateeconomics/tests/utility_tests/_l1_test_gradient_witness_full.py | os-climate/witness-core | 3ef9a44d86804c5ad57deec3c9916348cb3bfbb8 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | '''
Copyright 2022 Airbus SAS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | 51.710456 | 237 | 0.669484 | 2,375 | 19,288 | 5.045474 | 0.112842 | 0.036552 | 0.040891 | 0.022532 | 0.858466 | 0.846533 | 0.829926 | 0.811817 | 0.798047 | 0.777101 | 0 | 0.011335 | 0.231595 | 19,288 | 372 | 238 | 51.849462 | 0.79718 | 0.141124 | 0 | 0.708333 | 0 | 0.004167 | 0.292875 | 0.233004 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029167 | false | 0 | 0.025 | 0.004167 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b74fa469cc23fa734f42613a3cb5f1997f47ba8a | 13,639 | py | Python | src/planettest.py | tillgr/robolab | 67acad1ba7731c69b113a93ab737a4389e3e62cf | [
"MIT"
] | null | null | null | src/planettest.py | tillgr/robolab | 67acad1ba7731c69b113a93ab737a4389e3e62cf | [
"MIT"
] | null | null | null | src/planettest.py | tillgr/robolab | 67acad1ba7731c69b113a93ab737a4389e3e62cf | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import unittest
from planet import Direction, Planet
import pprint
class ExampleTestPlanet(unittest.TestCase):
def setUp(self):
"""
Instantiates the planet data structure and fills it with paths
example planet:
+--+
| |
+-0,3------+
... | 48.537367 | 135 | 0.559425 | 1,899 | 13,639 | 3.92891 | 0.056872 | 0.160836 | 0.163785 | 0.21418 | 0.875084 | 0.842246 | 0.809141 | 0.783809 | 0.720145 | 0.686369 | 0 | 0.061977 | 0.238141 | 13,639 | 280 | 136 | 48.710714 | 0.656049 | 0.113645 | 0 | 0.537931 | 0 | 0 | 0.000754 | 0 | 0 | 0 | 0 | 0 | 0.075862 | 1 | 0.110345 | false | 0.02069 | 0.02069 | 0 | 0.144828 | 0.027586 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b786b463dadbabdac6a3dd8afcda884ea3a1cb95 | 27,707 | py | Python | tests/components/cover/test_template.py | robin13/home-assistant | 4976569e304c23975d34ec88e2dfb94e84ab1f1c | [
"Apache-2.0"
] | 37 | 2018-05-22T07:17:26.000Z | 2022-03-03T13:14:46.000Z | tests/components/cover/test_template.py | robin13/home-assistant | 4976569e304c23975d34ec88e2dfb94e84ab1f1c | [
"Apache-2.0"
] | 125 | 2018-12-11T07:31:20.000Z | 2021-07-27T08:20:03.000Z | tests/components/cover/test_template.py | robin13/home-assistant | 4976569e304c23975d34ec88e2dfb94e84ab1f1c | [
"Apache-2.0"
] | 8 | 2018-05-30T20:05:26.000Z | 2021-02-19T14:17:05.000Z | """The tests the cover command line platform."""
import logging
import unittest
from homeassistant.core import callback
from homeassistant import setup
import homeassistant.components.cover as cover
from homeassistant.const import STATE_OPEN, STATE_CLOSED
from tests.common import (
get_test_home_assistant, asser... | 38.216552 | 78 | 0.431768 | 2,269 | 27,707 | 5.009255 | 0.059057 | 0.09854 | 0.089741 | 0.064315 | 0.860197 | 0.843569 | 0.827028 | 0.819462 | 0.813919 | 0.813479 | 0 | 0.007147 | 0.459631 | 27,707 | 724 | 79 | 38.269337 | 0.752004 | 0.033674 | 0 | 0.703642 | 0 | 0 | 0.212209 | 0.059243 | 0 | 0 | 0 | 0 | 0.129139 | 1 | 0.036424 | false | 0 | 0.011589 | 0 | 0.05298 | 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 |
b7919cd97bca1692d94d13d58a2a1b9fc54dfab0 | 2,146 | py | Python | trader/core/tests/test_view_orders.py | CryptTrader/CryptTrader | 47a87923efd976281c154f898e1b01a8e449a9f8 | [
"MIT"
] | null | null | null | trader/core/tests/test_view_orders.py | CryptTrader/CryptTrader | 47a87923efd976281c154f898e1b01a8e449a9f8 | [
"MIT"
] | null | null | null | trader/core/tests/test_view_orders.py | CryptTrader/CryptTrader | 47a87923efd976281c154f898e1b01a8e449a9f8 | [
"MIT"
] | null | null | null | from django import test
from django.shortcuts import resolve_url as r
from trader.core.models import User, BillingAccount, BTCSellOrder, BTCBuyOrder
class BTCSellOrderViewTest(test.TestCase):
def setUp(self):
u = User.objects.create_user(username='user', email='a@user.com', password='pas$4W0rd')
... | 41.269231 | 98 | 0.670084 | 280 | 2,146 | 5.067857 | 0.217857 | 0.054968 | 0.071882 | 0.084567 | 0.794926 | 0.794926 | 0.794926 | 0.794926 | 0.794926 | 0.794926 | 0 | 0.012436 | 0.175676 | 2,146 | 52 | 99 | 41.269231 | 0.789712 | 0.11137 | 0 | 0.636364 | 0 | 0 | 0.128396 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.272727 | false | 0.181818 | 0.090909 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
b79e6256ceab1bdbadea2081a013ceb41fff35a1 | 4,015 | py | Python | integrationtest/vm/basic/test_MN_examine_vm_state.py | sherry546/zstack-woodpecker | 54a37459f2d72ce6820974feaa6eb55772c3d2ce | [
"Apache-2.0"
] | 1 | 2021-03-21T12:41:11.000Z | 2021-03-21T12:41:11.000Z | integrationtest/vm/basic/test_MN_examine_vm_state.py | sherry546/zstack-woodpecker | 54a37459f2d72ce6820974feaa6eb55772c3d2ce | [
"Apache-2.0"
] | null | null | null | integrationtest/vm/basic/test_MN_examine_vm_state.py | sherry546/zstack-woodpecker | 54a37459f2d72ce6820974feaa6eb55772c3d2ce | [
"Apache-2.0"
] | 1 | 2017-05-19T06:40:40.000Z | 2017-05-19T06:40:40.000Z | '''
Test MN monitor VM lifecycle START->RUNNING->STOPPED->RUNNING->PAUSED->RUNNING->PAUSED->STOPPED
@author:Mengying.li
'''
import zstackwoodpecker.test_util as test_util
import zstackwoodpecker.test_lib as test_lib
import test_stub
import time
vm=None
def test():
global vm
vm=test_stub.create_vm()
vm.che... | 31.124031 | 102 | 0.637858 | 637 | 4,015 | 3.805338 | 0.11303 | 0.075908 | 0.063531 | 0.10396 | 0.793729 | 0.780528 | 0.780528 | 0.780528 | 0.780528 | 0.780528 | 0 | 0.013694 | 0.236115 | 4,015 | 128 | 103 | 31.367188 | 0.776655 | 0.028643 | 0 | 0.762887 | 0 | 0 | 0.197636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020619 | false | 0.082474 | 0.041237 | 0 | 0.061856 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
b7c6e6b363944a42f6e612f9e9b8e2afb53bf385 | 125 | py | Python | __init__.py | xuwenyihust/Lunatic | d0be34065c716f166cfba992cfcbb9afeffc2167 | [
"MIT"
] | 39 | 2017-09-25T10:54:50.000Z | 2020-11-10T03:18:53.000Z | __init__.py | xuwenyihust/Lunatic | d0be34065c716f166cfba992cfcbb9afeffc2167 | [
"MIT"
] | 56 | 2017-05-06T23:44:04.000Z | 2020-02-16T08:14:15.000Z | __init__.py | xuwenyihust/Lunatic | d0be34065c716f166cfba992cfcbb9afeffc2167 | [
"MIT"
] | 2 | 2017-10-03T11:24:14.000Z | 2019-05-18T08:29:26.000Z | from .src import log_gen
from .src import apache_gen
def help():
return 'lunaticlog: to help you generate fake log loads.'
| 20.833333 | 58 | 0.76 | 21 | 125 | 4.428571 | 0.714286 | 0.150538 | 0.27957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168 | 125 | 5 | 59 | 25 | 0.894231 | 0 | 0 | 0 | 1 | 0 | 0.384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 8 |
b7d2c0d1ebf7804ecf65d7081eeb22e80f9df7d3 | 197 | py | Python | simplemma/tokenizer.py | adbar/simplemma | c4d0f3ff13f567d5c581f7408ead1df4753bb5b8 | [
"BSD-2-Clause",
"CC-BY-4.0",
"MIT"
] | 22 | 2021-01-18T22:14:51.000Z | 2022-03-18T04:32:29.000Z | simplemma/tokenizer.py | adbar/simplemma | c4d0f3ff13f567d5c581f7408ead1df4753bb5b8 | [
"BSD-2-Clause",
"CC-BY-4.0",
"MIT"
] | 9 | 2021-01-18T17:50:44.000Z | 2022-03-26T02:23:14.000Z | simplemma/tokenizer.py | adbar/simplemma | c4d0f3ff13f567d5c581f7408ead1df4753bb5b8 | [
"BSD-2-Clause",
"CC-BY-4.0",
"MIT"
] | 1 | 2021-10-21T06:58:08.000Z | 2021-10-21T06:58:08.000Z | """Parts related to tokenization."""
import re
TOKREGEX = re.compile(r'(?:(?:[0-9][0-9.,:%-]*|St\.)[\w_€-]+|https?://[^ ]+|[@#§$]?\w[\w*_-]*|[,;:\.?!¿¡‽⸮…()\[\]–{}—/‒_“„”’′″‘’“”\'"«»=+−×÷•·]+)')
| 32.833333 | 147 | 0.350254 | 29 | 197 | 3.068966 | 0.827586 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021622 | 0.060914 | 197 | 5 | 148 | 39.4 | 0.335135 | 0.152284 | 0 | 0 | 0 | 0.5 | 0.664596 | 0.658385 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
4d21fc6b113776a3fb393dc38d7799bced3c43cd | 5,166 | py | Python | hbd.py | SyahirahWanMin/HBD | 32062c9dd5795c5911c7ed1d89fa5eb1103d7d92 | [
"MIT"
] | null | null | null | hbd.py | SyahirahWanMin/HBD | 32062c9dd5795c5911c7ed1d89fa5eb1103d7d92 | [
"MIT"
] | null | null | null | hbd.py | SyahirahWanMin/HBD | 32062c9dd5795c5911c7ed1d89fa5eb1103d7d92 | [
"MIT"
] | null | null | null | from __future__ import print_function
import time
import sys
try:
import winsound
except ImportError:
import os
name = input("What is your name? ")
try:
winsound.Beep(264, 250)
sys.stdout.write('Ha')
time.sleep(500/2000.0)
sys.stdout.write('ppy ')
winsound.Beep(264, 250)
time.sleep(250/2000.0)
sys.st... | 25.448276 | 117 | 0.60511 | 796 | 5,166 | 3.817839 | 0.059045 | 0.17769 | 0.184271 | 0.187562 | 0.936821 | 0.920698 | 0.90951 | 0.877262 | 0.857519 | 0.84666 | 0 | 0.169707 | 0.161634 | 5,166 | 203 | 118 | 25.448276 | 0.531979 | 0 | 0 | 0.886486 | 0 | 0.027027 | 0.253726 | 0.020128 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032432 | 0 | 0.032432 | 0.086486 | 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 |
4d446b00a09696777e851be5c2f0060e65305da8 | 18,637 | py | Python | gamestonk_terminal/prediction_techniques/neural_networks_view.py | DT021/GamestonkTerminal | 10d231ec2f86a19e69fdb65a2f4d37f33f723f6a | [
"MIT"
] | 1 | 2021-07-25T20:34:29.000Z | 2021-07-25T20:34:29.000Z | gamestonk_terminal/prediction_techniques/neural_networks_view.py | DT021/GamestonkTerminal | 10d231ec2f86a19e69fdb65a2f4d37f33f723f6a | [
"MIT"
] | 1 | 2022-02-10T06:49:37.000Z | 2022-02-10T06:49:37.000Z | gamestonk_terminal/prediction_techniques/neural_networks_view.py | DT021/GamestonkTerminal | 10d231ec2f86a19e69fdb65a2f4d37f33f723f6a | [
"MIT"
] | null | null | null | """ Neural Networks View"""
__docformat__ = "numpy"
from typing import List, Any
import traceback
import numpy as np
import pandas as pd
from tensorflow.keras.callbacks import EarlyStopping
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import (
LSTM,
SimpleRNN,
Dense,
Drop... | 31.912671 | 122 | 0.548854 | 2,199 | 18,637 | 4.355161 | 0.099591 | 0.060144 | 0.052626 | 0.035084 | 0.811528 | 0.792315 | 0.745849 | 0.745849 | 0.745849 | 0.745849 | 0 | 0.010204 | 0.353222 | 18,637 | 583 | 123 | 31.96741 | 0.784304 | 0.100982 | 0 | 0.708972 | 0 | 0.017505 | 0.083273 | 0.001517 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010941 | false | 0 | 0.02407 | 0 | 0.054705 | 0.065646 | 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 |
4d80d3022b4905b879f9714b883258a4e58caa96 | 1,785 | py | Python | OSCP/exploit.py | markhalasz/pyneta | 444bfb94dba05c91a40821196d272609ea8ff875 | [
"Apache-2.0"
] | null | null | null | OSCP/exploit.py | markhalasz/pyneta | 444bfb94dba05c91a40821196d272609ea8ff875 | [
"Apache-2.0"
] | null | null | null | OSCP/exploit.py | markhalasz/pyneta | 444bfb94dba05c91a40821196d272609ea8ff875 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import socket
import sys
exploit = (
"\xd9\xe5\xd9\x74\x24\xf4\xba\x19\x3e\xf2\xb4\x58\x33\xc9\xb1"
"\x52\x31\x50\x17\x03\x50\x17\x83\xf1\xc2\x10\x41\xfd\xd3\x57"
"\xaa\xfd\x23\x38\x22\x18\x12\x78\x50\x69\x05\x48\x12\x3f\xaa"
"\x23\x76\xab\x39\x41\x5f\xdc\x8a\xec\xb9\xd3\x0b\x5c\xf9\x72"
"\x88\x... | 42.5 | 66 | 0.703641 | 398 | 1,785 | 3.150754 | 0.527638 | 0.009569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273574 | 0.037535 | 1,785 | 41 | 67 | 43.536585 | 0.456345 | 0.011204 | 0 | 0 | 0 | 0.657143 | 0.827664 | 0.795918 | 0.028571 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.057143 | null | null | 0.028571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4d8289d06a57bc1f03711f994592163976287b2b | 23,482 | py | Python | rmgweb/database/migrations/0012_auto_20210902_1652.py | ReactionMechanismGenerator/RMG-website | 7fe2ef9bdce6256cbc9f2453661cb482b2e97395 | [
"MIT"
] | 10 | 2015-10-02T00:11:02.000Z | 2021-04-04T05:57:10.000Z | rmgweb/database/migrations/0012_auto_20210902_1652.py | ReactionMechanismGenerator/RMG-website | 7fe2ef9bdce6256cbc9f2453661cb482b2e97395 | [
"MIT"
] | 128 | 2015-05-29T18:21:05.000Z | 2022-03-01T21:06:01.000Z | rmgweb/database/migrations/0012_auto_20210902_1652.py | ReactionMechanismGenerator/RMG-website | 7fe2ef9bdce6256cbc9f2453661cb482b2e97395 | [
"MIT"
] | 23 | 2015-07-18T23:40:21.000Z | 2021-04-24T02:58:46.000Z | # Generated by Django 2.2.5 on 2021-09-02 16:52
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('database', '0011_auto_20210706_1533'),
]
operations = [
migrations.CreateModel(
name='SoluteSearch',
fields=[
... | 372.730159 | 9,268 | 0.660378 | 2,993 | 23,482 | 5.146676 | 0.174741 | 0.00831 | 0.01558 | 0.003116 | 0.926058 | 0.918657 | 0.906063 | 0.889055 | 0.883472 | 0.880096 | 0 | 0.095267 | 0.100162 | 23,482 | 62 | 9,269 | 378.741935 | 0.633649 | 0.001916 | 0 | 0.571429 | 1 | 0 | 0.693407 | 0.159036 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017857 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
4dbab05ea921fa1c20955195624eb525f072b458 | 89,953 | py | Python | OPMS_v3-dev3.1/apps/host_management/views.py | litiian/asyncstudy | a59119f189ca96fdd7f64b0b3212207572165dce | [
"Apache-2.0"
] | null | null | null | OPMS_v3-dev3.1/apps/host_management/views.py | litiian/asyncstudy | a59119f189ca96fdd7f64b0b3212207572165dce | [
"Apache-2.0"
] | null | null | null | OPMS_v3-dev3.1/apps/host_management/views.py | litiian/asyncstudy | a59119f189ca96fdd7f64b0b3212207572165dce | [
"Apache-2.0"
] | null | null | null | ######################################
# Django 模块
######################################
from django.shortcuts import render, HttpResponseRedirect, redirect, reverse
from django.views import View
from django.http import HttpResponse
from django.db.models import Q
from django.urls import reverse
######################... | 37.906869 | 139 | 0.516058 | 9,128 | 89,953 | 4.867331 | 0.050394 | 0.060501 | 0.063022 | 0.053839 | 0.850165 | 0.825992 | 0.795854 | 0.77616 | 0.747057 | 0.712845 | 0 | 0.009103 | 0.318522 | 89,953 | 2,372 | 140 | 37.92285 | 0.715665 | 0.018321 | 0 | 0.711372 | 0 | 0 | 0.11163 | 0.009965 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035229 | false | 0.008035 | 0.008035 | 0 | 0.176143 | 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 |
1286264ce1a2a5e202601ed2ba724cf5f1fb1b7a | 9,138 | py | Python | app/pandas_storedata.py | StefanEkstromFFCG/FlightPlanner | c5925482536c893b371dff71214f1e2794974ad2 | [
"Apache-2.0"
] | null | null | null | app/pandas_storedata.py | StefanEkstromFFCG/FlightPlanner | c5925482536c893b371dff71214f1e2794974ad2 | [
"Apache-2.0"
] | null | null | null | app/pandas_storedata.py | StefanEkstromFFCG/FlightPlanner | c5925482536c893b371dff71214f1e2794974ad2 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
testdata = [{
"mapIdfrom": "stockholm",
"duration": {
"total": 9600,
"return": 0,
"departure": 9600
},
"flyTo": "BSL",
"conversion": {
"EUR": 100
},
"... | 45.014778 | 876 | 0.536222 | 504 | 9,138 | 9.619048 | 0.388889 | 0.008663 | 0.047855 | 0.05363 | 0.813119 | 0.764026 | 0.749175 | 0.727723 | 0.707921 | 0.685231 | 0 | 0.162648 | 0.360144 | 9,138 | 202 | 877 | 45.237624 | 0.666496 | 0 | 0 | 0.71066 | 0 | 0.020305 | 0.509358 | 0.160665 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.010152 | 0.005076 | 0 | 0.005076 | 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 |
42450d2dab6bf443dd200a22a1a1d01fb39bc542 | 7,592 | py | Python | xtalmdscripts/buildsystem/utils.py | wutobias/xtalmd-scripts | 672cb9a37ae5c396bb25a61499f58066ec5083a1 | [
"MIT"
] | 1 | 2022-02-11T23:21:45.000Z | 2022-02-11T23:21:45.000Z | xtalmdscripts/buildsystem/utils.py | wutobias/xtalmd-scripts | 672cb9a37ae5c396bb25a61499f58066ec5083a1 | [
"MIT"
] | 1 | 2022-02-23T20:09:31.000Z | 2022-02-24T18:14:04.000Z | xtalmdscripts/buildsystem/utils.py | wutobias/xtalmd-scripts | 672cb9a37ae5c396bb25a61499f58066ec5083a1 | [
"MIT"
] | null | null | null |
def get_params_path_list(toppar_dir_path):
params_path_list = [
f"{toppar_dir_path}/top_all36_prot.rtf",
f"{toppar_dir_path}/par_all36m_prot.prm",
f"{toppar_dir_path}/top_all36_na.rtf",
f"{toppar_dir_path}/par_all36_na.prm",
f"{toppar_dir_path}/top_all36_carb.rtf",
f"{toppar_dir_path}/par... | 43.884393 | 70 | 0.777792 | 1,185 | 7,592 | 4.525738 | 0.08692 | 0.184598 | 0.266642 | 0.297595 | 0.9394 | 0.935111 | 0.862763 | 0.753869 | 0.267947 | 0.13071 | 0 | 0.036422 | 0.09589 | 7,592 | 173 | 71 | 43.884393 | 0.744901 | 0.319547 | 0 | 0.181818 | 0 | 0 | 0.931 | 0.557566 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018182 | false | 0 | 0 | 0 | 0.036364 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c429efda4400a9a181e44af7c1b63521d43dab62 | 2,212 | py | Python | py_knots/col_perm.py | Chinmaya-Kausik/py_knots | 3c9930ea0e95f6c62da9e13eb5ffcfc0e0737f9f | [
"MIT"
] | null | null | null | py_knots/col_perm.py | Chinmaya-Kausik/py_knots | 3c9930ea0e95f6c62da9e13eb5ffcfc0e0737f9f | [
"MIT"
] | null | null | null | py_knots/col_perm.py | Chinmaya-Kausik/py_knots | 3c9930ea0e95f6c62da9e13eb5ffcfc0e0737f9f | [
"MIT"
] | null | null | null | from braid import *
from sgraph import *
from typing import List
from numpy import random
import copy
# Searches n random permutations for n=tries to find
# the one with the minimal homology basis among them
# for connected spline graphs
def find_min_perm(p: ColBraid, col_signs: List[int],
tries: int) -> (Co... | 29.493333 | 61 | 0.669982 | 364 | 2,212 | 3.826923 | 0.156593 | 0.100503 | 0.05743 | 0.048816 | 0.86145 | 0.86145 | 0.86145 | 0.86145 | 0.86145 | 0.86145 | 0 | 0.001181 | 0.234177 | 2,212 | 74 | 62 | 29.891892 | 0.821133 | 0.127939 | 0 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.106383 | 0 | 0.191489 | 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 |
c467753646f7c06d4ae44189e27332f84930fb21 | 287 | py | Python | processing/__init__.py | CoderWota/C4.5_with_Adaboost | ceab0b0ad266c297c7c4cb4d747b891bf179d255 | [
"Apache-2.0"
] | null | null | null | processing/__init__.py | CoderWota/C4.5_with_Adaboost | ceab0b0ad266c297c7c4cb4d747b891bf179d255 | [
"Apache-2.0"
] | null | null | null | processing/__init__.py | CoderWota/C4.5_with_Adaboost | ceab0b0ad266c297c7c4cb4d747b891bf179d255 | [
"Apache-2.0"
] | null | null | null | import sys
sys.path.append(".")
from dctree.processing.coding import encoding
from dctree.processing.coding import decoding_tree
from dctree.processing.coding import encoding_input
from dctree.processing.coding import decoding_predicts
from dctree.processing.coding import encoding_label | 41 | 54 | 0.864111 | 39 | 287 | 6.25641 | 0.358974 | 0.204918 | 0.409836 | 0.532787 | 0.819672 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076655 | 287 | 7 | 55 | 41 | 0.920755 | 0 | 0 | 0 | 0 | 0 | 0.003472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
67305d7103801f22e1d11074be6a61ae8efb7187 | 16,470 | py | Python | test/test_template_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | test/test_template_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | test/test_template_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
tweak-api
Tweak API to integrate with all the Tweak services. You can find out more about Tweak at <a href='https://www.tweak.com'>https://www.tweak.com</a>, #tweak.
OpenAPI spec version: 1.0.8-beta.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
... | 24.220588 | 165 | 0.629508 | 2,094 | 16,470 | 4.619866 | 0.086915 | 0.166012 | 0.089828 | 0.163324 | 0.836882 | 0.81962 | 0.769589 | 0.684102 | 0.5767 | 0.379161 | 0 | 0.000799 | 0.315968 | 16,470 | 679 | 166 | 24.256259 | 0.857891 | 0.474924 | 0 | 0.465116 | 0 | 0 | 0.001305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47093 | false | 0.465116 | 0.040698 | 0 | 0.517442 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
67408d48f4e9c6241af5291b85d36206cad0834d | 11,420 | py | Python | tests/test_csv_formats.py | satvidh/batch-scoring | 13da21e813da3e757526b9c51f7dd1fe2b224603 | [
"BSD-3-Clause"
] | 30 | 2016-03-03T10:29:15.000Z | 2020-06-03T21:43:11.000Z | tests/test_csv_formats.py | satvidh/batch-scoring | 13da21e813da3e757526b9c51f7dd1fe2b224603 | [
"BSD-3-Clause"
] | 164 | 2016-03-03T12:31:22.000Z | 2020-09-08T13:18:39.000Z | tests/test_csv_formats.py | satvidh/batch-scoring | 13da21e813da3e757526b9c51f7dd1fe2b224603 | [
"BSD-3-Clause"
] | 18 | 2016-05-12T13:50:05.000Z | 2021-06-30T19:42:09.000Z | import csv
import tempfile
import pytest
from datarobot_batch_scoring.batch_scoring import run_batch_predictions
from utils import PickableMock
from datarobot_batch_scoring.reader import DETECT_SAMPLE_SIZE_SLOW
def test_gzipped_csv(live_server, ui):
base_url = '{webhost}/predApi/v1.0/'.format(webhost=live_serve... | 29.282051 | 79 | 0.551839 | 1,233 | 11,420 | 4.861314 | 0.121655 | 0.035035 | 0.036703 | 0.035035 | 0.881882 | 0.862529 | 0.862529 | 0.862529 | 0.854688 | 0.854688 | 0 | 0.056316 | 0.340718 | 11,420 | 389 | 80 | 29.357326 | 0.739806 | 0 | 0 | 0.860335 | 0 | 0 | 0.155692 | 0.112434 | 0 | 0 | 0 | 0 | 0.03352 | 1 | 0.027933 | false | 0.027933 | 0.044693 | 0 | 0.072626 | 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 |
6779ebaa1c94be3e27e50cd2e3b1780901867b2a | 109,740 | py | Python | dnacentersdk/api/v2_2_2_3/sda.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 32 | 2019-09-05T05:16:56.000Z | 2022-03-22T09:50:38.000Z | dnacentersdk/api/v2_2_2_3/sda.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 35 | 2019-09-07T18:58:54.000Z | 2022-03-24T19:29:36.000Z | dnacentersdk/api/v2_2_2_3/sda.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 18 | 2019-09-09T11:07:21.000Z | 2022-03-25T08:49:59.000Z | # -*- coding: utf-8 -*-
"""Cisco DNA Center SDA API wrapper.
Copyright (c) 2019-2021 Cisco Systems.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitati... | 39.861969 | 116 | 0.578349 | 11,365 | 109,740 | 5.310339 | 0.029916 | 0.049576 | 0.037182 | 0.027704 | 0.943399 | 0.925587 | 0.922969 | 0.917517 | 0.904924 | 0.898512 | 0 | 0.020005 | 0.359103 | 109,740 | 2,752 | 117 | 39.876453 | 0.838096 | 0.29815 | 0 | 0.851172 | 0 | 0 | 0.090931 | 0.067071 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028499 | false | 0 | 0.0038 | 0 | 0.060798 | 0.000633 | 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 |
67bfcc1f620ba5d8662087fca10b52873671ae89 | 17,993 | py | Python | tests/sentry/web/frontend/tests.py | rogerhu/sentry | ee2b190e92003abe0f538b2df5b686e425df1200 | [
"BSD-3-Clause"
] | 1 | 2015-12-13T18:27:54.000Z | 2015-12-13T18:27:54.000Z | tests/sentry/web/frontend/tests.py | simmetria/sentry | 9731f26adb44847d1c883cca108afc0755cf21cc | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/web/frontend/tests.py | simmetria/sentry | 9731f26adb44847d1c883cca108afc0755cf21cc | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import logging
import json
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from sentry.conf import settings
from sentry.constants import MEMBER_USER
from sentry.models import Group, Project, TeamMember, Team
from... | 39.200436 | 150 | 0.677764 | 2,221 | 17,993 | 5.336785 | 0.089599 | 0.032481 | 0.060744 | 0.072387 | 0.760145 | 0.745803 | 0.733654 | 0.721168 | 0.705644 | 0.687843 | 0 | 0.008433 | 0.195965 | 17,993 | 458 | 151 | 39.286026 | 0.81088 | 0.034069 | 0 | 0.559524 | 0 | 0 | 0.106722 | 0.047702 | 0 | 0 | 0 | 0 | 0.279762 | 1 | 0.21131 | false | 0.059524 | 0.029762 | 0.026786 | 0.342262 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
e1e386100ddd38eafbb9893db22af86e9d7a950d | 188 | py | Python | models/backbones/__init__.py | hrlblab/SimTriplet | 66e1198adda88e2f6f146bc9cc570e4bf085c109 | [
"Apache-2.0"
] | 12 | 2021-03-11T20:39:17.000Z | 2022-03-17T06:12:27.000Z | models/backbones/__init__.py | hrlblab/SimTriplet | 66e1198adda88e2f6f146bc9cc570e4bf085c109 | [
"Apache-2.0"
] | 3 | 2021-04-14T15:34:00.000Z | 2022-02-04T13:10:41.000Z | models/backbones/__init__.py | hrlblab/SimTriplet | 66e1198adda88e2f6f146bc9cc570e4bf085c109 | [
"Apache-2.0"
] | 7 | 2021-03-12T01:54:01.000Z | 2022-02-20T02:57:31.000Z | from .cifar_resnet_1 import resnet18 as resnet18_cifar_variant1
from .cifar_resnet_2 import ResNet18 as resnet18_cifar_variant2
from .cifar_resnet_1 import resnet50 as resnet50_TCGA
| 18.8 | 63 | 0.856383 | 29 | 188 | 5.172414 | 0.413793 | 0.18 | 0.3 | 0.213333 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103659 | 0.12766 | 188 | 9 | 64 | 20.888889 | 0.810976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e1ee3f8702accea8034c7cbe2de6568e7be4efed | 39,614 | py | Python | lstm_predict.py | caisr-hh/lstm_predict | 3e0d49987158b0c1607eca816589143c39ec97fb | [
"MIT"
] | 4 | 2020-01-09T22:05:07.000Z | 2020-10-01T21:08:51.000Z | lstm_predict.py | caisr-hh/lstm_predict | 3e0d49987158b0c1607eca816589143c39ec97fb | [
"MIT"
] | null | null | null | lstm_predict.py | caisr-hh/lstm_predict | 3e0d49987158b0c1607eca816589143c39ec97fb | [
"MIT"
] | 6 | 2019-08-27T08:55:43.000Z | 2021-03-01T22:22:31.000Z | # -*- coding: utf-8 -*-
"""
Created on Mon Mar 12 08:51:35 2019
@author: aaq109
"""
import timeit
import numpy as np
from numpy import array
from keras.models import *
from keras.layers import *
from keras import backend as K
from keras.callbacks import EarlyStopping, ModelCheckpoint
from keras.preproce... | 45.169897 | 434 | 0.712652 | 6,197 | 39,614 | 4.302888 | 0.056802 | 0.112957 | 0.041178 | 0.054903 | 0.851341 | 0.838927 | 0.8057 | 0.80015 | 0.796287 | 0.792087 | 0 | 0.033292 | 0.146211 | 39,614 | 876 | 435 | 45.221461 | 0.7551 | 0.091155 | 0 | 0.758953 | 0 | 0 | 0.081638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011019 | false | 0 | 0.026171 | 0 | 0.048209 | 0.118457 | 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 |
c048e47bcd8104839104ec01ab44cde0de4c98fe | 31,537 | py | Python | packages/syft/src/syft/core/node/common/node_service/object_request/object_request_messages.py | pculliton/PySyft | 23a0d1442d3d901b1139aeabe079ccf4177ebc0d | [
"Apache-2.0"
] | 2 | 2022-02-18T03:48:27.000Z | 2022-03-05T06:13:57.000Z | packages/syft/src/syft/core/node/common/node_service/object_request/object_request_messages.py | pculliton/PySyft | 23a0d1442d3d901b1139aeabe079ccf4177ebc0d | [
"Apache-2.0"
] | 3 | 2021-11-17T15:34:03.000Z | 2021-12-08T14:39:10.000Z | packages/syft/src/syft/core/node/common/node_service/object_request/object_request_messages.py | pculliton/PySyft | 23a0d1442d3d901b1139aeabe079ccf4177ebc0d | [
"Apache-2.0"
] | null | null | null | # stdlib
import json
from typing import Any
from typing import Dict
from typing import List
from typing import Optional
# third party
from google.protobuf.reflection import GeneratedProtocolMessageType
from typing_extensions import final
# relative
from ...... import serialize
from ......proto.grid.messages.request_m... | 40.851036 | 92 | 0.675683 | 3,658 | 31,537 | 5.715965 | 0.041279 | 0.033478 | 0.017217 | 0.015304 | 0.851691 | 0.844947 | 0.838204 | 0.838204 | 0.834091 | 0.807356 | 0 | 0.001297 | 0.266639 | 31,537 | 771 | 93 | 40.904021 | 0.902759 | 0.491423 | 0 | 0.653333 | 1 | 0 | 0.014406 | 0.004654 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106667 | false | 0 | 0.064 | 0 | 0.277333 | 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 |
c068031093fb5e76e9cac4f5afb5226a3803ef65 | 34,182 | py | Python | PcbFile.py | halfmarble/halfmarble-panelizer | 73489a0b5d0d46e6d363f6d14454d91fab62f8e3 | [
"MIT"
] | null | null | null | PcbFile.py | halfmarble/halfmarble-panelizer | 73489a0b5d0d46e6d363f6d14454d91fab62f8e3 | [
"MIT"
] | 5 | 2022-01-15T13:32:54.000Z | 2022-01-30T15:18:15.000Z | PcbFile.py | halfmarble/halfmarble-panelizer | 73489a0b5d0d46e6d363f6d14454d91fab62f8e3 | [
"MIT"
] | null | null | null | # The MIT License (MIT)
# Copyright 2021,2022 HalfMarble LLC
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mod... | 44.740838 | 120 | 0.640834 | 5,370 | 34,182 | 3.931471 | 0.078212 | 0.252226 | 0.050872 | 0.180277 | 0.823323 | 0.791067 | 0.775767 | 0.757815 | 0.744932 | 0.724327 | 0 | 0.10121 | 0.1681 | 34,182 | 763 | 121 | 44.799476 | 0.641229 | 0.051167 | 0 | 0.413735 | 0 | 0 | 0.166281 | 0.037102 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045226 | false | 0.001675 | 0.025126 | 0 | 0.090452 | 0.015075 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c069ea307408494deba08e7d92a8e26037b9a8f7 | 5,578 | py | Python | tests/sealapi/test_encrypt_decrypt.py | DreamingRaven/TenSEAL | fce3761e38bf87934037eb8631865e18520d1e4b | [
"Apache-2.0"
] | null | null | null | tests/sealapi/test_encrypt_decrypt.py | DreamingRaven/TenSEAL | fce3761e38bf87934037eb8631865e18520d1e4b | [
"Apache-2.0"
] | null | null | null | tests/sealapi/test_encrypt_decrypt.py | DreamingRaven/TenSEAL | fce3761e38bf87934037eb8631865e18520d1e4b | [
"Apache-2.0"
] | null | null | null | import sys, os
import pytest
import tenseal.sealapi as sealapi
from tempfile import NamedTemporaryFile
from pathlib import Path
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
from utils import *
def test_encryptor_bfv():
poly_modulus_degree = 4096
plain_modulus = 1024
ctx = helper_context_b... | 33.806061 | 74 | 0.721943 | 634 | 5,578 | 6.047319 | 0.126183 | 0.093897 | 0.09181 | 0.062598 | 0.862024 | 0.841419 | 0.841419 | 0.81951 | 0.761868 | 0.723005 | 0 | 0.014232 | 0.193797 | 5,578 | 164 | 75 | 34.012195 | 0.838337 | 0.010039 | 0 | 0.764228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 1 | 0.04878 | false | 0 | 0.04878 | 0 | 0.097561 | 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 |
fbf4d428363502369e2f5134e48d4cae1978aa5b | 265 | py | Python | HackerRank/Python/np-array-mathematics.py | object-oriented-human/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | 2 | 2021-07-27T10:46:47.000Z | 2021-07-27T10:47:57.000Z | HackerRank/Python/np-array-mathematics.py | foooop/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | null | null | null | HackerRank/Python/np-array-mathematics.py | foooop/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | null | null | null | import numpy
n, m = map(int, input().split())
a = numpy.array([list(map(int, input().split())) for i in range(n)])
b = numpy.array([list(map(int, input().split())) for i in range(n)])
print(a + b)
print(a - b)
print(a * b)
print(a // b)
print(a % b)
print(a ** b) | 22.083333 | 68 | 0.592453 | 52 | 265 | 3.019231 | 0.326923 | 0.229299 | 0.267516 | 0.382166 | 0.802548 | 0.802548 | 0.802548 | 0.802548 | 0.802548 | 0.802548 | 0 | 0 | 0.158491 | 265 | 12 | 69 | 22.083333 | 0.704036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.6 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
fbf95296042be9e8e7f44da802b289d5374b5a27 | 1,070 | py | Python | lib/const/xpath.py | Fomovet/beike-lianjia | 09c2eaeda4773ddae7d0c38b12ec85b619749c21 | [
"Apache-2.0"
] | 16 | 2020-11-17T04:26:30.000Z | 2022-01-12T03:31:30.000Z | lib/const/xpath.py | Fomovet/beike-lianjia | 09c2eaeda4773ddae7d0c38b12ec85b619749c21 | [
"Apache-2.0"
] | 2 | 2021-03-05T08:42:35.000Z | 2021-11-05T09:02:01.000Z | lib/const/xpath.py | Fomovet/beike-lianjia | 09c2eaeda4773ddae7d0c38b12ec85b619749c21 | [
"Apache-2.0"
] | 4 | 2020-11-17T06:32:53.000Z | 2022-01-04T02:45:22.000Z | #!/usr/bin/env python
# coding=utf-8
# author: zengyuetian
# 此代码仅供学习与交流,请勿用于商业用途。
# 页面元素的XPATH
from lib.spider.base_spider import SPIDER_NAME, LIANJIA_SPIDER, BEIKE_SPIDER
if SPIDER_NAME == LIANJIA_SPIDER:
ERSHOUFANG_QU_XPATH = '//*[@id="filter-options"]/dl[1]/dd/div/a'
ERSHOUFANG_BANKUAI_XPATH = '//*[@id="fi... | 46.521739 | 76 | 0.65514 | 180 | 1,070 | 3.716667 | 0.222222 | 0.089686 | 0.155456 | 0.239163 | 0.744395 | 0.744395 | 0.744395 | 0.744395 | 0.744395 | 0.744395 | 0 | 0.028154 | 0.103738 | 1,070 | 22 | 77 | 48.636364 | 0.669447 | 0.079439 | 0 | 0.8 | 0 | 0.133333 | 0.485714 | 0.485714 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2200605a0fdc4662269c5ba2285af92aae14bd79 | 67 | py | Python | temperature_converter_py/__init__.py | BrunoASN/temperature_converter_py | 9c0793b9ed1060fdd2eb776f8d10011a7fe956f3 | [
"MIT"
] | null | null | null | temperature_converter_py/__init__.py | BrunoASN/temperature_converter_py | 9c0793b9ed1060fdd2eb776f8d10011a7fe956f3 | [
"MIT"
] | null | null | null | temperature_converter_py/__init__.py | BrunoASN/temperature_converter_py | 9c0793b9ed1060fdd2eb776f8d10011a7fe956f3 | [
"MIT"
] | null | null | null | # temperature_converter_py
from .temperature_converter_py import *
| 22.333333 | 39 | 0.865672 | 8 | 67 | 6.75 | 0.625 | 0.740741 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 67 | 2 | 40 | 33.5 | 0.885246 | 0.358209 | 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 |
220742b0a7512878f074947b8c5120a0a800d975 | 3,870 | py | Python | sdk/python/pulumi_azure_native/datashare/v20201001preview/__init__.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/datashare/v20201001preview/__init__.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/datashare/v20201001preview/__init__.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from ... import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .account import *
from .adls_gen1_file_... | 42.065217 | 80 | 0.851163 | 606 | 3,870 | 4.912541 | 0.120462 | 0.278804 | 0.165939 | 0.182734 | 0.80786 | 0.729258 | 0.621431 | 0.3957 | 0.21431 | 0.079274 | 0 | 0.006021 | 0.098708 | 3,870 | 91 | 81 | 42.527473 | 0.847477 | 0.052455 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
22103c770b336debc43ed2ffe02a68038481d2ba | 34,545 | py | Python | eeauditor/auditors/aws/Amazon_Neptune_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 442 | 2020-03-15T20:56:36.000Z | 2022-03-31T22:13:07.000Z | eeauditor/auditors/aws/Amazon_Neptune_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 57 | 2020-03-15T22:09:56.000Z | 2022-03-31T13:17:06.000Z | eeauditor/auditors/aws/Amazon_Neptune_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 59 | 2020-03-15T21:19:10.000Z | 2022-03-31T15:01:31.000Z | #This file is part of ElectricEye.
#SPDX-License-Identifier: Apache-2.0
#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 un... | 52.821101 | 235 | 0.471443 | 2,705 | 34,545 | 5.995194 | 0.116821 | 0.021459 | 0.032188 | 0.039341 | 0.90399 | 0.902941 | 0.902941 | 0.899673 | 0.894 | 0.884319 | 0 | 0.053244 | 0.42805 | 34,545 | 654 | 236 | 52.821101 | 0.767537 | 0.03714 | 0 | 0.828756 | 0 | 0.033926 | 0.381487 | 0.049699 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009693 | false | 0.011309 | 0.004847 | 0 | 0.017771 | 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 |
221e7d5ca31f5875d5f9f621df32b4e91a43d552 | 26,363 | py | Python | dashboard/dashboard/models/histogram_test.py | PLSV/catapult | 88e5b1f40c89c4b80d3dd56a722936d07f222a55 | [
"BSD-3-Clause"
] | null | null | null | dashboard/dashboard/models/histogram_test.py | PLSV/catapult | 88e5b1f40c89c4b80d3dd56a722936d07f222a55 | [
"BSD-3-Clause"
] | null | null | null | dashboard/dashboard/models/histogram_test.py | PLSV/catapult | 88e5b1f40c89c4b80d3dd56a722936d07f222a55 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
import json
import sys
from dashboard.common i... | 35.386577 | 80 | 0.58859 | 2,762 | 26,363 | 5.403331 | 0.08798 | 0.067542 | 0.083222 | 0.027339 | 0.832552 | 0.814058 | 0.80528 | 0.798378 | 0.762128 | 0.748325 | 0 | 0.031122 | 0.279672 | 26,363 | 744 | 81 | 35.43414 | 0.754766 | 0.019042 | 0 | 0.708263 | 0 | 0 | 0.061281 | 0.006964 | 0 | 0 | 0 | 0.001344 | 0.040472 | 1 | 0.057336 | false | 0 | 0.016863 | 0 | 0.079258 | 0.001686 | 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 |
97ea9d82229730c7fd27be65e43b73c230b02244 | 14,398 | py | Python | 2012/AC_Rob.py | Valchris/IEEEXtreme_WorkingAsIntended | c3e04633ce6d9c1a1582081767e8f2090adffa28 | [
"MIT"
] | null | null | null | 2012/AC_Rob.py | Valchris/IEEEXtreme_WorkingAsIntended | c3e04633ce6d9c1a1582081767e8f2090adffa28 | [
"MIT"
] | null | null | null | 2012/AC_Rob.py | Valchris/IEEEXtreme_WorkingAsIntended | c3e04633ce6d9c1a1582081767e8f2090adffa28 | [
"MIT"
] | null | null | null | class Orientation(object):
UP=0
LEFT=1
FRONT=2
RIGHT=3
BACK=4
DOWN=5
class Piece(object):
def __init__(self, faces):
self.faces = faces
self.orientation = Orientation.FRONT
self.orientation2 = Orientation.UP
def GetOrientation(self):
return self.orient... | 52.356364 | 184 | 0.538894 | 1,853 | 14,398 | 4.156503 | 0.042094 | 0.237601 | 0.091405 | 0.101792 | 0.884316 | 0.876915 | 0.848611 | 0.760971 | 0.651909 | 0.651779 | 0 | 0.043056 | 0.249896 | 14,398 | 275 | 185 | 52.356364 | 0.670093 | 0.004306 | 0 | 0.151111 | 0 | 0 | 0.013812 | 0.003209 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.004444 | 0.004444 | null | null | 0.004444 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3f1761f2e844541e9d33f2f0613b0ea8361f1ba8 | 33,048 | py | Python | airavata-api/airavata-client-sdks/airavata-python-sdk/airavata/api/error/ttypes.py | docquantum/airavata | 4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c | [
"ECL-2.0",
"Apache-2.0"
] | 74 | 2015-04-10T02:57:26.000Z | 2022-02-28T16:10:03.000Z | airavata-api/airavata-client-sdks/airavata-python-sdk/airavata/api/error/ttypes.py | docquantum/airavata | 4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c | [
"ECL-2.0",
"Apache-2.0"
] | 126 | 2015-04-26T02:55:26.000Z | 2022-02-16T22:43:28.000Z | airavata-api/airavata-client-sdks/airavata-python-sdk/airavata/api/error/ttypes.py | docquantum/airavata | 4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c | [
"ECL-2.0",
"Apache-2.0"
] | 163 | 2015-01-22T14:05:24.000Z | 2022-03-17T12:24:34.000Z | #
# Autogenerated by Thrift Compiler (0.10.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
import sys
import airavata.... | 34.860759 | 134 | 0.600944 | 3,610 | 33,048 | 5.270083 | 0.078947 | 0.017083 | 0.030276 | 0.026491 | 0.77929 | 0.761104 | 0.743233 | 0.720683 | 0.716373 | 0.716373 | 0 | 0.008794 | 0.298051 | 33,048 | 947 | 135 | 34.897571 | 0.81132 | 0.094832 | 0 | 0.796188 | 1 | 0 | 0.054961 | 0.013002 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.007331 | 0.05132 | 0.315249 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3f3621aacfc33cfdd5494d131fba331637b25078 | 15,067 | py | Python | sandbox/lib/jumpscale/JumpScale9Lib/clients/atyourservice/ays/ays_service.py | Jumpscale/sandbox_linux | 2aacd36b467ef30ac83718abfa82c6883b67a02f | [
"Apache-2.0"
] | 2 | 2017-06-07T08:11:47.000Z | 2017-11-10T02:19:48.000Z | JumpScale9Lib/clients/atyourservice/ays/ays_service.py | Jumpscale/lib9 | 82224784ef2a7071faeb48349007211c367bc673 | [
"Apache-2.0"
] | 188 | 2017-06-21T06:16:13.000Z | 2020-06-17T14:20:24.000Z | sandbox/lib/jumpscale/JumpScale9Lib/clients/atyourservice/ays/ays_service.py | Jumpscale/sandbox_linux | 2aacd36b467ef30ac83718abfa82c6883b67a02f | [
"Apache-2.0"
] | 3 | 2018-06-12T05:18:28.000Z | 2019-09-24T06:49:17.000Z | from js9 import j
JSBASE = j.application.jsbase_get_class()
class AysService(JSBASE):
def __init__(self, client):
JSBASE.__init__(self)
self.client = client
def reload(self, data, headers=None, query_params=None, content_type="application/json"):
"""
reload AYS
It is ... | 45.110778 | 170 | 0.670671 | 1,847 | 15,067 | 5.331348 | 0.094748 | 0.073119 | 0.137808 | 0.078196 | 0.83853 | 0.828476 | 0.807556 | 0.784097 | 0.766325 | 0.692597 | 0 | 0.000084 | 0.21411 | 15,067 | 333 | 171 | 45.246246 | 0.831518 | 0.261764 | 0 | 0.486486 | 0 | 0 | 0.138226 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.324324 | false | 0 | 0.009009 | 0 | 0.657658 | 0.144144 | 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 |
3f3d6f8f5bddab26e7bb0f9e36ac3508487d95e9 | 9,613 | py | Python | tests/test_tb_filter.py | Multiscale-Genomics/mg-process-fastq | 50c7115c0c1a6af48dc34f275e469d1b9eb02999 | [
"Apache-2.0"
] | 2 | 2017-07-31T11:45:46.000Z | 2017-08-09T09:32:35.000Z | tests/test_tb_filter.py | Multiscale-Genomics/mg-process-fastq | 50c7115c0c1a6af48dc34f275e469d1b9eb02999 | [
"Apache-2.0"
] | 28 | 2016-11-17T11:12:32.000Z | 2018-11-02T14:09:13.000Z | tests/test_tb_filter.py | Multiscale-Genomics/mg-process-fastq | 50c7115c0c1a6af48dc34f275e469d1b9eb02999 | [
"Apache-2.0"
] | 4 | 2017-02-12T17:47:21.000Z | 2018-05-29T08:16:27.000Z | """
.. See the NOTICE file distributed with this work for additional information
regarding copyright ownership.
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.... | 46.665049 | 97 | 0.696453 | 1,430 | 9,613 | 4.427273 | 0.099301 | 0.091929 | 0.166798 | 0.125099 | 0.906334 | 0.906334 | 0.906334 | 0.906334 | 0.899384 | 0.874112 | 0 | 0.024568 | 0.170082 | 9,613 | 205 | 98 | 46.892683 | 0.76899 | 0.125975 | 0 | 0.808219 | 0 | 0 | 0.280053 | 0.138345 | 0 | 0 | 0 | 0 | 0.575342 | 1 | 0.027397 | false | 0 | 0.027397 | 0 | 0.054795 | 0.006849 | 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 |
3f6b516f9834601b876a15a850ca889355b27cd6 | 14,468 | py | Python | tests/rest_eureka/flask_rest_test.py | estuaryoss/estuary-discovery | 9615a9d544670570f14f4c72ca20f57a0cd9bba4 | [
"Apache-2.0"
] | null | null | null | tests/rest_eureka/flask_rest_test.py | estuaryoss/estuary-discovery | 9615a9d544670570f14f4c72ca20f57a0cd9bba4 | [
"Apache-2.0"
] | null | null | null | tests/rest_eureka/flask_rest_test.py | estuaryoss/estuary-discovery | 9615a9d544670570f14f4c72ca20f57a0cd9bba4 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import time
import unittest
import requests
from py_eureka_client import eureka_client
from requests_toolbelt.utils import dump
from rest.api.constants.api_constants import ApiCode
from rest.api.responsehelpers.error_codes import ErrorMessage
class EstuaryStackApps:
@staticmethod
def... | 46.5209 | 117 | 0.623721 | 1,663 | 14,468 | 5.279014 | 0.101624 | 0.051031 | 0.088165 | 0.070167 | 0.820595 | 0.792004 | 0.772298 | 0.755781 | 0.739378 | 0.739378 | 0 | 0.011239 | 0.237421 | 14,468 | 310 | 118 | 46.670968 | 0.784465 | 0.051769 | 0 | 0.550201 | 0 | 0 | 0.205328 | 0.087299 | 0 | 0 | 0 | 0 | 0.301205 | 1 | 0.072289 | false | 0.072289 | 0.028112 | 0.004016 | 0.160643 | 0.016064 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
3f6c7bd9dac49bb2e0aaa51aab7049d26d2f2c36 | 21,646 | py | Python | tests/test_urlbox_client.py | urlbox/urlbox-python | 8d4541cbe0310002b9bdb70ee8de4cb051f8815d | [
"MIT"
] | 2 | 2021-11-26T14:28:29.000Z | 2021-11-26T17:22:39.000Z | tests/test_urlbox_client.py | urlbox/urlbox-python | 8d4541cbe0310002b9bdb70ee8de4cb051f8815d | [
"MIT"
] | 10 | 2021-11-26T16:54:34.000Z | 2021-12-08T19:15:44.000Z | tests/test_urlbox_client.py | urlbox/urlbox-python | 8d4541cbe0310002b9bdb70ee8de4cb051f8815d | [
"MIT"
] | null | null | null | from faker import Faker
from hashlib import sha1
from urlbox import InvalidUrlException, UrlboxClient
import json
import hmac
import pytest
import random
import requests
import requests_mock
import urllib.parse
import warnings
fake = Faker()
# test_init()
def test_only_api_key_provided():
api_key = fake.pystr()
... | 28.746348 | 174 | 0.603299 | 2,458 | 21,646 | 5.097234 | 0.078519 | 0.039269 | 0.02155 | 0.021071 | 0.851943 | 0.834943 | 0.823609 | 0.81882 | 0.816905 | 0.808604 | 0 | 0.009471 | 0.263467 | 21,646 | 752 | 175 | 28.784574 | 0.776391 | 0.011318 | 0 | 0.706406 | 0 | 0.007117 | 0.192678 | 0.059005 | 0 | 0 | 0 | 0 | 0.119217 | 1 | 0.039146 | false | 0 | 0.019573 | 0 | 0.058719 | 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 |
58ad75f3819db67b92a4730a3fc8d56d37119d74 | 41 | py | Python | python/monkey_patch/hugahuga.py | okimurak/til | 19b371d39ad57353e29ed409b2288ff8bbc2d1e1 | [
"MIT"
] | null | null | null | python/monkey_patch/hugahuga.py | okimurak/til | 19b371d39ad57353e29ed409b2288ff8bbc2d1e1 | [
"MIT"
] | 1 | 2021-11-12T08:11:43.000Z | 2021-11-12T08:11:43.000Z | python/monkey_patch/hugahuga.py | okimurak/til | 19b371d39ad57353e29ed409b2288ff8bbc2d1e1 | [
"MIT"
] | null | null | null |
def fuga_function():
return "fugafuga" | 13.666667 | 20 | 0.731707 | 5 | 41 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 3 | 21 | 13.666667 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
453d84d55aa09282116e6b932a3650535993a905 | 13,446 | py | Python | migration/tests/test_migrate_environment_down.py | elihschiff/Submitty | 8b980997b6f1dfcd73eb4cf4cca43398e67f96dc | [
"BSD-3-Clause"
] | 411 | 2016-06-14T20:52:25.000Z | 2022-03-31T21:20:25.000Z | migration/tests/test_migrate_environment_down.py | KaelanWillauer/Submitty | cf9b6ceda15ec0a661e2ca81ea7864790094c64a | [
"BSD-3-Clause"
] | 5,730 | 2016-05-23T21:04:32.000Z | 2022-03-31T10:08:06.000Z | migration/tests/test_migrate_environment_down.py | KaelanWillauer/Submitty | cf9b6ceda15ec0a661e2ca81ea7864790094c64a | [
"BSD-3-Clause"
] | 423 | 2016-09-22T21:11:30.000Z | 2022-03-29T18:55:28.000Z | from argparse import Namespace
from io import StringIO
from pathlib import Path
import shutil
import sys
import tempfile
from types import SimpleNamespace
import unittest
from .helpers import create_migration
import migrator
import migrator.db
import migrator.main
class TestMigrateEnvironmentDown(unittest.TestCase):... | 38.417143 | 91 | 0.632307 | 1,562 | 13,446 | 5.279129 | 0.076825 | 0.069852 | 0.048023 | 0.068761 | 0.885642 | 0.875819 | 0.857264 | 0.857264 | 0.841014 | 0.816032 | 0 | 0.021441 | 0.250781 | 13,446 | 349 | 92 | 38.527221 | 0.797101 | 0 | 0 | 0.760252 | 0 | 0 | 0.125985 | 0.006545 | 0 | 0 | 0 | 0 | 0.195584 | 1 | 0.0347 | false | 0 | 0.044164 | 0 | 0.082019 | 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 |
1896fe58fc9de5840094c5361a7120ac499b599a | 16,857 | py | Python | sdk/storage/azure-storage-blob/tests/test_large_block_blob.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1 | 2021-04-26T21:15:01.000Z | 2021-04-26T21:15:01.000Z | sdk/storage/azure-storage-blob/tests/test_large_block_blob.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2 | 2021-08-24T15:32:30.000Z | 2021-08-24T23:21:34.000Z | sdk/storage/azure-storage-blob/tests/test_large_block_blob.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1 | 2016-04-19T22:15:47.000Z | 2016-04-19T22:15:47.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.
# --------------------------------------------------------------------... | 41.114634 | 139 | 0.661684 | 1,995 | 16,857 | 5.269173 | 0.110777 | 0.077245 | 0.046899 | 0.074581 | 0.835616 | 0.822869 | 0.816781 | 0.816781 | 0.816781 | 0.816781 | 0 | 0.007661 | 0.225663 | 16,857 | 410 | 140 | 41.114634 | 0.797671 | 0.095687 | 0 | 0.705882 | 0 | 0 | 0.050151 | 0.026392 | 0 | 0 | 0 | 0 | 0.128028 | 1 | 0.072664 | false | 0.00692 | 0.038062 | 0.00346 | 0.121107 | 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 |
18ef7f86cf11c7a37538f317297da5c2a7006aca | 9 | py | Python | tests/data/minimize_samples/mod_min.py | msaladna/mitogen | c6824b68181729cb16c090e72f4d35d6c4d95523 | [
"BSD-3-Clause"
] | 1,526 | 2017-09-15T18:49:40.000Z | 2021-01-17T16:04:12.000Z | tests/data/minimize_samples/mod_min.py | msaladna/mitogen | c6824b68181729cb16c090e72f4d35d6c4d95523 | [
"BSD-3-Clause"
] | 682 | 2017-09-11T17:43:12.000Z | 2021-01-17T05:26:26.000Z | tests/data/minimize_samples/mod_min.py | msaladna/mitogen | c6824b68181729cb16c090e72f4d35d6c4d95523 | [
"BSD-3-Clause"
] | 111 | 2017-09-15T23:21:37.000Z | 2021-01-01T14:45:35.000Z |
pass
| 1.5 | 4 | 0.444444 | 1 | 9 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 9 | 5 | 5 | 1.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
7a07ae83af7f86eb956cc40bfcde4f5884cdbdd7 | 52,702 | py | Python | codedigger/lists/views.py | prahasR/Backend | bde1b28a5c89ecc7205f244ad5644eae356a5517 | [
"Apache-2.0"
] | null | null | null | codedigger/lists/views.py | prahasR/Backend | bde1b28a5c89ecc7205f244ad5644eae356a5517 | [
"Apache-2.0"
] | null | null | null | codedigger/lists/views.py | prahasR/Backend | bde1b28a5c89ecc7205f244ad5644eae356a5517 | [
"Apache-2.0"
] | null | null | null | from rest_framework import generics, status, permissions, views, response, mixins
from .models import ListInfo, Solved, List, ListExtraInfo, LadderStarted
from problem.models import Problem
from user.models import User, Profile
from .serializers import (GetLadderSerializer, GetSerializer,
GetU... | 38.134588 | 197 | 0.442867 | 4,758 | 52,702 | 4.784153 | 0.052333 | 0.028819 | 0.044458 | 0.044282 | 0.845934 | 0.826956 | 0.787242 | 0.766815 | 0.756842 | 0.739665 | 0 | 0.006995 | 0.454765 | 52,702 | 1,381 | 198 | 38.162201 | 0.785175 | 0.102064 | 0 | 0.817878 | 0 | 0 | 0.077016 | 0.005717 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019215 | false | 0 | 0.011696 | 0.000835 | 0.108605 | 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 |
e135752bb040618ca7149843e1b038d01a5fc4cc | 6,650 | py | Python | accounts/models.py | Ronak-23/varchas | 18eed0f1f94c5252212134e6e26ff8a802bed8d9 | [
"bzip2-1.0.6"
] | null | null | null | accounts/models.py | Ronak-23/varchas | 18eed0f1f94c5252212134e6e26ff8a802bed8d9 | [
"bzip2-1.0.6"
] | null | null | null | accounts/models.py | Ronak-23/varchas | 18eed0f1f94c5252212134e6e26ff8a802bed8d9 | [
"bzip2-1.0.6"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
class UserProfile(models.Model):
ACCOMMODATION_CHOICES = (
('N', 'No'),
('Y', 'Yes'),
)
GENDER_CHOICES = (
('M', 'Male'),
('F', 'Female'),
('T', 'Other'),
)
DAYS_CHOICES = (
('1... | 39.583333 | 131 | 0.597895 | 755 | 6,650 | 5.096689 | 0.22649 | 0.136435 | 0.163721 | 0.218295 | 0.91762 | 0.91762 | 0.909304 | 0.873961 | 0.873961 | 0.873961 | 0 | 0.047868 | 0.22406 | 6,650 | 167 | 132 | 39.820359 | 0.697868 | 0 | 0 | 0.703704 | 0 | 0 | 0.157143 | 0.009774 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012346 | false | 0 | 0.012346 | 0.012346 | 0.388889 | 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 |
e1a19bcbf874d4fd41c3c72d21c560ff65bfb221 | 178 | py | Python | indicators/tests/form_tests/__init__.py | mercycorps/toladata | 4d5f9b45905a81af9981b586690e020d5b3bfc60 | [
"Apache-2.0"
] | null | null | null | indicators/tests/form_tests/__init__.py | mercycorps/toladata | 4d5f9b45905a81af9981b586690e020d5b3bfc60 | [
"Apache-2.0"
] | 268 | 2020-03-31T15:46:59.000Z | 2022-03-31T18:01:08.000Z | indicators/tests/form_tests/__init__.py | mercycorps/toladata | 4d5f9b45905a81af9981b586690e020d5b3bfc60 | [
"Apache-2.0"
] | 1 | 2021-01-05T01:58:24.000Z | 2021-01-05T01:58:24.000Z | from .result_form_unittests import *
from .indicator_form_disaggregations_unittests import *
from .indicator_custom_fields import *
from .disaggregated_value_result_form import * | 44.5 | 55 | 0.870787 | 22 | 178 | 6.590909 | 0.5 | 0.206897 | 0.262069 | 0.386207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08427 | 178 | 4 | 56 | 44.5 | 0.889571 | 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 |
36139e8c19bd94567df85feaa409c88702953be8 | 460 | pyde | Python | lesson_1_2/lesson_1_2.pyde | wewearglasses/intro-to-python-with-processing | 05c672c6d796da53f5cada2f029d24f72d6b008f | [
"MIT"
] | null | null | null | lesson_1_2/lesson_1_2.pyde | wewearglasses/intro-to-python-with-processing | 05c672c6d796da53f5cada2f029d24f72d6b008f | [
"MIT"
] | null | null | null | lesson_1_2/lesson_1_2.pyde | wewearglasses/intro-to-python-with-processing | 05c672c6d796da53f5cada2f029d24f72d6b008f | [
"MIT"
] | null | null | null | # Variables
center_x=50
center_y=50
diameter=10
ellipse(center_x,center_y,diameter,diameter)
# Variables allow us to make changes on them
# Let's make some changes on the variables
diameter=diameter+2
center_x=center_x+diameter
ellipse(center_x,center_y,diameter,diameter)
diameter=diameter+2
center_x=center_x+diamet... | 23 | 44 | 0.83913 | 77 | 460 | 4.805195 | 0.25974 | 0.208108 | 0.245946 | 0.216216 | 0.716216 | 0.716216 | 0.716216 | 0.616216 | 0.616216 | 0.616216 | 0 | 0.021176 | 0.076087 | 460 | 20 | 45 | 23 | 0.849412 | 0.202174 | 0 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
36caf26bdf39e3514df2d323023625b523f5d3b0 | 3,968 | py | Python | tests/unit/dataactvalidator/test_a35_cross_file.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | 1 | 2019-06-22T21:53:16.000Z | 2019-06-22T21:53:16.000Z | tests/unit/dataactvalidator/test_a35_cross_file.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_a35_cross_file.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | null | null | null | from tests.unit.dataactcore.factories.domain import TASFactory
from tests.unit.dataactcore.factories.staging import AppropriationFactory, ObjectClassProgramActivityFactory
from tests.unit.dataactvalidator.utils import number_of_errors, query_columns
_FILE = 'a35_cross_file'
_TAS = 'a35_cross_file_tas'
def test_colu... | 47.238095 | 108 | 0.782006 | 505 | 3,968 | 5.732673 | 0.170297 | 0.17962 | 0.221071 | 0.164421 | 0.77133 | 0.74715 | 0.74715 | 0.730915 | 0.730915 | 0.730915 | 0 | 0.090802 | 0.147933 | 3,968 | 83 | 109 | 47.807229 | 0.765454 | 0.192288 | 0 | 0.509804 | 0 | 0 | 0.065948 | 0.052632 | 0 | 0 | 0 | 0 | 0.078431 | 1 | 0.078431 | false | 0 | 0.058824 | 0 | 0.137255 | 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 |
36d3c39b3398443ed358df2ae710e768d8df8cc9 | 38,127 | py | Python | gnomic/grammar.py | biosustain/gnomic | a6e6bbfdd6b42e888a3d1c361847ae7bb87c766e | [
"Apache-2.0"
] | 9 | 2015-07-13T14:15:11.000Z | 2020-11-20T18:42:08.000Z | gnomic/grammar.py | biosustain/gnomic | a6e6bbfdd6b42e888a3d1c361847ae7bb87c766e | [
"Apache-2.0"
] | 33 | 2015-06-19T08:47:19.000Z | 2017-09-04T11:30:39.000Z | gnomic/grammar.py | biosustain/gnomic | a6e6bbfdd6b42e888a3d1c361847ae7bb87c766e | [
"Apache-2.0"
] | 4 | 2015-10-15T19:10:54.000Z | 2020-01-22T09:53:18.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# CAVEAT UTILITOR
#
# This file was automatically generated by Grako.
#
# https://pypi.python.org/pypi/grako/
#
# Any changes you make to it will be overwritten the next time
# the file is generated.
from __future__ import print_function, division, absolute_import, un... | 33.503515 | 82 | 0.417054 | 3,018 | 38,127 | 4.809145 | 0.062293 | 0.131735 | 0.136971 | 0.168665 | 0.836985 | 0.784277 | 0.717928 | 0.66081 | 0.623674 | 0.605484 | 0 | 0.002886 | 0.472867 | 38,127 | 1,137 | 83 | 33.532982 | 0.719276 | 0.006137 | 0 | 0.79922 | 1 | 0.002924 | 0.050314 | 0.00652 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08577 | false | 0 | 0.004873 | 0.038012 | 0.132554 | 0.006823 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 7 |
183086b4f2ed4d3cacd8eef48ebe4fdb36d63923 | 27,698 | py | Python | deepsim/test/test_deepsim/sim_trackers/trackers/test_get_visual_tracker.py | aws-deepracer/deepsim | cad2639f525c2f94ec5c03d8b855cc65b0b8ee55 | [
"Apache-2.0"
] | 1 | 2022-03-25T07:20:49.000Z | 2022-03-25T07:20:49.000Z | deepsim/test/test_deepsim/sim_trackers/trackers/test_get_visual_tracker.py | aws-deepracer/deepsim | cad2639f525c2f94ec5c03d8b855cc65b0b8ee55 | [
"Apache-2.0"
] | null | null | null | deepsim/test/test_deepsim/sim_trackers/trackers/test_get_visual_tracker.py | aws-deepracer/deepsim | cad2639f525c2f94ec5c03d8b855cc65b0b8ee55 | [
"Apache-2.0"
] | null | null | null | #################################################################################
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"). ... | 44.387821 | 98 | 0.545382 | 2,962 | 27,698 | 4.82208 | 0.07056 | 0.042008 | 0.05391 | 0.05293 | 0.827417 | 0.819156 | 0.816425 | 0.800952 | 0.78919 | 0.78786 | 0 | 0.046321 | 0.36555 | 27,698 | 623 | 99 | 44.459069 | 0.76646 | 0.038126 | 0 | 0.800391 | 0 | 0 | 0.015803 | 0.002571 | 0 | 0 | 0 | 0 | 0.068493 | 1 | 0.037182 | false | 0 | 0.029354 | 0 | 0.074364 | 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 |
43ea2617d9cfa592f1a11be2013c9c3e182350ea | 214 | py | Python | setup.py | PayThePizzo/OCR | 900940ed29e1bcba9e30b77603f5de4738d856be | [
"Apache-2.0"
] | null | null | null | setup.py | PayThePizzo/OCR | 900940ed29e1bcba9e30b77603f5de4738d856be | [
"Apache-2.0"
] | null | null | null | setup.py | PayThePizzo/OCR | 900940ed29e1bcba9e30b77603f5de4738d856be | [
"Apache-2.0"
] | null | null | null | # TODO: Create setup
# https://docs.python.org/3/distutils/setupscript.html
# https://docs.python.org/2/distutils/index.html
# https://docs.python.org/3/distutils/
# https://docs.python-guide.org/writing/structure/ | 42.8 | 54 | 0.757009 | 32 | 214 | 5.0625 | 0.5 | 0.222222 | 0.37037 | 0.333333 | 0.506173 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 0.014778 | 0.051402 | 214 | 5 | 55 | 42.8 | 0.783251 | 0.953271 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.2 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a11ae6d6a81f32f4184c9aeb79cb56b58ba4f98f | 12,018 | py | Python | swagger_client/api/connection_api.py | atlanticwave-sdx/sdx-controller-client | 426453bf84e9522e857fd78139bb63429b9091cc | [
"MIT"
] | null | null | null | swagger_client/api/connection_api.py | atlanticwave-sdx/sdx-controller-client | 426453bf84e9522e857fd78139bb63429b9091cc | [
"MIT"
] | null | null | null | swagger_client/api/connection_api.py | atlanticwave-sdx/sdx-controller-client | 426453bf84e9522e857fd78139bb63429b9091cc | [
"MIT"
] | null | null | null | # coding: utf-8
"""
SDX-Controller
You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). # noqa: E501
OpenAPI spec version: 1.0.0
Contact: yxin@renci.org
Generated by: https://github.com/swagger-api/swagger-code... | 37.911672 | 156 | 0.615161 | 1,382 | 12,018 | 5.107815 | 0.125904 | 0.046466 | 0.023799 | 0.030599 | 0.884686 | 0.872362 | 0.865278 | 0.846721 | 0.839921 | 0.836521 | 0 | 0.015625 | 0.297054 | 12,018 | 316 | 157 | 38.031646 | 0.819957 | 0.342153 | 0 | 0.751515 | 0 | 0 | 0.177967 | 0.037271 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042424 | false | 0 | 0.024242 | 0 | 0.127273 | 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 |
a12b0572dc9ab7b2550550a3f10d1180c2c5eded | 6,797 | py | Python | utils/indigo-service/service/v2/bingo_ql/test.py | tsingdao-Tp/Indigo | b2d73faebb6a450e9b3d34fed553fad4f9d0012f | [
"Apache-2.0"
] | 204 | 2015-11-06T21:34:34.000Z | 2022-03-30T16:17:01.000Z | utils/indigo-service/service/v2/bingo_ql/test.py | tsingdao-Tp/Indigo | b2d73faebb6a450e9b3d34fed553fad4f9d0012f | [
"Apache-2.0"
] | 509 | 2015-11-05T13:54:43.000Z | 2022-03-30T22:15:30.000Z | utils/indigo-service/service/v2/bingo_ql/test.py | tsingdao-Tp/Indigo | b2d73faebb6a450e9b3d34fed553fad4f9d0012f | [
"Apache-2.0"
] | 89 | 2015-11-17T08:22:54.000Z | 2022-03-17T04:26:28.000Z | import unittest
from query import QueryBuilder
class TestBingoQL(unittest.TestCase):
def setUp(self):
self.builder = QueryBuilder()
def testQueryByPropName(self):
query = self.builder.build_query('"monoisotopic_weight"')
self.assertEquals(u"(elems->>'y' = %(property_term_0)s)", query)... | 65.355769 | 427 | 0.648521 | 913 | 6,797 | 4.582694 | 0.085433 | 0.131931 | 0.118069 | 0.095363 | 0.821224 | 0.778203 | 0.756692 | 0.747132 | 0.734465 | 0.669455 | 0 | 0.03637 | 0.166691 | 6,797 | 103 | 428 | 65.990291 | 0.702331 | 0 | 0 | 0.234568 | 0 | 0.185185 | 0.496101 | 0.09107 | 0 | 0 | 0 | 0 | 0.469136 | 1 | 0.049383 | false | 0 | 0.024691 | 0 | 0.08642 | 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 |
a172e9b6fb45ef5766e0125c2aac0f55dcaa4846 | 9,978 | py | Python | cms/migrations/0001_initial.py | Parveen3300/Reans | 6dfce046b01099284a8c945a04600ed83e5099a4 | [
"Apache-2.0"
] | null | null | null | cms/migrations/0001_initial.py | Parveen3300/Reans | 6dfce046b01099284a8c945a04600ed83e5099a4 | [
"Apache-2.0"
] | null | null | null | cms/migrations/0001_initial.py | Parveen3300/Reans | 6dfce046b01099284a8c945a04600ed83e5099a4 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.2.8 on 2021-11-15 05:11
import ckeditor.fields
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER... | 80.467742 | 323 | 0.655642 | 1,157 | 9,978 | 5.401037 | 0.095938 | 0.082733 | 0.032645 | 0.045607 | 0.881101 | 0.87374 | 0.87294 | 0.855977 | 0.829733 | 0.822852 | 0 | 0.00999 | 0.197434 | 9,978 | 123 | 324 | 81.121951 | 0.770355 | 0.00451 | 0 | 0.568966 | 1 | 0 | 0.213775 | 0.041587 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.068966 | 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 |
a1c2fd1c5388c84a00896d9e5e762075c580cf03 | 9,868 | py | Python | models/triple_layer.py | mabdelhack/cnn_recurrent_topdown | 0c4a15abb34fcbed98e3ea3a23dd11c3d9bca896 | [
"MIT"
] | null | null | null | models/triple_layer.py | mabdelhack/cnn_recurrent_topdown | 0c4a15abb34fcbed98e3ea3a23dd11c3d9bca896 | [
"MIT"
] | null | null | null | models/triple_layer.py | mabdelhack/cnn_recurrent_topdown | 0c4a15abb34fcbed98e3ea3a23dd11c3d9bca896 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
class TripleLayerConv(nn.Module):
def __init__(self, input_channels, output_channels, topdown_channels, feedforward_recurrent_parameters,
topdown_parameters, dropout=None):
"""This is a unit that contains triple convolutional/conv_transpose layers to imp... | 50.605128 | 119 | 0.639137 | 1,139 | 9,868 | 5.287972 | 0.127305 | 0.032874 | 0.064752 | 0.031878 | 0.836626 | 0.829321 | 0.829321 | 0.829321 | 0.829321 | 0.829321 | 0 | 0.006286 | 0.274524 | 9,868 | 194 | 120 | 50.865979 | 0.835033 | 0.224666 | 0 | 0.726563 | 0 | 0 | 0.033569 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 1 | 0.0625 | false | 0 | 0.015625 | 0.015625 | 0.140625 | 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 |
62e39f68632f51c49d1f8271a8b1e400236bb589 | 6,811 | py | Python | 13-game.py | seanbechhofer/advent_of_code_2019 | 0dc4f791c4cf736bd711f50fdb88d2d6fa29d11e | [
"CC0-1.0"
] | null | null | null | 13-game.py | seanbechhofer/advent_of_code_2019 | 0dc4f791c4cf736bd711f50fdb88d2d6fa29d11e | [
"CC0-1.0"
] | null | null | null | 13-game.py | seanbechhofer/advent_of_code_2019 | 0dc4f791c4cf736bd711f50fdb88d2d6fa29d11e | [
"CC0-1.0"
] | null | null | null | import sys
import unittest
from intcode import Machine
INPUT = "1,380,379,385,1008,2119,168858,381,1005,381,12,99,109,2120,1102,1,0,383,1102,0,1,382,21001,382,0,1,21002,383,1,2,21101,37,0,0,1105,1,578,4,382,4,383,204,1,1001,382,1,382,1007,382,37,381,1005,381,22,1001,383,1,383,1007,383,20,381,1005,381,18,1006,385,69,99... | 189.194444 | 5,943 | 0.626927 | 2,240 | 6,811 | 1.901339 | 0.107589 | 0.141348 | 0.175393 | 0.211317 | 0.2888 | 0.268138 | 0.227283 | 0.217187 | 0.209204 | 0.168819 | 0 | 0.568633 | 0.032007 | 6,811 | 35 | 5,944 | 194.6 | 0.077355 | 0.014388 | 0 | 0 | 0 | 0.037037 | 0.88874 | 0.884862 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.037037 | 0.111111 | 0 | 0.259259 | 0.148148 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1a0b896401e260a155cf48b8d5d852fde0f7acce | 167,946 | py | Python | tests/unit/gapic/compute_v1/test_region_instance_group_managers.py | georgiyekkert/python-compute | d128efbb3bf10af9b41e55b20aaa8080b3221e77 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/compute_v1/test_region_instance_group_managers.py | georgiyekkert/python-compute | d128efbb3bf10af9b41e55b20aaa8080b3221e77 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/compute_v1/test_region_instance_group_managers.py | georgiyekkert/python-compute | d128efbb3bf10af9b41e55b20aaa8080b3221e77 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 39.148252 | 144 | 0.687054 | 17,537 | 167,946 | 6.284028 | 0.026572 | 0.041796 | 0.041033 | 0.020689 | 0.925692 | 0.903732 | 0.886709 | 0.862 | 0.844569 | 0.833208 | 0 | 0.007054 | 0.234385 | 167,946 | 4,289 | 145 | 39.157379 | 0.85001 | 0.12251 | 0 | 0.747057 | 0 | 0.004226 | 0.149108 | 0.057455 | 0 | 0 | 0 | 0.000233 | 0.13613 | 1 | 0.040447 | false | 0.000302 | 0.007244 | 0.000604 | 0.048295 | 0.005433 | 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 |
1a18914c1c0a481ad16e079c4e8f3acd92019441 | 325 | py | Python | bitmovin_api_sdk/encoding/outputs/s3_role_based/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/outputs/s3_role_based/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/outputs/s3_role_based/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.outputs.s3_role_based.s3_role_based_api import S3RoleBasedApi
from bitmovin_api_sdk.encoding.outputs.s3_role_based.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.outputs.s3_role_based.s3_role_based_output_list_query_params import S3RoleBasedOutputListQueryPa... | 81.25 | 131 | 0.923077 | 47 | 325 | 5.914894 | 0.382979 | 0.107914 | 0.197842 | 0.194245 | 0.553957 | 0.553957 | 0.553957 | 0.553957 | 0.553957 | 0.395683 | 0 | 0.022364 | 0.036923 | 325 | 3 | 132 | 108.333333 | 0.865815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a7e6c053f57d6bd3d3b8bb6b7743fe3239d04b30 | 187 | py | Python | ane_research/__init__.py | michaeljneely/sparse-attention-explanation | 658b181f67963fe22dd0489bd9b37bdbd05110c1 | [
"MIT"
] | 2 | 2020-03-25T22:13:09.000Z | 2021-01-06T04:28:03.000Z | ane_research/__init__.py | michaeljneely/sparse-attention-explanation | 658b181f67963fe22dd0489bd9b37bdbd05110c1 | [
"MIT"
] | null | null | null | ane_research/__init__.py | michaeljneely/sparse-attention-explanation | 658b181f67963fe22dd0489bd9b37bdbd05110c1 | [
"MIT"
] | null | null | null | # pylint: disable=wildcard-import
from ane_research.dataset_readers import *
from ane_research.evaluators import *
from ane_research.models import *
from ane_research.predictors import *
| 31.166667 | 42 | 0.834225 | 25 | 187 | 6.04 | 0.48 | 0.264901 | 0.344371 | 0.556291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101604 | 187 | 5 | 43 | 37.4 | 0.89881 | 0.165775 | 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 |
c511e4f0b50b3cd782e528a271318b95bf1188ac | 43 | py | Python | Edabit/Return a String as an Integer/Sol.py | Pandz18/C-Programs | 9d9b47516d3f65d348f9f72b9c0edda8246e9fab | [
"MIT"
] | null | null | null | Edabit/Return a String as an Integer/Sol.py | Pandz18/C-Programs | 9d9b47516d3f65d348f9f72b9c0edda8246e9fab | [
"MIT"
] | null | null | null | Edabit/Return a String as an Integer/Sol.py | Pandz18/C-Programs | 9d9b47516d3f65d348f9f72b9c0edda8246e9fab | [
"MIT"
] | null | null | null | def string_int(txt):
return int(txt)
| 14.333333 | 21 | 0.651163 | 7 | 43 | 3.857143 | 0.714286 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 43 | 2 | 22 | 21.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
3dbe76adabf689954d025f7840f192cd63c46e7a | 8,833 | py | Python | dataset.py | fengwuxuan/senet-3d | 2de1465e5cf73b0223b0e3afa224c3734814ef3d | [
"MIT"
] | 9 | 2019-01-02T11:30:56.000Z | 2021-05-17T11:55:17.000Z | dataset.py | fengwuxuan/senet-3d | 2de1465e5cf73b0223b0e3afa224c3734814ef3d | [
"MIT"
] | 1 | 2020-09-24T07:29:33.000Z | 2020-09-24T07:29:33.000Z | dataset.py | fengwuxuan/senet-3d | 2de1465e5cf73b0223b0e3afa224c3734814ef3d | [
"MIT"
] | 1 | 2019-05-27T08:19:52.000Z | 2019-05-27T08:19:52.000Z | from datasets.kinetics import Kinetics
from datasets.activitynet import ActivityNet
from datasets.ucf101 import UCF101
from datasets.hmdb51 import HMDB51
from datasets.something import Something
from datasets.fire import FIRE
def get_training_set(opt, spatial_transform, temporal_transform,
target... | 44.386935 | 152 | 0.479905 | 696 | 8,833 | 5.811782 | 0.079023 | 0.112485 | 0.147095 | 0.124598 | 0.81953 | 0.804697 | 0.804697 | 0.798269 | 0.768109 | 0.760198 | 0 | 0.016156 | 0.453413 | 8,833 | 198 | 153 | 44.611111 | 0.821665 | 0.007472 | 0 | 0.745946 | 0 | 0 | 0.060689 | 0.011864 | 0 | 0 | 0 | 0 | 0.021622 | 1 | 0.016216 | false | 0 | 0.032432 | 0 | 0.064865 | 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 |
3dbf5709a69a969116a377fdd1856375de1c22e2 | 42 | py | Python | tests/__init__.py | scadnano-test-user/scadnano-python-package-1 | 9becb5a076579f6cbac1ebfeda514540bb84ab87 | [
"MIT"
] | null | null | null | tests/__init__.py | scadnano-test-user/scadnano-python-package-1 | 9becb5a076579f6cbac1ebfeda514540bb84ab87 | [
"MIT"
] | null | null | null | tests/__init__.py | scadnano-test-user/scadnano-python-package-1 | 9becb5a076579f6cbac1ebfeda514540bb84ab87 | [
"MIT"
] | null | null | null | from scadnano_copy.scadnano_copy import *
| 21 | 41 | 0.857143 | 6 | 42 | 5.666667 | 0.666667 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9a84dc5171b4740cf3433eae2b9f3d2c1e7238c0 | 19,909 | py | Python | userbot/plugins/animazioni1.py | sethgld/userbotseth | 2994aa84be57aed8ab036ed6f59342d9ca2f3cb2 | [
"MIT"
] | null | null | null | userbot/plugins/animazioni1.py | sethgld/userbotseth | 2994aa84be57aed8ab036ed6f59342d9ca2f3cb2 | [
"MIT"
] | null | null | null | userbot/plugins/animazioni1.py | sethgld/userbotseth | 2994aa84be57aed8ab036ed6f59342d9ca2f3cb2 | [
"MIT"
] | null | null | null | """
Commands:
.hypno
.plane
.pula
.sega
.solarsystem
.sorpresa
"""
import os
import sys
import asyncio
from telethon import events
from userbot import CMD_HELP
from userbot import ALIVE_NAME
from userbot.utils import admin_cmd
from platform import uname
DEFAULTUSER = str(ALIVE_NAME) if ALIVE... | 50.788265 | 126 | 0.281732 | 3,774 | 19,909 | 3.551934 | 0.04372 | 0.041925 | 0.126222 | 0.062663 | 0.930101 | 0.917941 | 0.895785 | 0.892279 | 0.830063 | 0.827079 | 0 | 0.015527 | 0.200964 | 19,909 | 391 | 127 | 50.918159 | 0.332223 | 0.016475 | 0 | 0.612583 | 0 | 0.043046 | 0.667033 | 0.571182 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.02649 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
9a9617a2e11cefe055fedb69e75194e8eab85456 | 107 | py | Python | app/views/donation_feed/__init__.py | gagnokenneth/foodle | d18279fbdfb2919a7f66366a33bbf29db68475e3 | [
"MIT"
] | null | null | null | app/views/donation_feed/__init__.py | gagnokenneth/foodle | d18279fbdfb2919a7f66366a33bbf29db68475e3 | [
"MIT"
] | null | null | null | app/views/donation_feed/__init__.py | gagnokenneth/foodle | d18279fbdfb2919a7f66366a33bbf29db68475e3 | [
"MIT"
] | 1 | 2022-03-23T08:38:40.000Z | 2022-03-23T08:38:40.000Z | from flask import Blueprint
donation_feed_bp = Blueprint("donation_feed", __name__)
from . import routes
| 17.833333 | 55 | 0.803738 | 14 | 107 | 5.642857 | 0.642857 | 0.43038 | 0.531646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 107 | 5 | 56 | 21.4 | 0.849462 | 0 | 0 | 0 | 0 | 0 | 0.121495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
9ab64201a5d9c053f3deb6162026dcc0e1d12644 | 62,018 | py | Python | yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py | ovandriyanov/python-sdk | eec7dc65ef23789388fa46d13087d4a03cdc6e57 | [
"MIT"
] | null | null | null | yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py | ovandriyanov/python-sdk | eec7dc65ef23789388fa46d13087d4a03cdc6e57 | [
"MIT"
] | null | null | null | yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py | ovandriyanov/python-sdk | eec7dc65ef23789388fa46d13087d4a03cdc6e57 | [
"MIT"
] | 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 yandex.cloud.mdb.clickhouse.v1 import cluster_pb2 as yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__pb2
from yandex.cloud.mdb.clickhouse.v1 imp... | 54.883186 | 165 | 0.709101 | 6,199 | 62,018 | 6.612034 | 0.033876 | 0.042817 | 0.066605 | 0.080877 | 0.923124 | 0.921318 | 0.914072 | 0.85869 | 0.854299 | 0.810018 | 0 | 0.008264 | 0.227337 | 62,018 | 1,129 | 166 | 54.931798 | 0.847096 | 0.037666 | 0 | 0.590349 | 1 | 0 | 0.093193 | 0.063901 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067762 | false | 0 | 0.004107 | 0.032854 | 0.107803 | 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 |
b1785fa6bfb825e7eb1d6baba2051bb7cbdc3644 | 152 | py | Python | molmap/model/__init__.py | SuperXiang/bidd-molmap | f0f5da299e4da4ebae83eed81ddfdad31c707d92 | [
"MIT"
] | 1 | 2021-04-01T05:06:16.000Z | 2021-04-01T05:06:16.000Z | molmap/model/__init__.py | SuperXiang/bidd-molmap | f0f5da299e4da4ebae83eed81ddfdad31c707d92 | [
"MIT"
] | null | null | null | molmap/model/__init__.py | SuperXiang/bidd-molmap | f0f5da299e4da4ebae83eed81ddfdad31c707d92 | [
"MIT"
] | null | null | null | from molmap.model import cbks, loss, net, importance
from .model import RegressionEstimator
from .model import MultiClassEstimator, MultiLabelEstimator | 38 | 59 | 0.848684 | 17 | 152 | 7.588235 | 0.647059 | 0.255814 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 152 | 4 | 59 | 38 | 0.948529 | 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 |
b19155ff9890aba373abd9ff9f2292f79aa56674 | 133 | py | Python | hvad/compat/string_io.py | aptivate/django-hvad | 61457412eeae09b5df1c514a5b162230be125e1b | [
"BSD-3-Clause"
] | null | null | null | hvad/compat/string_io.py | aptivate/django-hvad | 61457412eeae09b5df1c514a5b162230be125e1b | [
"BSD-3-Clause"
] | null | null | null | hvad/compat/string_io.py | aptivate/django-hvad | 61457412eeae09b5df1c514a5b162230be125e1b | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
try:
from io import StringIO # python 3
except ImportError:
from StringIO import StringIO # python 2
| 22.166667 | 44 | 0.676692 | 18 | 133 | 5 | 0.722222 | 0.311111 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029126 | 0.225564 | 133 | 5 | 45 | 26.6 | 0.84466 | 0.293233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b19587429ba0c46a1a27dd721649ab8f9c6f73b4 | 25,258 | py | Python | iridauploader/tests/core/test_upload.py | COMBAT-SARS-COV-2/irida-uploader | b9d04d187d6a5a9fdcaef5b27135965ffac99db0 | [
"Apache-2.0"
] | 7 | 2019-01-25T16:56:11.000Z | 2021-01-12T15:32:08.000Z | iridauploader/tests/core/test_upload.py | COMBAT-SARS-COV-2/irida-uploader | b9d04d187d6a5a9fdcaef5b27135965ffac99db0 | [
"Apache-2.0"
] | 80 | 2019-01-29T14:54:26.000Z | 2022-03-25T18:51:51.000Z | iridauploader/tests/core/test_upload.py | COMBAT-SARS-COV-2/irida-uploader | b9d04d187d6a5a9fdcaef5b27135965ffac99db0 | [
"Apache-2.0"
] | 9 | 2019-03-14T09:58:05.000Z | 2022-01-06T20:14:45.000Z | import unittest
from unittest.mock import patch, call
from os import path
import os
from iridauploader.api import MODE_DEFAULT
from iridauploader.core import upload, logger, exit_return
from iridauploader.config import config
from iridauploader.model import DirectoryStatus
path_to_module = path.abspath(path.dirname(_... | 43.102389 | 120 | 0.714546 | 2,889 | 25,258 | 5.824507 | 0.056075 | 0.114994 | 0.112914 | 0.09984 | 0.900755 | 0.891068 | 0.880371 | 0.864741 | 0.862899 | 0.862899 | 0 | 0.000452 | 0.212329 | 25,258 | 585 | 121 | 43.176068 | 0.845338 | 0.108203 | 0 | 0.737805 | 0 | 0 | 0.146764 | 0.120055 | 0 | 0 | 0 | 0 | 0.146341 | 1 | 0.088415 | false | 0.018293 | 0.02439 | 0.02439 | 0.155488 | 0.012195 | 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 |
491c8062c63b9b5e751ed8bae4e0a1bd765db59f | 84 | py | Python | src/python/lib/__init__.py | hindsights/gml | 876810c9dc3a33731e0df9dce9dfd68a655c6330 | [
"MIT"
] | 3 | 2018-03-01T13:34:00.000Z | 2018-04-02T03:02:22.000Z | src/python/lib/__init__.py | hindsights/gml | 876810c9dc3a33731e0df9dce9dfd68a655c6330 | [
"MIT"
] | null | null | null | src/python/lib/__init__.py | hindsights/gml | 876810c9dc3a33731e0df9dce9dfd68a655c6330 | [
"MIT"
] | null | null | null | import core
import lang
def loadAll():
return [core.loadAll(), lang.loadAll()]
| 14 | 43 | 0.690476 | 11 | 84 | 5.272727 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 84 | 5 | 44 | 16.8 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
4974aedd87921fb3cf7bd46c72f90c5e6165a0e6 | 122 | py | Python | gitfu/commands/__init__.py | domanchi/gitfu | e856be58634f44f743e48f3881bc2e3a9cf35e1c | [
"MIT"
] | 2 | 2017-09-26T03:12:49.000Z | 2022-01-23T10:50:10.000Z | gitfu/commands/__init__.py | domanchi/gitfu | e856be58634f44f743e48f3881bc2e3a9cf35e1c | [
"MIT"
] | null | null | null | gitfu/commands/__init__.py | domanchi/gitfu | e856be58634f44f743e48f3881bc2e3a9cf35e1c | [
"MIT"
] | null | null | null | # TODO: maybe we can do some magic initialization here.
from .check import run as check
from .commit import run as commit
| 30.5 | 55 | 0.778689 | 21 | 122 | 4.52381 | 0.714286 | 0.189474 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 122 | 3 | 56 | 40.666667 | 0.95 | 0.434426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4977a547da814a1f56653abab8f25aba7f2f126c | 4,349 | py | Python | src/djpaypal/migrations/0014_use_models_jsonfield.py | jleclanche/dj-paypal | 3e45d4e1a1bf7346a33f7cc8d17f7660cf8b63c4 | [
"MIT"
] | 1 | 2017-08-21T03:39:03.000Z | 2017-08-21T03:39:03.000Z | src/djpaypal/migrations/0014_use_models_jsonfield.py | jleclanche/dj-paypal | 3e45d4e1a1bf7346a33f7cc8d17f7660cf8b63c4 | [
"MIT"
] | null | null | null | src/djpaypal/migrations/0014_use_models_jsonfield.py | jleclanche/dj-paypal | 3e45d4e1a1bf7346a33f7cc8d17f7660cf8b63c4 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.13 on 2022-05-11 15:54
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('djpaypal', '0013_billing_agreement_plan_model'),
]
operations = [
migrations.AlterField(
model_name='billingagreement',
... | 32.455224 | 74 | 0.55438 | 362 | 4,349 | 6.538674 | 0.198895 | 0.202788 | 0.253485 | 0.294043 | 0.815378 | 0.795099 | 0.705112 | 0.607098 | 0.597803 | 0.457964 | 0 | 0.006885 | 0.33203 | 4,349 | 133 | 75 | 32.699248 | 0.807917 | 0.010577 | 0 | 0.748032 | 1 | 0 | 0.142525 | 0.024878 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007874 | 0 | 0.031496 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
499eaf7dfc00dd82f39686fb71efeac535b2d299 | 61 | py | Python | dir2/my_code2.py | jonnyv5/jv_pynet | 95ffeb904de0300a34ace954945d61363a6ea246 | [
"Apache-2.0"
] | null | null | null | dir2/my_code2.py | jonnyv5/jv_pynet | 95ffeb904de0300a34ace954945d61363a6ea246 | [
"Apache-2.0"
] | null | null | null | dir2/my_code2.py | jonnyv5/jv_pynet | 95ffeb904de0300a34ace954945d61363a6ea246 | [
"Apache-2.0"
] | null | null | null |
print("hello world code2.py")
print("hello world code2.py")
| 15.25 | 29 | 0.721311 | 10 | 61 | 4.4 | 0.5 | 0.454545 | 0.681818 | 0.909091 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.114754 | 61 | 3 | 30 | 20.333333 | 0.777778 | 0 | 0 | 1 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
b8e95fc4549cb871acb3842bcd4518eb48a97815 | 23,615 | py | Python | Code_V1/Train_Validate.py | zhiyongc/Graph_Convolutional_LSTM | a703b63e626b1e2563fe3f45d9714e468b1d4a0e | [
"MIT"
] | 281 | 2018-05-01T03:38:50.000Z | 2022-03-26T12:33:27.000Z | Code_V1/Train_Validate.py | zhiyongc/GraphConvolutionalLSTM | a703b63e626b1e2563fe3f45d9714e468b1d4a0e | [
"MIT"
] | 5 | 2018-11-21T09:32:46.000Z | 2021-03-29T07:23:16.000Z | Code_V1/Train_Validate.py | zhiyongc/GraphConvolutionalLSTM | a703b63e626b1e2563fe3f45d9714e468b1d4a0e | [
"MIT"
] | 101 | 2018-06-25T08:48:12.000Z | 2022-03-13T16:37:51.000Z | # -*- coding: utf-8 -*-
"""
Created on Wed Feb 7 23:40:32 2018
@author: Zhiyong
"""
import torch
import numpy as np
from torch.autograd import Variable
import time
from Models import *
def TrainRNN(train_dataloader, valid_dataloader, num_epochs = 3):
inputs, labels = next(iter(train_dataloader))
[batc... | 36.163859 | 178 | 0.53339 | 2,542 | 23,615 | 4.675452 | 0.072777 | 0.028271 | 0.021203 | 0.024232 | 0.880522 | 0.865966 | 0.852419 | 0.845099 | 0.836096 | 0.831637 | 0 | 0.0164 | 0.369977 | 23,615 | 652 | 179 | 36.219325 | 0.78243 | 0.02617 | 0 | 0.847727 | 0 | 0 | 0.022604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015909 | false | 0 | 0.011364 | 0 | 0.043182 | 0.040909 | 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 |
b8fac7d25cbc629323ca9ceeb456b2e1d16073b2 | 294 | py | Python | jupyterlab2pymolpysnips/WaterPentagon/waterTriple.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlab2pymolpysnips/WaterPentagon/waterTriple.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlab2pymolpysnips/WaterPentagon/waterTriple.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | """
cmd.do('fetch 1lw9, async=0; ')
cmd.do('zoom resi 313; ')
cmd.do('preset.technical(selection='all', mode=1);')
"""
cmd.do('fetch 1lw9, async=0; ')
cmd.do('zoom resi 313; ')
cmd.do('preset.technical(selection='all', mode=1);')
# Description: triple water pentagon.
# Source: placeHolder
| 22.615385 | 52 | 0.656463 | 44 | 294 | 4.386364 | 0.477273 | 0.15544 | 0.103627 | 0.145078 | 0.756477 | 0.756477 | 0.756477 | 0.756477 | 0.756477 | 0.756477 | 0 | 0.053846 | 0.115646 | 294 | 12 | 53 | 24.5 | 0.688462 | 0.193878 | 0 | 0 | 0 | 0 | 0.634783 | 0.234783 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.