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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1de6a562ab871e29690d831ec0928617d86e71d9 | 25,542 | py | Python | examples/n_queens.py | avikor/Constraint_Satisfaction_Problems | fa545ab3df37599192963b99e9e86b7160a93dba | [
"MIT"
] | 12 | 2019-12-04T13:42:09.000Z | 2021-12-15T13:14:44.000Z | examples/n_queens.py | avikor/Constraint_Satisfaction_Problems | fa545ab3df37599192963b99e9e86b7160a93dba | [
"MIT"
] | null | null | null | examples/n_queens.py | avikor/Constraint_Satisfaction_Problems | fa545ab3df37599192963b99e9e86b7160a93dba | [
"MIT"
] | 2 | 2020-02-10T13:37:15.000Z | 2020-12-12T09:57:40.000Z | import time
import copy
import csp
from examples.performance_testing import measure_performance
# SOLVING N-QUEENS PROBLEM:
# Each variable represent a column in the n x n sized board.
# Each variable's domain is (1, ..., n), and it represent a possible queen row-coordinate location in the column i.
# For the queens ... | 67.39314 | 147 | 0.590244 | 2,602 | 25,542 | 5.448117 | 0.080707 | 0.078513 | 0.157026 | 0.054317 | 0.880502 | 0.861527 | 0.841281 | 0.825409 | 0.778146 | 0.743016 | 0 | 0.041787 | 0.12959 | 25,542 | 379 | 148 | 67.39314 | 0.595853 | 0.388497 | 0 | 0.637931 | 0 | 0 | 0.220519 | 0.082943 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011494 | false | 0 | 0.022989 | 0 | 0.051724 | 0.114943 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1df518bfbf2a3fb74dfee39a8a0e31ff5c035fd7 | 43 | py | Python | drqa/selector/__init__.py | CfaBotTeam/stanford | b6c0979182c87fbe63700b1e57de6b584232a276 | [
"BSD-3-Clause"
] | null | null | null | drqa/selector/__init__.py | CfaBotTeam/stanford | b6c0979182c87fbe63700b1e57de6b584232a276 | [
"BSD-3-Clause"
] | null | null | null | drqa/selector/__init__.py | CfaBotTeam/stanford | b6c0979182c87fbe63700b1e57de6b584232a276 | [
"BSD-3-Clause"
] | null | null | null | from .choice_selector import ChoiceSelector | 43 | 43 | 0.906977 | 5 | 43 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
380a6aa4bbe737981e9e6f21b4b2420b49ab4af8 | 91 | py | Python | src/scraper/__init__.py | bab014/piscraper | 196155815a92977cdb175d19c6dd09d49c482ace | [
"MIT"
] | null | null | null | src/scraper/__init__.py | bab014/piscraper | 196155815a92977cdb175d19c6dd09d49c482ace | [
"MIT"
] | null | null | null | src/scraper/__init__.py | bab014/piscraper | 196155815a92977cdb175d19c6dd09d49c482ace | [
"MIT"
] | null | null | null | from .scrapers.scrape import *
from .config.config import *
from .models.response import *
| 22.75 | 30 | 0.769231 | 12 | 91 | 5.833333 | 0.583333 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 3 | 31 | 30.333333 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e06dfd3f42f8e4bf9eee9b025ecda1518caa69a | 14,904 | py | Python | datasets.py | var-skip/var-skip | 0b19994466cd2a690ed8bfeefd78dbf36ea85410 | [
"Apache-2.0"
] | 5 | 2020-07-15T13:37:23.000Z | 2021-05-03T07:25:12.000Z | datasets.py | var-skip/var-skip | 0b19994466cd2a690ed8bfeefd78dbf36ea85410 | [
"Apache-2.0"
] | null | null | null | datasets.py | var-skip/var-skip | 0b19994466cd2a690ed8bfeefd78dbf36ea85410 | [
"Apache-2.0"
] | 3 | 2020-07-15T18:22:43.000Z | 2021-03-18T14:30:08.000Z | import os
import numpy as np
from common import CsvTable
class Synthetic(object):
schema = ['col_0', 'col_1', 'col_2', 'col_3', 'col_4', 'col_5', 'col_6', 'col_7', 'col_8', 'col_9', 'col_10', 'col_11', 'col_12', 'col_13', 'col_14']
cols = schema
class Census(object):
schema = ['caseid', 'dAge', 'dAncst... | 81.89011 | 4,513 | 0.584407 | 1,878 | 14,904 | 4.471246 | 0.335463 | 0.027391 | 0.013934 | 0.010718 | 0.790997 | 0.781946 | 0.768131 | 0.768131 | 0.744552 | 0.744552 | 0 | 0.095417 | 0.162507 | 14,904 | 181 | 4,514 | 82.342541 | 0.577311 | 0.0208 | 0 | 0.542857 | 0 | 0 | 0.459967 | 0.013641 | 0 | 0 | 0 | 0 | 0.007143 | 1 | 0.042857 | false | 0.007143 | 0.021429 | 0 | 0.214286 | 0.042857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0e12a6219b3ca34a0e4f2f787201cecaa66684cd | 39,960 | py | Python | entmoot/learning/distance_based_std.py | DavidWalz/entmoot-1 | 4fad534a569673c2254cae8e870b8bcd70fc6ccf | [
"BSD-3-Clause"
] | 27 | 2020-08-31T13:30:14.000Z | 2022-03-21T11:35:05.000Z | entmoot/learning/distance_based_std.py | DavidWalz/entmoot-1 | 4fad534a569673c2254cae8e870b8bcd70fc6ccf | [
"BSD-3-Clause"
] | 2 | 2021-02-16T11:27:53.000Z | 2021-04-20T19:50:53.000Z | entmoot/learning/distance_based_std.py | DavidWalz/entmoot-1 | 4fad534a569673c2254cae8e870b8bcd70fc6ccf | [
"BSD-3-Clause"
] | 6 | 2020-10-22T11:45:43.000Z | 2022-03-28T17:42:53.000Z | from sklearn.preprocessing import StandardScaler
from abc import ABC, abstractmethod
import numpy as np
class DistanceMetric(ABC):
"""Computes distances and defines the optimization model for both
exploration and penalty.
Parameters
----------
-
Attributes
----------
-
"""
... | 32.356275 | 89 | 0.57022 | 5,003 | 39,960 | 4.310414 | 0.071157 | 0.027962 | 0.007419 | 0.012659 | 0.808718 | 0.782332 | 0.76805 | 0.730072 | 0.71208 | 0.708324 | 0 | 0.002223 | 0.347172 | 39,960 | 1,235 | 90 | 32.356275 | 0.824434 | 0.379655 | 0 | 0.555556 | 0 | 0 | 0.018289 | 0.002554 | 0 | 0 | 0 | 0 | 0.003899 | 1 | 0.099415 | false | 0.019493 | 0.025341 | 0.007797 | 0.202729 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38a5a69c246ee5e7611a88534dd98411967bd690 | 90 | py | Python | examples/foo/bar/baz.py | philippeitis/nimporter | 707b18d76cef1996f883a2cc7ccba7cc2853c0f3 | [
"MIT"
] | 656 | 2019-12-06T01:35:40.000Z | 2022-03-29T23:43:42.000Z | examples/foo/bar/baz.py | juancarlospaco/nimporter | d230e0e4ea40370d162f3806fafa168aef560672 | [
"MIT"
] | 52 | 2019-12-06T23:15:56.000Z | 2022-03-25T22:42:15.000Z | examples/foo/bar/baz.py | juancarlospaco/nimporter | d230e0e4ea40370d162f3806fafa168aef560672 | [
"MIT"
] | 32 | 2019-12-07T04:06:16.000Z | 2022-02-19T14:04:55.000Z | import nimporter
from bar import bazzle
def foo_bar_baz():
print(bazzle.add(2, 100))
| 15 | 29 | 0.733333 | 15 | 90 | 4.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0.166667 | 90 | 5 | 30 | 18 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38b054d6a74270a010472a9362ceb76a942fa2c5 | 206 | py | Python | packages/stattik/stattik/database/repository.py | stattikcms/stattik | 5c96d600d105461edb95a11d8050dee3c32edd1e | [
"MIT"
] | 1 | 2021-11-05T06:24:28.000Z | 2021-11-05T06:24:28.000Z | packages/stattik/stattik/database/repository.py | stattikcms/stattik | 5c96d600d105461edb95a11d8050dee3c32edd1e | [
"MIT"
] | null | null | null | packages/stattik/stattik/database/repository.py | stattikcms/stattik | 5c96d600d105461edb95a11d8050dee3c32edd1e | [
"MIT"
] | null | null | null | from stattik.schema import Schema
class Repository(Schema):
def __init__(self, parent):
super().__init__(parent)
@classmethod
def produce(self, parent):
return self(parent) | 22.888889 | 33 | 0.665049 | 23 | 206 | 5.608696 | 0.608696 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237864 | 206 | 9 | 34 | 22.888889 | 0.821656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
38e7b0fab39f8b290d534f3d1bc65e96ff75bd97 | 49 | py | Python | src/prefect/agent/nomad/__init__.py | louisditzel/prefect | b1a02fee623b965e756a38aa09059db780ab67eb | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-01-10T11:24:21.000Z | 2020-01-10T11:24:21.000Z | src/prefect/agent/nomad/__init__.py | louisditzel/prefect | b1a02fee623b965e756a38aa09059db780ab67eb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/prefect/agent/nomad/__init__.py | louisditzel/prefect | b1a02fee623b965e756a38aa09059db780ab67eb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from prefect.agent.nomad.agent import NomadAgent
| 24.5 | 48 | 0.857143 | 7 | 49 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a0b1818b89702f994fcbef302691e7836ce2083 | 97 | py | Python | assemblyline_service_server/patched.py | CybercentreCanada/assemblyline-service-server | f4fbc7dcab122fa63fcc598db1c23a770c10145f | [
"MIT"
] | 6 | 2020-06-29T14:32:24.000Z | 2022-01-03T19:40:39.000Z | assemblyline_service_server/patched.py | CybercentreCanada/assemblyline-service-server | f4fbc7dcab122fa63fcc598db1c23a770c10145f | [
"MIT"
] | null | null | null | assemblyline_service_server/patched.py | CybercentreCanada/assemblyline-service-server | f4fbc7dcab122fa63fcc598db1c23a770c10145f | [
"MIT"
] | 2 | 2021-01-15T18:31:17.000Z | 2021-05-29T15:57:08.000Z | from gevent.monkey import patch_all
patch_all()
from assemblyline_service_server.app import app
| 19.4 | 47 | 0.85567 | 15 | 97 | 5.266667 | 0.666667 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 97 | 4 | 48 | 24.25 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a1c988808bc6b8984211d8e4437ae32fbde02e5 | 20 | py | Python | func/__init__.py | gongda0e/AVT | d6a7032b86416e852c76cc04a20ccabe34f111dc | [
"Apache-2.0"
] | 102 | 2021-09-24T03:49:34.000Z | 2022-03-29T19:55:50.000Z | func/__init__.py | gongda0e/AVT | d6a7032b86416e852c76cc04a20ccabe34f111dc | [
"Apache-2.0"
] | 32 | 2021-10-02T04:31:39.000Z | 2022-03-16T05:46:30.000Z | func/__init__.py | gongda0e/AVT | d6a7032b86416e852c76cc04a20ccabe34f111dc | [
"Apache-2.0"
] | 19 | 2021-09-25T01:57:37.000Z | 2022-03-15T07:02:37.000Z | from . import train
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a446ee95d84056db82b61e8dbf91c61956e1cae | 214 | py | Python | tests/test_errors.py | retarded-person/zzz | ea0cad97d9d0ed069a7d257b6db8e028be3b2629 | [
"Apache-2.0"
] | null | null | null | tests/test_errors.py | retarded-person/zzz | ea0cad97d9d0ed069a7d257b6db8e028be3b2629 | [
"Apache-2.0"
] | null | null | null | tests/test_errors.py | retarded-person/zzz | ea0cad97d9d0ed069a7d257b6db8e028be3b2629 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from fake_useragent import errors
def test_error_aliases():
assert errors.FakeUserAgentError is errors.UserAgentError
| 23.777778 | 62 | 0.766355 | 25 | 214 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005587 | 0.163551 | 214 | 8 | 63 | 26.75 | 0.860335 | 0.098131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a56ee22df5b5a6ac7809c06a44afa491c62cff2 | 64 | py | Python | ndpm/__init__.py | soochan-lee/CN-DPM | d592c5d794e4bddc4947f2ed61d6a9e50c6da277 | [
"MIT"
] | 91 | 2019-12-30T08:47:16.000Z | 2022-03-17T01:14:00.000Z | cn_dpm/ndpm/__init__.py | ryanlindeborg/CN-DPM | df2f839efde28a23748ebe2fe23b88600c40fbf6 | [
"MIT"
] | 6 | 2020-03-24T14:46:39.000Z | 2020-10-26T10:24:37.000Z | cn_dpm/ndpm/__init__.py | ryanlindeborg/CN-DPM | df2f839efde28a23748ebe2fe23b88600c40fbf6 | [
"MIT"
] | 13 | 2020-02-09T19:06:33.000Z | 2021-11-23T13:48:50.000Z | from .expert import *
from .priors import *
from .ndpm import *
| 16 | 21 | 0.71875 | 9 | 64 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 22 | 21.333333 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a6b2ebd945fd84997b2489955051dc874895923 | 89 | py | Python | datatransfer/__init__.py | Meepit/data-transfer | cdfb95830ddfcc98233324620bee8895522d19e2 | [
"MIT"
] | 3 | 2018-01-10T11:52:21.000Z | 2022-01-31T03:11:41.000Z | datatransfer/__init__.py | Meepit/data-transfer | cdfb95830ddfcc98233324620bee8895522d19e2 | [
"MIT"
] | 9 | 2018-01-03T19:39:10.000Z | 2018-08-16T09:01:50.000Z | datatransfer/__init__.py | Meepit/data-transfer | cdfb95830ddfcc98233324620bee8895522d19e2 | [
"MIT"
] | 5 | 2018-08-01T11:13:27.000Z | 2021-05-06T11:15:05.000Z | from .settings import *
from .storage import *
from .tasks import *
from .utils import *
| 17.8 | 23 | 0.730337 | 12 | 89 | 5.416667 | 0.5 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 4 | 24 | 22.25 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a77597a706ba957c3bb4bebfb222017e4499f08 | 308 | py | Python | app/utils/__init__.py | Jajc09/sifco-api | ef1af2a48513695f7a7a5a82d0d96d1c256908f3 | [
"MIT"
] | null | null | null | app/utils/__init__.py | Jajc09/sifco-api | ef1af2a48513695f7a7a5a82d0d96d1c256908f3 | [
"MIT"
] | null | null | null | app/utils/__init__.py | Jajc09/sifco-api | ef1af2a48513695f7a7a5a82d0d96d1c256908f3 | [
"MIT"
] | null | null | null | # rutas de las diferentes clases a ejecutar dentro de utils
from app.utils.table_for_decision import table_for_decision
from app.utils.decision import decision
from app.utils.create_code import PromotionCode
from app.utils.apply_decision import apply_decision
from app.utils.final_output import file_output | 38.5 | 59 | 0.86039 | 49 | 308 | 5.22449 | 0.44898 | 0.136719 | 0.234375 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 308 | 8 | 60 | 38.5 | 0.927536 | 0.185065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa60081144a5eeca38bde746d7c69254ffa853df | 235 | py | Python | src/runboat/uvicorn.py | gurneyalex/runboat | 597f6b0eb8857ca045f938963c02cd0cf61df467 | [
"MIT"
] | 35 | 2021-11-05T22:55:21.000Z | 2022-03-25T10:07:47.000Z | src/runboat/uvicorn.py | gurneyalex/runboat | 597f6b0eb8857ca045f938963c02cd0cf61df467 | [
"MIT"
] | 42 | 2021-11-13T11:59:27.000Z | 2022-03-23T08:01:54.000Z | src/runboat/uvicorn.py | gurneyalex/runboat | 597f6b0eb8857ca045f938963c02cd0cf61df467 | [
"MIT"
] | 11 | 2021-11-19T07:24:32.000Z | 2022-03-11T08:17:29.000Z | from uvicorn.workers import UvicornWorker
from .settings import settings
class RunboatUvicornWorker(UvicornWorker): # type: ignore
if settings.log_config:
UvicornWorker.CONFIG_KWARGS["log_config"] = settings.log_config
| 26.111111 | 71 | 0.787234 | 26 | 235 | 6.961538 | 0.538462 | 0.149171 | 0.187845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144681 | 235 | 8 | 72 | 29.375 | 0.900498 | 0.051064 | 0 | 0 | 0 | 0 | 0.045249 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa74c24d0dacf3f4e224efc3f9a1a839f3d62b36 | 516 | py | Python | regraph/__init__.py | ismailbennani/ReGraph | bb148a7cbd94e87f622443263e04c3fae2d4d00b | [
"MIT"
] | 54 | 2016-07-20T11:47:07.000Z | 2022-03-28T20:10:29.000Z | regraph/__init__.py | ismailbennani/ReGraph | bb148a7cbd94e87f622443263e04c3fae2d4d00b | [
"MIT"
] | 8 | 2017-02-27T15:36:15.000Z | 2021-01-08T08:37:24.000Z | regraph/__init__.py | ismailbennani/ReGraph | bb148a7cbd94e87f622443263e04c3fae2d4d00b | [
"MIT"
] | 11 | 2016-07-25T13:19:28.000Z | 2022-01-14T07:20:53.000Z | """Global imports for ReGraph's API."""
from regraph.backends.networkx.graphs import NXGraph
from regraph.backends.networkx.hierarchies import NXHierarchy
from regraph.backends.networkx.plotting import *
from regraph.backends.neo4j.graphs import Neo4jGraph
from regraph.backends.neo4j.hierarchies import Neo4jHierarchy,... | 32.25 | 78 | 0.839147 | 64 | 516 | 6.703125 | 0.40625 | 0.230769 | 0.221445 | 0.188811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010707 | 0.094961 | 516 | 15 | 79 | 34.4 | 0.907923 | 0.063953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
aa7b77b8eeaebb3afdb8fcddb349caedd2e64a74 | 7,139 | py | Python | linear/__init__.py | viniCerutti/eel | cd3698b7527a4b9760619ae08f9f88f188f8af13 | [
"MIT"
] | 2 | 2022-03-27T11:38:34.000Z | 2022-03-27T11:38:47.000Z | linear/__init__.py | viniCerutti/eel | cd3698b7527a4b9760619ae08f9f88f188f8af13 | [
"MIT"
] | null | null | null | linear/__init__.py | viniCerutti/eel | cd3698b7527a4b9760619ae08f9f88f188f8af13 | [
"MIT"
] | 1 | 2018-08-21T13:00:40.000Z | 2018-08-21T13:00:40.000Z | from sklearn.ensemble import AdaBoostClassifier
from sklearn.linear_model import LogisticRegression
import numpy as np
__author__ = 'Henry Cagnini'
class LogisticAdaBoost(AdaBoostClassifier):
"""
This class implements AdaBoost with a logistic regression for each class, in order to fine tune the
voting we... | 43.006024 | 109 | 0.651912 | 957 | 7,139 | 4.746082 | 0.15047 | 0.03963 | 0.015852 | 0.029723 | 0.833113 | 0.793263 | 0.781374 | 0.769925 | 0.769925 | 0.743725 | 0 | 0.005491 | 0.260261 | 7,139 | 166 | 110 | 43.006024 | 0.854573 | 0.48116 | 0 | 0.444444 | 0 | 0 | 0.008698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.047619 | 0 | 0.31746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa8b8b11efd00c9132e5032ff992f600fef20dda | 31 | py | Python | scpidev/__init__.py | mrberti/pyscpidev | 967895977083dc34a4c097b6e0ae90ee955d5a2a | [
"MIT"
] | null | null | null | scpidev/__init__.py | mrberti/pyscpidev | 967895977083dc34a4c097b6e0ae90ee955d5a2a | [
"MIT"
] | null | null | null | scpidev/__init__.py | mrberti/pyscpidev | 967895977083dc34a4c097b6e0ae90ee955d5a2a | [
"MIT"
] | null | null | null | from .device import SCPIDevice
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aad9a05b9c2173c960fc5e4aefc06b4bccbfaf67 | 22 | py | Python | emf/fields/enviro/__init__.py | markmbaum/emf | b0656f857bba76881d6ce0626e9f9df9442b3194 | [
"MIT"
] | 1 | 2020-11-06T08:20:04.000Z | 2020-11-06T08:20:04.000Z | emf/fields/enviro/__init__.py | markmbaum/emf | b0656f857bba76881d6ce0626e9f9df9442b3194 | [
"MIT"
] | null | null | null | emf/fields/enviro/__init__.py | markmbaum/emf | b0656f857bba76881d6ce0626e9f9df9442b3194 | [
"MIT"
] | null | null | null | from .enviro import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ac9174584fdb9811e9deed17a955f0b12feb985 | 25 | py | Python | restrecord/__init__.py | mu2019/pyrestrecord | 477d682e181712aa25f4ebc034e08427b2c8c2cd | [
"MIT"
] | null | null | null | restrecord/__init__.py | mu2019/pyrestrecord | 477d682e181712aa25f4ebc034e08427b2c8c2cd | [
"MIT"
] | null | null | null | restrecord/__init__.py | mu2019/pyrestrecord | 477d682e181712aa25f4ebc034e08427b2c8c2cd | [
"MIT"
] | null | null | null | from .restrecord import * | 25 | 25 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2afeb5fe6b0fc1db69689df81e9f8ad89f920d27 | 1,134 | py | Python | data/gen_sad_guess.py | huanghua1994/YATDFT | 53753c23870ba5a0c2aa4604a2ee04d21ae82a6b | [
"BSD-3-Clause"
] | null | null | null | data/gen_sad_guess.py | huanghua1994/YATDFT | 53753c23870ba5a0c2aa4604a2ee04d21ae82a6b | [
"BSD-3-Clause"
] | null | null | null | data/gen_sad_guess.py | huanghua1994/YATDFT | 53753c23870ba5a0c2aa4604a2ee04d21ae82a6b | [
"BSD-3-Clause"
] | null | null | null | import sys
import numpy as np
from pyscf import gto, scf
basisname = 'augccpvdz'
mol = gto.M(atom='''C 0 0 0''', basis=basisname, cart=True, charge=0);
guess = scf.hf.init_guess_by_atom(mol)
np.savetxt('C.dat', guess.reshape(guess.size,1))
mol = gto.M(atom='''H 0 0 0''', basis=basisname, cart=True, charge=-1);
gue... | 29.842105 | 72 | 0.664903 | 218 | 1,134 | 3.376147 | 0.188073 | 0.032609 | 0.057065 | 0.089674 | 0.841033 | 0.841033 | 0.807065 | 0.807065 | 0.807065 | 0.807065 | 0 | 0.041794 | 0.134921 | 1,134 | 37 | 73 | 30.648649 | 0.708461 | 0.054674 | 0 | 0.272727 | 0 | 0 | 0.082153 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.136364 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2dd02fb2b296d276135a30979cdf448e4feea278 | 70 | py | Python | models/__init__.py | xinqi-fan/SL-FMDet | 8e938cefecc758c04f679bbf157773044d4be103 | [
"MIT"
] | 2 | 2022-01-05T10:17:31.000Z | 2022-01-05T10:17:36.000Z | models/__init__.py | xinqi-fan/Face_Mask_Detection | 8e938cefecc758c04f679bbf157773044d4be103 | [
"MIT"
] | 1 | 2022-03-23T09:41:34.000Z | 2022-03-23T09:41:34.000Z | models/__init__.py | xinqi-fan/SL-FMDet | 8e938cefecc758c04f679bbf157773044d4be103 | [
"MIT"
] | null | null | null | from .detector import *
from .attentions import *
from .net import * | 23.333333 | 26 | 0.728571 | 9 | 70 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 70 | 3 | 27 | 23.333333 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
931d26fe8cca4ee4a4612646f354e73e0c793e94 | 62 | py | Python | simfempy/test/test.py | beckerrh/fempy | dd7214ea7f6d81a5200fcb4a91f07a5cd3322e9e | [
"MIT"
] | null | null | null | simfempy/test/test.py | beckerrh/fempy | dd7214ea7f6d81a5200fcb4a91f07a5cd3322e9e | [
"MIT"
] | 3 | 2018-12-18T16:36:52.000Z | 2019-01-29T18:34:55.000Z | simfempy/test/test.py | beckerrh/fempy | dd7214ea7f6d81a5200fcb4a91f07a5cd3322e9e | [
"MIT"
] | null | null | null | import test_elliptic
import test_stokes
import test_elasticity | 20.666667 | 22 | 0.919355 | 9 | 62 | 6 | 0.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 62 | 3 | 22 | 20.666667 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
93282594300b08bc864632e272853ebbe1b7ca6a | 30 | py | Python | dask_geomodeling/core/__init__.py | wietzesuijker/dask-geomodeling | e6596032fadfc83ac4868dd95152a48c38a8dd1c | [
"BSD-3-Clause"
] | 24 | 2019-10-10T21:39:36.000Z | 2022-02-20T21:06:33.000Z | dask_geomodeling/core/__init__.py | wietzesuijker/dask-geomodeling | e6596032fadfc83ac4868dd95152a48c38a8dd1c | [
"BSD-3-Clause"
] | 40 | 2019-09-06T09:17:09.000Z | 2022-01-31T11:12:46.000Z | dask_geomodeling/core/__init__.py | wietzesuijker/dask-geomodeling | e6596032fadfc83ac4868dd95152a48c38a8dd1c | [
"BSD-3-Clause"
] | 6 | 2019-10-28T14:13:26.000Z | 2022-03-09T16:02:26.000Z | from .graphs import * # NOQA
| 15 | 29 | 0.666667 | 4 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 1 | 30 | 30 | 0.869565 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
932a1e01c882a86d7668ae9553849edf8c04c685 | 206 | py | Python | views.py | leebourne/django-social-auth | 094788f304836aeb0c90c17172bd11493dcf6326 | [
"Apache-2.0"
] | null | null | null | views.py | leebourne/django-social-auth | 094788f304836aeb0c90c17172bd11493dcf6326 | [
"Apache-2.0"
] | null | null | null | views.py | leebourne/django-social-auth | 094788f304836aeb0c90c17172bd11493dcf6326 | [
"Apache-2.0"
] | null | null | null | from django.conf import settings
from django.shortcuts import render
def require_company(request):
return render(request, 'myapp/register.html', backend=request.session['partial_pipeline']['backend'])
| 34.333333 | 105 | 0.796117 | 26 | 206 | 6.230769 | 0.730769 | 0.123457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092233 | 206 | 5 | 106 | 41.2 | 0.86631 | 0 | 0 | 0 | 0 | 0 | 0.203884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9336a5b3c41823c95127d16fc25360b08b08f4b3 | 67 | py | Python | deep_qa/training/__init__.py | richarajpal/deep_qa | d918335a1bed71b9cfccf1d5743321cee9c61952 | [
"Apache-2.0"
] | 459 | 2017-02-08T13:40:17.000Z | 2021-12-12T12:57:48.000Z | deep_qa/training/__init__.py | richarajpal/deep_qa | d918335a1bed71b9cfccf1d5743321cee9c61952 | [
"Apache-2.0"
] | 176 | 2017-01-26T01:19:41.000Z | 2018-04-22T19:16:01.000Z | deep_qa/training/__init__.py | richarajpal/deep_qa | d918335a1bed71b9cfccf1d5743321cee9c61952 | [
"Apache-2.0"
] | 154 | 2017-01-26T01:00:30.000Z | 2021-02-05T10:44:42.000Z | from .text_trainer import TextTrainer
from .trainer import Trainer
| 22.333333 | 37 | 0.850746 | 9 | 67 | 6.222222 | 0.555556 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 2 | 38 | 33.5 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
933dde642b4a8e25d092a29269f823325358dcf4 | 34 | py | Python | env/Lib/site-packages/win32/taskscheduler/__init__.py | Daniel-Key/HearStone-Python | 981584d2b9502319393bd92b48f0ec8d906b4d44 | [
"MIT"
] | null | null | null | env/Lib/site-packages/win32/taskscheduler/__init__.py | Daniel-Key/HearStone-Python | 981584d2b9502319393bd92b48f0ec8d906b4d44 | [
"MIT"
] | 1 | 2020-10-27T14:44:08.000Z | 2020-10-27T14:44:08.000Z | env/Lib/site-packages/win32/taskscheduler/__init__.py | Daniel-Key/HearStone-Python | 981584d2b9502319393bd92b48f0ec8d906b4d44 | [
"MIT"
] | null | null | null | from win32._taskscheduler import * | 34 | 34 | 0.852941 | 4 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.088235 | 34 | 1 | 34 | 34 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
93494de5b4241376c0db8815329abffd3e70a787 | 161 | py | Python | setupext/__init__.py | rbprogrammer/jpype | ca0ba0c977861fecb55e0940aaf71222f1759388 | [
"Apache-2.0"
] | null | null | null | setupext/__init__.py | rbprogrammer/jpype | ca0ba0c977861fecb55e0940aaf71222f1759388 | [
"Apache-2.0"
] | null | null | null | setupext/__init__.py | rbprogrammer/jpype | ca0ba0c977861fecb55e0940aaf71222f1759388 | [
"Apache-2.0"
] | null | null | null | from . import utils
from . import dist
from . import platform
from . import build_ext
from . import build_java
from . import build_thunk
from . import test_java
| 20.125 | 25 | 0.782609 | 25 | 161 | 4.88 | 0.4 | 0.57377 | 0.368852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 161 | 7 | 26 | 23 | 0.917293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fae91d0a014f3042d80030f51b28949ea2574a46 | 1,497 | py | Python | employee/test.py | ajaykrprajapati/django_ems | 0cc4e487e109344ec63dd7e477b38b1b0a45b747 | [
"MIT"
] | null | null | null | employee/test.py | ajaykrprajapati/django_ems | 0cc4e487e109344ec63dd7e477b38b1b0a45b747 | [
"MIT"
] | null | null | null | employee/test.py | ajaykrprajapati/django_ems | 0cc4e487e109344ec63dd7e477b38b1b0a45b747 | [
"MIT"
] | null | null | null | body = str('{\"case_id\": \"5005w00001iNMfdAAG\",\"from_address\": \"kim@curlmix.com\",\"ext_id\": \"02s5w00001jWFPVAA4\",\"status\": \"0\",\"subject\": \"Re: Hey, I keep making but my account balance is not making any money available.\",\"to_address\": \"support@brex.com\",\"content\": \"Hi Eric, can you please explai... | 374.25 | 1,461 | 0.696727 | 255 | 1,497 | 4.054902 | 0.627451 | 0.021277 | 0.011605 | 0.007737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058015 | 0.124917 | 1,497 | 4 | 1,462 | 374.25 | 0.731298 | 0 | 0 | 0 | 0 | 0.333333 | 0.724299 | 0.110814 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
354ff66d0586d21b6b8d0314e1606563a057a837 | 137 | py | Python | OOPHerySchool/__init__.py | Thitphavanh/OOPSchool | ebb312ef5c5e66ebf725bf7a10eddc8061e247e7 | [
"MIT"
] | null | null | null | OOPHerySchool/__init__.py | Thitphavanh/OOPSchool | ebb312ef5c5e66ebf725bf7a10eddc8061e247e7 | [
"MIT"
] | null | null | null | OOPHerySchool/__init__.py | Thitphavanh/OOPSchool | ebb312ef5c5e66ebf725bf7a10eddc8061e247e7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8- -*-
from OOPHerySchool.school import Student,Tesla,SpecialStudent,Teacher
from OOPHerySchool.newschool import Test | 45.666667 | 70 | 0.788321 | 16 | 137 | 6.75 | 0.8125 | 0.314815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.10219 | 137 | 3 | 71 | 45.666667 | 0.869919 | 0.160584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35567483c28ec682e12766e0cc20f9066ad89706 | 28 | py | Python | catkin_ws/devel/lib/python2.7/dist-packages/beginner_tutorials/msg/__init__.py | lies98/ROS_chasing_ball | 6e1f08ed51a5b5f0c7b0bdebfb1bef2d3fe61949 | [
"MIT"
] | null | null | null | catkin_ws/devel/lib/python2.7/dist-packages/beginner_tutorials/msg/__init__.py | lies98/ROS_chasing_ball | 6e1f08ed51a5b5f0c7b0bdebfb1bef2d3fe61949 | [
"MIT"
] | null | null | null | catkin_ws/devel/lib/python2.7/dist-packages/beginner_tutorials/msg/__init__.py | lies98/ROS_chasing_ball | 6e1f08ed51a5b5f0c7b0bdebfb1bef2d3fe61949 | [
"MIT"
] | null | null | null | from ._valueMatrix import *
| 14 | 27 | 0.785714 | 3 | 28 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
358c85b8668264e3a92c99ae0e3255da94f3a83f | 26 | py | Python | release/androide/__init__.py | ashishb/androidtool | bfd08769c32f4d96cac156e42d9c8d07ede000b6 | [
"Apache-2.0"
] | 24 | 2019-02-06T09:49:13.000Z | 2022-01-17T23:19:28.000Z | release/androide/__init__.py | ashishb/android-sdk-enhanced | bfd08769c32f4d96cac156e42d9c8d07ede000b6 | [
"Apache-2.0"
] | 4 | 2019-01-14T19:46:34.000Z | 2019-01-23T18:07:15.000Z | release/androide/__init__.py | ashishb/android-sdk-enhanced | bfd08769c32f4d96cac156e42d9c8d07ede000b6 | [
"Apache-2.0"
] | 4 | 2019-06-12T21:32:12.000Z | 2020-07-31T11:19:16.000Z | from androide import main
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
358dac22137fda64014740aa1b5f8e7d0a489948 | 6,081 | py | Python | tests/test_grpc_check.py | topotal/datadog-grpc-check | f28d10a7989cf0f8f9b150f27d483a913d3ca343 | [
"MIT"
] | 2 | 2022-03-30T07:30:47.000Z | 2022-03-30T09:22:51.000Z | tests/test_grpc_check.py | topotal/datadog-grpc-check | f28d10a7989cf0f8f9b150f27d483a913d3ca343 | [
"MIT"
] | null | null | null | tests/test_grpc_check.py | topotal/datadog-grpc-check | f28d10a7989cf0f8f9b150f27d483a913d3ca343 | [
"MIT"
] | null | null | null | import os
import sys
import unittest
from unittest.mock import ANY, patch
sys.path.append('{}/../checks.d/'.format(os.path.dirname(__file__)))
import grpc_check
from datadog_checks.base import ConfigurationError
from datadog_checks.base.errors import CheckException
class TestGrpcCheck(unittest.TestCase):
def t... | 33.596685 | 100 | 0.594803 | 678 | 6,081 | 5.140118 | 0.131268 | 0.080057 | 0.030129 | 0.042181 | 0.832138 | 0.808034 | 0.788809 | 0.774462 | 0.747489 | 0.695265 | 0 | 0.065285 | 0.261963 | 6,081 | 180 | 101 | 33.783333 | 0.71123 | 0 | 0 | 0.591837 | 0 | 0 | 0.210821 | 0.070548 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.081633 | false | 0 | 0.047619 | 0 | 0.136054 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35b73a90c187b3da9b4dcfd6cde943db1882f295 | 4,927 | py | Python | Python/Programming Basics/Simple Conditional Statements/08. Metric Converter.py | teodoramilcheva/softuni-software-engineering | 98dc9faa66f42570f6538fd7ef186d2bd1d39bff | [
"MIT"
] | null | null | null | Python/Programming Basics/Simple Conditional Statements/08. Metric Converter.py | teodoramilcheva/softuni-software-engineering | 98dc9faa66f42570f6538fd7ef186d2bd1d39bff | [
"MIT"
] | null | null | null | Python/Programming Basics/Simple Conditional Statements/08. Metric Converter.py | teodoramilcheva/softuni-software-engineering | 98dc9faa66f42570f6538fd7ef186d2bd1d39bff | [
"MIT"
] | null | null | null | input_amount = float(input())
input_type = input()
result_type = input()
m = float(1)
mm = 1 / 1000
cm = 1 / 100
mi = 1 / 0.000621371192
inch = 1 / 39.3700787
km = 1 / 0.001
ft = 1 / 3.2808399
yd = 1 / 1.0936133
result = 0
if result_type == 'm':
if input_type == 'm':
result = input_amount / m * m
eli... | 30.042683 | 43 | 0.55551 | 663 | 4,927 | 3.917044 | 0.049774 | 0.275318 | 0.418945 | 0.036966 | 0.825568 | 0.825568 | 0.825568 | 0.736234 | 0 | 0 | 0 | 0.01767 | 0.322306 | 4,927 | 163 | 44 | 30.226994 | 0.760108 | 0 | 0 | 0.421053 | 0 | 0 | 0.035316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.013158 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 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 | 6 |
35c45c5e2d32f26f468801e437f4939b7543c3ca | 1,470 | py | Python | codewars/8kyu/mohamedashrafamin/Are_You_Playing_Banjo?/main.py | mohamedashrafamin/Training_one | 11748fdde85cdc9083e2b0bde7519b51a7acfa62 | [
"MIT"
] | null | null | null | codewars/8kyu/mohamedashrafamin/Are_You_Playing_Banjo?/main.py | mohamedashrafamin/Training_one | 11748fdde85cdc9083e2b0bde7519b51a7acfa62 | [
"MIT"
] | 2 | 2019-01-22T10:53:42.000Z | 2019-01-31T08:02:48.000Z | codewars/8kyu/mohamedashrafamin/Are_You_Playing_Banjo?/main.py | mohamedashrafamin/Training_one | 11748fdde85cdc9083e2b0bde7519b51a7acfa62 | [
"MIT"
] | 13 | 2019-01-22T10:37:42.000Z | 2019-01-25T13:30:43.000Z | def areYouPlayingBanjo(name):
return name + " plays banjo" if name[0] == 'r' or name[0] == 'R' else name + " does not play banjo"
def areYouPlayingBanjo1(name):
return name + (' plays' if name[0].lower() == 'r' else ' does not play') + " banjo"
# --------------------------------------------------------------... | 105 | 210 | 0.297959 | 123 | 1,470 | 3.560976 | 0.617886 | 0.031963 | 0.063927 | 0.086758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144136 | 0.240136 | 1,470 | 13 | 211 | 113.076923 | 0.247986 | 0.817007 | 0 | 0 | 0 | 0 | 0.232824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ea0e902a18f087b96834ed4c31e545ea162221e2 | 148 | py | Python | Python/8 - kyu/8 kyu - Even or Odd.py | danielbom/codewars | d45b5a813c6f1d952a50d22f0b2fcea4ef3d0e27 | [
"MIT"
] | null | null | null | Python/8 - kyu/8 kyu - Even or Odd.py | danielbom/codewars | d45b5a813c6f1d952a50d22f0b2fcea4ef3d0e27 | [
"MIT"
] | null | null | null | Python/8 - kyu/8 kyu - Even or Odd.py | danielbom/codewars | d45b5a813c6f1d952a50d22f0b2fcea4ef3d0e27 | [
"MIT"
] | null | null | null | # https://www.codewars.com/kata/even-or-odd/train/python
# My solution
def even_or_odd(number):
return "Even" if number % 2 == 0 else "Odd"
| 29.6 | 57 | 0.675676 | 25 | 148 | 3.92 | 0.76 | 0.122449 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0.168919 | 148 | 4 | 58 | 37 | 0.780488 | 0.445946 | 0 | 0 | 0 | 0 | 0.093333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ea96f60599d336d26e071931d25f4cb0ed0098d3 | 266 | py | Python | cosmopolitan/management/commands/service/__init__.py | openspending/cosmopolitan | f9cdfcee5138fb7157f511db18f631008a273fa5 | [
"MIT"
] | 4 | 2015-11-25T14:21:22.000Z | 2017-04-07T08:05:58.000Z | cosmopolitan/management/commands/service/__init__.py | openspending/cosmopolitan | f9cdfcee5138fb7157f511db18f631008a273fa5 | [
"MIT"
] | 21 | 2015-11-29T16:23:52.000Z | 2017-06-06T10:24:49.000Z | cosmopolitan/management/commands/service/__init__.py | openspending/cosmopolitan | f9cdfcee5138fb7157f511db18f631008a273fa5 | [
"MIT"
] | 4 | 2016-01-21T19:06:03.000Z | 2021-05-07T16:12:57.000Z | def _super_log(message):
print("-" * 18)
print(message)
print("-" * 18 + "\n")
def _format_ogr2ogr(path='', file_name=''):
return "ogr2ogr -f 'Polygon' %(path)s.Polygon %(path)s/%(file_name)s.shp" % \
{'path': path, 'file_name': file_name}
| 26.6 | 81 | 0.582707 | 36 | 266 | 4.083333 | 0.472222 | 0.217687 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0.195489 | 266 | 9 | 82 | 29.555556 | 0.658879 | 0 | 0 | 0 | 0 | 0.142857 | 0.304511 | 0.097744 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.428571 | 0.428571 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
57e25585f8ae0203354190ebbf21d865737d4e89 | 17,772 | py | Python | RI/flask_server/tapi_server/test/test_tapi_odu_controller.py | arthurMll/TAPI | e1171bb139c6791a953af09cfc2bc7ad928da73d | [
"Apache-2.0"
] | 57 | 2018-04-09T08:56:18.000Z | 2022-03-23T08:31:06.000Z | RI/flask_server/tapi_server/test/test_tapi_odu_controller.py | arthurMll/TAPI | e1171bb139c6791a953af09cfc2bc7ad928da73d | [
"Apache-2.0"
] | 143 | 2016-06-08T04:09:54.000Z | 2018-02-23T10:45:59.000Z | RI/flask_server/tapi_server/test/test_tapi_odu_controller.py | arthurMll/TAPI | e1171bb139c6791a953af09cfc2bc7ad928da73d | [
"Apache-2.0"
] | 64 | 2018-03-07T07:55:17.000Z | 2022-03-28T07:14:28.000Z | # coding: utf-8
from __future__ import absolute_import
from flask import json
from six import BytesIO
from tapi_server.models.tapi_odu_deg_thr import TapiOduDegThr # noqa: E501
from tapi_server.models.tapi_odu_odu_common_pac import TapiOduOduCommonPac # noqa: E501
from tapi_server.models.tapi_odu_odu_connection_en... | 64.391304 | 448 | 0.748875 | 2,437 | 17,772 | 4.989331 | 0.043496 | 0.078049 | 0.090303 | 0.072539 | 0.936919 | 0.931902 | 0.928695 | 0.928448 | 0.925076 | 0.887573 | 0 | 0.009104 | 0.153219 | 17,772 | 275 | 449 | 64.625455 | 0.798857 | 0.204423 | 0 | 0.564103 | 0 | 0.141026 | 0.31984 | 0.232312 | 0 | 0 | 0 | 0 | 0.141026 | 1 | 0.141026 | false | 0 | 0.134615 | 0 | 0.282051 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
17c0233fedeca798ae4cc97377008d42fbf28975 | 258,315 | py | Python | instances/passenger_demand/pas-20210422-1717-int1/29.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/29.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/29.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 19166
passenger_arriving = (
(7, 4, 1, 8, 4, 1, 4, 1, 0, 1, 1, 2, 0, 3, 5, 2, 2, 5, 0, 4, 1, 5, 0, 1, 1, 0), # 0
(3, 9, 6, 7, 6, 1, 3, 1, 3, 1, 0, 0, 0, 7, 2, 6, 2, 3, 5, 5, 2, 1, 1, 0, 0, 0), # 1
(6, 6, 3, 3, 2, 3, 1, 5, 0, 1, 1, 0, 0, 1, 6, 8, 3, 5, 3, 1, 0, 1, 0, 0, 1, 0), ... | 276.272727 | 494 | 0.769568 | 32,987 | 258,315 | 6.02601 | 0.217176 | 0.358587 | 0.344099 | 0.651977 | 0.375496 | 0.367215 | 0.364971 | 0.364131 | 0.364051 | 0.364051 | 0 | 0.849817 | 0.095751 | 258,315 | 934 | 495 | 276.568522 | 0.001194 | 0.015528 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa1263ad1d0d68d5aaa6f05ad5a2680cd9382508 | 97 | py | Python | zipline/pipeline/classifier.py | otmaneJai/Zipline | 2bb87cbd23fc960af2c46d9580baf95ed454c39a | [
"Apache-2.0"
] | null | null | null | zipline/pipeline/classifier.py | otmaneJai/Zipline | 2bb87cbd23fc960af2c46d9580baf95ed454c39a | [
"Apache-2.0"
] | null | null | null | zipline/pipeline/classifier.py | otmaneJai/Zipline | 2bb87cbd23fc960af2c46d9580baf95ed454c39a | [
"Apache-2.0"
] | null | null | null | """
classifier.py
"""
from zipline.pipeline.term import Term
class Classifier(Term):
pass
| 9.7 | 38 | 0.701031 | 12 | 97 | 5.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 97 | 9 | 39 | 10.777778 | 0.85 | 0.134021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
aa4264e01afa803ba4af032b2b52983b0ffac309 | 233 | py | Python | src/sage/combinat/matrices/__init__.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 10 | 2018-06-01T21:54:53.000Z | 2022-03-14T20:11:34.000Z | src/sage/combinat/matrices/__init__.py | Ivo-Maffei/sage | 467fbc70a08b552b3de33d9065204ee9cbfb02c7 | [
"BSL-1.0"
] | 2 | 2018-10-30T13:40:20.000Z | 2020-07-23T12:13:30.000Z | src/sage/combinat/matrices/__init__.py | dimpase/sage | 468f23815ade42a2192b0a9cd378de8fdc594dcd | [
"BSL-1.0"
] | 15 | 2020-07-23T10:46:25.000Z | 2022-01-25T15:37:24.000Z | r"""
Combinatorics on matrices
=========================
- :ref:`sage.combinat.matrices.dancing_links`
- :ref:`sage.combinat.matrices.dlxcpp`
- :ref:`sage.combinat.matrices.hadamard_matrix`
- :ref:`sage.combinat.matrices.latin`
"""
| 23.3 | 47 | 0.665236 | 26 | 233 | 5.884615 | 0.5 | 0.183007 | 0.392157 | 0.601307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064378 | 233 | 9 | 48 | 25.888889 | 0.701835 | 0.957082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa46cc79812b79e96a00d6cca5b8248cf061c21c | 28 | py | Python | ENXEASY/__init__.py | pnnayyeri/ENX16EASY | afb7f6d90ae4edb638812aff5407dd678b845a56 | [
"MIT"
] | 1 | 2021-11-04T10:35:47.000Z | 2021-11-04T10:35:47.000Z | ENXEASY/__init__.py | pnnayyeri/ENXEASY | afb7f6d90ae4edb638812aff5407dd678b845a56 | [
"MIT"
] | null | null | null | ENXEASY/__init__.py | pnnayyeri/ENXEASY | afb7f6d90ae4edb638812aff5407dd678b845a56 | [
"MIT"
] | null | null | null | from ENXEASY import Encoder
| 14 | 27 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4d529885944440ff06e7656871960394ef27c5d | 83 | py | Python | DefaultPythonSource/TA/TAPython/Python/QueryTools/__init__.py | cgerchenhp/TAPython_DefaultResources | 785175cbd93c4dd2185a64b7942d66fa8c2d8bea | [
"MIT"
] | null | null | null | DefaultPythonSource/TA/TAPython/Python/QueryTools/__init__.py | cgerchenhp/TAPython_DefaultResources | 785175cbd93c4dd2185a64b7942d66fa8c2d8bea | [
"MIT"
] | null | null | null | DefaultPythonSource/TA/TAPython/Python/QueryTools/__init__.py | cgerchenhp/TAPython_DefaultResources | 785175cbd93c4dd2185a64b7942d66fa8c2d8bea | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from . import queryTools
from . import ObjectDetailViewer
| 16.6 | 32 | 0.698795 | 9 | 83 | 6.444444 | 0.777778 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.168675 | 83 | 4 | 33 | 20.75 | 0.826087 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
352ac7431dbec23991c059f443a5ce63644b9f68 | 24 | py | Python | notest.py | ankitjaindce/public-test | c7782497a8f5e95ab1548467bc62abd3fe72878d | [
"MIT"
] | null | null | null | notest.py | ankitjaindce/public-test | c7782497a8f5e95ab1548467bc62abd3fe72878d | [
"MIT"
] | null | null | null | notest.py | ankitjaindce/public-test | c7782497a8f5e95ab1548467bc62abd3fe72878d | [
"MIT"
] | 1 | 2020-05-04T01:46:10.000Z | 2020-05-04T01:46:10.000Z | print("no")
assert True
| 8 | 11 | 0.708333 | 4 | 24 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 2 | 12 | 12 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1031276a2544fad7a9ac8ce7dd5096dc1c397671 | 172 | py | Python | pyfi/calendar/__init__.py | rlinguri/pyfi | 08cccda7eab1119a2a82d265a015c95ba9bf4431 | [
"MIT"
] | null | null | null | pyfi/calendar/__init__.py | rlinguri/pyfi | 08cccda7eab1119a2a82d265a015c95ba9bf4431 | [
"MIT"
] | null | null | null | pyfi/calendar/__init__.py | rlinguri/pyfi | 08cccda7eab1119a2a82d265a015c95ba9bf4431 | [
"MIT"
] | 1 | 2019-01-12T17:02:01.000Z | 2019-01-12T17:02:01.000Z | #!/usr/bin/env python
from pyfi.calendar.calendar import *
from pyfi.calendar.session import *
from pyfi.calendar.tick import *
__all__ = ['Calendar', 'Session', 'Tick']
| 21.5 | 41 | 0.732558 | 23 | 172 | 5.304348 | 0.478261 | 0.196721 | 0.393443 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122093 | 172 | 7 | 42 | 24.571429 | 0.807947 | 0.116279 | 0 | 0 | 0 | 0 | 0.125828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1088967728630ed839af102b745f2b504f5b7f2d | 6,453 | py | Python | tests/layer_tests/tensorflow_tests/test_tf_StridedSlice.py | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 1,127 | 2018-10-15T14:36:58.000Z | 2020-04-20T09:29:44.000Z | tests/layer_tests/tensorflow_tests/test_tf_StridedSlice.py | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 439 | 2018-10-20T04:40:35.000Z | 2020-04-19T05:56:25.000Z | tests/layer_tests/tensorflow_tests/test_tf_StridedSlice.py | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 414 | 2018-10-17T05:53:46.000Z | 2020-04-16T17:29:53.000Z | # Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import pytest
from common.tf_layer_test_class import CommonTFLayerTest
class TestStridedSlice(CommonTFLayerTest):
@staticmethod
def create_strided_slice_net(input_shape, begin, end, strides, begin_mask, end_mask,
... | 59.201835 | 100 | 0.568883 | 1,020 | 6,453 | 3.329412 | 0.082353 | 0.117786 | 0.025618 | 0.064782 | 0.81331 | 0.773263 | 0.757951 | 0.722026 | 0.721437 | 0.702297 | 0 | 0.0869 | 0.286688 | 6,453 | 108 | 101 | 59.75 | 0.65088 | 0.015652 | 0 | 0.494505 | 0 | 0 | 0.002679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032967 | false | 0 | 0.032967 | 0 | 0.10989 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
52c7d42f6358fae9145228d59cc98bbee2cfeff2 | 1,381 | py | Python | tests/sentry/web/frontend/generic/test_static_media.py | mattrobenolt/sentry | 3468714db277391de6cbcfda20842e6b460eecb3 | [
"BSD-3-Clause"
] | 20 | 2016-10-01T04:29:24.000Z | 2020-10-09T07:23:34.000Z | tests/sentry/web/frontend/generic/test_static_media.py | mattrobenolt/sentry | 3468714db277391de6cbcfda20842e6b460eecb3 | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/web/frontend/generic/test_static_media.py | mattrobenolt/sentry | 3468714db277391de6cbcfda20842e6b460eecb3 | [
"BSD-3-Clause"
] | 7 | 2016-10-27T05:12:45.000Z | 2021-05-01T14:29:53.000Z | from __future__ import absolute_import
from sentry.testutils import TestCase
class StaticMediaTest(TestCase):
def test_basic(self):
url = '/_static/sentry/app/index.js'
response = self.client.get(url)
assert response.status_code == 200, response
assert 'Cache-Control' not in respo... | 37.324324 | 77 | 0.660391 | 164 | 1,381 | 5.457317 | 0.25 | 0.18771 | 0.143017 | 0.127374 | 0.701676 | 0.701676 | 0.701676 | 0.701676 | 0.701676 | 0.701676 | 0 | 0.041667 | 0.235337 | 1,381 | 36 | 78 | 38.361111 | 0.805871 | 0 | 0 | 0.633333 | 0 | 0 | 0.246923 | 0.195511 | 0 | 0 | 0 | 0 | 0.533333 | 1 | 0.1 | false | 0 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e0a410093cd637109193244a89c61ba50f83ea9 | 41 | py | Python | o365_sharepoint_connector/__init__.py | Bystroushaak/Office365SharepointConnector | e0e3a60f8adec669469ea923938a3349de1ce52a | [
"MIT"
] | null | null | null | o365_sharepoint_connector/__init__.py | Bystroushaak/Office365SharepointConnector | e0e3a60f8adec669469ea923938a3349de1ce52a | [
"MIT"
] | 2 | 2018-10-13T13:59:27.000Z | 2020-09-26T08:02:46.000Z | o365_sharepoint_connector/__init__.py | Bystroushaak/Office365SharepointConnector | e0e3a60f8adec669469ea923938a3349de1ce52a | [
"MIT"
] | null | null | null | from .o365_sharepoint_connector import *
| 20.5 | 40 | 0.853659 | 5 | 41 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.097561 | 41 | 1 | 41 | 41 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc1a9aeadcc3f59a804dbcdacd00abff4f3251d9 | 96 | py | Python | twontw/models/__init__.py | arasumran/TEONTE | 4ca6cf5752c9fa710c56fc7268fb38ac9ccbb0b7 | [
"MIT"
] | null | null | null | twontw/models/__init__.py | arasumran/TEONTE | 4ca6cf5752c9fa710c56fc7268fb38ac9ccbb0b7 | [
"MIT"
] | 3 | 2021-03-31T18:55:26.000Z | 2021-12-13T19:51:46.000Z | twontw/models/__init__.py | arasumran/TEONTE | 4ca6cf5752c9fa710c56fc7268fb38ac9ccbb0b7 | [
"MIT"
] | null | null | null | from .user_data_storage import *
from .url_queue_watch import *
from .users_watched_url import * | 32 | 32 | 0.822917 | 15 | 96 | 4.866667 | 0.666667 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 96 | 3 | 33 | 32 | 0.858824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc93d319140ad2f4c5de6cc3d01fe6edda54d66e | 165 | py | Python | djantimat/admin.py | PixxxeL/djantimat | ade1cd7e0a991c1c8c29e3be8469069cf99e15bd | [
"MIT"
] | 13 | 2017-04-02T07:55:04.000Z | 2021-05-23T20:47:41.000Z | djantimat/admin.py | PixxxeL/djantimat | ade1cd7e0a991c1c8c29e3be8469069cf99e15bd | [
"MIT"
] | null | null | null | djantimat/admin.py | PixxxeL/djantimat | ade1cd7e0a991c1c8c29e3be8469069cf99e15bd | [
"MIT"
] | 19 | 2017-01-05T19:43:14.000Z | 2022-03-22T21:29:01.000Z | # -*- coding: utf-8 -*-
from .models import Slang
from django.contrib import admin
class SlangAdmin(admin.ModelAdmin):pass
admin.site.register(Slang, SlangAdmin)
| 18.333333 | 39 | 0.757576 | 22 | 165 | 5.681818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.121212 | 165 | 8 | 40 | 20.625 | 0.855172 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
dcbb5e399bf899bd411607d743f684979afef7dc | 21 | py | Python | test_script.py | tacaswell/twintel | 3e00f63b93ebdfb194d21cdb436f3f215eab991a | [
"MIT"
] | 5 | 2019-03-10T16:55:21.000Z | 2020-10-26T08:44:32.000Z | test_script.py | tacaswell/twintel | 3e00f63b93ebdfb194d21cdb436f3f215eab991a | [
"MIT"
] | 2 | 2019-07-16T07:10:24.000Z | 2020-05-26T02:47:50.000Z | test_script.py | tacaswell/twintel | 3e00f63b93ebdfb194d21cdb436f3f215eab991a | [
"MIT"
] | 3 | 2019-07-16T04:11:34.000Z | 2020-10-26T08:44:41.000Z | import twintel as tw
| 10.5 | 20 | 0.809524 | 4 | 21 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4c6fdeb575e90763136a39d4383452b4a4bfe2b | 158 | py | Python | rend/output/pretty.py | saltstack/rend | cfbe365aff9f2177873eac8a38a3b650f704d363 | [
"Apache-2.0"
] | 2 | 2019-09-05T15:14:37.000Z | 2020-04-13T07:40:08.000Z | rend/output/pretty.py | saltstack/rend | cfbe365aff9f2177873eac8a38a3b650f704d363 | [
"Apache-2.0"
] | 1 | 2019-10-11T21:06:01.000Z | 2019-10-11T21:06:01.000Z | rend/output/pretty.py | saltstack/rend | cfbe365aff9f2177873eac8a38a3b650f704d363 | [
"Apache-2.0"
] | 1 | 2019-10-01T19:08:17.000Z | 2019-10-01T19:08:17.000Z | # Import python libs
import pprint
def display(hub, data):
'''
Display the given data using python's pprint
'''
return pprint.pformat(data)
| 15.8 | 48 | 0.664557 | 21 | 158 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240506 | 158 | 9 | 49 | 17.555556 | 0.875 | 0.405063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
f4e7df96e465b296a59d9feee15733313da2c2cf | 44 | py | Python | twitter/__init__.py | brendam/govhack2014 | fbae78495fac5e8c125895dd62baf34750a67aab | [
"MIT"
] | 2 | 2015-01-28T10:19:35.000Z | 2015-06-16T04:00:32.000Z | twitter/__init__.py | makehackvoid/govhack2014 | 82e7a2e7343311d44e2bd7d77a212496aa8054b9 | [
"MIT"
] | null | null | null | twitter/__init__.py | makehackvoid/govhack2014 | 82e7a2e7343311d44e2bd7d77a212496aa8054b9 | [
"MIT"
] | null | null | null | from twitter.twitter import Twitter # noqa
| 22 | 43 | 0.795455 | 6 | 44 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 1 | 44 | 44 | 0.945946 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4f60c1227b20a30d8e3af0e0093c38c833fa542 | 23 | py | Python | demo/__init__.py | DemoSet/swig-practices | cd87c01150854d2cbda2b628f996742d20364fe9 | [
"Apache-2.0"
] | null | null | null | demo/__init__.py | DemoSet/swig-practices | cd87c01150854d2cbda2b628f996742d20364fe9 | [
"Apache-2.0"
] | null | null | null | demo/__init__.py | DemoSet/swig-practices | cd87c01150854d2cbda2b628f996742d20364fe9 | [
"Apache-2.0"
] | null | null | null | from .demo import Pair
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
760f01aa73235ca33b54c201b1ea9d7414a6c999 | 2,830 | py | Python | scripts/test/test_export.py | friendzymes/iGEM-distribution | bf756aadd84b192931854224a2e62800f8b9a34f | [
"CC-BY-4.0"
] | 16 | 2021-08-04T14:46:36.000Z | 2022-01-31T18:16:38.000Z | scripts/test/test_export.py | friendzymes/iGEM-distribution | bf756aadd84b192931854224a2e62800f8b9a34f | [
"CC-BY-4.0"
] | 199 | 2021-07-13T19:27:55.000Z | 2022-03-28T12:27:34.000Z | scripts/test/test_export.py | friendzymes/iGEM-distribution | bf756aadd84b192931854224a2e62800f8b9a34f | [
"CC-BY-4.0"
] | 22 | 2021-08-08T18:27:34.000Z | 2022-02-23T20:39:24.000Z | import unittest
import os
import filecmp
import scripts.scriptutils
from scripts.test.helpers import copy_to_tmp
template_path = os.path.join(os.path.pardir, os.path.pardir, os.path.pardir, 'package template.xlsx')
class TestExportCSV(unittest.TestCase):
def test_csv_export(self):
# copy file into temp ... | 45.645161 | 116 | 0.718728 | 372 | 2,830 | 5.252688 | 0.182796 | 0.055271 | 0.046059 | 0.057318 | 0.842375 | 0.842375 | 0.816786 | 0.816786 | 0.816786 | 0.772774 | 0 | 0 | 0.186926 | 2,830 | 61 | 117 | 46.393443 | 0.849196 | 0.127915 | 0 | 0.459459 | 0 | 0 | 0.229862 | 0.019528 | 0 | 0 | 0 | 0 | 0.108108 | 1 | 0.081081 | false | 0 | 0.135135 | 0 | 0.243243 | 0.108108 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
761a2bcfd071497bc629a3c19735738cb1cf46cf | 110 | py | Python | rogue-gen.py | rf-peixoto/rogue | e7b82d4b5fe453a168008e74528af547449c89fe | [
"MIT"
] | 1 | 2021-12-13T01:18:32.000Z | 2021-12-13T01:18:32.000Z | rogue-gen.py | rf-peixoto/rogue | e7b82d4b5fe453a168008e74528af547449c89fe | [
"MIT"
] | null | null | null | rogue-gen.py | rf-peixoto/rogue | e7b82d4b5fe453a168008e74528af547449c89fe | [
"MIT"
] | 1 | 2021-11-01T21:44:07.000Z | 2021-11-01T21:44:07.000Z | from base64 import b64decode;from requests import get;import sys;exec(b64decode(get(sys.argv[1]).text[2:-2]))
| 55 | 109 | 0.772727 | 19 | 110 | 4.473684 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.072727 | 110 | 1 | 110 | 110 | 0.745098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
52147126833dd496acd51992f4b80fbfc81ba757 | 1,435 | py | Python | sparv/__init__.py | spraakbanken/sparv-pipeline | 7293d42c577afdaf01ce8a936743f8b83d6eb962 | [
"MIT"
] | 17 | 2018-09-21T07:01:45.000Z | 2022-02-24T23:26:49.000Z | sparv/__init__.py | spraakbanken/sparv-pipeline | 7293d42c577afdaf01ce8a936743f8b83d6eb962 | [
"MIT"
] | 146 | 2018-11-13T19:13:25.000Z | 2022-03-31T09:57:56.000Z | sparv/__init__.py | spraakbanken/sparv-pipeline | 7293d42c577afdaf01ce8a936743f8b83d6eb962 | [
"MIT"
] | 5 | 2019-02-14T00:50:38.000Z | 2021-03-29T15:37:41.000Z | """Main Sparv package."""
from sparv.core.registry import annotator, exporter, importer, installer, modelbuilder, wizard
from sparv.util.classes import (AllDocuments, Annotation, AnnotationAllDocs, AnnotationCommonData, AnnotationData,
AnnotationDataAllDocs, Binary, BinaryDir, Config, Co... | 29.285714 | 114 | 0.631359 | 101 | 1,435 | 8.891089 | 0.594059 | 0.020045 | 0.055679 | 0.075724 | 0.844098 | 0.844098 | 0.728285 | 0.728285 | 0.728285 | 0.728285 | 0 | 0.002817 | 0.25784 | 1,435 | 48 | 115 | 29.895833 | 0.840376 | 0.063415 | 0 | 0 | 0 | 0 | 0.286996 | 0.03139 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068182 | 0 | 0.068182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5215a26fbf3d54a3ad05324238e371d33c3ce17c | 22 | py | Python | blog/__init__.py | josephmtinangi/flask-blog | 881fe1ce82b589c836a7e28aef22c2a6e9779e73 | [
"MIT"
] | null | null | null | blog/__init__.py | josephmtinangi/flask-blog | 881fe1ce82b589c836a7e28aef22c2a6e9779e73 | [
"MIT"
] | null | null | null | blog/__init__.py | josephmtinangi/flask-blog | 881fe1ce82b589c836a7e28aef22c2a6e9779e73 | [
"MIT"
] | null | null | null | from .blog import app
| 11 | 21 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5220d8fde082a0d611557c1ccfdfefc4c3831958 | 4,047 | py | Python | ames/harvesters/eputil.py | caltechlibrary/ames | f285c353da97e21c5233f47f560dc43b7f72f360 | [
"BSD-3-Clause"
] | 5 | 2018-01-16T11:53:12.000Z | 2020-09-01T09:39:49.000Z | ames/harvesters/eputil.py | caltechlibrary/ames | f285c353da97e21c5233f47f560dc43b7f72f360 | [
"BSD-3-Clause"
] | 10 | 2018-03-27T18:23:19.000Z | 2019-05-01T21:35:43.000Z | ames/harvesters/eputil.py | caltechlibrary/ames | f285c353da97e21c5233f47f560dc43b7f72f360 | [
"BSD-3-Clause"
] | 3 | 2018-03-18T11:19:52.000Z | 2022-02-07T14:29:04.000Z | #
# eputil.py is a Python 3.7 wrapper for the Go eprinttools
# eputil command line program.
#
# For Go package see https://github.com/caltechlibrary/eprinttools.
#
import json
import sys, os, inspect
import ames
from subprocess import run
# get path to executible
def get_eputil_exec():
platform = sys.platform
... | 28.702128 | 68 | 0.614529 | 580 | 4,047 | 4.205172 | 0.22069 | 0.04428 | 0.02706 | 0.01722 | 0.745387 | 0.745387 | 0.745387 | 0.717097 | 0.717097 | 0.717097 | 0 | 0.003654 | 0.256239 | 4,047 | 140 | 69 | 28.907143 | 0.806645 | 0.260193 | 0 | 0.726316 | 0 | 0 | 0.147447 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042105 | false | 0 | 0.042105 | 0 | 0.242105 | 0.157895 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5253e3a39b65f9a7ae9fd083ec60f737c0054597 | 2,296 | py | Python | pizza_cutter_sims/tests/test_main.py | beckermr/pizza-cutter-sims | f1e95900ef6ae702d6f5d28877d282166dc14bb2 | [
"BSD-3-Clause"
] | null | null | null | pizza_cutter_sims/tests/test_main.py | beckermr/pizza-cutter-sims | f1e95900ef6ae702d6f5d28877d282166dc14bb2 | [
"BSD-3-Clause"
] | 3 | 2021-04-10T12:19:39.000Z | 2022-01-06T14:17:43.000Z | pizza_cutter_sims/tests/test_main.py | beckermr/pizza-cutter-sims | f1e95900ef6ae702d6f5d28877d282166dc14bb2 | [
"BSD-3-Clause"
] | null | null | null | import copy
from pizza_cutter_sims.main import (
run_end2end_with_shear,
run_end2end_pair_with_shear,
)
from pizza_cutter_sims.tests.conftest import recursive_equal
def test_run_end2end_with_shear_seeding(sim_config):
seed_kwargs = dict(
rng_seed=42,
gal_rng_seed=43,
coadd_rng_see... | 22.732673 | 60 | 0.583188 | 310 | 2,296 | 3.954839 | 0.177419 | 0.085644 | 0.079935 | 0.108483 | 0.880098 | 0.814029 | 0.792822 | 0.792822 | 0.777325 | 0.777325 | 0 | 0.075096 | 0.321429 | 2,296 | 100 | 61 | 22.96 | 0.71181 | 0 | 0 | 0.666667 | 0 | 0 | 0.006969 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 1 | 0.034483 | false | 0 | 0.034483 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5257a04e23b3d00115a420d15ba47d1e24fce95b | 35 | py | Python | rules_default/castervoice/lib/dev/__init__.py | MLH-Fellowship/LarynxCode | 840fee18c689a357052825607c27fc8e3e56571c | [
"MIT"
] | 1 | 2021-09-17T06:11:02.000Z | 2021-09-17T06:11:02.000Z | rules_default/castervoice/lib/dev/__init__.py | soma2000-lang/LarynxCode | 840fee18c689a357052825607c27fc8e3e56571c | [
"MIT"
] | 5 | 2021-02-03T05:29:41.000Z | 2021-02-08T01:14:11.000Z | rules_default/castervoice/lib/dev/__init__.py | soma2000-lang/LarynxCode | 840fee18c689a357052825607c27fc8e3e56571c | [
"MIT"
] | 4 | 2021-02-03T05:05:00.000Z | 2021-07-14T06:21:10.000Z | from castervoice.lib.dev import dev | 35 | 35 | 0.857143 | 6 | 35 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5265fd71c0297337a6ef1c667a75d503e0f8ad4f | 141 | py | Python | app/grapher/__init__.py | sgg10/arsp_solver_api | ad1d2f52eea58338d4f26128d5130eb326d529fb | [
"MIT"
] | null | null | null | app/grapher/__init__.py | sgg10/arsp_solver_api | ad1d2f52eea58338d4f26128d5130eb326d529fb | [
"MIT"
] | null | null | null | app/grapher/__init__.py | sgg10/arsp_solver_api | ad1d2f52eea58338d4f26128d5130eb326d529fb | [
"MIT"
] | null | null | null | from flask import Blueprint
grapher_blueprint = Blueprint("grapher", __name__, url_prefix='/api/grapher/')
from app.grapher import routes
| 20.142857 | 78 | 0.787234 | 18 | 141 | 5.833333 | 0.611111 | 0.304762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113475 | 141 | 6 | 79 | 23.5 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 1 | 1 | 0 | 6 |
5270090cd03fb7be6500982822c023846b2b1d78 | 347 | py | Python | colormaps/__init__.py | nens/colormaps | 5372169a44ca3f762eaec41065b5f81ef956a3d2 | [
"MIT"
] | null | null | null | colormaps/__init__.py | nens/colormaps | 5372169a44ca3f762eaec41065b5f81ef956a3d2 | [
"MIT"
] | 5 | 2015-05-28T11:32:36.000Z | 2021-01-22T12:33:53.000Z | colormaps/__init__.py | nens/colormaps | 5372169a44ca3f762eaec41065b5f81ef956a3d2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# (c) Nelen & Schuurmans, see LICENSE.rst.
from colormaps.core import get # NOQA
from colormaps.core import create # NOQA
from colormaps.core import registered # NOQA
from colormaps.core import DiscreteColormap # NOQA
from colormaps.core import GradientColormap # NOQA
from colormaps.manag... | 31.545455 | 51 | 0.757925 | 45 | 347 | 5.844444 | 0.466667 | 0.296578 | 0.323194 | 0.437262 | 0.410646 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003436 | 0.161383 | 347 | 10 | 52 | 34.7 | 0.900344 | 0.26513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
527d60af3b72d121c8c0f6364dde50383445e0ef | 78 | py | Python | utils.py | philipkiely/Advent2021 | 9c83dcc6ba69c38edc204cf3d68e74dff05d89e1 | [
"MIT"
] | null | null | null | utils.py | philipkiely/Advent2021 | 9c83dcc6ba69c38edc204cf3d68e74dff05d89e1 | [
"MIT"
] | null | null | null | utils.py | philipkiely/Advent2021 | 9c83dcc6ba69c38edc204cf3d68e74dff05d89e1 | [
"MIT"
] | null | null | null | import requests
# Get Puzzle Input
def gpi(day):
pass # Gotta log in, too | 15.6 | 28 | 0.692308 | 13 | 78 | 4.153846 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 78 | 5 | 28 | 15.6 | 0.9 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
870a83a35794f4b8b8c3b2fa26d0599c4e1a6df0 | 37 | py | Python | yapl/data/loader/__init__.py | orionpax00/tfproject | a96b2ba7e084192bdff3e368b30404e3f1be62a3 | [
"Apache-2.0"
] | 1 | 2020-06-07T09:15:14.000Z | 2020-06-07T09:15:14.000Z | yapl/data/loader/__init__.py | orionpax00/tfproject | a96b2ba7e084192bdff3e368b30404e3f1be62a3 | [
"Apache-2.0"
] | 3 | 2020-06-13T08:16:03.000Z | 2020-06-23T14:48:49.000Z | yapl/data/loader/__init__.py | orionpax00/tfproject | a96b2ba7e084192bdff3e368b30404e3f1be62a3 | [
"Apache-2.0"
] | 1 | 2020-06-23T02:35:33.000Z | 2020-06-23T02:35:33.000Z | from .imageloader import SimpleLoader | 37 | 37 | 0.891892 | 4 | 37 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8768fe3a79a7663c46c966c3b5a5772c92de4c61 | 22 | py | Python | double3/double3sdk/api/__init__.py | CLOMING/winter2021_double | 9b920baaeb3736a785a6505310b972c49b5b21e9 | [
"Apache-2.0"
] | null | null | null | double3/double3sdk/api/__init__.py | CLOMING/winter2021_double | 9b920baaeb3736a785a6505310b972c49b5b21e9 | [
"Apache-2.0"
] | null | null | null | double3/double3sdk/api/__init__.py | CLOMING/winter2021_double | 9b920baaeb3736a785a6505310b972c49b5b21e9 | [
"Apache-2.0"
] | null | null | null | from .api import _Api
| 11 | 21 | 0.772727 | 4 | 22 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e9d897b536775d57d309227fdb98078b264b984 | 1,358 | py | Python | Tests/SmokeTest_Login.py | 8-god-cross-sea/PHL-Automated-UI-Test | f93407346c2cda5e29461686dfc22d1b5bb4a815 | [
"WTFPL"
] | null | null | null | Tests/SmokeTest_Login.py | 8-god-cross-sea/PHL-Automated-UI-Test | f93407346c2cda5e29461686dfc22d1b5bb4a815 | [
"WTFPL"
] | null | null | null | Tests/SmokeTest_Login.py | 8-god-cross-sea/PHL-Automated-UI-Test | f93407346c2cda5e29461686dfc22d1b5bb4a815 | [
"WTFPL"
] | null | null | null | import unittest
import time
from selenium import webdriver
class SmokeTest_Login(unittest.TestCase):
def setUp(self):
self.driver = webdriver.Chrome()
def tearDown(self):
self.driver.close()
def test_login_as_Administrator(self):
driver = self.driver
driver.get("http://ph... | 35.736842 | 89 | 0.649485 | 170 | 1,358 | 5.029412 | 0.311765 | 0.070175 | 0.119298 | 0.133333 | 0.727485 | 0.727485 | 0.727485 | 0.727485 | 0.727485 | 0.727485 | 0 | 0.009372 | 0.214286 | 1,358 | 37 | 90 | 36.702703 | 0.79194 | 0.061856 | 0 | 0.5 | 0 | 0 | 0.189125 | 0.107171 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.107143 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0d923f82226c8ea893821e4e4695e1cf7263b58a | 124 | py | Python | app/admin/__init__.py | inshelligent/parsons-puzzles-1 | 2caefc9c26c58836d8be4c13713f300c898b7130 | [
"MIT"
] | null | null | null | app/admin/__init__.py | inshelligent/parsons-puzzles-1 | 2caefc9c26c58836d8be4c13713f300c898b7130 | [
"MIT"
] | null | null | null | app/admin/__init__.py | inshelligent/parsons-puzzles-1 | 2caefc9c26c58836d8be4c13713f300c898b7130 | [
"MIT"
] | null | null | null | from flask import Blueprint
admin = Blueprint('admin', __name__, template_folder='templates')
from app.admin import routes | 24.8 | 65 | 0.798387 | 16 | 124 | 5.875 | 0.6875 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 124 | 5 | 66 | 24.8 | 0.854545 | 0 | 0 | 0 | 0 | 0 | 0.112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 1 | 1 | 0 | 6 |
0d9804501df93269ec876711a0768e73ed4c1a20 | 2,836 | py | Python | bracket_test.py | songoku4/CODEC | 905342a433d76af92e143c33a80955c29ce31c6f | [
"MIT"
] | null | null | null | bracket_test.py | songoku4/CODEC | 905342a433d76af92e143c33a80955c29ce31c6f | [
"MIT"
] | null | null | null | bracket_test.py | songoku4/CODEC | 905342a433d76af92e143c33a80955c29ce31c6f | [
"MIT"
] | null | null | null | def search(code):
for i in range(len(code)):
if code[i]=='=':
return i
def autocorrect(x):
for i in range(len(x)):
code=x[i]
#indetation
print (code)
if '(' in code and ')' not in code and code[-1]==':':
c = code[0:len(code)-1]
... | 33.761905 | 66 | 0.361072 | 345 | 2,836 | 2.968116 | 0.084058 | 0.140625 | 0.158203 | 0.140625 | 0.952148 | 0.952148 | 0.93457 | 0.93457 | 0.93457 | 0.93457 | 0 | 0.038618 | 0.479549 | 2,836 | 83 | 67 | 34.168675 | 0.655149 | 0.013047 | 0 | 0.690141 | 0 | 0 | 0.018068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028169 | false | 0.042254 | 0 | 0 | 0.042254 | 0.042254 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21c08fdce6325553a8ca6cd32aeebf15abaceaf0 | 1,550 | py | Python | tests/test_preparation.py | 3d-pli/SLIX | 649f0b1d82416a32913b72b5f8d7fa9d01e30c2b | [
"MIT"
] | 5 | 2020-08-31T14:32:42.000Z | 2022-01-22T14:28:22.000Z | tests/test_preparation.py | 3d-pli/SLIX | 649f0b1d82416a32913b72b5f8d7fa9d01e30c2b | [
"MIT"
] | 10 | 2020-10-10T20:02:05.000Z | 2020-10-25T20:56:50.000Z | tests/test_preparation.py | 3d-pli/SLIX | 649f0b1d82416a32913b72b5f8d7fa9d01e30c2b | [
"MIT"
] | 1 | 2020-10-25T20:24:26.000Z | 2020-10-25T20:24:26.000Z | from SLIX import preparation
import numpy
import pytest
class TestPreparation:
def test_smoothing(self):
pass
def test_thinout_plain(self):
test_arr = numpy.array([1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1] * 11)
test_img = test_arr.reshape((11, 11, 1))
thinned = preparation.thin_out(te... | 36.904762 | 78 | 0.62129 | 230 | 1,550 | 4.034783 | 0.173913 | 0.036638 | 0.048491 | 0.056034 | 0.809267 | 0.809267 | 0.78556 | 0.78556 | 0.712284 | 0.712284 | 0 | 0.068761 | 0.24 | 1,550 | 41 | 79 | 37.804878 | 0.719015 | 0 | 0 | 0.375 | 0 | 0 | 0.026452 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.15625 | false | 0.03125 | 0.09375 | 0 | 0.28125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21d1a818d4fe0777a545ee30828b49c20f6098ec | 14,455 | py | Python | src/tests/test_projects.py | scraiber/scraiber-api | 010d0875ba0820e0ec7790d74df8a2955fac360e | [
"Apache-2.0"
] | 1 | 2022-03-29T06:41:41.000Z | 2022-03-29T06:41:41.000Z | src/tests/test_projects.py | scraiber/scraiber-api | 010d0875ba0820e0ec7790d74df8a2955fac360e | [
"Apache-2.0"
] | null | null | null | src/tests/test_projects.py | scraiber/scraiber-api | 010d0875ba0820e0ec7790d74df8a2955fac360e | [
"Apache-2.0"
] | null | null | null | from fastapi.testclient import TestClient
import json
from kubernetes import client, config
import os
import time
from typing import List
from pydantic import EmailStr
from fastapi import HTTPException
import uuid
from app.api.models.auth0 import Auth0User
from .helper_functions import (
generate_user,
generat... | 45.599369 | 141 | 0.704324 | 1,818 | 14,455 | 5.414741 | 0.089659 | 0.072227 | 0.053637 | 0.077103 | 0.811662 | 0.797948 | 0.764527 | 0.738521 | 0.714649 | 0.682548 | 0 | 0.018263 | 0.151505 | 14,455 | 316 | 142 | 45.743671 | 0.784346 | 0.033552 | 0 | 0.569038 | 0 | 0 | 0.251182 | 0.066648 | 0 | 0 | 0 | 0 | 0.32636 | 1 | 0.020921 | false | 0 | 0.058577 | 0 | 0.09205 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d07d2de241ea3225bb7b30567a470e598e5ed9d | 27 | py | Python | modules/file/__init__.py | WMDA/weapy | 11eb6e24f22915116fd81da398305d9b3af79299 | [
"MIT"
] | 1 | 2021-11-17T09:49:48.000Z | 2021-11-17T09:49:48.000Z | modules/file/__init__.py | WMDA/weapy | 11eb6e24f22915116fd81da398305d9b3af79299 | [
"MIT"
] | null | null | null | modules/file/__init__.py | WMDA/weapy | 11eb6e24f22915116fd81da398305d9b3af79299 | [
"MIT"
] | null | null | null | from modules.file import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df162076afda941b1dacc16fdd4b685621b27c7c | 35 | py | Python | sample/__init__.py | seba-spoon/Checkout-Python-SDK | 24a1f7c73fd6e270d21547fb65037e21a5d4f22b | [
"BSD-Source-Code"
] | 165 | 2019-03-06T14:32:47.000Z | 2022-03-26T17:49:57.000Z | sample/__init__.py | seba-spoon/Checkout-Python-SDK | 24a1f7c73fd6e270d21547fb65037e21a5d4f22b | [
"BSD-Source-Code"
] | 24 | 2019-03-06T00:21:50.000Z | 2021-12-22T11:40:05.000Z | sample/__init__.py | seba-spoon/Checkout-Python-SDK | 24a1f7c73fd6e270d21547fb65037e21a5d4f22b | [
"BSD-Source-Code"
] | 87 | 2019-02-15T03:59:20.000Z | 2022-03-27T13:26:29.000Z | from sample.paypal_client import *
| 17.5 | 34 | 0.828571 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df2057f8f5210184b17bd192bb6cca804a23d3de | 21 | py | Python | mcumgr/__init__.py | douzepouze/python-mcumgr | 872a20cb79e4c32fbbffb28a3e8234354213b636 | [
"Apache-2.0"
] | null | null | null | mcumgr/__init__.py | douzepouze/python-mcumgr | 872a20cb79e4c32fbbffb28a3e8234354213b636 | [
"Apache-2.0"
] | null | null | null | mcumgr/__init__.py | douzepouze/python-mcumgr | 872a20cb79e4c32fbbffb28a3e8234354213b636 | [
"Apache-2.0"
] | null | null | null | from mcumgr import *
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df3cbcdcf057c8e3d0bdc39eeb9f39c56f21edce | 38 | py | Python | tests/distributed/test_dir_structures/src5/executors/utils/io.py | vishalbelsare/jina | ae72cc5ce1f7e7f4c662e72e96ea21dddc28bf43 | [
"Apache-2.0"
] | 3 | 2021-12-06T08:10:02.000Z | 2021-12-06T14:50:11.000Z | tests/distributed/test_dir_structures/src5/executors/utils/io.py | vishalbelsare/jina | ae72cc5ce1f7e7f4c662e72e96ea21dddc28bf43 | [
"Apache-2.0"
] | 2 | 2021-12-17T15:22:12.000Z | 2021-12-18T07:19:06.000Z | tests/distributed/test_dir_structures/src5/executors/utils/io.py | vishalbelsare/jina | ae72cc5ce1f7e7f4c662e72e96ea21dddc28bf43 | [
"Apache-2.0"
] | 1 | 2022-03-17T04:50:07.000Z | 2022-03-17T04:50:07.000Z | def ioops():
print('doing ioops')
| 12.666667 | 24 | 0.605263 | 5 | 38 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 2 | 25 | 19 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
df69ff43e0978f2ca8bd2af41e13ce78b301b132 | 168 | py | Python | app/Service/__init__.py | MerciaFerreira/Projeto_devweb | e2c4a87a4b1ab1f18b492ce0ca47e6a8b773e0ae | [
"MIT"
] | null | null | null | app/Service/__init__.py | MerciaFerreira/Projeto_devweb | e2c4a87a4b1ab1f18b492ce0ca47e6a8b773e0ae | [
"MIT"
] | null | null | null | app/Service/__init__.py | MerciaFerreira/Projeto_devweb | e2c4a87a4b1ab1f18b492ce0ca47e6a8b773e0ae | [
"MIT"
] | null | null | null | from .Service_Autor import ServiceAutor
from .Service_Livro import ServiceLivro
from .Service_Reserva import ServiceReserva
from .Service_Usuario import ServiceUsuario
| 33.6 | 43 | 0.880952 | 20 | 168 | 7.2 | 0.55 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 168 | 4 | 44 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10c6471d8708da02444d86c28f51916d88616a3a | 102 | py | Python | src/ostorlab/cli/agent/search/__init__.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 113 | 2022-02-21T09:30:14.000Z | 2022-03-31T21:54:26.000Z | src/ostorlab/cli/agent/search/__init__.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 2 | 2022-02-25T10:56:55.000Z | 2022-03-24T13:08:06.000Z | src/ostorlab/cli/agent/search/__init__.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 20 | 2022-02-28T14:25:04.000Z | 2022-03-30T23:01:11.000Z | """Module for the agent search command."""
from ostorlab.cli.agent.search import search as search_cli
| 34 | 58 | 0.784314 | 16 | 102 | 4.9375 | 0.6875 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 2 | 59 | 51 | 0.877778 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80172f884b30b90636f4bd5df129a21e24ef3cc1 | 5,770 | py | Python | tests/test_html.py | nagareproject/renderers-html | caf08e8f51b10c19729330961b280f994e5709c1 | [
"BSD-3-Clause"
] | null | null | null | tests/test_html.py | nagareproject/renderers-html | caf08e8f51b10c19729330961b280f994e5709c1 | [
"BSD-3-Clause"
] | null | null | null | tests/test_html.py | nagareproject/renderers-html | caf08e8f51b10c19729330961b280f994e5709c1 | [
"BSD-3-Clause"
] | null | null | null | # --
# Copyright (c) 2008-2021 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
# --
import pytest
from nagare.renderers import html_base as html
def test_html1():
h = html.Re... | 38.986486 | 223 | 0.604853 | 899 | 5,770 | 3.848721 | 0.124583 | 0.101156 | 0.083237 | 0.069364 | 0.812717 | 0.766474 | 0.744798 | 0.717919 | 0.693642 | 0.669364 | 0 | 0.008019 | 0.135529 | 5,770 | 147 | 224 | 39.251701 | 0.685646 | 0.047834 | 0 | 0.511628 | 0 | 0.05814 | 0.335584 | 0.085949 | 0 | 0 | 0 | 0 | 0.604651 | 1 | 0.093023 | false | 0 | 0.023256 | 0 | 0.116279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
802aeddedd3fcefe16e928c8013d07c0b45007b2 | 61 | py | Python | nxcl/core/config/__init__.py | yuneg11/NXCL | 98a0f39071d7ae97aaf9dc5f1284faecfb7663ce | [
"MIT"
] | null | null | null | nxcl/core/config/__init__.py | yuneg11/NXCL | 98a0f39071d7ae97aaf9dc5f1284faecfb7663ce | [
"MIT"
] | 1 | 2022-03-26T19:50:17.000Z | 2022-03-26T19:51:41.000Z | nxcl/core/config/__init__.py | yuneg11/NXCL | 98a0f39071d7ae97aaf9dc5f1284faecfb7663ce | [
"MIT"
] | null | null | null | from .base import *
from .utils import *
from .yaml import *
| 15.25 | 20 | 0.704918 | 9 | 61 | 4.777778 | 0.555556 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 3 | 21 | 20.333333 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
339e97bc16bcad73dd5e7ca6f1222a7db1a485c6 | 178 | py | Python | clinicadl/utils/cli_param/option_group.py | Raelag0112/clinicadl | 4b9508ea6bbe5498069b1d76ad2c3636f67e3184 | [
"MIT"
] | 25 | 2021-08-01T05:52:34.000Z | 2022-03-22T04:18:01.000Z | clinicadl/utils/cli_param/option_group.py | Raelag0112/clinicadl | 4b9508ea6bbe5498069b1d76ad2c3636f67e3184 | [
"MIT"
] | 82 | 2021-07-12T08:28:36.000Z | 2022-03-02T16:12:04.000Z | clinicadl/utils/cli_param/option_group.py | Raelag0112/clinicadl | 4b9508ea6bbe5498069b1d76ad2c3636f67e3184 | [
"MIT"
] | 12 | 2021-07-30T08:01:02.000Z | 2022-03-14T11:45:03.000Z | # from click_option_group import optgroup
# option = optgroup.option
# train_options = optgroup.group("train options")
# tsvtools_options = optgroup.group("tsvtools options")
| 22.25 | 55 | 0.775281 | 21 | 178 | 6.380952 | 0.428571 | 0.208955 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 178 | 7 | 56 | 25.428571 | 0.858974 | 0.932584 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33fb1ed0f437870ad5940b9339d6744737806408 | 14,676 | py | Python | actions/actions.py | ramsrk7/Personal-Farm-Assistant | dd176c7fae158b2eb61fda7bf813404249eddf04 | [
"MIT"
] | null | null | null | actions/actions.py | ramsrk7/Personal-Farm-Assistant | dd176c7fae158b2eb61fda7bf813404249eddf04 | [
"MIT"
] | null | null | null | actions/actions.py | ramsrk7/Personal-Farm-Assistant | dd176c7fae158b2eb61fda7bf813404249eddf04 | [
"MIT"
] | null | null | null | # This files contains your custom actions which can be used to run
# custom Python code.
#
# See this guide on how to implement these action:
# https://rasa.com/docs/rasa/custom-actions
# This is a simple example for a custom action which utters "Hello World!"
from typing import Any, Text, Dict, List
#
from rasa_sdk... | 33.815668 | 135 | 0.516081 | 1,584 | 14,676 | 4.686237 | 0.119949 | 0.086892 | 0.127442 | 0.028156 | 0.814495 | 0.788361 | 0.777448 | 0.716826 | 0.695945 | 0.665634 | 0 | 0.016697 | 0.363382 | 14,676 | 433 | 136 | 33.893764 | 0.777802 | 0.026506 | 0 | 0.748276 | 0 | 0 | 0.137888 | 0.011643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096552 | false | 0 | 0.027586 | 0.051724 | 0.275862 | 0.003448 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d4a1f6e7ce8edd8e2ac6de2addf1c9ea82b3fb9 | 9,156 | py | Python | test/test_services/test_identification.py | idfy-io/idfy-sdk-python | 0f7ced0cf0df080b1c73e2451bf02a23710b5bf1 | [
"Apache-2.0"
] | null | null | null | test/test_services/test_identification.py | idfy-io/idfy-sdk-python | 0f7ced0cf0df080b1c73e2451bf02a23710b5bf1 | [
"Apache-2.0"
] | null | null | null | test/test_services/test_identification.py | idfy-io/idfy-sdk-python | 0f7ced0cf0df080b1c73e2451bf02a23710b5bf1 | [
"Apache-2.0"
] | null | null | null | import asyncio
import unittest
import unittest.mock
from test.base_test import BaseTest
from idfy_sdk.version import version
import idfy_sdk
class TestIdentification(BaseTest):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.identification_service = idfy_sdk.services.Identification... | 68.328358 | 471 | 0.738423 | 972 | 9,156 | 6.760288 | 0.097737 | 0.034089 | 0.053264 | 0.057525 | 0.95678 | 0.955562 | 0.952062 | 0.947192 | 0.9268 | 0.900167 | 0 | 0.02403 | 0.127348 | 9,156 | 133 | 472 | 68.842105 | 0.798373 | 0.013761 | 0 | 0.543478 | 0 | 0 | 0.334257 | 0.201263 | 0 | 0 | 0 | 0 | 0.304348 | 1 | 0.195652 | false | 0 | 0.065217 | 0 | 0.358696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d4dff20f1fe03102fb8276df5763bf6fd4d8366 | 42 | py | Python | pdip/integrator/connection/types/webservice/connectors/soap/__init__.py | ahmetcagriakca/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 2 | 2021-12-09T21:07:46.000Z | 2021-12-11T22:18:01.000Z | pdip/integrator/connection/types/webservice/connectors/soap/__init__.py | PythonDataIntegrator/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | null | null | null | pdip/integrator/connection/types/webservice/connectors/soap/__init__.py | PythonDataIntegrator/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 3 | 2021-11-15T00:47:00.000Z | 2021-12-17T11:35:45.000Z | from .soap_connector import SoapConnector
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d5dbab1fdcba4fa43ea30499a40abef21416954 | 296 | py | Python | util.py | hhbuct/tmp | 49191b6ba2d4f44ba4efb4f4d74a8554abaf8b9a | [
"MIT"
] | null | null | null | util.py | hhbuct/tmp | 49191b6ba2d4f44ba4efb4f4d74a8554abaf8b9a | [
"MIT"
] | null | null | null | util.py | hhbuct/tmp | 49191b6ba2d4f44ba4efb4f4d74a8554abaf8b9a | [
"MIT"
] | null | null | null | import base64
link = 'ssr://NjQuMTM3LjI0Ni42MToxNTQ4OmF1dGhfc2hhMV92NDpjaGFjaGEyMDp0bHMxLjJfdGlja2V0X2F1dGg6Wkc5MVlpNXBieTl6YzNwb1puZ3ZLakUxTkRnLz9yZW1hcmtzPTVweXM1WVdONkxTNTZMU201WS0zNXAybDZJZXFPbVJ2ZFdJdWFXOHZjM042YUdaNEx3'
with open('tmp.txt', 'w') as f:
f.write(base64.b64encode(link))
| 42.285714 | 211 | 0.871622 | 17 | 296 | 15.176471 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132616 | 0.057432 | 296 | 6 | 212 | 49.333333 | 0.792115 | 0 | 0 | 0 | 0 | 0 | 0.709459 | 0.682432 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d546f3a28114b97e1387679a5b22fc7d38c1daf2 | 629 | py | Python | metaspace/recal/msi_recal/test/test_math.py | METASPACE2020/METASPACE | e1acd9a409f84a78eed7ca9713258c09b0e137ca | [
"Apache-2.0"
] | 32 | 2018-08-13T15:49:42.000Z | 2022-01-17T18:32:19.000Z | metaspace/recal/msi_recal/test/test_math.py | METASPACE2020/METASPACE | e1acd9a409f84a78eed7ca9713258c09b0e137ca | [
"Apache-2.0"
] | 624 | 2018-07-02T15:18:22.000Z | 2022-03-30T08:10:35.000Z | metaspace/recal/msi_recal/test/test_math.py | METASPACE2020/METASPACE | e1acd9a409f84a78eed7ca9713258c09b0e137ca | [
"Apache-2.0"
] | 6 | 2021-01-10T22:24:30.000Z | 2022-03-16T19:14:37.000Z | from msi_recal.math import ppm_to_sigma_1
# This file is WIP
def test_ppm_to_sigma_1_tof():
assert ppm_to_sigma_1(1, "tof", 1) == 1e-6
assert ppm_to_sigma_1(2, "tof", 1) == 2e-6
assert ppm_to_sigma_1(2, "tof", 4) == 2.5e-7
def test_ppm_to_sigma_1_orbitrap():
assert ppm_to_sigma_1(1, "orbitrap", 200... | 28.590909 | 53 | 0.669316 | 128 | 629 | 2.929688 | 0.242188 | 0.173333 | 0.346667 | 0.381333 | 0.736 | 0.736 | 0.448 | 0.448 | 0.282667 | 0 | 0 | 0.119923 | 0.17806 | 629 | 21 | 54 | 29.952381 | 0.605416 | 0.025437 | 0 | 0 | 0 | 0 | 0.08347 | 0 | 0 | 0 | 0 | 0 | 0.692308 | 1 | 0.230769 | true | 0 | 0.076923 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d55d86425759edbc0b78790349d62c25e448e9e6 | 307 | py | Python | app/tests/mixins/__init__.py | umaranit/newdemopython | 4b05f2c3183d90a367e7b3023d815ad5449512a6 | [
"MIT"
] | null | null | null | app/tests/mixins/__init__.py | umaranit/newdemopython | 4b05f2c3183d90a367e7b3023d815ad5449512a6 | [
"MIT"
] | null | null | null | app/tests/mixins/__init__.py | umaranit/newdemopython | 4b05f2c3183d90a367e7b3023d815ad5449512a6 | [
"MIT"
] | null | null | null | from route_test_mixin import RouteTestingWithKwargs
from auth_route_test_mixin import AuthRouteTestingWithKwargs
from model_crud_test_mixin import ModelCrudTests
from pep8_view_test_mixin import Pep8ViewsTests
from pep8_model_test_mixin import Pep8ModelTests
from model_crud_test_mixin import ModelCrudTests | 51.166667 | 60 | 0.925081 | 41 | 307 | 6.512195 | 0.365854 | 0.202247 | 0.337079 | 0.149813 | 0.314607 | 0.314607 | 0.314607 | 0 | 0 | 0 | 0 | 0.014085 | 0.074919 | 307 | 6 | 61 | 51.166667 | 0.926056 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
634dd8c69c17a54da1ab96cd8d9aa7dba23d2d0f | 18,809 | py | Python | tests/test_fields_sqlalchemy.py | ooduor/depot | 6e509f34f52e2cda83259798aa2c94325a3518b5 | [
"MIT"
] | null | null | null | tests/test_fields_sqlalchemy.py | ooduor/depot | 6e509f34f52e2cda83259798aa2c94325a3518b5 | [
"MIT"
] | null | null | null | tests/test_fields_sqlalchemy.py | ooduor/depot | 6e509f34f52e2cda83259798aa2c94325a3518b5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import shutil
import tempfile, os, cgi, base64
from PIL import Image
from nose.tools import raises
from sqlalchemy.exc import StatementError
from sqlalchemy.schema import Column
from sqlalchemy.types import Unicode, Integer, Text
from .base_sqla import setup_database, clear_database, Declarativ... | 39.349372 | 1,487 | 0.698176 | 2,018 | 18,809 | 6.292369 | 0.115461 | 0.016932 | 0.035911 | 0.030241 | 0.765002 | 0.736494 | 0.718381 | 0.703024 | 0.690345 | 0.679005 | 0 | 0.021403 | 0.192674 | 18,809 | 477 | 1,488 | 39.431866 | 0.814817 | 0.005582 | 0 | 0.634615 | 0 | 0.005495 | 0.198449 | 0.155294 | 0 | 1 | 0 | 0 | 0.162088 | 1 | 0.090659 | false | 0.002747 | 0.043956 | 0 | 0.206044 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
635c3de2120491bd93094ab2b45ade4ed8892638 | 247 | py | Python | static_precompiler/compilers/__init__.py | codexterous/django-static-precompiler | 25435fcddddec82f60edbd77bb558716d8e9588f | [
"MIT"
] | 160 | 2015-01-19T11:20:37.000Z | 2022-03-22T22:52:25.000Z | static_precompiler/compilers/__init__.py | codexterous/django-static-precompiler | 25435fcddddec82f60edbd77bb558716d8e9588f | [
"MIT"
] | 78 | 2015-02-05T07:36:43.000Z | 2022-01-30T14:11:11.000Z | static_precompiler/compilers/__init__.py | codexterous/django-static-precompiler | 25435fcddddec82f60edbd77bb558716d8e9588f | [
"MIT"
] | 57 | 2015-02-03T12:27:45.000Z | 2022-03-04T22:03:13.000Z | from .babel import * # noqa
from .base import * # noqa
from .coffeescript import * # noqa
from .handlebars import * # noqa
from .less import * # noqa
from .livescript import * # noqa
from .scss import * # noqa
from .stylus import * # noqa
| 27.444444 | 35 | 0.676113 | 32 | 247 | 5.21875 | 0.34375 | 0.479042 | 0.586826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226721 | 247 | 8 | 36 | 30.875 | 0.874346 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
635cfb3d315f0a249745246d0bec79ef0e5afca0 | 22,319 | py | Python | memote/suite/tests/test_annotation.py | matthiaskoenig/memote | 7c14cd304523dda83eaf4835ee007243e8673f85 | [
"Apache-2.0"
] | null | null | null | memote/suite/tests/test_annotation.py | matthiaskoenig/memote | 7c14cd304523dda83eaf4835ee007243e8673f85 | [
"Apache-2.0"
] | null | null | null | memote/suite/tests/test_annotation.py | matthiaskoenig/memote | 7c14cd304523dda83eaf4835ee007243e8673f85 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2017 Novo Nordisk Foundation Center for Biosustainability,
# Technical University of Denmark.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http... | 47.186047 | 79 | 0.709172 | 2,998 | 22,319 | 5.223482 | 0.113742 | 0.025926 | 0.021073 | 0.013793 | 0.902171 | 0.883206 | 0.860281 | 0.836973 | 0.833972 | 0.812516 | 0 | 0.003234 | 0.196514 | 22,319 | 472 | 80 | 47.286017 | 0.870016 | 0.517317 | 0 | 0.613095 | 0 | 0 | 0.130288 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.065476 | false | 0 | 0.029762 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8928c012d48c272192041037f381a9aff7696496 | 8,714 | py | Python | tests/components/iotawatt/test_sensor.py | DoctorU/core | 5b218d7e1c4164e32d41473977459cbaf23adf42 | [
"Apache-2.0"
] | 5 | 2020-10-08T12:59:44.000Z | 2021-12-28T06:46:25.000Z | tests/components/iotawatt/test_sensor.py | DoctorU/core | 5b218d7e1c4164e32d41473977459cbaf23adf42 | [
"Apache-2.0"
] | 75 | 2020-08-05T07:22:42.000Z | 2022-03-23T21:54:57.000Z | tests/components/iotawatt/test_sensor.py | winning1120xx/home-assistant | 53d4c0ce2d374b5e97bbdc37742656c27adf8eea | [
"Apache-2.0"
] | 1 | 2021-08-01T06:12:13.000Z | 2021-08-01T06:12:13.000Z | """Test setting up sensors."""
from datetime import timedelta
from homeassistant.components.iotawatt.const import ATTR_LAST_UPDATE
from homeassistant.components.sensor import (
ATTR_STATE_CLASS,
DEVICE_CLASS_ENERGY,
STATE_CLASS_MEASUREMENT,
STATE_CLASS_TOTAL_INCREASING,
)
from homeassistant.const impor... | 35.422764 | 103 | 0.697728 | 1,064 | 8,714 | 5.37594 | 0.109962 | 0.088462 | 0.124825 | 0.122378 | 0.837063 | 0.83042 | 0.83042 | 0.810839 | 0.727622 | 0.676049 | 0 | 0.016922 | 0.213335 | 8,714 | 245 | 104 | 35.567347 | 0.817505 | 0.016066 | 0 | 0.584615 | 0 | 0 | 0.17307 | 0.097817 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0 | false | 0 | 0.046154 | 0 | 0.046154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89767ceae16be2e6ef34886885afbb88d10c6932 | 21,975 | py | Python | python/fe3lmaker/tubelines.py | flarebyte/wonderful-bazar | 810514cd7d73505b11d738f8b84d91842d18d074 | [
"MIT"
] | null | null | null | python/fe3lmaker/tubelines.py | flarebyte/wonderful-bazar | 810514cd7d73505b11d738f8b84d91842d18d074 | [
"MIT"
] | null | null | null | python/fe3lmaker/tubelines.py | flarebyte/wonderful-bazar | 810514cd7d73505b11d738f8b84d91842d18d074 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
"""
transports.py
Created by Olivier Huin on 2010-02-04
Copyright (c) 2010 Flarebyte.com Limited. All rights reserved.
"""
import sys
import os
import datautils
STATUS_GREEN,STATUS_ORANGE,STATUS_RED=range(3)
entities={
"d3b10ffc-d493-49cd-b334-7cfddf15977b":('310', 'd3b10ffc-... | 203.472222 | 2,443 | 0.78694 | 2,791 | 21,975 | 6.178431 | 0.610892 | 0.001914 | 0.005567 | 0.006959 | 0.502378 | 0.230747 | 0.228427 | 0.171306 | 0.135467 | 0.135467 | 0 | 0.473878 | 0.037497 | 21,975 | 107 | 2,444 | 205.373832 | 0.341402 | 0.026394 | 0 | 0.057471 | 0 | 0 | 0.850749 | 0.813343 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045977 | false | 0 | 0.034483 | 0.011494 | 0.137931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
989bdffc7eb9f90bc5c7a80a772d29c64bc90cf4 | 61 | py | Python | reseval/server/__init__.py | reseval/reseval | 322e28ef080e4b28585bcf85ae63af15f8d158de | [
"MIT"
] | 22 | 2022-03-08T23:40:38.000Z | 2022-03-19T18:20:27.000Z | reseval/server/__init__.py | reseval/reseval | 322e28ef080e4b28585bcf85ae63af15f8d158de | [
"MIT"
] | 4 | 2022-03-11T14:42:04.000Z | 2022-03-29T16:06:42.000Z | reseval/server/__init__.py | reseval/reseval | 322e28ef080e4b28585bcf85ae63af15f8d158de | [
"MIT"
] | 1 | 2022-03-17T10:33:40.000Z | 2022-03-17T10:33:40.000Z | from .core import *
from . import heroku
from . import local
| 15.25 | 20 | 0.737705 | 9 | 61 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 3 | 21 | 20.333333 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7fa1e5e3731bb6203e5e1ca16a65d1680da60d90 | 70,226 | py | Python | src/SqlAnalyzer/parser/SqlLexer.py | Prygan/OpenstackSQLAnalyzer | 89977a064019dab6c0f898f045c2818faa81a1e4 | [
"MIT"
] | null | null | null | src/SqlAnalyzer/parser/SqlLexer.py | Prygan/OpenstackSQLAnalyzer | 89977a064019dab6c0f898f045c2818faa81a1e4 | [
"MIT"
] | 7 | 2017-10-16T09:23:38.000Z | 2020-07-31T20:24:45.000Z | parser/SqlLexer.py | Openstack-SQL/SQLParser | 77d4cdcae3da7809d7af31be822fbadba636b7c1 | [
"MIT"
] | null | null | null | # Generated from Sql.g4 by ANTLR 4.7
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\u00a5")
buf.write("\u05d7\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t... | 66.126177 | 103 | 0.611212 | 14,279 | 70,226 | 2.972617 | 0.138805 | 0.069783 | 0.050181 | 0.052584 | 0.317768 | 0.286411 | 0.121825 | 0.104297 | 0.098996 | 0.089832 | 0 | 0.375564 | 0.141173 | 70,226 | 1,061 | 104 | 66.188501 | 0.32821 | 0.000484 | 0 | 0 | 1 | 0.683908 | 0.659985 | 0.621089 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001916 | false | 0 | 0.003831 | 0 | 0.171456 | 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 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7fbe0b8761def394108c19021a93b0ce43fbdc8c | 31 | py | Python | UD/LinearRegression/__init__.py | Anon-LeoH/UncleDaLearn | 8721658ecc15860a8a77af4ef2738edc049f4811 | [
"MIT"
] | 1 | 2017-06-14T08:43:37.000Z | 2017-06-14T08:43:37.000Z | UD/LinearRegression/__init__.py | Anon-LeoH/UncleDaLearn | 8721658ecc15860a8a77af4ef2738edc049f4811 | [
"MIT"
] | null | null | null | UD/LinearRegression/__init__.py | Anon-LeoH/UncleDaLearn | 8721658ecc15860a8a77af4ef2738edc049f4811 | [
"MIT"
] | null | null | null | from GradientDescent import *
| 10.333333 | 29 | 0.806452 | 3 | 31 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 30 | 15.5 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f68be607b907387886ca9594498ae6abaa7b9598 | 58 | py | Python | python/testData/intentions/returnTypeInPy3Annotation2_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/returnTypeInPy3Annotation2_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/returnTypeInPy3Annotation2_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def my_func(p1=1) -> object:
return p1
d = my_func(1) | 14.5 | 28 | 0.62069 | 12 | 58 | 2.833333 | 0.666667 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0.224138 | 58 | 4 | 29 | 14.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f6b027f3e60b84dad4824117de31c9b056d8ab42 | 156 | py | Python | config.py | jusgou/divergenceBot | 1098177b9c3153308c87167ac67ce17c1b10511b | [
"MIT"
] | null | null | null | config.py | jusgou/divergenceBot | 1098177b9c3153308c87167ac67ce17c1b10511b | [
"MIT"
] | null | null | null | config.py | jusgou/divergenceBot | 1098177b9c3153308c87167ac67ce17c1b10511b | [
"MIT"
] | null | null | null | API_KEY = 'zptOzFDI4ocJRJVSOCsfudMvqsghy3KKbGf7lIEx0XxGwGA8d4O1CrfS30aFXRIB'
API_SECRET = 'dUQQGuSPxBMxFezeRugPqzSWaPuKE2tvhOs93JLRuKwiWi41FV9LZC2Pchybvyhq' | 78 | 79 | 0.929487 | 6 | 156 | 23.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10596 | 0.032051 | 156 | 2 | 79 | 78 | 0.84106 | 0 | 0 | 0 | 0 | 0 | 0.815287 | 0.815287 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6c5c663957560331aaab19018cef14e6d5a2f91 | 36 | py | Python | aquanta/__init__.py | jeremy-compostella/aquanta | 35cbe27580bb2f4fccc2829301fd4e1ffec9039f | [
"BSD-2-Clause"
] | null | null | null | aquanta/__init__.py | jeremy-compostella/aquanta | 35cbe27580bb2f4fccc2829301fd4e1ffec9039f | [
"BSD-2-Clause"
] | null | null | null | aquanta/__init__.py | jeremy-compostella/aquanta | 35cbe27580bb2f4fccc2829301fd4e1ffec9039f | [
"BSD-2-Clause"
] | null | null | null | from aquanta.aquanta import Aquanta
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6cd7f11fc400e5dd3e5383ae97bdf3bef650e8a | 162 | py | Python | layout/GroupFunction.py | soumikmohianuta/pixtoapp | f103a580e015ef7779998f14c9533a238a4bf1d1 | [
"BSD-3-Clause"
] | 31 | 2018-03-19T19:30:29.000Z | 2022-02-16T08:50:42.000Z | layout/GroupFunction.py | soumikmohianuta/pixtoapp | f103a580e015ef7779998f14c9533a238a4bf1d1 | [
"BSD-3-Clause"
] | 4 | 2018-10-04T08:01:15.000Z | 2019-04-25T15:50:36.000Z | layout/GroupFunction.py | soumikmohianuta/pixtoapp | f103a580e015ef7779998f14c9533a238a4bf1d1 | [
"BSD-3-Clause"
] | 12 | 2018-07-24T18:52:07.000Z | 2021-07-15T11:36:14.000Z | ##package edu.uta.cse.screenshot.layout.group;
##
class GroupFunction:
def __init__(self):
pass
def sameGroup(element1, element2):
return
| 20.25 | 46 | 0.666667 | 18 | 162 | 5.777778 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.222222 | 162 | 7 | 47 | 23.142857 | 0.809524 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
100124be5f0eb7a584b55501a26e38347dbfaa54 | 3,252 | py | Python | tests/core/tasks/utils/test_read_input_task.py | ai-systems/Probe-Ably | 45b283ee5068289f9a1844cae9f109c000507723 | [
"MIT"
] | 12 | 2021-03-26T14:56:42.000Z | 2022-02-11T15:37:58.000Z | tests/core/tasks/utils/test_read_input_task.py | ai-systems/Probe-Ably | 45b283ee5068289f9a1844cae9f109c000507723 | [
"MIT"
] | 1 | 2021-11-28T13:45:22.000Z | 2021-11-28T13:45:22.000Z | tests/core/tasks/utils/test_read_input_task.py | ai-systems/Probe-Ably | 45b283ee5068289f9a1844cae9f109c000507723 | [
"MIT"
] | null | null | null | import unittest
from loguru import logger
from probe_ably.core.tasks.utils import ReadInputTask
class PrepareRicoScaTest(unittest.TestCase):
def test_wrong_split_size(self):
TEST_INPUT = "./tests/sample_files/test_input/wrong_split_size.json"
read_input_task = ReadInputTask()
self.assertR... | 36.954545 | 104 | 0.730627 | 428 | 3,252 | 5.114486 | 0.14486 | 0.152124 | 0.154408 | 0.10233 | 0.79397 | 0.782549 | 0.764276 | 0.764276 | 0.746916 | 0.675194 | 0 | 0.004109 | 0.176814 | 3,252 | 87 | 105 | 37.37931 | 0.813597 | 0.024908 | 0 | 0.392857 | 0 | 0 | 0.220328 | 0.205808 | 0 | 0 | 0 | 0 | 0.214286 | 1 | 0.214286 | false | 0 | 0.053571 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1235c106f9bc24254b9ea65ff5329a523b77fa11 | 14,088 | py | Python | YNet/stage1/Model.py | cancertech/-cancer_diagnosis | caa371e64e52be71a85f9a73baa6b518b28cc166 | [
"MIT"
] | 126 | 2018-06-06T01:33:28.000Z | 2022-03-18T01:48:56.000Z | YNet/stage1/Model.py | cancertech/-cancer_diagnosis | caa371e64e52be71a85f9a73baa6b518b28cc166 | [
"MIT"
] | 13 | 2018-07-26T13:49:56.000Z | 2021-04-20T07:44:47.000Z | YNet/stage1/Model.py | cancertech/-cancer_diagnosis | caa371e64e52be71a85f9a73baa6b518b28cc166 | [
"MIT"
] | 32 | 2018-06-06T01:20:03.000Z | 2022-03-18T02:52:53.000Z | #
# author: Sachin Mehta
# Project Description: This repository contains source code for semantically segmenting WSIs; however, it could be easily
# adapted for other domains such as natural image segmentation
# File Description: This file contains the CNN models
# ====================================... | 35.847328 | 140 | 0.588018 | 1,896 | 14,088 | 4.242616 | 0.119726 | 0.026852 | 0.024615 | 0.031328 | 0.813153 | 0.770885 | 0.747638 | 0.705743 | 0.675908 | 0.671308 | 0 | 0.101292 | 0.274702 | 14,088 | 392 | 141 | 35.938776 | 0.685946 | 0.128052 | 0 | 0.707407 | 0 | 0 | 0.004602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081481 | false | 0 | 0.007407 | 0.003704 | 0.17037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.