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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75265d3c33bff0658540430d03bc6356f5564d5b | 3,450 | py | Python | ngsutils/fastq/t/test_split.py | bgruening/ngsutils | 417e90dc1918fb553dd84990f2c54bd8cea8f44d | [
"BSD-3-Clause"
] | 57 | 2015-03-09T01:26:45.000Z | 2022-02-22T07:26:01.000Z | ngsutils/fastq/t/test_split.py | bgruening/ngsutils | 417e90dc1918fb553dd84990f2c54bd8cea8f44d | [
"BSD-3-Clause"
] | 33 | 2015-02-03T23:24:46.000Z | 2022-03-16T20:08:10.000Z | ngsutils/fastq/t/test_split.py | bgruening/ngsutils | 417e90dc1918fb553dd84990f2c54bd8cea8f44d | [
"BSD-3-Clause"
] | 33 | 2015-01-18T16:47:47.000Z | 2022-02-22T07:28:09.000Z | #!/usr/bin/env python
'''
Tests for fastqutils split
'''
import os
import unittest
import ngsutils.fastq.split
from ngsutils.fastq import FASTQ
class SplitTest(unittest.TestCase):
def testSplit(self):
fname = os.path.join(os.path.dirname(__file__), 'test.fastq')
templ = os.path.join(os.path.dirn... | 32.857143 | 88 | 0.593043 | 486 | 3,450 | 4.106996 | 0.123457 | 0.07515 | 0.071643 | 0.09018 | 0.842184 | 0.797094 | 0.775551 | 0.775551 | 0.762024 | 0.742986 | 0 | 0.028475 | 0.226377 | 3,450 | 104 | 89 | 33.173077 | 0.719371 | 0.013623 | 0 | 0.521739 | 0 | 0 | 0.129602 | 0 | 0 | 0 | 0 | 0 | 0.231884 | 1 | 0.057971 | false | 0 | 0.057971 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7538a3d002efb43cd025cbe58a5810a6c76f1aae | 543 | py | Python | python/dsbox/planner/event_handler.py | RqS/dsbox-ta2 | 43800d4365a154684fa5b9551c2c1cd21ec7139c | [
"MIT"
] | 1 | 2021-11-05T17:42:47.000Z | 2021-11-05T17:42:47.000Z | python/dsbox/planner/event_handler.py | RqS/dsbox-ta2 | 43800d4365a154684fa5b9551c2c1cd21ec7139c | [
"MIT"
] | null | null | null | python/dsbox/planner/event_handler.py | RqS/dsbox-ta2 | 43800d4365a154684fa5b9551c2c1cd21ec7139c | [
"MIT"
] | 2 | 2019-02-21T18:29:51.000Z | 2019-09-02T21:21:26.000Z | class PlannerEventHandler(object):
pass
def ProblemNotImplemented(self):
return False
def StartedPlanning(self):
return True
def SubmittedPipeline(self, pipeline):
return True
def RunningPipeline(self, pipeline):
return True
def CompletedPipeline(self, pipeli... | 20.111111 | 50 | 0.661142 | 51 | 543 | 7.039216 | 0.372549 | 0.194986 | 0.21727 | 0.183844 | 0.381616 | 0.172702 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276243 | 543 | 26 | 51 | 20.884615 | 0.913486 | 0 | 0 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.055556 | 0 | 0.444444 | 0.944444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
f34f9f0ab2f081177fca334c77c02188ceac8814 | 38 | py | Python | utils/__init__.py | ari-viitala/RLDonkeyCar | 7719765e72ddcc4239fa6beb913ff3254fac901d | [
"MIT"
] | null | null | null | utils/__init__.py | ari-viitala/RLDonkeyCar | 7719765e72ddcc4239fa6beb913ff3254fac901d | [
"MIT"
] | 6 | 2020-09-26T01:09:20.000Z | 2022-02-10T01:34:41.000Z | utils/__init__.py | ari-viitala/RLDonkeyCar | 7719765e72ddcc4239fa6beb913ff3254fac901d | [
"MIT"
] | 1 | 2021-02-21T02:04:24.000Z | 2021-02-21T02:04:24.000Z | from .functions import image_to_ascii
| 19 | 37 | 0.868421 | 6 | 38 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 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 |
f3a5fab66ceedfb341431e9840acd30ba94bdbc7 | 38 | py | Python | python/testlint/testlint/util.py | mpsonntag/snippets | fc3cc42ea49b885c1f29c0aef1379055a931a978 | [
"BSD-3-Clause"
] | null | null | null | python/testlint/testlint/util.py | mpsonntag/snippets | fc3cc42ea49b885c1f29c0aef1379055a931a978 | [
"BSD-3-Clause"
] | null | null | null | python/testlint/testlint/util.py | mpsonntag/snippets | fc3cc42ea49b885c1f29c0aef1379055a931a978 | [
"BSD-3-Clause"
] | null | null | null | def add_yourself(a):
return a + a
| 12.666667 | 20 | 0.631579 | 7 | 38 | 3.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 38 | 2 | 21 | 19 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
45f617d11581a0cf0260e2455d4557f6c5262ffa | 153 | py | Python | tests/error/redefined_name01.py | ktok07b6/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 83 | 2015-11-30T09:59:13.000Z | 2021-08-03T09:12:28.000Z | tests/error/redefined_name01.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 4 | 2017-02-10T01:43:11.000Z | 2020-07-14T03:52:25.000Z | tests/error/redefined_name01.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 11 | 2016-11-18T14:39:15.000Z | 2021-02-23T10:05:20.000Z | #'func0' has been redefined
from polyphony import testbench
def func0(x):
pass
def func0(x):
pass
@testbench
def test():
pass
test()
| 8.052632 | 31 | 0.647059 | 21 | 153 | 4.714286 | 0.571429 | 0.242424 | 0.181818 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.254902 | 153 | 18 | 32 | 8.5 | 0.842105 | 0.169935 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.111111 | 0 | 0.444444 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3443175248730b51ad72e72fcbe1751c3abf74e5 | 44,450 | py | Python | tests/001_theoretical/test_023_json_blueprint.py | vitlabuda/datalidator | 539063a98990c6be165baeff6c2a74ac2fd7a130 | [
"BSD-3-Clause"
] | null | null | null | tests/001_theoretical/test_023_json_blueprint.py | vitlabuda/datalidator | 539063a98990c6be165baeff6c2a74ac2fd7a130 | [
"BSD-3-Clause"
] | null | null | null | tests/001_theoretical/test_023_json_blueprint.py | vitlabuda/datalidator | 539063a98990c6be165baeff6c2a74ac2fd7a130 | [
"BSD-3-Clause"
] | null | null | null | #!/bin/false
# Copyright (c) 2022 Vít Labuda. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
# following conditions are met:
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions an... | 82.01107 | 270 | 0.581732 | 5,173 | 44,450 | 4.980476 | 0.06244 | 0.01801 | 0.026083 | 0.026083 | 0.776316 | 0.747632 | 0.73036 | 0.727139 | 0.70354 | 0.649744 | 0 | 0.111463 | 0.19811 | 44,450 | 541 | 271 | 82.162662 | 0.610958 | 0.04153 | 0 | 0.14902 | 0 | 0.262745 | 0.506377 | 0.017733 | 0 | 0 | 0 | 0 | 0.001961 | 1 | 0.003922 | false | 0 | 0.04902 | 0 | 0.058824 | 0.064706 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cadd82e7e0814515f2dd9f7294141195d102f1c8 | 29 | py | Python | sentry_logger/__init__.py | gurayinan/sentry_logger | 290e282fd6286b91f2d7bf41eea6c9cce13dc78e | [
"MIT"
] | null | null | null | sentry_logger/__init__.py | gurayinan/sentry_logger | 290e282fd6286b91f2d7bf41eea6c9cce13dc78e | [
"MIT"
] | null | null | null | sentry_logger/__init__.py | gurayinan/sentry_logger | 290e282fd6286b91f2d7bf41eea6c9cce13dc78e | [
"MIT"
] | null | null | null | from .sentry_logger import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
1b0df61f8db2d162e67c85961219a5e2234e264b | 52 | py | Python | trainer/__init__.py | LeiYangJustin/Map-in-a-Cycle | 52acac7bf31c0d3781c7ee6ecc3accc4d618f8c1 | [
"MIT"
] | 9 | 2020-09-15T06:36:50.000Z | 2021-09-08T11:13:06.000Z | trainer/__init__.py | LeiYangJustin/Map-in-a-Cycle | 52acac7bf31c0d3781c7ee6ecc3accc4d618f8c1 | [
"MIT"
] | null | null | null | trainer/__init__.py | LeiYangJustin/Map-in-a-Cycle | 52acac7bf31c0d3781c7ee6ecc3accc4d618f8c1 | [
"MIT"
] | 1 | 2021-09-02T22:46:46.000Z | 2021-09-02T22:46:46.000Z | from .pc_trainer import *
from .seg_trainer import * | 26 | 26 | 0.788462 | 8 | 52 | 4.875 | 0.625 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 2 | 26 | 26 | 0.866667 | 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 |
1b3d419a00bc75c2d6fd14b8ff0d9fd0ad59dc79 | 9,462 | py | Python | src/main/ht16k33/matrix.py | hanmy75/my_robot | c99ce98fda5a94a7c64ded6a3a6c347ae7acba16 | [
"Apache-2.0"
] | null | null | null | src/main/ht16k33/matrix.py | hanmy75/my_robot | c99ce98fda5a94a7c64ded6a3a6c347ae7acba16 | [
"Apache-2.0"
] | null | null | null | src/main/ht16k33/matrix.py | hanmy75/my_robot | c99ce98fda5a94a7c64ded6a3a6c347ae7acba16 | [
"Apache-2.0"
] | null | null | null | # The MIT License (MIT)
#
# Copyright (c) 2016 Radomir Dopieralski & Tony DiCola for Adafruit Industries
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including witho... | 42.241071 | 80 | 0.577891 | 1,388 | 9,462 | 3.899135 | 0.160663 | 0.295639 | 0.223947 | 0.195122 | 0.627125 | 0.565595 | 0.485772 | 0.451774 | 0.445861 | 0.445861 | 0 | 0.331661 | 0.262629 | 9,462 | 223 | 81 | 42.430493 | 0.44403 | 0.168992 | 0 | 0.517647 | 0 | 0 | 0.009609 | 0 | 0 | 0 | 0.404623 | 0 | 0 | 1 | 0.070588 | false | 0 | 0.005882 | 0 | 0.182353 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1b4726b1cca797af918c3eac9e909272a40a3b34 | 23 | py | Python | gdn-master/lib/psa/modules/__init__.py | ldrunning/segmentation | d787ea12a87968c0308c1fb8be6685036b852b5e | [
"MIT"
] | 1,137 | 2018-09-06T19:13:07.000Z | 2022-03-28T09:42:08.000Z | lib/psa/modules/__init__.py | cj-mclaughlin/semseg | b103cf7747114812239b733338121c78ba4aab76 | [
"MIT"
] | 80 | 2019-06-03T16:37:09.000Z | 2022-03-29T01:19:36.000Z | lib/psa/modules/__init__.py | cj-mclaughlin/semseg | b103cf7747114812239b733338121c78ba4aab76 | [
"MIT"
] | 241 | 2019-05-29T13:09:14.000Z | 2022-03-23T11:40:13.000Z | from .psamask import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
1b4bcbab8dcc4e2f48f4a54ce588cf96ac80c761 | 38 | py | Python | src/stk/molecular/topology_graphs/topology_graph/topology_graph/__init__.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 21 | 2018-04-12T16:25:24.000Z | 2022-02-14T23:05:43.000Z | src/stk/molecular/topology_graphs/topology_graph/topology_graph/__init__.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 8 | 2019-03-19T12:36:36.000Z | 2020-11-11T12:46:00.000Z | src/stk/molecular/topology_graphs/topology_graph/topology_graph/__init__.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 5 | 2018-08-07T13:00:16.000Z | 2021-11-01T00:55:10.000Z | from .topology_graph import * # noqa
| 19 | 37 | 0.736842 | 5 | 38 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 1 | 38 | 38 | 0.870968 | 0.105263 | 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 |
1b500d64e9dacc60870c0894f83e70b65ce4b078 | 4,567 | py | Python | tests/test_types.py | comic31/MongoDBQueriesManager | 34d2a0bd73777dc12ee860bbd8929254bed48791 | [
"MIT"
] | 2 | 2021-04-29T12:05:36.000Z | 2021-07-15T08:42:40.000Z | tests/test_types.py | comic31/MongoDBQueriesManager | 34d2a0bd73777dc12ee860bbd8929254bed48791 | [
"MIT"
] | null | null | null | tests/test_types.py | comic31/MongoDBQueriesManager | 34d2a0bd73777dc12ee860bbd8929254bed48791 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# coding: utf-8
# Copyright (c) Modos Team, 2020
import re
from datetime import datetime, timezone
from mongo_queries_manager import mqm
class TestTypes:
# Type string tests part
def test_type_string(self):
query_result = mqm(string_query="name=toto")
assert query_res... | 42.287037 | 115 | 0.544997 | 532 | 4,567 | 4.511278 | 0.150376 | 0.155833 | 0.099167 | 0.141667 | 0.826667 | 0.748333 | 0.712083 | 0.707083 | 0.707083 | 0.64375 | 0 | 0.030135 | 0.287935 | 4,567 | 107 | 116 | 42.682243 | 0.707872 | 0.054303 | 0 | 0.373134 | 0 | 0 | 0.204039 | 0.019963 | 0 | 0 | 0 | 0 | 0.253731 | 1 | 0.179104 | false | 0 | 0.044776 | 0 | 0.238806 | 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 |
1b5f2636fdfff520dcc830e083cd7f72333aeeb6 | 39 | py | Python | quake/server/__init__.py | It4innovations/quake | a57f37e5c871e0c7c00b84aef638b925ef96690a | [
"MIT"
] | 1 | 2021-03-26T14:23:44.000Z | 2021-03-26T14:23:44.000Z | quake/server/__init__.py | It4innovations/quake | a57f37e5c871e0c7c00b84aef638b925ef96690a | [
"MIT"
] | null | null | null | quake/server/__init__.py | It4innovations/quake | a57f37e5c871e0c7c00b84aef638b925ef96690a | [
"MIT"
] | null | null | null | from quake.server.worker import Worker
| 19.5 | 38 | 0.846154 | 6 | 39 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 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 |
1b9ccc881cad7b718f0df4e260029d1abab109c7 | 61 | py | Python | toy_environment/relation_system.py | lobachevzky/hsr | b8c40b82c0d39fedc8f64cb50734620a0b2d84ab | [
"MIT"
] | 1 | 2021-03-29T16:42:01.000Z | 2021-03-29T16:42:01.000Z | toy_environment/relation_system.py | ethanabrooks/hsr | b8c40b82c0d39fedc8f64cb50734620a0b2d84ab | [
"MIT"
] | 2 | 2018-02-02T20:47:03.000Z | 2018-05-22T21:10:29.000Z | toy_environment/relation_system.py | lobachevzky/hsr | b8c40b82c0d39fedc8f64cb50734620a0b2d84ab | [
"MIT"
] | null | null | null | import numpy as np
class RelationManager(object):
pass
| 10.166667 | 30 | 0.737705 | 8 | 61 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213115 | 61 | 5 | 31 | 12.2 | 0.9375 | 0 | 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 |
1bc6d6fc6e50d20d2664f6d7cb6f3a13389de5c8 | 38 | py | Python | nanocamera/__init__.py | psomers3/NanoCamera | 1ee0657a22cad705aa502a6b8c95a63a700d6500 | [
"MIT"
] | 74 | 2020-06-01T08:03:22.000Z | 2022-03-23T17:47:31.000Z | nanocamera/__init__.py | psomers3/NanoCamera | 1ee0657a22cad705aa502a6b8c95a63a700d6500 | [
"MIT"
] | 9 | 2020-01-30T06:06:08.000Z | 2021-09-24T14:25:35.000Z | nanocamera/__init__.py | psomers3/NanoCamera | 1ee0657a22cad705aa502a6b8c95a63a700d6500 | [
"MIT"
] | 15 | 2020-02-25T15:58:58.000Z | 2022-03-27T15:12:25.000Z | from nanocamera.NanoCam import Camera
| 19 | 37 | 0.868421 | 5 | 38 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
59fb5879afd513ed60b5482a655d184019f0bb04 | 33 | py | Python | oculus_reader/__init__.py | rail-berkeley/oculus_reader | de73f3d259b3c41c4564f70a64682e24aa3ac31c | [
"Apache-2.0"
] | 9 | 2021-02-14T09:06:12.000Z | 2022-02-19T08:52:11.000Z | oculus_reader/__init__.py | rail-berkeley/oculus_reader | de73f3d259b3c41c4564f70a64682e24aa3ac31c | [
"Apache-2.0"
] | null | null | null | oculus_reader/__init__.py | rail-berkeley/oculus_reader | de73f3d259b3c41c4564f70a64682e24aa3ac31c | [
"Apache-2.0"
] | 1 | 2022-03-13T03:44:04.000Z | 2022-03-13T03:44:04.000Z | from .reader import OculusReader
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
942b1aafb12681c68c1f71dc2a5f16e24a29e696 | 32 | py | Python | backend/flask/app/apis/__init__.py | yf-dev/open-dccon-selector | 56d4f54bc73e9b33cc568f0101da919fd13ed697 | [
"MIT"
] | 2 | 2021-05-10T07:04:21.000Z | 2021-05-17T08:53:49.000Z | backend/flask/app/apis/__init__.py | yf-dev/open-dccon-selector | 56d4f54bc73e9b33cc568f0101da919fd13ed697 | [
"MIT"
] | 8 | 2020-05-12T02:17:57.000Z | 2022-02-17T23:36:18.000Z | backend/flask/app/apis/__init__.py | yf-dev/open-dccon-selector | 56d4f54bc73e9b33cc568f0101da919fd13ed697 | [
"MIT"
] | 1 | 2021-07-01T09:23:17.000Z | 2021-07-01T09:23:17.000Z | from . import exports, channels
| 16 | 31 | 0.78125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.925926 | 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 |
942e7abaf82b741179aebefb3799f23be31f936b | 5,250 | py | Python | tests/test_create_token.py | jsenecal/async-fastapi-jwt-auth | dd825f51a2e93192d4128c85b0d4a73df1a9c418 | [
"MIT"
] | 4 | 2022-02-04T08:06:32.000Z | 2022-03-25T23:22:07.000Z | tests/test_create_token.py | jsenecal/async-fastapi-jwt-auth | dd825f51a2e93192d4128c85b0d4a73df1a9c418 | [
"MIT"
] | null | null | null | tests/test_create_token.py | jsenecal/async-fastapi-jwt-auth | dd825f51a2e93192d4128c85b0d4a73df1a9c418 | [
"MIT"
] | 1 | 2022-02-16T16:26:27.000Z | 2022-02-16T16:26:27.000Z | import pytest, jwt
from async_fastapi_jwt_auth import AuthJWT
from pydantic import BaseSettings
from datetime import timedelta, datetime, timezone
async def test_create_access_token(Authorize):
class Settings(BaseSettings):
AUTHJWT_SECRET_KEY: str = "testing"
AUTHJWT_ACCESS_TOKEN_EXPIRES: int = 2
... | 44.491525 | 104 | 0.748952 | 685 | 5,250 | 5.527007 | 0.124088 | 0.099842 | 0.142631 | 0.096144 | 0.862388 | 0.83122 | 0.807448 | 0.754622 | 0.751981 | 0.668251 | 0 | 0.019815 | 0.134857 | 5,250 | 117 | 105 | 44.871795 | 0.813738 | 0 | 0 | 0.35 | 0 | 0 | 0.09619 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.0125 | false | 0 | 0.05 | 0.0125 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
944f47284e308f79615c9f5e0bdcfdb714cf33ff | 481 | py | Python | core/views.py | pauloupgrad/sistema-django | f1a7fc9f5602ec6eb1e3a777897ff94ee4b2e1ff | [
"MIT"
] | null | null | null | core/views.py | pauloupgrad/sistema-django | f1a7fc9f5602ec6eb1e3a777897ff94ee4b2e1ff | [
"MIT"
] | null | null | null | core/views.py | pauloupgrad/sistema-django | f1a7fc9f5602ec6eb1e3a777897ff94ee4b2e1ff | [
"MIT"
] | null | null | null | from django.shortcuts import render
def login(request):
return render(request,'core/login.html')
def base(request):
return render(request,'core/base.html')
def perfil(request):
return render(request,'core/perfil.html')
def lista_user(request):
return render(request, 'core/lista-usuarios.html')
def cadast... | 25.315789 | 55 | 0.765073 | 65 | 481 | 5.615385 | 0.276923 | 0.213699 | 0.312329 | 0.427397 | 0.547945 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101871 | 481 | 19 | 56 | 25.315789 | 0.844907 | 0 | 0 | 0 | 0 | 0 | 0.255187 | 0.161826 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.076923 | 0.461538 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
947673beaa243974d245474fca5579c69b561ddc | 22 | py | Python | timeular/__init__.py | davidbstein/sdk-timeular-tools | bce9d536b3a4bec1ab2a31f5b2118d8341b6e9fa | [
"MIT"
] | 2 | 2021-07-20T01:24:23.000Z | 2021-09-20T08:21:34.000Z | timeular/__init__.py | davidbstein/sdk-timeular-tools | bce9d536b3a4bec1ab2a31f5b2118d8341b6e9fa | [
"MIT"
] | null | null | null | timeular/__init__.py | davidbstein/sdk-timeular-tools | bce9d536b3a4bec1ab2a31f5b2118d8341b6e9fa | [
"MIT"
] | 1 | 2022-03-30T09:49:08.000Z | 2022-03-30T09:49:08.000Z | from timeular import * | 22 | 22 | 0.818182 | 3 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
8472474443a53b613f483959a6c1f657fb5cfc17 | 28,138 | py | Python | UI/EMGGeming.py | r33did/SkripsiEmosiRNN | 0bfdb7d19850bbcd994fc4a8557a52716ae38128 | [
"MIT"
] | 2 | 2021-09-15T08:25:41.000Z | 2021-11-12T06:42:31.000Z | UI/EMGGeming.py | r33did/SkripsiEmosiRNN | 0bfdb7d19850bbcd994fc4a8557a52716ae38128 | [
"MIT"
] | null | null | null | UI/EMGGeming.py | r33did/SkripsiEmosiRNN | 0bfdb7d19850bbcd994fc4a8557a52716ae38128 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'emg.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, Q... | 48.181507 | 116 | 0.683773 | 3,301 | 28,138 | 5.801575 | 0.068767 | 0.112683 | 0.067673 | 0.08882 | 0.773432 | 0.746071 | 0.717769 | 0.702992 | 0.700381 | 0.694063 | 0 | 0.043444 | 0.183595 | 28,138 | 583 | 117 | 48.264151 | 0.790223 | 0.009524 | 0 | 0.687831 | 1 | 0 | 0.093784 | 0.01529 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003527 | false | 0 | 0.005291 | 0 | 0.010582 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
847aad3fd187df6ab3daf4b7320f23ea24e6d6bc | 90 | py | Python | cui_p1p.py | userElaina/rsa-p2p | 8d0d5e09581f9df5c2109f21d3acbf5d13599231 | [
"Apache-2.0",
"MIT"
] | null | null | null | cui_p1p.py | userElaina/rsa-p2p | 8d0d5e09581f9df5c2109f21d3acbf5d13599231 | [
"Apache-2.0",
"MIT"
] | null | null | null | cui_p1p.py | userElaina/rsa-p2p | 8d0d5e09581f9df5c2109f21d3acbf5d13599231 | [
"Apache-2.0",
"MIT"
] | null | null | null | from rsap2p import TCPp2p_CUI
TCPp2p_CUI(('0.0.0.0',23305),'user1','127.0.0.1').joins() | 30 | 57 | 0.677778 | 18 | 90 | 3.277778 | 0.611111 | 0.135593 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228916 | 0.077778 | 90 | 3 | 57 | 30 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0.235955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
847de071ffa487a10201978e4666cf613b6fe47a | 48 | py | Python | randomWalk/steps_generating_exception.py | jpshankar/random_walk | 02367c363164ba0207f09a775bbe1f27e4a48ff6 | [
"MIT"
] | null | null | null | randomWalk/steps_generating_exception.py | jpshankar/random_walk | 02367c363164ba0207f09a775bbe1f27e4a48ff6 | [
"MIT"
] | null | null | null | randomWalk/steps_generating_exception.py | jpshankar/random_walk | 02367c363164ba0207f09a775bbe1f27e4a48ff6 | [
"MIT"
] | null | null | null | class StepsGeneratingException(Exception):
pass | 24 | 42 | 0.875 | 4 | 48 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 2 | 43 | 24 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
84ea21da32f03cd3fe651bb4ef0c06c9b94b138a | 139 | py | Python | models/__init__.py | WZzhaoyi/TF-NAS | f63e9fd3a5ca0d8c6400891baa19c2168b203513 | [
"MIT"
] | 62 | 2020-07-05T11:59:47.000Z | 2022-01-18T08:09:53.000Z | models/__init__.py | WZzhaoyi/TF-NAS | f63e9fd3a5ca0d8c6400891baa19c2168b203513 | [
"MIT"
] | 4 | 2020-08-17T09:13:47.000Z | 2021-10-01T03:21:28.000Z | models/__init__.py | WZzhaoyi/TF-NAS | f63e9fd3a5ca0d8c6400891baa19c2168b203513 | [
"MIT"
] | 11 | 2020-07-23T06:21:28.000Z | 2021-06-13T20:19:24.000Z | from .layers import set_layer_from_config
from .model_search import Network as NetworkSearch
from .model_eval import Network as NetworkEval | 46.333333 | 50 | 0.870504 | 21 | 139 | 5.52381 | 0.619048 | 0.155172 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107914 | 139 | 3 | 51 | 46.333333 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
ca57f0232f7ba96bda21b5ef105a4de0bb60e22f | 126 | py | Python | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Input_Output/FreeMind/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Input_Output/FreeMind/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Input_Output/FreeMind/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | ## @defgroup Input_Output-FreeMind FreeMind
# Function to save FreeMind output.
# @ingroup Input_Output
from .save import save | 31.5 | 43 | 0.801587 | 17 | 126 | 5.823529 | 0.588235 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 126 | 4 | 44 | 31.5 | 0.9 | 0.761905 | 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 |
0488ee3702ec32f1ccce21212ecd5cf5c5445b90 | 27,815 | py | Python | tests/test_server.py | LandRegistry-Attic/digital-register-api | f6093d1d066ab620b8882dfd1bcf3fbfd107e467 | [
"MIT"
] | null | null | null | tests/test_server.py | LandRegistry-Attic/digital-register-api | f6093d1d066ab620b8882dfd1bcf3fbfd107e467 | [
"MIT"
] | 56 | 2015-02-11T13:31:52.000Z | 2016-04-20T14:31:30.000Z | tests/test_server.py | LandRegistry-Attic/digital-register-api | f6093d1d066ab620b8882dfd1bcf3fbfd107e467 | [
"MIT"
] | null | null | null | import json
import mock
from datetime import datetime
from collections import namedtuple
from elasticsearch_dsl.utils import AttrList
from service import app
from service.server import db_access, es_access, api_client
FakeTitleRegisterData = namedtuple(
'TitleRegisterData',
['title_number', 'register_data', 'g... | 43.393136 | 135 | 0.667482 | 3,402 | 27,815 | 5.042916 | 0.063492 | 0.031476 | 0.043716 | 0.025764 | 0.894498 | 0.8692 | 0.84297 | 0.802343 | 0.783633 | 0.740208 | 0 | 0.025007 | 0.217904 | 27,815 | 640 | 136 | 43.460938 | 0.76363 | 0 | 0 | 0.578313 | 0 | 0 | 0.218695 | 0.077764 | 0 | 0 | 0 | 0 | 0.136546 | 1 | 0.104418 | false | 0 | 0.014056 | 0.02008 | 0.154618 | 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 |
04cf01e57ba0b08e9893d0e5f859145e49af7fe2 | 27 | py | Python | resources/EasyLogger/__init__.py | Eksno/2ITB-GithubOppgave | 5a212aef69b4c609f67d10a08e62c65b132256a7 | [
"Apache-2.0"
] | 1 | 2022-02-09T13:06:43.000Z | 2022-02-09T13:06:43.000Z | resources/EasyLogger/__init__.py | Eksno/2ITB-GithubOppgave | 5a212aef69b4c609f67d10a08e62c65b132256a7 | [
"Apache-2.0"
] | null | null | null | resources/EasyLogger/__init__.py | Eksno/2ITB-GithubOppgave | 5a212aef69b4c609f67d10a08e62c65b132256a7 | [
"Apache-2.0"
] | null | null | null | from .easy_logger import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 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 |
b6bd42b2ee4b3c301d5669237294dd1b1371b76f | 257 | py | Python | exercise/__init__.py | deepspaceghost/deme | 324741ee8e6ef30de5116f6018966829302796ed | [
"MIT"
] | null | null | null | exercise/__init__.py | deepspaceghost/deme | 324741ee8e6ef30de5116f6018966829302796ed | [
"MIT"
] | 6 | 2021-07-09T16:56:28.000Z | 2022-03-12T00:58:06.000Z | exercise/__init__.py | deepspaceghost/demeter.py | 324741ee8e6ef30de5116f6018966829302796ed | [
"MIT"
] | 1 | 2021-06-01T23:49:44.000Z | 2021-06-01T23:49:44.000Z | from .__version__ import __title__, __description__, __url__, __version__, __author__, __author_email__, __license__, __copyright__
from exercise.main import get_exercise, other_exercises, plank_exercises, pushup_exercises, squat_exercises, all_exercises
| 85.666667 | 132 | 0.859922 | 28 | 257 | 6.357143 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085603 | 257 | 2 | 133 | 128.5 | 0.757447 | 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 |
8e0d0205d598c6f53ec13a3c0c54c4d76e99c186 | 16,787 | py | Python | modul6.py | L200170161/prak_ASD | 49f94b9b551fec698afe12cf99ebbea469d8aef5 | [
"MIT"
] | null | null | null | modul6.py | L200170161/prak_ASD | 49f94b9b551fec698afe12cf99ebbea469d8aef5 | [
"MIT"
] | null | null | null | modul6.py | L200170161/prak_ASD | 49f94b9b551fec698afe12cf99ebbea469d8aef5 | [
"MIT"
] | null | null | null | #======== no 1=========#
class mhs(object): #membuat class
def __init__(self, nama, nim, kota, us): #metode pemanggil ketikan pemnuatan object terjadi
self.nama = nama
self.nim = nim
self.kota = kota
self.uang = us
def __str__(self): #metode pemanggil ketika string akan di... | 31.733459 | 100 | 0.54703 | 2,406 | 16,787 | 3.716126 | 0.107232 | 0.032099 | 0.035231 | 0.01454 | 0.779331 | 0.769936 | 0.764232 | 0.764232 | 0.761212 | 0.761212 | 0 | 0.033068 | 0.319056 | 16,787 | 528 | 101 | 31.793561 | 0.749103 | 0.115804 | 0 | 0.834842 | 0 | 0 | 0.030697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079186 | false | 0 | 0.024887 | 0.00905 | 0.180995 | 0.045249 | 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 |
f3ce7c46d5a9eafc1d38c94a287b281d4144f2b4 | 22,274 | py | Python | python/tests/test_tools_misc.py | mrkem598/housing-insights | 05dffebad690bf727cbcbec53128d2fb69166e4c | [
"MIT"
] | null | null | null | python/tests/test_tools_misc.py | mrkem598/housing-insights | 05dffebad690bf727cbcbec53128d2fb69166e4c | [
"MIT"
] | null | null | null | python/tests/test_tools_misc.py | mrkem598/housing-insights | 05dffebad690bf727cbcbec53128d2fb69166e4c | [
"MIT"
] | null | null | null | import unittest
import sys
import os
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),
os.pardir)))
import housinginsights.tools.misc as misc_tools
class ToolsMiscTestCase(unittest.TestCase):
def test_get_unique_addresses_from_str(self):
... | 55.40796 | 81 | 0.553201 | 2,286 | 22,274 | 5.273841 | 0.092301 | 0.072661 | 0.051427 | 0.047445 | 0.840909 | 0.809058 | 0.771151 | 0.721384 | 0.720886 | 0.710932 | 0 | 0.048355 | 0.358445 | 22,274 | 401 | 82 | 55.546135 | 0.795311 | 0.063707 | 0 | 0.520958 | 0 | 0 | 0.327419 | 0 | 0 | 0 | 0 | 0 | 0.224551 | 1 | 0.002994 | false | 0 | 0.011976 | 0 | 0.017964 | 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 |
f3d4ba41ce8f7af69c55d46be1d733b32e65f449 | 5,702 | py | Python | dashboard/views.py | devqueue/assaydashboard | 550a5392abb366d7b0cefbe9ce4141538a8ff801 | [
"MIT"
] | null | null | null | dashboard/views.py | devqueue/assaydashboard | 550a5392abb366d7b0cefbe9ce4141538a8ff801 | [
"MIT"
] | null | null | null | dashboard/views.py | devqueue/assaydashboard | 550a5392abb366d7b0cefbe9ce4141538a8ff801 | [
"MIT"
] | null | null | null | from django.shortcuts import render
import pandas as pd
from dashboard.models import Utilization, Samples, Revenue, monthlystats
from dashboard.serializers import UtilizationSerializer, SamplesSerializer, RevenueSerializer, monthlystatsSerializer
from dashboard.viewfuncs import index_context, sample_context, util_conte... | 36.088608 | 117 | 0.66047 | 640 | 5,702 | 5.746875 | 0.101563 | 0.039152 | 0.06199 | 0.091354 | 0.848559 | 0.825992 | 0.783306 | 0.710712 | 0.686786 | 0.656063 | 0 | 0.007515 | 0.229919 | 5,702 | 157 | 118 | 36.318471 | 0.830107 | 0.004034 | 0 | 0.765217 | 0 | 0 | 0.089707 | 0.036482 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034783 | false | 0 | 0.043478 | 0 | 0.182609 | 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 |
f3dbe6da8bfa628f6318a86f680cde2f634c87e3 | 293 | py | Python | deepdrive_zero/envs/__init__.py | farhanhubble/deep-drive-zero-experiments | 6170986aada389986604053019ee91345d7a972b | [
"MIT"
] | 30 | 2020-02-15T09:46:36.000Z | 2022-03-18T08:16:52.000Z | deepdrive_zero/envs/__init__.py | farhanhubble/deep-drive-zero-experiments | 6170986aada389986604053019ee91345d7a972b | [
"MIT"
] | 6 | 2020-02-05T05:53:53.000Z | 2020-02-10T20:17:13.000Z | deepdrive_zero/envs/__init__.py | deepdrive/deepdrive-2d | 53796f84a49f29eadc1c43284e77bd4717a1e2d1 | [
"MIT"
] | 4 | 2020-02-15T19:07:23.000Z | 2020-04-04T17:48:32.000Z | from deepdrive_zero.envs.env import Deepdrive2DEnv
from deepdrive_zero.envs.variants import OneWaypointSteerOnlyEnv, \
OneWaypointEnv, IncentArrivalEnv, StaticObstacleEnv, \
NoGforcePenaltyEnv, SixtyFpsEnv, IntersectionEnv, IntersectionWithGsEnv, \
IntersectionWithGsAllowDecelEnv
| 48.833333 | 78 | 0.843003 | 22 | 293 | 11.136364 | 0.772727 | 0.106122 | 0.138776 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003817 | 0.105802 | 293 | 5 | 79 | 58.6 | 0.931298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f3ef87ad11a0cf1a073a9bfb8b0107a021d28d76 | 211 | py | Python | skfda/misc/__init__.py | jdtuck/scikit-fda | 28259dffbc45dfc8dbf3c12839b928f9df200351 | [
"BSD-3-Clause"
] | null | null | null | skfda/misc/__init__.py | jdtuck/scikit-fda | 28259dffbc45dfc8dbf3c12839b928f9df200351 | [
"BSD-3-Clause"
] | null | null | null | skfda/misc/__init__.py | jdtuck/scikit-fda | 28259dffbc45dfc8dbf3c12839b928f9df200351 | [
"BSD-3-Clause"
] | null | null | null | from . import covariances, kernels, metrics
from . import operators
from . import regularization
from ._math import (log, log2, log10, exp, sqrt, cumsum,
inner_product, inner_product_matrix)
| 35.166667 | 56 | 0.71564 | 25 | 211 | 5.88 | 0.68 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018072 | 0.21327 | 211 | 5 | 57 | 42.2 | 0.86747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
6d52fc0c687fb8a840da459bb530687acbb44fb7 | 119 | py | Python | test.py | irenepal/snakemake-cnvseq | a66acbf7286b001f1afbb582854b85b750ffa33e | [
"MIT"
] | 4 | 2020-08-12T09:42:50.000Z | 2022-03-11T03:39:04.000Z | test.py | irenepal/snakemake-cnvseq | a66acbf7286b001f1afbb582854b85b750ffa33e | [
"MIT"
] | null | null | null | test.py | irenepal/snakemake-cnvseq | a66acbf7286b001f1afbb582854b85b750ffa33e | [
"MIT"
] | 3 | 2019-07-26T10:12:16.000Z | 2022-02-01T19:21:33.000Z | import subprocess
def test_pipeline():
subprocess.check_call(["snakemake", "-n", "--configfile", "config.yaml"])
| 19.833333 | 77 | 0.689076 | 13 | 119 | 6.153846 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 119 | 5 | 78 | 23.8 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed8f063b4ee8f16b24a6702c00b6270e004f2410 | 71 | py | Python | flask_app/__init__.py | shubham192/red-data | e641f1cd7f9c9e85d2729b1417a8decde12ff37b | [
"Fair"
] | null | null | null | flask_app/__init__.py | shubham192/red-data | e641f1cd7f9c9e85d2729b1417a8decde12ff37b | [
"Fair"
] | 2 | 2021-02-08T20:18:44.000Z | 2021-04-30T20:32:42.000Z | flask_app/__init__.py | shubham192/red-data | e641f1cd7f9c9e85d2729b1417a8decde12ff37b | [
"Fair"
] | null | null | null | from flask import Flask
app = Flask(__name__)
import flask_app.views
| 11.833333 | 23 | 0.788732 | 11 | 71 | 4.636364 | 0.545455 | 0.431373 | 0.54902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 71 | 5 | 24 | 14.2 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed905bfbba27b0d862492262e3eca37b8bb27de4 | 11,069 | py | Python | mayan/apps/linking/tests/test_api.py | kyper999/mayan-edms | ca7b8301a1f68548e8e718d42a728a500d67286e | [
"Apache-2.0"
] | 1 | 2020-07-15T02:56:02.000Z | 2020-07-15T02:56:02.000Z | mayan/apps/linking/tests/test_api.py | kyper999/mayan-edms | ca7b8301a1f68548e8e718d42a728a500d67286e | [
"Apache-2.0"
] | null | null | null | mayan/apps/linking/tests/test_api.py | kyper999/mayan-edms | ca7b8301a1f68548e8e718d42a728a500d67286e | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from django.contrib.auth import get_user_model
from django.core.urlresolvers import reverse
from django.test import override_settings
from rest_framework.exceptions import ValidationError
from rest_framework.test import APITestCase
from documents.models import DocumentType
fro... | 32.365497 | 89 | 0.65182 | 1,212 | 11,069 | 5.518977 | 0.081683 | 0.158768 | 0.097174 | 0.078936 | 0.884736 | 0.839438 | 0.814621 | 0.75811 | 0.732247 | 0.707729 | 0 | 0.000861 | 0.265155 | 11,069 | 341 | 90 | 32.460411 | 0.82149 | 0 | 0 | 0.582418 | 0 | 0 | 0.059716 | 0.045442 | 0 | 0 | 0 | 0 | 0.091575 | 1 | 0.091575 | false | 0.018315 | 0.040293 | 0.003663 | 0.142857 | 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 |
edf4d246b701a9f00b1e3a7e1d34c380f54ba347 | 19,365 | py | Python | tests/cli/v2_1_1/test_sda.py | AltusConsulting/dnacentercli | 26ea46fdbd40fc30649ea1d8803158655aa545aa | [
"MIT"
] | null | null | null | tests/cli/v2_1_1/test_sda.py | AltusConsulting/dnacentercli | 26ea46fdbd40fc30649ea1d8803158655aa545aa | [
"MIT"
] | null | null | null | tests/cli/v2_1_1/test_sda.py | AltusConsulting/dnacentercli | 26ea46fdbd40fc30649ea1d8803158655aa545aa | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""DNACenterAPI SDA API fixtures and tests.
Copyright (c) 2019 Cisco and/or its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including ... | 38.807615 | 492 | 0.630571 | 2,298 | 19,365 | 5.06658 | 0.087903 | 0.038478 | 0.008503 | 0.060466 | 0.858284 | 0.849437 | 0.818947 | 0.787769 | 0.774714 | 0.74723 | 0 | 0.007264 | 0.246476 | 19,365 | 498 | 493 | 38.885542 | 0.790639 | 0.058663 | 0 | 0.55814 | 0 | 0 | 0.07295 | 0.038736 | 0 | 0 | 0 | 0 | 0.186047 | 1 | 0.186047 | false | 0 | 0.011628 | 0 | 0.290698 | 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 |
edf547a1039ff4c30d4e43a80111a53c6045a174 | 2,407 | py | Python | src/tests/part2/q529_test_mine_sweeper.py | hychrisli/PyAlgorithms | 71e537180f3b371d0d2cc47b11cb68ec13a8ac68 | [
"Apache-2.0"
] | null | null | null | src/tests/part2/q529_test_mine_sweeper.py | hychrisli/PyAlgorithms | 71e537180f3b371d0d2cc47b11cb68ec13a8ac68 | [
"Apache-2.0"
] | null | null | null | src/tests/part2/q529_test_mine_sweeper.py | hychrisli/PyAlgorithms | 71e537180f3b371d0d2cc47b11cb68ec13a8ac68 | [
"Apache-2.0"
] | null | null | null | from src.base.test_cases import TestCases
class MineSweeperTestCases(TestCases):
def __init__(self):
super(MineSweeperTestCases, self).__init__()
self.__add_test_case__('Test 1',
([['E', 'E', 'E', 'E', 'E'],
['E', 'E', 'M', 'E', 'E'],... | 44.574074 | 69 | 0.163689 | 209 | 2,407 | 1.727273 | 0.114833 | 0.34903 | 0.398892 | 0.376731 | 0.639889 | 0.529086 | 0.529086 | 0.529086 | 0.504155 | 0.504155 | 0 | 0.036561 | 0.57956 | 2,407 | 53 | 70 | 45.415094 | 0.320158 | 0 | 0 | 0.5 | 0 | 0 | 0.076444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.022727 | 0 | 0.068182 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
612c74fa6ed9b99711a964e8a8f541882f44f62b | 218 | py | Python | end2you/data_provider/hdf5/__init__.py | VincentKaras/end2you | 2e49bc825ddf98dd49215ec2317247985de9070e | [
"BSD-3-Clause"
] | 85 | 2018-01-18T20:11:25.000Z | 2022-03-29T19:51:22.000Z | end2you/data_provider/hdf5/__init__.py | VincentKaras/end2you | 2e49bc825ddf98dd49215ec2317247985de9070e | [
"BSD-3-Clause"
] | 7 | 2018-02-27T22:43:37.000Z | 2021-11-22T20:57:49.000Z | end2you/data_provider/hdf5/__init__.py | VincentKaras/end2you | 2e49bc825ddf98dd49215ec2317247985de9070e | [
"BSD-3-Clause"
] | 18 | 2018-02-20T15:05:59.000Z | 2022-02-25T15:25:57.000Z | from .audio_provider import AudioProvider
from .visual_provider import VisualProvider
from .multifile_audiovisual_provider import MultiFile_AVProvider
from .singlefile_audiovisual_provider import SingleFile_AVProvider
| 43.6 | 66 | 0.908257 | 24 | 218 | 7.916667 | 0.458333 | 0.294737 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 218 | 4 | 67 | 54.5 | 0.940594 | 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 |
b620d5febabb5a11efb8ae9b0611be633b4f2b8f | 31 | py | Python | Adafruit_MAX31856/__init__.py | johnrbnsn/Adafruit_Python_MAX31856 | 785eb2396c65302ca6521ca7264996a8c2c24600 | [
"MIT"
] | 15 | 2017-01-02T22:22:47.000Z | 2021-04-20T19:13:54.000Z | Adafruit_MAX31856/__init__.py | johnrbnsn/Adafruit_Python_MAX31856 | 785eb2396c65302ca6521ca7264996a8c2c24600 | [
"MIT"
] | 17 | 2016-12-08T16:17:46.000Z | 2020-04-22T16:32:22.000Z | Adafruit_MAX31856/__init__.py | johnrbnsn/Adafruit_Python_MAX31856 | 785eb2396c65302ca6521ca7264996a8c2c24600 | [
"MIT"
] | 14 | 2016-12-08T16:16:52.000Z | 2019-04-23T03:36:41.000Z | from .max31856 import MAX31856
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 0.129032 | 31 | 1 | 31 | 31 | 0.592593 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b647c8845567d2fc9842b0e30b327c2b17ad1ddd | 120 | py | Python | clubadmin/memadmin/test_logic.py | rpmoseley/clubadmin | 35d0094ea5e97e8478ca021ab8e422cebbc26263 | [
"MIT"
] | null | null | null | clubadmin/memadmin/test_logic.py | rpmoseley/clubadmin | 35d0094ea5e97e8478ca021ab8e422cebbc26263 | [
"MIT"
] | null | null | null | clubadmin/memadmin/test_logic.py | rpmoseley/clubadmin | 35d0094ea5e97e8478ca021ab8e422cebbc26263 | [
"MIT"
] | null | null | null | '''
This module exists purely to check how to import test cases in the test suite
'''
def ex_function():
return True
| 17.142857 | 77 | 0.725 | 20 | 120 | 4.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 120 | 6 | 78 | 20 | 0.895833 | 0.641667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fcbb5fe47a847cdfe9926a75416e0fb5eae2b559 | 17,214 | py | Python | qa_tool/tests/test_relevancy_score.py | pg-irc/pathways-backend | 05a8c4e750523d2d081b030a248c5444d1ed7992 | [
"BSD-3-Clause"
] | 12 | 2017-08-30T18:21:00.000Z | 2021-12-09T04:04:17.000Z | qa_tool/tests/test_relevancy_score.py | pg-irc/pathways-backend | 05a8c4e750523d2d081b030a248c5444d1ed7992 | [
"BSD-3-Clause"
] | 424 | 2017-08-08T18:32:14.000Z | 2022-03-30T21:42:51.000Z | qa_tool/tests/test_relevancy_score.py | pg-irc/pathways-backend | 05a8c4e750523d2d081b030a248c5444d1ed7992 | [
"BSD-3-Clause"
] | 7 | 2017-09-29T21:14:37.000Z | 2019-12-30T21:07:37.000Z | import datetime
from test_plus.test import TestCase
from qa_tool.tests.helpers import RelevancyScoreBuilder, AlgorithmBuilder, SearchLocationBuilder
from rest_framework import status
from rest_framework.authtoken.models import Token
from rest_framework.test import APIClient
from human_services.services_at_location.test... | 52.803681 | 113 | 0.70797 | 2,098 | 17,214 | 5.533842 | 0.068637 | 0.071662 | 0.099053 | 0.082429 | 0.886649 | 0.860121 | 0.83006 | 0.801723 | 0.779328 | 0.757623 | 0 | 0.011102 | 0.173231 | 17,214 | 325 | 114 | 52.966154 | 0.804666 | 0.00244 | 0 | 0.660777 | 0 | 0 | 0.101747 | 0.053757 | 0 | 0 | 0 | 0 | 0.194346 | 1 | 0.130742 | false | 0 | 0.031802 | 0 | 0.176678 | 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 |
1e541512faafd54c0c1676a7bba9c3290d449349 | 81 | py | Python | language/python/DeepNudeImage/DeepNude_software_itself/color.py | LIU2016/Demo | 979403d728348c7a14553c8df8a32b21f57ff126 | [
"Apache-2.0"
] | 1 | 2018-11-25T12:03:16.000Z | 2018-11-25T12:03:16.000Z | language/python/DeepNudeImage/DeepNude_software_itself/color.py | LIU2016/Demo | 979403d728348c7a14553c8df8a32b21f57ff126 | [
"Apache-2.0"
] | null | null | null | language/python/DeepNudeImage/DeepNude_software_itself/color.py | LIU2016/Demo | 979403d728348c7a14553c8df8a32b21f57ff126 | [
"Apache-2.0"
] | null | null | null |
def checkcolor():
return [255, 240, 255]
def newcolor(a, b):
return 255 | 13.5 | 26 | 0.617284 | 12 | 81 | 4.166667 | 0.666667 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 0.246914 | 81 | 6 | 27 | 13.5 | 0.622951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
1e8cfe92c3a2e28d33787196d529b7de43fd0941 | 4,739 | py | Python | arch_params/scalenet_cifar_archs.py | zhjpqq/scaledensenet | 5ae56786c7f628b8320b76d559ecaa6fa1d2ac0e | [
"MIT"
] | 5 | 2019-08-27T20:15:05.000Z | 2021-01-18T08:21:37.000Z | arch_params/scalenet_cifar_archs.py | zhjpqq/scaledensenet | 5ae56786c7f628b8320b76d559ecaa6fa1d2ac0e | [
"MIT"
] | null | null | null | arch_params/scalenet_cifar_archs.py | zhjpqq/scaledensenet | 5ae56786c7f628b8320b76d559ecaa6fa1d2ac0e | [
"MIT"
] | 2 | 2020-03-12T04:41:49.000Z | 2020-10-11T08:32:34.000Z | # cifar10 #####################
ci7 = {'stages': 3, 'depth': 22, 'branch': 3, 'rock': 'U', 'kldloss': False,
'layers': (3, 3, 3), 'blocks': ('D', 'D', 'S'), 'slink': ('A', 'A', 'A'),
'growth': (0, 0, 0), 'classify': (0, 0, 0), 'expand': (1 * 22, 2 * 22),
'dfunc': ('O', 'O'), 'dstyle': 'maxpool', '... | 57.096386 | 105 | 0.488078 | 601 | 4,739 | 3.775374 | 0.164725 | 0.049361 | 0.058175 | 0.082415 | 0.769502 | 0.769502 | 0.769502 | 0.75628 | 0.75628 | 0.75628 | 0 | 0.083557 | 0.214602 | 4,739 | 83 | 106 | 57.096386 | 0.526061 | 0.073644 | 0 | 0.757576 | 0 | 0 | 0.397877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1eb2aeffaa05044599c4d044c5bdf7040314ee56 | 1,562 | py | Python | py/pe/pe25.py | kittttttan/pe | 6f87e4527793198c393700fedbdd52274fec5b44 | [
"MIT"
] | null | null | null | py/pe/pe25.py | kittttttan/pe | 6f87e4527793198c393700fedbdd52274fec5b44 | [
"MIT"
] | null | null | null | py/pe/pe25.py | kittttttan/pe | 6f87e4527793198c393700fedbdd52274fec5b44 | [
"MIT"
] | 1 | 2016-09-01T22:47:28.000Z | 2016-09-01T22:47:28.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
What is the first term in the Fibonacci sequence to contain 1000 digits?
"""
def pe25(digits=1000):
"""
>>> pe25()
(4782, 107006626638275893676498058445739688508368389663215166501323520337531452060469404062188914758248979265780469488817759195748433646667256... | 53.862069 | 1,012 | 0.820102 | 72 | 1,562 | 17.680556 | 0.694444 | 0.004713 | 0.004713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.747261 | 0.12356 | 1,562 | 28 | 1,013 | 55.785714 | 0.182615 | 0.726633 | 0 | 0 | 0 | 0 | 0.025063 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.0625 | 0.0625 | 0 | 0.1875 | 0.0625 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1eda650c2b7c00404318ab0359a59e2e2949be81 | 22 | py | Python | phasortoolbox/parser/pcap/__init__.py | ashu704/PhasorToolBox | ca9c5a6d35409a369ac73738b0c5e7621fec3bea | [
"MIT"
] | 18 | 2017-08-12T19:57:48.000Z | 2021-12-17T11:39:38.000Z | phasortoolbox/parser/pcap/__init__.py | ashu704/PhasorToolBox | ca9c5a6d35409a369ac73738b0c5e7621fec3bea | [
"MIT"
] | 3 | 2017-11-15T22:46:25.000Z | 2021-07-29T17:48:27.000Z | phasortoolbox/parser/pcap/__init__.py | ashu704/PhasorToolBox | ca9c5a6d35409a369ac73738b0c5e7621fec3bea | [
"MIT"
] | 8 | 2018-02-07T15:39:03.000Z | 2021-03-10T02:44:03.000Z | from .pcap import Pcap | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
bf4c642d21fbc3614acd84c05349004ef7263699 | 185 | py | Python | hello_world_project/hello_world/views.py | pjconnolly12/Django-Practice | 3383b979f509812504221181d253cef0cb471b51 | [
"MIT"
] | null | null | null | hello_world_project/hello_world/views.py | pjconnolly12/Django-Practice | 3383b979f509812504221181d253cef0cb471b51 | [
"MIT"
] | null | null | null | hello_world_project/hello_world/views.py | pjconnolly12/Django-Practice | 3383b979f509812504221181d253cef0cb471b51 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse('<html><body>Hello, World!</body></html>')
| 23.125 | 63 | 0.762162 | 25 | 185 | 5.64 | 0.76 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113514 | 185 | 7 | 64 | 26.428571 | 0.859756 | 0.124324 | 0 | 0 | 0 | 0 | 0.24375 | 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 |
bf75b5ffbda29fa334b2693eb90a2b1009d3c4e1 | 258 | py | Python | uwsgiconf/exceptions.py | graceshaw/uwsgiconf | 205289bb279dfbcc1d9bfd599dd8ca5d6c527077 | [
"BSD-3-Clause"
] | 77 | 2017-07-15T21:14:24.000Z | 2021-09-02T13:35:44.000Z | uwsgiconf/exceptions.py | graceshaw/uwsgiconf | 205289bb279dfbcc1d9bfd599dd8ca5d6c527077 | [
"BSD-3-Clause"
] | 5 | 2017-12-01T05:41:02.000Z | 2022-03-23T07:46:19.000Z | uwsgiconf/exceptions.py | graceshaw/uwsgiconf | 205289bb279dfbcc1d9bfd599dd8ca5d6c527077 | [
"BSD-3-Clause"
] | 1 | 2021-05-20T01:33:04.000Z | 2021-05-20T01:33:04.000Z |
class UwsgiconfException(Exception):
"""Base for exceptions."""
class ConfigurationError(UwsgiconfException):
"""Configuration related error."""
class RuntimeConfigurationError(ConfigurationError):
"""Runtime configuration related error."""
| 21.5 | 52 | 0.755814 | 19 | 258 | 10.263158 | 0.631579 | 0.205128 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 258 | 11 | 53 | 23.454545 | 0.866667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
bf7f0d02905cd1fc78cadd22dbc6fce470928101 | 13,401 | py | Python | model/MultiResUNet.py | THU-CVlab/JMedSeg | 1c9c66a1b2c6e4c5e3f70ca9e1ed54447b944755 | [
"MIT"
] | 26 | 2021-08-19T05:22:44.000Z | 2022-03-08T05:44:43.000Z | model/MultiResUNet.py | Jittor/JMedSeg | 1c9c66a1b2c6e4c5e3f70ca9e1ed54447b944755 | [
"MIT"
] | null | null | null | model/MultiResUNet.py | Jittor/JMedSeg | 1c9c66a1b2c6e4c5e3f70ca9e1ed54447b944755 | [
"MIT"
] | 3 | 2021-08-19T06:12:49.000Z | 2021-08-19T11:41:16.000Z | '''
https://github.com/makifozkanoglu/MultiResUNet-PyTorch/blob/main/multiresunet.py
'''
import jittor as jt
from jittor import init
from jittor import nn
def Conv2dSame(in_channels, out_channels, kernel_size, use_bias=True, padding_layer=nn.ReflectionPad2d):
ka = (kernel_size // 2)
kb = ((ka - 1) if ((kernel... | 41.489164 | 115 | 0.62749 | 1,791 | 13,401 | 4.508654 | 0.093802 | 0.065387 | 0.009907 | 0.019319 | 0.849288 | 0.818947 | 0.794923 | 0.767554 | 0.742539 | 0.719752 | 0 | 0.046672 | 0.230953 | 13,401 | 322 | 116 | 41.618012 | 0.736852 | 0.503246 | 0 | 0.100775 | 0 | 0 | 0.007837 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 1 | 0.100775 | false | 0 | 0.023256 | 0 | 0.209302 | 0.007752 | 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 |
44b98794db3d602cfacb309dc1f286f3c1093b0d | 4,299 | py | Python | API/v1/VIF/ipv6_allowed.py | MisakaMikoto0502/XenXenXenSe | 58a4d288dd2ef3f09ee0062b542b50f0b11d1c43 | [
"MIT"
] | null | null | null | API/v1/VIF/ipv6_allowed.py | MisakaMikoto0502/XenXenXenSe | 58a4d288dd2ef3f09ee0062b542b50f0b11d1c43 | [
"MIT"
] | null | null | null | API/v1/VIF/ipv6_allowed.py | MisakaMikoto0502/XenXenXenSe | 58a4d288dd2ef3f09ee0062b542b50f0b11d1c43 | [
"MIT"
] | null | null | null | from http.client import RemoteDisconnected
from xmlrpc.client import Fault
from fastapi import APIRouter, HTTPException
from XenAPI.XenAPI import Failure
from XenGarden.session import create_session
from XenGarden.VIF import VIF
from API.v1.Common import xenapi_failure_jsonify
from app.settings import Settings
from ... | 31.152174 | 88 | 0.670854 | 532 | 4,299 | 5.144737 | 0.131579 | 0.039459 | 0.10084 | 0.127147 | 0.823164 | 0.823164 | 0.823164 | 0.823164 | 0.823164 | 0.799781 | 0 | 0.012635 | 0.245173 | 4,299 | 137 | 89 | 31.379562 | 0.830817 | 0 | 0 | 0.636364 | 0 | 0 | 0.039094 | 0.039094 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.081818 | 0 | 0.118182 | 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 |
785ec3e5feb6e3c232b9e5e5d5cb1b34decb8baf | 39 | py | Python | test/test_Basic.py | nogebour/PereBlaiseBot | d648993780672bab53d1c5bab418054dd9e2a200 | [
"Apache-2.0"
] | 1 | 2018-06-04T12:35:06.000Z | 2018-06-04T12:35:06.000Z | test/test_Basic.py | paulber/PereBlaiseBot | 253b5850c4238bafae2f16816e9bec36a72bf439 | [
"Apache-2.0"
] | 6 | 2018-04-27T18:11:50.000Z | 2018-05-04T15:14:07.000Z | test/test_Basic.py | paulber/PereBlaiseBot | 253b5850c4238bafae2f16816e9bec36a72bf439 | [
"Apache-2.0"
] | null | null | null | def test_challenge1():
assert True
| 13 | 22 | 0.717949 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.205128 | 39 | 2 | 23 | 19.5 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
78bbb7b336e8f528d9eb95f50556ecb3d4870fee | 35 | py | Python | fhirpipe/load/__init__.py | arkhn/fhir-pipe | fd54e1910f6f037b12e60cd8d29c033971fe1de0 | [
"Apache-2.0"
] | 27 | 2018-10-16T13:03:17.000Z | 2022-01-05T01:21:37.000Z | fhirpipe/load/__init__.py | arkhn/fhir-pipe | fd54e1910f6f037b12e60cd8d29c033971fe1de0 | [
"Apache-2.0"
] | 45 | 2018-10-21T14:14:11.000Z | 2020-06-25T14:32:28.000Z | fhirpipe/load/__init__.py | arkhn/fhir-pipe | fd54e1910f6f037b12e60cd8d29c033971fe1de0 | [
"Apache-2.0"
] | 2 | 2019-03-27T12:39:54.000Z | 2019-04-06T22:33:20.000Z | from .loader import Loader # noqa
| 17.5 | 34 | 0.742857 | 5 | 35 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.928571 | 0.114286 | 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 |
78c1513a8fd125353afa655d7c4bc6a2c0f4a923 | 96 | py | Python | venv/lib/python3.8/site-packages/lockfile/symlinklockfile.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/lockfile/symlinklockfile.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/lockfile/symlinklockfile.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/00/1c/17/5e6bd31ef0a5e6f88f6e54a12f73c6fa01ac2e24f5ae800c7c3470862f | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
151ec2916ddec0aa63145c9c4b821caa38df4aef | 14,075 | py | Python | tests/unit/keys/test_authcrypt_keys_selector.py | alex-polosky/didcomm-python | 955866024c9f6191df9c5a898cc77e1979781eae | [
"Apache-2.0"
] | 8 | 2021-09-04T19:28:18.000Z | 2021-12-22T16:00:18.000Z | tests/unit/keys/test_authcrypt_keys_selector.py | alex-polosky/didcomm-python | 955866024c9f6191df9c5a898cc77e1979781eae | [
"Apache-2.0"
] | 4 | 2021-07-27T23:44:33.000Z | 2021-10-13T13:29:39.000Z | tests/unit/keys/test_authcrypt_keys_selector.py | alex-polosky/didcomm-python | 955866024c9f6191df9c5a898cc77e1979781eae | [
"Apache-2.0"
] | 7 | 2021-07-22T08:19:13.000Z | 2022-01-04T14:46:38.000Z | from typing import List
import pytest
from didcomm.common.types import DID_URL
from didcomm.core.keys.authcrypt_keys_selector import (
find_authcrypt_pack_sender_and_recipient_keys,
AuthcryptPackKeys,
find_authcrypt_unpack_sender_and_recipient_keys,
AuthcryptUnpackKeys,
)
from didcomm.did_doc.did_doc ... | 32.430876 | 108 | 0.737833 | 1,679 | 14,075 | 5.722454 | 0.058964 | 0.047773 | 0.084305 | 0.100749 | 0.891757 | 0.87729 | 0.863239 | 0.834721 | 0.788822 | 0.76353 | 0 | 0.014866 | 0.197087 | 14,075 | 433 | 109 | 32.505774 | 0.835324 | 0.007034 | 0 | 0.581395 | 0 | 0 | 0.039934 | 0.007014 | 0 | 0 | 0 | 0 | 0.031008 | 1 | 0 | false | 0 | 0.020672 | 0 | 0.02584 | 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 |
15267ceb7fcd5e3527bdf7e5b3e35ee11011762a | 6,252 | py | Python | indicators/migrations/0014_auto_20180119_1323.py | meetdatastory/Activity-CE | 2692e591f08cea7c869c045577b3d9e20d3ed335 | [
"Apache-2.0"
] | null | null | null | indicators/migrations/0014_auto_20180119_1323.py | meetdatastory/Activity-CE | 2692e591f08cea7c869c045577b3d9e20d3ed335 | [
"Apache-2.0"
] | 268 | 2020-03-31T15:46:59.000Z | 2022-03-31T18:01:08.000Z | indicators/migrations/0014_auto_20180119_1323.py | meetdatastory/Activity-CE | 2692e591f08cea7c869c045577b3d9e20d3ed335 | [
"Apache-2.0"
] | 1 | 2021-01-05T01:58:24.000Z | 2021-01-05T01:58:24.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2018-01-19 21:23
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('indicators', '0013_auto_20180118_1319'),
]
operati... | 45.635036 | 217 | 0.62652 | 646 | 6,252 | 5.899381 | 0.185759 | 0.125951 | 0.157439 | 0.182629 | 0.82052 | 0.82052 | 0.647861 | 0.647861 | 0.647861 | 0.610863 | 0 | 0.010028 | 0.25032 | 6,252 | 136 | 218 | 45.970588 | 0.803072 | 0.010877 | 0 | 0.775194 | 1 | 0 | 0.20563 | 0.057596 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023256 | 0 | 0.046512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
15331aa94eb84d9d1ef62a40978fdd4ba7980452 | 47 | py | Python | test.py | sunzhaoc/TrackPrediction | bcf5e5f71d5d893f562d141915198f5f2578d48c | [
"MIT"
] | 1 | 2021-05-10T02:30:14.000Z | 2021-05-10T02:30:14.000Z | test.py | sunzhaoc/TrackPrediction | bcf5e5f71d5d893f562d141915198f5f2578d48c | [
"MIT"
] | null | null | null | test.py | sunzhaoc/TrackPrediction | bcf5e5f71d5d893f562d141915198f5f2578d48c | [
"MIT"
] | null | null | null | A = [[1, 2], [3, 4], [5, 6]]
B = max(A)
V = 1 | 9.4 | 28 | 0.297872 | 12 | 47 | 1.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 0.319149 | 47 | 5 | 29 | 9.4 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
15807c813af151784d42acbde1a5a4bd4baae841 | 133 | py | Python | mnistetude/actfunc/__init__.py | aram-father/mnist-etude | 3f9196a7ae3447c3412507896c3dc3ae81f9d7d0 | [
"BSD-2-Clause"
] | null | null | null | mnistetude/actfunc/__init__.py | aram-father/mnist-etude | 3f9196a7ae3447c3412507896c3dc3ae81f9d7d0 | [
"BSD-2-Clause"
] | 1 | 2022-03-18T03:14:13.000Z | 2022-03-18T03:14:13.000Z | mnistetude/actfunc/__init__.py | aram-father/mnist-etude | 3f9196a7ae3447c3412507896c3dc3ae81f9d7d0 | [
"BSD-2-Clause"
] | null | null | null | from .identity import *
from .relu import *
from .sigmoid import *
from .softmax import *
from .step import *
from .iactfunc import * | 22.166667 | 23 | 0.736842 | 18 | 133 | 5.444444 | 0.444444 | 0.510204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172932 | 133 | 6 | 24 | 22.166667 | 0.890909 | 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 |
158c36c8f6f8fe9353dd89773638b52ad0d3af13 | 143 | py | Python | src/hypertag/__init__.py | mwojnars/hypertag | 8cd989127c12d78f6902d4b3dc972de31a3e88d9 | [
"MIT"
] | 24 | 2021-02-26T18:58:04.000Z | 2022-03-12T21:46:55.000Z | src/hypertag/__init__.py | mwojnars/hypertag | 8cd989127c12d78f6902d4b3dc972de31a3e88d9 | [
"MIT"
] | null | null | null | src/hypertag/__init__.py | mwojnars/hypertag | 8cd989127c12d78f6902d4b3dc972de31a3e88d9 | [
"MIT"
] | null | null | null | from hypertag.core.run_html import Runtime, HyperHTML
from hypertag.core.tag import Tag, TagFunction, Markup
from hypertag.core.dom import DOM
| 35.75 | 54 | 0.832168 | 22 | 143 | 5.363636 | 0.545455 | 0.305085 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104895 | 143 | 3 | 55 | 47.666667 | 0.921875 | 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 |
15a06d4d90c0a7796669306c1f501dae9940709e | 6,372 | py | Python | arim/_probes/bristol_ndt.py | will-jj/arim | fc15efe171a41355090123fcea10406ee75efe31 | [
"MIT"
] | 14 | 2019-04-05T13:43:36.000Z | 2022-02-01T21:38:19.000Z | arim/_probes/bristol_ndt.py | will-jj/arim | fc15efe171a41355090123fcea10406ee75efe31 | [
"MIT"
] | 2 | 2019-04-09T10:38:26.000Z | 2019-06-17T16:23:16.000Z | arim/_probes/bristol_ndt.py | will-jj/arim | fc15efe171a41355090123fcea10406ee75efe31 | [
"MIT"
] | 5 | 2019-04-04T17:02:20.000Z | 2020-09-30T15:36:03.000Z | """
"""
import numpy as np
from .. import core
from .. import geometry as g
from .registry import ProbeMaker
makers = []
def _make_ima_50_MHz_128_1d():
metadata = dict(
probe_type="linear",
short_name="ima_50_MHz_128_1d",
long_name="Imasonic 5.0 MHz 128 elts linear array probe",
... | 26.55 | 81 | 0.617702 | 809 | 6,372 | 4.667491 | 0.118665 | 0.039725 | 0.112553 | 0.091367 | 0.943856 | 0.923464 | 0.888242 | 0.873146 | 0.845604 | 0.75768 | 0 | 0.063784 | 0.266792 | 6,372 | 239 | 82 | 26.661088 | 0.744435 | 0 | 0 | 0.6 | 0 | 0 | 0.10872 | 0.006913 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.019048 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ec6bb3961cca5e7894c1c28531de3fded45ed60d | 20,267 | py | Python | prophyc/tests/test_patch.py | florczakraf/prophy | a42a6151a77b31afa05300fc2e1f52cc15a298cf | [
"MIT"
] | 14 | 2015-02-19T22:00:37.000Z | 2020-11-30T03:03:55.000Z | prophyc/tests/test_patch.py | florczakraf/prophy | a42a6151a77b31afa05300fc2e1f52cc15a298cf | [
"MIT"
] | 31 | 2015-06-22T11:11:10.000Z | 2021-05-12T06:35:47.000Z | prophyc/tests/test_patch.py | florczakraf/prophy | a42a6151a77b31afa05300fc2e1f52cc15a298cf | [
"MIT"
] | 16 | 2015-06-12T06:48:06.000Z | 2019-11-26T22:48:13.000Z | import os
import tempfile
import pytest
from prophyc import patch
from prophyc import model
def parse(content):
try:
with tempfile.NamedTemporaryFile(delete=False) as temp:
temp.write(content)
temp.flush()
return patch.parse(temp.name)
finally:
os.unlink(te... | 41.193089 | 118 | 0.583954 | 2,131 | 20,267 | 5.444862 | 0.064289 | 0.147979 | 0.101698 | 0.083427 | 0.873826 | 0.856503 | 0.834526 | 0.815565 | 0.779971 | 0.761355 | 0 | 0.028647 | 0.255933 | 20,267 | 491 | 119 | 41.276986 | 0.740782 | 0 | 0 | 0.575221 | 0 | 0.00295 | 0.209256 | 0.002714 | 0 | 0 | 0 | 0 | 0.132743 | 1 | 0.123894 | false | 0 | 0.014749 | 0 | 0.141593 | 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 |
eca6fbc6bec29883c8e32a2320a8ba325b4469e8 | 133 | py | Python | rtamt/exception/stl/exception.py | BentleyJOakes/rtamt | 5366349c44afb53cffa5fb29e43fea1eb23b6c52 | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | null | null | null | rtamt/exception/stl/exception.py | BentleyJOakes/rtamt | 5366349c44afb53cffa5fb29e43fea1eb23b6c52 | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | null | null | null | rtamt/exception/stl/exception.py | BentleyJOakes/rtamt | 5366349c44afb53cffa5fb29e43fea1eb23b6c52 | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | null | null | null | class STLException(Exception):
pass
class STLParseException(Exception):
pass
class STLOfflineException(Exception):
pass | 16.625 | 37 | 0.766917 | 12 | 133 | 8.5 | 0.5 | 0.382353 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165414 | 133 | 8 | 38 | 16.625 | 0.918919 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ecc7959a69faf00f7939f4c240d2ec3110ca77e2 | 720 | py | Python | citrination_client/models/columns/__init__.py | matSciMalcolm/python-citrination-client | a59a2ddd49b3a4323a3393ce13c81172c9b1b645 | [
"Apache-2.0"
] | null | null | null | citrination_client/models/columns/__init__.py | matSciMalcolm/python-citrination-client | a59a2ddd49b3a4323a3393ce13c81172c9b1b645 | [
"Apache-2.0"
] | null | null | null | citrination_client/models/columns/__init__.py | matSciMalcolm/python-citrination-client | a59a2ddd49b3a4323a3393ce13c81172c9b1b645 | [
"Apache-2.0"
] | null | null | null | from citrination_client.models.columns.base import BaseColumn
from citrination_client.models.columns.categorical import CategoricalColumn
from citrination_client.models.columns.real import RealColumn
from citrination_client.models.columns.vector import VectorColumn
from citrination_client.models.columns.organic_chemica... | 72 | 103 | 0.9125 | 78 | 720 | 8.230769 | 0.358974 | 0.21028 | 0.294393 | 0.378505 | 0.476636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 720 | 9 | 104 | 80 | 0.938596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ece20f1b737966a8efddfc4eba24fdbf076f2f38 | 44 | py | Python | sonipy/__init__.py | Sabrina-Knappe/sonipy | eaf89afaee0d9c2d5ba7a035d43e651b8919b84e | [
"MIT"
] | 22 | 2020-07-04T19:05:25.000Z | 2022-02-25T08:39:01.000Z | sonipy/__init__.py | Sabrina-Knappe/sonipy | eaf89afaee0d9c2d5ba7a035d43e651b8919b84e | [
"MIT"
] | 6 | 2020-07-07T17:09:00.000Z | 2021-04-12T16:37:41.000Z | sonipy/__init__.py | Sabrina-Knappe/sonipy | eaf89afaee0d9c2d5ba7a035d43e651b8919b84e | [
"MIT"
] | 6 | 2020-07-07T08:28:33.000Z | 2021-12-21T03:52:09.000Z | from .scales import *
from .sonify import *
| 14.666667 | 21 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 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 |
01c47866163e1573d28bc2565b4b02e5f2df9c72 | 350 | py | Python | simba/utils.py | atra94/simba | 0bc2df85474f744711dbc5abf972bd52f3d68ef9 | [
"MIT"
] | 3 | 2021-01-15T12:37:33.000Z | 2022-01-13T16:30:02.000Z | simba/utils.py | atra94/simba | 0bc2df85474f744711dbc5abf972bd52f3d68ef9 | [
"MIT"
] | null | null | null | simba/utils.py | atra94/simba | 0bc2df85474f744711dbc5abf972bd52f3d68ef9 | [
"MIT"
] | null | null | null | class Event:
def __init__(self):
self._callee_list = set()
def __iadd__(self, fct):
return self._callee_list.add(fct)
def __isub__(self, fct):
return self._callee_list.remove(fct)
def __call__(self, sender, *event_args):
for callee in self._callee_list:
... | 23.333333 | 44 | 0.625714 | 45 | 350 | 4.288889 | 0.422222 | 0.207254 | 0.290155 | 0.176166 | 0.279793 | 0.279793 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271429 | 350 | 14 | 45 | 25 | 0.756863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.7 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
01e0ff6e40e97eb1802841be592b3476f758545c | 33 | py | Python | final_project/machinetranslation/__init__.py | ns12356/xzceb-flask_eng_fr | 0e91b3014db27c81738c98b64462e8e87f7fc21d | [
"Apache-2.0"
] | null | null | null | final_project/machinetranslation/__init__.py | ns12356/xzceb-flask_eng_fr | 0e91b3014db27c81738c98b64462e8e87f7fc21d | [
"Apache-2.0"
] | null | null | null | final_project/machinetranslation/__init__.py | ns12356/xzceb-flask_eng_fr | 0e91b3014db27c81738c98b64462e8e87f7fc21d | [
"Apache-2.0"
] | null | null | null | from . import machinetranslation
| 16.5 | 32 | 0.848485 | 3 | 33 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
01f37e2627bdf0650bbe37c89b6eb954904efbc3 | 96 | py | Python | venv/lib/python3.8/site-packages/attr/converters.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/attr/converters.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/attr/converters.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ba/28/96/4f3f062c97bc2354f2ed42022b50de815527a874d76ce4a76abee0ecd9 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bf02cd94f2b530b1f30571406f9a7540d2069698 | 2,503 | py | Python | epytope/Data/pssms/smm/mat/A_23_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/A_23_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/A_23_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_23_01_10 = {0: {'A': 0.133, 'C': 0.275, 'E': 0.287, 'D': 0.195, 'G': 0.212, 'F': -0.292, 'I': 0.005, 'H': 0.23, 'K': 0.084, 'M': -0.158, 'L': 0.011, 'N': -0.026, 'Q': -0.011, 'P': -0.026, 'S': 0.069, 'R': -0.333, 'T': 0.047, 'W': -0.113, 'V': -0.224, 'Y': -0.365}, 1: {'A': 0.238, 'C': 0.156, 'E': 0.216, 'D': 0.071, '... | 2,503 | 2,503 | 0.383939 | 618 | 2,503 | 1.550162 | 0.289644 | 0.05428 | 0.010438 | 0.012526 | 0.083507 | 0.033403 | 0.033403 | 0.033403 | 0 | 0 | 0 | 0.360938 | 0.165402 | 2,503 | 1 | 2,503 | 2,503 | 0.097654 | 0 | 0 | 0 | 0 | 0 | 0.08107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bf0379b343888a2fdff27906cd8519c1689c9c83 | 4,788 | py | Python | coreutils/fileutil.py | bcsr0009/pdtf | 5d3cc7933ac07457f6b4b59f2d4d70e0de1ffaec | [
"MIT"
] | null | null | null | coreutils/fileutil.py | bcsr0009/pdtf | 5d3cc7933ac07457f6b4b59f2d4d70e0de1ffaec | [
"MIT"
] | null | null | null | coreutils/fileutil.py | bcsr0009/pdtf | 5d3cc7933ac07457f6b4b59f2d4d70e0de1ffaec | [
"MIT"
] | null | null | null | # coding: utf-8
import requests
import json
import paramiko
import time
import logging
import os
import difflib
import pdb
from coreutils.logdecorator import logwrap
@logwrap
def execute_command(ssh_connection_handler, cmd):
'''
This method provides execute_command option on device
'''
stdin,stdout,st... | 38.926829 | 134 | 0.794277 | 647 | 4,788 | 5.404946 | 0.109737 | 0.11324 | 0.114384 | 0.054046 | 0.861882 | 0.847584 | 0.816128 | 0.774092 | 0.774092 | 0.764655 | 0 | 0.00049 | 0.147452 | 4,788 | 122 | 135 | 39.245902 | 0.856198 | 0.159983 | 0 | 0.492308 | 0 | 0 | 0.001822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.138462 | 0 | 0.353846 | 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 |
bf144304fabb494f980405689a5f16c7ec566384 | 361 | py | Python | strikethrough_classification/src/__init__.py | RaphaelaHeil/strikethrough-removal-cyclegans | 91555b22cac6b6a379597aa94c23bdf02c9970a7 | [
"MIT"
] | 3 | 2021-08-30T12:37:14.000Z | 2022-02-09T16:07:14.000Z | strikethrough_classification/src/__init__.py | ektavats/strikethrough-removal-cyclegans | 35456619ff87fa010d2c161cff774af02142bae9 | [
"MIT"
] | null | null | null | strikethrough_classification/src/__init__.py | ektavats/strikethrough-removal-cyclegans | 35456619ff87fa010d2c161cff774af02142bae9 | [
"MIT"
] | 1 | 2022-01-25T10:30:54.000Z | 2022-01-25T10:30:54.000Z | from .configuration import ModelName, Configuration, getConfiguration
from .dataset import StrikeThroughType, StruckDataset
from .utils import PadToSize, composeTransformations, getModelByName
__all__ = ["ModelName", "Configuration", "getConfiguration", "StrikeThroughType", "StruckDataset", "PadToSize",
"co... | 51.571429 | 111 | 0.797784 | 26 | 361 | 10.923077 | 0.5 | 0.15493 | 0.267606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108033 | 361 | 6 | 112 | 60.166667 | 0.881988 | 0 | 0 | 0 | 0 | 0 | 0.313019 | 0.060942 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
177ed09ba9c9097a94809f1d850752a1a5ffa451 | 31 | py | Python | PyCypher/__init__.py | medhansh/PyCypher | e04a7cbc59cd1a719648b734fe850b3f818d66df | [
"MIT"
] | null | null | null | PyCypher/__init__.py | medhansh/PyCypher | e04a7cbc59cd1a719648b734fe850b3f818d66df | [
"MIT"
] | null | null | null | PyCypher/__init__.py | medhansh/PyCypher | e04a7cbc59cd1a719648b734fe850b3f818d66df | [
"MIT"
] | null | null | null | from PyCypher.pycypher import * | 31 | 31 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.928571 | 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 |
bd60f38bc43fc347a860583e3556473c295a48ea | 3,286 | py | Python | tests/test_filter.py | ttxskk/mmhuman3d | f6d39e24a2d5cc216448fc3bd82832ff45eee436 | [
"Apache-2.0"
] | 1 | 2021-12-03T04:17:52.000Z | 2021-12-03T04:17:52.000Z | tests/test_filter.py | ttxskk/mmhuman3d | f6d39e24a2d5cc216448fc3bd82832ff45eee436 | [
"Apache-2.0"
] | null | null | null | tests/test_filter.py | ttxskk/mmhuman3d | f6d39e24a2d5cc216448fc3bd82832ff45eee436 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import torch
from mmhuman3d.core.filter.builder import build_filter
# test different data type
def test_data_type_torch():
noisy_input = torch.randn((100, 17, 3))
cfg = dict(type='OneEuroFilter', min_cutoff=0.004, beta=0.7)
oneeuro = build_filter(cfg)
out_g = oneeuro(noisy_input)
... | 40.567901 | 76 | 0.678637 | 541 | 3,286 | 3.852126 | 0.133087 | 0.12476 | 0.06334 | 0.097889 | 0.872361 | 0.862764 | 0.862764 | 0.846449 | 0.829655 | 0.829655 | 0 | 0.044041 | 0.177724 | 3,286 | 80 | 77 | 41.075 | 0.727239 | 0.021303 | 0 | 0.617647 | 0 | 0 | 0.041109 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 1 | 0.058824 | false | 0 | 0.044118 | 0 | 0.117647 | 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 |
bdeceaf201a59dd5aa4139656609d9bb1898559e | 135 | py | Python | isbit_client/__init__.py | ISBITX/isbit-client-python | 6943b69cb15d12a8c524461467e3806ab5b1ba19 | [
"MIT"
] | 1 | 2018-04-22T01:30:21.000Z | 2018-04-22T01:30:21.000Z | isbit_client/__init__.py | ISBITX/isbit-client-python | 6943b69cb15d12a8c524461467e3806ab5b1ba19 | [
"MIT"
] | 1 | 2018-04-26T05:30:41.000Z | 2018-04-26T05:30:41.000Z | isbit_client/__init__.py | ISBITX/isbit-client-python | 6943b69cb15d12a8c524461467e3806ab5b1ba19 | [
"MIT"
] | 1 | 2018-04-26T01:54:42.000Z | 2018-04-26T01:54:42.000Z | # coding:utf-8
from .client import IsbitClient
from .streaming_client import StreamingIsbitClient
from .error import IsbitClientError
| 22.5 | 50 | 0.844444 | 16 | 135 | 7.0625 | 0.6875 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.111111 | 135 | 5 | 51 | 27 | 0.933333 | 0.088889 | 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 |
bdee3bbbc5846fcbb9c599c3f61ee74ec8b79de2 | 30 | py | Python | src/envs/particle/__init__.py | MarShin/pymarl2 | b6598cbd3ca044564270b6cdb1bb495173af7f4c | [
"Apache-2.0"
] | 4 | 2022-03-17T05:01:30.000Z | 2022-03-17T05:09:17.000Z | src/envs/particle/__init__.py | MarShin/pymarl2 | b6598cbd3ca044564270b6cdb1bb495173af7f4c | [
"Apache-2.0"
] | null | null | null | src/envs/particle/__init__.py | MarShin/pymarl2 | b6598cbd3ca044564270b6cdb1bb495173af7f4c | [
"Apache-2.0"
] | null | null | null | from .particle import Particle | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 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 |
da01426a41ad3cb80b0221a75ea0d9536d0d1c0c | 83 | py | Python | moff/node/root_node.py | Tikubonn/moff | 1c363f60959138311068177fca177d0f0dc97380 | [
"MIT"
] | null | null | null | moff/node/root_node.py | Tikubonn/moff | 1c363f60959138311068177fca177d0f0dc97380 | [
"MIT"
] | null | null | null | moff/node/root_node.py | Tikubonn/moff | 1c363f60959138311068177fca177d0f0dc97380 | [
"MIT"
] | null | null | null |
from .template import CollectionNode
class RootNode (CollectionNode):
pass
| 10.375 | 36 | 0.759036 | 8 | 83 | 7.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 83 | 7 | 37 | 11.857143 | 0.940299 | 0 | 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 |
da0c98cc404659f3bfef5ebfddfa868314744351 | 70 | py | Python | core/spectrum/__init__.py | VasilyevEvgeny/self-focusing_3D | c90b4d78d2d72365566f8a49b325bd48127b1e44 | [
"MIT"
] | null | null | null | core/spectrum/__init__.py | VasilyevEvgeny/self-focusing_3D | c90b4d78d2d72365566f8a49b325bd48127b1e44 | [
"MIT"
] | null | null | null | core/spectrum/__init__.py | VasilyevEvgeny/self-focusing_3D | c90b4d78d2d72365566f8a49b325bd48127b1e44 | [
"MIT"
] | null | null | null | from .spectrum_r import SpectrumR
from .spectrum_xy import SpectrumXY
| 23.333333 | 35 | 0.857143 | 10 | 70 | 5.8 | 0.7 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 2 | 36 | 35 | 0.935484 | 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 |
16fda72a13b0eb5487524e2c30de028e5cf87eef | 31 | py | Python | rdkit/sping/PS/__init__.py | kazuyaujihara/rdkit | 06027dcd05674787b61f27ba46ec0d42a6037540 | [
"BSD-3-Clause"
] | 1,609 | 2015-01-05T02:41:13.000Z | 2022-03-30T21:57:24.000Z | rdkit/sping/PS/__init__.py | kazuyaujihara/rdkit | 06027dcd05674787b61f27ba46ec0d42a6037540 | [
"BSD-3-Clause"
] | 3,412 | 2015-01-06T12:13:33.000Z | 2022-03-31T17:25:41.000Z | rdkit/sping/PS/__init__.py | bp-kelley/rdkit | e0de7c9622ce73894b1e7d9568532f6d5638058a | [
"BSD-3-Clause"
] | 811 | 2015-01-11T03:33:48.000Z | 2022-03-28T11:57:49.000Z | # package
from .pidPS import *
| 10.333333 | 20 | 0.709677 | 4 | 31 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 31 | 2 | 21 | 15.5 | 0.88 | 0.225806 | 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 |
e5465270640d52a0c7a9c9e382badf6f800ef8b0 | 53 | py | Python | utils/__init__.py | xuhaiming1996/Dense_BiLSTM_xhm | a08a05572a8c37cd6af4afa6b556d471418761bb | [
"MIT"
] | 47 | 2018-02-18T20:07:44.000Z | 2021-12-03T03:31:03.000Z | utils/__init__.py | pikaliov/Dense_BiLSTM | 88bf7389de4cdf976c12636aca15b7c2467bc675 | [
"MIT"
] | 3 | 2018-09-27T05:59:31.000Z | 2019-03-10T18:57:32.000Z | utils/__init__.py | pikaliov/Dense_BiLSTM | 88bf7389de4cdf976c12636aca15b7c2467bc675 | [
"MIT"
] | 28 | 2018-03-04T16:50:18.000Z | 2020-11-03T13:40:36.000Z | from utils.logger import *
from utils.funcs import *
| 17.666667 | 26 | 0.773585 | 8 | 53 | 5.125 | 0.625 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 53 | 2 | 27 | 26.5 | 0.911111 | 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 |
e56c5e3ad957b0648bab0c5379b58831d5345a69 | 94 | py | Python | tests/example_test.py | StylishTriangles/pyteal-test-template | 16e0b297de28194435482e6ed3a79334f7c8afa3 | [
"MIT"
] | 1 | 2021-11-24T18:39:10.000Z | 2021-11-24T18:39:10.000Z | tests/example_test.py | StylishTriangles/pyteal-test-template | 16e0b297de28194435482e6ed3a79334f7c8afa3 | [
"MIT"
] | null | null | null | tests/example_test.py | StylishTriangles/pyteal-test-template | 16e0b297de28194435482e6ed3a79334f7c8afa3 | [
"MIT"
] | null | null | null | from tests.constants import client
def test_connection():
assert client.health() == None
| 18.8 | 34 | 0.744681 | 12 | 94 | 5.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 4 | 35 | 23.5 | 0.873418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
e5d0c4a841a9a9eabf0fab1b42e5817c90cf685c | 1,055 | py | Python | ansible/roles/deploywebapp/templates/deploy.py | HrishiWorks/AutomationCode | ec521bd97309d2a9e215ed817918c82f873333c9 | [
"Unlicense"
] | null | null | null | ansible/roles/deploywebapp/templates/deploy.py | HrishiWorks/AutomationCode | ec521bd97309d2a9e215ed817918c82f873333c9 | [
"Unlicense"
] | null | null | null | ansible/roles/deploywebapp/templates/deploy.py | HrishiWorks/AutomationCode | ec521bd97309d2a9e215ed817918c82f873333c9 | [
"Unlicense"
] | null | null | null | AdminApp.install('/tmp/installers/war_app/JspDemo.war', '[ -nopreCompileJSPs -distributeApp -nouseMetaDataFromBinary -nodeployejb -appname JspDemo -createMBeansForResources -noreloadEnabled -nodeployws -validateinstall warn -noprocessEmbeddedConfig -filepermission .*\.dll=755#.*\.so=755#.*\.a=755#.*\.sl=755 -noallowDis... | 211 | 769 | 0.818009 | 106 | 1,055 | 8.122642 | 0.660377 | 0.046458 | 0.059233 | 0.069686 | 0.101045 | 0.101045 | 0.101045 | 0 | 0 | 0 | 0 | 0.027916 | 0.049289 | 1,055 | 4 | 770 | 263.75 | 0.830508 | 0 | 0 | 0 | 0 | 0.666667 | 0.92315 | 0.553131 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
007dc6f5c3f83e72ac5fe59f95b0be11d25512c1 | 41 | py | Python | symbench_athens_client/tests/test_uav_workflows.py | valtron/symbench-athens-client | 11482f5d385217898cfc5cb6ff9d76b19a3f7356 | [
"Apache-2.0"
] | null | null | null | symbench_athens_client/tests/test_uav_workflows.py | valtron/symbench-athens-client | 11482f5d385217898cfc5cb6ff9d76b19a3f7356 | [
"Apache-2.0"
] | 43 | 2021-08-19T20:16:43.000Z | 2022-03-30T18:54:42.000Z | symbench_athens_client/tests/test_uav_workflows.py | valtron/symbench-athens-client | 11482f5d385217898cfc5cb6ff9d76b19a3f7356 | [
"Apache-2.0"
] | 2 | 2021-11-09T06:07:06.000Z | 2022-01-13T17:04:29.000Z | class TestUAVWorkflows:
pass # ToDO
| 13.666667 | 23 | 0.707317 | 4 | 41 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 41 | 2 | 24 | 20.5 | 0.935484 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
00e3223d30f93d5303e5b766560597cacdcbb829 | 118 | py | Python | models/__init__.py | santbetv/modulo_odoo_free_ganaderia | 07e74c205c8aca45ad56618ede47410d3dd994a8 | [
"CNRI-Python"
] | 1 | 2020-11-01T00:16:13.000Z | 2020-11-01T00:16:13.000Z | models/__init__.py | santbetv/modulo_odoo_free_ganaderia | 07e74c205c8aca45ad56618ede47410d3dd994a8 | [
"CNRI-Python"
] | 1 | 2020-10-20T01:33:45.000Z | 2020-10-20T01:33:45.000Z | models/__init__.py | santbetv/modulo_odoo_free_ganaderia | 07e74c205c8aca45ad56618ede47410d3dd994a8 | [
"CNRI-Python"
] | 1 | 2021-04-03T19:28:03.000Z | 2021-04-03T19:28:03.000Z | # -*- coding: utf-8 -*-
from . import ganaderia_ganado
from . import ganaderia_ganadero
from . import ganaderia_finca | 23.6 | 32 | 0.754237 | 15 | 118 | 5.733333 | 0.6 | 0.348837 | 0.662791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.144068 | 118 | 5 | 33 | 23.6 | 0.841584 | 0.177966 | 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 |
da9d172ef39162d8b27115bf6e4ca429a5f8bae4 | 324 | py | Python | cabot/metricsapp/forms/__init__.py | Affirm/cabot | c648d50364efe8506cfbb849d38e328afdaa4e37 | [
"MIT"
] | 12 | 2016-04-01T18:49:05.000Z | 2020-10-21T18:25:23.000Z | cabot/metricsapp/forms/__init__.py | Affirm/cabot | c648d50364efe8506cfbb849d38e328afdaa4e37 | [
"MIT"
] | 125 | 2016-01-19T23:52:11.000Z | 2021-04-08T00:30:36.000Z | cabot/metricsapp/forms/__init__.py | Affirm/cabot | c648d50364efe8506cfbb849d38e328afdaa4e37 | [
"MIT"
] | 8 | 2015-12-01T14:54:02.000Z | 2020-01-13T11:06:40.000Z | from .elastic import ElasticsearchSourceForm, ElasticsearchStatusCheckForm
from .grafana_elastic import GrafanaElasticsearchStatusCheckForm
from .grafana import GrafanaInstanceAdminForm, GrafanaDataSourceAdminForm, GrafanaInstanceForm, GrafanaDashboardForm, \
GrafanaPanelForm, GrafanaSeriesForm, GrafanaStatusCheckF... | 64.8 | 119 | 0.891975 | 20 | 324 | 14.4 | 0.7 | 0.090278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 324 | 4 | 120 | 81 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9727f64d1ca6fb3fae0acbc59b4e357a6293a8a1 | 24 | py | Python | looker_api/__init__.py | nofeet/looker-api | fc7f35f01690844a57c16c4899a983d194998861 | [
"BSD-3-Clause"
] | 1 | 2018-06-20T17:51:28.000Z | 2018-06-20T17:51:28.000Z | looker_api/__init__.py | nofeet/looker-api | fc7f35f01690844a57c16c4899a983d194998861 | [
"BSD-3-Clause"
] | 1 | 2018-05-22T19:51:28.000Z | 2018-05-22T19:51:28.000Z | looker_api/__init__.py | nofeet/looker-api | fc7f35f01690844a57c16c4899a983d194998861 | [
"BSD-3-Clause"
] | null | null | null | from looker_api import * | 24 | 24 | 0.833333 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 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 |
9792eaec37333b0bd87b76e280144b01e45c8362 | 102 | py | Python | codingbat.com/Warmup-1/monkey_trouble .py | ahmedelq/PythonicAlgorithms | ce10dbb6e1fd0ea5c922a932b0f920236aa411bf | [
"MIT"
] | null | null | null | codingbat.com/Warmup-1/monkey_trouble .py | ahmedelq/PythonicAlgorithms | ce10dbb6e1fd0ea5c922a932b0f920236aa411bf | [
"MIT"
] | null | null | null | codingbat.com/Warmup-1/monkey_trouble .py | ahmedelq/PythonicAlgorithms | ce10dbb6e1fd0ea5c922a932b0f920236aa411bf | [
"MIT"
] | null | null | null | def monkey_trouble(a_smile, b_smile):
return (a_smile and b_smile) or (not a_smile and not b_smile)
| 34 | 63 | 0.77451 | 21 | 102 | 3.428571 | 0.47619 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 2 | 64 | 51 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 6 |
97a8774db190df1aef3f8228788815dfb27dbc2d | 70 | py | Python | research/cv/ICNet/src/models/__init__.py | leelige/mindspore | 5199e05ba3888963473f2b07da3f7bca5b9ef6dc | [
"Apache-2.0"
] | 77 | 2021-10-15T08:32:37.000Z | 2022-03-30T13:09:11.000Z | research/cv/ICNet/src/models/__init__.py | leelige/mindspore | 5199e05ba3888963473f2b07da3f7bca5b9ef6dc | [
"Apache-2.0"
] | 3 | 2021-10-30T14:44:57.000Z | 2022-02-14T06:57:57.000Z | research/cv/ICNet/src/models/__init__.py | leelige/mindspore | 5199e05ba3888963473f2b07da3f7bca5b9ef6dc | [
"Apache-2.0"
] | 24 | 2021-10-15T08:32:45.000Z | 2022-03-24T18:45:20.000Z | """__init__"""
from .icnet import ICNet
from .icnet_dc import ICNetdc
| 17.5 | 29 | 0.757143 | 10 | 70 | 4.8 | 0.6 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 70 | 3 | 30 | 23.333333 | 0.786885 | 0.114286 | 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 |
8ae17d5abeb256e0bbe2c79da687ce5b7ac0d803 | 30 | py | Python | fiwz13/__init__.py | cheezetata/fiwz13 | 915252998c680f830cc36327f7f7300316ee211c | [
"MIT"
] | null | null | null | fiwz13/__init__.py | cheezetata/fiwz13 | 915252998c680f830cc36327f7f7300316ee211c | [
"MIT"
] | null | null | null | fiwz13/__init__.py | cheezetata/fiwz13 | 915252998c680f830cc36327f7f7300316ee211c | [
"MIT"
] | null | null | null | from fiwz13.fiwz import Fiwz
| 15 | 29 | 0.8 | 5 | 30 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.166667 | 30 | 1 | 30 | 30 | 0.88 | 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 |
8af6b6618192b4f3dde3310b3f36acc10688f072 | 628 | py | Python | seaice/timeseries/__init__.py | andypbarrett/nsidc-seaice | 167a16309f7eaadd5c613b54a7df26eb1f48c2f3 | [
"MIT"
] | 2 | 2020-08-27T08:40:22.000Z | 2021-04-14T15:42:09.000Z | seaice/timeseries/__init__.py | andypbarrett/nsidc-seaice | 167a16309f7eaadd5c613b54a7df26eb1f48c2f3 | [
"MIT"
] | null | null | null | seaice/timeseries/__init__.py | andypbarrett/nsidc-seaice | 167a16309f7eaadd5c613b54a7df26eb1f48c2f3 | [
"MIT"
] | null | null | null | import logging
from .api import daily # noqa
from .api import monthly # noqa
from .api import daily # noqa
from .api import monthly # noqa
from .api import monthly_rates_of_change # noqa
from .api import climatology_average_rates_of_change # noqa
from .api import nday_average # noqa
from .api import scale # no... | 33.052632 | 61 | 0.77707 | 91 | 628 | 5.175824 | 0.274725 | 0.208068 | 0.386412 | 0.469214 | 0.615711 | 0.350318 | 0.350318 | 0.22293 | 0.22293 | 0.22293 | 0 | 0 | 0.164013 | 628 | 18 | 62 | 34.888889 | 0.897143 | 0.109873 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.9375 | 0 | 0.9375 | 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 |
8af70d8727ea30258eaea0ca44dbfbefad7a3df8 | 137 | py | Python | pgreaper/html/__init__.py | vincentlaucsb/sqlify | cc84be6efef7b904aacc463d5b0211b3e52a8f25 | [
"MIT"
] | 8 | 2017-05-01T10:11:40.000Z | 2017-07-26T08:52:43.000Z | pgreaper/html/__init__.py | vincentlaucsb/pgreaper | cc84be6efef7b904aacc463d5b0211b3e52a8f25 | [
"MIT"
] | 4 | 2017-05-01T13:11:05.000Z | 2017-08-06T06:18:34.000Z | pgreaper/html/__init__.py | vincentlaucsb/sqlify | cc84be6efef7b904aacc463d5b0211b3e52a8f25 | [
"MIT"
] | null | null | null | from .parser import get_tables_from_file as from_file, \
get_tables_from_url as from_url, \
get_tables_from_string as from_string | 45.666667 | 56 | 0.810219 | 24 | 137 | 4.125 | 0.375 | 0.272727 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153285 | 137 | 3 | 57 | 45.666667 | 0.853448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c104912b56c35454b9c66b70c1b03c6f3b4e0679 | 47 | py | Python | tests/java/org/python/indexer/data/pkgload.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 577 | 2020-06-04T16:34:44.000Z | 2022-03-31T11:46:07.000Z | tests/java/org/python/indexer/data/pkgload.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 174 | 2015-01-08T20:37:09.000Z | 2020-06-03T16:48:59.000Z | tests/java/org/python/indexer/data/pkgload.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 162 | 2015-02-07T02:14:38.000Z | 2020-05-30T16:42:03.000Z | # test loading a package by dirname
import pkg
| 15.666667 | 35 | 0.787234 | 8 | 47 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 2 | 36 | 23.5 | 0.973684 | 0.702128 | 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 |
c107331cb6e97b6a762e6d01fe9b444b77d86014 | 116 | py | Python | app/auth/__init__.py | originaltebas/chmembers | 983578ec8cb6d1da76e98b1467d996d6fac752ee | [
"MIT"
] | null | null | null | app/auth/__init__.py | originaltebas/chmembers | 983578ec8cb6d1da76e98b1467d996d6fac752ee | [
"MIT"
] | 2 | 2021-09-08T01:19:10.000Z | 2022-03-11T23:59:40.000Z | app/auth/__init__.py | originaltebas/chmembers | 983578ec8cb6d1da76e98b1467d996d6fac752ee | [
"MIT"
] | 1 | 2019-04-09T10:42:20.000Z | 2019-04-09T10:42:20.000Z | # app/auth/__init__.py
from flask import Blueprint
auth = Blueprint('auth', __name__)
from . import views | 14.5 | 35 | 0.698276 | 15 | 116 | 4.866667 | 0.666667 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 116 | 8 | 36 | 14.5 | 0.793478 | 0.172414 | 0 | 0 | 0 | 0 | 0.045455 | 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 |
c12e085f5917a8f2d3ba0827cc224acd754d3280 | 110 | py | Python | build-array-from-permutation/build-array-from-permutation.py | shaurya-src/code-leet | f642b81eb7bead46c66404bd48ca74bdfeb2abbb | [
"MIT"
] | null | null | null | build-array-from-permutation/build-array-from-permutation.py | shaurya-src/code-leet | f642b81eb7bead46c66404bd48ca74bdfeb2abbb | [
"MIT"
] | null | null | null | build-array-from-permutation/build-array-from-permutation.py | shaurya-src/code-leet | f642b81eb7bead46c66404bd48ca74bdfeb2abbb | [
"MIT"
] | null | null | null | class Solution:
def buildArray(self, nums: List[int]) -> List[int]:
return [nums[x] for x in nums] | 36.666667 | 55 | 0.627273 | 17 | 110 | 4.058824 | 0.705882 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 110 | 3 | 56 | 36.666667 | 0.811765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c162ce6cbc1203e7db1a59631225caf17c86aa74 | 62 | py | Python | js/obviel/test_libs.py | gocept/js.obviel | ccede50709c04139a84d753e95938053ee12d609 | [
"BSD-3-Clause"
] | null | null | null | js/obviel/test_libs.py | gocept/js.obviel | ccede50709c04139a84d753e95938053ee12d609 | [
"BSD-3-Clause"
] | null | null | null | js/obviel/test_libs.py | gocept/js.obviel | ccede50709c04139a84d753e95938053ee12d609 | [
"BSD-3-Clause"
] | null | null | null | def test_package_should_be_importable():
import js.obviel
| 20.666667 | 40 | 0.806452 | 9 | 62 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 41 | 31 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c16fff04b4fed8943c2de56c0a67cc3bce81d40f | 3,427 | py | Python | yt/data_objects/tests/test_exclude_functions.py | saethlin/yt | 992ae71974dca933346e91008c5a50f43a0a350e | [
"BSD-3-Clause-Clear"
] | 1 | 2020-06-22T10:17:01.000Z | 2020-06-22T10:17:01.000Z | yt/data_objects/tests/test_exclude_functions.py | saethlin/yt | 992ae71974dca933346e91008c5a50f43a0a350e | [
"BSD-3-Clause-Clear"
] | 2 | 2020-02-10T22:55:35.000Z | 2020-02-19T21:01:20.000Z | yt/data_objects/tests/test_exclude_functions.py | saethlin/yt | 992ae71974dca933346e91008c5a50f43a0a350e | [
"BSD-3-Clause-Clear"
] | 2 | 2020-05-16T15:29:37.000Z | 2020-06-22T10:17:08.000Z | import numpy as np
from yt.testing import fake_random_ds, assert_equal
from yt.frontends.stream.data_structures import load_uniform_grid
def test_exclude_above():
the_ds = fake_random_ds(ndims=3)
all_data = the_ds.all_data()
new_ds = all_data.exclude_above('density', 1)
assert_equal(new_ds['density']... | 37.25 | 78 | 0.660344 | 553 | 3,427 | 3.813743 | 0.115732 | 0.053106 | 0.062589 | 0.085349 | 0.829777 | 0.825984 | 0.825984 | 0.776671 | 0.759128 | 0.714557 | 0 | 0.046224 | 0.173038 | 3,427 | 91 | 79 | 37.659341 | 0.697953 | 0.010213 | 0 | 0.648649 | 0 | 0 | 0.10531 | 0 | 0 | 0 | 0 | 0 | 0.351351 | 1 | 0.067568 | false | 0 | 0.040541 | 0 | 0.108108 | 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 |
c1ce38b22a43164edc924c24cf345a8baca1c002 | 37 | py | Python | tuster/exceptions.py | ytopt-team/tuster | 9ac4edc0ee8ae3e1c6bfd27168917a1afc84e952 | [
"BSD-2-Clause"
] | 1 | 2020-05-05T01:47:08.000Z | 2020-05-05T01:47:08.000Z | tuster/exceptions.py | ytopt-team/tuster | 9ac4edc0ee8ae3e1c6bfd27168917a1afc84e952 | [
"BSD-2-Clause"
] | null | null | null | tuster/exceptions.py | ytopt-team/tuster | 9ac4edc0ee8ae3e1c6bfd27168917a1afc84e952 | [
"BSD-2-Clause"
] | 1 | 2021-05-19T19:52:25.000Z | 2021-05-19T19:52:25.000Z | class TusterError(RuntimeError): pass | 37 | 37 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 37 | 1 | 37 | 37 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
a9cb9f728eafb5e03cf46a252d8f7f3ba4cc720f | 2,554 | py | Python | Topic 2/resblock.py | Rabbit1010/TensorFlow2.0-Tutorial | 902d9dd55fc87c2bb0a3335002d668b49f9ab3ab | [
"MIT"
] | 1 | 2019-10-02T12:32:24.000Z | 2019-10-02T12:32:24.000Z | Topic 2/resblock.py | Rabbit1010/TensorFlow2.0-Tutorial | 902d9dd55fc87c2bb0a3335002d668b49f9ab3ab | [
"MIT"
] | null | null | null | Topic 2/resblock.py | Rabbit1010/TensorFlow2.0-Tutorial | 902d9dd55fc87c2bb0a3335002d668b49f9ab3ab | [
"MIT"
] | 2 | 2019-10-24T04:09:44.000Z | 2020-04-06T23:50:18.000Z | # -*- coding: utf-8 -*-
"""
Created on Wed Jun 19 23:11:51 2019
@author: Wei-Hsiang, Shen
"""
from tensorflow.keras import layers
class ResBlock(object):
"""
Residual block (non bottleneck, 2 blocks)
"""
def __init__(self, num_feature_in, num_feature_out, strides=(1,1)):
self.num_feature_in ... | 36.485714 | 126 | 0.648003 | 349 | 2,554 | 4.515759 | 0.200573 | 0.164975 | 0.159898 | 0.097081 | 0.858503 | 0.82868 | 0.774112 | 0.774112 | 0.774112 | 0.730964 | 0 | 0.022245 | 0.225529 | 2,554 | 70 | 127 | 36.485714 | 0.77452 | 0.129601 | 0 | 0.682927 | 0 | 0 | 0.007329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.02439 | 0 | 0.219512 | 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 |
e71b51d7c4613566e05193d04a2897878d1820dd | 100 | py | Python | zcrmsdk/src/com/zoho/api/authenticator/store/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | zcrmsdk/src/com/zoho/api/authenticator/store/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | zcrmsdk/src/com/zoho/api/authenticator/store/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | from .db_store import DBStore
from .file_store import FileStore
from .token_store import TokenStore
| 25 | 35 | 0.85 | 15 | 100 | 5.466667 | 0.6 | 0.402439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 3 | 36 | 33.333333 | 0.931818 | 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 |
e7326b90643430746e7de3a92a98147946aed525 | 11,047 | py | Python | computer-labs/CL3/lib/q_learning_app.py | JulianoLagana/deep-machine-learning | 0135a84067be357c8bc3d3a4298b60dcaf7d53d5 | [
"MIT"
] | 49 | 2017-09-07T19:56:45.000Z | 2022-02-17T11:19:14.000Z | computer-labs/CL3/lib/q_learning_app.py | JulianoLagana/deep-machine-learning | 0135a84067be357c8bc3d3a4298b60dcaf7d53d5 | [
"MIT"
] | 16 | 2018-09-05T08:10:21.000Z | 2021-09-06T11:47:54.000Z | computer-labs/CL3/lib/q_learning_app.py | JulianoLagana/deep-machine-learning | 0135a84067be357c8bc3d3a4298b60dcaf7d53d5 | [
"MIT"
] | 103 | 2017-09-19T13:37:32.000Z | 2021-11-03T14:09:59.000Z | import matplotlib.pyplot as plt
import numpy as np
from lib.algos import epsilon_greedy_pi_from_q_table
from lib.plot_utils import plot_all_states, plot_agent, plot_q_table, plot_env_agent_and_policy_at_state, \
plot_env_agent_and_chosen_action, plot_policy
from lib.grid_world import a_index_to_symbol
class QLea... | 45.460905 | 108 | 0.583235 | 1,628 | 11,047 | 3.719287 | 0.074324 | 0.0545 | 0.067217 | 0.038646 | 0.824938 | 0.785136 | 0.739389 | 0.708836 | 0.706358 | 0.692816 | 0 | 0.019086 | 0.288585 | 11,047 | 242 | 109 | 45.64876 | 0.751368 | 0.011044 | 0 | 0.666667 | 0 | 0.03125 | 0.141418 | 0.053673 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036458 | false | 0 | 0.026042 | 0.015625 | 0.088542 | 0.119792 | 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 |
e73f226d78946c88fbdbf29e79a99e470f5da58a | 12,337 | py | Python | startup/users/30-user-Wenkai.py | NSLS-II-SMI/profile_collection | c1e2236a7520f605ac85e7591f05682add06357c | [
"BSD-3-Clause"
] | null | null | null | startup/users/30-user-Wenkai.py | NSLS-II-SMI/profile_collection | c1e2236a7520f605ac85e7591f05682add06357c | [
"BSD-3-Clause"
] | 13 | 2018-09-25T19:35:08.000Z | 2021-01-15T20:42:26.000Z | startup/users/30-user-Wenkai.py | NSLS-II-SMI/profile_collection | c1e2236a7520f605ac85e7591f05682add06357c | [
"BSD-3-Clause"
] | 3 | 2019-09-06T01:40:59.000Z | 2020-07-01T20:27:39.000Z | def giwaxs_S_edge_wenkai(t=1):
dets = [pil300KW]
names = [ 'A2', 'A3', 'A4', 'A5', 'A6']
x = [30000, 16000, 0, -15000, -36000]
energies = np.arange(2450, 2470, 5).tolist() + np.arange(2470, 2480, 0.25).tolist() + np.arange(2480, 2490, 1).tolist()+ np.arange(2490, 2501, 5).tolist()
waxs_... | 33.163978 | 178 | 0.538299 | 1,868 | 12,337 | 3.432013 | 0.122591 | 0.109499 | 0.123538 | 0.098269 | 0.854937 | 0.851817 | 0.836063 | 0.791452 | 0.772734 | 0.749649 | 0 | 0.131123 | 0.303315 | 12,337 | 372 | 179 | 33.163978 | 0.614776 | 0.163492 | 0 | 0.635945 | 0 | 0 | 0.104096 | 0.041638 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046083 | false | 0 | 0 | 0 | 0.046083 | 0.059908 | 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 |
e765510add5b0b12ab494656486809df24044a5a | 84 | py | Python | webware/Testing/Dir/Forward2Target.py | PeaceWorksTechnologySolutions/w4py3 | 7f9e7088034e3e3ac53158edfa4f377b5b2f45fe | [
"MIT"
] | 18 | 2016-08-01T20:15:59.000Z | 2019-12-24T16:00:03.000Z | webware/Testing/Dir/Forward2Target.py | PeaceWorksTechnologySolutions/w4py3 | 7f9e7088034e3e3ac53158edfa4f377b5b2f45fe | [
"MIT"
] | 9 | 2020-01-03T18:58:25.000Z | 2020-01-09T18:36:23.000Z | webware/Testing/Dir/Forward2Target.py | PeaceWorksTechnologySolutions/w4py3 | 7f9e7088034e3e3ac53158edfa4f377b5b2f45fe | [
"MIT"
] | 6 | 2016-09-16T14:32:29.000Z | 2020-01-03T18:52:16.000Z | from Testing.DebugPage import DebugPage
class Forward2Target(DebugPage):
pass
| 14 | 39 | 0.797619 | 9 | 84 | 7.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.154762 | 84 | 5 | 40 | 16.8 | 0.929577 | 0 | 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 |
e78111dcf809259b881c47606ebde0ff1c876f53 | 158 | py | Python | src/aktorz/model/util/base_versioned_model.py | jcejohnson/pydantic-demo | fb2033db87924210b1ecc1c56fcb057fda735d14 | [
"MIT"
] | null | null | null | src/aktorz/model/util/base_versioned_model.py | jcejohnson/pydantic-demo | fb2033db87924210b1ecc1c56fcb057fda735d14 | [
"MIT"
] | null | null | null | src/aktorz/model/util/base_versioned_model.py | jcejohnson/pydantic-demo | fb2033db87924210b1ecc1c56fcb057fda735d14 | [
"MIT"
] | null | null | null | from .base_model import BaseModel
from .mixin_versioned_model import VersionedModelMixin
class BaseVersionedModel(VersionedModelMixin, BaseModel):
pass
| 22.571429 | 57 | 0.848101 | 16 | 158 | 8.1875 | 0.6875 | 0.167939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 158 | 6 | 58 | 26.333333 | 0.935714 | 0 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.