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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
58f7131f6e0460b873d8e3c9e2d3590bf118e404 | 173 | py | Python | client/python-client/config.py | colesteere/updated-gabriel-proxy-server | d3c94ef03952f8612f76af1e7e42dd89f0c6f401 | [
"Apache-2.0"
] | 7 | 2020-02-04T10:58:58.000Z | 2021-11-26T07:37:22.000Z | client/python-client/config.py | colesteere/updated-gabriel-proxy-server | d3c94ef03952f8612f76af1e7e42dd89f0c6f401 | [
"Apache-2.0"
] | 1 | 2021-02-19T03:56:10.000Z | 2021-02-19T03:56:10.000Z | client/python-client/config.py | colesteere/updated-gabriel-proxy-server | d3c94ef03952f8612f76af1e7e42dd89f0c6f401 | [
"Apache-2.0"
] | 8 | 2019-12-05T10:05:36.000Z | 2021-01-27T14:09:53.000Z | #!/usr/bin/env python
class Config(object):
GABRIEL_IP='128.2.213.107'
RECEIVE_FRAME=True
VIDEO_STREAM_PORT = 9098
RESULT_RECEIVING_PORT = 9101
TOKEN=1
| 19.222222 | 32 | 0.699422 | 26 | 173 | 4.423077 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136691 | 0.196532 | 173 | 8 | 33 | 21.625 | 0.690647 | 0.115607 | 0 | 0 | 0 | 0 | 0.085526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
450e839b5cbfe8975335738924db450b042c957b | 608 | py | Python | ibsng/handler/perm/delete_perm_template.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 6 | 2018-03-06T10:16:36.000Z | 2021-12-05T12:43:10.000Z | ibsng/handler/perm/delete_perm_template.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 3 | 2018-03-06T10:27:08.000Z | 2022-01-02T15:21:27.000Z | ibsng/handler/perm/delete_perm_template.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 3 | 2018-01-06T16:28:31.000Z | 2018-09-17T19:47:19.000Z | """Delete permission template API method."""
from ibsng.handler.handler import Handler
class deletePermTemplate(Handler):
"""Delete permission template method class."""
def control(self):
"""Validate inputs after method setup.
:return: None
:rtype: None
"""
self.is_va... | 24.32 | 63 | 0.648026 | 67 | 608 | 5.716418 | 0.432836 | 0.18799 | 0.208877 | 0.156658 | 0.120104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258224 | 608 | 24 | 64 | 25.333333 | 0.849224 | 0.419408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
45260c369563b1835eb05a3453c5ee46286b3cca | 4,721 | py | Python | code/tests/unit/api/test_authorization.py | CiscoSecurity/tr-05-serverless-cyberprotect | f977f78e42d67994550bc5e6a3b04b0cd157d476 | [
"MIT"
] | 3 | 2020-06-24T08:17:58.000Z | 2021-05-25T06:00:28.000Z | code/tests/unit/api/test_authorization.py | CiscoSecurity/tr-05-serverless-cyberprotect | f977f78e42d67994550bc5e6a3b04b0cd157d476 | [
"MIT"
] | null | null | null | code/tests/unit/api/test_authorization.py | CiscoSecurity/tr-05-serverless-cyberprotect | f977f78e42d67994550bc5e6a3b04b0cd157d476 | [
"MIT"
] | null | null | null | from http import HTTPStatus
from pytest import fixture
from requests.exceptions import InvalidURL, ConnectionError
from api.utils import (
NO_AUTH_HEADER,
WRONG_AUTH_TYPE,
WRONG_JWKS_HOST,
JWK_HOST_MISSING,
WRONG_KEY,
WRONG_JWT_STRUCTURE,
WRONG_AUDIENCE,
KID_NOT_FOUND
)
from .utils imp... | 28.786585 | 77 | 0.728236 | 547 | 4,721 | 5.862888 | 0.140768 | 0.084191 | 0.134705 | 0.169629 | 0.753352 | 0.714687 | 0.696601 | 0.675398 | 0.675398 | 0.675398 | 0 | 0 | 0.201229 | 4,721 | 163 | 78 | 28.96319 | 0.850438 | 0 | 0 | 0.462121 | 0 | 0 | 0.021182 | 0.004872 | 0 | 0 | 0 | 0 | 0.121212 | 1 | 0.075758 | false | 0 | 0.05303 | 0.007576 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 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 | 3 |
452d8122263635ca75335a981efe2ea56d796a77 | 536 | py | Python | driving_force.py | bcgreen24/ten-lines-or-less | 7a34ff7d7222fd3946e9cbb418afc992bc84e5e5 | [
"MIT"
] | 44 | 2018-08-15T08:32:43.000Z | 2022-02-15T20:25:03.000Z | driving_force.py | bcgreen24/ten-lines-or-less | 7a34ff7d7222fd3946e9cbb418afc992bc84e5e5 | [
"MIT"
] | null | null | null | driving_force.py | bcgreen24/ten-lines-or-less | 7a34ff7d7222fd3946e9cbb418afc992bc84e5e5 | [
"MIT"
] | 7 | 2018-09-08T20:05:58.000Z | 2021-11-22T12:46:15.000Z | b1 >> fuzz([0, 2, 3, 5], dur=1/2, amp=0.8, lpf=linvar([100, 1000], 12), lpr=0.4, oct=3).every(16, "shuffle").every(8, "bubble")
d1 >> play("x o [xx] oxx o [xx] {oO} ", room=0.4).every(16, "shuffle")
d2 >> play("[--]", amp=[1.3, 0.5, 0.5, 0.5], hpf=linvar([6000, 10000], 8), hpr=0.4, spin=4)
p1 >> pasha([0, 2, 3, 5], dur... | 67 | 127 | 0.539179 | 119 | 536 | 2.428571 | 0.394958 | 0.034602 | 0.031142 | 0.041522 | 0.048443 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196544 | 0.136194 | 536 | 7 | 128 | 76.571429 | 0.427646 | 0 | 0 | 0 | 0 | 0 | 0.151119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4535b19aaa2277a6f4dbe0469e53ec470e9bd860 | 23,317 | py | Python | synthetic_expts/synthetic_expts.py | mvp18/gAL-MELEX | 58fd26b41d40acac3ab98f37c34e4de2d757ac01 | [
"MIT"
] | null | null | null | synthetic_expts/synthetic_expts.py | mvp18/gAL-MELEX | 58fd26b41d40acac3ab98f37c34e4de2d757ac01 | [
"MIT"
] | null | null | null | synthetic_expts/synthetic_expts.py | mvp18/gAL-MELEX | 58fd26b41d40acac3ab98f37c34e4de2d757ac01 | [
"MIT"
] | null | null | null | """
Author: saneem
"""
import pickle
import tensorflow as tf
import numpy as np
import os, sys
import csv
from keras.preprocessing.image import ImageDataGenerator
from keras.models import Sequential, load_model, Model
from keras.layers import Conv2D, MaxPooling2D, ZeroPadding2D
from keras.layers import Activation, Drop... | 37.366987 | 136 | 0.697517 | 3,576 | 23,317 | 4.311521 | 0.088926 | 0.033273 | 0.017123 | 0.029965 | 0.738358 | 0.719484 | 0.687832 | 0.665326 | 0.652419 | 0.637112 | 0 | 0.019517 | 0.14959 | 23,317 | 623 | 137 | 37.426966 | 0.758031 | 0.168075 | 0 | 0.585106 | 0 | 0 | 0.082227 | 0.014789 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.057447 | null | null | 0.012766 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 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 | 3 |
453a2742018049e65a52d9001633ae9f304aa4fa | 28 | py | Python | constants.py | cenwangumass/cs590m-homework06 | f2ca68318dcc54503e77dcb62ff973515eaf764a | [
"MIT"
] | null | null | null | constants.py | cenwangumass/cs590m-homework06 | f2ca68318dcc54503e77dcb62ff973515eaf764a | [
"MIT"
] | null | null | null | constants.py | cenwangumass/cs590m-homework06 | f2ca68318dcc54503e77dcb62ff973515eaf764a | [
"MIT"
] | null | null | null | IDLE = "IDLE"
BUSY = "BUSY"
| 9.333333 | 13 | 0.571429 | 4 | 28 | 4 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 2 | 14 | 14 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
18a37a362f29ef2ae5519e1d68048127fb48f719 | 1,544 | py | Python | leetcode/lessons/hash_table/349_intersection_of_two_arrays/__init__.py | wangkuntian/leetcode | e8dc9c8032c805a7d071ad19b94841ee8e52e834 | [
"MIT"
] | null | null | null | leetcode/lessons/hash_table/349_intersection_of_two_arrays/__init__.py | wangkuntian/leetcode | e8dc9c8032c805a7d071ad19b94841ee8e52e834 | [
"MIT"
] | 2 | 2020-03-24T18:00:21.000Z | 2020-03-26T11:33:51.000Z | leetcode/lessons/hash_table/349_intersection_of_two_arrays/__init__.py | wangkuntian/leetcode | e8dc9c8032c805a7d071ad19b94841ee8e52e834 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
__project__ = 'leetcode'
__file__ = '__init__.py'
__author__ = 'king'
__time__ = '2020/1/31 20:25'
_ooOoo_
o8888888o
88" . "88
(| -_- |)
... | 24.125 | 58 | 0.284326 | 100 | 1,544 | 3.62 | 0.55 | 0.022099 | 0.016575 | 0.022099 | 0.027624 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07371 | 0.472798 | 1,544 | 63 | 59 | 24.507937 | 0.371007 | 0.720855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
18b2748d4db3f32aa2c547796c669a19b6491fcb | 232 | py | Python | setup.py | doandv-java/detect-yolo | e36dd94557431a3833220fdcfe0dad794c6bc828 | [
"MIT"
] | null | null | null | setup.py | doandv-java/detect-yolo | e36dd94557431a3833220fdcfe0dad794c6bc828 | [
"MIT"
] | null | null | null | setup.py | doandv-java/detect-yolo | e36dd94557431a3833220fdcfe0dad794c6bc828 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name='yolov3_tf2',
version='0.1',
url='https://github.com/zzh8829/yolov3-tf2',
author='Zihao Zhang',
author_email='zzh8829@gmail.com',
packages=['yolov3_tf2']) | 29 | 51 | 0.633621 | 29 | 232 | 4.965517 | 0.724138 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.206897 | 232 | 8 | 52 | 29 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0.389381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
18b70f312f7bc7a978f8b4dac5d2e717efd5e67a | 635 | py | Python | intake/container/ndarray.py | ah-/intake | 1c971a9e579a18be603b4a74a71dbc111afbcb0c | [
"BSD-2-Clause"
] | null | null | null | intake/container/ndarray.py | ah-/intake | 1c971a9e579a18be603b4a74a71dbc111afbcb0c | [
"BSD-2-Clause"
] | null | null | null | intake/container/ndarray.py | ah-/intake | 1c971a9e579a18be603b4a74a71dbc111afbcb0c | [
"BSD-2-Clause"
] | null | null | null | import msgpack
import numpy as np
import msgpack_numpy
from .base import BaseContainer
class NdArray(BaseContainer):
@staticmethod
def merge(parts):
raise Exception('Need to implement ndarray case')
@staticmethod
def to_dask(parts, dtype):
raise Exception('Need to implement ndarray c... | 22.678571 | 73 | 0.703937 | 75 | 635 | 5.893333 | 0.493333 | 0.169683 | 0.081448 | 0.090498 | 0.248869 | 0.248869 | 0.248869 | 0.248869 | 0.248869 | 0 | 0 | 0.002012 | 0.217323 | 635 | 28 | 74 | 22.678571 | 0.887324 | 0 | 0 | 0.35 | 0 | 0 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.2 | 0.15 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
18bcb33e2c36ca40bd83b6f3e06dad0e7e7042de | 68 | py | Python | app/src/main/python/youtubedl/version.py | daniel-sudz/youtubedl-mobile | c68f141a4c22b2f359eb5e15d855ed31f4faa6eb | [
"MIT"
] | 4 | 2019-07-18T01:44:07.000Z | 2019-11-22T14:11:39.000Z | app/src/main/python/youtubedl/version.py | daniel-sudz/youtubedl-mobile | c68f141a4c22b2f359eb5e15d855ed31f4faa6eb | [
"MIT"
] | null | null | null | app/src/main/python/youtubedl/version.py | daniel-sudz/youtubedl-mobile | c68f141a4c22b2f359eb5e15d855ed31f4faa6eb | [
"MIT"
] | 1 | 2019-12-05T15:05:50.000Z | 2019-12-05T15:05:50.000Z | from __future__ import unicode_literals
__version__ = '2019.07.12'
| 17 | 39 | 0.808824 | 9 | 68 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.117647 | 68 | 3 | 40 | 22.666667 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
18e6d6eb8c7c6f9128162d1bd1f24040f068a80e | 460 | py | Python | PRATICAR.py | klebervieirati/PYTHON | 1bb03e775df2ff0d996aab0e3ce8f6f058bc5a05 | [
"MIT"
] | null | null | null | PRATICAR.py | klebervieirati/PYTHON | 1bb03e775df2ff0d996aab0e3ce8f6f058bc5a05 | [
"MIT"
] | null | null | null | PRATICAR.py | klebervieirati/PYTHON | 1bb03e775df2ff0d996aab0e3ce8f6f058bc5a05 | [
"MIT"
] | null | null | null | print ('\n\nSistema de Cadastro Pessoal')
print ('______________________________________')
nome = input('\nESCREVA SEU NOME COMPLETO.: ')
idade = int(input('\nDIGA QUANTOS ANOS VOCÊ TEM?.: '))
peso = input('\nDIGITE SEU PESO !.: ')
print('========================================================\n')
print ('Seu nome ... | 35.384615 | 85 | 0.51087 | 46 | 460 | 4.282609 | 0.543478 | 0.091371 | 0.101523 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102174 | 460 | 12 | 86 | 38.333333 | 0.476998 | 0 | 0 | 0 | 0 | 0 | 0.7 | 0.33913 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
18edb7e6dbf3862deeedbb272cb4330fb8412a96 | 210 | py | Python | tests/slim_testing_config.py | avalentino/slim | 4b037ebe37325069183b841242f83f00411eae61 | [
"MIT"
] | 1 | 2016-12-29T18:05:22.000Z | 2016-12-29T18:05:22.000Z | tests/slim_testing_config.py | avalentino/slim | 4b037ebe37325069183b841242f83f00411eae61 | [
"MIT"
] | null | null | null | tests/slim_testing_config.py | avalentino/slim | 4b037ebe37325069183b841242f83f00411eae61 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
TESTING = True
SECURITY_PASSWORD_HASH = 'plaintext'
SQLALCHEMY_DATABASE_URI = 'sqlite://'
SLIM_FILE_LOGGING_LEVEL = None
# LOGIN_DISABLED = True
# PRESERVE_CONTEXT_ON_EXCEPTION = False
| 23.333333 | 39 | 0.761905 | 26 | 210 | 5.730769 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.12381 | 210 | 8 | 40 | 26.25 | 0.804348 | 0.385714 | 0 | 0 | 0 | 0 | 0.144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e13ead3131e4730fd69f85d2db25383cd59c99c1 | 338 | py | Python | backend/nodes/admin.py | solitariaa/CMPUT404-project-socialdistribution | f9e23a10e209f8bf7ed062e105f44038751f7c74 | [
"W3C-20150513"
] | 1 | 2022-03-01T03:03:40.000Z | 2022-03-01T03:03:40.000Z | backend/nodes/admin.py | solitariaa/CMPUT404-project-socialdistribution | f9e23a10e209f8bf7ed062e105f44038751f7c74 | [
"W3C-20150513"
] | 51 | 2022-02-09T06:18:27.000Z | 2022-03-28T19:01:54.000Z | backend/nodes/admin.py | solitariaa/CMPUT404-project-socialdistribution | f9e23a10e209f8bf7ed062e105f44038751f7c74 | [
"W3C-20150513"
] | 2 | 2022-03-13T20:58:10.000Z | 2022-03-19T06:29:56.000Z | from django.contrib import admin
from django.urls import reverse
from django.utils.safestring import mark_safe
from .models import Node
class NodeAdmin(admin.ModelAdmin):
ordering = ('name',)
search_fields = ('name', 'host')
list_display = ('name', 'host', 'username', 'password')
admin.site.register... | 24.142857 | 59 | 0.718935 | 42 | 338 | 5.714286 | 0.642857 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156805 | 338 | 13 | 60 | 26 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.106509 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.444444 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
e140b6621336f87088b76c9f3e87521bc3042832 | 224 | py | Python | apps/usuarios/models.py | RagAndRoll/BlueList | 12e9cc03ac35c2c82c96cb4bfe89d227646a15a3 | [
"MIT"
] | null | null | null | apps/usuarios/models.py | RagAndRoll/BlueList | 12e9cc03ac35c2c82c96cb4bfe89d227646a15a3 | [
"MIT"
] | null | null | null | apps/usuarios/models.py | RagAndRoll/BlueList | 12e9cc03ac35c2c82c96cb4bfe89d227646a15a3 | [
"MIT"
] | null | null | null | # from django.db import models
# Create your models here.
# comentarios, sera un capo de texto mas relacion comentario a comentario
# los itens que pueden ser comentados tendran la llave foranea
# el delete no en casacada
| 28 | 73 | 0.78125 | 35 | 224 | 5 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183036 | 224 | 7 | 74 | 32 | 0.956284 | 0.941964 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e15ab695501902033016a101ef60aca490b44121 | 1,985 | py | Python | test/unit/test_config.py | managedbyq/q-dbt | 01f1918fe5cbf3036b7197b8e3211960403718f3 | [
"Apache-2.0"
] | 1 | 2018-06-20T17:51:20.000Z | 2018-06-20T17:51:20.000Z | test/unit/test_config.py | managedbyq/q-dbt | 01f1918fe5cbf3036b7197b8e3211960403718f3 | [
"Apache-2.0"
] | null | null | null | test/unit/test_config.py | managedbyq/q-dbt | 01f1918fe5cbf3036b7197b8e3211960403718f3 | [
"Apache-2.0"
] | 1 | 2018-10-18T18:45:38.000Z | 2018-10-18T18:45:38.000Z | import os
import unittest
import yaml
import dbt.config
if os.name == 'nt':
TMPDIR = 'c:/Windows/TEMP'
else:
TMPDIR = '/tmp'
class ConfigTest(unittest.TestCase):
def set_up_empty_config(self):
profiles_path = '{}/profiles.yml'.format(TMPDIR)
with open(profiles_path, 'w') as f:
... | 29.626866 | 71 | 0.672544 | 256 | 1,985 | 4.90625 | 0.234375 | 0.093153 | 0.052548 | 0.062102 | 0.788217 | 0.788217 | 0.756369 | 0.694268 | 0.679936 | 0.66879 | 0 | 0 | 0.220151 | 1,985 | 66 | 72 | 30.075758 | 0.81137 | 0 | 0 | 0.42 | 0 | 0 | 0.03728 | 0 | 0 | 0 | 0 | 0 | 0.12 | 1 | 0.18 | false | 0.02 | 0.08 | 0 | 0.28 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e162a57aecad5276810ea272b886660613b5a8a8 | 315 | py | Python | vmec/example_call_surface.py | gjhartwell/cth-python | 558148a5755fd0bd3b12e1380d365f8bf51efa19 | [
"MIT"
] | null | null | null | vmec/example_call_surface.py | gjhartwell/cth-python | 558148a5755fd0bd3b12e1380d365f8bf51efa19 | [
"MIT"
] | null | null | null | vmec/example_call_surface.py | gjhartwell/cth-python | 558148a5755fd0bd3b12e1380d365f8bf51efa19 | [
"MIT"
] | null | null | null | import numpy as np
import xarray as ncdata
import matplotlib.pyplot as plt
from mayavi import mlab # to overrid plt.mlab
from surface import *
import os
cwd = os.getcwd()
name = cwd + "/wout_vmec.nc"
#x, y , z = plot_vmec_surface(name,plottype='surface3d')
plot_vmec_surface(name,plottype='cross-section',zeta=360)
| 28.636364 | 57 | 0.765079 | 52 | 315 | 4.538462 | 0.615385 | 0.067797 | 0.127119 | 0.161017 | 0.228814 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.130159 | 315 | 10 | 58 | 31.5 | 0.846715 | 0.234921 | 0 | 0 | 0 | 0 | 0.109244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e17ddfee1dc335b3323bbf28dd3955b87c67fa4a | 21 | py | Python | projects/borrow-a-book/api/src/secret.py | anouaraissani/H4ckT0b3rF3st-2k20 | 1f77652add0effdc7462c829dfb88d5f6818d07e | [
"MIT"
] | 27 | 2020-10-04T14:11:54.000Z | 2021-05-14T03:51:43.000Z | projects/borrow-a-book/api/src/secret.py | anouaraissani/H4ckT0b3rF3st-2k20 | 1f77652add0effdc7462c829dfb88d5f6818d07e | [
"MIT"
] | 56 | 2020-10-06T06:38:54.000Z | 2020-11-25T10:22:40.000Z | projects/borrow-a-book/api/src/secret.py | anouaraissani/H4ckT0b3rF3st-2k20 | 1f77652add0effdc7462c829dfb88d5f6818d07e | [
"MIT"
] | 63 | 2020-10-04T12:46:09.000Z | 2021-01-10T16:35:53.000Z | SALT = 'change this'
| 10.5 | 20 | 0.666667 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e182755a60efe85eb57572745046ed933f34905a | 662 | py | Python | data_resource_api/api/core/versioned_resource.py | brighthive/tpot-programs-api | 425861f279fa25e3b42b57eb6894fc9f34b08b28 | [
"MIT"
] | null | null | null | data_resource_api/api/core/versioned_resource.py | brighthive/tpot-programs-api | 425861f279fa25e3b42b57eb6894fc9f34b08b28 | [
"MIT"
] | 1 | 2021-06-01T23:48:03.000Z | 2021-06-01T23:48:03.000Z | data_resource_api/api/core/versioned_resource.py | brighthive/tpot-programs-api | 425861f279fa25e3b42b57eb6894fc9f34b08b28 | [
"MIT"
] | 1 | 2020-04-29T18:19:09.000Z | 2020-04-29T18:19:09.000Z | """ Versioned Resource
This class extends the Flask-Restful Resource class with the ability to look
up the API version number in a request header.
"""
from flask_restful import Resource
from data_resource_api.config import Config
class VersionedResource(Resource):
def __init__(self):
Resource.__init__(... | 25.461538 | 76 | 0.693353 | 84 | 662 | 5.22619 | 0.47619 | 0.159453 | 0.059226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23716 | 662 | 25 | 77 | 26.48 | 0.869307 | 0.297583 | 0 | 0 | 0 | 0 | 0.028889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.076923 | 0.153846 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
e1933330f218ac04a3231dde5003a755445cb62b | 1,680 | py | Python | src/warrior.py | marcinadd/corewars | 6a50c1d7ab3ae9836e0a3aed1c10236bda737ca4 | [
"MIT"
] | null | null | null | src/warrior.py | marcinadd/corewars | 6a50c1d7ab3ae9836e0a3aed1c10236bda737ca4 | [
"MIT"
] | null | null | null | src/warrior.py | marcinadd/corewars | 6a50c1d7ab3ae9836e0a3aed1c10236bda737ca4 | [
"MIT"
] | null | null | null | from src.config import WARRIOR_DEFAULT_NAME
from src.gui.colors import Color
class Warrior:
def __init__(self, instructions=None, processes=None, color=Color.WARRIOR_DEFAULT.value, name=None):
"""
:param instructions: Warrior instruction list; Optional to simplify testing
:param processes... | 23.661972 | 104 | 0.630952 | 202 | 1,680 | 5.039604 | 0.267327 | 0.078585 | 0.11002 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005013 | 0.2875 | 1,680 | 70 | 105 | 24 | 0.845447 | 0.171429 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.05 | 0.2 | 0.675 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e1a932f43d464f192e8bea26a578d81268c5cb3a | 171 | py | Python | tests/py_test_lib/test_package/firstdir/call_from_first.py | iduartgomez/rustypy | b6d0f5ba7e4961bed75f454a21dd3ce25243faee | [
"BSD-3-Clause"
] | 40 | 2016-07-02T13:30:50.000Z | 2021-03-19T06:33:50.000Z | tests/py_test_lib/test_package/firstdir/call_from_first.py | iduartgomez/rustypy | b6d0f5ba7e4961bed75f454a21dd3ce25243faee | [
"BSD-3-Clause"
] | 5 | 2017-06-17T17:13:57.000Z | 2020-04-28T08:15:33.000Z | tests/py_test_lib/test_package/firstdir/call_from_first.py | iduartgomez/rustypy | b6d0f5ba7e4961bed75f454a21dd3ce25243faee | [
"BSD-3-Clause"
] | 5 | 2016-09-07T07:46:56.000Z | 2019-10-14T14:54:53.000Z | from rustypy.pywrapper import rust_bind
@rust_bind
def first_module() -> None:
print('... called from first module')
if __name__ == "__main__":
first_module()
| 15.545455 | 41 | 0.695906 | 22 | 171 | 4.863636 | 0.681818 | 0.308411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181287 | 171 | 10 | 42 | 17.1 | 0.764286 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e1bd09b9c9cedb9212065bc232e9a3e67d43fa60 | 44,906 | py | Python | test/integration/wikiclir.py | eugene-yang/ir_datasets | 2b5a42edfb9ab8c4ee8f11674ffe14d60f41ec1e | [
"Apache-2.0"
] | null | null | null | test/integration/wikiclir.py | eugene-yang/ir_datasets | 2b5a42edfb9ab8c4ee8f11674ffe14d60f41ec1e | [
"Apache-2.0"
] | null | null | null | test/integration/wikiclir.py | eugene-yang/ir_datasets | 2b5a42edfb9ab8c4ee8f11674ffe14d60f41ec1e | [
"Apache-2.0"
] | null | null | null | import re
import unittest
from ir_datasets.datasets.wikiclir import WikiClirDoc, WikiClirQuery
from ir_datasets.formats import TrecQrel
from .base import DatasetIntegrationTest
class TestWikiclir(DatasetIntegrationTest):
def test_docs(self):
self._test_docs('wikiclir/ar', count=535118, items={
... | 113.686076 | 342 | 0.655191 | 5,789 | 44,906 | 5.064778 | 0.414407 | 0.020464 | 0.010232 | 0.017053 | 0.308458 | 0.292667 | 0.254604 | 0.254604 | 0.254604 | 0.254604 | 0 | 0.094593 | 0.205941 | 44,906 | 394 | 343 | 113.974619 | 0.725644 | 0 | 0 | 0.313472 | 0 | 0.246114 | 0.642119 | 0.024963 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007772 | false | 0.002591 | 0.012953 | 0 | 0.023316 | 0.002591 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
becd6a72d53984442dca6d578e97cfc2a8721647 | 152 | py | Python | wagtailpurge/testapp/urls.py | ababic/wagtail-purge | 9f48b1fa11f738fc11b6f3b708190daef3e80926 | [
"MIT"
] | null | null | null | wagtailpurge/testapp/urls.py | ababic/wagtail-purge | 9f48b1fa11f738fc11b6f3b708190daef3e80926 | [
"MIT"
] | 2 | 2021-08-24T18:38:43.000Z | 2021-08-24T18:43:25.000Z | wagtailpurge/testapp/urls.py | ababic/wagtailpurge | 9f48b1fa11f738fc11b6f3b708190daef3e80926 | [
"MIT"
] | null | null | null | from django.urls import include, path
urlpatterns = [
path("admin/", include("wagtail.admin.urls")),
path("", include("wagtail.core.urls")),
]
| 21.714286 | 50 | 0.657895 | 18 | 152 | 5.555556 | 0.555556 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 152 | 6 | 51 | 25.333333 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.269737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bef28dbbf9186487d2d137351d753f60f9b49cd8 | 256 | py | Python | abpytools/core/__init__.py | gf712/AbPyTools | 9ff0d4346ad80487d43875bc77d99fbe76170db4 | [
"MIT"
] | 13 | 2017-06-13T12:31:47.000Z | 2022-03-23T02:14:01.000Z | abpytools/core/__init__.py | gf712/AbPyTools | 9ff0d4346ad80487d43875bc77d99fbe76170db4 | [
"MIT"
] | 8 | 2018-02-21T22:15:35.000Z | 2022-02-01T12:27:58.000Z | abpytools/core/__init__.py | gf712/AbPyTools | 9ff0d4346ad80487d43875bc77d99fbe76170db4 | [
"MIT"
] | 3 | 2018-04-10T08:01:39.000Z | 2021-10-10T14:37:43.000Z | from .cache import Cache
from .base import CollectionBase
from .chain import Chain
from .chain_collection import ChainCollection
from .fab_collection import FabCollection
from .fab import Fab
__all__ = ["Chain", "ChainCollection", "FabCollection", "Fab"]
| 28.444444 | 62 | 0.800781 | 31 | 256 | 6.419355 | 0.354839 | 0.090452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121094 | 256 | 8 | 63 | 32 | 0.884444 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
bef2e498f04136c43b5154c82d0e901213789638 | 89 | py | Python | educore/apps.py | LawrenceDarko/School-management-system | 2ff4334c97b3103e7bc279b48b0109bbed61ac95 | [
"MIT"
] | null | null | null | educore/apps.py | LawrenceDarko/School-management-system | 2ff4334c97b3103e7bc279b48b0109bbed61ac95 | [
"MIT"
] | 1 | 2021-02-26T21:26:08.000Z | 2021-02-26T21:27:07.000Z | educore/apps.py | LawrenceDarko/School-management-system | 2ff4334c97b3103e7bc279b48b0109bbed61ac95 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class EducoreConfig(AppConfig):
name = 'educore'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bef55aac98dfc679be00280b4eae9156ee20e888 | 5,379 | py | Python | app/machine_learning/hmm_smoother.py | ChristopherGS/sensor_readings | 1695349276292ba16206cbc9efb94c10b65d439e | [
"BSD-3-Clause"
] | 2 | 2015-10-01T09:03:31.000Z | 2019-07-23T19:42:00.000Z | app/machine_learning/hmm_smoother.py | ChristopherGS/sensor_readings | 1695349276292ba16206cbc9efb94c10b65d439e | [
"BSD-3-Clause"
] | null | null | null | app/machine_learning/hmm_smoother.py | ChristopherGS/sensor_readings | 1695349276292ba16206cbc9efb94c10b65d439e | [
"BSD-3-Clause"
] | 3 | 2016-01-13T13:07:26.000Z | 2019-04-12T05:43:21.000Z | import numpy as np
import pandas as pd
import os
from hmmlearn import hmm
from utilities import convert_to_words
n_components = 8 # ('ybc', 'ymount', 'ysc', 'ycg', 'ocg', 'osc_mount', 'obc', 'other')
startprob = np.array([0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.65,]) # users will probably turn on sensor standing
... | 51.721154 | 140 | 0.535044 | 947 | 5,379 | 2.968321 | 0.129884 | 0.088225 | 0.055141 | 0.051227 | 0.688367 | 0.670224 | 0.648524 | 0.614728 | 0.612238 | 0.563501 | 0 | 0.261029 | 0.237219 | 5,379 | 103 | 141 | 52.223301 | 0.42408 | 0.031418 | 0 | 0.142857 | 0 | 0 | 0.019535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.119048 | null | null | 0.047619 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
831298201fc70935ecadc3a7cce9eaaec65f095c | 31,413 | py | Python | ooiui/core/routes/science.py | oceanobservatories/ooi-ui | 028fc317c240dca3a1d2c6c66e54135265f23ee9 | [
"MIT"
] | 6 | 2015-02-12T13:23:00.000Z | 2019-02-19T06:55:56.000Z | ooiui/core/routes/science.py | oceanobservatories/ooi-ui | 028fc317c240dca3a1d2c6c66e54135265f23ee9 | [
"MIT"
] | 442 | 2015-01-09T14:33:33.000Z | 2020-01-23T15:57:05.000Z | ooiui/core/routes/science.py | oceanobservatories/ooi-ui | 028fc317c240dca3a1d2c6c66e54135265f23ee9 | [
"MIT"
] | 13 | 2015-02-05T00:32:05.000Z | 2017-05-22T18:23:49.000Z | #!/usr/bin/env python
'''
ooiui.core.routes.science
Defines the application routes
'''
from ooiui.core.app import app
from flask import request, render_template, Response, jsonify
from flask import stream_with_context
from ooiui.core.routes.common import get_login, login_required
import requests
from ooiui.core.routes... | 39.713021 | 244 | 0.694139 | 4,079 | 31,413 | 5.172836 | 0.082128 | 0.031469 | 0.050758 | 0.059716 | 0.780711 | 0.731564 | 0.703697 | 0.695213 | 0.653602 | 0.570332 | 0 | 0.011738 | 0.148442 | 31,413 | 790 | 245 | 39.763291 | 0.777047 | 0.097189 | 0 | 0.435484 | 0 | 0.014113 | 0.239451 | 0.130467 | 0 | 0 | 0 | 0.001266 | 0 | 0 | null | null | 0 | 0.016129 | null | null | 0.008065 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
833a72069a3b407d6e65677670ecedfdfd6040e6 | 336 | py | Python | tests/run_tests.py | zdu863/3dcorrelation | 1683ee0af665e68924e67a11bffda26ab3269fe5 | [
"BSD-3-Clause"
] | null | null | null | tests/run_tests.py | zdu863/3dcorrelation | 1683ee0af665e68924e67a11bffda26ab3269fe5 | [
"BSD-3-Clause"
] | null | null | null | tests/run_tests.py | zdu863/3dcorrelation | 1683ee0af665e68924e67a11bffda26ab3269fe5 | [
"BSD-3-Clause"
] | null | null | null | from numpy.testing import run_module_suite
# Per-module accuracy and input correctness tests
from ccl_test_distances import *
from ccl_test_growth import *
from ccl_test_core import *
# Overall interface functionality tests
from ccl_test_pyccl_interface import *
if __name__ == "__main__":
# Run all tests
run... | 24 | 49 | 0.797619 | 48 | 336 | 5.145833 | 0.541667 | 0.11336 | 0.178138 | 0.129555 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 336 | 13 | 50 | 25.846154 | 0.869718 | 0.294643 | 0 | 0 | 0 | 0 | 0.034335 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
835321ec0544eecbe2598eb29a8145edb42be3e7 | 54 | py | Python | {{cookiecutter.publication_slug}}/process/preprocess/example.py | mberz/cookiecutter-publication | 94b2ac661df4ae4678037b234e8d39d8b35fd5c4 | [
"MIT"
] | null | null | null | {{cookiecutter.publication_slug}}/process/preprocess/example.py | mberz/cookiecutter-publication | 94b2ac661df4ae4678037b234e8d39d8b35fd5c4 | [
"MIT"
] | null | null | null | {{cookiecutter.publication_slug}}/process/preprocess/example.py | mberz/cookiecutter-publication | 94b2ac661df4ae4678037b234e8d39d8b35fd5c4 | [
"MIT"
] | null | null | null | # %%
__depends__ = []
__dest__ = ['../../data/']
# %% | 10.8 | 26 | 0.425926 | 3 | 54 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 54 | 5 | 27 | 10.8 | 0.340909 | 0.092593 | 0 | 0 | 0 | 0 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
55d7870fa4a418f045eefc0ad2933a1681f87050 | 21 | py | Python | scale_client/sensors/__init__.py | prav33nv/scale_client | dcbd6ed4c8f4a27606ebef5b5f9dabb2e4f3b806 | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2018-05-24T00:59:05.000Z | 2020-01-03T08:03:33.000Z | scale_client/sensors/__init__.py | prav33nv/scale_client | dcbd6ed4c8f4a27606ebef5b5f9dabb2e4f3b806 | [
"BSD-2-Clause-FreeBSD"
] | 26 | 2015-01-19T22:47:07.000Z | 2017-05-03T01:43:10.000Z | scale_client/sensors/__init__.py | prav33nv/scale_client | dcbd6ed4c8f4a27606ebef5b5f9dabb2e4f3b806 | [
"BSD-2-Clause-FreeBSD"
] | 6 | 2015-01-20T20:05:09.000Z | 2017-06-01T02:19:01.000Z | __author__ = 'kyle'
| 7 | 19 | 0.666667 | 2 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 2 | 20 | 10.5 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
55de47e8ec0b9759b4584edf9723ccc898f5dee9 | 405 | py | Python | clean_architecture_helper/serializers.py | HerlanAssis/django-clean-architecture-helper | 194c5bd524eb4a66c71904fc57cfef6f25916c0e | [
"Apache-2.0"
] | 7 | 2019-11-08T20:08:24.000Z | 2022-03-27T17:43:04.000Z | clean_architecture_helper/serializers.py | HerlanAssis/django-clean-architecture-helper | 194c5bd524eb4a66c71904fc57cfef6f25916c0e | [
"Apache-2.0"
] | null | null | null | clean_architecture_helper/serializers.py | HerlanAssis/django-clean-architecture-helper | 194c5bd524eb4a66c71904fc57cfef6f25916c0e | [
"Apache-2.0"
] | 1 | 2019-10-31T20:45:32.000Z | 2019-10-31T20:45:32.000Z | from rest_framework import serializers
class BaseSerializer(serializers.Serializer):
'''
Base serializer
'''
id = serializers.CharField(read_only=True)
created_at = serializers.DateTimeField(read_only=True)
updated_at = serializers.DateTimeField(read_only=True)
deleted_at = serializers.Dat... | 31.153846 | 58 | 0.767901 | 45 | 405 | 6.688889 | 0.466667 | 0.13289 | 0.199336 | 0.299003 | 0.378738 | 0.378738 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145679 | 405 | 12 | 59 | 33.75 | 0.869942 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
55ea1ea8e3cc7600d46244e81fbf44f82f1dd700 | 309 | py | Python | codeforces.com/50A/solution.py | zubtsov/competitive-programming | 919d63130144347d7f6eddcf8f5bc2afb85fddf3 | [
"MIT"
] | null | null | null | codeforces.com/50A/solution.py | zubtsov/competitive-programming | 919d63130144347d7f6eddcf8f5bc2afb85fddf3 | [
"MIT"
] | null | null | null | codeforces.com/50A/solution.py | zubtsov/competitive-programming | 919d63130144347d7f6eddcf8f5bc2afb85fddf3 | [
"MIT"
] | null | null | null | board_width, board_length = list(map(int, input().split()))
domino_length = 2
if board_width % 2 == 0:
print((board_width // domino_length) * board_length)
elif board_length % 2 == 0:
print((board_length // domino_length) * board_width)
else:
print((board_width * board_length) // domino_length)
| 30.9 | 59 | 0.702265 | 44 | 309 | 4.613636 | 0.340909 | 0.246305 | 0.147783 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.158576 | 309 | 9 | 60 | 34.333333 | 0.761538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
55eb0d1aa42b32acbb82b840ccd0d8010c5a895a | 200 | py | Python | progress_bars.py | JonatasFontele/Algorithms_Structured-and-OOP-Exercises | 338f1c2f0bd14d52b183dd2572e2ac59bad13d17 | [
"MIT"
] | null | null | null | progress_bars.py | JonatasFontele/Algorithms_Structured-and-OOP-Exercises | 338f1c2f0bd14d52b183dd2572e2ac59bad13d17 | [
"MIT"
] | null | null | null | progress_bars.py | JonatasFontele/Algorithms_Structured-and-OOP-Exercises | 338f1c2f0bd14d52b183dd2572e2ac59bad13d17 | [
"MIT"
] | null | null | null | from tqdm import tqdm #pip install tqdm
import time
def complicated_function():
time.sleep(2) #Simulating some complicated processing
for i in tqdm(range(100)):
complicated_function() | 25 | 58 | 0.74 | 27 | 200 | 5.407407 | 0.703704 | 0.136986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02454 | 0.185 | 200 | 8 | 59 | 25 | 0.871166 | 0.27 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
55f622587bf6c18638ebd98e606f876766d28408 | 91 | py | Python | test/test_run.py | tusharvaja/Uplabel | c832253b03673d0356b257d60ea3719ab7941575 | [
"MIT"
] | 3 | 2019-06-08T00:35:03.000Z | 2021-01-25T13:17:22.000Z | test/test_run.py | tusharvaja/Uplabel | c832253b03673d0356b257d60ea3719ab7941575 | [
"MIT"
] | null | null | null | test/test_run.py | tusharvaja/Uplabel | c832253b03673d0356b257d60ea3719ab7941575 | [
"MIT"
] | 1 | 2019-06-06T20:13:58.000Z | 2019-06-06T20:13:58.000Z | import sys
sys.path.append('../code')
import main as m
ul = m.Main('tal', debug_iter_id=1) | 18.2 | 35 | 0.692308 | 18 | 91 | 3.388889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.120879 | 91 | 5 | 35 | 18.2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
55fd7d996fb641c455f339dc1789a387490a230a | 214 | py | Python | resttorrent/commands/get_session.py | shlee322/resttorrent | 781c1c1810140c27c4e29c7a0b421e86e2ed8d1d | [
"MIT"
] | null | null | null | resttorrent/commands/get_session.py | shlee322/resttorrent | 781c1c1810140c27c4e29c7a0b421e86e2ed8d1d | [
"MIT"
] | null | null | null | resttorrent/commands/get_session.py | shlee322/resttorrent | 781c1c1810140c27c4e29c7a0b421e86e2ed8d1d | [
"MIT"
] | null | null | null | from resttorrent.decorators import command
@command('1', '/sessions/<session_id>')
def get_session(session_id):
from resttorrent.modules.torrent import get_session as get_info
return get_info(session_id)
| 26.75 | 67 | 0.785047 | 30 | 214 | 5.366667 | 0.533333 | 0.167702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 0.121495 | 214 | 7 | 68 | 30.571429 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.107477 | 0.102804 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
361f3ee422406ebcd127d9e2f10596fbf0daf888 | 854 | py | Python | backend/polls/migrations/0002_auto_20181107_1347.py | IINamelessII/YesOrNo | 0ebbdfbae73f0be7c807a8f6ca0ec7c2040cca19 | [
"Apache-2.0"
] | 3 | 2019-02-17T01:25:19.000Z | 2019-04-01T12:57:00.000Z | backend/polls/migrations/0002_auto_20181107_1347.py | IINamelessII/YesOrNo | 0ebbdfbae73f0be7c807a8f6ca0ec7c2040cca19 | [
"Apache-2.0"
] | 3 | 2021-03-08T23:44:34.000Z | 2022-02-12T05:07:13.000Z | backend/polls/migrations/0002_auto_20181107_1347.py | IINamelessII/YesOrNo | 0ebbdfbae73f0be7c807a8f6ca0ec7c2040cca19 | [
"Apache-2.0"
] | 2 | 2018-12-12T19:24:59.000Z | 2018-12-14T20:01:42.000Z | # Generated by Django 2.1.2 on 2018-11-07 13:47
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('polls', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='poll',
name='agree',
field=... | 25.117647 | 57 | 0.555035 | 75 | 854 | 6.253333 | 0.453333 | 0.170576 | 0.21322 | 0.247335 | 0.648188 | 0.565032 | 0.486141 | 0.486141 | 0.486141 | 0.486141 | 0 | 0.04021 | 0.330211 | 854 | 33 | 58 | 25.878788 | 0.77972 | 0.052693 | 0 | 0.592593 | 1 | 0 | 0.07311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
362234037271924ee91ae7a661d9cb4f1dbcebf0 | 365 | py | Python | example.py | jinserk/PyASR | 97fceed74852a0b8ab54ee2fa593d3fc0a5a49ba | [
"Apache-2.0"
] | null | null | null | example.py | jinserk/PyASR | 97fceed74852a0b8ab54ee2fa593d3fc0a5a49ba | [
"Apache-2.0"
] | null | null | null | example.py | jinserk/PyASR | 97fceed74852a0b8ab54ee2fa593d3fc0a5a49ba | [
"Apache-2.0"
] | null | null | null | import os.path as op
from pyasr.features import mfcc
from pyasr.features import logfbank
import scipy.io.wavfile as wav
timit_base = "/home/leo/work/neural/timit/TIMIT"
wav_file = op.join(timit_base, "TRAIN/DR1/FCJF0/SI1027.WAV")
print wav_file
(rate,sig) = wav.read(wav_file)
mfcc_feat = mfcc(sig,rate)
fbank_feat = ... | 22.8125 | 60 | 0.764384 | 64 | 365 | 4.234375 | 0.53125 | 0.077491 | 0.125461 | 0.169742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02454 | 0.106849 | 365 | 15 | 61 | 24.333333 | 0.806748 | 0 | 0 | 0 | 0 | 0 | 0.161644 | 0.161644 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.363636 | null | null | 0.181818 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
362508fa2aa4e3ee5235324f2687470d014503d9 | 411 | py | Python | bds/argparser.py | ervitis/bdir-data-service | 95b9ae3dbf7bd4dc2583d415ae2500593d914bea | [
"MIT"
] | null | null | null | bds/argparser.py | ervitis/bdir-data-service | 95b9ae3dbf7bd4dc2583d415ae2500593d914bea | [
"MIT"
] | null | null | null | bds/argparser.py | ervitis/bdir-data-service | 95b9ae3dbf7bd4dc2583d415ae2500593d914bea | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from argparse import ArgumentParser
class DataServiceArgumentParser(object):
def __init__(self):
self._parser = ArgumentParser()
def parse_build(self, short_description, long_description, **kwargs):
self._parser.add_argument(short_description, long_description, **kwa... | 21.631579 | 80 | 0.693431 | 43 | 411 | 6.325581 | 0.55814 | 0.110294 | 0.147059 | 0.227941 | 0.272059 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003077 | 0.209246 | 411 | 18 | 81 | 22.833333 | 0.833846 | 0.051095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.1 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3629126f10ebd6a700f0bb4ea76af84257329415 | 259 | py | Python | evm/utils/hexadecimal.py | zixuanzh/py-evm | de05e73036c663e85083316bc503549044792892 | [
"MIT"
] | 137 | 2017-03-17T11:37:51.000Z | 2022-03-07T07:51:28.000Z | evm/utils/hexadecimal.py | zixuanzh/py-evm | de05e73036c663e85083316bc503549044792892 | [
"MIT"
] | 102 | 2017-04-07T10:43:03.000Z | 2018-11-11T18:01:56.000Z | evm/utils/hexadecimal.py | zixuanzh/py-evm | de05e73036c663e85083316bc503549044792892 | [
"MIT"
] | 39 | 2017-03-17T11:38:52.000Z | 2021-02-18T23:05:17.000Z | from __future__ import unicode_literals
import codecs
def encode_hex(value):
return '0x' + codecs.decode(codecs.encode(value, 'hex'), 'utf8')
def decode_hex(value):
_, _, hex_part = value.rpartition('x')
return codecs.decode(hex_part, 'hex')
| 19.923077 | 68 | 0.706564 | 35 | 259 | 4.914286 | 0.485714 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.158301 | 259 | 12 | 69 | 21.583333 | 0.779817 | 0 | 0 | 0 | 0 | 0 | 0.050193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
362fc78ccc8facbb517d515ac0e5b9560b2ea751 | 5,605 | py | Python | saleor/graphql/payment/tests/mutations/test_payment_capture.py | eanknd/saleor | 08aa724176be00d7aaf654f14e9ae99dd4327f97 | [
"CC-BY-4.0"
] | 1,392 | 2021-10-06T15:54:28.000Z | 2022-03-31T20:50:55.000Z | saleor/graphql/payment/tests/mutations/test_payment_capture.py | eanknd/saleor | 08aa724176be00d7aaf654f14e9ae99dd4327f97 | [
"CC-BY-4.0"
] | 888 | 2021-10-06T10:48:54.000Z | 2022-03-31T11:00:30.000Z | saleor/graphql/payment/tests/mutations/test_payment_capture.py | gustavoarmoa/saleor | f81b2f347e4c7a624cd68a1eca3b0a5611498f6e | [
"CC-BY-4.0"
] | 538 | 2021-10-07T16:21:27.000Z | 2022-03-31T22:58:57.000Z | from unittest.mock import patch
import graphene
from .....payment import TransactionKind
from .....payment.gateways.dummy_credit_card import (
TOKEN_EXPIRED,
TOKEN_VALIDATION_MAPPING,
)
from .....payment.models import ChargeStatus
from ....tests.utils import get_graphql_content
CAPTURE_QUERY = """
mutati... | 33.16568 | 88 | 0.706869 | 623 | 5,605 | 6.065811 | 0.189406 | 0.037047 | 0.06298 | 0.052924 | 0.750728 | 0.714739 | 0.702567 | 0.691188 | 0.691188 | 0.691188 | 0 | 0.001547 | 0.192685 | 5,605 | 168 | 89 | 33.363095 | 0.833591 | 0.022302 | 0 | 0.488722 | 0 | 0 | 0.182418 | 0.050366 | 0 | 0 | 0 | 0 | 0.165414 | 1 | 0.037594 | false | 0 | 0.045113 | 0 | 0.082707 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36312c10c0caad738290f24f167f61c90e7c1847 | 54,386 | py | Python | code/lib/tfbldr/datasets/audio/datasets.py | dendisuhubdy/representation_mixing | 146ddc7a2cc34544bb4516149ccfcbe72eedd102 | [
"BSD-3-Clause"
] | 51 | 2018-11-16T16:11:40.000Z | 2020-04-07T08:12:26.000Z | code/lib/tfbldr/datasets/audio/datasets.py | dendisuhubdy/representation_mixing | 146ddc7a2cc34544bb4516149ccfcbe72eedd102 | [
"BSD-3-Clause"
] | 1 | 2018-11-30T08:36:58.000Z | 2018-12-18T16:37:07.000Z | code/lib/tfbldr/datasets/audio/datasets.py | dendisuhubdy/representation_mixing | 146ddc7a2cc34544bb4516149ccfcbe72eedd102 | [
"BSD-3-Clause"
] | 9 | 2018-11-21T12:54:42.000Z | 2020-07-17T07:39:24.000Z | from .audio_tools import stft
from .audio_tools import linear_to_mel_weight_matrix
from .audio_tools import stft
from .audio_tools import iterate_invert_spectrogram
from .audio_tools import soundsc
from ..text import pronounce_chars
from ..text.cleaning import text_to_sequence
from ..text.cleaning import sequence_to_te... | 49.804029 | 201 | 0.580572 | 7,055 | 54,386 | 4.20978 | 0.085188 | 0.018519 | 0.020269 | 0.011111 | 0.753098 | 0.725084 | 0.694646 | 0.679798 | 0.668182 | 0.654276 | 0 | 0.011389 | 0.318722 | 54,386 | 1,091 | 202 | 49.849679 | 0.790187 | 0.122219 | 0 | 0.704626 | 0 | 0.001186 | 0.060203 | 0.006242 | 0.001186 | 0 | 0 | 0.001833 | 0 | 1 | 0.027284 | false | 0.007117 | 0.023725 | 0 | 0.084223 | 0.007117 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 3 |
365c7727441f3ce45c6c2000a56516dcbb47ecda | 411 | py | Python | test.py | kumarsibi/pystache | 0fe2c72ce73fcae8962c975336a90f3ae172bead | [
"MIT"
] | null | null | null | test.py | kumarsibi/pystache | 0fe2c72ce73fcae8962c975336a90f3ae172bead | [
"MIT"
] | null | null | null | test.py | kumarsibi/pystache | 0fe2c72ce73fcae8962c975336a90f3ae172bead | [
"MIT"
] | 1 | 2020-11-07T18:27:14.000Z | 2020-11-07T18:27:14.000Z | #!/usr/bin/env python
# coding: utf-8
import sys
import os
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
import unittest
import xmlrunner
def runner(output='python_tests_xml'):
return xmlrunner.XMLTestRunner(
output=output
)
def find_tests():
return unittest.Te... | 21.631579 | 82 | 0.705596 | 55 | 411 | 4.981818 | 0.618182 | 0.065693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005666 | 0.141119 | 411 | 18 | 83 | 22.833333 | 0.770538 | 0.082725 | 0 | 0 | 0 | 0 | 0.090667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.307692 | 0.153846 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
3661027196354098e56a0da8e7b8ce7a0c21d9f2 | 545 | py | Python | tests/test_managers/test_experiment.py | DXist/polyaxon-cli | 0b01512548f9faea77fb60cb7c6bd327e0638b13 | [
"MIT"
] | null | null | null | tests/test_managers/test_experiment.py | DXist/polyaxon-cli | 0b01512548f9faea77fb60cb7c6bd327e0638b13 | [
"MIT"
] | null | null | null | tests/test_managers/test_experiment.py | DXist/polyaxon-cli | 0b01512548f9faea77fb60cb7c6bd327e0638b13 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
from unittest import TestCase
from polyaxon_cli.managers.experiment import ExperimentManager
from polyaxon_cli.schemas import ExperimentConfig
class TestExperimentManager(TestCase):
def test_default_props(self):
ass... | 34.0625 | 66 | 0.790826 | 59 | 545 | 7.050847 | 0.610169 | 0.221154 | 0.072115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002165 | 0.152294 | 545 | 15 | 67 | 36.333333 | 0.898268 | 0.038532 | 0 | 0 | 0 | 0 | 0.021073 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.1 | false | 0 | 0.4 | 0 | 0.6 | 0.1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
36717bfecfbfd8a9a0b115372c8d020c263787e1 | 321 | py | Python | Famcy/_responses_/RedirectPageTab/RedirectPageTab.py | nexuni/Famcy | 80f8f18fe1614ab3c203ca3466b9506b494470bf | [
"Apache-2.0"
] | null | null | null | Famcy/_responses_/RedirectPageTab/RedirectPageTab.py | nexuni/Famcy | 80f8f18fe1614ab3c203ca3466b9506b494470bf | [
"Apache-2.0"
] | 12 | 2022-02-05T04:56:44.000Z | 2022-03-30T09:59:26.000Z | Famcy/_responses_/RedirectPageTab/RedirectPageTab.py | nexuni/Famcy | 80f8f18fe1614ab3c203ca3466b9506b494470bf | [
"Apache-2.0"
] | null | null | null | import Famcy
class RedirectPageTab(Famcy.FamcyResponse):
def __init__(self, redirect_tab="", target=None):
super(RedirectPageTab, self).__init__(target=target)
self.redirect_tab = redirect_tab
def response(self, sijax_response):
sijax_response.redirect(url_for("main.generate_tab_page", tab=self.redirect_tab)... | 32.1 | 83 | 0.797508 | 42 | 321 | 5.690476 | 0.47619 | 0.1841 | 0.188285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087227 | 321 | 10 | 83 | 32.1 | 0.8157 | 0 | 0 | 0 | 0 | 0 | 0.068323 | 0.068323 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
367ef0e282ef3bd732149918a371ed1d4fda5724 | 341 | py | Python | agentq/utils/memory.py | AAorris/agentq | dff689ef7d29730abef319b6455ba089019ed581 | [
"MIT"
] | null | null | null | agentq/utils/memory.py | AAorris/agentq | dff689ef7d29730abef319b6455ba089019ed581 | [
"MIT"
] | null | null | null | agentq/utils/memory.py | AAorris/agentq | dff689ef7d29730abef319b6455ba089019ed581 | [
"MIT"
] | null | null | null | """Basic memory stream with random sampling."""
class MemoryStream(object):
def __init__(self, size):
self.memory = deque([])
def add(self, item):
self.memory.append(item)
if len(self.memory) > size:
memory.popleft()
def sample(self, shape):
return np.random.s... | 22.733333 | 47 | 0.607038 | 41 | 341 | 4.95122 | 0.585366 | 0.147783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260997 | 341 | 14 | 48 | 24.357143 | 0.805556 | 0.120235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
36a2c17bc2fcaea528a3d9f3bd08b506e08b2f3f | 11,253 | py | Python | tests/boto3_api_responses.py | parallelstream/kines | d7a879df96babf0deeb54d9607e14c020332f78c | [
"MIT"
] | null | null | null | tests/boto3_api_responses.py | parallelstream/kines | d7a879df96babf0deeb54d9607e14c020332f78c | [
"MIT"
] | null | null | null | tests/boto3_api_responses.py | parallelstream/kines | d7a879df96babf0deeb54d9607e14c020332f78c | [
"MIT"
] | null | null | null | import datetime
from dateutil.tz import tzutc, tzlocal
LIST_SHARDS_8_RESPONSE = {
"Shards": [
{
"ShardId": "shardId-000000000007",
"ParentShardId": "shardId-000000000003",
"HashKeyRange": {
"StartingHashKey": "0",
"EndingHashKey": "425352... | 40.771739 | 125 | 0.519239 | 797 | 11,253 | 7.318695 | 0.217064 | 0.049374 | 0.161152 | 0.177267 | 0.439911 | 0.352306 | 0.338248 | 0.338248 | 0.309961 | 0.290417 | 0 | 0.327772 | 0.350129 | 11,253 | 275 | 126 | 40.92 | 0.469848 | 0 | 0 | 0.394834 | 0 | 0 | 0.329779 | 0.172043 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00738 | 0 | 0.00738 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36a3d5ae6db6459664904cb57891bd2976f9ba9d | 181 | py | Python | setup.py | jameskabbes/ml_pipeline | 48e0cbb4a03a5293e3d0ddc97ec511be636a7760 | [
"MIT"
] | null | null | null | setup.py | jameskabbes/ml_pipeline | 48e0cbb4a03a5293e3d0ddc97ec511be636a7760 | [
"MIT"
] | null | null | null | setup.py | jameskabbes/ml_pipeline | 48e0cbb4a03a5293e3d0ddc97ec511be636a7760 | [
"MIT"
] | null | null | null | from setuptools import setup
if __name__ == '__main__':
setup(
package_data={'ml_pipeline':
[ 'Templates/*.ipynb', 'Templates/*.xlsx' ]
}
) | 22.625 | 55 | 0.541436 | 16 | 181 | 5.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.314917 | 181 | 8 | 56 | 22.625 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36b787f8089a07535875a9852a26a17e6b73d187 | 136 | py | Python | 26_dirstructure/main.py | maornesimi/python-course-examples | f2e606f142a9d331075db73fd451c4418dba45ed | [
"MIT"
] | 2 | 2016-07-06T08:47:01.000Z | 2019-12-15T05:09:24.000Z | 26_dirstructure/main.py | maornesimi/python-course-examples | f2e606f142a9d331075db73fd451c4418dba45ed | [
"MIT"
] | 143 | 2016-10-14T07:33:55.000Z | 2018-11-06T19:13:52.000Z | 26_dirstructure/main.py | maornesimi/python-course-examples | f2e606f142a9d331075db73fd451c4418dba45ed | [
"MIT"
] | 43 | 2016-10-13T15:49:47.000Z | 2019-09-10T09:14:52.000Z | """ Main project file
"""
import lib.demo as demo
if __name__ == "__main__":
res = demo.add(10,20)
print "Result = %d" % res
| 13.6 | 29 | 0.595588 | 20 | 136 | 3.65 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 0.242647 | 136 | 9 | 30 | 15.111111 | 0.669903 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36cd6eeee254cffeff46b866cc779346e40a5772 | 143 | py | Python | coco/admin/apps.py | ipynbsrv/ipynbsrv | 6cd99719c2a9b3814ee37d87a38adcbf30172141 | [
"BSD-3-Clause"
] | null | null | null | coco/admin/apps.py | ipynbsrv/ipynbsrv | 6cd99719c2a9b3814ee37d87a38adcbf30172141 | [
"BSD-3-Clause"
] | null | null | null | coco/admin/apps.py | ipynbsrv/ipynbsrv | 6cd99719c2a9b3814ee37d87a38adcbf30172141 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class MyAdmin(AppConfig):
"""
:inherit.
"""
name = 'coco.admin'
label = 'coco-admin'
| 11.916667 | 33 | 0.587413 | 15 | 143 | 5.6 | 0.8 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 143 | 11 | 34 | 13 | 0.807692 | 0.062937 | 0 | 0 | 0 | 0 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
36ddc2b7c182b116276dc1debb737c7fee9997d0 | 5,305 | py | Python | etl/parsers/etw/Microsoft_Windows_WiFiHotspotService.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_WiFiHotspotService.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_WiFiHotspotService.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-WiFiHotspotService
GUID : 814182fe-58f7-11e1-853c-78e7d1ca7337
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp import Sid
f... | 28.675676 | 123 | 0.689538 | 607 | 5,305 | 5.853377 | 0.130148 | 0.099071 | 0.210526 | 0.123839 | 0.823248 | 0.823248 | 0.522094 | 0.522094 | 0.487757 | 0.487757 | 0 | 0.186202 | 0.183035 | 5,305 | 184 | 124 | 28.831522 | 0.633595 | 0.019416 | 0 | 0.404412 | 0 | 0 | 0.200655 | 0.145581 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.338235 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36e08c383b2228e78dcdd10016159086d222c565 | 337 | py | Python | 0x08-python-more_classes/test/2-main.py | malu17/alx-higher_level_programming | 75a24d98c51116b737f339697c75855e34254d3a | [
"MIT"
] | 1 | 2022-02-07T12:13:18.000Z | 2022-02-07T12:13:18.000Z | 0x08-python-more_classes/test/2-main.py | malu17/alx-higher_level_programming | 75a24d98c51116b737f339697c75855e34254d3a | [
"MIT"
] | null | null | null | 0x08-python-more_classes/test/2-main.py | malu17/alx-higher_level_programming | 75a24d98c51116b737f339697c75855e34254d3a | [
"MIT"
] | 1 | 2021-12-06T18:15:54.000Z | 2021-12-06T18:15:54.000Z | #!/usr/bin/python3
Rectangle = __import__('2-rectangle').Rectangle
my_rectangle = Rectangle(2, 4)
print("Area: {} - Perimeter: {}".format(my_rectangle.area(), my_rectangle.perimeter()))
print("--")
my_rectangle.width = 10
my_rectangle.height = 3
print("Area: {} - Perimeter: {}".format(my_rectangle.area(), my_rectang... | 28.083333 | 87 | 0.709199 | 42 | 337 | 5.428571 | 0.380952 | 0.337719 | 0.157895 | 0.210526 | 0.517544 | 0.517544 | 0.517544 | 0.517544 | 0.517544 | 0.517544 | 0 | 0.022801 | 0.089021 | 337 | 11 | 88 | 30.636364 | 0.71987 | 0.050445 | 0 | 0.285714 | 0 | 0 | 0.191223 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.428571 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
36f3044484c99cffa133bdd943fd744ee9444ee9 | 871 | py | Python | PersonalSite/PersonalSite/views.py | joeyuan19/flaming-bear | 8cf73a079ed98579f8e1f9e960740c94cd2ad39a | [
"Apache-2.0"
] | null | null | null | PersonalSite/PersonalSite/views.py | joeyuan19/flaming-bear | 8cf73a079ed98579f8e1f9e960740c94cd2ad39a | [
"Apache-2.0"
] | null | null | null | PersonalSite/PersonalSite/views.py | joeyuan19/flaming-bear | 8cf73a079ed98579f8e1f9e960740c94cd2ad39a | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from dajaxice.core import dajaxice_functions
def homepage(request):
return render(request,'index.html')
def test(request):
return render(request,'test2.html')
def presentation(request):
return render(request,'presentation.html')
def homepage_redirect(request):
return re... | 22.333333 | 62 | 0.706085 | 98 | 871 | 6.183673 | 0.418367 | 0.09901 | 0.125413 | 0.171617 | 0.10231 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001425 | 0.19403 | 871 | 38 | 63 | 22.921053 | 0.861823 | 0 | 0 | 0 | 0 | 0 | 0.124281 | 0.029919 | 0 | 0 | 0 | 0 | 0 | 1 | 0.192308 | false | 0 | 0.192308 | 0.153846 | 0.576923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
36f6594566ad4b49e1182a8f96d350e8abd533fd | 713 | py | Python | pl_bolts/models/rl/__init__.py | lavoiems/lightning-bolts | 208e92ba3dcdbc029afd37e09ec9461fbcf3f293 | [
"Apache-2.0"
] | 822 | 2020-04-21T03:30:43.000Z | 2021-03-07T06:41:31.000Z | pl_bolts/models/rl/__init__.py | lavoiems/lightning-bolts | 208e92ba3dcdbc029afd37e09ec9461fbcf3f293 | [
"Apache-2.0"
] | 538 | 2020-04-18T01:07:58.000Z | 2021-03-09T13:48:50.000Z | pl_bolts/models/rl/__init__.py | lavoiems/lightning-bolts | 208e92ba3dcdbc029afd37e09ec9461fbcf3f293 | [
"Apache-2.0"
] | 162 | 2020-04-17T15:44:54.000Z | 2021-03-09T14:04:02.000Z | from pl_bolts.models.rl.advantage_actor_critic_model import AdvantageActorCritic
from pl_bolts.models.rl.double_dqn_model import DoubleDQN
from pl_bolts.models.rl.dqn_model import DQN
from pl_bolts.models.rl.dueling_dqn_model import DuelingDQN
from pl_bolts.models.rl.noisy_dqn_model import NoisyDQN
from pl_bolts.models... | 32.409091 | 82 | 0.799439 | 99 | 713 | 5.454545 | 0.272727 | 0.1 | 0.183333 | 0.283333 | 0.316667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120617 | 713 | 21 | 83 | 33.952381 | 0.861244 | 0 | 0 | 0 | 0 | 0 | 0.124825 | 0.029453 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.45 | 0 | 0.45 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7fdfe7c2dd91c71d77f1620c886844f294dbd20f | 95 | py | Python | api/run.py | mdiener/battleship | a8075e156013621fbe7f316f60a21011a0d959a2 | [
"MIT"
] | null | null | null | api/run.py | mdiener/battleship | a8075e156013621fbe7f316f60a21011a0d959a2 | [
"MIT"
] | null | null | null | api/run.py | mdiener/battleship | a8075e156013621fbe7f316f60a21011a0d959a2 | [
"MIT"
] | null | null | null | from websocket import run
def main():
run(8000, False)
if __name__ == '__main__':
main()
| 11.875 | 26 | 0.663158 | 13 | 95 | 4.230769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.2 | 95 | 7 | 27 | 13.571429 | 0.671053 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7ff133f40441bc6decf2c24c77cf40b81c47c648 | 226 | py | Python | Python/FoxAndSnake.py | Zardosh/code-forces-solutions | ea1446b8e4f391f3e9ef63094816c7bdaded1557 | [
"MIT"
] | null | null | null | Python/FoxAndSnake.py | Zardosh/code-forces-solutions | ea1446b8e4f391f3e9ef63094816c7bdaded1557 | [
"MIT"
] | null | null | null | Python/FoxAndSnake.py | Zardosh/code-forces-solutions | ea1446b8e4f391f3e9ef63094816c7bdaded1557 | [
"MIT"
] | null | null | null | n, m = map(int, input().split())
for i in range(n):
if i % 2 == 0:
print('#' * m)
else:
if (i + 1) % 4 == 0:
print('#' + '.' * (m - 1))
else:
print('.' * (m - 1) + '#') | 22.6 | 39 | 0.30531 | 30 | 226 | 2.3 | 0.566667 | 0.26087 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055118 | 0.438053 | 226 | 10 | 40 | 22.6 | 0.488189 | 0 | 0 | 0.222222 | 0 | 0 | 0.022026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d0b55a34abfbeb991e68a8a56f9ae27b5dfec93 | 89 | py | Python | respa_exchange/__init__.py | HotStew/respa | 04f39efb15b4f4206a122e665f8377c7198e1f25 | [
"MIT"
] | 49 | 2015-10-21T06:25:31.000Z | 2022-03-20T07:24:20.000Z | respa_exchange/__init__.py | HotStew/respa | 04f39efb15b4f4206a122e665f8377c7198e1f25 | [
"MIT"
] | 728 | 2015-06-24T13:26:54.000Z | 2022-03-24T12:18:41.000Z | respa_exchange/__init__.py | digipointtku/respa | a529e0df4d3f072df7801adb5bf97a5f4abd1243 | [
"MIT"
] | 46 | 2015-06-26T10:52:57.000Z | 2021-12-17T09:38:25.000Z | __version__ = "0.1.0"
default_app_config = 'respa_exchange.apps.RespaExchangeAppConfig'
| 22.25 | 65 | 0.808989 | 11 | 89 | 5.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.078652 | 89 | 3 | 66 | 29.666667 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0.52809 | 0.47191 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d0b9cdaec39fdab7c52e01ba07e1ef8ac3d99c2 | 1,615 | py | Python | pyalgorithms/permutations/simple_recursion.py | tpagit/pyalgorithms | ef62fb5bbe431af93cfe45fd0549aa453aee82d1 | [
"MIT"
] | null | null | null | pyalgorithms/permutations/simple_recursion.py | tpagit/pyalgorithms | ef62fb5bbe431af93cfe45fd0549aa453aee82d1 | [
"MIT"
] | null | null | null | pyalgorithms/permutations/simple_recursion.py | tpagit/pyalgorithms | ef62fb5bbe431af93cfe45fd0549aa453aee82d1 | [
"MIT"
] | null | null | null | #
# abc
# / | \
# / | \
# / | \
# / | \
# / | \
# / | \
# a -> a / a -> b \ a -> c
# / ... | 31.666667 | 74 | 0.337461 | 128 | 1,615 | 4.070313 | 0.351563 | 0.143954 | 0.24952 | 0.172745 | 0.368522 | 0.107486 | 0.107486 | 0.107486 | 0 | 0 | 0 | 0.005362 | 0.538081 | 1,615 | 50 | 75 | 32.3 | 0.693029 | 0.477399 | 0 | 0.105263 | 0 | 0 | 0.022585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.105263 | 0 | 0.263158 | 0.105263 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d197c2bab8b805629d86050240e697832a2f604 | 5,862 | py | Python | stable_baselines/common/filters.py | BruceK4t1qbit/stable-baselines | d997d659de54bd14129d0af8df07e7c875cba7e5 | [
"MIT"
] | 49 | 2020-07-24T18:17:12.000Z | 2022-01-04T15:30:52.000Z | stable_baselines/common/filters.py | BillChan226/POAR-SRL-4-Robot | a6a8052e105369656d34fffc4f7ca4475dcc38df | [
"MIT"
] | 14 | 2020-07-21T20:21:08.000Z | 2022-03-12T00:42:18.000Z | stable_baselines/common/filters.py | BillChan226/POAR-SRL-4-Robot | a6a8052e105369656d34fffc4f7ca4475dcc38df | [
"MIT"
] | 6 | 2020-01-07T02:23:52.000Z | 2020-10-11T15:42:43.000Z | from collections import deque
import numpy as np
from .running_stat import RunningStat
class Filter(object):
"""
takes a value 'x' (np.ndarray), applies the filter, and returns the new value.
Can pass kwarg: 'update' (bool) if the filter can update from the value
"""
def __call__(self, arr, upd... | 27.650943 | 86 | 0.620096 | 790 | 5,862 | 4.475949 | 0.156962 | 0.04836 | 0.027998 | 0.030543 | 0.520362 | 0.483597 | 0.448529 | 0.43043 | 0.410633 | 0.39819 | 0 | 0.004309 | 0.287445 | 5,862 | 211 | 87 | 27.781991 | 0.842231 | 0.396281 | 0 | 0.425287 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.310345 | false | 0.011494 | 0.034483 | 0.126437 | 0.632184 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3d19a10a5b191e21762896516127a9429aeb0871 | 816 | py | Python | deeptensor/model/cifar/cifar.py | cicicici/deeptensor | efcd7b9ca2d758cb2461b64fa5ba1268685e4dab | [
"MIT"
] | 1 | 2018-04-04T09:00:45.000Z | 2018-04-04T09:00:45.000Z | deeptensor/model/cifar/cifar.py | cicicici/deeptensor | efcd7b9ca2d758cb2461b64fa5ba1268685e4dab | [
"MIT"
] | null | null | null | deeptensor/model/cifar/cifar.py | cicicici/deeptensor | efcd7b9ca2d758cb2461b64fa5ba1268685e4dab | [
"MIT"
] | null | null | null | from .lenet import LeNet
from .vgg import VGG
from .dpn import DPN, DPN26, DPN92
from .densenet import DenseNet, DenseNet121, DenseNet169, DenseNet201, DenseNet161
from .googlenet import Inception, GoogLeNet
from .mobilenet import MobileNet
from .mobilenetv2 import MobileNetV2
from .resnet import ResNet, ResNet18, ResN... | 51 | 121 | 0.841912 | 92 | 816 | 7.413043 | 0.5 | 0.035191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09465 | 0.106618 | 816 | 15 | 122 | 54.4 | 0.840878 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3d398daaf478bf2a1d0435cc6799d92e01893439 | 358 | py | Python | metaci/plan/migrations/0004_remove_plan_devhub.py | sfdc-qbranch/MetaCI | 78ac0d2bccd2db381998321ebd71029dd5d9ab39 | [
"BSD-3-Clause"
] | 48 | 2018-10-24T14:52:06.000Z | 2022-03-25T21:14:50.000Z | metaci/plan/migrations/0004_remove_plan_devhub.py | sfdc-qbranch/MetaCI | 78ac0d2bccd2db381998321ebd71029dd5d9ab39 | [
"BSD-3-Clause"
] | 2,034 | 2018-10-31T20:59:16.000Z | 2022-03-22T21:38:03.000Z | metaci/plan/migrations/0004_remove_plan_devhub.py | sfdc-qbranch/MetaCI | 78ac0d2bccd2db381998321ebd71029dd5d9ab39 | [
"BSD-3-Clause"
] | 27 | 2018-12-24T18:16:23.000Z | 2021-12-15T17:57:27.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2017-05-18 18:39
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
# skip non-exixtent 0003_planschedule
dependencies = [("plan", "0002_plan_devhub")]
operations = [migrations.RemoveFie... | 25.571429 | 75 | 0.72905 | 47 | 358 | 5.361702 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081699 | 0.145251 | 358 | 13 | 76 | 27.538462 | 0.74183 | 0.290503 | 0 | 0 | 1 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3d3fbb20a22c4b3af53283c42432e5fe77b2875f | 130 | py | Python | HelloPySelenium/pytest1.py | lintyleo/seleniumpro | feb643143b6b19a0f1d99151c74504edf736d110 | [
"MIT"
] | 10 | 2017-04-05T19:57:51.000Z | 2020-12-04T06:36:46.000Z | HelloPySelenium/pytest1.py | lintyleo/seleniumpro | feb643143b6b19a0f1d99151c74504edf736d110 | [
"MIT"
] | null | null | null | HelloPySelenium/pytest1.py | lintyleo/seleniumpro | feb643143b6b19a0f1d99151c74504edf736d110 | [
"MIT"
] | 6 | 2017-11-01T00:54:50.000Z | 2019-12-18T05:26:47.000Z | # webdriver: webdriver里面有个类 叫做Firefox
from selenium import webdriver
xx = webdriver.Firefox()
xx.get("http://www.51testing.com")
| 21.666667 | 37 | 0.776923 | 16 | 130 | 6.3125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.1 | 130 | 5 | 38 | 26 | 0.846154 | 0.269231 | 0 | 0 | 0 | 0 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3d4dc2746907fa24b9f8d89a81d0e4c48e0bf480 | 69,350 | py | Python | src/hedera_proto/response_code_pb2.py | HbarStudio/hedera-protobufs-python | f8a503d2c4c5b7c441ddf48607f7ee563b3f931a | [
"Apache-2.0"
] | null | null | null | src/hedera_proto/response_code_pb2.py | HbarStudio/hedera-protobufs-python | f8a503d2c4c5b7c441ddf48607f7ee563b3f931a | [
"Apache-2.0"
] | null | null | null | src/hedera_proto/response_code_pb2.py | HbarStudio/hedera-protobufs-python | f8a503d2c4c5b7c441ddf48607f7ee563b3f931a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: response_code.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.... | 46.264176 | 11,814 | 0.773453 | 8,922 | 69,350 | 5.574535 | 0.103676 | 0.087944 | 0.184514 | 0.131917 | 0.657431 | 0.588909 | 0.558026 | 0.528571 | 0.514034 | 0.512265 | 0 | 0.067094 | 0.134535 | 69,350 | 1,498 | 11,815 | 46.29506 | 0.761563 | 0.003057 | 0 | 0.652937 | 1 | 0.004727 | 0.236445 | 0.217495 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003376 | 0 | 0.003376 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d508ea692ff4c0fe012224a02611729b8b6ea1c | 850 | py | Python | heliotrope/view/api/hitomi/info.py | ombe1229/Heliotrope | d8160a23fd12e8987f80edfacfa4d3fb7de7be21 | [
"MIT"
] | null | null | null | heliotrope/view/api/hitomi/info.py | ombe1229/Heliotrope | d8160a23fd12e8987f80edfacfa4d3fb7de7be21 | [
"MIT"
] | null | null | null | heliotrope/view/api/hitomi/info.py | ombe1229/Heliotrope | d8160a23fd12e8987f80edfacfa4d3fb7de7be21 | [
"MIT"
] | null | null | null | from sanic.blueprints import Blueprint
from sanic.response import HTTPResponse, json
from sanic.views import HTTPMethodView
from sanic_openapi import openapi # type: ignore
from heliotrope.sanic import HeliotropeRequest
hitomi_info = Blueprint("hitomi_info", url_prefix="/info")
class HitomiInfoView(HTTPMethodView)... | 36.956522 | 85 | 0.747059 | 112 | 850 | 5.535714 | 0.482143 | 0.058065 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004167 | 0.152941 | 850 | 22 | 86 | 38.636364 | 0.856944 | 0.158824 | 0 | 0 | 0 | 0 | 0.081805 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 1 | 0 | false | 0 | 0.357143 | 0 | 0.571429 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3d61d07fc4bf1fa9b87854a6777b4c7445d518bd | 4,777 | py | Python | jmetal/problem/multiobjective/zdt.py | 12yuens2/jMetalPy | 6f54940cb205df831f5498e2eac2520b331ee4fd | [
"MIT"
] | 335 | 2017-03-16T19:44:50.000Z | 2022-03-30T08:50:46.000Z | jmetal/problem/multiobjective/zdt.py | 12yuens2/jMetalPy | 6f54940cb205df831f5498e2eac2520b331ee4fd | [
"MIT"
] | 85 | 2017-05-16T06:40:51.000Z | 2022-02-05T23:43:49.000Z | jmetal/problem/multiobjective/zdt.py | 12yuens2/jMetalPy | 6f54940cb205df831f5498e2eac2520b331ee4fd | [
"MIT"
] | 130 | 2017-02-08T01:19:15.000Z | 2022-03-25T08:32:08.000Z | from math import sqrt, pow, sin, pi, cos
from jmetal.core.problem import FloatProblem
from jmetal.core.solution import FloatSolution
"""
.. module:: ZDT
:platform: Unix, Windows
:synopsis: ZDT problem family of multi-objective problems.
.. moduleauthor:: Antonio J. Nebro <antonio@lcc.uma.es>
"""
class ZDT1(F... | 29.670807 | 101 | 0.628009 | 649 | 4,777 | 4.46379 | 0.172573 | 0.088367 | 0.15844 | 0.06524 | 0.659993 | 0.626855 | 0.574387 | 0.513635 | 0.448395 | 0.448395 | 0 | 0.038483 | 0.254762 | 4,777 | 160 | 102 | 29.85625 | 0.775281 | 0.245342 | 0 | 0.324675 | 0 | 0 | 0.006673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.246753 | false | 0 | 0.038961 | 0.12987 | 0.558442 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e9eacbec0983f71ad935211a09d14567cc6a0fcf | 3,438 | py | Python | unittest/test.py | DongHoonPark/ltspice_pytool | 5055d50d4106d5aba473713f3a3138622c6ad4a7 | [
"MIT"
] | 65 | 2018-12-31T15:20:24.000Z | 2022-03-25T17:01:01.000Z | unittest/test.py | DongHoonPark/ltspice_pytool | 5055d50d4106d5aba473713f3a3138622c6ad4a7 | [
"MIT"
] | 21 | 2019-09-03T15:23:11.000Z | 2022-02-08T14:35:21.000Z | unittest/test.py | DongHoonPark/ltspice_pytool | 5055d50d4106d5aba473713f3a3138622c6ad4a7 | [
"MIT"
] | 22 | 2019-06-16T09:26:33.000Z | 2021-08-15T09:25:21.000Z | import unittest
from ltspice import Ltspice
import os
from os import path
import numpy as np
class TestLtspiceMethods(unittest.TestCase):
def __init__(self, methodName: str) -> None:
super().__init__(methodName=methodName)
self.__file_path = os.path.dirname(__file__)
def test_loading(self):
... | 36.967742 | 102 | 0.605876 | 489 | 3,438 | 3.989775 | 0.192229 | 0.065607 | 0.098411 | 0.146079 | 0.732957 | 0.701179 | 0.701179 | 0.685802 | 0.570477 | 0.560738 | 0 | 0.041297 | 0.246364 | 3,438 | 92 | 103 | 37.369565 | 0.711694 | 0 | 0 | 0.295775 | 0 | 0 | 0.107652 | 0.059354 | 0 | 0 | 0 | 0 | 0.183099 | 1 | 0.084507 | false | 0.084507 | 0.070423 | 0 | 0.169014 | 0.014085 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e9ffd8ea4934d502e01ad1d28577b5d32a45d8b7 | 9,545 | py | Python | venv/lib/python3.8/site-packages/dateparser/data/numeral_translation_data/zh.py | yuta-komura/vishnu | 67173b674d5f4f3be189474103612447ef69ab44 | [
"MIT"
] | 1 | 2021-11-17T04:55:14.000Z | 2021-11-17T04:55:14.000Z | dateparser/data/numeral_translation_data/zh.py | cool-RR/dateparser | c38336df521cc57d947dc2c9111539a72f801652 | [
"BSD-3-Clause"
] | null | null | null | dateparser/data/numeral_translation_data/zh.py | cool-RR/dateparser | c38336df521cc57d947dc2c9111539a72f801652 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
info = {
"%%cardinal-alternate2-13": {
"(10, 19)": "零一=%spellout-cardinal-alternate2=;",
"(20, 999999999999)": "零=%spellout-cardinal-alternate2=;",
"(1000000000000, 'inf')": "=%spellout-cardinal-alternate2=;"
},
"%%cardinal-alternate2-2": {
"(1, 9)": "... | 36.292776 | 86 | 0.454374 | 829 | 9,545 | 5.231604 | 0.13269 | 0.210284 | 0.138344 | 0.038045 | 0.459534 | 0.334794 | 0.280148 | 0.264007 | 0.256629 | 0.256629 | 0 | 0.16543 | 0.251441 | 9,545 | 262 | 87 | 36.431298 | 0.439048 | 0.0022 | 0 | 0.325671 | 0 | 0 | 0.627494 | 0.363894 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1813a5c1d3d1d900ef7f6d0d5ffdbad09e80ed1a | 5,842 | py | Python | idaes/generic_models/properties/core/reactions/tests/test_rate_forms.py | carldlaird/idaes-pse | cc7a32ca9fa788f483fa8ef85f3d1186ef4a596f | [
"RSA-MD"
] | 112 | 2019-02-11T23:16:36.000Z | 2022-03-23T20:59:57.000Z | idaes/generic_models/properties/core/reactions/tests/test_rate_forms.py | carldlaird/idaes-pse | cc7a32ca9fa788f483fa8ef85f3d1186ef4a596f | [
"RSA-MD"
] | 621 | 2019-03-01T14:44:12.000Z | 2022-03-31T19:49:25.000Z | idaes/generic_models/properties/core/reactions/tests/test_rate_forms.py | carldlaird/idaes-pse | cc7a32ca9fa788f483fa8ef85f3d1186ef4a596f | [
"RSA-MD"
] | 154 | 2019-02-01T23:46:33.000Z | 2022-03-23T15:07:10.000Z | #################################################################################
# The Institute for the Design of Advanced Energy Systems Integrated Platform
# Framework (IDAES IP) was produced under the DOE Institute for the
# Design of Advanced Energy Systems (IDAES), and is copyright (c) 2018-2021
# by the softwar... | 40.013699 | 81 | 0.5962 | 701 | 5,842 | 4.788873 | 0.238231 | 0.059577 | 0.085791 | 0.096515 | 0.748883 | 0.748883 | 0.706583 | 0.704796 | 0.554662 | 0.554662 | 0 | 0.029412 | 0.24923 | 5,842 | 145 | 82 | 40.289655 | 0.735978 | 0.144985 | 0 | 0.597938 | 0 | 0 | 0.088639 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 1 | 0.020619 | false | 0 | 0.061856 | 0 | 0.082474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
182c8d361b05a3870102076dd21ec42104903358 | 144 | py | Python | lambda/helloworld.py | binxio/blog-lambda-python-37-runtime | bd4c228f0aee64a0ae5d5a6287c530be834fe930 | [
"Apache-2.0"
] | null | null | null | lambda/helloworld.py | binxio/blog-lambda-python-37-runtime | bd4c228f0aee64a0ae5d5a6287c530be834fe930 | [
"Apache-2.0"
] | null | null | null | lambda/helloworld.py | binxio/blog-lambda-python-37-runtime | bd4c228f0aee64a0ae5d5a6287c530be834fe930 | [
"Apache-2.0"
] | null | null | null | import json
def handler(event: dict, context) -> dict:
return {
'statusCode': 200,
'body': json.dumps('Hello World')
} | 18 | 42 | 0.569444 | 16 | 144 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029126 | 0.284722 | 144 | 8 | 43 | 18 | 0.76699 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
1871e9130f89b538c72d2dcb47979a5ca024971f | 113 | py | Python | deployment/uwsgi/wsgi.py | victorskl/gen3-indexd | c22ffb1f1472e0732d3b44cd39b1241ff8156cc6 | [
"Apache-2.0"
] | 11 | 2018-05-31T06:29:44.000Z | 2020-10-21T14:09:36.000Z | deployment/uwsgi/wsgi.py | victorskl/gen3-indexd | c22ffb1f1472e0732d3b44cd39b1241ff8156cc6 | [
"Apache-2.0"
] | 171 | 2017-11-13T16:56:35.000Z | 2022-03-29T19:37:35.000Z | deployment/uwsgi/wsgi.py | victorskl/gen3-indexd | c22ffb1f1472e0732d3b44cd39b1241ff8156cc6 | [
"Apache-2.0"
] | 25 | 2018-03-06T19:03:24.000Z | 2021-11-27T19:39:49.000Z | from indexd import get_app
import os
os.environ["INDEXD_SETTINGS"] = "/var/www/indexd/"
application = get_app()
| 18.833333 | 50 | 0.752212 | 17 | 113 | 4.823529 | 0.647059 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 5 | 51 | 22.6 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0.274336 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
18740bcecea258c86fbe06939d7387c41561ca8e | 2,308 | py | Python | qrainbowstyle/colorsystem.py | desty2k/QDarkStyleSheet | 4a8cd42acf5e9e7fce5fabbe37b1f97d89d203b2 | [
"CC-BY-4.0"
] | 10 | 2020-12-10T08:11:16.000Z | 2022-03-30T09:29:34.000Z | qrainbowstyle/colorsystem.py | desty2k/QDarkStyleSheet | 4a8cd42acf5e9e7fce5fabbe37b1f97d89d203b2 | [
"CC-BY-4.0"
] | 3 | 2021-05-21T15:04:10.000Z | 2022-02-13T20:26:59.000Z | qrainbowstyle/colorsystem.py | desty2k/QDarkStyleSheet | 4a8cd42acf5e9e7fce5fabbe37b1f97d89d203b2 | [
"CC-BY-4.0"
] | 2 | 2021-02-27T16:08:47.000Z | 2022-02-22T15:05:10.000Z | # colorsystem.py is the full list of colors that can be used to easily create themes.
class Gray:
B0 = '#000000'
B10 = '#19232D'
B20 = '#293544'
B30 = '#37414F'
B40 = '#455364'
B50 = '#54687A'
B60 = '#60798B'
B70 = '#788D9C'
B80 = '#9DA9B5'
B90 = '#ACB1B6'
B100 = '#B9BDC1'
... | 18.31746 | 85 | 0.480936 | 238 | 2,308 | 4.663866 | 0.571429 | 0.036036 | 0.04955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.374105 | 0.334055 | 2,308 | 125 | 86 | 18.464 | 0.348081 | 0.035962 | 0 | 0.081081 | 0 | 0 | 0.327935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1878dfab3e7da20bc7f22218e3c0e340b2516a2b | 252 | py | Python | pull_backup/__init__.py | MochaTechnologies/pull_backup | 7310eac2e73fd360a264b2fb9e83a58cbb4f7ffb | [
"MIT"
] | 2 | 2021-07-29T05:36:09.000Z | 2021-11-15T11:45:22.000Z | pull_backup/__init__.py | MochaTechnologies/pull_backup | 7310eac2e73fd360a264b2fb9e83a58cbb4f7ffb | [
"MIT"
] | null | null | null | pull_backup/__init__.py | MochaTechnologies/pull_backup | 7310eac2e73fd360a264b2fb9e83a58cbb4f7ffb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import frappe
__version__ = '0.0.1'
@frappe.whitelist()
def download_backup(filename):
from frappe.utils.response import download_backup
return download_backup("/backups/"+filename)
| 19.384615 | 50 | 0.765873 | 32 | 252 | 5.65625 | 0.65625 | 0.232044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017937 | 0.115079 | 252 | 12 | 51 | 21 | 0.793722 | 0.083333 | 0 | 0 | 0 | 0 | 0.061404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
18800ca8ce96ae7d03620bf76730cf19f9e7ceff | 67 | py | Python | savethepages/connection.py | MichaelCurrin/save-the-pages | 6e4bb572b3d1168f45dc198da69ea2c5f4806153 | [
"MIT"
] | null | null | null | savethepages/connection.py | MichaelCurrin/save-the-pages | 6e4bb572b3d1168f45dc198da69ea2c5f4806153 | [
"MIT"
] | 1 | 2019-11-22T11:34:18.000Z | 2019-11-22T11:34:18.000Z | savethepages/connection.py | MichaelCurrin/save-the-pages | 6e4bb572b3d1168f45dc198da69ea2c5f4806153 | [
"MIT"
] | null | null | null | """
Connection module.
"""
from lib import connect
DB = connect()
| 9.571429 | 23 | 0.671642 | 8 | 67 | 5.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 6 | 24 | 11.166667 | 0.818182 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1881dd0e6574bc142c837c27bfc9d9ae67a9bca6 | 808 | py | Python | greentest/test__ares_host_result.py | Eugeny/gevent | adb7b838ed66c13abe5059605730bb4b4531bbcd | [
"MIT"
] | 2 | 2015-12-19T01:34:43.000Z | 2018-02-02T12:32:01.000Z | greentest/test__ares_host_result.py | Eugeny/gevent | adb7b838ed66c13abe5059605730bb4b4531bbcd | [
"MIT"
] | null | null | null | greentest/test__ares_host_result.py | Eugeny/gevent | adb7b838ed66c13abe5059605730bb4b4531bbcd | [
"MIT"
] | 2 | 2019-11-24T12:11:50.000Z | 2020-12-26T19:00:20.000Z | import pickle
import greentest
from gevent.ares import ares_host_result
class TestPickle(greentest.TestCase):
# Issue 104: ares.ares_host_result unpickleable
def _test(self, protocol):
r = ares_host_result('family', ('arg1', 'arg2', ))
dumped = pickle.dumps(r, protocol)
loaded = pickl... | 23.764706 | 68 | 0.631188 | 101 | 808 | 4.831683 | 0.405941 | 0.081967 | 0.114754 | 0.147541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024958 | 0.256188 | 808 | 33 | 69 | 24.484848 | 0.787022 | 0.055693 | 0 | 0 | 0 | 0 | 0.028909 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.217391 | false | 0 | 0.130435 | 0.173913 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
43e6d5db8390c0b23e43f94230f0d63124922d1e | 27,020 | py | Python | _build/jupyter_execute/ipynb/01a-introducao.py | gcpeixoto/FMECD | 9bca72574c6630d1594396fffef31cfb8d58dec2 | [
"CC0-1.0"
] | null | null | null | _build/jupyter_execute/ipynb/01a-introducao.py | gcpeixoto/FMECD | 9bca72574c6630d1594396fffef31cfb8d58dec2 | [
"CC0-1.0"
] | null | null | null | _build/jupyter_execute/ipynb/01a-introducao.py | gcpeixoto/FMECD | 9bca72574c6630d1594396fffef31cfb8d58dec2 | [
"CC0-1.0"
] | null | null | null | # Introdução à Ciência de Dados
## Ciência de dados no século XXI
A dinâmica do mundo globalizado elevou a importância dos dados e da informação a uma
escala jamais vista na história humana em virtude da evolução exponencial dos recursos tecnológicos, dos meios de comunicação e, principalmente, da computação de alto ... | 128.056872 | 1,102 | 0.797335 | 4,114 | 27,020 | 5.210258 | 0.347837 | 0.027758 | 0.011756 | 0.002799 | 0.040121 | 0.019361 | 0.019361 | 0.011943 | 0.009237 | 0.005785 | 0 | 0.014212 | 0.151073 | 27,020 | 211 | 1,103 | 128.056872 | 0.920089 | 0 | 0 | 0.02 | 0 | 0.04 | 0.04235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.02 | 0.04 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
43ff9c7834317ca88fdd10a2fa19c148b2543d32 | 276 | py | Python | visualizations.py | msdevana/Self_Organizing_Maps | 73dec256ca9c07a24af24c9a1b61a690c3cb7ce7 | [
"MIT"
] | null | null | null | visualizations.py | msdevana/Self_Organizing_Maps | 73dec256ca9c07a24af24c9a1b61a690c3cb7ce7 | [
"MIT"
] | null | null | null | visualizations.py | msdevana/Self_Organizing_Maps | 73dec256ca9c07a24af24c9a1b61a690c3cb7ce7 | [
"MIT"
] | null | null | null | """
Created By Manish S. Devana
Visualization tools for the SOMS
"""
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
def umatrix(som):
"""
"""
def hitmap(som):
"""
"""
def plot_weights(som):
"""
"""
| 8.117647 | 32 | 0.554348 | 33 | 276 | 4.606061 | 0.757576 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318841 | 276 | 34 | 33 | 8.117647 | 0.808511 | 0.221014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a125c27d0459677dc021bf1fa462f0e654de07c3 | 269 | py | Python | pandas/types/common.py | vimalromeo/pandas | 7c14e4f14aff216be558bf5d4d2d00b4838c2360 | [
"PSF-2.0",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 69 | 2020-03-31T06:40:17.000Z | 2022-02-25T11:48:18.000Z | venv/lib/python3.7/site-packages/pandas/types/common.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 8 | 2019-12-04T23:44:11.000Z | 2022-02-10T08:31:40.000Z | venv/lib/python3.7/site-packages/pandas/types/common.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 28 | 2020-04-15T15:24:17.000Z | 2021-12-26T04:05:02.000Z | import warnings
warnings.warn("pandas.types.common is deprecated and will be "
"removed in a future version, import "
"from pandas.api.types",
DeprecationWarning, stacklevel=3)
from pandas.core.dtypes.common import * # noqa
| 29.888889 | 62 | 0.654275 | 32 | 269 | 5.5 | 0.75 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005051 | 0.263941 | 269 | 8 | 63 | 33.625 | 0.883838 | 0.01487 | 0 | 0 | 0 | 0 | 0.391635 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a142ba7e30a25e454afb0eeaef27a2699539f282 | 809 | py | Python | torch_glow/tests/nodes/dropout_test.py | dreiss/glow | 54c7625053bfb14955c4402ab8d9bca85195d53c | [
"Apache-2.0"
] | 2 | 2022-03-04T17:32:39.000Z | 2022-03-04T18:15:37.000Z | torch_glow/tests/nodes/dropout_test.py | dreiss/glow | 54c7625053bfb14955c4402ab8d9bca85195d53c | [
"Apache-2.0"
] | 10 | 2020-08-09T11:46:55.000Z | 2020-12-03T04:38:52.000Z | torch_glow/tests/nodes/dropout_test.py | dreiss/glow | 54c7625053bfb14955c4402ab8d9bca85195d53c | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, division, print_function, unicode_literals
import torch
import torch.nn.functional as F
from tests.utils import jitVsGlow
import unittest
class TestDropout(unittest.TestCase):
def test_dropout(self):
"""Basic test of the PyTorch aten::dropout Node on Glow."""
... | 26.966667 | 82 | 0.657602 | 118 | 809 | 4.338983 | 0.423729 | 0.054688 | 0.054688 | 0.058594 | 0.5625 | 0.5625 | 0.5625 | 0.5625 | 0.5625 | 0.5625 | 0 | 0.019169 | 0.226205 | 809 | 29 | 83 | 27.896552 | 0.798722 | 0.133498 | 0 | 0.25 | 0 | 0 | 0.03913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.3125 | 0.125 | 0.75 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
a1474b6aeca5189ad6bb26ab492d50b2d1e5a565 | 1,728 | py | Python | tests/test_get.py | cryptomaniac512/falcon-toolkit | da4950cf93b4923a0733e8903df0cb54879932ec | [
"MIT"
] | 3 | 2018-02-08T09:00:37.000Z | 2018-02-13T09:17:17.000Z | tests/test_get.py | cryptomaniac512/pytest-falcon-client | da4950cf93b4923a0733e8903df0cb54879932ec | [
"MIT"
] | 1 | 2019-02-08T13:26:08.000Z | 2019-02-08T13:26:08.000Z | tests/test_get.py | sivakov512/pytest-falcon-client | da4950cf93b4923a0733e8903df0cb54879932ec | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.parametrize("client_fixture", ("client", "cors_client"))
def test_getting_json(request, client_fixture):
client = request.getfixturevalue(client_fixture)
got = client.get("/example/20/")
assert got == "20 ok"
@pytest.mark.parametrize("client_fixture", ("client", "cors_client... | 30.315789 | 72 | 0.735532 | 213 | 1,728 | 5.713615 | 0.230047 | 0.16023 | 0.156122 | 0.110929 | 0.706656 | 0.706656 | 0.706656 | 0.644207 | 0.644207 | 0.644207 | 0 | 0.016711 | 0.134259 | 1,728 | 56 | 73 | 30.857143 | 0.796791 | 0.046296 | 0 | 0.3125 | 0 | 0 | 0.156899 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 1 | 0.1875 | false | 0 | 0.03125 | 0 | 0.21875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a14e615dfb6b88fbe3ee9b2ee0c8898d500bdf49 | 583 | py | Python | PythonCode/Laboratorio de programacao/7.py | CrystianPrintes20/ProjetoUri | 92a88ae2671a556f4d418c3605e9a2c6933dc9d8 | [
"MIT"
] | null | null | null | PythonCode/Laboratorio de programacao/7.py | CrystianPrintes20/ProjetoUri | 92a88ae2671a556f4d418c3605e9a2c6933dc9d8 | [
"MIT"
] | null | null | null | PythonCode/Laboratorio de programacao/7.py | CrystianPrintes20/ProjetoUri | 92a88ae2671a556f4d418c3605e9a2c6933dc9d8 | [
"MIT"
] | null | null | null | import random
def Ler_vetor():
funcionarios = 50
return random.sample(range(100), funcionarios)
def Somar(v):
soma = sum(v)
return soma
def Maior(v):
return max(v)
def Menor(v):
return min(v)
def Media(v):
return (sum(v)/len(v))
vetor = Ler_vetor()
print("Salarios: {}".format(vetor))... | 18.21875 | 71 | 0.653516 | 87 | 583 | 4.356322 | 0.413793 | 0.131926 | 0.158311 | 0.08971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.171527 | 583 | 31 | 72 | 18.806452 | 0.772257 | 0 | 0 | 0 | 0 | 0 | 0.250429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.052632 | 0.157895 | 0.578947 | 0.263158 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a15d3d5148df0189099c5f0b0ea7b98144e3636d | 67 | py | Python | exercicios/ex037.py | evertoncorreadias/aulas | 3a99a7c4223caa7cbda7a891b619875135847e9d | [
"MIT"
] | null | null | null | exercicios/ex037.py | evertoncorreadias/aulas | 3a99a7c4223caa7cbda7a891b619875135847e9d | [
"MIT"
] | null | null | null | exercicios/ex037.py | evertoncorreadias/aulas | 3a99a7c4223caa7cbda7a891b619875135847e9d | [
"MIT"
] | null | null | null | nome=input('qual seu nome').strip()
print('correa' in nome.lower()) | 33.5 | 35 | 0.701493 | 11 | 67 | 4.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 67 | 2 | 36 | 33.5 | 0.758065 | 0 | 0 | 0 | 0 | 0 | 0.279412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a17c10da92206173ff4407c8744df462918759a6 | 660 | py | Python | 7KYU/cool_string.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 4 | 2021-07-17T22:48:03.000Z | 2022-03-25T14:10:58.000Z | 7KYU/cool_string.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | 7KYU/cool_string.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 3 | 2021-06-14T14:18:16.000Z | 2022-03-16T06:02:02.000Z | def cool_string(s: str) -> bool:
"""
Let's call a string cool if it is formed only by Latin letters and no two lowercase and no two uppercase letters are in adjacent positions.
Given a string, check if it is cool.
"""
string_without_whitespace = ''.join(s.split())
if string_without_whitespace.... | 50.769231 | 190 | 0.690909 | 95 | 660 | 4.642105 | 0.484211 | 0.206349 | 0.365079 | 0.217687 | 0.126984 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0.005758 | 0.210606 | 660 | 12 | 191 | 55 | 0.840691 | 0.268182 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a19337afbe026927a8882a88c3e4ae782bae32da | 64 | py | Python | public/app/constants.py | iconation/server-status | e10d7764163ec8bdba89740676a5bd25a900bc7b | [
"Apache-2.0"
] | null | null | null | public/app/constants.py | iconation/server-status | e10d7764163ec8bdba89740676a5bd25a900bc7b | [
"Apache-2.0"
] | null | null | null | public/app/constants.py | iconation/server-status | e10d7764163ec8bdba89740676a5bd25a900bc7b | [
"Apache-2.0"
] | null | null | null | GITHUB_REPOSITORY = "https://github.com/ICONation/server-status" | 64 | 64 | 0.8125 | 8 | 64 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 64 | 1 | 64 | 64 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0.646154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a1a70aa5d483e05a450efe95d9c97acafd7ee844 | 2,292 | py | Python | api/fatsecretapi/views.py | Abiwax/CalorieCheckerIonic4 | 4f027aa19916d7a24c3a6d50ded812a1abde081b | [
"Apache-2.0"
] | null | null | null | api/fatsecretapi/views.py | Abiwax/CalorieCheckerIonic4 | 4f027aa19916d7a24c3a6d50ded812a1abde081b | [
"Apache-2.0"
] | 7 | 2020-06-05T20:27:04.000Z | 2022-03-02T06:52:54.000Z | api/fatsecretapi/views.py | Abiwax/CalorieCheckerIonic4 | 4f027aa19916d7a24c3a6d50ded812a1abde081b | [
"Apache-2.0"
] | null | null | null | # Create your views here.
from fatsecret import Fatsecret
from django.http import JsonResponse
from django.conf import settings
fs = Fatsecret(settings.FATSECRET_ACCESS_KEY, settings.FATSECRET_SECRET_KEY)
def foods(request):
if request.method == 'GET':
search = request.GET["search"]
foods_detail =... | 32.742857 | 85 | 0.609948 | 251 | 2,292 | 5.474104 | 0.207171 | 0.065502 | 0.046579 | 0.064047 | 0.740175 | 0.740175 | 0.725619 | 0.725619 | 0.674672 | 0.546579 | 0 | 0.003636 | 0.280105 | 2,292 | 69 | 86 | 33.217391 | 0.829091 | 0.010035 | 0 | 0.576271 | 0 | 0 | 0.14841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067797 | false | 0 | 0.050847 | 0 | 0.254237 | 0.050847 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a1ac20e362a8de936d8dcf7e4305859b84a5faa1 | 1,187 | py | Python | tests/config/test_manager.py | NishanBanga/JobFunnel | d1b326e803fb79ffcdb2d31f9cb17913959c1922 | [
"MIT"
] | 1,652 | 2019-07-13T14:41:37.000Z | 2022-03-29T04:25:06.000Z | tests/config/test_manager.py | GlobalOpenSourceSociety/JobFunnel | 45b3a8784313f1af1f21536df77c63868ffcdb7d | [
"MIT"
] | 124 | 2019-07-04T16:36:04.000Z | 2022-03-22T19:52:58.000Z | tests/config/test_manager.py | GlobalOpenSourceSociety/JobFunnel | 45b3a8784313f1af1f21536df77c63868ffcdb7d | [
"MIT"
] | 215 | 2019-11-12T01:07:24.000Z | 2022-03-15T20:23:10.000Z | # FIXME: need to break down config manager testing a bit more
# @pytest.mark.parametrize('pass_del_cfg', (True, False))
# def test_config_manager_init(mocker, pass_del_cfg):
# """NOTE: unlike other configs this one validates itself on creation
# """
# # Mocks
# patch_del_cfg = mocker.patch('jobfunnel.co... | 38.290323 | 75 | 0.679865 | 156 | 1,187 | 4.826923 | 0.448718 | 0.092961 | 0.111554 | 0.069057 | 0.087649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2123 | 1,187 | 30 | 76 | 39.566667 | 0.805348 | 0.946083 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.033333 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a1bf02611c6a82153d263112d9c736b3b648875b | 172 | py | Python | Python/prova/fibro 2.py | marcelosilva7/Primeiro-repositorio | 2550c86d07101bed84e0d110599a9492b1069263 | [
"MIT"
] | null | null | null | Python/prova/fibro 2.py | marcelosilva7/Primeiro-repositorio | 2550c86d07101bed84e0d110599a9492b1069263 | [
"MIT"
] | null | null | null | Python/prova/fibro 2.py | marcelosilva7/Primeiro-repositorio | 2550c86d07101bed84e0d110599a9492b1069263 | [
"MIT"
] | null | null | null | t1 = 0
t2 = 1
print(f'{t1} -> {t2} -> ', end='')
for c in range(1, 21):
t3 = t1 + t2
print(f'{t3} -> ', end='')
t1 = t2
t2 = t3
print('FIM', end='') | 19.111111 | 35 | 0.401163 | 29 | 172 | 2.37931 | 0.482759 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147826 | 0.331395 | 172 | 9 | 36 | 19.111111 | 0.452174 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a1d0457b1dc1d0b5cbd54a40bd10967ee66ed22a | 42,034 | py | Python | plogical/vhost.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | plogical/vhost.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | plogical/vhost.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | #!/usr/local/CyberCP/bin/python
import os
import os.path
import sys
import django
sys.path.append('/usr/local/CyberCP')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "CyberCP.settings")
try:
django.setup()
except:
pass
import shutil
from plogical import installUtilities
import subprocess
import shlex
from pl... | 41.372047 | 149 | 0.560142 | 3,475 | 42,034 | 6.762302 | 0.103597 | 0.055236 | 0.072812 | 0.050385 | 0.756798 | 0.722967 | 0.689434 | 0.660964 | 0.625388 | 0.601813 | 0 | 0.009246 | 0.343888 | 42,034 | 1,015 | 150 | 41.412808 | 0.842815 | 0.018128 | 0 | 0.720109 | 0 | 0 | 0.152812 | 0.033993 | 0.005435 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0.009511 | 0.028533 | 0 | 0.146739 | 0.017663 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 3 |
a1ee69696f35228df34de656c28f874e810cd996 | 279 | py | Python | web/verify.py | bzd111/oh-my-rss | e81beb66e5e51f8a7d100b2c506111138d17451a | [
"MIT"
] | null | null | null | web/verify.py | bzd111/oh-my-rss | e81beb66e5e51f8a7d100b2c506111138d17451a | [
"MIT"
] | null | null | null | web/verify.py | bzd111/oh-my-rss | e81beb66e5e51f8a7d100b2c506111138d17451a | [
"MIT"
] | null | null | null | from django.http import HttpResponseForbidden
def verify_request(func):
"""
verify user request
"""
def wrapper(request):
if not request.POST.get('uid', ''):
return HttpResponseForbidden()
return func(request)
return wrapper
| 16.411765 | 45 | 0.62724 | 28 | 279 | 6.214286 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275986 | 279 | 16 | 46 | 17.4375 | 0.861386 | 0.0681 | 0 | 0 | 0 | 0 | 0.012397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b803012fe5a7d1f802d9306cd1bc2613b7fa5585 | 3,726 | py | Python | pycatia/knowledge_interfaces/knowledge_activate_object.py | evereux/catia_python | 08948585899b12587b0415ce3c9191a408b34897 | [
"MIT"
] | 90 | 2019-02-21T10:05:28.000Z | 2022-03-19T01:53:41.000Z | pycatia/knowledge_interfaces/knowledge_activate_object.py | Luanee/pycatia | ea5eef8178f73de12404561c00baf7a7ca30da59 | [
"MIT"
] | 99 | 2019-05-21T08:29:12.000Z | 2022-03-25T09:55:15.000Z | pycatia/knowledge_interfaces/knowledge_activate_object.py | Luanee/pycatia | ea5eef8178f73de12404561c00baf7a7ca30da59 | [
"MIT"
] | 26 | 2019-04-04T06:31:36.000Z | 2022-03-30T07:24:47.000Z | #! usr/bin/python3.6
"""
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
.. warning::
The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only.
They are there as a guide as to how the visual basic / catscript function... | 33.567568 | 108 | 0.506978 | 345 | 3,726 | 5.402899 | 0.356522 | 0.035408 | 0.021459 | 0.026824 | 0.369099 | 0.312768 | 0.312768 | 0.302039 | 0.302039 | 0.246245 | 0 | 0.051845 | 0.425389 | 3,726 | 110 | 109 | 33.872727 | 0.818776 | 0.670156 | 0 | 0 | 1 | 0 | 0.067771 | 0.046687 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0.071429 | 0.071429 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b80870a0c7b59e072a80d92516b1cea8e83af866 | 145 | py | Python | 6KYU/is_prime.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 4 | 2021-07-17T22:48:03.000Z | 2022-03-25T14:10:58.000Z | 6KYU/is_prime.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | 6KYU/is_prime.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 3 | 2021-06-14T14:18:16.000Z | 2022-03-16T06:02:02.000Z | def is_prime(num):
if num <= 1:
return False
d = 2
while d * d <= num and num % d != 0:
d += 1
return d * d > num | 20.714286 | 40 | 0.441379 | 25 | 145 | 2.52 | 0.52 | 0.222222 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.434483 | 145 | 7 | 41 | 20.714286 | 0.719512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6297f326a0bb92b7ea38d33b46f5792ba2473d47 | 499 | py | Python | accepted/Find_All_Numbers_Disappeared_in_Array.py | sheagk/leetcode_solutions | 7571bd13f4274f6b4b622b43a414d56fc26d3be0 | [
"MIT"
] | null | null | null | accepted/Find_All_Numbers_Disappeared_in_Array.py | sheagk/leetcode_solutions | 7571bd13f4274f6b4b622b43a414d56fc26d3be0 | [
"MIT"
] | null | null | null | accepted/Find_All_Numbers_Disappeared_in_Array.py | sheagk/leetcode_solutions | 7571bd13f4274f6b4b622b43a414d56fc26d3be0 | [
"MIT"
] | 1 | 2020-09-03T14:26:00.000Z | 2020-09-03T14:26:00.000Z | ## https://leetcode.com/submissions/detail/230651834/
## problem is to find the numbers between 1 and length of the
## array that aren't in the array. simple way to do that is to
## do the set difference between range(1, len(ar)+1) and the
## input numbers
## hits 98th percentile in terms of runtime, though only
... | 38.384615 | 67 | 0.709419 | 80 | 499 | 4.425 | 0.625 | 0.022599 | 0.050847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043902 | 0.178357 | 499 | 13 | 68 | 38.384615 | 0.819512 | 0.663327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
62a6274e4ab46635bafe5141a202e2107793372e | 206 | py | Python | xmemeAPI/admin.py | sukanta-nandi/XMEME-Backend | a532cfca17ccde0aae9faf2a4b937644f61b9894 | [
"MIT"
] | null | null | null | xmemeAPI/admin.py | sukanta-nandi/XMEME-Backend | a532cfca17ccde0aae9faf2a4b937644f61b9894 | [
"MIT"
] | null | null | null | xmemeAPI/admin.py | sukanta-nandi/XMEME-Backend | a532cfca17ccde0aae9faf2a4b937644f61b9894 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import memeData
# Register your models here.
@admin.register(memeData)
class memeDataAdmin(admin.ModelAdmin):
list_display = ['id', 'name']
#pass
| 20.6 | 38 | 0.728155 | 25 | 206 | 5.96 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169903 | 206 | 10 | 39 | 20.6 | 0.871345 | 0.145631 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
62c200b5cdc57483caa359cc9d19aa50b3e6655f | 497 | py | Python | Ejercicios para practicar/Cadenas/Ejercicio 3.py | AlexPC23/Python | 77689d74c5444faa1aa253a122602307e52ac581 | [
"Apache-2.0"
] | null | null | null | Ejercicios para practicar/Cadenas/Ejercicio 3.py | AlexPC23/Python | 77689d74c5444faa1aa253a122602307e52ac581 | [
"Apache-2.0"
] | null | null | null | Ejercicios para practicar/Cadenas/Ejercicio 3.py | AlexPC23/Python | 77689d74c5444faa1aa253a122602307e52ac581 | [
"Apache-2.0"
] | null | null | null | #Escribir un programa que pregunte el nombre completo del usuario en la consola y después muestre por pantalla el nombre completo del usuario tres veces, una con todas las letras minúsculas, otra con todas las letras mayúsculas y otra solo con la primera letra del nombre y de los apellidos en mayúscula. El usuario pued... | 165.666667 | 390 | 0.778672 | 79 | 497 | 4.911392 | 0.632911 | 0.041237 | 0.082474 | 0.097938 | 0.134021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158954 | 497 | 3 | 391 | 165.666667 | 0.925837 | 0.782696 | 0 | 0 | 0 | 0 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
62c4e2a641c937e152a6639d961812119ca22d47 | 277 | py | Python | endpoints/cotect-endpoints/cotect_endpoints/local_test.py | JNKielmann/cotect | 1b213459b41ef18119948633385ebad2cc16e9e2 | [
"MIT"
] | 19 | 2020-03-18T15:49:58.000Z | 2021-02-11T12:07:22.000Z | endpoints/cotect-endpoints/cotect_endpoints/local_test.py | JNKielmann/cotect | 1b213459b41ef18119948633385ebad2cc16e9e2 | [
"MIT"
] | 6 | 2020-03-21T18:50:29.000Z | 2022-02-27T01:38:20.000Z | endpoints/cotect-endpoints/cotect_endpoints/local_test.py | JNKielmann/cotect | 1b213459b41ef18119948633385ebad2cc16e9e2 | [
"MIT"
] | 7 | 2020-03-24T14:42:35.000Z | 2020-04-06T13:22:29.000Z | import os
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "/workspace/firebase-secret.json"
os.environ["ID_GENERATION_SECRET"] = "secret"
os.environ["NEO4J_URI"] = "bolt://docker.for.mac.localhost:7687"
os.environ["NEO4J_AUTH"] = ""
from cotect_endpoints.endpoints import app
| 30.777778 | 80 | 0.768953 | 37 | 277 | 5.567568 | 0.675676 | 0.174757 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023346 | 0.072202 | 277 | 8 | 81 | 34.625 | 0.77821 | 0 | 0 | 0 | 0 | 0 | 0.512635 | 0.350181 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
62c8a9488ea348f6324d1c7461f6119553870629 | 25,023 | py | Python | lte/protos/sctpd_pb2.py | aweimeow/enodebd | e1cd20693153e6b85e5d1bf9d21af2501c358601 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | lte/protos/sctpd_pb2.py | aweimeow/enodebd | e1cd20693153e6b85e5d1bf9d21af2501c358601 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | lte/protos/sctpd_pb2.py | aweimeow/enodebd | e1cd20693153e6b85e5d1bf9d21af2501c358601 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: lte/protos/sctpd.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from googl... | 36.529927 | 2,054 | 0.74999 | 3,125 | 25,023 | 5.67456 | 0.08416 | 0.051768 | 0.08143 | 0.077652 | 0.713359 | 0.645971 | 0.632324 | 0.617493 | 0.617493 | 0.617493 | 0 | 0.034634 | 0.126524 | 25,023 | 684 | 2,055 | 36.583333 | 0.776685 | 0.03289 | 0 | 0.675806 | 1 | 0.001613 | 0.183995 | 0.13445 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006452 | 0 | 0.006452 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
62dfad9618218c197076118daf8205205ec79a99 | 2,997 | py | Python | project/editorial/models/__init__.py | ProjectFacet/facet | dc6bc79d450f7e2bdf59cfbcd306d05a736e4db9 | [
"MIT"
] | 25 | 2015-07-13T22:16:36.000Z | 2021-11-11T02:45:32.000Z | project/editorial/models/__init__.py | ProjectFacet/facet | dc6bc79d450f7e2bdf59cfbcd306d05a736e4db9 | [
"MIT"
] | 74 | 2015-12-01T18:57:47.000Z | 2022-03-11T23:25:47.000Z | project/editorial/models/__init__.py | ProjectFacet/facet | dc6bc79d450f7e2bdf59cfbcd306d05a736e4db9 | [
"MIT"
] | 6 | 2016-01-08T21:12:43.000Z | 2019-05-20T16:07:56.000Z | """ Model for editorial application.
Models
======
People: User, Organization, Network
Contributors: ContributorInfo, OrganizationContributorInfo
Platforms: Platform, PlatformAccount
Projects: Project
Story: Story
Facet: FacetTemplate, Facet, FacetContributor, ContentLicense
... | 36.54878 | 123 | 0.682349 | 287 | 2,997 | 7.097561 | 0.480836 | 0.019637 | 0.0162 | 0.018655 | 0.143348 | 0.143348 | 0.098184 | 0.045164 | 0.045164 | 0.045164 | 0 | 0.00083 | 0.195529 | 2,997 | 81 | 124 | 37 | 0.844048 | 0.665999 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
62e238270ed059d2479949cf0bad5480892fad83 | 597 | py | Python | optgbm/__init__.py | kmedved/OptGBM | 7f37f4becea3e6d23dbc663b0c2c212d54ae413c | [
"MIT"
] | 26 | 2019-09-17T06:16:40.000Z | 2022-01-08T01:17:40.000Z | optgbm/__init__.py | kmedved/OptGBM | 7f37f4becea3e6d23dbc663b0c2c212d54ae413c | [
"MIT"
] | 62 | 2019-09-16T17:33:37.000Z | 2021-06-18T00:31:38.000Z | optgbm/__init__.py | kmedved/OptGBM | 7f37f4becea3e6d23dbc663b0c2c212d54ae413c | [
"MIT"
] | 3 | 2020-01-25T05:44:14.000Z | 2021-10-01T04:12:29.000Z | """OptGBM package."""
import logging
from pkg_resources import DistributionNotFound
from pkg_resources import get_distribution
try:
distribution = get_distribution(__name__)
__version__ = distribution.version
except DistributionNotFound:
pass
from lightgbm import * # noqa
from . import basic # noqa
f... | 20.586207 | 46 | 0.760469 | 68 | 597 | 6.441176 | 0.426471 | 0.109589 | 0.159817 | 0.100457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165829 | 597 | 28 | 47 | 21.321429 | 0.879518 | 0.085427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.052632 | 0.526316 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
62e60984c03d7d6173d5e1b94902e5e5564f46d7 | 503 | py | Python | countries/migrations/0006_auto_20180218_2036.py | kneirinck/django-countries-flavor | 446f1f8eccb40b2f1e413905d319a5dc19bbea3b | [
"MIT"
] | null | null | null | countries/migrations/0006_auto_20180218_2036.py | kneirinck/django-countries-flavor | 446f1f8eccb40b2f1e413905d319a5dc19bbea3b | [
"MIT"
] | null | null | null | countries/migrations/0006_auto_20180218_2036.py | kneirinck/django-countries-flavor | 446f1f8eccb40b2f1e413905d319a5dc19bbea3b | [
"MIT"
] | null | null | null | # Generated by Django 2.0.1 on 2018-02-18 20:36
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('countries', '0005_remove_locale_data'),
]
operations = [
migrations.RenameField(
model_name='country',
old_name='mpoly',
... | 20.958333 | 49 | 0.554672 | 50 | 503 | 5.4 | 0.72 | 0.155556 | 0.192593 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056548 | 0.332008 | 503 | 23 | 50 | 21.869565 | 0.747024 | 0.089463 | 0 | 0.235294 | 1 | 0 | 0.149123 | 0.050439 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
62f5004bdab4005c86fc2d9311630af54d7663dc | 303 | py | Python | tests/test_version.py | fy0/querylayer | 424411a7d69ef2732b3c6e2f90030f93eb45f059 | [
"MIT"
] | 4 | 2020-11-09T03:11:45.000Z | 2021-04-21T12:37:12.000Z | tests/test_version.py | fy0/pycurd | 424411a7d69ef2732b3c6e2f90030f93eb45f059 | [
"MIT"
] | null | null | null | tests/test_version.py | fy0/pycurd | 424411a7d69ef2732b3c6e2f90030f93eb45f059 | [
"MIT"
] | 1 | 2022-03-27T06:43:21.000Z | 2022-03-27T06:43:21.000Z | import os
import re
from pycrud import __version__
def test_version():
project_file = open(os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'pyproject.toml')), 'r', encoding='utf-8').read()
m = re.search(r"version = \"(.+?)\"", project_file)
assert m.group(1) == __version__
| 27.545455 | 135 | 0.663366 | 43 | 303 | 4.325581 | 0.627907 | 0.096774 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007663 | 0.138614 | 303 | 10 | 136 | 30.3 | 0.704981 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
62f79e9b7586592240ecaefc5a5f9f424eecd6a0 | 266 | py | Python | v2/crawlers/factory.py | DucPhamTV/MaiTet | 44a1465a3239808f6640592ba666d9c5449c0ef4 | [
"MIT"
] | null | null | null | v2/crawlers/factory.py | DucPhamTV/MaiTet | 44a1465a3239808f6640592ba666d9c5449c0ef4 | [
"MIT"
] | 15 | 2021-02-20T12:03:33.000Z | 2021-07-26T10:15:03.000Z | v2/crawlers/factory.py | DucPhamTV/MaiTet | 44a1465a3239808f6640592ba666d9c5449c0ef4 | [
"MIT"
] | null | null | null | from .simple_crawler import SimpleCrawler
class Factory:
def __init__(self, url):
self.url = url
@staticmethod
def create_crawler(url):
# TODO: Analyse url
# Hard code to return simple crawler
return SimpleCrawler(url)
| 20.461538 | 44 | 0.654135 | 31 | 266 | 5.419355 | 0.612903 | 0.154762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281955 | 266 | 12 | 45 | 22.166667 | 0.879581 | 0.195489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
1a0188a2b25ce0ef3cf47b11f2718dba5c77a126 | 1,088 | py | Python | paddleseg/datasets/__init__.py | QinchengZhang/PaddleSeg | 73321822b3c6836540281f801e1e163abee91cdc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | paddleseg/datasets/__init__.py | QinchengZhang/PaddleSeg | 73321822b3c6836540281f801e1e163abee91cdc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | paddleseg/datasets/__init__.py | QinchengZhang/PaddleSeg | 73321822b3c6836540281f801e1e163abee91cdc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
'''
Author: TJUZQC
Date: 2021-01-12 15:07:21
LastEditors: TJUZQC
LastEditTime: 2021-01-12 15:23:04
Description: None
'''
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compl... | 34 | 74 | 0.779412 | 162 | 1,088 | 5.203704 | 0.648148 | 0.071174 | 0.01898 | 0.023725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059331 | 0.147978 | 1,088 | 32 | 75 | 34 | 0.850054 | 0.659926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1a075cc25df39a7dc4988fc582cb5c537d9e4c24 | 1,648 | py | Python | chronometry/estimate/Measurement.py | idin/chronometry | e022a1d06d8e8be990483130bc314a189de2f149 | [
"MIT"
] | null | null | null | chronometry/estimate/Measurement.py | idin/chronometry | e022a1d06d8e8be990483130bc314a189de2f149 | [
"MIT"
] | null | null | null | chronometry/estimate/Measurement.py | idin/chronometry | e022a1d06d8e8be990483130bc314a189de2f149 | [
"MIT"
] | null | null | null | class Measurement:
def __init__(self, x, result, elapsed, timeout_error, other_error):
"""
:type x: dict
:type result: object
:type elapsed: float
:type timeout_error: bool
"""
if not isinstance(x, dict):
raise TypeError('x should be a dictionary!')
self._x = x
self._result = result
self._elapse... | 23.211268 | 104 | 0.720874 | 232 | 1,648 | 4.75 | 0.172414 | 0.169691 | 0.136116 | 0.133394 | 0.401996 | 0.401996 | 0.358439 | 0.358439 | 0.358439 | 0.316697 | 0 | 0 | 0.169296 | 1,648 | 70 | 105 | 23.542857 | 0.804967 | 0.057039 | 0 | 0.122449 | 0 | 0 | 0.043934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.265306 | false | 0 | 0 | 0.204082 | 0.55102 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.